@agrotools1/at-components 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (907) hide show
  1. package/dist/AGraphicContainer-d82e96aa.js +109 -0
  2. package/dist/APIKeyMixin-2ee64e59.js +19 -0
  3. package/dist/Analysis-449f84c5.js +31 -0
  4. package/dist/ArcGISCachedService-a838709f.js +47 -0
  5. package/dist/ArcGISService-7e5e8710.js +25 -0
  6. package/dist/AreaMeasurement2D-971dad40.js +405 -0
  7. package/dist/AreaMeasurement3D-48bc0242.js +488 -0
  8. package/dist/AttachmentInfo-ad88d558.js +34 -0
  9. package/dist/AttachmentQuery-c86dac15.js +18 -0
  10. package/dist/AttributeStore-3851ad0b.js +1707 -0
  11. package/dist/BaseDynamicLayerView2D-02baa49a.js +63 -0
  12. package/dist/BingMapsLayer-67c70069.js +112 -0
  13. package/dist/Bitmap-d455f554.js +128 -0
  14. package/dist/BitmapContainer-c78799ad.js +23 -0
  15. package/dist/BlendLayer-246e4998.js +13 -0
  16. package/dist/BoundsStore-b18f4e4e.js +63 -0
  17. package/dist/BufferObject-22d914df.js +100 -0
  18. package/dist/BufferView-5272765e.js +683 -0
  19. package/dist/BuildingSceneLayer-f08d5129.js +535 -0
  20. package/dist/Button-335b8469.js +36 -0
  21. package/dist/CSVLayer-40c0bd0e.js +208 -0
  22. package/dist/CSVSourceWorker-b8df4580.js +367 -0
  23. package/dist/CatalogDynamicGroupLayerView2D-3abd5c54.js +66 -0
  24. package/dist/CatalogFootprintLayerView2D-22c795e4.js +76 -0
  25. package/dist/CatalogLayer-74d18466.js +262 -0
  26. package/dist/CatalogLayerView2D-ffee45d8.js +52 -0
  27. package/dist/ClassBreaksDefinition-5a577d31.js +18 -0
  28. package/dist/ColorMaterial.glsl-bc384e65.js +64 -0
  29. package/dist/ColorSet-570396b9.js +45 -0
  30. package/dist/ColorStop-5009138a.js +29 -0
  31. package/dist/Container-f931e682.js +521 -0
  32. package/dist/CustomParametersMixin-9e8adcf6.js +12 -0
  33. package/dist/DefaultMaterial.glsl-092e1a97.js +42 -0
  34. package/dist/DefaultMaterial_COLOR_GAMMA-43e030be.js +653 -0
  35. package/dist/DefaultTheme-59d78c72.js +130 -0
  36. package/dist/DeleteForwardEditsParameters-8b5196fa.js +18 -0
  37. package/dist/DimensionLayer-6fc6ab12.js +129 -0
  38. package/dist/DirectLineMeasurement3D-6823c93d.js +449 -0
  39. package/dist/DistanceMeasurement2D-a6cf62b6.js +303 -0
  40. package/dist/DoubleArray-bb8ff0fb.js +25 -0
  41. package/dist/Dropdown/Filter/test.mocks.d.ts +1 -1
  42. package/dist/Dropdown/List/test.mocks.d.ts +1 -1
  43. package/dist/EdgeProcessingWorker-c5511714.js +63 -0
  44. package/dist/EditBusLayer-513ca203.js +107 -0
  45. package/dist/ElevationInfo-234040e3.js +56 -0
  46. package/dist/ElevationLayer-599949a0.js +129 -0
  47. package/dist/ElevationQuery-aaa7fb05.js +598 -0
  48. package/dist/ElevationSamplerWorker-07be3a80.js +62 -0
  49. package/dist/ExportImageParameters-b28e28df.js +66 -0
  50. package/dist/ExportStrategy-d6fd38ed.js +93 -0
  51. package/dist/ExportWMSImageParameters-be4cc5df.js +33 -0
  52. package/dist/External-55b35c8d.js +110 -0
  53. package/dist/FeatureCollectionSnappingSource-fce9fa91.js +130 -0
  54. package/dist/FeatureCommandQueue-4e426066.js +1244 -0
  55. package/dist/FeatureEffect-0a86f0ba.js +39 -0
  56. package/dist/FeatureEffectLayer-13705792.js +13 -0
  57. package/dist/FeatureFilter-1635b86a.js +27 -0
  58. package/dist/FeatureLayer-d2f8e7c0.js +693 -0
  59. package/dist/FeatureLayerBase-40e10dd6.js +148 -0
  60. package/dist/FeatureLayerSource-ebd2bea5.js +444 -0
  61. package/dist/FeatureLayerView2D-23240236.js +1967 -0
  62. package/dist/FeaturePipelineWorker-8d07a1dd.js +3633 -0
  63. package/dist/FeatureReductionLayer-55609d4e.js +225 -0
  64. package/dist/FeatureReductionSelection-2f351ee7.js +22 -0
  65. package/dist/FeatureServiceSnappingSource-513edf0d.js +481 -0
  66. package/dist/FeatureServiceSnappingSourceWorker-d6deecd4.js +747 -0
  67. package/dist/FeatureSet-ffd45984.js +188 -0
  68. package/dist/FeatureStore-9fd6c0f8.js +131 -0
  69. package/dist/FeatureTemplate-e4854302.js +12 -0
  70. package/dist/FeatureType-b4ef51c2.js +25 -0
  71. package/dist/FieldsIndex-91fb234a.js +109 -0
  72. package/dist/FormTemplate-67f4d44e.js +350 -0
  73. package/dist/GeoJSONLayer-e3495648.js +236 -0
  74. package/dist/GeoJSONSourceWorker-b0ee6d8e.js +247 -0
  75. package/dist/GeoRSSLayer-afac8cf1.js +73 -0
  76. package/dist/GeoRSSLayerView2D-b03f6564.js +140 -0
  77. package/dist/GeometryUtils-058e30f4.js +403 -0
  78. package/dist/GraphicContainer-d0803f7a.js +26 -0
  79. package/dist/GraphicManipulator-797ae6c6.js +1499 -0
  80. package/dist/GraphicsLayer-a30f80da.js +38 -0
  81. package/dist/GraphicsLayerView2D-0c92e0f2.js +114 -0
  82. package/dist/GraphicsSnappingSource-e928ab8c.js +273 -0
  83. package/dist/GraphicsView2D-963eb026.js +620 -0
  84. package/dist/GroupLayer-7f131ab8.js +147 -0
  85. package/dist/GroupLayerView2D-5fcc27fc.js +98 -0
  86. package/dist/HUDMaterial.glsl-3b450c01.js +65 -0
  87. package/dist/HighlightCounter-fda615cd.js +41 -0
  88. package/dist/HighlightGraphicContainer-8cfde780.js +18 -0
  89. package/dist/I3SBinaryReader-a4021fad.js +310 -0
  90. package/dist/I3SLayerDefinitions-f004f8b6.js +55 -0
  91. package/dist/I3SUtil-040e44af.js +59 -0
  92. package/dist/IdentityManager-012e74ca.js +899 -0
  93. package/dist/ImageHistogramParameters-f7c4c804.js +905 -0
  94. package/dist/ImageryLayer-c3f0176f.js +1799 -0
  95. package/dist/ImageryLayerView2D-5a14beb5.js +352 -0
  96. package/dist/ImageryTileLayer-a93e8471.js +2157 -0
  97. package/dist/ImageryTileLayerView2D-3e9fea94.js +1110 -0
  98. package/dist/Indices-f0dca4b5.js +67 -0
  99. package/dist/IntegratedMesh3DTilesLayer-7e70c76e.js +112 -0
  100. package/dist/IntegratedMeshLayer-2283f8d9.js +141 -0
  101. package/dist/InteractiveAnalysisViewModel-f0a0c72a.js +7397 -0
  102. package/dist/InterleavedLayout-9490090b.js +163 -0
  103. package/dist/KMLLayer-06b7037f.js +162 -0
  104. package/dist/KMLLayerView2D-59f96ec9.js +253 -0
  105. package/dist/KnowledgeGraphLayerView2D-6c8c4aae.js +43 -0
  106. package/dist/LRUCache-fc532e9b.js +32 -0
  107. package/dist/LabelClass-eae6271b.js +135 -0
  108. package/dist/LabelMetric-ee740bd1.js +400 -0
  109. package/dist/LaserlinePath.glsl-f58264f5.js +64 -0
  110. package/dist/Laserlines.glsl-14ab8523.js +65 -0
  111. package/dist/LayerFloorInfo-6ac1a57d.js +15 -0
  112. package/dist/LayerView-e41297e4.js +206 -0
  113. package/dist/LercWorker-22ed35b2.js +157 -0
  114. package/dist/LineOfSightLayer-6bf67bb7.js +147 -0
  115. package/dist/LinkChartLayer-e9a861f0.js +1027 -0
  116. package/dist/Lyr3DWorker-29f7a041.js +82 -0
  117. package/dist/MagnifierPrograms-1584f9b5.js +806 -0
  118. package/dist/MapImageLayer-b89cf158.js +169 -0
  119. package/dist/MapImageLayerView2D-e3f4a4cc.js +146 -0
  120. package/dist/MapNotesLayer-966f3446.js +283 -0
  121. package/dist/MapNotesLayerView2D-4aedef2a.js +161 -0
  122. package/dist/MapServiceLayerViewHelper-4f262166.js +288 -0
  123. package/dist/MeasurementWidgetContent-82971f95.js +2642 -0
  124. package/dist/MediaLayer-697a7c14.js +523 -0
  125. package/dist/MediaLayerView2D-64897044.js +332 -0
  126. package/dist/MemCache-0861cc28.js +227 -0
  127. package/dist/MemorySourceWorker-e1c531ac.js +222 -0
  128. package/dist/Mesh-44c8f6ba.js +980 -0
  129. package/dist/MeshLocalVertexSpace-6fe3a662.js +19 -0
  130. package/dist/MultiOriginJSONSupport-248453ac.js +158 -0
  131. package/dist/Notifications/index.d.ts +1 -0
  132. package/dist/OGCFeatureLayer-2daa0551.js +211 -0
  133. package/dist/OGCFeatureLayerView2D-7cebf7e0.js +82 -0
  134. package/dist/ObjectStack-424092a9.js +21 -0
  135. package/dist/Octree-21d216f2.js +495 -0
  136. package/dist/OpenStreetMapLayer-ade6fa9d.js +30 -0
  137. package/dist/OperationalLayer-097ad3e0.js +44 -0
  138. package/dist/OrderByInfo-e9ed942d.js +16 -0
  139. package/dist/OrderedLayer-fef2b56e.js +26 -0
  140. package/dist/OrientedImageryLayer-424a6234.js +216 -0
  141. package/dist/OverlayCompositing.glsl-1954a291.js +65 -0
  142. package/dist/OverrideHelper-f8aace2c.js +242 -0
  143. package/dist/PBFDecoderWorker-15cd639d.js +213 -0
  144. package/dist/PointCloudLayer-c820d269.js +197 -0
  145. package/dist/PointCloudUniqueValueRenderer-e7d37f08.js +115 -0
  146. package/dist/PointCloudWorker-3e28270d.js +212 -0
  147. package/dist/PooledRBush-e4cbf810.js +272 -0
  148. package/dist/Popup-2c03dbc0.js +3990 -0
  149. package/dist/PortalLayer-09e5a300.js +126 -0
  150. package/dist/Program-ed5a5aa3.js +694 -0
  151. package/dist/ProgramTemplate-976cfde1.js +35 -0
  152. package/dist/QueryEngine-8915348b.js +896 -0
  153. package/dist/QueryTask-f386d91d.js +119 -0
  154. package/dist/RasterSymbolizer-6177c6ec.js +3024 -0
  155. package/dist/RasterVFDisplayObject-6411b56f.js +581 -0
  156. package/dist/RasterWorker-f825daf0.js +78 -0
  157. package/dist/RawBlockCache-0d61962b.js +185 -0
  158. package/dist/RealisticTree.glsl-c9fd0d3c.js +42 -0
  159. package/dist/RefreshableLayer-0945a308.js +80 -0
  160. package/dist/RefreshableLayerView-4956f17c.js +16 -0
  161. package/dist/Relationship-9a82bd43.js +64 -0
  162. package/dist/RelationshipQuery-68ad49a7.js +22 -0
  163. package/dist/RenderingContext-49610ad9.js +889 -0
  164. package/dist/RibbonLine.glsl-6314f72e.js +65 -0
  165. package/dist/RouteLayer-ff5c8f33.js +786 -0
  166. package/dist/RouteLayerView2D-2cc60ad2.js +195 -0
  167. package/dist/SDFHelper-b08be611.js +140 -0
  168. package/dist/SSAO.glsl-0e92c4e5.js +43 -0
  169. package/dist/SSAOBlur.glsl-a2bb2587.js +42 -0
  170. package/dist/ScaleRangeLayer-ab226dbd.js +21 -0
  171. package/dist/SceneLayer-884ec175.js +542 -0
  172. package/dist/SceneLayerSnappingSource-aa2944b9.js +218 -0
  173. package/dist/SceneLayerSnappingSourceWorker-5616c206.js +112 -0
  174. package/dist/SceneLayerWorker-9745b8b5.js +164 -0
  175. package/dist/SceneService-da855dda.js +215 -0
  176. package/dist/Scheduler-b3c40220.js +373 -0
  177. package/dist/Search/test.mocks.d.ts +1 -1
  178. package/dist/Search/utils.d.ts +1 -1
  179. package/dist/ShadedColorMaterial.glsl-f953e894.js +64 -0
  180. package/dist/SnappingOperation-be595c42.js +48 -0
  181. package/dist/SourceLayerData-ec8ab72c.js +116 -0
  182. package/dist/SpatialFilter-7d64232d.js +1701 -0
  183. package/dist/Stop-c022e866.js +281 -0
  184. package/dist/StreamLayer-d603abd8.js +188 -0
  185. package/dist/StreamLayerView2D-6d6618cf.js +164 -0
  186. package/dist/StyleRepository-2f08de17.js +2212 -0
  187. package/dist/SublayersOwner-cc0e4f54.js +545 -0
  188. package/dist/SubtypeGroupLayer-bacf048d.js +514 -0
  189. package/dist/SubtypeGroupLayerView2D-b3ed2c1a.js +84 -0
  190. package/dist/TechniqueInstance-397b7dc2.js +233 -0
  191. package/dist/TemporalLayer-7844bd88.js +23 -0
  192. package/dist/Texture-b1727861.js +501 -0
  193. package/dist/TextureOnly.glsl-ffd4a7df.js +65 -0
  194. package/dist/Theme-12cb681b.js +3426 -0
  195. package/dist/Tick-25d07d27.js +723 -0
  196. package/dist/TileContainer-ab77d7a6.js +31 -0
  197. package/dist/TileInfoTilemapCache-3e97ab02.js +38 -0
  198. package/dist/TileLayer-03cfc8ab.js +194 -0
  199. package/dist/TileLayerView2D-3cfd6a21.js +187 -0
  200. package/dist/TilemapCache-36e3c4b7.js +189 -0
  201. package/dist/TimeInfo-cea2517f.js +42 -0
  202. package/dist/TimeOnly-5a143001.js +706 -0
  203. package/dist/Tooltip-2b4711cb.js +138 -0
  204. package/dist/TopFeaturesQuery-285284f1.js +32 -0
  205. package/dist/TurboLine-708823a3.js +565 -0
  206. package/dist/UniqueValueRenderer-3d92c0b9.js +1039 -0
  207. package/dist/UnknownLayer-d3dbe7c9.js +30 -0
  208. package/dist/UnknownTimeZone-ed4def19.js +15 -0
  209. package/dist/UnsupportedLayer-40bbb9f5.js +31 -0
  210. package/dist/UpdateTracking2D-23c8ff3f.js +8566 -0
  211. package/dist/Util-2ba07f64.js +57 -0
  212. package/dist/VectorTileLayer-ba191a02.js +544 -0
  213. package/dist/VectorTileLayerView2D-bd3971cd.js +2108 -0
  214. package/dist/Version-d45bee25.js +33 -0
  215. package/dist/VertexArrayObject-08a9d938.js +73 -0
  216. package/dist/VertexColor.glsl-cfafd4c9.js +2683 -0
  217. package/dist/VertexSnappingCandidate-cbae227c.js +13 -0
  218. package/dist/VideoLayerView2D-ec66c226.js +124 -0
  219. package/dist/VoxelLayer-888a65f9.js +631 -0
  220. package/dist/WFSLayer-786bdecd.js +221 -0
  221. package/dist/WFSSourceWorker-a212500b.js +157 -0
  222. package/dist/WGLContainer-f05c906a.js +5426 -0
  223. package/dist/WMSLayer-b2c46060.js +536 -0
  224. package/dist/WMSLayerView2D-a90672e9.js +117 -0
  225. package/dist/WMTSLayer-860b1a45.js +531 -0
  226. package/dist/WMTSLayerView2D-c492825d.js +142 -0
  227. package/dist/WebTileLayer-e178eb17.js +110 -0
  228. package/dist/WhereClause-ad3cc5ae.js +2766 -0
  229. package/dist/WorkerHandle-ef6ad49b.js +47 -0
  230. package/dist/WorkerTileHandler-c2b98dae.js +1539 -0
  231. package/dist/action-46ccf03a.js +198 -0
  232. package/dist/action-group-9785519d.js +145 -0
  233. package/dist/action-menu-f423306a.js +1759 -0
  234. package/dist/agrotools-theme.css +2 -2
  235. package/dist/agrotools-theme.css.map +1 -1
  236. package/dist/apng-66c828d8.js +392 -0
  237. package/dist/arcade-af30f385.js +229 -0
  238. package/dist/arcadeAsyncRuntime-fdce05e3.js +943 -0
  239. package/dist/arcadeUtils-2b5a1e68.js +8741 -0
  240. package/dist/arcgis-knowledge-client-core-192a1ac0.js +1218 -0
  241. package/dist/arcgis-knowledge-client-core-simd-4fb6c777.js +1218 -0
  242. package/dist/arcgisLayers-f43f9183.js +152 -0
  243. package/dist/associatedFeatureServiceUtils-15949591.js +92 -0
  244. package/dist/axisAngleDegrees-de05cd64.js +49 -0
  245. package/dist/basis_transcoder-6f118404.js +1248 -0
  246. package/dist/calcite-action-bar-9722a11e.js +303 -0
  247. package/dist/calcite-action-f5829479.js +22 -0
  248. package/dist/calcite-action-group-3e77994f.js +28 -0
  249. package/dist/calcite-button-8979d383.js +228 -0
  250. package/dist/calcite-flow-b50ce308.js +128 -0
  251. package/dist/calcite-flow-item-57549b16.js +499 -0
  252. package/dist/calcite-icon-fb43725c.js +16 -0
  253. package/dist/calcite-input-fcc054c7.js +24 -0
  254. package/dist/calcite-label-10d65c11.js +79 -0
  255. package/dist/calcite-list-2847bddc.js +2135 -0
  256. package/dist/calcite-list-item-53cde043.js +576 -0
  257. package/dist/calcite-list-item-group-256eb990.js +71 -0
  258. package/dist/calcite-loader-022a5436.js +14 -0
  259. package/dist/calcite-modal-5b1a23d9.js +333 -0
  260. package/dist/calcite-notice-17009704.js +181 -0
  261. package/dist/calcite-option-c7d00181.js +94 -0
  262. package/dist/calcite-scrim-1dced2db.js +18 -0
  263. package/dist/calcite-select-a96a55a3.js +231 -0
  264. package/dist/capabilities-3f86754a.js +50 -0
  265. package/dist/chartCommon-af8c14ae.js +256 -0
  266. package/dist/chartUtilsAm5-418cf95f.js +2954 -0
  267. package/dist/clientSideDefaults-2aad569c.js +39 -0
  268. package/dist/colorRamps-0fae1fde.js +38 -0
  269. package/dist/colorUtils-6d5e716b.js +164 -0
  270. package/dist/commonProperties-d1f695a2.js +60 -0
  271. package/dist/computeTranslationToOriginAndRotation-cba163ab.js +60 -0
  272. package/dist/conditionalSlot-14f35023.js +27 -0
  273. package/dist/createConnection-f3b9e606.js +299 -0
  274. package/dist/dataUtils-65604399.js +1421 -0
  275. package/dist/deduplicate-16f30199.js +89 -0
  276. package/dist/defaults-b7c93d2a.js +31 -0
  277. package/dist/deleteForwardEdits-f31f885d.js +13 -0
  278. package/dist/diffUtils-54c1c039.js +90 -0
  279. package/dist/drapedUtils-166cd4c2.js +75 -0
  280. package/dist/earcut-ffaa9a50.js +292 -0
  281. package/dist/edgeProcessing-1a2c4169.js +252 -0
  282. package/dist/editingSupport-ffa6f639.js +203 -0
  283. package/dist/editsZScale-2840378a.js +37 -0
  284. package/dist/elevationInfoUtils-c1caf596.js +126 -0
  285. package/dist/executeForIds-b9c9164b.js +14 -0
  286. package/dist/executeForTopCount-8a73aea7.js +17 -0
  287. package/dist/executeForTopExtents-a3d0b42e.js +17 -0
  288. package/dist/executeForTopIds-f14d5790.js +17 -0
  289. package/dist/executeQueryJSON-6cd89bed.js +15 -0
  290. package/dist/executeQueryPBF-e1d32cfc.js +152 -0
  291. package/dist/executeRelationshipQuery-5cadcb20.js +53 -0
  292. package/dist/executeTopFeaturesQuery-32dda453.js +18 -0
  293. package/dist/featureConversionUtils-a5f0b9b2.js +479 -0
  294. package/dist/featureLayerUtils-828813e8.js +250 -0
  295. package/dist/featureLayerUtils-9e9f97c1.js +142 -0
  296. package/dist/featureSetUtils-2f86a02f.js +2530 -0
  297. package/dist/featuresetbase-bb981400.js +707 -0
  298. package/dist/featuresetgeom-0185b49f.js +99 -0
  299. package/dist/featuresetstats-3d689b79.js +81 -0
  300. package/dist/featuresetstring-83733fad.js +95 -0
  301. package/dist/fetchService-25e9ba70.js +33 -0
  302. package/dist/fieldProperties-cd5649d9.js +33 -0
  303. package/dist/floatRGBA-005cc596.js +20 -0
  304. package/dist/form-41e8f739.js +138 -0
  305. package/dist/geohashUtils-776cae3b.js +85 -0
  306. package/dist/geojson-7ef69d00.js +208 -0
  307. package/dist/geomasync-43a66474.js +567 -0
  308. package/dist/geometryEngine-e18a460d.js +192 -0
  309. package/dist/geometryEngineAsync-ae21d4e2.js +217 -0
  310. package/dist/geometryEngineBase-d653892b.js +18463 -0
  311. package/dist/geometryEngineJSON-031f6196.js +46 -0
  312. package/dist/geometryEngineJSON-9aeb41cd.js +171 -0
  313. package/dist/geometryEngineWorker-1c2f96e6.js +11 -0
  314. package/dist/geometryServiceUtils-50afe031.js +28 -0
  315. package/dist/georeference-cf051555.js +291 -0
  316. package/dist/gif-3fe5f761.js +323 -0
  317. package/dist/gltfexport-3ec498d6.js +705 -0
  318. package/dist/groupLayerUtils-5b8e1f89.js +39 -0
  319. package/dist/heatmapUtils-b512588d.js +45 -0
  320. package/dist/highlightReasons-b0f772b2.js +19 -0
  321. package/dist/hydrated-36edecd6.js +40 -0
  322. package/dist/i3s-239f062a.js +809 -0
  323. package/dist/icon-5e93376e.js +127 -0
  324. package/dist/imageBitmapUtils-142daeaf.js +23 -0
  325. package/dist/imageUtils-27ed5e73.js +89 -0
  326. package/dist/imageUtils-901282e9.js +69 -0
  327. package/dist/imageryUtils-b1dd3a54.js +43 -0
  328. package/dist/index-6ebf29c1.js +43667 -0
  329. package/dist/index.d.ts +1 -0
  330. package/dist/index.js +15 -14
  331. package/dist/input-message-20d19cfb.js +92 -0
  332. package/dist/input2-8da11a51.js +575 -0
  333. package/dist/interactive-bcb1b82d.js +80 -0
  334. package/dist/jsonContext-45fce1e1.js +15 -0
  335. package/dist/jsonUtils-09f69988.js +86 -0
  336. package/dist/jsonUtils-1f447d0c.js +476 -0
  337. package/dist/jsonUtils-db906457.js +59 -0
  338. package/dist/kmlUtils-6412718d.js +112 -0
  339. package/dist/knowledgeGraphService-80890106.js +739 -0
  340. package/dist/knowledgegraph-475723f0.js +149 -0
  341. package/dist/labelUtils-85708580.js +61 -0
  342. package/dist/labelingInfo-62fc9d21.js +46 -0
  343. package/dist/layersCreator-a94b60fe.js +151 -0
  344. package/dist/layersLoader-39c74edb.js +197 -0
  345. package/dist/lazyLayerLoader-7922c10d.js +10 -0
  346. package/dist/lclayout-6ac84378.js +773 -0
  347. package/dist/lengthUtils-6a89d855.js +5 -0
  348. package/dist/lerc-wasm-b8b3cd2c.js +325 -0
  349. package/dist/libtess-61451fa0.js +269 -0
  350. package/dist/libtess-asm-fef1a4ca.js +3673 -0
  351. package/dist/lineSegment-f45db35c.js +76 -0
  352. package/dist/loadGLTFMesh-2f9cee21.js +181 -0
  353. package/dist/loadable-c29cb205.js +24 -0
  354. package/dist/loader-d9b4787f.js +79 -0
  355. package/dist/lyr3DWorker-33babc2c.js +2108 -0
  356. package/dist/mapViewDeps-f5b886c8.js +3052 -0
  357. package/dist/mediaLayerUtils-5a2c2fe8.js +35 -0
  358. package/dist/meshFeatureSet-2312bbe6.js +126 -0
  359. package/dist/meshVertexSpaceUtils-c9b69510.js +58 -0
  360. package/dist/multidimensionalUtils-e85f5a78.js +290 -0
  361. package/dist/normalizeUtilsSync-555b1847.js +181 -0
  362. package/dist/number-72e1a662.js +128 -0
  363. package/dist/objectResourceUtils-abe804cf.js +1455 -0
  364. package/dist/observers-f3bd3593.js +30 -0
  365. package/dist/ogcFeatureUtils-7097c17e.js +206 -0
  366. package/dist/openCloseComponent-67a2c20c.js +37 -0
  367. package/dist/orientedBoundingBox-4ae2c366.js +447 -0
  368. package/dist/parser-7a76caf9.js +488 -0
  369. package/dist/pbf-0b9b579c.js +215 -0
  370. package/dist/pbfQueryUtils-baba23c7.js +422 -0
  371. package/dist/pe-wasm-d080c07b.js +887 -0
  372. package/dist/persistable-82932da9.js +89 -0
  373. package/dist/perspectiveUtils-1b383b17.js +42 -0
  374. package/dist/pieChart-eca78f7c.js +555 -0
  375. package/dist/plane-84e27261.js +160 -0
  376. package/dist/popupUtils-b72d32fb.js +22 -0
  377. package/dist/popupUtils-cde1d105.js +50 -0
  378. package/dist/portalItemUtils-28314a3f.js +57 -0
  379. package/dist/portalLayers-eeaa6e57.js +312 -0
  380. package/dist/portalUtils-457f542e.js +7 -0
  381. package/dist/programUtils-0c20a48e.js +59 -0
  382. package/dist/project-1b5431dd.js +21 -0
  383. package/dist/projectPointToVector-1f1d1dc7.js +14 -0
  384. package/dist/projectVectorToVector-b7e757a1.js +13 -0
  385. package/dist/quantityUtils-b64583f9.js +33 -0
  386. package/dist/quantizationUtils-9e478e23.js +68 -0
  387. package/dist/quat-5502b70d.js +104 -0
  388. package/dist/query-b2397453.js +89 -0
  389. package/dist/queryAttachments-4361fd2f.js +39 -0
  390. package/dist/queryEngineUtils-f24bc98c.js +21 -0
  391. package/dist/queryTopFeatures-e06aa562.js +50 -0
  392. package/dist/queryZScale-b18ec359.js +12 -0
  393. package/dist/rasterProjectionHelper-935c256c.js +577 -0
  394. package/dist/rasterUtils-efad8a20.js +122 -0
  395. package/dist/rasterizingUtils-80de9b14.js +46 -0
  396. package/dist/request-cae502b7.js +46 -0
  397. package/dist/requestImageUtils-caebcf1e.js +8 -0
  398. package/dist/resourceExtension-7d14f4fc.js +17 -0
  399. package/dist/resourceUtils-8d97f5bf.js +42 -0
  400. package/dist/resourceUtils-be991ca4.js +69 -0
  401. package/dist/resourceUtils-fa1a565f.js +62 -0
  402. package/dist/saveAPIKeyUtils-9f0454db.js +8 -0
  403. package/dist/saveUtils-22a6caa6.js +24 -0
  404. package/dist/scaleUtils-ba5596ad.js +23 -0
  405. package/dist/scrim-5b1b6156.js +114 -0
  406. package/dist/serviceCapabilitiesUtils-3a47b26b.js +64 -0
  407. package/dist/sourceUtils-ded5acd6.js +71 -0
  408. package/dist/sphere-418b76df.js +199 -0
  409. package/dist/statsWorker-a082453a.js +37 -0
  410. package/dist/streamLayerUtils-22aa35f2.js +31 -0
  411. package/dist/style.css +1 -1
  412. package/dist/styleUtils-aa4777b6.js +75 -0
  413. package/dist/styleUtils-e5f7ddb7.js +14 -0
  414. package/dist/sublayerUtils-7c5ebfea.js +37 -0
  415. package/dist/substitute-da3c695d.js +52 -0
  416. package/dist/symbolColorUtils-5d3e355f.js +8 -0
  417. package/dist/symbolLayerUtils-47cdd4d1.js +31 -0
  418. package/dist/symbologySnappingCandidates-6ebf1df0.js +221 -0
  419. package/dist/t9n-c80e56d9.js +349 -0
  420. package/dist/testSVGPremultipliedAlpha-b9ff88ef.js +94 -0
  421. package/dist/timeSupport-8d2432f7.js +410 -0
  422. package/dist/triangle-07f96fb9.js +98 -0
  423. package/dist/unitConversionUtils-c1bfd22b.js +17 -0
  424. package/dist/unitFormatUtils-e75be0c3.js +40 -0
  425. package/dist/uploadAssetErrors-3493bdb9.js +70 -0
  426. package/dist/uploadAssets-24fe5279.js +330 -0
  427. package/dist/utils-17d83806.js +2746 -0
  428. package/dist/utils-717efd4b.js +73 -0
  429. package/dist/utils-74e8e651.js +433 -0
  430. package/dist/utils-7c8f1d3f.js +232 -0
  431. package/dist/utils-94cbe432.js +79 -0
  432. package/dist/utils-a76b92ed.js +34 -0
  433. package/dist/utils-e73651cf.js +419 -0
  434. package/dist/utils-f46de72c.js +91 -0
  435. package/dist/utils3-eb04cacb.js +75 -0
  436. package/dist/vec3-61daf837.js +81 -0
  437. package/dist/vec42-27060a00.js +125 -0
  438. package/dist/versionUtils-c9c03a5d.js +161 -0
  439. package/dist/visualVariableUtils-bc9bfef1.js +267 -0
  440. package/dist/webStyleSymbolUtils-0990caa8.js +48 -0
  441. package/dist/webglDeps-812387f7.js +23 -0
  442. package/dist/wfsUtils-fdccd660.js +343 -0
  443. package/dist/workerHelper-d8d5f17b.js +11 -0
  444. package/dist/xyChart-94c1ef04.js +3335 -0
  445. package/package.json +1 -1
  446. package/dist/AGraphicContainer-75e55bb8.js +0 -109
  447. package/dist/APIKeyMixin-688c6ac6.js +0 -19
  448. package/dist/Accordion/Accordion.d.ts +0 -49
  449. package/dist/Analysis-53f71911.js +0 -31
  450. package/dist/ArcGISCachedService-ea7559f0.js +0 -47
  451. package/dist/ArcGISService-a447176d.js +0 -25
  452. package/dist/AreaMeasurement2D-4d0db109.js +0 -405
  453. package/dist/AreaMeasurement3D-a2a10ea8.js +0 -488
  454. package/dist/AttachmentInfo-a2849bf0.js +0 -34
  455. package/dist/AttachmentQuery-e743e06f.js +0 -18
  456. package/dist/AttributeStore-6a3291d4.js +0 -1707
  457. package/dist/Avatar/Avatar.d.ts +0 -66
  458. package/dist/BaseDynamicLayerView2D-b3ff0eae.js +0 -63
  459. package/dist/BingMapsLayer-689d8e88.js +0 -112
  460. package/dist/Bitmap-e2b1f93c.js +0 -128
  461. package/dist/BitmapContainer-4dcc4a14.js +0 -23
  462. package/dist/BlendLayer-113fd3b8.js +0 -13
  463. package/dist/BoundsStore-3598604e.js +0 -63
  464. package/dist/BufferObject-59880a47.js +0 -100
  465. package/dist/BufferView-2cfe8c7d.js +0 -683
  466. package/dist/BuildingSceneLayer-a3e4a869.js +0 -535
  467. package/dist/Button/Button.d.ts +0 -82
  468. package/dist/Button-5e85250d.js +0 -36
  469. package/dist/CSVLayer-a68a64b8.js +0 -208
  470. package/dist/CSVSourceWorker-cf1fee99.js +0 -367
  471. package/dist/CatalogDynamicGroupLayerView2D-a4ae390f.js +0 -66
  472. package/dist/CatalogFootprintLayerView2D-145014a4.js +0 -76
  473. package/dist/CatalogLayer-48e7048b.js +0 -262
  474. package/dist/CatalogLayerView2D-8b4a4d47.js +0 -52
  475. package/dist/Checkbox/Checkbox.d.ts +0 -87
  476. package/dist/ClassBreaksDefinition-e2d8b3cc.js +0 -18
  477. package/dist/ColorMaterial.glsl-a7c70d21.js +0 -64
  478. package/dist/ColorSet-f4b34654.js +0 -45
  479. package/dist/ColorStop-1111f0fd.js +0 -29
  480. package/dist/Container-4a2d8bcd.js +0 -521
  481. package/dist/CustomParametersMixin-601866cc.js +0 -12
  482. package/dist/DataTable/Column/Column.d.ts +0 -36
  483. package/dist/DataTable/Counters/Counters.d.ts +0 -41
  484. package/dist/DataTable/DataTable.d.ts +0 -113
  485. package/dist/DefaultMaterial.glsl-9243ba6c.js +0 -42
  486. package/dist/DefaultMaterial_COLOR_GAMMA-bf0d97c7.js +0 -653
  487. package/dist/DefaultTheme-e96ad45b.js +0 -130
  488. package/dist/DeleteForwardEditsParameters-bd5164e3.js +0 -18
  489. package/dist/DimensionLayer-d51dcf5e.js +0 -129
  490. package/dist/DirectLineMeasurement3D-7b426a46.js +0 -449
  491. package/dist/DistanceMeasurement2D-1f05b105.js +0 -303
  492. package/dist/DoubleArray-4f276822.js +0 -25
  493. package/dist/Dropdown/Dropdown.core.d.ts +0 -31
  494. package/dist/Dropdown/List/Dropdown.List.d.ts +0 -84
  495. package/dist/EdgeProcessingWorker-317b2f9a.js +0 -63
  496. package/dist/EditBusLayer-55763028.js +0 -107
  497. package/dist/ElevationInfo-5be88917.js +0 -56
  498. package/dist/ElevationLayer-754634d4.js +0 -129
  499. package/dist/ElevationQuery-1e84df59.js +0 -598
  500. package/dist/ElevationSamplerWorker-1c01b3d8.js +0 -62
  501. package/dist/ExportImageParameters-e00a1031.js +0 -66
  502. package/dist/ExportStrategy-ba992e25.js +0 -93
  503. package/dist/ExportWMSImageParameters-395804ac.js +0 -33
  504. package/dist/External-77e767f4.js +0 -110
  505. package/dist/FeatureCollectionSnappingSource-d1435805.js +0 -130
  506. package/dist/FeatureCommandQueue-4db7f162.js +0 -1244
  507. package/dist/FeatureEffect-5b570804.js +0 -39
  508. package/dist/FeatureEffectLayer-171a9749.js +0 -13
  509. package/dist/FeatureFilter-db89ec09.js +0 -27
  510. package/dist/FeatureLayer-881827c7.js +0 -693
  511. package/dist/FeatureLayerBase-b410d8eb.js +0 -148
  512. package/dist/FeatureLayerSource-e5eba81e.js +0 -444
  513. package/dist/FeatureLayerView2D-107b4ed6.js +0 -1967
  514. package/dist/FeaturePipelineWorker-2b42d98d.js +0 -3633
  515. package/dist/FeatureReductionLayer-1f3f6a98.js +0 -225
  516. package/dist/FeatureReductionSelection-b0c4bcaf.js +0 -22
  517. package/dist/FeatureServiceSnappingSource-fde9a8da.js +0 -481
  518. package/dist/FeatureServiceSnappingSourceWorker-d4113c50.js +0 -747
  519. package/dist/FeatureSet-595ae550.js +0 -188
  520. package/dist/FeatureStore-87fbe804.js +0 -131
  521. package/dist/FeatureTemplate-c810cba6.js +0 -12
  522. package/dist/FeatureType-22de76b9.js +0 -25
  523. package/dist/FieldsIndex-390b005f.js +0 -109
  524. package/dist/FormTemplate-728de82d.js +0 -350
  525. package/dist/GeoJSONLayer-fbf5ee27.js +0 -236
  526. package/dist/GeoJSONSourceWorker-30cd4133.js +0 -247
  527. package/dist/GeoRSSLayer-2addf639.js +0 -73
  528. package/dist/GeoRSSLayerView2D-29c15edb.js +0 -140
  529. package/dist/GeometryUtils-80d3036a.js +0 -403
  530. package/dist/GraphicContainer-2b112072.js +0 -26
  531. package/dist/GraphicManipulator-84ac0573.js +0 -1499
  532. package/dist/GraphicsLayer-ee9f874e.js +0 -38
  533. package/dist/GraphicsLayerView2D-c5eda7d2.js +0 -114
  534. package/dist/GraphicsSnappingSource-3dd1e9b3.js +0 -273
  535. package/dist/GraphicsView2D-40686b59.js +0 -620
  536. package/dist/GroupLayer-fd168a3e.js +0 -147
  537. package/dist/GroupLayerView2D-f4078b54.js +0 -98
  538. package/dist/HUDMaterial.glsl-bea5cb7c.js +0 -65
  539. package/dist/HighlightCounter-b3b4b206.js +0 -41
  540. package/dist/HighlightGraphicContainer-c00c331b.js +0 -18
  541. package/dist/I3SBinaryReader-d3a26893.js +0 -310
  542. package/dist/I3SLayerDefinitions-2bea64c8.js +0 -55
  543. package/dist/I3SUtil-ab1a91f5.js +0 -59
  544. package/dist/IdentityManager-8e14d109.js +0 -899
  545. package/dist/ImageHistogramParameters-711f313f.js +0 -905
  546. package/dist/ImageryLayer-fbaf4d8c.js +0 -1799
  547. package/dist/ImageryLayerView2D-199eb1fd.js +0 -352
  548. package/dist/ImageryTileLayer-48671dc9.js +0 -2157
  549. package/dist/ImageryTileLayerView2D-8ac1ee64.js +0 -1110
  550. package/dist/Indices-2f9cf62d.js +0 -67
  551. package/dist/Input/Input.core.d.ts +0 -4709
  552. package/dist/IntegratedMesh3DTilesLayer-89d862a2.js +0 -112
  553. package/dist/IntegratedMeshLayer-53f792e4.js +0 -141
  554. package/dist/InteractiveAnalysisViewModel-d7dd665d.js +0 -7397
  555. package/dist/InterleavedLayout-ff67e161.js +0 -163
  556. package/dist/KMLLayer-7a4cfa2a.js +0 -162
  557. package/dist/KMLLayerView2D-d0874e8d.js +0 -253
  558. package/dist/KnowledgeGraphLayerView2D-70d956b2.js +0 -43
  559. package/dist/LRUCache-5bebd9a8.js +0 -32
  560. package/dist/LabelClass-63459c37.js +0 -135
  561. package/dist/LabelMetric-09a9cd38.js +0 -400
  562. package/dist/LaserlinePath.glsl-731dbba1.js +0 -64
  563. package/dist/Laserlines.glsl-26d42447.js +0 -65
  564. package/dist/LayerFloorInfo-5c67a822.js +0 -15
  565. package/dist/LayerView-405cecd2.js +0 -206
  566. package/dist/Legend/Legend.d.ts +0 -73
  567. package/dist/LercWorker-a7892aa0.js +0 -157
  568. package/dist/LineOfSightLayer-abad68f7.js +0 -147
  569. package/dist/LinkChartLayer-c36d2a81.js +0 -1027
  570. package/dist/Lyr3DWorker-8f4c6c50.js +0 -82
  571. package/dist/MagnifierPrograms-ddc85113.js +0 -806
  572. package/dist/Map/Map.d.ts +0 -26
  573. package/dist/MapImageLayer-04f4cdcb.js +0 -169
  574. package/dist/MapImageLayerView2D-712dd60f.js +0 -146
  575. package/dist/MapNotesLayer-83fcba8e.js +0 -283
  576. package/dist/MapNotesLayerView2D-f0ad0a82.js +0 -161
  577. package/dist/MapServiceLayerViewHelper-6c746a26.js +0 -288
  578. package/dist/MeasurementWidgetContent-fc0c1569.js +0 -2642
  579. package/dist/MediaLayer-05162eaf.js +0 -523
  580. package/dist/MediaLayerView2D-474c563b.js +0 -332
  581. package/dist/MemCache-8f96824a.js +0 -227
  582. package/dist/MemorySourceWorker-08562524.js +0 -222
  583. package/dist/Mesh-3208420e.js +0 -980
  584. package/dist/MeshLocalVertexSpace-59268d9e.js +0 -19
  585. package/dist/Modal/Modal.d.ts +0 -106
  586. package/dist/MultiOriginJSONSupport-365740bb.js +0 -158
  587. package/dist/OGCFeatureLayer-7201d1ee.js +0 -211
  588. package/dist/OGCFeatureLayerView2D-d242f130.js +0 -82
  589. package/dist/ObjectStack-bad354ab.js +0 -21
  590. package/dist/Octree-cbaefa65.js +0 -495
  591. package/dist/OpenStreetMapLayer-b3c8020b.js +0 -30
  592. package/dist/OperationalLayer-30f48d16.js +0 -44
  593. package/dist/OrderByInfo-9bd0a8fe.js +0 -16
  594. package/dist/OrderedLayer-2962d196.js +0 -26
  595. package/dist/OrientedImageryLayer-5d599e15.js +0 -216
  596. package/dist/OverlayCompositing.glsl-334c68d5.js +0 -65
  597. package/dist/OverrideHelper-7981ecc2.js +0 -242
  598. package/dist/PBFDecoderWorker-48f7e620.js +0 -213
  599. package/dist/Paginator/Paginator.d.ts +0 -43
  600. package/dist/PointCloudLayer-5b804571.js +0 -197
  601. package/dist/PointCloudUniqueValueRenderer-9ef1db42.js +0 -115
  602. package/dist/PointCloudWorker-9e88daea.js +0 -212
  603. package/dist/PooledRBush-afceba5f.js +0 -272
  604. package/dist/Popup-89e3fd56.js +0 -3990
  605. package/dist/PortalLayer-21d22eb9.js +0 -126
  606. package/dist/Program-09ee8c67.js +0 -694
  607. package/dist/ProgramTemplate-be811b23.js +0 -35
  608. package/dist/ProgressBar/ProgressBar.d.ts +0 -85
  609. package/dist/QueryEngine-810a7f24.js +0 -896
  610. package/dist/QueryTask-013cc810.js +0 -119
  611. package/dist/RadioButton/RadioButton.d.ts +0 -87
  612. package/dist/RasterSymbolizer-ae063ee7.js +0 -3024
  613. package/dist/RasterVFDisplayObject-fe2f7ea2.js +0 -581
  614. package/dist/RasterWorker-7efcbd4d.js +0 -78
  615. package/dist/RawBlockCache-5a644219.js +0 -185
  616. package/dist/RealisticTree.glsl-4e33ae57.js +0 -42
  617. package/dist/RefreshableLayer-e64dd0ee.js +0 -80
  618. package/dist/RefreshableLayerView-61f7dd9a.js +0 -16
  619. package/dist/Relationship-adcdce15.js +0 -64
  620. package/dist/RelationshipQuery-0c20b8ed.js +0 -22
  621. package/dist/RenderingContext-29b578ca.js +0 -889
  622. package/dist/RibbonLine.glsl-038f5cac.js +0 -65
  623. package/dist/RouteLayer-479e0ccc.js +0 -786
  624. package/dist/RouteLayerView2D-1a646f54.js +0 -195
  625. package/dist/SDFHelper-9abcbcca.js +0 -140
  626. package/dist/SSAO.glsl-5d41f99f.js +0 -43
  627. package/dist/SSAOBlur.glsl-7ebf8f5c.js +0 -42
  628. package/dist/ScaleRangeLayer-3bbd6ead.js +0 -21
  629. package/dist/SceneLayer-b19fa11e.js +0 -542
  630. package/dist/SceneLayerSnappingSource-f53ddd8a.js +0 -218
  631. package/dist/SceneLayerSnappingSourceWorker-80f48214.js +0 -112
  632. package/dist/SceneLayerWorker-bab8aeb0.js +0 -164
  633. package/dist/SceneService-0c4fac79.js +0 -215
  634. package/dist/Scheduler-9db9a8cf.js +0 -373
  635. package/dist/Search/Search.d.ts +0 -99
  636. package/dist/Select/Item/Item.d.ts +0 -104
  637. package/dist/Select/Multiple/Select.multiple.d.ts +0 -90
  638. package/dist/Select/Select.core.d.ts +0 -78
  639. package/dist/Select/Single/Select.single.d.ts +0 -66
  640. package/dist/ShadedColorMaterial.glsl-a2dd0bb3.js +0 -64
  641. package/dist/SnappingOperation-25ff52da.js +0 -48
  642. package/dist/SourceLayerData-ec301fa4.js +0 -116
  643. package/dist/SpatialFilter-351a1d5e.js +0 -1701
  644. package/dist/Stop-595501a7.js +0 -281
  645. package/dist/StreamLayer-d5ebd4d3.js +0 -188
  646. package/dist/StreamLayerView2D-8a39daaa.js +0 -164
  647. package/dist/StyleRepository-dd283243.js +0 -2212
  648. package/dist/SublayersOwner-0be88fd0.js +0 -545
  649. package/dist/SubtypeGroupLayer-8386c037.js +0 -514
  650. package/dist/SubtypeGroupLayerView2D-97b63aa1.js +0 -84
  651. package/dist/Tabs/Tab/Tab.d.ts +0 -69
  652. package/dist/Tabs/Tabs.d.ts +0 -50
  653. package/dist/Tag/Tag.d.ts +0 -52
  654. package/dist/TechniqueInstance-87f77cd3.js +0 -233
  655. package/dist/TemporalLayer-7c15b8a6.js +0 -23
  656. package/dist/Texture-c1f5f21b.js +0 -501
  657. package/dist/TextureOnly.glsl-acae1d94.js +0 -65
  658. package/dist/Theme-72a69427.js +0 -3426
  659. package/dist/Tick-d7f9b999.js +0 -723
  660. package/dist/TileContainer-20f11bc5.js +0 -31
  661. package/dist/TileInfoTilemapCache-a50aaed0.js +0 -38
  662. package/dist/TileLayer-ce04649f.js +0 -194
  663. package/dist/TileLayerView2D-0f45ff75.js +0 -187
  664. package/dist/TilemapCache-95b53d5a.js +0 -189
  665. package/dist/TimeInfo-f17e0ff9.js +0 -42
  666. package/dist/TimeOnly-63922f1a.js +0 -706
  667. package/dist/Tipograph/Paragraph/Paragraph.d.ts +0 -25
  668. package/dist/Tipograph/Title/Title.d.ts +0 -25
  669. package/dist/Toggle/Toggle.d.ts +0 -45
  670. package/dist/Tooltip-a21a6650.js +0 -138
  671. package/dist/TopFeaturesQuery-9e4228e7.js +0 -32
  672. package/dist/TurboLine-aeb14d6e.js +0 -565
  673. package/dist/UniqueValueRenderer-7532473e.js +0 -1039
  674. package/dist/UnknownLayer-99d4832b.js +0 -30
  675. package/dist/UnknownTimeZone-4c0a5184.js +0 -15
  676. package/dist/UnsupportedLayer-f439265c.js +0 -31
  677. package/dist/UpdateTracking2D-a1164b3d.js +0 -8566
  678. package/dist/Upload/Upload.d.ts +0 -206
  679. package/dist/Util-26f81cc4.js +0 -57
  680. package/dist/VectorTileLayer-8b5289d2.js +0 -544
  681. package/dist/VectorTileLayerView2D-00d98337.js +0 -2108
  682. package/dist/Version-2556ea28.js +0 -33
  683. package/dist/VertexArrayObject-5595c535.js +0 -73
  684. package/dist/VertexColor.glsl-01eb58bb.js +0 -2683
  685. package/dist/VertexSnappingCandidate-c1e2992a.js +0 -13
  686. package/dist/VideoLayerView2D-e92c8bab.js +0 -124
  687. package/dist/VoxelLayer-e57c2b7b.js +0 -631
  688. package/dist/WFSLayer-486fff2e.js +0 -221
  689. package/dist/WFSSourceWorker-3d8ac573.js +0 -157
  690. package/dist/WGLContainer-1441483b.js +0 -5426
  691. package/dist/WMSLayer-07ea95cc.js +0 -536
  692. package/dist/WMSLayerView2D-8b67d5da.js +0 -117
  693. package/dist/WMTSLayer-b52fbe0c.js +0 -531
  694. package/dist/WMTSLayerView2D-8ca1d522.js +0 -142
  695. package/dist/WebTileLayer-dd24dee2.js +0 -110
  696. package/dist/WhereClause-2eefa48c.js +0 -2766
  697. package/dist/WorkerHandle-f6b5ac7b.js +0 -47
  698. package/dist/WorkerTileHandler-e060fab5.js +0 -1539
  699. package/dist/action-a2d13907.js +0 -198
  700. package/dist/action-group-af071314.js +0 -145
  701. package/dist/action-menu-c759068f.js +0 -1759
  702. package/dist/apng-b33ce902.js +0 -392
  703. package/dist/arcade-b05c8c22.js +0 -229
  704. package/dist/arcadeAsyncRuntime-9b4a7891.js +0 -943
  705. package/dist/arcadeUtils-41691d12.js +0 -8741
  706. package/dist/arcgis-knowledge-client-core-2217ce57.js +0 -1218
  707. package/dist/arcgis-knowledge-client-core-simd-ab44590a.js +0 -1218
  708. package/dist/arcgisLayers-0ea0be85.js +0 -152
  709. package/dist/associatedFeatureServiceUtils-09077513.js +0 -92
  710. package/dist/axisAngleDegrees-1c3d7520.js +0 -49
  711. package/dist/basis_transcoder-292f1aaf.js +0 -1248
  712. package/dist/calcite-action-ad0d1e23.js +0 -22
  713. package/dist/calcite-action-bar-1b2de6d0.js +0 -303
  714. package/dist/calcite-action-group-aacf8ec4.js +0 -28
  715. package/dist/calcite-button-125cbd95.js +0 -228
  716. package/dist/calcite-flow-c9a6e8fa.js +0 -128
  717. package/dist/calcite-flow-item-eb314bb8.js +0 -499
  718. package/dist/calcite-icon-07f22bc6.js +0 -16
  719. package/dist/calcite-input-167be799.js +0 -24
  720. package/dist/calcite-label-7de34a6b.js +0 -79
  721. package/dist/calcite-list-2087f9ca.js +0 -2135
  722. package/dist/calcite-list-item-3419fb5f.js +0 -576
  723. package/dist/calcite-list-item-group-3a6545e3.js +0 -71
  724. package/dist/calcite-loader-16bcfb95.js +0 -14
  725. package/dist/calcite-modal-f608731f.js +0 -333
  726. package/dist/calcite-notice-88ee1edf.js +0 -181
  727. package/dist/calcite-option-375585a2.js +0 -94
  728. package/dist/calcite-scrim-751cf767.js +0 -18
  729. package/dist/calcite-select-62db97da.js +0 -231
  730. package/dist/capabilities-359df394.js +0 -50
  731. package/dist/chartCommon-cceb2530.js +0 -256
  732. package/dist/chartUtilsAm5-08a29408.js +0 -2954
  733. package/dist/clientSideDefaults-b5450c9b.js +0 -39
  734. package/dist/colorRamps-314c4b5a.js +0 -38
  735. package/dist/colorUtils-6e9b620c.js +0 -164
  736. package/dist/commonProperties-3399f319.js +0 -60
  737. package/dist/computeTranslationToOriginAndRotation-0b0f32ad.js +0 -60
  738. package/dist/conditionalSlot-012fd5da.js +0 -27
  739. package/dist/createConnection-f1189f51.js +0 -299
  740. package/dist/dataUtils-950a0ae9.js +0 -1421
  741. package/dist/deduplicate-eabb5f9e.js +0 -89
  742. package/dist/defaults-e5c5ee75.js +0 -31
  743. package/dist/deleteForwardEdits-ea9258ea.js +0 -13
  744. package/dist/diffUtils-04a71a59.js +0 -90
  745. package/dist/drapedUtils-2515520d.js +0 -75
  746. package/dist/earcut-192842ab.js +0 -292
  747. package/dist/edgeProcessing-da003f69.js +0 -252
  748. package/dist/editingSupport-9f04ba1b.js +0 -203
  749. package/dist/editsZScale-97938687.js +0 -37
  750. package/dist/elevationInfoUtils-e1edd62e.js +0 -126
  751. package/dist/executeForIds-3b8a1698.js +0 -14
  752. package/dist/executeForTopCount-6c6cd2f2.js +0 -17
  753. package/dist/executeForTopExtents-86851593.js +0 -17
  754. package/dist/executeForTopIds-24bc9dea.js +0 -17
  755. package/dist/executeQueryJSON-cf7d748b.js +0 -15
  756. package/dist/executeQueryPBF-ad416846.js +0 -152
  757. package/dist/executeRelationshipQuery-9b6666bf.js +0 -53
  758. package/dist/executeTopFeaturesQuery-4ac72bd2.js +0 -18
  759. package/dist/featureConversionUtils-67a121da.js +0 -479
  760. package/dist/featureLayerUtils-a4002773.js +0 -142
  761. package/dist/featureLayerUtils-a7e985d2.js +0 -250
  762. package/dist/featureSetUtils-11fcb3c4.js +0 -2530
  763. package/dist/featuresetbase-47894167.js +0 -707
  764. package/dist/featuresetgeom-bff2aa07.js +0 -99
  765. package/dist/featuresetstats-14a3fe2b.js +0 -81
  766. package/dist/featuresetstring-de2b64db.js +0 -95
  767. package/dist/fetchService-b6d76f5e.js +0 -33
  768. package/dist/fieldProperties-a9fbe289.js +0 -33
  769. package/dist/floatRGBA-2bc6800c.js +0 -20
  770. package/dist/form-e210eee8.js +0 -138
  771. package/dist/geohashUtils-085312a3.js +0 -85
  772. package/dist/geojson-f0bc401a.js +0 -208
  773. package/dist/geomasync-3c3b5e8d.js +0 -567
  774. package/dist/geometryEngine-2772790a.js +0 -192
  775. package/dist/geometryEngineAsync-db2e5674.js +0 -217
  776. package/dist/geometryEngineBase-8b327072.js +0 -18463
  777. package/dist/geometryEngineJSON-95268e88.js +0 -171
  778. package/dist/geometryEngineJSON-fc48a48b.js +0 -46
  779. package/dist/geometryEngineWorker-2fbc65f7.js +0 -11
  780. package/dist/geometryServiceUtils-ed9cb722.js +0 -28
  781. package/dist/georeference-f6f67e9b.js +0 -291
  782. package/dist/gif-a4043534.js +0 -323
  783. package/dist/gltfexport-d028c5c9.js +0 -705
  784. package/dist/groupLayerUtils-22dde377.js +0 -39
  785. package/dist/heatmapUtils-8e578a0a.js +0 -45
  786. package/dist/highlightReasons-ab23926f.js +0 -19
  787. package/dist/hydrated-219f2b0c.js +0 -40
  788. package/dist/i3s-b5ed4851.js +0 -809
  789. package/dist/icon-8711ff33.js +0 -127
  790. package/dist/imageBitmapUtils-dc97b3de.js +0 -23
  791. package/dist/imageUtils-0a71062a.js +0 -69
  792. package/dist/imageUtils-a4c7c9bf.js +0 -89
  793. package/dist/imageryUtils-d21fd540.js +0 -43
  794. package/dist/index-f28919b2.js +0 -43440
  795. package/dist/input-message-3df877b9.js +0 -92
  796. package/dist/input2-32e36924.js +0 -575
  797. package/dist/interactive-c1e1aeaf.js +0 -80
  798. package/dist/jsonContext-4622e179.js +0 -15
  799. package/dist/jsonUtils-9f58b7bb.js +0 -476
  800. package/dist/jsonUtils-d9bb6102.js +0 -86
  801. package/dist/jsonUtils-e40213c1.js +0 -59
  802. package/dist/kmlUtils-5f8f6cf6.js +0 -112
  803. package/dist/knowledgeGraphService-a34bf3b0.js +0 -739
  804. package/dist/knowledgegraph-68124c78.js +0 -149
  805. package/dist/labelUtils-3a1386e4.js +0 -61
  806. package/dist/labelingInfo-69c9f8f4.js +0 -46
  807. package/dist/layersCreator-5e6fe7f2.js +0 -151
  808. package/dist/layersLoader-f96735c7.js +0 -197
  809. package/dist/lazyLayerLoader-142515c4.js +0 -10
  810. package/dist/lclayout-639ec791.js +0 -773
  811. package/dist/lengthUtils-8796ccf3.js +0 -5
  812. package/dist/lerc-wasm-acb341bd.js +0 -325
  813. package/dist/libtess-a9e7192e.js +0 -269
  814. package/dist/libtess-asm-8de2fb72.js +0 -3673
  815. package/dist/lineSegment-2790f546.js +0 -76
  816. package/dist/loadGLTFMesh-33064e6d.js +0 -181
  817. package/dist/loadable-4558719f.js +0 -24
  818. package/dist/loader-4dbc522d.js +0 -79
  819. package/dist/lyr3DWorker-3365d66f.js +0 -2108
  820. package/dist/mapViewDeps-67ec1d27.js +0 -3052
  821. package/dist/mediaLayerUtils-612838fb.js +0 -35
  822. package/dist/meshFeatureSet-07b96756.js +0 -126
  823. package/dist/meshVertexSpaceUtils-673c2055.js +0 -58
  824. package/dist/multidimensionalUtils-79cc2536.js +0 -290
  825. package/dist/normalizeUtilsSync-9fd98ab4.js +0 -181
  826. package/dist/number-110986f5.js +0 -128
  827. package/dist/objectResourceUtils-1b8d1c03.js +0 -1455
  828. package/dist/observers-507c19a0.js +0 -30
  829. package/dist/ogcFeatureUtils-3c65f06a.js +0 -206
  830. package/dist/openCloseComponent-89dc4d35.js +0 -37
  831. package/dist/orientedBoundingBox-46d44acf.js +0 -447
  832. package/dist/parser-8f715684.js +0 -488
  833. package/dist/pbf-4ce99129.js +0 -215
  834. package/dist/pbfQueryUtils-23cca540.js +0 -422
  835. package/dist/pe-wasm-d186391a.js +0 -887
  836. package/dist/persistable-09062510.js +0 -89
  837. package/dist/perspectiveUtils-9da629d6.js +0 -42
  838. package/dist/pieChart-92709a5c.js +0 -555
  839. package/dist/plane-2b39f8eb.js +0 -160
  840. package/dist/popupUtils-dc099446.js +0 -22
  841. package/dist/popupUtils-e53c5c04.js +0 -50
  842. package/dist/portalItemUtils-39079445.js +0 -57
  843. package/dist/portalLayers-efcd5403.js +0 -312
  844. package/dist/portalUtils-44b1ac04.js +0 -7
  845. package/dist/programUtils-c22a40e2.js +0 -59
  846. package/dist/project-4759dc23.js +0 -21
  847. package/dist/projectPointToVector-1d9098bc.js +0 -14
  848. package/dist/projectVectorToVector-add01592.js +0 -13
  849. package/dist/quantityUtils-afe6e5b7.js +0 -33
  850. package/dist/quantizationUtils-51d3a038.js +0 -68
  851. package/dist/quat-22f56b72.js +0 -104
  852. package/dist/query-8cf3e12b.js +0 -89
  853. package/dist/queryAttachments-0a63ea2f.js +0 -39
  854. package/dist/queryEngineUtils-a1db57f0.js +0 -21
  855. package/dist/queryTopFeatures-b4fb05ad.js +0 -50
  856. package/dist/queryZScale-112cd8e3.js +0 -12
  857. package/dist/rasterProjectionHelper-3ae0fcfd.js +0 -577
  858. package/dist/rasterUtils-6868b6b6.js +0 -122
  859. package/dist/rasterizingUtils-922f43e7.js +0 -46
  860. package/dist/request-fd620c13.js +0 -46
  861. package/dist/requestImageUtils-f8f50ad7.js +0 -8
  862. package/dist/resourceExtension-f0327971.js +0 -17
  863. package/dist/resourceUtils-2e33090d.js +0 -69
  864. package/dist/resourceUtils-db0d7e83.js +0 -42
  865. package/dist/resourceUtils-ff5eafc3.js +0 -62
  866. package/dist/saveAPIKeyUtils-32bb955d.js +0 -8
  867. package/dist/saveUtils-d4ad8f94.js +0 -24
  868. package/dist/scaleUtils-a3ce8cc6.js +0 -23
  869. package/dist/scrim-7ef1cdf5.js +0 -114
  870. package/dist/serviceCapabilitiesUtils-cafdd4bc.js +0 -64
  871. package/dist/sourceUtils-1a30f8aa.js +0 -71
  872. package/dist/sphere-84d1e36b.js +0 -199
  873. package/dist/statsWorker-efb7a41b.js +0 -37
  874. package/dist/streamLayerUtils-4c5b417e.js +0 -31
  875. package/dist/styleUtils-8f0e3848.js +0 -75
  876. package/dist/styleUtils-a61894cc.js +0 -14
  877. package/dist/sublayerUtils-aaa67481.js +0 -37
  878. package/dist/substitute-7b4a925f.js +0 -52
  879. package/dist/symbolColorUtils-45615b74.js +0 -8
  880. package/dist/symbolLayerUtils-6ee325f3.js +0 -31
  881. package/dist/symbologySnappingCandidates-a56c7bbb.js +0 -221
  882. package/dist/t9n-b5ab99e4.js +0 -349
  883. package/dist/testSVGPremultipliedAlpha-a89a8569.js +0 -94
  884. package/dist/timeSupport-76d5ec0e.js +0 -410
  885. package/dist/triangle-95e355d3.js +0 -98
  886. package/dist/unitConversionUtils-b0c2c156.js +0 -17
  887. package/dist/unitFormatUtils-b79fea5c.js +0 -40
  888. package/dist/uploadAssetErrors-7ef907ce.js +0 -70
  889. package/dist/uploadAssets-99a2ec95.js +0 -330
  890. package/dist/utils-0da4a164.js +0 -419
  891. package/dist/utils-0e163cdb.js +0 -433
  892. package/dist/utils-421c60f9.js +0 -73
  893. package/dist/utils-6e4fc34d.js +0 -91
  894. package/dist/utils-9612bce6.js +0 -34
  895. package/dist/utils-99bb2971.js +0 -2746
  896. package/dist/utils-d1f92cf8.js +0 -79
  897. package/dist/utils-e30b7de3.js +0 -232
  898. package/dist/utils3-41d8e55d.js +0 -75
  899. package/dist/vec3-ab2339d6.js +0 -81
  900. package/dist/vec42-1a7bd7a6.js +0 -125
  901. package/dist/versionUtils-b6c13869.js +0 -161
  902. package/dist/visualVariableUtils-1a38c540.js +0 -267
  903. package/dist/webStyleSymbolUtils-6f89a405.js +0 -48
  904. package/dist/webglDeps-dcb6738a.js +0 -23
  905. package/dist/wfsUtils-d679c9b9.js +0 -343
  906. package/dist/workerHelper-8fb7376f.js +0 -11
  907. package/dist/xyChart-b3c4e27e.js +0 -3335
