@arcgis/charts-components 4.34.0-next.133 → 4.34.0-next.134

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 (490) hide show
  1. package/dist/cdn/2E3IS7TE.js +4 -0
  2. package/dist/cdn/{D45CZHE2.js → 2JP4HXGM.js} +2 -2
  3. package/dist/cdn/2UGSDF5S.js +4 -0
  4. package/dist/cdn/2UI53BUA.js +4 -0
  5. package/dist/cdn/{GEDIOBR5.js → 33ODUYUW.js} +2 -2
  6. package/dist/cdn/{XTV4ZNS3.js → 345CUI7H.js} +2 -2
  7. package/dist/cdn/{RUITHGSE.js → 36YTMD4I.js} +2 -2
  8. package/dist/cdn/{UFZYRVE7.js → 37Z6PRXS.js} +2 -2
  9. package/dist/cdn/{Z2XCVWOC.js → 3K6YGN2V.js} +2 -2
  10. package/dist/cdn/{SR2A4NMX.js → 42TBUESD.js} +2 -2
  11. package/dist/cdn/4FDUIC3M.js +4 -0
  12. package/dist/cdn/4KVHYQTC.js +4 -0
  13. package/dist/cdn/{T7KKRGGR.js → 4MMUT4XI.js} +2 -2
  14. package/dist/cdn/4MVTJNW3.js +4 -0
  15. package/dist/cdn/{GGOZO4VQ.js → 4UBKCEUJ.js} +2 -2
  16. package/dist/cdn/53ZA2SWY.js +4 -0
  17. package/dist/cdn/55FGHNR6.js +4 -0
  18. package/dist/cdn/{ZICUYUS6.js → 5DFU2UNL.js} +2 -2
  19. package/dist/cdn/{43HAAYMT.js → 5KZ33NJZ.js} +2 -2
  20. package/dist/cdn/64ANZTCU.js +4 -0
  21. package/dist/cdn/7EE3XI6N.js +4 -0
  22. package/dist/cdn/{CM7K4GTU.js → 7HO2L32T.js} +2 -2
  23. package/dist/cdn/{P7KF5JET.js → 7J5TNJUW.js} +2 -2
  24. package/dist/cdn/{RRLCJ57J.js → 7LSMIUEZ.js} +2 -2
  25. package/dist/cdn/{L4H6YH5Y.js → 7NZOXIWW.js} +2 -2
  26. package/dist/cdn/{XPILWWYR.js → 7OEO3LS3.js} +2 -2
  27. package/dist/cdn/7VIBSJ43.js +6 -0
  28. package/dist/cdn/A5VP7RVX.js +4 -0
  29. package/dist/cdn/{CJVFUW4O.js → BCWGZAOJ.js} +2 -2
  30. package/dist/cdn/{EVU255KS.js → BGHF3FF5.js} +2 -2
  31. package/dist/cdn/{OS62HQHX.js → BRYJQPP2.js} +2 -2
  32. package/dist/cdn/BSTAS6E7.js +4 -0
  33. package/dist/cdn/BYTUXMEQ.js +4 -0
  34. package/dist/cdn/BYZ7WSA6.js +4 -0
  35. package/dist/cdn/CBTAKQLF.js +4 -0
  36. package/dist/cdn/{VYBX4M2C.js → CEMXJHUA.js} +2 -2
  37. package/dist/cdn/{ABC5XNN2.js → CEPR23EI.js} +2 -2
  38. package/dist/cdn/COUVCK2K.js +4 -0
  39. package/dist/cdn/CRMQNQD3.js +4 -0
  40. package/dist/cdn/{ECC5QDAN.js → D2AGQ7DV.js} +2 -2
  41. package/dist/cdn/{BDT6LLVB.js → DC4VIJIA.js} +1 -1
  42. package/dist/cdn/{RB2I4UMU.js → DES4K7UM.js} +2 -2
  43. package/dist/cdn/{W7ZIYQAI.js → DQETU4EB.js} +2 -2
  44. package/dist/cdn/{G5R4MC6G.js → DTZBPSJX.js} +2 -2
  45. package/dist/cdn/{ZYAD7QEA.js → DUCIEUF5.js} +1 -1
  46. package/dist/cdn/DWFY3KS5.js +4 -0
  47. package/dist/cdn/{LMWCVGIH.js → DWXKBH3W.js} +2 -2
  48. package/dist/cdn/E2WWC5YM.js +4 -0
  49. package/dist/cdn/{TCLTZQ4L.js → E457EO33.js} +1 -1
  50. package/dist/cdn/{IVES7MGJ.js → EBVP5PIC.js} +2 -2
  51. package/dist/cdn/EHECRQDS.js +4 -0
  52. package/dist/cdn/{R7VAEYI3.js → EI65CQMW.js} +2 -2
  53. package/dist/cdn/EITOQXPH.js +4 -0
  54. package/dist/cdn/{PYPROFQJ.js → EQN3WK6W.js} +2 -2
  55. package/dist/cdn/{ORJN4H7K.js → EZ6RMWV4.js} +2 -2
  56. package/dist/cdn/EZKCDCUJ.js +4 -0
  57. package/dist/cdn/F52MDM7Z.js +4 -0
  58. package/dist/cdn/{H7W67YLU.js → F5KMFPIM.js} +2 -2
  59. package/dist/cdn/{DY7D3OPA.js → FBE7Y244.js} +2 -2
  60. package/dist/cdn/FLSKBLV6.js +4 -0
  61. package/dist/cdn/FMQYINJQ.js +4 -0
  62. package/dist/cdn/FPT242XK.js +4 -0
  63. package/dist/cdn/{EZB54JPZ.js → GCUYJLG6.js} +2 -2
  64. package/dist/cdn/GSJARR3U.js +4 -0
  65. package/dist/cdn/{W76PT7HY.js → GXLKQWBR.js} +2 -2
  66. package/dist/cdn/{RM7ZBSHX.js → H36LFHPX.js} +2 -2
  67. package/dist/cdn/{24DAHIO6.js → HBDU33M6.js} +1 -1
  68. package/dist/cdn/{JQ3LB6MQ.js → HBMQ5HPG.js} +2 -2
  69. package/dist/cdn/{GM4XXTCA.js → HGOZ2ZGM.js} +2 -2
  70. package/dist/cdn/{XCIMUKWV.js → HN7C4SAA.js} +1 -1
  71. package/dist/cdn/HOJUMNGE.js +4 -0
  72. package/dist/cdn/{YVPIQQFE.js → HPYTZFU4.js} +2 -2
  73. package/dist/cdn/HUZF7ROD.js +4 -0
  74. package/dist/cdn/{CS3BOFFY.js → ILQDP7QI.js} +2 -2
  75. package/dist/cdn/{7O54JBEN.js → IWASLPY7.js} +2 -2
  76. package/dist/cdn/{4V7FR2G5.js → IXP6PKTK.js} +2 -2
  77. package/dist/cdn/{LVY6D5W2.js → JGTIE6RH.js} +2 -2
  78. package/dist/cdn/{I5ABWZVQ.js → K3K4AFGG.js} +2 -2
  79. package/dist/cdn/{5OHEKLXA.js → KAFNNITC.js} +2 -2
  80. package/dist/cdn/KJKDFYEH.js +4 -0
  81. package/dist/cdn/{242HHOQJ.js → KJYKQZRA.js} +2 -2
  82. package/dist/cdn/{3MBUNISS.js → KMAYPGNB.js} +2 -2
  83. package/dist/cdn/KUUO6HB6.js +4 -0
  84. package/dist/cdn/KXL3KT6S.js +4 -0
  85. package/dist/cdn/{MLY5C27B.js → KYXE3HUF.js} +2 -2
  86. package/dist/cdn/{F7V7HKDY.js → L3CTNMTS.js} +2 -2
  87. package/dist/cdn/L3V6UH6S.js +4 -0
  88. package/dist/cdn/L7E4FJDQ.js +4 -0
  89. package/dist/cdn/LASA4MRC.js +4 -0
  90. package/dist/cdn/{YIGXD2L4.js → LB3SNBFD.js} +2 -2
  91. package/dist/cdn/{O54MKBEI.js → LBGCZGAX.js} +2 -2
  92. package/dist/cdn/{PB6FGKPM.js → LBGUZNAX.js} +2 -2
  93. package/dist/cdn/{MV3ZDNO6.js → LP5BE65B.js} +2 -2
  94. package/dist/cdn/{P3VC6JN2.js → LPOS6BQM.js} +2 -2
  95. package/dist/cdn/LUR7LJFK.js +4 -0
  96. package/dist/cdn/LYDS4GEI.js +4 -0
  97. package/dist/cdn/{EYS7YO4Q.js → M6DVHL3K.js} +2 -2
  98. package/dist/cdn/MAUSN44L.js +4 -0
  99. package/dist/cdn/MDR2NNAF.js +4 -0
  100. package/dist/cdn/MLADAGKK.js +4 -0
  101. package/dist/cdn/{M2F7E4Y4.js → MLSSQWMC.js} +2 -2
  102. package/dist/cdn/MRFBVMRO.js +4 -0
  103. package/dist/cdn/{W76CLY5C.js → N2R7QPCT.js} +2 -2
  104. package/dist/cdn/N7OX6LXD.js +4 -0
  105. package/dist/cdn/{XZ3Y4RVA.js → NDMFU35G.js} +2 -2
  106. package/dist/cdn/{HUWGHBRZ.js → NMAQMHXT.js} +2 -2
  107. package/dist/cdn/NMIPTLWZ.js +4 -0
  108. package/dist/cdn/NNWOGOSP.js +4 -0
  109. package/dist/cdn/{7T46JHAF.js → O5XDPJNY.js} +2 -2
  110. package/dist/cdn/{DYRFTD3D.js → O6HSBDCJ.js} +2 -2
  111. package/dist/cdn/{DBSQ5NK7.js → O6QMMQO5.js} +2 -2
  112. package/dist/cdn/OE7KYZ5O.js +4 -0
  113. package/dist/cdn/OFVTZAGO.js +4 -0
  114. package/dist/cdn/OQ7FJA7M.js +4 -0
  115. package/dist/cdn/{KPVC6355.js → OVCJJCT6.js} +2 -2
  116. package/dist/cdn/P2LTGRCA.js +4 -0
  117. package/dist/cdn/PFKCQE7S.js +4 -0
  118. package/dist/cdn/{LI4GQAGD.js → PFS7GYLU.js} +2 -2
  119. package/dist/cdn/{ZYYBPWMB.js → PK4JENCK.js} +2 -2
  120. package/dist/cdn/{SEY5WJP3.js → PM76WXXN.js} +2 -2
  121. package/dist/cdn/{SNFBCF6G.js → PP2WGWNL.js} +2 -2
  122. package/dist/cdn/QBXSHCBY.js +4 -0
  123. package/dist/cdn/{7KKTJJQW.js → QHVEG7RL.js} +24 -24
  124. package/dist/cdn/{PN5FFGBJ.js → QQMF2KZF.js} +2 -2
  125. package/dist/cdn/{GPOH2UCS.js → QXVVWWXW.js} +2 -2
  126. package/dist/cdn/{QFOWFEM2.js → R3LA7FCH.js} +2 -2
  127. package/dist/cdn/{ZAOD52ES.js → RDH7Z64Y.js} +2 -2
  128. package/dist/cdn/RNSVT6TD.js +4 -0
  129. package/dist/cdn/{K4AWTJOG.js → RPOTPFED.js} +2 -2
  130. package/dist/cdn/S2GR7434.js +4 -0
  131. package/dist/cdn/{JBWR4HRL.js → SFMZEZA6.js} +2 -2
  132. package/dist/cdn/SHK44C2T.js +4 -0
  133. package/dist/cdn/{E24JF65C.js → SKGEU2PM.js} +2 -2
  134. package/dist/cdn/{GVJNZ3BU.js → SLFVWEQC.js} +2 -2
  135. package/dist/cdn/{H7CMNU7I.js → SM5XHYXT.js} +2 -2
  136. package/dist/cdn/{KMG7O5IS.js → SQALJA3D.js} +2 -2
  137. package/dist/cdn/{NEMPZQ3P.js → SXX3GYO3.js} +2 -2
  138. package/dist/cdn/T2LODXO4.js +4 -0
  139. package/dist/cdn/{ZIVFGCKT.js → T3ASKJ6P.js} +2 -2
  140. package/dist/cdn/{HG64XC5O.js → TEIWIC5H.js} +2 -2
  141. package/dist/cdn/{U456OB3X.js → TH5K5AYK.js} +2 -2
  142. package/dist/cdn/{VCXTT3QO.js → TJP7BFHN.js} +2 -2
  143. package/dist/cdn/TV3SJPM5.js +4 -0
  144. package/dist/cdn/U3HXNRE5.js +4 -0
  145. package/dist/cdn/U3RDQFNW.js +4 -0
  146. package/dist/cdn/{EX5X2DRL.js → U5YBKPIO.js} +2 -2
  147. package/dist/cdn/{DKZRIFJA.js → UK7T7C3K.js} +2 -2
  148. package/dist/cdn/{WQFOGW5O.js → UOJ37TKB.js} +5 -5
  149. package/dist/cdn/{IBVRLJYO.js → UPVTLHN2.js} +1 -1
  150. package/dist/cdn/{6RKELCIJ.js → UQFMB52B.js} +2 -2
  151. package/dist/cdn/{TNVZCPUU.js → VAQ7HSU5.js} +2 -2
  152. package/dist/cdn/{AVCMN6JQ.js → VCOS6U2O.js} +2 -2
  153. package/dist/cdn/{HL4FMKLD.js → VOXU5MID.js} +2 -2
  154. package/dist/cdn/VZBOEVVE.js +4 -0
  155. package/dist/cdn/{5L3Z7DGV.js → W5KVMQSU.js} +2 -2
  156. package/dist/cdn/WIK6AIVK.js +4 -0
  157. package/dist/cdn/{LJTMBIEZ.js → WPMYUDAS.js} +2 -2
  158. package/dist/cdn/{VHT2RUMO.js → WRBM55IF.js} +2 -2
  159. package/dist/cdn/{7LJB5FJA.js → WSXOVACX.js} +2 -2
  160. package/dist/cdn/{MGNB3QFQ.js → WU3V4L2S.js} +2 -2
  161. package/dist/cdn/WY7KSAKM.js +4 -0
  162. package/dist/cdn/X2U2T7IQ.js +4 -0
  163. package/dist/cdn/{DNTCOHRU.js → XLK4A3OG.js} +2 -2
  164. package/dist/cdn/{LPFHRVVZ.js → XZ3NQ6JY.js} +2 -2
  165. package/dist/cdn/Y56U2XJ5.js +4 -0
  166. package/dist/cdn/YA46UZPV.js +4 -0
  167. package/dist/cdn/{IIYAJXGS.js → YFLAGOUR.js} +2 -2
  168. package/dist/cdn/{MEMYXW4B.js → YGDFMR5D.js} +2 -2
  169. package/dist/cdn/ZHHEZSJZ.js +4 -0
  170. package/dist/cdn/{IJAQUNBW.js → ZHZDNUYK.js} +2 -2
  171. package/dist/cdn/{HSAF6WE3.js → ZLWCWJW6.js} +2 -2
  172. package/dist/cdn/ZMBDLAWX.js +4 -0
  173. package/dist/cdn/{4466PFG7.js → ZP4KDA2I.js} +2 -2
  174. package/dist/cdn/ZP4QZEPX.js +4 -0
  175. package/dist/cdn/ZR6SXNKM.js +4 -0
  176. package/dist/cdn/{V5HHWM6M.js → ZWOUCEXH.js} +1 -1
  177. package/dist/cdn/{3CZWTZHM.js → ZX5SJS2A.js} +2 -2
  178. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ar.json +1 -1
  179. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.bg.json +1 -1
  180. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.bs.json +1 -1
  181. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ca.json +1 -1
  182. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.cs.json +1 -1
  183. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.da.json +1 -1
  184. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.de.json +1 -1
  185. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.el.json +1 -1
  186. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.es.json +1 -1
  187. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.et.json +1 -1
  188. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.fi.json +1 -1
  189. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.fr.json +1 -1
  190. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.he.json +1 -1
  191. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.hr.json +1 -1
  192. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.hu.json +1 -1
  193. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.id.json +1 -1
  194. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.it.json +1 -1
  195. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ja.json +1 -1
  196. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ko.json +1 -1
  197. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.lt.json +1 -1
  198. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.lv.json +1 -1
  199. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.nl.json +1 -1
  200. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.no.json +1 -1
  201. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pl.json +1 -1
  202. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pt-BR.json +1 -1
  203. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pt-PT.json +1 -1
  204. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ro.json +1 -1
  205. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ru.json +1 -1
  206. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sk.json +1 -1
  207. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sl.json +1 -1
  208. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sr.json +1 -1
  209. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sv.json +1 -1
  210. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.th.json +1 -1
  211. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.tr.json +1 -1
  212. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.uk.json +1 -1
  213. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.vi.json +1 -1
  214. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-CN.json +1 -1
  215. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-HK.json +1 -1
  216. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-TW.json +1 -1
  217. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ar.json +1 -1
  218. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.bg.json +1 -1
  219. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.bs.json +1 -1
  220. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ca.json +1 -1
  221. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.cs.json +1 -1
  222. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.da.json +1 -1
  223. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.de.json +1 -1
  224. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.el.json +1 -1
  225. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.es.json +1 -1
  226. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.et.json +1 -1
  227. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.fi.json +1 -1
  228. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.fr.json +1 -1
  229. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.he.json +1 -1
  230. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.hr.json +1 -1
  231. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.hu.json +1 -1
  232. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.id.json +1 -1
  233. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.it.json +1 -1
  234. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ja.json +1 -1
  235. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ko.json +1 -1
  236. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.lt.json +1 -1
  237. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.lv.json +1 -1
  238. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.nl.json +1 -1
  239. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.no.json +1 -1
  240. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.pl.json +1 -1
  241. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.pt-BR.json +1 -1
  242. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.pt-PT.json +1 -1
  243. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ro.json +1 -1
  244. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ru.json +1 -1
  245. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.sk.json +1 -1
  246. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.sl.json +1 -1
  247. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.sr.json +1 -1
  248. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.sv.json +1 -1
  249. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.th.json +1 -1
  250. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.tr.json +1 -1
  251. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.uk.json +1 -1
  252. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.vi.json +1 -1
  253. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-CN.json +1 -1
  254. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-HK.json +1 -1
  255. package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-TW.json +1 -1
  256. package/dist/cdn/index.js +2 -2
  257. package/dist/chart-rendering/common/defaults/interfaces.d.ts +1 -0
  258. package/dist/chart-rendering/common/modal/index.d.ts +11 -0
  259. package/dist/chart-rendering/common/selection/index.d.ts +1 -0
  260. package/dist/chart-rendering/next/chart-library-elements/labels/index.d.ts +2 -0
  261. package/dist/chart-rendering/next/chart-library-elements/legend/pie-chart/index.d.ts +2 -1
  262. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +11 -6
  263. package/dist/chart-rendering/next/defaults/index.d.ts +1 -1
  264. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +3 -2
  265. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +1 -1
  266. package/dist/chunks/action-bar-utils.js +2 -2
  267. package/dist/chunks/axis-model-wrapper.js +1 -1
  268. package/dist/chunks/bar-chart-model.js +2 -2
  269. package/dist/chunks/bar-chart-series.js +2 -2
  270. package/dist/chunks/baseline-stacking.js +12 -12
  271. package/dist/chunks/bg_BG.js +1 -1
  272. package/dist/chunks/bg_BG2.js +1 -1
  273. package/dist/chunks/box-plot-data.js +58 -57
  274. package/dist/chunks/box-plot-model.js +6 -6
  275. package/dist/chunks/chart-ui-utils.js +2 -2
  276. package/dist/chunks/chart-ui-utils2.js +40 -39
  277. package/dist/chunks/combo-bar-line-chart-model.js +3 -3
  278. package/dist/chunks/common.js +1 -1
  279. package/dist/chunks/data.js +141 -140
  280. package/dist/chunks/default.js +9 -8
  281. package/dist/chunks/gauge-model.js +4 -4
  282. package/dist/chunks/histogram-data.js +14 -14
  283. package/dist/chunks/histogram-model.js +3 -3
  284. package/dist/chunks/index.js +109 -109
  285. package/dist/chunks/index2.js +1 -1
  286. package/dist/chunks/index3.js +37 -63
  287. package/dist/chunks/index4.js +63 -89
  288. package/dist/chunks/index5.js +95 -0
  289. package/dist/chunks/interfaces.js +206 -208
  290. package/dist/chunks/interfaces2.js +2 -2
  291. package/dist/chunks/line-chart-model.js +2 -2
  292. package/dist/chunks/model-with-baseline-stacking.js +2 -2
  293. package/dist/chunks/model-with-data-labels.js +2 -2
  294. package/dist/chunks/model-with-multi-axes.js +51 -50
  295. package/dist/chunks/model-with-rotation.js +1 -1
  296. package/dist/chunks/pie-chart-data.js +20 -20
  297. package/dist/chunks/pie-chart-model.js +12 -11
  298. package/dist/chunks/popover-ui-utils.js +1 -1
  299. package/dist/chunks/radar-chart-model.js +2 -2
  300. package/dist/chunks/resource.js +1 -1
  301. package/dist/chunks/rest-js-object-literals.js +103 -0
  302. package/dist/chunks/runtime.js +1 -1
  303. package/dist/chunks/scatterplot-model.js +14 -14
  304. package/dist/chunks/serial-chart-model.js +26 -26
  305. package/dist/chunks/series-types.js +57 -154
  306. package/dist/chunks/series.js +3 -3
  307. package/dist/chunks/sk_SK.js +1 -1
  308. package/dist/chunks/store.js +1 -1
  309. package/dist/chunks/type-guards.js +2 -2
  310. package/dist/chunks/useT9n.js +1 -1
  311. package/dist/chunks/web-component-utils.js +80 -78
  312. package/dist/components/arcgis-chart/customElement.d.ts +656 -0
  313. package/dist/components/arcgis-chart/customElement.js +2600 -2545
  314. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +312 -0
  315. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  316. package/dist/components/arcgis-charts-config-axes/customElement.d.ts +57 -0
  317. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  318. package/dist/components/arcgis-charts-config-axis/customElement.d.ts +77 -0
  319. package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
  320. package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +46 -0
  321. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
  322. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.d.ts +16 -0
  323. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -2
  324. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.d.ts +51 -0
  325. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -3
  326. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.d.ts +28 -0
  327. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  328. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +52 -0
  329. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  330. package/dist/components/arcgis-charts-config-box-plot/customElement.d.ts +37 -0
  331. package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
  332. package/dist/components/arcgis-charts-config-box-plot-data/customElement.d.ts +11 -0
  333. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  334. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +44 -0
  335. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +4 -3
  336. package/dist/components/arcgis-charts-config-box-plot-series/customElement.d.ts +29 -0
  337. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  338. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.d.ts +88 -0
  339. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -6
  340. package/dist/components/arcgis-charts-config-category-format/customElement.d.ts +11 -0
  341. package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
  342. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.d.ts +23 -0
  343. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -2
  344. package/dist/components/arcgis-charts-config-color-style/customElement.d.ts +33 -0
  345. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  346. package/dist/components/arcgis-charts-config-colors/customElement.d.ts +16 -0
  347. package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
  348. package/dist/components/arcgis-charts-config-create-flow/customElement.d.ts +140 -0
  349. package/dist/components/arcgis-charts-config-create-flow/customElement.js +3 -3
  350. package/dist/components/arcgis-charts-config-field-select/customElement.d.ts +17 -0
  351. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  352. package/dist/components/arcgis-charts-config-font-style/customElement.d.ts +33 -0
  353. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -3
  354. package/dist/components/arcgis-charts-config-format/customElement.d.ts +6 -0
  355. package/dist/components/arcgis-charts-config-format/customElement.js +9 -8
  356. package/dist/components/arcgis-charts-config-format-popover/customElement.d.ts +48 -0
  357. package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -2
  358. package/dist/components/arcgis-charts-config-general/customElement.d.ts +11 -0
  359. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  360. package/dist/components/arcgis-charts-config-guide/customElement.d.ts +39 -0
  361. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -5
  362. package/dist/components/arcgis-charts-config-guide-popover/customElement.d.ts +43 -0
  363. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -2
  364. package/dist/components/arcgis-charts-config-guides/customElement.d.ts +35 -0
  365. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  366. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.d.ts +50 -0
  367. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  368. package/dist/components/arcgis-charts-config-histogram/customElement.d.ts +36 -0
  369. package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
  370. package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +66 -0
  371. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -9
  372. package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +62 -0
  373. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -3
  374. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.d.ts +11 -0
  375. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  376. package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +49 -0
  377. package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
  378. package/dist/components/arcgis-charts-config-line-chart-data/customElement.d.ts +15 -0
  379. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +8 -7
  380. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.d.ts +48 -0
  381. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +3 -2
  382. package/dist/components/arcgis-charts-config-line-chart-series/customElement.d.ts +18 -0
  383. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  384. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.d.ts +72 -0
  385. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -6
  386. package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +29 -0
  387. package/dist/components/arcgis-charts-config-line-style/customElement.js +4 -3
  388. package/dist/components/arcgis-charts-config-number-format/customElement.d.ts +6 -0
  389. package/dist/components/arcgis-charts-config-number-format/customElement.js +6 -6
  390. package/dist/components/arcgis-charts-config-pie-chart/customElement.d.ts +58 -0
  391. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -10
  392. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.d.ts +21 -0
  393. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
  394. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +38 -0
  395. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -2
  396. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.d.ts +17 -0
  397. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -2
  398. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.d.ts +53 -0
  399. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  400. package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +42 -0
  401. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
  402. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.d.ts +27 -0
  403. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +4 -3
  404. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.d.ts +72 -0
  405. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -3
  406. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.d.ts +47 -0
  407. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  408. package/dist/components/arcgis-charts-config-view-charts/customElement.d.ts +53 -0
  409. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  410. package/dist/docs/api.json +2 -2
  411. package/dist/docs/docs.json +2 -2
  412. package/dist/docs/web-types.json +1 -1
  413. package/dist/index.js +97 -95
  414. package/dist/json-schema/index.d.ts +2 -3
  415. package/dist/loader.js +1 -1
  416. package/dist/model.js +108 -0
  417. package/dist/spec/web-chart.d.ts +5 -7
  418. package/dist/types/preact.d.ts +5 -5
  419. package/dist/types/preact10.d.ts +45 -0
  420. package/dist/utils/chart-config/converter/index.d.ts +5 -1
  421. package/package.json +3 -3
  422. package/dist/cdn/2EJE4FLF.js +0 -4
  423. package/dist/cdn/2FC5UY4T.js +0 -4
  424. package/dist/cdn/327UWW2L.js +0 -4
  425. package/dist/cdn/3JESR7CT.js +0 -4
  426. package/dist/cdn/3LZN7PXA.js +0 -4
  427. package/dist/cdn/3NC5KR57.js +0 -6
  428. package/dist/cdn/3ZADMIIJ.js +0 -4
  429. package/dist/cdn/4LCCBDIS.js +0 -4
  430. package/dist/cdn/4LU4QUOE.js +0 -4
  431. package/dist/cdn/4TRECIN6.js +0 -4
  432. package/dist/cdn/52DFGWDR.js +0 -4
  433. package/dist/cdn/7YQXY7D2.js +0 -4
  434. package/dist/cdn/A5IOGEID.js +0 -4
  435. package/dist/cdn/ASOYG4RR.js +0 -4
  436. package/dist/cdn/AWDEZJ23.js +0 -4
  437. package/dist/cdn/BUU3I54B.js +0 -4
  438. package/dist/cdn/BWIM2NBK.js +0 -4
  439. package/dist/cdn/C4XZIGE6.js +0 -4
  440. package/dist/cdn/E4K5XM7A.js +0 -4
  441. package/dist/cdn/EKOQVG3D.js +0 -4
  442. package/dist/cdn/EQELOTPK.js +0 -4
  443. package/dist/cdn/FMEH7IST.js +0 -4
  444. package/dist/cdn/FMYMWNE4.js +0 -4
  445. package/dist/cdn/FSWOPYBN.js +0 -4
  446. package/dist/cdn/G74QIJDJ.js +0 -4
  447. package/dist/cdn/GBTMMCEO.js +0 -4
  448. package/dist/cdn/H4FV545A.js +0 -4
  449. package/dist/cdn/HNLUJXMC.js +0 -4
  450. package/dist/cdn/INCLSGOT.js +0 -4
  451. package/dist/cdn/IPE33ZIC.js +0 -4
  452. package/dist/cdn/J7DY2OM5.js +0 -4
  453. package/dist/cdn/JIL35SOE.js +0 -4
  454. package/dist/cdn/JOJ6N7Y2.js +0 -4
  455. package/dist/cdn/JY24ZNUX.js +0 -4
  456. package/dist/cdn/K2JCVXGZ.js +0 -4
  457. package/dist/cdn/K36YEPY4.js +0 -4
  458. package/dist/cdn/KDHW3VAE.js +0 -4
  459. package/dist/cdn/KLDMKAIN.js +0 -4
  460. package/dist/cdn/L2O5JJD6.js +0 -4
  461. package/dist/cdn/L6EW6HYU.js +0 -4
  462. package/dist/cdn/L7UJ5NS6.js +0 -4
  463. package/dist/cdn/LEQXTFFV.js +0 -4
  464. package/dist/cdn/LQFM6EY7.js +0 -4
  465. package/dist/cdn/MSUAHVA7.js +0 -4
  466. package/dist/cdn/P3RVLUDT.js +0 -4
  467. package/dist/cdn/PPWPSUPN.js +0 -4
  468. package/dist/cdn/PUUBM4VX.js +0 -4
  469. package/dist/cdn/PXNKHBN4.js +0 -4
  470. package/dist/cdn/QEVWDYMP.js +0 -4
  471. package/dist/cdn/R33YDTDG.js +0 -4
  472. package/dist/cdn/R64LQ6RP.js +0 -4
  473. package/dist/cdn/SHW2VSRV.js +0 -4
  474. package/dist/cdn/SKRKITZZ.js +0 -4
  475. package/dist/cdn/SQF7QRAJ.js +0 -4
  476. package/dist/cdn/TWOBVALM.js +0 -4
  477. package/dist/cdn/UG4SAMSC.js +0 -4
  478. package/dist/cdn/UNASRLMU.js +0 -4
  479. package/dist/cdn/VBHVHXBZ.js +0 -4
  480. package/dist/cdn/VHIVAKKW.js +0 -4
  481. package/dist/cdn/X2CPFUJE.js +0 -4
  482. package/dist/cdn/X56JHBIM.js +0 -4
  483. package/dist/cdn/XPSMZ26W.js +0 -4
  484. package/dist/cdn/YAUI4OXF.js +0 -4
  485. package/dist/cdn/YEN7CWDW.js +0 -4
  486. package/dist/cdn/YWVOILJX.js +0 -4
  487. package/dist/cdn/Z76CZKIK.js +0 -4
  488. package/dist/cdn/ZQ47IU2U.js +0 -4
  489. package/dist/cdn/ZQR7DMQ2.js +0 -4
  490. package/dist/chunks/setup-utils.js +0 -113
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import{a as rr,b as nr,g as sr}from"./VHIVAKKW.js";import a from"./WQFOGW5O.js";import{I as j,P as y,S as B,a as T,b as ne,d as At,h as V,k as R,p as Qe,q as Xe,v as W}from"./FSWOPYBN.js";import{d as zt}from"./BDT6LLVB.js";export default $arcgis.t(([{$a:ve,$b:er,A:Ut,Fa:b,Mb:_t,Sa:Ke,db:_e,dc:tr,eb:Ht,fb:Gt,h:jt,i:Ie,ia:Rt,ib:Jt,jb:Qt,mb:Se,ob:Xt,qc:Y,rb:Kt,rc:et,ya:Yt,z:Pt}])=>{var U=class extends Error{},ct=class extends U{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},dt=class extends U{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},ht=class extends U{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},J=class extends U{},qe=class extends U{constructor(e){super(`Invalid unit ${e}`)}},x=class extends U{},z=class extends U{constructor(){super("Zone is an abstract class")}},c="numeric",A="short",I="long",Ae={year:c,month:c,day:c},tn={year:c,month:A,day:c},us={year:c,month:A,day:c,weekday:A},rn={year:c,month:I,day:c},nn={year:c,month:I,day:c,weekday:I},sn={hour:c,minute:c},on={hour:c,minute:c,second:c},an={hour:c,minute:c,second:c,timeZoneName:A},un={hour:c,minute:c,second:c,timeZoneName:I},ln={hour:c,minute:c,hourCycle:"h23"},cn={hour:c,minute:c,second:c,hourCycle:"h23"},dn={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:A},hn={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:I},mn={year:c,month:c,day:c,hour:c,minute:c},fn={year:c,month:c,day:c,hour:c,minute:c,second:c},yn={year:c,month:A,day:c,hour:c,minute:c},gn={year:c,month:A,day:c,hour:c,minute:c,second:c},ls={year:c,month:A,day:c,weekday:A,hour:c,minute:c},pn={year:c,month:I,day:c,hour:c,minute:c,timeZoneName:A},wn={year:c,month:I,day:c,hour:c,minute:c,second:c,timeZoneName:A},vn={year:c,month:I,day:c,weekday:I,hour:c,minute:c,timeZoneName:I},Sn={year:c,month:I,day:c,weekday:I,hour:c,minute:c,second:c,timeZoneName:I},te=class{get type(){throw new z}get name(){throw new z}get ianaName(){return this.name}get isUniversal(){throw new z}offsetName(e,r){throw new z}formatOffset(e,r){throw new z}offset(e){throw new z}equals(e){throw new z}get isValid(){throw new z}},tt=null,ze=class t extends te{static get instance(){return tt===null&&(tt=new t),tt}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Vn(e,r,n)}formatOffset(e,r){return be(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},mt=new Map;function cs(t){let e=mt.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),mt.set(t,e)),e}var ds={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hs(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,i,o,a,u,l,d]=n;return[o,s,i,a,u,l,d]}function ms(t,e){let r=t.formatToParts(e),n=[];for(let s=0;s<r.length;s++){let{type:i,value:o}=r[s],a=ds[i];i==="era"?n[a]=o:f(a)||(n[a]=parseInt(o,10))}return n}var rt=new Map,X=class t extends te{static create(e){let r=rt.get(e);return r===void 0&&rt.set(e,r=new t(e)),r}static resetCache(){rt.clear(),mt.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return Vn(e,r,n,this.name)}formatOffset(e,r){return be(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=cs(this.name),[s,i,o,a,u,l,d]=n.formatToParts?ms(n,r):hs(n,r);a==="BC"&&(s=-Math.abs(s)+1);let h=He({year:s,month:i,day:o,hour:u===24?0:u,minute:l,second:d,millisecond:0}),g=+r,m=g%1e3;return g-=m>=0?m:1e3+m,(h-g)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},ir={};function fs(t,e={}){let r=JSON.stringify([t,e]),n=ir[r];return n||(n=new Intl.ListFormat(t,e),ir[r]=n),n}var ft=new Map;function yt(t,e={}){let r=JSON.stringify([t,e]),n=ft.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),ft.set(r,n)),n}var gt=new Map;function ys(t,e={}){let r=JSON.stringify([t,e]),n=gt.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),gt.set(r,n)),n}var pt=new Map;function gs(t,e={}){let{base:r,...n}=e,s=JSON.stringify([t,n]),i=pt.get(s);return i===void 0&&(i=new Intl.RelativeTimeFormat(t,e),pt.set(s,i)),i}var $e=null;function ps(){return $e||($e=new Intl.DateTimeFormat().resolvedOptions().locale,$e)}var wt=new Map;function kn(t){let e=wt.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),wt.set(t,e)),e}var vt=new Map;function ws(t){let e=vt.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...Tn,...e}),vt.set(t,e)}return e}function vs(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,s;try{n=yt(t).resolvedOptions(),s=t}catch{let a=t.substring(0,r);n=yt(a).resolvedOptions(),s=a}let{numberingSystem:i,calendar:o}=n;return[s,i,o]}}function Ss(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function ks(t){let e=[];for(let r=1;r<=12;r++){let n=S.utc(2009,r,1);e.push(t(n))}return e}function Ts(t){let e=[];for(let r=1;r<=7;r++){let n=S.utc(2016,11,13+r);e.push(t(n))}return e}function Ve(t,e,r,n){let s=t.listingMode();return s==="error"?null:s==="en"?r(e):n(e)}function Os(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||kn(t.locale).numberingSystem==="latn"}var St=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:s,floor:i,...o}=n;if(!r||Object.keys(o).length>0){let a={useGrouping:!1,...n};n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=ys(e,a)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):Ct(e,3);return O(r,this.padTo)}}},kt=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let o=-1*(e.offset/60),a=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;e.offset!==0&&X.create(a).valid?(s=a,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=yt(r,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Tt=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&Fn()&&(this.rtf=gs(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):Us(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},Tn={firstDay:1,minimalDays:4,weekend:[6,7]},w=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,s,i=!1){let o=e||v.defaultLocale,a=o||(i?"en-US":ps()),u=r||v.defaultNumberingSystem,l=n||v.defaultOutputCalendar,d=xt(s)||v.defaultWeekSettings;return new t(a,u,l,d,o)}static resetCache(){$e=null,ft.clear(),gt.clear(),pt.clear(),wt.clear(),vt.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:s}={}){return t.create(e,r,n,s)}constructor(e,r,n,s,i){let[o,a,u]=vs(e);this.locale=o,this.numberingSystem=r||a||null,this.outputCalendar=n||u||null,this.weekSettings=s,this.intl=Ss(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Os(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,xt(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return Ve(this,e,Ln,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let s=r?{month:e,day:"numeric"}:{month:e},i=r?"format":"standalone";if(!this.monthsCache[i][e]){let o=n?a=>this.dtFormatter(a,s).format():a=>this.extract(a,s,"month");this.monthsCache[i][e]=ks(o)}return this.monthsCache[i][e]})}weekdays(e,r=!1){return Ve(this,e,Bn,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=r?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=Ts(i=>this.extract(i,n,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return Ve(this,void 0,()=>Zn,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[S.utc(2016,11,13,9),S.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Ve(this,e,qn,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[S.utc(-40,1,1),S.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let s=this.dtFormatter(e,r),i=s.formatToParts(),o=i.find(a=>a.type.toLowerCase()===n);return o?o.value:null}numberFormatter(e={}){return new St(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new kt(e,this.intl,r)}relFormatter(e={}){return new Tt(this.intl,this.isEnglish(),e)}listFormatter(e={}){return fs(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||kn(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:In()?ws(this.locale):Tn}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},nt=null,$=class t extends te{static get utcInstance(){return nt===null&&(nt=new t(0)),nt}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(Ge(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${be(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${be(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return be(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},Ot=class extends te{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function G(t,e){if(f(t)||t===null)return e;if(t instanceof te)return t;if(Fs(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?ze.instance:r==="utc"||r==="gmt"?$.utcInstance:$.parseSpecifier(r)||X.create(t)}else return Q(t)?$.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new Ot(t)}var Ft={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},or={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},bs=Ft.hanidec.replace(/[\[|\]]/g,"").split("");function xs(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(Ft.hanidec)!==-1)e+=bs.indexOf(t[r]);else for(let s in or){let[i,o]=or[s];n>=i&&n<=o&&(e+=n-i)}}return parseInt(e,10)}else return e}var bt=new Map;function Ms(){bt.clear()}function Z({numberingSystem:t},e=""){let r=t||"latn",n=bt.get(r);n===void 0&&(n=new Map,bt.set(r,n));let s=n.get(e);return s===void 0&&(s=new RegExp(`${Ft[r]}${e}`),n.set(e,s)),s}var ar=()=>Date.now(),ur="system",lr=null,cr=null,dr=null,hr=60,mr,fr=null,v=class{static get now(){return ar}static set now(e){ar=e}static set defaultZone(e){ur=e}static get defaultZone(){return G(ur,ze.instance)}static get defaultLocale(){return lr}static set defaultLocale(e){lr=e}static get defaultNumberingSystem(){return cr}static set defaultNumberingSystem(e){cr=e}static get defaultOutputCalendar(){return dr}static set defaultOutputCalendar(e){dr=e}static get defaultWeekSettings(){return fr}static set defaultWeekSettings(e){fr=xt(e)}static get twoDigitCutoffYear(){return hr}static set twoDigitCutoffYear(e){hr=e%100}static get throwOnInvalid(){return mr}static set throwOnInvalid(e){mr=e}static resetCaches(){w.resetCache(),X.resetCache(),S.resetCache(),Ms()}},F=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},On=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function C(t,e){return new F("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function It(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let s=n.getUTCDay();return s===0?7:s}function xn(t,e,r){return r+(Me(t)?bn:On)[e-1]}function Mn(t,e){let r=Me(t)?bn:On,n=r.findIndex(i=>i<e),s=e-r[n];return{month:n+1,day:s}}function Vt(t,e){return(t-e+7)%7+1}function je(t,e=4,r=1){let{year:n,month:s,day:i}=t,o=xn(n,s,i),a=Vt(It(n,s,i),r),u=Math.floor((o-a+14-e)/7),l;return u<1?(l=n-1,u=xe(l,e,r)):u>xe(n,e,r)?(l=n+1,u=1):l=n,{weekYear:l,weekNumber:u,weekday:a,...Je(t)}}function yr(t,e=4,r=1){let{weekYear:n,weekNumber:s,weekday:i}=t,o=Vt(It(n,1,e),r),a=ue(n),u=s*7+i-o-7+e,l;u<1?(l=n-1,u+=ue(l)):u>a?(l=n+1,u-=ue(n)):l=n;let{month:d,day:h}=Mn(l,u);return{year:l,month:d,day:h,...Je(t)}}function st(t){let{year:e,month:r,day:n}=t,s=xn(e,r,n);return{year:e,ordinal:s,...Je(t)}}function gr(t){let{year:e,ordinal:r}=t,{month:n,day:s}=Mn(e,r);return{year:e,month:n,day:s,...Je(t)}}function pr(t,e){if(!f(t.localWeekday)||!f(t.localWeekNumber)||!f(t.localWeekYear)){if(!f(t.weekday)||!f(t.weekNumber)||!f(t.weekYear))throw new J("Cannot mix locale-based week fields with ISO-based week fields");return f(t.localWeekday)||(t.weekday=t.localWeekday),f(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),f(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Ds(t,e=4,r=1){let n=Ye(t.weekYear),s=L(t.weekNumber,1,xe(t.weekYear,e,r)),i=L(t.weekday,1,7);return n?s?i?!1:C("weekday",t.weekday):C("week",t.weekNumber):C("weekYear",t.weekYear)}function Ns(t){let e=Ye(t.year),r=L(t.ordinal,1,ue(t.year));return e?r?!1:C("ordinal",t.ordinal):C("year",t.year)}function Dn(t){let e=Ye(t.year),r=L(t.month,1,12),n=L(t.day,1,Pe(t.year,t.month));return e?r?n?!1:C("day",t.day):C("month",t.month):C("year",t.year)}function Nn(t){let{hour:e,minute:r,second:n,millisecond:s}=t,i=L(e,0,23)||e===24&&r===0&&n===0&&s===0,o=L(r,0,59),a=L(n,0,59),u=L(s,0,999);return i?o?a?u?!1:C("millisecond",s):C("second",n):C("minute",r):C("hour",e)}function f(t){return typeof t>"u"}function Q(t){return typeof t=="number"}function Ye(t){return typeof t=="number"&&t%1===0}function Fs(t){return typeof t=="string"}function Is(t){return Object.prototype.toString.call(t)==="[object Date]"}function Fn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function In(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Vs(t){return Array.isArray(t)?t:[t]}function wr(t,e,r){if(t.length!==0)return t.reduce((n,s)=>{let i=[e(s),s];return n&&r(n[0],i[0])===n[0]?n:i},null)[1]}function Es(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function de(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function xt(t){if(t==null)return null;if(typeof t!="object")throw new x("Week settings must be an object");if(!L(t.firstDay,1,7)||!L(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!L(e,1,7)))throw new x("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function L(t,e,r){return Ye(t)&&t>=e&&t<=r}function Cs(t,e){return t-e*Math.floor(t/e)}function O(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function H(t){if(!(f(t)||t===null||t===""))return parseInt(t,10)}function K(t){if(!(f(t)||t===null||t===""))return parseFloat(t)}function Et(t){if(!(f(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Ct(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function Me(t){return t%4===0&&(t%100!==0||t%400===0)}function ue(t){return Me(t)?366:365}function Pe(t,e){let r=Cs(e-1,12)+1,n=t+(e-r)/12;return r===2?Me(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function He(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function vr(t,e,r){return-Vt(It(t,1,e),r)+e-1}function xe(t,e=4,r=1){let n=vr(t,e,r),s=vr(t+1,e,r);return(ue(t)-n+s)/7}function Mt(t){return t>99?t:t>v.twoDigitCutoffYear?1900+t:2e3+t}function Vn(t,e,r,n=null){let s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(i.timeZone=n);let o={timeZoneName:e,...i},a=new Intl.DateTimeFormat(r,o).formatToParts(s).find(u=>u.type.toLowerCase()==="timezonename");return a?a.value:null}function Ge(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-n:n;return r*60+s}function En(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new x(`Invalid unit value ${t}`);return e}function Ue(t,e){let r={};for(let n in t)if(de(t,n)){let s=t[n];if(s==null)continue;r[e(n)]=En(s)}return r}function be(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${O(r,2)}:${O(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${O(r,2)}${O(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Je(t){return Es(t,["hour","minute","second","millisecond"])}var Ls=["January","February","March","April","May","June","July","August","September","October","November","December"],Cn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],$s=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ln(t){switch(t){case"narrow":return[...$s];case"short":return[...Cn];case"long":return[...Ls];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var $n=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Wn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ws=["M","T","W","T","F","S","S"];function Bn(t){switch(t){case"narrow":return[...Ws];case"short":return[...Wn];case"long":return[...$n];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Zn=["AM","PM"],Bs=["Before Christ","Anno Domini"],Zs=["BC","AD"],qs=["B","A"];function qn(t){switch(t){case"narrow":return[...qs];case"short":return[...Zs];case"long":return[...Bs];default:return null}}function As(t){return Zn[t.hour<12?0:1]}function zs(t,e){return Bn(e)[t.weekday-1]}function js(t,e){return Ln(e)[t.month-1]}function Ps(t,e){return qn(e)[t.year<0?0:1]}function Us(t,e,r="always",n=!1){let s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&i){let h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${s[t][0]}`;case-1:return h?"yesterday":`last ${s[t][0]}`;case 0:return h?"today":`this ${s[t][0]}`}}let o=Object.is(e,-0)||e<0,a=Math.abs(e),u=a===1,l=s[t],d=n?u?l[1]:l[2]||l[1]:u?s[t][0]:t;return o?`${a} ${d} ago`:`in ${a} ${d}`}function Sr(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var Rs={D:Ae,DD:tn,DDD:rn,DDDD:nn,t:sn,tt:on,ttt:an,tttt:un,T:ln,TT:cn,TTT:dn,TTTT:hn,f:mn,ff:yn,fff:pn,ffff:vn,F:fn,FF:gn,FFF:wn,FFFF:Sn},N=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",s=!1,i=[];for(let o=0;o<e.length;o++){let a=e.charAt(o);a==="'"?((n.length>0||s)&&i.push({literal:s||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",s=!s):s||a===r?n+=a:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=a,r=a)}return n.length>0&&i.push({literal:s||/^\s+$/.test(n),val:n}),i}static macroTokenToFormatOpts(e){return Rs[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return O(e,r);let s={...this.opts};return r>0&&(s.padTo=r),n&&(s.signDisplay=n),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(m,k)=>this.loc.extract(e,m,k),o=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",a=()=>n?As(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(m,k)=>n?js(e,m):i(k?{month:m}:{month:m,day:"numeric"},"month"),l=(m,k)=>n?zs(e,m):i(k?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),d=m=>{let k=t.macroTokenToFormatOpts(m);return k?this.formatWithSystemDefault(e,k):m},h=m=>n?Ps(e,m):i({era:m},"era"),g=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(m)}};return Sr(t.parseFormat(r),g)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,s=d=>{switch(d[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},i=(d,h)=>g=>{let m=s(g);if(m){let k=h.isNegativeDuration&&m!==h.largestUnit?n:1,D;return this.opts.signMode==="negativeLargestOnly"&&m!==h.largestUnit?D="never":this.opts.signMode==="all"?D="always":D="auto",this.num(d.get(m)*k,g.length,D)}else return g},o=t.parseFormat(r),a=o.reduce((d,{literal:h,val:g})=>h?d:d.concat(g),[]),u=e.shiftTo(...a.map(s).filter(d=>d)),l={isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]};return Sr(o,i(u,l))}},An=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function he(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function me(...t){return e=>t.reduce(([r,n,s],i)=>{let[o,a,u]=i(e,s);return[{...r,...o},a||n,u]},[{},null,1]).slice(0,2)}function fe(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let s=r.exec(t);if(s)return n(s)}return[null,null]}function zn(...t){return(e,r)=>{let n={},s;for(s=0;s<t.length;s++)n[t[s]]=H(e[r+s]);return[n,null,r+s]}}var jn=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Ys=`(?:${jn.source}?(?:\\[(${An.source})\\])?)?`,Lt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pn=RegExp(`${Lt.source}${Ys}`),$t=RegExp(`(?:[Tt]${Pn.source})?`),Hs=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Gs=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Js=/(\d{4})-?(\d{3})/,Qs=zn("weekYear","weekNumber","weekDay"),Xs=zn("year","ordinal"),Ks=/(\d{4})-(\d\d)-(\d\d)/,Un=RegExp(`${Lt.source} ?(?:${jn.source}|(${An.source}))?`),_s=RegExp(`(?: ${Un.source})?`);function le(t,e,r){let n=t[e];return f(n)?r:H(n)}function ei(t,e){return[{year:le(t,e),month:le(t,e+1,1),day:le(t,e+2,1)},null,e+3]}function ye(t,e){return[{hours:le(t,e,0),minutes:le(t,e+1,0),seconds:le(t,e+2,0),milliseconds:Et(t[e+3])},null,e+4]}function De(t,e){let r=!t[e]&&!t[e+1],n=Ge(t[e+1],t[e+2]),s=r?null:$.instance(n);return[{},s,e+3]}function Ne(t,e){let r=t[e]?X.create(t[e]):null;return[{},r,e+1]}var ti=RegExp(`^T?${Lt.source}$`),ri=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ni(t){let[e,r,n,s,i,o,a,u,l]=t,d=e[0]==="-",h=u&&u[0]==="-",g=(m,k=!1)=>m!==void 0&&(k||m&&d)?-m:m;return[{years:g(K(r)),months:g(K(n)),weeks:g(K(s)),days:g(K(i)),hours:g(K(o)),minutes:g(K(a)),seconds:g(K(u),u==="-0"),milliseconds:g(Et(l),h)}]}var si={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Wt(t,e,r,n,s,i,o){let a={year:e.length===2?Mt(H(e)):H(e),month:Cn.indexOf(r)+1,day:H(n),hour:H(s),minute:H(i)};return o&&(a.second=H(o)),t&&(a.weekday=t.length>3?$n.indexOf(t)+1:Wn.indexOf(t)+1),a}var ii=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function oi(t){let[,e,r,n,s,i,o,a,u,l,d,h]=t,g=Wt(e,s,n,r,i,o,a),m;return u?m=si[u]:l?m=0:m=Ge(d,h),[g,new $(m)]}function ai(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var ui=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,li=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ci=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function kr(t){let[,e,r,n,s,i,o,a]=t;return[Wt(e,s,n,r,i,o,a),$.utcInstance]}function di(t){let[,e,r,n,s,i,o,a]=t;return[Wt(e,a,r,n,s,i,o),$.utcInstance]}var hi=he(Hs,$t),mi=he(Gs,$t),fi=he(Js,$t),yi=he(Pn),Rn=me(ei,ye,De,Ne),gi=me(Qs,ye,De,Ne),pi=me(Xs,ye,De,Ne),wi=me(ye,De,Ne);function vi(t){return fe(t,[hi,Rn],[mi,gi],[fi,pi],[yi,wi])}function Si(t){return fe(ai(t),[ii,oi])}function ki(t){return fe(t,[ui,kr],[li,kr],[ci,di])}function Ti(t){return fe(t,[ri,ni])}var Oi=me(ye);function bi(t){return fe(t,[ti,Oi])}var xi=he(Ks,_s),Mi=he(Un),Di=me(ye,De,Ne);function Ni(t){return fe(t,[xi,Rn],[Mi,Di])}var Tr="Invalid Duration",Yn={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Fi={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Yn},E=146097/400,se=146097/4800,Ii={years:{quarters:4,months:12,weeks:E/7,days:E,hours:E*24,minutes:E*24*60,seconds:E*24*60*60,milliseconds:E*24*60*60*1e3},quarters:{months:3,weeks:E/28,days:E/4,hours:E*24/4,minutes:E*24*60/4,seconds:E*24*60*60/4,milliseconds:E*24*60*60*1e3/4},months:{weeks:se/7,days:se,hours:se*24,minutes:se*24*60,seconds:se*24*60*60,milliseconds:se*24*60*60*1e3},...Yn},ee=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Vi=ee.slice(0).reverse();function P(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new M(n)}function Hn(t,e){let r=e.milliseconds??0;for(let n of Vi.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function Or(t,e){let r=Hn(t,e)<0?-1:1;ee.reduceRight((n,s)=>{if(f(e[s]))return n;if(n){let i=e[n]*r,o=t[s][n],a=Math.floor(i/o);e[s]+=a*r,e[n]-=a*o*r}return s},null),ee.reduce((n,s)=>{if(f(e[s]))return n;if(n){let i=e[n]%1;e[n]-=i,e[s]+=i*t[n][s]}return s},null)}function br(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var M=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?Ii:Fi;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||w.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new x(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:Ue(e,t.normalizeUnit),loc:w.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(Q(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new x(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=Ti(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=bi(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new x("need to specify a reason the Duration is invalid");let n=e instanceof F?e:new F(e,r);if(v.throwOnInvalid)throw new ht(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new qe(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?N.create(this.loc,n).formatDurationFromString(this,e):Tr}toHuman(e={}){if(!this.isValid)return Tr;let r=e.showZeros!==!1,n=ee.map(s=>{let i=this.values[s];return f(i)||i===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(i)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Ct(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},S.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Hn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let s of ee)(de(r.values,s)||de(this.values,s))&&(n[s]=r.get(s)+this.get(s));return P(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=En(e(this.values[n],n));return P(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...Ue(e,t.normalizeUnit)};return P(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:s}={}){let i={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:s,conversionAccuracy:n};return P(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Or(this.matrix,e),P(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=br(this.normalize().shiftToAll().toObject());return P(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(o=>t.normalizeUnit(o));let r={},n={},s=this.toObject(),i;for(let o of ee)if(e.indexOf(o)>=0){i=o;let a=0;for(let l in n)a+=this.matrix[l][o]*n[l],n[l]=0;Q(s[o])&&(a+=s[o]);let u=Math.trunc(a);r[o]=u,n[o]=(a*1e3-u*1e3)/1e3}else Q(s[o])&&(n[o]=s[o]);for(let o in n)n[o]!==0&&(r[i]+=o===i?n[o]:n[o]/this.matrix[i][o]);return Or(this.matrix,r),P(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return P(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=br(this.values);return P(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,s){return n===void 0||n===0?s===void 0||s===0:n===s}for(let n of ee)if(!r(this.values[n],e.values[n]))return!1;return!0}},ie="Invalid Interval";function Ei(t,e){return!t||!t.isValid?ce.invalid("missing or invalid start"):!e||!e.isValid?ce.invalid("missing or invalid end"):e<t?ce.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var ce=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new x("need to specify a reason the Interval is invalid");let n=e instanceof F?e:new F(e,r);if(v.throwOnInvalid)throw new dt(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=ke(e),s=ke(r);return Ei(n,s)??new t({start:n,end:s})}static after(e,r){let n=M.fromDurationLike(r),s=ke(e);return t.fromDateTimes(s,s.plus(n))}static before(e,r){let n=M.fromDurationLike(r),s=ke(e);return t.fromDateTimes(s.minus(n),s)}static fromISO(e,r){let[n,s]=(e||"").split("/",2);if(n&&s){let i,o;try{i=S.fromISO(n,r),o=i.isValid}catch{o=!1}let a,u;try{a=S.fromISO(s,r),u=a.isValid}catch{u=!1}if(o&&u)return t.fromDateTimes(i,a);if(o){let l=M.fromISO(s,r);if(l.isValid)return t.after(i,l)}else if(u){let l=M.fromISO(n,r);if(l.isValid)return t.before(a,l)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),s;return r?.useLocaleWeeks?s=this.end.reconfigure({locale:n.locale}):s=this.end,s=s.startOf(e,r),Math.floor(s.diff(n,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(ke).filter(o=>this.contains(o)).sort((o,a)=>o.toMillis()-a.toMillis()),n=[],{s}=this,i=0;for(;s<this.e;){let o=r[i]||this.e,a=+o>+this.e?this.e:o;n.push(t.fromDateTimes(s,a)),s=a,i+=1}return n}splitBy(e){let r=M.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,s=1,i,o=[];for(;n<this.e;){let a=this.start.plus(r.mapUnits(u=>u*s));i=+a>+this.e?this.e:a,o.push(t.fromDateTimes(n,i)),n=i,s+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],o)=>i?i.overlaps(o)||i.abutsStart(o)?[s,i.union(o)]:[s.concat([i]),o]:[s,o],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,s=[],i=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),o=Array.prototype.concat(...i),a=o.sort((u,l)=>u.time-l.time);for(let u of a)n+=u.type==="s"?1:-1,n===1?r=u.time:(r&&+r!=+u.time&&s.push(t.fromDateTimes(r,u.time)),r=null);return t.merge(s)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:ie}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ae,r={}){return this.isValid?N.create(this.s.loc.clone(r),e).formatInterval(this):ie}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ie}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ie}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ie}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:ie}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):M.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}},ae=class{static hasDST(e=v.defaultZone){let r=S.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return X.isValidZone(e)}static normalizeZone(e){return G(e,v.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||w.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||w.create(r,n,i)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||w.create(r,n,i)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||w.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:s=null}={}){return(s||w.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return w.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return w.create(r,null,"gregory").eras(e)}static features(){return{relative:Fn(),localeWeek:In()}}};function xr(t,e){let r=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(M.fromMillis(n).as("days"))}function Ci(t,e,r){let n=[["years",(u,l)=>l.year-u.year],["quarters",(u,l)=>l.quarter-u.quarter+(l.year-u.year)*4],["months",(u,l)=>l.month-u.month+(l.year-u.year)*12],["weeks",(u,l)=>{let d=xr(u,l);return(d-d%7)/7}],["days",xr]],s={},i=t,o,a;for(let[u,l]of n)r.indexOf(u)>=0&&(o=u,s[u]=l(t,e),a=i.plus(s),a>e?(s[u]--,t=i.plus(s),t>e&&(a=t,s[u]--,t=i.plus(s))):t=a);return[t,s,a,o]}function Li(t,e,r,n){let[s,i,o,a]=Ci(t,e,r),u=e-s,l=r.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);l.length===0&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(i[a]=(i[a]||0)+u/(o-s)));let d=M.fromObject(i,n);return l.length>0?M.fromMillis(u,n).shiftTo(...l).plus(d):d}var $i="missing Intl.DateTimeFormat.formatToParts support";function p(t,e=r=>r){return{regex:t,deser:([r])=>e(xs(r))}}var Wi="\xA0",Gn=`[ ${Wi}]`,Jn=new RegExp(Gn,"g");function Bi(t){return t.replace(/\./g,"\\.?").replace(Jn,Gn)}function Mr(t){return t.replace(/\./g,"").replace(Jn," ").toLowerCase()}function q(t,e){return t===null?null:{regex:RegExp(t.map(Bi).join("|")),deser:([r])=>t.findIndex(n=>Mr(r)===Mr(n))+e}}function Dr(t,e){return{regex:t,deser:([,r,n])=>Ge(r,n),groups:e}}function Ee(t){return{regex:t,deser:([e])=>e}}function Zi(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function qi(t,e){let r=Z(e),n=Z(e,"{2}"),s=Z(e,"{3}"),i=Z(e,"{4}"),o=Z(e,"{6}"),a=Z(e,"{1,2}"),u=Z(e,"{1,3}"),l=Z(e,"{1,6}"),d=Z(e,"{1,9}"),h=Z(e,"{2,4}"),g=Z(e,"{4,6}"),m=D=>({regex:RegExp(Zi(D.val)),deser:([re])=>re,literal:!0}),k=(D=>{if(t.literal)return m(D);switch(D.val){case"G":return q(e.eras("short"),0);case"GG":return q(e.eras("long"),0);case"y":return p(l);case"yy":return p(h,Mt);case"yyyy":return p(i);case"yyyyy":return p(g);case"yyyyyy":return p(o);case"M":return p(a);case"MM":return p(n);case"MMM":return q(e.months("short",!0),1);case"MMMM":return q(e.months("long",!0),1);case"L":return p(a);case"LL":return p(n);case"LLL":return q(e.months("short",!1),1);case"LLLL":return q(e.months("long",!1),1);case"d":return p(a);case"dd":return p(n);case"o":return p(u);case"ooo":return p(s);case"HH":return p(n);case"H":return p(a);case"hh":return p(n);case"h":return p(a);case"mm":return p(n);case"m":return p(a);case"q":return p(a);case"qq":return p(n);case"s":return p(a);case"ss":return p(n);case"S":return p(u);case"SSS":return p(s);case"u":return Ee(d);case"uu":return Ee(a);case"uuu":return p(r);case"a":return q(e.meridiems(),0);case"kkkk":return p(i);case"kk":return p(h,Mt);case"W":return p(a);case"WW":return p(n);case"E":case"c":return p(r);case"EEE":return q(e.weekdays("short",!1),1);case"EEEE":return q(e.weekdays("long",!1),1);case"ccc":return q(e.weekdays("short",!0),1);case"cccc":return q(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Ee(/[a-z_+-/]{1,256}?/i);case" ":return Ee(/[^\S\n\r]/);default:return m(D)}})(t)||{invalidReason:$i};return k.token=t,k}var Ai={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function zi(t,e,r){let{type:n,value:s}=t;if(n==="literal"){let u=/^\s+$/.test(s);return{literal:!u,val:u?" ":s}}let i=e[n],o=n;n==="hour"&&(e.hour12!=null?o=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?o="hour12":o="hour24":o=r.hour12?"hour12":"hour24");let a=Ai[o];if(typeof a=="object"&&(a=a[i]),a)return{literal:!1,val:a}}function ji(t){return[`^${t.map(e=>e.regex).reduce((e,r)=>`${e}(${r.source})`,"")}$`,t]}function Pi(t,e,r){let n=t.match(e);if(n){let s={},i=1;for(let o in r)if(de(r,o)){let a=r[o],u=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(n.slice(i,i+u))),i+=u}return[n,s]}else return[n,{}]}function Ui(t){let e=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return f(t.z)||(r=X.create(t.z)),f(t.Z)||(r||(r=new $(t.Z)),n=t.Z),f(t.q)||(t.M=(t.q-1)*3+1),f(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),f(t.u)||(t.S=Et(t.u)),[Object.keys(t).reduce((s,i)=>{let o=e(i);return o&&(s[o]=t[i]),s},{}),r,n]}var it=null;function Ri(){return it||(it=S.fromMillis(1555555555555)),it}function Yi(t,e){if(t.literal)return t;let r=N.macroTokenToFormatOpts(t.val),n=Kn(r,e);return n==null||n.includes(void 0)?t:n}function Qn(t,e){return Array.prototype.concat(...t.map(r=>Yi(r,e)))}var Re=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Qn(N.parseFormat(r),e),this.units=this.tokens.map(n=>qi(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,s]=ji(this.units);this.regex=RegExp(n,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){let[r,n]=Pi(e,this.regex,this.handlers),[s,i,o]=n?Ui(n):[null,null,void 0];if(de(n,"a")&&de(n,"H"))throw new J("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:s,zone:i,specificOffset:o}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Xn(t,e,r){return new Re(t,r).explainFromTokens(e)}function Hi(t,e,r){let{result:n,zone:s,specificOffset:i,invalidReason:o}=Xn(t,e,r);return[n,s,i,o]}function Kn(t,e){if(!t)return null;let r=N.create(e,t).dtFormatter(Ri()),n=r.formatToParts(),s=r.resolvedOptions();return n.map(i=>zi(i,t,s))}var ot="Invalid DateTime",Nr=864e13;function Te(t){return new F("unsupported zone",`the zone "${t.name}" is not supported`)}function at(t){return t.weekData===null&&(t.weekData=je(t.c)),t.weekData}function ut(t){return t.localWeekData===null&&(t.localWeekData=je(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function _(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new S({...r,...e,old:r})}function _n(t,e,r){let n=t-e*60*1e3,s=r.offset(n);if(e===s)return[n,e];n-=(s-e)*60*1e3;let i=r.offset(n);return s===i?[n,s]:[t-Math.min(s,i)*60*1e3,Math.max(s,i)]}function Ce(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function We(t,e,r){return _n(He(t),e,r)}function Fr(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...t.c,year:n,month:s,day:Math.min(t.c.day,Pe(n,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},o=M.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=He(i),[u,l]=_n(a,r,t.zone);return o!==0&&(u+=o,l=t.zone.offset(u)),{ts:u,o:l}}function oe(t,e,r,n,s,i){let{setZone:o,zone:a}=r;if(t&&Object.keys(t).length!==0||e){let u=e||a,l=S.fromObject(t,{...r,zone:u,specificOffset:i});return o?l:l.setZone(a)}else return S.invalid(new F("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Le(t,e,r=!0){return t.isValid?N.create(w.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function lt(t,e,r){let n=t.c.year>9999||t.c.year<0,s="";if(n&&t.c.year>=0&&(s+="+"),s+=O(t.c.year,n?6:4),r==="year")return s;if(e){if(s+="-",s+=O(t.c.month),r==="month")return s;s+="-"}else if(s+=O(t.c.month),r==="month")return s;return s+=O(t.c.day),s}function Ir(t,e,r,n,s,i,o){let a=!r||t.c.millisecond!==0||t.c.second!==0,u="";switch(o){case"day":case"month":case"year":break;default:if(u+=O(t.c.hour),o==="hour")break;if(e){if(u+=":",u+=O(t.c.minute),o==="minute")break;a&&(u+=":",u+=O(t.c.second))}else{if(u+=O(t.c.minute),o==="minute")break;a&&(u+=O(t.c.second))}if(o==="second")break;a&&(!n||t.c.millisecond!==0)&&(u+=".",u+=O(t.c.millisecond,3))}return s&&(t.isOffsetFixed&&t.offset===0&&!i?u+="Z":t.o<0?(u+="-",u+=O(Math.trunc(-t.o/60)),u+=":",u+=O(Math.trunc(-t.o%60))):(u+="+",u+=O(Math.trunc(t.o/60)),u+=":",u+=O(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}var es={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Gi={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Ji={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Be=["year","month","day","hour","minute","second","millisecond"],Qi=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Xi=["year","ordinal","hour","minute","second","millisecond"];function Ze(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new qe(t);return e}function Vr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ze(t)}}function Ki(t){if(Oe===void 0&&(Oe=v.now()),t.type!=="iana")return t.offset(Oe);let e=t.name,r=Dt.get(e);return r===void 0&&(r=t.offset(Oe),Dt.set(e,r)),r}function Er(t,e){let r=G(e.zone,v.defaultZone);if(!r.isValid)return S.invalid(Te(r));let n=w.fromObject(e),s,i;if(f(t.year))s=v.now();else{for(let u of Be)f(t[u])&&(t[u]=es[u]);let o=Dn(t)||Nn(t);if(o)return S.invalid(o);let a=Ki(r);[s,i]=We(t,a,r)}return new S({ts:s,zone:r,loc:n,o:i})}function Cr(t,e,r){let n=f(r.round)?!0:r.round,s=f(r.rounding)?"trunc":r.rounding,i=(a,u)=>(a=Ct(a,n||r.calendary?0:2,r.calendary?"round":s),e.loc.clone(r).relFormatter(r).format(a,u)),o=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return i(o(r.unit),r.unit);for(let a of r.units){let u=o(a);if(Math.abs(u)>=1)return i(u,a)}return i(t>e?-0:0,r.units[r.units.length-1])}function Lr(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var Oe,Dt=new Map,S=class t{constructor(e){let r=e.zone||v.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new F("invalid input"):null)||(r.isValid?null:Te(r));this.ts=f(e.ts)?v.now():e.ts;let s=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[s,i]=[e.old.c,e.old.o];else{let o=Q(e.o)&&!e.old?e.o:r.offset(this.ts);s=Ce(this.ts,o),n=Number.isNaN(s.year)?new F("invalid input"):null,s=n?null:s,i=n?null:o}this._zone=r,this.loc=e.loc||w.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=Lr(arguments),[n,s,i,o,a,u,l]=r;return Er({year:n,month:s,day:i,hour:o,minute:a,second:u,millisecond:l},e)}static utc(){let[e,r]=Lr(arguments),[n,s,i,o,a,u,l]=r;return e.zone=$.utcInstance,Er({year:n,month:s,day:i,hour:o,minute:a,second:u,millisecond:l},e)}static fromJSDate(e,r={}){let n=Is(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let s=G(r.zone,v.defaultZone);return s.isValid?new t({ts:n,zone:s,loc:w.fromObject(r)}):t.invalid(Te(s))}static fromMillis(e,r={}){if(Q(e))return e<-Nr||e>Nr?t.invalid("Timestamp out of range"):new t({ts:e,zone:G(r.zone,v.defaultZone),loc:w.fromObject(r)});throw new x(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(Q(e))return new t({ts:e*1e3,zone:G(r.zone,v.defaultZone),loc:w.fromObject(r)});throw new x("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=G(r.zone,v.defaultZone);if(!n.isValid)return t.invalid(Te(n));let s=w.fromObject(r),i=Ue(e,Vr),{minDaysInFirstWeek:o,startOfWeek:a}=pr(i,s),u=v.now(),l=f(r.specificOffset)?n.offset(u):r.specificOffset,d=!f(i.ordinal),h=!f(i.year),g=!f(i.month)||!f(i.day),m=h||g,k=i.weekYear||i.weekNumber;if((m||d)&&k)throw new J("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(g&&d)throw new J("Can't mix ordinal dates with month/day");let D=k||i.weekday&&!m,re,Fe,ge=Ce(u,l);D?(re=Qi,Fe=Gi,ge=je(ge,o,a)):d?(re=Xi,Fe=Ji,ge=st(ge)):(re=Be,Fe=es);let Zt=!1;for(let we of re){let as=i[we];f(as)?Zt?i[we]=Fe[we]:i[we]=ge[we]:Zt=!0}let ns=D?Ds(i,o,a):d?Ns(i):Dn(i),qt=ns||Nn(i);if(qt)return t.invalid(qt);let ss=D?yr(i,o,a):d?gr(i):i,[is,os]=We(ss,l,n),pe=new t({ts:is,zone:n,o:os,loc:s});return i.weekday&&m&&e.weekday!==pe.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${pe.toISO()}`):pe.isValid?pe:t.invalid(pe.invalid)}static fromISO(e,r={}){let[n,s]=vi(e);return oe(n,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,s]=Si(e);return oe(n,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,s]=ki(e);return oe(n,s,r,"HTTP",r)}static fromFormat(e,r,n={}){if(f(e)||f(r))throw new x("fromFormat requires an input string and a format");let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[a,u,l,d]=Hi(o,e,r);return d?t.invalid(d):oe(a,u,n,`format ${r}`,e,l)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,s]=Ni(e);return oe(n,s,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new x("need to specify a reason the DateTime is invalid");let n=e instanceof F?e:new F(e,r);if(v.throwOnInvalid)throw new ct(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=Kn(e,w.fromObject(r));return n?n.map(s=>s?s.val:null).join(""):null}static expandFormat(e,r={}){return Qn(N.parseFormat(e),w.fromObject(r)).map(n=>n.val).join("")}static resetCache(){Oe=void 0,Dt.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?at(this).weekYear:NaN}get weekNumber(){return this.isValid?at(this).weekNumber:NaN}get weekday(){return this.isValid?at(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ut(this).weekday:NaN}get localWeekNumber(){return this.isValid?ut(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ut(this).weekYear:NaN}get ordinal(){return this.isValid?st(this.c).ordinal:NaN}get monthShort(){return this.isValid?ae.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ae.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ae.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ae.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=He(this.c),s=this.zone.offset(n-e),i=this.zone.offset(n+e),o=this.zone.offset(n-s*r),a=this.zone.offset(n-i*r);if(o===a)return[this];let u=n-o*r,l=n-a*r,d=Ce(u,o),h=Ce(l,a);return d.hour===h.hour&&d.minute===h.minute&&d.second===h.second&&d.millisecond===h.millisecond?[_(this,{ts:u}),_(this,{ts:l})]:[this]}get isInLeapYear(){return Me(this.year)}get daysInMonth(){return Pe(this.year,this.month)}get daysInYear(){return this.isValid?ue(this.year):NaN}get weeksInWeekYear(){return this.isValid?xe(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?xe(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:s}=N.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:s}}toUTC(e=0,r={}){return this.setZone($.instance(e),r)}toLocal(){return this.setZone(v.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=G(e,v.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(r||n){let i=e.offset(this.ts),o=this.toObject();[s]=We(o,i,e)}return _(this,{ts:s,zone:e})}else return t.invalid(Te(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let s=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return _(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=Ue(e,Vr),{minDaysInFirstWeek:n,startOfWeek:s}=pr(r,this.loc),i=!f(r.weekYear)||!f(r.weekNumber)||!f(r.weekday),o=!f(r.ordinal),a=!f(r.year),u=!f(r.month)||!f(r.day),l=a||u,d=r.weekYear||r.weekNumber;if((l||o)&&d)throw new J("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&o)throw new J("Can't mix ordinal dates with month/day");let h;i?h=yr({...je(this.c,n,s),...r},n,s):f(r.ordinal)?(h={...this.toObject(),...r},f(r.day)&&(h.day=Math.min(Pe(h.year,h.month),h.day))):h=gr({...st(this.c),...r});let[g,m]=We(h,this.o,this.zone);return _(this,{ts:g,o:m})}plus(e){if(!this.isValid)return this;let r=M.fromDurationLike(e);return _(this,Fr(this,r))}minus(e){if(!this.isValid)return this;let r=M.fromDurationLike(e).negate();return _(this,Fr(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},s=M.normalizeUnit(e);switch(s){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(s==="weeks")if(r){let i=this.loc.getStartOfWeek(),{weekday:o}=this;o<i&&(n.weekNumber=this.weekNumber-1),n.weekday=i}else n.weekday=1;if(s==="quarters"){let i=Math.ceil(this.month/3);n.month=(i-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?N.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):ot}toLocaleString(e=Ae,r={}){return this.isValid?N.create(this.loc.clone(r),e).formatDateTime(this):ot}toLocaleParts(e={}){return this.isValid?N.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:s=!0,extendedZone:i=!1,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=Ze(o);let a=e==="extended",u=lt(this,a,o);return Be.indexOf(o)>=3&&(u+="T"),u+=Ir(this,a,r,n,s,i,o),u}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?lt(this,e==="extended",Ze(r)):null}toISOWeekDate(){return Le(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:s=!1,extendedZone:i=!1,format:o="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ze(a),(s&&Be.indexOf(a)>=3?"T":"")+Ir(this,o==="extended",r,e,n,i,a)):null}toRFC2822(){return Le(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Le(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?lt(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let s="HH:mm:ss.SSS";return(r||e)&&(n&&(s+=" "),r?s+="z":e&&(s+="ZZ")),Le(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():ot}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return M.invalid("created by diffing an invalid DateTime");let s={locale:this.locale,numberingSystem:this.numberingSystem,...n},i=Vs(r).map(M.normalizeUnit),o=e.valueOf()>this.valueOf(),a=o?this:e,u=o?e:this,l=Li(a,u,i,s);return o?l.negate():l}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?ce.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(r,n)<=s&&s<=i.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,s=["years","months","days","hours","minutes","seconds"],i=e.unit;return Array.isArray(e.unit)&&(s=e.unit,i=void 0),Cr(r,this.plus(n),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?Cr(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new x("min requires all arguments be DateTimes");return wr(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new x("max requires all arguments be DateTimes");return wr(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return Xn(o,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:s=null}=r,i=w.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});return new Re(i,e)}static fromFormatParser(e,r,n={}){if(f(e)||f(r))throw new x("fromFormatParser requires an input string and a format parser");let{locale:s=null,numberingSystem:i=null}=n,o=w.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});if(!o.equals(r.locale))throw new x(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${r.locale}`);let{result:a,zone:u,specificOffset:l,invalidReason:d}=r.explainFromTokens(e);return d?t.invalid(d):oe(a,u,n,`format ${r.format}`,e,l)}static get DATE_SHORT(){return Ae}static get DATE_MED(){return tn}static get DATE_MED_WITH_WEEKDAY(){return us}static get DATE_FULL(){return rn}static get DATE_HUGE(){return nn}static get TIME_SIMPLE(){return sn}static get TIME_WITH_SECONDS(){return on}static get TIME_WITH_SHORT_OFFSET(){return an}static get TIME_WITH_LONG_OFFSET(){return un}static get TIME_24_SIMPLE(){return ln}static get TIME_24_WITH_SECONDS(){return cn}static get TIME_24_WITH_SHORT_OFFSET(){return dn}static get TIME_24_WITH_LONG_OFFSET(){return hn}static get DATETIME_SHORT(){return mn}static get DATETIME_SHORT_WITH_SECONDS(){return fn}static get DATETIME_MED(){return yn}static get DATETIME_MED_WITH_SECONDS(){return gn}static get DATETIME_MED_WITH_WEEKDAY(){return ls}static get DATETIME_FULL(){return pn}static get DATETIME_FULL_WITH_SECONDS(){return wn}static get DATETIME_HUGE(){return vn}static get DATETIME_HUGE_WITH_SECONDS(){return Sn}};function ke(t){if(S.isDateTime(t))return t;if(t&&t.valueOf&&Q(t.valueOf()))return S.fromJSDate(t);if(t&&typeof t=="object")return S.fromObject(t);throw new x(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Nt=(t=>(t.NONE="none",t.ROTATE="rotate",t.STAGGER="stagger",t.WRAP="wrap",t))(Nt||{});function _i(t,e){let r=y(t);if(r.series[0].type===T.HeatSeries&&(!("firstDayOfWeek"in t)||t.firstDayOfWeek===void 0||t.firstDayOfWeek===null)){let{lang:n}=zt(e??document.documentElement);try{r.firstDayOfWeek=S.local().setLocale(n.replaceAll("_","-")).startOf("week",{useLocaleWeeks:!0}).weekday}catch{}}return r}function eo(t){let e=y(t);return B(t.axes)||(e.axes=t.axes?.map(r=>{let n=r;return delete n.calculateAutomaticMaximum,delete n.calculateAutomaticMinimum,n.title?.content.font?.style!==void 0&&(n.title.content.font.style=n.title.content.font.style.toLowerCase()),n})),e}function to(t){let e=y(t);return B(t.series)||(e.series=t.series.map((r,n)=>{let s=r;r.id===void 0&&(s.id=`Series ${Date.now()}-${n}`);let i=j(t.series,n);return(i===T.BarSeries||i===T.LineSeries||i===T.RadarSeries)&&s.query?.outStatistics?.[0]?.statisticType==="median"&&(s.query.outStatistics[0].statisticType=ne.ContinuousPercentile),i===T.BarSeries&&s.multipleBarType!==void 0&&(s.stackedType=s.multipleBarType,delete s.multipleBarType),i===T.PieSeries&&s.sliceGrouping!==void 0&&(s.sliceGrouping.sliceId=Pt.defaultGroupOfSlicesId,s.sliceGrouping.groupName!==void 0&&(s.sliceGrouping={...s.sliceGrouping,label:s.sliceGrouping.groupName},delete s.sliceGrouping.groupName),s.sliceGrouping.groupSliceSymbol!==void 0&&(s.sliceGrouping={...s.sliceGrouping,fillSymbol:s.sliceGrouping.groupSliceSymbol},delete s.sliceGrouping.groupSliceSymbol)),s})),e}async function $r(t,e){let r=[];return await Promise.all(t.map(async n=>{if(!Ke(n)){let s=ve(n,!1);if(s.fieldToSort!==void 0){let i=await Y({queryObject:e,fieldToMatch:s.fieldToSort});i!==void 0&&r.push(s.orderBy===void 0?i:`${i} ${s.orderBy}`)}}})),r}async function ro(t,e){let r={...t},n=e;if(!n){let s=sr(t)?t.iLayer:t.dataSource?.layer;s&&(n=await tr(s))}if(n){let s=Se(r.series),i=j(r.series),o=r.series&&r.series.length>0&&r.series[0].x.trim()===""||i===T.GaugeSeries&&!Kt(t)||s===b.PieFromFields||s===b.BarAndLineFromFields||s===b.BoxPlotMonoField||s===b.BoxPlotMonoFieldAndSplitBy||s===b.BoxPlotMultiFields||s===b.BoxPlotMultiFieldsAndSplitBy,a=i===T.ScatterSeries||s===b.BarAndLineNoAggregation||s===b.BarAndLineSplitByNoAggregation||s===b.BoxPlotMonoField||s===b.BoxPlotMonoFieldAndSplitBy||s===b.BoxPlotMonoFieldAndCategory||s===b.BoxPlotMonoFieldAndCategoryAndSplitBy||s===b.PieNoAggregation;if(r.series=await Promise.all(t.series.map(async u=>{let l={...u};if(o||(l.x=await Y({queryObject:n,fieldToMatch:u.x})),"y"in l&&a){let d=l.y;if(Array.isArray(d)){let h=await et({fieldsList:d,queryObject:n});h!==void 0&&"y"in l&&(l.y=h)}else"y"in l&&typeof d=="string"&&(l.y=await Y({queryObject:n,fieldToMatch:d}))}if(u.query!==void 0){let{where:d,groupByFieldsForStatistics:h,outStatistics:g}=u.query;if(h=await et({fieldsList:h,queryObject:n}),g!==void 0&&(g=await Promise.all(g.map(async m=>{let k={...m};return k.onStatisticField=await Y({queryObject:n,fieldToMatch:m.onStatisticField}),k}))),d!==void 0&&s===b.BarAndLineSplitBy){let m=Jt(u.query?.where),k=Qt({where:u.query?.where,normalize:!1,escape:!1});d=`${await Y({queryObject:n,fieldToMatch:m})}=${k}`}l.query!==void 0&&(d!==void 0&&(l.query.where=d),h!==void 0&&(l.query.groupByFieldsForStatistics=h),g!==void 0&&(l.query.outStatistics=g))}return l})),r.series[0]?.query!==void 0){let u=r.series[0].query,{orderByFields:l}=u;l!==void 0&&l.length>0&&(l=await $r(l,n),l.length>0&&u.orderByFields!==void 0&&(r.series[0].query.orderByFields=l))}if(r.orderOptions?.orderByFields!==void 0){let{orderByFields:u}=r.orderOptions;u!==void 0&&u.length>0&&(u=await $r(u,n),u.length>0&&(r.orderOptions.orderByFields=u))}if(i===T.GaugeSeries&&t.axes?.[0]!==void 0){let{minimumFromField:u,maximumFromField:l}=t.axes[0];if(u!==void 0){let d=typeof u=="string"?u:u.onStatisticField,h=await Y({queryObject:n,fieldToMatch:d}),g=u;typeof t.axes[0].minimumFromField=="string"?g=h:typeof u=="object"&&(g={...u,onStatisticField:h}),t.axes[0].minimumFromField=g}if(l!==void 0){let d=typeof l=="string"?l:l.onStatisticField,h=await Y({queryObject:n,fieldToMatch:d}),g=l;typeof t.axes[0].maximumFromField=="string"?g=h:typeof l=="object"&&(g={...l,onStatisticField:h}),t.axes[0].maximumFromField=g}}}return r}function no(t){let e=y(t);if(!B(t.series)&&j(t.series)===T.BoxPlotSeries){let r=e.series[0];r&&(r.showOutliers!==void 0&&(t.showOutliers===void 0&&(e.showOutliers=r.showOutliers),delete r.showOutliers),r.standardizeValues!==void 0&&(t.standardizeValues===void 0&&(e.standardizeValues=r.standardizeValues),delete r.standardizeValues),r.showMean!==void 0&&(t.showMean===void 0&&(e.showMean=r.showMean),delete r.showMean))}return e}function so(t){let e={orderType:W.Category,orderBy:V.Ascending},r=t.query?.orderByFields?.[0];if(r!==void 0){let{outStatisticFieldName:n,statisticType:s}=t.query?.outStatistics?.[0]??{},i=ve(r);n!==void 0&&i.fieldToSort===n&&s!==void 0&&(s===ne.Average||s==="mean"?e.orderType=W.Mean:s===ne.ContinuousPercentile&&(e.orderType=W.Median)),e.orderBy=i.orderBy??V.Ascending}return e}function io(t){let e=!1,r=Array.from(new Set(t.series.map(n=>n.type)));return r.length===2&&r.includes(T.BoxPlotSeries)&&r.includes(T.LineSeries)&&(e=t.series.find(n=>n.type===T.LineSeries)?.query?.outStatistics?.[0]!==void 0),e}function oo(t){let e=y(t);if(!B(e.series)&&j(t.series)===T.BoxPlotSeries){if(e.orderOptions?.data===void 0){let r=so(t.series[0]);r.orderType!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:r.orderType,orderBy:r.orderBy})}if(e.series=t.series.map(r=>{let n=r;return B(n.x?.trim())&&(n.x=Ut),delete n.query?.orderByFields,n}),io(e)){e.showMean=!0;let r=e.series.find(n=>n.type===T.BoxPlotSeries);e.series.forEach(n=>{n.type===T.LineSeries&&(delete n.query?.groupByFieldsForStatistics,delete n.query?.outStatistics,delete n.query?.orderByFields,r&&(n.y=r.y))})}e.series=t.series.map(r=>{let n=r;return delete n.query?.outStatistics,n})}return e}function ao(t){let e=y(t);return e.legend!==void 0&&!Number.isFinite(e.legend.maxHeight)&&(e.legend.maxHeight=Number.NaN),e}function uo(t){let e=y(t);return"dataSource"in e&&e.dataSource.layer&&(e.iLayer=e.dataSource.layer,delete e.dataSource),e}function lo(t){let e=y(t),r=new Set,n=e.id??"";return r.add(n),e.series.forEach(s=>{let i=s.id;r.has(i)&&(i=`${i}_${Date.now()}`,s.id=i),r.add(i)}),e}async function co(t){let{configToUpdate:e,layer:r,chartContainer:n}=t,s=y(e);return s=eo(s),s=to(s),s=await ro(s,r),s=no(s),s=oo(s),s=ao(s),s=lo(s),s=_i(s,n),s}function ho(t){let e=y(t);return e?.orderOptions?.orderByFields!==void 0&&Se(t.series)===b.PieFromFields&&(e.orderOptions.orderByFields=t?.orderOptions?.orderByFields?.map(r=>{let n=y(r);return r!==void 0&&r.includes("arcgis_charts_pie_category_from_fields_name")&&(n=r.replace("arcgis_charts_pie_category_from_fields_name",Ie)),n})),e}function mo(t){let e=y(t);if(!B(t.series)&&e.axes?.[0]!==void 0&&j(t.series)===T.GaugeSeries&&t.axes?.[0]!==void 0){let r=t.axes[0];r.ticks!==void 0&&Object.hasOwn(r.ticks,"spacing")&&delete r.ticks.spacing,e.axes[0]=r}return e}function fo(t){let e=y(t),{extent:r}=e.series[0]?.query??{};return r!==void 0&&(e.dataFilters={...e.dataFilters,geometry:r},e.series.forEach(n=>{"query"in n&&"extent"in n.query&&delete n.query.extent})),e}function ts(t){let e=y(t);return B(t.series)||(rr(t)&&t.rotated===void 0&&(e.rotated=t.series[0].rotated??Rt()),e.series.forEach(r=>{r.rotated!==void 0&&delete r.rotated})),e}function yo(t){let e=y(t),r=t.dataSource;return"dataSource"in e&&!B(r)&&(r.type==="featureLayer"&&e.dataSource!==void 0&&(e.dataSource.type="layer"),"featureLayer"in r&&(e.dataSource.layer=r.featureLayer,delete e.dataSource.featureLayer)),e}function go(t){let e=y(t);if("dataSource"in t){let r=t.dataSource;if(r.filter!==void 0&&r.filter.trim()!==""){let n=er([r.filter,e.dataFilters?.where]);e.dataFilters={...e.dataFilters,where:n},delete e.dataSource.filter}}return e}function po(t){return t!=="originalValue"}function rs(t){let e;switch(t){case"mean":e=W.Mean;break;case"median":e=W.Median;break;case"category":e=W.Category;break}return e}function wo(t){let e=y(t);if(!B(t.series)&&j(t.series)===T.PieSeries){let r=e.series[0];if(r){if(r.sortLabelsBy==="originalValue")e.sortLabelsBy=r.sortLabelsBy;else if(r.sortLabelsBy!==void 0&&e.orderOptions?.data===void 0){let n=Bt(e);n!==void 0&&(e.orderOptions??={},e.orderOptions.data=n)}r.sortLabelsBy&&delete r.sortLabelsBy}}return e}function vo(t){let e=y(t);return B(t.series)||(nr(t)&&t.stackedType===void 0&&(e.stackedType=t.series[0].stackedType??Yt()),e.series.forEach(r=>{"stackedType"in r&&delete r.stackedType})),e}function So(t){let e=y(t),r=t.sortOptions?.sortSeriesBy;return e.orderOptions===void 0&&typeof r=="string"&&(e.orderOptions??={},e.orderOptions.series={orderBy:r==="DESC"?V.Descending:V.Ascending}),e}function ko(t){let e=y(t);return e.colorMatch===void 0&&e.series[0]?.colorType!==void 0&&(e.colorMatch=e.series[0]?.colorType===At.Match),e.series.forEach(r=>{r.colorType!==void 0&&delete r.colorType}),e}function To(t){let e=y(t);if(e.sortDataBy!==void 0){if(e.orderOptions?.data===void 0){let r=t.sortDataBy,n=rs(r?.sortType);n!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:n,orderBy:r?.sortOrder??V.Ascending})}delete e.sortDataBy}return e}function Oo(t){let e=y(t);return e.axes?.forEach(r=>{r!==void 0&&r.scrollbarVisible!==void 0&&r.scrollbar?.visible===void 0&&(r.scrollbar={...r.scrollbar,visible:r.scrollbarVisible},delete r.scrollbarVisible)}),e}function bo(t){let e=y(t),r=e.series[0]?.query?.orderByFields;if(r!==void 0&&r.length>0&&e.orderOptions?.orderByFields===void 0){e.orderOptions??={};let n=!0;if(r.length===1){let{fieldToSort:s,orderBy:i}=ve(r[0]),o;s===t.series[0].x||s===Ie?o=W.Category:"y"in t.series[0]&&s===t.series[0].y&&(o=W.YValue),o!==void 0&&(n=!1,e.orderOptions.data===void 0&&(e.orderOptions.data={orderType:o,orderBy:i?.toUpperCase()==="DESC"?V.Descending:V.Ascending}))}n&&(e.orderOptions.orderByFields=r)}return e.series.forEach(n=>{delete n.query?.orderByFields}),e}function Bt(t){let e,r=t.orderOptions?.orderByFields?.[0];if(t.series?.length>0){let n=j(t.series),s=Se(t.series);if(n!==T.PieSeries&&s!==b.BarAndLineFromFields&&(r=r??t.series[0].x),r&&!Ke(r)){let{fieldToSort:i,orderBy:o}=ve(r),a;i===t.series[0].x||i===Ie?a=W.Category:"y"in t.series[0]&&i===t.series[0].y&&(a=W.YValue),a!==void 0&&(e={orderType:a,orderBy:o?.toUpperCase()==="DESC"?V.Descending:V.Ascending})}}return e}function xo(t){let e=y(t),r=t,n=t,s=t,i=t,o=t;if(e){if(e.orderOptions?.series===void 0&&r.sortOptions?.sortSeriesBy!==void 0&&(e.orderOptions??={},e.orderOptions.series={preferLabel:po(n.sortLabelsBy??r.sortOptions.sortSeriesBy.sortType),orderBy:r.sortOptions.sortSeriesBy.sortOrder??V.Ascending}),n.sortLabelsBy==="originalValue"||i.orderOptions?.data?.preferDataLabel===!1||o.orderOptions?.data?.preferLabel===!1)e.orderOptions?.data&&delete e.orderOptions.data;else if(e.orderOptions?.data===void 0)if(j(e.series)===T.BoxPlotSeries){if(n.sortLabelsBy||s.sortOptions?.sortDataBy!==void 0){let a=rs(s.sortOptions?.sortDataBy?.sortType);a!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:a,orderBy:s.sortOptions?.sortDataBy?.sortOrder??V.Ascending})}}else{let a=Bt(e);a!==void 0&&(e.orderOptions??={},e.orderOptions.data=a)}"sortLabelsBy"in e&&delete e.sortLabelsBy,"sortOptions"in e&&delete e.sortOptions}return e}function Mo(t){let e=y(t);if(e){let r=Se(e.series);if((r===b.BarAndLineFromFields||r===b.PieFromFields)&&e.orderOptions?.data===void 0&&e.orderOptions?.orderByFields!==void 0){let n=Bt(e);n!==void 0&&(e.orderOptions??={},e.orderOptions.data=n,delete e.orderOptions.orderByFields)}}return e}function Do(t){let e=y(t);return e.horizontalAxisLabelsBehavior===Nt.NONE&&(e.horizontalAxisLabelsBehavior=Qe.Hide),e.verticalAxisLabelsBehavior===Nt.NONE&&(e.verticalAxisLabelsBehavior=Qe.Hide),e}function No(t){let e=y(t),r=e.series[0];if(r&&!r.temporalBinning&&Xt(e.series[0])&&("timeIntervalSize"in r||"timeIntervalUnits"in r||"timeAggregationType"in r||"trimIncompleteTimeInterval"in r||"nullPolicy"in r)){if(r.temporalBinning={},r.timeIntervalSize!==void 0&&(r.temporalBinning.size=r.timeIntervalSize,delete r.timeIntervalSize),r.timeIntervalUnits){let n;switch(r.timeIntervalUnits){case"esriTimeUnitsSeconds":n=R.Second;break;case"esriTimeUnitsMinutes":n=R.Minute;break;case"esriTimeUnitsHours":n=R.Hour;break;case"esriTimeUnitsDays":n=R.Day;break;case"esriTimeUnitsWeeks":n=R.Week;break;case"esriTimeUnitsMonths":n=R.Month;break;case"esriTimeUnitsYears":n=R.Year;break}n!==void 0&&(r.temporalBinning.unit=n),delete r.timeIntervalUnits}r.timeAggregationType&&(r.temporalBinning.timeAggregationType=r.timeAggregationType,delete r.timeAggregationType),r.trimIncompleteTimeInterval!==void 0&&(r.temporalBinning.trimIncompleteTimeInterval=r.trimIncompleteTimeInterval,delete r.trimIncompleteTimeInterval),r.nullPolicy&&(r.temporalBinning.nullPolicy=r.nullPolicy,delete r.nullPolicy)}return e}function Fo(t){let e=y(t);return e.series.forEach(r=>{r.query?.outStatistics?.forEach(n=>{n.statisticType==="percentile_cont"?n.statisticType=ne.ContinuousPercentile:n.statisticType==="percentile_disc"&&(n.statisticType=ne.DiscretePercentile)})}),e}function Io(t){let e=y(t);return e.subtitle===void 0&&e.subTitle&&(e.subtitle=e.subTitle),delete e.subTitle,e}function Vo(t){let e=y(t),r=e.series[0];return r?.temporalBinning&&delete r.temporalBinning?.type,e}function Eo(t){let e=y(t);return e=ho(e),e}function Wr(t){let e=y(t);return e=mo(e),e}function Br(t){let e=y(t);return e=fo(e),e}function Zr(t){let e=y(t);return e=ts(e),e}function qr(t){let e=y(t);return e=yo(e),e}function Ar(t){let e=y(t);return e=go(e),e}function zr(t){let e=y(t);return e=wo(e),e}function jr(t){let e=y(t);return e=So(e),e}function Pr(t){let e=y(t);return e=ko(e),e}function Ur(t){return Oo(t)}function Rr(t){let e=y(t);return t.series[0]?.type===T.BoxPlotSeries&&(e=To(e)),e}function Yr(t){return vo(t)}function Hr(t){return xo(t)}function Gr(t){return uo(t)}function Jr(t){return Mo(t)}function Qr(t){return Do(t)}function Xr(t){return No(t)}function Kr(t){return Fo(t)}function _r(t){let e=y(t);return e=ts(e),Io(e)}function en(t){let e=y(t);return e=Vo(e),e}function Co(t){let{versionsToConvert:e=[],configToUpdate:r}=t,n=y(r);return e.length>0&&n!==void 0&&(n=bo(n),e.includes(_e)||e.includes(Ht)?(n=Eo(n),n=Wr(n),n=Br(n),n=Zr(n),n=qr(n),n=Ar(n),n=zr(n),n=jr(n),n=Pr(n),n=Ur(n),n=Rr(n),n=Yr(n),n=Hr(n),n=Gr(n),n=Jr(n),n=Qr(n),n=Xr(n),n=Kr(n),n=_r(n),n=en(n)):e.forEach(s=>{if(n!==void 0)switch(s){case"1.0.1":n=Wr(n);break;case"3.4.0":n=Br(n);break;case"4.0.0":n=Zr(n);break;case"4.0.1":n=qr(n);break;case"6.4.0":n=Ar(n);break;case"7.5.1":n=zr(n);break;case"8.0.0":n=jr(n);break;case"9.2.0":n=Pr(n);break;case"9.7.0":n=Ur(n);break;case"10.0.0":n=Rr(n);break;case"11.0.0":n=Yr(n);break;case"14.0.1":n=Hr(n);break;case"16.0.0":n=Gr(n);break;case"16.1.0":n=Jr(n);break;case"18.1.3":n=Qr(n);break;case"20.1.0":n=Xr(n);break;case"21.0.0":n=Kr(n);break;case"23.2.0":n=_r(n);break;case"24.0.0":n=en(n);break}}),n.version=jt),n}async function qo(t,e,r){let n=t;if(t){let s=_t(e);n=await co({configToUpdate:t,layer:s,chartContainer:r});let i=t.version??_e,{versionStatus:o,versions:a}=Gt(i);(o===Xe.Older||o===Xe.Unrecognized)&&(n=Co({versionsToConvert:a,configToUpdate:n}))}return n}return{a:S,b:qo}},a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import{a as c}from"./ABC5XNN2.js";import d from"./QEVWDYMP.js";import{a as P}from"./M2F7E4Y4.js";import{b as w}from"./RB2I4UMU.js";import b from"./L2O5JJD6.js";import{i as s}from"./AVCMN6JQ.js";import"./ZYAD7QEA.js";import a from"./WQFOGW5O.js";import{C as u,c as o}from"./FSWOPYBN.js";import"./BDT6LLVB.js";import{A as t,F as v,g as f,h as i,l as p,w as m,x as h,y}from"./XCIMUKWV.js";import"./TCLTZQ4L.js";export default $arcgis.t(([,,,,,,,{Oa:C,hc:$,v:b},,{a:d,l:S}])=>{var l={symbolPropertyPopover:"symbol-property-popover",colorPicker:"color-picker",jsAppFlyout:"js-app-flyout",header:"header",pickListItemLabel:"pick-list-item-label",fieldSelectPanel:"field-select-panel",transformationPanel:"transformation-panel"},L=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.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)}.right{display:block;text-align:right}.inline{display:inline-flex;flex-wrap:wrap}.symbol-property-popover{min-width:300px}.symbol-property-popover .inline{align-items:center;margin-bottom:1rem;padding:0 1rem}.symbol-property-popover .inline calcite-action{margin-left:.2rem}.symbol-property-popover .inline input,.symbol-property-popover .inline select{width:4rem;margin-left:.5rem;height:24px}.symbol-property-popover .inline select{width:6rem}.symbol-property-popover .color calcite-icon{margin-left:.5rem}.symbol-property-popover .color .color-picker{padding:1rem}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.field-select-panel{max-height:60vh}.transformation-panel{width:calc(var(--calcite-panel-width-multiplier) * 12vw);max-width:calc(var(--calcite-panel-width-multiplier) * 300px);min-width:calc(var(--calcite-panel-width-multiplier) * 150px);min-width:calc(var(--calcite-panel-width-multiplier) * 170px)}`,g=class extends y{constructor(){super(...arguments),this._messages=P(),this.picklist=m(),this.popoverElement=m(),this.layerFieldsInfo=[],this.arcgisChartsConfigHistogramPopoverChange=p(),this.arcgisChartsConfigHistogramPopoverSymbolChange=p(),this.arcgisChartsConfigPopoverClose=p()}static{this.properties={messageOverrides:0,layerFieldsInfo:0,headingTitle:3,selectedNumericField:3,selectedTransformationType:3,selectedOverlaySymbol:2,selectedBinColor:2,referenceElement:2,contentKind:3,placement:1,open:7,selectedOverlaySymbolType:3}}static{this.styles=L}async reposition(){await this.popoverElement.value?.reposition()}async updated(){setTimeout(async()=>{await this.picklist.value?.setFocus()},d.PopoverTimer),w(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},d.PopoverTimer)}buildPickListItems(e){let n=[];if(e===s.numericFields)for(let r=0;r<this.layerFieldsInfo?.length;r+=1){let a=this.layerFieldsInfo[r];$(a)&&n.push(c(a.name,i`<calcite-list-item .label=${C(this.layerFieldsInfo,a.name)} .value=${a.name} .selected=${this.selectedNumericField===a.name}></calcite-list-item>`))}else{let r=[c(o.None,i`<calcite-list-item .label=${this._messages.none} .value=${o.None} .selected=${this.selectedTransformationType===o.None}></calcite-list-item>`),c(o.Log,i`<calcite-list-item .label=${this._messages.log} .value=${o.Log} .selected=${this.selectedTransformationType===o.Log}></calcite-list-item>`),c(o.Sqrt,i`<calcite-list-item .label=${this._messages.sqRt} .value=${o.Sqrt} .selected=${this.selectedTransformationType===o.Sqrt}></calcite-list-item>`)];n.push(...r)}return n}getPopoverClass(){return this.contentKind===s.fillSymbol||this.contentKind===s.lineSymbol?l.symbolPropertyPopover:""}closePopover(){(this.open||this.popoverElement.value?.open===!1)&&(this.open=!1,this.arcgisChartsConfigPopoverClose.emit())}overlaySymbolChange(e){this.arcgisChartsConfigHistogramPopoverSymbolChange.emit(e.detail)}fillColorChange(e){let n=e.detail,[r,a,k]=n,x=b*255;this.arcgisChartsConfigHistogramPopoverSymbolChange.emit({type:u.SFS,color:[r,a,k,x]})}onPickListChange(e){e.target!==null&&(this.arcgisChartsConfigHistogramPopoverChange.emit({contentKind:this.contentKind,value:e.target.selectedItems[0].value}),this.open=!1)}renderFillColor(){return i`<arcgis-charts-config-color-style class=${t(l.colorPicker)} .header=${this.headingTitle??this._messages.fillColor} enable-close .open=${this.open} .selectedColor=${this.selectedBinColor?.color} @arcgisChartsConfigColorStyleChange=${this.fillColorChange} @arcgisChartsConfigColorStyleClose=${this.closePopover}></arcgis-charts-config-color-style>`}renderOverlayStyle(){return i`<arcgis-charts-config-line-style class=${t(l.colorPicker)} .open=${this.open} enable-close .header=${this.headingTitle??this._messages.lineStyle} .lineStyle=${this.selectedOverlaySymbol} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.overlaySymbolChange}></arcgis-charts-config-line-style>`}renderFieldSelect(){let e=this.buildPickListItems(s.numericFields);return i`<calcite-panel class=${t(l.fieldSelectPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${t(l.header)}>${this._messages.numericalFieldHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${t(l.pickListItemLabel)} filter-enabled @calciteListChange=${this.onPickListChange} ${h(this.picklist)}>${e}</calcite-list></calcite-panel>`}renderTransformationSelect(){let e=this.buildPickListItems(s.transformation);return i`<calcite-panel class=${t(l.transformationPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${t(l.header)}>${this._messages.transformationHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${t(l.pickListItemLabel)} @calciteListChange=${this.onPickListChange}>${e}</calcite-list></calcite-panel>`}render(){return i`<div class=${t({[l.jsAppFlyout]:!0})}><calcite-popover class=${t(this.getPopoverClass())} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} .offsetDistance=${S(this.placement)} label auto-close ${h(this.popoverElement)}>${this.renderContentType()}</calcite-popover></div>`}renderContentType(){switch(this.contentKind){case s.fillSymbol:return this.renderFillColor();case s.lineSymbol:return this.renderOverlayStyle();case s.numericFields:return this.renderFieldSelect();case s.transformation:return this.renderTransformationSelect();default:return}}};v("arcgis-charts-config-histogram-popover",g);return g},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import c from"./LQFM6EY7.js";import b from"./X2CPFUJE.js";import{c as K,d as $}from"./VHIVAKKW.js";import{a as q,j as g}from"./ZYAD7QEA.js";import a from"./WQFOGW5O.js";import{C as h,P as F,a as _,p as C}from"./FSWOPYBN.js";import{c as X,d as N}from"./BDT6LLVB.js";import{z as B}from"./XCIMUKWV.js";export default $arcgis.t(([,,,,,,,,{F:x,H:d,I:E,J:m,K:O,Q:R,Xa:H,dc:Z,fc:j,hb:P,mb:Y,p:s},{b:W},{A:pe,B:ue,C:T,D:A,E:xe,F:me,Fa:Ve,G:ve,Ga:Ge,H:be,Ha:De,I:ye,Ia:Me,J:we,Ja:Be,K:k,L:L,M:I,N:U,O:ze,P:_e,Q:Ce,R:Se,S:Te,T:Ae,U:ke,V:Le,W:Ie,X:Ue,c:p,d:v,e:J,i:a,j:Q,k:ee,l:te,m:ie,n:ce,o:b,oa:y,p:ae,q:oe,r:re,s:S,t:ne,u:le,v:se,w:ge,x:fe,y:he,z:de}])=>{var Pe="calcite-mode-auto",Ye="calcite-mode-dark";function Fe(){let{classList:i}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=()=>i.contains(Ye)||i.contains(Pe)&&e?"dark":"light",c=l=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:l}})),r=l=>{o!==l&&c(l),o=l},o=t();c(o),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",l=>r(l.matches?"dark":"light")),new MutationObserver(()=>r(t())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var u=globalThis.calciteConfig,jt=u?.focusTrapStack||[],Kt=u?.logLevel||"info",Xe="3.3.0-next.95",Ze="2025-09-03",je="4ff34176e";function Ke(){if(u&&u.version)return;console.info(`Using Calcite Components ${Xe} [Date: ${Ze}, Revision: ${je}]`);let i=u||globalThis.calciteConfig||{};Object.defineProperty(i,"version",{value:Xe,writable:!1}),globalThis.calciteConfig=i}document.readyState==="interactive"?Fe():document.addEventListener("DOMContentLoaded",Fe,{once:!0});queueMicrotask(Ke);var $e=B({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.3.0-next.95/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:$t,getAssetPath:V,setAssetPath:We}=$e;var qe=i=>i.title?.content,Je=(i,e)=>{if(i){let t=b(e);e.title===void 0&&(e.title=m({text:"",visible:!0,font:d(s.ChartTitle),type:s.ChartTitle})),e.title.content=i,e.title.content.text=t}},Qe=i=>i.subtitle?.content,et=(i,e)=>{if(i){let t=b(e);e.subtitle===void 0&&(e.subtitle=m({text:"",visible:!0,font:d(s.ChartSubtitle),type:s.ChartSubtitle})),e.subtitle.content=i,e.subtitle.content.text=t}},tt=i=>i.footer?.content,it=(i,e)=>{if(i){let t=S(e);e.footer===void 0&&(e.footer=m({text:"",visible:!0,font:d(s.DescriptionText),type:s.DescriptionText})),e.footer.content=i,e.footer.content.text=t}},ct=i=>i.background,at=(i,e)=>{e.background=i},ot=(i,e)=>e.series[i]?.id,rt=(i,e)=>e.series.findIndex(t=>t.id===i),nt=i=>i.series.length??0,lt=(i,e)=>e.series[i].visible??!0;function st(i,e){let t;return i.length!==0&&e<i.length&&(t=i[e].dataTooltipValueFormat),t}function gt(i){let{series:e,seriesIndex:t,valueFormat:c}=i;e.length!==0&&t<e.length&&(e[t].dataTooltipValueFormat=c)}var w=class extends EventTarget{constructor(){super(...arguments),this.dataStore={},this.setupFinished=new Promise(e=>{this.resolveSetup=e})}static{this.supportsCustomSort=!1}isSameChartAs(e){let t=e?.getLayer();return t!==void 0&&this._config.id===e?.getChartId()&&this.layerInfo?.layer.id===t.id}getConfig(){return this._config}setConfig(e){this._config=e,this.emitConfigUpdate("setConfig")}getChartType(){return this._chartType}getLayer(){return this.layerInfo?.layer}getChartId(){return this._config.id}setChartId(e){this._config.id=e}getVersion(){return this.getVersion()}getTitleText(){return b(this._config)}setTitleText(e){ae(e,this._config),this.emitConfigUpdate("setTitleText")}getSubtitleText(){return oe(this._config)}setSubtitleText(e){re(e,this._config),this.emitConfigUpdate("setSubtitleText")}getDescriptionText(){return S(this._config)}setDescriptionText(e){ne(e,this._config),this.emitConfigUpdate("setDescriptionText")}getChartTitleVisibility(){return le(this._config)}setChartTitleVisibility(e){se(e,this._config),this.emitConfigUpdate("setChartTitleVisibility")}getChartSubtitleVisibility(){return ge(this._config)}setChartSubtitleVisibility(e){fe(e,this._config),this.emitConfigUpdate("setChartSubtitleVisibility")}getDescriptionVisibility(){return he(this._config)}setDescriptionVisibility(e){de(e,this._config),this.emitConfigUpdate("setDescriptionVisibility")}getChartRenderer(){return pe(this._config)}setChartRenderer(e){ue(e,this._config),this.emitConfigUpdate("setChartRenderer")}getTitleSymbol(){return qe(this._config)}setTitleSymbol(e){Je(e,this._config),this.emitConfigUpdate("setTitleSymbol")}getSubtitleSymbol(){return Qe(this._config)}setSubtitleSymbol(e){et(e,this._config),this.emitConfigUpdate("setSubtitleSymbol")}getDescriptionSymbol(){return tt(this._config)}setDescriptionSymbol(e){it(e,this._config),this.emitConfigUpdate("setDescriptionSymbol")}getBackgroundColor(){return ct(this._config)}setBackgroundColor(e){at(e,this._config),this.emitConfigUpdate("setBackgroundColor")}getSeriesVisibility(e){return lt(e,this._config)}setSeriesVisibility(e){H({detail:e},this._config),this.emitConfigUpdate("setSeriesVisibility")}getSeriesId(e){return ot(e,this._config)}getSeriesIndex(e){return rt(e,this._config)}getSeriesLength(){return nt(this._config)}getChartSubType(){return Y(this._config.series)}getDataTooltipValueFormat(e){return st(this._config.series,e)}setDataTooltipValueFormat(e,t){gt({series:this._config.series,seriesIndex:e,valueFormat:t})}setFetchNULLValues(e){Ve(e,this._config),this.emitConfigUpdate("setFetchNULLValues")}getFetchNULLValues(){return Ge(this._config)}getSplitByValues(){return De(this._config)}getSortOrderKind(){return""}async getCustomSortValues(){return await new Promise(e=>e([]))}setSortOrderKind(e,t){}isSortOrderCustomSort(e){return e===q}getDataFilters(){return Me(this._config)}async setDataFilter(e){if(Be(e,this._config),this.constructor.supportsCustomSort){let t=this.getSortOrderKind();if(this.isSortOrderCustomSort(t)){let c=await this.getCustomSortValues();this.setSortOrderKind(t,c)}}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}emitConfigUpdate(e){this.dispatchEvent(new CustomEvent("arcgisChartsModelConfigChange",{detail:{config:this._config,functionCalled:e}}))}async loadConfigFromLayer(e){let{layer:t,iLayer:c,config:r}=e,o=t;if(!o&&c&&(o=await Z(c)),o){let l=await j(o,!0),{objectIdField:Re}=o;this.layerInfo={layer:o,layerFieldsInfo:l,objectIdField:Re}}this._config=r!==void 0?await W(r):await this.generateDefaultConfig(),this._config.legend!==void 0&&this._config.legend?.title===void 0&&(this._config.legend.title=R().title),c&&(this._config.iLayer=c)}},z=class extends w{getXAxisTitleText(){return k(0,this._config)}setXAxisTitleText(e){L(e,0,this._config),this.emitConfigUpdate("setXAxisTitleText")}getXAxisTitleVisibility(){return I(0,this._config)}setXAxisTitleVisibility(e){U(e,0,this._config),this.emitConfigUpdate("setXAxisTitleVisibility")}getMaxXBound(){return p({config:this._config,axisIndex:0,isMax:!0})}setMaxXBound(e){v({config:this._config,value:e,axisIndex:0,isMax:!0}),this.emitConfigUpdate("setMaxXBound")}getMinXBound(){return p({config:this._config,axisIndex:0,isMax:!1})}setMinXBound(e){J(this._config,e),this.emitConfigUpdate("setMinXBound")}getXAxisTitleSymbol(){return T(this._config,0)}setXAxisTitleSymbol(e){A({symbol:e,axisIndex:0,config:this._config}),this.emitConfigUpdate("setXAxisTitleSymbol")}getAxisLabelsSymbol(){return xe(this._config)}setAxisLabelsSymbol(e){me(e,this._config),this.emitConfigUpdate("setAxisLabelsSymbol")}getAxisLinesSymbol(){return ve(this._config)}setAxisLinesSymbol(e){be(e,this._config),this.emitConfigUpdate("setAxisLinesSymbol")}},ft=i=>{for(let e of i.axes??[])for(let t of e?.guides??[])if(t.label!==void 0)return t.label},ht=(i,e)=>{for(let t of e.axes??[])for(let c of t?.guides??[]){let r=c.label?.text??"";c.label=F(i),c.label!==void 0&&(c.label.text=r)}};function n(i){return{...i,axis:i.orientation===g.X?i.config.axes?.[0]:i.config.axes?.[1],index:i.index??0,orientation:i.orientation??g.Y}}var dt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.visible??!0},pt=i=>{let{visible:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].visible=e)},Ne=i=>{let e=P(i.start,i.end);$(i.style)&&e===h.SFS?i.style={type:h.SFS,color:i.style.color}:K(i.style)&&e===h.SLS&&(i.style={type:h.SLS,color:i.style.color})},ut=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.start??null},xt=i=>{let{start:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].start=e,Ne(t.guides[c]))},mt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.end},vt=i=>{let{end:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].end=e,Ne(t.guides[c]))},bt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.name},yt=i=>{let{name:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].name=e)},wt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.label?.text},zt=i=>{let{labelText:e,axis:t,index:c}=n(i),r=t?.guides?.[c]?.label??E(e,d(s.GuideLabel),s.GuideLabel);t?.guides?.[c]!==void 0&&(t.guides[c].label={...r,text:e})},_t=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.above??!1},Ct=i=>{let{above:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].above=e)},St=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.style},Tt=i=>{let{style:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].style=e)},Ee=i=>{let{config:e,name:t,index:c,orientation:r}=i,o=r===g.X?e.axes?.[0]:e.axes?.[1];if(o!==void 0){o.guides=o.guides??[];let l={type:_.Guide,name:t,start:o.valueFormat.type===_.DateAxisFormat?"":0,style:O()};c!==void 0&&c<o.guides.length?o.guides.splice(c,0,l):o.guides.push(l)}},Oe=i=>{let{config:e,index:t,orientation:c}=i,r=c===g.X?e.axes?.[0]:e.axes?.[1];r?.guides!==void 0&&(t!==void 0&&t<r.guides.length?r.guides.splice(t,1):r.guides.pop())},At=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.tooltipReverseColor??!1},kt=i=>{let{reverseColor:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].tooltipReverseColor=e)},f=class extends w{getGuideLabelsSymbol(){return ft(this._config)}setGuideLabelsSymbol(e){ht(e,this._config),this.emitConfigUpdate("setGuideLabels")}getGuideVisibility(e,t){return dt({config:this._config,index:e,orientation:t})}setGuideVisibility(e,t,c){pt({visible:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideVisibility")}getGuideStart(e,t){return ut({config:this._config,index:e,orientation:t})}setGuideStart(e,t,c){xt({start:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideStart")}getGuideEnd(e,t){return mt({config:this._config,index:e,orientation:t})}setGuideEnd(e,t,c){vt({end:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideEnd")}getGuideName(e,t){return bt({config:this._config,index:e,orientation:t})}setGuideName(e,t,c){yt({name:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideName")}getGuideLabelText(e,t){return wt({config:this._config,index:e,orientation:t})}setGuideLabelText(e,t,c){zt({labelText:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideLabelText")}getGuideAbove(e,t){return _t({config:this._config,index:e,orientation:t})}setGuideAbove(e,t,c){Ct({above:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideAbove")}getGuideStyle(e,t){return St({config:this._config,index:e,orientation:t})}setGuideStyle(e,t,c){Tt({style:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideStyle")}getTooltipReverseColor(e,t){return At({config:this._config,index:e,orientation:t})}setTooltipReverseColor(e,t,c){kt({reverseColor:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setTooltipReverseColor")}},G=class extends f{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(e,t){Ee({config:this._config,name:e,index:t,orientation:g.X}),this.emitConfigUpdate("addXAxisGuide")}deleteXAxisGuide(e){Oe({config:this._config,index:e,orientation:g.X}),this.emitConfigUpdate("deleteXAxisGuide")}};y(G,[f]);var D=class extends f{getYGuidesLength(){return this._config.axes?.[1]?.guides?.length}addYAxisGuide(e,t){Ee({config:this._config,name:e,index:t,orientation:g.Y}),this.emitConfigUpdate("addYAxisGuide")}deleteYAxisGuide(e){Oe({config:this._config,index:e,orientation:g.Y}),this.emitConfigUpdate("deleteYAxisGuide")}};y(D,[f]);var Lt=i=>i.horizontalAxisLabelsBehavior??C.Rotate,It=(i,e)=>{e.horizontalAxisLabelsBehavior=i},Ut=i=>i.verticalAxisLabelsBehavior??C.Wrap,Vt=(i,e)=>{e.verticalAxisLabelsBehavior=i},Gt=i=>i.cursorCrosshair?.horizontalLineVisible??!1,Dt=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.horizontalLineVisible=i},Mt=i=>i.cursorCrosshair?.verticalLineVisible??!1,Bt=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.verticalLineVisible=i},Ft=i=>i.cursorCrosshair?.style,Xt=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.style=i},Nt=i=>i.cursorCrosshair,Et=(i,e)=>{e.cursorCrosshair=i},M=class extends z{getAxisTitleText(e){return a({config:this._config,axisIndex:e,func:t=>k(t,this._config)})??""}setAxisTitleText(e,t){a({config:this._config,axisIndex:t,func:c=>{L(e,c,this._config),this.emitConfigUpdate("setAxisTitleText")}})}getAxisTitleVisibility(e){return a({config:this._config,axisIndex:e,func:t=>I(t,this._config)})??!1}setAxisTitleVisibility(e,t){a({config:this._config,axisIndex:t,func:c=>{U(e,c,this._config),this.emitConfigUpdate("setAxisTitleVisibility")}})}getMaxBound(e){return a({config:this._config,axisIndex:e,func:t=>p({config:this._config,axisIndex:t,isMax:!0})})??Number.NaN}setMaxBound(e,t){a({config:this._config,axisIndex:t,func:c=>{v({config:this._config,value:e,axisIndex:c,isMax:!0}),this.emitConfigUpdate("setMaxBound")}})}getMinBound(e){return a({config:this._config,axisIndex:e,func:t=>p({config:this._config,axisIndex:t,isMax:!1})})??Number.NaN}setMinBound(e,t){a({config:this._config,axisIndex:t,func:c=>{v({config:this._config,value:e,axisIndex:c,isMax:!1}),this.emitConfigUpdate("setMinBound")}})}getAxisValueFormat(e){return a({config:this._config,axisIndex:e,func:t=>Q(t,this._config)})}async setAxisValueFormat(e,t){await a({config:this._config,axisIndex:e,func:async c=>{await ee({config:this._config,valueFormat:t,axisIndex:c}),this.emitConfigUpdate("setAxisValueFormat")}})}getLogarithmic(e){return a({config:this._config,axisIndex:e,func:t=>te(this._config,t)})??!1}setLogarithmic(e,t){a({config:this._config,axisIndex:t,func:c=>{ie({config:this._config,isLogarithmic:e,axisIndex:c}),this.emitConfigUpdate("setLogarithmic")}})}getAxisScrollbar(e){return a({config:this._config,axisIndex:e,func:t=>this._config.axes?.[t]?.scrollbar})}setAxisScrollbar(e,t){a({config:this._config,axisIndex:t,func:c=>{ce({config:this._config,scrollbar:e,axisIndex:c}),this.emitConfigUpdate("setAxisScrollbar")}})}getAxisTitleSymbol(e){return a({config:this._config,axisIndex:e,func:t=>T(this._config,t)})}setAxisTitleSymbol(e,t){a({config:this._config,axisIndex:t,func:c=>{A({symbol:e,config:this._config,axisIndex:c}),this.emitConfigUpdate("setAxisTitleSymbol")}})}getHorizontalAxisLabelsBehavior(){return Lt(this._config)}setHorizontalAxisLabelsBehavior(e){It(e,this._config),this.emitConfigUpdate("setHorizontalAxisLabelsBehavior")}getVerticalAxisLabelsBehavior(){return Ut(this._config)}setVerticalAxisLabelsBehavior(e){Vt(e,this._config),this.emitConfigUpdate("setVerticalAxisLabelsBehavior")}getGridLinesSymbol(){return ye(this._config)}setGridLinesSymbol(e,t){Array.isArray(t)&&we(e,this._config,t),this.emitConfigUpdate("setGridLinesSymbol")}async getDefaultXAxisTitleText(){return(await X(N(document.documentElement).t9nLocale,V("./assets/common/t9n"),"messages.")).utilsStrings.statistics.count}getDisplayZeroLine(e){return a({config:this._config,axisIndex:e,func:t=>ze(this._config,t)})??!1}setDisplayZeroLine(e,t){a({config:this._config,axisIndex:t,func:c=>{_e(this._config,e,c),this.emitConfigUpdate("setDisplayZeroLine")}})}getDisplayCursorTooltip(e){return a({config:this._config,axisIndex:e,func:t=>Ce(this._config,t)})??!1}setDisplayCursorTooltip(e,t){a({config:this._config,axisIndex:t,func:c=>{Se({config:this._config,displayCursorTooltip:e,axisIndex:c}),this.emitConfigUpdate("setDisplayCursorTooltip")}})}getBuffer(e){return a({config:this._config,axisIndex:e,func:t=>Te(this._config,t)})??!1}setBuffer(e,t){a({config:this._config,axisIndex:t,func:c=>{Ae({config:this._config,buffer:e,axisIndex:c}),this.emitConfigUpdate("setBuffer")}})}getTickSpacing(e){return ke(this._config,e)}setTickSpacing(e,t){a({config:this._config,axisIndex:t,func:c=>{Le({config:this._config,tickSpacing:e,axisIndex:c}),this.emitConfigUpdate("setTickSpacing")}})}getIntegerOnlyValues(e){return a({config:this._config,axisIndex:e,func:t=>Ie(this._config,t)})??!1}setIntegerOnlyValues(e,t){a({config:this._config,axisIndex:t,func:c=>{Ue({config:this._config,integerOnlyValues:e,axisIndex:c}),this.emitConfigUpdate("setIntegerOnlyValues")}})}getCursorCrosshairHorizontalLineVisibility(){return Gt(this._config)}setCursorCrosshairHorizontalLineVisibility(e){Dt(e,this._config),this.emitConfigUpdate("setCursorCrosshairHorizontalLineVisibility")}getCursorCrosshairVerticalLineVisibility(){return Mt(this._config)}setCursorCrosshairVerticalLineVisibility(e){Bt(e,this._config),this.emitConfigUpdate("setCursorCrosshairVerticalLineVisibility")}getCursorCrosshairStyle(){return Ft(this._config)}setCursorCrosshairStyle(e){Xt(e,this._config),this.emitConfigUpdate("setCursorCrosshairStyle")}getCursorCrosshair(){return Nt(this._config)}setCursorCrosshair(e){Et(e,this._config),this.emitConfigUpdate("setCursorCrosshair")}};y(M,[z]);return{a:w,b:z,c:G,d:D,e:M}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import b from"./XPSMZ26W.js";import a from"./WQFOGW5O.js";import{P as f,e as r}from"./FSWOPYBN.js";export default $arcgis.t(([,,,,,,,{H:n,J:l,Q:o,p:s},{a:d}])=>{var L=t=>t.colorMatch??!0,m=(t,e)=>{e.colorMatch=t},b=class extends d{getColorMatch(){return L(this._config)}setColorMatch(e){m(e,this._config),this.emitConfigUpdate("setColorMatch")}},v=t=>{let e=!1;return t.legend!==void 0&&(e=t.legend.visible??!0),e},T=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.visible=t},y=t=>t.legend?.title?.content,x=(t,e)=>{e.legend===void 0&&(e.legend=o()),(e.legend.title===void 0||t===void 0)&&(e.legend.title=l({text:"",visible:!0,font:n(s.LegendTitle),type:s.LegendTitle})),t!==void 0&&(e.legend.title.content=t)},_=t=>t.legend?.body,C=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.body=t??l({text:"",visible:!0,font:n(s.LegendText),type:s.LegendText}).content},a=t=>t.legend?.title?.content.text??"",u=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.content.text=t;else if(e.legend===void 0&&t!==void 0){let i=o();i.title!==void 0&&(i.title.content.text=t,i.title.visible=!0,e.legend=i)}},D=t=>t.legend?.title?.visible??!1,V=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.visible=t;else if(e.legend!==void 0&&e.legend?.title===void 0&&t)e.legend.title=l({text:a(e),visible:t,font:n(s.LegendTitle),type:s.LegendTitle});else if(e.legend===void 0){let i=o();i.title=l({text:a(e),visible:t,font:n(s.LegendTitle),type:s.LegendTitle}),e.legend=i}},M=t=>t.legend?.position??r.Right,U=(t,e)=>{if(e.legend!==void 0)e.legend.position=t;else if(e.legend===void 0){let i=o();i.position=t,e.legend=i}},R=t=>t.legend?.roundMarkers??!1,S=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.roundMarkers=t},k=t=>t.legend?.maxHeight??void 0,H=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.maxHeight=t},c=class extends d{getLegendVisibility(){return v(this._config)}setLegendVisibility(e){T(e,this._config),this.emitConfigUpdate("setLegendVisibility")}getLegendTitleText(){return a(this._config)}setLegendTitleText(e){u(e,this._config),this.emitConfigUpdate("setLegendTitleText")}getLegendTitleVisibility(){return D(this._config)}setLegendTitleVisibility(e){V(e,this._config),this.emitConfigUpdate("setLegendTitleVisibility")}getLegendPosition(){return M(this._config)}setLegendPosition(e){U(e,this._config),this.emitConfigUpdate("setLegendPosition")}getLegendTitleSymbol(){return y(this._config)}setLegendTitleSymbol(e){x(e,this._config),this.emitConfigUpdate("setLegendTitleSymbol")}getLegendTextSymbol(){return _(this._config)}setLegendTextSymbol(e){C(e,this._config),this.emitConfigUpdate("setLegendTextSymbol")}getLegendMaxHeight(){return k(this._config)}setLegendMaxHeight(e){H(e,this._config),this.emitConfigUpdate("setLegendMaxHeight")}getLegendRoundMarker(){return R(this._config)}setLegendRoundMarker(e){S(e,this._config),this.emitConfigUpdate("setLegendRoundMarker")}},E=(t,e)=>t.series?.[e??0]?.dataTooltipVisible??!0,P=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipVisible=e:t.series&&t.series.forEach(g=>{g.dataTooltipVisible=e})},j=(t,e)=>t.series?.[e??0]?.dataTooltipReverseColor??!1,W=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipReverseColor=e:t.series&&t.series.forEach(g=>{g.dataTooltipReverseColor=e})},h=class extends d{getDataTooltipVisibility(e){return E(this._config,e)}setDataTooltipVisibility(e,i){P(this._config,e,i),this.emitConfigUpdate("setDataTooltipVisibility")}getDataTooltipReverseColor(e){return j(this._config,e)}setDataTooltipReverseColor(e,i){W(this._config,e,i),this.emitConfigUpdate("setDataTooltipVisibility")}},q=t=>t.series[0]?.dataLabels?.visible??!1,w=(t,e)=>{e.series.forEach(i=>{i.dataLabels!==void 0?i.dataLabels.visible=t:i.dataLabels=l({text:"",visible:t,font:n(s.DataLabels),type:s.DataLabels})})},z=t=>{for(let e of t.series)if(e.dataLabels!==void 0)return e.dataLabels.content},A=(t,e)=>{for(let i of e.series)(i.dataLabels===void 0||t===void 0)&&(i.dataLabels=l({text:"",visible:!0,font:n(s.DataLabels),type:s.DataLabels})),t!==void 0&&(i.dataLabels.content=f(t))},p=class extends d{getDataLabelsVisibility(){return q(this._config)}setDataLabelsVisibility(e){w(e,this._config),this.emitConfigUpdate("setDataLabelsVisibility")}getDataLabelsSymbol(){return z(this._config)}setDataLabelsSymbol(e){A(e,this._config),this.emitConfigUpdate("setDataLabelsSymbol")}};return{a:b,b:c,c:h,d:p}},"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/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import{b as te}from"./I5ABWZVQ.js";import{b as E}from"./J7DY2OM5.js";import{a as Q}from"./ABC5XNN2.js";import d from"./QEVWDYMP.js";import{a as H}from"./M2F7E4Y4.js";import{a as ee}from"./RB2I4UMU.js";import b from"./L2O5JJD6.js";import"./AVCMN6JQ.js";import{k as U,o as Y,p as W}from"./W76CLY5C.js";import{c as O,d as g}from"./VHIVAKKW.js";import{j as v}from"./ZYAD7QEA.js";import a from"./WQFOGW5O.js";import{C as u,P as k,a as j,x as V}from"./FSWOPYBN.js";import"./BDT6LLVB.js";import{A as o,B as S,D as I,F as N,g as R,h as r,l as X,w as c,x as h,y as z}from"./XCIMUKWV.js";import"./TCLTZQ4L.js";export default $arcgis.t(([,,,,,,,{K:q,hb:p},{c:Z,d:D,e:P},{h:C,i:x,n:T,p:J,r:K}])=>{var a={row:"row",column:"column",colorPicker:"color-picker"},se=R`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.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}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`,A=class extends z{constructor(){super(...arguments),this._messages=H(),this.startCalciteInput=c(),this.endCalciteInput=c(),this.startDateCalciteInput=c(),this.endDateCalciteInput=c(),this.startTimeCalciteInput=c(),this.endTimeCalciteInput=c(),this.colorElement=c(),this.colorChange=e=>{let t=e.detail,i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation);if(p(i,n)===u.SLS){let l=k(E.style),s=this.model.getGuideStyle(this.index,this.orientation),d={...l,...g(s)?s:{},color:t};this.lineStyleChange({detail:d})}else this.setColor(t)},this.symbolChange=e=>{let t=e?.detail,i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation);if(p(i,n)===u.SLS){let l=k(E.style),s=this.model.getGuideStyle(this.index,this.orientation),d={...l,...g(s)?s:{},...g(t)?t:{}};this.lineStyleChange({detail:d})}else t?.color!==void 0&&this.setColor(t.color)},this.onModelConfigChange=()=>{this.requestUpdate()},this.guidePopover=null,this.latestGuidePosition=0,this.arcgisChartsConfigGuideChange=X()}static{this.properties={guidePopover:16,messageOverrides:0,model:0,timeZone:3,calculatedMinMaxBounds:2,index:11,orientation:3,latestGuidePosition:9}}static{this.styles=se}get isXAxisDateField(){return this.orientation===v.X&&U(this.model)&&this.model.getAxisValueFormat(0)?.type===j.DateAxisFormat}load(){this.modelChange(this.model)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model"))}loaded(){this.isXAxisDateField&&this.setGuideDateTimeRange()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}onColorElementSelect(e){this.guidePopover?.open===!0?this.removeGuidePopover():this.setupGuidePopover(e)}setGuideStart(e){let{value:t}=e.target;this.startCalciteInput.value!==void 0&&(t===""?C({inputElement:this.startCalciteInput.value,status:x.INVALID}):(this.model.setGuideStart(t,this.index,this.orientation),this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),C({inputElement:this.startCalciteInput.value,status:x.IDLE}))),this.guidePopover?.open===!0&&this.removeGuidePopover()}setGuideEnd(e){let{value:t}=e.target;this.endCalciteInput.value!==void 0&&(this.model.setGuideEnd(t===""?null:t,this.index,this.orientation),this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),C({inputElement:this.endCalciteInput.value,status:x.IDLE})),this.guidePopover?.open===!0&&this.removeGuidePopover()}setGuideDateTimeRange(){let e=this.calculatedMinMaxBounds?.find(m=>m.isXAxis)?.minimum,t=this.calculatedMinMaxBounds?.find(m=>m.isXAxis)?.maximum,i=typeof e=="number"?new Date(e):new Date,n=typeof t=="number"?new Date(t):new Date,l=new window.Intl.DateTimeFormat().resolvedOptions().timeZone,s=Z(this.timeZone)??l,d=D(i,s),f=P(i,s),$=D(n,s),ie=P(n,s),_=this.startDateCalciteInput.value?.value??"",b=_===""?d:_,F=this.startTimeCalciteInput.value?.value??"",L=F===""?f:F,G=this.endDateCalciteInput.value?.value??"",y=G===""?$:G,M=this.endTimeCalciteInput.value?.value??"",B=M===""?ie:M,w=!1;if(!Array.isArray(b)&&b!==void 0&&L!==void 0){let m=`${b}T${L}`;this.model.setGuideStart(m,this.index,this.orientation),w=!0}if(!Array.isArray(y)&&y!==void 0&&B!==void 0){let m=G===""?void 0:`${y}T${B}`;this.model.setGuideEnd(m,this.index,this.orientation),w=!0}w&&(this.symbolChange(),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1}),this.guidePopover?.open===!0&&this.removeGuidePopover())}setGuideName(e){let t=e.target.value;this.model.setGuideName(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setGuideLabel(e){let t=e.target.value;this.model.setGuideLabelText(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setGuideRendered(e){let t=e.target?.selectedItem?.value;if(t!==void 0){let i=t===this._messages.inFront;this.model.setGuideAbove(i,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}}lineStyleChange(e){let t=e.detail;this.model.setGuideStyle(t,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}setupGuidePopover(e){e.stopImmediatePropagation();let t=this.model.getGuideStyle(this.index,this.orientation),i=this.model.getGuideStart(this.index,this.orientation),n=this.model.getGuideEnd(this.index,this.orientation),l;p(i,n)===u.SLS?l=g(t)?t:void 0:l=t?.color;let s=this.colorElement.value;Array.isArray(t?.color)?(this.guidePopover=I(r`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`),this.guidePopover!==void 0&&!document.body.contains(this.guidePopover)&&document.body.appendChild(this.guidePopover)):this.removeGuidePopover()}removeGuidePopover(){this.guidePopover!==null&&this.guidePopover!==void 0&&(this.guidePopover=ee(this.guidePopover))}setColor(e){let t=q({opacity:0}),i=this.model.getGuideStyle(this.index,this.orientation),n={...O(i)?i:{},type:u.SFS,color:e,outline:t};this.model.setGuideStyle(n,this.index,this.orientation),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!1})}getDateStringFromBound(e){return typeof e=="string"?e.split("T")[0]:""}getTimeStringFromBound(e){return typeof e=="string"?e.split("T")[1]:""}createTooltip(e){let t=e.target,i="";switch(t.icon){case"view-visible":i=this._messages.hideGuide??"";break;case"view-hide":i=this._messages.showGuide??"";break;case"trash":default:i=this._messages.deleteGuide??"";break}this.tooltip=I(r`<calcite-tooltip style=${S({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}toggleGuide(){let e=this.model.getGuideVisibility(this.index,this.orientation);this.model.setGuideVisibility(!e,this.index,this.orientation)}destroyTooltip(){K(this.tooltip)}deleteGuide(){this.destroyTooltip(),this.orientation===v.X&&Y(this.model)?this.model.deleteXAxisGuide(this.index):this.orientation===v.Y&&W(this.model)&&this.model.deleteYAxisGuide(this.index),this.arcgisChartsConfigGuideChange.emit({index:this.index,orientation:this.orientation,isDelete:!0})}renderColorElement(){let e=this.model.getGuideStyle(this.index,this.orientation),[t,i,n,l]=[...e?.color??[1,1,1,255]],s=this.model.getGuideStart(this.index,this.orientation),d=this.model.getGuideEnd(this.index,this.orientation),f=g(e)?J(e.style):V.Solid,$=p(s,d)===u.SLS?`line-${f}`:"square-f";return r`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(a.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${h(this.colorElement)}><calcite-icon slot=content-end .icon=${$} style=${S({color:`rgba(${t},${i},${n},${l/255})`})}></calcite-icon></calcite-list-item></calcite-list>`}render(){let e=this.model.getGuideStart(this.index,this.orientation),t=this.model.getGuideEnd(this.index,this.orientation),i=this.model.getGuideName(this.index,this.orientation),n=this.model.getGuideLabelText(this.index,this.orientation),l=this.model.getGuideAbove(this.index,this.orientation),s=this.model.getGuideVisibility(this.index,this.orientation),d=this.isXAxisDateField;return r`<calcite-block .heading=${i??""} .open=${this.latestGuidePosition===te(this.index,this.orientation,this.model)} collapsible .messageOverrides=${{expand:this._messages.expand,collapse:this._messages.collapse}}><calcite-action slot=control text .icon=${s?"view-visible":"view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=control text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.start}${d?r`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${h(this.startDateCalciteInput)}></calcite-input-date-picker>`:r`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${T} number-button-type=none .value=${e?.toString()} ${h(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(a.column)}>${this._messages.end}${d?r`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${h(this.endDateCalciteInput)}></calcite-input-date-picker>`:r`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${T} number-button-type=none .value=${t?.toString()} ${h(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${d?Q("time-picker-row",r`<div class=${o(a.row)}>${e!=null?r`<calcite-label class=${o(a.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${h(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>`:null}${t!=null?r`<calcite-label class=${o(a.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${h(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>`:null}</div>`):null}<div class=${o(a.row)}><div class=${o(a.column)}>${this.renderColorElement()}</div></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${n} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(a.row)}><calcite-label class=${o(a.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`}};N("arcgis-charts-config-guide",A);return A},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import{d as t}from"./AVCMN6JQ.js";import{c as f,g as C}from"./VHIVAKKW.js";import a from"./WQFOGW5O.js";import{T as r}from"./FSWOPYBN.js";import"./BDT6LLVB.js";import{F as d,g as n,h as s,l as h,y as c}from"./XCIMUKWV.js";import"./TCLTZQ4L.js";export default $arcgis.t(([,,,,,,,{dc:g,fc:m,ic:p}])=>{var u=n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends c{constructor(){super(...arguments),this.onModelConfigChange=async e=>{let a=e?.detail.config??this.model.getConfig();this.layer===void 0&&await this.updateFetchLayerFieldsInfo(a)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=h()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:3,popoverPlacement:3,seriesColor:2,calculatedMinMaxBounds:2,page:3,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=u}async load(){this.layer!==void 0&&await this.layerChange(this.layer,void 0),this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,void 0),this.modelChange(this.model),this.onModelConfigChange(),this.updateDataFilters()}async willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("layer")&&await this.layerChange(this.layer,e.get("layer")),e.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,e.get("usePopupTemplateFieldsInfo")),e.has("seriesColor")&&this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&await this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,a){a?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}async layerChange(e,a){e!==void 0&&!r(a,e)&&await this.updateFetchLayerFieldsInfo()}async usePopupTemplateFieldsInfoChange(e,a){e!==void 0&&e!==a&&await this.updateFetchLayerFieldsInfo()}seriesColorChange(e){this.activeColorMatch=e?.get(0)===void 0,this.model.getColorMatch()&&e?.forEach((a,i)=>{f(a)&&e?.get(0)!==void 0&&a?.color!==void 0&&!r(this.model.getSeriesColor(i),a?.color)&&this.model.setSeriesColor(a?.color,i)})}async updateDataFilters(){let e=this.model.getDataFilters(),a=e?.where,i=this.layer?.definitionExpression??void 0;r(a,i)||await this.model.setDataFilter({...e,where:i})}async updateFetchLayerFieldsInfo(e){let a=e??this.model.getConfig(),i=this.layer;if(!i){let o=C(a)?a.iLayer:void 0;o&&(i=await g(o))}i&&(this.layerFieldsInfo=await m(i,this.usePopupTemplateFieldsInfo))}render(){let e=this.layerFieldsInfo?.find(o=>o.name===this.model.getXAxisField()),a=e!==void 0&&p(e),i;switch(this.page){case t.Data:i=s`<arcgis-charts-config-bar-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-bar-chart-data>`;break;case t.Series:i=s`<arcgis-charts-config-bar-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-bar-chart-series>`;break;case t.Axes:i=s`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;break;case t.Guides:i=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .enableXAxisGuide=${a} enable-y-axis-guide .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-guides>`;break;case t.Format:i=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case t.General:i=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:i="";break}return i}};d("arcgis-charts-config-bar-chart",l);return l},"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/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import d from"./QEVWDYMP.js";import{a as m}from"./M2F7E4Y4.js";import{b as g}from"./RB2I4UMU.js";import c from"./L2O5JJD6.js";import"./AVCMN6JQ.js";import{k as e}from"./ZYAD7QEA.js";import b from"./WQFOGW5O.js";import"./FSWOPYBN.js";import"./BDT6LLVB.js";import{A as o,F as h,g as l,h as i,l as a,w as r,x as n,y as p}from"./XCIMUKWV.js";import"./TCLTZQ4L.js";export default $arcgis.t(([,,,,,,,,,{a:d}])=>{var s={selectChartComponent:"select-chart-component",jsAppFlyout:"js-app-flyout",panel:"panel"},f=l`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.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)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`,c=class extends p{constructor(){super(...arguments),this._messages=m(),this.selectChartTypePopover=r(),this.arcgisChartsConfigPopoverClose=a(),this.arcgisChartsConfigSelectChartTypeChange=a()}static{this.properties={messageOverrides:0,headerTitle:3,layerId:3,open:7,referenceElement:0,popoverPlacement:3,selectedModelType:3}}static{this.styles=f}async reposition(){await this.selectChartTypePopover.value?.reposition()}updated(){g(this.selectChartTypePopover.value,this.open),this.hasUpdated||setTimeout(()=>{this.selectChartTypePopover.value?.reposition()},d.PopoverTimer)}buildChartTypesList(){return i`<calcite-list label @click=${this.onChartTypeClick}><calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType===e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.lineChart} .value=${e.LineChart} .selected=${this.selectedModelType===e.LineChart}><calcite-icon slot=content-start icon=graph-time-series></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.pieChart} .value=${e.PieChart} .selected=${this.selectedModelType===e.PieChart}><calcite-icon slot=content-start icon=pie-chart></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType===e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType===e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.boxPlot} .value=${e.BoxPlot} .selected=${this.selectedModelType===e.BoxPlot}><calcite-icon slot=content-start icon=box-chart></calcite-icon></calcite-list-item></calcite-list>`}onChartTypeClick(t){t.target?.localName==="calcite-list-item"?this.selectedModelType=t.target?.value:this.selectedModelType=t.target?.parentNode?.value,this.arcgisChartsConfigSelectChartTypeChange.emit()}popoverOpen(){setTimeout(async()=>await this.selectChartTypePopover.value?.setFocus(),250)}popoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit(),setTimeout(async()=>await this.referenceElement?.setFocus(),250)}render(){return i`<div class=${o({[s.selectChartComponent]:!0,[s.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top","bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${n(this.selectChartTypePopover)}><calcite-panel class=${o(s.panel)} .heading=${this.headerTitle??this._messages.chooseChartType} closable @calcitePanelClose=${this.popoverClose} .closed=${!this.open}>${this.buildChartTypesList()}</calcite-panel></calcite-popover></div>`}};h("arcgis-charts-config-select-chart-type-popover",c);return c},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import{d as t}from"./AVCMN6JQ.js";import{g as f}from"./VHIVAKKW.js";import b from"./WQFOGW5O.js";import{T as s}from"./FSWOPYBN.js";import"./BDT6LLVB.js";import{F as c,g as n,h as a,l as h,y as d}from"./XCIMUKWV.js";import"./TCLTZQ4L.js";export default $arcgis.t(([,,,,,,,{dc:m,fc:g,hc:p,ic:y}])=>{var C=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends d{constructor(){super(...arguments),this.onModelConfigChange=async i=>{let e=i?.detail.config??this.model.getConfig();this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=h()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:3,popoverPlacement:3,seriesColor:2,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:2,page:3,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=C}async load(){this.layer!==void 0&&await this.layerChange(this.layer,void 0),this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,void 0),this.modelChange(this.model),this.onModelConfigChange()}async willUpdate(i){i.has("model")&&this.modelChange(this.model,i.get("model")),i.has("layer")&&await this.layerChange(this.layer,i.get("layer")),i.has("usePopupTemplateFieldsInfo")&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,i.get("usePopupTemplateFieldsInfo")),i.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&await this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(i,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),i?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}async layerChange(i,e){i&&!s(e,i)&&await this.updateFetchLayerFieldsInfo()}async usePopupTemplateFieldsInfoChange(i,e){i&&i!==e&&await this.updateFetchLayerFieldsInfo()}seriesColorChange(i){this.activeColorMatch=i?.get(0)?.markerSymbol===void 0,this.model.getColorMatch()&&i?.forEach((e,o)=>{e&&i?.get(0)!==void 0&&("lineSymbol"in e&&(e.lineSymbol?.color!==void 0&&!s(this.model.getSeriesColor(o),e.lineSymbol.color)&&this.model.setSeriesColor(e.lineSymbol.color,o),e.lineSymbol?.style!==void 0&&!s(this.model.getSeriesLineStyle(o),e.lineSymbol.style)&&this.model.setSeriesLineStyle(e.lineSymbol.style,o),e.lineSymbol?.width!==void 0&&!s(this.model.getSeriesLineWidth(o),e.lineSymbol.width)&&this.model.setSeriesLineWidth(e.lineSymbol.width,o)),"markerSymbol"in e&&(e.markerSymbol?.color!==void 0&&!s(this.model.getSeriesMarkerColor(o),e.markerSymbol?.color)&&this.model.setSeriesMarkerColor(e.markerSymbol?.color,o),e.markerSymbol?.style!==void 0&&!s(this.model.getSeriesMarkerStyle(o),e.markerSymbol?.style)&&this.model.setSeriesMarkerStyle(e.markerSymbol?.style,o),e.markerSymbol?.size!==void 0&&this.model.getSeriesMarkerSize(o)!==e.markerSymbol?.size&&this.model.setSeriesMarkerSize(e.markerSymbol?.size,o)))})}async updateFetchLayerFieldsInfo(i){let e=i??this.model.getConfig(),o=this.layer;if(!o){let r=f(e)?e.iLayer:void 0;r&&(o=await m(r))}o&&(this.layerFieldsInfo=await g(o,this.usePopupTemplateFieldsInfo))}render(){let i=this.layerFieldsInfo?.find(r=>r.name===this.model.getXAxisField()),e=i!==void 0&&(p(i)||y(i)),o;switch(this.page){case t.Data:o=a`<arcgis-charts-config-line-chart-data .model=${this.model} .resetTimeInterval=${this.model.resetTimeInterval} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-line-chart-data>`;break;case t.Series:o=a`<arcgis-charts-config-line-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-line-chart-series>`;break;case t.Axes:o=a`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case t.Guides:o=a`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .enableXAxisGuide=${e} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case t.Format:o=a`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case t.General:o=a`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:o="";break}return o}};c("arcgis-charts-config-line-chart",l);return l},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
4
- import m from"./EYS7YO4Q.js";import l from"./HSAF6WE3.js";import k from"./R64LQ6RP.js";import j from"./U456OB3X.js";import i from"./W76PT7HY.js";import h from"./YAUI4OXF.js";import f from"./XPSMZ26W.js";import e from"./LQFM6EY7.js";import d from"./X2CPFUJE.js";import c from"./L6EW6HYU.js";import"./W76CLY5C.js";import{i as r,k as n,l as g}from"./VHIVAKKW.js";import"./ZYAD7QEA.js";import b from"./WQFOGW5O.js";import{a}from"./FSWOPYBN.js";import"./BDT6LLVB.js";import"./XCIMUKWV.js";import"./TCLTZQ4L.js";export default $arcgis.t(([,,,,,,,{$:l,ca:c,ja:d},,,,,,,,{b:h,c:S},{a:m,b:p,c:_,d:b,e:y,f:u,g:C,h:k,i:L,j:v,k:I,l:B,m:M,n:f,o:U,p:V,q:z,t:F,u:j},{a:w,b:A,c:D,d:O}])=>{var x=class extends S{constructor(){super(...arguments),this._chartType=a.ComboLineAndBarSeries}getConfig(){return this._config}async setup(e){await this.loadConfigFromLayer(e),e.config!==void 0&&(g(e.config?.series)&&await this.initDefaultSeries(),await this.updateSeriesFromLayerFilter()),typeof this.resolveSetup=="function"&&this.resolveSetup()}async generateDefaultConfig(){let e=await d();return e.series=[await c({objectIDField:this.layerInfo?.objectIdField})],e}async initDefaultSeries(){this.defaultSeries=await l({objectIDField:this.layerInfo?.objectIdField})}async setSeriesType(e,i){if(e<this._config.series.length&&e>=0){let s=this._config.series[e],o;if(i===a.BarSeries&&r(s)){let t={...s};delete t.lineSymbol,delete t.markerSymbol,delete t.lineSmoothed,delete t.markerVisible,delete t.areaColor,delete t.stackNegativeValuesToBaseline,o={...await c({objectIDField:this.layerInfo?.objectIdField}),...t,type:a.BarSeries,y:[s.y].flat()[0]},o.fillSymbol&&(o.fillSymbol={...o.fillSymbol,color:s.lineSymbol?.color})}else if(i===a.LineSeries&&n(s)){let t={...s};delete t.fillSymbol,delete t.hideOversizedStackedLabels,delete t.hideOversizedSideBySideLabels,o={...await l({objectIDField:this.layerInfo?.objectIdField}),...t,type:a.LineSeries},o.lineSymbol&&(o.lineSymbol={...o.lineSymbol,color:s.fillSymbol?.color})}o!==void 0&&(this._config.series[e]=o,this.emitConfigUpdate("setDataType"))}}getSeriesLineStyle(e){return m(e,this._config)}setSeriesLineStyle(e,i){let s=this._config.series?.[i];r(s)&&(p(e,i,this._config),this.emitConfigUpdate("setSeriesLineStyle"))}getSeriesLineWidth(e){return _(e,this._config)}setSeriesLineWidth(e,i){let s=this._config.series?.[i];r(s)&&(b(e,i,this._config),this.emitConfigUpdate("setSeriesLineWidth"))}getSeriesMarkerColor(e){return y(e,this._config)}setSeriesMarkerColor(e,i){let s=this._config.series?.[i];r(s)&&(u(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerColor"))}getSeriesMarkerStyle(e){return C(e,this._config)}setSeriesMarkerStyle(e,i){let s=this._config.series?.[i];r(s)&&(k(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerStyle"))}getSeriesMarkerSize(e){return L(e,this._config)}setSeriesMarkerSize(e,i){let s=this._config.series?.[i];r(s)&&(v(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerSize"))}isLineSmoothed(e){return I(e,this._config)}setLineSmoothed(e,i){let s=this._config.series?.[i];r(s)&&(B({smoothed:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setLineSmoothed"))}isAreaVisible(e){return M(e,this._config)}setAreaVisible(e,i){let s=this._config.series?.[i];r(s)&&(f({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setAreaVisible"))}isMarkerVisible(e){return U(e,this._config)}setMarkerVisible(e,i){let s=this._config.series?.[i];r(s)&&(V({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setMarkerVisible"))}getAreaColor(e){return z(e,this._config)}setAreaColor(e,i){let s=this._config.series?.[i];r(s)&&(f({visible:!0,seriesIndex:i,config:this._config}),h(e,i,this._config),this.emitConfigUpdate("setAreaColor"))}isNegativeValuesStackedToBaseline(e){return F(e,this._config)}setNegativeValuesStackedToBaseline(e,i){let s=this._config.series?.[i];r(s)&&(j({stackNegativeValuesToBaseline:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setNegativeValuesStackedToBaseline"))}getSeriesHideOversizedSideBySideLabels(e){return w(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){let s=this._config.series?.[i];n(s)&&(A(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels"))}getSeriesHideOversizedStackedLabels(e){return D(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){let s=this._config.series?.[i];n(s)&&(O(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels"))}};return x},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,d,e,f,h,i,j,k,l,m)
@@ -1,113 +0,0 @@
1
- import { d as y } from "./series-types.js";
2
- import { c2 as g, bx as w, a2 as C } from "./interfaces.js";
3
- import { M as o } from "./common.js";
4
- import { s as p, t as b, u as M } from "./type-guards.js";
5
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
7
- v4.34.0-next.133 */
8
- async function k(t) {
9
- const { queryObject: r, queryConfig: a, category: e, splitByField: n, chartLimits: d, abortKey: u } = t, c = n !== void 0, l = e !== C ? [e] : [];
10
- c && l.push(n);
11
- const m = g(r), h = {
12
- ...a,
13
- groupByFieldsForStatistics: Array.from(new Set(l)),
14
- outStatistics: [
15
- {
16
- statisticType: y.Count,
17
- onStatisticField: m.objectIdField,
18
- // Generating an out stat field name. Letting it to COUNT only can fail the query on arcObject layers
19
- outStatisticFieldName: `${y.Count}_OBJECTID`
20
- }
21
- ],
22
- orderByFields: void 0,
23
- // Adding num (resultRecordCount) to match the query fetching the results (build by `buildUniqueQuery()). We pick an arbitrary limit (maxBarThreePlusSeriesCountTotal)
24
- // as we don't know in advance how many results we will get.
25
- // TODO: once the servers are able to make a distinction between values with a different number of trailing spaces we'll be able to revert that function to its previous
26
- // state, using the `returnDistinctValues` on a specific field.
27
- // Refer to: https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8208
28
- num: d?.maxBarThreePlusSeriesCountTotal
29
- }, f = await w({
30
- queryObject: r,
31
- featureCount: 1,
32
- // skipping the count
33
- queryConfig: h,
34
- abortKey: u
35
- });
36
- return Array.from(
37
- new Set(
38
- f.map((i) => i.attributes[c ? n : e])
39
- )
40
- ).sort((i, s) => typeof i == "string" && typeof s == "string" ? i.localeCompare(s) : Number(i) - Number(s));
41
- }
42
- async function v(t) {
43
- const r = "config" in t ? p(t.config) : t.chartType;
44
- let a;
45
- if (!("layer" in t) && !("iLayer" in t) && "config" in t && t.config.iLayer === void 0)
46
- throw new Error(
47
- "The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property."
48
- );
49
- switch (r) {
50
- case o.LineChart: {
51
- const { LineChartModel: e } = await import("./line-chart-model.js");
52
- a = new e();
53
- break;
54
- }
55
- case o.ComboBarLineChart: {
56
- const { ComboBarLineChartModel: e } = await import("./combo-bar-line-chart-model.js");
57
- a = new e();
58
- break;
59
- }
60
- case o.PieChart: {
61
- const { PieChartModel: e } = await import("./pie-chart-model.js");
62
- a = new e();
63
- break;
64
- }
65
- case o.Histogram: {
66
- const { HistogramModel: e } = await import("./histogram-model.js");
67
- a = new e();
68
- break;
69
- }
70
- case o.Scatterplot: {
71
- const { ScatterplotModel: e } = await import("./scatterplot-model.js");
72
- a = new e();
73
- break;
74
- }
75
- case o.BoxPlot: {
76
- const { BoxPlotModel: e } = await import("./box-plot-model.js");
77
- a = new e();
78
- break;
79
- }
80
- case o.Gauge: {
81
- const { GaugeModel: e } = await import("./gauge-model.js");
82
- a = new e();
83
- break;
84
- }
85
- case o.RadarChart: {
86
- const { RadarChartModel: e } = await import("./radar-chart-model.js");
87
- a = new e();
88
- break;
89
- }
90
- case o.BarChart:
91
- default: {
92
- const { BarChartModel: e } = await import("./bar-chart-model.js");
93
- a = new e();
94
- break;
95
- }
96
- }
97
- if (await a?.setup({
98
- layer: "layer" in t ? t.layer : void 0,
99
- iLayer: "iLayer" in t ? t.iLayer : void 0,
100
- config: "config" in t ? t.config : void 0
101
- }), r !== void 0 && b(a, r))
102
- return a;
103
- {
104
- const e = M(a.getChartType());
105
- throw new Error(
106
- `Please check the arguments provided to \`createModel\`. The generated model's type (\`${e}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${r}\`).`
107
- );
108
- }
109
- }
110
- export {
111
- v as c,
112
- k as u
113
- };