@agrotools1/at-components 0.2.3 → 0.2.4

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.
Files changed (894) hide show
  1. package/dist/AGraphicContainer-75e55bb8.js +109 -0
  2. package/dist/APIKeyMixin-688c6ac6.js +19 -0
  3. package/dist/Analysis-53f71911.js +31 -0
  4. package/dist/ArcGISCachedService-ea7559f0.js +47 -0
  5. package/dist/ArcGISService-a447176d.js +25 -0
  6. package/dist/AreaMeasurement2D-4d0db109.js +405 -0
  7. package/dist/AreaMeasurement3D-a2a10ea8.js +488 -0
  8. package/dist/AttachmentInfo-a2849bf0.js +34 -0
  9. package/dist/AttachmentQuery-e743e06f.js +18 -0
  10. package/dist/AttributeStore-6a3291d4.js +1707 -0
  11. package/dist/BaseDynamicLayerView2D-b3ff0eae.js +63 -0
  12. package/dist/BingMapsLayer-689d8e88.js +112 -0
  13. package/dist/Bitmap-e2b1f93c.js +128 -0
  14. package/dist/BitmapContainer-4dcc4a14.js +23 -0
  15. package/dist/BlendLayer-113fd3b8.js +13 -0
  16. package/dist/BoundsStore-3598604e.js +63 -0
  17. package/dist/BufferObject-59880a47.js +100 -0
  18. package/dist/BufferView-2cfe8c7d.js +683 -0
  19. package/dist/BuildingSceneLayer-a3e4a869.js +535 -0
  20. package/dist/Button-5e85250d.js +36 -0
  21. package/dist/CSVLayer-a68a64b8.js +208 -0
  22. package/dist/CSVSourceWorker-cf1fee99.js +367 -0
  23. package/dist/CardWithInsights/CardWithInsights.d.ts +2 -1
  24. package/dist/CatalogDynamicGroupLayerView2D-a4ae390f.js +66 -0
  25. package/dist/CatalogFootprintLayerView2D-145014a4.js +76 -0
  26. package/dist/CatalogLayer-48e7048b.js +262 -0
  27. package/dist/CatalogLayerView2D-8b4a4d47.js +52 -0
  28. package/dist/ClassBreaksDefinition-e2d8b3cc.js +18 -0
  29. package/dist/ColorMaterial.glsl-a7c70d21.js +64 -0
  30. package/dist/ColorSet-f4b34654.js +45 -0
  31. package/dist/ColorStop-1111f0fd.js +29 -0
  32. package/dist/Container-4a2d8bcd.js +521 -0
  33. package/dist/CustomParametersMixin-601866cc.js +12 -0
  34. package/dist/DefaultMaterial.glsl-9243ba6c.js +42 -0
  35. package/dist/DefaultMaterial_COLOR_GAMMA-bf0d97c7.js +653 -0
  36. package/dist/DefaultTheme-e96ad45b.js +130 -0
  37. package/dist/DeleteForwardEditsParameters-bd5164e3.js +18 -0
  38. package/dist/DimensionLayer-d51dcf5e.js +129 -0
  39. package/dist/DirectLineMeasurement3D-7b426a46.js +449 -0
  40. package/dist/DistanceMeasurement2D-1f05b105.js +303 -0
  41. package/dist/DoubleArray-4f276822.js +25 -0
  42. package/dist/Dropdown/Dropdown.core.d.ts +31 -0
  43. package/dist/Dropdown/Filter/test.mocks.d.ts +6 -0
  44. package/dist/Dropdown/List/Dropdown.List.d.ts +84 -0
  45. package/dist/Dropdown/List/test.mocks.d.ts +6 -0
  46. package/dist/EdgeProcessingWorker-317b2f9a.js +63 -0
  47. package/dist/EditBusLayer-55763028.js +107 -0
  48. package/dist/ElevationInfo-5be88917.js +56 -0
  49. package/dist/ElevationLayer-754634d4.js +129 -0
  50. package/dist/ElevationQuery-1e84df59.js +598 -0
  51. package/dist/ElevationSamplerWorker-1c01b3d8.js +62 -0
  52. package/dist/ExportImageParameters-e00a1031.js +66 -0
  53. package/dist/ExportStrategy-ba992e25.js +93 -0
  54. package/dist/ExportWMSImageParameters-395804ac.js +33 -0
  55. package/dist/External-77e767f4.js +110 -0
  56. package/dist/Faq/Faq.d.ts +1 -1
  57. package/dist/Faq/index.d.ts +1 -1
  58. package/dist/FeatureCollectionSnappingSource-d1435805.js +130 -0
  59. package/dist/FeatureCommandQueue-4db7f162.js +1244 -0
  60. package/dist/FeatureEffect-5b570804.js +39 -0
  61. package/dist/FeatureEffectLayer-171a9749.js +13 -0
  62. package/dist/FeatureFilter-db89ec09.js +27 -0
  63. package/dist/FeatureLayer-881827c7.js +693 -0
  64. package/dist/FeatureLayerBase-b410d8eb.js +148 -0
  65. package/dist/FeatureLayerSource-e5eba81e.js +444 -0
  66. package/dist/FeatureLayerView2D-107b4ed6.js +1967 -0
  67. package/dist/FeaturePipelineWorker-2b42d98d.js +3633 -0
  68. package/dist/FeatureReductionLayer-1f3f6a98.js +225 -0
  69. package/dist/FeatureReductionSelection-b0c4bcaf.js +22 -0
  70. package/dist/FeatureServiceSnappingSource-fde9a8da.js +481 -0
  71. package/dist/FeatureServiceSnappingSourceWorker-d4113c50.js +747 -0
  72. package/dist/FeatureSet-595ae550.js +188 -0
  73. package/dist/FeatureStore-87fbe804.js +131 -0
  74. package/dist/FeatureTemplate-c810cba6.js +12 -0
  75. package/dist/FeatureType-22de76b9.js +25 -0
  76. package/dist/FieldsIndex-390b005f.js +109 -0
  77. package/dist/FormTemplate-728de82d.js +350 -0
  78. package/dist/GeoJSONLayer-fbf5ee27.js +236 -0
  79. package/dist/GeoJSONSourceWorker-30cd4133.js +247 -0
  80. package/dist/GeoRSSLayer-2addf639.js +73 -0
  81. package/dist/GeoRSSLayerView2D-29c15edb.js +140 -0
  82. package/dist/GeometryUtils-80d3036a.js +403 -0
  83. package/dist/GraphicContainer-2b112072.js +26 -0
  84. package/dist/GraphicManipulator-84ac0573.js +1499 -0
  85. package/dist/GraphicsLayer-ee9f874e.js +38 -0
  86. package/dist/GraphicsLayerView2D-c5eda7d2.js +114 -0
  87. package/dist/GraphicsSnappingSource-3dd1e9b3.js +273 -0
  88. package/dist/GraphicsView2D-40686b59.js +620 -0
  89. package/dist/GroupLayer-fd168a3e.js +147 -0
  90. package/dist/GroupLayerView2D-f4078b54.js +98 -0
  91. package/dist/HUDMaterial.glsl-bea5cb7c.js +65 -0
  92. package/dist/HighlightCounter-b3b4b206.js +41 -0
  93. package/dist/HighlightGraphicContainer-c00c331b.js +18 -0
  94. package/dist/I3SBinaryReader-d3a26893.js +310 -0
  95. package/dist/I3SLayerDefinitions-2bea64c8.js +55 -0
  96. package/dist/I3SUtil-ab1a91f5.js +59 -0
  97. package/dist/IdentityManager-8e14d109.js +899 -0
  98. package/dist/ImageHistogramParameters-711f313f.js +905 -0
  99. package/dist/ImageryLayer-fbaf4d8c.js +1799 -0
  100. package/dist/ImageryLayerView2D-199eb1fd.js +352 -0
  101. package/dist/ImageryTileLayer-48671dc9.js +2157 -0
  102. package/dist/ImageryTileLayerView2D-8ac1ee64.js +1110 -0
  103. package/dist/Indices-2f9cf62d.js +67 -0
  104. package/dist/Input/Input.core.d.ts +4553 -3
  105. package/dist/Input/index.d.ts +4547 -3
  106. package/dist/IntegratedMesh3DTilesLayer-89d862a2.js +112 -0
  107. package/dist/IntegratedMeshLayer-53f792e4.js +141 -0
  108. package/dist/InteractiveAnalysisViewModel-d7dd665d.js +7397 -0
  109. package/dist/InterleavedLayout-ff67e161.js +163 -0
  110. package/dist/KMLLayer-7a4cfa2a.js +162 -0
  111. package/dist/KMLLayerView2D-d0874e8d.js +253 -0
  112. package/dist/KnowledgeGraphLayerView2D-70d956b2.js +43 -0
  113. package/dist/LRUCache-5bebd9a8.js +32 -0
  114. package/dist/LabelClass-63459c37.js +135 -0
  115. package/dist/LabelMetric-09a9cd38.js +400 -0
  116. package/dist/LaserlinePath.glsl-731dbba1.js +64 -0
  117. package/dist/Laserlines.glsl-26d42447.js +65 -0
  118. package/dist/LayerFloorInfo-5c67a822.js +15 -0
  119. package/dist/LayerView-405cecd2.js +206 -0
  120. package/dist/LercWorker-a7892aa0.js +157 -0
  121. package/dist/LineOfSightLayer-abad68f7.js +147 -0
  122. package/dist/LinkChartLayer-c36d2a81.js +1027 -0
  123. package/dist/Lyr3DWorker-8f4c6c50.js +82 -0
  124. package/dist/MagnifierPrograms-ddc85113.js +806 -0
  125. package/dist/MapImageLayer-04f4cdcb.js +169 -0
  126. package/dist/MapImageLayerView2D-712dd60f.js +146 -0
  127. package/dist/MapNotesLayer-83fcba8e.js +283 -0
  128. package/dist/MapNotesLayerView2D-f0ad0a82.js +161 -0
  129. package/dist/MapServiceLayerViewHelper-6c746a26.js +288 -0
  130. package/dist/MeasurementWidgetContent-fc0c1569.js +2642 -0
  131. package/dist/MediaLayer-05162eaf.js +523 -0
  132. package/dist/MediaLayerView2D-474c563b.js +332 -0
  133. package/dist/MemCache-8f96824a.js +227 -0
  134. package/dist/MemorySourceWorker-08562524.js +222 -0
  135. package/dist/Mesh-3208420e.js +980 -0
  136. package/dist/MeshLocalVertexSpace-59268d9e.js +19 -0
  137. package/dist/MultiOriginJSONSupport-365740bb.js +158 -0
  138. package/dist/OGCFeatureLayer-7201d1ee.js +211 -0
  139. package/dist/OGCFeatureLayerView2D-d242f130.js +82 -0
  140. package/dist/ObjectStack-bad354ab.js +21 -0
  141. package/dist/Octree-cbaefa65.js +495 -0
  142. package/dist/OpenStreetMapLayer-b3c8020b.js +30 -0
  143. package/dist/OperationalLayer-30f48d16.js +44 -0
  144. package/dist/OrderByInfo-9bd0a8fe.js +16 -0
  145. package/dist/OrderedLayer-2962d196.js +26 -0
  146. package/dist/OrientedImageryLayer-5d599e15.js +216 -0
  147. package/dist/OverlayCompositing.glsl-334c68d5.js +65 -0
  148. package/dist/OverrideHelper-7981ecc2.js +242 -0
  149. package/dist/PBFDecoderWorker-48f7e620.js +213 -0
  150. package/dist/PointCloudLayer-5b804571.js +197 -0
  151. package/dist/PointCloudUniqueValueRenderer-9ef1db42.js +115 -0
  152. package/dist/PointCloudWorker-9e88daea.js +212 -0
  153. package/dist/PooledRBush-afceba5f.js +272 -0
  154. package/dist/Popup-89e3fd56.js +3990 -0
  155. package/dist/PortalLayer-21d22eb9.js +126 -0
  156. package/dist/Program-09ee8c67.js +694 -0
  157. package/dist/ProgramTemplate-be811b23.js +35 -0
  158. package/dist/ProgressBar/ProgressBar.d.ts +13 -1
  159. package/dist/QueryEngine-810a7f24.js +896 -0
  160. package/dist/QueryTask-013cc810.js +119 -0
  161. package/dist/RasterSymbolizer-ae063ee7.js +3024 -0
  162. package/dist/RasterVFDisplayObject-fe2f7ea2.js +581 -0
  163. package/dist/RasterWorker-7efcbd4d.js +78 -0
  164. package/dist/RawBlockCache-5a644219.js +185 -0
  165. package/dist/RealisticTree.glsl-4e33ae57.js +42 -0
  166. package/dist/RefreshableLayer-e64dd0ee.js +80 -0
  167. package/dist/RefreshableLayerView-61f7dd9a.js +16 -0
  168. package/dist/Relationship-adcdce15.js +64 -0
  169. package/dist/RelationshipQuery-0c20b8ed.js +22 -0
  170. package/dist/RenderingContext-29b578ca.js +889 -0
  171. package/dist/RibbonLine.glsl-038f5cac.js +65 -0
  172. package/dist/RouteLayer-479e0ccc.js +786 -0
  173. package/dist/RouteLayerView2D-1a646f54.js +195 -0
  174. package/dist/SDFHelper-9abcbcca.js +140 -0
  175. package/dist/SSAO.glsl-5d41f99f.js +43 -0
  176. package/dist/SSAOBlur.glsl-7ebf8f5c.js +42 -0
  177. package/dist/ScaleRangeLayer-3bbd6ead.js +21 -0
  178. package/dist/SceneLayer-b19fa11e.js +542 -0
  179. package/dist/SceneLayerSnappingSource-f53ddd8a.js +218 -0
  180. package/dist/SceneLayerSnappingSourceWorker-80f48214.js +112 -0
  181. package/dist/SceneLayerWorker-bab8aeb0.js +164 -0
  182. package/dist/SceneService-0c4fac79.js +215 -0
  183. package/dist/Scheduler-9db9a8cf.js +373 -0
  184. package/dist/Search/Search.d.ts +99 -0
  185. package/dist/Search/index.d.ts +1 -0
  186. package/dist/Search/test.mocks.d.ts +3 -0
  187. package/dist/Search/utils.d.ts +3 -0
  188. package/dist/Select/Item/Item.d.ts +1 -1
  189. package/dist/Select/Multiple/Select.multiple.d.ts +3 -3
  190. package/dist/Select/Select.core.d.ts +1 -1
  191. package/dist/Select/index.d.ts +3 -3
  192. package/dist/ShadedColorMaterial.glsl-a2dd0bb3.js +64 -0
  193. package/dist/SnappingOperation-25ff52da.js +48 -0
  194. package/dist/SourceLayerData-ec301fa4.js +116 -0
  195. package/dist/SpatialFilter-351a1d5e.js +1701 -0
  196. package/dist/Stop-595501a7.js +281 -0
  197. package/dist/StreamLayer-d5ebd4d3.js +188 -0
  198. package/dist/StreamLayerView2D-8a39daaa.js +164 -0
  199. package/dist/StyleRepository-dd283243.js +2212 -0
  200. package/dist/SublayersOwner-0be88fd0.js +545 -0
  201. package/dist/SubtypeGroupLayer-8386c037.js +514 -0
  202. package/dist/SubtypeGroupLayerView2D-97b63aa1.js +84 -0
  203. package/dist/Tabs/Tab/Tab.d.ts +3 -3
  204. package/dist/Tag/Tag.d.ts +52 -0
  205. package/dist/TechniqueInstance-87f77cd3.js +233 -0
  206. package/dist/TemporalLayer-7c15b8a6.js +23 -0
  207. package/dist/Texture-c1f5f21b.js +501 -0
  208. package/dist/TextureOnly.glsl-acae1d94.js +65 -0
  209. package/dist/Theme-72a69427.js +3426 -0
  210. package/dist/Tick-d7f9b999.js +723 -0
  211. package/dist/TileContainer-20f11bc5.js +31 -0
  212. package/dist/TileInfoTilemapCache-a50aaed0.js +38 -0
  213. package/dist/TileLayer-ce04649f.js +194 -0
  214. package/dist/TileLayerView2D-0f45ff75.js +187 -0
  215. package/dist/TilemapCache-95b53d5a.js +189 -0
  216. package/dist/TimeInfo-f17e0ff9.js +42 -0
  217. package/dist/TimeOnly-63922f1a.js +706 -0
  218. package/dist/Tooltip-a21a6650.js +138 -0
  219. package/dist/TopFeaturesQuery-9e4228e7.js +32 -0
  220. package/dist/TurboLine-aeb14d6e.js +565 -0
  221. package/dist/UniqueValueRenderer-7532473e.js +1039 -0
  222. package/dist/UnknownLayer-99d4832b.js +30 -0
  223. package/dist/UnknownTimeZone-4c0a5184.js +15 -0
  224. package/dist/UnsupportedLayer-f439265c.js +31 -0
  225. package/dist/UpdateTracking2D-a1164b3d.js +8566 -0
  226. package/dist/Upload/Upload.d.ts +91 -14
  227. package/dist/Upload/index.d.ts +1 -1
  228. package/dist/Util-26f81cc4.js +57 -0
  229. package/dist/VectorTileLayer-8b5289d2.js +544 -0
  230. package/dist/VectorTileLayerView2D-00d98337.js +2108 -0
  231. package/dist/Version-2556ea28.js +33 -0
  232. package/dist/VertexArrayObject-5595c535.js +73 -0
  233. package/dist/VertexColor.glsl-01eb58bb.js +2683 -0
  234. package/dist/VertexSnappingCandidate-c1e2992a.js +13 -0
  235. package/dist/VideoLayerView2D-e92c8bab.js +124 -0
  236. package/dist/VoxelLayer-e57c2b7b.js +631 -0
  237. package/dist/WFSLayer-486fff2e.js +221 -0
  238. package/dist/WFSSourceWorker-3d8ac573.js +157 -0
  239. package/dist/WGLContainer-1441483b.js +5426 -0
  240. package/dist/WMSLayer-07ea95cc.js +536 -0
  241. package/dist/WMSLayerView2D-8b67d5da.js +117 -0
  242. package/dist/WMTSLayer-b52fbe0c.js +531 -0
  243. package/dist/WMTSLayerView2D-8ca1d522.js +142 -0
  244. package/dist/WebTileLayer-dd24dee2.js +110 -0
  245. package/dist/WhereClause-2eefa48c.js +2766 -0
  246. package/dist/WorkerHandle-f6b5ac7b.js +47 -0
  247. package/dist/WorkerTileHandler-e060fab5.js +1539 -0
  248. package/dist/action-a2d13907.js +198 -0
  249. package/dist/action-group-af071314.js +145 -0
  250. package/dist/action-menu-c759068f.js +1759 -0
  251. package/dist/apng-b33ce902.js +392 -0
  252. package/dist/arcade-b05c8c22.js +229 -0
  253. package/dist/arcadeAsyncRuntime-9b4a7891.js +943 -0
  254. package/dist/arcadeUtils-41691d12.js +8741 -0
  255. package/dist/arcgis-knowledge-client-core-2217ce57.js +1218 -0
  256. package/dist/arcgis-knowledge-client-core-simd-ab44590a.js +1218 -0
  257. package/dist/arcgisLayers-0ea0be85.js +152 -0
  258. package/dist/associatedFeatureServiceUtils-09077513.js +92 -0
  259. package/dist/axisAngleDegrees-1c3d7520.js +49 -0
  260. package/dist/basis_transcoder-292f1aaf.js +1248 -0
  261. package/dist/calcite-action-ad0d1e23.js +22 -0
  262. package/dist/calcite-action-bar-1b2de6d0.js +303 -0
  263. package/dist/calcite-action-group-aacf8ec4.js +28 -0
  264. package/dist/calcite-button-125cbd95.js +228 -0
  265. package/dist/calcite-flow-c9a6e8fa.js +128 -0
  266. package/dist/calcite-flow-item-eb314bb8.js +499 -0
  267. package/dist/calcite-icon-07f22bc6.js +16 -0
  268. package/dist/calcite-input-167be799.js +24 -0
  269. package/dist/calcite-label-7de34a6b.js +79 -0
  270. package/dist/calcite-list-2087f9ca.js +2135 -0
  271. package/dist/calcite-list-item-3419fb5f.js +576 -0
  272. package/dist/calcite-list-item-group-3a6545e3.js +71 -0
  273. package/dist/calcite-loader-16bcfb95.js +14 -0
  274. package/dist/calcite-modal-f608731f.js +333 -0
  275. package/dist/calcite-notice-88ee1edf.js +181 -0
  276. package/dist/calcite-option-375585a2.js +94 -0
  277. package/dist/calcite-scrim-751cf767.js +18 -0
  278. package/dist/calcite-select-62db97da.js +231 -0
  279. package/dist/capabilities-359df394.js +50 -0
  280. package/dist/chartCommon-cceb2530.js +256 -0
  281. package/dist/chartUtilsAm5-08a29408.js +2954 -0
  282. package/dist/clientSideDefaults-b5450c9b.js +39 -0
  283. package/dist/colorRamps-314c4b5a.js +38 -0
  284. package/dist/colorUtils-6e9b620c.js +164 -0
  285. package/dist/commonProperties-3399f319.js +60 -0
  286. package/dist/computeTranslationToOriginAndRotation-0b0f32ad.js +60 -0
  287. package/dist/conditionalSlot-012fd5da.js +27 -0
  288. package/dist/createConnection-f1189f51.js +299 -0
  289. package/dist/dataUtils-950a0ae9.js +1421 -0
  290. package/dist/deduplicate-eabb5f9e.js +89 -0
  291. package/dist/defaults-e5c5ee75.js +31 -0
  292. package/dist/deleteForwardEdits-ea9258ea.js +13 -0
  293. package/dist/diffUtils-04a71a59.js +90 -0
  294. package/dist/drapedUtils-2515520d.js +75 -0
  295. package/dist/earcut-192842ab.js +292 -0
  296. package/dist/edgeProcessing-da003f69.js +252 -0
  297. package/dist/editingSupport-9f04ba1b.js +203 -0
  298. package/dist/editsZScale-97938687.js +37 -0
  299. package/dist/elevationInfoUtils-e1edd62e.js +126 -0
  300. package/dist/executeForIds-3b8a1698.js +14 -0
  301. package/dist/executeForTopCount-6c6cd2f2.js +17 -0
  302. package/dist/executeForTopExtents-86851593.js +17 -0
  303. package/dist/executeForTopIds-24bc9dea.js +17 -0
  304. package/dist/executeQueryJSON-cf7d748b.js +15 -0
  305. package/dist/executeQueryPBF-ad416846.js +152 -0
  306. package/dist/executeRelationshipQuery-9b6666bf.js +53 -0
  307. package/dist/executeTopFeaturesQuery-4ac72bd2.js +18 -0
  308. package/dist/featureConversionUtils-67a121da.js +479 -0
  309. package/dist/featureLayerUtils-a4002773.js +142 -0
  310. package/dist/featureLayerUtils-a7e985d2.js +250 -0
  311. package/dist/featureSetUtils-11fcb3c4.js +2530 -0
  312. package/dist/featuresetbase-47894167.js +707 -0
  313. package/dist/featuresetgeom-bff2aa07.js +99 -0
  314. package/dist/featuresetstats-14a3fe2b.js +81 -0
  315. package/dist/featuresetstring-de2b64db.js +95 -0
  316. package/dist/fetchService-b6d76f5e.js +33 -0
  317. package/dist/fieldProperties-a9fbe289.js +33 -0
  318. package/dist/floatRGBA-2bc6800c.js +20 -0
  319. package/dist/form-e210eee8.js +138 -0
  320. package/dist/geohashUtils-085312a3.js +85 -0
  321. package/dist/geojson-f0bc401a.js +208 -0
  322. package/dist/geomasync-3c3b5e8d.js +567 -0
  323. package/dist/geometryEngine-2772790a.js +192 -0
  324. package/dist/geometryEngineAsync-db2e5674.js +217 -0
  325. package/dist/geometryEngineBase-8b327072.js +18463 -0
  326. package/dist/geometryEngineJSON-95268e88.js +171 -0
  327. package/dist/geometryEngineJSON-fc48a48b.js +46 -0
  328. package/dist/geometryEngineWorker-2fbc65f7.js +11 -0
  329. package/dist/geometryServiceUtils-ed9cb722.js +28 -0
  330. package/dist/georeference-f6f67e9b.js +291 -0
  331. package/dist/gif-a4043534.js +323 -0
  332. package/dist/gltfexport-d028c5c9.js +705 -0
  333. package/dist/groupLayerUtils-22dde377.js +39 -0
  334. package/dist/heatmapUtils-8e578a0a.js +45 -0
  335. package/dist/highlightReasons-ab23926f.js +19 -0
  336. package/dist/hydrated-219f2b0c.js +40 -0
  337. package/dist/i3s-b5ed4851.js +809 -0
  338. package/dist/icon-8711ff33.js +127 -0
  339. package/dist/imageBitmapUtils-dc97b3de.js +23 -0
  340. package/dist/imageUtils-0a71062a.js +69 -0
  341. package/dist/imageUtils-a4c7c9bf.js +89 -0
  342. package/dist/imageryUtils-d21fd540.js +43 -0
  343. package/dist/index-f28919b2.js +43440 -0
  344. package/dist/index.d.ts +3 -0
  345. package/dist/index.js +15 -12
  346. package/dist/input-message-3df877b9.js +92 -0
  347. package/dist/input2-32e36924.js +575 -0
  348. package/dist/interactive-c1e1aeaf.js +80 -0
  349. package/dist/jsonContext-4622e179.js +15 -0
  350. package/dist/jsonUtils-9f58b7bb.js +476 -0
  351. package/dist/jsonUtils-d9bb6102.js +86 -0
  352. package/dist/jsonUtils-e40213c1.js +59 -0
  353. package/dist/kmlUtils-5f8f6cf6.js +112 -0
  354. package/dist/knowledgeGraphService-a34bf3b0.js +739 -0
  355. package/dist/knowledgegraph-68124c78.js +149 -0
  356. package/dist/labelUtils-3a1386e4.js +61 -0
  357. package/dist/labelingInfo-69c9f8f4.js +46 -0
  358. package/dist/layersCreator-5e6fe7f2.js +151 -0
  359. package/dist/layersLoader-f96735c7.js +197 -0
  360. package/dist/lazyLayerLoader-142515c4.js +10 -0
  361. package/dist/lclayout-639ec791.js +773 -0
  362. package/dist/lengthUtils-8796ccf3.js +5 -0
  363. package/dist/lerc-wasm-acb341bd.js +325 -0
  364. package/dist/libtess-a9e7192e.js +269 -0
  365. package/dist/libtess-asm-8de2fb72.js +3673 -0
  366. package/dist/lineSegment-2790f546.js +76 -0
  367. package/dist/loadGLTFMesh-33064e6d.js +181 -0
  368. package/dist/loadable-4558719f.js +24 -0
  369. package/dist/loader-4dbc522d.js +79 -0
  370. package/dist/lyr3DWorker-3365d66f.js +2108 -0
  371. package/dist/mapViewDeps-67ec1d27.js +3052 -0
  372. package/dist/mediaLayerUtils-612838fb.js +35 -0
  373. package/dist/meshFeatureSet-07b96756.js +126 -0
  374. package/dist/meshVertexSpaceUtils-673c2055.js +58 -0
  375. package/dist/multidimensionalUtils-79cc2536.js +290 -0
  376. package/dist/normalizeUtilsSync-9fd98ab4.js +181 -0
  377. package/dist/number-110986f5.js +128 -0
  378. package/dist/objectResourceUtils-1b8d1c03.js +1455 -0
  379. package/dist/observers-507c19a0.js +30 -0
  380. package/dist/ogcFeatureUtils-3c65f06a.js +206 -0
  381. package/dist/openCloseComponent-89dc4d35.js +37 -0
  382. package/dist/orientedBoundingBox-46d44acf.js +447 -0
  383. package/dist/parser-8f715684.js +488 -0
  384. package/dist/pbf-4ce99129.js +215 -0
  385. package/dist/pbfQueryUtils-23cca540.js +422 -0
  386. package/dist/pe-wasm-d186391a.js +887 -0
  387. package/dist/persistable-09062510.js +89 -0
  388. package/dist/perspectiveUtils-9da629d6.js +42 -0
  389. package/dist/pieChart-92709a5c.js +555 -0
  390. package/dist/plane-2b39f8eb.js +160 -0
  391. package/dist/popupUtils-dc099446.js +22 -0
  392. package/dist/popupUtils-e53c5c04.js +50 -0
  393. package/dist/portalItemUtils-39079445.js +57 -0
  394. package/dist/portalLayers-efcd5403.js +312 -0
  395. package/dist/portalUtils-44b1ac04.js +7 -0
  396. package/dist/programUtils-c22a40e2.js +59 -0
  397. package/dist/project-4759dc23.js +21 -0
  398. package/dist/projectPointToVector-1d9098bc.js +14 -0
  399. package/dist/projectVectorToVector-add01592.js +13 -0
  400. package/dist/quantityUtils-afe6e5b7.js +33 -0
  401. package/dist/quantizationUtils-51d3a038.js +68 -0
  402. package/dist/quat-22f56b72.js +104 -0
  403. package/dist/query-8cf3e12b.js +89 -0
  404. package/dist/queryAttachments-0a63ea2f.js +39 -0
  405. package/dist/queryEngineUtils-a1db57f0.js +21 -0
  406. package/dist/queryTopFeatures-b4fb05ad.js +50 -0
  407. package/dist/queryZScale-112cd8e3.js +12 -0
  408. package/dist/rasterProjectionHelper-3ae0fcfd.js +577 -0
  409. package/dist/rasterUtils-6868b6b6.js +122 -0
  410. package/dist/rasterizingUtils-922f43e7.js +46 -0
  411. package/dist/request-fd620c13.js +46 -0
  412. package/dist/requestImageUtils-f8f50ad7.js +8 -0
  413. package/dist/resourceExtension-f0327971.js +17 -0
  414. package/dist/resourceUtils-2e33090d.js +69 -0
  415. package/dist/resourceUtils-db0d7e83.js +42 -0
  416. package/dist/resourceUtils-ff5eafc3.js +62 -0
  417. package/dist/saveAPIKeyUtils-32bb955d.js +8 -0
  418. package/dist/saveUtils-d4ad8f94.js +24 -0
  419. package/dist/scaleUtils-a3ce8cc6.js +23 -0
  420. package/dist/scrim-7ef1cdf5.js +114 -0
  421. package/dist/serviceCapabilitiesUtils-cafdd4bc.js +64 -0
  422. package/dist/sourceUtils-1a30f8aa.js +71 -0
  423. package/dist/sphere-84d1e36b.js +199 -0
  424. package/dist/statsWorker-efb7a41b.js +37 -0
  425. package/dist/streamLayerUtils-4c5b417e.js +31 -0
  426. package/dist/style.css +1 -1
  427. package/dist/styleUtils-8f0e3848.js +75 -0
  428. package/dist/styleUtils-a61894cc.js +14 -0
  429. package/dist/sublayerUtils-aaa67481.js +37 -0
  430. package/dist/substitute-7b4a925f.js +52 -0
  431. package/dist/symbolColorUtils-45615b74.js +8 -0
  432. package/dist/symbolLayerUtils-6ee325f3.js +31 -0
  433. package/dist/symbologySnappingCandidates-a56c7bbb.js +221 -0
  434. package/dist/t9n-b5ab99e4.js +349 -0
  435. package/dist/testSVGPremultipliedAlpha-a89a8569.js +94 -0
  436. package/dist/timeSupport-76d5ec0e.js +410 -0
  437. package/dist/triangle-95e355d3.js +98 -0
  438. package/dist/unitConversionUtils-b0c2c156.js +17 -0
  439. package/dist/unitFormatUtils-b79fea5c.js +40 -0
  440. package/dist/uploadAssetErrors-7ef907ce.js +70 -0
  441. package/dist/uploadAssets-99a2ec95.js +330 -0
  442. package/dist/utils-0da4a164.js +419 -0
  443. package/dist/utils-0e163cdb.js +433 -0
  444. package/dist/utils-421c60f9.js +73 -0
  445. package/dist/utils-6e4fc34d.js +91 -0
  446. package/dist/utils-9612bce6.js +34 -0
  447. package/dist/utils-99bb2971.js +2746 -0
  448. package/dist/utils-d1f92cf8.js +79 -0
  449. package/dist/utils-e30b7de3.js +232 -0
  450. package/dist/utils3-41d8e55d.js +75 -0
  451. package/dist/vec3-ab2339d6.js +81 -0
  452. package/dist/vec42-1a7bd7a6.js +125 -0
  453. package/dist/versionUtils-b6c13869.js +161 -0
  454. package/dist/visualVariableUtils-1a38c540.js +267 -0
  455. package/dist/webStyleSymbolUtils-6f89a405.js +48 -0
  456. package/dist/webglDeps-dcb6738a.js +23 -0
  457. package/dist/wfsUtils-d679c9b9.js +343 -0
  458. package/dist/workerHelper-8fb7376f.js +11 -0
  459. package/dist/xyChart-b3c4e27e.js +3335 -0
  460. package/package.json +1 -1
  461. package/dist/AGraphicContainer-98a4c8a4.js +0 -109
  462. package/dist/APIKeyMixin-9511e0a5.js +0 -19
  463. package/dist/Analysis-4b1d1fb5.js +0 -31
  464. package/dist/ArcGISCachedService-93e2cb27.js +0 -47
  465. package/dist/ArcGISService-3f8d89c1.js +0 -25
  466. package/dist/AreaMeasurement2D-e0bb230c.js +0 -405
  467. package/dist/AreaMeasurement3D-a9959ecf.js +0 -488
  468. package/dist/AttachmentInfo-601c56e2.js +0 -34
  469. package/dist/AttachmentQuery-3504d550.js +0 -18
  470. package/dist/AttributeStore-b90878e3.js +0 -1707
  471. package/dist/BaseDynamicLayerView2D-b2faf028.js +0 -63
  472. package/dist/BingMapsLayer-5d79fe2b.js +0 -112
  473. package/dist/Bitmap-f775c851.js +0 -128
  474. package/dist/BitmapContainer-af5942b8.js +0 -23
  475. package/dist/BlendLayer-a792edf6.js +0 -13
  476. package/dist/BoundsStore-789624df.js +0 -63
  477. package/dist/BufferObject-cbd0168e.js +0 -100
  478. package/dist/BufferView-004ad517.js +0 -683
  479. package/dist/BuildingSceneLayer-25bc760b.js +0 -535
  480. package/dist/Button-70963624.js +0 -36
  481. package/dist/CSVLayer-fd3b6750.js +0 -208
  482. package/dist/CSVSourceWorker-eb24cd85.js +0 -367
  483. package/dist/CatalogDynamicGroupLayerView2D-dfc700a4.js +0 -66
  484. package/dist/CatalogFootprintLayerView2D-6eb16597.js +0 -76
  485. package/dist/CatalogLayer-1cc632fe.js +0 -262
  486. package/dist/CatalogLayerView2D-d143aa34.js +0 -52
  487. package/dist/ClassBreaksDefinition-07ba0c64.js +0 -18
  488. package/dist/ColorMaterial.glsl-e7801766.js +0 -64
  489. package/dist/ColorSet-df5696b5.js +0 -45
  490. package/dist/ColorStop-7187f368.js +0 -29
  491. package/dist/Container-ac97765a.js +0 -521
  492. package/dist/CustomParametersMixin-b3432b3e.js +0 -12
  493. package/dist/DefaultMaterial.glsl-3cc4efe7.js +0 -42
  494. package/dist/DefaultMaterial_COLOR_GAMMA-337c63aa.js +0 -653
  495. package/dist/DefaultTheme-12dffc66.js +0 -130
  496. package/dist/DeleteForwardEditsParameters-ae76d898.js +0 -18
  497. package/dist/DimensionLayer-9eb47c76.js +0 -129
  498. package/dist/DirectLineMeasurement3D-e9903136.js +0 -449
  499. package/dist/DistanceMeasurement2D-a4853462.js +0 -303
  500. package/dist/DoubleArray-5076283e.js +0 -25
  501. package/dist/EdgeProcessingWorker-c1783ddd.js +0 -63
  502. package/dist/EditBusLayer-e812f4c9.js +0 -107
  503. package/dist/ElevationInfo-fad03d5e.js +0 -56
  504. package/dist/ElevationLayer-397792d5.js +0 -129
  505. package/dist/ElevationQuery-beceb62f.js +0 -598
  506. package/dist/ElevationSamplerWorker-0048a204.js +0 -62
  507. package/dist/ExportImageParameters-c6c4bc61.js +0 -66
  508. package/dist/ExportStrategy-908f5b8d.js +0 -93
  509. package/dist/ExportWMSImageParameters-34da6b46.js +0 -33
  510. package/dist/External-14daf0c1.js +0 -110
  511. package/dist/FeatureCollectionSnappingSource-f97a1829.js +0 -130
  512. package/dist/FeatureCommandQueue-d4817eac.js +0 -1244
  513. package/dist/FeatureEffect-08976bbd.js +0 -39
  514. package/dist/FeatureEffectLayer-05c258f4.js +0 -13
  515. package/dist/FeatureFilter-8c5e44b1.js +0 -27
  516. package/dist/FeatureLayer-d3659466.js +0 -693
  517. package/dist/FeatureLayerBase-9b63f732.js +0 -148
  518. package/dist/FeatureLayerSource-960f1c01.js +0 -444
  519. package/dist/FeatureLayerView2D-7503e1ed.js +0 -1967
  520. package/dist/FeaturePipelineWorker-d4301d2a.js +0 -3633
  521. package/dist/FeatureReductionLayer-e6cf73ac.js +0 -225
  522. package/dist/FeatureReductionSelection-d90249a7.js +0 -22
  523. package/dist/FeatureServiceSnappingSource-9e49ca72.js +0 -481
  524. package/dist/FeatureServiceSnappingSourceWorker-39b093b3.js +0 -747
  525. package/dist/FeatureSet-d79f0e48.js +0 -188
  526. package/dist/FeatureStore-eb4b87c0.js +0 -131
  527. package/dist/FeatureTemplate-edb1b782.js +0 -12
  528. package/dist/FeatureType-bba29adb.js +0 -25
  529. package/dist/FieldsIndex-75cca4d0.js +0 -109
  530. package/dist/FormTemplate-22911c47.js +0 -350
  531. package/dist/GeoJSONLayer-b33c96b8.js +0 -236
  532. package/dist/GeoJSONSourceWorker-b04ff552.js +0 -247
  533. package/dist/GeoRSSLayer-6e5fcd0e.js +0 -73
  534. package/dist/GeoRSSLayerView2D-21b6b12e.js +0 -140
  535. package/dist/GeometryUtils-fa897cbd.js +0 -403
  536. package/dist/GraphicContainer-1fd6bfce.js +0 -26
  537. package/dist/GraphicManipulator-f3b7dc9b.js +0 -1499
  538. package/dist/GraphicsLayer-e0686779.js +0 -38
  539. package/dist/GraphicsLayerView2D-a7eba2fe.js +0 -114
  540. package/dist/GraphicsSnappingSource-594f402a.js +0 -273
  541. package/dist/GraphicsView2D-347562b8.js +0 -620
  542. package/dist/GroupLayer-7ae0a916.js +0 -147
  543. package/dist/GroupLayerView2D-ffcde606.js +0 -98
  544. package/dist/HUDMaterial.glsl-b0a3e0ce.js +0 -65
  545. package/dist/HighlightCounter-e18f0179.js +0 -41
  546. package/dist/HighlightGraphicContainer-fd774cea.js +0 -18
  547. package/dist/I3SBinaryReader-190e99de.js +0 -310
  548. package/dist/I3SLayerDefinitions-6ddaca60.js +0 -55
  549. package/dist/I3SUtil-44b83dc0.js +0 -59
  550. package/dist/IdentityManager-fbe91c13.js +0 -899
  551. package/dist/ImageHistogramParameters-d64fd9c8.js +0 -905
  552. package/dist/ImageryLayer-67878a78.js +0 -1799
  553. package/dist/ImageryLayerView2D-ae45faba.js +0 -352
  554. package/dist/ImageryTileLayer-9dca8b93.js +0 -2157
  555. package/dist/ImageryTileLayerView2D-977f66aa.js +0 -1110
  556. package/dist/Indices-e6dc3b15.js +0 -67
  557. package/dist/IntegratedMesh3DTilesLayer-8811e7bf.js +0 -112
  558. package/dist/IntegratedMeshLayer-9162c0b5.js +0 -141
  559. package/dist/InteractiveAnalysisViewModel-b046fcb9.js +0 -7397
  560. package/dist/InterleavedLayout-32973c8a.js +0 -163
  561. package/dist/KMLLayer-80f81df7.js +0 -162
  562. package/dist/KMLLayerView2D-b6ba3b80.js +0 -253
  563. package/dist/KnowledgeGraphLayerView2D-ae91bd81.js +0 -43
  564. package/dist/LRUCache-27e8c401.js +0 -32
  565. package/dist/LabelClass-d9a476d6.js +0 -135
  566. package/dist/LabelMetric-e2728bbf.js +0 -400
  567. package/dist/LaserlinePath.glsl-60d00e61.js +0 -64
  568. package/dist/Laserlines.glsl-499a6cbf.js +0 -65
  569. package/dist/LayerFloorInfo-d05cf9dd.js +0 -15
  570. package/dist/LayerView-036988a9.js +0 -206
  571. package/dist/LercWorker-b1b4bb47.js +0 -157
  572. package/dist/LineOfSightLayer-9a9a60b7.js +0 -147
  573. package/dist/LinkChartLayer-d61803bb.js +0 -1027
  574. package/dist/Lyr3DWorker-87be14e0.js +0 -82
  575. package/dist/MagnifierPrograms-da7a27ab.js +0 -806
  576. package/dist/MapImageLayer-f07adf1a.js +0 -169
  577. package/dist/MapImageLayerView2D-d1b140c3.js +0 -146
  578. package/dist/MapNotesLayer-c662d147.js +0 -283
  579. package/dist/MapNotesLayerView2D-bf9ac698.js +0 -161
  580. package/dist/MapServiceLayerViewHelper-fb724de9.js +0 -288
  581. package/dist/MeasurementWidgetContent-e4888ef2.js +0 -2642
  582. package/dist/MediaLayer-36d873a3.js +0 -523
  583. package/dist/MediaLayerView2D-e58b8ec0.js +0 -332
  584. package/dist/MemCache-a9232ec2.js +0 -227
  585. package/dist/MemorySourceWorker-20ff27d6.js +0 -222
  586. package/dist/Mesh-3839826a.js +0 -980
  587. package/dist/MeshLocalVertexSpace-00151564.js +0 -19
  588. package/dist/MultiOriginJSONSupport-bb258670.js +0 -158
  589. package/dist/OGCFeatureLayer-2a8b7ecc.js +0 -211
  590. package/dist/OGCFeatureLayerView2D-185f9649.js +0 -82
  591. package/dist/ObjectStack-10d91171.js +0 -21
  592. package/dist/Octree-78797046.js +0 -495
  593. package/dist/OpenStreetMapLayer-b0a17790.js +0 -30
  594. package/dist/OperationalLayer-55af27d6.js +0 -44
  595. package/dist/OrderByInfo-22e3c805.js +0 -16
  596. package/dist/OrderedLayer-1403a591.js +0 -26
  597. package/dist/OrientedImageryLayer-8ec8d7d1.js +0 -216
  598. package/dist/OverlayCompositing.glsl-ba3bd81d.js +0 -65
  599. package/dist/OverrideHelper-82325a2c.js +0 -242
  600. package/dist/PBFDecoderWorker-f6517afc.js +0 -213
  601. package/dist/PointCloudLayer-cff43a10.js +0 -197
  602. package/dist/PointCloudUniqueValueRenderer-f337a895.js +0 -115
  603. package/dist/PointCloudWorker-cdb28dc1.js +0 -212
  604. package/dist/PooledRBush-ee4e60af.js +0 -272
  605. package/dist/Popup-c7f55588.js +0 -3990
  606. package/dist/PortalLayer-07b3c53e.js +0 -126
  607. package/dist/Program-ba2f18b2.js +0 -694
  608. package/dist/ProgramTemplate-eee4f097.js +0 -35
  609. package/dist/QueryEngine-10c97624.js +0 -896
  610. package/dist/QueryTask-115430b6.js +0 -119
  611. package/dist/RasterSymbolizer-fbf433fe.js +0 -3024
  612. package/dist/RasterVFDisplayObject-20b0dd86.js +0 -581
  613. package/dist/RasterWorker-44c37e20.js +0 -78
  614. package/dist/RawBlockCache-25203dbd.js +0 -185
  615. package/dist/RealisticTree.glsl-bc07c4dc.js +0 -42
  616. package/dist/RefreshableLayer-9550b85a.js +0 -80
  617. package/dist/RefreshableLayerView-601f7038.js +0 -16
  618. package/dist/Relationship-c662830e.js +0 -64
  619. package/dist/RelationshipQuery-765f068e.js +0 -22
  620. package/dist/RenderingContext-3db74548.js +0 -889
  621. package/dist/RibbonLine.glsl-c6a715b7.js +0 -65
  622. package/dist/RouteLayer-3f5411f3.js +0 -786
  623. package/dist/RouteLayerView2D-a5fd4cbf.js +0 -195
  624. package/dist/SDFHelper-a34e90ee.js +0 -140
  625. package/dist/SSAO.glsl-5491a708.js +0 -43
  626. package/dist/SSAOBlur.glsl-f3068b8e.js +0 -42
  627. package/dist/ScaleRangeLayer-7ddf00b4.js +0 -21
  628. package/dist/SceneLayer-c594bfc3.js +0 -542
  629. package/dist/SceneLayerSnappingSource-a0504ac7.js +0 -218
  630. package/dist/SceneLayerSnappingSourceWorker-a04d6692.js +0 -112
  631. package/dist/SceneLayerWorker-1865768e.js +0 -164
  632. package/dist/SceneService-fb9f0142.js +0 -215
  633. package/dist/Scheduler-eacc84bb.js +0 -373
  634. package/dist/ShadedColorMaterial.glsl-db97956b.js +0 -64
  635. package/dist/SnappingOperation-9622a00d.js +0 -48
  636. package/dist/SourceLayerData-7016f1a5.js +0 -116
  637. package/dist/SpatialFilter-d20d4f50.js +0 -1701
  638. package/dist/Stop-68022e32.js +0 -281
  639. package/dist/StreamLayer-7c837e3d.js +0 -188
  640. package/dist/StreamLayerView2D-586f5a6a.js +0 -164
  641. package/dist/StyleRepository-fba75e70.js +0 -2212
  642. package/dist/SublayersOwner-3dc574cd.js +0 -545
  643. package/dist/SubtypeGroupLayer-1f9c5398.js +0 -514
  644. package/dist/SubtypeGroupLayerView2D-0f108d9d.js +0 -84
  645. package/dist/TechniqueInstance-0481dbff.js +0 -233
  646. package/dist/TemporalLayer-8116b4a4.js +0 -23
  647. package/dist/Texture-22a8cca5.js +0 -501
  648. package/dist/TextureOnly.glsl-458f8148.js +0 -65
  649. package/dist/Theme-f05b8eb0.js +0 -3426
  650. package/dist/Tick-aef93b48.js +0 -723
  651. package/dist/TileContainer-0bf0ea1b.js +0 -31
  652. package/dist/TileInfoTilemapCache-d78858c0.js +0 -38
  653. package/dist/TileLayer-0edee064.js +0 -194
  654. package/dist/TileLayerView2D-78d5801b.js +0 -187
  655. package/dist/TilemapCache-79699d61.js +0 -189
  656. package/dist/TimeInfo-40c96ade.js +0 -42
  657. package/dist/TimeOnly-9ee66ca6.js +0 -706
  658. package/dist/Tooltip-e7498dc9.js +0 -138
  659. package/dist/TopFeaturesQuery-ad224e01.js +0 -32
  660. package/dist/TurboLine-6ab04aef.js +0 -565
  661. package/dist/UniqueValueRenderer-eaa5f8a6.js +0 -1039
  662. package/dist/UnknownLayer-e280ddd4.js +0 -30
  663. package/dist/UnknownTimeZone-220952b5.js +0 -15
  664. package/dist/UnsupportedLayer-447f7676.js +0 -31
  665. package/dist/UpdateTracking2D-e9adad8f.js +0 -8566
  666. package/dist/Util-002f5109.js +0 -57
  667. package/dist/VectorTileLayer-3210be81.js +0 -544
  668. package/dist/VectorTileLayerView2D-6a51e3b8.js +0 -2108
  669. package/dist/Version-3de8cbca.js +0 -33
  670. package/dist/VertexArrayObject-07998745.js +0 -73
  671. package/dist/VertexColor.glsl-e415cf02.js +0 -2683
  672. package/dist/VertexSnappingCandidate-b676241f.js +0 -13
  673. package/dist/VideoLayerView2D-f659dd0d.js +0 -124
  674. package/dist/VoxelLayer-003f82ff.js +0 -631
  675. package/dist/WFSLayer-3da6c5f7.js +0 -221
  676. package/dist/WFSSourceWorker-9a11693a.js +0 -157
  677. package/dist/WGLContainer-3d159b63.js +0 -5426
  678. package/dist/WMSLayer-fc0632f8.js +0 -536
  679. package/dist/WMSLayerView2D-54e80e1b.js +0 -117
  680. package/dist/WMTSLayer-9324b12b.js +0 -531
  681. package/dist/WMTSLayerView2D-3ef936db.js +0 -142
  682. package/dist/WebTileLayer-45c563ff.js +0 -110
  683. package/dist/WhereClause-7a28b740.js +0 -2766
  684. package/dist/WorkerHandle-0d54a6c7.js +0 -47
  685. package/dist/WorkerTileHandler-786c2b24.js +0 -1539
  686. package/dist/action-163397e3.js +0 -198
  687. package/dist/action-group-4859fb97.js +0 -145
  688. package/dist/action-menu-2d70b2fc.js +0 -1759
  689. package/dist/apng-9b71d52c.js +0 -392
  690. package/dist/arcade-fa309282.js +0 -229
  691. package/dist/arcadeAsyncRuntime-738498fd.js +0 -943
  692. package/dist/arcadeUtils-f71d80fa.js +0 -8741
  693. package/dist/arcgis-knowledge-client-core-6056bcea.js +0 -1218
  694. package/dist/arcgis-knowledge-client-core-simd-9bc1f83e.js +0 -1218
  695. package/dist/arcgisLayers-b2b878bd.js +0 -152
  696. package/dist/associatedFeatureServiceUtils-df5b5187.js +0 -92
  697. package/dist/axisAngleDegrees-32643b7c.js +0 -49
  698. package/dist/basis_transcoder-3187cc92.js +0 -1248
  699. package/dist/calcite-action-bar-5a87c23c.js +0 -303
  700. package/dist/calcite-action-ee2ca847.js +0 -22
  701. package/dist/calcite-action-group-19aa86ee.js +0 -28
  702. package/dist/calcite-button-8e9175c0.js +0 -228
  703. package/dist/calcite-flow-57d26d2d.js +0 -128
  704. package/dist/calcite-flow-item-4a3e3fc0.js +0 -499
  705. package/dist/calcite-icon-d99e280a.js +0 -16
  706. package/dist/calcite-input-28b20785.js +0 -24
  707. package/dist/calcite-label-4f30e08d.js +0 -79
  708. package/dist/calcite-list-0cee7628.js +0 -2135
  709. package/dist/calcite-list-item-0a19efa8.js +0 -576
  710. package/dist/calcite-list-item-group-0706662f.js +0 -71
  711. package/dist/calcite-loader-865045b1.js +0 -14
  712. package/dist/calcite-modal-3e4da6fd.js +0 -333
  713. package/dist/calcite-notice-50b74ab7.js +0 -181
  714. package/dist/calcite-option-713c1d40.js +0 -94
  715. package/dist/calcite-scrim-809fbd0b.js +0 -18
  716. package/dist/calcite-select-28d8edfc.js +0 -231
  717. package/dist/capabilities-c8f838be.js +0 -50
  718. package/dist/chartCommon-13718cda.js +0 -256
  719. package/dist/chartUtilsAm5-6be145fb.js +0 -2954
  720. package/dist/clientSideDefaults-5c1f97c9.js +0 -39
  721. package/dist/colorRamps-8792655e.js +0 -38
  722. package/dist/colorUtils-54f4b662.js +0 -164
  723. package/dist/commonProperties-f9559903.js +0 -60
  724. package/dist/computeTranslationToOriginAndRotation-4876cb93.js +0 -60
  725. package/dist/conditionalSlot-87175989.js +0 -27
  726. package/dist/createConnection-f974a00a.js +0 -299
  727. package/dist/dataUtils-7c276b73.js +0 -1421
  728. package/dist/deduplicate-59fb9cac.js +0 -89
  729. package/dist/defaults-2bfa4a36.js +0 -31
  730. package/dist/deleteForwardEdits-f653b513.js +0 -13
  731. package/dist/diffUtils-e71a6152.js +0 -90
  732. package/dist/drapedUtils-b42fcbc6.js +0 -75
  733. package/dist/earcut-6fa1a128.js +0 -292
  734. package/dist/edgeProcessing-2ff1f201.js +0 -252
  735. package/dist/editingSupport-68545668.js +0 -203
  736. package/dist/editsZScale-c7cdd215.js +0 -37
  737. package/dist/elevationInfoUtils-5456a079.js +0 -126
  738. package/dist/executeForIds-4ab75c0d.js +0 -14
  739. package/dist/executeForTopCount-7e095ec1.js +0 -17
  740. package/dist/executeForTopExtents-19daf9d0.js +0 -17
  741. package/dist/executeForTopIds-1ba3a4af.js +0 -17
  742. package/dist/executeQueryJSON-46168866.js +0 -15
  743. package/dist/executeQueryPBF-d8623daf.js +0 -152
  744. package/dist/executeRelationshipQuery-011dfb45.js +0 -53
  745. package/dist/executeTopFeaturesQuery-02166801.js +0 -18
  746. package/dist/featureConversionUtils-650d7601.js +0 -479
  747. package/dist/featureLayerUtils-64e09283.js +0 -142
  748. package/dist/featureLayerUtils-b07f9c11.js +0 -250
  749. package/dist/featureSetUtils-9d37d6f8.js +0 -2530
  750. package/dist/featuresetbase-62aeb079.js +0 -707
  751. package/dist/featuresetgeom-51f9fc4e.js +0 -99
  752. package/dist/featuresetstats-4db32894.js +0 -81
  753. package/dist/featuresetstring-990c3287.js +0 -95
  754. package/dist/fetchService-5198dd4a.js +0 -33
  755. package/dist/fieldProperties-edfa24cb.js +0 -33
  756. package/dist/floatRGBA-516d7961.js +0 -20
  757. package/dist/form-99719d52.js +0 -138
  758. package/dist/geohashUtils-2bc76440.js +0 -85
  759. package/dist/geojson-603231df.js +0 -208
  760. package/dist/geomasync-e9063b4c.js +0 -567
  761. package/dist/geometryEngine-d3bb2fd6.js +0 -192
  762. package/dist/geometryEngineAsync-55aa6170.js +0 -217
  763. package/dist/geometryEngineBase-527e8b63.js +0 -18463
  764. package/dist/geometryEngineJSON-28087174.js +0 -46
  765. package/dist/geometryEngineJSON-d54949f9.js +0 -171
  766. package/dist/geometryEngineWorker-dc2c7127.js +0 -11
  767. package/dist/geometryServiceUtils-6a3e1e93.js +0 -28
  768. package/dist/georeference-ed8b2c30.js +0 -291
  769. package/dist/gif-204e82dd.js +0 -323
  770. package/dist/gltfexport-b2566542.js +0 -705
  771. package/dist/groupLayerUtils-ea9e6359.js +0 -39
  772. package/dist/heatmapUtils-56758920.js +0 -45
  773. package/dist/highlightReasons-de432106.js +0 -19
  774. package/dist/hydrated-0e1c7565.js +0 -40
  775. package/dist/i3s-bb0b5b67.js +0 -809
  776. package/dist/icon-c6e3bd23.js +0 -127
  777. package/dist/imageBitmapUtils-881d8c64.js +0 -23
  778. package/dist/imageUtils-57eeedc5.js +0 -69
  779. package/dist/imageUtils-ef69c578.js +0 -89
  780. package/dist/imageryUtils-23f51cb1.js +0 -43
  781. package/dist/index-01c737ed.js +0 -42563
  782. package/dist/input-message-673a9baa.js +0 -92
  783. package/dist/input2-bbf6454e.js +0 -575
  784. package/dist/interactive-aeb2cb9f.js +0 -80
  785. package/dist/jsonContext-2dc288b1.js +0 -15
  786. package/dist/jsonUtils-1abd4bfc.js +0 -59
  787. package/dist/jsonUtils-913fa1bd.js +0 -86
  788. package/dist/jsonUtils-f6a5e63b.js +0 -476
  789. package/dist/kmlUtils-7c2744fe.js +0 -112
  790. package/dist/knowledgeGraphService-6a349e04.js +0 -739
  791. package/dist/knowledgegraph-c91b0bb2.js +0 -149
  792. package/dist/labelUtils-a3634e8f.js +0 -61
  793. package/dist/labelingInfo-568c9210.js +0 -46
  794. package/dist/layersCreator-4a5366ea.js +0 -151
  795. package/dist/layersLoader-b87d4857.js +0 -197
  796. package/dist/lazyLayerLoader-8817000c.js +0 -10
  797. package/dist/lclayout-64c67b4e.js +0 -773
  798. package/dist/lengthUtils-695e744c.js +0 -5
  799. package/dist/lerc-wasm-13192bf3.js +0 -325
  800. package/dist/libtess-asm-4883179d.js +0 -3673
  801. package/dist/libtess-fc70d1ce.js +0 -269
  802. package/dist/lineSegment-3aa941f5.js +0 -76
  803. package/dist/loadGLTFMesh-db6645f5.js +0 -181
  804. package/dist/loadable-266f324b.js +0 -24
  805. package/dist/loader-d1ce1bc1.js +0 -79
  806. package/dist/lyr3DWorker-dd48e619.js +0 -2108
  807. package/dist/mapViewDeps-226d9da3.js +0 -3052
  808. package/dist/mediaLayerUtils-ae485c27.js +0 -35
  809. package/dist/meshFeatureSet-8a2ad011.js +0 -126
  810. package/dist/meshVertexSpaceUtils-6efe3dcc.js +0 -58
  811. package/dist/multidimensionalUtils-508a3f3f.js +0 -290
  812. package/dist/normalizeUtilsSync-1dae280b.js +0 -181
  813. package/dist/number-5aa3a81b.js +0 -128
  814. package/dist/objectResourceUtils-642ab03e.js +0 -1455
  815. package/dist/observers-f646a6a4.js +0 -30
  816. package/dist/ogcFeatureUtils-46ac1c44.js +0 -206
  817. package/dist/openCloseComponent-47eb52c6.js +0 -37
  818. package/dist/orientedBoundingBox-554ccdc6.js +0 -447
  819. package/dist/parser-0701286c.js +0 -488
  820. package/dist/pbf-5dd791f5.js +0 -215
  821. package/dist/pbfQueryUtils-a6ca7e23.js +0 -422
  822. package/dist/pe-wasm-6c16b121.js +0 -887
  823. package/dist/persistable-9eb0e8df.js +0 -89
  824. package/dist/perspectiveUtils-b194621d.js +0 -42
  825. package/dist/pieChart-b97433d0.js +0 -555
  826. package/dist/plane-3398eec1.js +0 -160
  827. package/dist/popupUtils-c444b896.js +0 -22
  828. package/dist/popupUtils-d871563b.js +0 -50
  829. package/dist/portalItemUtils-4c4caad0.js +0 -57
  830. package/dist/portalLayers-cb07742f.js +0 -312
  831. package/dist/portalUtils-effd590f.js +0 -7
  832. package/dist/programUtils-65af7b7c.js +0 -59
  833. package/dist/project-ee9c2947.js +0 -21
  834. package/dist/projectPointToVector-7dc831a9.js +0 -14
  835. package/dist/projectVectorToVector-5163db7a.js +0 -13
  836. package/dist/quantityUtils-5cd4cf90.js +0 -33
  837. package/dist/quantizationUtils-0a8f74c6.js +0 -68
  838. package/dist/quat-a508aed3.js +0 -104
  839. package/dist/query-b6e1fd14.js +0 -89
  840. package/dist/queryAttachments-7b39ebdc.js +0 -39
  841. package/dist/queryEngineUtils-cb8e309e.js +0 -21
  842. package/dist/queryTopFeatures-2e0e3941.js +0 -50
  843. package/dist/queryZScale-c5733d0a.js +0 -12
  844. package/dist/rasterProjectionHelper-213afa27.js +0 -577
  845. package/dist/rasterUtils-f2e44e8b.js +0 -122
  846. package/dist/rasterizingUtils-25cc0190.js +0 -46
  847. package/dist/request-e0c679b3.js +0 -46
  848. package/dist/requestImageUtils-37d79281.js +0 -8
  849. package/dist/resourceExtension-5f3f1c80.js +0 -17
  850. package/dist/resourceUtils-0d68cbc2.js +0 -69
  851. package/dist/resourceUtils-374db840.js +0 -62
  852. package/dist/resourceUtils-43ce192b.js +0 -42
  853. package/dist/saveAPIKeyUtils-1a3d4a8a.js +0 -8
  854. package/dist/saveUtils-43fdc547.js +0 -24
  855. package/dist/scaleUtils-bdf8b6cb.js +0 -23
  856. package/dist/scrim-44eb4dc0.js +0 -114
  857. package/dist/serviceCapabilitiesUtils-823612b8.js +0 -64
  858. package/dist/sourceUtils-01d115c6.js +0 -71
  859. package/dist/sphere-908cd9aa.js +0 -199
  860. package/dist/statsWorker-49f9befe.js +0 -37
  861. package/dist/streamLayerUtils-29324e05.js +0 -31
  862. package/dist/styleUtils-82e8da52.js +0 -75
  863. package/dist/styleUtils-8541d60d.js +0 -14
  864. package/dist/sublayerUtils-eaac2486.js +0 -37
  865. package/dist/substitute-1f578d70.js +0 -52
  866. package/dist/symbolColorUtils-18fd6b3d.js +0 -8
  867. package/dist/symbolLayerUtils-4c58b291.js +0 -31
  868. package/dist/symbologySnappingCandidates-14d94b6b.js +0 -221
  869. package/dist/t9n-c1c2b6c8.js +0 -349
  870. package/dist/testSVGPremultipliedAlpha-159dac90.js +0 -94
  871. package/dist/timeSupport-3f529cdb.js +0 -410
  872. package/dist/triangle-8a3a2ba8.js +0 -98
  873. package/dist/unitConversionUtils-f0ebaf75.js +0 -17
  874. package/dist/unitFormatUtils-555e2d94.js +0 -40
  875. package/dist/uploadAssetErrors-d1389781.js +0 -70
  876. package/dist/uploadAssets-5e85f09d.js +0 -330
  877. package/dist/utils-3a10b10c.js +0 -34
  878. package/dist/utils-505c54e9.js +0 -91
  879. package/dist/utils-5432e258.js +0 -433
  880. package/dist/utils-7a88ec6a.js +0 -419
  881. package/dist/utils-7fa9cdf9.js +0 -2746
  882. package/dist/utils-d252c575.js +0 -73
  883. package/dist/utils-f07e00b3.js +0 -232
  884. package/dist/utils-fda10b4b.js +0 -79
  885. package/dist/utils3-c34ab97c.js +0 -75
  886. package/dist/vec3-f79c600d.js +0 -81
  887. package/dist/vec42-36edeb73.js +0 -125
  888. package/dist/versionUtils-6935648b.js +0 -161
  889. package/dist/visualVariableUtils-c425461a.js +0 -267
  890. package/dist/webStyleSymbolUtils-4f42a29f.js +0 -48
  891. package/dist/webglDeps-5f18210d.js +0 -23
  892. package/dist/wfsUtils-6f7f1e3e.js +0 -343
  893. package/dist/workerHelper-9dc9a790.js +0 -11
  894. package/dist/xyChart-e5648fee.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-e9adad8f.js";
2
- import { t as ps } from "./utils-7a88ec6a.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-ac97765a.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-01c737ed.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-cbd0168e.js";
8
- import { o as Vs } from "./VertexArrayObject-07998745.js";
9
- import { t as _s } from "./VertexElementDescriptor-d7c718c2.js";
10
- import { a as di } from "./LabelMetric-e2728bbf.js";
11
- import { s as zs, i as hi, x as fi } from "./Program-ba2f18b2.js";
12
- import { e as Ge, m as mi } from "./Texture-22a8cca5.js";
13
- import { o as $s } from "./constants-5bd557fe.js";
14
- import { c as Lt } from "./WGLContainer-3d159b63.js";
15
- import { m as Ms } from "./lengthUtils-695e744c.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
- };