@agrotools1/at-components 0.2.0 → 0.2.2

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 (553) hide show
  1. package/dist/AGraphicContainer-98a4c8a4.js +109 -0
  2. package/dist/APIKeyMixin-9511e0a5.js +19 -0
  3. package/dist/Analysis-4b1d1fb5.js +31 -0
  4. package/dist/ArcGISCachedService-93e2cb27.js +47 -0
  5. package/dist/ArcGISService-3f8d89c1.js +25 -0
  6. package/dist/AreaMeasurement2D-e0bb230c.js +405 -0
  7. package/dist/AreaMeasurement3D-a9959ecf.js +488 -0
  8. package/dist/AttachmentInfo-601c56e2.js +34 -0
  9. package/dist/AttachmentQuery-3504d550.js +18 -0
  10. package/dist/AttributeStore-b90878e3.js +1707 -0
  11. package/dist/BaseDynamicLayerView2D-b2faf028.js +63 -0
  12. package/dist/BindType-5e76c8e1.js +7 -0
  13. package/dist/BingMapsLayer-5d79fe2b.js +112 -0
  14. package/dist/Bitmap-f775c851.js +128 -0
  15. package/dist/BitmapContainer-af5942b8.js +23 -0
  16. package/dist/BlendLayer-a792edf6.js +13 -0
  17. package/dist/BoundsStore-789624df.js +63 -0
  18. package/dist/BufferObject-cbd0168e.js +100 -0
  19. package/dist/BufferView-004ad517.js +683 -0
  20. package/dist/BuildingSceneLayer-25bc760b.js +535 -0
  21. package/dist/Button/Button.d.ts +24 -2
  22. package/dist/Button-70963624.js +36 -0
  23. package/dist/ByteSizeUnit-90df2840.js +7 -0
  24. package/dist/CSVLayer-fd3b6750.js +208 -0
  25. package/dist/CSVSourceWorker-eb24cd85.js +367 -0
  26. package/dist/CatalogDynamicGroupLayerView2D-dfc700a4.js +66 -0
  27. package/dist/CatalogFootprintLayerView2D-6eb16597.js +76 -0
  28. package/dist/CatalogLayer-1cc632fe.js +262 -0
  29. package/dist/CatalogLayerView2D-d143aa34.js +52 -0
  30. package/dist/Chips/index.d.ts +1 -0
  31. package/dist/CircularArray-b2bc1dfd.js +40 -0
  32. package/dist/ClassBreaksDefinition-07ba0c64.js +18 -0
  33. package/dist/ColorMaterial.glsl-e7801766.js +64 -0
  34. package/dist/ColorSet-df5696b5.js +45 -0
  35. package/dist/ColorStop-7187f368.js +29 -0
  36. package/dist/Container-ac97765a.js +521 -0
  37. package/dist/CustomParametersMixin-b3432b3e.js +12 -0
  38. package/dist/DatePicker/DatePicker.helper.d.ts +22 -0
  39. package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.d.ts +18 -0
  40. package/dist/DatePicker/index.d.ts +2 -0
  41. package/dist/DefaultMaterial.glsl-3cc4efe7.js +42 -0
  42. package/dist/DefaultMaterial_COLOR_GAMMA-337c63aa.js +653 -0
  43. package/dist/DefaultTheme-12dffc66.js +130 -0
  44. package/dist/DeleteForwardEditsParameters-ae76d898.js +18 -0
  45. package/dist/DimensionLayer-9eb47c76.js +129 -0
  46. package/dist/DirectLineMeasurement3D-e9903136.js +449 -0
  47. package/dist/DistanceMeasurement2D-a4853462.js +303 -0
  48. package/dist/DoubleArray-5076283e.js +25 -0
  49. package/dist/EdgeProcessingWorker-c1783ddd.js +63 -0
  50. package/dist/EditBusLayer-e812f4c9.js +107 -0
  51. package/dist/ElevationInfo-fad03d5e.js +56 -0
  52. package/dist/ElevationLayer-397792d5.js +129 -0
  53. package/dist/ElevationQuery-beceb62f.js +598 -0
  54. package/dist/ElevationSamplerWorker-0048a204.js +62 -0
  55. package/dist/ExportImageParameters-c6c4bc61.js +66 -0
  56. package/dist/ExportStrategy-908f5b8d.js +93 -0
  57. package/dist/ExportWMSImageParameters-34da6b46.js +33 -0
  58. package/dist/External-14daf0c1.js +110 -0
  59. package/dist/FeatureCollectionSnappingSource-f97a1829.js +130 -0
  60. package/dist/FeatureCommandQueue-d4817eac.js +1244 -0
  61. package/dist/FeatureEffect-08976bbd.js +39 -0
  62. package/dist/FeatureEffectLayer-05c258f4.js +13 -0
  63. package/dist/FeatureFilter-8c5e44b1.js +27 -0
  64. package/dist/FeatureLayer-d3659466.js +693 -0
  65. package/dist/FeatureLayerBase-9b63f732.js +148 -0
  66. package/dist/FeatureLayerSource-960f1c01.js +444 -0
  67. package/dist/FeatureLayerView2D-7503e1ed.js +1967 -0
  68. package/dist/FeaturePipelineWorker-d4301d2a.js +3633 -0
  69. package/dist/FeatureReductionLayer-e6cf73ac.js +225 -0
  70. package/dist/FeatureReductionSelection-d90249a7.js +22 -0
  71. package/dist/FeatureServiceSnappingSource-9e49ca72.js +481 -0
  72. package/dist/FeatureServiceSnappingSourceWorker-39b093b3.js +747 -0
  73. package/dist/FeatureSet-d79f0e48.js +188 -0
  74. package/dist/FeatureStore-eb4b87c0.js +131 -0
  75. package/dist/FeatureTemplate-edb1b782.js +12 -0
  76. package/dist/FeatureType-bba29adb.js +25 -0
  77. package/dist/FieldsIndex-75cca4d0.js +109 -0
  78. package/dist/FormTemplate-22911c47.js +350 -0
  79. package/dist/GeoJSONLayer-b33c96b8.js +236 -0
  80. package/dist/GeoJSONSourceWorker-b04ff552.js +247 -0
  81. package/dist/GeoRSSLayer-6e5fcd0e.js +73 -0
  82. package/dist/GeoRSSLayerView2D-21b6b12e.js +140 -0
  83. package/dist/GeometryUtils-fa897cbd.js +403 -0
  84. package/dist/GraphicContainer-1fd6bfce.js +26 -0
  85. package/dist/GraphicManipulator-f3b7dc9b.js +1499 -0
  86. package/dist/GraphicsLayer-e0686779.js +38 -0
  87. package/dist/GraphicsLayerView2D-a7eba2fe.js +114 -0
  88. package/dist/GraphicsSnappingSource-594f402a.js +273 -0
  89. package/dist/GraphicsView2D-347562b8.js +620 -0
  90. package/dist/GroupLayer-7ae0a916.js +147 -0
  91. package/dist/GroupLayerView2D-ffcde606.js +98 -0
  92. package/dist/HUDMaterial.glsl-b0a3e0ce.js +65 -0
  93. package/dist/HighlightCounter-e18f0179.js +41 -0
  94. package/dist/HighlightGraphicContainer-fd774cea.js +18 -0
  95. package/dist/I3SBinaryReader-190e99de.js +310 -0
  96. package/dist/I3SLayerDefinitions-6ddaca60.js +55 -0
  97. package/dist/I3SUtil-44b83dc0.js +59 -0
  98. package/dist/IdentityManager-fbe91c13.js +899 -0
  99. package/dist/ImageHistogramParameters-d64fd9c8.js +905 -0
  100. package/dist/ImageryLayer-67878a78.js +1799 -0
  101. package/dist/ImageryLayerView2D-ae45faba.js +352 -0
  102. package/dist/ImageryTileLayer-9dca8b93.js +2157 -0
  103. package/dist/ImageryTileLayerView2D-977f66aa.js +1110 -0
  104. package/dist/ImmutableArray-fb7b7a6a.js +20 -0
  105. package/dist/Indices-e6dc3b15.js +67 -0
  106. package/dist/Input/Input.core.d.ts +37 -11
  107. package/dist/Input/index.d.ts +37 -11
  108. package/dist/IntegratedMesh3DTilesLayer-8811e7bf.js +112 -0
  109. package/dist/IntegratedMeshLayer-9162c0b5.js +141 -0
  110. package/dist/InteractiveAnalysisViewModel-b046fcb9.js +7397 -0
  111. package/dist/InterleavedLayout-32973c8a.js +163 -0
  112. package/dist/KMLLayer-80f81df7.js +162 -0
  113. package/dist/KMLLayerView2D-b6ba3b80.js +253 -0
  114. package/dist/KnowledgeGraphLayerView2D-ae91bd81.js +43 -0
  115. package/dist/LRUCache-27e8c401.js +32 -0
  116. package/dist/LabelClass-d9a476d6.js +135 -0
  117. package/dist/LabelMetric-e2728bbf.js +400 -0
  118. package/dist/LaserlinePath.glsl-60d00e61.js +64 -0
  119. package/dist/Laserlines.glsl-499a6cbf.js +65 -0
  120. package/dist/LayerFloorInfo-d05cf9dd.js +15 -0
  121. package/dist/LayerView-036988a9.js +206 -0
  122. package/dist/LercWorker-b1b4bb47.js +157 -0
  123. package/dist/LineOfSightLayer-9a9a60b7.js +147 -0
  124. package/dist/LinkChartLayer-d61803bb.js +1027 -0
  125. package/dist/Lyr3DWorker-87be14e0.js +82 -0
  126. package/dist/MD5-1b5ec1c3.js +76 -0
  127. package/dist/MagnifierPrograms-da7a27ab.js +806 -0
  128. package/dist/Map/Map.d.ts +26 -0
  129. package/dist/Map/index.d.ts +1 -0
  130. package/dist/Map/types/index.d.ts +38 -0
  131. package/dist/Map/utils/index.d.ts +24 -0
  132. package/dist/MapImageLayer-f07adf1a.js +169 -0
  133. package/dist/MapImageLayerView2D-d1b140c3.js +146 -0
  134. package/dist/MapNotesLayer-c662d147.js +283 -0
  135. package/dist/MapNotesLayerView2D-bf9ac698.js +161 -0
  136. package/dist/MapServiceLayerViewHelper-fb724de9.js +288 -0
  137. package/dist/MeasurementWidgetContent-e4888ef2.js +2642 -0
  138. package/dist/MediaLayer-36d873a3.js +523 -0
  139. package/dist/MediaLayerView2D-e58b8ec0.js +332 -0
  140. package/dist/MemCache-a9232ec2.js +227 -0
  141. package/dist/MemorySourceWorker-20ff27d6.js +222 -0
  142. package/dist/Mesh-3839826a.js +980 -0
  143. package/dist/MeshLocalVertexSpace-00151564.js +19 -0
  144. package/dist/MultiOriginJSONSupport-bb258670.js +158 -0
  145. package/dist/NestedMap-83f8e815.js +29 -0
  146. package/dist/OGCFeatureLayer-2a8b7ecc.js +211 -0
  147. package/dist/OGCFeatureLayerView2D-185f9649.js +82 -0
  148. package/dist/ObjectStack-10d91171.js +21 -0
  149. package/dist/Octree-78797046.js +495 -0
  150. package/dist/OpenStreetMapLayer-b0a17790.js +30 -0
  151. package/dist/OperationalLayer-55af27d6.js +44 -0
  152. package/dist/OptimizedFeatureSet-54e095c4.js +12 -0
  153. package/dist/OptimizedGeometry-3b808152.js +68 -0
  154. package/dist/OrderByInfo-22e3c805.js +16 -0
  155. package/dist/OrderIndependentTransparency-3eadfe42.js +214 -0
  156. package/dist/OrderedLayer-1403a591.js +26 -0
  157. package/dist/OrientedImageryLayer-8ec8d7d1.js +216 -0
  158. package/dist/OverlayCompositing.glsl-ba3bd81d.js +65 -0
  159. package/dist/OverrideHelper-82325a2c.js +242 -0
  160. package/dist/PBFDecoderWorker-f6517afc.js +213 -0
  161. package/dist/PointCloudLayer-cff43a10.js +197 -0
  162. package/dist/PointCloudUniqueValueRenderer-f337a895.js +115 -0
  163. package/dist/PointCloudWorker-cdb28dc1.js +212 -0
  164. package/dist/PooledRBush-ee4e60af.js +272 -0
  165. package/dist/Popup-c7f55588.js +3990 -0
  166. package/dist/PortalLayer-07b3c53e.js +126 -0
  167. package/dist/Program-ba2f18b2.js +694 -0
  168. package/dist/ProgramTemplate-eee4f097.js +35 -0
  169. package/dist/ProgressBar/ProgressBar.d.ts +0 -13
  170. package/dist/QueryEngine-10c97624.js +896 -0
  171. package/dist/QueryEngineCapabilities-0d8477a2.js +4 -0
  172. package/dist/QueryTask-115430b6.js +119 -0
  173. package/dist/RasterSymbolizer-fbf433fe.js +3024 -0
  174. package/dist/RasterVFDisplayObject-20b0dd86.js +581 -0
  175. package/dist/RasterWorker-44c37e20.js +78 -0
  176. package/dist/RawBlockCache-25203dbd.js +185 -0
  177. package/dist/RealisticTree.glsl-bc07c4dc.js +42 -0
  178. package/dist/Rect-894f011c.js +14 -0
  179. package/dist/RefreshableLayer-9550b85a.js +80 -0
  180. package/dist/RefreshableLayerView-601f7038.js +16 -0
  181. package/dist/Relationship-c662830e.js +64 -0
  182. package/dist/RelationshipQuery-765f068e.js +22 -0
  183. package/dist/RenderState-b244097f.js +7 -0
  184. package/dist/RenderingContext-3db74548.js +889 -0
  185. package/dist/RibbonLine.glsl-c6a715b7.js +65 -0
  186. package/dist/RouteLayer-3f5411f3.js +786 -0
  187. package/dist/RouteLayerView2D-a5fd4cbf.js +195 -0
  188. package/dist/SDFHelper-a34e90ee.js +140 -0
  189. package/dist/SSAO.glsl-5491a708.js +43 -0
  190. package/dist/SSAOBlur.glsl-f3068b8e.js +42 -0
  191. package/dist/ScaleRangeLayer-7ddf00b4.js +21 -0
  192. package/dist/SceneLayer-c594bfc3.js +542 -0
  193. package/dist/SceneLayerSnappingSource-a0504ac7.js +218 -0
  194. package/dist/SceneLayerSnappingSourceWorker-a04d6692.js +112 -0
  195. package/dist/SceneLayerWorker-1865768e.js +164 -0
  196. package/dist/SceneService-fb9f0142.js +215 -0
  197. package/dist/Scheduler-eacc84bb.js +373 -0
  198. package/dist/Select/Item/Item.d.ts +2 -1
  199. package/dist/Select/{Select.multiple.d.ts → Multiple/Select.multiple.d.ts} +26 -16
  200. package/dist/Select/Select.core.d.ts +18 -15
  201. package/dist/Select/{Select.single.d.ts → Single/Select.single.d.ts} +23 -14
  202. package/dist/Select/index.d.ts +42 -24
  203. package/dist/ShadedColorMaterial.glsl-db97956b.js +64 -0
  204. package/dist/SnappingOperation-9622a00d.js +48 -0
  205. package/dist/SourceLayerData-7016f1a5.js +116 -0
  206. package/dist/SpatialFilter-d20d4f50.js +1701 -0
  207. package/dist/Stop-68022e32.js +281 -0
  208. package/dist/StreamLayer-7c837e3d.js +188 -0
  209. package/dist/StreamLayerView2D-586f5a6a.js +164 -0
  210. package/dist/StyleDefinition-f4862d5a.js +36 -0
  211. package/dist/StyleRepository-fba75e70.js +2212 -0
  212. package/dist/SublayersOwner-3dc574cd.js +545 -0
  213. package/dist/SubtypeGroupLayer-1f9c5398.js +514 -0
  214. package/dist/SubtypeGroupLayerView2D-0f108d9d.js +84 -0
  215. package/dist/Tabs/Tab/Tab.d.ts +3 -3
  216. package/dist/TechniqueInstance-0481dbff.js +233 -0
  217. package/dist/TemporalLayer-8116b4a4.js +23 -0
  218. package/dist/Texture-22a8cca5.js +501 -0
  219. package/dist/TextureOnly.glsl-458f8148.js +65 -0
  220. package/dist/Theme-f05b8eb0.js +3426 -0
  221. package/dist/Tick-aef93b48.js +723 -0
  222. package/dist/TileContainer-0bf0ea1b.js +31 -0
  223. package/dist/TileInfoTilemapCache-d78858c0.js +38 -0
  224. package/dist/TileLayer-0edee064.js +194 -0
  225. package/dist/TileLayerView2D-78d5801b.js +187 -0
  226. package/dist/TilemapCache-79699d61.js +189 -0
  227. package/dist/TimeInfo-40c96ade.js +42 -0
  228. package/dist/TimeOnly-9ee66ca6.js +706 -0
  229. package/dist/Tooltip-e7498dc9.js +138 -0
  230. package/dist/TopFeaturesQuery-ad224e01.js +32 -0
  231. package/dist/TurboLine-6ab04aef.js +565 -0
  232. package/dist/UniqueValueRenderer-eaa5f8a6.js +1039 -0
  233. package/dist/UnknownLayer-e280ddd4.js +30 -0
  234. package/dist/UnknownTimeZone-220952b5.js +15 -0
  235. package/dist/UnsupportedLayer-447f7676.js +31 -0
  236. package/dist/UpdateTracking2D-e9adad8f.js +8566 -0
  237. package/dist/Util-002f5109.js +57 -0
  238. package/dist/VectorTileLayer-3210be81.js +544 -0
  239. package/dist/VectorTileLayerView2D-6a51e3b8.js +2108 -0
  240. package/dist/Version-3de8cbca.js +33 -0
  241. package/dist/VertexArrayObject-07998745.js +73 -0
  242. package/dist/VertexAttribute-faad30bf.js +11 -0
  243. package/dist/VertexColor.glsl-e415cf02.js +2683 -0
  244. package/dist/VertexElementDescriptor-d7c718c2.js +8 -0
  245. package/dist/VertexSnappingCandidate-b676241f.js +13 -0
  246. package/dist/VideoLayerView2D-f659dd0d.js +124 -0
  247. package/dist/VoxelLayer-003f82ff.js +631 -0
  248. package/dist/WFSLayer-3da6c5f7.js +221 -0
  249. package/dist/WFSSourceWorker-9a11693a.js +157 -0
  250. package/dist/WGLContainer-3d159b63.js +5426 -0
  251. package/dist/WMSLayer-fc0632f8.js +536 -0
  252. package/dist/WMSLayerView2D-54e80e1b.js +117 -0
  253. package/dist/WMTSLayer-9324b12b.js +531 -0
  254. package/dist/WMTSLayerView2D-3ef936db.js +142 -0
  255. package/dist/WebTileLayer-45c563ff.js +110 -0
  256. package/dist/WhereClause-7a28b740.js +2766 -0
  257. package/dist/WorkerHandle-0d54a6c7.js +47 -0
  258. package/dist/WorkerTileHandler-786c2b24.js +1539 -0
  259. package/dist/action-163397e3.js +198 -0
  260. package/dist/action-group-4859fb97.js +145 -0
  261. package/dist/action-menu-2d70b2fc.js +1759 -0
  262. package/dist/agrotools-theme.css.map +1 -1
  263. package/dist/apng-9b71d52c.js +392 -0
  264. package/dist/ar-a17f8064.js +18 -0
  265. package/dist/arcade-fa309282.js +229 -0
  266. package/dist/arcadeAsyncRuntime-738498fd.js +943 -0
  267. package/dist/arcadeUtils-f71d80fa.js +8741 -0
  268. package/dist/arcgis-knowledge-client-core-6056bcea.js +1218 -0
  269. package/dist/arcgis-knowledge-client-core-simd-9bc1f83e.js +1218 -0
  270. package/dist/arcgisLayers-b2b878bd.js +152 -0
  271. package/dist/associatedFeatureServiceUtils-df5b5187.js +92 -0
  272. package/dist/axisAngleDegrees-32643b7c.js +49 -0
  273. package/dist/basicInterfaces-fa4f5fa7.js +30 -0
  274. package/dist/basis_transcoder-3187cc92.js +1248 -0
  275. package/dist/bg_BG-9950a70b.js +18 -0
  276. package/dist/bs_BA-60482871.js +18 -0
  277. package/dist/ca_ES-a121088e.js +18 -0
  278. package/dist/calcite-action-bar-5a87c23c.js +303 -0
  279. package/dist/calcite-action-ee2ca847.js +22 -0
  280. package/dist/calcite-action-group-19aa86ee.js +28 -0
  281. package/dist/calcite-button-8e9175c0.js +228 -0
  282. package/dist/calcite-flow-57d26d2d.js +128 -0
  283. package/dist/calcite-flow-item-4a3e3fc0.js +499 -0
  284. package/dist/calcite-icon-d99e280a.js +16 -0
  285. package/dist/calcite-input-28b20785.js +24 -0
  286. package/dist/calcite-label-4f30e08d.js +79 -0
  287. package/dist/calcite-list-0cee7628.js +2135 -0
  288. package/dist/calcite-list-item-0a19efa8.js +576 -0
  289. package/dist/calcite-list-item-group-0706662f.js +71 -0
  290. package/dist/calcite-loader-865045b1.js +14 -0
  291. package/dist/calcite-modal-3e4da6fd.js +333 -0
  292. package/dist/calcite-notice-50b74ab7.js +181 -0
  293. package/dist/calcite-option-713c1d40.js +94 -0
  294. package/dist/calcite-scrim-809fbd0b.js +18 -0
  295. package/dist/calcite-select-28d8edfc.js +231 -0
  296. package/dist/capabilities-c8f838be.js +50 -0
  297. package/dist/chartCommon-13718cda.js +256 -0
  298. package/dist/chartUtilsAm5-6be145fb.js +2954 -0
  299. package/dist/clientSideDefaults-5c1f97c9.js +39 -0
  300. package/dist/colorRamps-8792655e.js +38 -0
  301. package/dist/colorUtils-54f4b662.js +164 -0
  302. package/dist/commonProperties-f9559903.js +60 -0
  303. package/dist/component-51a10bc0.js +18 -0
  304. package/dist/computeTranslationToOriginAndRotation-4876cb93.js +60 -0
  305. package/dist/conditionalSlot-87175989.js +27 -0
  306. package/dist/config-61215215.js +7 -0
  307. package/dist/constants-5bd557fe.js +5 -0
  308. package/dist/createConnection-f974a00a.js +299 -0
  309. package/dist/crsUtils-59933b10.js +7 -0
  310. package/dist/cs_CZ-1b968650.js +18 -0
  311. package/dist/da_DK-e0fe1642.js +18 -0
  312. package/dist/dataUtils-7c276b73.js +1421 -0
  313. package/dist/date-1c28c6a5.js +52 -0
  314. package/dist/de_CH-b0dbd4c8.js +6 -0
  315. package/dist/de_DE-8609ef65.js +6 -0
  316. package/dist/debounce-de27a42a.js +121 -0
  317. package/dist/deduplicate-59fb9cac.js +89 -0
  318. package/dist/defaults-2bfa4a36.js +31 -0
  319. package/dist/defaultsJSON-ba17aa15.js +10 -0
  320. package/dist/definitions-a00a3a6c.js +52 -0
  321. package/dist/deleteForwardEdits-f653b513.js +13 -0
  322. package/dist/devEnvironmentUtils-42cb97c7.js +11 -0
  323. package/dist/diffUtils-e71a6152.js +90 -0
  324. package/dist/dom-b589b728.js +358 -0
  325. package/dist/doublePrecisionUtils-46e21550.js +22 -0
  326. package/dist/drapedUtils-b42fcbc6.js +75 -0
  327. package/dist/earcut-6fa1a128.js +292 -0
  328. package/dist/edgeProcessing-2ff1f201.js +252 -0
  329. package/dist/editingSupport-68545668.js +203 -0
  330. package/dist/editsZScale-c7cdd215.js +37 -0
  331. package/dist/el_GR-5cfd1e7e.js +18 -0
  332. package/dist/elevationInfoUtils-5456a079.js +126 -0
  333. package/dist/en_CA-47f2633b.js +18 -0
  334. package/dist/en_US-47f2633b.js +18 -0
  335. package/dist/enums-25d066fc.js +13 -0
  336. package/dist/enums-2c166c09.js +99 -0
  337. package/dist/enums-fa8f05ab.js +152 -0
  338. package/dist/es_ES-489878a2.js +6 -0
  339. package/dist/et_EE-6472669a.js +18 -0
  340. package/dist/executeForIds-4ab75c0d.js +14 -0
  341. package/dist/executeForTopCount-7e095ec1.js +17 -0
  342. package/dist/executeForTopExtents-19daf9d0.js +17 -0
  343. package/dist/executeForTopIds-1ba3a4af.js +17 -0
  344. package/dist/executeQueryJSON-46168866.js +15 -0
  345. package/dist/executeQueryPBF-d8623daf.js +152 -0
  346. package/dist/executeRelationshipQuery-011dfb45.js +53 -0
  347. package/dist/executeTopFeaturesQuery-02166801.js +18 -0
  348. package/dist/featureConversionUtils-650d7601.js +479 -0
  349. package/dist/featureLayerUtils-64e09283.js +142 -0
  350. package/dist/featureLayerUtils-b07f9c11.js +250 -0
  351. package/dist/featureSetUtils-9d37d6f8.js +2530 -0
  352. package/dist/featuresetbase-62aeb079.js +707 -0
  353. package/dist/featuresetgeom-51f9fc4e.js +99 -0
  354. package/dist/featuresetstats-4db32894.js +81 -0
  355. package/dist/featuresetstring-990c3287.js +95 -0
  356. package/dist/fetchService-5198dd4a.js +33 -0
  357. package/dist/fi_FI-d7a3a525.js +18 -0
  358. package/dist/fieldProperties-edfa24cb.js +33 -0
  359. package/dist/floatRGBA-516d7961.js +20 -0
  360. package/dist/floorFilterUtils-936f7587.js +19 -0
  361. package/dist/focusTrapComponent-e849bb89.js +475 -0
  362. package/dist/form-99719d52.js +138 -0
  363. package/dist/fr_FR-a88f2596.js +7 -0
  364. package/dist/geohashUtils-2bc76440.js +85 -0
  365. package/dist/geojson-603231df.js +208 -0
  366. package/dist/geomasync-e9063b4c.js +567 -0
  367. package/dist/geometryEngine-d3bb2fd6.js +192 -0
  368. package/dist/geometryEngineAsync-55aa6170.js +217 -0
  369. package/dist/geometryEngineBase-527e8b63.js +18463 -0
  370. package/dist/geometryEngineJSON-28087174.js +46 -0
  371. package/dist/geometryEngineJSON-d54949f9.js +171 -0
  372. package/dist/geometryEngineWorker-dc2c7127.js +11 -0
  373. package/dist/geometryServiceUtils-6a3e1e93.js +28 -0
  374. package/dist/georeference-ed8b2c30.js +291 -0
  375. package/dist/gif-204e82dd.js +323 -0
  376. package/dist/glUtil-8f8bce6b.js +19 -0
  377. package/dist/gltfexport-b2566542.js +705 -0
  378. package/dist/groupLayerUtils-ea9e6359.js +39 -0
  379. package/dist/guid-5ee54248.js +17 -0
  380. package/dist/he_IL-e34cf273.js +18 -0
  381. package/dist/heatmapUtils-56758920.js +45 -0
  382. package/dist/highlightReasons-de432106.js +19 -0
  383. package/dist/hr_HR-6a124f87.js +18 -0
  384. package/dist/hu_HU-58f3feb6.js +18 -0
  385. package/dist/hydrated-0e1c7565.js +40 -0
  386. package/dist/i3s-bb0b5b67.js +809 -0
  387. package/dist/icon-c6e3bd23.js +127 -0
  388. package/dist/id_ID-18d97715.js +18 -0
  389. package/dist/imageBitmapUtils-881d8c64.js +23 -0
  390. package/dist/imageUtils-57eeedc5.js +69 -0
  391. package/dist/imageUtils-ef69c578.js +89 -0
  392. package/dist/imageryUtils-23f51cb1.js +43 -0
  393. package/dist/index-01c737ed.js +42563 -0
  394. package/dist/index.d.ts +2 -1
  395. package/dist/index.js +22 -10177
  396. package/dist/infoFor3D-bf4e6c95.js +58 -0
  397. package/dist/input-message-673a9baa.js +92 -0
  398. package/dist/input2-bbf6454e.js +575 -0
  399. package/dist/interactive-aeb2cb9f.js +80 -0
  400. package/dist/interfaces-fac3cfda.js +7 -0
  401. package/dist/it_IT-49e70bbf.js +6 -0
  402. package/dist/ja_JP-eaef2cc3.js +18 -0
  403. package/dist/json-5febf88a.js +57 -0
  404. package/dist/jsonContext-2dc288b1.js +15 -0
  405. package/dist/jsonUtils-1abd4bfc.js +59 -0
  406. package/dist/jsonUtils-913fa1bd.js +86 -0
  407. package/dist/jsonUtils-f6a5e63b.js +476 -0
  408. package/dist/kmlUtils-7c2744fe.js +112 -0
  409. package/dist/knowledgeGraphService-6a349e04.js +739 -0
  410. package/dist/knowledgegraph-c91b0bb2.js +149 -0
  411. package/dist/ko_KR-5c972fd8.js +14 -0
  412. package/dist/label2-1ab25f27.js +90 -0
  413. package/dist/labelUtils-a3634e8f.js +61 -0
  414. package/dist/labelingInfo-568c9210.js +46 -0
  415. package/dist/layerViewUtils-052e603c.js +10 -0
  416. package/dist/layersCreator-4a5366ea.js +151 -0
  417. package/dist/layersLoader-b87d4857.js +197 -0
  418. package/dist/lazyLayerLoader-8817000c.js +10 -0
  419. package/dist/lclayout-64c67b4e.js +773 -0
  420. package/dist/lengthUtils-695e744c.js +5 -0
  421. package/dist/lerc-wasm-13192bf3.js +325 -0
  422. package/dist/libtess-asm-4883179d.js +3673 -0
  423. package/dist/libtess-fc70d1ce.js +269 -0
  424. package/dist/lineSegment-3aa941f5.js +76 -0
  425. package/dist/loadGLTFMesh-db6645f5.js +181 -0
  426. package/dist/loadable-266f324b.js +24 -0
  427. package/dist/loader-d1ce1bc1.js +79 -0
  428. package/dist/lt_LT-26f13fd1.js +6 -0
  429. package/dist/lv_LV-4feafa92.js +18 -0
  430. package/dist/lyr3DWorker-dd48e619.js +2108 -0
  431. package/dist/mapViewDeps-226d9da3.js +3052 -0
  432. package/dist/mask-svg-30f64a7b.js +4 -0
  433. package/dist/mat3f64-03233387.js +19 -0
  434. package/dist/mat4f64-cce69db4.js +19 -0
  435. package/dist/mediaLayerUtils-ae485c27.js +35 -0
  436. package/dist/meshFeatureSet-8a2ad011.js +126 -0
  437. package/dist/meshVertexSpaceUtils-6efe3dcc.js +58 -0
  438. package/dist/multiOriginJSONSupportUtils-207ba4d4.js +6 -0
  439. package/dist/multidimensionalUtils-508a3f3f.js +290 -0
  440. package/dist/nb_NO-21543153.js +18 -0
  441. package/dist/nl_NL-7876d97f.js +7 -0
  442. package/dist/normalizeUtilsSync-1dae280b.js +181 -0
  443. package/dist/number-5aa3a81b.js +128 -0
  444. package/dist/objectIdUtils-93dae423.js +14 -0
  445. package/dist/objectResourceUtils-642ab03e.js +1455 -0
  446. package/dist/observers-f646a6a4.js +30 -0
  447. package/dist/ogcFeatureUtils-46ac1c44.js +206 -0
  448. package/dist/openCloseComponent-47eb52c6.js +37 -0
  449. package/dist/orientedBoundingBox-554ccdc6.js +447 -0
  450. package/dist/originUtils-87edf087.js +9 -0
  451. package/dist/overlay-svg-c3941b3b.js +4 -0
  452. package/dist/parser-0701286c.js +488 -0
  453. package/dist/pbf-5dd791f5.js +215 -0
  454. package/dist/pbfQueryUtils-a6ca7e23.js +422 -0
  455. package/dist/pe-wasm-6c16b121.js +887 -0
  456. package/dist/persistable-9eb0e8df.js +89 -0
  457. package/dist/perspectiveUtils-b194621d.js +42 -0
  458. package/dist/pieChart-b97433d0.js +555 -0
  459. package/dist/pl_PL-276c6dae.js +18 -0
  460. package/dist/plane-3398eec1.js +160 -0
  461. package/dist/popupUtils-c444b896.js +22 -0
  462. package/dist/popupUtils-d871563b.js +50 -0
  463. package/dist/portalItemUtils-4c4caad0.js +57 -0
  464. package/dist/portalLayers-cb07742f.js +312 -0
  465. package/dist/portalUtils-effd590f.js +7 -0
  466. package/dist/programUtils-65af7b7c.js +59 -0
  467. package/dist/project-ee9c2947.js +21 -0
  468. package/dist/projectPointToVector-7dc831a9.js +14 -0
  469. package/dist/projectVectorToVector-5163db7a.js +13 -0
  470. package/dist/pt_BR-4fae3055.js +6 -0
  471. package/dist/pt_PT-14d9efb1.js +6 -0
  472. package/dist/quantityUtils-5cd4cf90.js +33 -0
  473. package/dist/quantizationUtils-0a8f74c6.js +68 -0
  474. package/dist/quat-a508aed3.js +104 -0
  475. package/dist/quatf64-bec1af25.js +19 -0
  476. package/dist/query-b6e1fd14.js +89 -0
  477. package/dist/queryAttachments-7b39ebdc.js +39 -0
  478. package/dist/queryEngineUtils-cb8e309e.js +21 -0
  479. package/dist/queryTopFeatures-2e0e3941.js +50 -0
  480. package/dist/queryZScale-c5733d0a.js +12 -0
  481. package/dist/rasterProjectionHelper-213afa27.js +577 -0
  482. package/dist/rasterUtils-f2e44e8b.js +122 -0
  483. package/dist/rasterizingUtils-25cc0190.js +46 -0
  484. package/dist/request-e0c679b3.js +46 -0
  485. package/dist/requestImageUtils-37d79281.js +8 -0
  486. package/dist/resourceExtension-5f3f1c80.js +17 -0
  487. package/dist/resourceUtils-0d68cbc2.js +69 -0
  488. package/dist/resourceUtils-374db840.js +62 -0
  489. package/dist/resourceUtils-43ce192b.js +42 -0
  490. package/dist/ro_RO-8e733cf5.js +18 -0
  491. package/dist/ru_RU-f7bafc90.js +6 -0
  492. package/dist/saveAPIKeyUtils-1a3d4a8a.js +8 -0
  493. package/dist/saveUtils-43fdc547.js +24 -0
  494. package/dist/scaleUtils-bdf8b6cb.js +23 -0
  495. package/dist/scrim-44eb4dc0.js +114 -0
  496. package/dist/serviceCapabilitiesUtils-823612b8.js +64 -0
  497. package/dist/sizeVariableUtils-a1b694d8.js +27 -0
  498. package/dist/sk_SK-c279eea3.js +6 -0
  499. package/dist/sl_SL-e40950dd.js +6 -0
  500. package/dist/sourceUtils-01d115c6.js +71 -0
  501. package/dist/sphere-908cd9aa.js +199 -0
  502. package/dist/sr_RS-b1835dfa.js +18 -0
  503. package/dist/statsWorker-49f9befe.js +37 -0
  504. package/dist/streamLayerUtils-29324e05.js +31 -0
  505. package/dist/style.css +1 -1
  506. package/dist/styleUtils-82e8da52.js +75 -0
  507. package/dist/styleUtils-8541d60d.js +14 -0
  508. package/dist/sublayerUtils-eaac2486.js +37 -0
  509. package/dist/substitute-1f578d70.js +52 -0
  510. package/dist/sv_SE-15ca9e36.js +6 -0
  511. package/dist/symbolColorUtils-18fd6b3d.js +8 -0
  512. package/dist/symbolLayerUtils-4c58b291.js +31 -0
  513. package/dist/symbologySnappingCandidates-14d94b6b.js +221 -0
  514. package/dist/t9n-c1c2b6c8.js +349 -0
  515. package/dist/testSVGPremultipliedAlpha-159dac90.js +94 -0
  516. package/dist/th_TH-bf624a56.js +18 -0
  517. package/dist/tileUtils-3e0c8c1d.js +7 -0
  518. package/dist/timeSupport-3f529cdb.js +410 -0
  519. package/dist/tr_TR-ca5c315f.js +18 -0
  520. package/dist/triangle-8a3a2ba8.js +98 -0
  521. package/dist/types-adba9034.js +19 -0
  522. package/dist/uk_UA-4b3cb86d.js +6 -0
  523. package/dist/unitConversionUtils-f0ebaf75.js +17 -0
  524. package/dist/unitFormatUtils-555e2d94.js +40 -0
  525. package/dist/uploadAssetErrors-d1389781.js +70 -0
  526. package/dist/uploadAssets-5e85f09d.js +330 -0
  527. package/dist/utils-3a10b10c.js +34 -0
  528. package/dist/utils-505c54e9.js +91 -0
  529. package/dist/utils-5432e258.js +433 -0
  530. package/dist/utils-7a88ec6a.js +419 -0
  531. package/dist/utils-7fa9cdf9.js +2746 -0
  532. package/dist/utils-d252c575.js +73 -0
  533. package/dist/utils-f07e00b3.js +232 -0
  534. package/dist/utils-fda10b4b.js +79 -0
  535. package/dist/utils3-c34ab97c.js +75 -0
  536. package/dist/vec3-f79c600d.js +81 -0
  537. package/dist/vec3f32-304a6a9c.js +36 -0
  538. package/dist/vec42-36edeb73.js +125 -0
  539. package/dist/vec4f32-b2628ced.js +38 -0
  540. package/dist/vec4f64-043e974c.js +45 -0
  541. package/dist/versionUtils-6935648b.js +161 -0
  542. package/dist/vi_VN-ad09e708.js +18 -0
  543. package/dist/visualVariableUtils-c425461a.js +267 -0
  544. package/dist/webStyleSymbolUtils-4f42a29f.js +48 -0
  545. package/dist/webglDeps-5f18210d.js +23 -0
  546. package/dist/wfsUtils-6f7f1e3e.js +343 -0
  547. package/dist/workerHelper-9dc9a790.js +11 -0
  548. package/dist/xmlUtils-64cc47e1.js +24 -0
  549. package/dist/xyChart-e5648fee.js +3335 -0
  550. package/dist/zh_Hans-61faef57.js +14 -0
  551. package/dist/zh_Hant-87a9767b.js +14 -0
  552. package/dist/zipjs-wrapper-1bd67e07.js +6496 -0
  553. package/package.json +6 -1
