@arcgis/charts-components 5.0.0-next.7 → 5.0.0-next.71

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 (599) hide show
  1. package/dist/cdn/{YQWLSKE5.js → 2I3GKM3T.js} +2 -2
  2. package/dist/cdn/{BJKNKWUC.js → 2JAIKCLJ.js} +2 -2
  3. package/dist/cdn/2NZE3D7B.js +4 -0
  4. package/dist/cdn/{HGPUKDP2.js → 2VICYT6D.js} +2 -2
  5. package/dist/cdn/2WGPEGCA.js +4 -0
  6. package/dist/cdn/2WSQ7R6D.js +4 -0
  7. package/dist/cdn/2ZGGLOEX.js +4 -0
  8. package/dist/cdn/32MMV3V2.js +4 -0
  9. package/dist/cdn/{5MAIXE7Z.js → 3BRQVYQI.js} +2 -2
  10. package/dist/cdn/3G6RT7LA.js +4 -0
  11. package/dist/cdn/3IMEL6HX.js +4 -0
  12. package/dist/cdn/{36FSYONF.js → 3LFGIDFP.js} +2 -2
  13. package/dist/cdn/42SGCX24.js +4 -0
  14. package/dist/cdn/45KAHL4L.js +4 -0
  15. package/dist/cdn/4DCOT6GV.js +6 -0
  16. package/dist/cdn/4OI6VIPQ.js +4 -0
  17. package/dist/cdn/4TABNFLP.js +4 -0
  18. package/dist/cdn/4XVXOZE6.js +4 -0
  19. package/dist/cdn/52O5MN7M.js +4 -0
  20. package/dist/cdn/5FSO25N5.js +129 -0
  21. package/dist/cdn/5XBEKJ4O.js +144 -0
  22. package/dist/cdn/{LKODXNVB.js → 63DTMO64.js} +2 -2
  23. package/dist/cdn/67E56EQO.js +4 -0
  24. package/dist/cdn/{3MIHZORV.js → 6ANHPLB6.js} +2 -2
  25. package/dist/cdn/6HRHQDJO.js +4 -0
  26. package/dist/cdn/{DEVWLG2D.js → 6LOTF3OT.js} +2 -2
  27. package/dist/cdn/6SFEU45I.js +4 -0
  28. package/dist/cdn/{DK2IDH6K.js → 6XT6VSBZ.js} +2 -2
  29. package/dist/cdn/6ZR3ZY6K.js +4 -0
  30. package/dist/cdn/{ZOAJJO3O.js → 73776P54.js} +2 -2
  31. package/dist/cdn/73XDMNOH.js +4 -0
  32. package/dist/cdn/74QFMBZK.js +42 -0
  33. package/dist/cdn/7BB2J24Q.js +4 -0
  34. package/dist/cdn/{5JCKBVWB.js → 7CT4UWDZ.js} +2 -2
  35. package/dist/cdn/{AGVHBT7L.js → 7DBKQ5CO.js} +2 -2
  36. package/dist/cdn/7OJ7UEVF.js +4 -0
  37. package/dist/cdn/{XDM2ZTX6.js → 7P4LMHTT.js} +2 -2
  38. package/dist/cdn/{35JE4FBY.js → 7YO2XENZ.js} +2 -2
  39. package/dist/cdn/{RMULKO4A.js → A3CXYYAQ.js} +2 -2
  40. package/dist/cdn/{BFJORTOJ.js → AI3EUM2T.js} +2 -2
  41. package/dist/cdn/AIQ6PJWS.js +4 -0
  42. package/dist/cdn/{54VAST3T.js → ALUDVNDN.js} +2 -2
  43. package/dist/cdn/{N3XXFNB3.js → AOERX2EI.js} +2 -2
  44. package/dist/cdn/AY3MHYAH.js +4 -0
  45. package/dist/cdn/B36QMQHD.js +11 -0
  46. package/dist/cdn/{V6YYT4N6.js → BFVSWDG2.js} +1 -1
  47. package/dist/cdn/{R6AY7KMB.js → BUOHGUGB.js} +1 -1
  48. package/dist/cdn/{3NL3DNER.js → C7GONUOE.js} +2 -2
  49. package/dist/cdn/CDMDCPPS.js +4 -0
  50. package/dist/cdn/CHSOH4KH.js +4 -0
  51. package/dist/cdn/{7BXZTRWV.js → CKCV3NMB.js} +2 -2
  52. package/dist/cdn/CQC2TW5Q.js +4 -0
  53. package/dist/cdn/CQEPX7UD.js +4 -0
  54. package/dist/cdn/{3VQN2LGT.js → CSQQA63U.js} +2 -2
  55. package/dist/cdn/{UVU6XYFU.js → CVCGESNT.js} +2 -2
  56. package/dist/cdn/DAE4JQQH.js +4 -0
  57. package/dist/cdn/{YRBD3LRY.js → DDBC2EK3.js} +2 -2
  58. package/dist/cdn/DPGEC6Z7.js +4 -0
  59. package/dist/cdn/DQKWUKIK.js +144 -0
  60. package/dist/cdn/DSRQKYDG.js +4 -0
  61. package/dist/cdn/DVGBY2XI.js +4 -0
  62. package/dist/cdn/DYLECDXF.js +4 -0
  63. package/dist/cdn/{5HQH5MLS.js → E55UIM54.js} +2 -2
  64. package/dist/cdn/E56HYXWK.js +4 -0
  65. package/dist/cdn/ELGSHTDD.js +4 -0
  66. package/dist/cdn/ENQ6NLI5.js +4 -0
  67. package/dist/cdn/{T4VPS2H5.js → EQ4ICCCN.js} +2 -2
  68. package/dist/cdn/{QCQKZSWJ.js → EQJEG56R.js} +1 -1
  69. package/dist/cdn/EXAGPUF2.js +4 -0
  70. package/dist/cdn/{P6EF5I4O.js → F25X5WNV.js} +2 -2
  71. package/dist/cdn/{C6QAPYPQ.js → FBGOTBT5.js} +2 -2
  72. package/dist/cdn/FDRU5CJN.js +4 -0
  73. package/dist/cdn/{YPKHBQXA.js → FKECJMSW.js} +2 -2
  74. package/dist/cdn/FKP5ARI6.js +4 -0
  75. package/dist/cdn/FSN67JQB.js +4 -0
  76. package/dist/cdn/G5PQBD4N.js +4 -0
  77. package/dist/cdn/G7H6G5ED.js +4 -0
  78. package/dist/cdn/{TQIUCTSC.js → GF4OV5EW.js} +2 -2
  79. package/dist/cdn/GKIIY5UT.js +4 -0
  80. package/dist/cdn/GKZVCUPW.js +4 -0
  81. package/dist/cdn/GNRPP6I5.js +4 -0
  82. package/dist/cdn/{PVFDK245.js → GTF3YRG5.js} +2 -2
  83. package/dist/cdn/GYC76WI6.js +4 -0
  84. package/dist/cdn/GZMQJNCN.js +4 -0
  85. package/dist/cdn/H35TSKWU.js +4 -0
  86. package/dist/cdn/HJ4RFU3Z.js +4 -0
  87. package/dist/cdn/HK6WYV6G.js +4 -0
  88. package/dist/cdn/HR5LZSO7.js +4 -0
  89. package/dist/cdn/{TV7CPNRC.js → HU5FFL7F.js} +2 -2
  90. package/dist/cdn/HV77XAIQ.js +4 -0
  91. package/dist/cdn/I5S7COTQ.js +4 -0
  92. package/dist/cdn/I5SEYV4X.js +4 -0
  93. package/dist/cdn/I7CEYNVD.js +4 -0
  94. package/dist/cdn/IBL5V57I.js +4 -0
  95. package/dist/cdn/{F3ASXT26.js → ILQZPRGD.js} +2 -2
  96. package/dist/cdn/{US5HMCBY.js → ITRQLALV.js} +2 -2
  97. package/dist/cdn/{NXFX5LYZ.js → IYXFPXGU.js} +2 -2
  98. package/dist/cdn/{7VLZEZW3.js → JCU2ABRL.js} +2 -2
  99. package/dist/cdn/JKJ4KIVM.js +4 -0
  100. package/dist/cdn/KDHLWDQ6.js +4 -0
  101. package/dist/cdn/{W56FLWGR.js → KSLR4KL2.js} +2 -2
  102. package/dist/cdn/L36M4W66.js +4 -0
  103. package/dist/cdn/LOSK6R22.js +4 -0
  104. package/dist/cdn/LQFTC3TU.js +4 -0
  105. package/dist/cdn/LUIR74LK.js +4 -0
  106. package/dist/cdn/LURCISXG.js +4 -0
  107. package/dist/cdn/MB5XYXSC.js +4 -0
  108. package/dist/cdn/MM4WEGQV.js +4 -0
  109. package/dist/cdn/MWVETRI2.js +4 -0
  110. package/dist/cdn/N24IHAMU.js +4 -0
  111. package/dist/cdn/N4EYUYCZ.js +4 -0
  112. package/dist/cdn/NFMDCKX3.js +6 -0
  113. package/dist/cdn/{3JUPCICW.js → NINR5RHA.js} +2 -2
  114. package/dist/cdn/NJ3JO35T.js +58 -0
  115. package/dist/cdn/NJJS2BJV.js +4 -0
  116. package/dist/cdn/{JY73OE3Q.js → NLGGQYRM.js} +2 -2
  117. package/dist/cdn/NQZJWJY7.js +4 -0
  118. package/dist/cdn/{UXHFLB27.js → NWVEKHID.js} +2 -2
  119. package/dist/cdn/{7P4IBWJL.js → O5QIWSHX.js} +2 -2
  120. package/dist/cdn/{FVDOVNZW.js → OB7USCD2.js} +2 -2
  121. package/dist/cdn/{VVQUAG2Z.js → ONZQFHD5.js} +2 -2
  122. package/dist/cdn/ORDUZDW5.js +4 -0
  123. package/dist/cdn/P2OYFA75.js +4 -0
  124. package/dist/cdn/P4H5SA5X.js +4 -0
  125. package/dist/cdn/{3FEUSO2P.js → PCJIHVHD.js} +2 -2
  126. package/dist/cdn/{FZGGAYGV.js → PPTTHS23.js} +1 -1
  127. package/dist/cdn/{NSIFTLPN.js → PUACNQDX.js} +2 -2
  128. package/dist/cdn/Q33UJZNG.js +4 -0
  129. package/dist/cdn/QMUW5ATP.js +4 -0
  130. package/dist/cdn/QSWU4TLC.js +4 -0
  131. package/dist/cdn/QTIRMMBE.js +4 -0
  132. package/dist/cdn/{AHD5DXJH.js → R5FLCKXS.js} +2 -2
  133. package/dist/cdn/R6H7CW7H.js +4 -0
  134. package/dist/cdn/R7KGH3WV.js +4 -0
  135. package/dist/cdn/{EH3V2H3C.js → RAVQSEZD.js} +2 -2
  136. package/dist/cdn/RIH5O6F5.js +4 -0
  137. package/dist/cdn/{ZHASJHAE.js → RLW5T6PE.js} +2 -2
  138. package/dist/cdn/RMIRDTLF.js +4 -0
  139. package/dist/cdn/{NDCBXVWX.js → S5KRCUNX.js} +2 -2
  140. package/dist/cdn/SHJ5BR63.js +4 -0
  141. package/dist/cdn/SNKA5RGQ.js +4 -0
  142. package/dist/cdn/{IHINU2YO.js → SQ3LCLVN.js} +2 -2
  143. package/dist/cdn/TMQFL5KD.js +4 -0
  144. package/dist/cdn/{5Q2NBC5N.js → TOXRPAGM.js} +2 -2
  145. package/dist/cdn/TQZOPN3O.js +4 -0
  146. package/dist/cdn/{2SYFETGI.js → U7GKEVYA.js} +2 -2
  147. package/dist/cdn/UARYJZUN.js +4 -0
  148. package/dist/cdn/UB3YOHAZ.js +4 -0
  149. package/dist/cdn/UBCBPEQS.js +4 -0
  150. package/dist/cdn/{36FDIBPI.js → UBLUKCCV.js} +2 -2
  151. package/dist/cdn/UCUJXWVQ.js +4 -0
  152. package/dist/cdn/UEWIWLFR.js +4 -0
  153. package/dist/cdn/{S2TUX5TL.js → UIHFPGZB.js} +2 -2
  154. package/dist/cdn/UK4J426U.js +4 -0
  155. package/dist/cdn/UNDNZXC3.js +4 -0
  156. package/dist/cdn/UOHGH2P3.js +244 -0
  157. package/dist/cdn/USCGJG2Q.js +4 -0
  158. package/dist/cdn/UVMUHW66.js +4 -0
  159. package/dist/cdn/{FUQG7YN4.js → VEHQCKNV.js} +2 -2
  160. package/dist/cdn/VQOWPS5W.js +4 -0
  161. package/dist/cdn/VYQV5RMJ.js +4 -0
  162. package/dist/cdn/W7PQJNGB.js +4 -0
  163. package/dist/cdn/{26CEMPJQ.js → WCIR52PQ.js} +2 -2
  164. package/dist/cdn/WEVF5XQT.js +4 -0
  165. package/dist/cdn/WIISU4HL.js +4 -0
  166. package/dist/cdn/XB6WWFKB.js +4 -0
  167. package/dist/cdn/XFHD5MYX.js +4 -0
  168. package/dist/cdn/{CVE7ZPXC.js → XHYABFPN.js} +2 -2
  169. package/dist/cdn/XJBI6736.js +4 -0
  170. package/dist/cdn/{BKORDP3O.js → XKGKPZZC.js} +2 -2
  171. package/dist/cdn/{KSQGYVZK.js → XMDMIKZO.js} +2 -2
  172. package/dist/cdn/XNG65IJB.js +4 -0
  173. package/dist/cdn/XU4HVRMW.js +4 -0
  174. package/dist/cdn/{VW66WZ7U.js → Y6LM3MQU.js} +2 -2
  175. package/dist/cdn/{JGXYK2XS.js → YDZQ34K5.js} +2 -2
  176. package/dist/cdn/YKAS4B3R.js +4 -0
  177. package/dist/cdn/ZFBDTNXM.js +4 -0
  178. package/dist/cdn/ZN5YPWAJ.js +4 -0
  179. package/dist/cdn/ZTR46XJO.js +4 -0
  180. package/dist/cdn/ZX3IQKXF.js +4 -0
  181. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  182. package/dist/cdn/index.js +2 -2
  183. package/dist/chart-rendering/common/axes/index.d.ts +1 -1
  184. package/dist/chart-rendering/common/axes/utils/axis-renderer/index.d.ts +18 -0
  185. package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +2 -3
  186. package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
  187. package/dist/chart-rendering/common/data/index.d.ts +9 -6
  188. package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
  189. package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
  190. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -166
  191. package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +18 -1
  192. package/dist/chart-rendering/common/data/utils/selection/index.d.ts +2 -2
  193. package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +39 -1
  194. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  195. package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
  196. package/dist/chart-rendering/common/defaults/interfaces.d.ts +7 -8
  197. package/dist/chart-rendering/common/error-utils/index.d.ts +2 -2
  198. package/dist/chart-rendering/common/events/index.d.ts +7 -7
  199. package/dist/chart-rendering/common/interfaces.d.ts +20 -7
  200. package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
  201. package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -3
  202. package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
  203. package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
  204. package/dist/chart-rendering/common/t9n/errors/index.d.ts +1 -1
  205. package/dist/chart-rendering/next/chart-library-elements/axes/gauge/index.d.ts +1 -1
  206. package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +8 -2
  207. package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +11 -2
  208. package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
  209. package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-renderer/index.d.ts +3 -8
  210. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
  211. package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +2 -2
  212. package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +8 -6
  213. package/dist/chart-rendering/next/chart-library-elements/legend/interfaces.d.ts +15 -1
  214. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/index.d.ts +1 -1
  215. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  216. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
  217. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  218. package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +4 -1
  219. package/dist/chart-rendering/next/chart-library-elements/series/heat-chart/index.d.ts +15 -0
  220. package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +9 -1
  221. package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +2 -1
  222. package/dist/chart-rendering/next/chart-library-elements/series/line-chart/index.d.ts +1 -0
  223. package/dist/chart-rendering/next/chart-library-elements/series/pie-chart/index.d.ts +2 -0
  224. package/dist/chart-rendering/next/chart-library-elements/series/radar-chart/index.d.ts +1 -0
  225. package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts +3 -0
  226. package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +8 -17
  227. package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +13 -16
  228. package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  229. package/dist/chart-rendering/next/defaults/index.d.ts +8 -1
  230. package/dist/chart-rendering/next/index.d.ts +2 -2
  231. package/dist/chart-rendering/next/interfaces.d.ts +4 -0
  232. package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -4
  233. package/dist/chart-rendering/next/utils/index.d.ts +15 -7
  234. package/dist/chart-rendering/next/utils/misc/index.d.ts +9 -3
  235. package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
  236. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
  237. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +4 -22
  238. package/dist/chart-rendering/stable/chart-library-elements/cursor/index.d.ts +1 -1
  239. package/dist/chart-rendering/stable/chart-library-elements/guides-and-ticks/index.d.ts +0 -2
  240. package/dist/chart-rendering/stable/chart-library-elements/label/axis-label/index.d.ts +1 -2
  241. package/dist/chart-rendering/stable/chart-library-elements/label/data-label/index.d.ts +1 -1
  242. package/dist/chart-rendering/stable/chart-library-elements/label/data-label/interfaces.d.ts +3 -3
  243. package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
  244. package/dist/chart-rendering/stable/chart-library-elements/legends/index.d.ts +4 -4
  245. package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/index.d.ts +1 -1
  246. package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +2 -3
  247. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
  248. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  249. package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +4 -6
  250. package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
  251. package/dist/chart-rendering/stable/chart-library-elements/series/utils/index.d.ts +3 -15
  252. package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  253. package/dist/chart-rendering/stable/chart-library-elements/tooltips/interfaces.d.ts +3 -3
  254. package/dist/chart-rendering/stable/index.d.ts +8 -4
  255. package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
  256. package/dist/chart-rendering/stable/selection/switch/index.d.ts +1 -1
  257. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +8 -10
  258. package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
  259. package/dist/chart-rendering/stable/utils/misc/index.d.ts +3 -9
  260. package/dist/chunks/action-bar-utils.js +52 -39
  261. package/dist/chunks/axis-model-wrapper.js +1 -1
  262. package/dist/chunks/bar-chart-model.js +22 -13
  263. package/dist/chunks/bar-chart-series.js +21 -12
  264. package/dist/chunks/baseline-stacking.js +49 -40
  265. package/dist/chunks/bg_BG.js +1 -1
  266. package/dist/chunks/bg_BG2.js +1 -1
  267. package/dist/chunks/box-plot-data.js +216 -194
  268. package/dist/chunks/box-plot-model.js +37 -29
  269. package/dist/chunks/chart-ui-utils.js +37 -32
  270. package/dist/chunks/chart-ui-utils2.js +58 -50
  271. package/dist/chunks/combo-bar-line-chart-model.js +51 -56
  272. package/dist/chunks/common.js +1 -1
  273. package/dist/chunks/config-update.js +151 -5393
  274. package/dist/chunks/data.js +61 -924
  275. package/dist/chunks/default.js +1 -1
  276. package/dist/chunks/gauge-model.js +22 -14
  277. package/dist/chunks/heat-chart-model.js +201 -56
  278. package/dist/chunks/histogram-data.js +57 -49
  279. package/dist/chunks/histogram-model.js +19 -11
  280. package/dist/chunks/index.js +23862 -2206
  281. package/dist/chunks/index2.js +670 -36
  282. package/dist/chunks/index3.js +90 -63
  283. package/dist/chunks/index4.js +63 -91
  284. package/dist/chunks/interfaces.js +90 -16256
  285. package/dist/chunks/line-chart-model.js +17 -9
  286. package/dist/chunks/model-with-baseline-stacking.js +18 -28
  287. package/dist/chunks/model-with-data-labels.js +35 -26
  288. package/dist/chunks/model-with-multi-axes.js +143 -144
  289. package/dist/chunks/model-with-rotation.js +15 -6
  290. package/dist/chunks/pie-chart-data.js +144 -128
  291. package/dist/chunks/pie-chart-model.js +65 -56
  292. package/dist/chunks/popover-ui-utils.js +1 -1
  293. package/dist/chunks/radar-chart-model.js +15 -7
  294. package/dist/chunks/resource.js +1 -1
  295. package/dist/chunks/rest-js-object-literals.js +1 -1
  296. package/dist/chunks/runtime.js +1 -1
  297. package/dist/chunks/scatterplot-model.js +45 -37
  298. package/dist/chunks/serial-chart-data.js +912 -0
  299. package/dist/chunks/serial-chart-model.js +60 -44
  300. package/dist/chunks/series-types.js +3 -2
  301. package/dist/chunks/series.js +18 -9
  302. package/dist/chunks/sk_SK.js +1 -1
  303. package/dist/chunks/store.js +22 -13
  304. package/dist/chunks/type-guards.js +1 -1
  305. package/dist/chunks/useT9n.js +1 -1
  306. package/dist/chunks/web-component-utils.js +224 -218
  307. package/dist/components/arcgis-chart/customElement.d.ts +734 -161
  308. package/dist/components/arcgis-chart/customElement.js +9484 -10135
  309. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +74 -74
  310. package/dist/components/arcgis-charts-action-bar/customElement.js +57 -48
  311. package/dist/components/arcgis-charts-config-axes/customElement.d.ts +6 -6
  312. package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
  313. package/dist/components/arcgis-charts-config-axis/customElement.d.ts +5 -5
  314. package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
  315. package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
  316. package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +9 -4
  317. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
  318. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +116 -109
  319. package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
  320. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.d.ts +3 -3
  321. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +19 -12
  322. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.d.ts +3 -9
  323. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +41 -31
  324. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +2 -2
  325. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +18 -9
  326. package/dist/components/arcgis-charts-config-box-plot/customElement.d.ts +2 -2
  327. package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
  328. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -23
  329. package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
  330. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +12 -2
  331. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +52 -45
  332. package/dist/components/arcgis-charts-config-box-plot-series/customElement.d.ts +3 -10
  333. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +22 -17
  334. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.d.ts +3 -3
  335. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
  336. package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
  337. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.d.ts +2 -2
  338. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +26 -23
  339. package/dist/components/arcgis-charts-config-color-style/customElement.d.ts +2 -2
  340. package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
  341. package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
  342. package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
  343. package/dist/components/arcgis-charts-config-create-flow/customElement.d.ts +9 -9
  344. package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
  345. package/dist/components/arcgis-charts-config-field-select/customElement.d.ts +2 -2
  346. package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
  347. package/dist/components/arcgis-charts-config-font-style/customElement.d.ts +2 -2
  348. package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -12
  349. package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
  350. package/dist/components/arcgis-charts-config-format-popover/customElement.d.ts +2 -2
  351. package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
  352. package/dist/components/arcgis-charts-config-general/customElement.js +26 -17
  353. package/dist/components/arcgis-charts-config-guide/customElement.d.ts +2 -2
  354. package/dist/components/arcgis-charts-config-guide/customElement.js +29 -30
  355. package/dist/components/arcgis-charts-config-guide-popover/customElement.d.ts +2 -2
  356. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
  357. package/dist/components/arcgis-charts-config-guides/customElement.d.ts +3 -3
  358. package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
  359. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.d.ts +4 -4
  360. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
  361. package/dist/components/arcgis-charts-config-histogram/customElement.d.ts +1 -1
  362. package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
  363. package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
  364. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +31 -22
  365. package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +6 -1
  366. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +16 -7
  367. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.d.ts +1 -1
  368. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  369. package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +8 -3
  370. package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
  371. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +68 -51
  372. package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
  373. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.d.ts +1 -1
  374. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +20 -11
  375. package/dist/components/arcgis-charts-config-line-chart-series/customElement.d.ts +2 -2
  376. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
  377. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.d.ts +1 -1
  378. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -5
  379. package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +13 -3
  380. package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
  381. package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
  382. package/dist/components/arcgis-charts-config-pie-chart/customElement.d.ts +3 -3
  383. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
  384. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +48 -35
  385. package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
  386. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +1 -1
  387. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +46 -37
  388. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.d.ts +1 -1
  389. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
  390. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.d.ts +2 -2
  391. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +14 -5
  392. package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +7 -2
  393. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
  394. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.d.ts +1 -1
  395. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
  396. package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
  397. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.d.ts +1 -1
  398. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +21 -12
  399. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.d.ts +1 -1
  400. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +23 -10
  401. package/dist/components/arcgis-charts-config-view-charts/customElement.d.ts +2 -2
  402. package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
  403. package/dist/docs/api.json +243 -367
  404. package/dist/docs/docs.json +259 -294
  405. package/dist/docs/vscode.html-custom-data.json +57 -48
  406. package/dist/docs/web-types.json +148 -120
  407. package/dist/index.d.ts +4 -3
  408. package/dist/index.js +429 -405
  409. package/dist/json-schema/index.d.ts +19 -3
  410. package/dist/loader.d.ts +1 -1
  411. package/dist/loader.js +2 -2
  412. package/dist/model/chart-model/chart-model.d.ts +4 -9
  413. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
  414. package/dist/model/heat-chart-model/heat-chart-model.d.ts +85 -11
  415. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +74 -8
  416. package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
  417. package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
  418. package/dist/model/mixins/model-with-multi-axes.d.ts +4 -3
  419. package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
  420. package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
  421. package/dist/model/pie-chart-model/pie-chart-model.d.ts +5 -2
  422. package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -0
  423. package/dist/model/shared/data.d.ts +44 -2
  424. package/dist/model.js +1 -1
  425. package/dist/spec/chart-object-literals.d.ts +1 -0
  426. package/dist/spec/data-source.d.ts +11 -0
  427. package/dist/spec/web-chart.d.ts +11 -4
  428. package/dist/store.d.ts +24 -3
  429. package/dist/types/components.d.ts +1 -1
  430. package/dist/types/lumina.d.ts +4 -3
  431. package/dist/types/preact.d.ts +4 -3
  432. package/dist/types/preact10.d.ts +4 -3
  433. package/dist/types/react.d.ts +4 -3
  434. package/dist/types/stencil.d.ts +4 -3
  435. package/dist/utils/chart-config/converter/index.d.ts +27 -3
  436. package/dist/utils/chart-config/utils/index.d.ts +286 -1
  437. package/dist/utils/chart-config/validator/index.d.ts +10 -10
  438. package/dist/utils/components/config-update.d.ts +29 -9
  439. package/dist/utils/components/data-update.d.ts +36 -0
  440. package/dist/utils/components/event-payloads.d.ts +0 -3
  441. package/dist/utils/components/watch-handlers.d.ts +12 -12
  442. package/dist/utils/components/web-component-utils.d.ts +7 -2
  443. package/dist/utils/data/index.d.ts +3 -2
  444. package/dist/utils/data/interfaces.d.ts +31 -2
  445. package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
  446. package/dist/utils/defaults/index.d.ts +1 -1
  447. package/dist/utils/defaults/interfaces.d.ts +1 -1
  448. package/dist/utils/layer/index.d.ts +46 -3
  449. package/dist/utils/layer/interfaces.d.ts +1 -0
  450. package/dist/utils/layer/query-features/index.d.ts +3 -3
  451. package/dist/utils/layer/query-parser/index.d.ts +8 -0
  452. package/dist/utils/layer/utils/index.d.ts +3 -3
  453. package/dist/utils/misc/index.d.ts +1 -8
  454. package/dist/utils/misc/interfaces.d.ts +14 -2
  455. package/dist/utils/types/index.d.ts +1 -0
  456. package/dist/utils/ui/chart-ui-utils.d.ts +8 -2
  457. package/package.json +5 -5
  458. package/dist/cdn/2PIQUZLJ.js +0 -4
  459. package/dist/cdn/2RSSSCRW.js +0 -4
  460. package/dist/cdn/35DOK57F.js +0 -4
  461. package/dist/cdn/3B37QR3P.js +0 -4
  462. package/dist/cdn/3DA7RNJY.js +0 -4
  463. package/dist/cdn/3S7LJRMK.js +0 -4
  464. package/dist/cdn/3ZRCK4IC.js +0 -4
  465. package/dist/cdn/4IE6XELI.js +0 -4
  466. package/dist/cdn/4KKRP2RP.js +0 -4
  467. package/dist/cdn/4NMFDCAD.js +0 -4
  468. package/dist/cdn/4O4ROBLA.js +0 -4
  469. package/dist/cdn/56SMODPT.js +0 -4
  470. package/dist/cdn/5FYUIGBI.js +0 -4
  471. package/dist/cdn/5H5O4VGE.js +0 -4
  472. package/dist/cdn/5N7TBD2B.js +0 -4
  473. package/dist/cdn/6ESQM7VJ.js +0 -4
  474. package/dist/cdn/6WGTEKAS.js +0 -4
  475. package/dist/cdn/7COTPB7J.js +0 -4
  476. package/dist/cdn/A5VFUO5X.js +0 -4
  477. package/dist/cdn/AHAIODUA.js +0 -4
  478. package/dist/cdn/BNCIYGUY.js +0 -4
  479. package/dist/cdn/BTGG3TDM.js +0 -4
  480. package/dist/cdn/BTTBM7EP.js +0 -4
  481. package/dist/cdn/BYLHBOT7.js +0 -4
  482. package/dist/cdn/C5YUFRP7.js +0 -4
  483. package/dist/cdn/COKTZFQ7.js +0 -4
  484. package/dist/cdn/D3V3OSTL.js +0 -4
  485. package/dist/cdn/DCYBICHJ.css +0 -1
  486. package/dist/cdn/DEIRRBWT.js +0 -4
  487. package/dist/cdn/DHP3YSOY.js +0 -4
  488. package/dist/cdn/DK4C5EIX.js +0 -4
  489. package/dist/cdn/DUWTAEND.js +0 -4
  490. package/dist/cdn/EOUCNE3D.js +0 -4
  491. package/dist/cdn/EQ7ZCKDE.js +0 -4
  492. package/dist/cdn/EUY3ZXB3.js +0 -4
  493. package/dist/cdn/EXVFMAUT.js +0 -4
  494. package/dist/cdn/F5NUFIWE.js +0 -4
  495. package/dist/cdn/FGVGUOKQ.js +0 -4
  496. package/dist/cdn/FISKRQXW.js +0 -4
  497. package/dist/cdn/FQD4ELGL.js +0 -11
  498. package/dist/cdn/FQJVMD7O.js +0 -4
  499. package/dist/cdn/FVLZ7XGV.js +0 -4
  500. package/dist/cdn/G3J7PGIE.js +0 -4
  501. package/dist/cdn/GPBCWFS5.js +0 -4
  502. package/dist/cdn/GSVQ6ZVK.js +0 -4
  503. package/dist/cdn/H7X2PNIT.js +0 -6
  504. package/dist/cdn/HBXUKZX5.js +0 -4
  505. package/dist/cdn/HMFJXRJR.js +0 -4
  506. package/dist/cdn/I75CJSCE.js +0 -6
  507. package/dist/cdn/IJUTRTZW.js +0 -4
  508. package/dist/cdn/IPHAOMVD.js +0 -4
  509. package/dist/cdn/JB4CUM2L.js +0 -4
  510. package/dist/cdn/JDDNTQT5.js +0 -4
  511. package/dist/cdn/JQUU4BVY.js +0 -4
  512. package/dist/cdn/JTNRW7OL.js +0 -4
  513. package/dist/cdn/JUS6XSRW.js +0 -4
  514. package/dist/cdn/JXTAQEQJ.js +0 -4
  515. package/dist/cdn/K2D64HXF.js +0 -4
  516. package/dist/cdn/K46NAK7K.js +0 -58
  517. package/dist/cdn/K76D3WKW.js +0 -4
  518. package/dist/cdn/LH6NEIUE.js +0 -4
  519. package/dist/cdn/LHHFMWDQ.js +0 -4
  520. package/dist/cdn/LILH3A6H.js +0 -4
  521. package/dist/cdn/M5AYHPO2.js +0 -4
  522. package/dist/cdn/MJWADCAF.js +0 -4
  523. package/dist/cdn/MJWLRF2C.js +0 -4
  524. package/dist/cdn/NBMNKZEZ.js +0 -4
  525. package/dist/cdn/NOIKL326.js +0 -4
  526. package/dist/cdn/O3TSFTUW.js +0 -4
  527. package/dist/cdn/OBHYEK6P.js +0 -4
  528. package/dist/cdn/OGUNKDKJ.js +0 -4
  529. package/dist/cdn/OK3PQBYT.js +0 -4
  530. package/dist/cdn/P275QL34.js +0 -4
  531. package/dist/cdn/P36WOGBI.js +0 -4
  532. package/dist/cdn/PAX3ETZN.js +0 -4
  533. package/dist/cdn/PE5HKCVC.js +0 -129
  534. package/dist/cdn/PMSJEK4U.js +0 -4
  535. package/dist/cdn/PTCDABQ4.js +0 -4
  536. package/dist/cdn/PWQYDJL2.js +0 -144
  537. package/dist/cdn/Q3NGO47M.js +0 -4
  538. package/dist/cdn/Q3OSKDAI.js +0 -4
  539. package/dist/cdn/Q4LHRNFI.js +0 -4
  540. package/dist/cdn/Q6DK5UET.js +0 -4
  541. package/dist/cdn/R5FNA5SX.js +0 -4
  542. package/dist/cdn/RGDSO37U.js +0 -4
  543. package/dist/cdn/RWQUICHT.js +0 -4
  544. package/dist/cdn/SAOUVNZI.js +0 -4
  545. package/dist/cdn/SNLY7Y2R.js +0 -4
  546. package/dist/cdn/ST4G6ALP.js +0 -4
  547. package/dist/cdn/SVQ4R6WJ.js +0 -4
  548. package/dist/cdn/SVXVMMAK.js +0 -4
  549. package/dist/cdn/SZKBCG3U.js +0 -4
  550. package/dist/cdn/TALLNCA4.js +0 -4
  551. package/dist/cdn/TFBUW7HW.js +0 -4
  552. package/dist/cdn/THTADIQM.js +0 -4
  553. package/dist/cdn/TPQ47UXE.js +0 -4
  554. package/dist/cdn/TVVIHKAP.js +0 -4
  555. package/dist/cdn/TWS2ARTZ.js +0 -4
  556. package/dist/cdn/TYBTROL2.js +0 -4
  557. package/dist/cdn/TYXWYGLJ.js +0 -4
  558. package/dist/cdn/TZX762W2.js +0 -4
  559. package/dist/cdn/UFRVAEDG.js +0 -4
  560. package/dist/cdn/UIWMRHDG.js +0 -4
  561. package/dist/cdn/UNK7THP6.js +0 -4
  562. package/dist/cdn/UNKXLW6W.js +0 -4
  563. package/dist/cdn/UZNIN5RB.js +0 -4
  564. package/dist/cdn/UZTBNWU5.js +0 -4
  565. package/dist/cdn/VIHTTIVI.js +0 -4
  566. package/dist/cdn/WRZII4FY.js +0 -144
  567. package/dist/cdn/XKMQOAUO.js +0 -4
  568. package/dist/cdn/XLEIBCVC.js +0 -4
  569. package/dist/cdn/XOGLMU5O.js +0 -4
  570. package/dist/cdn/XUEJREON.js +0 -4
  571. package/dist/cdn/Y36SXMLN.js +0 -244
  572. package/dist/cdn/YITCW2WB.js +0 -42
  573. package/dist/cdn/ZAK6PFTO.js +0 -4
  574. package/dist/cdn/ZAVVIRNK.js +0 -4
  575. package/dist/cdn/ZMBVRTCZ.js +0 -4
  576. package/dist/cdn/ZW7QBYVY.js +0 -4
  577. package/dist/cdn/stdin.css +0 -1
  578. package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
  579. package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +0 -23
  580. package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/interfaces.d.ts +0 -18
  581. package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/index.d.ts +0 -15
  582. package/dist/chart-rendering/stable/chart-library-elements/guides-and-ticks/interfaces.d.ts +0 -14
  583. package/dist/chart-rendering/stable/chart-library-elements/label/data-label/histogram/index.d.ts +0 -15
  584. package/dist/chart-rendering/stable/chart-library-elements/label/data-label/scatter-plot/index.d.ts +0 -15
  585. package/dist/chart-rendering/stable/chart-library-elements/series/histogram/index.d.ts +0 -14
  586. package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +0 -58
  587. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/index.d.ts +0 -14
  588. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +0 -35
  589. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +0 -28
  590. package/dist/chart-rendering/stable/chart-library-elements/tooltips/histogram/index.d.ts +0 -15
  591. package/dist/chart-rendering/stable/chart-library-elements/tooltips/histogram/interfaces.d.ts +0 -5
  592. package/dist/chart-rendering/stable/chart-library-elements/tooltips/scatter-plot/index.d.ts +0 -16
  593. package/dist/chart-rendering/stable/chart-library-elements/tooltips/scatter-plot/interfaces.d.ts +0 -5
  594. package/dist/chunks/index5.js +0 -66
  595. package/dist/chunks/interfaces2.js +0 -18
  596. package/dist/chunks/interfaces3.js +0 -96
  597. package/dist/chunks/interfaces4.js +0 -491
  598. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
  599. package/dist/test/utils/test-utils/utils.d.ts +0 -13
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import d from"./BTTBM7EP.js";import c from"./TPQ47UXE.js";import b from"./DUWTAEND.js";import"./7P4IBWJL.js";import a from"./YITCW2WB.js";import"./G3J7PGIE.js";import"./FZGGAYGV.js";import"./QCQKZSWJ.js";import{a as o,b as g,s as y}from"./7VLZEZW3.js";import"./H7X2PNIT.js";import"./V6YYT4N6.js";export default $arcgis.t(([,,,,,,,,{J:d,S:p,_:a,ha:l,oa:v},{c:x,qa:S},,{a:b,b:C,c:_}])=>{var w=t=>t.axes[0].needle?.visible??!0,L=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.visible=t},T=t=>t.axes[0].needle?.symbol,O=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.symbol=t},U=t=>t.axes[0].needle?.startWidth,E=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.startWidth=t},W=t=>t.axes[0].needle?.endWidth,D=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.endWidth=t},R=t=>t.axes[0].needle?.innerRadius,V=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.innerRadius=t},k=t=>t.axes[0].needle?.displayPin??!1,G=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.displayPin=t},M=t=>t.axes[0].innerLabel?.visible??!0,$=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=d()),e.axes[0].innerLabel.visible=t},P=t=>t.axes[0].innerLabel?.content,q=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=d()),t!==void 0&&(e.axes[0].innerLabel.content=t)},N=t=>t.axes[0].ticks?.visible??!0,j=(t,e)=>{e.axes[0].ticks===void 0&&(e.axes[0].ticks={type:o.GaugeAxisTick}),e.axes[0].ticks.visible=t},z=t=>t.axes[0].labelsIncrement,B=(t,e)=>{e.axes[0].labelsIncrement=t},H=t=>t.axes[0].onlyShowFirstAndLastLabels??!1,J=(t,e)=>{e.axes[0].onlyShowFirstAndLastLabels=t},K=t=>t.series[0]?.valueConversion,Q=(t,e)=>{e.series[0]!==void 0&&(e.series[0].valueConversion=t)},A=t=>t.series[0]?.featureIndex,I=t=>{let{featureIndex:e,config:i,layerInfo:n,commonStrings:s}=t,r=u(i),F=f(i);e===null?delete i.series[0].featureIndex:i.series[0]!==void 0&&(i.series[0].featureIndex=e),h({config:i,layerInfo:n,field:r,aggregationType:F,commonStrings:s})},X=t=>t.subType??y.StatisticGauge,Y=t=>{let{config:e,field:i,aggregationType:n}=t;if(n!==g.NoAggregation){let s=A(e),r=m(s)?{}:{outStatistics:[{statisticType:n,onStatisticField:i,outStatisticFieldName:`${n}_${i}`}]};e.series[0].query=r}},Z=t=>{let{config:e,layerInfo:i,commonStrings:n,field:s,aggregationType:r}=t;e.title&&(e.title.content.text=x({config:e,layerInfo:i,commonStrings:n,numericFields:[s],aggregationType:r}))},h=t=>{let{config:e,field:i,aggregationType:n}=t;e.series[0]===void 0&&(e.series=[l({})]);let s=m(e.series[0]?.featureIndex),r=s?i:`${n}_${i}`;s&&i.startsWith(`${n}_`)&&(r=i.replace(`${n}_`,"")),e.series[0].x=r,Y({config:e,field:i,aggregationType:n}),Z(t)},f=t=>t.series[0]?.query?.outStatistics?.[0]?.statisticType??g.Count,ee=t=>{let{config:e,layerInfo:i,commonStrings:n,aggregationType:s}=t,r=u(e);h({config:e,layerInfo:i,commonStrings:n,field:r,aggregationType:s})},m=t=>typeof t=="number"&&t>=0,u=t=>m(t.series[0]?.featureIndex)?t.series[0]?.x:t.series[0]?.query?.outStatistics?.[0]?.onStatisticField??"",te=t=>{let{field:e,config:i,layerInfo:n,commonStrings:s}=t,r=f(i);h({config:i,layerInfo:n,commonStrings:s,field:e,aggregationType:r})},ie=t=>t.innerRadius??50,ne=(t,e)=>{e.innerRadius=t},se=t=>t.startAngle??-90,re=(t,e)=>{e.startAngle=t},ae=t=>t.endAngle??270,oe=(t,e)=>{e.endAngle=t};function ge(t){return p(t)}var c=class extends b{constructor(){super(...arguments),this._chartType=o.GaugeSeries}generateChartTitle(){return ge(this.commonStrings)}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get field(){return u(this._config)}set field(e){this.guardSetterFromAsyncOverwrite(()=>{te({field:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("field")})}get aggregationType(){return f(this._config)}set aggregationType(e){this.guardSetterFromAsyncOverwrite(()=>{ee({aggregationType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("aggregationType")})}get innerRadius(){return ie(this._config)}set innerRadius(e){this.guardSetterFromAsyncOverwrite(()=>{ne(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("innerRadius")})}get startAngle(){return se(this._config)}set startAngle(e){this.guardSetterFromAsyncOverwrite(()=>{re(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("startAngle")})}get endAngle(){return ae(this._config)}set endAngle(e){this.guardSetterFromAsyncOverwrite(()=>{oe(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("endAngle")})}get valueConversion(){return K(this._config)}set valueConversion(e){this.guardSetterFromAsyncOverwrite(()=>{Q(e,this._config),this.emitConfigUpdate("valueConversion")})}get featureIndex(){return A(this._config)}set featureIndex(e){this.guardSetterFromAsyncOverwrite(()=>{I({featureIndex:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.emitConfigUpdate("featureIndex")})}removeFeatureIndex(){this.guardSetterFromAsyncOverwrite(()=>{I({featureIndex:null,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.emitConfigUpdate("removeFeatureIndex")})}get gaugeSubType(){return X(this._config)}get needleVisibility(){return w(this._config)}set needleVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{L(e,this._config),this.emitConfigUpdate("needleVisibility")})}get needleSymbol(){return T(this._config)}set needleSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{O(e,this._config),this.emitConfigUpdate("needleSymbol")})}get needleStartWidth(){return U(this._config)}set needleStartWidth(e){this.guardSetterFromAsyncOverwrite(()=>{E(e,this._config),this.emitConfigUpdate("needleStartWidth")})}get needleEndWidth(){return W(this._config)}set needleEndWidth(e){this.guardSetterFromAsyncOverwrite(()=>{D(e,this._config),this.emitConfigUpdate("needleEndWidth")})}get needleInnerRadius(){return R(this._config)}set needleInnerRadius(e){this.guardSetterFromAsyncOverwrite(()=>{V(e,this._config),this.emitConfigUpdate("needleInnerRadius")})}get needleDisplayPin(){return k(this._config)}set needleDisplayPin(e){this.guardSetterFromAsyncOverwrite(()=>{G(e,this._config),this.emitConfigUpdate("needleDisplayPin")})}get innerLabelVisible(){return M(this._config)}set innerLabelVisible(e){this.guardSetterFromAsyncOverwrite(()=>{$(e,this._config),this.emitConfigUpdate("innerLabelVisible")})}get innerLabelContent(){return P(this._config)}set innerLabelContent(e){this.guardSetterFromAsyncOverwrite(()=>{q(e,this._config),this.emitConfigUpdate("innerLabelContent")})}get axisTickVisibility(){return N(this._config)}set axisTickVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{j(e,this._config),this.emitConfigUpdate("axisTickVisibility")})}get labelsIncrement(){return z(this._config)}set labelsIncrement(e){this.guardSetterFromAsyncOverwrite(()=>{B(e,this._config),this.emitConfigUpdate("labelsIncrement")})}get onlyShowFirstAndLastLabels(){return H(this._config)}set onlyShowFirstAndLastLabels(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("onlyShowFirstAndLastLabels")})}generateDefaultConfig(){let e=v(this.commonStrings);return e.series=[l({objectIDField:this.layerInfo?.objectIdField})],e}};S(c,[C,_]);return c},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{a as y}from"./AGVHBT7L.js";import{a as C}from"./N3XXFNB3.js";import{b as H,c as M}from"./26CEMPJQ.js";import e from"./4O4ROBLA.js";import{g as l}from"./YPKHBQXA.js";import{a as x}from"./EQ7ZCKDE.js";import c from"./SVQ4R6WJ.js";import a from"./YITCW2WB.js";import{j as k,q as h}from"./G3J7PGIE.js";import"./FZGGAYGV.js";import{a as m}from"./QCQKZSWJ.js";import{b as A,k as p,o as b}from"./7VLZEZW3.js";import{A as o,B as w,D,F,g as S,h as s,l as $,w as u,x as d,y as P}from"./H7X2PNIT.js";import"./V6YYT4N6.js";export default $arcgis.t(([{substitute:U},,,,,,,,{Pa:z,Wa:N,ic:B,kc:L,xa:T,ya:E},{g:O},{a:f,c:v,g:_,k:g,o:K,r:j}])=>{var q=S`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`,n={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",numericFieldPickList:"bar-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",rotateClass:"sort-y-axis",sortOrderPickList:"sort-order-pick-list",sizeSection:"size-section",applyButton:"apply-button",panel:"panel"},I=class extends P{constructor(){super(...arguments),this._messages=x(),this.commonStrings=x({name:"common",blocking:!0}),this.picklist=u(),this.intervalSizeElement=u(),this.intervalTypeElement=u(),this.popoverElement=u(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.aggregationLabels=[],this.layerFieldsInfo=[],this.isCustomSortDisabled=!1,this.isNoAggregationDisabled=!1,this.arcgisChartsConfigBarChartDataPopoverChange=$(),this.arcgisChartsConfigPopoverClose=$()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:3,referenceElement:2,open:7,contentKind:1,layerFieldsInfo:0,selectedContent:1,isCustomSortDisabled:5,isNoAggregationDisabled:5}}static{this.styles=q}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=v.map(a=>T(a,this.commonStrings));k(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[b.Start,b.End].map(a=>E(a,this.commonStrings));k(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(async()=>{await this.picklist.value?.setFocus()},f.PopoverTimer),H(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},f.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=M(e,t)}buildAggregationListItems(){let e=this.isNoAggregationDisabled?v.filter(t=>t!==A.NoAggregation):v;return y(e,t=>t,(t,i)=>s`<calcite-list-item .label=${this.aggregationLabels[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}createTooltip(e){if(e.target?.label===this._messages.customSort&&this.isCustomSortDisabled){let t=e.target,i=O(t),a=new Intl.NumberFormat(i).format(f.customSortLimit),r=U(this._messages.customSortLimit??"",{totalLimit:a});this.tooltip=D(s`<calcite-tooltip style=${w({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}}destroyTooltip(){j(this.tooltip)}buildSortOrder(){let e=Object.keys(m),t;return y(e,i=>i,i=>{let a="";switch(i){case m.xAxisAsc:{t="a-z-down";break}case m.xAxisDesc:{t="a-z-up";break}case m.yAxisAsc:{t="sort-descending",a=n.rotateClass;break}case m.yAxisDesc:{t="sort-ascending",a=n.rotateClass;break}case m.customSort:{t="arrow-up-down";break}}return s`<calcite-list-item .disabled=${this.isCustomSortDisabled&&i===m.customSort} .label=${this._messages[i]} .selected=${this.selectedContent===i} .value=${m[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${a}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`})}buildPickListItem(e){return C(e.name,s`<calcite-list-item .label=${z(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${g(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case l.numericFields:{for(let a=0;a<t;a+=1){let r=this.layerFieldsInfo?.[a];r&&B(r)&&i.push(this.buildPickListItem(r))}break}case l.category:{let a=C(" ",s`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(a);for(let r=0;r<t;r+=1){let c=this.layerFieldsInfo?.[r];c&&(L(c)||c.type===h.String||c.type===h.Date||c.type===h.DateOnly||c.type===h.TimestampOffset)&&i.push(this.buildPickListItem(c))}break}case l.splitByField:{let a=C(" ",s`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(a);for(let r=0;r<t;r+=1){let c=this.layerFieldsInfo?.[r];c&&(L(c)||c.type===h.String)&&i.push(this.buildPickListItem(c))}break}}return i}closePopover(){if(this.contentKind===l.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigBarChartDataPopoverChange,contentKind:this.contentKind};K(e)}this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){let t=e.target.selectedItems;this.arcgisChartsConfigBarChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigBarChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}buildIntervalAlignmentPickListItems(){let e=[b.Start,b.End];return y(e,t=>t,(t,i)=>s`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}renderAggregationType(){let e=this.buildAggregationListItems();return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderCategory(){let e=this.buildPickListItems(l.category);return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(l.numericFields);return s`<calcite-list label class=${o(n.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${d(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return s`<calcite-list label class=${o(n.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(l.splitByField);return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return s`<calcite-list label class=${o(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[p.Second,p.Minute,p.Hour,p.Day,p.Week,p.Month,p.Year];return s`<div><div class=${o(n.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${_(e?.size,1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${d(this.intervalTypeElement)}>${t.map(i=>s`<calcite-option .value=${i} .label=${N(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(n.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case l.aggregation:e=this.renderAggregationType();break;case l.category:e=this.renderCategory();break;case l.numericFields:e=this.renderNumericFields();break;case l.splitByField:e=this.renderSplitByField();break;case l.sortOrder:e=this.renderSortOrder();break;case l.intervalAlignment:e=this.renderIntervalAlignment();break;case l.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===l.numericFields&&(e=s`<div slot=footer><calcite-fab class=${o(n.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),s`<div class=${o(n.jsAppFlyout)}><calcite-popover class=${o(n.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${d(this.popoverElement)}><calcite-panel class=${o(n.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(n.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};F("arcgis-charts-config-bar-chart-popover",I);return I},"intl","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,c,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- var na=Array.isArray,d=na;function pa(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}var g=pa;var sa=/\s/;function ma(r){for(var t=r.length;t--&&sa.test(r.charAt(t)););return t}var bt=ma;var ua=/^\s+/;function la(r){return r&&r.slice(0,bt(r)+1).replace(ua,"")}var Tt=la;var da=typeof global=="object"&&global&&global.Object===Object&&global,Mr=da;var ca=typeof self=="object"&&self&&self.Object===Object&&self,xa=Mr||ca||Function("return this")(),y=xa;var ga=y.Symbol,O=ga;var St=Object.prototype,ya=St.hasOwnProperty,ha=St.toString,vr=O?O.toStringTag:void 0;function ba(r){var t=ya.call(r,vr),e=r[vr];try{r[vr]=void 0;var o=!0}catch{}var a=ha.call(r);return o&&(t?r[vr]=e:delete r[vr]),a}var At=ba;var Ta=Object.prototype,Sa=Ta.toString;function Aa(r){return Sa.call(r)}var vt=Aa;var va="[object Null]",Oa="[object Undefined]",Ot=O?O.toStringTag:void 0;function _a(r){return r==null?r===void 0?Oa:va:Ot&&Ot in Object(r)?At(r):vt(r)}var w=_a;function wa(r){return r!=null&&typeof r=="object"}var h=wa;var Ca="[object Symbol]";function Pa(r){return typeof r=="symbol"||h(r)&&w(r)==Ca}var I=Pa;var _t=NaN,Ia=/^[-+]0x[0-9a-f]+$/i,Ma=/^0b[01]+$/i,ja=/^0o[0-7]+$/i,Ea=parseInt;function La(r){if(typeof r=="number")return r;if(I(r))return _t;if(g(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=g(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=Tt(r);var e=Ma.test(r);return e||ja.test(r)?Ea(r.slice(2),e?2:8):Ia.test(r)?_t:+r}var jr=La;function Fa(){this.__data__=[],this.size=0}var wt=Fa;function Da(r,t){return r===t||r!==r&&t!==t}var F=Da;function Ba(r,t){for(var e=r.length;e--;)if(F(r[e][0],t))return e;return-1}var H=Ba;var Ra=Array.prototype,Na=Ra.splice;function Ga(r){var t=this.__data__,e=H(t,r);if(e<0)return!1;var o=t.length-1;return e==o?t.pop():Na.call(t,e,1),--this.size,!0}var Ct=Ga;function Ua(r){var t=this.__data__,e=H(t,r);return e<0?void 0:t[e][1]}var Pt=Ua;function Wa(r){return H(this.__data__,r)>-1}var It=Wa;function Ka(r,t){var e=this.__data__,o=H(e,r);return o<0?(++this.size,e.push([r,t])):e[o][1]=t,this}var Mt=Ka;function or(r){var t=-1,e=r==null?0:r.length;for(this.clear();++t<e;){var o=r[t];this.set(o[0],o[1])}}or.prototype.clear=wt;or.prototype.delete=Ct;or.prototype.get=Pt;or.prototype.has=It;or.prototype.set=Mt;var z=or;function qa(){this.__data__=new z,this.size=0}var jt=qa;function Ha(r){var t=this.__data__,e=t.delete(r);return this.size=t.size,e}var Et=Ha;function za(r){return this.__data__.get(r)}var Lt=za;function $a(r){return this.__data__.has(r)}var Ft=$a;var Xa="[object AsyncFunction]",Ja="[object Function]",Va="[object GeneratorFunction]",Ya="[object Proxy]";function Za(r){if(!g(r))return!1;var t=w(r);return t==Ja||t==Va||t==Xa||t==Ya}var ar=Za;var Qa=y["__core-js_shared__"],Er=Qa;var Dt=function(){var r=/[^.]+$/.exec(Er&&Er.keys&&Er.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function ka(r){return!!Dt&&Dt in r}var Bt=ka;var rf=Function.prototype,tf=rf.toString;function ef(r){if(r!=null){try{return tf.call(r)}catch{}try{return r+""}catch{}}return""}var G=ef;var of=/[\\^$.*+?()[\]{}|]/g,af=/^\[object .+?Constructor\]$/,ff=Function.prototype,nf=Object.prototype,pf=ff.toString,sf=nf.hasOwnProperty,mf=RegExp("^"+pf.call(sf).replace(of,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function uf(r){if(!g(r)||Bt(r))return!1;var t=ar(r)?mf:af;return t.test(G(r))}var Rt=uf;function lf(r,t){return r?.[t]}var Nt=lf;function df(r,t){var e=Nt(r,t);return Rt(e)?e:void 0}var C=df;var cf=C(y,"Map"),$=cf;var xf=C(Object,"create"),U=xf;function gf(){this.__data__=U?U(null):{},this.size=0}var Gt=gf;function yf(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}var Ut=yf;var hf="__lodash_hash_undefined__",bf=Object.prototype,Tf=bf.hasOwnProperty;function Sf(r){var t=this.__data__;if(U){var e=t[r];return e===hf?void 0:e}return Tf.call(t,r)?t[r]:void 0}var Wt=Sf;var Af=Object.prototype,vf=Af.hasOwnProperty;function Of(r){var t=this.__data__;return U?t[r]!==void 0:vf.call(t,r)}var Kt=Of;var _f="__lodash_hash_undefined__";function wf(r,t){var e=this.__data__;return this.size+=this.has(r)?0:1,e[r]=U&&t===void 0?_f:t,this}var qt=wf;function fr(r){var t=-1,e=r==null?0:r.length;for(this.clear();++t<e;){var o=r[t];this.set(o[0],o[1])}}fr.prototype.clear=Gt;fr.prototype.delete=Ut;fr.prototype.get=Wt;fr.prototype.has=Kt;fr.prototype.set=qt;var mt=fr;function Cf(){this.size=0,this.__data__={hash:new mt,map:new($||z),string:new mt}}var Ht=Cf;function Pf(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}var zt=Pf;function If(r,t){var e=r.__data__;return zt(t)?e[typeof t=="string"?"string":"hash"]:e.map}var X=If;function Mf(r){var t=X(this,r).delete(r);return this.size-=t?1:0,t}var $t=Mf;function jf(r){return X(this,r).get(r)}var Xt=jf;function Ef(r){return X(this,r).has(r)}var Jt=Ef;function Lf(r,t){var e=X(this,r),o=e.size;return e.set(r,t),this.size+=e.size==o?0:1,this}var Vt=Lf;function ir(r){var t=-1,e=r==null?0:r.length;for(this.clear();++t<e;){var o=r[t];this.set(o[0],o[1])}}ir.prototype.clear=Ht;ir.prototype.delete=$t;ir.prototype.get=Xt;ir.prototype.has=Jt;ir.prototype.set=Vt;var rr=ir;var Ff=200;function Df(r,t){var e=this.__data__;if(e instanceof z){var o=e.__data__;if(!$||o.length<Ff-1)return o.push([r,t]),this.size=++e.size,this;e=this.__data__=new rr(o)}return e.set(r,t),this.size=e.size,this}var Yt=Df;function nr(r){var t=this.__data__=new z(r);this.size=t.size}nr.prototype.clear=jt;nr.prototype.delete=Et;nr.prototype.get=Lt;nr.prototype.has=Ft;nr.prototype.set=Yt;var D=nr;function Bf(r,t){for(var e=-1,o=r==null?0:r.length;++e<o&&t(r[e],e,r)!==!1;);return r}var Zt=Bf;var Rf=function(){try{var r=C(Object,"defineProperty");return r({},"",{}),r}catch{}}(),pr=Rf;function Nf(r,t,e){t=="__proto__"&&pr?pr(r,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):r[t]=e}var sr=Nf;var Gf=Object.prototype,Uf=Gf.hasOwnProperty;function Wf(r,t,e){var o=r[t];(!(Uf.call(r,t)&&F(o,e))||e===void 0&&!(t in r))&&sr(r,t,e)}var Lr=Wf;function Kf(r,t,e,o){var a=!e;e||(e={});for(var f=-1,i=t.length;++f<i;){var n=t[f],p=o?o(e[n],r[n],n,e,r):void 0;p===void 0&&(p=r[n]),a?sr(e,n,p):Lr(e,n,p)}return e}var B=Kf;function qf(r,t){for(var e=-1,o=Array(r);++e<r;)o[e]=t(e);return o}var Fr=qf;var Hf="[object Arguments]";function zf(r){return h(r)&&w(r)==Hf}var ut=zf;var Qt=Object.prototype,$f=Qt.hasOwnProperty,Xf=Qt.propertyIsEnumerable,Jf=ut(function(){return arguments}())?ut:function(r){return h(r)&&$f.call(r,"callee")&&!Xf.call(r,"callee")},M=Jf;function Vf(){return!1}var kt=Vf;var ee=typeof exports=="object"&&exports&&!exports.nodeType&&exports,re=ee&&typeof module=="object"&&module&&!module.nodeType&&module,Yf=re&&re.exports===ee,te=Yf?y.Buffer:void 0,Zf=te?te.isBuffer:void 0,Qf=Zf||kt,j=Qf;var kf=9007199254740991,ri=/^(?:0|[1-9]\d*)$/;function ti(r,t){var e=typeof r;return t=t??kf,!!t&&(e=="number"||e!="symbol"&&ri.test(r))&&r>-1&&r%1==0&&r<t}var mr=ti;var ei=9007199254740991;function oi(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=ei}var ur=oi;var ai="[object Arguments]",fi="[object Array]",ii="[object Boolean]",ni="[object Date]",pi="[object Error]",si="[object Function]",mi="[object Map]",ui="[object Number]",li="[object Object]",di="[object RegExp]",ci="[object Set]",xi="[object String]",gi="[object WeakMap]",yi="[object ArrayBuffer]",hi="[object DataView]",bi="[object Float32Array]",Ti="[object Float64Array]",Si="[object Int8Array]",Ai="[object Int16Array]",vi="[object Int32Array]",Oi="[object Uint8Array]",_i="[object Uint8ClampedArray]",wi="[object Uint16Array]",Ci="[object Uint32Array]",x={};x[bi]=x[Ti]=x[Si]=x[Ai]=x[vi]=x[Oi]=x[_i]=x[wi]=x[Ci]=!0;x[ai]=x[fi]=x[yi]=x[ii]=x[hi]=x[ni]=x[pi]=x[si]=x[mi]=x[ui]=x[li]=x[di]=x[ci]=x[xi]=x[gi]=!1;function Pi(r){return h(r)&&ur(r.length)&&!!x[w(r)]}var oe=Pi;function Ii(r){return function(t){return r(t)}}var J=Ii;var ae=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Or=ae&&typeof module=="object"&&module&&!module.nodeType&&module,Mi=Or&&Or.exports===ae,lt=Mi&&Mr.process,ji=function(){try{var r=Or&&Or.require&&Or.require("util").types;return r||lt&&lt.binding&&lt.binding("util")}catch{}}(),W=ji;var fe=W&&W.isTypedArray,Ei=fe?J(fe):oe,V=Ei;var Li=Object.prototype,Fi=Li.hasOwnProperty;function Di(r,t){var e=d(r),o=!e&&M(r),a=!e&&!o&&j(r),f=!e&&!o&&!a&&V(r),i=e||o||a||f,n=i?Fr(r.length,String):[],p=n.length;for(var s in r)(t||Fi.call(r,s))&&!(i&&(s=="length"||a&&(s=="offset"||s=="parent")||f&&(s=="buffer"||s=="byteLength"||s=="byteOffset")||mr(s,p)))&&n.push(s);return n}var Dr=Di;var Bi=Object.prototype;function Ri(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||Bi;return r===e}var Y=Ri;function Ni(r,t){return function(e){return r(t(e))}}var Br=Ni;var Gi=Br(Object.keys,Object),ie=Gi;var Ui=Object.prototype,Wi=Ui.hasOwnProperty;function Ki(r){if(!Y(r))return ie(r);var t=[];for(var e in Object(r))Wi.call(r,e)&&e!="constructor"&&t.push(e);return t}var Rr=Ki;function qi(r){return r!=null&&ur(r.length)&&!ar(r)}var P=qi;function Hi(r){return P(r)?Dr(r):Rr(r)}var R=Hi;function zi(r,t){return r&&B(t,R(t),r)}var ne=zi;function $i(r){var t=[];if(r!=null)for(var e in Object(r))t.push(e);return t}var pe=$i;var Xi=Object.prototype,Ji=Xi.hasOwnProperty;function Vi(r){if(!g(r))return pe(r);var t=Y(r),e=[];for(var o in r)o=="constructor"&&(t||!Ji.call(r,o))||e.push(o);return e}var se=Vi;function Yi(r){return P(r)?Dr(r,!0):se(r)}var N=Yi;function Zi(r,t){return r&&B(t,N(t),r)}var me=Zi;var ce=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ue=ce&&typeof module=="object"&&module&&!module.nodeType&&module,Qi=ue&&ue.exports===ce,le=Qi?y.Buffer:void 0,de=le?le.allocUnsafe:void 0;function ki(r,t){if(t)return r.slice();var e=r.length,o=de?de(e):new r.constructor(e);return r.copy(o),o}var Nr=ki;function rn(r,t){var e=-1,o=r.length;for(t||(t=Array(o));++e<o;)t[e]=r[e];return t}var Gr=rn;function tn(r,t){for(var e=-1,o=r==null?0:r.length,a=0,f=[];++e<o;){var i=r[e];t(i,e,r)&&(f[a++]=i)}return f}var Ur=tn;function en(){return[]}var Wr=en;var on=Object.prototype,an=on.propertyIsEnumerable,xe=Object.getOwnPropertySymbols,fn=xe?function(r){return r==null?[]:(r=Object(r),Ur(xe(r),function(t){return an.call(r,t)}))}:Wr,lr=fn;function nn(r,t){return B(r,lr(r),t)}var ge=nn;function pn(r,t){for(var e=-1,o=t.length,a=r.length;++e<o;)r[a+e]=t[e];return r}var dr=pn;var sn=Br(Object.getPrototypeOf,Object),cr=sn;var mn=Object.getOwnPropertySymbols,un=mn?function(r){for(var t=[];r;)dr(t,lr(r)),r=cr(r);return t}:Wr,Kr=un;function ln(r,t){return B(r,Kr(r),t)}var ye=ln;function dn(r,t,e){var o=t(r);return d(r)?o:dr(o,e(r))}var qr=dn;function cn(r){return qr(r,R,lr)}var _r=cn;function xn(r){return qr(r,N,Kr)}var he=xn;var gn=C(y,"DataView"),Hr=gn;var yn=C(y,"Promise"),zr=yn;var hn=C(y,"Set"),$r=hn;var bn=C(y,"WeakMap"),Xr=bn;var be="[object Map]",Tn="[object Object]",Te="[object Promise]",Se="[object Set]",Ae="[object WeakMap]",ve="[object DataView]",Sn=G(Hr),An=G($),vn=G(zr),On=G($r),_n=G(Xr),tr=w;(Hr&&tr(new Hr(new ArrayBuffer(1)))!=ve||$&&tr(new $)!=be||zr&&tr(zr.resolve())!=Te||$r&&tr(new $r)!=Se||Xr&&tr(new Xr)!=Ae)&&(tr=function(r){var t=w(r),e=t==Tn?r.constructor:void 0,o=e?G(e):"";if(o)switch(o){case Sn:return ve;case An:return be;case vn:return Te;case On:return Se;case _n:return Ae}return t});var E=tr;var wn=Object.prototype,Cn=wn.hasOwnProperty;function Pn(r){var t=r.length,e=new r.constructor(t);return t&&typeof r[0]=="string"&&Cn.call(r,"index")&&(e.index=r.index,e.input=r.input),e}var Oe=Pn;var In=y.Uint8Array,xr=In;function Mn(r){var t=new r.constructor(r.byteLength);return new xr(t).set(new xr(r)),t}var gr=Mn;function jn(r,t){var e=t?gr(r.buffer):r.buffer;return new r.constructor(e,r.byteOffset,r.byteLength)}var _e=jn;var En=/\w*$/;function Ln(r){var t=new r.constructor(r.source,En.exec(r));return t.lastIndex=r.lastIndex,t}var we=Ln;var Ce=O?O.prototype:void 0,Pe=Ce?Ce.valueOf:void 0;function Fn(r){return Pe?Object(Pe.call(r)):{}}var Ie=Fn;function Dn(r,t){var e=t?gr(r.buffer):r.buffer;return new r.constructor(e,r.byteOffset,r.length)}var Jr=Dn;var Bn="[object Boolean]",Rn="[object Date]",Nn="[object Map]",Gn="[object Number]",Un="[object RegExp]",Wn="[object Set]",Kn="[object String]",qn="[object Symbol]",Hn="[object ArrayBuffer]",zn="[object DataView]",$n="[object Float32Array]",Xn="[object Float64Array]",Jn="[object Int8Array]",Vn="[object Int16Array]",Yn="[object Int32Array]",Zn="[object Uint8Array]",Qn="[object Uint8ClampedArray]",kn="[object Uint16Array]",rp="[object Uint32Array]";function tp(r,t,e){var o=r.constructor;switch(t){case Hn:return gr(r);case Bn:case Rn:return new o(+r);case zn:return _e(r,e);case $n:case Xn:case Jn:case Vn:case Yn:case Zn:case Qn:case kn:case rp:return Jr(r,e);case Nn:return new o;case Gn:case Kn:return new o(r);case Un:return we(r);case Wn:return new o;case qn:return Ie(r)}}var Me=tp;var je=Object.create,ep=function(){function r(){}return function(t){if(!g(t))return{};if(je)return je(t);r.prototype=t;var e=new r;return r.prototype=void 0,e}}(),Ee=ep;function op(r){return typeof r.constructor=="function"&&!Y(r)?Ee(cr(r)):{}}var Vr=op;var ap="[object Map]";function fp(r){return h(r)&&E(r)==ap}var Le=fp;var Fe=W&&W.isMap,ip=Fe?J(Fe):Le,De=ip;var np="[object Set]";function pp(r){return h(r)&&E(r)==np}var Be=pp;var Re=W&&W.isSet,sp=Re?J(Re):Be,Ne=sp;var mp=1,up=2,lp=4,Ge="[object Arguments]",dp="[object Array]",cp="[object Boolean]",xp="[object Date]",gp="[object Error]",Ue="[object Function]",yp="[object GeneratorFunction]",hp="[object Map]",bp="[object Number]",We="[object Object]",Tp="[object RegExp]",Sp="[object Set]",Ap="[object String]",vp="[object Symbol]",Op="[object WeakMap]",_p="[object ArrayBuffer]",wp="[object DataView]",Cp="[object Float32Array]",Pp="[object Float64Array]",Ip="[object Int8Array]",Mp="[object Int16Array]",jp="[object Int32Array]",Ep="[object Uint8Array]",Lp="[object Uint8ClampedArray]",Fp="[object Uint16Array]",Dp="[object Uint32Array]",c={};c[Ge]=c[dp]=c[_p]=c[wp]=c[cp]=c[xp]=c[Cp]=c[Pp]=c[Ip]=c[Mp]=c[jp]=c[hp]=c[bp]=c[We]=c[Tp]=c[Sp]=c[Ap]=c[vp]=c[Ep]=c[Lp]=c[Fp]=c[Dp]=!0;c[gp]=c[Ue]=c[Op]=!1;function Yr(r,t,e,o,a,f){var i,n=t&mp,p=t&up,s=t&lp;if(e&&(i=a?e(r,o,a,f):e(r)),i!==void 0)return i;if(!g(r))return r;var u=d(r);if(u){if(i=Oe(r),!n)return Gr(r,i)}else{var m=E(r),l=m==Ue||m==yp;if(j(r))return Nr(r,n);if(m==We||m==Ge||l&&!a){if(i=p||l?{}:Vr(r),!n)return p?ye(r,me(i,r)):ge(r,ne(i,r))}else{if(!c[m])return a?r:{};i=Me(r,m,n)}}f||(f=new D);var b=f.get(r);if(b)return b;f.set(r,i),Ne(r)?r.forEach(function(T){i.add(Yr(T,t,e,T,r,f))}):De(r)&&r.forEach(function(T,S){i.set(S,Yr(T,t,e,S,r,f))});var A=s?p?he:_r:p?N:R,_=u?void 0:A(r);return Zt(_||r,function(T,S){_&&(S=T,T=r[S]),Lr(i,S,Yr(T,t,e,S,r,f))}),i}var Ke=Yr;var Bp=1,Rp=4;function Np(r){return Ke(r,Bp|Rp)}var Gp=Np;var Up=function(){return y.Date.now()},Zr=Up;var Wp="Expected a function",Kp=Math.max,qp=Math.min;function Hp(r,t,e){var o,a,f,i,n,p,s=0,u=!1,m=!1,l=!0;if(typeof r!="function")throw new TypeError(Wp);t=jr(t)||0,g(e)&&(u=!!e.leading,m="maxWait"in e,f=m?Kp(jr(e.maxWait)||0,t):f,l="trailing"in e?!!e.trailing:l);function b(v){var q=o,Ar=a;return o=a=void 0,s=v,i=r.apply(Ar,q),i}function A(v){return s=v,n=setTimeout(S,t),u?b(v):i}function _(v){var q=v-p,Ar=v-s,ht=t-q;return m?qp(ht,f-Ar):ht}function T(v){var q=v-p,Ar=v-s;return p===void 0||q>=t||q<0||m&&Ar>=f}function S(){var v=Zr();if(T(v))return L(v);n=setTimeout(S,_(v))}function L(v){return n=void 0,l&&o?b(v):(o=a=void 0,i)}function Ir(){n!==void 0&&clearTimeout(n),s=0,o=p=a=n=void 0}function er(){return n===void 0?i:L(Zr())}function K(){var v=Zr(),q=T(v);if(o=arguments,a=this,p=v,q){if(n===void 0)return A(p);if(m)return clearTimeout(n),n=setTimeout(S,t),b(p)}return n===void 0&&(n=setTimeout(S,t)),i}return K.cancel=Ir,K.flush=er,K}var zp=Hp;function $p(r,t,e){(e!==void 0&&!F(r[t],e)||e===void 0&&!(t in r))&&sr(r,t,e)}var wr=$p;function Xp(r){return function(t,e,o){for(var a=-1,f=Object(t),i=o(t),n=i.length;n--;){var p=i[r?n:++a];if(e(f[p],p,f)===!1)break}return t}}var qe=Xp;var Jp=qe(),Qr=Jp;function Vp(r){return h(r)&&P(r)}var kr=Vp;var Yp="[object Object]",Zp=Function.prototype,Qp=Object.prototype,He=Zp.toString,kp=Qp.hasOwnProperty,rs=He.call(Object);function ts(r){if(!h(r)||w(r)!=Yp)return!1;var t=cr(r);if(t===null)return!0;var e=kp.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&He.call(e)==rs}var ze=ts;function es(r,t){if(!(t==="constructor"&&typeof r[t]=="function")&&t!="__proto__")return r[t]}var Cr=es;function os(r){return B(r,N(r))}var $e=os;function as(r,t,e,o,a,f,i){var n=Cr(r,e),p=Cr(t,e),s=i.get(p);if(s){wr(r,e,s);return}var u=f?f(n,p,e+"",r,t,i):void 0,m=u===void 0;if(m){var l=d(p),b=!l&&j(p),A=!l&&!b&&V(p);u=p,l||b||A?d(n)?u=n:kr(n)?u=Gr(n):b?(m=!1,u=Nr(p,!0)):A?(m=!1,u=Jr(p,!0)):u=[]:ze(p)||M(p)?(u=n,M(n)?u=$e(n):(!g(n)||ar(n))&&(u=Vr(p))):m=!1}m&&(i.set(p,u),a(u,p,o,f,i),i.delete(p)),wr(r,e,u)}var Xe=as;function Je(r,t,e,o,a){r!==t&&Qr(t,function(f,i){if(a||(a=new D),g(f))Xe(r,t,i,e,Je,o,a);else{var n=o?o(Cr(r,i),f,i+"",r,t,a):void 0;n===void 0&&(n=f),wr(r,i,n)}},N)}var rt=Je;function fs(r){return r}var Z=fs;function is(r,t,e){switch(e.length){case 0:return r.call(t);case 1:return r.call(t,e[0]);case 2:return r.call(t,e[0],e[1]);case 3:return r.call(t,e[0],e[1],e[2])}return r.apply(t,e)}var Ve=is;var Ye=Math.max;function ns(r,t,e){return t=Ye(t===void 0?r.length-1:t,0),function(){for(var o=arguments,a=-1,f=Ye(o.length-t,0),i=Array(f);++a<f;)i[a]=o[t+a];a=-1;for(var n=Array(t+1);++a<t;)n[a]=o[a];return n[t]=e(i),Ve(r,this,n)}}var Ze=ns;function ps(r){return function(){return r}}var Qe=ps;var ss=pr?function(r,t){return pr(r,"toString",{configurable:!0,enumerable:!1,value:Qe(t),writable:!0})}:Z,ke=ss;var ms=800,us=16,ls=Date.now;function ds(r){var t=0,e=0;return function(){var o=ls(),a=us-(o-e);if(e=o,a>0){if(++t>=ms)return arguments[0]}else t=0;return r.apply(void 0,arguments)}}var ro=ds;var cs=ro(ke),to=cs;function xs(r,t){return to(Ze(r,t,Z),r+"")}var yr=xs;function gs(r,t,e){if(!g(e))return!1;var o=typeof t;return(o=="number"?P(e)&&mr(t,e.length):o=="string"&&t in e)?F(e[t],r):!1}var Pr=gs;function ys(r){return yr(function(t,e){var o=-1,a=e.length,f=a>1?e[a-1]:void 0,i=a>2?e[2]:void 0;for(f=r.length>3&&typeof f=="function"?(a--,f):void 0,i&&Pr(e[0],e[1],i)&&(f=a<3?void 0:f,a=1),t=Object(t);++o<a;){var n=e[o];n&&r(t,n,o,f)}return t})}var tt=ys;var hs=tt(function(r,t,e,o){rt(r,t,e,o)}),bs=hs;var Ts="[object Map]",Ss="[object Set]",As=Object.prototype,vs=As.hasOwnProperty;function Os(r){if(r==null)return!0;if(P(r)&&(d(r)||typeof r=="string"||typeof r.splice=="function"||j(r)||V(r)||M(r)))return!r.length;var t=E(r);if(t==Ts||t==Ss)return!r.size;if(Y(r))return!Rr(r).length;for(var e in r)if(vs.call(r,e))return!1;return!0}var _s=Os;var ws="__lodash_hash_undefined__";function Cs(r){return this.__data__.set(r,ws),this}var eo=Cs;function Ps(r){return this.__data__.has(r)}var oo=Ps;function et(r){var t=-1,e=r==null?0:r.length;for(this.__data__=new rr;++t<e;)this.add(r[t])}et.prototype.add=et.prototype.push=eo;et.prototype.has=oo;var ao=et;function Is(r,t){for(var e=-1,o=r==null?0:r.length;++e<o;)if(t(r[e],e,r))return!0;return!1}var fo=Is;function Ms(r,t){return r.has(t)}var io=Ms;var js=1,Es=2;function Ls(r,t,e,o,a,f){var i=e&js,n=r.length,p=t.length;if(n!=p&&!(i&&p>n))return!1;var s=f.get(r),u=f.get(t);if(s&&u)return s==t&&u==r;var m=-1,l=!0,b=e&Es?new ao:void 0;for(f.set(r,t),f.set(t,r);++m<n;){var A=r[m],_=t[m];if(o)var T=i?o(_,A,m,t,r,f):o(A,_,m,r,t,f);if(T!==void 0){if(T)continue;l=!1;break}if(b){if(!fo(t,function(S,L){if(!io(b,L)&&(A===S||a(A,S,e,o,f)))return b.push(L)})){l=!1;break}}else if(!(A===_||a(A,_,e,o,f))){l=!1;break}}return f.delete(r),f.delete(t),l}var ot=Ls;function Fs(r){var t=-1,e=Array(r.size);return r.forEach(function(o,a){e[++t]=[a,o]}),e}var no=Fs;function Ds(r){var t=-1,e=Array(r.size);return r.forEach(function(o){e[++t]=o}),e}var po=Ds;var Bs=1,Rs=2,Ns="[object Boolean]",Gs="[object Date]",Us="[object Error]",Ws="[object Map]",Ks="[object Number]",qs="[object RegExp]",Hs="[object Set]",zs="[object String]",$s="[object Symbol]",Xs="[object ArrayBuffer]",Js="[object DataView]",so=O?O.prototype:void 0,dt=so?so.valueOf:void 0;function Vs(r,t,e,o,a,f,i){switch(e){case Js:if(r.byteLength!=t.byteLength||r.byteOffset!=t.byteOffset)return!1;r=r.buffer,t=t.buffer;case Xs:return!(r.byteLength!=t.byteLength||!f(new xr(r),new xr(t)));case Ns:case Gs:case Ks:return F(+r,+t);case Us:return r.name==t.name&&r.message==t.message;case qs:case zs:return r==t+"";case Ws:var n=no;case Hs:var p=o&Bs;if(n||(n=po),r.size!=t.size&&!p)return!1;var s=i.get(r);if(s)return s==t;o|=Rs,i.set(r,t);var u=ot(n(r),n(t),o,a,f,i);return i.delete(r),u;case $s:if(dt)return dt.call(r)==dt.call(t)}return!1}var mo=Vs;var Ys=1,Zs=Object.prototype,Qs=Zs.hasOwnProperty;function ks(r,t,e,o,a,f){var i=e&Ys,n=_r(r),p=n.length,s=_r(t),u=s.length;if(p!=u&&!i)return!1;for(var m=p;m--;){var l=n[m];if(!(i?l in t:Qs.call(t,l)))return!1}var b=f.get(r),A=f.get(t);if(b&&A)return b==t&&A==r;var _=!0;f.set(r,t),f.set(t,r);for(var T=i;++m<p;){l=n[m];var S=r[l],L=t[l];if(o)var Ir=i?o(L,S,l,t,r,f):o(S,L,l,r,t,f);if(!(Ir===void 0?S===L||a(S,L,e,o,f):Ir)){_=!1;break}T||(T=l=="constructor")}if(_&&!T){var er=r.constructor,K=t.constructor;er!=K&&"constructor"in r&&"constructor"in t&&!(typeof er=="function"&&er instanceof er&&typeof K=="function"&&K instanceof K)&&(_=!1)}return f.delete(r),f.delete(t),_}var uo=ks;var rm=1,lo="[object Arguments]",co="[object Array]",at="[object Object]",tm=Object.prototype,xo=tm.hasOwnProperty;function em(r,t,e,o,a,f){var i=d(r),n=d(t),p=i?co:E(r),s=n?co:E(t);p=p==lo?at:p,s=s==lo?at:s;var u=p==at,m=s==at,l=p==s;if(l&&j(r)){if(!j(t))return!1;i=!0,u=!1}if(l&&!u)return f||(f=new D),i||V(r)?ot(r,t,e,o,a,f):mo(r,t,p,e,o,a,f);if(!(e&rm)){var b=u&&xo.call(r,"__wrapped__"),A=m&&xo.call(t,"__wrapped__");if(b||A){var _=b?r.value():r,T=A?t.value():t;return f||(f=new D),a(_,T,e,o,f)}}return l?(f||(f=new D),uo(r,t,e,o,a,f)):!1}var go=em;function yo(r,t,e,o,a){return r===t?!0:r==null||t==null||!h(r)&&!h(t)?r!==r&&t!==t:go(r,t,e,o,yo,a)}var hr=yo;function om(r,t){return hr(r,t)}var am=om;var fm=tt(function(r,t,e){rt(r,t,e)}),im=fm;function nm(r,t){for(var e=-1,o=r==null?0:r.length,a=Array(o);++e<o;)a[e]=t(r[e],e,r);return a}var Q=nm;var pm=1/0,ho=O?O.prototype:void 0,bo=ho?ho.toString:void 0;function To(r){if(typeof r=="string")return r;if(d(r))return Q(r,To)+"";if(I(r))return bo?bo.call(r):"";var t=r+"";return t=="0"&&1/r==-pm?"-0":t}var So=To;var sm=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mm=/^\w*$/;function um(r,t){if(d(r))return!1;var e=typeof r;return e=="number"||e=="symbol"||e=="boolean"||r==null||I(r)?!0:mm.test(r)||!sm.test(r)||t!=null&&r in Object(t)}var br=um;var lm="Expected a function";function ct(r,t){if(typeof r!="function"||t!=null&&typeof t!="function")throw new TypeError(lm);var e=function(){var o=arguments,a=t?t.apply(this,o):o[0],f=e.cache;if(f.has(a))return f.get(a);var i=r.apply(this,o);return e.cache=f.set(a,i)||f,i};return e.cache=new(ct.Cache||rr),e}ct.Cache=rr;var xt=ct;var dm=500;function cm(r){var t=xt(r,function(o){return e.size===dm&&e.clear(),o}),e=t.cache;return t}var Ao=cm;var xm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gm=/\\(\\)?/g,ym=Ao(function(r){var t=[];return r.charCodeAt(0)===46&&t.push(""),r.replace(xm,function(e,o,a,f){t.push(a?f.replace(gm,"$1"):o||e)}),t}),vo=ym;function hm(r){return r==null?"":So(r)}var Tr=hm;function bm(r,t){return d(r)?r:br(r,t)?[r]:vo(Tr(r))}var ft=bm;var Tm=1/0;function Sm(r){if(typeof r=="string"||I(r))return r;var t=r+"";return t=="0"&&1/r==-Tm?"-0":t}var k=Sm;function Am(r,t){t=ft(t,r);for(var e=0,o=t.length;r!=null&&e<o;)r=r[k(t[e++])];return e&&e==o?r:void 0}var Sr=Am;function vm(r,t,e){var o=r==null?void 0:Sr(r,t);return o===void 0?e:o}var Oo=vm;var _o=O?O.isConcatSpreadable:void 0;function Om(r){return d(r)||M(r)||!!(_o&&r&&r[_o])}var wo=Om;function Co(r,t,e,o,a){var f=-1,i=r.length;for(e||(e=wo),a||(a=[]);++f<i;){var n=r[f];t>0&&e(n)?t>1?Co(n,t-1,e,o,a):dr(a,n):o||(a[a.length]=n)}return a}var Po=Co;function _m(r,t,e){var o=-1,a=r.length;t<0&&(t=-t>a?0:a+t),e=e>a?a:e,e<0&&(e+=a),a=t>e?0:e-t>>>0,t>>>=0;for(var f=Array(a);++o<a;)f[o]=r[o+t];return f}var Io=_m;function wm(r,t,e){var o=r.length;return e=e===void 0?o:e,!t&&e>=o?r:Io(r,t,e)}var Mo=wm;var Cm="\\ud800-\\udfff",Pm="\\u0300-\\u036f",Im="\\ufe20-\\ufe2f",Mm="\\u20d0-\\u20ff",jm=Pm+Im+Mm,Em="\\ufe0e\\ufe0f",Lm="\\u200d",Fm=RegExp("["+Lm+Cm+jm+Em+"]");function Dm(r){return Fm.test(r)}var it=Dm;function Bm(r){return r.split("")}var jo=Bm;var Eo="\\ud800-\\udfff",Rm="\\u0300-\\u036f",Nm="\\ufe20-\\ufe2f",Gm="\\u20d0-\\u20ff",Um=Rm+Nm+Gm,Wm="\\ufe0e\\ufe0f",Km="["+Eo+"]",gt="["+Um+"]",yt="\\ud83c[\\udffb-\\udfff]",qm="(?:"+gt+"|"+yt+")",Lo="[^"+Eo+"]",Fo="(?:\\ud83c[\\udde6-\\uddff]){2}",Do="[\\ud800-\\udbff][\\udc00-\\udfff]",Hm="\\u200d",Bo=qm+"?",Ro="["+Wm+"]?",zm="(?:"+Hm+"(?:"+[Lo,Fo,Do].join("|")+")"+Ro+Bo+")*",$m=Ro+Bo+zm,Xm="(?:"+[Lo+gt+"?",gt,Fo,Do,Km].join("|")+")",Jm=RegExp(yt+"(?="+yt+")|"+Xm+$m,"g");function Vm(r){return r.match(Jm)||[]}var No=Vm;function Ym(r){return it(r)?No(r):jo(r)}var Go=Ym;function Zm(r){return function(t){t=Tr(t);var e=it(t)?Go(t):void 0,o=e?e[0]:t.charAt(0),a=e?Mo(e,1).join(""):t.slice(1);return o[r]()+a}}var Uo=Zm;var Qm=Uo("toUpperCase"),Wo=Qm;function km(r){return Wo(Tr(r).toLowerCase())}var ru=km;var tu=1,eu=2;function ou(r,t,e,o){var a=e.length,f=a,i=!o;if(r==null)return!f;for(r=Object(r);a--;){var n=e[a];if(i&&n[2]?n[1]!==r[n[0]]:!(n[0]in r))return!1}for(;++a<f;){n=e[a];var p=n[0],s=r[p],u=n[1];if(i&&n[2]){if(s===void 0&&!(p in r))return!1}else{var m=new D;if(o)var l=o(s,u,p,r,t,m);if(!(l===void 0?hr(u,s,tu|eu,o,m):l))return!1}}return!0}var Ko=ou;function au(r){return r===r&&!g(r)}var nt=au;function fu(r){for(var t=R(r),e=t.length;e--;){var o=t[e],a=r[o];t[e]=[o,a,nt(a)]}return t}var qo=fu;function iu(r,t){return function(e){return e==null?!1:e[r]===t&&(t!==void 0||r in Object(e))}}var pt=iu;function nu(r){var t=qo(r);return t.length==1&&t[0][2]?pt(t[0][0],t[0][1]):function(e){return e===r||Ko(e,r,t)}}var Ho=nu;function pu(r,t){return r!=null&&t in Object(r)}var zo=pu;function su(r,t,e){t=ft(t,r);for(var o=-1,a=t.length,f=!1;++o<a;){var i=k(t[o]);if(!(f=r!=null&&e(r,i)))break;r=r[i]}return f||++o!=a?f:(a=r==null?0:r.length,!!a&&ur(a)&&mr(i,a)&&(d(r)||M(r)))}var $o=su;function mu(r,t){return r!=null&&$o(r,t,zo)}var Xo=mu;var uu=1,lu=2;function du(r,t){return br(r)&&nt(t)?pt(k(r),t):function(e){var o=Oo(e,r);return o===void 0&&o===t?Xo(e,r):hr(t,o,uu|lu)}}var Jo=du;function cu(r){return function(t){return t?.[r]}}var st=cu;function xu(r){return function(t){return Sr(t,r)}}var Vo=xu;function gu(r){return br(r)?st(k(r)):Vo(r)}var Yo=gu;function yu(r){return typeof r=="function"?r:r==null?Z:typeof r=="object"?d(r)?Jo(r[0],r[1]):Ho(r):Yo(r)}var Zo=yu;function hu(r,t){return r&&Qr(r,t,R)}var Qo=hu;function bu(r,t){return function(e,o){if(e==null)return e;if(!P(e))return r(e,o);for(var a=e.length,f=t?a:-1,i=Object(e);(t?f--:++f<a)&&o(i[f],f,i)!==!1;);return e}}var ko=bu;var Tu=ko(Qo),ra=Tu;function Su(r,t){var e=-1,o=P(r)?Array(r.length):[];return ra(r,function(a,f,i){o[++e]=t(a,f,i)}),o}var ta=Su;var Au="[object Number]";function vu(r){return typeof r=="number"||h(r)&&w(r)==Au}var Ou=vu;function _u(r){return r==null}var wu=_u;function Cu(r){return r===null}var Pu=Cu;function Iu(r,t){var e=r.length;for(r.sort(t);e--;)r[e]=r[e].value;return r}var ea=Iu;function Mu(r,t){if(r!==t){var e=r!==void 0,o=r===null,a=r===r,f=I(r),i=t!==void 0,n=t===null,p=t===t,s=I(t);if(!n&&!s&&!f&&r>t||f&&i&&p&&!n&&!s||o&&i&&p||!e&&p||!a)return 1;if(!o&&!f&&!s&&r<t||s&&e&&a&&!o&&!f||n&&e&&a||!i&&a||!p)return-1}return 0}var oa=Mu;function ju(r,t,e){for(var o=-1,a=r.criteria,f=t.criteria,i=a.length,n=e.length;++o<i;){var p=oa(a[o],f[o]);if(p){if(o>=n)return p;var s=e[o];return p*(s=="desc"?-1:1)}}return r.index-t.index}var aa=ju;function Eu(r,t,e){t.length?t=Q(t,function(f){return d(f)?function(i){return Sr(i,f.length===1?f[0]:f)}:f}):t=[Z];var o=-1;t=Q(t,J(Zo));var a=ta(r,function(f,i,n){var p=Q(t,function(s){return s(f)});return{criteria:p,index:++o,value:f}});return ea(a,function(f,i){return aa(f,i,e)})}var fa=Eu;var Lu=yr(function(r,t){if(r==null)return[];var e=t.length;return e>1&&Pr(r,t[0],t[1])?t=[]:e>2&&Pr(t[0],t[1],t[2])&&(t=[t[0]]),fa(r,Po(t,1),[])}),Fu=Lu;var Du=Math.max;function Bu(r){if(!(r&&r.length))return[];var t=0;return r=Ur(r,function(e){if(kr(e))return t=Du(e.length,t),!0}),Fr(t,function(e){return Q(r,st(e))})}var ia=Bu;var Ru=yr(ia),Nu=Ru;var RA={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},NA={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},GA={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},UA={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},WA={Left:"left",Right:"right",Center:"center",Justify:"justify"},KA={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},qA={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},HA={Italic:"italic",Normal:"normal",Oblique:"oblique"},zA={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},$A={LineThrough:"line-through",Underline:"underline",None:"none"},XA={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},JA={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};export{d as a,g as b,jr as c,xt as d,ru as e,Gp as f,zp as g,bs as h,_s as i,am as j,Ou as k,wu as l,Pu as m,im as n,Fu as o,Nu as p,RA as q,NA as r,GA as s,UA as t,WA as u,KA as v,qA as w,HA as x,zA as y,$A as z,XA as A,JA as B};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{a as C}from"./26CEMPJQ.js";import e from"./4O4ROBLA.js";import"./YPKHBQXA.js";import{a as I}from"./EQ7ZCKDE.js";import d from"./SVQ4R6WJ.js";import{d as x,f as l}from"./7P4IBWJL.js";import c from"./YITCW2WB.js";import{a as E,b as L,f as a,h as M,i as f,r as D,w as u,x as G,y as j,z as O}from"./G3J7PGIE.js";import"./FZGGAYGV.js";import{g as y,h as z,j as m,k as h,m as S,n as T,q as p}from"./JGXYK2XS.js";import{f as i,g as r,h as X}from"./QCQKZSWJ.js";import{a as n}from"./7VLZEZW3.js";import{A as g,D as N,F as w,g as A,h as b,x as B,y as V}from"./H7X2PNIT.js";import"./V6YYT4N6.js";export default $arcgis.t(([,,,,,,,,,{e:R}])=>{var P={type:u.TS,color:[1,1,1,255],font:{family:"Tahoma",size:12,decoration:O.None,style:G.Normal,weight:j.Normal}},k={type:u.SLS,color:[1,1,1,255],style:D.Solid,width:2},v={element:"chart-element",elementList:"element-list",sectionLabel:"section-label"},W=A`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`,F=class extends V{constructor(){super(...arguments),this._messages=I(),this.formatPopover=null,this.selectableElements=[],this.textProperties=[],this.symbolProperties=[],this.symbolPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedTexts=[],this.selectedBackground=[],this.selectedSymbols.includes(s))this.selectedSymbols=[],this.updateSelectedElement(this.selectedSymbols);else{let o=this.getFormatValue(s);this.selectedSymbols=[s],this.initSelectedSymbols(x(o)?o:k)}this.setupFormatPopover()},this.textPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedBackground=[],e.shiftKey){this.selectedTexts=[];let o=this.textProperties.indexOf(this.lastSelectedText??s),c=this.textProperties.indexOf(s);this.textProperties.forEach((d,$)=>{$>=Math.min(o,c)&&$<=Math.max(o,c)&&this.selectedTexts.push(d)}),this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover()}else if(e.ctrlKey)this.selectedTexts.includes(s)?(this.selectedTexts=this.selectedTexts.filter(o=>o!==s),this.updateSelectedElement(this.selectedTexts)):(this.selectedTexts=[...this.selectedTexts,s],this.updateSelectedElement(this.selectedTexts)),this.setupFormatPopover();else if(this.selectedTexts.includes(s))this.selectedTexts=[],this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover();else{let o=this.getFormatValue(s);this.selectedTexts=[s],this.initSelectedTexts(l(o)?o:P),this.setupFormatPopover()}this.lastSelectedText=s},this.backgroundChange=t=>{let e=t;e.stopImmediatePropagation();let s;e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground.includes(s)?(this.selectedBackground=[],this.selectedElement={}):(this.selectedBackground=[s],this.selectedElement=f(this.getFormatValue(s))?void 0:this.getFormatValue(s)),this.setupFormatPopover()},this.updateSymbolProps=t=>{let e=t.detail;this.selectedSymbols.forEach(s=>{this.setFormatValue(s,e)}),this.selectedElement=a(t.target.selectedElement)},this.updateBackground=t=>{this.setFormatValue(X.Background,t.detail),this.selectedElement=t.detail},this.updateTextProps=t=>{let{font:e,color:s}=t.detail;this.selectedTexts.forEach(o=>{let c=this.getFormatValue(o),d=l(c)?c:void 0;this.setFormatValue(o,{...d,type:u.TS,font:{...d?.font,...e},color:s??d?.color})}),this.selectedElement=a(t.target.selectedElement)},this.onModelConfigChange=()=>{this.requestUpdate()},this.formatPopoverClose=t=>{this.formatPopover===t?.target&&(this.selectedTexts=[],this.selectedSymbols=[],this.selectedBackground=[],this.selectedElement={},this.removeFormatPopover())},this.mergeFormatValues=(t,e)=>{let s=!1;E(t)&&E(e)||L(t)&&L(e)?s=!0:s=t===e;let o=typeof t=="number"||typeof e=="number"?Number.NaN:"";return s?void 0:o},this.updateSelectableElements=t=>{t&&!this.selectableElements.includes(t)&&this.selectableElements.push(t)},this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground=[]}static{this.properties={selectedSymbols:16,selectedTexts:16,selectedBackground:16,selectedElement:16,messageOverrides:0,model:0}}static{this.styles=W}load(){this.modelChange(this.model)}willUpdate(t){t.has("model")&&this.modelChange(this.model,t.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removeFormatPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(t,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),t?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}correctTextElementSelection(){for(let t of this.selectableElements){let e=this.selectedTexts.includes(t.value)||this.selectedSymbols.includes(t.value)||this.selectedBackground.includes(t.value);t.selected=e}}updateSelectedElement(t,e){if(this.selectedElement=void 0,e===void 0){let s=a(this.getFormatValue(t[0]));this.selectedElement=t?.reduce((o,c)=>{let d=this.getFormatValue(c);return M(o,d,this.mergeFormatValues)},s)}else{let s=a(e);f(e)&&(this.selectedSymbols?.length>0&&(s=a(k)),this.selectedTexts?.length>0&&(s=a(P))),this.selectedElement=s}}initSelectedTexts(t){let e=a(t);f(t)&&(e=a(P)),this.selectedElement=e}initSelectedSymbols(t){let e=a(t);f(t)&&(e=a(k)),this.selectedElement=e}setupFormatPopover(){this.formatPopover=C(this.formatPopover);let t=this.selectedElement;t?.type===u.TS||t?.type===u.SLS||Array.isArray(this.selectedElement)?(this.formatPopover=N(b`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`),this.formatPopover!==null&&!document.body.contains(this.formatPopover)&&document.body.appendChild(this.formatPopover)):this.removeFormatPopover()}removeFormatPopover(){this.formatPopover!==null&&(this.formatPopover.open=!1,this.formatPopover=C(this.formatPopover))}getFormatValue(t){switch(t){case i.Title:return this.model.titleSymbol;case i.Description:return this.model.descriptionSymbol;case i.XAxisTitle:return m(this.model)?this.model.xAxisTitleSymbol:void 0;case i.YAxisTitle:return h(this.model)?this.model.getAxisTitleSymbol(1):void 0;case i.AxisLabels:return m(this.model)?this.model.axisLabelsSymbol:void 0;case i.GuideLabels:return T(this.model)?this.model.guideLabelsSymbol:void 0;case i.LegendText:return p(this.model)?this.model.legendTextSymbol:void 0;case i.LegendTitle:return p(this.model)?this.model.legendTitleSymbol:void 0;case i.DataLabels:return S(this.model)?this.model.dataLabelsSymbol:void 0;case r.AxisLines:return m(this.model)?this.model.axisLinesSymbol:void 0;case r.GridLines:return h(this.model)?this.model.getGridLinesSymbol():void 0;case r.LeaderLines:return y(this.model)?this.model.ticksSymbol:void 0;case i.Background:return this.model.backgroundColor;default:return}}setFormatValue(t,e){switch(t){case i.Title:l(e)&&(this.model.titleSymbol=e);break;case i.Description:l(e)&&(this.model.descriptionSymbol=e);break;case i.XAxisTitle:m(this.model)&&l(e)&&(this.model.xAxisTitleSymbol=e);break;case i.YAxisTitle:h(this.model)&&l(e)&&this.model.setAxisTitleSymbol(e,1);break;case i.AxisLabels:m(this.model)&&l(e)&&(this.model.axisLabelsSymbol=e);break;case i.GuideLabels:T(this.model)&&l(e)&&(this.model.guideLabelsSymbol=e);break;case i.LegendText:p(this.model)&&l(e)&&(this.model.legendTextSymbol=e);break;case i.LegendTitle:p(this.model)&&l(e)&&(this.model.legendTitleSymbol=e);break;case i.DataLabels:S(this.model)&&l(e)&&(this.model.dataLabelsSymbol=e);break;case r.AxisLines:m(this.model)&&x(e)&&(this.model.axisLinesSymbol=e);break;case r.GridLines:if(h(this.model)&&x(e)){let s=this.model.chartType,o=[];switch(s){case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.HistogramSeries:case n.BoxPlotSeries:case n.RadarSeries:{o=[1];break}case n.ScatterSeries:{o=[0,1];break}}this.model.setGridLinesSymbol(e,o)}break;case r.LeaderLines:y(this.model)&&x(e)&&(this.model.ticksSymbol=e);break;case i.Background:Array.isArray(e)&&(this.model.backgroundColor=e);break}}renderFormatElements(){this.textProperties=[i.Title,...m(this.model)?[i.XAxisTitle]:[],...h(this.model)?[i.YAxisTitle]:[],...p(this.model)?[i.LegendTitle]:[],i.Description,...p(this.model)?[i.LegendText]:[],...m(this.model)?[i.AxisLabels]:[],...T(this.model)?[i.GuideLabels]:[],...S(this.model)?[i.DataLabels]:[]],z(this.model)&&(this.textProperties=this.textProperties.filter(s=>s!==i.DataLabels)),this.symbolProperties=[i.Background,...m(this.model)?[r.AxisLines]:[],...h(this.model)?[r.GridLines]:[],...y(this.model)?[r.LeaderLines]:[]];let t=this.textProperties.map(s=>this.renderTextElement(s,this.textPropertyChange)),e=this.symbolProperties.map(s=>s===i.Background?this.renderTextElement(s,this.backgroundChange):this.renderTextElement(s,this.symbolPropertyChange));return{textElements:t,symbolElements:e}}renderTextElement(t,e){let s=R(t),o=this.getFormatValue(t),c=typeof o=="string"?o:"",d=this.selectedTexts.includes(t)||this.selectedSymbols.includes(t)||this.selectedBackground.includes(t);return b`<calcite-list-item class=${g(v.element)} .label=${this._messages[t]} .description=${c} .value=${t} .selected=${d} @click=${e} ${B(this.updateSelectableElements)}>${s!==void 0?b`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>`:null}</calcite-list-item>`}render(){let{textElements:t,symbolElements:e}=this.renderFormatElements();return b`<div class=${g(v.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${g(v.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`}};w("arcgis-charts-config-format",F);return F},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{a as U,c as M}from"./3DA7RNJY.js";import{a as j}from"./AGVHBT7L.js";import{a as A}from"./N3XXFNB3.js";import{a as K}from"./26CEMPJQ.js";import k from"./4O4ROBLA.js";import{g as r,m as b}from"./YPKHBQXA.js";import{a as w}from"./EQ7ZCKDE.js";import i from"./Q3OSKDAI.js";import"./K2D64HXF.js";import f from"./SVQ4R6WJ.js";import e from"./YITCW2WB.js";import{j as $,q as v}from"./G3J7PGIE.js";import"./FZGGAYGV.js";import{a as d}from"./QCQKZSWJ.js";import{a as u,b as h,k as S,n as p}from"./7VLZEZW3.js";import{A as a,D as T,F as P,g as L,h as o,j as O,l as g,w as c,x as m,y as E}from"./H7X2PNIT.js";import"./V6YYT4N6.js";export default $arcgis.t(([,,,,,,,{Ga:I,Pa:y,Qa:N,Wa:z,hc:x,k:F,nb:B,xa:D,ya:_},,V,{a:R}])=>{var l={label:"label",fieldList:"field-list",fab:"fab",disabledLabel:"disabled-label",timeBinningHeader:"time-binning-header",linkContainer:"link-container",list:"list",customSortButtons:"custom-sort-buttons",dimText:"dim-text",intervalContainer:"interval-container"},W=L`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.interval-container{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor)}`,k=class extends E{constructor(){super(...arguments),this._messages=w(),this.commonStrings=w({name:"common",blocking:!0}),this.barChartPopover=null,this.sortOrderElement=c(),this.aggregationElement=c(),this.categoryElement=c(),this.numericFieldsElement=c(),this.splitByFieldElement=c(),this.enableTimeBinningSwitch=c(),this.intervalAlignmentElement=c(),this.intervalElement=c(),this.originalCustomSortLabels=[],this.isCustomSortDisabled=!1,this.onBarChartDataChange=async e=>{try{if(e.detail!==null&&e.detail?.value!==void 0){let{contentKind:i}=e.detail,t=[...e.detail.value];switch(M(U),i){case r.aggregation:this.model.aggregationType=t[0]!==h.NoAggregation?t[0]:h.NoAggregation;break;case r.category:{let s=t[0]?.trim()||"";if(this.model.xAxisField=s,this.model.getSortOrder()===d.customSort){let n=await this.updateCustomSortProps();this.model.orderByList=n,this.sortOrderResetCounter+=1}break}case r.numericFields:if(this.model.numericFields=t,(this.model.numericFields??[]).length>0&&this.model.aggregationType===h.Count&&this.model.numericFields[0]!==x(this.layerFieldsInfo)&&(this.model.aggregationType=h.Sum),this.model.getSortOrder()===d.customSort){let s=await this.updateCustomSortProps();this.model.orderByList=s,this.sortOrderResetCounter+=1}break;case r.splitByField:{let s=t[0]?.trim()||"";this.model.splitByField=s,this.model.colorMatch=!0;break}case r.sortOrder:{let s=t[0];if(s===d.customSort){let n=await this.updateCustomSortProps();this.model.setSortOrder(s,n)}else this.model.setSortOrder(s);this.sortOrderResetCounter+=1;break}case r.interval:this.model.temporalBinningSize=t[0]?.intervalSize,this.model.temporalBinningUnit=t[0]?.intervalUnits,this.arcgisChartsConfigCustomizedTimeInterval.emit();break;case r.intervalAlignment:this.model.timeAggregationType=t[0]??"";break;default:break}}}catch(i){throw this.arcgisChartsConfigDataChangeError.emit({error:i,model:this.model}),i}this.removeBarChartDataPopover(),this.requestUpdate()},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverClose=e=>{this.barChartPopover===e?.target&&this.removeBarChartDataPopover()},this.selectedCustomSortItemId="",this.sortOrderResetCounter=0,this.layerFieldsInfo=[],this.arcgisChartsConfigBarChartDataNumericFieldValidate=g(),this.arcgisChartsConfigDataChangeError=g(),this.arcgisChartsConfigResetTimeInterval=g(),this.arcgisChartsConfigCustomizedTimeInterval=g()}static{this.properties={selectedCustomSortItemId:16,aggregationLabel:16,timeAggregationLabel:16,disableSplitBy:16,sortOrderResetCounter:16,messageOverrides:0,model:0,layerFieldsInfo:0,open:7}}static{this.styles=W}load(){this.modelChange(this.model),this.onModelConfigChange(),this.currentDataFilter=this.model.getDataFilters(),this.updateCustomSortProps()}async willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),this.aggregationLabel=D(this.model.aggregationType,this.commonStrings),$(this.model.getDataFilters(),this.currentDataFilter)||(this.model.getSortOrder()===d.customSort&&await this.updateCustomSortProps(),this.currentDataFilter=this.model.getDataFilters());let i=this.model.timeAggregationType;i!==void 0&&(this.timeAggregationLabel=_(i,this.commonStrings)),this.disableSplitBy=this.model.numericFields.length>1||this.model.xAxisField===""||this.model.xAxisField===F}disconnectedCallback(){super.disconnectedCallback(),this.removeBarChartDataPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,i){i?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:i,oldIndex:t}=e.detail;this.model.moveCustomSortValuesInOrderByList(t,i)}}onCustomSortItemSelected(e){let{id:i}=e.target;this.selectedCustomSortItemId=this.selectedCustomSortItemId===i?"":i}onCustomSortItemMoved(e){let{id:i}=e.target,t=this.model.orderByList.length,s=this.model.orderByList.indexOf(this.selectedCustomSortItemId);i===b.Up?t=s-1:i===b.Down&&(t=s+1),s>=0&&t>=0&&t<this.model.orderByList.length&&(this.model.moveCustomSortValuesInOrderByList(s,t),this.sortOrderResetCounter+=1)}async onEnableTimeBinningChange(e){let i=e.target.checked;this.model.binTemporalData=i,this.requestUpdate()}buildNumericFieldItem(e){return A(e,o`<calcite-list-item .label=${y(this.layerFieldsInfo,e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`)}resetTimeIntervalOriginal(e){this.popoverClose(e),this.model.resetTimeInterval!==void 0&&(this.model.resetTimeInterval(),this.arcgisChartsConfigResetTimeInterval.emit())}buildCustomSortListItems(){return j(this.model.orderByList,e=>e,e=>{let i=N(this.layerFieldsInfo,e),t=this.model.nullCategory!==void 0&&e.trim()===V.nullCategory?.text?.trim();return o`<calcite-list-item id=${e??O} .label=${e} .closed=${t} .description=${i} .value=${e} .selected=${this.selectedCustomSortItemId===e} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`})}buildCustomSortList(){return A(this.sortOrderResetCounter,o`<calcite-list label class=${a(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildCustomSortListItems()}</calcite-list>`)}onAggregationSelect(e){this.contentKind=r.aggregation,this.setupPopover(e)}onSortOrderSelect(e){this.contentKind=r.sortOrder,this.setupPopover(e)}onCategorySelect(e){this.contentKind=r.category,this.setupPopover(e)}onSplitBySelect(e){this.splitByFieldElement.value&&!this.splitByFieldElement.value.disabled&&(this.contentKind=r.splitByField,this.setupPopover(e))}onAddNumericFields(e){this.contentKind=r.numericFields,this.setupPopover(e)}async onRemoveNumericField(e){let i=e.target.value;if(this.model.numericFields=this.model.numericFields.filter(t=>t!==i),this.model.getSortOrder()===d.customSort){let t=await this.updateCustomSortProps();this.model.orderByList=t,this.sortOrderResetCounter+=1}}onIntervalAlignmentSelect(e){this.intervalAlignmentElement.value&&!this.intervalAlignmentElement.value.disabled&&(this.contentKind=r.intervalAlignment,this.setupPopover(e))}onIntervalSelect(e){this.intervalElement.value&&!this.intervalElement.value.disabled&&(this.contentKind=r.interval,this.setupPopover(e))}getCorrectedSplitByValue(){return this.model.splitByField===""||(this.model.numericFields??[]).length>1?"":y(this.layerFieldsInfo,this.model.splitByField)}getCorrectedCategoryValue(){return this.model.xAxisField===F||this.model.xAxisField.trim()===""?"":y(this.layerFieldsInfo,this.model.xAxisField)}onShowDataLabelsChange(e){this.model.dataLabelsVisibility=e.target.checked}onTreatNullAsCategoryChange(e){this.model.fetchNULLValues=e.target.checked}async updateCustomSortProps(){let e=await this.model.getCustomSortValues();this.originalCustomSortLabels=[...e];let i=e.length>R.customSortLimit;return i&&(this.sortOrderElement.value&&(this.sortOrderElement.value.label=this._messages.xAxisAsc),this.model.setSortOrder(d.xAxisAsc)),this.isCustomSortDisabled=i,e}setupPopover(e){e.stopImmediatePropagation(),this.removeBarChartDataPopover();let i={size:this.model.temporalBinningSize??1,unit:this.model.temporalBinningUnit??S.Second},t,s,n,C=!1,f=!1;switch(this.contentKind){case r.aggregation:t=this.aggregationElement.value,s=this._messages.aggregationHeader,C=B(this.model.config.series??[])===I.BarAndLineFromFields,n=this.model.aggregationType;break;case r.category:t=this.categoryElement.value,s=this._messages.categoryHeader,n=this.model.xAxisField;break;case r.numericFields:t=this.numericFieldsElement.value,s=this._messages.numericFieldsHeader,n=this.model.numericFields;break;case r.splitByField:t=this.splitByFieldElement.value,s=this._messages.splitByFieldHeader,n=this.model.splitByField;break;case r.sortOrder:t=this.sortOrderElement.value,s=this._messages.sortOrderHeader,n=this.model.getSortOrder(),f=this.isCustomSortDisabled;break;case r.interval:t=this.intervalElement.value,s=this._messages.editInterval,n=i;break;case r.intervalAlignment:t=this.intervalAlignmentElement.value,s=this._messages.intervalAlignment,n=this.model.timeAggregationType??"";break}this.barChartPopover=T(o`<arcgis-charts-config-bar-chart-popover .headingTitle=${s} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${n} .isCustomSortDisabled=${f} .isNoAggregationDisabled=${C} @arcgisChartsConfigBarChartDataPopoverChange=${this.onBarChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-bar-chart-popover>`),!document.body.contains(this.barChartPopover)&&this.barChartPopover!==null&&document.body.appendChild(this.barChartPopover)}removeBarChartDataPopover(){this.barChartPopover!==null&&(this.barChartPopover.open=!1,this.barChartPopover=K(this.barChartPopover))}resetToOriginalCustomSortLabels(){this.selectedCustomSortItemId="",this.model.orderByList=[...this.originalCustomSortLabels],this.sortOrderResetCounter+=1}onTrimIncompleteIntervalChange(e){this.model.trimIncompleteTimeInterval=e.target.checked}onNullPolicyChange(e){this.model.nullPolicy=e.target.selectedItem.value}shouldShowTimeBinning(){let e=this.layerFieldsInfo.find(s=>s.name===this.model.xAxisField),i=e?.type===v.Date||e?.type===v.DateOnly||e?.type===v.TimestampOffset,t=this.model.aggregationType!==h.NoAggregation;return i&&t}renderSorting(){return o`<arcgis-charts-config-field-select .disabled=${this.model.getAxisValueFormat(0)?.type===u.DateAxisFormat} .label=${this.model.getAxisValueFormat(0)?.type===u.DateAxisFormat?this._messages.xAxisAsc:this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${m(this.sortOrderElement)}></arcgis-charts-config-field-select>`}renderAggregation(){return o`<arcgis-charts-config-field-select .label=${this.model.aggregationType===h.NoAggregation?this._messages.noAggregation:this.aggregationLabel} @click=${this.onAggregationSelect} ${m(this.aggregationElement)}></arcgis-charts-config-field-select>`}renderCategory(){let e=this.getCorrectedCategoryValue();return o`<arcgis-charts-config-field-select .label=${e} @click=${this.onCategorySelect} ${m(this.categoryElement)}></arcgis-charts-config-field-select>`}renderSplitBy(){let e=this.getCorrectedSplitByValue();return o`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${m(this.splitByFieldElement)}></arcgis-charts-config-field-select>`}renderNumericFields(e){let i=x(this.layerFieldsInfo),t=[];for(let s of e)s!==i&&t.push(this.buildNumericFieldItem(s));return o`<calcite-list label class=${a(l.fieldList)} ${m(this.numericFieldsElement)}>${t}</calcite-list>`}renderCustomSortUI(){let e=this.model.getSortOrder(),i=this.model.getAxisValueFormat(0)?.type,t=this.model.orderByList.indexOf(this.selectedCustomSortItemId);return i===u.CategoryAxisFormat&&e===d.customSort&&!this.isCustomSortDisabled?o`<calcite-label class=${a(l.label)}><div class=${a(l.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${t===0||t===-1||this.selectedCustomSortItemId.trim()===""} icon-start=arrow-bold-up id=${b.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${t===-1||t===this.model.orderByList.length-1||this.selectedCustomSortItemId.trim()===""} icon-start=arrow-bold-down id=${b.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${$(this.model.orderByList,this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${B(this.model.config.series??[])===I.BarAndLineFromFields?this._messages.values:this._messages.category}${this.buildCustomSortList()}</calcite-label>`:null}renderInterval(){let e=(this.model.temporalBinningSize??0)<=0,i=this.model.temporalBinningSize??"",t=z(this.model.temporalBinningUnit??S.Second,this._messages)??"";return[o`<calcite-list label selection-appearance=border class=${a(l.intervalContainer)}><calcite-list-item .value=${e?"":`${i} ${t}`} .label=${e?"":`${i} ${t}`} @click=${e?()=>{}:this.onIntervalSelect} ${m(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,o`<div class=${a(l.linkContainer)}><calcite-button appearance=transparent scale=s icon-end=reset @click=${this.resetTimeIntervalOriginal}>${this._messages.reset}</calcite-button></div>`]}renderIntervalAlignment(){return o`<arcgis-charts-config-field-select .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${m(this.intervalAlignmentElement)}></arcgis-charts-config-field-select>`}renderEmptyBins(){return o`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${p.Zero} .checked=${this.model.nullPolicy===p.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${p.Null} .checked=${this.model.nullPolicy===p.Null}></calcite-radio-button>${this._messages.treatAsNull}</calcite-label></calcite-radio-button-group>`}render(){let e=this.renderAggregation(),i=this.renderCategory(),t=this.renderSplitBy(),s=this.renderSorting(),n=this.renderNumericFields([...this.model.numericFields??[]]),C=this.renderCustomSortUI(),f=this.renderInterval(),H=this.renderIntervalAlignment(),q=this.renderEmptyBins();return o`<calcite-label class=${a(l.label)}>${this._messages.category}${i}</calcite-label><calcite-label class=${a(l.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${a(l.label)}>${this._messages.numericFields}${n}</calcite-label><div class=${a(l.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${a(l.label)}><span class=${a(this.disableSplitBy?l.dimText:"")}>${this._messages.splitBy}</span>${t}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${a(l.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${a(l.label)} layout=inline-space-between>${this._messages.enableTemporalBinning}<calcite-switch .checked=${this.model.binTemporalData} @calciteSwitchChange=${this.onEnableTimeBinningChange} ${m(this.enableTimeBinningSwitch)}></calcite-switch></calcite-label><div .hidden=${!this.model.binTemporalData||!this.shouldShowTimeBinning()}><calcite-label class=${a(l.label)}>${this._messages.interval}${f}</calcite-label><calcite-label class=${a(l.label)}>${this._messages.intervalAlignment}${H}</calcite-label><calcite-label class=${a(l.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label><calcite-label class=${a(l.label)}>${this._messages.emptyBins}${q}</calcite-label></div></div><calcite-label class=${a(l.label)} layout=inline-space-between>${this._messages.treatNullAsCategory}<calcite-switch .checked=${this.model.fetchNULLValues} @calciteSwitchChange=${this.onTreatNullAsCategoryChange}></calcite-switch></calcite-label><calcite-label class=${a(l.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${a(this.model.getAxisValueFormat(0)?.type===u.DateAxisFormat?l.disabledLabel:l.label)}>${this._messages.sortOrder}${s}</calcite-label>${C}`}};P("arcgis-charts-config-bar-chart-data",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",e,f,i,k)
@@ -1,6 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),Mt=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Mt.set(e,t))}return t}toString(){return this.cssText}},It=o=>new I(typeof o=="string"?o:o+"",void 0,yt),ge=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1],o[0]);return new I(e,o,yt)},kt=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},gt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return It(e)})(o):o;var{is:ve,defineProperty:Ee,getOwnPropertyDescriptor:$e,getOwnPropertyNames:be,getOwnPropertySymbols:_e,getPrototypeOf:Ae}=Object,tt=globalThis,jt=tt.trustedTypes,Ce=jt?jt.emptyScript:"",we=tt.reactiveElementPolyfillSupport,k=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?Ce:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},j=(o,t)=>!ve(o,t),Ht={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ht){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&Ee(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=$e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ht}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ae(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[...be(e),..._e(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(gt(r))}else t!==void 0&&e.push(gt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return kt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:X).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??j)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[k("elementProperties")]=new Map,b[k("finalized")]=new Map,we?.({ReactiveElement:b}),(tt.reactiveElementVersions??=[]).push("2.1.0");var Et=globalThis,et=Et.trustedTypes,zt=et?et.createPolicy("lit-html",{createHTML:o=>o}):void 0,$t="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+_,Oe=`<${bt}>`,T=document,z=()=>T.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",_t=Array.isArray,Gt=o=>_t(o)||typeof o?.[Symbol.iterator]=="function",vt=`[
5
- \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Bt=/>/g,w=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Wt=/'/g,Ft=/"/g,Kt=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ys=At(1),gs=At(2),vs=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),qt=new WeakMap,O=T.createTreeWalker(T,129);function Jt(o,t){if(!_t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}var Qt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=H;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===H?u[1]==="!--"?n=Vt:u[1]!==void 0?n=Bt:u[2]!==void 0?(Kt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??H,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Ft:Wt):n===Ft||n===Wt?n=w:n===Vt||n===Bt?n=H:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===H?c+Oe:h>=0?(s.push(l),c.slice(0,h)+$t+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Jt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Qt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith($t)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Kt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===bt)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=V(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new L(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new nt(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},L=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Jt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=qt.get(t.strings);return e===void 0&&qt.set(t.strings,e=new B(t)),e}k(t){_t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!V(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Yt={M:$t,P:_,A:bt,C:1,L:Qt,R:st,D:Gt,V:S,I:L,H:P,N:rt,U:it,B:ot,F:nt},Te=Et.litHtmlPolyfillSupport;Te?.(B,L),(Et.litHtmlVersions??=[]).push("3.3.0");var at=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new L(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var Ct=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:A});var Se=Ct.litElementPolyfillSupport;Se?.({LitElement:A});(Ct.litElementVersions??=[]).push("4.2.0");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var q=Symbol.for("controller"),Pe=o=>typeof o=="object"&&o!==null&&(q in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ds=o=>typeof o?.then=="function";var F,x=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},G=o=>F,N=[],Zt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},Xt=()=>N,R,Us=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},Ne=()=>{let o=R;return R=void 0,o},te=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},ee=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=G().manager.X(o);if(e!==void 0)return e;if(Pe(o))return o;let s=Ne();if(s!==void 0)return s},ct=!1,Ls=o=>{ct=!0;try{return o()}finally{ct=!1}};var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},se=(o,t)=>{let e=t>xe?De:t/Ue,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},xe=4e3,De=2e3,Ue=4;var Le=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Re=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Me=(o=[G(),...Xt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Le(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Re(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ie=(o="",t={},e=G())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Me(void 0,r=>o=r.key,s),s},ke=Ie.bind(null,""),ie;ie=q;var wt=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[ie]=!0,this.#a=[];let e=this,s=t??G(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=re(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Zt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?re(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#i),te}get useRef(){return x(this.#i),ee}get useRefSync(){return x(this.#i),lt}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(oe,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(oe,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function oe(o){p(o,void 0,this)}var ne=wt,re=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var{I:je}=Yt;var ht=o=>o.strings===void 0,ae=()=>document.createComment(""),Ws=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ae(),r),n=s.insertBefore(ae(),r);e=new je(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Fs=(o,t,e=o)=>(o._$AI(t,e),o),He={},ce=(o,t=He)=>o._$AH=t,qs=o=>o._$AH,Gs=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},le=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Be(t)}};function ze(o){this._$AN!==void 0?(dt(this),this._$AM=o,le(this)):this._$AM=o}function Ve(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)J(s[i],!1),dt(s[i]);else s!=null&&(J(s,!1),dt(s));else J(this,o)}var Be=o=>{o.type==m.CHILD&&(o._$AP??=Ve,o._$AQ??=ze)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),le(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var oo=()=>new Tt,Tt=class{},Ot=new WeakMap,St=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Ot.get(t);e===void 0&&(e=new WeakMap,Ot.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Ot.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ut=o=>o.replace(Fe,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Fe=/[A-Z]+(?![a-z])|[A-Z]/gu;var go="randomUUID"in crypto;var he=";",ft=",",de=":";var Nt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},xt={};function Dt(){}var qe=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(he),g=u?u?.split(ft).map(Ge):void 0,C=g?.map(([U])=>U),D=class extends Pt{static{this.observedAttributes=g?.map(([,U])=>U).filter(U=>U!=="")}static{this.C=C}static{this.E=h?h?.split(ft):void 0}static{this.D=y?.split(ft)}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},mt=Object.defineProperty,Ge=o=>{let t=o.split(de);return t.length===1?[t[0],ut(t[0])]:t},Ke=globalThis.HTMLElement??Dt,Pt=class extends Ke{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])mt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])mt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])mt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Nt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Qe(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Je,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Je([o,t]){this[o]=t}var Qe=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},mt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var pe=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ue="important",Ye=" !"+ue,fe=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Ye);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?ue:""):e[s]=r}}return f}});var Ze=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ce(o),t}});var Ut=class extends ne{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Lt in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Lt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=se(t,as)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},as=1e3,Lt="autoDestroyDisabled",me=class o extends A{constructor(){super(),this.M=[],this.manager=new Ut(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Dt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===xt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??j,n={attribute:s&1&&typeof t=="string"?ut(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===xt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Nt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Lt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var ye=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var pr=o=>typeof o=="object"&&o!=null?pe(o):o,ur=o=>typeof o=="object"&&o!=null?fe(o):o;var Rt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,St(this.#e)):St(t)}},fr=E(Rt);var mr=d;var yr=o=>{let t=document.createElement("div");return at(o,t),t.firstElementChild};var Q=ye({defaultAssetPath:"https://jsdev.arcgis.com/next/charts-components/",hydratedAttribute:"hydrated"}),{customElement:br,getAssetPath:_r,setAssetPath:Ar}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{Ds as a,x as b,Zt as c,Xt as d,Us as e,Ls as f,ge as g,ys as h,f as i,d as j,Me as k,ke as l,wt as m,qe as n,m as o,E as p,v as q,Ws as r,Fs as s,ce as t,qs as u,Gs as v,oo as w,St as x,me as y,ye as z,pr as A,ur as B,mr as C,yr as D,Q as E,br as F,_r as G};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{a as g}from"./N3XXFNB3.js";import{b as P}from"./26CEMPJQ.js";import e from"./4O4ROBLA.js";import{j as r}from"./YPKHBQXA.js";import{a as $}from"./EQ7ZCKDE.js";import d from"./SVQ4R6WJ.js";import b from"./YITCW2WB.js";import{w as h}from"./G3J7PGIE.js";import"./FZGGAYGV.js";import"./QCQKZSWJ.js";import"./7VLZEZW3.js";import{A as a,F as u,g as f,h as o,l as s,w as c,x as p,y as v}from"./H7X2PNIT.js";import"./V6YYT4N6.js";export default $arcgis.t(([,,,,,,,{Pa:y,ic:b},,{a:d,k:m,l:S}])=>{var n={jsAppFlyout:"js-app-flyout",scatterplotPopover:"scatter-plot-popover",fillColor:"fill-color",header:"header",pickListItemLabel:"pick-list-item-label",pickListPanel:"pick-list-panel"},x=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{width:100%}.pick-list-panel{max-height:60vh}`,C=class extends v{constructor(){super(...arguments),this.picklist=c(),this._messages=$(),this.popoverElement=c(),this.layerFieldsInfo=[],this.arcgisChartsConfigPopoverClose=s(),this.arcgisChartsConfigScatterplotFillColorChange=s(),this.arcgisChartsConfigScatterplotLineStyleChange=s(),this.arcgisChartsConfigScatterplotSizeVariableFieldChange=s(),this.arcgisChartsConfigScatterplotAdditionalTooltipFieldChange=s(),this.arcgisChartsConfigScatterplotXYFieldChange=s()}static{this.properties={messageOverrides:0,headingTitle:3,contentKind:3,selectedContent:3,referenceElement:2,placement:3,open:7,layerFieldsInfo:0}}static{this.styles=x}async reposition(){await this.popoverElement.value?.reposition()}async updated(){setTimeout(async()=>{await this.picklist.value?.setFocus()},d.PopoverTimer),P(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},d.PopoverTimer)}seriesPopoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}updateSymbolProperties(e){this.selectedContent=e.target.lineStyle,this.arcgisChartsConfigScatterplotLineStyleChange.emit(e.detail)}updateColorProperties(e){this.selectedContent=e.detail,this.arcgisChartsConfigScatterplotFillColorChange.emit(e.detail)}onFieldSelectionChange(e){let t=e.target.selectedItems;this.contentKind===r.sizeVariable?this.arcgisChartsConfigScatterplotSizeVariableFieldChange.emit(t.map(i=>i.value)[0]):this.contentKind===r.additionalTooltipFields?this.arcgisChartsConfigScatterplotAdditionalTooltipFieldChange.emit(t.map(i=>i.value)[0]):this.arcgisChartsConfigScatterplotXYFieldChange.emit(t.map(i=>i.value)[0]),this.open=!1}render(){let e=this.selectedContent,t=this.selectedContent;return o`<div class=${a({[n.jsAppFlyout]:!0})}><calcite-popover class=${a(n.scatterplotPopover)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${S(this.placement)} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${p(this.popoverElement)}>${Array.isArray(e)?o`<arcgis-charts-config-color-style .header=${this._messages.fillColor} class=${a(n.fillColor)} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.seriesPopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>`:null}${t?.type===h.SLS?o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.seriesPopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>`:null}${!Array.isArray(e)&&t?.type!==h.SLS?this.renderVariablePickList():null}</calcite-popover></div>`}renderVariablePickList(){let e=this.layerFieldsInfo?.length??0,t=[];(this.contentKind===r.sizeVariable||this.contentKind===r.additionalTooltipFields)&&t.push(g(" ",o`<calcite-list-item label=" " value=" " .selected=${m("",this.selectedContent)}></calcite-list-item>`));for(let i=0;i<e;i+=1){let l=this.layerFieldsInfo?.[i]??void 0;if(l!==void 0&&(this.contentKind===r.additionalTooltipFields||b(l))){let F=y(this.layerFieldsInfo,l.name);t.push(g(l.name,o`<calcite-list-item .label=${F} .value=${l.name} .selected=${m(l.name,this.selectedContent)}></calcite-list-item>`))}}return o`<calcite-panel class=${a(n.pickListPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${a(n.header)}>${this.headingTitle??""}</div><calcite-list label class=${a(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onFieldSelectionChange} ${p(this.picklist)}>${t}</calcite-list></calcite-panel>`}};u("arcgis-charts-config-scatter-plot-popover",C);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,d,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import"./V6YYT4N6.js";var o={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd MMM",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide"};export{o as default};
@@ -1,6 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{c as h}from"./YPKHBQXA.js";import i from"./Q3OSKDAI.js";import g from"./SVQ4R6WJ.js";import f from"./NOIKL326.js";import e from"./Q6DK5UET.js";import d from"./2RSSSCRW.js";import c from"./DUWTAEND.js";import a from"./YITCW2WB.js";import{e as b,j as G,k as w,p as _}from"./G3J7PGIE.js";import{d as V}from"./QCQKZSWJ.js";import{a as P,w as W}from"./7VLZEZW3.js";export default $arcgis.t(([{A:S,Ca:J,Da:D,Fa:M,Ga:u,Nb:K,lc:Q,nb:v,qb:B,xb:O},{Aa:ee,Ba:oe,La:H,aa:X,ba:q,za:Y},{k:N,l:j,m:z,x:ne},{b:re},{a:te,c:ie,d:ae},{b:U},L])=>{var ke=[P.BarSeries,P.BoxPlotSeries,P.LineSeries,P.PieSeries,P.HistogramSeries,P.ScatterSeries],Ce=1,De={PNG:"png"};function de(c,e){return!G(c,e)}function Oe(c,e){return de(c,e)||c!==e}function ce(c){return(new Intl.NumberFormat(c,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??".")==="."?",":";"}var se=c=>{let{value:e,quoteAll:t=!1,locale:l="en"}=c,a=e==null?"":String(e);if(Number.isFinite(Number(a))){let o=Number(a);a=new Intl.NumberFormat(l,{minimumFractionDigits:0,maximumFractionDigits:2}).format(o).replace(/\u202F/gu," ")}return(t||/[",\r\n]/u.test(a))&&(a=`"${a.replace(/"/gu,'""')}"`),a};function he(c,e={}){let{columns:t,delimiter:l,includeHeader:a=!0,quoteAll:o=!1,locale:r}=e,m=c.length===0,n="";if(!m){let f=t??Object.keys(c[0]),x=[],F=r??U().formatLocale,p=l??ce(F);if(n+=`sep=${p}\r
5
- `,a){let i=f.map(d=>se({value:d,quoteAll:o,locale:F}));x.push(i.join(p))}c.forEach(i=>{let d=f.map(s=>se({value:i[s],quoteAll:o,locale:F}));x.push(d.join(p))}),n+=x.join(`\r
6
- `)}return n}function Ne(c){let{rawData:e,config:t,layer:l,fieldList:a}=c,o=e;if(t!==void 0&&Array.isArray(e)&&e.length>0){let r=W(t?.series);r===P.HistogramSeries?o=ue(t,e):r===P.BarSeries||r===P.LineSeries||r===P.ComboLineAndBarSeries?o=fe({config:t,rows:e,layer:l,fieldList:a}):r===P.PieSeries?o=pe({config:t,rows:e,layer:l,fieldList:a}):r===P.BoxPlotSeries&&(o=be({config:t,rows:e,fieldList:a}))}return o}function ue(c,e){let t=re(c),l=`${b(h.Min)} of ${t}`,a=`${b(h.Max)} of ${t}`,o=`${b(h.Count)} of ${t}`;return e.map(r=>{let{minValue:m,maxValue:n,count:f}=r,x=w(m),F=w(n),p=w(f),i={};return x&&(i[l]=m.toFixed(2)),F&&(i[a]=n.toFixed(2)),x&&F&&(i.Label=`${m.toFixed(2)} - ${n.toFixed(2)}`),p&&(i[o]=f),i})}function le(c,e,t){let l=Object.keys(c),a=[];return t?a=t.map(o=>l.find(r=>r.toLowerCase().includes(o.toLowerCase()))||""):a=l.filter(o=>o.toLowerCase().includes(e.toLowerCase())),a.filter(o=>o.trim()!=="")}function fe(c){let{config:e,rows:t,layer:l,fieldList:a}=c,o=X(e),r=Y(e),m=b(r),n=oe(e),f=v(e.series),x=H(e),F=ee(e),p=K(l)?.objectIdField??"FID",i=n.length===1&&n[0]===p,d;switch(f){case u.BarAndLineNoAggregation:d=t.map(s=>{let g=$({field:o,value:s[o],fieldList:a}),y={[o]:g};return Object.assign(y,...n.map(A=>({[A]:s[A]}))),y});break;case u.BarAndLineFromFields:d=_(n,t).map(([s,g])=>{let y=O(e.series)[0],A={};return g!==void 0&&s!==void 0&&(A.Field=g[o],A.Value=g[y]),A});break;case u.BarAndLineMonoField:case u.BarAndLineMultiFields:d=t.map(s=>{let g=$({field:o,value:s[o],fieldList:a}),y={[o]:g};return n.forEach((A,C)=>{let R=q({config:e,xAxisField:o,numericFields:n,aggregationType:r,layer:l,numericFieldIndex:C}),T=O(e.series)[C],E=T,Z=T;T.toLowerCase()===R.name.toLowerCase()&&(E=R.description,Z=R.name),y[E]=s[Z]}),y});break;case u.BarAndLineSplitBy:d=t.flatMap(s=>{let g=le(s,n[0]),y=$({field:o,value:s[o],fieldList:a});return x.map((A,C)=>({[o]:y,[F]:A,[i?m:`${m} of ${n[0]}`]:s[g[C]]}))});break;case u.BarAndLineSplitByNoAggregation:d=t.map(s=>{let g=$({field:o,value:s[o],fieldList:a}),y=le(s,n[0],x);return{[o]:g,[F]:s[F],[n[0]]:s[y[0]]}});break;default:d=t}return d}function me(c,e=2){if(c.length===0)return[];let t=c.reduce((l,a)=>{for(let[o,r]of Object.entries(a))typeof r=="number"&&Number.isFinite(r)&&(l[o]=(l[o]??0)+r);return l},{});return c.map(l=>{let a={...l};for(let[o,r]of Object.entries(l))if(typeof r=="number"&&t[o]>0){let m=r/t[o]*100;a[`${o}${M}`]=`${m.toFixed(e)}%`}return a})}function pe(c){let{config:e,rows:t,layer:l,fieldList:a}=c,o=te(e),r=v(e.series),m=me(t,2),n=ie(e),f=r!==u.PieFromFields?V.Category:V.Fields,x=ae(e,f),F=q({config:e,xAxisField:o,numericFields:n,aggregationType:x,mode:f,layer:l}),p=O(e.series)[0];return r===u.PieFromCategory?m=m.map(i=>{let d=$({field:o,value:i[o],fieldList:a}),s={[o]:d},g=p,y=p;return p.toLowerCase()===F.name.toLowerCase()&&(g=F.description,y=F.name),s[g]=i[y],s[b(M.trim())]=i[`${y}${M}`],s}):r===u.PieFromFields&&(m=_(n,m).map(([i,d])=>{let s={};return d!==void 0&&i!==void 0&&(s.Field=d[o],s.Value=d[p],s[b(M.trim())]=d[`${p}${M}`]),s})),m}function I(c){let{rawData:e,keyBase:t="",outRow:l}=c;for(let[a,o]of Object.entries(B)){let r=e[t+o];r!==void 0&&(l[a]=w(r)?r.toFixed(2):r);let m=e[t+o+J];m!==void 0&&(l[`${a} Outlier`]=w(m)?m.toFixed(2):m);let n=e[t+o+D];n!==void 0&&(l[`${a} Z-Score`]=w(n)?n.toFixed(2):n)}}function k(c){let{rawData:e,outRow:t,config:l,boxPlotSubType:a,fieldList:o}=c,r=N(l),m=z(l),n=j(l),f=B.Outlier,x=S;switch(a){case u.BoxPlotMonoFieldAndCategory:{let i=$({field:r,value:e[r],fieldList:o});t[r]=i,t[b(B.Outlier)]=e[f];break}case u.BoxPlotMultiFieldsAndCategory:{t[b(r)]=e[r],f=`${m.find(i=>Object.keys(e).some(d=>d.toLowerCase().includes(i.toLowerCase())))??""}_${f}`,t[b(B.Outlier)]=e[f];break}case u.BoxPlotMonoFieldAndSplitBy:case u.BoxPlotMultiFieldsAndSplitBy:{let i=e[n];f=`${i}_${f}`,t.Field=e[x],t[b(n)]=i,t[b(B.Outlier)]=e[f];break}case u.BoxPlotMonoFieldAndCategoryAndSplitBy:{let i=e[n];f=`${i}_${f}`,t[b(r)]=e[r],t[b(n)]=i,t[b(B.Outlier)]=e[f];break}case u.BoxPlotMonoField:case u.BoxPlotMultiFields:default:{t.Field=e[x],t[b(B.Outlier)]=e[f];break}}let F=`${f}${D}`,p=e[F];p!==void 0&&(t[`${b(B.Outlier)} Z-Score`]=w(p)?p.toFixed(2):p)}function Fe(c){let{rawData:e,outRow:t,config:l,splitByValue:a}=c,o=v(l.series),r=e[`${a}_${B.Average}`],m=j(l),n=N(l),f="";switch(o){case u.BoxPlotMonoFieldAndSplitBy:{f=`${a}_${m}`,t.Field=e[S],t[b(m)]=e[f];break}case u.BoxPlotMultiFieldsAndSplitBy:{f=`${a}_${B.Average}`,t.Field=e[S],t[b(m)]=e[f];break}case u.BoxPlotMonoFieldAndCategoryAndSplitBy:{f=`${a}_${B.Average}`,t[n]=e[n],t[b(m)]=a;break}}t[b(B.Average)]=w(r)?r.toFixed(2):r;let x=`${r}${D}`,F=e[x];F!==void 0&&(t[`${b(B.Average)} Z-Score`]=w(F)?F.toFixed(2):F)}function be(c){let{config:e,rows:t,fieldList:l}=c,a=v(e.series),o=a,r=ne(e),m=Array.isArray(t)&&t.length>0&&t.every(i=>i[L.boxPlot.boxPlotMeanLineMarkerId]!==void 0);r&&!m&&(a===u.BoxPlotMonoFieldAndSplitBy?o=u.BoxPlotMonoField:a===u.BoxPlotMultiFieldsAndSplitBy?o=u.BoxPlotMultiFields:a===u.BoxPlotMonoFieldAndCategoryAndSplitBy&&(o=u.BoxPlotMonoFieldAndCategory));let n=N(e),f=z(e),x=H(e),F=j(e),p;switch(o){case u.BoxPlotMonoField:case u.BoxPlotMonoFieldAndCategory:{p=t.map(i=>{let d={};if(i[L.boxPlot.boxPlotOutlierId])k({rawData:i,outRow:d,config:e,boxPlotSubType:o});else{if(o===u.BoxPlotMonoFieldAndCategory){let s=$({field:n,value:i[n],fieldList:l});d[n]=s}else o===u.BoxPlotMonoField&&(d.Field=i[S]);I({rawData:i,outRow:d})}return d});break}case u.BoxPlotMultiFields:{p=t.flatMap(i=>{let d={};return i[L.boxPlot.boxPlotOutlierId]?k({rawData:i,outRow:d,config:e,boxPlotSubType:o}):(d.Field=i[S],I({rawData:i,outRow:d})),[d]});break}case u.BoxPlotMultiFieldsAndCategory:{p=t.flatMap(i=>f.map(d=>{let s={},g="";if(s.Field=d,i[L.boxPlot.boxPlotOutlierId])k({rawData:i,outRow:s,config:e,boxPlotSubType:o});else{if(o===u.BoxPlotMultiFieldsAndCategory){let y=$({field:n,value:i[n],fieldList:l});s[n]=y,g=`${d}_`}I({rawData:i,outRow:s,keyBase:g})}return s}));break}case u.BoxPlotMonoFieldAndSplitBy:case u.BoxPlotMultiFieldsAndSplitBy:case u.BoxPlotMonoFieldAndCategoryAndSplitBy:{p=t.flatMap(i=>{if(i[L.boxPlot.boxPlotOutlierId]){let d={};return k({rawData:i,outRow:d,config:e,boxPlotSubType:o}),[d]}else return i[L.boxPlot.boxPlotMeanLineMarkerId]?x?.map(d=>{let s={};return Fe({rawData:i,outRow:s,splitByValue:d,config:e}),s}):x.map(d=>{let s={};if(o===u.BoxPlotMonoFieldAndCategoryAndSplitBy){let g=$({field:n,value:i[n],fieldList:l});s[n]=g}return i[L.boxPlot.boxPlotOutlierId]?k({rawData:i,outRow:s,config:e,boxPlotSubType:o}):(s[F]=d,I({rawData:i,outRow:s,keyBase:`${d}_`})),s})});break}default:p=t}return p}var xe=c=>{let e=!1;return(typeof c=="string"||typeof c=="number")&&(e=!Number.isNaN(new Date(c).getTime())),e},$=c=>{let{field:e,value:t,fieldList:l}=c,a=!1;return l!==void 0&&l.length>0&&(a=Q(l).some(o=>o===e)),xe(t)&&a?new Date(t).toISOString():t};return{a:ke,b:Ce,c:De,d:de,e:Oe,f:he,g:Ne}},a,c,d,e,f,g,i)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import h from"./JQUU4BVY.js";import f from"./M5AYHPO2.js";import e from"./BTTBM7EP.js";import c from"./DUWTAEND.js";import{i as o,j as l,k as a}from"./7P4IBWJL.js";import b from"./YITCW2WB.js";import{j as T}from"./G3J7PGIE.js";import{a as D}from"./QCQKZSWJ.js";import{a as O,b as g,f as d}from"./7VLZEZW3.js";export default $arcgis.t(([,,,,,,,{N:w,P:B,Pa:V,V:U,Z:b,ba:P,k:m,xc:k},{$:p,Aa:$,Ba:c,Ca:S,Da:F,Fa:_,Ga:x,Ha:ee,Ia:ie,_:u,aa:L,b:E,c:f,ca:M,da:N,e:y,ea:R,fa:z,ga:j,ha:q,ia:G,ja:H,ka:J,la:K,ma:W,oa:X,pa:Y,qa:Q,ya:Z,za:h},{a:A,c:te,d:se,e:re},{a:ne,b:oe,c:ae,d:ge},le])=>{var C=class extends A{get temporalBinningSize(){return M(this._config)}set temporalBinningSize(e){this.guardSetterFromAsyncOverwrite(()=>{q(e,this._config),this.emitConfigUpdate("temporalBinningSize")})}get temporalBinningUnit(){return N(this._config)}set temporalBinningUnit(e){this.guardSetterFromAsyncOverwrite(()=>{H(e,this._config),this.emitConfigUpdate("temporalBinningUnit")})}get timeAggregationType(){return R(this._config)}set timeAggregationType(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("timeAggregationType")})}get trimIncompleteTimeInterval(){return z(this._config)}set trimIncompleteTimeInterval(e){this.guardSetterFromAsyncOverwrite(()=>{K(e,this._config),this.emitConfigUpdate("trimIncompleteTimeInterval")})}get nullPolicy(){return j(this._config)}set nullPolicy(e){this.guardSetterFromAsyncOverwrite(()=>{G(e,this._config),this.emitConfigUpdate("nullPolicy")})}resetTimeInterval(){this.guardSetterFromAsyncOverwrite(()=>{W(this._config),this.emitConfigUpdate("resetTimeInterval")})}},he=(s,e)=>e.series?.[s].assignToSecondValueAxis??!1,ce=s=>{let{assign:e,seriesIndex:i,config:t,commonStrings:r}=s;e&&t.axes!==void 0&&!t.axes?.[2]&&(t.axes[2]=b(r,O.BarSeries)[1]),t.series&&t.series.forEach((n,I)=>{I===i?n.assignToSecondValueAxis=e:I!==i&&n?.assignToSecondValueAxis!==!0&&(n.assignToSecondValueAxis=!1)}),t.axes?.[2]&&!t.series.some(n=>n.assignToSecondValueAxis)&&t.axes.splice(2,1)},de=(s,e)=>e.series?.[s]?.name,me=(s,e,i)=>{i.series?.[e]&&(i.series[e].name=s)},fe=(s,e)=>{let i=e.series?.[s],t;return a(i)?t=i.fillSymbol?.color:o(i)&&(t=i.lineSymbol?.color),t},ye=(s,e,i)=>{let t=i.series?.[e];t&&(a(t)?t.fillSymbol={...P(e),...t.fillSymbol,color:s}:o(t)&&(t.lineSymbol={...U(e),...t.lineSymbol,color:s}))},ue=s=>s.series.map(e=>e.id),pe=(s,e)=>{e.series?.sort((i,t)=>s.findIndex(r=>i.id===r)-s.findIndex(r=>t.id===r))},Se=s=>s.stackedType??d.Side,Fe=s=>{let{newStackedType:e,config:i,layerInfo:t,commonStrings:r}=s;if(i.stackedType=e,t!==void 0){let n=f({config:i,layerInfo:t,commonStrings:r,numericFields:c(i),aggregationType:h(i)});E(i,1,n)}i.axes?.[1]&&(e===d.Stacked100?i.axes[1].valueFormat=B():i.axes[1].valueFormat=w()),y({config:i,value:null,axisIndex:1,isMax:!1}),y({config:i,value:null,axisIndex:1,isMax:!0})},_e=s=>{let e,i=s.series.find(t=>(a(t)||o(t)||l(t))&&t.nullCategory!==void 0);return(a(i)||o(i)||l(i))&&(e=i?.nullCategory),e},xe=(s,e)=>{s.series.forEach(i=>{(a(i)||o(i)||l(i))&&(i.nullCategory=e)})},v=class extends A{constructor(){super(...arguments),this._xAxisField="",this._aggregationType=g.Count,this._splitByField="",this._numericFields=[]}get xAxisField(){return this._xAxisField}set xAxisField(e){if(this._xAxisField=e,this.dirtyAsyncSetters.push("xAxisField"),e.trim()===""||e===m){let i=this.numericFields;this.resetConfig(),this.numericFields=i}this.processSeriesRebuild()}get aggregationType(){return this._aggregationType}set aggregationType(e){this._aggregationType=e,this.dirtyAsyncSetters.push("aggregationType"),this.processSeriesRebuild()}get splitByField(){return this._splitByField}set splitByField(e){this.layerInfo?.layerFieldsInfo&&X(this.layerInfo?.layerFieldsInfo,e)&&(this._splitByField=e,this.dirtyAsyncSetters.push("splitByField"),this.processSeriesRebuild())}get numericFields(){return this._numericFields}set numericFields(e){if(typeof e=="string"&&(e=[e]),Y(this.layerInfo?.layerFieldsInfo??[],e)){let i=this.layerInfo?.objectIdField??"";e.length===0?(e.push(i),this._aggregationType=g.Count):this._aggregationType===g.Count&&e.length>=1&&!e.includes(i)&&(this._aggregationType=g.Sum),this._numericFields=e,this.dirtyAsyncSetters.push("numericFields"),this.numericFields.length>1&&(this._splitByField="",this.dirtyAsyncSetters.push("splitByField")),(this.xAxisField===""||this.xAxisField===m)&&this.numericFields.length===0&&this.resetConfig(),this.processSeriesRebuild()}}getAssignToSecondValueAxis(e){return he(e,this._config)}setAssignToSecondValueAxis(e,i){this.guardSetterFromAsyncOverwrite(()=>{ce({assign:e,seriesIndex:i,config:this._config,commonStrings:this.commonStrings}),this.emitConfigUpdate("setAssignToSecondValueAxis")})}getSortOrder(){return S(this._config)}setSortOrder(e,i){this.guardSetterFromAsyncOverwrite(()=>{p(e,this._config,i),this.emitConfigUpdate("setSortOrder")})}async getCustomSortValues(){return await x(this._config,this.layerInfo)}async setDataFilters(e){super.setDataFilters(e);let i=S(this._config);if(i===D.customSort){let t=await x(this._config,this.layerInfo);p(i,this._config,t)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}get orderByList(){return u(this._config)}set orderByList(e){this.guardSetterFromAsyncOverwrite(()=>{!k(this._config)&&(_(e,this._config),this.emitConfigUpdate("orderByList"))})}async updateSeriesFromLayerFilter(){this.layerInfo!==void 0&&(this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"),await this.processSeriesRebuild())}get binTemporalData(){return ee(this._config)}set binTemporalData(e){this.guardSetterFromAsyncOverwrite(()=>{ie(e,this._config),this.emitConfigUpdate("enableTemporalBinning")})}getSeriesName(e){return de(e,this._config)}setSeriesName(e,i){this.guardSetterFromAsyncOverwrite(()=>{me(e,i,this._config),this.emitConfigUpdate("setSeriesName")})}getSeriesColor(e){return fe(e,this._config)}setSeriesColor(e,i){this.guardSetterFromAsyncOverwrite(()=>{ye(e,i,this._config),this.emitConfigUpdate("setSeriesColor")})}getOrderOfSeries(){return ue(this._config)}setOrderOfSeries(e){this.guardSetterFromAsyncOverwrite(()=>{pe(e,this._config),this.emitConfigUpdate("setOrderOfSeries")})}get stackedType(){return Se(this._config)}set stackedType(e){this.guardSetterFromAsyncOverwrite(()=>{Fe({newStackedType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.emitConfigUpdate("stackedType")})}moveSeries(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this.getOrderOfSeries(),[r]=t.splice(e,1);t.splice(i,0,r),this.setOrderOfSeries(t),this.emitConfigUpdate("moveSeries")})}moveCustomSortValuesInOrderByList(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=u(this._config),[r]=t.splice(e,1);t.splice(i,0,r),_(t,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")})}get nullCategory(){return _e(this._config)}set nullCategory(e){this.guardSetterFromAsyncOverwrite(()=>{let i=this.nullCategory;T(i,e)||(xe(this._config,e),this.emitConfigUpdate("setNullCategory"))})}setupLocalProps(){this._xAxisField=L(this._config),this._aggregationType=h(this._config),this._splitByField=$(this._config),this._numericFields=c(this._config)}resetConfig(){let e=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=e,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}canUseSynchronousSeriesRebuild(){return this.splitByField===""||this.numericFields.length>1}async processSeriesRebuild(){if(this.layerInfo!==void 0){let e=this.dirtyAsyncSetters[this.dirtyAsyncSetters.length-1];if(this.canUseSynchronousSeriesRebuild())this.dirtyAsyncSetters=[],F(this.getBuildNewSeriesProps());else if(!this.asyncConfigUpdateInProgress){for(this.asyncConfigUpdateInProgress=!0,this.setupFinished=new Promise(i=>{this.resolveSetup=i});this.dirtyAsyncSetters.length>0;)this.dirtyAsyncSetters=[],await F(this.getBuildNewSeriesProps());this.asyncConfigUpdateInProgress=!1,this.resolveSetup?.()}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(e)}}getBuildNewSeriesProps(){return{xAxisField:this.xAxisField,splitByField:this.splitByField,numericFields:this.numericFields,aggregationType:this.aggregationType,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}}generateChartTitle(){return this.layerInfo!==void 0?Z(this._config,this.layerInfo,this.commonStrings):""}generateXAxisTitle(){return this.layerInfo!==void 0?V(this.layerInfo.layerFieldsInfo,this._xAxisField):""}generateYAxisTitle(){return this.layerInfo!==void 0?f({config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings,numericFields:c(this._config),aggregationType:h(this._config)}):""}};Q(v,[re,oe,ae,ne,le,ge,te,se,C]);return{a:de,b:me,c:ye,d:v}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,e,f,h)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import"./V6YYT4N6.js";var d={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u03BC.\u03A7.",_era_bc:"\u03C0.\u03A7.",A:"\u03C0\u03BC",P:"\u03BC\u03BC",AM:"\u03C0.\u03BC.",PM:"\u03BC.\u03BC.","A.M.":"\u03C0.\u03BC.","P.M.":"\u03BC.\u03BC.",January:"\u0399\u03B1\u03BD\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",February:"\u03A6\u03B5\u03B2\u03C1\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",March:"\u039C\u03B1\u03C1\u03C4\u03AF\u03BF\u03C5",April:"\u0391\u03C0\u03C1\u03B9\u03BB\u03AF\u03BF\u03C5",May:"\u039C\u03B1\u0390\u03BF\u03C5",June:"\u0399\u03BF\u03C5\u03BD\u03AF\u03BF\u03C5",July:"\u0399\u03BF\u03C5\u03BB\u03AF\u03BF\u03C5",August:"\u0391\u03C5\u03B3\u03BF\u03CD\u03C3\u03C4\u03BF\u03C5",September:"\u03A3\u03B5\u03C0\u03C4\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",October:"\u039F\u03BA\u03C4\u03C9\u03B2\u03C1\u03AF\u03BF\u03C5",November:"\u039D\u03BF\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",December:"\u0394\u03B5\u03BA\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",Jan:"\u0399\u03B1\u03BD",Feb:"\u03A6\u03B5\u03B2",Mar:"\u039C\u03B1\u03C1",Apr:"\u0391\u03C0\u03C1","May(short)":"\u039C\u03B1\u0390",Jun:"\u0399\u03BF\u03C5\u03BD",Jul:"\u0399\u03BF\u03C5\u03BB",Aug:"\u0391\u03C5\u03B3",Sep:"\u03A3\u03B5\u03C0",Oct:"\u039F\u03BA\u03C4",Nov:"\u039D\u03BF\u03B5",Dec:"\u0394\u03B5\u03BA",Sunday:"\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03AE",Monday:"\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1",Tuesday:"\u03A4\u03C1\u03AF\u03C4\u03B7",Wednesday:"\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7",Thursday:"\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7",Friday:"\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE",Saturday:"\u03A3\u03AC\u03B2\u03B2\u03B1\u03C4\u03BF",Sun:"\u039A\u03C5\u03C1",Mon:"\u0394\u03B5\u03C5",Tue:"\u03A4\u03C1\u03AF",Wed:"\u03A4\u03B5\u03C4",Thu:"\u03A0\u03AD\u03BC",Fri:"\u03A0\u03B1\u03C1",Sat:"\u03A3\u03AC\u03B2",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u0395\u03C3\u03C4\u03AF\u03B1\u03C3\u03B7",Play:"\u0391\u03BD\u03B1\u03C0\u03B1\u03C1\u03B1\u03B3\u03C9\u03B3\u03AE",Stop:"\u03A3\u03C4\u03AC\u03C3\u03B7",Legend:"\u03A5\u03C0\u03CC\u03BC\u03BD\u03B7\u03BC\u03B1","Press ENTER to toggle":"",Loading:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7",Home:"\u0391\u03C1\u03C7\u03B9\u03BA\u03AE",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7",Image:"Image",Data:"\u0394\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03B1",Print:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0391\u03C0\u03CC %1 \u03AD\u03C9\u03C2 %2","From %1":"\u0391\u03C0\u03CC %1","To %1":"\u0388\u03C9\u03C2 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{d as default};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{a as P}from"./N3XXFNB3.js";import{a as E}from"./26CEMPJQ.js";import{h as r}from"./YPKHBQXA.js";import{a as F}from"./EQ7ZCKDE.js";import a from"./YITCW2WB.js";import"./G3J7PGIE.js";import"./FZGGAYGV.js";import{d as g}from"./QCQKZSWJ.js";import{b as y}from"./7VLZEZW3.js";import{A as o,D as b,F as v,g as C,h as s,l as d,w as n,x as h,y as u}from"./H7X2PNIT.js";import"./V6YYT4N6.js";export default $arcgis.t(([,,,,,,,{Pa:m,hc:$,i:l}])=>{var c={label:"label",fieldList:"field-list",fab:"fab"},k=C`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}`,p=class extends u{constructor(){super(...arguments),this._messages=F(),this.pieChartPopover=null,this.sortOrderElement=n(),this.categoryElement=n(),this.numericFieldsElement=n(),this.onPieChartDataChange=async e=>{try{if(e.detail!==null&&e.detail?.value!==void 0){let{contentKind:t}=e.detail,i=[...e.detail.value];switch(t){case r.aggregation:this.model.aggregationType=i[0]!==y.NoAggregation?i[0]:"";break;case r.category:{let a=i[0]?.trim()||"";this.updateMode(a);let f=this.model.numericFields;f.length>1&&a!==l&&(this.model.numericFields=[f[0]]),this.model.category=a,this.model.colorMatch=!0;break}case r.numericFields:i.length>1&&(this.updateMode(l),this.model.category=l),this.model.numericFields=i;break;case r.sortOrder:this.model.setSortOrder(i[0]);break;default:break}}}catch(t){throw this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}this.requestUpdate()},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverClose=e=>{this.pieChartPopover===e?.target&&this.removePieChartDataPopover()},this.layerFieldsInfo=[],this.arcgisChartsConfigDataChangeError=d(),this.arcgisChartsConfigPieChartDataNumericFieldValidate=d()}static{this.properties={messageOverrides:0,model:0,layerFieldsInfo:0}}static{this.styles=k}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removePieChartDataPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}buildNumericFieldItem(e){return P(e,s`<calcite-list-item .label=${m(this.layerFieldsInfo,e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`)}onSortOrderSelect(e){this.contentKind=r.sortOrder,this.setupPopover(e)}onCategorySelect(e){this.contentKind=r.category,this.setupPopover(e)}onAddNumericFields(e){this.contentKind=r.numericFields,this.setupPopover(e)}onRemoveNumericField(e){let t=e.target.value;this.model.numericFields=this.model.numericFields.filter(i=>i!==t)}onShowDataLabelsChange(e){this.model.dataLabelsVisibility=e.target.checked}updateMode(e){let t=e!==l&&e.trim()!=="";this.model.mode=t?g.Category:g.Fields}setupPopover(e){e.stopImmediatePropagation(),this.removePieChartDataPopover();let t,i,a;switch(this.contentKind){case r.category:t=this.categoryElement.value,i=this._messages.categoryHeader,a=this.model.category;break;case r.numericFields:t=this.numericFieldsElement.value,i=this._messages.numericFieldsMultipleHeader,a=this.model.numericFields;break;case r.sortOrder:t=this.sortOrderElement.value,i=this._messages.sortOrderHeader,a=this.model.getSortOrder();break}this.pieChartPopover=b(s`<arcgis-charts-config-pie-chart-popover .headingTitle=${i} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${a} @arcgisChartsConfigPieChartDataPopoverChange=${this.onPieChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-pie-chart-popover>`),!document.body.contains(this.pieChartPopover)&&this.pieChartPopover!==null&&document.body.appendChild(this.pieChartPopover)}getCorrectedCategoryValue(){return this.model.category===l||this.model.category.trim()===""?"":m(this.layerFieldsInfo,this.model.category)}removePieChartDataPopover(){this.pieChartPopover!==null&&(this.pieChartPopover.open=!1,this.pieChartPopover=E(this.pieChartPopover))}renderSorting(){return s`<arcgis-charts-config-field-select .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${h(this.sortOrderElement)}></arcgis-charts-config-field-select>`}renderCategory(){let e=this.getCorrectedCategoryValue();return s`<arcgis-charts-config-field-select .label=${e} @click=${this.onCategorySelect} ${h(this.categoryElement)}></arcgis-charts-config-field-select>`}renderNumericFields(e){let t=$(this.layerFieldsInfo),i=[];for(let a of e)a!==t&&i.push(this.buildNumericFieldItem(a));return s`<calcite-list label class=${o(c.fieldList)} ${h(this.numericFieldsElement)}>${i}</calcite-list>`}render(){let e=this.renderCategory(),t=this.renderSorting(),i=this.renderNumericFields([...this.model.numericFields]);return s`<div><calcite-label class=${o(c.label)}>${this._messages.category}${e}</calcite-label>${[s`<calcite-label class=${o(c.label)}>${this._messages.numericFields}${i}</calcite-label>`,s`<div class=${o(c.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div>`]}<calcite-label class=${o(c.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${o(c.label)}>${this._messages.sortOrder}${t}</calcite-label></div>`}};v("arcgis-charts-config-pie-chart-data",p);return p},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{a as B}from"./R6AY7KMB.js";import{a as I,b as w}from"./3DA7RNJY.js";import d from"./4O4ROBLA.js";import"./YPKHBQXA.js";import{a as m}from"./EQ7ZCKDE.js";import b from"./SVQ4R6WJ.js";import a from"./YITCW2WB.js";import{g as c}from"./G3J7PGIE.js";import"./FZGGAYGV.js";import"./QCQKZSWJ.js";import{a as l}from"./7VLZEZW3.js";import{A as o,D as v,F as C,g as f,h as n,w as h,x as r,y as N}from"./H7X2PNIT.js";import"./V6YYT4N6.js";export default $arcgis.t(([,,{a:g,f:M,g:x,h:p,i:i}])=>{var d={linkContainer:"link-container",label:"label",mb2:"mb-2"},E=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}calcite-block{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));border:0px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor)}.label{display:flex;justify-content:space-between}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.link-container{display:flex;justify-content:flex-end;margin-top:-.75rem}`,b=class extends N{constructor(){super(...arguments),this._messages=m(),this.commonStrings=m({name:"common",blocking:!0}),this.axisModel=new B,this.minBoundInputElement=h(),this.maxBoundInputElement=h(),this.showLogScaleSwitch=h(),this.defaultMinBound=Number.NaN,this.defaultMaxBound=Number.NaN,this.onMaxBoundsChange=async()=>{let e=this.maxBoundInputElement.value?.value,t=this.maxBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.maxBoundInputElement.value?.min===void 0?this.axisModel.getMinBound():Math.max(this.maxBoundInputElement.value.min,this.axisModel.getMinBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMinBound()&&M(a,s,this.maxBoundInputElement.value?.max)){if(a!==this.axisModel.getMaxBound()){this.axisModel.setMaxBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMaxBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.maxBoundInputElement.value&&p({inputElement:this.maxBoundInputElement.value,status:t}),t!==i.INVALID&&this.minBoundInputElement.value?.status===i.INVALID&&await this.onMinBoundsChange(),this.requestUpdate()},this.onMaxBoundsChangeDebounced=c(this.onMaxBoundsChange,g.DebounceTimer),this.onMinBoundsChange=async()=>{let e=this.minBoundInputElement.value?.value,t=this.minBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.minBoundInputElement.value?.max===void 0?this.axisModel.getMaxBound():Math.min(this.minBoundInputElement.value.max,this.axisModel.getMaxBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMaxBound()&&M(a,this.minBoundInputElement.value?.min,s)){if(a!==this.axisModel.getMinBound()){this.axisModel.setMinBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMinBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.minBoundInputElement.value&&p({inputElement:this.minBoundInputElement.value,status:t}),t!==i.INVALID&&this.maxBoundInputElement.value?.status===i.INVALID&&await this.onMaxBoundsChange(),await this.updateEnableLogarithmic(this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()},this.onMinBoundsChangeDebounced=c(this.onMinBoundsChange,g.DebounceTimer),this.onModelConfigChange=()=>{this.requestUpdate()},this.disableMaxBoundResetBtn=!0,this.disableMinBoundResetBtn=!0,this.isXAxis=!1,this.axisTitle=""}static{this.properties={disableMaxBoundResetBtn:16,disableMinBoundResetBtn:16,messageOverrides:0,model:0,isXAxis:5,axisTitle:1,maxBoundMaxLimit:9,maxBoundMinLimit:9,minBoundMinLimit:9,minBoundMaxLimit:9,showMaxBoundOption:5,showMinBoundOption:5,showEnableLogOption:5,dataMaxValue:9,dataMinValue:9,initialMaxBound:9,initialMinBound:9}}static{this.styles=E}load(){this.modelChange(this.model),this.dataMinValue!==void 0&&this.dataMinValueChange(this.dataMinValue,Number.NaN),this.dataMaxValue!==void 0&&this.dataMaxValueChange(this.dataMaxValue,Number.NaN)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("dataMinValue")&&this.dataMinValueChange(this.dataMinValue??Number.NaN,e.get("dataMinValue")),e.has("dataMaxValue")&&this.dataMaxValueChange(this.dataMaxValue??Number.NaN,e.get("dataMaxValue")),e.has("initialMaxBound")&&this.initialMaxBoundChange(),e.has("initialMinBound")&&this.initialMinBoundChange()}updated(){this.disableResetButtons()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){this.axisModel=new B(this.model,this.isXAxis),t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}dataMinValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMinBound=e)}dataMaxValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMaxBound=e)}initialMaxBoundChange(){Number.isNaN(this.axisModel.getMaxBound())||this.axisModel.setMaxBound(this.axisModel.getMaxBound())}initialMinBoundChange(){Number.isNaN(this.axisModel.getMinBound())||this.axisModel.setMinBound(this.axisModel.getMinBound())}getAxisBoundsFromStateStore(){let e,t=I.chartAxesBoundDataMap,s=this.model.chartId;if(s){let a=w({chartId:s,isXAxis:this.isXAxis,isLogarithmic:this.axisModel.getLogarithmic()});e=t[s]?.[a]}return e}disableResetButtons(){let e=this.getAxisBoundsFromStateStore();e&&(this.disableMaxBoundResetBtn=e.defaultMaxBound===e.currMaxBound,this.disableMinBoundResetBtn=e.defaultMinBound===e.currMinBound)}async onShowLogScaleMouseEnter(){this.showLogScaleTooltip?.remove(),this.showLogScaleSwitch.value?.disabled&&(this.showLogScaleTooltip=v(n`<calcite-tooltip .referenceElement=${this.showLogScaleSwitch.value??document.body} open>${this.commonStrings.utilsStrings.tooltips?.logDisabled??""}</calcite-tooltip>`),document.body.appendChild(this.showLogScaleTooltip))}onShowLogScaleMouseLeave(){this.showLogScaleTooltip?.remove()}async onCategoryFormatChange(e){this.axisModel.setValueFormat(e.target.categoryFormat)}async updateEnableLogarithmic(e){e!==this.axisModel.getLogarithmic()&&(this.axisModel.setLogarithmic(e),this.requestUpdate())}async onNumberFormatChange(e){this.axisModel.setValueFormat({type:l.NumberAxisFormat,intlOptions:e.detail}),this.requestUpdate()}async onRevertMaxBoundsToDefault(){if(this.maxBoundInputElement.value?.status===i.INVALID||this.axisModel.getMaxBound()!==this.defaultMaxBound){let e=this.getAxisBoundsFromStateStore();this.axisModel.getMinBound()>this.defaultMaxBound&&this.axisModel.setMinBound(e?.defaultMinBound??Number.NaN),this.axisModel.setMaxBound(e?.defaultMaxBound??Number.NaN),this.requestUpdate()}}async onRevertMinBoundsToDefault(){(this.minBoundInputElement.value?.status===i.INVALID||this.axisModel.getMinBound()!==this.defaultMinBound)&&(this.axisModel.getMaxBound()<this.defaultMinBound&&this.axisModel.setMaxBound(Number.NaN),this.axisModel.setMinBound(Number.NaN),this.requestUpdate())}async enableLogScale(e){let{checked:t}=e.target;this.axisModel.setLogarithmic(t&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()}render(){return n`<div><calcite-block .hidden=${this.axisModel.getValueFormat()?.type===l.DateAxisFormat} open .heading=${this.axisTitle}>${this.renderAxis()}</calcite-block></div>`}renderAxis(){let e=null,t={...this.axisModel.getValueFormat()};switch(this.axisModel.getValueFormat()?.type){case l.CategoryAxisFormat:e=n`<arcgis-charts-config-category-format .categoryFormat=${t} @arcgisChartsConfigCategoryFormatChange=${this.onCategoryFormatChange}></arcgis-charts-config-category-format>`;break;case l.NumberAxisFormat:e=n`<div>${this.renderShowLogScale()}${this.renderMinBound()}${this.renderMaxBound()}<arcgis-charts-config-number-format .numberFormat=${{...t.intlOptions}} @arcgisChartsConfigNumberFormatChange=${this.onNumberFormatChange}></arcgis-charts-config-number-format></div>`;break;case l.DateAxisFormat:e=null;break}return e}renderMaxBound(){let e;if(!this.showMaxBoundOption)e=null;else{let t=x(this.axisModel.getMaxBound(),this.initialMaxBound);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.maxBounds}<calcite-input type=number number-button-type=none .min=${this.maxBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.maxBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMaxBoundsChangeDebounced} ${r(this.maxBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMaxBoundResetBtn} @click=${this.onRevertMaxBoundsToDefault} appearance=transparent icon-end=reset>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderMinBound(){let e;if(!this.showMinBoundOption)e=null;else{let t=x(this.axisModel.getMinBound(),this.initialMinBound??void 0);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.minBounds}<calcite-input type=number number-button-type=none .min=${this.minBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.minBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMinBoundsChangeDebounced} ${r(this.minBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMinBoundResetBtn} appearance=transparent icon-end=reset @click=${this.onRevertMinBoundsToDefault}>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderShowLogScale(){let e;return this.showEnableLogOption&&(e=n`<calcite-label layout=inline-space-between class=${o({[d.label]:!0,[d.mb2]:!0})}>${this._messages.logScale}<div @mouseenter=${this.onShowLogScaleMouseEnter} @mouseleave=${this.onShowLogScaleMouseLeave}><calcite-switch .checked=${this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0} .disabled=${(this.dataMinValue??Number.NaN)<=0} @calciteSwitchChange=${this.enableLogScale} ${r(this.showLogScaleSwitch)}></calcite-switch></div></calcite-label>`),e}};C("arcgis-charts-config-axis",b);return b},a,b,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import b from"./BTTBM7EP.js";import a from"./YITCW2WB.js";export default $arcgis.t(([,,,,,,,{$a:r,Ja:t},{a:i}])=>{var o=class extends i{get rotatedState(){return t(this._config)}set rotatedState(m){this.guardSetterFromAsyncOverwrite(()=>{this._config=r(m,this._config)??this._config,this.emitConfigUpdate("rotatedState")})}};return o},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import f from"./Q6DK5UET.js";import e from"./M5AYHPO2.js";import d from"./BTTBM7EP.js";import c from"./TPQ47UXE.js";import b from"./DUWTAEND.js";import"./7P4IBWJL.js";import a from"./YITCW2WB.js";import"./G3J7PGIE.js";import"./FZGGAYGV.js";import"./QCQKZSWJ.js";import{a as i}from"./7VLZEZW3.js";import"./H7X2PNIT.js";import"./V6YYT4N6.js";export default $arcgis.t(([,,,,,,,,{Pa:r,ua:s},{qa:a},,{a:o,d:n,e:m},{a:h,b:g,c:c,d:d},{A:q,a:f,b:l,c:y,d:u,e:p,f:v,g:S,h:w,i:C,j:O,k:_,l:b,m:F,n:D,o:A,p:U,q:M,r:T,s:E,t:I,u:x,v:N,w:H,x:L,y:W,z:k}])=>{var e=class extends o{constructor(){super(...arguments),this._chartType=i.HistogramSeries}async setup(t){await this.loadConfigFromLayer(t),typeof this.resolveSetup=="function"&&this.resolveSetup()}get numericField(){return l(this._config)}set numericField(t){this.guardSetterFromAsyncOverwrite(()=>{y({numericField:t,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("numericField")})}get binCount(){return v(this._config)}set binCount(t){this.guardSetterFromAsyncOverwrite(()=>{S(t,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("binCount")})}get binSymbol(){return w(this._config)}set binSymbol(t){this.guardSetterFromAsyncOverwrite(()=>{C(t,this._config),this.emitConfigUpdate("binSymbol")})}get dataTransformationType(){return u(this._config)}set dataTransformationType(t){this.guardSetterFromAsyncOverwrite(()=>{p(t,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("dataTransformationType")})}get meanSymbol(){return b(this._config)}set meanSymbol(t){this.guardSetterFromAsyncOverwrite(()=>{F(t,this._config),this.emitConfigUpdate("meanSymbol")})}get medianSymbol(){return D(this._config)}set medianSymbol(t){this.guardSetterFromAsyncOverwrite(()=>{A(t,this._config),this.emitConfigUpdate("medianSymbol")})}get normalDistSymbol(){return O(this._config)}set normalDistSymbol(t){this.guardSetterFromAsyncOverwrite(()=>{_(t,this._config),this.emitConfigUpdate("normalDistSymbol")})}get standardDevSymbol(){return U(this._config)}set standardDevSymbol(t){this.guardSetterFromAsyncOverwrite(()=>{M(t,this._config),this.emitConfigUpdate("standardDevSymbol")})}get showNormalDistOverlay(){return T(this._config)}set showNormalDistOverlay(t){this.guardSetterFromAsyncOverwrite(()=>{E(t,this._config),this.emitConfigUpdate("showNormalDistOverlay")})}get showMeanOverlay(){return I(this._config)}set showMeanOverlay(t){this.guardSetterFromAsyncOverwrite(()=>{x(t,this._config),this.emitConfigUpdate("showMeanOverlay")})}get showMedianOverlay(){return N(this._config)}set showMedianOverlay(t){this.guardSetterFromAsyncOverwrite(()=>{H(t,this._config),this.emitConfigUpdate("showMedianOverlay")})}get showStandardDevOverlay(){return L(this._config)}set showStandardDevOverlay(t){this.guardSetterFromAsyncOverwrite(()=>{W(t,this._config),this.emitConfigUpdate("showStandardDevOverlay")})}get seriesOverlays(){return k(this._config)}set seriesOverlays(t){this.guardSetterFromAsyncOverwrite(()=>{q(t,this._config),this.emitConfigUpdate("seriesOverlays")})}generateChartTitle(){return f(this._config,this.layerInfo,this.commonStrings)}generateXAxisTitle(){return r(this.layerInfo.layerFieldsInfo,this.numericField)}generateDefaultConfig(){return s(this.commonStrings)}};a(e,[m,g,c,h,d,n]);return e},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d,e,f)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import"./V6YYT4N6.js";var d={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u05DC\u05E1\u05E4\u05D9\u05E8\u05D4",_era_bc:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E1",A:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6",P:"\u05D0\u05D7\u05D4\u05F4\u05E6",AM:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6",PM:"\u05D0\u05D7\u05D4\u05F4\u05E6","A.M.":"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6","P.M.":"\u05D0\u05D7\u05D4\u05F4\u05E6",January:"\u05D9\u05E0\u05D5\u05D0\u05E8",February:"\u05E4\u05D1\u05E8\u05D5\u05D0\u05E8",March:"\u05DE\u05E8\u05E5",April:"\u05D0\u05E4\u05E8\u05D9\u05DC",May:"\u05DE\u05D0\u05D9",June:"\u05D9\u05D5\u05E0\u05D9",July:"\u05D9\u05D5\u05DC\u05D9",August:"\u05D0\u05D5\u05D2\u05D5\u05E1\u05D8",September:"\u05E1\u05E4\u05D8\u05DE\u05D1\u05E8",October:"\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8",November:"\u05E0\u05D5\u05D1\u05DE\u05D1\u05E8",December:"\u05D3\u05E6\u05DE\u05D1\u05E8",Jan:"\u05D9\u05E0\u05D5\u05F3",Feb:"\u05E4\u05D1\u05E8\u05F3",Mar:"\u05DE\u05E8\u05E5",Apr:"\u05D0\u05E4\u05E8\u05F3","May(short)":"\u05DE\u05D0\u05D9",Jun:"\u05D9\u05D5\u05E0\u05D9",Jul:"\u05D9\u05D5\u05DC\u05D9",Aug:"\u05D0\u05D5\u05D2\u05F3",Sep:"\u05E1\u05E4\u05D8\u05F3",Oct:"\u05D0\u05D5\u05E7\u05F3",Nov:"\u05E0\u05D5\u05D1\u05F3",Dec:"\u05D3\u05E6\u05DE\u05F3",Sunday:"\u05D9\u05D5\u05DD \u05E8\u05D0\u05E9\u05D5\u05DF",Monday:"\u05D9\u05D5\u05DD \u05E9\u05E0\u05D9",Tuesday:"\u05D9\u05D5\u05DD \u05E9\u05DC\u05D9\u05E9\u05D9",Wednesday:"\u05D9\u05D5\u05DD \u05E8\u05D1\u05D9\u05E2\u05D9",Thursday:"\u05D9\u05D5\u05DD \u05D7\u05DE\u05D9\u05E9\u05D9",Friday:"\u05D9\u05D5\u05DD \u05E9\u05D9\u05E9\u05D9",Saturday:"\u05D9\u05D5\u05DD \u05E9\u05D1\u05EA",Sun:"\u05D9\u05D5\u05DD \u05D0\u05F3",Mon:"\u05D9\u05D5\u05DD \u05D1\u05F3",Tue:"\u05D9\u05D5\u05DD \u05D2\u05F3",Wed:"\u05D9\u05D5\u05DD \u05D3\u05F3",Thu:"\u05D9\u05D5\u05DD \u05D4\u05F3",Fri:"\u05D9\u05D5\u05DD \u05D5\u05F3",Sat:"\u05E9\u05D1\u05EA",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u05D4\u05EA\u05DE\u05E7\u05D3",Play:"\u05E0\u05D2\u05DF",Stop:"\u05E2\u05E6\u05D5\u05E8",Legend:"\u05DE\u05E7\u05E8\u05D0","Press ENTER to toggle":"",Loading:"\u05D8\u05E2\u05D9\u05E0\u05D4",Home:"\u05D3\u05E3 \u05D4\u05D1\u05D9\u05EA",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u05D4\u05D3\u05E4\u05E1",Image:"\u05EA\u05DE\u05D5\u05E0\u05D4",Data:"\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD",Print:"\u05D4\u05D3\u05E4\u05E1","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u05DE %1 \u05E2\u05D3 %2","From %1":"\u05DE %1","To %1":"\u05E2\u05D3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{d as default};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import"./V6YYT4N6.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - d MMM",_date_hour:"HH:mm",_date_hour_full:"HH:mm - d MMM",_date_day:"d MMM",_date_day_full:"d MMM",_date_week:"ww",_date_week_full:"d MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"v.C.",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"a.m.","P.M.":"p.m.",January:"januari",February:"februari",March:"maart",April:"april",May:"mei",June:"juni",July:"juli",August:"augustus",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan",Feb:"feb",Mar:"mrt",Apr:"apr","May(short)":"mei",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"zondag",Monday:"maandag",Tuesday:"dinsdag",Wednesday:"woensdag",Thursday:"donderdag",Friday:"vrijdag",Saturday:"zaterdag",Sun:"Zo",Mon:"Ma",Tue:"Di",Wed:"Wo",Thu:"Do",Fri:"Vr",Sat:"Za",_dateOrd:function(e){let t="de";return(e==1||e==8||e>19)&&(t="ste"),t},"Zoom Out":"Uitzoomen",Play:"Afspelen",Stop:"Stoppen",Legend:"Legenda","Press ENTER to toggle":"Klik, tik of druk op Enter om aan of uit te zetten",Loading:"Laden",Home:"Home",Chart:"Grafiek","Serial chart":"Periodieke grafiek","X/Y chart":"X-Y grafiek","Pie chart":"Taartdiagram","Gauge chart":"Meterdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankey-diagram","Chord diagram":"Chord-diagram","Flow diagram":"Flow-diagram","TreeMap chart":"Treemap-grafiek",Series:"Reeks","Candlestick Series":"Candlestick-reeks","Column Series":"Kolomreeks","Line Series":"Lijnreeks","Pie Slice Series":"Taartpuntreeks","X/Y Series":"XY reeks",Map:"Kaart","Press ENTER to zoom in":"Druk op Enter om in te zoomen","Press ENTER to zoom out":"Druk op Enter om uit te zoomen","Use arrow keys to zoom in and out":"Zoom in of uit met de pijltjestoetsen","Use plus and minus keys on your keyboard to zoom in and out":"Zoom in of uit met de plus- en minustoetsen",Export:"Exporteren",Image:"Afbeelding",Data:"Data",Print:"Printen","Press ENTER to open":"Klik, tik of druk op Enter om te openen","Press ENTER to print.":"Klik, tik of druk op Enter om te printen","Press ENTER to export as %1.":"Klik, tik of druk op Enter om te exporteren als %1","(Press ESC to close this message)":"(Druk op ESC om dit bericht te sluiten)","Image Export Complete":"Afbeelding exporteren gereed","Export operation took longer than expected. Something might have gone wrong.":"Exportproces duurt langer dan verwacht. Er is misschien iets fout gegaan.","Saved from":"Opgeslagen via:",PNG:"PNG",JPG:"JPG",GIF:"GIF",SVG:"SVG",PDF:"PDF",JSON:"JSON",CSV:"CSV",XLSX:"XLSX",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Gebruik Tab om de hendels te selecteren of linker- en rechterpijltje om de selectie te veranderen","Use left and right arrows to move selection":"Gebruik linker- en rechterpijltje om de selectie te verplaatsen","Use left and right arrows to move left selection":"Gebruik linker- en rechterpijltje om de linkerselectie te verplaatsen","Use left and right arrows to move right selection":"Gebruik linker- en rechterpijltje om de rechterselectie te verplaatsen","Use TAB select grip buttons or up and down arrows to change selection":"Gebruik Tab om de hendels te selecteren of pijltje omhoog en omlaag om de selectie te veranderen","Use up and down arrows to move selection":"Gebruik pijltje omhoog en omlaag om de selectie te verplaatsen","Use up and down arrows to move lower selection":"Gebruik pijltje omhoog en omlaag om de onderste selectie te verplaatsen","Use up and down arrows to move upper selection":"Gebruik pijltje omhoog en omlaag om de bovenste selectie te verplaatsen","From %1 to %2":"Van %1 tot %2","From %1":"Van %1","To %1":"Tot %1","No parser available for file: %1":"Geen data-parser beschikbaar voor dit bestand: %1","Error parsing file: %1":"Fout tijdens parsen van bestand: %1","Unable to load file: %1":"Kan bestand niet laden: %1","Invalid date":"Ongeldige datum"};export{r as default};