@agrotools1/at-components 0.3.5-5 → 0.3.6-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 (875) hide show
  1. package/dist/AGraphicContainer-8c9b2ac4.js +109 -0
  2. package/dist/APIKeyMixin-f096e205.js +19 -0
  3. package/dist/Analysis-69ec3d6f.js +31 -0
  4. package/dist/ArcGISCachedService-02eb8742.js +47 -0
  5. package/dist/ArcGISService-b553d693.js +25 -0
  6. package/dist/AreaMeasurement2D-a24c14f3.js +405 -0
  7. package/dist/AreaMeasurement3D-1918bb30.js +488 -0
  8. package/dist/AttachmentInfo-5ac364c0.js +34 -0
  9. package/dist/AttachmentQuery-5832f1b2.js +18 -0
  10. package/dist/AttributeStore-f7cfcb7c.js +1707 -0
  11. package/dist/BaseDynamicLayerView2D-41644749.js +63 -0
  12. package/dist/BingMapsLayer-b6a71321.js +112 -0
  13. package/dist/Bitmap-c2ead4b8.js +128 -0
  14. package/dist/BitmapContainer-ce51ff84.js +23 -0
  15. package/dist/BlendLayer-b601f585.js +13 -0
  16. package/dist/BoundsStore-870db8b1.js +63 -0
  17. package/dist/BufferObject-48edf970.js +100 -0
  18. package/dist/BufferView-35ce41c8.js +683 -0
  19. package/dist/BuildingSceneLayer-8518fdf8.js +535 -0
  20. package/dist/Button-19052061.js +36 -0
  21. package/dist/CSVLayer-4a7d75c0.js +208 -0
  22. package/dist/CSVSourceWorker-ceffb3b9.js +367 -0
  23. package/dist/CatalogDynamicGroupLayerView2D-027aa2d7.js +66 -0
  24. package/dist/CatalogFootprintLayerView2D-02882126.js +76 -0
  25. package/dist/CatalogLayer-9b67e61f.js +262 -0
  26. package/dist/CatalogLayerView2D-ff34ab07.js +52 -0
  27. package/dist/ClassBreaksDefinition-f70c82c6.js +18 -0
  28. package/dist/ColorMaterial.glsl-b01eddd3.js +64 -0
  29. package/dist/ColorSet-e8347ede.js +45 -0
  30. package/dist/ColorStop-8a524ada.js +29 -0
  31. package/dist/Container-14f505c0.js +521 -0
  32. package/dist/CustomParametersMixin-459ef1cd.js +12 -0
  33. package/dist/DataTable/DataTable.d.ts +11 -0
  34. package/dist/DataTable/index.d.ts +11 -0
  35. package/dist/DefaultMaterial.glsl-62c56ad1.js +42 -0
  36. package/dist/DefaultMaterial_COLOR_GAMMA-c811f7e5.js +653 -0
  37. package/dist/DefaultTheme-597848b5.js +130 -0
  38. package/dist/DeleteForwardEditsParameters-d78ab81c.js +18 -0
  39. package/dist/DimensionLayer-06ddf275.js +129 -0
  40. package/dist/DirectLineMeasurement3D-ce16b822.js +449 -0
  41. package/dist/DistanceMeasurement2D-a3acbab9.js +303 -0
  42. package/dist/DoubleArray-b024f2e4.js +25 -0
  43. package/dist/Dropdown/Checklist/draggable.d.ts +2 -0
  44. package/dist/EdgeProcessingWorker-9ff02aa9.js +63 -0
  45. package/dist/EditBusLayer-78fdab54.js +107 -0
  46. package/dist/ElevationInfo-ed1f4555.js +56 -0
  47. package/dist/ElevationLayer-99c6bc4a.js +129 -0
  48. package/dist/ElevationQuery-2365a962.js +598 -0
  49. package/dist/ElevationSamplerWorker-74d363b8.js +62 -0
  50. package/dist/ExportImageParameters-19f65a9b.js +66 -0
  51. package/dist/ExportStrategy-fe637138.js +93 -0
  52. package/dist/ExportWMSImageParameters-de464861.js +33 -0
  53. package/dist/External-570c0cb9.js +110 -0
  54. package/dist/FeatureCollectionSnappingSource-7d1bfc6c.js +130 -0
  55. package/dist/FeatureCommandQueue-54607a57.js +1244 -0
  56. package/dist/FeatureEffect-fc2b572b.js +39 -0
  57. package/dist/FeatureEffectLayer-4c767558.js +13 -0
  58. package/dist/FeatureFilter-c664009b.js +27 -0
  59. package/dist/FeatureLayer-e724eeda.js +693 -0
  60. package/dist/FeatureLayerBase-d0c420df.js +148 -0
  61. package/dist/FeatureLayerSource-1c4783aa.js +444 -0
  62. package/dist/FeatureLayerView2D-7a756766.js +1967 -0
  63. package/dist/FeaturePipelineWorker-3c95c6d8.js +3633 -0
  64. package/dist/FeatureReductionLayer-518c81a9.js +225 -0
  65. package/dist/FeatureReductionSelection-effc540f.js +22 -0
  66. package/dist/FeatureServiceSnappingSource-526822e4.js +481 -0
  67. package/dist/FeatureServiceSnappingSourceWorker-b87f9239.js +747 -0
  68. package/dist/FeatureSet-bd8168c4.js +188 -0
  69. package/dist/FeatureStore-5880cfb5.js +131 -0
  70. package/dist/FeatureTemplate-06799dd6.js +12 -0
  71. package/dist/FeatureType-68c5331c.js +25 -0
  72. package/dist/FieldsIndex-7395c158.js +109 -0
  73. package/dist/FormTemplate-84169683.js +350 -0
  74. package/dist/GeoJSONLayer-f7f9a9d2.js +236 -0
  75. package/dist/GeoJSONSourceWorker-dca22022.js +247 -0
  76. package/dist/GeoRSSLayer-b7ae9c64.js +73 -0
  77. package/dist/GeoRSSLayerView2D-8e961848.js +140 -0
  78. package/dist/GeometryUtils-0befb2c3.js +403 -0
  79. package/dist/GraphicContainer-c29d537d.js +26 -0
  80. package/dist/GraphicManipulator-2cf2ccef.js +1499 -0
  81. package/dist/GraphicsLayer-435613fc.js +38 -0
  82. package/dist/GraphicsLayerView2D-396a5c04.js +114 -0
  83. package/dist/GraphicsSnappingSource-d1256955.js +273 -0
  84. package/dist/GraphicsView2D-548609f3.js +620 -0
  85. package/dist/GroupLayer-1b720d11.js +147 -0
  86. package/dist/GroupLayerView2D-7dabdf93.js +98 -0
  87. package/dist/HUDMaterial.glsl-c4555a33.js +65 -0
  88. package/dist/HighlightCounter-eca069ae.js +41 -0
  89. package/dist/HighlightGraphicContainer-0607fb71.js +18 -0
  90. package/dist/I3SBinaryReader-b49f9df8.js +310 -0
  91. package/dist/I3SLayerDefinitions-1ac1aed8.js +55 -0
  92. package/dist/I3SUtil-16c297d2.js +59 -0
  93. package/dist/IdentityManager-637f161b.js +899 -0
  94. package/dist/ImageHistogramParameters-cc140593.js +905 -0
  95. package/dist/ImageryLayer-64820a1e.js +1799 -0
  96. package/dist/ImageryLayerView2D-9526e457.js +352 -0
  97. package/dist/ImageryTileLayer-82303ca4.js +2157 -0
  98. package/dist/ImageryTileLayerView2D-df3c0905.js +1110 -0
  99. package/dist/Indices-0f1d8539.js +67 -0
  100. package/dist/IntegratedMesh3DTilesLayer-edc82dec.js +112 -0
  101. package/dist/IntegratedMeshLayer-446c5e6d.js +141 -0
  102. package/dist/InteractiveAnalysisViewModel-83bf375d.js +7397 -0
  103. package/dist/InterleavedLayout-73357178.js +163 -0
  104. package/dist/KMLLayer-c761003e.js +162 -0
  105. package/dist/KMLLayerView2D-50f30b49.js +253 -0
  106. package/dist/KnowledgeGraphLayerView2D-03cf7eb6.js +43 -0
  107. package/dist/LRUCache-9af70841.js +32 -0
  108. package/dist/LabelClass-d927154f.js +135 -0
  109. package/dist/LabelMetric-868f5063.js +400 -0
  110. package/dist/LaserlinePath.glsl-d5a5b340.js +64 -0
  111. package/dist/Laserlines.glsl-16dcefc6.js +65 -0
  112. package/dist/LayerFloorInfo-e04a9a91.js +15 -0
  113. package/dist/LayerView-dc4ce424.js +206 -0
  114. package/dist/LercWorker-9b2c7281.js +157 -0
  115. package/dist/LineOfSightLayer-d29acf6c.js +147 -0
  116. package/dist/LinkChartLayer-056705f3.js +1027 -0
  117. package/dist/Lyr3DWorker-9b9b1ea6.js +82 -0
  118. package/dist/MagnifierPrograms-c71c06d0.js +806 -0
  119. package/dist/MapImageLayer-99e5e848.js +169 -0
  120. package/dist/MapImageLayerView2D-27eecdfa.js +146 -0
  121. package/dist/MapNotesLayer-2689fe22.js +283 -0
  122. package/dist/MapNotesLayerView2D-b7ab0779.js +161 -0
  123. package/dist/MapServiceLayerViewHelper-e40533c3.js +288 -0
  124. package/dist/MeasurementWidgetContent-4d42eedf.js +2642 -0
  125. package/dist/MediaLayer-f46a07c9.js +523 -0
  126. package/dist/MediaLayerView2D-7d5c7ce5.js +332 -0
  127. package/dist/MemCache-e0d2fb77.js +227 -0
  128. package/dist/MemorySourceWorker-e1c99114.js +222 -0
  129. package/dist/Mesh-1e806822.js +980 -0
  130. package/dist/MeshLocalVertexSpace-b50bc760.js +19 -0
  131. package/dist/Modal/Modal.d.ts +2 -2
  132. package/dist/MultiOriginJSONSupport-5c20240b.js +158 -0
  133. package/dist/OGCFeatureLayer-4bac77ad.js +211 -0
  134. package/dist/OGCFeatureLayerView2D-fc59c9e0.js +82 -0
  135. package/dist/ObjectStack-e1b78554.js +21 -0
  136. package/dist/Octree-f900126e.js +495 -0
  137. package/dist/OpenStreetMapLayer-2489be18.js +30 -0
  138. package/dist/OperationalLayer-c665515d.js +44 -0
  139. package/dist/OrderByInfo-381bb537.js +16 -0
  140. package/dist/OrderedLayer-357ba928.js +26 -0
  141. package/dist/OrientedImageryLayer-3b4711d5.js +216 -0
  142. package/dist/OverlayCompositing.glsl-d47c7707.js +65 -0
  143. package/dist/OverrideHelper-9a853be0.js +242 -0
  144. package/dist/PBFDecoderWorker-c3c817bf.js +213 -0
  145. package/dist/PointCloudLayer-609aed2a.js +197 -0
  146. package/dist/PointCloudUniqueValueRenderer-3413c8ff.js +115 -0
  147. package/dist/PointCloudWorker-0c7977d0.js +212 -0
  148. package/dist/PooledRBush-e6121cf5.js +272 -0
  149. package/dist/Popup-8ec024dd.js +3990 -0
  150. package/dist/PortalLayer-7dcf2ff9.js +126 -0
  151. package/dist/Program-ffdb8d8b.js +694 -0
  152. package/dist/ProgramTemplate-cd8ea7d1.js +35 -0
  153. package/dist/QueryEngine-3fd7ffd7.js +896 -0
  154. package/dist/QueryTask-a92e16b0.js +119 -0
  155. package/dist/RasterSymbolizer-626a8387.js +3024 -0
  156. package/dist/RasterVFDisplayObject-652ec811.js +581 -0
  157. package/dist/RasterWorker-22e1176c.js +78 -0
  158. package/dist/RawBlockCache-5688a113.js +185 -0
  159. package/dist/RealisticTree.glsl-1003fe8b.js +42 -0
  160. package/dist/RefreshableLayer-1651a43e.js +80 -0
  161. package/dist/RefreshableLayerView-a2a94d4f.js +16 -0
  162. package/dist/Relationship-e34ba942.js +64 -0
  163. package/dist/RelationshipQuery-cdf74fb5.js +22 -0
  164. package/dist/RenderingContext-6841a9d8.js +889 -0
  165. package/dist/RibbonLine.glsl-368600d8.js +65 -0
  166. package/dist/RouteLayer-6e99dd5f.js +786 -0
  167. package/dist/RouteLayerView2D-b8a76137.js +195 -0
  168. package/dist/SDFHelper-486c5d0a.js +140 -0
  169. package/dist/SSAO.glsl-68b4dd42.js +43 -0
  170. package/dist/SSAOBlur.glsl-528d5737.js +42 -0
  171. package/dist/ScaleRangeLayer-5ee887eb.js +21 -0
  172. package/dist/SceneLayer-68909d93.js +542 -0
  173. package/dist/SceneLayerSnappingSource-83cd861a.js +218 -0
  174. package/dist/SceneLayerSnappingSourceWorker-8618d4b2.js +112 -0
  175. package/dist/SceneLayerWorker-07be2963.js +164 -0
  176. package/dist/SceneService-f4f60260.js +215 -0
  177. package/dist/Scheduler-57f58fb5.js +373 -0
  178. package/dist/ShadedColorMaterial.glsl-89a57c04.js +64 -0
  179. package/dist/SnappingOperation-2e776ff3.js +48 -0
  180. package/dist/SourceLayerData-a1e12491.js +116 -0
  181. package/dist/SpatialFilter-ecf9c66f.js +1701 -0
  182. package/dist/Stop-7bfbe787.js +281 -0
  183. package/dist/StreamLayer-32f72659.js +188 -0
  184. package/dist/StreamLayerView2D-9bf66c16.js +164 -0
  185. package/dist/StyleRepository-f42361f2.js +2212 -0
  186. package/dist/SublayersOwner-2056b80d.js +545 -0
  187. package/dist/SubtypeGroupLayer-00b13c42.js +514 -0
  188. package/dist/SubtypeGroupLayerView2D-5c995006.js +84 -0
  189. package/dist/TechniqueInstance-8f9c46f9.js +233 -0
  190. package/dist/TemporalLayer-758cf2cb.js +23 -0
  191. package/dist/Texture-e434c1ed.js +501 -0
  192. package/dist/TextureOnly.glsl-2e6fa34e.js +65 -0
  193. package/dist/Theme-f939c4f1.js +3426 -0
  194. package/dist/Tick-ce88cd8d.js +723 -0
  195. package/dist/TileContainer-3cb306b0.js +31 -0
  196. package/dist/TileInfoTilemapCache-1cdda7a5.js +38 -0
  197. package/dist/TileLayer-1de851f9.js +194 -0
  198. package/dist/TileLayerView2D-110af36c.js +187 -0
  199. package/dist/TilemapCache-cee969aa.js +189 -0
  200. package/dist/TimeInfo-23e07863.js +42 -0
  201. package/dist/TimeOnly-21ef799a.js +706 -0
  202. package/dist/Tooltip-6e0dd456.js +138 -0
  203. package/dist/TopFeaturesQuery-b3252f4d.js +32 -0
  204. package/dist/TurboLine-33d9b8e3.js +565 -0
  205. package/dist/UniqueValueRenderer-c3676f1b.js +1039 -0
  206. package/dist/UnknownLayer-9f4c2c0d.js +30 -0
  207. package/dist/UnknownTimeZone-6e630bad.js +15 -0
  208. package/dist/UnsupportedLayer-eb3411ce.js +31 -0
  209. package/dist/UpdateTracking2D-2c532d68.js +8566 -0
  210. package/dist/Util-79c67a06.js +57 -0
  211. package/dist/VectorTileLayer-5b1f3996.js +544 -0
  212. package/dist/VectorTileLayerView2D-d9b46d83.js +2108 -0
  213. package/dist/Version-95328cb6.js +33 -0
  214. package/dist/VertexArrayObject-3c588329.js +73 -0
  215. package/dist/VertexColor.glsl-bf540843.js +2683 -0
  216. package/dist/VertexSnappingCandidate-ff1026f6.js +13 -0
  217. package/dist/VideoLayerView2D-02cd5785.js +124 -0
  218. package/dist/VoxelLayer-f7bdc404.js +631 -0
  219. package/dist/WFSLayer-bfd33d87.js +221 -0
  220. package/dist/WFSSourceWorker-3207010e.js +157 -0
  221. package/dist/WGLContainer-02f424a7.js +5426 -0
  222. package/dist/WMSLayer-51abe148.js +536 -0
  223. package/dist/WMSLayerView2D-5aac2d24.js +117 -0
  224. package/dist/WMTSLayer-caa0eebf.js +531 -0
  225. package/dist/WMTSLayerView2D-97efdded.js +142 -0
  226. package/dist/WebTileLayer-7cc43b22.js +110 -0
  227. package/dist/WhereClause-c7269737.js +2766 -0
  228. package/dist/WorkerHandle-a6c56be3.js +47 -0
  229. package/dist/WorkerTileHandler-5e4badb6.js +1539 -0
  230. package/dist/action-ed1fc7dc.js +198 -0
  231. package/dist/action-group-7e15640a.js +145 -0
  232. package/dist/action-menu-0209ed87.js +1759 -0
  233. package/dist/apng-fc9f8a0c.js +392 -0
  234. package/dist/arcade-776c40d7.js +229 -0
  235. package/dist/arcadeAsyncRuntime-00ff707b.js +943 -0
  236. package/dist/arcadeUtils-559cf17f.js +8741 -0
  237. package/dist/arcgis-knowledge-client-core-81383293.js +1218 -0
  238. package/dist/arcgis-knowledge-client-core-simd-9c1c4d02.js +1218 -0
  239. package/dist/arcgisLayers-464bee8e.js +152 -0
  240. package/dist/associatedFeatureServiceUtils-a4bc8b90.js +92 -0
  241. package/dist/axisAngleDegrees-c59eac48.js +49 -0
  242. package/dist/basis_transcoder-b850d7ac.js +1248 -0
  243. package/dist/calcite-action-9684de07.js +22 -0
  244. package/dist/calcite-action-bar-aab78d85.js +303 -0
  245. package/dist/calcite-action-group-86560b7c.js +28 -0
  246. package/dist/calcite-button-945a382c.js +228 -0
  247. package/dist/calcite-flow-f22417bf.js +128 -0
  248. package/dist/calcite-flow-item-6721cdb5.js +499 -0
  249. package/dist/calcite-icon-f70b3548.js +16 -0
  250. package/dist/calcite-input-82365055.js +24 -0
  251. package/dist/calcite-label-4edd4c73.js +79 -0
  252. package/dist/calcite-list-889ce7fd.js +2135 -0
  253. package/dist/calcite-list-item-dbfe03a4.js +576 -0
  254. package/dist/calcite-list-item-group-a50afa76.js +71 -0
  255. package/dist/calcite-loader-7dea3bfb.js +14 -0
  256. package/dist/calcite-modal-9dc28700.js +333 -0
  257. package/dist/calcite-notice-2f157f48.js +181 -0
  258. package/dist/calcite-option-ac295d06.js +94 -0
  259. package/dist/calcite-scrim-edd8c548.js +18 -0
  260. package/dist/calcite-select-04e5897b.js +231 -0
  261. package/dist/capabilities-bf491f8c.js +50 -0
  262. package/dist/chartCommon-70e79d9a.js +256 -0
  263. package/dist/chartUtilsAm5-a25543c4.js +2954 -0
  264. package/dist/clientSideDefaults-77af5697.js +39 -0
  265. package/dist/colorRamps-4de2ec40.js +38 -0
  266. package/dist/colorUtils-2fce3a34.js +164 -0
  267. package/dist/commonProperties-10456153.js +60 -0
  268. package/dist/computeTranslationToOriginAndRotation-d7eabc4f.js +60 -0
  269. package/dist/conditionalSlot-e316883a.js +27 -0
  270. package/dist/createConnection-f372a435.js +299 -0
  271. package/dist/dataUtils-60ffa365.js +1421 -0
  272. package/dist/deduplicate-06599792.js +89 -0
  273. package/dist/defaults-c2a9563f.js +31 -0
  274. package/dist/deleteForwardEdits-9c23916a.js +13 -0
  275. package/dist/diffUtils-65d58fa2.js +90 -0
  276. package/dist/drapedUtils-563ae0de.js +75 -0
  277. package/dist/earcut-0620e773.js +292 -0
  278. package/dist/edgeProcessing-dacaccd4.js +252 -0
  279. package/dist/editingSupport-226319f1.js +203 -0
  280. package/dist/editsZScale-c40970da.js +37 -0
  281. package/dist/elevationInfoUtils-f23e102a.js +126 -0
  282. package/dist/executeForIds-94d1fbd0.js +14 -0
  283. package/dist/executeForTopCount-582b8895.js +17 -0
  284. package/dist/executeForTopExtents-6c202fdf.js +17 -0
  285. package/dist/executeForTopIds-97d4f526.js +17 -0
  286. package/dist/executeQueryJSON-9b8a210d.js +15 -0
  287. package/dist/executeQueryPBF-7191c869.js +152 -0
  288. package/dist/executeRelationshipQuery-c0ee5c53.js +53 -0
  289. package/dist/executeTopFeaturesQuery-9bd085d1.js +18 -0
  290. package/dist/featureConversionUtils-3c1e5c64.js +479 -0
  291. package/dist/featureLayerUtils-17df50fd.js +250 -0
  292. package/dist/featureLayerUtils-9c8d31ed.js +142 -0
  293. package/dist/featureSetUtils-5d5e2130.js +2530 -0
  294. package/dist/featuresetbase-c5ed85e8.js +707 -0
  295. package/dist/featuresetgeom-5514f20c.js +99 -0
  296. package/dist/featuresetstats-c8942c35.js +81 -0
  297. package/dist/featuresetstring-fe52a771.js +95 -0
  298. package/dist/fetchService-a8d11522.js +33 -0
  299. package/dist/fieldProperties-113def24.js +33 -0
  300. package/dist/floatRGBA-589cf5b3.js +20 -0
  301. package/dist/form-1952acfb.js +138 -0
  302. package/dist/geohashUtils-a4cca9e2.js +85 -0
  303. package/dist/geojson-abed8603.js +208 -0
  304. package/dist/geomasync-f0c077c3.js +567 -0
  305. package/dist/geometryEngine-962a31ac.js +192 -0
  306. package/dist/geometryEngineAsync-38c68f67.js +217 -0
  307. package/dist/geometryEngineBase-c4b11c2f.js +18463 -0
  308. package/dist/geometryEngineJSON-54c723b5.js +171 -0
  309. package/dist/geometryEngineJSON-f589dd9e.js +46 -0
  310. package/dist/geometryEngineWorker-0946e02e.js +11 -0
  311. package/dist/geometryServiceUtils-a7fa738a.js +28 -0
  312. package/dist/georeference-40de0674.js +291 -0
  313. package/dist/gif-a04822ef.js +323 -0
  314. package/dist/gltfexport-d49bb33e.js +705 -0
  315. package/dist/groupLayerUtils-4668a0a8.js +39 -0
  316. package/dist/heatmapUtils-1c9f8343.js +45 -0
  317. package/dist/highlightReasons-70b84c32.js +19 -0
  318. package/dist/hydrated-9a3c2b9e.js +40 -0
  319. package/dist/i3s-cf7ddd65.js +809 -0
  320. package/dist/icon-54dead80.js +127 -0
  321. package/dist/imageBitmapUtils-267d004d.js +23 -0
  322. package/dist/imageUtils-c91f60b9.js +89 -0
  323. package/dist/imageUtils-ebcce9e3.js +69 -0
  324. package/dist/imageryUtils-a19a5307.js +43 -0
  325. package/dist/index-5b6496c1.js +45647 -0
  326. package/dist/index.js +1 -1
  327. package/dist/input-message-ab65fdba.js +92 -0
  328. package/dist/input2-a0ca49c1.js +575 -0
  329. package/dist/interactive-ac74c839.js +80 -0
  330. package/dist/jsonContext-b085f4a7.js +15 -0
  331. package/dist/jsonUtils-0842c640.js +86 -0
  332. package/dist/jsonUtils-67d86fe7.js +59 -0
  333. package/dist/jsonUtils-d3d63f35.js +476 -0
  334. package/dist/kmlUtils-6326fce9.js +112 -0
  335. package/dist/knowledgeGraphService-03ae503a.js +739 -0
  336. package/dist/knowledgegraph-5b1d5ebd.js +149 -0
  337. package/dist/labelUtils-58cb2a65.js +61 -0
  338. package/dist/labelingInfo-cfce0daa.js +46 -0
  339. package/dist/layersCreator-416e0d30.js +151 -0
  340. package/dist/layersLoader-2820ec3e.js +197 -0
  341. package/dist/lazyLayerLoader-c351edad.js +10 -0
  342. package/dist/lclayout-a1b7a42a.js +773 -0
  343. package/dist/lengthUtils-f0bfb8e2.js +5 -0
  344. package/dist/lerc-wasm-3028a992.js +325 -0
  345. package/dist/libtess-04fb1638.js +269 -0
  346. package/dist/libtess-asm-e78c880b.js +3673 -0
  347. package/dist/lineSegment-c22cd085.js +76 -0
  348. package/dist/loadGLTFMesh-d0f93b87.js +181 -0
  349. package/dist/loadable-959dc417.js +24 -0
  350. package/dist/loader-67d028e0.js +79 -0
  351. package/dist/lyr3DWorker-25faa30c.js +2108 -0
  352. package/dist/mapViewDeps-4e6b6461.js +3052 -0
  353. package/dist/mediaLayerUtils-08c14ea1.js +35 -0
  354. package/dist/meshFeatureSet-4078b41a.js +126 -0
  355. package/dist/meshVertexSpaceUtils-5ad91792.js +58 -0
  356. package/dist/multidimensionalUtils-0319ac8b.js +290 -0
  357. package/dist/normalizeUtilsSync-7db162b9.js +181 -0
  358. package/dist/number-a8aec1c1.js +128 -0
  359. package/dist/objectResourceUtils-60d4fa04.js +1455 -0
  360. package/dist/observers-efd24f7f.js +30 -0
  361. package/dist/ogcFeatureUtils-992f6584.js +206 -0
  362. package/dist/openCloseComponent-8642f156.js +37 -0
  363. package/dist/orientedBoundingBox-6d95d542.js +447 -0
  364. package/dist/parser-60d688e7.js +488 -0
  365. package/dist/pbf-64a75d0b.js +215 -0
  366. package/dist/pbfQueryUtils-f694a3e8.js +422 -0
  367. package/dist/pe-wasm-f6126837.js +887 -0
  368. package/dist/persistable-0fcf283e.js +89 -0
  369. package/dist/perspectiveUtils-eda33734.js +42 -0
  370. package/dist/pieChart-e29573aa.js +555 -0
  371. package/dist/plane-c68e0078.js +160 -0
  372. package/dist/popupUtils-2fd3f2a7.js +50 -0
  373. package/dist/popupUtils-d3dae326.js +22 -0
  374. package/dist/portalItemUtils-40ca7a42.js +57 -0
  375. package/dist/portalLayers-5671cb04.js +312 -0
  376. package/dist/portalUtils-6b64ac6e.js +7 -0
  377. package/dist/programUtils-e514ef56.js +59 -0
  378. package/dist/project-6f8bb8e1.js +21 -0
  379. package/dist/projectPointToVector-4f88b833.js +14 -0
  380. package/dist/projectVectorToVector-94ea313f.js +13 -0
  381. package/dist/quantityUtils-7b42fe24.js +33 -0
  382. package/dist/quantizationUtils-8294a9a0.js +68 -0
  383. package/dist/quat-4e06fa53.js +104 -0
  384. package/dist/query-3792fb04.js +89 -0
  385. package/dist/queryAttachments-98980e21.js +39 -0
  386. package/dist/queryEngineUtils-049e3277.js +21 -0
  387. package/dist/queryTopFeatures-df2487d8.js +50 -0
  388. package/dist/queryZScale-d3727ba7.js +12 -0
  389. package/dist/rasterProjectionHelper-19e84240.js +577 -0
  390. package/dist/rasterUtils-89cca9c8.js +122 -0
  391. package/dist/rasterizingUtils-96a9d03b.js +46 -0
  392. package/dist/request-b11aee92.js +46 -0
  393. package/dist/requestImageUtils-c953d853.js +8 -0
  394. package/dist/resourceExtension-c69bcb8e.js +17 -0
  395. package/dist/resourceUtils-0169cd3e.js +69 -0
  396. package/dist/resourceUtils-846c7a8b.js +62 -0
  397. package/dist/resourceUtils-955d3872.js +42 -0
  398. package/dist/saveAPIKeyUtils-b94319f0.js +8 -0
  399. package/dist/saveUtils-e85929d3.js +24 -0
  400. package/dist/scaleUtils-20fabb63.js +23 -0
  401. package/dist/scrim-eb0b99ab.js +114 -0
  402. package/dist/serviceCapabilitiesUtils-42c192bf.js +64 -0
  403. package/dist/sourceUtils-1f55287b.js +71 -0
  404. package/dist/sphere-c8b8d2f4.js +199 -0
  405. package/dist/statsWorker-6b5e5338.js +37 -0
  406. package/dist/streamLayerUtils-8cfb15d2.js +31 -0
  407. package/dist/style.css +1 -1
  408. package/dist/styleUtils-a42ac12e.js +75 -0
  409. package/dist/styleUtils-c555635b.js +14 -0
  410. package/dist/sublayerUtils-be893cf4.js +37 -0
  411. package/dist/substitute-4098f95d.js +52 -0
  412. package/dist/symbolColorUtils-7fc15266.js +8 -0
  413. package/dist/symbolLayerUtils-c2f6fdb3.js +31 -0
  414. package/dist/symbologySnappingCandidates-60ac5870.js +221 -0
  415. package/dist/t9n-a81d777e.js +349 -0
  416. package/dist/testSVGPremultipliedAlpha-0f9e857f.js +94 -0
  417. package/dist/timeSupport-88190ba5.js +410 -0
  418. package/dist/triangle-0ad4da78.js +98 -0
  419. package/dist/unitConversionUtils-106c6b0b.js +17 -0
  420. package/dist/unitFormatUtils-225a61b3.js +40 -0
  421. package/dist/uploadAssetErrors-2d9929d9.js +70 -0
  422. package/dist/uploadAssets-53d618cb.js +330 -0
  423. package/dist/utils-66783f9d.js +419 -0
  424. package/dist/utils-7d562724.js +433 -0
  425. package/dist/utils-9793ea80.js +73 -0
  426. package/dist/utils-97d1dcda.js +91 -0
  427. package/dist/utils-b2f7854d.js +34 -0
  428. package/dist/utils-db8e8eff.js +2746 -0
  429. package/dist/utils-ef92af53.js +232 -0
  430. package/dist/utils-fd8180df.js +79 -0
  431. package/dist/utils3-0006867a.js +75 -0
  432. package/dist/vec3-6fc5c98f.js +81 -0
  433. package/dist/vec42-3cf082e4.js +125 -0
  434. package/dist/versionUtils-0e6aaeb6.js +161 -0
  435. package/dist/visualVariableUtils-97722de8.js +267 -0
  436. package/dist/webStyleSymbolUtils-15f58d81.js +48 -0
  437. package/dist/webglDeps-af75d749.js +23 -0
  438. package/dist/wfsUtils-ad89bf1d.js +343 -0
  439. package/dist/workerHelper-8a0048a3.js +11 -0
  440. package/dist/xyChart-2acf038c.js +3335 -0
  441. package/package.json +1 -1
  442. package/dist/AGraphicContainer-b156cbdc.js +0 -109
  443. package/dist/APIKeyMixin-ee07543b.js +0 -19
  444. package/dist/Analysis-ffcdf49e.js +0 -31
  445. package/dist/ArcGISCachedService-a878c30c.js +0 -47
  446. package/dist/ArcGISService-16ef592c.js +0 -25
  447. package/dist/AreaMeasurement2D-b47a8818.js +0 -405
  448. package/dist/AreaMeasurement3D-fdbc23e0.js +0 -488
  449. package/dist/AttachmentInfo-3b5fda52.js +0 -34
  450. package/dist/AttachmentQuery-14f4ec29.js +0 -18
  451. package/dist/AttributeStore-47a878e7.js +0 -1707
  452. package/dist/BaseDynamicLayerView2D-4bd57982.js +0 -63
  453. package/dist/BingMapsLayer-ec619dfa.js +0 -112
  454. package/dist/Bitmap-45982a38.js +0 -128
  455. package/dist/BitmapContainer-ae676ce9.js +0 -23
  456. package/dist/BlendLayer-f24275a8.js +0 -13
  457. package/dist/BoundsStore-da6873f3.js +0 -63
  458. package/dist/BufferObject-0c76346f.js +0 -100
  459. package/dist/BufferView-96849449.js +0 -683
  460. package/dist/BuildingSceneLayer-67b40855.js +0 -535
  461. package/dist/Button-348f9ac0.js +0 -36
  462. package/dist/CSVLayer-dae4e00d.js +0 -208
  463. package/dist/CSVSourceWorker-6de8b609.js +0 -367
  464. package/dist/CatalogDynamicGroupLayerView2D-7622a0af.js +0 -66
  465. package/dist/CatalogFootprintLayerView2D-eff667d9.js +0 -76
  466. package/dist/CatalogLayer-b0e4980c.js +0 -262
  467. package/dist/CatalogLayerView2D-fa22e5e2.js +0 -52
  468. package/dist/ClassBreaksDefinition-a4abcf50.js +0 -18
  469. package/dist/ColorMaterial.glsl-570e4f94.js +0 -64
  470. package/dist/ColorSet-7f5c7694.js +0 -45
  471. package/dist/ColorStop-6fd09765.js +0 -29
  472. package/dist/Container-d699fcb8.js +0 -521
  473. package/dist/CustomParametersMixin-949de3be.js +0 -12
  474. package/dist/DefaultMaterial.glsl-7c844647.js +0 -42
  475. package/dist/DefaultMaterial_COLOR_GAMMA-f7a6e76d.js +0 -653
  476. package/dist/DefaultTheme-dc710295.js +0 -130
  477. package/dist/DeleteForwardEditsParameters-06390e9e.js +0 -18
  478. package/dist/DimensionLayer-be08b167.js +0 -129
  479. package/dist/DirectLineMeasurement3D-78fa3435.js +0 -449
  480. package/dist/DistanceMeasurement2D-0716339a.js +0 -303
  481. package/dist/DoubleArray-2f0f416a.js +0 -25
  482. package/dist/EdgeProcessingWorker-ed705ff7.js +0 -63
  483. package/dist/EditBusLayer-b3dc1330.js +0 -107
  484. package/dist/ElevationInfo-c194d5f5.js +0 -56
  485. package/dist/ElevationLayer-36b1e319.js +0 -129
  486. package/dist/ElevationQuery-39727e18.js +0 -598
  487. package/dist/ElevationSamplerWorker-04b18fdf.js +0 -62
  488. package/dist/ExportImageParameters-5167798e.js +0 -66
  489. package/dist/ExportStrategy-2d347cef.js +0 -93
  490. package/dist/ExportWMSImageParameters-a26d34ed.js +0 -33
  491. package/dist/External-b021ff2c.js +0 -110
  492. package/dist/FeatureCollectionSnappingSource-66979cda.js +0 -130
  493. package/dist/FeatureCommandQueue-d3930db2.js +0 -1244
  494. package/dist/FeatureEffect-c51c2425.js +0 -39
  495. package/dist/FeatureEffectLayer-bdca70b7.js +0 -13
  496. package/dist/FeatureFilter-9a11227d.js +0 -27
  497. package/dist/FeatureLayer-f1a17cbb.js +0 -693
  498. package/dist/FeatureLayerBase-85c25451.js +0 -148
  499. package/dist/FeatureLayerSource-8d9419ca.js +0 -444
  500. package/dist/FeatureLayerView2D-523f4651.js +0 -1967
  501. package/dist/FeaturePipelineWorker-bd8ec8e1.js +0 -3633
  502. package/dist/FeatureReductionLayer-949cfff9.js +0 -225
  503. package/dist/FeatureReductionSelection-2b7de4bb.js +0 -22
  504. package/dist/FeatureServiceSnappingSource-29f6326c.js +0 -481
  505. package/dist/FeatureServiceSnappingSourceWorker-3071cc93.js +0 -747
  506. package/dist/FeatureSet-a2d35655.js +0 -188
  507. package/dist/FeatureStore-29d58f30.js +0 -131
  508. package/dist/FeatureTemplate-33f1511c.js +0 -12
  509. package/dist/FeatureType-03d8bfc6.js +0 -25
  510. package/dist/FieldsIndex-cddb2b35.js +0 -109
  511. package/dist/FormTemplate-8281e66a.js +0 -350
  512. package/dist/GeoJSONLayer-d1cf041d.js +0 -236
  513. package/dist/GeoJSONSourceWorker-b3fb8a97.js +0 -247
  514. package/dist/GeoRSSLayer-1bd11f40.js +0 -73
  515. package/dist/GeoRSSLayerView2D-8f661d18.js +0 -140
  516. package/dist/GeometryUtils-5c77f1b0.js +0 -403
  517. package/dist/GraphicContainer-8f518c24.js +0 -26
  518. package/dist/GraphicManipulator-48fa5ffd.js +0 -1499
  519. package/dist/GraphicsLayer-5e14eb47.js +0 -38
  520. package/dist/GraphicsLayerView2D-187a02e9.js +0 -114
  521. package/dist/GraphicsSnappingSource-779de954.js +0 -273
  522. package/dist/GraphicsView2D-4786cec0.js +0 -620
  523. package/dist/GroupLayer-f742bd3e.js +0 -147
  524. package/dist/GroupLayerView2D-46afecb6.js +0 -98
  525. package/dist/HUDMaterial.glsl-aed28bd1.js +0 -65
  526. package/dist/HighlightCounter-3ed84eb2.js +0 -41
  527. package/dist/HighlightGraphicContainer-24fff1f1.js +0 -18
  528. package/dist/I3SBinaryReader-dc3251f3.js +0 -310
  529. package/dist/I3SLayerDefinitions-75469971.js +0 -55
  530. package/dist/I3SUtil-b4dac74e.js +0 -59
  531. package/dist/IdentityManager-ece2841b.js +0 -899
  532. package/dist/ImageHistogramParameters-f0a6a74c.js +0 -905
  533. package/dist/ImageryLayer-c5d0331a.js +0 -1799
  534. package/dist/ImageryLayerView2D-2439ac05.js +0 -352
  535. package/dist/ImageryTileLayer-7c19b5c4.js +0 -2157
  536. package/dist/ImageryTileLayerView2D-b6bab66e.js +0 -1110
  537. package/dist/Indices-868b778f.js +0 -67
  538. package/dist/IntegratedMesh3DTilesLayer-8353bdaf.js +0 -112
  539. package/dist/IntegratedMeshLayer-e761aa10.js +0 -141
  540. package/dist/InteractiveAnalysisViewModel-d0e82ea6.js +0 -7397
  541. package/dist/InterleavedLayout-c4731d7d.js +0 -163
  542. package/dist/KMLLayer-bc47cd3d.js +0 -162
  543. package/dist/KMLLayerView2D-f2b1d389.js +0 -253
  544. package/dist/KnowledgeGraphLayerView2D-372e6484.js +0 -43
  545. package/dist/LRUCache-7a6c25d0.js +0 -32
  546. package/dist/LabelClass-fd78b96b.js +0 -135
  547. package/dist/LabelMetric-a5c60841.js +0 -400
  548. package/dist/LaserlinePath.glsl-6d8ad607.js +0 -64
  549. package/dist/Laserlines.glsl-1084f18e.js +0 -65
  550. package/dist/LayerFloorInfo-43dec126.js +0 -15
  551. package/dist/LayerView-3582efbb.js +0 -206
  552. package/dist/LercWorker-e30ab7c8.js +0 -157
  553. package/dist/LineOfSightLayer-9701cc6b.js +0 -147
  554. package/dist/LinkChartLayer-8762fd4a.js +0 -1027
  555. package/dist/Lyr3DWorker-4c128301.js +0 -82
  556. package/dist/MagnifierPrograms-4026fcfa.js +0 -806
  557. package/dist/MapImageLayer-da0d3310.js +0 -169
  558. package/dist/MapImageLayerView2D-071c4157.js +0 -146
  559. package/dist/MapNotesLayer-56a40838.js +0 -283
  560. package/dist/MapNotesLayerView2D-8899725c.js +0 -161
  561. package/dist/MapServiceLayerViewHelper-75da68f4.js +0 -288
  562. package/dist/MeasurementWidgetContent-8176953b.js +0 -2642
  563. package/dist/MediaLayer-c9bb6f41.js +0 -523
  564. package/dist/MediaLayerView2D-46029604.js +0 -332
  565. package/dist/MemCache-cfd09d4d.js +0 -227
  566. package/dist/MemorySourceWorker-b097af39.js +0 -222
  567. package/dist/Mesh-e5a3753f.js +0 -980
  568. package/dist/MeshLocalVertexSpace-46569676.js +0 -19
  569. package/dist/MultiOriginJSONSupport-66a73b5d.js +0 -158
  570. package/dist/OGCFeatureLayer-3a40db83.js +0 -211
  571. package/dist/OGCFeatureLayerView2D-b8b32964.js +0 -82
  572. package/dist/ObjectStack-ba8b9286.js +0 -21
  573. package/dist/Octree-ec06f6ac.js +0 -495
  574. package/dist/OpenStreetMapLayer-37428a2a.js +0 -30
  575. package/dist/OperationalLayer-2e935984.js +0 -44
  576. package/dist/OrderByInfo-b7d114ac.js +0 -16
  577. package/dist/OrderedLayer-63abe7dc.js +0 -26
  578. package/dist/OrientedImageryLayer-66424cd5.js +0 -216
  579. package/dist/OverlayCompositing.glsl-7358bee6.js +0 -65
  580. package/dist/OverrideHelper-212a5126.js +0 -242
  581. package/dist/PBFDecoderWorker-f2ab98a5.js +0 -213
  582. package/dist/PointCloudLayer-fed28318.js +0 -197
  583. package/dist/PointCloudUniqueValueRenderer-8fd8d64d.js +0 -115
  584. package/dist/PointCloudWorker-a23b7173.js +0 -212
  585. package/dist/PooledRBush-20fefa83.js +0 -272
  586. package/dist/Popup-8f89a4b0.js +0 -3990
  587. package/dist/PortalLayer-15420854.js +0 -126
  588. package/dist/Program-b10e4f81.js +0 -694
  589. package/dist/ProgramTemplate-e7665148.js +0 -35
  590. package/dist/QueryEngine-238072cd.js +0 -896
  591. package/dist/QueryTask-edf87068.js +0 -119
  592. package/dist/RasterSymbolizer-f981d3ba.js +0 -3024
  593. package/dist/RasterVFDisplayObject-e88aa01c.js +0 -581
  594. package/dist/RasterWorker-fc9be81c.js +0 -78
  595. package/dist/RawBlockCache-f74df003.js +0 -185
  596. package/dist/RealisticTree.glsl-3c15f4f4.js +0 -42
  597. package/dist/RefreshableLayer-f99ea584.js +0 -80
  598. package/dist/RefreshableLayerView-a78847ef.js +0 -16
  599. package/dist/Relationship-1b08c6d9.js +0 -64
  600. package/dist/RelationshipQuery-292ab835.js +0 -22
  601. package/dist/RenderingContext-010afb99.js +0 -889
  602. package/dist/RibbonLine.glsl-96dd8904.js +0 -65
  603. package/dist/RouteLayer-93ccdc64.js +0 -786
  604. package/dist/RouteLayerView2D-036ca001.js +0 -195
  605. package/dist/SDFHelper-474b4359.js +0 -140
  606. package/dist/SSAO.glsl-597bfb5a.js +0 -43
  607. package/dist/SSAOBlur.glsl-ee744d7c.js +0 -42
  608. package/dist/ScaleRangeLayer-6b36cfd2.js +0 -21
  609. package/dist/SceneLayer-a142d8c1.js +0 -542
  610. package/dist/SceneLayerSnappingSource-203b8842.js +0 -218
  611. package/dist/SceneLayerSnappingSourceWorker-67162926.js +0 -112
  612. package/dist/SceneLayerWorker-e925341d.js +0 -164
  613. package/dist/SceneService-3215551f.js +0 -215
  614. package/dist/Scheduler-202e661b.js +0 -373
  615. package/dist/ShadedColorMaterial.glsl-4c7b1e1c.js +0 -64
  616. package/dist/SnappingOperation-cb1044d4.js +0 -48
  617. package/dist/SourceLayerData-cd5f50cf.js +0 -116
  618. package/dist/SpatialFilter-aa7af35b.js +0 -1701
  619. package/dist/Stop-afd9fe95.js +0 -281
  620. package/dist/StreamLayer-1db3fd83.js +0 -188
  621. package/dist/StreamLayerView2D-2a13f0ad.js +0 -164
  622. package/dist/StyleRepository-2c73077a.js +0 -2212
  623. package/dist/SublayersOwner-dc253313.js +0 -545
  624. package/dist/SubtypeGroupLayer-19d730fa.js +0 -514
  625. package/dist/SubtypeGroupLayerView2D-104bd70d.js +0 -84
  626. package/dist/TechniqueInstance-34decb51.js +0 -233
  627. package/dist/TemporalLayer-52d34fa2.js +0 -23
  628. package/dist/Texture-cb75240c.js +0 -501
  629. package/dist/TextureOnly.glsl-a2ddac26.js +0 -65
  630. package/dist/Theme-b6e00d80.js +0 -3426
  631. package/dist/Tick-01633bcc.js +0 -723
  632. package/dist/TileContainer-456a6c78.js +0 -31
  633. package/dist/TileInfoTilemapCache-42af3194.js +0 -38
  634. package/dist/TileLayer-3185a118.js +0 -194
  635. package/dist/TileLayerView2D-c1a9ab1f.js +0 -187
  636. package/dist/TilemapCache-ae840560.js +0 -189
  637. package/dist/TimeInfo-8ce5e779.js +0 -42
  638. package/dist/TimeOnly-e45c6726.js +0 -706
  639. package/dist/Tooltip-900796b3.js +0 -138
  640. package/dist/TopFeaturesQuery-92ff83cb.js +0 -32
  641. package/dist/TurboLine-b4edfa68.js +0 -565
  642. package/dist/UniqueValueRenderer-cc2c9298.js +0 -1039
  643. package/dist/UnknownLayer-b54c2634.js +0 -30
  644. package/dist/UnknownTimeZone-6d259a58.js +0 -15
  645. package/dist/UnsupportedLayer-13022461.js +0 -31
  646. package/dist/UpdateTracking2D-f77879d5.js +0 -8566
  647. package/dist/Util-04115b51.js +0 -57
  648. package/dist/VectorTileLayer-f381cd0e.js +0 -544
  649. package/dist/VectorTileLayerView2D-39783058.js +0 -2108
  650. package/dist/Version-df01af53.js +0 -33
  651. package/dist/VertexArrayObject-4a28edd2.js +0 -73
  652. package/dist/VertexColor.glsl-bf92e50b.js +0 -2683
  653. package/dist/VertexSnappingCandidate-bb220191.js +0 -13
  654. package/dist/VideoLayerView2D-be563c2e.js +0 -124
  655. package/dist/VoxelLayer-9ef1de09.js +0 -631
  656. package/dist/WFSLayer-43b50b88.js +0 -221
  657. package/dist/WFSSourceWorker-3861ffe8.js +0 -157
  658. package/dist/WGLContainer-ba3d390b.js +0 -5426
  659. package/dist/WMSLayer-2c3e8bbb.js +0 -536
  660. package/dist/WMSLayerView2D-872ec260.js +0 -117
  661. package/dist/WMTSLayer-21f9aa9e.js +0 -531
  662. package/dist/WMTSLayerView2D-8c8c9c3d.js +0 -142
  663. package/dist/WebTileLayer-1bda1985.js +0 -110
  664. package/dist/WhereClause-51a4f26b.js +0 -2766
  665. package/dist/WorkerHandle-0d66bca5.js +0 -47
  666. package/dist/WorkerTileHandler-91c9d75f.js +0 -1539
  667. package/dist/action-6ef64f0d.js +0 -198
  668. package/dist/action-group-f7db2cb8.js +0 -145
  669. package/dist/action-menu-1c23d797.js +0 -1759
  670. package/dist/apng-505b988a.js +0 -392
  671. package/dist/arcade-4936d297.js +0 -229
  672. package/dist/arcadeAsyncRuntime-c1474281.js +0 -943
  673. package/dist/arcadeUtils-8a31964e.js +0 -8741
  674. package/dist/arcgis-knowledge-client-core-f86c91f8.js +0 -1218
  675. package/dist/arcgis-knowledge-client-core-simd-e02ddd33.js +0 -1218
  676. package/dist/arcgisLayers-5d572cf0.js +0 -152
  677. package/dist/associatedFeatureServiceUtils-20128e0c.js +0 -92
  678. package/dist/axisAngleDegrees-d983c0e6.js +0 -49
  679. package/dist/basis_transcoder-f72923c9.js +0 -1248
  680. package/dist/calcite-action-6b65bde9.js +0 -22
  681. package/dist/calcite-action-bar-602b20a2.js +0 -303
  682. package/dist/calcite-action-group-f80af24c.js +0 -28
  683. package/dist/calcite-button-38c49d10.js +0 -228
  684. package/dist/calcite-flow-043c21dc.js +0 -128
  685. package/dist/calcite-flow-item-2ea7fbc3.js +0 -499
  686. package/dist/calcite-icon-51a0aaf4.js +0 -16
  687. package/dist/calcite-input-d890b898.js +0 -24
  688. package/dist/calcite-label-e7ddaa7b.js +0 -79
  689. package/dist/calcite-list-32132747.js +0 -2135
  690. package/dist/calcite-list-item-1a0ebafe.js +0 -576
  691. package/dist/calcite-list-item-group-2a10423e.js +0 -71
  692. package/dist/calcite-loader-805f803d.js +0 -14
  693. package/dist/calcite-modal-c3c4c180.js +0 -333
  694. package/dist/calcite-notice-3c41230b.js +0 -181
  695. package/dist/calcite-option-771f300b.js +0 -94
  696. package/dist/calcite-scrim-69d80539.js +0 -18
  697. package/dist/calcite-select-0b7bcde9.js +0 -231
  698. package/dist/capabilities-db596b9a.js +0 -50
  699. package/dist/chartCommon-12c51a22.js +0 -256
  700. package/dist/chartUtilsAm5-bc078bfd.js +0 -2954
  701. package/dist/clientSideDefaults-d761554e.js +0 -39
  702. package/dist/colorRamps-fedcdeb0.js +0 -38
  703. package/dist/colorUtils-b3dcdea1.js +0 -164
  704. package/dist/commonProperties-c36fc1b2.js +0 -60
  705. package/dist/computeTranslationToOriginAndRotation-204021f3.js +0 -60
  706. package/dist/conditionalSlot-a3e31520.js +0 -27
  707. package/dist/createConnection-3faeec81.js +0 -299
  708. package/dist/dataUtils-cb1ddea6.js +0 -1421
  709. package/dist/deduplicate-8f04f299.js +0 -89
  710. package/dist/defaults-9d551b4c.js +0 -31
  711. package/dist/deleteForwardEdits-8ee7ac83.js +0 -13
  712. package/dist/diffUtils-f967bb01.js +0 -90
  713. package/dist/drapedUtils-228e1846.js +0 -75
  714. package/dist/earcut-ae826f5c.js +0 -292
  715. package/dist/edgeProcessing-34e7c554.js +0 -252
  716. package/dist/editingSupport-b2834350.js +0 -203
  717. package/dist/editsZScale-adebaa6e.js +0 -37
  718. package/dist/elevationInfoUtils-f7fb37da.js +0 -126
  719. package/dist/executeForIds-56bf8e1c.js +0 -14
  720. package/dist/executeForTopCount-b8ad20e2.js +0 -17
  721. package/dist/executeForTopExtents-976e5375.js +0 -17
  722. package/dist/executeForTopIds-42baedc4.js +0 -17
  723. package/dist/executeQueryJSON-61328699.js +0 -15
  724. package/dist/executeQueryPBF-98500b0b.js +0 -152
  725. package/dist/executeRelationshipQuery-61aff913.js +0 -53
  726. package/dist/executeTopFeaturesQuery-9a82f5f3.js +0 -18
  727. package/dist/featureConversionUtils-90914512.js +0 -479
  728. package/dist/featureLayerUtils-6fd62a19.js +0 -142
  729. package/dist/featureLayerUtils-f9a404fc.js +0 -250
  730. package/dist/featureSetUtils-41c6b2f3.js +0 -2530
  731. package/dist/featuresetbase-abf82e92.js +0 -707
  732. package/dist/featuresetgeom-640a61c3.js +0 -99
  733. package/dist/featuresetstats-8bc29826.js +0 -81
  734. package/dist/featuresetstring-cf27255d.js +0 -95
  735. package/dist/fetchService-bc7cad88.js +0 -33
  736. package/dist/fieldProperties-917b162f.js +0 -33
  737. package/dist/floatRGBA-d8908329.js +0 -20
  738. package/dist/form-607b9626.js +0 -138
  739. package/dist/geohashUtils-ae9fb003.js +0 -85
  740. package/dist/geojson-e6282c6a.js +0 -208
  741. package/dist/geomasync-c0ea0aa7.js +0 -567
  742. package/dist/geometryEngine-7390e3b3.js +0 -192
  743. package/dist/geometryEngineAsync-b05170d5.js +0 -217
  744. package/dist/geometryEngineBase-9072c29a.js +0 -18463
  745. package/dist/geometryEngineJSON-046aae14.js +0 -171
  746. package/dist/geometryEngineJSON-7d93793c.js +0 -46
  747. package/dist/geometryEngineWorker-df16b723.js +0 -11
  748. package/dist/geometryServiceUtils-1bad18fc.js +0 -28
  749. package/dist/georeference-eeac5784.js +0 -291
  750. package/dist/gif-7db917ae.js +0 -323
  751. package/dist/gltfexport-e3ee23db.js +0 -705
  752. package/dist/groupLayerUtils-67593437.js +0 -39
  753. package/dist/heatmapUtils-ae60011e.js +0 -45
  754. package/dist/highlightReasons-79f118f3.js +0 -19
  755. package/dist/hydrated-22569b31.js +0 -40
  756. package/dist/i3s-b4dc6f5b.js +0 -809
  757. package/dist/icon-fdee8ce8.js +0 -127
  758. package/dist/imageBitmapUtils-0795b2e3.js +0 -23
  759. package/dist/imageUtils-7c670dc9.js +0 -69
  760. package/dist/imageUtils-d22dd4e3.js +0 -89
  761. package/dist/imageryUtils-04032523.js +0 -43
  762. package/dist/index-4ead5b97.js +0 -45620
  763. package/dist/input-message-fbaeb21b.js +0 -92
  764. package/dist/input2-2ec70595.js +0 -575
  765. package/dist/interactive-c1bc656f.js +0 -80
  766. package/dist/jsonContext-4c9c02ed.js +0 -15
  767. package/dist/jsonUtils-0c0893e4.js +0 -59
  768. package/dist/jsonUtils-2a454e30.js +0 -86
  769. package/dist/jsonUtils-fbd6d2d1.js +0 -476
  770. package/dist/kmlUtils-a32aa47a.js +0 -112
  771. package/dist/knowledgeGraphService-101bc4f6.js +0 -739
  772. package/dist/knowledgegraph-ce7c5d70.js +0 -149
  773. package/dist/labelUtils-31fc2428.js +0 -61
  774. package/dist/labelingInfo-419c11be.js +0 -46
  775. package/dist/layersCreator-cebbca3b.js +0 -151
  776. package/dist/layersLoader-5716d75b.js +0 -197
  777. package/dist/lazyLayerLoader-5ff9f8c9.js +0 -10
  778. package/dist/lclayout-d0707534.js +0 -773
  779. package/dist/lengthUtils-21f99608.js +0 -5
  780. package/dist/lerc-wasm-18fff7e7.js +0 -325
  781. package/dist/libtess-asm-474d4b9b.js +0 -3673
  782. package/dist/libtess-f1671ade.js +0 -269
  783. package/dist/lineSegment-d41123bf.js +0 -76
  784. package/dist/loadGLTFMesh-6d8a092c.js +0 -181
  785. package/dist/loadable-553a7b4e.js +0 -24
  786. package/dist/loader-99571a46.js +0 -79
  787. package/dist/lyr3DWorker-416274fd.js +0 -2108
  788. package/dist/mapViewDeps-b8386f18.js +0 -3052
  789. package/dist/mediaLayerUtils-1a221c09.js +0 -35
  790. package/dist/meshFeatureSet-224c37f2.js +0 -126
  791. package/dist/meshVertexSpaceUtils-e2d0f6c0.js +0 -58
  792. package/dist/multidimensionalUtils-8762b51c.js +0 -290
  793. package/dist/normalizeUtilsSync-ceab37a3.js +0 -181
  794. package/dist/number-5cf3efeb.js +0 -128
  795. package/dist/objectResourceUtils-2731784f.js +0 -1455
  796. package/dist/observers-260de394.js +0 -30
  797. package/dist/ogcFeatureUtils-ae65de93.js +0 -206
  798. package/dist/openCloseComponent-7bc5e135.js +0 -37
  799. package/dist/orientedBoundingBox-57ea94d0.js +0 -447
  800. package/dist/parser-bab9c2ce.js +0 -488
  801. package/dist/pbf-e5c31775.js +0 -215
  802. package/dist/pbfQueryUtils-0b522562.js +0 -422
  803. package/dist/pe-wasm-c515cbab.js +0 -887
  804. package/dist/persistable-9c618c27.js +0 -89
  805. package/dist/perspectiveUtils-e44e8d7d.js +0 -42
  806. package/dist/pieChart-a7decaf1.js +0 -555
  807. package/dist/plane-e6309fb6.js +0 -160
  808. package/dist/popupUtils-3e3652c3.js +0 -50
  809. package/dist/popupUtils-91a6593a.js +0 -22
  810. package/dist/portalItemUtils-9fe0753b.js +0 -57
  811. package/dist/portalLayers-c4780447.js +0 -312
  812. package/dist/portalUtils-dc516580.js +0 -7
  813. package/dist/programUtils-af41c65f.js +0 -59
  814. package/dist/project-5431a252.js +0 -21
  815. package/dist/projectPointToVector-0079622b.js +0 -14
  816. package/dist/projectVectorToVector-f0efb06b.js +0 -13
  817. package/dist/quantityUtils-de778fce.js +0 -33
  818. package/dist/quantizationUtils-2be4bff3.js +0 -68
  819. package/dist/quat-c6160033.js +0 -104
  820. package/dist/query-fcb1a91d.js +0 -89
  821. package/dist/queryAttachments-97b9756a.js +0 -39
  822. package/dist/queryEngineUtils-95bf7d7c.js +0 -21
  823. package/dist/queryTopFeatures-ce8d1ecc.js +0 -50
  824. package/dist/queryZScale-201978da.js +0 -12
  825. package/dist/rasterProjectionHelper-29c41430.js +0 -577
  826. package/dist/rasterUtils-9175fa83.js +0 -122
  827. package/dist/rasterizingUtils-83fc560b.js +0 -46
  828. package/dist/request-a1e40067.js +0 -46
  829. package/dist/requestImageUtils-176ebc00.js +0 -8
  830. package/dist/resourceExtension-7fe8f270.js +0 -17
  831. package/dist/resourceUtils-318f1fd0.js +0 -62
  832. package/dist/resourceUtils-bf624bf9.js +0 -69
  833. package/dist/resourceUtils-cba1effe.js +0 -42
  834. package/dist/saveAPIKeyUtils-c407e113.js +0 -8
  835. package/dist/saveUtils-9d95f409.js +0 -24
  836. package/dist/scaleUtils-0293f229.js +0 -23
  837. package/dist/scrim-c147b918.js +0 -114
  838. package/dist/serviceCapabilitiesUtils-98603a14.js +0 -64
  839. package/dist/sourceUtils-eec26b0e.js +0 -71
  840. package/dist/sphere-5e0ae541.js +0 -199
  841. package/dist/statsWorker-7a85b336.js +0 -37
  842. package/dist/streamLayerUtils-1b89041d.js +0 -31
  843. package/dist/styleUtils-a42848e6.js +0 -14
  844. package/dist/styleUtils-b62393b9.js +0 -75
  845. package/dist/sublayerUtils-398c21ad.js +0 -37
  846. package/dist/substitute-011c53db.js +0 -52
  847. package/dist/symbolColorUtils-37d56009.js +0 -8
  848. package/dist/symbolLayerUtils-864ff340.js +0 -31
  849. package/dist/symbologySnappingCandidates-8de8e353.js +0 -221
  850. package/dist/t9n-d9b9c6cb.js +0 -349
  851. package/dist/testSVGPremultipliedAlpha-10b2acab.js +0 -94
  852. package/dist/timeSupport-97c324f3.js +0 -410
  853. package/dist/triangle-558b5e1a.js +0 -98
  854. package/dist/unitConversionUtils-c6c847c9.js +0 -17
  855. package/dist/unitFormatUtils-b34af073.js +0 -40
  856. package/dist/uploadAssetErrors-f4548e09.js +0 -70
  857. package/dist/uploadAssets-2cf4f3df.js +0 -330
  858. package/dist/utils-2aa1ef8c.js +0 -34
  859. package/dist/utils-4e8b0dcd.js +0 -91
  860. package/dist/utils-514bee8e.js +0 -73
  861. package/dist/utils-7d755f59.js +0 -433
  862. package/dist/utils-8b01c610.js +0 -232
  863. package/dist/utils-9210b64d.js +0 -79
  864. package/dist/utils-b1ab6c91.js +0 -419
  865. package/dist/utils-f5731fc4.js +0 -2746
  866. package/dist/utils3-f341d95b.js +0 -75
  867. package/dist/vec3-7da55ff1.js +0 -81
  868. package/dist/vec42-689e76ac.js +0 -125
  869. package/dist/versionUtils-d824fad7.js +0 -161
  870. package/dist/visualVariableUtils-88773652.js +0 -267
  871. package/dist/webStyleSymbolUtils-c596a4f1.js +0 -48
  872. package/dist/webglDeps-f821d060.js +0 -23
  873. package/dist/wfsUtils-bfa5d7fa.js +0 -343
  874. package/dist/workerHelper-b0f47acf.js +0 -11
  875. package/dist/xyChart-a2e4acb8.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-a5c60841.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-f77879d5.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-4ead5b97.js";
4
- import { p as Pe } from "./labelUtils-31fc2428.js";
5
- import { Z as X } from "./FieldsIndex-cddb2b35.js";
6
- import { m as M, n as J, a as q } from "./TimeOnly-e45c6726.js";
7
- import { b as Ge, v as je, t as ke, n as Ne } from "./timeSupport-97c324f3.js";
8
- import { r as O, p as K } from "./featureConversionUtils-90914512.js";
9
- import { e as C, t as We } from "./OptimizedGeometry-3b808152.js";
10
- import { m as Le } from "./diffUtils-f967bb01.js";
11
- import { l as V } from "./highlightReasons-79f118f3.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
- };