@@ -0,0 +1,1039 @@
1
+ import { e as i, y as a, c as d, bx as V, bz as v, bu as I, ei as B, c5 as _, ea as st, s as w, iV as Ne, c2 as G, gO as Vt, hj as St, W as Re, eV as it, S as xt, bK as It, iW as U, eI as Ce, eS as _t, jJ as Le, eR as $t, jK as lt, dV as zt, hi as ve, f1 as jt, c3 as at, jL as rt, da as ce, hD as Ft, db as ot, bj as Ge, B as Et, bN as Ve, cU as qt, d_ as kt, eZ as Tt, o as be } from "./index-01c737ed.js";
2
+ import { p as Ae, a as Ot } from "./ColorStop-7187f368.js";
3
+ import { m as Ut } from "./diffUtils-e71a6152.js";
4
+ import { m as Bt, p as Dt } from "./colorRamps-8792655e.js";
5
+ import { e as W, t as Mt, a as Nt, i as He } from "./sizeVariableUtils-a1b694d8.js";
6
+ import { viewScaleRE as Rt } from "./visualVariableUtils-c425461a.js";
7
+ import { l as ye } from "./jsonUtils-1abd4bfc.js";
8
+ import { c as Ct } from "./styleUtils-82e8da52.js";
9
+ var Se;
10
+ let Z = Se = class extends V {
11
+ constructor(e) {
12
+ super(e), this.minValue = 0, this.maxValue = 0;
13
+ }
14
+ clone() {
15
+ return new Se({ minValue: this.minValue, maxValue: this.maxValue });
16
+ }
17
+ };
18
+ i([a({ type: Number, json: { write: !0 } })], Z.prototype, "minValue", void 0), i([a({ type: Number, json: { write: !0 } })], Z.prototype, "maxValue", void 0), Z = Se = i([d("esri.renderer.support.AuthoringInfoClassBreakInfo")], Z);
19
+ var xe;
20
+ let O = xe = class extends V {
21
+ constructor(e) {
22
+ super(e), this.field = "", this.normalizationField = "", this.label = "", this.classBreakInfos = [];
23
+ }
24
+ clone() {
25
+ return new xe({ field: this.field, normalizationField: this.normalizationField, label: this.label, classBreakInfos: v(this.classBreakInfos) });
26
+ }
27
+ };
28
+ i([a({ type: String, json: { write: !0 } })], O.prototype, "field", void 0), i([a({ type: String, json: { write: !0 } })], O.prototype, "normalizationField", void 0), i([a({ type: String, json: { write: !0 } })], O.prototype, "label", void 0), i([a({ type: [Z], json: { write: !0 } })], O.prototype, "classBreakInfos", void 0), O = xe = i([d("esri.renderers.support.AuthoringInfoFieldInfo")], O);
29
+ var Ie;
30
+ const se = new I({ percentTotal: "percent-of-total", ratio: "ratio", percent: "percent" }), ie = new I({ sizeInfo: "size", colorInfo: "color", transparencyInfo: "opacity", rotationInfo: "rotation" }), Pe = { key: (e) => typeof e == "number" ? "number" : "string", typeMap: { number: Number, string: String }, base: null }, Je = ["high-to-low", "above-and-below", "centered-on", "extremes"], We = [.../* @__PURE__ */ new Set(["high-to-low", "above-and-below", "centered-on", "extremes", "90-10", "above", "below", "high-to-low", "above-and-below", "90-10", "above", "below"])], Ze = ["seconds", "minutes", "hours", "days", "months", "years"];
31
+ let b = Ie = class extends V {
32
+ constructor(e) {
33
+ super(e), this.endTime = null, this.field = null, this.maxSliderValue = null, this.minSliderValue = null, this.startTime = null, this.type = null, this.units = null;
34
+ }
35
+ castEndTime(e) {
36
+ return typeof e == "string" || typeof e == "number" ? e : null;
37
+ }
38
+ castStartTime(e) {
39
+ return typeof e == "string" || typeof e == "number" ? e : null;
40
+ }
41
+ get style() {
42
+ return this.type === "color" ? this._get("style") : null;
43
+ }
44
+ set style(e) {
45
+ this._set("style", e);
46
+ }
47
+ get theme() {
48
+ return this.type === "color" || this.type === "size" ? this._get("theme") || "high-to-low" : null;
49
+ }
50
+ set theme(e) {
51
+ this._set("theme", e);
52
+ }
53
+ clone() {
54
+ return new Ie({ endTime: this.endTime, field: this.field, maxSliderValue: this.maxSliderValue, minSliderValue: this.minSliderValue, startTime: this.startTime, style: this.style, theme: this.theme, type: this.type, units: this.units });
55
+ }
56
+ };
57
+ i([a({ types: Pe, json: { write: !0 } })], b.prototype, "endTime", void 0), i([B("endTime")], b.prototype, "castEndTime", null), i([a({ type: String, json: { write: !0 } })], b.prototype, "field", void 0), i([a({ type: Number, json: { write: !0 } })], b.prototype, "maxSliderValue", void 0), i([a({ type: Number, json: { write: !0 } })], b.prototype, "minSliderValue", void 0), i([a({ types: Pe, json: { write: !0 } })], b.prototype, "startTime", void 0), i([B("startTime")], b.prototype, "castStartTime", null), i([a({ type: se.apiValues, value: null, json: { type: se.jsonValues, read: se.read, write: se.write } })], b.prototype, "style", null), i([a({ type: We, value: null, json: { type: We, origins: { "web-scene": { type: Je, write: { writer: (e, t) => {
58
+ Je.includes(e) && (t.theme = e);
59
+ } } } }, write: !0 } })], b.prototype, "theme", null), i([a({ type: ie.apiValues, json: { type: ie.jsonValues, read: ie.read, write: ie.write } })], b.prototype, "type", void 0), i([a({ type: Ze, json: { type: Ze, write: !0 } })], b.prototype, "units", void 0), b = Ie = i([d("esri.renderers.support.AuthoringInfoVisualVariable")], b);
60
+ const Gt = b;
61
+ var _e;
62
+ const M = new I({ esriClassifyDefinedInterval: "defined-interval", esriClassifyEqualInterval: "equal-interval", esriClassifyManual: "manual", esriClassifyNaturalBreaks: "natural-breaks", esriClassifyQuantile: "quantile", esriClassifyStandardDeviation: "standard-deviation" }), le = new I({ pieChart: "pie-chart", classedSize: "class-breaks-size", classedColor: "class-breaks-color", univariateColorSize: "univariate-color-size", relationship: "relationship", predominance: "predominance", dotDensity: "dot-density", flow: "flow" }), Ke = new I({ classedSize: "class-breaks-size", classedColor: "class-breaks-color", univariateColorSize: "univariate-color-size", relationship: "relationship", predominance: "predominance", dotDensity: "dot-density" }), Qe = ["inches", "feet", "yards", "miles", "nautical-miles", "millimeters", "centimeters", "decimeters", "meters", "kilometers", "decimal-degrees"], At = ["high-to-low", "above-and-below", "above", "below", "90-10"], Lt = ["flow-line", "wave-front"], Ht = ["caret", "circle-caret", "arrow", "circle-arrow", "plus-minus", "circle-plus-minus", "square", "circle", "triangle", "happy-sad", "thumb", "custom"];
63
+ let h = _e = class extends V {
64
+ constructor(e) {
65
+ super(e), this.colorRamp = null, this.fadeRatio = null, this.isAutoGenerated = !1, this.lengthUnit = null, this.maxSliderValue = null, this.minSliderValue = null, this.visualVariables = null;
66
+ }
67
+ get classificationMethod() {
68
+ const e = this._get("classificationMethod"), t = this.type;
69
+ return t && t !== "relationship" ? t === "class-breaks-size" || t === "class-breaks-color" ? e || "manual" : null : e;
70
+ }
71
+ set classificationMethod(e) {
72
+ this._set("classificationMethod", e);
73
+ }
74
+ readColorRamp(e) {
75
+ return e ? Dt(e) : void 0;
76
+ }
77
+ get fields() {
78
+ return this.type && this.type !== "predominance" ? null : this._get("fields");
79
+ }
80
+ set fields(e) {
81
+ this._set("fields", e);
82
+ }
83
+ get field1() {
84
+ return this.type && this.type !== "relationship" ? null : this._get("field1");
85
+ }
86
+ set field1(e) {
87
+ this._set("field1", e);
88
+ }
89
+ get field2() {
90
+ return this.type && this.type !== "relationship" ? null : this._get("field2");
91
+ }
92
+ set field2(e) {
93
+ this._set("field2", e);
94
+ }
95
+ get flowTheme() {
96
+ return this.type === "flow" ? this._get("flowTheme") : null;
97
+ }
98
+ set flowTheme(e) {
99
+ this._set("flowTheme", e);
100
+ }
101
+ get focus() {
102
+ return this.type && this.type !== "relationship" ? null : this._get("focus");
103
+ }
104
+ set focus(e) {
105
+ this._set("focus", e);
106
+ }
107
+ get numClasses() {
108
+ return this.type && this.type !== "relationship" ? null : this._get("numClasses");
109
+ }
110
+ set numClasses(e) {
111
+ this._set("numClasses", e);
112
+ }
113
+ get statistics() {
114
+ return this.type === "univariate-color-size" && this.univariateTheme === "above-and-below" ? this._get("statistics") : null;
115
+ }
116
+ set statistics(e) {
117
+ this._set("statistics", e);
118
+ }
119
+ get standardDeviationInterval() {
120
+ const e = this.type;
121
+ return e && e !== "relationship" && e !== "class-breaks-size" && e !== "class-breaks-color" || this.classificationMethod && this.classificationMethod !== "standard-deviation" ? null : this._get("standardDeviationInterval");
122
+ }
123
+ set standardDeviationInterval(e) {
124
+ this._set("standardDeviationInterval", e);
125
+ }
126
+ get type() {
127
+ return this._get("type");
128
+ }
129
+ set type(e) {
130
+ let t = e;
131
+ e === "classed-size" ? t = "class-breaks-size" : e === "classed-color" && (t = "class-breaks-color"), this._set("type", t);
132
+ }
133
+ get univariateSymbolStyle() {
134
+ return this.type === "univariate-color-size" && this.univariateTheme === "above-and-below" ? this._get("univariateSymbolStyle") : null;
135
+ }
136
+ set univariateSymbolStyle(e) {
137
+ this._set("univariateSymbolStyle", e);
138
+ }
139
+ get univariateTheme() {
140
+ return this.type === "univariate-color-size" ? this._get("univariateTheme") : null;
141
+ }
142
+ set univariateTheme(e) {
143
+ this._set("univariateTheme", e);
144
+ }
145
+ clone() {
146
+ var e;
147
+ return new _e({ classificationMethod: this.classificationMethod, colorRamp: v(this.colorRamp), fadeRatio: v(this.fadeRatio), fields: (e = this.fields) == null ? void 0 : e.slice(0), field1: v(this.field1), field2: v(this.field2), isAutoGenerated: this.isAutoGenerated, focus: this.focus, numClasses: this.numClasses, maxSliderValue: this.maxSliderValue, minSliderValue: this.minSliderValue, lengthUnit: this.lengthUnit, statistics: this.statistics, standardDeviationInterval: this.standardDeviationInterval, type: this.type, visualVariables: this.visualVariables && this.visualVariables.map((t) => t.clone()), univariateSymbolStyle: this.univariateSymbolStyle, univariateTheme: this.univariateTheme, flowTheme: this.flowTheme });
148
+ }
149
+ };
150
+ i([a({ type: M.apiValues, value: null, json: { type: M.jsonValues, read: M.read, write: M.write, origins: { "web-document": { default: "manual", type: M.jsonValues, read: M.read, write: M.write } } } })], h.prototype, "classificationMethod", null), i([a({ types: Bt, json: { write: !0 } })], h.prototype, "colorRamp", void 0), i([_("colorRamp")], h.prototype, "readColorRamp", null), i([a({ json: { write: !0, origins: { "web-scene": { write: !1, read: !1 } } } })], h.prototype, "fadeRatio", void 0), i([a({ type: [String], value: null, json: { write: !0 } })], h.prototype, "fields", null), i([a({ type: O, value: null, json: { write: !0 } })], h.prototype, "field1", null), i([a({ type: O, value: null, json: { write: !0 } })], h.prototype, "field2", null), i([a({ type: Lt, value: null, json: { write: !0, origins: { "web-scene": { write: !1 } } } })], h.prototype, "flowTheme", null), i([a({ type: ["HH", "HL", "LH", "LL"], value: null, json: { write: !0 } })], h.prototype, "focus", null), i([a({ type: Boolean, json: { write: !0, default: !1, origins: { "web-scene": { write: !1 } } } })], h.prototype, "isAutoGenerated", void 0), i([a({ type: Number, value: null, json: { type: st, write: !0 } })], h.prototype, "numClasses", null), i([a({ type: Qe, json: { type: Qe, read: !1, write: !1, origins: { "web-scene": { read: !0, write: !0 } } } })], h.prototype, "lengthUnit", void 0), i([a({ type: Number, json: { write: !0, origins: { "web-scene": { write: !1, read: !1 } } } })], h.prototype, "maxSliderValue", void 0), i([a({ type: Number, json: { write: !0, origins: { "web-scene": { write: !1, read: !1 } } } })], h.prototype, "minSliderValue", void 0), i([a({ type: Object, value: null, json: { write: !0, origins: { "web-scene": { write: !1, read: !1 } } } })], h.prototype, "statistics", null), i([a({ type: [0.25, 0.33, 0.5, 1], value: null, json: { type: [0.25, 0.33, 0.5, 1], write: !0 } })], h.prototype, "standardDeviationInterval", null), i([a({ type: le.apiValues, value: null, json: { type: le.jsonValues, read: le.read, write: le.write, origins: { "web-scene": { type: Ke.jsonValues, write: { writer: Ke.write, overridePolicy: (e) => ({ enabled: e !== "flow" }) } } } } })], h.prototype, "type", null), i([a({ type: [Gt], json: { write: !0 } })], h.prototype, "visualVariables", void 0), i([a({ type: Ht, value: null, json: { write: !0, origins: { "web-scene": { write: !1 } } } })], h.prototype, "univariateSymbolStyle", null), i([a({ type: At, value: null, json: { write: !0, origins: { "web-scene": { write: !1 } } } })], h.prototype, "univariateTheme", null), h = _e = i([d("esri.renderers.support.AuthoringInfo")], h);
151
+ const Pt = h, ge = new I({ simple: "simple", uniqueValue: "unique-value", classBreaks: "class-breaks", heatmap: "heatmap", dotDensity: "dot-density", dictionary: "dictionary", pieChart: "pie-chart" }, { ignoreUnknown: !0 });
152
+ let K = class extends V {
153
+ constructor(t) {
154
+ super(t), this.authoringInfo = null, this.type = null;
155
+ }
156
+ async getRequiredFields(t) {
157
+ if (!this.collectRequiredFields)
158
+ return [];
159
+ const s = /* @__PURE__ */ new Set();
160
+ return await this.collectRequiredFields(s, t), Array.from(s).sort();
161
+ }
162
+ getSymbol(t, s) {
163
+ }
164
+ async getSymbolAsync(t, s) {
165
+ }
166
+ getSymbols() {
167
+ return [];
168
+ }
169
+ getAttributeHash() {
170
+ return JSON.stringify(this);
171
+ }
172
+ getMeshHash() {
173
+ return JSON.stringify(this);
174
+ }
175
+ };
176
+ i([a({ type: Pt, json: { write: !0 } })], K.prototype, "authoringInfo", void 0), i([a({ type: ge.apiValues, readOnly: !0, json: { type: ge.jsonValues, read: !1, write: { writer: ge.write, ignoreOrigin: !0 } } })], K.prototype, "type", void 0), K = i([d("esri.renderers.Renderer")], K);
177
+ const nt = K;
178
+ function Jt(e) {
179
+ var t, s;
180
+ return ((s = (t = e.match(Wt)) == null ? void 0 : t[1]) == null ? void 0 : s.replace(/\\'/g, "'")) ?? null;
181
+ }
182
+ const Wt = /^hash\(\$feature\['((\\'|[^'])+)'\]\) \* 8\.381e-8$/;
183
+ var $e;
184
+ let oe = $e = class extends Ae {
185
+ constructor() {
186
+ super(...arguments), this.showLegend = null;
187
+ }
188
+ clone() {
189
+ return new $e({ title: this.title, showLegend: this.showLegend });
190
+ }
191
+ };
192
+ i([a({ type: Boolean, json: { write: !0 } })], oe.prototype, "showLegend", void 0), oe = $e = i([d("esri.renderers.visualVariables.support.VisualVariableLegendOptions")], oe);
193
+ const ut = oe, we = new I({ colorInfo: "color", transparencyInfo: "opacity", rotationInfo: "rotation", sizeInfo: "size" });
194
+ let x = class extends V {
195
+ constructor(t) {
196
+ super(t), this.index = null, this.type = null, this.field = null, this.valueExpression = null, this.valueExpressionTitle = null, this.legendOptions = null;
197
+ }
198
+ castField(t) {
199
+ return t == null ? t : typeof t == "function" ? (w.getLogger(this).error(".field: field must be a string value"), null) : Ne(t);
200
+ }
201
+ get arcadeRequired() {
202
+ return !!this.valueExpression;
203
+ }
204
+ clone() {
205
+ }
206
+ getAttributeHash() {
207
+ return `${this.type}-${this.field}-${this.valueExpression}`;
208
+ }
209
+ };
210
+ i([a()], x.prototype, "index", void 0), i([a({ type: we.apiValues, readOnly: !0, json: { read: we.read, write: we.write } })], x.prototype, "type", void 0), i([a({ type: String, json: { write: !0 } })], x.prototype, "field", void 0), i([B("field")], x.prototype, "castField", null), i([a({ type: String, json: { write: !0 } })], x.prototype, "valueExpression", void 0), i([a({ type: String, json: { write: !0 } })], x.prototype, "valueExpressionTitle", void 0), i([a({ readOnly: !0 })], x.prototype, "arcadeRequired", null), i([a({ type: ut, json: { write: !0 } })], x.prototype, "legendOptions", void 0), x = i([d("esri.renderers.visualVariables.VisualVariable")], x);
211
+ const ee = x;
212
+ var ze;
213
+ let N = ze = class extends ee {
214
+ constructor(e) {
215
+ super(e), this.type = "color", this.normalizationField = null;
216
+ }
217
+ get cache() {
218
+ return { ipData: this._interpolateData(), hasExpression: !!this.valueExpression, compiledFunc: null };
219
+ }
220
+ set stops(e) {
221
+ e && Array.isArray(e) && (e = e.filter((t) => !!t)).sort((t, s) => t.value - s.value), this._set("stops", e);
222
+ }
223
+ clone() {
224
+ var e;
225
+ return new ze({ field: this.field, normalizationField: this.normalizationField, valueExpression: this.valueExpression, valueExpressionTitle: this.valueExpressionTitle, stops: this.stops && this.stops.map((t) => t.clone()), legendOptions: (e = this.legendOptions) == null ? void 0 : e.clone() });
226
+ }
227
+ getAttributeHash() {
228
+ return `${super.getAttributeHash()}-${this.normalizationField}`;
229
+ }
230
+ _interpolateData() {
231
+ return this.stops && this.stops.map((e) => e.value || 0);
232
+ }
233
+ };
234
+ i([a({ readOnly: !0 })], N.prototype, "cache", null), i([a({ type: ["color"], json: { type: ["colorInfo"] } })], N.prototype, "type", void 0), i([a({ type: String, json: { write: !0 } })], N.prototype, "normalizationField", void 0), i([a({ type: [Ot], json: { write: !0 } })], N.prototype, "stops", null), N = ze = i([d("esri.renderers.visualVariables.ColorVariable")], N);
235
+ const pt = N;
236
+ var je;
237
+ let E = je = class extends V {
238
+ constructor(e) {
239
+ super(e), this.label = null, this.opacity = null, this.value = null;
240
+ }
241
+ readOpacity(e, t) {
242
+ return Vt(t.transparency);
243
+ }
244
+ writeOpacity(e, t, s) {
245
+ t[s] = St(e);
246
+ }
247
+ clone() {
248
+ return new je({ label: this.label, opacity: this.opacity, value: this.value });
249
+ }
250
+ };
251
+ i([a({ type: String, json: { write: !0 } })], E.prototype, "label", void 0), i([a({ type: Number, json: { type: st, write: { target: "transparency" } } })], E.prototype, "opacity", void 0), i([_("opacity", ["transparency"])], E.prototype, "readOpacity", null), i([G("opacity")], E.prototype, "writeOpacity", null), i([a({ type: Number, json: { write: !0 } })], E.prototype, "value", void 0), E = je = i([d("esri.renderers.visualVariables.support.OpacityStop")], E);
252
+ const Zt = E;
253
+ var Fe;
254
+ let R = Fe = class extends ee {
255
+ constructor(e) {
256
+ super(e), this.type = "opacity", this.normalizationField = null;
257
+ }
258
+ get cache() {
259
+ return { ipData: this._interpolateData(), hasExpression: !!this.valueExpression, compiledFunc: null };
260
+ }
261
+ set stops(e) {
262
+ e && Array.isArray(e) && (e = e.filter((t) => !!t)).sort((t, s) => t.value - s.value), this._set("stops", e);
263
+ }
264
+ clone() {
265
+ var e;
266
+ return new Fe({ field: this.field, normalizationField: this.normalizationField, valueExpression: this.valueExpression, valueExpressionTitle: this.valueExpressionTitle, stops: this.stops && this.stops.map((t) => t.clone()), legendOptions: (e = this.legendOptions) == null ? void 0 : e.clone() });
267
+ }
268
+ getAttributeHash() {
269
+ return `${super.getAttributeHash()}-${this.normalizationField}`;
270
+ }
271
+ _interpolateData() {
272
+ return this.stops && this.stops.map((e) => e.value || 0);
273
+ }
274
+ };
275
+ i([a({ readOnly: !0 })], R.prototype, "cache", null), i([a({ type: ["opacity"], json: { type: ["transparencyInfo"] } })], R.prototype, "type", void 0), i([a({ type: String, json: { write: !0 } })], R.prototype, "normalizationField", void 0), i([a({ type: [Zt], json: { write: !0 } })], R.prototype, "stops", null), R = Fe = i([d("esri.renderers.visualVariables.OpacityVariable")], R);
276
+ const ht = R;
277
+ var Ee;
278
+ let $ = Ee = class extends ee {
279
+ constructor(e) {
280
+ super(e), this.axis = null, this.type = "rotation", this.rotationType = "geographic", this.valueExpressionTitle = null;
281
+ }
282
+ get cache() {
283
+ return { hasExpression: !!this.valueExpression, compiledFunc: null };
284
+ }
285
+ writeValueExpressionTitleWebScene(e, t, s, l) {
286
+ if (l != null && l.messages) {
287
+ const r = `visualVariables[${this.index}]`;
288
+ l.messages.push(new Re("property:unsupported", this.type + "VisualVariable.valueExpressionTitle is not supported in Web Scene. Please remove this property to save the Web Scene.", { instance: this, propertyName: r + ".valueExpressionTitle", context: l }));
289
+ }
290
+ }
291
+ clone() {
292
+ var e;
293
+ return new Ee({ axis: this.axis, rotationType: this.rotationType, field: this.field, valueExpression: this.valueExpression, valueExpressionTitle: this.valueExpressionTitle, legendOptions: (e = this.legendOptions) == null ? void 0 : e.clone() });
294
+ }
295
+ };
296
+ i([a({ readOnly: !0 })], $.prototype, "cache", null), i([a({ type: ["heading", "tilt", "roll"], json: { origins: { "web-scene": { default: "heading", write: !0 } } } })], $.prototype, "axis", void 0), i([a({ type: ["rotation"], json: { type: ["rotationInfo"] } })], $.prototype, "type", void 0), i([a({ type: ["geographic", "arithmetic"], json: { write: !0, origins: { "web-document": { write: !0, default: "geographic" } } } })], $.prototype, "rotationType", void 0), i([a({ type: String, json: { write: !0 } })], $.prototype, "valueExpressionTitle", void 0), i([G("web-scene", "valueExpressionTitle")], $.prototype, "writeValueExpressionTitleWebScene", null), $ = Ee = i([d("esri.renderers.visualVariables.RotationVariable")], $);
297
+ const dt = $;
298
+ var qe;
299
+ let q = qe = class extends V {
300
+ constructor(e) {
301
+ super(e), this.label = null, this.size = null, this.value = null, this.useMinValue = null, this.useMaxValue = null;
302
+ }
303
+ clone() {
304
+ return new qe({ label: this.label, size: this.size, value: this.value, useMaxValue: this.useMaxValue, useMinValue: this.useMinValue });
305
+ }
306
+ };
307
+ i([a({ type: String, json: { write: !0 } })], q.prototype, "label", void 0), i([a({ type: Number, cast: it, json: { write: !0 } })], q.prototype, "size", void 0), i([a({ type: Number, json: { write: !0 } })], q.prototype, "value", void 0), i([a({ type: Boolean, json: { write: !1 } })], q.prototype, "useMinValue", void 0), i([a({ type: Boolean, json: { write: !1 } })], q.prototype, "useMaxValue", void 0), q = qe = i([d("esri.renderers.visualVariables.support.SizeStop")], q);
308
+ const Kt = q;
309
+ var ke;
310
+ let ne = ke = class extends ut {
311
+ constructor() {
312
+ super(...arguments), this.customValues = null;
313
+ }
314
+ clone() {
315
+ var e;
316
+ return new ke({ title: this.title, showLegend: this.showLegend, customValues: (e = this.customValues) == null ? void 0 : e.slice(0) });
317
+ }
318
+ };
319
+ i([a({ type: [Number], json: { write: !0 } })], ne.prototype, "customValues", void 0), ne = ke = i([d("esri.renderers.visualVariables.support.SizeVariableLegendOptions")], ne);
320
+ const Qt = ne;
321
+ var Te;
322
+ const ae = new I({ width: "width", depth: "depth", height: "height", widthAndDepth: "width-and-depth", all: "all" }), Oe = new I({ unknown: "unknown", inch: "inches", foot: "feet", yard: "yards", mile: "miles", "nautical-mile": "nautical-miles", millimeter: "millimeters", centimeter: "centimeters", decimeter: "decimeters", meter: "meters", kilometer: "kilometers", "decimal-degree": "decimal-degrees" });
323
+ function Xe(e) {
324
+ if (e != null)
325
+ return typeof e == "string" || typeof e == "number" ? it(e) : e.type === "size" ? W(e) ? e : (delete (e = { ...e }).type, new n(e)) : void 0;
326
+ }
327
+ function Ye(e, t, s) {
328
+ if (typeof e != "object")
329
+ return e;
330
+ const l = new n();
331
+ return l.read(e, s), l;
332
+ }
333
+ let n = Te = class extends ee {
334
+ constructor(e) {
335
+ super(e), this.axis = null, this.legendOptions = null, this.normalizationField = null, this.scaleBy = null, this.target = null, this.type = "size", this.useSymbolValue = null, this.valueExpression = null, this.valueRepresentation = null, this.valueUnit = null;
336
+ }
337
+ get cache() {
338
+ return { ipData: this._interpolateData(), hasExpression: !!this.valueExpression, compiledFunc: null, isScaleDriven: this.valueExpression != null && Rt.test(this.valueExpression) };
339
+ }
340
+ set expression(e) {
341
+ w.getLogger(this).warn("'expression' is deprecated since version 4.2. Use 'valueExpression' instead. The only supported expression is 'view.scale'."), e === "view.scale" ? (this.valueExpression = "$view.scale", this._set("expression", e)) : this._set("expression", null);
342
+ }
343
+ set index(e) {
344
+ W(this.maxSize) && (this.maxSize.index = `visualVariables[${e}].maxSize`), W(this.minSize) && (this.minSize.index = `visualVariables[${e}].minSize`), this._set("index", e);
345
+ }
346
+ get inputValueType() {
347
+ return Mt(this);
348
+ }
349
+ set maxDataValue(e) {
350
+ e && this.stops && (w.getLogger(this).warn("cannot set maxDataValue when stops is not null."), e = null), this._set("maxDataValue", e);
351
+ }
352
+ set maxSize(e) {
353
+ e && this.stops && (w.getLogger(this).warn("cannot set maxSize when stops is not null."), e = null), this._set("maxSize", e);
354
+ }
355
+ castMaxSize(e) {
356
+ return Xe(e);
357
+ }
358
+ readMaxSize(e, t, s) {
359
+ return Ye(e, t, s);
360
+ }
361
+ set minDataValue(e) {
362
+ e && this.stops && (w.getLogger(this).warn("cannot set minDataValue when stops is not null."), e = null), this._set("minDataValue", e);
363
+ }
364
+ set minSize(e) {
365
+ e && this.stops && (w.getLogger(this).warn("cannot set minSize when stops is not null."), e = null), this._set("minSize", e);
366
+ }
367
+ castMinSize(e) {
368
+ return Xe(e);
369
+ }
370
+ readMinSize(e, t, s) {
371
+ return Ye(e, t, s);
372
+ }
373
+ get arcadeRequired() {
374
+ return !!this.valueExpression || this.minSize != null && typeof this.minSize == "object" && this.minSize.arcadeRequired || this.maxSize != null && typeof this.maxSize == "object" && this.maxSize.arcadeRequired;
375
+ }
376
+ set stops(e) {
377
+ this.minDataValue == null && this.maxDataValue == null && this.minSize == null && this.maxSize == null ? e && Array.isArray(e) && (e = e.filter((t) => !!t)).sort((t, s) => t.value - s.value) : e && (w.getLogger(this).warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."), e = null), this._set("stops", e);
378
+ }
379
+ get transformationType() {
380
+ return Nt(this, this.inputValueType);
381
+ }
382
+ readValueExpression(e, t) {
383
+ return e || t.expression && "$view.scale";
384
+ }
385
+ writeValueExpressionWebScene(e, t, s, l) {
386
+ if (e === "$view.scale") {
387
+ if (l != null && l.messages) {
388
+ const r = this.index, o = typeof r == "string" ? r : `visualVariables[${r}]`;
389
+ l.messages.push(new Re("property:unsupported", this.type + "VisualVariable.valueExpression = '$view.scale' is not supported in Web Scene. Please remove this property to save the Web Scene.", { instance: this, propertyName: o + ".valueExpression", context: l }));
390
+ }
391
+ } else
392
+ t[s] = e;
393
+ }
394
+ readValueUnit(e) {
395
+ return e ? Oe.read(e) : null;
396
+ }
397
+ clone() {
398
+ var e, t;
399
+ return new Te({ axis: this.axis, field: this.field, valueExpression: this.valueExpression, valueExpressionTitle: this.valueExpressionTitle, maxDataValue: this.maxDataValue, maxSize: W(this.maxSize) ? this.maxSize.clone() : this.maxSize, minDataValue: this.minDataValue, minSize: W(this.minSize) ? this.minSize.clone() : this.minSize, normalizationField: this.normalizationField, stops: (e = this.stops) == null ? void 0 : e.map((s) => s.clone()), target: this.target, useSymbolValue: this.useSymbolValue, valueRepresentation: this.valueRepresentation, valueUnit: this.valueUnit, legendOptions: (t = this.legendOptions) == null ? void 0 : t.clone() });
400
+ }
401
+ flipSizes() {
402
+ if (this.transformationType === He.ClampedLinear) {
403
+ const { minSize: e, maxSize: t } = this;
404
+ return this.minSize = t, this.maxSize = e, this;
405
+ }
406
+ if (this.transformationType === He.Stops) {
407
+ const e = this.stops;
408
+ if (!e)
409
+ return this;
410
+ const t = e.map((l) => l.size).reverse(), s = e.length;
411
+ for (let l = 0; l < s; l++)
412
+ e[l].size = t[l];
413
+ return this;
414
+ }
415
+ return this;
416
+ }
417
+ getAttributeHash() {
418
+ return `${super.getAttributeHash()}-${this.target}-${this.normalizationField}`;
419
+ }
420
+ _interpolateData() {
421
+ var e;
422
+ return (e = this.stops) == null ? void 0 : e.map((t) => t.value || 0);
423
+ }
424
+ };
425
+ i([a({ readOnly: !0 })], n.prototype, "cache", null), i([a({ type: ae.apiValues, json: { type: ae.jsonValues, origins: { "web-map": { read: !1 } }, read: ae.read, write: ae.write } })], n.prototype, "axis", void 0), i([a({ type: String, value: null, json: { read: !1 } })], n.prototype, "expression", null), i([a()], n.prototype, "index", null), i([a({ type: String, readOnly: !0 })], n.prototype, "inputValueType", null), i([a({ type: Qt, json: { write: !0 } })], n.prototype, "legendOptions", void 0), i([a({ type: Number, value: null, json: { write: !0 } })], n.prototype, "maxDataValue", null), i([a({ type: Number, value: null, json: { write: !0 } })], n.prototype, "maxSize", null), i([B("maxSize")], n.prototype, "castMaxSize", null), i([_("maxSize")], n.prototype, "readMaxSize", null), i([a({ type: Number, value: null, json: { write: !0 } })], n.prototype, "minDataValue", null), i([a({ type: Number, value: null, json: { write: !0 } })], n.prototype, "minSize", null), i([B("minSize")], n.prototype, "castMinSize", null), i([_("minSize")], n.prototype, "readMinSize", null), i([a({ type: String, json: { write: !0 } })], n.prototype, "normalizationField", void 0), i([a({ readOnly: !0 })], n.prototype, "arcadeRequired", null), i([a({ type: String })], n.prototype, "scaleBy", void 0), i([a({ type: [Kt], value: null, json: { write: !0 } })], n.prototype, "stops", null), i([a({ type: ["outline"], json: { write: !0 } })], n.prototype, "target", void 0), i([a({ type: String, readOnly: !0 })], n.prototype, "transformationType", null), i([a({ type: ["size"], json: { type: ["sizeInfo"] } })], n.prototype, "type", void 0), i([a({ type: Boolean, json: { write: !0, origins: { "web-map": { read: !1 } } } })], n.prototype, "useSymbolValue", void 0), i([a({ type: String, json: { write: !0 } })], n.prototype, "valueExpression", void 0), i([_("valueExpression", ["valueExpression", "expression"])], n.prototype, "readValueExpression", null), i([G("web-scene", "valueExpression")], n.prototype, "writeValueExpressionWebScene", null), i([a({ type: ["radius", "diameter", "area", "width", "distance"], json: { write: !0 } })], n.prototype, "valueRepresentation", void 0), i([a({ type: Oe.apiValues, json: { write: Oe.write, origins: { "web-map": { read: !1 }, "web-scene": { write: !0 }, "portal-item": { write: !0 } } } })], n.prototype, "valueUnit", void 0), i([_("valueUnit")], n.prototype, "readValueUnit", null), n = Te = i([d("esri.renderers.visualVariables.SizeVariable")], n);
426
+ const ct = n, Xt = { color: pt, size: ct, opacity: ht, rotation: dt }, Yt = new I({ colorInfo: "color", transparencyInfo: "opacity", rotationInfo: "rotation", sizeInfo: "size" }), es = /^\[([^\]]+)\]$/i;
427
+ let ue = class extends xt {
428
+ constructor() {
429
+ super(...arguments), this.colorVariables = null, this.opacityVariables = null, this.rotationVariables = null, this.sizeVariables = null;
430
+ }
431
+ set visualVariables(t) {
432
+ if (this._resetVariables(), t = t && t.filter((s) => !!s), t == null ? void 0 : t.length) {
433
+ for (const s of t)
434
+ switch (s.type) {
435
+ case "color":
436
+ this.colorVariables.push(s);
437
+ break;
438
+ case "opacity":
439
+ this.opacityVariables.push(s);
440
+ break;
441
+ case "rotation":
442
+ this.rotationVariables.push(s);
443
+ break;
444
+ case "size":
445
+ this.sizeVariables.push(s);
446
+ }
447
+ this.sizeVariables.length && this.sizeVariables.some((s) => !!s.target) && t.sort((s, l) => {
448
+ let r = null;
449
+ return r = s.target === l.target ? 0 : s.target ? 1 : -1, r;
450
+ });
451
+ for (let s = 0; s < t.length; s++)
452
+ t[s].index = s;
453
+ this._set("visualVariables", t);
454
+ } else
455
+ this._set("visualVariables", t);
456
+ }
457
+ readVariables(t, s, l) {
458
+ const { rotationExpression: r, rotationType: o } = s, u = r == null ? void 0 : r.match(es), m = u == null ? void 0 : u[1];
459
+ if (m && (t || (t = []), t.push({ type: "rotationInfo", rotationType: o, field: m })), t)
460
+ return t.map((c) => {
461
+ const f = Yt.read(c.type), S = Xt[f];
462
+ S || (w.getLogger(this).warn(`Unknown variable type: ${f}`), l != null && l.messages && l.messages.push(new It("visual-variable:unsupported", `visualVariable of type '${f}' is not supported`, { definition: c, context: l })));
463
+ const g = new S();
464
+ return g.read(c, l), g;
465
+ });
466
+ }
467
+ writeVariables(t, s) {
468
+ const l = [];
469
+ for (const r of t) {
470
+ const o = r.toJSON(s);
471
+ o && l.push(o);
472
+ }
473
+ return l;
474
+ }
475
+ _resetVariables() {
476
+ this.colorVariables = [], this.opacityVariables = [], this.rotationVariables = [], this.sizeVariables = [];
477
+ }
478
+ };
479
+ i([a()], ue.prototype, "visualVariables", null), ue = i([d("esri.renderers.visualVariables.VisualVariableFactory")], ue);
480
+ const ts = ue, ss = { base: ee, key: "type", typeMap: { opacity: ht, color: pt, rotation: dt, size: ct } }, yt = (e) => {
481
+ let t = class extends e {
482
+ constructor() {
483
+ super(...arguments), this._vvFactory = new ts();
484
+ }
485
+ set visualVariables(s) {
486
+ this._vvFactory.visualVariables = s, this._set("visualVariables", this._vvFactory.visualVariables);
487
+ }
488
+ readVisualVariables(s, l, r) {
489
+ return this._vvFactory.readVariables(s, l, r);
490
+ }
491
+ writeVisualVariables(s, l, r, o) {
492
+ l[r] = this._vvFactory.writeVariables(s, o);
493
+ }
494
+ get arcadeRequiredForVisualVariables() {
495
+ if (!this.visualVariables)
496
+ return !1;
497
+ for (const s of this.visualVariables)
498
+ if (s.arcadeRequired)
499
+ return !0;
500
+ return !1;
501
+ }
502
+ hasVisualVariables(s, l) {
503
+ return s ? this.getVisualVariablesForType(s, l).length > 0 : this.getVisualVariablesForType("size", l).length > 0 || this.getVisualVariablesForType("color", l).length > 0 || this.getVisualVariablesForType("opacity", l).length > 0 || this.getVisualVariablesForType("rotation", l).length > 0;
504
+ }
505
+ getVisualVariablesForType(s, l) {
506
+ const r = this.visualVariables;
507
+ return r ? r.filter((o) => o.type === s && (typeof l == "string" ? o.target === l : l !== !1 || !o.target)) : [];
508
+ }
509
+ async collectVVRequiredFields(s, l) {
510
+ let r = [];
511
+ this.visualVariables && (r = r.concat(this.visualVariables));
512
+ for (const o of r)
513
+ o && (o.field && U(s, l, o.field), o.normalizationField && U(s, l, o.normalizationField), o.valueExpression && (is(o.valueExpression, s, l) || await Ce(s, l, o.valueExpression)));
514
+ }
515
+ };
516
+ return i([a({ types: [ss], value: null, json: { write: !0 } })], t.prototype, "visualVariables", null), i([_("visualVariables", ["visualVariables", "rotationType", "rotationExpression"])], t.prototype, "readVisualVariables", null), i([G("visualVariables")], t.prototype, "writeVisualVariables", null), t = i([d("esri.renderers.mixins.VisualVariablesMixin")], t), t;
517
+ };
518
+ function is(e, t, s) {
519
+ const l = Jt(e);
520
+ return l != null && (U(t, s, l), !0);
521
+ }
522
+ const fe = { types: _t, json: { write: { writer: ye }, origins: { "web-scene": { types: Le, write: { writer: ye }, read: { reader: $t({ types: Le }) } } } } }, mt = lt({ json: { origins: { "web-scene": { write: { isRequired: !0 } } } } }, fe), ft = { types: { base: zt, key: "type", typeMap: { "simple-fill": ve.typeMap["simple-fill"], "picture-fill": ve.typeMap["picture-fill"], "polygon-3d": ve.typeMap["polygon-3d"] } }, json: { write: { writer: ye }, origins: { "web-scene": { type: jt, write: { writer: ye } } } } }, pe = { cast: (e) => e == null || typeof e == "string" || typeof e == "number" ? e : `${e}`, json: { type: String, write: { writer: (e, t) => {
523
+ t.value = e == null ? void 0 : e.toString();
524
+ } } } };
525
+ var Ue;
526
+ let k = Ue = class extends V {
527
+ constructor(e) {
528
+ super(e), this.description = null, this.label = null, this.minValue = null, this.maxValue = 0, this.symbol = null;
529
+ }
530
+ clone() {
531
+ return new Ue({ description: this.description, label: this.label, minValue: this.minValue, maxValue: this.maxValue, symbol: this.symbol ? this.symbol.clone() : null });
532
+ }
533
+ getMeshHash() {
534
+ const e = JSON.stringify(this.symbol);
535
+ return `${this.minValue}.${this.maxValue}.${e}`;
536
+ }
537
+ };
538
+ i([a({ type: String, json: { write: !0 } })], k.prototype, "description", void 0), i([a({ type: String, json: { write: !0 } })], k.prototype, "label", void 0), i([a({ type: Number, json: { read: { source: "classMinValue" }, write: { target: "classMinValue" } } })], k.prototype, "minValue", void 0), i([a({ type: Number, json: { read: { source: "classMaxValue" }, write: { target: "classMaxValue" } } })], k.prototype, "maxValue", void 0), i([a(mt)], k.prototype, "symbol", void 0), k = Ue = i([d("esri.renderers.support.ClassBreakInfo")], k);
539
+ const me = k;
540
+ var Be;
541
+ const vt = "log", he = "percent-of-total", de = "field", re = new I({ esriNormalizeByLog: vt, esriNormalizeByPercentOfTotal: he, esriNormalizeByField: de }), ls = at(me);
542
+ let y = Be = class extends yt(nt) {
543
+ constructor(e) {
544
+ super(e), this._compiledValueExpression = { valueExpression: null, compiledFunction: null }, this.backgroundFillSymbol = null, this.classBreakInfos = null, this.defaultLabel = null, this.defaultSymbol = null, this.field = null, this.isMaxInclusive = !0, this.legendOptions = null, this.normalizationField = null, this.normalizationTotal = null, this.type = "class-breaks", this.valueExpression = null, this.valueExpressionTitle = null, this._set("classBreakInfos", []);
545
+ }
546
+ readClassBreakInfos(e, t, s) {
547
+ if (!Array.isArray(e))
548
+ return;
549
+ let l = t.minValue;
550
+ return e.map((r) => {
551
+ const o = new me();
552
+ return o.read(r, s), o.minValue == null && (o.minValue = l), o.maxValue == null && (o.maxValue = o.minValue), l = o.maxValue, o;
553
+ });
554
+ }
555
+ writeClassBreakInfos(e, t, s, l) {
556
+ const r = e.map((o) => o.write({}, l));
557
+ this._areClassBreaksConsecutive() && r.forEach((o) => delete o.classMinValue), t[s] = r;
558
+ }
559
+ castField(e) {
560
+ return e == null ? e : typeof e == "function" ? (w.getLogger(this).error(".field: field must be a string value"), null) : Ne(e);
561
+ }
562
+ get minValue() {
563
+ return this.classBreakInfos && this.classBreakInfos[0] && this.classBreakInfos[0].minValue || 0;
564
+ }
565
+ get normalizationType() {
566
+ let e = this._get("normalizationType");
567
+ const t = !!this.normalizationField, s = this.normalizationTotal != null;
568
+ return t || s ? (e = t && de || s && he || null, t && s && w.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")) : e !== de && e !== he || (e = null), e;
569
+ }
570
+ set normalizationType(e) {
571
+ this._set("normalizationType", e);
572
+ }
573
+ addClassBreakInfo(e, t, s) {
574
+ let l = null;
575
+ l = typeof e == "number" ? new me({ minValue: e, maxValue: t, symbol: rt(s) }) : ls(v(e)), this.classBreakInfos.push(l), this.classBreakInfos.length === 1 && this.notifyChange("minValue");
576
+ }
577
+ removeClassBreakInfo(e, t) {
578
+ const s = this.classBreakInfos.length;
579
+ for (let l = 0; l < s; l++) {
580
+ const r = [this.classBreakInfos[l].minValue, this.classBreakInfos[l].maxValue];
581
+ if (r[0] === e && r[1] === t) {
582
+ this.classBreakInfos.splice(l, 1);
583
+ break;
584
+ }
585
+ }
586
+ }
587
+ getBreakIndex(e, t) {
588
+ return this.valueExpression && (t == null ? void 0 : t.arcade) == null && w.getLogger(this).warn(""), this.valueExpression ? this._getBreakIndexForExpression(e, t) : this._getBreakIndexForField(e);
589
+ }
590
+ async getClassBreakInfo(e, t) {
591
+ let s = t;
592
+ this.valueExpression && (t == null ? void 0 : t.arcade) == null && (s = { ...s, arcade: await ce() });
593
+ const l = this.getBreakIndex(e, s);
594
+ return l !== -1 ? this.classBreakInfos[l] : null;
595
+ }
596
+ getSymbol(e, t) {
597
+ if (this.valueExpression && (t == null ? void 0 : t.arcade) == null)
598
+ return void w.getLogger(this).error("#getSymbol()", "Please use getSymbolAsync if valueExpression is used");
599
+ const s = this.getBreakIndex(e, t);
600
+ return s > -1 ? this.classBreakInfos[s].symbol : this.defaultSymbol;
601
+ }
602
+ async getSymbolAsync(e, t) {
603
+ let s = t;
604
+ if (this.valueExpression && (t == null ? void 0 : t.arcade) == null) {
605
+ const r = await ce(), { arcadeUtils: o } = r;
606
+ o.hasGeometryOperations(this.valueExpression) && await o.enableGeometryOperations(), s = { ...s, arcade: r };
607
+ }
608
+ const l = this.getBreakIndex(e, s);
609
+ return l > -1 ? this.classBreakInfos[l].symbol : this.defaultSymbol;
610
+ }
611
+ getSymbols() {
612
+ const e = [];
613
+ return this.classBreakInfos.forEach((t) => {
614
+ t.symbol && e.push(t.symbol);
615
+ }), this.defaultSymbol && e.push(this.defaultSymbol), e;
616
+ }
617
+ getAttributeHash() {
618
+ return this.visualVariables && this.visualVariables.reduce((e, t) => e + t.getAttributeHash(), "");
619
+ }
620
+ getMeshHash() {
621
+ const e = JSON.stringify(this.backgroundFillSymbol), t = JSON.stringify(this.defaultSymbol), s = `${this.normalizationField}.${this.normalizationType}.${this.normalizationTotal}`;
622
+ return `${e}.${t}.${this.classBreakInfos.reduce((l, r) => l + r.getMeshHash(), "")}.${s}.${this.field}.${this.valueExpression}`;
623
+ }
624
+ get arcadeRequired() {
625
+ return this.arcadeRequiredForVisualVariables || !!this.valueExpression;
626
+ }
627
+ clone() {
628
+ var e, t;
629
+ return new Be({ field: this.field, backgroundFillSymbol: (e = this.backgroundFillSymbol) == null ? void 0 : e.clone(), defaultLabel: this.defaultLabel, defaultSymbol: (t = this.defaultSymbol) == null ? void 0 : t.clone(), valueExpression: this.valueExpression, valueExpressionTitle: this.valueExpressionTitle, classBreakInfos: v(this.classBreakInfos), isMaxInclusive: this.isMaxInclusive, normalizationField: this.normalizationField, normalizationTotal: this.normalizationTotal, normalizationType: this.normalizationType, visualVariables: v(this.visualVariables), legendOptions: v(this.legendOptions), authoringInfo: this.authoringInfo && this.authoringInfo.clone() });
630
+ }
631
+ async collectRequiredFields(e, t) {
632
+ const s = [this.collectVVRequiredFields(e, t), this.collectSymbolFields(e, t)];
633
+ await Promise.all(s);
634
+ }
635
+ async collectSymbolFields(e, t) {
636
+ const s = [...this.getSymbols().map((l) => l.collectRequiredFields(e, t)), Ce(e, t, this.valueExpression)];
637
+ U(e, t, this.field), U(e, t, this.normalizationField), await Promise.all(s);
638
+ }
639
+ _getBreakIndexForExpression(e, t) {
640
+ const { viewingMode: s, scale: l, spatialReference: r, arcade: o, timeZone: u } = t ?? {}, { valueExpression: m } = this;
641
+ let c = this._compiledValueExpression.valueExpression === m ? this._compiledValueExpression.compiledFunction : null;
642
+ const f = o.arcadeUtils;
643
+ if (!c) {
644
+ const g = f.createSyntaxTree(m);
645
+ c = f.createFunction(g), this._compiledValueExpression.compiledFunction = c;
646
+ }
647
+ this._compiledValueExpression.valueExpression = m;
648
+ const S = f.executeFunction(c, f.createExecContext(e, f.getViewInfo({ viewingMode: s, scale: l, spatialReference: r }), u));
649
+ return this._getBreakIndexfromInfos(S);
650
+ }
651
+ _getBreakIndexForField(e) {
652
+ const t = this.field, s = e.attributes, l = this.normalizationType;
653
+ let r = parseFloat(s[t]);
654
+ if (l) {
655
+ const o = this.normalizationTotal, u = parseFloat(this.normalizationField ? s[this.normalizationField] : void 0);
656
+ if (l === vt)
657
+ r = Math.log(r) * Math.LOG10E;
658
+ else if (l !== he || o == null || isNaN(o)) {
659
+ if (l === de && !isNaN(u)) {
660
+ if (isNaN(r) || isNaN(u))
661
+ return -1;
662
+ r /= u;
663
+ }
664
+ } else
665
+ r = r / o * 100;
666
+ }
667
+ return this._getBreakIndexfromInfos(r);
668
+ }
669
+ _getBreakIndexfromInfos(e) {
670
+ const t = this.isMaxInclusive;
671
+ if (e != null && typeof e == "number" && !isNaN(e))
672
+ for (let s = 0; s < this.classBreakInfos.length; s++) {
673
+ const l = [this.classBreakInfos[s].minValue, this.classBreakInfos[s].maxValue];
674
+ if (l[0] <= e && (t ? e <= l[1] : e < l[1]))
675
+ return s;
676
+ }
677
+ return -1;
678
+ }
679
+ _areClassBreaksConsecutive() {
680
+ const e = this.classBreakInfos, t = e.length;
681
+ for (let s = 1; s < t; s++)
682
+ if (e[s - 1].maxValue !== e[s].minValue)
683
+ return !1;
684
+ return !0;
685
+ }
686
+ };
687
+ i([a(ft)], y.prototype, "backgroundFillSymbol", void 0), i([a({ type: [me] })], y.prototype, "classBreakInfos", void 0), i([_("classBreakInfos")], y.prototype, "readClassBreakInfos", null), i([G("classBreakInfos")], y.prototype, "writeClassBreakInfos", null), i([a({ type: String, json: { write: !0 } })], y.prototype, "defaultLabel", void 0), i([a(fe)], y.prototype, "defaultSymbol", void 0), i([a({ type: String, json: { write: !0 } })], y.prototype, "field", void 0), i([B("field")], y.prototype, "castField", null), i([a({ type: Boolean })], y.prototype, "isMaxInclusive", void 0), i([a({ type: Ae, json: { write: !0 } })], y.prototype, "legendOptions", void 0), i([a({ type: Number, readOnly: !0, value: null, json: { read: !1, write: { overridePolicy() {
688
+ return this.classBreakInfos.length !== 0 && this._areClassBreaksConsecutive() ? { enabled: !0 } : { enabled: !1 };
689
+ } } } })], y.prototype, "minValue", null), i([a({ type: String, json: { write: !0 } })], y.prototype, "normalizationField", void 0), i([a({ type: Number, cast: (e) => Ft(e), json: { write: !0 } })], y.prototype, "normalizationTotal", void 0), i([a({ type: re.apiValues, value: null, json: { type: re.jsonValues, read: re.read, write: re.write } })], y.prototype, "normalizationType", null), i([ot({ classBreaks: "class-breaks" })], y.prototype, "type", void 0), i([a({ type: String, json: { write: !0 } })], y.prototype, "valueExpression", void 0), i([a({ type: String, json: { write: !0 } })], y.prototype, "valueExpressionTitle", void 0), y = Be = i([d("esri.renderers.ClassBreaksRenderer")], y);
690
+ const gs = y;
691
+ let A = class extends Ge(V) {
692
+ constructor(t) {
693
+ super(t), this.value = null, this.value2 = null, this.value3 = null;
694
+ }
695
+ };
696
+ i([a(pe)], A.prototype, "value", void 0), i([a(pe)], A.prototype, "value2", void 0), i([a(pe)], A.prototype, "value3", void 0), A = i([d("esri.renderers.support.UniqueValue")], A);
697
+ const L = A;
698
+ let T = class extends Ge(V) {
699
+ constructor(t) {
700
+ super(t), this.description = null, this.label = null, this.symbol = null, this.values = null;
701
+ }
702
+ castValues(t) {
703
+ if (t == null)
704
+ return null;
705
+ const s = typeof (t = Array.isArray(t) ? t : [t])[0];
706
+ return s === "string" || s === "number" ? t.map((l) => new L({ value: l })) : s === "object" ? t[0] instanceof L ? t : t.map((l) => new L(l)) : null;
707
+ }
708
+ };
709
+ i([a({ type: String, json: { write: !0 } })], T.prototype, "description", void 0), i([a({ type: String, json: { write: !0 } })], T.prototype, "label", void 0), i([a(fe)], T.prototype, "symbol", void 0), i([a({ type: [L], json: { type: [[String]], read: { reader: (e) => e ? e.map((t) => new L({ value: t[0], value2: t[1], value3: t[2] })) : null }, write: { writer: (e, t) => {
710
+ const s = [];
711
+ for (const l of e) {
712
+ const r = [l.value, l.value2, l.value3].filter(Et).map((o) => o.toString());
713
+ s.push(r);
714
+ }
715
+ t.values = s;
716
+ } } } })], T.prototype, "values", void 0), i([B("values")], T.prototype, "castValues", null), T = i([d("esri.renderers.support.UniqueValueClass")], T);
717
+ const bt = T;
718
+ let Q = class extends Ge(V) {
719
+ constructor(e) {
720
+ super(e), this.heading = null, this.classes = null;
721
+ }
722
+ };
723
+ i([a({ type: String, json: { write: !0 } })], Q.prototype, "heading", void 0), i([a({ type: [bt], json: { write: !0 } })], Q.prototype, "classes", void 0), Q = i([d("esri.renderers.support.UniqueValueGroup")], Q);
724
+ const De = Q;
725
+ var Me;
726
+ let C = Me = class extends V {
727
+ constructor(e) {
728
+ super(e), this.description = null, this.label = null, this.symbol = null, this.value = null;
729
+ }
730
+ clone() {
731
+ return new Me({ value: this.value, description: this.description, label: this.label, symbol: this.symbol ? this.symbol.clone() : null });
732
+ }
733
+ getMeshHash() {
734
+ var t;
735
+ const e = JSON.stringify((t = this.symbol) == null ? void 0 : t.toJSON());
736
+ return `${this.value}.${e}`;
737
+ }
738
+ };
739
+ i([a({ type: String, json: { write: !0 } })], C.prototype, "description", void 0), i([a({ type: String, json: { write: !0 } })], C.prototype, "label", void 0), i([a(mt)], C.prototype, "symbol", void 0), i([a(pe)], C.prototype, "value", void 0), C = Me = i([d("esri.renderers.support.UniqueValueInfo")], C);
740
+ const Y = C;
741
+ var X;
742
+ const gt = "esri.renderers.UniqueValueRenderer", F = () => w.getLogger(gt), et = "uvInfos-watcher", tt = "uvGroups-watcher", as = ",", rs = at(Y);
743
+ function os(e) {
744
+ const { field1: t, field2: s, field3: l, fieldDelimiter: r, uniqueValueInfos: o, valueExpression: u } = e, m = !(!t || !s);
745
+ return [{ classes: (o ?? []).map((c) => {
746
+ var D;
747
+ const { symbol: f, label: S, value: g, description: z } = c, [H, P, J] = m ? ((D = g == null ? void 0 : g.toString()) == null ? void 0 : D.split(r || "")) || [] : [g], j = [];
748
+ return (t || u) && j.push(H), s && j.push(P), l && j.push(J), { symbol: f, label: S, values: [j], description: z };
749
+ }) }];
750
+ }
751
+ let p = X = class extends yt(nt) {
752
+ constructor(e) {
753
+ super(e), this._valueInfoMap = {}, this._isDefaultSymbolDerived = !1, this._isInfosSource = null, this.type = "unique-value", this.backgroundFillSymbol = null, this.orderByClassesEnabled = !1, this.valueExpressionTitle = null, this.legendOptions = null, this.defaultLabel = null, this.portal = null, this.styleOrigin = null, this.diff = { uniqueValueInfos(t, s) {
754
+ if (!t && !s)
755
+ return;
756
+ if (!t || !s)
757
+ return { type: "complete", oldValue: t, newValue: s };
758
+ let l = !1;
759
+ const r = { type: "collection", added: [], removed: [], changed: [], unchanged: [] };
760
+ for (let o = 0; o < s.length; o++) {
761
+ const u = t.find((m) => m.value === s[o].value);
762
+ u ? Ut(u, s[o]) ? (r.changed.push({ type: "complete", oldValue: u, newValue: s[o] }), l = !0) : r.unchanged.push({ oldValue: u, newValue: s[o] }) : (r.added.push(s[o]), l = !0);
763
+ }
764
+ for (let o = 0; o < t.length; o++)
765
+ s.find((u) => u.value === t[o].value) || (r.removed.push(t[o]), l = !0);
766
+ return l ? r : void 0;
767
+ } }, this._set("uniqueValueInfos", []), this._set("uniqueValueGroups", []);
768
+ }
769
+ get _cache() {
770
+ return { compiledFunc: null };
771
+ }
772
+ set field(e) {
773
+ this._set("field", e), this._updateFieldDelimiter(), this._updateUniqueValues();
774
+ }
775
+ castField(e) {
776
+ return e == null || typeof e == "function" ? e : Ne(e);
777
+ }
778
+ writeField(e, t, s, l) {
779
+ typeof e == "string" ? t[s] = e : l != null && l.messages ? l.messages.push(new Re("property:unsupported", "UniqueValueRenderer.field set to a function cannot be written to JSON")) : F().error(".field: cannot write field to JSON since it's not a string value");
780
+ }
781
+ set field2(e) {
782
+ this._set("field2", e), this._updateFieldDelimiter(), this._updateUniqueValues();
783
+ }
784
+ set field3(e) {
785
+ this._set("field3", e), this._updateUniqueValues();
786
+ }
787
+ set valueExpression(e) {
788
+ this._set("valueExpression", e), this._updateUniqueValues();
789
+ }
790
+ set defaultSymbol(e) {
791
+ this._isDefaultSymbolDerived = !1, this._set("defaultSymbol", e);
792
+ }
793
+ set fieldDelimiter(e) {
794
+ this._set("fieldDelimiter", e), this._updateUniqueValues();
795
+ }
796
+ readPortal(e, t, s) {
797
+ return s.portal || Ve.getDefault();
798
+ }
799
+ readStyleOrigin(e, t, s) {
800
+ if (t.styleName)
801
+ return Object.freeze({ styleName: t.styleName });
802
+ if (t.styleUrl) {
803
+ const l = qt(t.styleUrl, s);
804
+ return Object.freeze({ styleUrl: l });
805
+ }
806
+ }
807
+ writeStyleOrigin(e, t, s, l) {
808
+ e.styleName ? t.styleName = e.styleName : e.styleUrl && (t.styleUrl = kt(e.styleUrl, l));
809
+ }
810
+ set uniqueValueGroups(e) {
811
+ this.styleOrigin ? F().error("#uniqueValueGroups=", "Cannot modify unique value groups of a UniqueValueRenderer created from a web style") : (this._set("uniqueValueGroups", e), this._updateInfosFromGroups(), this._isInfosSource = !1, this._watchUniqueValueGroups());
812
+ }
813
+ set uniqueValueInfos(e) {
814
+ this.styleOrigin ? F().error("#uniqueValueInfos=", "Cannot modify unique value infos of a UniqueValueRenderer created from a web style") : (this._set("uniqueValueInfos", e), this._updateValueInfoMap(), this._updateGroupsFromInfos(), this._isInfosSource = !0, this._watchUniqueValueInfos());
815
+ }
816
+ addUniqueValueInfo(e, t) {
817
+ var l;
818
+ if (this.styleOrigin)
819
+ return void F().error("#addUniqueValueInfo()", "Cannot modify unique value infos of a UniqueValueRenderer created from a web style");
820
+ let s;
821
+ s = typeof e == "object" ? rs(e) : new Y({ value: e, symbol: rt(t) }), (l = this.uniqueValueInfos) == null || l.push(s), this._valueInfoMap[s.value] = s, this._updateGroupsFromInfos(), this._isInfosSource = !0, this._watchUniqueValueInfos();
822
+ }
823
+ removeUniqueValueInfo(e) {
824
+ if (this.styleOrigin)
825
+ return void F().error("#removeUniqueValueInfo()", "Cannot modify unique value infos of a UniqueValueRenderer created from a web style");
826
+ const t = this.uniqueValueInfos;
827
+ if (t)
828
+ for (let s = 0; s < t.length; s++) {
829
+ const l = t[s];
830
+ if (String(l.value) === String(e)) {
831
+ delete this._valueInfoMap[e], t.splice(s, 1);
832
+ break;
833
+ }
834
+ }
835
+ this._updateGroupsFromInfos(), this._isInfosSource = !0, this._watchUniqueValueInfos();
836
+ }
837
+ async getUniqueValueInfo(e, t) {
838
+ let s = t;
839
+ return this.valueExpression && (t == null ? void 0 : t.arcade) == null && (s = { ...s, arcade: await ce() }), this._getUniqueValueInfo(e, s);
840
+ }
841
+ getSymbol(e, t) {
842
+ if (this.valueExpression && (t == null ? void 0 : t.arcade) == null)
843
+ return void F().error("#getSymbol()", "Please use getSymbolAsync if valueExpression is used");
844
+ const s = this._getUniqueValueInfo(e, t);
845
+ return (s == null ? void 0 : s.symbol) || this.defaultSymbol;
846
+ }
847
+ async getSymbolAsync(e, t) {
848
+ let s = t;
849
+ if (this.valueExpression && (s == null ? void 0 : s.arcade) == null) {
850
+ const r = await ce(), { arcadeUtils: o } = r;
851
+ o.hasGeometryOperations(this.valueExpression) && await o.enableGeometryOperations(), s = { ...s, arcade: r };
852
+ }
853
+ const l = this._getUniqueValueInfo(e, s);
854
+ return (l == null ? void 0 : l.symbol) || this.defaultSymbol;
855
+ }
856
+ getSymbols() {
857
+ const e = [];
858
+ for (const t of this.uniqueValueInfos ?? [])
859
+ t.symbol && e.push(t.symbol);
860
+ return this.defaultSymbol && e.push(this.defaultSymbol), e;
861
+ }
862
+ getAttributeHash() {
863
+ return this.visualVariables && this.visualVariables.reduce((e, t) => e + t.getAttributeHash(), "");
864
+ }
865
+ getMeshHash() {
866
+ var l;
867
+ const e = JSON.stringify(this.backgroundFillSymbol), t = JSON.stringify(this.defaultSymbol), s = (l = this.uniqueValueInfos) == null ? void 0 : l.reduce((r, o) => r + o.getMeshHash(), "");
868
+ return `${e}.${t}.${s}.${`${this.field}.${this.field2}.${this.field3}.${this.fieldDelimiter}`}.${this.valueExpression}`;
869
+ }
870
+ clone() {
871
+ const e = new X({ field: this.field, field2: this.field2, field3: this.field3, defaultLabel: this.defaultLabel, defaultSymbol: v(this.defaultSymbol), orderByClassesEnabled: this.orderByClassesEnabled, valueExpression: this.valueExpression, valueExpressionTitle: this.valueExpressionTitle, fieldDelimiter: this.fieldDelimiter, visualVariables: v(this.visualVariables), legendOptions: v(this.legendOptions), authoringInfo: this.authoringInfo && this.authoringInfo.clone(), backgroundFillSymbol: v(this.backgroundFillSymbol) });
872
+ this._isDefaultSymbolDerived && (e._isDefaultSymbolDerived = !0), e._set("portal", this.portal);
873
+ const t = v(this.uniqueValueInfos), s = v(this.uniqueValueGroups);
874
+ return this.styleOrigin && (e._set("styleOrigin", Object.freeze(v(this.styleOrigin))), Object.freeze(t), Object.freeze(s)), e._set("uniqueValueInfos", t), e._updateValueInfoMap(), e._set("uniqueValueGroups", s), e._isInfosSource = this._isInfosSource, e._watchUniqueValueInfosAndGroups(), e;
875
+ }
876
+ get arcadeRequired() {
877
+ return this.arcadeRequiredForVisualVariables || !!this.valueExpression;
878
+ }
879
+ async collectRequiredFields(e, t) {
880
+ const s = [this.collectVVRequiredFields(e, t), this.collectSymbolFields(e, t)];
881
+ await Promise.all(s);
882
+ }
883
+ async collectSymbolFields(e, t) {
884
+ const s = [...this.getSymbols().map((l) => l.collectRequiredFields(e, t)), Ce(e, t, this.valueExpression)];
885
+ U(e, t, this.field), U(e, t, this.field2), U(e, t, this.field3), await Promise.all(s);
886
+ }
887
+ populateFromStyle() {
888
+ return Ct(this.styleOrigin, { portal: this.portal }).then((e) => {
889
+ var s;
890
+ const t = [];
891
+ return this._valueInfoMap = {}, e && e.data && Array.isArray(e.data.items) && e.data.items.forEach((l) => {
892
+ const r = new Tt({ styleUrl: e.styleUrl, styleName: e.styleName, portal: this.portal, name: l.name });
893
+ this.defaultSymbol || l.name !== e.data.defaultItem || (this.defaultSymbol = r, this._isDefaultSymbolDerived = !0);
894
+ const o = new Y({ value: l.name, symbol: r });
895
+ t.push(o), this._valueInfoMap[l.name] = o;
896
+ }), this._set("uniqueValueInfos", Object.freeze(t)), this._updateGroupsFromInfos(!0), this._isInfosSource = null, this._watchUniqueValueInfos(), !this.defaultSymbol && ((s = this.uniqueValueInfos) != null && s.length) && (this.defaultSymbol = this.uniqueValueInfos[0].symbol, this._isDefaultSymbolDerived = !0), this;
897
+ });
898
+ }
899
+ _updateFieldDelimiter() {
900
+ this.field && this.field2 && !this.fieldDelimiter && this._set("fieldDelimiter", as);
901
+ }
902
+ _updateUniqueValues() {
903
+ this._isInfosSource != null && (this._isInfosSource ? this._updateGroupsFromInfos() : this._updateInfosFromGroups());
904
+ }
905
+ _updateValueInfoMap() {
906
+ this._valueInfoMap = {};
907
+ const { uniqueValueInfos: e } = this;
908
+ if (e)
909
+ for (const t of e)
910
+ this._valueInfoMap[t.value + ""] = t;
911
+ }
912
+ _watchUniqueValueInfosAndGroups() {
913
+ this._watchUniqueValueInfos(), this._watchUniqueValueGroups();
914
+ }
915
+ _watchUniqueValueInfos() {
916
+ this.removeHandles(et);
917
+ const { uniqueValueInfos: e } = this;
918
+ if (e) {
919
+ const t = [];
920
+ for (const s of e)
921
+ t.push(be(() => ({ symbol: s.symbol, value: s.value, label: s.label, description: s.description }), (l, r) => {
922
+ l !== r && (this._updateGroupsFromInfos(), this._isInfosSource = !0);
923
+ }, { sync: !0 }));
924
+ this.addHandles(t, et);
925
+ }
926
+ }
927
+ _watchUniqueValueGroups() {
928
+ this.removeHandles(tt);
929
+ const { uniqueValueGroups: e } = this;
930
+ if (e) {
931
+ const t = [];
932
+ for (const s of e) {
933
+ t.push(be(() => ({ classes: s.classes }), (l, r) => {
934
+ l !== r && (this._updateInfosFromGroups(), this._isInfosSource = !1);
935
+ }, { sync: !0 }));
936
+ for (const l of s.classes ?? [])
937
+ t.push(be(() => ({ symbol: l.symbol, values: l.values, label: l.label, description: l.description }), (r, o) => {
938
+ r !== o && (this._updateInfosFromGroups(), this._isInfosSource = !1);
939
+ }, { sync: !0 }));
940
+ }
941
+ this.addHandles(t, tt);
942
+ }
943
+ }
944
+ _updateInfosFromGroups() {
945
+ if (!this.uniqueValueGroups)
946
+ return this._set("uniqueValueInfos", null), this._updateValueInfoMap(), void this._watchUniqueValueInfos();
947
+ const e = [], { field: t, field2: s, field3: l, fieldDelimiter: r, uniqueValueGroups: o, valueExpression: u } = this;
948
+ if (!t && !u)
949
+ return this._set("uniqueValueInfos", e), this._updateValueInfoMap(), void this._watchUniqueValueInfos();
950
+ const m = !(!t || !s);
951
+ for (const c of o)
952
+ for (const f of c.classes ?? []) {
953
+ const { symbol: S, label: g, values: z, description: H } = f;
954
+ for (const P of z ?? []) {
955
+ const { value: J, value2: j, value3: D } = P, te = [J];
956
+ s && te.push(j), l && te.push(D);
957
+ const wt = m ? te.join(r || "") : te[0];
958
+ e.push(new Y({ symbol: S, label: g, value: wt, description: H }));
959
+ }
960
+ }
961
+ this._set("uniqueValueInfos", e), this._updateValueInfoMap(), this._watchUniqueValueInfos();
962
+ }
963
+ _updateGroupsFromInfos(e = !1) {
964
+ if (!this.uniqueValueInfos)
965
+ return this._set("uniqueValueGroups", null), void this._watchUniqueValueGroups();
966
+ const { field: t, field2: s, valueExpression: l, fieldDelimiter: r, uniqueValueInfos: o } = this;
967
+ if (!t && !l || !o.length)
968
+ return this._set("uniqueValueGroups", []), void this._watchUniqueValueGroups();
969
+ const u = !(!t || !s), m = o.map((f) => {
970
+ var D;
971
+ const { symbol: S, label: g, value: z, description: H } = f, [P, J, j] = u ? ((D = z == null ? void 0 : z.toString()) == null ? void 0 : D.split(r || "")) || [] : [z];
972
+ return new bt({ symbol: S, label: g, description: H, values: [new L({ value: P, value2: J, value3: j })] });
973
+ }), c = [new De({ classes: m })];
974
+ e && Object.freeze(c), this._set("uniqueValueGroups", c), this._watchUniqueValueGroups();
975
+ }
976
+ _getUniqueValueInfo(e, t) {
977
+ return this.valueExpression ? this._getUnqiueValueInfoForExpression(e, t) : this._getUnqiueValueInfoForFields(e);
978
+ }
979
+ _getUnqiueValueInfoForExpression(e, t) {
980
+ const { viewingMode: s, scale: l, spatialReference: r, arcade: o, timeZone: u } = t ?? {};
981
+ let m = this._cache.compiledFunc;
982
+ const c = o.arcadeUtils;
983
+ if (!m) {
984
+ const S = c.createSyntaxTree(this.valueExpression);
985
+ m = c.createFunction(S), this._cache.compiledFunc = m;
986
+ }
987
+ const f = c.executeFunction(m, c.createExecContext(e, c.getViewInfo({ viewingMode: s, scale: l, spatialReference: r }), u));
988
+ return this._valueInfoMap[f + ""];
989
+ }
990
+ _getUnqiueValueInfoForFields(e) {
991
+ const t = this.field, s = e.attributes;
992
+ let l;
993
+ if (typeof t != "function" && this.field2) {
994
+ const r = this.field2, o = this.field3, u = [];
995
+ t && u.push(s[t]), r && u.push(s[r]), o && u.push(s[o]), l = u.join(this.fieldDelimiter || "");
996
+ } else
997
+ typeof t == "function" ? l = t(e) : t && (l = s[t]);
998
+ return this._valueInfoMap[l + ""];
999
+ }
1000
+ static fromPortalStyle(e, t) {
1001
+ const s = new X(t == null ? void 0 : t.properties);
1002
+ s._set("styleOrigin", Object.freeze({ styleName: e })), s._set("portal", (t == null ? void 0 : t.portal) || Ve.getDefault());
1003
+ const l = s.populateFromStyle();
1004
+ return l.catch((r) => {
1005
+ F().error(`#fromPortalStyle('${e}'[, ...])`, "Failed to create unique value renderer from style name", r);
1006
+ }), l;
1007
+ }
1008
+ static fromStyleUrl(e, t) {
1009
+ const s = new X(t == null ? void 0 : t.properties);
1010
+ s._set("styleOrigin", Object.freeze({ styleUrl: e }));
1011
+ const l = s.populateFromStyle();
1012
+ return l.catch((r) => {
1013
+ F().error(`#fromStyleUrl('${e}'[, ...])`, "Failed to create unique value renderer from style URL", r);
1014
+ }), l;
1015
+ }
1016
+ };
1017
+ i([a({ readOnly: !0 })], p.prototype, "_cache", null), i([ot({ uniqueValue: "unique-value" })], p.prototype, "type", void 0), i([a(ft)], p.prototype, "backgroundFillSymbol", void 0), i([a({ value: null, json: { type: String, read: { source: "field1" }, write: { target: "field1" } } })], p.prototype, "field", null), i([B("field")], p.prototype, "castField", null), i([G("field")], p.prototype, "writeField", null), i([a({ type: String, value: null, json: { write: !0 } })], p.prototype, "field2", null), i([a({ type: String, value: null, json: { write: !0 } })], p.prototype, "field3", null), i([a({ type: Boolean, json: { name: "drawInClassOrder", default: !1, write: !0, origins: { "web-scene": { write: !1 } } } })], p.prototype, "orderByClassesEnabled", void 0), i([a({ type: String, value: null, json: { write: !0 } })], p.prototype, "valueExpression", null), i([a({ type: String, json: { write: !0 } })], p.prototype, "valueExpressionTitle", void 0), i([a({ type: Ae, json: { write: !0 } })], p.prototype, "legendOptions", void 0), i([a({ type: String, json: { write: !0 } })], p.prototype, "defaultLabel", void 0), i([a(lt({ ...fe }, { json: { write: { overridePolicy() {
1018
+ return { enabled: !this._isDefaultSymbolDerived };
1019
+ } }, origins: { "web-scene": { write: { overridePolicy() {
1020
+ return { enabled: !this._isDefaultSymbolDerived };
1021
+ } } } } } }))], p.prototype, "defaultSymbol", null), i([a({ type: String, value: null, json: { write: !0 } })], p.prototype, "fieldDelimiter", null), i([a({ type: Ve, readOnly: !0 })], p.prototype, "portal", void 0), i([_("portal", ["styleName"])], p.prototype, "readPortal", null), i([a({ readOnly: !0, json: { write: { enabled: !1, overridePolicy: () => ({ enabled: !0 }) } } })], p.prototype, "styleOrigin", void 0), i([_("styleOrigin", ["styleName", "styleUrl"])], p.prototype, "readStyleOrigin", null), i([G("styleOrigin", { styleName: { type: String }, styleUrl: { type: String } })], p.prototype, "writeStyleOrigin", null), i([a({ type: [De], json: { read: { source: ["uniqueValueGroups", "uniqueValueInfos"], reader: (e, t, s) => (t.uniqueValueGroups || os(t)).map((l) => De.fromJSON(l, s)) }, write: { overridePolicy() {
1022
+ return this.styleOrigin ? { enabled: !1 } : { enabled: !0 };
1023
+ } } } })], p.prototype, "uniqueValueGroups", null), i([a({ type: [Y], json: { read: !1, write: { overridePolicy() {
1024
+ return this.styleOrigin ? { enabled: !1 } : { enabled: !0 };
1025
+ } } } })], p.prototype, "uniqueValueInfos", null), p = X = i([d(gt)], p);
1026
+ const Ss = p;
1027
+ export {
1028
+ Ss as A,
1029
+ Kt as a,
1030
+ ct as b,
1031
+ dt as c,
1032
+ me as d,
1033
+ Y as e,
1034
+ Pt as j,
1035
+ mt as n,
1036
+ nt as p,
1037
+ yt as v,
1038
+ gs as w
1039
+ };