@@ -1,1707 +0,0 @@
1
- import { s as de, t as H, o as le, M as fe, d as _e } from "./LabelMetric-09a9cd38.js";
2
- import { a as pe, n as me, b as m, c as ye, l as ge, s as be, k as xe, f as I } from "./UpdateTracking2D-a1164b3d.js";
3
- import { gY as W, B as A, bz as Ie, W as w, s as S, eG as we, jM as Se, X as Te, bV as ve, bZ as Ee, Y as Ae, u as Me, eT as Ce, an as k, aG as ze, by as Fe, aK as $e, bR as De, aO as b, ap as Be, c7 as Re, jN as Oe, a1 as Ve } from "./index-f28919b2.js";
4
- import { p as Pe } from "./labelUtils-3a1386e4.js";
5
- import { Z as X } from "./FieldsIndex-390b005f.js";
6
- import { m as M, n as J, a as q } from "./TimeOnly-63922f1a.js";
7
- import { b as Ge, v as je, t as ke, n as Ne } from "./timeSupport-76d5ec0e.js";
8
- import { r as O, p as K } from "./featureConversionUtils-67a121da.js";
9
- import { e as C, t as We } from "./OptimizedGeometry-3b808152.js";
10
- import { m as Le } from "./diffUtils-04a71a59.js";
11
- import { l as V } from "./highlightReasons-ab23926f.js";
12
- import { b as Ue, M as P } from "./definitions-a00a3a6c.js";
13
- import { U as z } from "./enums-2c166c09.js";
14
- const Ye = 1.25;
15
- let D = class {
16
- get length() {
17
- return this._pos;
18
- }
19
- constructor(e, t) {
20
- this._pos = 0;
21
- const r = t ? this._roundToNearest(t, e.BYTES_PER_ELEMENT) : 40;
22
- this._array = new ArrayBuffer(r), this._buffer = new e(this._array), this._ctor = e, this._i16View = new Int16Array(this._array);
23
- }
24
- _roundToNearest(e, t) {
25
- const r = Math.round(e);
26
- return t === 1 ? r : r + (t - r % t);
27
- }
28
- _ensureSize(e) {
29
- if (this._pos + e >= this._buffer.length) {
30
- const t = this._roundToNearest((this._array.byteLength + e * this._buffer.BYTES_PER_ELEMENT) * Ye, this._buffer.BYTES_PER_ELEMENT), r = new ArrayBuffer(t), s = new this._ctor(r);
31
- s.set(this._buffer, 0), this._array = r, this._buffer = s, this._i16View = new Int16Array(this._array);
32
- }
33
- }
34
- ensureSize(e) {
35
- this._ensureSize(e);
36
- }
37
- writeF32(e) {
38
- this._ensureSize(1);
39
- const t = this._pos;
40
- return new Float32Array(this._array, 4 * this._pos, 1)[0] = e, this._pos++, t;
41
- }
42
- push(e) {
43
- this._ensureSize(1);
44
- const t = this._pos;
45
- return this._buffer[this._pos++] = e, t;
46
- }
47
- writeFixed(e) {
48
- this._buffer[this._pos++] = e;
49
- }
50
- setValue(e, t) {
51
- this._buffer[e] = t;
52
- }
53
- i1616Add(e, t, r) {
54
- this._i16View[2 * e] += t, this._i16View[2 * e + 1] += r;
55
- }
56
- getValue(e) {
57
- return this._buffer[e];
58
- }
59
- getValueF32(e) {
60
- return new Float32Array(this._array, 4 * e, 1)[0];
61
- }
62
- incr(e) {
63
- if (this._buffer.length < e)
64
- throw new Error("Increment index overflows the target buffer");
65
- this._buffer[e]++;
66
- }
67
- decr(e) {
68
- this._buffer[e]--;
69
- }
70
- writeRegion(e) {
71
- this._ensureSize(e.length);
72
- const t = this._pos;
73
- return this._buffer.set(e, this._pos), this._pos += e.length, t;
74
- }
75
- writeManyFrom(e, t, r) {
76
- this._ensureSize(r - t);
77
- for (let s = t; s !== r; s++)
78
- this.writeFixed(e._buffer[s]);
79
- }
80
- buffer() {
81
- const e = this._array.slice(0, 4 * this._pos);
82
- return this.destroy(), e;
83
- }
84
- toArray() {
85
- return [...this._buffer];
86
- }
87
- seek(e) {
88
- this._pos = e;
89
- }
90
- destroy() {
91
- this._array = null, this._buffer = null;
92
- }
93
- };
94
- const Ze = 6, He = 4;
95
- let Xe = class {
96
- constructor(e, t, r, s = 0) {
97
- const i = Ze * s * Uint32Array.BYTES_PER_ELEMENT, n = He * s * r, o = r / 4, h = t.attributes.find((d) => d.name === "pos" || d.name === "position");
98
- if (!h)
99
- throw new Error("InternalError: Unable to find position attribute");
100
- this.layout = { ...t, position: h }, this._indices = new D(Uint32Array, i), this._vertices = new D(Uint32Array, n), this._metrics = new D(Uint32Array, 0), this._metricCountOffset = this._metrics.push(0), this._strideInt = o, this._instanceId = e;
101
- }
102
- serialize(e) {
103
- const t = this._indices.buffer(), r = this._vertices.buffer(), s = this._metrics.length ? this._metrics.buffer() : null;
104
- return e.push(t, r), { instanceId: this._instanceId, layout: this.layout, indices: t, vertices: r, metrics: s };
105
- }
106
- get strideInt() {
107
- return this._strideInt;
108
- }
109
- get vertexCount() {
110
- return this._vertices.length / this._strideInt;
111
- }
112
- get indexCount() {
113
- return this._indices.length;
114
- }
115
- get indexWriter() {
116
- return this._indices;
117
- }
118
- get vertexWriter() {
119
- return this._vertices;
120
- }
121
- get metricWriter() {
122
- return this._metrics;
123
- }
124
- vertexEnsureSize(e) {
125
- this._vertices.ensureSize(e);
126
- }
127
- indexEnsureSize(e) {
128
- this._indices.ensureSize(e);
129
- }
130
- writeIndex(e) {
131
- this._indices.push(e);
132
- }
133
- writeVertex(e) {
134
- this._vertices.push(e);
135
- }
136
- writeVertexRegion(e) {
137
- this._vertices.writeRegion(e);
138
- }
139
- writeVertexF32(e) {
140
- this._vertices.writeF32(e);
141
- }
142
- writeMetric(e) {
143
- this._metrics.incr(this._metricCountOffset), e.serialize(this._metrics);
144
- }
145
- }, Zt = class {
146
- constructor(e, t = 0) {
147
- this._id = e, this._sizeHint = t, this._entityRecordCountOffset = 0, this._entityCountOffset = 0, this._entityIdIndex = 0, this._entitySortKeyIndex = 0, this._instanceIdToVertexData = /* @__PURE__ */ new Map(), this._recordIndexStart = 0, this._recordIndexCount = 0, this._recordVertexStart = 0, this._recordVertexCount = 0, this._current = { metric: null, writer: null, start: 0, sortKey: 0, instanceId: 0, layoutHash: 0, indexStart: 0, vertexStart: 0, textureKey: 0, metricBoxLenPointer: 0 }, this._entities = new D(Uint32Array, this._sizeHint * de.byteSizeHint), this._entityCountOffset = this._entities.push(0);
148
- }
149
- get id() {
150
- return this._id;
151
- }
152
- serialize() {
153
- const e = new Array(), t = [], r = this._entities.buffer();
154
- for (const s of this._instanceIdToVertexData.values())
155
- t.push(s.serialize(e));
156
- return { message: { data: t, entities: r }, transferList: e };
157
- }
158
- vertexCount() {
159
- var e;
160
- return ((e = this._current.writer) == null ? void 0 : e.vertexCount) ?? 0;
161
- }
162
- indexCount() {
163
- var e;
164
- return ((e = this._current.writer) == null ? void 0 : e.indexCount) ?? 0;
165
- }
166
- vertexEnsureSize(e) {
167
- this._current.writer.vertexEnsureSize(e);
168
- }
169
- indexEnsureSize(e) {
170
- this._current.writer.indexEnsureSize(e);
171
- }
172
- vertexWrite(e) {
173
- this._current.writer.writeVertex(e);
174
- }
175
- vertexWriteRegion(e) {
176
- this._current.writer.writeVertexRegion(e);
177
- }
178
- vertexWriteF32(e) {
179
- this._current.writer.writeVertexF32(e);
180
- }
181
- recordBounds(e, t, r, s) {
182
- }
183
- indexWrite(e) {
184
- this._current.writer.writeIndex(e);
185
- }
186
- metricStart(e) {
187
- this._current.metric = e;
188
- }
189
- metricEnd() {
190
- const e = this._current.writer;
191
- this._current.metric.bounds.length && e.writeMetric(this._current.metric);
192
- }
193
- metricBoxWrite(e) {
194
- this._current.metric.bounds.push(e);
195
- }
196
- entityStart(e, t = e) {
197
- this._entityIdIndex = this._entities.push(e), this._entitySortKeyIndex = this._entities.writeF32(t), this._entityRecordCountOffset = this._entities.push(0);
198
- }
199
- entityRecordCount() {
200
- return this._entities.getValue(this._entityRecordCountOffset);
201
- }
202
- entityEnd() {
203
- this.entityRecordCount() === 0 ? this._entities.seek(this._entityIdIndex) : this._entities.incr(this._entityCountOffset);
204
- }
205
- recordCount() {
206
- return this._entities.getValue(this._entityRecordCountOffset);
207
- }
208
- recordStart(e, t, r = 0) {
209
- this._current.writer = this._getVertexWriter(e, t), this._current.indexStart = this._current.writer.indexCount, this._current.vertexStart = this._current.writer.vertexCount, this._current.instanceId = e, this._current.layoutHash = t.hash, this._current.textureKey = r;
210
- }
211
- recordEnd(e = 0) {
212
- const t = this._current.vertexStart, r = this._current.writer.vertexCount - t;
213
- if (!r)
214
- return !1;
215
- const s = this._current.indexStart, i = this._current.writer.indexCount - s;
216
- return this._recordIndexStart = s, this._recordIndexCount = i, this._recordVertexStart = t, this._recordVertexCount = r, this._entities.incr(this._entityRecordCountOffset), H.write(this._entities, this._current.instanceId, this._current.textureKey, s, i, t, r, e), !0;
217
- }
218
- copyLast(e, t) {
219
- const r = this._recordVertexStart + this._recordVertexCount;
220
- this._entities.incr(this._entityRecordCountOffset), H.write(this._entities, this._current.instanceId, this._current.textureKey, this._recordIndexStart + this._recordIndexCount, this._recordIndexCount, r, this._recordVertexCount, 0);
221
- const s = this._current.writer.indexWriter, i = this._current.writer.vertexWriter, n = this._recordIndexStart + this._recordIndexCount, o = this._recordVertexCount;
222
- for (let p = this._recordIndexStart; p !== n; p++) {
223
- const _ = s.getValue(p);
224
- s.push(_ + o);
225
- }
226
- const h = this._current.writer.layout.stride / Uint32Array.BYTES_PER_ELEMENT, d = this._recordVertexStart * h, u = (this._recordVertexStart + this._recordVertexCount) * h;
227
- for (let p = d; p !== u; p++) {
228
- const _ = i.getValue(p);
229
- i.push(_);
230
- }
231
- const c = this._current.writer.layout.position, l = c.packPrecisionFactor ?? 1, y = c.offset / Uint32Array.BYTES_PER_ELEMENT, f = e * l, g = t * l;
232
- for (let p = r * h; p <= i.length; p += h)
233
- i.i1616Add(p + y, f, g);
234
- this.recordEnd();
235
- }
236
- copyLastFrom(e, t, r) {
237
- const s = e._entities.getValue(e._entityIdIndex);
238
- if (s !== this._entities.getValue(this._entityIdIndex)) {
239
- const _ = e._entities.getValueF32(e._entitySortKeyIndex);
240
- this.entityStart(s, _);
241
- }
242
- this.recordStart(e._current.instanceId, e._current.writer.layout, e._current.textureKey);
243
- const i = this._current.writer.layout.stride / Uint32Array.BYTES_PER_ELEMENT, n = this._current.vertexStart, o = e._current.vertexStart - n, h = this._current.writer.indexWriter, d = this._current.writer.vertexWriter, u = e._current.writer.indexWriter, c = e._current.writer.vertexWriter;
244
- for (let _ = e._current.indexStart; _ !== u.length; _++) {
245
- const T = u.getValue(_);
246
- h.push(T - o);
247
- }
248
- for (let _ = e._current.vertexStart * i; _ !== c.length; _++) {
249
- const T = c.getValue(_);
250
- d.push(T);
251
- }
252
- const l = this._current.writer.layout.position, y = l.packPrecisionFactor ?? 1, f = l.offset / Uint32Array.BYTES_PER_ELEMENT, g = t * y, p = r * y;
253
- for (let _ = n * i; _ <= d.length; _ += i)
254
- d.i1616Add(_ + f, g, p);
255
- this.recordEnd();
256
- }
257
- _getVertexWriter(e, t) {
258
- const { stride: r } = t, s = this._instanceIdToVertexData;
259
- return s.has(e) || s.set(e, new Xe(e, t, r, this._sizeHint)), s.get(e);
260
- }
261
- };
262
- function Je(a, e) {
263
- let t;
264
- if (typeof a == "string")
265
- t = W(a + `-seed(${e})`);
266
- else {
267
- let r = 12;
268
- t = a ^ e;
269
- do
270
- t = 107 * (t >> 8 ^ t) + r | 0;
271
- while (--r != 0);
272
- }
273
- return (1 + t / (1 << 31)) / 2;
274
- }
275
- function qe(a) {
276
- return Math.floor(Je(a, Ke) * Qe);
277
- }
278
- const Ke = 53290320, Qe = 10;
279
- let E = class {
280
- destroy() {
281
- }
282
- }, et = class extends E {
283
- constructor(e) {
284
- super(), this._value = e;
285
- }
286
- resize(e) {
287
- }
288
- read(e, t) {
289
- return this._value;
290
- }
291
- readWithDefault(e, t, r) {
292
- return this._value;
293
- }
294
- referencesScale() {
295
- return !1;
296
- }
297
- referencesGeometry() {
298
- return !1;
299
- }
300
- };
301
- const tt = () => S.getLogger("esri.views.2d.engine.webgl.shaderGraph.techniques.mesh.MeshWriterInputEvaluator");
302
- async function F(a, e, t = !1) {
303
- const { defaultValue: r, valueExpressionInfo: s, value: i } = e;
304
- if (s) {
305
- const { expression: n } = s, o = await a.createComputedField({ expression: n }, t);
306
- return o ? { ...e, computed: o, defaultValue: r } : null;
307
- }
308
- return { ...e, computed: new et(i), defaultValue: r };
309
- }
310
- async function Q(a, e) {
311
- const { defaultValue: t, valueExpressionInfo: r } = e, { expression: s } = r, i = await a.createComputedField({ expression: s });
312
- return i ? { ...e, computed: i, defaultValue: t } : null;
313
- }
314
- const ie = (a) => typeof a != "boolean" && typeof a != "number" && "valueExpressionInfo" in a, rt = (a) => a.some((e) => {
315
- for (const t in e) {
316
- const r = e[t];
317
- if (ie(r))
318
- return !0;
319
- }
320
- return !1;
321
- });
322
- let st = class ne {
323
- static async create(e, t, r) {
324
- const s = {}, i = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
325
- for (const u in r.params) {
326
- const c = r.params[u];
327
- if (c != null && typeof c == "object")
328
- if (Array.isArray(c)) {
329
- if (typeof c[0] == "object")
330
- throw new Error(`InternalError: Cannot handle ${u}. Nested array params are not supported`);
331
- s[u] = c;
332
- } else if ("valueExpressionInfo" in c) {
333
- if (c.value) {
334
- s[u] = c.value;
335
- continue;
336
- }
337
- const l = await Q(e, c);
338
- if (!l) {
339
- s[u] = c.defaultValue;
340
- continue;
341
- }
342
- i.set(u, l), s[u] = null;
343
- } else
344
- switch (c.type) {
345
- case "cim-effect-infos":
346
- if (c.effectInfos.some((l) => l.overrides.length)) {
347
- n.set(u, { effects: await Promise.all(c.effectInfos.map(async (l) => {
348
- const y = l.overrides.map((f) => F(e, f));
349
- return { effect: l.effect, compiledOverrides: (await Promise.all(y)).filter(A) };
350
- })) });
351
- break;
352
- }
353
- s[u] = c.effectInfos.map((l) => l.effect);
354
- break;
355
- case "cim-marker-placement-info":
356
- c.overrides.length && o.set(u, { placementInfo: c, compiledOverrides: (await Promise.all(c.overrides.map((l) => F(e, l)))).filter(A) }), s[u] = c.placement;
357
- break;
358
- case "text-rasterization-param": {
359
- if (c.overrides.length) {
360
- const y = c.overrides.map((f) => F(e, f, c.useLegacyLabelEvaluationRules));
361
- h.set(u, { compiledOverrides: (await Promise.all(y)).filter(A), rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
362
- continue;
363
- }
364
- const l = { type: "cim-rasterization-info", resource: c.resource };
365
- s[u] = await t.fetchResourceImmediate(l) ?? null;
366
- break;
367
- }
368
- case "sprite-rasterization-param": {
369
- if (c.overrides.length) {
370
- const y = c.overrides.map((f) => F(e, f));
371
- h.set(u, { compiledOverrides: (await Promise.all(y)).filter(A), rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
372
- continue;
373
- }
374
- if (c.resource.type === "animated") {
375
- h.set(u, { compiledOverrides: [], rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
376
- continue;
377
- }
378
- const l = { type: "cim-rasterization-info", resource: c.resource };
379
- s[u] = await t.fetchResourceImmediate(l) ?? null;
380
- break;
381
- }
382
- case "cim-marker-transform-param": {
383
- const { params: l } = c;
384
- if (rt(l)) {
385
- const y = { compiledMarkerInfos: [] };
386
- await Promise.all(l.map(async (f) => {
387
- const g = { props: {} };
388
- for (const p in f)
389
- if (ie(f[p])) {
390
- const _ = await Q(e, f[p]);
391
- g.compiledExpressionMap || (g.compiledExpressionMap = /* @__PURE__ */ new Map());
392
- const T = g.compiledExpressionMap;
393
- _ && T.set(p, _);
394
- } else
395
- g.props[p] = f[p];
396
- y.compiledMarkerInfos.push(g);
397
- })), d.set(u, y);
398
- } else
399
- s[u] = { type: "cim-marker-transform-info", infos: l };
400
- break;
401
- }
402
- default:
403
- s[u] = c;
404
- }
405
- else
406
- s[u] = c;
407
- }
408
- return new ne(r, s, i, n, o, h, d);
409
- }
410
- constructor(e, t, r, s, i, n, o) {
411
- this.inputMeshParams = e, this._resolvedMeshParams = t, this._dynamicProperties = r, this._dynamicEffectProperties = s, this._dynamicPlacementProperties = i, this._dynamicAsyncProperties = n, this._dynamicTransformProperties = o, this.evaluator = (h) => h;
412
- }
413
- get hasDynamicProperties() {
414
- return !!(this._dynamicProperties.size || this._dynamicAsyncProperties.size || this._dynamicEffectProperties.size || this._dynamicTransformProperties.size || this._dynamicPlacementProperties.size);
415
- }
416
- get evaluatedMeshParams() {
417
- return this._evaluatedMeshParams || (this._evaluatedMeshParams = this.evaluator(this._resolvedMeshParams)), this._evaluatedMeshParams;
418
- }
419
- enqueueRequest(e, t, r) {
420
- for (const s of this._dynamicAsyncProperties.values()) {
421
- const i = Ie(s.rasterizationParam.resource);
422
- s.rasterizationParam.resource.type === "animated" && s.rasterizationParam.resource.randomizeStartTime && (i.primitiveName = "__RESERVED__PRIMITIVE__NAME__", i.startGroup = qe(t.getObjectId() || 0));
423
- for (const { primitiveName: o, propertyName: h, computed: d, defaultValue: u, valueExpressionInfo: c } of s.compiledOverrides)
424
- try {
425
- const l = s.rasterizationParam.resource.type === "animated" ? i.primitiveName : o;
426
- le(i, l, h, d, t, r, u);
427
- } catch (l) {
428
- tt().errorOnce(new w("invalid-arcade-expression", `Encountered an error when evaluating the arcade expression '${c == null ? void 0 : c.expression}' (primitive: '${o}', property: '${h}')`, l));
429
- }
430
- const n = e.enqueueRequest({ type: "cim-rasterization-info", resource: i });
431
- s.objectIdToResourceId.set(t.getObjectId(), n);
432
- }
433
- }
434
- evaluateMeshParams(e, t, r) {
435
- for (const [s, i] of this._dynamicProperties.entries())
436
- this._resolvedMeshParams[s] = i.computed.readWithDefault(t, r, i.defaultValue);
437
- for (const [s, i] of this._dynamicPlacementProperties.entries())
438
- for (const { computed: n, defaultValue: o, propertyName: h } of i.compiledOverrides) {
439
- const d = n.readWithDefault(t, r, o);
440
- i.placementInfo.placement[h] = d, this._resolvedMeshParams[s] = i.placementInfo.placement;
441
- }
442
- for (const [s, i] of this._dynamicEffectProperties.entries())
443
- for (const n of i.effects) {
444
- for (const { computed: o, defaultValue: h, propertyName: d } of n.compiledOverrides) {
445
- const u = o.readWithDefault(t, r, h);
446
- n.effect[d] = u;
447
- }
448
- this._resolvedMeshParams[s] = i.effects.map((o) => o.effect);
449
- }
450
- for (const [s, i] of this._dynamicTransformProperties.entries()) {
451
- const n = { type: "cim-marker-transform-info", infos: [] };
452
- for (const o of i.compiledMarkerInfos) {
453
- const h = { ...o.props };
454
- if (o.compiledExpressionMap)
455
- for (const [d, u] of o.compiledExpressionMap) {
456
- const c = u.computed.readWithDefault(t, r, u.defaultValue);
457
- h[d] = typeof c == "number" || typeof c == "boolean" ? c : u.defaultValue;
458
- }
459
- n.infos.push(h);
460
- }
461
- this._resolvedMeshParams[s] = n;
462
- }
463
- for (const [s, i] of this._dynamicAsyncProperties.entries()) {
464
- const n = i.objectIdToResourceId.get(t.getObjectId());
465
- if (n == null)
466
- continue;
467
- const o = e.getResource(n);
468
- this._resolvedMeshParams[s] = o;
469
- }
470
- return this._evaluatedMeshParams = this.evaluator(this._resolvedMeshParams), this.evaluatedMeshParams;
471
- }
472
- };
473
- async function it(a, e, t, r, s, i, n) {
474
- const o = pe[t], h = await st.create(a, e, s), d = new o.constructor(r, h, i, n);
475
- return await d.loadDependencies(), d;
476
- }
477
- async function qt(a, e, t, r) {
478
- return Promise.all(t.map((s) => it(a, e, s.meshWriterName, me(s.id), s.options, r, s.optionalAttributes)));
479
- }
480
- let nt = class {
481
- }, Qt = class extends nt {
482
- constructor(e) {
483
- super(), this._fetcher = e, this._controller = new AbortController(), this._pendingIds = /* @__PURE__ */ new Set(), this._pendingRequests = [], this._resourceIdToResource = /* @__PURE__ */ new Map();
484
- }
485
- destory() {
486
- this._controller.abort();
487
- }
488
- get _abortOptions() {
489
- return { signal: this._controller.signal };
490
- }
491
- enqueueRequest(e) {
492
- const t = fe(e.resource), r = W(JSON.stringify(t));
493
- return this._pendingIds.has(r) || (this._pendingIds.add(r), this._pendingRequests.push({ ...e, resourceId: r })), r;
494
- }
495
- async fetchEnqueuedResources() {
496
- const e = this._pendingRequests;
497
- this._pendingIds.clear(), this._pendingRequests = [];
498
- const t = await this._fetcher.fetch(e, this._abortOptions);
499
- for (let r = 0; r < t.length; r++) {
500
- const s = e[r].resourceId;
501
- this._resourceIdToResource.set(s, t[r]);
502
- }
503
- }
504
- async fetchResourceImmediate(e) {
505
- const t = await this._fetcher.fetch([e], this._abortOptions);
506
- if (t.length !== 1)
507
- throw new Error("FeaturePipelineResourceProxy: failed to fetch resources");
508
- return t[0];
509
- }
510
- async fetchDictionaryResourceImmediate(e) {
511
- const t = await this._fetcher.fetchDictionary([e], this._abortOptions);
512
- if (t.length !== 1)
513
- throw new Error("FeaturePipelineResourceProxy: failed to fetch dictionary resources");
514
- return t[0];
515
- }
516
- getResource(e) {
517
- return this._resourceIdToResource.get(e);
518
- }
519
- }, at = class extends E {
520
- constructor(e) {
521
- super(), this._field = e;
522
- }
523
- resize(e) {
524
- throw new Error("Method not implemented.");
525
- }
526
- read(e, t) {
527
- return e.readAttribute(this._field);
528
- }
529
- readWithDefault(e, t) {
530
- return e.readAttribute(this._field);
531
- }
532
- referencesScale() {
533
- return !1;
534
- }
535
- referencesGeometry() {
536
- return !1;
537
- }
538
- };
539
- function ee(a, e, t) {
540
- var s;
541
- if (a == null)
542
- return null;
543
- const r = e.readArcadeFeature();
544
- e.contextTimeZone = (s = t.$view) == null ? void 0 : s.timeZone;
545
- try {
546
- return a.evaluate({ ...t, $feature: r }, a.services);
547
- } catch (i) {
548
- return S.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:", i), null;
549
- }
550
- }
551
- function ae(a) {
552
- return a == null || a === 1 / 0 || a === -1 / 0 || typeof a == "number" && isNaN(a);
553
- }
554
- function te(a, e, t, r) {
555
- var n;
556
- if (a == null)
557
- return r ?? null;
558
- const s = e.readArcadeFeature();
559
- e.contextTimeZone = (n = t.$view) == null ? void 0 : n.timeZone;
560
- const i = a.evaluate({ ...t, $feature: s }, a.services);
561
- return ae(i) ? r ?? null : i;
562
- }
563
- let ot = class oe extends E {
564
- static async create(e, t) {
565
- const r = await we(e, t.spatialReference, t.fields), s = W(e);
566
- return new oe(r, s);
567
- }
568
- constructor(e, t) {
569
- super(), this._compiled = e, this._cacheKey = t;
570
- }
571
- resize(e) {
572
- }
573
- read(e, t) {
574
- return this.referencesScale() || t.$view.timeZone !== "system" ? ee(this._compiled, e, t) : this._readCached(e, t);
575
- }
576
- readWithDefault(e, t, r) {
577
- return this.referencesScale() || t.$view.timeZone !== "system" ? te(this._compiled, e, t, r) : this._readWithDefaultCached(e, t, r);
578
- }
579
- referencesScale() {
580
- var e;
581
- return ((e = this._compiled) == null ? void 0 : e.referencesScale()) ?? !1;
582
- }
583
- referencesGeometry() {
584
- var e;
585
- return ((e = this._compiled) == null ? void 0 : e.referencesGeometry()) ?? !1;
586
- }
587
- _readCached(e, t) {
588
- if (e.setCache(this._cacheKey), e.hasCachedValue())
589
- return e.getCachedValue();
590
- const r = ee(this._compiled, e, t);
591
- return e.setCachedValue(r), r;
592
- }
593
- _readWithDefaultCached(e, t, r) {
594
- if (e.setCache(this._cacheKey), e.hasCachedValue())
595
- return e.getCachedValue();
596
- const s = te(this._compiled, e, t, r);
597
- return e.setCachedValue(s), s;
598
- }
599
- };
600
- function ht(a, e) {
601
- if (a == null)
602
- return "";
603
- const t = e.domain;
604
- if (t) {
605
- if (t.type === "codedValue" || t.type === "coded-value") {
606
- const s = a;
607
- for (const i of t.codedValues)
608
- if (i.code === s)
609
- return i.name;
610
- } else if (t.type === "range") {
611
- const { max: s, min: i } = Se(e), n = +a;
612
- if (i != null && s != null && i <= n && n <= s)
613
- return t.name;
614
- }
615
- }
616
- let r = a;
617
- return Te(e) ? r = ve(r, Ee("short-date")) : Ae(e) && (r = Me(+r)), r || "";
618
- }
619
- let ct = class he extends E {
620
- static async create(e, t) {
621
- const r = Pe(e);
622
- return new he((s) => r.replaceAll(/{[^}]*}/g, (i) => {
623
- const n = i.slice(1, -1), o = s.metadata.fieldsIndex.get(n);
624
- if (o == null)
625
- return i;
626
- const h = s.readAttribute(n);
627
- return h == null ? "" : ht(h, o);
628
- }));
629
- }
630
- constructor(e) {
631
- super(), this._evaluator = e;
632
- }
633
- resize(e) {
634
- }
635
- read(e, t) {
636
- return this._evaluator(e);
637
- }
638
- readWithDefault(e, t, r) {
639
- const s = this._evaluator(e);
640
- return ae(s) ? r : s;
641
- }
642
- referencesScale() {
643
- return !1;
644
- }
645
- referencesGeometry() {
646
- return !1;
647
- }
648
- };
649
- class ut extends E {
650
- constructor(e, t) {
651
- super(), this._field = e, this._normalizationInfo = t;
652
- }
653
- resize(e) {
654
- throw new Error("Method not implemented.");
655
- }
656
- read(e, t) {
657
- return this._readNormalized(e);
658
- }
659
- readWithDefault(e, t) {
660
- return this._readNormalized(e);
661
- }
662
- referencesScale() {
663
- return !1;
664
- }
665
- referencesGeometry() {
666
- return !1;
667
- }
668
- _readNormalized(e) {
669
- const t = e.readAttribute(this._field);
670
- if (t == null)
671
- return null;
672
- const { normalizationField: r, normalizationTotal: s, normalizationType: i } = this._normalizationInfo, n = e.readAttribute(r);
673
- switch (i ?? "esriNormalizeByField") {
674
- case "esriNormalizeByField":
675
- return n ? n ? t / n : void 0 : null;
676
- case "esriNormalizeByLog":
677
- return Math.log(t) * Math.LOG10E;
678
- case "esriNormalizeByPercentOfTotal":
679
- return s ? t / s * 100 : null;
680
- }
681
- }
682
- }
683
- let L = class B {
684
- static fromBuffer(e, t) {
685
- return new B(e, t);
686
- }
687
- static create(e, t = 4294967295) {
688
- const r = new Uint32Array(Math.ceil(e / 32));
689
- return new B(r, t);
690
- }
691
- constructor(e, t) {
692
- this._mask = 0, this._buf = e, this._mask = t;
693
- }
694
- _getIndex(e) {
695
- return Math.floor(e / 32);
696
- }
697
- has(e) {
698
- const t = this._mask & e;
699
- return !!(this._buf[this._getIndex(t)] & 1 << t % 32);
700
- }
701
- hasRange(e, t) {
702
- let r = e, s = t;
703
- for (; r % 32 && r !== s; ) {
704
- if (this.has(r))
705
- return !0;
706
- r++;
707
- }
708
- for (; s % 32 && r !== s; ) {
709
- if (this.has(r))
710
- return !0;
711
- s--;
712
- }
713
- if (r === s)
714
- return !1;
715
- for (let i = r / 32; i !== s / 32; i++)
716
- if (this._buf[i])
717
- return !0;
718
- return !1;
719
- }
720
- set(e) {
721
- const t = this._mask & e, r = this._getIndex(t), s = 1 << t % 32;
722
- this._buf[r] |= s;
723
- }
724
- setRange(e, t) {
725
- let r = e, s = t;
726
- for (; r % 32 && r !== s; )
727
- this.set(r++);
728
- for (; s % 32 && r !== s; )
729
- this.set(s--);
730
- if (r !== s)
731
- for (let i = r / 32; i !== s / 32; i++)
732
- this._buf[i] = 4294967295;
733
- }
734
- unset(e) {
735
- const t = this._mask & e, r = this._getIndex(t), s = 1 << t % 32;
736
- this._buf[r] &= 4294967295 ^ s;
737
- }
738
- resize(e) {
739
- const t = this._buf, r = new Uint32Array(Math.ceil(e / 32));
740
- r.set(t), this._buf = r;
741
- }
742
- or(e) {
743
- for (let t = 0; t < this._buf.length; t++)
744
- this._buf[t] |= e._buf[t];
745
- return this;
746
- }
747
- and(e) {
748
- for (let t = 0; t < this._buf.length; t++)
749
- this._buf[t] &= e._buf[t];
750
- return this;
751
- }
752
- xor(e) {
753
- for (let t = 0; t < this._buf.length; t++)
754
- this._buf[t] ^= e._buf[t];
755
- return this;
756
- }
757
- ior(e) {
758
- for (let t = 0; t < this._buf.length; t++)
759
- this._buf[t] |= ~e._buf[t];
760
- return this;
761
- }
762
- iand(e) {
763
- for (let t = 0; t < this._buf.length; t++)
764
- this._buf[t] &= ~e._buf[t];
765
- return this;
766
- }
767
- ixor(e) {
768
- for (let t = 0; t < this._buf.length; t++)
769
- this._buf[t] ^= ~e._buf[t];
770
- return this;
771
- }
772
- any() {
773
- for (let e = 0; e < this._buf.length; e++)
774
- if (this._buf[e])
775
- return !0;
776
- return !1;
777
- }
778
- copy(e) {
779
- for (let t = 0; t < this._buf.length; t++)
780
- this._buf[t] = e._buf[t];
781
- return this;
782
- }
783
- clone() {
784
- return new B(this._buf.slice(), this._mask);
785
- }
786
- clear() {
787
- for (let e = 0; e < this._buf.length; e++)
788
- this._buf[e] = 0;
789
- return this;
790
- }
791
- forEachSet(e) {
792
- for (let t = 0; t < this._buf.length; t++) {
793
- let r = this._buf[t], s = 32 * t;
794
- if (r)
795
- for (; r; )
796
- 1 & r && e(s), r >>>= 1, s++;
797
- }
798
- }
799
- countSet() {
800
- let e = 0;
801
- return this.forEachSet((t) => {
802
- e++;
803
- }), e;
804
- }
805
- };
806
- const G = () => S.getLogger("esri.views.2d.layers.features.support.whereUtils"), dt = { getAttribute: (a, e) => a.readAttribute(e) };
807
- async function ce(a, e) {
808
- try {
809
- const t = await Ce(a, e);
810
- if (!t.isStandardized) {
811
- const r = new w("mapview - bad input", "Unable to apply filter's definition expression, as expression is not standardized.", t);
812
- G().error(r);
813
- }
814
- return (r) => {
815
- const s = r.readArcadeFeature();
816
- try {
817
- return t.testFeature(s, dt);
818
- } catch {
819
- return G().warn("mapview-bad-where-clause", "Encountered an error when evaluating where clause", a), !0;
820
- }
821
- };
822
- } catch {
823
- return G().warn("mapview-bad-where-clause", "Encountered an error when evaluating where clause", a), (r) => !0;
824
- }
825
- }
826
- const re = () => S.getLogger("esri.views.2d.layers.features.support.ComputedAttributeStorage"), x = 4294967295;
827
- function $(a, e, t) {
828
- if (!(a.length > e))
829
- for (; a.length <= e; )
830
- a.push(t);
831
- }
832
- let rr = class {
833
- constructor(e) {
834
- this._numerics = [], this._strings = [], this._allocatedSize = 256, this._bitsets = [], this._instanceIds = [], this._bounds = [], this._dirtyBitset = this.getBitset(this.createBitset()), this.compilationOptions = e;
835
- }
836
- createBitset() {
837
- const e = this._bitsets.length;
838
- return this._bitsets.push(L.create(this._allocatedSize, m)), e + 1;
839
- }
840
- async createComputedField(e, t = !1) {
841
- if (e.expression)
842
- try {
843
- if (!this.compilationOptions)
844
- throw new Error("InternalError: Compilation options not defined");
845
- return t ? ct.create(e.expression, this.compilationOptions) : await ot.create(e.expression, this.compilationOptions);
846
- } catch (s) {
847
- const i = new w("featurelayer", "Failed to compile arcade expression", { error: s, expression: e.expression });
848
- return re().error(i), null;
849
- }
850
- if (e.normalizationType || e.normalizationField)
851
- return new ut(e.field, e);
852
- if (e.field)
853
- return new at(e.field);
854
- const r = new w("featurelayer", "Unable to create computed field. No expression or field found", { info: e });
855
- return re().error(r), null;
856
- }
857
- async createWhereClause(e) {
858
- return e ? ce(e, this.compilationOptions.fields) : null;
859
- }
860
- getBitset(e) {
861
- return this._bitsets[e - 1];
862
- }
863
- getComputedNumeric(e, t) {
864
- return this.getComputedNumericAtIndex(e & m, 0);
865
- }
866
- setComputedNumeric(e, t, r) {
867
- return this.setComputedNumericAtIndex(e & m, r, 0);
868
- }
869
- getComputedString(e, t) {
870
- return this.getComputedStringAtIndex(e & m, 0);
871
- }
872
- setComputedString(e, t, r) {
873
- return this.setComputedStringAtIndex(e & m, 0, r);
874
- }
875
- getComputedNumericAtIndex(e, t) {
876
- const r = e & m;
877
- return this._ensureNumeric(t, r), this._numerics[t][r];
878
- }
879
- setComputedNumericAtIndex(e, t, r) {
880
- const s = e & m;
881
- this._ensureNumeric(t, s), this._numerics[t][s] = r;
882
- }
883
- getPackedChunkId(e) {
884
- const t = e & m;
885
- return this._ensureInstanceId(t), this._instanceIds[t];
886
- }
887
- setPackedChunkId(e, t) {
888
- const r = e & m;
889
- this._ensureInstanceId(r), this._instanceIds[r] = t;
890
- }
891
- getComputedStringAtIndex(e, t) {
892
- const r = e & m;
893
- return this._ensureString(t, r), this._strings[t][r];
894
- }
895
- setComputedStringAtIndex(e, t, r) {
896
- const s = e & m;
897
- this._ensureString(t, s), this._strings[t][s] = r;
898
- }
899
- getXMin(e) {
900
- return this._bounds[4 * (e & m)];
901
- }
902
- getYMin(e) {
903
- return this._bounds[4 * (e & m) + 1];
904
- }
905
- getXMax(e) {
906
- return this._bounds[4 * (e & m) + 2];
907
- }
908
- getYMax(e) {
909
- return this._bounds[4 * (e & m) + 3];
910
- }
911
- setBounds(e, t, r = !1) {
912
- const s = e & m;
913
- if (!r && !this._dirtyBitset.has(e))
914
- return this._bounds[4 * s] !== x;
915
- this._dirtyBitset.unset(e);
916
- const i = t.readGeometryWorldSpace();
917
- if ($(this._bounds, 4 * s + 4, 0), !i || !i.coords.length)
918
- return this._bounds[4 * s] = x, this._bounds[4 * s + 1] = x, this._bounds[4 * s + 2] = x, this._bounds[4 * s + 3] = x, !1;
919
- let n = 1 / 0, o = 1 / 0, h = -1 / 0, d = -1 / 0;
920
- return i.forEachVertex((u, c) => {
921
- n = Math.min(n, u), o = Math.min(o, c), h = Math.max(h, u), d = Math.max(d, c);
922
- }), this._bounds[4 * s] = n, this._bounds[4 * s + 1] = o, this._bounds[4 * s + 2] = h, this._bounds[4 * s + 3] = d, !0;
923
- }
924
- getBounds(e, t) {
925
- const r = this.getXMin(t), s = this.getYMin(t), i = this.getXMax(t), n = this.getYMax(t);
926
- return k(e, r, s, i, n), r !== x;
927
- }
928
- _ensureNumeric(e, t) {
929
- this._numerics[e] || (this._numerics[e] = []), $(this._numerics[e], t, 0);
930
- }
931
- _ensureInstanceId(e) {
932
- $(this._instanceIds, e, 0);
933
- }
934
- _ensureString(e, t) {
935
- this._strings[e] || (this._strings[e] = []), $(this._strings[e], t, null);
936
- }
937
- }, N = class {
938
- getObjectId(e) {
939
- return e.getObjectId();
940
- }
941
- getAttributes(e) {
942
- return e.readAttributes();
943
- }
944
- getAttribute(e, t) {
945
- return e.readAttribute(t);
946
- }
947
- getAttributeAsTimestamp(e, t) {
948
- return e.readAttributeAsTimestamp(t);
949
- }
950
- cloneWithGeometry(e, t) {
951
- return e;
952
- }
953
- getGeometry(e) {
954
- return e.readGeometryWorldSpace();
955
- }
956
- getCentroid(e, t) {
957
- return e.readCentroidForDisplay();
958
- }
959
- };
960
- N.Shared = new N();
961
- const v = 1, lt = 2;
962
- class U {
963
- constructor(e) {
964
- this._geometryBounds = ze(), this._idToVisibility = /* @__PURE__ */ new Map(), this._serviceInfo = e;
965
- }
966
- static async create(e) {
967
- const t = new U(e);
968
- return await t.update(e.filterJSON, e.spatialReference), t;
969
- }
970
- get hash() {
971
- return this._hash;
972
- }
973
- check(e) {
974
- return this._applyFilter(e);
975
- }
976
- clear() {
977
- const e = this._resetAllHiddenIds();
978
- return this.update(), { show: e, hide: [] };
979
- }
980
- invalidate() {
981
- this._idToVisibility.forEach((e, t) => {
982
- this._idToVisibility.set(t, 0);
983
- });
984
- }
985
- setKnownIds(e) {
986
- for (const t of e)
987
- this._idToVisibility.set(t, v);
988
- }
989
- setTrue(e) {
990
- const t = [], r = [], s = new Set(e);
991
- return this._idToVisibility.forEach((i, n) => {
992
- const o = !!(this._idToVisibility.get(n) & v), h = s.has(n);
993
- !o && h ? t.push(n) : o && !h && r.push(n), this._idToVisibility.set(n, h ? v | lt : 0);
994
- }), { show: t, hide: r };
995
- }
996
- createQuery() {
997
- const { geometry: e, spatialRel: t, where: r, timeExtent: s, objectIds: i } = this;
998
- return Fe.fromJSON({ geometry: e, spatialRel: t, where: r, timeExtent: s, objectIds: i });
999
- }
1000
- async update(e, t) {
1001
- this._hash = JSON.stringify(e);
1002
- const r = await Ge(e, null, t);
1003
- await Promise.all([this._setGeometryFilter(r), this._setIdFilter(r), this._setAttributeFilter(r), this._setTimeFilter(r)]);
1004
- }
1005
- async _setAttributeFilter(e) {
1006
- if (!(e != null && e.where))
1007
- return this._clause = null, void (this.where = null);
1008
- this._clause = await ce(e.where, this._serviceInfo.fieldsIndex), this.where = e.where;
1009
- }
1010
- _setIdFilter(e) {
1011
- this._idsToShow = (e == null ? void 0 : e.objectIds) && new Set(e.objectIds), this._idsToHide = (e == null ? void 0 : e.hiddenIds) && new Set(e.hiddenIds), this.objectIds = e == null ? void 0 : e.objectIds;
1012
- }
1013
- async _setGeometryFilter(e) {
1014
- if (!(e != null && e.geometry))
1015
- return this._spatialQueryOperator = null, this.geometry = null, void (this.spatialRel = null);
1016
- const t = e.geometry, r = e.spatialRel || "esriSpatialRelIntersects", s = await je(r, t, this._serviceInfo.geometryType, this._serviceInfo.hasZ, this._serviceInfo.hasM);
1017
- $e(this._geometryBounds, t), this._spatialQueryOperator = s, this.geometry = t, this.spatialRel = r;
1018
- }
1019
- _setTimeFilter(e) {
1020
- if (this.timeExtent = this._timeOperator = null, e == null ? void 0 : e.timeExtent)
1021
- if (this._serviceInfo.timeInfo)
1022
- this.timeExtent = e.timeExtent, this._timeOperator = ke(this._serviceInfo.timeInfo, e.timeExtent, N.Shared);
1023
- else {
1024
- const t = new w("feature-layer-view:time-filter-not-available", "Unable to apply time filter, as layer doesn't have time metadata.", e.timeExtent);
1025
- S.getLogger("esri.views.2d.layers.features.controllers.FeatureFilter").error(t);
1026
- }
1027
- }
1028
- _applyFilter(e) {
1029
- return this._filterByGeometry(e) && this._filterById(e) && this._filterByTime(e) && this._filterByExpression(e);
1030
- }
1031
- _filterByExpression(e) {
1032
- return !this.where || this._clause(e);
1033
- }
1034
- _filterById(e) {
1035
- var t, r;
1036
- return (!((t = this._idsToHide) != null && t.size) || !this._idsToHide.has(e.getObjectId())) && (!((r = this._idsToShow) != null && r.size) || this._idsToShow.has(e.getObjectId()));
1037
- }
1038
- _filterByGeometry(e) {
1039
- if (!this.geometry)
1040
- return !0;
1041
- const t = e.readGeometryWorldSpace();
1042
- return !!t && this._spatialQueryOperator(t);
1043
- }
1044
- _filterByTime(e) {
1045
- return this._timeOperator == null || this._timeOperator(e);
1046
- }
1047
- _resetAllHiddenIds() {
1048
- const e = [];
1049
- return this._idToVisibility.forEach((t, r) => {
1050
- t & v || (this._idToVisibility.set(r, v), e.push(r));
1051
- }), e;
1052
- }
1053
- }
1054
- class ft {
1055
- constructor(e) {
1056
- this._options = e, this._fieldsIndex = "fieldsIndex" in e ? X.fromJSON(e.fieldsIndex) : new X(e.fields), e.spatialReference && (this._spatialReference = De.fromJSON(e.spatialReference)), this._arcadeSchema = { fields: this.fieldsIndex.fields, fieldsIndex: this.fieldsIndex, geometryType: this.geometryType, objectIdField: this.objectIdField, globalIdField: this._options.globalIdField, spatialReference: this._spatialReference, timeInfo: this._options.timeInfo, typeIdField: this._options.typeIdField ?? void 0, types: this._options.types ?? void 0, subtypeField: this._options.subtypeField, subtypes: this._options.subtypes ?? void 0 };
1057
- }
1058
- get fieldsIndex() {
1059
- return this._fieldsIndex;
1060
- }
1061
- get geometryType() {
1062
- return this._options.geometryType;
1063
- }
1064
- get timeInfo() {
1065
- return this._options.timeInfo;
1066
- }
1067
- get objectIdField() {
1068
- return this._options.objectIdField;
1069
- }
1070
- get globalIdField() {
1071
- return this._options.globalIdField;
1072
- }
1073
- get arcadeSchema() {
1074
- return this._arcadeSchema;
1075
- }
1076
- get spatialReference() {
1077
- return this._spatialReference;
1078
- }
1079
- get timeReferenceUnknownClient() {
1080
- return this._options.timeReferenceUnknownClient;
1081
- }
1082
- }
1083
- let nr = class ue extends ft {
1084
- static create(e) {
1085
- return new ue({ fields: [], objectIdField: "uid", geometryType: null, spatialReference: e, globalIdField: null, subtypeField: null, subtypes: null, timeInfo: null, typeIdField: null, types: null, timeReferenceUnknownClient: null });
1086
- }
1087
- };
1088
- class _t {
1089
- constructor(e) {
1090
- this._valid = L.create(e), this._data = new Array(e);
1091
- }
1092
- has(e) {
1093
- return this._valid.has(e);
1094
- }
1095
- set(e, t) {
1096
- this._valid.set(e), this._data[e] = t;
1097
- }
1098
- get(e) {
1099
- return this._data[e];
1100
- }
1101
- }
1102
- const R = b("featurelayer-simplify-thresholds") ?? [0.5, 0.5, 0.5, 0.5], pt = R[0], mt = R[1], yt = R[2], gt = R[3], Y = b("featurelayer-simplify-payload-size-factors") ?? [1, 2, 4], bt = Y[0], xt = Y[1], It = Y[2], wt = b("featurelayer-simplify-mobile-factor") ?? 2, St = b("esri-mobile"), se = 4294967295;
1103
- function Tt(a, e, t) {
1104
- if (!(a.length > e))
1105
- for (; a.length <= e; )
1106
- a.push(t);
1107
- }
1108
- class ar {
1109
- constructor(e) {
1110
- this.metadata = e, this.type = "FeatureSetReader", this._deleted = null, this._joined = [], this._objectIdToIndex = null, this._boundsBuffer = [], this._caches = /* @__PURE__ */ new Map(), this.arcadeDeclaredClass = "esri.arcade.Feature", this._contextTimeZone = null;
1111
- }
1112
- get isEmpty() {
1113
- return this._deleted != null && this._deleted.countSet() === this.getSize();
1114
- }
1115
- getAreaSimplificationThreshold(e, t) {
1116
- let r = 1;
1117
- const s = St ? wt : 1;
1118
- t > 4e6 ? r = It * s : t > 1e6 ? r = xt * s : t > 5e5 ? r = bt * s : t > 1e5 && (r = s);
1119
- let i = 0;
1120
- return e > 4e3 ? i = gt * r : e > 2e3 ? i = yt * r : e > 100 ? i = mt : e > 15 && (i = pt), i;
1121
- }
1122
- parseTimestampOffset(e) {
1123
- return e;
1124
- }
1125
- getBounds(e) {
1126
- if (Tt(this._boundsBuffer, 4 * this.getIndex() + 4, 0), this.getBoundsXMin() === se)
1127
- return !1;
1128
- if (this.getBoundsXMin() === 0) {
1129
- const n = this.readGeometryWorldSpace();
1130
- if (!n)
1131
- return this.setBoundsXMin(se), !1;
1132
- let o = 1 / 0, h = 1 / 0, d = -1 / 0, u = -1 / 0;
1133
- return n.forEachVertex((c, l) => {
1134
- o = Math.min(o, c), h = Math.min(h, l), d = Math.max(d, c), u = Math.max(u, l);
1135
- }), this.setBoundsXMin(o), this.setBoundsYMin(h), this.setBoundsXMax(d), this.setBoundsYMax(u), k(e, o, h, d, u), !0;
1136
- }
1137
- const t = this.getBoundsXMin(), r = this.getBoundsYMin(), s = this.getBoundsXMax(), i = this.getBoundsYMax();
1138
- return k(e, t, r, s, i), !0;
1139
- }
1140
- getBoundsXMin() {
1141
- return this._boundsBuffer[4 * this.getIndex()];
1142
- }
1143
- setBoundsXMin(e) {
1144
- this._boundsBuffer[4 * this.getIndex()] = e;
1145
- }
1146
- getBoundsYMin() {
1147
- return this._boundsBuffer[4 * this.getIndex() + 1];
1148
- }
1149
- setBoundsYMin(e) {
1150
- this._boundsBuffer[4 * this.getIndex() + 1] = e;
1151
- }
1152
- getBoundsXMax() {
1153
- return this._boundsBuffer[4 * this.getIndex() + 2];
1154
- }
1155
- setBoundsXMax(e) {
1156
- this._boundsBuffer[4 * this.getIndex() + 2] = e;
1157
- }
1158
- getBoundsYMax() {
1159
- return this._boundsBuffer[4 * this.getIndex() + 3];
1160
- }
1161
- setBoundsYMax(e) {
1162
- this._boundsBuffer[4 * this.getIndex() + 3] = e;
1163
- }
1164
- readAttributeAsTimestamp(e) {
1165
- const t = this.readAttribute(e);
1166
- return typeof t == "string" ? new Date(t).getTime() : typeof t == "number" || t == null ? t : null;
1167
- }
1168
- readAttribute(e, t = !1) {
1169
- const r = this._readAttribute(e, t);
1170
- if (r !== void 0)
1171
- return r;
1172
- for (const s of this._joined) {
1173
- s.setIndex(this.getIndex());
1174
- const i = s._readAttribute(e, t);
1175
- if (i !== void 0)
1176
- return i;
1177
- }
1178
- }
1179
- readAttributes() {
1180
- const e = this._readAttributes();
1181
- for (const t of this._joined) {
1182
- t.setIndex(this.getIndex());
1183
- const r = t._readAttributes();
1184
- for (const s of Object.keys(r))
1185
- e[s] = r[s];
1186
- }
1187
- return e;
1188
- }
1189
- joinAttributes(e) {
1190
- this._joined.push(e);
1191
- }
1192
- removeIds(e) {
1193
- if (this._objectIdToIndex == null) {
1194
- const r = /* @__PURE__ */ new Map(), s = this.getCursor();
1195
- for (; s.next(); ) {
1196
- const i = s.getObjectId();
1197
- Be(i), r.set(i, s.getIndex());
1198
- }
1199
- this._objectIdToIndex = r;
1200
- }
1201
- const t = this._objectIdToIndex;
1202
- for (const r of e.values())
1203
- t.has(r) && this._removeAtIndex(t.get(r));
1204
- }
1205
- readOptimizedFeatureWorldSpace() {
1206
- const e = this.readGeometryWorldSpace(), t = this.readAttributes(), r = this.readCentroidWorldSpace(), s = new We(e, t, r);
1207
- return s.objectId = this.getObjectId(), s.displayId = this.getDisplayId(), s;
1208
- }
1209
- readLegacyFeatureForDisplay() {
1210
- const e = this.readCentroidForDisplay();
1211
- return { attributes: this.readAttributes(), geometry: this.readLegacyGeometryForDisplay(), centroid: (e && { x: e.coords[0], y: e.coords[1] }) ?? null };
1212
- }
1213
- readLegacyFeatureWorldSpace() {
1214
- const e = this.readCentroidWorldSpace();
1215
- return { attributes: this.readAttributes(), geometry: this._readLegacyGeometryWorldSpace(), centroid: (e && { x: e.coords[0], y: e.coords[1] }) ?? null };
1216
- }
1217
- readLegacyGeometryForDisplay() {
1218
- const e = this.readGeometryForDisplay();
1219
- return O(e, this.geometryType, !1, !1);
1220
- }
1221
- readXForDisplay() {
1222
- return this._readX();
1223
- }
1224
- readYForDisplay() {
1225
- return this._readY();
1226
- }
1227
- readXWorldSpace() {
1228
- const e = this._readX(), t = this.getInTransform();
1229
- return t == null ? e : e * t.scale[0] + t.translate[0];
1230
- }
1231
- readYWorldSpace() {
1232
- const e = this._readY(), t = this.getInTransform();
1233
- return t == null ? e : t.translate[1] - e * t.scale[1];
1234
- }
1235
- readGeometryForDisplay() {
1236
- const e = this._readGeometryDeltaDecoded(!0);
1237
- if (!e) {
1238
- const t = this._createGeometryFromServerCentroid();
1239
- return t ? t.deltaDecode() : null;
1240
- }
1241
- return e;
1242
- }
1243
- readGeometryWorldSpace() {
1244
- let e = this._readGeometry();
1245
- if (e || (e = this._createGeometryFromServerCentroid()), !e)
1246
- return null;
1247
- const t = e.clone(), r = this.getInTransform();
1248
- return r != null && K(t, t, this.hasZ, this.hasM, r), t;
1249
- }
1250
- readCentroidForDisplay() {
1251
- const e = this.readGeometryForDisplay();
1252
- return e ? this._computeDisplayCentroid(e) : this._readServerCentroid();
1253
- }
1254
- readCentroidWorldSpace() {
1255
- const e = this.readGeometryForDisplay(), t = e ? this._computeDisplayCentroid(e) : this._readServerCentroid();
1256
- if (!t)
1257
- return null;
1258
- const r = t.clone(), s = this.getInTransform();
1259
- return s != null && K(r, r, this.hasZ, this.hasM, s), r;
1260
- }
1261
- setCache(e) {
1262
- let t = this._caches.get(e);
1263
- t == null && (t = new _t(this.getSize()), this._caches.set(e, t)), this._activeCache = t;
1264
- }
1265
- setCachedValue(e) {
1266
- this._activeCache.set(this.getIndex(), e);
1267
- }
1268
- hasCachedValue() {
1269
- return this._activeCache.has(this.getIndex());
1270
- }
1271
- getCachedValue() {
1272
- return this._activeCache.get(this.getIndex());
1273
- }
1274
- _readGeometryDeltaDecoded(e) {
1275
- const t = this._readGeometry(e);
1276
- return this.geometryType !== "esriGeometryPoint" && t && this.getInTransform() ? t.deltaDecode() : t;
1277
- }
1278
- get contextTimeZone() {
1279
- return this._contextTimeZone;
1280
- }
1281
- set contextTimeZone(e) {
1282
- this._contextTimeZone = e;
1283
- }
1284
- readArcadeFeature() {
1285
- return this;
1286
- }
1287
- hasField(e) {
1288
- return this.fields.has(e) || this._joined.some((t) => t.hasField(e));
1289
- }
1290
- geometry() {
1291
- const e = this.readGeometryWorldSpace(), t = O(e, this.geometryType, this.hasZ, this.hasM), r = Re(t);
1292
- if (r) {
1293
- if (!this.metadata.spatialReference)
1294
- throw new Error("InternalError: Expected spatial reference to be defined");
1295
- r.spatialReference = this.metadata.spatialReference;
1296
- }
1297
- return r;
1298
- }
1299
- autocastArcadeDate(e, t) {
1300
- return t && t instanceof Date ? this.isUnknownDateTimeField(e) ? M.unknownDateJSToArcadeDate(t) : M.dateJSAndZoneToArcadeDate(t, this.contextTimeZone ?? Oe) : t;
1301
- }
1302
- isUnknownDateTimeField(e) {
1303
- return this.metadata.fieldsIndex.getTimeZone(e) === Ve;
1304
- }
1305
- field(e) {
1306
- let t = this.fields.get(e);
1307
- if (t)
1308
- switch (t.type) {
1309
- case "date-only":
1310
- case "esriFieldTypeDateOnly":
1311
- return q.fromReader(this.readAttribute(e, !1));
1312
- case "time-only":
1313
- case "esriFieldTypeTimeOnly":
1314
- return J.fromReader(this.readAttribute(e, !1));
1315
- case "esriFieldTypeTimestampOffset":
1316
- case "timestamp-offset":
1317
- return M.fromReaderAsTimeStampOffset(this.readAttribute(e, !1));
1318
- case "date":
1319
- case "esriFieldTypeDate":
1320
- return this.autocastArcadeDate(e, this.readAttribute(e, !0));
1321
- default:
1322
- return this.readAttribute(e, !1);
1323
- }
1324
- for (const r of this._joined)
1325
- if (r.setIndex(this.getIndex()), t = r.fields.get(e), t)
1326
- switch (t.type) {
1327
- case "date-only":
1328
- case "esriFieldTypeDateOnly":
1329
- return q.fromReader(r._readAttribute(e, !1));
1330
- case "time-only":
1331
- case "esriFieldTypeTimeOnly":
1332
- return J.fromReader(r._readAttribute(e, !1));
1333
- case "esriFieldTypeTimestampOffset":
1334
- case "timestamp-offset":
1335
- return M.fromReaderAsTimeStampOffset(r._readAttribute(e, !1));
1336
- case "date":
1337
- case "esriFieldTypeDate":
1338
- return this.autocastArcadeDate(e, r._readAttribute(e, !0));
1339
- default:
1340
- return this.readAttribute(e, !1);
1341
- }
1342
- throw new Error(`Field ${e} does not exist`);
1343
- }
1344
- setField(e, t) {
1345
- throw new Error("Unable to update feature attribute values, feature is readonly");
1346
- }
1347
- keys() {
1348
- return this.fields.fields.map((e) => e.name);
1349
- }
1350
- castToText(e = !1) {
1351
- if (!e)
1352
- return JSON.stringify(this.readLegacyFeatureForDisplay());
1353
- const t = this.readLegacyFeatureForDisplay();
1354
- if (!t)
1355
- return JSON.stringify(null);
1356
- const r = { geometry: t.geometry, attributes: { ...t.attributes ?? {} } };
1357
- for (const s in r.attributes) {
1358
- const i = r.attributes[s];
1359
- i instanceof Date && (r.attributes[s] = i.getTime());
1360
- }
1361
- return JSON.stringify(r);
1362
- }
1363
- gdbVersion() {
1364
- return null;
1365
- }
1366
- fullSchema() {
1367
- return this.metadata.arcadeSchema;
1368
- }
1369
- castAsJson(e = null) {
1370
- var t;
1371
- return { attributes: this._readAttributes(), geometry: (e == null ? void 0 : e.keepGeometryType) === !0 ? this.geometry() : ((t = this.geometry()) == null ? void 0 : t.toJSON()) ?? null };
1372
- }
1373
- castAsJsonAsync(e = null, t = null) {
1374
- return Promise.resolve(this.castAsJson(t));
1375
- }
1376
- _getExists() {
1377
- return this._deleted == null || !this._deleted.has(this.getIndex());
1378
- }
1379
- _computeDisplayCentroid(e) {
1380
- if (this.getInTransform() == null)
1381
- return Ne(new C(), e, this.hasM, this.hasZ);
1382
- const t = ye.fromOptimized(e, this.geometryType);
1383
- t.yFactor *= -1;
1384
- const r = ge(t);
1385
- return r ? (r[1] *= -1, new C([], r)) : null;
1386
- }
1387
- copyInto(e) {
1388
- e._joined = this._joined, e._deleted = this._deleted, e._objectIdToIndex = this._objectIdToIndex, e._boundsBuffer = this._boundsBuffer, e._activeCache = this._activeCache, e._caches = this._caches, e._contextTimeZone = this._contextTimeZone;
1389
- }
1390
- _readLegacyGeometryWorldSpace() {
1391
- const e = this.readGeometryWorldSpace();
1392
- return O(e, this.geometryType, !1, !1);
1393
- }
1394
- _createGeometryFromServerCentroid() {
1395
- const e = this._readServerCentroid();
1396
- if (!e)
1397
- return null;
1398
- const [t, r] = e.coords;
1399
- return this._createQuantizedExtrudedGeometry(t, r);
1400
- }
1401
- _createQuantizedExtrudedGeometry(e, t) {
1402
- return this.geometryType === "esriGeometryPolyline" ? this._createQuantizedExtrudedLine(e, t) : this._createQuantizedExtrudedQuad(e, t);
1403
- }
1404
- _createQuantizedExtrudedQuad(e, t) {
1405
- return new C([5], [e - 1, t, 1, -1, 1, 1, -1, 1, -1, -1]);
1406
- }
1407
- _createQuantizedExtrudedLine(e, t) {
1408
- return new C([2], [e - 1, t + 1, 1, -1]);
1409
- }
1410
- _removeAtIndex(e) {
1411
- this._deleted == null && (this._deleted = L.create(this.getSize())), this._deleted.set(e);
1412
- }
1413
- }
1414
- const vt = (a, e) => a && ((...t) => e.warn("DEBUG:", ...t)) || (() => null), Et = !1;
1415
- class At {
1416
- constructor(e) {
1417
- this.data = e, this._referenceCount = 0;
1418
- }
1419
- increment() {
1420
- this._referenceCount += 1;
1421
- }
1422
- decrement() {
1423
- this._referenceCount -= 1;
1424
- }
1425
- empty() {
1426
- return this._referenceCount === 0;
1427
- }
1428
- }
1429
- class Mt {
1430
- constructor() {
1431
- this._freeIdsGenerationA = [], this._freeIdsGenerationB = [], this._idCounter = 1, this._freeIds = this._freeIdsGenerationA, this._objectIdToDisplayId = /* @__PURE__ */ new Map();
1432
- }
1433
- createIdForObjectId(e) {
1434
- let t = this._objectIdToDisplayId.get(e);
1435
- return t ? t.increment() : (t = new At(be(this._getFreeId(), !1)), t.increment(), this._objectIdToDisplayId.set(e, t)), t.data;
1436
- }
1437
- releaseIdForObjectId(e) {
1438
- const t = this._objectIdToDisplayId.get(e);
1439
- t && (t.decrement(), t.empty() && (this._objectIdToDisplayId.delete(e), this._freeIds.push(t.data)));
1440
- }
1441
- releaseAll() {
1442
- for (const e of this._objectIdToDisplayId.values())
1443
- this._freeIds.push(e.data);
1444
- this._objectIdToDisplayId.clear();
1445
- }
1446
- incrementGeneration() {
1447
- this._freeIds = this._freeIds === this._freeIdsGenerationA ? this._freeIdsGenerationB : this._freeIdsGenerationA;
1448
- }
1449
- _getFreeId() {
1450
- return this._freeIds.length ? this._freeIds.pop() : this._idCounter++;
1451
- }
1452
- }
1453
- function Ct(a, e) {
1454
- if (!a || !e)
1455
- return a;
1456
- switch (e) {
1457
- case "radius":
1458
- case "distance":
1459
- return 2 * a;
1460
- case "diameter":
1461
- case "width":
1462
- return a;
1463
- case "area":
1464
- return Math.sqrt(a);
1465
- }
1466
- return a;
1467
- }
1468
- const Z = () => S.getLogger("esri.views.layers.2d.features.support.AttributeStore"), j = vt(Et, Z()), zt = { sharedArrayBuffer: b("esri-shared-array-buffer"), atomics: b("esri-atomics") };
1469
- class Ft {
1470
- constructor(e, t, r) {
1471
- this.size = 0, this.texelSize = 4, this.dirtyStart = 0, this.dirtyEnd = 0;
1472
- const { pixelType: s, layout: i, textureOnly: n } = t;
1473
- this.textureOnly = n || !1, this.pixelType = s, this.layout = i, this._resetRange(), this.size = e, this.isLocal = r, n || (this.data = this._initData(s, e));
1474
- }
1475
- get buffer() {
1476
- var e;
1477
- return (e = this.data) == null ? void 0 : e.buffer;
1478
- }
1479
- unsetComponentAllTexels(e, t) {
1480
- const r = this.data;
1481
- for (let s = 0; s < this.size * this.size; s++)
1482
- r[s * this.texelSize + e] &= ~t;
1483
- this.dirtyStart = 0, this.dirtyEnd = this.size * this.size - 1;
1484
- }
1485
- setComponentAllTexels(e, t) {
1486
- const r = this.data;
1487
- for (let s = 0; s < this.size * this.size; s++)
1488
- r[s * this.texelSize + e] |= 255 & t;
1489
- this.dirtyStart = 0, this.dirtyEnd = this.size * this.size - 1;
1490
- }
1491
- setComponent(e, t, r) {
1492
- const s = this.data;
1493
- for (const i of r)
1494
- s[i * this.texelSize + e] |= t, this.dirtyStart = Math.min(this.dirtyStart, i), this.dirtyEnd = Math.max(this.dirtyEnd, i);
1495
- }
1496
- setComponentTexel(e, t, r) {
1497
- this.data[r * this.texelSize + e] |= t, this.dirtyStart = Math.min(this.dirtyStart, r), this.dirtyEnd = Math.max(this.dirtyEnd, r);
1498
- }
1499
- unsetComponentTexel(e, t, r) {
1500
- this.data[r * this.texelSize + e] &= ~t, this.dirtyStart = Math.min(this.dirtyStart, r), this.dirtyEnd = Math.max(this.dirtyEnd, r);
1501
- }
1502
- getData(e, t) {
1503
- const r = I(e);
1504
- return this.data[r * this.texelSize + t];
1505
- }
1506
- setData(e, t, r) {
1507
- const s = I(e), i = 1 << t;
1508
- this.layout & i ? this.data != null && (this.data[s * this.texelSize + t] = r, this.dirtyStart = Math.min(this.dirtyStart, s), this.dirtyEnd = Math.max(this.dirtyEnd, s)) : Z().error("mapview-attributes-store", "Tried to set a value for a texel's readonly component");
1509
- }
1510
- expand(e) {
1511
- if (this.size = e, !this.textureOnly) {
1512
- const t = this._initData(this.pixelType, e), r = this.data;
1513
- t.set(r), this.data = t;
1514
- }
1515
- }
1516
- toMessage() {
1517
- const e = this.dirtyStart, t = this.dirtyEnd, r = this.texelSize;
1518
- if (e > t)
1519
- return null;
1520
- this._resetRange();
1521
- const s = !this.isLocal, i = this.pixelType, n = this.layout, o = this.data;
1522
- return { start: e, end: t, data: s && o.slice(e * r, (t + 1) * r) || null, pixelType: i, layout: n };
1523
- }
1524
- _initData(e, t) {
1525
- const r = ArrayBuffer, s = _e(e), i = new s(new r(t * t * 4 * s.BYTES_PER_ELEMENT));
1526
- for (let n = 0; n < i.length; n += 4)
1527
- i[n + 1] = 255;
1528
- return i;
1529
- }
1530
- _resetRange() {
1531
- this.dirtyStart = 2147483647, this.dirtyEnd = 0;
1532
- }
1533
- }
1534
- class or {
1535
- constructor(e) {
1536
- this._client = e, this._filters = [], this._blocks = new Array(), this._attributeComputeInfo = null, this._abortController = new AbortController(), this._size = Ue, this._idsToHighlight = /* @__PURE__ */ new Map(), this._referencesScale = !1, this._referencesGeometry = !1, this._initialized = !1, this.version = 0, this._idGenerator = new Mt(), this._epoch = 1;
1537
- }
1538
- destroy() {
1539
- this._abortController.abort();
1540
- }
1541
- _initialize() {
1542
- if (this._blockDescriptors != null)
1543
- return;
1544
- const e = z.FLOAT;
1545
- j(`Creating AttributeStore ${zt.sharedArrayBuffer ? "with" : "without"} shared memory`), this._blockDescriptors = [{ pixelType: z.UNSIGNED_BYTE, layout: 1 }, { pixelType: z.UNSIGNED_BYTE, layout: 15, textureOnly: !0 }, { pixelType: z.UNSIGNED_BYTE, layout: 15, textureOnly: !0 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }], this._blocks = this._blockDescriptors.map(() => null);
1546
- }
1547
- get referencesScale() {
1548
- return this._referencesScale;
1549
- }
1550
- get referencesGeometry() {
1551
- return this._referencesGeometry;
1552
- }
1553
- get _signal() {
1554
- return this._abortController.signal;
1555
- }
1556
- get hasHighlight() {
1557
- return this._idsToHighlight.size > 0;
1558
- }
1559
- createDisplayIdForObjectId(e) {
1560
- return this._idGenerator.createIdForObjectId(e);
1561
- }
1562
- releaseDisplayIdForObjectId(e) {
1563
- return this._idGenerator.releaseIdForObjectId(e);
1564
- }
1565
- incrementDisplayIdGeneration() {
1566
- this._idGenerator.incrementGeneration();
1567
- }
1568
- releaseAllIds() {
1569
- this._idGenerator.releaseAll();
1570
- }
1571
- async update(e, t, r, s, i = 0) {
1572
- const n = Le(this._schema, e);
1573
- if (this.version = i, n && (b("esri-2d-update-debug") && console.debug(`Version[${i}] AttributeStore.update`, { changed: n }), this._schema = e, this._attributeComputeInfo = null, this._initialize(), e != null))
1574
- if (r && (this._filters = await Promise.all(e.filters.map((o) => o ? U.create({ geometryType: r.geometryType, hasM: !1, hasZ: !1, timeInfo: r.timeInfo, fieldsIndex: r.fieldsIndex, spatialReference: s ?? r.spatialReference, filterJSON: o }) : null))), e.type !== "subtype")
1575
- this._attributeComputeInfo = { isSubtype: !1, map: /* @__PURE__ */ new Map() }, await Promise.all(e.bindings.map(async (o) => {
1576
- const h = await this._bind(t, o);
1577
- this._referencesGeometry = this._referencesGeometry || ((h == null ? void 0 : h.referencesGeometry()) ?? !1), this._referencesScale = this._referencesScale || ((h == null ? void 0 : h.referencesScale()) ?? !1);
1578
- }));
1579
- else {
1580
- this._attributeComputeInfo = { isSubtype: !0, subtypeField: e.subtypeField, map: /* @__PURE__ */ new Map() }, this._referencesScale = !1, this._referencesGeometry = !1;
1581
- for (const o in e.bindings) {
1582
- const h = e.bindings[o];
1583
- await Promise.all(h.map(async (d) => {
1584
- const u = await this._bind(t, d, parseInt(o, 10));
1585
- this._referencesGeometry = this._referencesGeometry || ((u == null ? void 0 : u.referencesGeometry()) ?? !1), this._referencesScale = this._referencesScale || ((u == null ? void 0 : u.referencesScale()) ?? !1);
1586
- }));
1587
- }
1588
- }
1589
- }
1590
- setHighlight(e, t) {
1591
- const r = this._getBlock(0);
1592
- r.unsetComponentAllTexels(0, (1 << V.length) - 1);
1593
- for (const { displayId: s, highlightFlags: i } of e) {
1594
- if (s == null)
1595
- continue;
1596
- const n = I(s);
1597
- r.setComponent(0, i, [n]);
1598
- }
1599
- this._idsToHighlight.clear();
1600
- for (const { objectId: s, highlightFlags: i } of e)
1601
- this._idsToHighlight.set(s, i);
1602
- for (const { objectId: s, highlightFlags: i } of t)
1603
- this._idsToHighlight.set(s, i);
1604
- }
1605
- setData(e, t, r, s) {
1606
- const i = I(e);
1607
- this._ensureSizeForTexel(i), this._getBlock(t).setData(e, r, s);
1608
- }
1609
- getData(e, t, r) {
1610
- return this._getBlock(t).getData(e, r);
1611
- }
1612
- getHighlightFlags(e) {
1613
- return this._idsToHighlight.get(e) || 0;
1614
- }
1615
- unsetAttributeData(e) {
1616
- const t = I(e);
1617
- this._getBlock(0).setData(t, 0, 0);
1618
- }
1619
- setAttributeData(e, t, r) {
1620
- const s = I(e);
1621
- this._ensureSizeForTexel(s), this._getBlock(0).setData(s, 0, this.getFilterFlags(t));
1622
- const i = this._attributeComputeInfo, n = 1, o = 4;
1623
- let h = null;
1624
- i && (h = i.isSubtype ? i.map.get(t.readAttribute(i.subtypeField)) : i.map, h != null && h.size && h.forEach((d, u) => {
1625
- var g;
1626
- const c = u * n % o, l = Math.floor(u * n / o), y = this._getBlock(l + P.VV);
1627
- let f = (g = d.field) == null ? void 0 : g.read(t, r);
1628
- d.valueRepresentation && (f = Ct(f, d.valueRepresentation)), (f === null || isNaN(f) || f === 1 / 0 || f === -1 / 0) && (f = xe), y.setData(s, c, f);
1629
- }));
1630
- }
1631
- get epoch() {
1632
- return this._epoch;
1633
- }
1634
- async sendUpdates() {
1635
- const e = this._blocks.map((r) => r != null ? r.toMessage() : null), t = this._getInitArgs();
1636
- b("esri-2d-log-updating") && console.log("AttributeStore: _doSendUpdate.start"), await this._client.update({ initArgs: t, blockData: e, version: this.version, sendUpdateEpoch: this._epoch }, this._signal), this._epoch += 1, b("esri-2d-log-updating") && console.log("AttributeStore: _doSendUpdate.end");
1637
- }
1638
- _ensureSizeForTexel(e) {
1639
- for (; e >= this._size * this._size; )
1640
- if (this._expand())
1641
- return;
1642
- }
1643
- async _bind(e, t, r) {
1644
- const s = await e.createComputedField(t), { valueRepresentation: i } = t, n = this._attributeComputeInfo;
1645
- if (n.isSubtype) {
1646
- const o = n.map.get(r) ?? /* @__PURE__ */ new Map();
1647
- o.set(t.binding, { field: s, valueRepresentation: i }), n.map.set(r, o);
1648
- } else
1649
- n.map.set(t.binding, { field: s, valueRepresentation: i });
1650
- return s;
1651
- }
1652
- _getInitArgs() {
1653
- return this._initialized ? null : (this._initialized = !0, this._getBlock(P.Animation), this._getBlock(P.GPGPU), { blockSize: this._size, blockDescriptors: this._blocks.map((e) => e != null ? { textureOnly: e.textureOnly, buffer: e.buffer, pixelType: e.pixelType } : null) });
1654
- }
1655
- _getBlock(e) {
1656
- const t = this._blocks[e];
1657
- if (t != null)
1658
- return t;
1659
- j(`Initializing AttributeBlock at index ${e}`);
1660
- const r = new Ft(this._size, this._blockDescriptors[e], this._client.isLocal);
1661
- return this._blocks[e] = r, this._initialized = !1, r;
1662
- }
1663
- _expand() {
1664
- if (this._size < this._schema.capabilities.maxTextureSize) {
1665
- const e = this._size <<= 1;
1666
- j("Expanding block size to", e, this._blocks);
1667
- for (const t of this._blocks)
1668
- t == null || t.expand(e);
1669
- return this._initialized = !1, this._size = e, 0;
1670
- }
1671
- return Z().error(new w("mapview-limitations", "Maximum number of onscreen features exceeded.")), -1;
1672
- }
1673
- isVisible(e) {
1674
- return !!(this._getBlock(0).getData(e, 0) & 1 << V.length);
1675
- }
1676
- getFilterFlags(e) {
1677
- let t = 0;
1678
- for (let s = 0; s < this._filters.length; s++) {
1679
- const i = !!(1 << s), n = this._filters[s];
1680
- t |= (!i || n == null || n.check(e) ? 1 : 0) << s;
1681
- }
1682
- let r = 0;
1683
- if (this._idsToHighlight.size) {
1684
- const s = e.getObjectId();
1685
- r = this.getHighlightFlags(s);
1686
- }
1687
- return t << V.length | r;
1688
- }
1689
- }
1690
- export {
1691
- ar as M,
1692
- Qt as a,
1693
- or as b,
1694
- it as c,
1695
- U as d,
1696
- Je as e,
1697
- ft as f,
1698
- ae as g,
1699
- _t as h,
1700
- qt as i,
1701
- N as j,
1702
- Zt as n,
1703
- rr as p,
1704
- et as r,
1705
- nr as s,
1706
- L as t
1707
- };