@arcgis/core 5.1.0-next.63 → 5.1.0-next.65

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 (346) hide show
  1. package/Camera.d.ts +1 -1
  2. package/Ground.d.ts +7 -7
  3. package/PopupTemplate.d.ts +8 -8
  4. package/WebDocument2D.js +1 -1
  5. package/WebScene.d.ts +1 -1
  6. package/WebScene.js +1 -1
  7. package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
  8. package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
  9. package/analysis/LengthDimension.d.ts +4 -4
  10. package/analysis/ShadowCastAnalysis.d.ts +3 -3
  11. package/analysis/SliceAnalysis.d.ts +1 -1
  12. package/analysis/SlicePlane.d.ts +1 -1
  13. package/applications/Components/featureUtils.d.ts +24 -0
  14. package/applications/Components/featureUtils.js +1 -1
  15. package/arcade/geometry/wkt.js +1 -1
  16. package/assets/esri/core/workers/RemoteClient.js +1 -1
  17. package/assets/esri/core/workers/chunks/{8166ad6bbd7d7a8f91cf.js → 0f3b8a08f843a080af0d.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{354351ab3fc79dedf9a8.js → 4eca871ca51a59f6540a.js} +1 -1
  19. package/assets/esri/core/workers/chunks/7e97684e851274efd11f.js +1 -0
  20. package/assets/esri/core/workers/chunks/86f1aa2c108f5224d8b5.js +1 -0
  21. package/assets/esri/core/workers/chunks/b8acb6c2538053c01cc6.js +1 -0
  22. package/assets/esri/core/workers/chunks/d9d69cf2496ebe76eade.js +1 -0
  23. package/assets/esri/core/workers/chunks/{6c72dbd5275bffde1583.js → e622a23034f055de8b55.js} +1 -1
  24. package/assets/esri/core/workers/chunks/ec9d5dcf2a0a11c85341.js +1 -0
  25. package/config.js +1 -1
  26. package/effects/FocusAreas.d.ts +1 -1
  27. package/form/elements/FieldElement.d.ts +1 -1
  28. package/form/elements/GroupElement.d.ts +1 -1
  29. package/form/elements/TextElement.d.ts +1 -1
  30. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  31. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  32. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  33. package/geometry/Mesh.d.ts +7 -7
  34. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  35. package/geometry/operators/areaOperator.d.ts +1 -1
  36. package/geometry/operators/bufferOperator.d.ts +1 -1
  37. package/geometry/operators/centroidOperator.d.ts +1 -1
  38. package/geometry/operators/clipOperator.d.ts +1 -1
  39. package/geometry/operators/containsOperator.d.ts +1 -1
  40. package/geometry/operators/convexHullOperator.d.ts +1 -1
  41. package/geometry/operators/crossesOperator.d.ts +1 -1
  42. package/geometry/operators/cutOperator.d.ts +1 -1
  43. package/geometry/operators/densifyOperator.d.ts +1 -1
  44. package/geometry/operators/differenceOperator.d.ts +1 -1
  45. package/geometry/operators/disjointOperator.d.ts +1 -1
  46. package/geometry/operators/distanceOperator.d.ts +1 -1
  47. package/geometry/operators/generalizeOperator.d.ts +1 -1
  48. package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
  49. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
  50. package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
  51. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  52. package/geometry/operators/intersectionOperator.d.ts +1 -1
  53. package/geometry/operators/intersectsOperator.d.ts +1 -1
  54. package/geometry/operators/isNearOperator.d.ts +1 -1
  55. package/geometry/operators/lengthOperator.d.ts +1 -1
  56. package/geometry/operators/locateBetweenOperator.d.ts +1 -1
  57. package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
  58. package/geometry/operators/offsetOperator.d.ts +5 -5
  59. package/geometry/operators/overlapsOperator.d.ts +1 -1
  60. package/geometry/operators/proximityOperator.d.ts +1 -1
  61. package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
  62. package/geometry/operators/simplifyOperator.d.ts +1 -1
  63. package/geometry/operators/support/Transformation.d.ts +6 -6
  64. package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
  65. package/geometry/operators/touchesOperator.d.ts +1 -1
  66. package/geometry/operators/unionOperator.d.ts +1 -1
  67. package/geometry/operators/withinOperator.d.ts +1 -1
  68. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  69. package/geometry/support/vcsData.js +2 -0
  70. package/geometry/support/vcsLookup.js +2 -0
  71. package/kernel.js +1 -1
  72. package/layers/BuildingSceneLayer.d.ts +4 -4
  73. package/layers/CSVLayer.d.ts +2 -2
  74. package/layers/CatalogLayer.d.ts +2 -2
  75. package/layers/ElevationLayer.d.ts +1 -1
  76. package/layers/FeatureLayer.d.ts +2 -2
  77. package/layers/GeoJSONLayer.d.ts +2 -2
  78. package/layers/GeoRSSLayer.d.ts +1 -1
  79. package/layers/GraphicsLayer.d.ts +2 -2
  80. package/layers/ImageryLayer.d.ts +3 -3
  81. package/layers/ImageryTileLayer.d.ts +2 -2
  82. package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
  83. package/layers/IntegratedMeshLayer.d.ts +7 -7
  84. package/layers/MapImageLayer.d.ts +1 -1
  85. package/layers/MediaLayer.d.ts +1 -1
  86. package/layers/OGCFeatureLayer.d.ts +2 -2
  87. package/layers/PointCloudLayer.d.ts +1 -1
  88. package/layers/SceneLayer.d.ts +9 -9
  89. package/layers/StreamLayer.d.ts +2 -2
  90. package/layers/VectorTileLayer.d.ts +2 -2
  91. package/layers/VideoLayer.d.ts +1 -1
  92. package/layers/VoxelLayer.d.ts +8 -8
  93. package/layers/WFSLayer.d.ts +6 -6
  94. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  95. package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
  96. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  97. package/layers/mixins/ArcGISImageService.js +1 -1
  98. package/layers/mixins/BlendLayer.d.ts +6 -6
  99. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  100. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  101. package/layers/support/DimensionalDefinition.d.ts +2 -2
  102. package/layers/support/FeatureEffect.d.ts +4 -4
  103. package/layers/support/FeatureFilter.d.ts +17 -17
  104. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  105. package/layers/support/FeatureReductionCluster.d.ts +9 -9
  106. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  107. package/layers/support/LabelClass.d.ts +2 -2
  108. package/layers/support/RasterFunction.d.ts +1 -1
  109. package/layers/support/SceneFilter.d.ts +2 -2
  110. package/layers/support/SceneModification.d.ts +3 -3
  111. package/layers/support/capabilities.js +1 -1
  112. package/layers/support/featureLayerUtils.js +1 -1
  113. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  114. package/layers/types.d.ts +6 -0
  115. package/package.json +1 -1
  116. package/popup/Feature.d.ts +6 -6
  117. package/popup/Feature.js +1 -1
  118. package/popup/Features.d.ts +3 -14
  119. package/popup/Features.js +1 -1
  120. package/popup/content/AttachmentsContent.d.ts +1 -1
  121. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  122. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  123. package/popup/content/FieldsContent.d.ts +1 -1
  124. package/popup/content/ImageMediaInfo.d.ts +1 -1
  125. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  126. package/popup/content/MediaContent.d.ts +1 -1
  127. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  128. package/popup/content/RelationshipContent.d.ts +1 -1
  129. package/popup/content/TextContent.d.ts +1 -1
  130. package/popup/support/featureUtils.js +1 -1
  131. package/popup/types.d.ts +193 -8
  132. package/portal/schemas/definitions.js +1 -1
  133. package/renderers/ClassBreaksRenderer.d.ts +1 -1
  134. package/renderers/DictionaryRenderer.d.ts +1 -1
  135. package/renderers/DotDensityRenderer.d.ts +3 -3
  136. package/renderers/FlowRenderer.d.ts +5 -5
  137. package/renderers/HeatmapRenderer.d.ts +3 -3
  138. package/renderers/PieChartRenderer.d.ts +1 -1
  139. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  140. package/renderers/Renderer.d.ts +4 -4
  141. package/renderers/SimpleRenderer.d.ts +2 -2
  142. package/renderers/UniqueValueRenderer.d.ts +2 -2
  143. package/renderers/VectorFieldRenderer.d.ts +1 -1
  144. package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
  145. package/renderers/visualVariables/ColorVariable.d.ts +1 -1
  146. package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
  147. package/renderers/visualVariables/RotationVariable.d.ts +1 -1
  148. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  149. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  150. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  151. package/rest/support/AttributeBinsQuery.d.ts +8 -8
  152. package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
  153. package/rest/support/DateBinParameters.d.ts +1 -1
  154. package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
  155. package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
  156. package/rest/support/Query.d.ts +8 -8
  157. package/rest/support/TopFeaturesQuery.d.ts +8 -8
  158. package/smartMapping/labels/clusters.d.ts +1 -1
  159. package/smartMapping/popup/clusters.d.ts +2 -2
  160. package/smartMapping/popup/templates.d.ts +1 -1
  161. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  162. package/smartMapping/renderers/color.d.ts +12 -12
  163. package/smartMapping/renderers/predominance.d.ts +3 -3
  164. package/smartMapping/renderers/relationship.d.ts +15 -15
  165. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  166. package/smartMapping/symbology/color.d.ts +4 -4
  167. package/smartMapping/symbology/flow.d.ts +2 -2
  168. package/smartMapping/symbology/types.d.ts +18 -18
  169. package/support/actions/ActionButton.d.ts +1 -1
  170. package/support/revision.js +1 -1
  171. package/symbols/CIMSymbol.d.ts +1 -1
  172. package/symbols/ExtrudeSymbol3DLayer.d.ts +1 -1
  173. package/symbols/FillSymbol3DLayer.d.ts +3 -3
  174. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  175. package/symbols/LabelSymbol3D.d.ts +2 -2
  176. package/symbols/LineStyleMarker3D.d.ts +7 -7
  177. package/symbols/LineSymbol3D.d.ts +2 -2
  178. package/symbols/LineSymbol3DLayer.d.ts +7 -7
  179. package/symbols/LineSymbolMarker.d.ts +6 -6
  180. package/symbols/MarkerSymbol.d.ts +1 -1
  181. package/symbols/MeshSymbol3D.d.ts +2 -2
  182. package/symbols/ObjectSymbol3DLayer.d.ts +1 -1
  183. package/symbols/PathSymbol3DLayer.d.ts +14 -14
  184. package/symbols/PictureFillSymbol.d.ts +1 -1
  185. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  186. package/symbols/PointSymbol3D.d.ts +3 -3
  187. package/symbols/PolygonSymbol3D.d.ts +5 -5
  188. package/symbols/SimpleFillSymbol.d.ts +8 -8
  189. package/symbols/SimpleLineSymbol.d.ts +20 -20
  190. package/symbols/SimpleMarkerSymbol.d.ts +7 -7
  191. package/symbols/Symbol3DLayer.d.ts +16 -16
  192. package/symbols/TextSymbol.d.ts +1 -1
  193. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  194. package/symbols/WaterSymbol3DLayer.d.ts +3 -3
  195. package/symbols/WebStyleSymbol.d.ts +12 -12
  196. package/symbols/callouts/Callout3D.d.ts +1 -1
  197. package/symbols/callouts/LineCallout3D.d.ts +3 -3
  198. package/symbols/cim/types.d.ts +23 -23
  199. package/symbols/edges/Edges3D.d.ts +1 -1
  200. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  201. package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
  202. package/symbols/patterns/StylePattern3D.d.ts +8 -8
  203. package/symbols/support/ElevationInfo.d.ts +2 -2
  204. package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
  205. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
  206. package/symbols/support/Symbol3DEmissive.d.ts +2 -2
  207. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  208. package/views/2d/engine/flow/FlowStrategy.js +1 -1
  209. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  210. package/views/2d/engine/flow/styles/Particles.js +1 -1
  211. package/views/2d/engine/flow/styles/Stack.js +1 -1
  212. package/views/2d/engine/flow/styles/Streamlines.js +1 -1
  213. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  214. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  215. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  216. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  217. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  218. package/views/2d/types.d.ts +3 -3
  219. package/views/3d/FocusAreasView.js +1 -1
  220. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  221. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  222. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  223. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  224. package/views/3d/environment/Environment.d.ts +4 -4
  225. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  226. package/views/3d/environment/RainyWeather.d.ts +1 -1
  227. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  228. package/views/3d/environment/SunLighting.d.ts +1 -1
  229. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  230. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  231. package/views/3d/layers/graphics/extrudeUtils.js +1 -1
  232. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  233. package/views/3d/webgl/RenderNode.d.ts +2 -2
  234. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  235. package/views/3d/webgl-engine/lib/CutFillComputationRenderNode.js +1 -1
  236. package/views/3d/webgl-engine/lib/CutFillVisualizationRenderNode.js +1 -1
  237. package/views/3d/webgl.d.ts +1 -1
  238. package/views/Magnifier.d.ts +3 -3
  239. package/views/MapView.d.ts +7 -7
  240. package/views/SceneView.d.ts +16 -16
  241. package/views/View.d.ts +17 -3
  242. package/views/View.js +1 -1
  243. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  244. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  245. package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
  246. package/views/layers/LineOfSightLayerView.d.ts +3 -2
  247. package/views/support/HighlightOptions.d.ts +1 -1
  248. package/views/types.d.ts +59 -2
  249. package/views/ui/DefaultUI.d.ts +2 -2
  250. package/webscene/Environment.d.ts +10 -10
  251. package/webscene/Glow.d.ts +1 -1
  252. package/webscene/background/ColorBackground.d.ts +1 -1
  253. package/widgets/AreaMeasurement2D.d.ts +1 -1
  254. package/widgets/AreaMeasurement3D.d.ts +2 -2
  255. package/widgets/Attachments.d.ts +1 -1
  256. package/widgets/Attribution.d.ts +1 -1
  257. package/widgets/BasemapGallery.d.ts +1 -1
  258. package/widgets/BasemapLayerList.d.ts +3 -3
  259. package/widgets/BasemapToggle.d.ts +1 -1
  260. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
  261. package/widgets/Bookmarks.d.ts +2 -2
  262. package/widgets/BuildingExplorer.d.ts +1 -1
  263. package/widgets/CatalogLayerList.d.ts +3 -3
  264. package/widgets/Compass.d.ts +2 -2
  265. package/widgets/CoordinateConversion.d.ts +1 -1
  266. package/widgets/Daylight.d.ts +5 -5
  267. package/widgets/DirectLineMeasurement3D.d.ts +2 -2
  268. package/widgets/Directions.d.ts +4 -4
  269. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  270. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  271. package/widgets/Editor.d.ts +8 -8
  272. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  273. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  274. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  275. package/widgets/ElevationProfile.d.ts +3 -3
  276. package/widgets/Expand.d.ts +1 -1
  277. package/widgets/FeatureForm.d.ts +1 -1
  278. package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
  279. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  280. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
  281. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  282. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  283. package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
  284. package/widgets/FeatureTable.d.ts +10 -10
  285. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
  286. package/widgets/FeatureTemplates.d.ts +8 -8
  287. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  288. package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
  289. package/widgets/Features.d.ts +1 -1
  290. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  291. package/widgets/FloorFilter.d.ts +2 -2
  292. package/widgets/Histogram.d.ts +2 -2
  293. package/widgets/HistogramRangeSlider.d.ts +1 -1
  294. package/widgets/Home.d.ts +1 -1
  295. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  296. package/widgets/LayerList.d.ts +4 -4
  297. package/widgets/Legend.d.ts +8 -8
  298. package/widgets/LineOfSight.d.ts +1 -1
  299. package/widgets/Locate.d.ts +2 -2
  300. package/widgets/Measurement.d.ts +1 -1
  301. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  302. package/widgets/NavigationToggle.d.ts +3 -3
  303. package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
  304. package/widgets/Popup.d.ts +5 -5
  305. package/widgets/Print/CustomTemplate.d.ts +1 -1
  306. package/widgets/Print/TemplateOptions.d.ts +4 -4
  307. package/widgets/ScaleRangeSlider.d.ts +1 -1
  308. package/widgets/Search/SearchViewModel.d.ts +4 -4
  309. package/widgets/Search.d.ts +5 -5
  310. package/widgets/ShadowCast.d.ts +3 -3
  311. package/widgets/Sketch/SketchViewModel.d.ts +39 -39
  312. package/widgets/Sketch.d.ts +43 -43
  313. package/widgets/Slice.d.ts +2 -2
  314. package/widgets/Slider/SliderViewModel.d.ts +2 -2
  315. package/widgets/Slider.d.ts +9 -9
  316. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  317. package/widgets/Swipe.d.ts +2 -2
  318. package/widgets/TableList/ListItemPanel.d.ts +1 -1
  319. package/widgets/TableList.d.ts +1 -1
  320. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +10 -10
  321. package/widgets/TimeSlider/TimeSliderViewModel.js +1 -1
  322. package/widgets/TimeSlider/types.d.ts +1 -1
  323. package/widgets/TimeSlider.d.ts +13 -13
  324. package/widgets/Track.d.ts +2 -2
  325. package/widgets/UtilityNetworkAssociations.d.ts +3 -3
  326. package/widgets/UtilityNetworkTrace.d.ts +4 -4
  327. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  328. package/widgets/ValuePicker.d.ts +5 -5
  329. package/widgets/VideoPlayer.d.ts +1 -1
  330. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  331. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  332. package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
  333. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  334. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  335. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  336. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  337. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
  338. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
  339. package/widgets/support/GridControls.d.ts +1 -1
  340. package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
  341. package/widgets/support/SnappingControls.d.ts +6 -6
  342. package/assets/esri/core/workers/chunks/2aaeaf022af8493281dc.js +0 -1
  343. package/assets/esri/core/workers/chunks/2d92ba11781a3cfc3a78.js +0 -1
  344. package/assets/esri/core/workers/chunks/5c6e5f22450dd0583074.js +0 -1
  345. package/assets/esri/core/workers/chunks/75f7c1f600c4051bc905.js +0 -1
  346. package/assets/esri/core/workers/chunks/ee8cd91c27e9cdfc3b2e.js +0 -1
@@ -447,7 +447,7 @@ export interface CIMGeometricEffectAddControlPoints extends CIMGeometricEffectBa
447
447
  *
448
448
  * The following image shows what the effect defined in the code snippet above looks like on a [CIMSolidStroke](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSolidStroke) symbol layer.
449
449
  *
450
- * ![CIMGeometricEffectArrow](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectArrow.png)
450
+ * ![CIMGeometricEffectArrow](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectArrow.avif)
451
451
  *
452
452
  * @since 4.16
453
453
  * @see [CIMGeometricEffect](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMGeometricEffect)
@@ -480,7 +480,7 @@ export interface CIMGeometricEffectArrow extends CIMGeometricEffectBase {
480
480
  * ```
481
481
  * The following image shows what the effect defined in the code snippet above looks like on a [CIMSolidStroke](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSolidStroke) symbol layer.
482
482
  *
483
- * ![CIMGeometricEffectBuffer](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectBuffer.png)
483
+ * ![CIMGeometricEffectBuffer](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectBuffer.avif)
484
484
  *
485
485
  * @since 4.16
486
486
  * @see [CIMGeometricEffect](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMGeometricEffect)
@@ -527,7 +527,7 @@ export interface CIMGeometricEffectControlMeasureLine extends CIMGeometricEffect
527
527
  *
528
528
  * The following image shows what the effect defined in the code snippet above looks like on a [CIMSolidStroke](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSolidStroke) symbol layer.
529
529
  *
530
- * ![CIMGeometricEffectCut](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectCut.png)
530
+ * ![CIMGeometricEffectCut](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectCut.avif)
531
531
  *
532
532
  * @since 4.16
533
533
  * @see [CIMGeometricEffect](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMGeometricEffect)
@@ -579,7 +579,7 @@ export interface CIMGeometricEffectCut extends CIMGeometricEffectBase {
579
579
  *
580
580
  * The following image shows what the effect defined in the code snippet above looks like on a [CIMSolidStroke](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSolidStroke) symbol layer.
581
581
  *
582
- * ![CIMGeometricEffectDashes](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectDashes.png)
582
+ * ![CIMGeometricEffectDashes](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectDashes.avif)
583
583
  *
584
584
  * @since 4.16
585
585
  * @see [CIMGeometricEffect](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMGeometricEffect)
@@ -678,7 +678,7 @@ export interface CIMGeometricEffectEnclosingPolygon extends CIMGeometricEffectBa
678
678
  *
679
679
  * The image below shows a [CIMSolidStroke](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSolidStroke) symbol layer with the `CIMGeometricEffectJog` effect applied as defined in the snippet above.
680
680
  *
681
- * ![CIMGeometricEffectJog](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectJog.png)
681
+ * ![CIMGeometricEffectJog](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectJog.avif)
682
682
  *
683
683
  * @since 4.16
684
684
  * @see [CIMGeometricEffect](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMGeometricEffect)
@@ -943,7 +943,7 @@ export interface CIMGeometricEffectTaperedPolygon extends CIMGeometricEffectBase
943
943
  *
944
944
  * The image below shows a [CIMSolidStroke](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSolidStroke) symbol layer with the `CIMGeometricEffectWave` effect applied as defined in the snippet above.
945
945
  *
946
- * ![CIMGeometricEffectWave](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectWave.png)
946
+ * ![CIMGeometricEffectWave](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMGeometricEffectWave.avif)
947
947
  *
948
948
  * @since 4.16
949
949
  * @see [CIMGeometricEffect](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMGeometricEffect)
@@ -1205,7 +1205,7 @@ export interface CIMGradientStroke extends CIMStroke {
1205
1205
  * ```
1206
1206
  *
1207
1207
  * The following image shows a [CIMPolygonSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMPolygonSymbol) with a `CIMHatchFill` symbol layer (as defined in the code snippet above).
1208
- * ![CIMHatchFill](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMHatchFill.png)
1208
+ * ![CIMHatchFill](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMHatchFill.avif)
1209
1209
  *
1210
1210
  * @since 5.0
1211
1211
  * @see [CIMSymbolLayer](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSymbolLayer)
@@ -1378,7 +1378,7 @@ export interface CIMMultiLayerSymbol extends CIMSymbol {
1378
1378
  * [CIMSolidStroke](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSolidStroke) symbol layer with a
1379
1379
  * [dash effect](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMGeometricEffectDashes) on top of another CIMSolidStroke layer as shown below.
1380
1380
  *
1381
- * ![CIMLineSymbol](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol-cim-line.png)
1381
+ * ![CIMLineSymbol](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol-cim-line.avif)
1382
1382
  *
1383
1383
  * ```js
1384
1384
  * const lineSymbol = new CIMSymbol({
@@ -1572,7 +1572,7 @@ export interface CIMMarkerPlacementAlongLine extends CIMMarkerStrokePlacement {
1572
1572
  *
1573
1573
  * The following image shows what the marker placement defined in the code snippet above looks like on a circular [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol layer.
1574
1574
  *
1575
- * ![CIMMarkerPlacementAlongLineSameSize](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementAlongLineSameSize.png)
1575
+ * ![CIMMarkerPlacementAlongLineSameSize](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementAlongLineSameSize.avif)
1576
1576
  *
1577
1577
  * @since 5.0
1578
1578
  * @see [CIMMarkerPlacement](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerPlacement)
@@ -1598,7 +1598,7 @@ export interface CIMMarkerPlacementAlongLineSameSize extends CIMMarkerPlacementA
1598
1598
  *
1599
1599
  * The following image shows what the marker placement defined in the code snippet above looks like on a circular [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol layer.
1600
1600
  *
1601
- * ![CIMMarkerPlacementAtExtremities](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementAtExtremities.png)
1601
+ * ![CIMMarkerPlacementAtExtremities](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementAtExtremities.avif)
1602
1602
  *
1603
1603
  * @since 5.0
1604
1604
  * @see [CIMMarkerPlacement](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerPlacement)
@@ -1639,7 +1639,7 @@ export interface CIMMarkerPlacementAtExtremities extends CIMMarkerStrokePlacemen
1639
1639
  *
1640
1640
  * The following image shows what the marker placement defined in the code snippet above looks like on a circular [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol layer.
1641
1641
  *
1642
- * ![CIMMarkerPlacementAtRatioPositions](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementAtRatioPositions.png)
1642
+ * ![CIMMarkerPlacementAtRatioPositions](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementAtRatioPositions.avif)
1643
1643
  *
1644
1644
  * @since 5.0
1645
1645
  * @see [CIMMarkerPlacement](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerPlacement)
@@ -1700,7 +1700,7 @@ export interface CIMMarkerFillPlacement extends CIMMarkerPlacementBase {}
1700
1700
  *
1701
1701
  * The following image shows what the marker placement defined in the code snippet above looks like on a circular [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol layer.
1702
1702
  *
1703
- * ![CIMMarkerPlacementInsidePolygon](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementInsidePolygon.png)
1703
+ * ![CIMMarkerPlacementInsidePolygon](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementInsidePolygon.avif)
1704
1704
  *
1705
1705
  * @since 5.0
1706
1706
  * @see [CIMMarkerPlacement](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerPlacement)
@@ -1787,7 +1787,7 @@ export interface CIMMarkerPlacementInsidePolygon extends CIMMarkerFillPlacement
1787
1787
  *
1788
1788
  * The following image shows what the marker placement defined in the code snippet above looks like on a circular [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol layer.
1789
1789
  *
1790
- * ![CIMMarkerPlacementOnLine](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementOnLine.png)
1790
+ * ![CIMMarkerPlacementOnLine](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementOnLine.avif)
1791
1791
  *
1792
1792
  * @since 5.0
1793
1793
  * @see [CIMMarkerPlacement](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerPlacement)
@@ -1826,7 +1826,7 @@ export interface CIMMarkerPlacementOnLine extends CIMMarkerStrokePlacement {
1826
1826
  *
1827
1827
  * The following image shows what the marker placement defined in the code snippet above looks like on a circular [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol layer.
1828
1828
  *
1829
- * ![CIMMarkerPlacementOnVertices](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementOnVertices.png)
1829
+ * ![CIMMarkerPlacementOnVertices](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementOnVertices.avif)
1830
1830
  *
1831
1831
  * @since 5.0
1832
1832
  * @see [CIMMarkerPlacement](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerPlacement)
@@ -1872,7 +1872,7 @@ export interface CIMMarkerPlacementOnVertices extends CIMMarkerStrokePlacement {
1872
1872
  *
1873
1873
  * The following image shows what the marker placement defined in the code snippet above looks like on a circular [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol layer.
1874
1874
  *
1875
- * ![CIMMarkerPlacementPolygonCenter](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementPolygonCenter.png)
1875
+ * ![CIMMarkerPlacementPolygonCenter](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMMarkerPlacementPolygonCenter.avif)
1876
1876
  *
1877
1877
  * @since 5.0
1878
1878
  * @see [CIMMarkerPlacement](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerPlacement)
@@ -1915,7 +1915,7 @@ export interface CIMMarkerPlacementPolygonCenter extends CIMMarkerFillPlacement
1915
1915
  *
1916
1916
  * The following image shows a [CIMPolygonSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMPolygonSymbol) with two `CIMPictureFill` symbol layers and a [CIMSolidFill](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMSolidFill) symbol layer (as defined in the code snippet below).
1917
1917
  *
1918
- * ![CIMPictureFill](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMPictureFill.png)
1918
+ * ![CIMPictureFill](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMPictureFill.avif)
1919
1919
  *
1920
1920
  * ```json
1921
1921
  * {
@@ -2017,7 +2017,7 @@ export interface CIMPictureFill extends CIMFill {
2017
2017
  *
2018
2018
  * The following image shows a `CIMPictureMarker` symbol layer (as defined in the code snippet below).
2019
2019
  *
2020
- * ![CIMPictureMarker](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMPictureMarker.png)
2020
+ * ![CIMPictureMarker](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMPictureMarker.avif)
2021
2021
  *
2022
2022
  * ```json
2023
2023
  * {
@@ -2369,7 +2369,7 @@ export interface CIMPictureStroke extends CIMStroke {
2369
2369
  * with one [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol
2370
2370
  * layer which contains a triangle [marker graphic](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerGraphic) as shown below.
2371
2371
  *
2372
- * ![CIMSymbol](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol-cim.png)
2372
+ * ![CIMSymbol](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol-cim.avif)
2373
2373
  *
2374
2374
  * ```js
2375
2375
  * const symbol = new CIMSymbol({
@@ -2452,7 +2452,7 @@ export interface CIMPointSymbol extends CIMMultiLayerSymbol {
2452
2452
  * The code snippet below shows an example of a `CIMPolygonSymbol`
2453
2453
  * with [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbols placed inside the polygon.
2454
2454
  *
2455
- * ![CIMPolygonWithMarkers](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol-cim-marker-polygon.png)
2455
+ * ![CIMPolygonWithMarkers](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol-cim-marker-polygon.avif)
2456
2456
  *
2457
2457
  * ```js
2458
2458
  * const markerPolygonSymbol = new CIMSymbol({
@@ -2531,7 +2531,7 @@ export interface CIMPolygonSymbol extends CIMMultiLayerSymbol {
2531
2531
  *
2532
2532
  * The following image shows a [CIMPolygonSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMPolygonSymbol) with a CIMSolidFill symbol layer (as defined in the code snippet below).
2533
2533
  *
2534
- * ![CIMSolidFill](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMSolidFill.png)
2534
+ * ![CIMSolidFill](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMSolidFill.avif)
2535
2535
  *
2536
2536
  * ```json
2537
2537
  * {
@@ -2566,7 +2566,7 @@ export interface CIMSolidFill extends CIMFill {
2566
2566
  *
2567
2567
  * The following image shows a [CIMLineSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMLineSymbol) with a CIMSolidStroke symbol layer (as defined in the code snippet below).
2568
2568
  *
2569
- * ![CIMSolidStroke](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMSolidStroke.png)
2569
+ * ![CIMSolidStroke](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMSolidStroke.avif)
2570
2570
  *
2571
2571
  * ```json
2572
2572
  * {
@@ -2606,7 +2606,7 @@ export interface CIMSolidStroke extends CIMStroke {
2606
2606
  *
2607
2607
  * The code snippet below shows an example of a `CIMTextSymbol` as a [marker graphic](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMMarkerGraphic) inside a [CIMVectorMarker](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMVectorMarker) symbol layer.
2608
2608
  *
2609
- * ![CIMTextSymbol](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMTextSymbol.png)
2609
+ * ![CIMTextSymbol](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMTextSymbol.avif)
2610
2610
  *
2611
2611
  * ```json
2612
2612
  * {
@@ -2759,7 +2759,7 @@ export interface CIMTextSymbol extends CIMSymbol {
2759
2759
  *
2760
2760
  * The following image shows a [CIMPointSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/cim/types/#CIMPointSymbol) with a CIMVectorMarker symbol layer (as defined in the code snippet below).
2761
2761
  *
2762
- * ![CIMVectorMarker](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMVectorMarker.png)
2762
+ * ![CIMVectorMarker](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/cim/CIMVectorMarker.avif)
2763
2763
  *
2764
2764
  * ```json
2765
2765
  * {
@@ -32,7 +32,7 @@ export interface Edges3DProperties {
32
32
  *
33
33
  * Currently only edges of type `solid` and `sketch` are supported. See [SolidEdges3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/edges/SolidEdges3D/) and [SketchEdges3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/edges/SketchEdges3D/).
34
34
  *
35
- * [![symbol3D-edges](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3d-edges.png)](https://developers.arcgis.com/javascript/latest/sample-code/layers-scenelayer-edges/)
35
+ * [![symbol3D-edges](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3d-edges.avif)](https://developers.arcgis.com/javascript/latest/sample-code/layers-scenelayer-edges/)
36
36
  *
37
37
  * @since 4.7
38
38
  */
@@ -8,7 +8,7 @@ export interface SolidEdges3DProperties extends Edges3DProperties {}
8
8
  * polygons or mesh geometries with a solid line. It can be used to emphasize the form of 3D objects and to improve the
9
9
  * three-dimensional spatial understanding.
10
10
  *
11
- * ![symbol3D-edges-solid](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3d-edges-solid.png)
11
+ * ![symbol3D-edges-solid](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3d-edges-solid.avif)
12
12
  *
13
13
  * This symbol can only be set on the [FillSymbol3DLayer.edges](https://developers.arcgis.com/javascript/latest/references/core/symbols/FillSymbol3DLayer/#edges) within a [MeshSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/MeshSymbol3D/)
14
14
  * or on the [ExtrudeSymbol3DLayer.edges](https://developers.arcgis.com/javascript/latest/references/core/symbols/ExtrudeSymbol3DLayer/#edges) on [PolygonSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/PolygonSymbol3D/).
@@ -33,18 +33,18 @@ export default class LineStylePattern3D extends LinePattern3D {
33
33
  *
34
34
  * Value | Description
35
35
  * ------|-------------
36
- * dash | ![sls-dash](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-dash.png)
37
- * dash-dot | ![sls-dash-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-dash-dot.png)
38
- * dot | ![sls-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-dot.png)
39
- * long-dash | ![sls-long-dash](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-long-dash.png)
40
- * long-dash-dot | ![sls-long-dash-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-long-dash-dot.png)
41
- * long-dash-dot-dot | ![sls-dash-dot-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-dash-dot-dot.png)
36
+ * dash | ![sls-dash](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-dash.avif)
37
+ * dash-dot | ![sls-dash-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-dash-dot.avif)
38
+ * dot | ![sls-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-dot.avif)
39
+ * long-dash | ![sls-long-dash](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-long-dash.avif)
40
+ * long-dash-dot | ![sls-long-dash-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-long-dash-dot.avif)
41
+ * long-dash-dot-dot | ![sls-dash-dot-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-dash-dot-dot.avif)
42
42
  * none | The line has no symbol.
43
- * short-dash | ![sls-short-dash](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-short-dash.png)
44
- * short-dash-dot | ![sls-short-dash-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-short-dash-dot.png)
45
- * short-dash-dot-dot | ![sls-short-dash-dot-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-short-dash-dot-dot.png)
46
- * short-dot | ![sls-short-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-short-dot.png)
47
- * solid | ![sls-solid](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-solid.png)
43
+ * short-dash | ![sls-short-dash](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-short-dash.avif)
44
+ * short-dash-dot | ![sls-short-dash-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-short-dash-dot.avif)
45
+ * short-dash-dot-dot | ![sls-short-dash-dot-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-short-dash-dot-dot.avif)
46
+ * short-dot | ![sls-short-dot](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-short-dot.avif)
47
+ * solid | ![sls-solid](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sls-solid.avif)
48
48
  *
49
49
  * @default "solid"
50
50
  */
@@ -6,7 +6,7 @@ export interface StylePattern3DProperties extends Partial<Pick<StylePattern3D, "
6
6
  /**
7
7
  * Renders polygons with predefined style pattern fills.
8
8
  *
9
- * [![polygon-patterns](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/polygon-patterns.png)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-polygon-patterns/)
9
+ * [![polygon-patterns](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/polygon-patterns.avif)](https://developers.arcgis.com/javascript/latest/sample-code/visualization-polygon-patterns/)
10
10
  *
11
11
  * @since 4.17
12
12
  * @see [FillSymbol3DLayer](https://developers.arcgis.com/javascript/latest/references/core/symbols/FillSymbol3DLayer/)
@@ -33,14 +33,14 @@ export default class StylePattern3D extends Pattern3D {
33
33
  *
34
34
  * Value | Description
35
35
  * ------|-------------
36
- * backward-diagonal | ![sfs-backward-diagonal](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-backward-diagonal.png)
37
- * cross | ![sfs-cross](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-cross.png)
38
- * diagonal-cross | ![sfs-diagonal-cross](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-diagonal-cross.png)
39
- * forward-diagonal | ![sfs-forward-diagonal](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-forward-diagonal.png)
40
- * horizontal | ![sfs-horizontal](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-horizontal.png)
36
+ * backward-diagonal | ![sfs-backward-diagonal](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-backward-diagonal.avif)
37
+ * cross | ![sfs-cross](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-cross.avif)
38
+ * diagonal-cross | ![sfs-diagonal-cross](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-diagonal-cross.avif)
39
+ * forward-diagonal | ![sfs-forward-diagonal](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-forward-diagonal.avif)
40
+ * horizontal | ![sfs-horizontal](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-horizontal.avif)
41
41
  * none | The polygon has no fill.
42
- * solid | ![sfs-solid](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-solid.png)
43
- * vertical | ![sfs-vertical](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-vertical.png)
42
+ * solid | ![sfs-solid](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-solid.avif)
43
+ * vertical | ![sfs-vertical](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols-sfs-vertical.avif)
44
44
  *
45
45
  * @default "solid"
46
46
  */
@@ -13,7 +13,7 @@ export interface ElevationInfoProperties<Modes extends ElevationInfoMode = Eleva
13
13
  * If the geometry consists of multiple points (e.g. lines or polygons), the elevation is evaluated
14
14
  * separately for each point. See the table below for a list of possible values.
15
15
  *
16
- * ![elevation-info](https://developers.arcgis.com/javascript/latest/assets/references/core/layers/elevation-info.png)
16
+ * ![elevation-info](https://developers.arcgis.com/javascript/latest/assets/references/core/layers/elevation-info.avif)
17
17
  *
18
18
  * Mode | Description
19
19
  * ------|------------
@@ -52,7 +52,7 @@ export default class ElevationInfo<Modes extends ElevationInfoMode = ElevationIn
52
52
  * If the geometry consists of multiple points (e.g. lines or polygons), the elevation is evaluated
53
53
  * separately for each point. See the table below for a list of possible values.
54
54
  *
55
- * ![elevation-info](https://developers.arcgis.com/javascript/latest/assets/references/core/layers/elevation-info.png)
55
+ * ![elevation-info](https://developers.arcgis.com/javascript/latest/assets/references/core/layers/elevation-info.avif)
56
56
  *
57
57
  * Mode | Description
58
58
  * ------|------------
@@ -21,12 +21,12 @@ export default class IconSymbol3DLayerResource extends JSONSupport {
21
21
  *
22
22
  * Value | Description
23
23
  * ------|------------
24
- * circle | ![s3d-icon-circle](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-circle.png)
25
- * square | ![s3d-icon-square](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-square.png)
26
- * cross | ![s3d-icon-cross](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-cross.png)
27
- * x | ![s3d-icon-x](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-x.png)
28
- * kite | ![s3d-icon-kite](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-kite.png)
29
- * triangle | ![s3d-icon-triangle](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-triangle.png)
24
+ * circle | ![s3d-icon-circle](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-circle.avif)
25
+ * square | ![s3d-icon-square](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-square.avif)
26
+ * cross | ![s3d-icon-cross](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-cross.avif)
27
+ * x | ![s3d-icon-x](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-x.avif)
28
+ * kite | ![s3d-icon-kite](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-kite.avif)
29
+ * triangle | ![s3d-icon-triangle](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-icon-triangle.avif)
30
30
  *
31
31
  * @since 5.0
32
32
  */
@@ -23,13 +23,13 @@ export default class ObjectSymbol3DLayerResource extends JSONSupport {
23
23
  *
24
24
  * Value | Description
25
25
  * ------|------------
26
- * sphere | ![s3d-object-sphere](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-sphere.png)
27
- * cylinder | ![s3d-object-cylinder](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cylinder.png)
28
- * cube | ![s3d-object-cube](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cube.png)
29
- * cone | ![s3d-object-cone](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cone.png)
30
- * inverted-cone | ![s3d-object-inverted-cone](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-inverted-cone.png)
31
- * diamond | ![s3d-object-diamond](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-diamond.png)
32
- * tetrahedron | ![s3d-object-tetrahedron](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-tetrahedron.png)
26
+ * sphere | ![s3d-object-sphere](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-sphere.avif)
27
+ * cylinder | ![s3d-object-cylinder](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cylinder.avif)
28
+ * cube | ![s3d-object-cube](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cube.avif)
29
+ * cone | ![s3d-object-cone](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cone.avif)
30
+ * inverted-cone | ![s3d-object-inverted-cone](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-inverted-cone.avif)
31
+ * diamond | ![s3d-object-diamond](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-diamond.avif)
32
+ * tetrahedron | ![s3d-object-tetrahedron](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-tetrahedron.avif)
33
33
  *
34
34
  * @since 5.0
35
35
  */
@@ -73,7 +73,7 @@ export class Symbol3DEmissive extends Symbol3DEmissiveSuperclass {
73
73
  * setting source to `"emissive"` has no effect. To make these elements emissive, set source to `"color"` to make them
74
74
  * emit light in their combined color.
75
75
  *
76
- * | ![glow1](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength1.png) | ![glow1](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/sourceColorNoColor.png) |
76
+ * | ![glow1](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength1.avif) | ![glow1](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/sourceColorNoColor.avif) |
77
77
  * |----------|-----------|
78
78
  * | `source: "emissive"` | `source: "color"` |
79
79
  * | Emissive color from glTF emissive texture. | Emissive color uses glTF color texture. All glTF emissive textures and factors are ignored. |
@@ -91,7 +91,7 @@ export class Symbol3DEmissive extends Symbol3DEmissiveSuperclass {
91
91
  * Increasing [strength](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/Symbol3DEmissive/#strength) makes emissive elements appear more prominent and can
92
92
  * amplify their visual impact when the optional [Glow](https://developers.arcgis.com/javascript/latest/references/core/webscene/Glow/) effect is enabled.
93
93
  *
94
- * | ![glowNull](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength0.png) | ![glow0](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength1.png) | ![glow1](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength2.png) |
94
+ * | ![glowNull](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength0.avif) | ![glow0](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength1.avif) | ![glow1](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength2.avif) |
95
95
  * |---------- | ----------- | ----------- |
96
96
  * | `strength: 0` | `strength: 1` | `strength: 2` |
97
97
  * | Turn off all emissive parts of theater sign. | Display theater sign with its emissive parts in original strength. | Higher strength increases the amount of emitted light. |
@@ -25,7 +25,7 @@ export default class Symbol3DVerticalOffset extends JSONSupport {
25
25
  *
26
26
  * In the following animation the green symbols have `maxWorldLength = 50` and orange symbols don't have `maxWorldLength` set:
27
27
  *
28
- * ![maxWorldLength](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3D-line-callout-maxWorldLength.gif)
28
+ * ![maxWorldLength](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3D-line-callout-maxWorldLength.webm)
29
29
  */
30
30
  accessor maxWorldLength: number | null | undefined;
31
31
  /**
@@ -33,7 +33,7 @@ export default class Symbol3DVerticalOffset extends JSONSupport {
33
33
  *
34
34
  * In the following animation the green symbol on the left has `minWorldLength = 20` and for the orange symbol on the right `minWorldLength` has not been set:
35
35
  *
36
- * ![minWorldLength-on](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3D-line-callout-minWorldLength.gif)
36
+ * ![minWorldLength-on](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3D-line-callout-minWorldLength.webm)
37
37
  *
38
38
  * @default 0
39
39
  */
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as t}from"tslib";import e from"../../../../core/Accessor.js";import i from"../../../../core/Logger.js";import{deg2rad as o}from"../../../../core/mathUtils.js";import{isAbortError as s}from"../../../../core/promiseUtils.js";import{property as r,subclass as n}from"../../../../core/accessorSupport/decorators.js";import a from"../../../../geometry/Extent.js";import l from"../../../../geometry/Point.js";import{fadeToZero as m,animate as p}from"./animatedValues.js";import{FlowDisplayObject as u}from"./FlowDisplayObject.js";import{ProcessingTimeEstimate as c}from"./ProcessingTimeEstimate.js";import{longSafetyTime as d,shortMarginTime as h}from"./utils.js";const f=1.15,y=1;let g=class extends e{constructor(t){super(t),this._flowDisplayObject=new u,this._loading=null,this._processingTimeEstimate=new c,this._animationsEnabled=!0}initialize(){this.flowContainer.addChild(this._flowDisplayObject)}destroy(){this._clear(),this.flowContainer.removeAllChildren()}get updating(){return null!=this._loading}update(t,e=!0){this._animationsEnabled!==e&&(this._animationsEnabled=e,this._clear());const{flowStyle:o}=this.flowContainer;if(null==o)return void this._clear();const{extent:r,rotation:n,resolution:a,pixelRatio:l}=t.state,u=x(r,n);u.expand(f);const c=[Math.round((u.xmax-u.xmin)/a),Math.round((u.ymax-u.ymin)/a)],g=performance.now()/1e3,_={extent:u,size:c,pixelRatio:l,time:e?g+this._processingTimeEstimate.getSafeTime():0},w=new AbortController,{items:b}=this._flowDisplayObject,C=b.at(-1);if(C&&this._fastUpdate(C.style,C.resources.query,o,_))return C.style=o,void(this._loading&&(this._loading.abortController.abort(),this._loading=null));if(this._loading&&this._fastUpdate(this._loading.flowStyle,this._loading.query,o,_))return void(this._loading.flowStyle=o);const{canContinue:j,previousItem:v}=e?this._previousItemPrevious(C,o,_):{canContinue:!1,previousItem:C},O=o.load(_,j?v.resources:null,w.signal).then(t=>{const i=performance.now()/1e3,s=i-g;if(this._processingTimeEstimate.addSample(s),j){for(const e of b)e.endTime=t.query.time;b.push({attached:!1,startTime:t.query.time,endTime:t.query.time+d,displayOpacity:1,resources:t,style:o})}else if(e){for(const t of b)t.displayOpacity=m(t.displayOpacity,y,i);b.push({attached:!1,startTime:i-h,endTime:i+d,displayOpacity:p(i,0,i+y,1),resources:t,style:o})}else this._flowDisplayObject.clear(),b.push({attached:!1,startTime:0,endTime:d,displayOpacity:1,resources:t,style:o});this._flowDisplayObject.requestRender(),this._loading=null},t=>{s(t)||i.getLogger(this).error("A resource failed to load.",t)});this._loading?.abortController.abort(),this._loading={abortController:w,promise:O,query:_,flowStyle:o}}_fastUpdate(t,e,i,o){if(!t.isCompatible(i))return!1;return!(!e.extent.equals(o.extent)||e.size[0]!==o.size[0]||e.size[1]!==o.size[1]||e.pixelRatio!==o.pixelRatio)}_previousItemPrevious(t,e,i){if(!t)return{canContinue:!1,previousItem:t};if(!t.style.supportsContinuation)return{canContinue:!1,previousItem:t};if(!e.supportsContinuation)return{canContinue:!1,previousItem:t};const o=Math.abs(t.resources.query.extent.width-i.extent.width)/i.extent.width,s=Math.abs(t.resources.query.extent.height-i.extent.height)/i.extent.height;return o>.1||s>.1?{canContinue:!1,previousItem:t}:{canContinue:!0,previousItem:t}}_clear(){this._flowDisplayObject.clear(),null!=this._loading&&(this._loading.abortController.abort(),this._loading=null)}};function x(t,e){const i=new l({x:(t.xmax+t.xmin)/2,y:(t.ymax+t.ymin)/2,spatialReference:t.spatialReference}),s=t.xmax-t.xmin,r=t.ymax-t.ymin,n=Math.abs(Math.cos(o(e))),m=Math.abs(Math.sin(o(e))),p=n*s+m*r,u=m*s+n*r,c=new a({xmin:i.x-p/2,ymin:i.y-u/2,xmax:i.x+p/2,ymax:i.y+u/2,spatialReference:t.spatialReference});return c.centerAt(i),c}t([r()],g.prototype,"_loading",void 0),t([r()],g.prototype,"flowContainer",void 0),t([r()],g.prototype,"updating",null),g=t([n("esri.views.2d.engine.flow.FlowStrategy")],g);export{g as default};
2
+ import{__decorate as e}from"tslib";import t from"../../../../core/Accessor.js";import i from"../../../../core/Logger.js";import{deg2rad as o}from"../../../../core/mathUtils.js";import{isAbortError as s}from"../../../../core/promiseUtils.js";import{property as r,subclass as n}from"../../../../core/accessorSupport/decorators.js";import a from"../../../../geometry/Extent.js";import l from"../../../../geometry/Point.js";import{fadeToZero as m,animate as p}from"./animatedValues.js";import{FlowDisplayObject as u}from"./FlowDisplayObject.js";import{ProcessingTimeEstimate as c}from"./ProcessingTimeEstimate.js";import{longSafetyTime as d,shortMarginTime as h}from"./utils.js";const f=1.15,y=1;let g=class extends t{constructor(e){super(e),this._flowDisplayObject=new u,this._loading=null,this._processingTimeEstimate=new c,this._animationsEnabled=!0}initialize(){this.flowContainer.addChild(this._flowDisplayObject)}destroy(){this._clear(),this.flowContainer.removeAllChildren()}get updating(){return null!=this._loading}update(e,t=!0){this._animationsEnabled!==t&&(this._animationsEnabled=t,this._clear());const{flowStyle:o}=this.flowContainer;if(null==o)return void this._clear();const{extent:r,rotation:n,resolution:a,pixelRatio:l}=e.state,u=x(r,n);u.expand(f);const c=[Math.round((u.xmax-u.xmin)/a),Math.round((u.ymax-u.ymin)/a)],g=performance.now()/1e3,_={extent:u,size:c,pixelRatio:l,time:t?g+this._processingTimeEstimate.getSafeTime():0},w=new AbortController,{items:b}=this._flowDisplayObject,C=b.at(-1);if(C&&this._fastUpdate(C.style,C.resources.query,o,_))return C.style=o,o.updateResource(C.resources),void(this._loading&&(this._loading.abortController.abort(),this._loading=null));if(this._loading&&this._fastUpdate(this._loading.flowStyle,this._loading.query,o,_))return void(this._loading.flowStyle=o);const{canContinue:j,previousItem:v}=t?this._previousItemPrevious(C,o,_):{canContinue:!1,previousItem:C},O=o.load(_,j?v.resources:null,w.signal).then(e=>{const i=performance.now()/1e3,s=i-g;if(this._processingTimeEstimate.addSample(s),j){for(const t of b)t.endTime=e.query.time;b.push({attached:!1,startTime:e.query.time,endTime:e.query.time+d,displayOpacity:1,resources:e,style:o})}else if(t){for(const e of b)e.displayOpacity=m(e.displayOpacity,y,i);b.push({attached:!1,startTime:i-h,endTime:i+d,displayOpacity:p(i,0,i+y,1),resources:e,style:o})}else this._flowDisplayObject.clear(),b.push({attached:!1,startTime:0,endTime:d,displayOpacity:1,resources:e,style:o});this._flowDisplayObject.requestRender(),this._loading=null},e=>{s(e)||i.getLogger(this).error("A resource failed to load.",e)});this._loading?.abortController.abort(),this._loading={abortController:w,promise:O,query:_,flowStyle:o}}_fastUpdate(e,t,i,o){if(!e.isCompatible(i))return!1;return!(!t.extent.equals(o.extent)||t.size[0]!==o.size[0]||t.size[1]!==o.size[1]||t.pixelRatio!==o.pixelRatio)}_previousItemPrevious(e,t,i){if(!e)return{canContinue:!1,previousItem:e};if(!e.style.supportsContinuation)return{canContinue:!1,previousItem:e};if(!t.supportsContinuation)return{canContinue:!1,previousItem:e};const o=Math.abs(e.resources.query.extent.width-i.extent.width)/i.extent.width,s=Math.abs(e.resources.query.extent.height-i.extent.height)/i.extent.height;return o>.1||s>.1?{canContinue:!1,previousItem:e}:{canContinue:!0,previousItem:e}}_clear(){this._flowDisplayObject.clear(),null!=this._loading&&(this._loading.abortController.abort(),this._loading=null)}};function x(e,t){const i=new l({x:(e.xmax+e.xmin)/2,y:(e.ymax+e.ymin)/2,spatialReference:e.spatialReference}),s=e.xmax-e.xmin,r=e.ymax-e.ymin,n=Math.abs(Math.cos(o(t))),m=Math.abs(Math.sin(o(t))),p=n*s+m*r,u=m*s+n*r,c=new a({xmin:i.x-p/2,ymin:i.y-u/2,xmax:i.x+p/2,ymax:i.y+u/2,spatialReference:e.spatialReference});return c.centerAt(i),c}e([r()],g.prototype,"_loading",void 0),e([r()],g.prototype,"flowContainer",void 0),e([r()],g.prototype,"updating",null),g=e([n("esri.views.2d.engine.flow.FlowStrategy")],g);export{g as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{throwIfAborted as t}from"../../../../../core/promiseUtils.js";import{timeExtentsEqual as a,getFlowFloatUniforms as s,getFlowColorUniforms as e}from"../utils.js";import{AFlowResources as i}from"./AFlowResources.js";import{Mesh as r}from"../../webgl/meshing/Mesh.js";import{FlowImageryShader as o}from"../../webgl/shaderGraph/techniques/shaders/flow/FlowImageryShader.js";import{PrimitiveType as m,DataType as n}from"../../../../webgl/enums.js";import l from"../../../../webgl/Texture.js";import{TextureDescriptor as h}from"../../../../webgl/TextureDescriptor.js";import{VertexElementDescriptor as p}from"../../../../webgl/VertexElementDescriptor.js";class c{constructor(t){this._params=t,this.supportsContinuation=!1,this.slideoutDuration=0,this.animated=!1}isCompatible(t){if(!(t instanceof c))return!1;if(!a(this._params.timeExtent,t._params.timeExtent))return!1;let s=!0;return s=s&&this._params.loadImagery===t._params.loadImagery,s=s&&this._params.color.kind===t._params.color.kind,s=s&&this._params.opacity.kind===t._params.opacity.kind,s}async load(a,s,e){const{extent:i,size:r}=a;t(e);const o=await this._params.loadImagery(i,r[0],r[1],this._params.timeExtent,e);return new u(o,a,[],{color:this._params.color,opacity:this._params.opacity})}}const d=[new p("position",2,n.UNSIGNED_SHORT,0,8),new p("texcoord",2,n.UNSIGNED_SHORT,4,8)];class u extends i{static{this._shader=new o}constructor(t,a,s,e){super(a,s),this._flowData=t,this._values=e,this.kind="imagery"}attach(t){const{context:a}=t,{width:s,height:e}=this._flowData;this.mesh=new r(a,{vertex:{geometry:{data:new Uint16Array([0,0,0,1,s,0,1,1,0,e,0,0,s,e,1,0]),layout:d}},groups:[{primitive:m.TRIANGLE_STRIP}],parts:[{group:0,start:0,count:4}]});let i=1e6,o=-1e6;for(let r=0;r<e;r++)for(let t=0;t<s;t++)if(0!==this._flowData.mask[r*s+t]){const a=this._flowData.data[2*(r*s+t)],e=this._flowData.data[2*(r*s+t)+1],m=Math.sqrt(a*a+e*e);i=Math.min(i,m),o=Math.max(o,m)}const n=new Uint8Array(4*s*e);for(let r=0;r<e;r++)for(let t=0;t<s;t++)if(0!==this._flowData.mask[r*s+t]){const a=this._flowData.data[2*(r*s+t)],e=this._flowData.data[2*(r*s+t)+1],m=(Math.sqrt(a*a+e*e)-i)/(o-i);n[4*(r*s+t)]=255*m,n[4*(r*s+t)+1]=0,n[4*(r*s+t)+2]=0,n[4*(r*s+t)+3]=255}else n[4*(r*s+t)]=0,n[4*(r*s+t)+1]=0,n[4*(r*s+t)+2]=0,n[4*(r*s+t)+3]=0;const p=new h(s,e);p.internalFormat=6408,p.wrapMode=33071,p.flipped=!0;const c=new l(a,p,n);this.texture=c,this.min=i,this.max=o,this._flowData=null}detach(){this.mesh.destroy(),this.texture.dispose()}get ready(){return!0}getProgramSpec(t){return{shader:u._shader,uniforms:{state:{time:t.time,dvsMat3:t.dvsMat3,displayViewMat3:t.displayViewMat3,displayOpacity:t.displayOpacity,startTime:t.startTime,endTime:t.endTime},config:{texture:{texture:this.texture,unit:0},min:this.min,max:this.max},color:e(this._values.color),opacity:s(this._values.opacity)},defines:{vvColor:"ramp"===this._values.color.kind,vvOpacity:"ramp"===this._values.opacity.kind},optionalAttributes:null}}}export{c as Imagery,u as ImageryResources};
2
+ import{throwIfAborted as t}from"../../../../../core/promiseUtils.js";import{timeExtentsEqual as a,getFlowFloatUniforms as s,getFlowColorUniforms as e}from"../utils.js";import{AFlowResources as i}from"./AFlowResources.js";import{Mesh as r}from"../../webgl/meshing/Mesh.js";import{FlowImageryShader as o}from"../../webgl/shaderGraph/techniques/shaders/flow/FlowImageryShader.js";import{PrimitiveType as m,DataType as n}from"../../../../webgl/enums.js";import l from"../../../../webgl/Texture.js";import{TextureDescriptor as p}from"../../../../webgl/TextureDescriptor.js";import{VertexElementDescriptor as h}from"../../../../webgl/VertexElementDescriptor.js";class c{constructor(t){this._params=t,this.supportsContinuation=!1,this.slideoutDuration=0,this.animated=!1}isCompatible(t){if(!(t instanceof c))return!1;if(!a(this._params.timeExtent,t._params.timeExtent))return!1;let s=!0;return s=s&&this._params.loadImagery===t._params.loadImagery,s=s&&this._params.color.kind===t._params.color.kind,s=s&&this._params.opacity.kind===t._params.opacity.kind,s}updateResource(t){t.updateValues(this._params.color,this._params.opacity)}async load(a,s,e){const{extent:i,size:r}=a;t(e);const o=await this._params.loadImagery(i,r[0],r[1],this._params.timeExtent,e);return new u(o,a,[],{color:this._params.color,opacity:this._params.opacity})}}const d=[new h("position",2,n.UNSIGNED_SHORT,0,8),new h("texcoord",2,n.UNSIGNED_SHORT,4,8)];class u extends i{static{this._shader=new o}constructor(t,a,s,e){super(a,s),this._flowData=t,this._values=e,this.kind="imagery"}attach(t){const{context:a}=t,{width:s,height:e}=this._flowData;this.mesh=new r(a,{vertex:{geometry:{data:new Uint16Array([0,0,0,1,s,0,1,1,0,e,0,0,s,e,1,0]),layout:d}},groups:[{primitive:m.TRIANGLE_STRIP}],parts:[{group:0,start:0,count:4}]});let i=1e6,o=-1e6;for(let r=0;r<e;r++)for(let t=0;t<s;t++)if(0!==this._flowData.mask[r*s+t]){const a=this._flowData.data[2*(r*s+t)],e=this._flowData.data[2*(r*s+t)+1],m=Math.sqrt(a*a+e*e);i=Math.min(i,m),o=Math.max(o,m)}const n=new Uint8Array(4*s*e);for(let r=0;r<e;r++)for(let t=0;t<s;t++)if(0!==this._flowData.mask[r*s+t]){const a=this._flowData.data[2*(r*s+t)],e=this._flowData.data[2*(r*s+t)+1],m=(Math.sqrt(a*a+e*e)-i)/(o-i);n[4*(r*s+t)]=255*m,n[4*(r*s+t)+1]=0,n[4*(r*s+t)+2]=0,n[4*(r*s+t)+3]=255}else n[4*(r*s+t)]=0,n[4*(r*s+t)+1]=0,n[4*(r*s+t)+2]=0,n[4*(r*s+t)+3]=0;const h=new p(s,e);h.internalFormat=6408,h.wrapMode=33071,h.flipped=!0;const c=new l(a,h,n);this.texture=c,this.min=i,this.max=o,this._flowData=null}detach(){this.mesh.destroy(),this.texture.dispose()}get ready(){return!0}updateValues(t,a){this._values={color:t,opacity:a}}getProgramSpec(t){return{shader:u._shader,uniforms:{state:{time:t.time,dvsMat3:t.dvsMat3,displayViewMat3:t.displayViewMat3,displayOpacity:t.displayOpacity,startTime:t.startTime,endTime:t.endTime},config:{texture:{texture:this.texture,unit:0},min:this.min,max:this.max},color:e(this._values.color),opacity:s(this._values.opacity)},defines:{vvColor:"ramp"===this._values.color.kind,vvOpacity:"ramp"===this._values.opacity.kind},optionalAttributes:null}}}export{c as Imagery,u as ImageryResources};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{throwIfAborted as t}from"../../../../../core/promiseUtils.js";import{deserializeFlowPaths as s}from"../flowPathsIO.js";import{areStreamlinesCompatible as e,getFlowFloatUniforms as a,getFlowColorUniforms as i}from"../utils.js";import{AFlowResources as r}from"./AFlowResources.js";import{Mesh as o}from"../../webgl/meshing/Mesh.js";import{FlowParticlesShader as n}from"../../webgl/shaderGraph/techniques/shaders/flow/FlowParticlesShader.js";import{getPositions as p}from"../../../../support/flow/utils.js";import{PrimitiveType as m,DataType as h}from"../../../../webgl/enums.js";import{VertexElementDescriptor as l}from"../../../../webgl/VertexElementDescriptor.js";class d{constructor(t){this._params=t,this.supportsContinuation=!1,this.slideoutDuration=0}get animated(){return this._params.flowSpeed>0}isCompatible(t){return t instanceof d&&e(this._params,t._params)}async load(e,a,i){const{extent:r,size:o}=e;t(i);const n=await this._params.loadImagery(r,o[0],o[1],this._params.timeExtent,i),m=a&&this._params.simulationSettings.continuous?p(a.flowPaths,a.query,e,this._params.flowSpeed):[],{vertexData:h,indexData:l,pathData:d}=await this._params.createFlowMesh("Particles",this._params.simulationSettings,n,{positions:m},i),c=s(d);return new u(h,l,e,c,{color:this._params.color,opacity:this._params.opacity,size:this._params.size},this._params)}}const c=[new l("xyts0",4,h.FLOAT,0,64),new l("xyts1",4,h.FLOAT,16,64),new l("typeIdFirstTimeLastTime",4,h.FLOAT,32,64),new l("extrudeInfo",4,h.FLOAT,48,64)];class u extends r{static{this._shader=new n}constructor(t,s,e,a,i,r){super(e,a),this._vertexData=t,this._indexData=s,this._values=i,this._params=r,this.kind="particles"}attach(t){const{context:s}=t;this.mesh=new o(s,{vertex:{geometry:{data:this._vertexData,layout:c}},index:{indices:{data:this._indexData}},groups:[{index:"indices",primitive:m.TRIANGLES}],parts:[{group:0,start:0,count:this._indexData.length}]}),this._vertexData=null,this._indexData=null}detach(){this.mesh.destroy()}get ready(){return!0}getProgramSpec(t){return{shader:u._shader,uniforms:{state:{time:t.time,dvsMat3:t.dvsMat3,displayViewMat3:t.displayViewMat3,displayOpacity:t.displayOpacity,startTime:t.startTime,endTime:t.endTime},config:{trailLength:this._params.trailLength,flowSpeed:this._params.flowSpeed,featheringSize:this._params.featheringSize,featheringOffset:this._params.featheringOffset,introFade:this._params.introFade?1:0,fadeToZero:this._params.fadeToZero?1:0,decayRate:this._params.decayRate},color:i(this._values.color),opacity:a(this._values.opacity),size:a(this._values.size)},defines:{vvColor:"ramp"===this._values.color.kind,vvOpacity:"ramp"===this._values.opacity.kind,vvSize:"ramp"===this._values.size.kind},optionalAttributes:null}}}export{d as Particles,u as ParticlesResources};
2
+ import{throwIfAborted as t}from"../../../../../core/promiseUtils.js";import{deserializeFlowPaths as s}from"../flowPathsIO.js";import{areStreamlinesCompatible as a,getFlowFloatUniforms as e,getFlowColorUniforms as i}from"../utils.js";import{AFlowResources as r}from"./AFlowResources.js";import{Mesh as o}from"../../webgl/meshing/Mesh.js";import{FlowParticlesShader as p}from"../../webgl/shaderGraph/techniques/shaders/flow/FlowParticlesShader.js";import{getPositions as n}from"../../../../support/flow/utils.js";import{PrimitiveType as m,DataType as h}from"../../../../webgl/enums.js";import{VertexElementDescriptor as l}from"../../../../webgl/VertexElementDescriptor.js";class d{constructor(t){this._params=t,this.supportsContinuation=!1,this.slideoutDuration=0}get animated(){return this._params.flowSpeed>0}isCompatible(t){return t instanceof d&&a(this._params,t._params)}updateResource(t){t.updateParams(this._params.flowSpeed,this._params.trailLength)}async load(a,e,i){const{extent:r,size:o}=a;t(i);const p=await this._params.loadImagery(r,o[0],o[1],this._params.timeExtent,i),m=e&&this._params.simulationSettings.continuous?n(e.flowPaths,e.query,a,this._params.flowSpeed):[],{vertexData:h,indexData:l,pathData:d}=await this._params.createFlowMesh("Particles",this._params.simulationSettings,p,{positions:m},i),c=s(d);return new u(h,l,a,c,{color:this._params.color,opacity:this._params.opacity,size:this._params.size},this._params)}}const c=[new l("xyts0",4,h.FLOAT,0,64),new l("xyts1",4,h.FLOAT,16,64),new l("typeIdFirstTimeLastTime",4,h.FLOAT,32,64),new l("extrudeInfo",4,h.FLOAT,48,64)];class u extends r{static{this._shader=new p}constructor(t,s,a,e,i,r){super(a,e),this._vertexData=t,this._indexData=s,this._values=i,this._params=r,this.kind="particles"}attach(t){const{context:s}=t;this.mesh=new o(s,{vertex:{geometry:{data:this._vertexData,layout:c}},index:{indices:{data:this._indexData}},groups:[{index:"indices",primitive:m.TRIANGLES}],parts:[{group:0,start:0,count:this._indexData.length}]}),this._vertexData=null,this._indexData=null}detach(){this.mesh.destroy()}get ready(){return!0}updateParams(t,s){this._params.flowSpeed=t,this._params.trailLength=s}getProgramSpec(t){return{shader:u._shader,uniforms:{state:{time:t.time,dvsMat3:t.dvsMat3,displayViewMat3:t.displayViewMat3,displayOpacity:t.displayOpacity,startTime:t.startTime,endTime:t.endTime},config:{trailLength:this._params.trailLength,flowSpeed:this._params.flowSpeed,featheringSize:this._params.featheringSize,featheringOffset:this._params.featheringOffset,introFade:this._params.introFade?1:0,fadeToZero:this._params.fadeToZero?1:0,decayRate:this._params.decayRate},color:i(this._values.color),opacity:e(this._values.opacity),size:e(this._values.size)},defines:{vvColor:"ramp"===this._values.color.kind,vvOpacity:"ramp"===this._values.opacity.kind,vvSize:"ramp"===this._values.size.kind},optionalAttributes:null}}}export{d as Particles,u as ParticlesResources};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{AFlowResources as t}from"./AFlowResources.js";class s{constructor(t){this._styles=t,this.supportsContinuation=!1,this.slideoutDuration=0}get animated(){return this._styles.reduce((t,s)=>t||s.animated,!1)}isCompatible(t){if(!(t instanceof s))return!1;if(this._styles.length!==t._styles.length)return!1;const e=this._styles.length;for(let s=0;s<e;s++)if(!this._styles[s].isCompatible(t._styles[s]))return!1;return!0}async load(t,s,r){const o=await Promise.all(this._styles.map(s=>s.load(t,null,r)));return new e(o,t,[])}}class e extends t{constructor(t,s,e){super(s,e),this.resources=t,this.kind="stack"}attach(t){for(const s of this.resources)s.attach(t)}detach(){for(const t of this.resources)t.detach()}get ready(){return this.resources.reduce((t,s)=>t&&s.ready,!0)}}export{s as Stack,e as StackResources};
2
+ import{AFlowResources as s}from"./AFlowResources.js";class t{constructor(s){this._styles=s,this.supportsContinuation=!1,this.slideoutDuration=0}get animated(){return this._styles.reduce((s,t)=>s||t.animated,!1)}isCompatible(s){if(!(s instanceof t))return!1;if(this._styles.length!==s._styles.length)return!1;const e=this._styles.length;for(let t=0;t<e;t++)if(!this._styles[t].isCompatible(s._styles[t]))return!1;return!0}updateResource(s){const t=Math.min(this._styles.length,s.resources.length);for(let e=0;e<t;e++)this._styles[e].updateResource(s.resources[e])}async load(s,t,r){const o=await Promise.all(this._styles.map(t=>t.load(s,null,r)));return new e(o,s,[])}}class e extends s{constructor(s,t,e){super(t,e),this.resources=s,this.kind="stack"}attach(s){for(const t of this.resources)t.attach(s)}detach(){for(const s of this.resources)s.detach()}get ready(){return this.resources.reduce((s,t)=>s&&t.ready,!0)}}export{t as Stack,e as StackResources};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{throwIfAborted as t}from"../../../../../core/promiseUtils.js";import{deserializeFlowPaths as e}from"../flowPathsIO.js";import{areStreamlinesCompatible as s,getFlowFloatUniforms as a,getFlowColorUniforms as i}from"../utils.js";import{AFlowResources as r}from"./AFlowResources.js";import{Mesh as o}from"../../webgl/meshing/Mesh.js";import{FlowStreamlinesShader as n}from"../../webgl/shaderGraph/techniques/shaders/flow/FlowStreamlinesShader.js";import{getPositions as m}from"../../../../support/flow/utils.js";import{PrimitiveType as p,DataType as h}from"../../../../webgl/enums.js";import{VertexElementDescriptor as l}from"../../../../webgl/VertexElementDescriptor.js";class d{constructor(t){this._params=t,this.supportsContinuation=!1,this.slideoutDuration=20}get animated(){return this._params.flowSpeed>0}isCompatible(t){return t instanceof d&&s(this._params,t._params)}async load(s,a,i){const{extent:r,size:o}=s;t(i);const n=await this._params.loadImagery(r,o[0],o[1],this._params.timeExtent,i),p=a&&this._params.simulationSettings.continuous?m(a.flowPaths,a.query,s,this._params.flowSpeed):[],{vertexData:h,indexData:l,pathData:d}=await this._params.createFlowMesh("Streamlines",this._params.simulationSettings,n,{positions:p},i),u=e(d);return new c(h,l,s,u,{color:this._params.color,opacity:this._params.opacity,size:this._params.size},this._params)}}const u=[new l("positionAndSide",3,h.FLOAT,0,36),new l("timeInfo",3,h.FLOAT,12,36),new l("extrude",2,h.FLOAT,24,36),new l("speed",1,h.FLOAT,32,36)];class c extends r{static{this._shader=new n}constructor(t,e,s,a,i,r){super(s,a),this._vertexData=t,this._indexData=e,this._values=i,this._params=r,this.kind="streamlines"}attach(t){const{context:e}=t;this.mesh=new o(e,{vertex:{geometry:{data:this._vertexData,layout:u}},index:{indices:{data:this._indexData}},groups:[{index:"indices",primitive:p.TRIANGLES}],parts:[{group:0,start:0,count:this._indexData.length}]}),this._vertexData=null,this._indexData=null}detach(){this.mesh.destroy()}get ready(){return!0}getProgramSpec(t){return{shader:c._shader,uniforms:{state:{time:t.time-this.query.time,dvsMat3:t.dvsMat3,displayViewMat3:t.displayViewMat3,displayOpacity:t.displayOpacity,startTime:t.startTime-this.query.time,endTime:t.endTime-this.query.time},config:{trailLength:this._params.trailLength,flowSpeed:this._params.flowSpeed,featheringSize:this._params.featheringSize,featheringOffset:this._params.featheringOffset,introFade:this._params.introFade?1:0,fadeToZero:this._params.fadeToZero?1:0,decayRate:this._params.decayRate},color:i(this._values.color),opacity:a(this._values.opacity),size:a(this._values.size)},defines:{vvColor:"ramp"===this._values.color.kind,vvOpacity:"ramp"===this._values.opacity.kind,vvSize:"ramp"===this._values.size.kind},optionalAttributes:null}}}export{d as default};
2
+ import{throwIfAborted as t}from"../../../../../core/promiseUtils.js";import{deserializeFlowPaths as e}from"../flowPathsIO.js";import{areStreamlinesCompatible as s,getFlowFloatUniforms as a,getFlowColorUniforms as i}from"../utils.js";import{AFlowResources as r}from"./AFlowResources.js";import{Mesh as o}from"../../webgl/meshing/Mesh.js";import{FlowStreamlinesShader as n}from"../../webgl/shaderGraph/techniques/shaders/flow/FlowStreamlinesShader.js";import{getPositions as p}from"../../../../support/flow/utils.js";import{PrimitiveType as m,DataType as h}from"../../../../webgl/enums.js";import{VertexElementDescriptor as l}from"../../../../webgl/VertexElementDescriptor.js";class d{constructor(t){this._params=t,this.supportsContinuation=!1,this.slideoutDuration=20}get animated(){return this._params.flowSpeed>0}isCompatible(t){return t instanceof d&&s(this._params,t._params)}updateResource(t){t.updateParams(this._params.flowSpeed,this._params.trailLength)}async load(s,a,i){const{extent:r,size:o}=s;t(i);const n=await this._params.loadImagery(r,o[0],o[1],this._params.timeExtent,i),m=a&&this._params.simulationSettings.continuous?p(a.flowPaths,a.query,s,this._params.flowSpeed):[],{vertexData:h,indexData:l,pathData:d}=await this._params.createFlowMesh("Streamlines",this._params.simulationSettings,n,{positions:m},i),u=e(d);return new c(h,l,s,u,{color:this._params.color,opacity:this._params.opacity,size:this._params.size},this._params)}}const u=[new l("positionAndSide",3,h.FLOAT,0,36),new l("timeInfo",3,h.FLOAT,12,36),new l("extrude",2,h.FLOAT,24,36),new l("speed",1,h.FLOAT,32,36)];class c extends r{static{this._shader=new n}constructor(t,e,s,a,i,r){super(s,a),this._vertexData=t,this._indexData=e,this._values=i,this._params=r,this.kind="streamlines"}attach(t){const{context:e}=t;this.mesh=new o(e,{vertex:{geometry:{data:this._vertexData,layout:u}},index:{indices:{data:this._indexData}},groups:[{index:"indices",primitive:m.TRIANGLES}],parts:[{group:0,start:0,count:this._indexData.length}]}),this._vertexData=null,this._indexData=null}detach(){this.mesh.destroy()}get ready(){return!0}updateParams(t,e){this._params.flowSpeed=t,this._params.trailLength=e}getProgramSpec(t){return{shader:c._shader,uniforms:{state:{time:t.time-this.query.time,dvsMat3:t.dvsMat3,displayViewMat3:t.displayViewMat3,displayOpacity:t.displayOpacity,startTime:t.startTime-this.query.time,endTime:t.endTime-this.query.time},config:{trailLength:this._params.trailLength,flowSpeed:this._params.flowSpeed,featheringSize:this._params.featheringSize,featheringOffset:this._params.featheringOffset,introFade:this._params.introFade?1:0,fadeToZero:this._params.fadeToZero?1:0,decayRate:this._params.decayRate},color:i(this._values.color),opacity:a(this._values.opacity),size:a(this._values.size)},defines:{vvColor:"ramp"===this._values.color.kind,vvOpacity:"ramp"===this._values.opacity.kind,vvSize:"ramp"===this._values.size.kind},optionalAttributes:null}}}export{d as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{fromValues as t}from"../../../../../geometry/support/aaBoundingRect.js";import{tilePixelRatio as i}from"../constants.js";import{translateAnchor as e,offsetLine as a,distanceFromToPolylineWithinThreshold as o,pointInPolygon as r}from"../GeometryUtils.js";import{VTLBackgroundMaterial as n}from"../shaders/VTLBackgroundMaterial.js";import{VTLCircleMaterial as s}from"../shaders/VTLCircleMaterial.js";import{VTLFillMaterial as l,VTLOutlineMaterial as h}from"../shaders/VTLFillMaterial.js";import{VTLLineMaterial as u}from"../shaders/VTLLineMaterial.js";import{VTLIconMaterial as p,VTLTextMaterial as g}from"../shaders/VTLSymbolMaterial.js";import c from"./Filter.js";import{StyleDefinition as y}from"./StyleDefinition.js";import P from"./StyleProperty.js";import{thinLineHalfWidthThreshold as f}from"../../webgl/definitions.js";class D{constructor(t,i,e,a,o,r){this.layer=t,this.feature=i,this.bounds=e,this.normalizationRatio=a,this.normalizationOffsetX=o,this.normalizationOffsetY=r}}class m{constructor(t,i,e,a){switch(this.type=t,this.typeName=i.type,this.id=i.id,this.source=i.source,this.sourceLayer=i["source-layer"],this.minzoom=i.minzoom,this.maxzoom=i.maxzoom,this.filter=i.filter,this.layout=i.layout,this.paint=i.paint,this.z=e,this.uid=a,t){case 0:this._layoutDefinition=y.backgroundLayoutDefinition,this._paintDefinition=y.backgroundPaintDefinition;break;case 1:this._layoutDefinition=y.fillLayoutDefinition,this._paintDefinition=y.fillPaintDefinition;break;case 2:this._layoutDefinition=y.lineLayoutDefinition,this._paintDefinition=y.linePaintDefinition;break;case 3:this._layoutDefinition=y.symbolLayoutDefinition,this._paintDefinition=y.symbolPaintDefinition;break;case 4:this._layoutDefinition=y.circleLayoutDefinition,this._paintDefinition=y.circlePaintDefinition}this._layoutProperties=this._parseLayout(this.layout),this._paintProperties=this._parsePaint(this.paint)}getFeatureFilter(){return void 0!==this._featureFilter?this._featureFilter:this._featureFilter=c.createFilter(this.filter)}getLayoutProperty(t){return this._layoutProperties[t]}getPaintProperty(t){return this._paintProperties[t]}getLayoutValue(t,i,e){let a;const o=this._layoutProperties[t];return o&&(a=o.getValue(i,e)),void 0===a&&(a=this._layoutDefinition[t].default),a}getPaintValue(t,i,e){let a;const o=this._paintProperties[t];return o&&(a=o.getValue(i,e)),void 0===a&&(a=this._paintDefinition[t].default),a}isPainterDataDriven(){const t=this._paintProperties;if(t)for(const i in t)if(t[i].isDataDriven)return!0;return!1}isIntersectingFeature(t,i,e,a,o,r,n){return!1}getFeatureInflatedBounds(t,i,e,a){return null}_parseLayout(t){const i={};for(const e in t){const a=this._layoutDefinition[e];a&&(i[e]=new P(a,t[e]))}return i}_parsePaint(t){const i={};for(const e in t){const a=this._paintDefinition[e];a&&(i[e]=new P(a,t[e]))}return i}computeAttributesKey(t,i,e,a){let o=0,r=0;for(const n of i){let t=3;if(n&&n!==a){const i=e[n],{isLayout:a,isOptional:o}=i,r=a?this.getLayoutProperty(n):this.getPaintProperty(n);t=r?.interpolator?2:r?.isDataDriven?1:o&&!r?3:0}r|=t<<o,o+=2}return r<<3|t}}class d extends m{constructor(t,i,e,a){super(t,i,e,a),this.backgroundMaterial=new n(this.computeAttributesKey(0,n.ATTRIBUTES,n.ATTRIBUTES_INFO))}}class _ extends m{constructor(t,i,e,a){super(t,i,e,a);const o=this.getPaintProperty("fill-color"),r=this.getPaintProperty("fill-opacity"),n=this.getPaintProperty("fill-pattern");this.hasDataDrivenColor=o?.isDataDriven,this.hasDataDrivenOpacity=r?.isDataDriven,this.hasDataDrivenFill=this.hasDataDrivenColor||this.hasDataDrivenOpacity||n?.isDataDriven;const s=this.getPaintProperty("fill-outline-color");this.outlineUsesFillColor=!s,this.hasDataDrivenOutlineColor=s?.isDataDriven,this.hasDataDrivenOutline=s?s.isDataDriven:!!o&&o.isDataDriven,this.hasDataDrivenOutline=(s?this.hasDataDrivenOutlineColor:this.hasDataDrivenColor)||this.hasDataDrivenOpacity,this.fillMaterial=new l(this.computeAttributesKey(1,l.ATTRIBUTES,l.ATTRIBUTES_INFO)),this.outlineMaterial=new h(this.computeAttributesKey(2,this.outlineUsesFillColor?h.ATTRIBUTES_FILL:h.ATTRIBUTES_OUTLINE,this.outlineUsesFillColor?h.ATTRIBUTES_INFO_FILL:h.ATTRIBUTES_INFO_OUTLINE),this.outlineUsesFillColor)}getFeatureInflatedBounds(t,i,e,a){const o=z(t);if(!o)return null;const r=this.getPaintValue("fill-translate",i,t),n=a*Math.max(r[0],r[1]);return o[0]-=n,o[2]-=n,o[1]+=n,o[3]+=n,o}isIntersectingFeature(t,a,n,s,l,h,u){const p=s.getGeometry();if(!p)return!1;const g=i/u.normalizationRatio;t=t/u.normalizationRatio+u.normalizationOffsetX,a=a/u.normalizationRatio+u.normalizationOffsetY;const c=e(this.getPaintValue("fill-translate",l,s),this.getPaintValue("fill-translate-anchor",l,s),h,i);t-=g*c.x,a-=g*c.y;return!!r(t,a,p)||o(t,a,p,n)}}class L extends m{constructor(t,i,e,a){super(t,i,e,a);const o=this.getPaintProperty("line-pattern");if(this.lineMaterial=new u(this.computeAttributesKey(3,u.ATTRIBUTES,u.ATTRIBUTES_INFO,o?"line-dasharray":"")),this.hasDataDrivenLine=this.getPaintProperty("line-blur")?.isDataDriven||this.getPaintProperty("line-color")?.isDataDriven||this.getPaintProperty("line-gap-width")?.isDataDriven||this.getPaintProperty("line-offset")?.isDataDriven||this.getPaintProperty("line-opacity")?.isDataDriven||this.getPaintProperty("line-pattern")?.isDataDriven||this.getPaintProperty("line-dasharray")?.isDataDriven||this.getLayoutProperty("line-cap")?.isDataDriven||this.getPaintProperty("line-width")?.isDataDriven,this.canUseThinTessellation=!1,!this.hasDataDrivenLine){const t=this.getPaintProperty("line-width");if(!t||"number"==typeof t&&.5*t<f){const t=this.getPaintProperty("line-offset");(!t||"number"==typeof t&&0===t)&&(this.canUseThinTessellation=!0)}}}getDashKey(t,i){let e;switch(i){case 0:default:e="Butt";break;case 1:e="Round";break;case 2:e="Square"}return`dasharray-[${t.toString()}]-${e}`}getFeatureInflatedBounds(t,i,e,a){const o=z(t);if(!o)return null;const r=this.getPaintValue("line-translate",i,t),n=a*Math.max(r[0],r[1]);o[0]-=n,o[2]-=n,o[1]+=n,o[3]+=n;const s=a*Math.abs(this.getPaintValue("line-offset",i,t)||0),l=a*(this.getPaintValue("line-width",i,t)/2);return o[0]-=s+l,o[1]-=s+l,o[2]+=s+l,o[3]+=s+l,o}isIntersectingFeature(t,r,n,s,l,h,u){let p=s.getGeometry();if(!p)return!1;const g=i/u.normalizationRatio;t=t/u.normalizationRatio+u.normalizationOffsetX,r=r/u.normalizationRatio+u.normalizationOffsetY;const c=e(this.getPaintValue("line-translate",l,s),this.getPaintValue("line-translate-anchor",l,s),h,i);t-=g*c.x,r-=g*c.y;const y=g*this.getPaintValue("line-offset",l,s)||0;0!==y&&(p=a(p,-y));const P=g*(this.getPaintValue("line-width",l,s)/2),f=Math.max(1,n-P);return o(t,r,p,f)}}class x extends m{constructor(t,i,e,a){super(t,i,e,a),this.iconMaterial=new p(this.computeAttributesKey(4,p.ATTRIBUTES,p.ATTRIBUTES_INFO)),this.textMaterial=new g(this.computeAttributesKey(6,g.ATTRIBUTES,g.ATTRIBUTES_INFO)),this.hasDataDrivenIcon=this.getPaintProperty("icon-color")?.isDataDriven||this.getPaintProperty("icon-halo-blur")?.isDataDriven||this.getPaintProperty("icon-halo-color")?.isDataDriven||this.getPaintProperty("icon-halo-width")?.isDataDriven||this.getPaintProperty("icon-opacity")?.isDataDriven||this.getLayoutProperty("icon-size")?.isDataDriven,this.hasDataDrivenText=this.getPaintProperty("text-color")?.isDataDriven||this.getPaintProperty("text-halo-blur")?.isDataDriven||this.getPaintProperty("text-halo-color")?.isDataDriven||this.getPaintProperty("text-halo-width")?.isDataDriven||this.getPaintProperty("text-opacity")?.isDataDriven||this.getLayoutProperty("text-size")?.isDataDriven}}class v extends m{constructor(t,i,e,a){super(t,i,e,a),this.circleMaterial=new s(this.computeAttributesKey(5,s.ATTRIBUTES,s.ATTRIBUTES_INFO))}getFeatureInflatedBounds(t,e,a,o){const r=z(t);if(!r)return null;const n=this.getPaintValue("circle-translate",e,t),s=Math.max(n[0],n[1]);r[0]-=s,r[2]-=s,r[1]+=s,r[3]+=s;const l=o*(i*(this.getPaintValue("circle-radius",e,t)+this.getPaintValue("circle-stroke-width",e,t))/2);return r[0]-=l,r[1]-=l,r[2]+=l,r[3]+=l,r}isIntersectingFeature(t,a,o,r,n,s,l){const h=r.getGeometry();if(!h)return!1;const u=i/l.normalizationRatio;t=t/l.normalizationRatio+l.normalizationOffsetX,a=a/l.normalizationRatio+l.normalizationOffsetY;const p=e(this.getPaintValue("circle-translate",n,r),this.getPaintValue("circle-translate-anchor",n,r),s,u),g=u*(this.getPaintValue("circle-radius",n,r)+this.getPaintValue("circle-stroke-width",n,r));let c,y;for(const i of h)if(i)for(const e of i){c=e.x+p.x,y=e.y+p.y;if(Math.sqrt((t-c)*(t-c)+(a-y)*(a-y))-o<=g)return!0}return!1}}class V{constructor(t,i,e){let a;this.allowOverlap=t.getLayoutValue("icon-allow-overlap",i),this.ignorePlacement=t.getLayoutValue("icon-ignore-placement",i),this.keepUpright=t.getLayoutValue("icon-keep-upright",i),this.optional=t.getLayoutValue("icon-optional",i),this.rotationAlignment=t.getLayoutValue("icon-rotation-alignment",i),2===this.rotationAlignment&&(this.rotationAlignment=e?0:1),a=t.getLayoutProperty("icon-anchor"),a?.isDataDriven?this._anchorProp=a:this.anchor=t.getLayoutValue("icon-anchor",i),a=t.getLayoutProperty("icon-offset"),a?.isDataDriven?this._offsetProp=a:this.offset=t.getLayoutValue("icon-offset",i),a=t.getLayoutProperty("icon-padding"),a?.isDataDriven?this._paddingProp=a:this.padding=t.getLayoutValue("icon-padding",i),a=t.getLayoutProperty("icon-rotate"),a?.isDataDriven?this._rotateProp=a:this.rotate=t.getLayoutValue("icon-rotate",i),a=t.getLayoutProperty("icon-size"),a?.isDataDriven?this._sizeProp=a:this.size=t.getLayoutValue("icon-size",i)}update(t,i){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,i)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,i)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,i)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,i)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,i))}}class T{constructor(t,i,e){let a;this.allowOverlap=t.getLayoutValue("text-allow-overlap",i),this.ignorePlacement=t.getLayoutValue("text-ignore-placement",i),this.keepUpright=t.getLayoutValue("text-keep-upright",i),this.optional=t.getLayoutValue("text-optional",i),this.rotationAlignment=t.getLayoutValue("text-rotation-alignment",i),2===this.rotationAlignment&&(this.rotationAlignment=e?0:1),a=t.getLayoutProperty("text-anchor"),a?.isDataDriven?this._anchorProp=a:this.anchor=t.getLayoutValue("text-anchor",i),a=t.getLayoutProperty("text-justify"),a?.isDataDriven?this._justifyProp=a:this.justify=t.getLayoutValue("text-justify",i),a=t.getLayoutProperty("text-letter-spacing"),a?.isDataDriven?this._letterSpacingProp=a:this.letterSpacing=t.getLayoutValue("text-letter-spacing",i),a=t.getLayoutProperty("text-line-height"),a?.isDataDriven?this._lineHeightProp=a:this.lineHeight=t.getLayoutValue("text-line-height",i),a=t.getLayoutProperty("text-max-angle"),a?.isDataDriven?this._maxAngleProp=a:this.maxAngle=t.getLayoutValue("text-max-angle",i),a=t.getLayoutProperty("text-max-width"),a?.isDataDriven?this._maxWidthProp=a:this.maxWidth=t.getLayoutValue("text-max-width",i),a=t.getLayoutProperty("text-offset"),a?.isDataDriven?this._offsetProp=a:this.offset=t.getLayoutValue("text-offset",i),a=t.getLayoutProperty("text-padding"),a?.isDataDriven?this._paddingProp=a:this.padding=t.getLayoutValue("text-padding",i),a=t.getLayoutProperty("text-rotate"),a?.isDataDriven?this._rotateProp=a:this.rotate=t.getLayoutValue("text-rotate",i),a=t.getLayoutProperty("text-size"),a?.isDataDriven?this._sizeProp=a:this.size=t.getLayoutValue("text-size",i),a=t.getLayoutProperty("text-writing-mode"),a?.isDataDriven?this._writingModeProp=a:this.writingMode=t.getLayoutValue("text-writing-mode",i)}update(t,i){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,i)),this._justifyProp&&(this.justify=this._justifyProp.getValue(t,i)),this._letterSpacingProp&&(this.letterSpacing=this._letterSpacingProp.getValue(t,i)),this._lineHeightProp&&(this.lineHeight=this._lineHeightProp.getValue(t,i)),this._maxAngleProp&&(this.maxAngle=this._maxAngleProp.getValue(t,i)),this._maxWidthProp&&(this.maxWidth=this._maxWidthProp.getValue(t,i)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,i)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,i)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,i)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,i)),this._writingModeProp&&(this.writingMode=this._writingModeProp.getValue(t,i))}}function z(i){const e=i?.getGeometry();if(null==e)return null;let a=1/0,o=1/0,r=-1/0,n=-1/0;for(const t of e)if(t)for(const i of t)a=Math.min(a,i.x),o=Math.min(o,i.y),r=Math.max(r,i.x),n=Math.max(n,i.y);return t(a,o,r,n)}export{d as BackgroundStyleLayer,v as CircleStyleLayer,_ as FillStyleLayer,V as IconLayout,D as IndexItem,L as LineStyleLayer,m as StyleLayer,x as SymbolStyleLayer,T as TextLayout};
2
+ import{fromValues as t}from"../../../../../geometry/support/aaBoundingRect.js";import{tilePixelRatio as i}from"../constants.js";import{translateAnchor as e,offsetLine as a,distanceFromToPolylineWithinThreshold as o,pointInPolygon as r}from"../GeometryUtils.js";import{VTLBackgroundMaterial as n}from"../shaders/VTLBackgroundMaterial.js";import{VTLCircleMaterial as s}from"../shaders/VTLCircleMaterial.js";import{VTLFillMaterial as l,VTLOutlineMaterial as h}from"../shaders/VTLFillMaterial.js";import{VTLLineMaterial as u}from"../shaders/VTLLineMaterial.js";import{VTLIconMaterial as p,VTLTextMaterial as g}from"../shaders/VTLSymbolMaterial.js";import c from"./Filter.js";import{StyleDefinition as y}from"./StyleDefinition.js";import P from"./StyleProperty.js";import{thinLineHalfWidthThreshold as f}from"../../webgl/definitions.js";class D{constructor(t,i,e,a,o,r){this.layer=t,this.feature=i,this.bounds=e,this.normalizationRatio=a,this.normalizationOffsetX=o,this.normalizationOffsetY=r}}class m{constructor(t,i,e,a){switch(this.type=t,this.typeName=i.type,this.id=i.id,this.source=i.source,this.sourceLayer=i["source-layer"],this.minzoom=i.minzoom,this.maxzoom=i.maxzoom,this.filter=i.filter,this.layout=i.layout,this.paint=i.paint,this.z=e,this.uid=a,t){case 0:this._layoutDefinition=y.backgroundLayoutDefinition,this._paintDefinition=y.backgroundPaintDefinition;break;case 1:this._layoutDefinition=y.fillLayoutDefinition,this._paintDefinition=y.fillPaintDefinition;break;case 2:this._layoutDefinition=y.lineLayoutDefinition,this._paintDefinition=y.linePaintDefinition;break;case 3:this._layoutDefinition=y.symbolLayoutDefinition,this._paintDefinition=y.symbolPaintDefinition;break;case 4:this._layoutDefinition=y.circleLayoutDefinition,this._paintDefinition=y.circlePaintDefinition}this._layoutProperties=this._parseLayout(this.layout),this._paintProperties=this._parsePaint(this.paint)}getFeatureFilter(){return void 0!==this._featureFilter?this._featureFilter:this._featureFilter=c.createFilter(this.filter)}getLayoutProperty(t){return this._layoutProperties[t]}getPaintProperty(t){return this._paintProperties[t]}getLayoutValue(t,i,e){let a;const o=this._layoutProperties[t];return o&&(a=o.getValue(i,e)),void 0===a&&(a=this._layoutDefinition[t].default),a}getPaintValue(t,i,e){let a;const o=this._paintProperties[t];return o&&(a=o.getValue(i,e)),void 0===a&&(a=this._paintDefinition[t].default),a}isPainterDataDriven(){const t=this._paintProperties;if(t)for(const i in t)if(t[i].isDataDriven)return!0;return!1}isIntersectingFeature(t,i,e,a,o,r,n){return!1}getFeatureInflatedBounds(t,i,e,a){return null}_parseLayout(t){const i={};for(const e in t){const a=this._layoutDefinition[e];a&&(i[e]=new P(a,t[e]))}return i}_parsePaint(t){const i={};for(const e in t){const a=this._paintDefinition[e];a&&(i[e]=new P(a,t[e]))}return i}computeAttributesKey(t,i,e,a){let o=0,r=0;for(const n of i){let t=3;if(n&&n!==a){const i=e[n],{isLayout:a,isOptional:o}=i,r=a?this.getLayoutProperty(n):this.getPaintProperty(n);t=r?.interpolator?2:r?.isDataDriven?1:o&&!r?3:0}r|=t<<o,o+=2}return r<<3|t}}class d extends m{constructor(t,i,e,a){super(t,i,e,a),this.backgroundMaterial=new n(this.computeAttributesKey(0,n.ATTRIBUTES,n.ATTRIBUTES_INFO))}}class _ extends m{constructor(t,i,e,a){super(t,i,e,a);const o=this.getPaintProperty("fill-color"),r=this.getPaintProperty("fill-opacity"),n=this.getPaintProperty("fill-pattern");this.hasDataDrivenColor=o?.isDataDriven,this.hasDataDrivenOpacity=r?.isDataDriven,this.hasDataDrivenFill=this.hasDataDrivenColor||this.hasDataDrivenOpacity||n?.isDataDriven;const s=this.getPaintProperty("fill-outline-color");this.outlineUsesFillColor=!s,this.hasDataDrivenOutlineColor=s?.isDataDriven,this.hasDataDrivenOutline=s?s.isDataDriven:!!o&&o.isDataDriven,this.hasDataDrivenOutline=(s?this.hasDataDrivenOutlineColor:this.hasDataDrivenColor)||this.hasDataDrivenOpacity,this.fillMaterial=new l(this.computeAttributesKey(1,l.ATTRIBUTES,l.ATTRIBUTES_INFO)),this.outlineMaterial=new h(this.computeAttributesKey(2,this.outlineUsesFillColor?h.ATTRIBUTES_FILL:h.ATTRIBUTES_OUTLINE,this.outlineUsesFillColor?h.ATTRIBUTES_INFO_FILL:h.ATTRIBUTES_INFO_OUTLINE),this.outlineUsesFillColor)}getFeatureInflatedBounds(t,i,e,a){const o=z(t);if(!o)return null;const r=this.getPaintValue("fill-translate",i,t),n=a*Math.max(r[0],r[1]);return o[0]-=n,o[2]-=n,o[1]+=n,o[3]+=n,o}isIntersectingFeature(t,a,n,s,l,h,u){const p=s.getGeometry();if(!p)return!1;const g=i/u.normalizationRatio;t=t/u.normalizationRatio+u.normalizationOffsetX,a=a/u.normalizationRatio+u.normalizationOffsetY;const c=e(this.getPaintValue("fill-translate",l,s),this.getPaintValue("fill-translate-anchor",l,s),h,i);t-=g*c.x,a-=g*c.y;return!!r(t,a,p)||o(t,a,p,n)}}class L extends m{constructor(t,i,e,a){super(t,i,e,a);const o=this.getPaintProperty("line-pattern");if(this.lineMaterial=new u(this.computeAttributesKey(3,u.ATTRIBUTES,u.ATTRIBUTES_INFO,o?"line-dasharray":"")),this.hasDataDrivenLine=this.getPaintProperty("line-blur")?.isDataDriven||this.getPaintProperty("line-color")?.isDataDriven||this.getPaintProperty("line-gap-width")?.isDataDriven||this.getPaintProperty("line-offset")?.isDataDriven||this.getPaintProperty("line-opacity")?.isDataDriven||this.getPaintProperty("line-pattern")?.isDataDriven||this.getPaintProperty("line-dasharray")?.isDataDriven||this.getLayoutProperty("line-cap")?.isDataDriven||this.getPaintProperty("line-width")?.isDataDriven,this.canUseThinTessellation=!1,!this.hasDataDrivenLine){const t=this.getPaintProperty("line-width");if(!t||"number"==typeof t&&.5*t<f){const t=this.getPaintProperty("line-offset");(!t||"number"==typeof t&&0===t)&&(this.canUseThinTessellation=!0)}}}getDashKey(t,i){let e;switch(i){case 0:default:e="Butt";break;case 1:e="Round";break;case 2:e="Square"}return`dasharray-[${t.toString()}]-${e}`}getFeatureInflatedBounds(t,i,e,a){const o=z(t);if(!o)return null;const r=this.getPaintValue("line-translate",i,t),n=a*Math.max(r[0],r[1]);o[0]-=n,o[2]-=n,o[1]+=n,o[3]+=n;const s=a*Math.abs(this.getPaintValue("line-offset",i,t)||0),l=a*(this.getPaintValue("line-width",i,t)/2);return o[0]-=s+l,o[1]-=s+l,o[2]+=s+l,o[3]+=s+l,o}isIntersectingFeature(t,r,n,s,l,h,u){let p=s.getGeometry();if(!p)return!1;const g=i/u.normalizationRatio;t=t/u.normalizationRatio+u.normalizationOffsetX,r=r/u.normalizationRatio+u.normalizationOffsetY;const c=e(this.getPaintValue("line-translate",l,s),this.getPaintValue("line-translate-anchor",l,s),h,i);t-=g*c.x,r-=g*c.y;const y=g*this.getPaintValue("line-offset",l,s)||0;0!==y&&(p=a(p,-y));const P=this.getPaintValue("line-width",l,s);return o(t,r,p,g*(P/2)+n)}}class v extends m{constructor(t,i,e,a){super(t,i,e,a),this.iconMaterial=new p(this.computeAttributesKey(4,p.ATTRIBUTES,p.ATTRIBUTES_INFO)),this.textMaterial=new g(this.computeAttributesKey(6,g.ATTRIBUTES,g.ATTRIBUTES_INFO)),this.hasDataDrivenIcon=this.getPaintProperty("icon-color")?.isDataDriven||this.getPaintProperty("icon-halo-blur")?.isDataDriven||this.getPaintProperty("icon-halo-color")?.isDataDriven||this.getPaintProperty("icon-halo-width")?.isDataDriven||this.getPaintProperty("icon-opacity")?.isDataDriven||this.getLayoutProperty("icon-size")?.isDataDriven,this.hasDataDrivenText=this.getPaintProperty("text-color")?.isDataDriven||this.getPaintProperty("text-halo-blur")?.isDataDriven||this.getPaintProperty("text-halo-color")?.isDataDriven||this.getPaintProperty("text-halo-width")?.isDataDriven||this.getPaintProperty("text-opacity")?.isDataDriven||this.getLayoutProperty("text-size")?.isDataDriven}}class x extends m{constructor(t,i,e,a){super(t,i,e,a),this.circleMaterial=new s(this.computeAttributesKey(5,s.ATTRIBUTES,s.ATTRIBUTES_INFO))}getFeatureInflatedBounds(t,e,a,o){const r=z(t);if(!r)return null;const n=this.getPaintValue("circle-translate",e,t),s=Math.max(n[0],n[1]);r[0]-=s,r[2]-=s,r[1]+=s,r[3]+=s;const l=o*(i*(this.getPaintValue("circle-radius",e,t)+this.getPaintValue("circle-stroke-width",e,t))/2);return r[0]-=l,r[1]-=l,r[2]+=l,r[3]+=l,r}isIntersectingFeature(t,a,o,r,n,s,l){const h=r.getGeometry();if(!h)return!1;const u=i/l.normalizationRatio;t=t/l.normalizationRatio+l.normalizationOffsetX,a=a/l.normalizationRatio+l.normalizationOffsetY;const p=e(this.getPaintValue("circle-translate",n,r),this.getPaintValue("circle-translate-anchor",n,r),s,u),g=u*(this.getPaintValue("circle-radius",n,r)+this.getPaintValue("circle-stroke-width",n,r));let c,y;for(const i of h)if(i)for(const e of i){c=e.x+p.x,y=e.y+p.y;if(Math.sqrt((t-c)*(t-c)+(a-y)*(a-y))-o<=g)return!0}return!1}}class V{constructor(t,i,e){let a;this.allowOverlap=t.getLayoutValue("icon-allow-overlap",i),this.ignorePlacement=t.getLayoutValue("icon-ignore-placement",i),this.keepUpright=t.getLayoutValue("icon-keep-upright",i),this.optional=t.getLayoutValue("icon-optional",i),this.rotationAlignment=t.getLayoutValue("icon-rotation-alignment",i),2===this.rotationAlignment&&(this.rotationAlignment=e?0:1),a=t.getLayoutProperty("icon-anchor"),a?.isDataDriven?this._anchorProp=a:this.anchor=t.getLayoutValue("icon-anchor",i),a=t.getLayoutProperty("icon-offset"),a?.isDataDriven?this._offsetProp=a:this.offset=t.getLayoutValue("icon-offset",i),a=t.getLayoutProperty("icon-padding"),a?.isDataDriven?this._paddingProp=a:this.padding=t.getLayoutValue("icon-padding",i),a=t.getLayoutProperty("icon-rotate"),a?.isDataDriven?this._rotateProp=a:this.rotate=t.getLayoutValue("icon-rotate",i),a=t.getLayoutProperty("icon-size"),a?.isDataDriven?this._sizeProp=a:this.size=t.getLayoutValue("icon-size",i)}update(t,i){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,i)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,i)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,i)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,i)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,i))}}class T{constructor(t,i,e){let a;this.allowOverlap=t.getLayoutValue("text-allow-overlap",i),this.ignorePlacement=t.getLayoutValue("text-ignore-placement",i),this.keepUpright=t.getLayoutValue("text-keep-upright",i),this.optional=t.getLayoutValue("text-optional",i),this.rotationAlignment=t.getLayoutValue("text-rotation-alignment",i),2===this.rotationAlignment&&(this.rotationAlignment=e?0:1),a=t.getLayoutProperty("text-anchor"),a?.isDataDriven?this._anchorProp=a:this.anchor=t.getLayoutValue("text-anchor",i),a=t.getLayoutProperty("text-justify"),a?.isDataDriven?this._justifyProp=a:this.justify=t.getLayoutValue("text-justify",i),a=t.getLayoutProperty("text-letter-spacing"),a?.isDataDriven?this._letterSpacingProp=a:this.letterSpacing=t.getLayoutValue("text-letter-spacing",i),a=t.getLayoutProperty("text-line-height"),a?.isDataDriven?this._lineHeightProp=a:this.lineHeight=t.getLayoutValue("text-line-height",i),a=t.getLayoutProperty("text-max-angle"),a?.isDataDriven?this._maxAngleProp=a:this.maxAngle=t.getLayoutValue("text-max-angle",i),a=t.getLayoutProperty("text-max-width"),a?.isDataDriven?this._maxWidthProp=a:this.maxWidth=t.getLayoutValue("text-max-width",i),a=t.getLayoutProperty("text-offset"),a?.isDataDriven?this._offsetProp=a:this.offset=t.getLayoutValue("text-offset",i),a=t.getLayoutProperty("text-padding"),a?.isDataDriven?this._paddingProp=a:this.padding=t.getLayoutValue("text-padding",i),a=t.getLayoutProperty("text-rotate"),a?.isDataDriven?this._rotateProp=a:this.rotate=t.getLayoutValue("text-rotate",i),a=t.getLayoutProperty("text-size"),a?.isDataDriven?this._sizeProp=a:this.size=t.getLayoutValue("text-size",i),a=t.getLayoutProperty("text-writing-mode"),a?.isDataDriven?this._writingModeProp=a:this.writingMode=t.getLayoutValue("text-writing-mode",i)}update(t,i){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,i)),this._justifyProp&&(this.justify=this._justifyProp.getValue(t,i)),this._letterSpacingProp&&(this.letterSpacing=this._letterSpacingProp.getValue(t,i)),this._lineHeightProp&&(this.lineHeight=this._lineHeightProp.getValue(t,i)),this._maxAngleProp&&(this.maxAngle=this._maxAngleProp.getValue(t,i)),this._maxWidthProp&&(this.maxWidth=this._maxWidthProp.getValue(t,i)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,i)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,i)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,i)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,i)),this._writingModeProp&&(this.writingMode=this._writingModeProp.getValue(t,i))}}function z(i){const e=i?.getGeometry();if(null==e)return null;let a=1/0,o=1/0,r=-1/0,n=-1/0;for(const t of e)if(t)for(const i of t)a=Math.min(a,i.x),o=Math.min(o,i.y),r=Math.max(r,i.x),n=Math.max(n,i.y);return t(a,o,r,n)}export{d as BackgroundStyleLayer,x as CircleStyleLayer,_ as FillStyleLayer,V as IconLayout,D as IndexItem,L as LineStyleLayer,m as StyleLayer,v as SymbolStyleLayer,T as TextLayout};