@qitqode/qitqode-android-arm64 0.1.24 → 0.1.26

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 (420) hide show
  1. package/bundle/{chunk-gn9p1d50.js → chunk-01gwb793.js} +1 -1
  2. package/bundle/{chunk-4kse3awh.js → chunk-0304b7xg.js} +1 -1
  3. package/bundle/{chunk-k9d927xe.js → chunk-05amr7y9.js} +1 -1
  4. package/bundle/{chunk-am73j1bt.js → chunk-06x1p3t4.js} +1 -1
  5. package/bundle/{chunk-9798jffg.js → chunk-07net7s8.js} +1 -1
  6. package/bundle/chunk-08y06vgt.js +3 -0
  7. package/bundle/chunk-09ecxdmd.js +2 -0
  8. package/bundle/{chunk-6mscvf6y.js → chunk-0cehm5fn.js} +1 -1
  9. package/bundle/chunk-0jaj2g7x.js +2 -0
  10. package/bundle/{chunk-7gczzccz.js → chunk-0m2tj2h9.js} +1 -1
  11. package/bundle/{chunk-srf73nm4.js → chunk-0mekr486.js} +1 -1
  12. package/bundle/{chunk-gen6f3dn.js → chunk-0ndvy0nh.js} +2 -2
  13. package/bundle/chunk-0nr2925m.js +2 -0
  14. package/bundle/chunk-0vqrakhw.js +3 -0
  15. package/bundle/{chunk-vf1r5ckp.js → chunk-0w5npkgr.js} +1 -1
  16. package/bundle/chunk-0wbq1y92.js +2 -0
  17. package/bundle/chunk-12pxszgn.js +2 -0
  18. package/bundle/chunk-1337582e.js +2 -0
  19. package/bundle/{chunk-hxgb0y1w.js → chunk-14ag9ea0.js} +1 -1
  20. package/bundle/chunk-182jf8fz.js +2 -0
  21. package/bundle/chunk-1ht3zcsh.js +2 -0
  22. package/bundle/{chunk-fhng5her.js → chunk-1n4w8dya.js} +2 -2
  23. package/bundle/{chunk-g7vkkmsk.js → chunk-1qbm1k9y.js} +3 -3
  24. package/bundle/{chunk-apq38bt4.js → chunk-1xkwm21b.js} +3 -3
  25. package/bundle/{chunk-3tkp27x7.js → chunk-1xpx1t40.js} +2 -2
  26. package/bundle/{chunk-w1atxyz0.js → chunk-1yx4jesj.js} +1 -1
  27. package/bundle/chunk-25zkavr0.js +2 -0
  28. package/bundle/{chunk-4k149ews.js → chunk-28vnspd4.js} +1 -1
  29. package/bundle/chunk-2cm91ktc.js +3 -0
  30. package/bundle/chunk-2jfd82jk.js +2 -0
  31. package/bundle/{chunk-ve5gb789.js → chunk-2jn2hd12.js} +2 -2
  32. package/bundle/chunk-2k7bbzj2.js +2 -0
  33. package/bundle/{chunk-7yf15a3a.js → chunk-2kdn66xt.js} +1 -1
  34. package/bundle/{chunk-99n6czag.js → chunk-2q76qax6.js} +2 -2
  35. package/bundle/{chunk-8pe047p0.js → chunk-2sy1wx99.js} +1 -1
  36. package/bundle/{chunk-8651hq0k.js → chunk-2yb59jwr.js} +1 -1
  37. package/bundle/chunk-30081kwd.js +2 -0
  38. package/bundle/{chunk-g0v9g37f.js → chunk-32zrch7h.js} +1 -1
  39. package/bundle/{chunk-7y3y3j51.js → chunk-3bb7y9pq.js} +2 -2
  40. package/bundle/{chunk-jz3aav8a.js → chunk-3kdhvq0p.js} +2 -2
  41. package/bundle/{chunk-m8djypsy.js → chunk-3rgct4bd.js} +1 -1
  42. package/bundle/{chunk-frdc3ysq.js → chunk-3s0d17xe.js} +1 -1
  43. package/bundle/chunk-3vag59se.js +2 -0
  44. package/bundle/{chunk-j1a64ade.js → chunk-3w64fpwn.js} +2 -2
  45. package/bundle/chunk-3x5v6sjw.js +2 -0
  46. package/bundle/{chunk-hqg5qbxk.js → chunk-3zn71txs.js} +1 -1
  47. package/bundle/{chunk-3vbtra1j.js → chunk-41ftye7w.js} +1 -1
  48. package/bundle/chunk-43ep9d7a.js +2 -0
  49. package/bundle/chunk-48j09m6e.js +3 -0
  50. package/bundle/{chunk-6szvs3k9.js → chunk-4920vf6a.js} +1 -1
  51. package/bundle/{chunk-wa2ce2sg.js → chunk-49tqzsy0.js} +2 -2
  52. package/bundle/{chunk-cvchztkc.js → chunk-49ypxzfx.js} +1 -1
  53. package/bundle/{chunk-6nhje520.js → chunk-4k70wrhf.js} +1 -1
  54. package/bundle/{chunk-tk3bve0x.js → chunk-4nck07pc.js} +2 -2
  55. package/bundle/chunk-4qqja22v.js +2 -0
  56. package/bundle/{chunk-23geekk5.js → chunk-54pk7nna.js} +1 -1
  57. package/bundle/{chunk-ewyk4py6.js → chunk-56pwz1kk.js} +1 -1
  58. package/bundle/{chunk-2y8qz8te.js → chunk-56qm8xpt.js} +1 -1
  59. package/bundle/{chunk-y3n31nnx.js → chunk-58gp7wbg.js} +2 -2
  60. package/bundle/{chunk-9easaxy7.js → chunk-5dm3p5r6.js} +1 -1
  61. package/bundle/chunk-5gazgxt5.js +2 -0
  62. package/bundle/{chunk-0ae5q6ck.js → chunk-5jtd006j.js} +2 -2
  63. package/bundle/{chunk-t488d66k.js → chunk-5mec6cde.js} +1 -1
  64. package/bundle/{chunk-gvzfffr4.js → chunk-5yaahmjb.js} +1 -1
  65. package/bundle/{chunk-jbd9k041.js → chunk-5ymj2q6j.js} +2 -2
  66. package/bundle/{chunk-ebjhggdw.js → chunk-613kegcn.js} +1 -1
  67. package/bundle/chunk-63znhwx0.js +2 -0
  68. package/bundle/{chunk-zavtsfxz.js → chunk-6fpfr8tk.js} +1 -1
  69. package/bundle/{chunk-0pvbk8ks.js → chunk-6h2faxs9.js} +2 -2
  70. package/bundle/chunk-6hmyy7n6.js +2 -0
  71. package/bundle/{chunk-78bajmqm.js → chunk-6nk3wx6f.js} +1 -1
  72. package/bundle/{chunk-1jsywey3.js → chunk-6nkcfncg.js} +1 -1
  73. package/bundle/{chunk-ps543k72.js → chunk-6s2f5sv4.js} +1 -1
  74. package/bundle/{chunk-dcx8hjbs.js → chunk-6vb26adv.js} +1 -1
  75. package/bundle/{chunk-r48g0kaq.js → chunk-6wdwwpsc.js} +2 -2
  76. package/bundle/{chunk-8r79zf3y.js → chunk-77e1wh0j.js} +2 -2
  77. package/bundle/chunk-7dyddrpk.js +2 -0
  78. package/bundle/{chunk-4d1a547n.js → chunk-7e1aw8rw.js} +1 -1
  79. package/bundle/{chunk-ac202abt.js → chunk-7ez3ye6e.js} +1 -1
  80. package/bundle/{chunk-wfnk2vsd.js → chunk-7fmy4cvn.js} +1 -1
  81. package/bundle/{chunk-82gs5cmn.js → chunk-7n2kpqh5.js} +1 -1
  82. package/bundle/chunk-7penjsgq.js +2 -0
  83. package/bundle/chunk-7qxn24qa.js +3 -0
  84. package/bundle/{chunk-4q9w2yve.js → chunk-7rxsj310.js} +2 -2
  85. package/bundle/{chunk-dkv2mg97.js → chunk-7ryv0f5h.js} +1 -1
  86. package/bundle/chunk-7t5gzkj6.js +2 -0
  87. package/bundle/{chunk-84gnbzky.js → chunk-7tbvr236.js} +1 -1
  88. package/bundle/{chunk-8cr7ks31.js → chunk-81engf0t.js} +1 -1
  89. package/bundle/{chunk-cy2586rv.js → chunk-880msfsd.js} +1 -1
  90. package/bundle/chunk-89vgt8vq.js +2 -0
  91. package/bundle/{chunk-vftqwdpg.js → chunk-8ahpk8td.js} +1 -1
  92. package/bundle/{chunk-9f7y0dj0.js → chunk-8bzwgcjb.js} +1 -1
  93. package/bundle/chunk-8e8n82f9.js +2 -0
  94. package/bundle/{chunk-xj73j10a.js → chunk-91khd3fq.js} +1 -1
  95. package/bundle/chunk-97exhw9j.js +2 -0
  96. package/bundle/chunk-9cvkaht5.js +2 -0
  97. package/bundle/{chunk-1jh5p5qw.js → chunk-9p83me3p.js} +2 -2
  98. package/bundle/{chunk-ygj1cy0n.js → chunk-9qtf8khv.js} +1 -1
  99. package/bundle/{chunk-kaeyhw2n.js → chunk-9wm41z2f.js} +2 -2
  100. package/bundle/chunk-9zrwbxx0.js +3 -0
  101. package/bundle/{chunk-q6fbyvpq.js → chunk-admgf65a.js} +1 -1
  102. package/bundle/{chunk-spm1yy6w.js → chunk-afhg3w2j.js} +1 -1
  103. package/bundle/chunk-akdvstd9.js +2 -0
  104. package/bundle/{chunk-w7p2x973.js → chunk-atbm0pnt.js} +2 -2
  105. package/bundle/chunk-ave2e4sa.js +2 -0
  106. package/bundle/chunk-axnwehc7.js +2 -0
  107. package/bundle/{chunk-ns0pswww.js → chunk-b79k456s.js} +1 -1
  108. package/bundle/chunk-bmzyxspj.js +2 -0
  109. package/bundle/{chunk-9sy9ws1w.js → chunk-bse8p94q.js} +1 -1
  110. package/bundle/chunk-bvaqpfv8.js +2 -0
  111. package/bundle/{chunk-gf4ek7rv.js → chunk-c0k8j498.js} +1 -1
  112. package/bundle/{chunk-pyq01301.js → chunk-cbmw8fy2.js} +1 -1
  113. package/bundle/{chunk-cesrhm09.js → chunk-cn10hn58.js} +1 -1
  114. package/bundle/{chunk-gc9q0x8z.js → chunk-cqhpbfcn.js} +3 -3
  115. package/bundle/{chunk-jegn6jc3.js → chunk-cr06m77n.js} +2 -2
  116. package/bundle/{chunk-3wzqs241.js → chunk-crap29f6.js} +1 -1
  117. package/bundle/chunk-cxb05cdg.js +2 -0
  118. package/bundle/chunk-cxe92z5c.js +2 -0
  119. package/bundle/{chunk-b643cra9.js → chunk-cyjzqa5p.js} +195 -195
  120. package/bundle/{chunk-0w4v0fbs.js → chunk-d2n09yvh.js} +2 -2
  121. package/bundle/{chunk-fm4xa6yx.js → chunk-d31yrcrn.js} +2 -2
  122. package/bundle/chunk-d5wp85kw.js +2 -0
  123. package/bundle/{chunk-6j0365q3.js → chunk-dazye86e.js} +2 -2
  124. package/bundle/chunk-dm5xnb4t.js +2 -0
  125. package/bundle/chunk-dpeqsvan.js +2 -0
  126. package/bundle/chunk-drxtmg5c.js +2 -0
  127. package/bundle/{chunk-k16hzy2q.js → chunk-dv5zf5gz.js} +1 -1
  128. package/bundle/{chunk-2qcndbxv.js → chunk-e57d1he9.js} +1 -1
  129. package/bundle/{chunk-1d64dywx.js → chunk-e58pdw5k.js} +2 -2
  130. package/bundle/chunk-e9pfdjcy.js +2 -0
  131. package/bundle/chunk-ejn5hfzd.js +2 -0
  132. package/bundle/{chunk-hg563h5r.js → chunk-ek1fawsj.js} +2 -2
  133. package/bundle/{chunk-rvvfs9ps.js → chunk-eq33vmze.js} +1 -1
  134. package/bundle/{chunk-6sdh1q7g.js → chunk-eqaym8gm.js} +1 -1
  135. package/bundle/chunk-ernd18jb.js +2 -0
  136. package/bundle/{chunk-evqxvhdb.js → chunk-ewvgbg68.js} +1 -1
  137. package/bundle/{chunk-wf09j72q.js → chunk-f3c9667r.js} +2 -2
  138. package/bundle/{chunk-9nx8hm57.js → chunk-f3rrd2p6.js} +1 -1
  139. package/bundle/chunk-f416n3mp.js +14 -0
  140. package/bundle/{chunk-hh3w51wp.js → chunk-f6y7a5w3.js} +2 -2
  141. package/bundle/{chunk-zeh481tm.js → chunk-fd9zrmhr.js} +2 -2
  142. package/bundle/chunk-ff9b4cg8.js +2 -0
  143. package/bundle/{chunk-bas6x25m.js → chunk-fffj9447.js} +2 -2
  144. package/bundle/{chunk-5y8efy5b.js → chunk-fk3praj7.js} +1 -1
  145. package/bundle/{chunk-ecwz9nhs.js → chunk-fk8cctjy.js} +2 -2
  146. package/bundle/{chunk-1y9t7nxn.js → chunk-fkat2pw6.js} +1 -1
  147. package/bundle/chunk-fpff6a4q.js +2 -0
  148. package/bundle/chunk-fvy5w4dh.js +7 -0
  149. package/bundle/{chunk-2gxjjqfx.js → chunk-fx7w497c.js} +1 -1
  150. package/bundle/{chunk-5rkmhzq0.js → chunk-fxb6vjcb.js} +2 -2
  151. package/bundle/{chunk-9xvctnjr.js → chunk-g4qwkcdv.js} +1 -1
  152. package/bundle/{chunk-2eardzxs.js → chunk-g6dgc5af.js} +1 -1
  153. package/bundle/{chunk-2mmspnr3.js → chunk-g7vahvkz.js} +1 -1
  154. package/bundle/chunk-g8wvr7a1.js +3 -0
  155. package/bundle/{chunk-21ejqv4v.js → chunk-gaxbbxk6.js} +1 -1
  156. package/bundle/chunk-gq361kdt.js +2 -0
  157. package/bundle/{chunk-n1chdwrs.js → chunk-gxa2r4zc.js} +1 -1
  158. package/bundle/{chunk-p54bzjtv.js → chunk-h56jxxvj.js} +1 -1
  159. package/bundle/{chunk-2z6fzwyc.js → chunk-hb4d06q0.js} +2 -2
  160. package/bundle/chunk-hbagpppv.js +2 -0
  161. package/bundle/chunk-hf473xav.js +2 -0
  162. package/bundle/{chunk-gff87y4n.js → chunk-hjratj6g.js} +1 -1
  163. package/bundle/{chunk-y2jmtfdh.js → chunk-hk8j5ht8.js} +2 -2
  164. package/bundle/{chunk-jr8qcf99.js → chunk-hkmb3zer.js} +2 -2
  165. package/bundle/chunk-hr88054m.js +2 -0
  166. package/bundle/{chunk-ep8zn49w.js → chunk-hybq019j.js} +2 -2
  167. package/bundle/{chunk-1xyn0sp2.js → chunk-hyckncza.js} +2 -2
  168. package/bundle/{chunk-wj6aq50n.js → chunk-hz1hd1bd.js} +1 -1
  169. package/bundle/{chunk-zp2ffbc2.js → chunk-j0ftbmex.js} +2 -2
  170. package/bundle/chunk-j3czd7v2.js +28 -0
  171. package/bundle/{chunk-0w0jfzb4.js → chunk-j7zs1yg2.js} +1 -1
  172. package/bundle/{chunk-xv8gnkh5.js → chunk-j87bvp1b.js} +1 -1
  173. package/bundle/chunk-j9m2d6t5.js +2 -0
  174. package/bundle/chunk-jd9edy2s.js +2 -0
  175. package/bundle/{chunk-4tn69nqs.js → chunk-jdkxeqw5.js} +1 -1
  176. package/bundle/chunk-jwtdbx31.js +2 -0
  177. package/bundle/chunk-jzcz92pq.js +8 -0
  178. package/bundle/{chunk-5h2hcp46.js → chunk-k7h6tfzj.js} +1 -1
  179. package/bundle/{chunk-dann9gfq.js → chunk-kbg3k1az.js} +1 -1
  180. package/bundle/{chunk-va4davgy.js → chunk-kbjwdv1x.js} +259 -253
  181. package/bundle/{chunk-j1veq3zr.js → chunk-kbyk7hyn.js} +2 -2
  182. package/bundle/{chunk-jr9xnvjq.js → chunk-kfk1zqc1.js} +1 -1
  183. package/bundle/{chunk-9jf67xb0.js → chunk-kkdgzeva.js} +2 -2
  184. package/bundle/{chunk-9rqrm9y8.js → chunk-kn318ev4.js} +1 -1
  185. package/bundle/{chunk-pv8jcpnf.js → chunk-kp84yba1.js} +1 -1
  186. package/bundle/{chunk-b8ag61vj.js → chunk-kpnfndkg.js} +1 -1
  187. package/bundle/chunk-krkxrej2.js +2 -0
  188. package/bundle/{chunk-ms1fd6h4.js → chunk-kvz0vzsn.js} +1 -1
  189. package/bundle/chunk-m26mcy8p.js +2 -0
  190. package/bundle/chunk-m62wgqp1.js +2 -0
  191. package/bundle/chunk-m7txgh5w.js +2 -0
  192. package/bundle/chunk-m84cn9c6.js +2 -0
  193. package/bundle/{chunk-kr0fsqas.js → chunk-md7vpe1e.js} +1 -1
  194. package/bundle/{chunk-yz7rqzby.js → chunk-mg239rc3.js} +3 -3
  195. package/bundle/chunk-mvc7pvtq.js +2 -0
  196. package/bundle/{chunk-tsn1jkr7.js → chunk-n07rsssz.js} +1 -1
  197. package/bundle/{chunk-8717htya.js → chunk-n10atvac.js} +1 -1
  198. package/bundle/chunk-nfp9xtca.js +3 -0
  199. package/bundle/{chunk-fdezde1z.js → chunk-ngz5xw45.js} +1 -1
  200. package/bundle/{chunk-7mhffm9f.js → chunk-njzpswgt.js} +183 -183
  201. package/bundle/{chunk-najzfhb2.js → chunk-nszqy06d.js} +1 -1
  202. package/bundle/{chunk-q3x4x2tq.js → chunk-nxjbbq5h.js} +1 -1
  203. package/bundle/{chunk-jmjg8d8a.js → chunk-p0k4sv89.js} +4 -4
  204. package/bundle/{chunk-bf146hz2.js → chunk-p31yg62z.js} +2 -2
  205. package/bundle/chunk-p5t9mq8r.js +2 -0
  206. package/bundle/chunk-pfbykat1.js +2 -0
  207. package/bundle/{chunk-bd21p9zz.js → chunk-pfn1db1m.js} +2 -2
  208. package/bundle/{chunk-1fnmkm0z.js → chunk-pjbbdm96.js} +2 -2
  209. package/bundle/{chunk-k9g77a02.js → chunk-pnj8s20t.js} +1 -1
  210. package/bundle/{chunk-a5zjrwqy.js → chunk-ppvmy940.js} +2 -2
  211. package/bundle/{chunk-r3yqe7x0.js → chunk-ptf09vmp.js} +1 -1
  212. package/bundle/{chunk-sjrmhd3e.js → chunk-q2exgz82.js} +1 -1
  213. package/bundle/{chunk-te1zfpzv.js → chunk-qan3kwbv.js} +1 -1
  214. package/bundle/{chunk-7tgm8wp5.js → chunk-qb5qemtp.js} +1 -1
  215. package/bundle/chunk-qd0nvn4z.js +2 -0
  216. package/bundle/chunk-qh99kv2j.js +2 -0
  217. package/bundle/{chunk-kc3hpmr2.js → chunk-qkwhgfjt.js} +2 -2
  218. package/bundle/{chunk-5kmfnkzv.js → chunk-qm9ezq93.js} +1 -1
  219. package/bundle/chunk-qmhcbdkg.js +8 -0
  220. package/bundle/{chunk-7a6p7dfx.js → chunk-qngs31yf.js} +1 -1
  221. package/bundle/{chunk-hbnr0j7h.js → chunk-qpv4438m.js} +2 -2
  222. package/bundle/{chunk-hv4nhx6q.js → chunk-qq71akpw.js} +2 -2
  223. package/bundle/chunk-qyrafh4m.js +2 -0
  224. package/bundle/{chunk-17ggas8k.js → chunk-r1yqmd4y.js} +1 -1
  225. package/bundle/chunk-rc37cw86.js +2 -0
  226. package/bundle/{chunk-xccs5c50.js → chunk-rf625fxx.js} +1 -1
  227. package/bundle/chunk-rmpty636.js +2 -0
  228. package/bundle/{chunk-9pe4agdz.js → chunk-rs0nx844.js} +2 -2
  229. package/bundle/{chunk-9vcw33dv.js → chunk-rvrjw0fy.js} +1 -1
  230. package/bundle/{chunk-jpygkh1c.js → chunk-rz54qjew.js} +1 -1
  231. package/bundle/{chunk-a9y27zd2.js → chunk-rze20q68.js} +1 -1
  232. package/bundle/{chunk-hg9nk090.js → chunk-s1h0k1yj.js} +1 -1
  233. package/bundle/{chunk-hh4c02fh.js → chunk-s2za1y84.js} +1 -1
  234. package/bundle/chunk-s3wjwxme.js +2 -0
  235. package/bundle/chunk-s4ncnbgd.js +2 -0
  236. package/bundle/{chunk-p4hpr8d7.js → chunk-s54c8fpf.js} +1 -1
  237. package/bundle/{chunk-0pbt75ev.js → chunk-s5krbdvd.js} +1 -1
  238. package/bundle/{chunk-wmw2gne9.js → chunk-s86fj82v.js} +2 -2
  239. package/bundle/{chunk-qywwj58s.js → chunk-sdsggxm4.js} +2 -2
  240. package/bundle/{chunk-r7xp0xcn.js → chunk-se195e52.js} +2 -2
  241. package/bundle/chunk-snz3w30x.js +2 -0
  242. package/bundle/chunk-srw748gr.js +2 -0
  243. package/bundle/{chunk-mj24ntn9.js → chunk-st74db4c.js} +1 -1
  244. package/bundle/{chunk-0rtshz2r.js → chunk-t1vtdgd6.js} +1 -1
  245. package/bundle/{chunk-6dxaty1v.js → chunk-t6xm49ea.js} +1 -1
  246. package/bundle/{chunk-f819a7ec.js → chunk-t7tstr83.js} +1 -1
  247. package/bundle/{chunk-v2kyarwz.js → chunk-tedrfa7d.js} +2 -2
  248. package/bundle/{chunk-zfnbk5gy.js → chunk-tfggzzqw.js} +1 -1
  249. package/bundle/chunk-tn167yyz.js +2 -0
  250. package/bundle/{chunk-d56zc21w.js → chunk-txty44v2.js} +1 -1
  251. package/bundle/{chunk-b6m4yyww.js → chunk-tyy4gx61.js} +1 -1
  252. package/bundle/chunk-v1xwe58d.js +2 -0
  253. package/bundle/{chunk-vvypb02q.js → chunk-vh05n2x3.js} +1 -1
  254. package/bundle/{chunk-agdfqncf.js → chunk-vpqd0t8a.js} +2 -2
  255. package/bundle/chunk-vrfegg5f.js +2 -0
  256. package/bundle/{chunk-tzc4jkzg.js → chunk-vthm5q05.js} +1 -1
  257. package/bundle/{chunk-6g3m7yxf.js → chunk-vw673y0t.js} +2 -2
  258. package/bundle/{chunk-3tdqsm5c.js → chunk-vx837ete.js} +1 -1
  259. package/bundle/{chunk-hjbks7r9.js → chunk-vy9xre57.js} +1 -1
  260. package/bundle/{chunk-x6z2b63w.js → chunk-vyjsng14.js} +1 -1
  261. package/bundle/{chunk-ftk58wxe.js → chunk-vztxv9dj.js} +1 -1
  262. package/bundle/{chunk-1p34bx7c.js → chunk-w01gjnty.js} +2 -2
  263. package/bundle/chunk-w12tky28.js +2 -0
  264. package/bundle/{chunk-t6w96xq2.js → chunk-w2gpgapp.js} +1 -1
  265. package/bundle/{chunk-gn7xgd4c.js → chunk-w3pzv615.js} +1 -1
  266. package/bundle/chunk-w4hbw37v.js +3 -0
  267. package/bundle/chunk-w9ct698t.js +2 -0
  268. package/bundle/{chunk-8ace31r2.js → chunk-wefjbwv6.js} +1 -1
  269. package/bundle/{chunk-sgtgvzv6.js → chunk-wg42cxrw.js} +1 -1
  270. package/bundle/{chunk-02txthqv.js → chunk-wg5dv21f.js} +2 -2
  271. package/bundle/chunk-wms4skr9.js +11 -0
  272. package/bundle/chunk-wr5hdsst.js +9 -0
  273. package/bundle/chunk-wxnqgh8t.js +2 -0
  274. package/bundle/chunk-wzmte7sy.js +3 -0
  275. package/bundle/chunk-x0h1jdxt.js +2 -0
  276. package/bundle/{chunk-ha1w0xzh.js → chunk-x36jhtex.js} +1 -1
  277. package/bundle/{chunk-yzdty5t9.js → chunk-x3931we7.js} +2 -2
  278. package/bundle/{chunk-v7r9np94.js → chunk-x3z8q0ep.js} +1 -1
  279. package/bundle/chunk-x6hsmnhz.js +2 -0
  280. package/bundle/{chunk-fkvccmgk.js → chunk-xak2r993.js} +2 -2
  281. package/bundle/{chunk-c31k8yh0.js → chunk-xc3fadkh.js} +1 -1
  282. package/bundle/{chunk-hh9a709t.js → chunk-xcs2jbz9.js} +1 -1
  283. package/bundle/{chunk-qw2hgs5b.js → chunk-xdv9xt0y.js} +2 -2
  284. package/bundle/{chunk-dgzyn27r.js → chunk-xdwej3ae.js} +1 -1
  285. package/bundle/chunk-xg9e0enb.js +2 -0
  286. package/bundle/{chunk-pfhp78cr.js → chunk-xqxpjbqk.js} +1 -1
  287. package/bundle/chunk-xtxxb25n.js +2 -0
  288. package/bundle/{chunk-8h9r6c8g.js → chunk-y2ch07yv.js} +2 -2
  289. package/bundle/chunk-y3s7sh1e.js +2 -0
  290. package/bundle/chunk-ydvheqw9.js +2 -0
  291. package/bundle/{chunk-0z3z0gk1.js → chunk-ygwe0vf1.js} +2 -2
  292. package/bundle/{chunk-58enbars.js → chunk-ykxde207.js} +2 -2
  293. package/bundle/{chunk-dkm7x8rj.js → chunk-ynfbz3sz.js} +2 -2
  294. package/bundle/{chunk-2wp1w8cy.js → chunk-yqtfvgrp.js} +1 -1
  295. package/bundle/{chunk-edvcz2gd.js → chunk-yt1yk4j1.js} +1 -1
  296. package/bundle/{chunk-yh174jhg.js → chunk-yvj021eg.js} +2 -2
  297. package/bundle/chunk-yxnq0d7k.js +2 -0
  298. package/bundle/{chunk-e346x00p.js → chunk-z2m09m4w.js} +1 -1
  299. package/bundle/{chunk-f3kjp838.js → chunk-z2q3mg73.js} +2 -2
  300. package/bundle/chunk-z2raegj9.js +2 -0
  301. package/bundle/{chunk-y1srca0c.js → chunk-z3hj5bfd.js} +2 -2
  302. package/bundle/chunk-z3pyhmg6.js +2 -0
  303. package/bundle/{chunk-3nhqd8wg.js → chunk-z4ae6jmb.js} +3 -3
  304. package/bundle/{chunk-7dckfame.js → chunk-z559gc3n.js} +1 -1
  305. package/bundle/chunk-z7pg6sw1.js +2 -0
  306. package/bundle/chunk-z84376c6.js +2 -0
  307. package/bundle/{chunk-ktmazmas.js → chunk-ze00x1xb.js} +2 -2
  308. package/bundle/{chunk-pb7rnkke.js → chunk-zjvzc0my.js} +1 -1
  309. package/bundle/chunk-zn8th65r.js +2 -0
  310. package/bundle/{chunk-sswbfqcq.js → chunk-zna6neq5.js} +1 -1
  311. package/bundle/chunk-ztv1brgn.js +2 -0
  312. package/bundle/{chunk-s9amvacw.js → chunk-zvsafnkp.js} +2 -2
  313. package/bundle/chunk-zyxvd9fj.js +2 -0
  314. package/bundle/index.js +16 -16
  315. package/bundle/parser.worker.js +2 -2
  316. package/bundle/worker.js +1 -1
  317. package/package.json +1 -1
  318. package/bundle/chunk-0bvde0cx.js +0 -2
  319. package/bundle/chunk-0kbxnazj.js +0 -2
  320. package/bundle/chunk-19z5q33z.js +0 -2
  321. package/bundle/chunk-1a0wnwna.js +0 -2
  322. package/bundle/chunk-1ddm2wxv.js +0 -2
  323. package/bundle/chunk-1fk4vsmc.js +0 -2
  324. package/bundle/chunk-1j2f9nd5.js +0 -2
  325. package/bundle/chunk-27s736an.js +0 -2
  326. package/bundle/chunk-2j17xrzj.js +0 -2
  327. package/bundle/chunk-2zca3nak.js +0 -2
  328. package/bundle/chunk-2zcvcfq4.js +0 -2
  329. package/bundle/chunk-38hwkfj5.js +0 -2
  330. package/bundle/chunk-3afqxvsn.js +0 -2
  331. package/bundle/chunk-3avc1ppg.js +0 -7
  332. package/bundle/chunk-3v4vtah1.js +0 -2
  333. package/bundle/chunk-3ypk0j2f.js +0 -2
  334. package/bundle/chunk-3z1y040p.js +0 -3
  335. package/bundle/chunk-4aykrj51.js +0 -9
  336. package/bundle/chunk-4dtbmqmq.js +0 -2
  337. package/bundle/chunk-4zjb6rps.js +0 -2
  338. package/bundle/chunk-5hkcjgwh.js +0 -2
  339. package/bundle/chunk-5snrz263.js +0 -2
  340. package/bundle/chunk-653c0mxr.js +0 -11
  341. package/bundle/chunk-6av7hrrk.js +0 -7
  342. package/bundle/chunk-6bswn7w5.js +0 -2
  343. package/bundle/chunk-6epghftw.js +0 -2
  344. package/bundle/chunk-6jjhxh8p.js +0 -2
  345. package/bundle/chunk-6ws7xyc5.js +0 -2
  346. package/bundle/chunk-7g28zhar.js +0 -2
  347. package/bundle/chunk-7v02b2ms.js +0 -2
  348. package/bundle/chunk-7vmp2034.js +0 -2
  349. package/bundle/chunk-7wxrypkr.js +0 -2
  350. package/bundle/chunk-8kk9gvdy.js +0 -2
  351. package/bundle/chunk-8ygpp4y3.js +0 -2
  352. package/bundle/chunk-95q60g1p.js +0 -2
  353. package/bundle/chunk-9mjbenja.js +0 -2
  354. package/bundle/chunk-9vn1gy8h.js +0 -2
  355. package/bundle/chunk-ajp3f08k.js +0 -2
  356. package/bundle/chunk-aptkpdkc.js +0 -2
  357. package/bundle/chunk-bky5a42k.js +0 -3
  358. package/bundle/chunk-bry94ar5.js +0 -2
  359. package/bundle/chunk-btzyvqkf.js +0 -2
  360. package/bundle/chunk-c94pjdfh.js +0 -2
  361. package/bundle/chunk-cct9ds5c.js +0 -2
  362. package/bundle/chunk-czn535v0.js +0 -2
  363. package/bundle/chunk-d7wd5hz1.js +0 -2
  364. package/bundle/chunk-d86cmjrp.js +0 -2
  365. package/bundle/chunk-dnq65xvn.js +0 -2
  366. package/bundle/chunk-dpqv8rtn.js +0 -2
  367. package/bundle/chunk-e9mh7s3z.js +0 -2
  368. package/bundle/chunk-ek2y5f6g.js +0 -2
  369. package/bundle/chunk-epdsay73.js +0 -2
  370. package/bundle/chunk-f89gntcy.js +0 -3
  371. package/bundle/chunk-ffnsn7tv.js +0 -2
  372. package/bundle/chunk-fkezc7ew.js +0 -2
  373. package/bundle/chunk-fsxddgj0.js +0 -2
  374. package/bundle/chunk-gbcsfg6v.js +0 -2
  375. package/bundle/chunk-gfmz85hp.js +0 -2
  376. package/bundle/chunk-gk63k4t6.js +0 -2
  377. package/bundle/chunk-j0vf8s12.js +0 -2
  378. package/bundle/chunk-j1bxt69x.js +0 -2
  379. package/bundle/chunk-jcem8s30.js +0 -2
  380. package/bundle/chunk-jjwjb9w0.js +0 -3
  381. package/bundle/chunk-jpham2a3.js +0 -2
  382. package/bundle/chunk-jzkymnr5.js +0 -2
  383. package/bundle/chunk-k0qtwnhb.js +0 -2
  384. package/bundle/chunk-k2rsky7z.js +0 -2
  385. package/bundle/chunk-kcetcysa.js +0 -2
  386. package/bundle/chunk-kjfc5v3s.js +0 -2
  387. package/bundle/chunk-kkvb2c2z.js +0 -8
  388. package/bundle/chunk-km2ayfyf.js +0 -2
  389. package/bundle/chunk-knrh89eb.js +0 -2
  390. package/bundle/chunk-ksqfjawv.js +0 -2
  391. package/bundle/chunk-mjhb1q0n.js +0 -3
  392. package/bundle/chunk-mxcger73.js +0 -2
  393. package/bundle/chunk-nazkrkeb.js +0 -2
  394. package/bundle/chunk-nk01s49e.js +0 -2
  395. package/bundle/chunk-ns8b7rx1.js +0 -2
  396. package/bundle/chunk-ny6vpkx2.js +0 -2
  397. package/bundle/chunk-q0dd3ak6.js +0 -3
  398. package/bundle/chunk-q2s057bm.js +0 -2
  399. package/bundle/chunk-q5cqg2c0.js +0 -28
  400. package/bundle/chunk-qk2wnp2x.js +0 -2
  401. package/bundle/chunk-r012q335.js +0 -3
  402. package/bundle/chunk-rbdjbgkb.js +0 -2
  403. package/bundle/chunk-rxjprhgh.js +0 -2
  404. package/bundle/chunk-s3w9bmze.js +0 -2
  405. package/bundle/chunk-s3zste1a.js +0 -2
  406. package/bundle/chunk-sbt7qmwm.js +0 -3
  407. package/bundle/chunk-sf6h44pb.js +0 -2
  408. package/bundle/chunk-sgvzxs7m.js +0 -2
  409. package/bundle/chunk-sp9bndyh.js +0 -2
  410. package/bundle/chunk-vavrczqm.js +0 -3
  411. package/bundle/chunk-vg4styg5.js +0 -2
  412. package/bundle/chunk-vh09hhcs.js +0 -2
  413. package/bundle/chunk-vhktpm0n.js +0 -2
  414. package/bundle/chunk-vzjcmwry.js +0 -14
  415. package/bundle/chunk-wtp0yvqw.js +0 -2
  416. package/bundle/chunk-xmzs7q66.js +0 -2
  417. package/bundle/chunk-xv80476w.js +0 -2
  418. package/bundle/chunk-yjvr0et1.js +0 -2
  419. package/bundle/chunk-zk8n8hnh.js +0 -3
  420. package/bundle/chunk-zx3kcfkj.js +0 -2
package/bundle/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  // @bun
2
- import{Hf as eD,If as d0}from"./chunk-4q9w2yve.js";import{Kf as g0,Lf as l0,Pf as y0,Qf as s0}from"./chunk-02txthqv.js";import{Tf as Ku}from"./chunk-gen6f3dn.js";import{Ps as k0}from"./chunk-jr8qcf99.js";import{Qs as i0}from"./chunk-f3kjp838.js";import"./chunk-tsn1jkr7.js";import{Ts as zF,Vs as hF,Zs as o0}from"./chunk-zk8n8hnh.js";import{Ct as GF}from"./chunk-1jh5p5qw.js";import"./chunk-kaeyhw2n.js";import"./chunk-f89gntcy.js";import"./chunk-bky5a42k.js";import"./chunk-r7xp0xcn.js";import"./chunk-6g3m7yxf.js";import"./chunk-v2kyarwz.js";import"./chunk-dkm7x8rj.js";import{CP as p,yP as b2,zP as w2}from"./chunk-hh4c02fh.js";var eF=w2((Y3,aF)=>{aF.exports=function(u){if(u===void 0)u=2;if(u>=Error.stackTraceLimit)throw TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+u+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`");var F=Error.prepareStackTrace;Error.prepareStackTrace=function(C,f){return f};var E=Error().stack;if(Error.prepareStackTrace=F,E!==null&&typeof E==="object")return E[u]?E[u].getFileName():void 0}});import{notStrictEqual as t2,strictEqual as n2}from"assert";var a0={right:u2,center:F2};class ZF{constructor(D){var u;this.width=D.width,this.wrap=(u=D.wrap)!==null&&u!==void 0?u:!0,this.rows=[]}span(...D){let u=this.div(...D);u.span=!0}resetOutput(){this.rows=[]}div(...D){if(D.length===0)this.div("");if(this.wrap&&this.shouldApplyLayoutDSL(...D)&&typeof D[0]==="string")return this.applyLayoutDSL(D[0]);let u=D.map((F)=>{if(typeof F==="string")return this.colFromString(F);return F});return this.rows.push(u),u}shouldApplyLayoutDSL(...D){return D.length===1&&typeof D[0]==="string"&&/[\t\n]/.test(D[0])}applyLayoutDSL(D){let u=D.split(`
2
+ import{If as eD,Jf as k0}from"./chunk-7rxsj310.js";import{Lf as y0,Mf as s0,Qf as r0,Rf as a0}from"./chunk-wg5dv21f.js";import{Uf as Ku}from"./chunk-0ndvy0nh.js";import{Ss as l0}from"./chunk-hkmb3zer.js";import{Ts as i0}from"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import{Ws as Lu,Xs as d0,Ys as o0,Zs as hF,zt as g0}from"./chunk-08y06vgt.js";import{cu as GF}from"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import{CP as p2,DP as c2,GP as p}from"./chunk-s2za1y84.js";var eF=c2((R3,aF)=>{aF.exports=function(u){if(u===void 0)u=2;if(u>=Error.stackTraceLimit)throw TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+u+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`");var F=Error.prepareStackTrace;Error.prepareStackTrace=function(C,f){return f};var E=Error().stack;if(Error.prepareStackTrace=F,E!==null&&typeof E==="object")return E[u]?E[u].getFileName():void 0}});import{notStrictEqual as v2,strictEqual as m2}from"assert";var F2={right:B2,center:f2};class ZF{constructor(D){var u;this.width=D.width,this.wrap=(u=D.wrap)!==null&&u!==void 0?u:!0,this.rows=[]}span(...D){let u=this.div(...D);u.span=!0}resetOutput(){this.rows=[]}div(...D){if(D.length===0)this.div("");if(this.wrap&&this.shouldApplyLayoutDSL(...D)&&typeof D[0]==="string")return this.applyLayoutDSL(D[0]);let u=D.map((F)=>{if(typeof F==="string")return this.colFromString(F);return F});return this.rows.push(u),u}shouldApplyLayoutDSL(...D){return D.length===1&&typeof D[0]==="string"&&/[\t\n]/.test(D[0])}applyLayoutDSL(D){let u=D.split(`
3
3
  `).map((E)=>E.split("\t")),F=0;return u.forEach((E)=>{if(E.length>1&&JD.stringWidth(E[0])>F)F=Math.min(Math.floor(this.width*0.5),JD.stringWidth(E[0]))}),u.forEach((E)=>{this.div(...E.map((C,f)=>{return{text:C.trim(),padding:this.measurePadding(C),width:f===0&&E.length>1?F:void 0}}))}),this.rows[this.rows.length-1]}colFromString(D){return{text:D,padding:this.measurePadding(D)}}measurePadding(D){let u=JD.stripAnsi(D);return[0,u.match(/\s*$/)[0].length,0,u.match(/^\s*/)[0].length]}toString(){let D=[];return this.rows.forEach((u)=>{this.rowToString(u,D)}),D.filter((u)=>!u.hidden).map((u)=>u.text).join(`
4
- `)}rowToString(D,u){return this.rasterize(D).forEach((F,E)=>{let C="";F.forEach((f,h)=>{let{width:G}=D[h],J=this.negatePadding(D[h]),Y=f;if(J>JD.stringWidth(f))Y+=" ".repeat(J-JD.stringWidth(f));if(D[h].align&&D[h].align!=="left"&&this.wrap){let Q=a0[D[h].align];if(Y=Q(Y,J),JD.stringWidth(Y)<J)Y+=" ".repeat((G||0)-JD.stringWidth(Y)-1)}let U=D[h].padding||[0,0,0,0];if(U[3])C+=" ".repeat(U[3]);if(C+=XF(D[h],Y,"| "),C+=Y,C+=XF(D[h],Y," |"),U[1])C+=" ".repeat(U[1]);if(E===0&&u.length>0)C=this.renderInline(C,u[u.length-1])}),u.push({text:C.replace(/ +$/,""),span:D.span})}),u}renderInline(D,u){let F=D.match(/^ */),E=F?F[0].length:0,C=u.text,f=JD.stringWidth(C.trimRight());if(!u.span)return D;if(!this.wrap)return u.hidden=!0,C+D;if(E<f)return D;return u.hidden=!0,C.trimRight()+" ".repeat(E-f)+D.trimLeft()}rasterize(D){let u=[],F=this.columnWidths(D),E;return D.forEach((C,f)=>{if(C.width=F[f],this.wrap)E=JD.wrap(C.text,this.negatePadding(C),{hard:!0}).split(`
4
+ `)}rowToString(D,u){return this.rasterize(D).forEach((F,E)=>{let C="";F.forEach((f,$)=>{let{width:G}=D[$],J=this.negatePadding(D[$]),Y=f;if(J>JD.stringWidth(f))Y+=" ".repeat(J-JD.stringWidth(f));if(D[$].align&&D[$].align!=="left"&&this.wrap){let Q=F2[D[$].align];if(Y=Q(Y,J),JD.stringWidth(Y)<J)Y+=" ".repeat((G||0)-JD.stringWidth(Y)-1)}let U=D[$].padding||[0,0,0,0];if(U[3])C+=" ".repeat(U[3]);if(C+=XF(D[$],Y,"| "),C+=Y,C+=XF(D[$],Y," |"),U[1])C+=" ".repeat(U[1]);if(E===0&&u.length>0)C=this.renderInline(C,u[u.length-1])}),u.push({text:C.replace(/ +$/,""),span:D.span})}),u}renderInline(D,u){let F=D.match(/^ */),E=F?F[0].length:0,C=u.text,f=JD.stringWidth(C.trimRight());if(!u.span)return D;if(!this.wrap)return u.hidden=!0,C+D;if(E<f)return D;return u.hidden=!0,C.trimRight()+" ".repeat(E-f)+D.trimLeft()}rasterize(D){let u=[],F=this.columnWidths(D),E;return D.forEach((C,f)=>{if(C.width=F[f],this.wrap)E=JD.wrap(C.text,this.negatePadding(C),{hard:!0}).split(`
5
5
  `);else E=C.text.split(`
6
- `);if(C.border)E.unshift("."+"-".repeat(this.negatePadding(C)+2)+"."),E.push("'"+"-".repeat(this.negatePadding(C)+2)+"'");if(C.padding)E.unshift(...Array(C.padding[0]||0).fill("")),E.push(...Array(C.padding[2]||0).fill(""));E.forEach((h,G)=>{if(!u[G])u.push([]);let J=u[G];for(let Y=0;Y<f;Y++)if(J[Y]===void 0)J.push("");J.push(h)})}),u}negatePadding(D){let u=D.width||0;if(D.padding)u-=(D.padding[3]||0)+(D.padding[1]||0);if(D.border)u-=4;return u}columnWidths(D){if(!this.wrap)return D.map((f)=>{return f.width||JD.stringWidth(f.text)});let u=D.length,F=this.width,E=D.map((f)=>{if(f.width)return u--,F-=f.width,f.width;return}),C=u?Math.floor(F/u):0;return E.map((f,h)=>{if(f===void 0)return Math.max(C,e0(D[h]));return f})}}function XF(D,u,F){if(D.border){if(/[.']-+[.']/.test(u))return"";if(u.trim().length!==0)return F;return" "}return""}function e0(D){let u=D.padding||[],F=1+(u[3]||0)+(u[1]||0);if(D.border)return F+4;return F}function D2(){if(typeof process==="object"&&process.stdout&&process.stdout.columns)return process.stdout.columns;return 80}function u2(D,u){D=D.trim();let F=JD.stringWidth(D);if(F<u)return" ".repeat(u-F)+D;return D}function F2(D,u){D=D.trim();let F=JD.stringWidth(D);if(F>=u)return D;return" ".repeat(u-F>>1)+D}var JD;function JF(D,u){return JD=u,new ZF({width:(D===null||D===void 0?void 0:D.width)||D2(),wrap:D===null||D===void 0?void 0:D.wrap})}var QF=161,OF=1114109,TF=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],YF=12288,WF=65510,UF=[12288,12288,65281,65376,65504,65510];var NF=4352,RF=262141,Au=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141];var Xu=(D,u)=>{let F=0,E=Math.floor(D.length/2)-1;while(F<=E){let C=Math.floor((F+E)/2),f=C*2;if(u<D[f])E=C-1;else if(u>D[f+1])F=C+1;else return!0}return!1};var jF=19968,[E2,C2]=B2(Au);function B2(D){let u=D[0],F=D[1];for(let E=0;E<D.length;E+=2){let C=D[E],f=D[E+1];if(jF>=C&&jF<=f)return[C,f];if(f-C>F-u)u=C,F=f}return[u,F]}var qF=(D)=>{if(D<QF||D>OF)return!1;return Xu(TF,D)},HF=(D)=>{if(D<YF||D>WF)return!1;return Xu(UF,D)};var IF=(D)=>{if(D>=E2&&D<=C2)return!0;if(D<NF||D>RF)return!1;return Xu(Au,D)};function f2(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function VF(D,{ambiguousAsWide:u=!1}={}){if(f2(D),HF(D)||IF(D)||u&&qF(D))return 2;return 1}var _F=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g};var h2=new Intl.Segmenter,$2=/^\p{Default_Ignorable_Code_Point}$/u;function RD(D,u={}){if(typeof D!=="string"||D.length===0)return 0;let{ambiguousIsNarrow:F=!0,countAnsiEscapeCodes:E=!1}=u;if(!E)D=eD(D);if(D.length===0)return 0;let C=0,f={ambiguousAsWide:!F};for(let{segment:h}of h2.segment(D)){let G=h.codePointAt(0);if(G<=31||G>=127&&G<=159)continue;if(G>=8203&&G<=8207||G===65279)continue;if(G>=768&&G<=879||G>=6832&&G<=6911||G>=7616&&G<=7679||G>=8400&&G<=8447||G>=65056&&G<=65071)continue;if(G>=55296&&G<=57343)continue;if(G>=65024&&G<=65039)continue;if($2.test(h))continue;if(_F().test(h)){C+=2;continue}C+=VF(G,f)}return C}var KF=(D=0)=>(u)=>`\x1B[${u+D}m`,LF=(D=0)=>(u)=>`\x1B[${38+D};5;${u}m`,AF=(D=0)=>(u,F,E)=>`\x1B[${38+D};2;${u};${F};${E}m`,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},P8=Object.keys(s.modifier),z2=Object.keys(s.color),G2=Object.keys(s.bgColor),w8=[...z2,...G2];function M2(){let D=new Map;for(let[u,F]of Object.entries(s)){for(let[E,C]of Object.entries(F))s[E]={open:`\x1B[${C[0]}m`,close:`\x1B[${C[1]}m`},F[E]=s[E],D.set(C[0],C[1]);Object.defineProperty(s,u,{value:F,enumerable:!1})}return Object.defineProperty(s,"codes",{value:D,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi=KF(),s.color.ansi256=LF(),s.color.ansi16m=AF(),s.bgColor.ansi=KF(10),s.bgColor.ansi256=LF(10),s.bgColor.ansi16m=AF(10),Object.defineProperties(s,{rgbToAnsi256:{value(u,F,E){if(u===F&&F===E){if(u<8)return 16;if(u>248)return 231;return Math.round((u-8)/247*24)+232}return 16+36*Math.round(u/255*5)+6*Math.round(F/255*5)+Math.round(E/255*5)},enumerable:!1},hexToRgb:{value(u){let F=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!F)return[0,0,0];let[E]=F;if(E.length===3)E=[...E].map((f)=>f+f).join("");let C=Number.parseInt(E,16);return[C>>16&255,C>>8&255,C&255]},enumerable:!1},hexToAnsi256:{value:(u)=>s.rgbToAnsi256(...s.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value(u){if(u<8)return 30+u;if(u<16)return 90+(u-8);let F,E,C;if(u>=232)F=((u-232)*10+8)/255,E=F,C=F;else{u-=16;let G=u%36;F=Math.floor(u/36)/5,E=Math.floor(G/6)/5,C=G%6/5}let f=Math.max(F,E,C)*2;if(f===0)return 30;let h=30+(Math.round(C)<<2|Math.round(E)<<1|Math.round(F));if(f===2)h+=60;return h},enumerable:!1},rgbToAnsi:{value:(u,F,E)=>s.ansi256ToAnsi(s.rgbToAnsi256(u,F,E)),enumerable:!1},hexToAnsi:{value:(u)=>s.ansi256ToAnsi(s.hexToAnsi256(u)),enumerable:!1}}),s}var X2=M2(),SF=X2;var Ju=new Set(["\x1B","\x9B"]),Z2=39,xu="\x07",wF="[",J2="]",bF="m",Zu=`${J2}8;;`,xF=(D)=>`${Ju.values().next().value}${wF}${D}${bF}`,PF=(D)=>`${Ju.values().next().value}${Zu}${D}${xu}`,Q2=(D)=>D.split(" ").map((u)=>RD(u)),Su=(D,u,F)=>{let E=[...u],C=!1,f=!1,h=RD(eD(D.at(-1)));for(let[G,J]of E.entries()){let Y=RD(J);if(h+Y<=F)D[D.length-1]+=J;else D.push(J),h=0;if(Ju.has(J))C=!0,f=E.slice(G+1,G+1+Zu.length).join("")===Zu;if(C){if(f){if(J===xu)C=!1,f=!1}else if(J===bF)C=!1;continue}if(h+=Y,h===F&&G<E.length-1)D.push(""),h=0}if(!h&&D.at(-1).length>0&&D.length>1)D[D.length-2]+=D.pop()},O2=(D)=>{let u=D.split(" "),F=u.length;while(F>0){if(RD(u[F-1])>0)break;F--}if(F===u.length)return D;return u.slice(0,F).join(" ")+u.slice(F).join("")},T2=(D,u,F={})=>{if(F.trim!==!1&&D.trim()==="")return"";let E="",C,f,h=Q2(D),G=[""];for(let[Q,X]of D.split(" ").entries()){if(F.trim!==!1)G[G.length-1]=G.at(-1).trimStart();let O=RD(G.at(-1));if(Q!==0){if(O>=u&&(F.wordWrap===!1||F.trim===!1))G.push(""),O=0;if(O>0||F.trim===!1)G[G.length-1]+=" ",O++}if(F.hard&&h[Q]>u){let W=u-O,Z=1+Math.floor((h[Q]-W-1)/u);if(Math.floor((h[Q]-1)/u)<Z)G.push("");Su(G,X,u);continue}if(O+h[Q]>u&&O>0&&h[Q]>0){if(F.wordWrap===!1&&O<u){Su(G,X,u);continue}G.push("")}if(O+h[Q]>u&&F.wordWrap===!1){Su(G,X,u);continue}G[G.length-1]+=X}if(F.trim!==!1)G=G.map((Q)=>O2(Q));let J=G.join(`
7
- `),Y=[...J],U=0;for(let[Q,X]of Y.entries()){if(E+=X,Ju.has(X)){let{groups:W}=new RegExp(`(?:\\${wF}(?<code>\\d+)m|\\${Zu}(?<uri>.*)${xu})`).exec(J.slice(U))||{groups:{}};if(W.code!==void 0){let Z=Number.parseFloat(W.code);C=Z===Z2?void 0:Z}else if(W.uri!==void 0)f=W.uri.length===0?void 0:W.uri}let O=SF.codes.get(Number(C));if(Y[Q+1]===`
6
+ `);if(C.border)E.unshift("."+"-".repeat(this.negatePadding(C)+2)+"."),E.push("'"+"-".repeat(this.negatePadding(C)+2)+"'");if(C.padding)E.unshift(...Array(C.padding[0]||0).fill("")),E.push(...Array(C.padding[2]||0).fill(""));E.forEach(($,G)=>{if(!u[G])u.push([]);let J=u[G];for(let Y=0;Y<f;Y++)if(J[Y]===void 0)J.push("");J.push($)})}),u}negatePadding(D){let u=D.width||0;if(D.padding)u-=(D.padding[3]||0)+(D.padding[1]||0);if(D.border)u-=4;return u}columnWidths(D){if(!this.wrap)return D.map((f)=>{return f.width||JD.stringWidth(f.text)});let u=D.length,F=this.width,E=D.map((f)=>{if(f.width)return u--,F-=f.width,f.width;return}),C=u?Math.floor(F/u):0;return E.map((f,$)=>{if(f===void 0)return Math.max(C,E2(D[$]));return f})}}function XF(D,u,F){if(D.border){if(/[.']-+[.']/.test(u))return"";if(u.trim().length!==0)return F;return" "}return""}function E2(D){let u=D.padding||[],F=1+(u[3]||0)+(u[1]||0);if(D.border)return F+4;return F}function C2(){if(typeof process==="object"&&process.stdout&&process.stdout.columns)return process.stdout.columns;return 80}function B2(D,u){D=D.trim();let F=JD.stringWidth(D);if(F<u)return" ".repeat(u-F)+D;return D}function f2(D,u){D=D.trim();let F=JD.stringWidth(D);if(F>=u)return D;return" ".repeat(u-F>>1)+D}var JD;function JF(D,u){return JD=u,new ZF({width:(D===null||D===void 0?void 0:D.width)||C2(),wrap:D===null||D===void 0?void 0:D.wrap})}var QF=161,OF=1114109,TF=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],YF=12288,WF=65510,UF=[12288,12288,65281,65376,65504,65510];var NF=4352,RF=262141,Su=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141];var Xu=(D,u)=>{let F=0,E=Math.floor(D.length/2)-1;while(F<=E){let C=Math.floor((F+E)/2),f=C*2;if(u<D[f])E=C-1;else if(u>D[f+1])F=C+1;else return!0}return!1};var jF=19968,[$2,h2]=z2(Su);function z2(D){let u=D[0],F=D[1];for(let E=0;E<D.length;E+=2){let C=D[E],f=D[E+1];if(jF>=C&&jF<=f)return[C,f];if(f-C>F-u)u=C,F=f}return[u,F]}var qF=(D)=>{if(D<QF||D>OF)return!1;return Xu(TF,D)},HF=(D)=>{if(D<YF||D>WF)return!1;return Xu(UF,D)};var IF=(D)=>{if(D>=$2&&D<=h2)return!0;if(D<NF||D>RF)return!1;return Xu(Su,D)};function G2(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function VF(D,{ambiguousAsWide:u=!1}={}){if(G2(D),HF(D)||IF(D)||u&&qF(D))return 2;return 1}var _F=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g};var M2=new Intl.Segmenter,X2=/^\p{Default_Ignorable_Code_Point}$/u;function jD(D,u={}){if(typeof D!=="string"||D.length===0)return 0;let{ambiguousIsNarrow:F=!0,countAnsiEscapeCodes:E=!1}=u;if(!E)D=eD(D);if(D.length===0)return 0;let C=0,f={ambiguousAsWide:!F};for(let{segment:$}of M2.segment(D)){let G=$.codePointAt(0);if(G<=31||G>=127&&G<=159)continue;if(G>=8203&&G<=8207||G===65279)continue;if(G>=768&&G<=879||G>=6832&&G<=6911||G>=7616&&G<=7679||G>=8400&&G<=8447||G>=65056&&G<=65071)continue;if(G>=55296&&G<=57343)continue;if(G>=65024&&G<=65039)continue;if(X2.test($))continue;if(_F().test($)){C+=2;continue}C+=VF(G,f)}return C}var KF=(D=0)=>(u)=>`\x1B[${u+D}m`,LF=(D=0)=>(u)=>`\x1B[${38+D};5;${u}m`,AF=(D=0)=>(u,F,E)=>`\x1B[${38+D};2;${u};${F};${E}m`,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},n8=Object.keys(s.modifier),Z2=Object.keys(s.color),J2=Object.keys(s.bgColor),c8=[...Z2,...J2];function Q2(){let D=new Map;for(let[u,F]of Object.entries(s)){for(let[E,C]of Object.entries(F))s[E]={open:`\x1B[${C[0]}m`,close:`\x1B[${C[1]}m`},F[E]=s[E],D.set(C[0],C[1]);Object.defineProperty(s,u,{value:F,enumerable:!1})}return Object.defineProperty(s,"codes",{value:D,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi=KF(),s.color.ansi256=LF(),s.color.ansi16m=AF(),s.bgColor.ansi=KF(10),s.bgColor.ansi256=LF(10),s.bgColor.ansi16m=AF(10),Object.defineProperties(s,{rgbToAnsi256:{value(u,F,E){if(u===F&&F===E){if(u<8)return 16;if(u>248)return 231;return Math.round((u-8)/247*24)+232}return 16+36*Math.round(u/255*5)+6*Math.round(F/255*5)+Math.round(E/255*5)},enumerable:!1},hexToRgb:{value(u){let F=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!F)return[0,0,0];let[E]=F;if(E.length===3)E=[...E].map((f)=>f+f).join("");let C=Number.parseInt(E,16);return[C>>16&255,C>>8&255,C&255]},enumerable:!1},hexToAnsi256:{value:(u)=>s.rgbToAnsi256(...s.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value(u){if(u<8)return 30+u;if(u<16)return 90+(u-8);let F,E,C;if(u>=232)F=((u-232)*10+8)/255,E=F,C=F;else{u-=16;let G=u%36;F=Math.floor(u/36)/5,E=Math.floor(G/6)/5,C=G%6/5}let f=Math.max(F,E,C)*2;if(f===0)return 30;let $=30+(Math.round(C)<<2|Math.round(E)<<1|Math.round(F));if(f===2)$+=60;return $},enumerable:!1},rgbToAnsi:{value:(u,F,E)=>s.ansi256ToAnsi(s.rgbToAnsi256(u,F,E)),enumerable:!1},hexToAnsi:{value:(u)=>s.ansi256ToAnsi(s.hexToAnsi256(u)),enumerable:!1}}),s}var O2=Q2(),SF=O2;var Ju=new Set(["\x1B","\x9B"]),T2=39,Pu="\x07",wF="[",Y2="]",bF="m",Zu=`${Y2}8;;`,xF=(D)=>`${Ju.values().next().value}${wF}${D}${bF}`,PF=(D)=>`${Ju.values().next().value}${Zu}${D}${Pu}`,W2=(D)=>D.split(" ").map((u)=>jD(u)),xu=(D,u,F)=>{let E=[...u],C=!1,f=!1,$=jD(eD(D.at(-1)));for(let[G,J]of E.entries()){let Y=jD(J);if($+Y<=F)D[D.length-1]+=J;else D.push(J),$=0;if(Ju.has(J))C=!0,f=E.slice(G+1,G+1+Zu.length).join("")===Zu;if(C){if(f){if(J===Pu)C=!1,f=!1}else if(J===bF)C=!1;continue}if($+=Y,$===F&&G<E.length-1)D.push(""),$=0}if(!$&&D.at(-1).length>0&&D.length>1)D[D.length-2]+=D.pop()},U2=(D)=>{let u=D.split(" "),F=u.length;while(F>0){if(jD(u[F-1])>0)break;F--}if(F===u.length)return D;return u.slice(0,F).join(" ")+u.slice(F).join("")},N2=(D,u,F={})=>{if(F.trim!==!1&&D.trim()==="")return"";let E="",C,f,$=W2(D),G=[""];for(let[Q,X]of D.split(" ").entries()){if(F.trim!==!1)G[G.length-1]=G.at(-1).trimStart();let O=jD(G.at(-1));if(Q!==0){if(O>=u&&(F.wordWrap===!1||F.trim===!1))G.push(""),O=0;if(O>0||F.trim===!1)G[G.length-1]+=" ",O++}if(F.hard&&$[Q]>u){let W=u-O,Z=1+Math.floor(($[Q]-W-1)/u);if(Math.floor(($[Q]-1)/u)<Z)G.push("");xu(G,X,u);continue}if(O+$[Q]>u&&O>0&&$[Q]>0){if(F.wordWrap===!1&&O<u){xu(G,X,u);continue}G.push("")}if(O+$[Q]>u&&F.wordWrap===!1){xu(G,X,u);continue}G[G.length-1]+=X}if(F.trim!==!1)G=G.map((Q)=>U2(Q));let J=G.join(`
7
+ `),Y=[...J],U=0;for(let[Q,X]of Y.entries()){if(E+=X,Ju.has(X)){let{groups:W}=new RegExp(`(?:\\${wF}(?<code>\\d+)m|\\${Zu}(?<uri>.*)${Pu})`).exec(J.slice(U))||{groups:{}};if(W.code!==void 0){let Z=Number.parseFloat(W.code);C=Z===T2?void 0:Z}else if(W.uri!==void 0)f=W.uri.length===0?void 0:W.uri}let O=SF.codes.get(Number(C));if(Y[Q+1]===`
8
8
  `){if(f)E+=PF("");if(C&&O)E+=xF(O)}else if(X===`
9
- `){if(C&&O)E+=xF(C);if(f)E+=PF(f)}U+=X.length}return E};function Pu(D,u,F){return String(D).normalize().replaceAll(`\r
9
+ `){if(C&&O)E+=xF(C);if(f)E+=PF(f)}U+=X.length}return E};function wu(D,u,F){return String(D).normalize().replaceAll(`\r
10
10
  `,`
11
11
  `).split(`
12
- `).map((E)=>T2(E,u,F)).join(`
13
- `)}function wu(D){return JF(D,{stringWidth:RD,stripAnsi:eD,wrap:Pu})}import{dirname as tF,resolve as nF}from"path";import{readdirSync as Y2,statSync as W2}from"fs";function bu(D,u){let F=nF(".",D),E;if(!W2(F).isDirectory())F=tF(F);while(!0){if(E=u(F,Y2(F)),E)return nF(F,E);if(F=tF(E=F),E===F)break}}import{inspect as c2}from"util";import{fileURLToPath as u0}from"url";import{format as R2}from"util";import{normalize as j2,resolve as q2}from"path";function nD(D){if(!(D!==D.toLowerCase()&&D!==D.toUpperCase()))D=D.toLowerCase();if(D.indexOf("-")===-1&&D.indexOf("_")===-1)return D;else{let F="",E=!1,C=D.match(/^-+/);for(let f=C?C[0].length:0;f<D.length;f++){let h=D.charAt(f);if(E)E=!1,h=h.toUpperCase();if(f!==0&&(h==="-"||h==="_"))E=!0;else if(h!=="-"&&h!=="_")F+=h}return F}}function Qu(D,u){let F=D.toLowerCase();u=u||"-";let E="";for(let C=0;C<D.length;C++){let f=F.charAt(C),h=D.charAt(C);if(f!==h&&C>0)E+=`${u}${F.charAt(C)}`;else E+=h}return E}function Ou(D){if(D===null||D===void 0)return!1;if(typeof D==="number")return!0;if(/^0x[0-9a-f]+$/i.test(D))return!0;if(/^0[^.]/.test(D))return!1;return/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(D)}function cF(D){if(Array.isArray(D))return D.map((h)=>typeof h!=="string"?h+"":h);D=D.trim();let u=0,F=null,E=null,C=null,f=[];for(let h=0;h<D.length;h++){if(F=E,E=D.charAt(h),E===" "&&!C){if(F!==" ")u++;continue}if(E===C)C=null;else if((E==="'"||E==='"')&&!C)C=E;if(!f[u])f[u]="";f[u]+=E}return f}var YD;(function(D){D.BOOLEAN="boolean",D.STRING="string",D.NUMBER="number",D.ARRAY="array"})(YD||(YD={}));var KD;class nu{constructor(D){KD=D}parse(D,u){let F=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},u),E=cF(D),C=typeof D==="string",f=U2(Object.assign(Object.create(null),F.alias)),h=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},F.configuration),G=Object.assign(Object.create(null),F.default),J=F.configObjects||[],Y=F.envPrefix,U=h["populate--"],Q=U?"--":"_",X=Object.create(null),O=Object.create(null),W=F.__||KD.format,Z={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},A=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,v=new RegExp("^--"+h["negation-prefix"]+"(.+)");if([].concat(F.array||[]).filter(Boolean).forEach(function($){let M=typeof $==="object"?$.key:$,N=Object.keys($).map(function(T){return{boolean:"bools",string:"strings",number:"numbers"}[T]}).filter(Boolean).pop();if(N)Z[N][M]=!0;Z.arrays[M]=!0,Z.keys.push(M)}),[].concat(F.boolean||[]).filter(Boolean).forEach(function($){Z.bools[$]=!0,Z.keys.push($)}),[].concat(F.string||[]).filter(Boolean).forEach(function($){Z.strings[$]=!0,Z.keys.push($)}),[].concat(F.number||[]).filter(Boolean).forEach(function($){Z.numbers[$]=!0,Z.keys.push($)}),[].concat(F.count||[]).filter(Boolean).forEach(function($){Z.counts[$]=!0,Z.keys.push($)}),[].concat(F.normalize||[]).filter(Boolean).forEach(function($){Z.normalize[$]=!0,Z.keys.push($)}),typeof F.narg==="object")Object.entries(F.narg).forEach(([$,M])=>{if(typeof M==="number")Z.nargs[$]=M,Z.keys.push($)});if(typeof F.coerce==="object")Object.entries(F.coerce).forEach(([$,M])=>{if(typeof M==="function")Z.coercions[$]=M,Z.keys.push($)});if(typeof F.config<"u"){if(Array.isArray(F.config)||typeof F.config==="string")[].concat(F.config).filter(Boolean).forEach(function($){Z.configs[$]=!0});else if(typeof F.config==="object")Object.entries(F.config).forEach(([$,M])=>{if(typeof M==="boolean"||typeof M==="function")Z.configs[$]=M})}Bu(F.key,f,F.default,Z.arrays),Object.keys(G).forEach(function($){(Z.aliases[$]||[]).forEach(function(M){G[M]=G[$]})});let n=null;Lu();let GD=[],t=Object.assign(Object.create(null),{_:[]}),g={};for(let $=0;$<E.length;$++){let M=E[$],N=M.replace(/^-{3,}/,"---"),T,z,I,j,L,hD;if(M!=="--"&&/^-/.test(M)&&o(M))ED(M);else if(N.match(/^---+(=|$)/)){ED(M);continue}else if(M.match(/^--.+=/)||!h["short-option-groups"]&&M.match(/^-.+=/)){if(j=M.match(/^--?([^=]+)=([\s\S]*)$/),j!==null&&Array.isArray(j)&&j.length>=3)if(S(j[1],Z.arrays))$=qD($,j[1],E,j[2]);else if(S(j[1],Z.nargs)!==!1)$=a($,j[1],E,j[2]);else d(j[1],j[2],!0)}else if(M.match(v)&&h["boolean-negation"]){if(j=M.match(v),j!==null&&Array.isArray(j)&&j.length>=2)z=j[1],d(z,S(z,Z.arrays)?[!1]:!1)}else if(M.match(/^--.+/)||!h["short-option-groups"]&&M.match(/^-[^-]+/)){if(j=M.match(/^--?(.+)/),j!==null&&Array.isArray(j)&&j.length>=2)if(z=j[1],S(z,Z.arrays))$=qD($,z,E);else if(S(z,Z.nargs)!==!1)$=a($,z,E);else if(L=E[$+1],L!==void 0&&(!L.match(/^-/)||L.match(A))&&!S(z,Z.bools)&&!S(z,Z.counts))d(z,L),$++;else if(/^(true|false)$/.test(L))d(z,L),$++;else d(z,c(z))}else if(M.match(/^-.\..+=/)){if(j=M.match(/^-([^=]+)=([\s\S]*)$/),j!==null&&Array.isArray(j)&&j.length>=3)d(j[1],j[2])}else if(M.match(/^-.\..+/)&&!M.match(A)){if(L=E[$+1],j=M.match(/^-(.\..+)/),j!==null&&Array.isArray(j)&&j.length>=2)if(z=j[1],L!==void 0&&!L.match(/^-/)&&!S(z,Z.bools)&&!S(z,Z.counts))d(z,L),$++;else d(z,c(z))}else if(M.match(/^-[^-]+/)&&!M.match(A)){I=M.slice(1,-1).split(""),T=!1;for(let MD=0;MD<I.length;MD++){if(L=M.slice(MD+2),I[MD+1]&&I[MD+1]==="="){if(hD=M.slice(MD+3),z=I[MD],S(z,Z.arrays))$=qD($,z,E,hD);else if(S(z,Z.nargs)!==!1)$=a($,z,E,hD);else d(z,hD);T=!0;break}if(L==="-"){d(I[MD],L);continue}if(/[A-Za-z]/.test(I[MD])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(L)&&S(L,Z.bools)===!1){d(I[MD],L),T=!0;break}if(I[MD+1]&&I[MD+1].match(/\W/)){d(I[MD],L),T=!0;break}else d(I[MD],c(I[MD]))}if(z=M.slice(-1)[0],!T&&z!=="-")if(S(z,Z.arrays))$=qD($,z,E);else if(S(z,Z.nargs)!==!1)$=a($,z,E);else if(L=E[$+1],L!==void 0&&(!/^(-|--)[^-]/.test(L)||L.match(A))&&!S(z,Z.bools)&&!S(z,Z.counts))d(z,L),$++;else if(/^(true|false)$/.test(L))d(z,L),$++;else d(z,c(z))}else if(M.match(/^-[0-9]$/)&&M.match(A)&&S(M.slice(1),Z.bools))z=M.slice(1),d(z,c(z));else if(M==="--"){GD=E.slice($+1);break}else if(h["halt-at-non-option"]){GD=E.slice($);break}else ED(M)}if(FD(t,!0),FD(t,!1),_(t),i(),AD(t,Z.aliases,G,!0),m(t),h["set-placeholder-key"])CD(t);if(Object.keys(Z.counts).forEach(function($){if(!k(t,$.split(".")))d($,0)}),U&&GD.length)t[Q]=[];if(GD.forEach(function($){t[Q].push($)}),h["camel-case-expansion"]&&h["strip-dashed"])Object.keys(t).filter(($)=>$!=="--"&&$.includes("-")).forEach(($)=>{delete t[$]});if(h["strip-aliased"])[].concat(...Object.keys(f).map(($)=>f[$])).forEach(($)=>{if(h["camel-case-expansion"]&&$.includes("-"))delete t[$.split(".").map((M)=>nD(M)).join(".")];delete t[$]});function ED($){let M=R("_",$);if(typeof M==="string"||typeof M==="number")t._.push(M)}function a($,M,N,T){let z,I=S(M,Z.nargs);if(I=typeof I!=="number"||isNaN(I)?1:I,I===0){if(!fD(T))n=Error(W("Argument unexpected for: %s",M));return d(M,c(M)),$}let j=fD(T)?0:1;if(h["nargs-eats-options"]){if(N.length-($+1)+j<I)n=Error(W("Not enough arguments following: %s",M));j=I}else{for(z=$+1;z<N.length;z++)if(!N[z].match(/^-[^0-9]/)||N[z].match(A)||o(N[z]))j++;else break;if(j<I)n=Error(W("Not enough arguments following: %s",M))}let L=Math.min(j,I);if(!fD(T)&&L>0)d(M,T),L--;for(z=$+1;z<L+$+1;z++)d(M,N[z]);return $+L}function qD($,M,N,T){let z=[],I=T||N[$+1],j=S(M,Z.nargs);if(S(M,Z.bools)&&!/^(true|false)$/.test(I))z.push(!0);else if(fD(I)||fD(T)&&/^-/.test(I)&&!A.test(I)&&!o(I)){if(G[M]!==void 0){let L=G[M];z=Array.isArray(L)?L:[L]}}else{if(!fD(T))z.push(V(M,T,!0));for(let L=$+1;L<N.length;L++){if(!h["greedy-arrays"]&&z.length>0||j&&typeof j==="number"&&z.length>=j)break;if(I=N[L],/^-/.test(I)&&!A.test(I)&&!o(I))break;$=L,z.push(V(M,I,C))}}if(typeof j==="number"&&(j&&z.length<j||isNaN(j)&&z.length===0))n=Error(W("Not enough arguments following: %s",M));return d(M,z),$}function d($,M,N=C){if(/-/.test($)&&h["camel-case-expansion"]){let I=$.split(".").map(function(j){return nD(j)}).join(".");Cu($,I)}let T=V($,M,N),z=$.split(".");if(_D(t,z,T),Z.aliases[$])Z.aliases[$].forEach(function(I){let j=I.split(".");_D(t,j,T)});if(z.length>1&&h["dot-notation"])(Z.aliases[z[0]]||[]).forEach(function(I){let j=I.split("."),L=[].concat(z);if(L.shift(),j=j.concat(L),!(Z.aliases[$]||[]).includes(j.join(".")))_D(t,j,T)});if(S($,Z.normalize)&&!S($,Z.arrays))[$].concat(Z.aliases[$]||[]).forEach(function(j){Object.defineProperty(g,j,{enumerable:!0,get(){return M},set(L){M=typeof L==="string"?KD.normalize(L):L}})})}function Cu($,M){if(!(Z.aliases[$]&&Z.aliases[$].length))Z.aliases[$]=[M],X[M]=!0;if(!(Z.aliases[M]&&Z.aliases[M].length))Cu(M,$)}function V($,M,N){if(N)M=N2(M);if(S($,Z.bools)||S($,Z.counts)){if(typeof M==="string")M=M==="true"}let T=Array.isArray(M)?M.map(function(z){return R($,z)}):R($,M);if(S($,Z.counts)&&(fD(T)||typeof T==="boolean"))T=tu();if(S($,Z.normalize)&&S($,Z.arrays))if(Array.isArray(M))T=M.map((z)=>{return KD.normalize(z)});else T=KD.normalize(M);return T}function R($,M){if(!h["parse-positional-numbers"]&&$==="_")return M;if(!S($,Z.strings)&&!S($,Z.bools)&&!Array.isArray(M)){if(Ou(M)&&h["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${M}`)))||!fD(M)&&S($,Z.numbers))M=Number(M)}return M}function _($){let M=Object.create(null);AD(M,Z.aliases,G),Object.keys(Z.configs).forEach(function(N){let T=$[N]||M[N];if(T)try{let z=null,I=KD.resolve(KD.cwd(),T),j=Z.configs[N];if(typeof j==="function"){try{z=j(I)}catch(L){z=L}if(z instanceof Error){n=z;return}}else z=KD.require(I);w(z)}catch(z){if(z.name==="PermissionDenied")n=z;else if($[N])n=Error(W("Invalid JSON config file: %s",T))}})}function w($,M){Object.keys($).forEach(function(N){let T=$[N],z=M?M+"."+N:N;if(typeof T==="object"&&T!==null&&!Array.isArray(T)&&h["dot-notation"])w(T,z);else if(!k(t,z.split("."))||S(z,Z.arrays)&&h["combine-arrays"])d(z,T)})}function i(){if(typeof J<"u")J.forEach(function($){w($)})}function FD($,M){if(typeof Y>"u")return;let N=typeof Y==="string"?Y:"",T=KD.env();Object.keys(T).forEach(function(z){if(N===""||z.lastIndexOf(N,0)===0){let I=z.split("__").map(function(j,L){if(L===0)j=j.substring(N.length);return nD(j)});if((M&&Z.configs[I.join(".")]||!M)&&!k($,I))d(I.join("."),T[z])}})}function m($){let M,N=new Set;Object.keys($).forEach(function(T){if(!N.has(T)){if(M=S(T,Z.coercions),typeof M==="function")try{let z=R(T,M($[T]));[].concat(Z.aliases[T]||[],T).forEach((I)=>{N.add(I),$[I]=z})}catch(z){n=z}}})}function CD($){return Z.keys.forEach((M)=>{if(~M.indexOf("."))return;if(typeof $[M]>"u")$[M]=void 0}),$}function AD($,M,N,T=!1){Object.keys(N).forEach(function(z){if(!k($,z.split("."))){if(_D($,z.split("."),N[z]),T)O[z]=!0;(M[z]||[]).forEach(function(I){if(k($,I.split(".")))return;_D($,I.split("."),N[z])})}})}function k($,M){let N=$;if(!h["dot-notation"])M=[M.join(".")];M.slice(0,-1).forEach(function(z){N=N[z]||{}});let T=M[M.length-1];if(typeof N!=="object")return!1;else return T in N}function _D($,M,N){let T=$;if(!h["dot-notation"])M=[M.join(".")];M.slice(0,-1).forEach(function(hD){if(hD=pF(hD),typeof T==="object"&&T[hD]===void 0)T[hD]={};if(typeof T[hD]!=="object"||Array.isArray(T[hD])){if(Array.isArray(T[hD]))T[hD].push({});else T[hD]=[T[hD],{}];T=T[hD][T[hD].length-1]}else T=T[hD]});let z=pF(M[M.length-1]),I=S(M.join("."),Z.arrays),j=Array.isArray(N),L=h["duplicate-arguments-array"];if(!L&&S(z,Z.nargs)){if(L=!0,!fD(T[z])&&Z.nargs[z]===1||Array.isArray(T[z])&&T[z].length===Z.nargs[z])T[z]=void 0}if(N===tu())T[z]=tu(T[z]);else if(Array.isArray(T[z]))if(L&&I&&j)T[z]=h["flatten-duplicate-arrays"]?T[z].concat(N):(Array.isArray(T[z][0])?T[z]:[T[z]]).concat([N]);else if(!L&&Boolean(I)===Boolean(j))T[z]=N;else T[z]=T[z].concat([N]);else if(T[z]===void 0&&I)T[z]=j?N:[N];else if(L&&!(T[z]===void 0||S(z,Z.counts)||S(z,Z.bools)))T[z]=[T[z],N];else T[z]=N}function Bu(...$){$.forEach(function(M){Object.keys(M||{}).forEach(function(N){if(Z.aliases[N])return;Z.aliases[N]=[].concat(f[N]||[]),Z.aliases[N].concat(N).forEach(function(T){if(/-/.test(T)&&h["camel-case-expansion"]){let z=nD(T);if(z!==N&&Z.aliases[N].indexOf(z)===-1)Z.aliases[N].push(z),X[z]=!0}}),Z.aliases[N].concat(N).forEach(function(T){if(T.length>1&&/[A-Z]/.test(T)&&h["camel-case-expansion"]){let z=Qu(T,"-");if(z!==N&&Z.aliases[N].indexOf(z)===-1)Z.aliases[N].push(z),X[z]=!0}}),Z.aliases[N].forEach(function(T){Z.aliases[T]=[N].concat(Z.aliases[N].filter(function(z){return T!==z}))})})})}function S($,M){let N=[].concat(Z.aliases[$]||[],$),T=Object.keys(M),z=N.find((I)=>T.includes(I));return z?M[z]:!1}function aD($){let M=Object.keys(Z);return[].concat(M.map((T)=>Z[T])).some(function(T){return Array.isArray(T)?T.includes($):T[$]})}function MF($,...M){return[].concat(...M).some(function(T){let z=$.match(T);return z&&aD(z[1])})}function x($){if($.match(A)||!$.match(/^-[^-]+/))return!1;let M=!0,N,T=$.slice(1).split("");for(let z=0;z<T.length;z++){if(N=$.slice(z+2),!aD(T[z])){M=!1;break}if(T[z+1]&&T[z+1]==="="||N==="-"||/[A-Za-z]/.test(T[z])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(N)||T[z+1]&&T[z+1].match(/\W/))break}return M}function o($){return h["unknown-options-as-args"]&&BD($)}function BD($){if($=$.replace(/^-{3,}/,"--"),$.match(A))return!1;if(x($))return!1;return!MF($,/^-+([^=]+?)=[\s\S]*$/,v,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function c($){if(!S($,Z.bools)&&!S($,Z.counts)&&`${$}`in G)return G[$];else return zD(e($))}function zD($){return{[YD.BOOLEAN]:!0,[YD.STRING]:"",[YD.NUMBER]:void 0,[YD.ARRAY]:[]}[$]}function e($){let M=YD.BOOLEAN;if(S($,Z.strings))M=YD.STRING;else if(S($,Z.numbers))M=YD.NUMBER;else if(S($,Z.bools))M=YD.BOOLEAN;else if(S($,Z.arrays))M=YD.ARRAY;return M}function fD($){return $===void 0}function Lu(){Object.keys(Z.counts).find(($)=>{if(S($,Z.arrays))return n=Error(W("Invalid configuration: %s, opts.count excludes opts.array.",$)),!0;else if(S($,Z.nargs))return n=Error(W("Invalid configuration: %s, opts.count excludes opts.narg.",$)),!0;return!1})}return{aliases:Object.assign({},Z.aliases),argv:Object.assign(g,t),configuration:h,defaulted:Object.assign({},O),error:n,newAliases:Object.assign({},X)}}}function U2(D){let u=[],F=Object.create(null),E=!0;Object.keys(D).forEach(function(C){u.push([].concat(D[C],C))});while(E){E=!1;for(let C=0;C<u.length;C++)for(let f=C+1;f<u.length;f++)if(u[C].filter(function(G){return u[f].indexOf(G)!==-1}).length){u[C]=u[C].concat(u[f]),u.splice(f,1),E=!0;break}}return u.forEach(function(C){C=C.filter(function(h,G,J){return J.indexOf(h)===G});let f=C.pop();if(f!==void 0&&typeof f==="string")F[f]=C}),F}function tu(D){return D!==void 0?D+1:1}function pF(D){if(D==="__proto__")return"___proto___";return D}function N2(D){return typeof D==="string"&&(D[0]==="'"||D[0]==='"')&&D[D.length-1]===D[0]?D.substring(1,D.length-1):D}import{readFileSync as H2}from"fs";import{createRequire as vF}from"module";var cu,pu,vu,mF=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):20,iF=(pu=(cu=process===null||process===void 0?void 0:process.versions)===null||cu===void 0?void 0:cu.node)!==null&&pu!==void 0?pu:(vu=process===null||process===void 0?void 0:process.version)===null||vu===void 0?void 0:vu.slice(1);if(iF){if(Number(iF.match(/^([^.]+)/)[1])<mF)throw Error(`yargs parser supports a minimum Node.js version of ${mF}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`)}var I2=process?process.env:{},dF=vF?vF(import.meta.url):void 0,oF=new nu({cwd:process.cwd,env:()=>{return I2},format:R2,normalize:j2,resolve:q2,require:(D)=>{if(typeof dF<"u")return dF(D);else if(D.match(/\.json$/))return JSON.parse(H2(D,"utf8"));else throw Error("only .json config files are supported in ESM")}}),fu=function(u,F){return oF.parse(u.slice(),F).argv};fu.detailed=function(D,u){return oF.parse(D.slice(),u)};fu.camelCase=nD;fu.decamelize=Qu;fu.looksLikeNumber=Ou;var mu=fu;import{basename as p2,dirname as v2,extname as m2,relative as i2,resolve as D0,join as d2}from"path";function kF(){if(V2())return 0;return 1}function V2(){return _2()&&!process.defaultApp}function _2(){return!!process.versions.electron}function iu(D){return D.slice(kF()+1)}function gF(){return process.argv[kF()]}import{readFileSync as K2,statSync as L2,writeFile as A2}from"fs";import{format as S2}from"util";import{resolve as x2}from"path";var lF={fs:{readFileSync:K2,writeFile:A2},format:S2,resolve:x2,exists:(D)=>{try{return L2(D).isFile()}catch(u){return!1}}};var jD;class yF{constructor(D){D=D||{},this.directory=D.directory||"./locales",this.updateFiles=typeof D.updateFiles==="boolean"?D.updateFiles:!0,this.locale=D.locale||"en",this.fallbackToLanguage=typeof D.fallbackToLanguage==="boolean"?D.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...D){if(typeof arguments[0]!=="string")return this._taggedLiteral(arguments[0],...arguments);let u=D.shift(),F=function(){};if(typeof D[D.length-1]==="function")F=D.pop();if(F=F||function(){},!this.cache[this.locale])this._readLocaleFile();if(!this.cache[this.locale][u]&&this.updateFiles)this.cache[this.locale][u]=u,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:F});else F();return jD.format.apply(jD.format,[this.cache[this.locale][u]||u].concat(D))}__n(){let D=Array.prototype.slice.call(arguments),u=D.shift(),F=D.shift(),E=D.shift(),C=function(){};if(typeof D[D.length-1]==="function")C=D.pop();if(!this.cache[this.locale])this._readLocaleFile();let f=E===1?u:F;if(this.cache[this.locale][u])f=this.cache[this.locale][u][E===1?"one":"other"];if(!this.cache[this.locale][u]&&this.updateFiles)this.cache[this.locale][u]={one:u,other:F},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:C});else C();let h=[f];if(~f.indexOf("%d"))h.push(E);return jD.format.apply(jD.format,h.concat(D))}setLocale(D){this.locale=D}getLocale(){return this.locale}updateLocale(D){if(!this.cache[this.locale])this._readLocaleFile();for(let u in D)if(Object.prototype.hasOwnProperty.call(D,u))this.cache[this.locale][u]=D[u]}_taggedLiteral(D,...u){let F="";return D.forEach(function(E,C){let f=u[C+1];if(F+=E,typeof f<"u")F+="%s"}),this.__.apply(this,[F].concat([].slice.call(u,1)))}_enqueueWrite(D){if(this.writeQueue.push(D),this.writeQueue.length===1)this._processWriteQueue()}_processWriteQueue(){let D=this,u=this.writeQueue[0],F=u.directory,E=u.locale,C=u.cb,f=this._resolveLocaleFile(F,E),h=JSON.stringify(this.cache[E],null,2);jD.fs.writeFile(f,h,"utf-8",function(G){if(D.writeQueue.shift(),D.writeQueue.length>0)D._processWriteQueue();C(G)})}_readLocaleFile(){let D={},u=this._resolveLocaleFile(this.directory,this.locale);try{if(jD.fs.readFileSync)D=JSON.parse(jD.fs.readFileSync(u,"utf-8"))}catch(F){if(F instanceof SyntaxError)F.message="syntax error in "+u;if(F.code==="ENOENT")D={};else throw F}this.cache[this.locale]=D}_resolveLocaleFile(D,u){let F=jD.resolve(D,"./",u+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(F)&&~u.lastIndexOf("_")){let E=jD.resolve(D,"./",u.split("_")[0]+".json");if(this._fileExistsSync(E))F=E}return F}_fileExistsSync(D){return jD.exists(D)}}function sF(D,u){jD=u;let F=new yF(D);return{__:F.__.bind(F),__n:F.__n.bind(F),setLocale:F.setLocale.bind(F),getLocale:F.getLocale.bind(F),updateLocale:F.updateLocale.bind(F),locale:F.locale}}var P2=(D)=>{return sF(D,lF)},rF=P2;var F0=b2(eF(),1);import{createRequire as o2}from"module";import{readFileSync as k2,readdirSync as g2}from"fs";var du=u0(import.meta.url),l2=du.substring(0,du.lastIndexOf("node_modules")),y2=o2(import.meta.url),ou={assert:{notStrictEqual:t2,strictEqual:n2},cliui:wu,findUp:bu,getEnv:(D)=>{return process.env[D]},inspect:c2,getProcessArgvBin:gF,mainFilename:l2||process.cwd(),Parser:mu,path:{basename:p2,dirname:v2,extname:m2,relative:i2,resolve:D0,join:d2},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(D,u)=>process.emitWarning(D,u),execPath:()=>process.execPath,exit:(D)=>{process.exit(D)},nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:k2,readdirSync:g2,require:y2,getCallerFile:()=>{let D=F0.default(3);return D.match(/^file:\/\//)?u0(D):D},stringWidth:RD,y18n:rF({directory:D0(du,"../../../locales"),updateFiles:!1})};function XD(D,u,F,E){F.assert.notStrictEqual(D,u,E)}function ku(D,u){u.assert.strictEqual(typeof D,"string")}function Du(D){return Object.keys(D)}function l(D){return!!D&&!!D.then&&typeof D.then==="function"}class DD extends Error{constructor(D){super(D||"yargs error");if(this.name="YError",Error.captureStackTrace)Error.captureStackTrace(this,DD)}}function SD(D){let F=D.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),E=/\.*[\][<>]/g,C=F.shift();if(!C)throw Error(`No command found in: ${D}`);let f={cmd:C.replace(E,""),demanded:[],optional:[]};return F.forEach((h,G)=>{let J=!1;if(h=h.replace(/\s/g,""),/\.+[\]>]/.test(h)&&G===F.length-1)J=!0;if(/^\[/.test(h))f.optional.push({cmd:h.replace(E,"").split("|"),variadic:J});else f.demanded.push({cmd:h.replace(E,"").split("|"),variadic:J})}),f}var s2=["first","second","third","fourth","fifth","sixth"];function q(D,u,F){function E(){return typeof D==="object"?[{demanded:[],optional:[]},D,u]:[SD(`cmd ${D}`),u,F]}try{let C=0,[f,h,G]=E(),J=[].slice.call(h);while(J.length&&J[J.length-1]===void 0)J.pop();let Y=G||J.length;if(Y<f.demanded.length)throw new DD(`Not enough arguments provided. Expected ${f.demanded.length} but received ${J.length}.`);let U=f.demanded.length+f.optional.length;if(Y>U)throw new DD(`Too many arguments provided. Expected max ${U} but received ${Y}.`);f.demanded.forEach((Q)=>{let X=J.shift(),O=E0(X);if(Q.cmd.filter((Z)=>Z===O||Z==="*").length===0)C0(O,Q.cmd,C);C+=1}),f.optional.forEach((Q)=>{if(J.length===0)return;let X=J.shift(),O=E0(X);if(Q.cmd.filter((Z)=>Z===O||Z==="*").length===0)C0(O,Q.cmd,C);C+=1})}catch(C){console.warn(C.stack)}}function E0(D){if(Array.isArray(D))return"array";else if(D===null)return"null";return typeof D}function C0(D,u,F){throw new DD(`Invalid ${s2[F]||"manyith"} argument. Expected ${u.join(" or ")} but received ${D}.`)}class gu{constructor(D){this.globalMiddleware=[],this.frozens=[],this.yargs=D}addMiddleware(D,u,F=!0,E=!1){if(q("<array|function> [boolean] [boolean] [boolean]",[D,u,F],arguments.length),Array.isArray(D)){for(let C=0;C<D.length;C++){if(typeof D[C]!=="function")throw Error("middleware must be a function");let f=D[C];f.applyBeforeValidation=u,f.global=F}Array.prototype.push.apply(this.globalMiddleware,D)}else if(typeof D==="function"){let C=D;C.applyBeforeValidation=u,C.global=F,C.mutates=E,this.globalMiddleware.push(D)}return this.yargs}addCoerceMiddleware(D,u){let F=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter((E)=>{let C=[...F[u]||[],u];if(!E.option)return!0;else return!C.includes(E.option)}),D.option=u,this.addMiddleware(D,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let D=this.frozens.pop();if(D!==void 0)this.globalMiddleware=D}reset(){this.globalMiddleware=this.globalMiddleware.filter((D)=>D.global)}}function B0(D){if(!D)return[];return D.map((u)=>{return u.applyBeforeValidation=!1,u})}function cD(D,u,F,E){return F.reduce((C,f)=>{if(f.applyBeforeValidation!==E)return C;if(f.mutates){if(f.applied)return C;f.applied=!0}if(l(C))return C.then((h)=>Promise.all([h,f(h,u)])).then(([h,G])=>Object.assign(h,G));else{let h=f(C,u);return l(h)?h.then((G)=>Object.assign(C,G)):Object.assign(C,h)}},D)}function pD(D,u,F=(E)=>{throw E}){try{let E=r2(D)?D():D;return l(E)?E.then((C)=>u(C)):u(E)}catch(E){return F(E)}}function r2(D){return typeof D==="function"}var uu=/(^\*)|(^\$0)/;class h0{constructor(D,u,F,E){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=E,this.usage=D,this.globalMiddleware=F,this.validation=u}addDirectory(D,u,F,E){E=E||{},this.requireCache.add(F);let C=this.shim.path.resolve(this.shim.path.dirname(F),D),f=this.shim.readdirSync(C,{recursive:E.recurse?!0:!1});if(!Array.isArray(E.extensions))E.extensions=["js"];let h=typeof E.visit==="function"?E.visit:(G)=>G;for(let G of f){let J=G.toString();if(E.exclude){let U=!1;if(typeof E.exclude==="function")U=E.exclude(J);else U=E.exclude.test(J);if(U)continue}if(E.include){let U=!1;if(typeof E.include==="function")U=E.include(J);else U=E.include.test(J);if(!U)continue}let Y=!1;for(let U of E.extensions)if(J.endsWith(U))Y=!0;if(Y){let U=this.shim.path.join(C,J),Q=u(U),X=Object.create(null,Object.getOwnPropertyDescriptors({...Q}));if(h(X,U,J)){if(this.requireCache.has(U))continue;else this.requireCache.add(U);if(!X.command)X.command=this.shim.path.basename(U,this.shim.path.extname(U));this.addHandler(X)}}}}addHandler(D,u,F,E,C,f){let h=[],G=B0(C);if(E=E||(()=>{}),Array.isArray(D))if(a2(D))[D,...h]=D;else for(let J of D)this.addHandler(J);else if(D8(D)){let J=Array.isArray(D.command)||typeof D.command==="string"?D.command:null;if(J===null)throw Error(`No command name given for module: ${this.shim.inspect(D)}`);if(D.aliases)J=[].concat(J).concat(D.aliases);this.addHandler(J,this.extractDesc(D),D.builder,D.handler,D.middlewares,D.deprecated);return}else if(f0(F)){this.addHandler([D].concat(h),u,F.builder,F.handler,F.middlewares,F.deprecated);return}if(typeof D==="string"){let J=SD(D);h=h.map((Q)=>SD(Q).cmd);let Y=!1,U=[J.cmd].concat(h).filter((Q)=>{if(uu.test(Q))return Y=!0,!1;return!0});if(U.length===0&&Y)U.push("$0");if(Y)J.cmd=U[0],h=U.slice(1),D=D.replace(uu,J.cmd);if(h.forEach((Q)=>{this.aliasMap[Q]=J.cmd}),u!==!1)this.usage.command(D,u,Y,h,f);if(this.handlers[J.cmd]={original:D,description:u,handler:E,builder:F||{},middlewares:G,deprecated:f,demanded:J.demanded,optional:J.optional},Y)this.defaultCommand=this.handlers[J.cmd]}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(D,u,F,E,C,f){let h=this.handlers[D]||this.handlers[this.aliasMap[D]]||this.defaultCommand,G=u.getInternalMethods().getContext(),J=G.commands.slice(),Y=!D;if(D)G.commands.push(D),G.fullCommands.push(h.original);let U=this.applyBuilderUpdateUsageAndParse(Y,h,u,F.aliases,J,E,C,f);return l(U)?U.then((Q)=>this.applyMiddlewareAndGetResult(Y,h,Q.innerArgv,G,C,Q.aliases,u)):this.applyMiddlewareAndGetResult(Y,h,U.innerArgv,G,C,U.aliases,u)}applyBuilderUpdateUsageAndParse(D,u,F,E,C,f,h,G){let J=u.builder,Y=F;if(Tu(J)){F.getInternalMethods().getUsageInstance().freeze();let U=J(F.getInternalMethods().reset(E),G);if(l(U))return U.then((Q)=>{return Y=z0(Q)?Q:F,this.parseAndUpdateUsage(D,u,Y,C,f,h)})}else if(e2(J))F.getInternalMethods().getUsageInstance().freeze(),Y=F.getInternalMethods().reset(E),Object.keys(u.builder).forEach((U)=>{Y.option(U,J[U])});return this.parseAndUpdateUsage(D,u,Y,C,f,h)}parseAndUpdateUsage(D,u,F,E,C,f){if(D)F.getInternalMethods().getUsageInstance().unfreeze(!0);if(this.shouldUpdateUsage(F))F.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(E,u),u.description);let h=F.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,C,f);return l(h)?h.then((G)=>({aliases:F.parsed.aliases,innerArgv:G})):{aliases:F.parsed.aliases,innerArgv:h}}shouldUpdateUsage(D){return!D.getInternalMethods().getUsageInstance().getUsageDisabled()&&D.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(D,u){let F=uu.test(u.original)?u.original.replace(uu,"").trim():u.original,E=D.filter((C)=>{return!uu.test(C)});return E.push(F),`$0 ${E.join(" ")}`}handleValidationAndGetResult(D,u,F,E,C,f,h,G){if(!f.getInternalMethods().getHasOutput()){let J=f.getInternalMethods().runValidation(C,G,f.parsed.error,D);F=pD(F,(Y)=>{return J(Y),Y})}if(u.handler&&!f.getInternalMethods().getHasOutput()){f.getInternalMethods().setHasOutput();let J=!!f.getOptions().configuration["populate--"];if(f.getInternalMethods().postProcess(F,J,!1,!1),F=cD(F,f,h,!1),F=pD(F,(Y)=>{let U=u.handler(Y);return l(U)?U.then(()=>Y):Y}),!D)f.getInternalMethods().getUsageInstance().cacheHelpMessage();if(l(F)&&!f.getInternalMethods().hasParseCallback())F.catch((Y)=>{try{f.getInternalMethods().getUsageInstance().fail(null,Y)}catch(U){}})}if(!D)E.commands.pop(),E.fullCommands.pop();return F}applyMiddlewareAndGetResult(D,u,F,E,C,f,h){let G={};if(C)return F;if(!h.getInternalMethods().getHasOutput())G=this.populatePositionals(u,F,E,h);let J=this.globalMiddleware.getMiddleware().slice(0).concat(u.middlewares),Y=cD(F,h,J,!0);return l(Y)?Y.then((U)=>this.handleValidationAndGetResult(D,u,U,E,f,h,J,G)):this.handleValidationAndGetResult(D,u,Y,E,f,h,J,G)}populatePositionals(D,u,F,E){u._=u._.slice(F.commands.length);let C=D.demanded.slice(0),f=D.optional.slice(0),h={};this.validation.positionalCount(C.length,u._.length);while(C.length){let G=C.shift();this.populatePositional(G,u,h)}while(f.length){let G=f.shift();this.populatePositional(G,u,h)}return u._=F.commands.concat(u._.map((G)=>""+G)),this.postProcessPositionals(u,h,this.cmdToParseOptions(D.original),E),h}populatePositional(D,u,F){let E=D.cmd[0];if(D.variadic)F[E]=u._.splice(0).map(String);else if(u._.length)F[E]=[String(u._.shift())]}cmdToParseOptions(D){let u={array:[],default:{},alias:{},demand:{}},F=SD(D);return F.demanded.forEach((E)=>{let[C,...f]=E.cmd;if(E.variadic)u.array.push(C),u.default[C]=[];u.alias[C]=f,u.demand[C]=!0}),F.optional.forEach((E)=>{let[C,...f]=E.cmd;if(E.variadic)u.array.push(C),u.default[C]=[];u.alias[C]=f}),u}postProcessPositionals(D,u,F,E){let C=Object.assign({},E.getOptions());C.default=Object.assign(F.default,C.default);for(let J of Object.keys(F.alias))C.alias[J]=(C.alias[J]||[]).concat(F.alias[J]);C.array=C.array.concat(F.array),C.config={};let f=[];if(Object.keys(u).forEach((J)=>{u[J].map((Y)=>{if(C.configuration["unknown-options-as-args"])C.key[J]=!0;f.push(`--${J}`),f.push(Y)})}),!f.length)return;let h=Object.assign({},C.configuration,{"populate--":!1}),G=this.shim.Parser.detailed(f,Object.assign({},C,{configuration:h}));if(G.error)E.getInternalMethods().getUsageInstance().fail(G.error.message,G.error);else{let J=Object.keys(u);Object.keys(u).forEach((Y)=>{J.push(...G.aliases[Y])}),Object.keys(G.argv).forEach((Y)=>{if(J.includes(Y)){if(!u[Y])u[Y]=G.argv[Y];if(!this.isInConfigs(E,Y)&&!this.isDefaulted(E,Y)&&Object.prototype.hasOwnProperty.call(D,Y)&&Object.prototype.hasOwnProperty.call(G.argv,Y)&&(Array.isArray(D[Y])||Array.isArray(G.argv[Y])))D[Y]=[].concat(D[Y],G.argv[Y]);else D[Y]=G.argv[Y]}})}}isDefaulted(D,u){let{default:F}=D.getOptions();return Object.prototype.hasOwnProperty.call(F,u)||Object.prototype.hasOwnProperty.call(F,this.shim.Parser.camelCase(u))}isInConfigs(D,u){let{configObjects:F}=D.getOptions();return F.some((E)=>Object.prototype.hasOwnProperty.call(E,u))||F.some((E)=>Object.prototype.hasOwnProperty.call(E,this.shim.Parser.camelCase(u)))}runDefaultBuilderOn(D){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(D)){let F=uu.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");D.getInternalMethods().getUsageInstance().usage(F,this.defaultCommand.description)}let u=this.defaultCommand.builder;if(Tu(u))return u(D,!0);else if(!f0(u))Object.keys(u).forEach((F)=>{D.option(F,u[F])});return}extractDesc({describe:D,description:u,desc:F}){for(let E of[D,u,F]){if(typeof E==="string"||E===!1)return E;XD(E,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let D=this.frozens.pop();XD(D,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=D}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}}function $0(D,u,F,E){return new h0(D,u,F,E)}function f0(D){return typeof D==="object"&&!!D.builder&&typeof D.handler==="function"}function a2(D){return D.every((u)=>typeof u==="string")}function Tu(D){return typeof D==="function"}function e2(D){return typeof D==="object"}function D8(D){return typeof D==="object"&&!Array.isArray(D)}function xD(D={},u=()=>!0){let F={};return Du(D).forEach((E)=>{if(u(E,D[E]))F[E]=D[E]}),F}function PD(D){if(typeof process>"u")return;[process.stdout,process.stderr].forEach((u)=>{let F=u;if(F._handle&&F.isTTY&&typeof F._handle.setBlocking==="function")F._handle.setBlocking(D)})}function u8(D){return typeof D==="boolean"}function M0(D,u){let F=u.y18n.__,E={},C=[];E.failFn=function(R){C.push(R)};let f=null,h=null,G=!0;E.showHelpOnFail=function(R=!0,_){let[w,i]=typeof R==="string"?[!0,R]:[R,_];if(D.getInternalMethods().isGlobalContext())h=i;return f=i,G=w,E};let J=!1;E.fail=function(R,_){let w=D.getInternalMethods().getLoggerInstance();if(C.length)for(let i=C.length-1;i>=0;--i){let FD=C[i];if(u8(FD)){if(_)throw _;else if(R)throw Error(R)}else FD(R,_,E)}else{if(D.getExitProcess())PD(!0);if(!J){if(J=!0,G)D.showHelp("error"),w.error();if(R||_)w.error(R||_);let i=f||h;if(i){if(R||_)w.error("");w.error(i)}}if(_=_||new DD(R),D.getExitProcess())return D.exit(1);else if(D.getInternalMethods().hasParseCallback())return D.exit(1,_);else throw _}};let Y=[],U=!1;E.usage=(V,R)=>{if(V===null)return U=!0,Y=[],E;return U=!1,Y.push([V,R||""]),E},E.getUsage=()=>{return Y},E.getUsageDisabled=()=>{return U},E.getPositionalGroupName=()=>{return F("Positionals:")};let Q=[];E.example=(V,R)=>{Q.push([V,R||""])};let X=[];E.command=function(R,_,w,i,FD=!1){if(w)X=X.map((m)=>{return m[2]=!1,m});X.push([R,_||"",w,i,FD])},E.getCommands=()=>X;let O={};E.describe=function(R,_){if(Array.isArray(R))R.forEach((w)=>{E.describe(w,_)});else if(typeof R==="object")Object.keys(R).forEach((w)=>{E.describe(w,R[w])});else O[R]=_},E.getDescriptions=()=>O;let W=[];E.epilog=(V)=>{W.push(V)};let Z=!1,A;E.wrap=(V)=>{Z=!0,A=V},E.getWrap=()=>{if(u.getEnv("YARGS_DISABLE_WRAP"))return null;if(!Z)A=qD(),Z=!0;return A};let v="__yargsString__:";E.deferY18nLookup=(V)=>v+V,E.help=function(){if(t)return t;GD();let R=D.customScriptName?D.$0:u.path.basename(D.$0),_=D.getDemandedOptions(),w=D.getDemandedCommands(),i=D.getDeprecatedOptions(),FD=D.getGroups(),m=D.getOptions(),CD=[];CD=CD.concat(Object.keys(O)),CD=CD.concat(Object.keys(_)),CD=CD.concat(Object.keys(w)),CD=CD.concat(Object.keys(m.default)),CD=CD.filter(ED),CD=Object.keys(CD.reduce((x,o)=>{if(o!=="_")x[o]=!0;return x},{}));let AD=E.getWrap(),k=u.cliui({width:AD,wrap:!!AD});if(!U){if(Y.length)Y.forEach((x)=>{if(k.div({text:`${x[0].replace(/\$0/g,R)}`}),x[1])k.div({text:`${x[1]}`,padding:[1,0,0,0]})}),k.div();else if(X.length){let x=null;if(w._)x=`${R} <${F("command")}>
12
+ `).map((E)=>N2(E,u,F)).join(`
13
+ `)}function bu(D){return JF(D,{stringWidth:jD,stripAnsi:eD,wrap:wu})}import{dirname as tF,resolve as nF}from"path";import{readdirSync as R2,statSync as j2}from"fs";function tu(D,u){let F=nF(".",D),E;if(!j2(F).isDirectory())F=tF(F);while(!0){if(E=u(F,R2(F)),E)return nF(F,E);if(F=tF(E=F),E===F)break}}import{inspect as i2}from"util";import{fileURLToPath as u0}from"url";import{format as I2}from"util";import{normalize as V2,resolve as _2}from"path";function nD(D){if(!(D!==D.toLowerCase()&&D!==D.toUpperCase()))D=D.toLowerCase();if(D.indexOf("-")===-1&&D.indexOf("_")===-1)return D;else{let F="",E=!1,C=D.match(/^-+/);for(let f=C?C[0].length:0;f<D.length;f++){let $=D.charAt(f);if(E)E=!1,$=$.toUpperCase();if(f!==0&&($==="-"||$==="_"))E=!0;else if($!=="-"&&$!=="_")F+=$}return F}}function Qu(D,u){let F=D.toLowerCase();u=u||"-";let E="";for(let C=0;C<D.length;C++){let f=F.charAt(C),$=D.charAt(C);if(f!==$&&C>0)E+=`${u}${F.charAt(C)}`;else E+=$}return E}function Ou(D){if(D===null||D===void 0)return!1;if(typeof D==="number")return!0;if(/^0x[0-9a-f]+$/i.test(D))return!0;if(/^0[^.]/.test(D))return!1;return/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(D)}function cF(D){if(Array.isArray(D))return D.map(($)=>typeof $!=="string"?$+"":$);D=D.trim();let u=0,F=null,E=null,C=null,f=[];for(let $=0;$<D.length;$++){if(F=E,E=D.charAt($),E===" "&&!C){if(F!==" ")u++;continue}if(E===C)C=null;else if((E==="'"||E==='"')&&!C)C=E;if(!f[u])f[u]="";f[u]+=E}return f}var YD;(function(D){D.BOOLEAN="boolean",D.STRING="string",D.NUMBER="number",D.ARRAY="array"})(YD||(YD={}));var LD;class cu{constructor(D){LD=D}parse(D,u){let F=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},u),E=cF(D),C=typeof D==="string",f=q2(Object.assign(Object.create(null),F.alias)),$=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},F.configuration),G=Object.assign(Object.create(null),F.default),J=F.configObjects||[],Y=F.envPrefix,U=$["populate--"],Q=U?"--":"_",X=Object.create(null),O=Object.create(null),W=F.__||LD.format,Z={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},A=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,v=new RegExp("^--"+$["negation-prefix"]+"(.+)");if([].concat(F.array||[]).filter(Boolean).forEach(function(h){let M=typeof h==="object"?h.key:h,N=Object.keys(h).map(function(T){return{boolean:"bools",string:"strings",number:"numbers"}[T]}).filter(Boolean).pop();if(N)Z[N][M]=!0;Z.arrays[M]=!0,Z.keys.push(M)}),[].concat(F.boolean||[]).filter(Boolean).forEach(function(h){Z.bools[h]=!0,Z.keys.push(h)}),[].concat(F.string||[]).filter(Boolean).forEach(function(h){Z.strings[h]=!0,Z.keys.push(h)}),[].concat(F.number||[]).filter(Boolean).forEach(function(h){Z.numbers[h]=!0,Z.keys.push(h)}),[].concat(F.count||[]).filter(Boolean).forEach(function(h){Z.counts[h]=!0,Z.keys.push(h)}),[].concat(F.normalize||[]).filter(Boolean).forEach(function(h){Z.normalize[h]=!0,Z.keys.push(h)}),typeof F.narg==="object")Object.entries(F.narg).forEach(([h,M])=>{if(typeof M==="number")Z.nargs[h]=M,Z.keys.push(h)});if(typeof F.coerce==="object")Object.entries(F.coerce).forEach(([h,M])=>{if(typeof M==="function")Z.coercions[h]=M,Z.keys.push(h)});if(typeof F.config<"u"){if(Array.isArray(F.config)||typeof F.config==="string")[].concat(F.config).filter(Boolean).forEach(function(h){Z.configs[h]=!0});else if(typeof F.config==="object")Object.entries(F.config).forEach(([h,M])=>{if(typeof M==="boolean"||typeof M==="function")Z.configs[h]=M})}Bu(F.key,f,F.default,Z.arrays),Object.keys(G).forEach(function(h){(Z.aliases[h]||[]).forEach(function(M){G[M]=G[h]})});let n=null;Au();let GD=[],t=Object.assign(Object.create(null),{_:[]}),g={};for(let h=0;h<E.length;h++){let M=E[h],N=M.replace(/^-{3,}/,"---"),T,z,I,j,L,$D;if(M!=="--"&&/^-/.test(M)&&o(M))ED(M);else if(N.match(/^---+(=|$)/)){ED(M);continue}else if(M.match(/^--.+=/)||!$["short-option-groups"]&&M.match(/^-.+=/)){if(j=M.match(/^--?([^=]+)=([\s\S]*)$/),j!==null&&Array.isArray(j)&&j.length>=3)if(S(j[1],Z.arrays))h=ID(h,j[1],E,j[2]);else if(S(j[1],Z.nargs)!==!1)h=a(h,j[1],E,j[2]);else d(j[1],j[2],!0)}else if(M.match(v)&&$["boolean-negation"]){if(j=M.match(v),j!==null&&Array.isArray(j)&&j.length>=2)z=j[1],d(z,S(z,Z.arrays)?[!1]:!1)}else if(M.match(/^--.+/)||!$["short-option-groups"]&&M.match(/^-[^-]+/)){if(j=M.match(/^--?(.+)/),j!==null&&Array.isArray(j)&&j.length>=2)if(z=j[1],S(z,Z.arrays))h=ID(h,z,E);else if(S(z,Z.nargs)!==!1)h=a(h,z,E);else if(L=E[h+1],L!==void 0&&(!L.match(/^-/)||L.match(A))&&!S(z,Z.bools)&&!S(z,Z.counts))d(z,L),h++;else if(/^(true|false)$/.test(L))d(z,L),h++;else d(z,c(z))}else if(M.match(/^-.\..+=/)){if(j=M.match(/^-([^=]+)=([\s\S]*)$/),j!==null&&Array.isArray(j)&&j.length>=3)d(j[1],j[2])}else if(M.match(/^-.\..+/)&&!M.match(A)){if(L=E[h+1],j=M.match(/^-(.\..+)/),j!==null&&Array.isArray(j)&&j.length>=2)if(z=j[1],L!==void 0&&!L.match(/^-/)&&!S(z,Z.bools)&&!S(z,Z.counts))d(z,L),h++;else d(z,c(z))}else if(M.match(/^-[^-]+/)&&!M.match(A)){I=M.slice(1,-1).split(""),T=!1;for(let MD=0;MD<I.length;MD++){if(L=M.slice(MD+2),I[MD+1]&&I[MD+1]==="="){if($D=M.slice(MD+3),z=I[MD],S(z,Z.arrays))h=ID(h,z,E,$D);else if(S(z,Z.nargs)!==!1)h=a(h,z,E,$D);else d(z,$D);T=!0;break}if(L==="-"){d(I[MD],L);continue}if(/[A-Za-z]/.test(I[MD])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(L)&&S(L,Z.bools)===!1){d(I[MD],L),T=!0;break}if(I[MD+1]&&I[MD+1].match(/\W/)){d(I[MD],L),T=!0;break}else d(I[MD],c(I[MD]))}if(z=M.slice(-1)[0],!T&&z!=="-")if(S(z,Z.arrays))h=ID(h,z,E);else if(S(z,Z.nargs)!==!1)h=a(h,z,E);else if(L=E[h+1],L!==void 0&&(!/^(-|--)[^-]/.test(L)||L.match(A))&&!S(z,Z.bools)&&!S(z,Z.counts))d(z,L),h++;else if(/^(true|false)$/.test(L))d(z,L),h++;else d(z,c(z))}else if(M.match(/^-[0-9]$/)&&M.match(A)&&S(M.slice(1),Z.bools))z=M.slice(1),d(z,c(z));else if(M==="--"){GD=E.slice(h+1);break}else if($["halt-at-non-option"]){GD=E.slice(h);break}else ED(M)}if(FD(t,!0),FD(t,!1),_(t),i(),AD(t,Z.aliases,G,!0),m(t),$["set-placeholder-key"])CD(t);if(Object.keys(Z.counts).forEach(function(h){if(!k(t,h.split(".")))d(h,0)}),U&&GD.length)t[Q]=[];if(GD.forEach(function(h){t[Q].push(h)}),$["camel-case-expansion"]&&$["strip-dashed"])Object.keys(t).filter((h)=>h!=="--"&&h.includes("-")).forEach((h)=>{delete t[h]});if($["strip-aliased"])[].concat(...Object.keys(f).map((h)=>f[h])).forEach((h)=>{if($["camel-case-expansion"]&&h.includes("-"))delete t[h.split(".").map((M)=>nD(M)).join(".")];delete t[h]});function ED(h){let M=R("_",h);if(typeof M==="string"||typeof M==="number")t._.push(M)}function a(h,M,N,T){let z,I=S(M,Z.nargs);if(I=typeof I!=="number"||isNaN(I)?1:I,I===0){if(!fD(T))n=Error(W("Argument unexpected for: %s",M));return d(M,c(M)),h}let j=fD(T)?0:1;if($["nargs-eats-options"]){if(N.length-(h+1)+j<I)n=Error(W("Not enough arguments following: %s",M));j=I}else{for(z=h+1;z<N.length;z++)if(!N[z].match(/^-[^0-9]/)||N[z].match(A)||o(N[z]))j++;else break;if(j<I)n=Error(W("Not enough arguments following: %s",M))}let L=Math.min(j,I);if(!fD(T)&&L>0)d(M,T),L--;for(z=h+1;z<L+h+1;z++)d(M,N[z]);return h+L}function ID(h,M,N,T){let z=[],I=T||N[h+1],j=S(M,Z.nargs);if(S(M,Z.bools)&&!/^(true|false)$/.test(I))z.push(!0);else if(fD(I)||fD(T)&&/^-/.test(I)&&!A.test(I)&&!o(I)){if(G[M]!==void 0){let L=G[M];z=Array.isArray(L)?L:[L]}}else{if(!fD(T))z.push(V(M,T,!0));for(let L=h+1;L<N.length;L++){if(!$["greedy-arrays"]&&z.length>0||j&&typeof j==="number"&&z.length>=j)break;if(I=N[L],/^-/.test(I)&&!A.test(I)&&!o(I))break;h=L,z.push(V(M,I,C))}}if(typeof j==="number"&&(j&&z.length<j||isNaN(j)&&z.length===0))n=Error(W("Not enough arguments following: %s",M));return d(M,z),h}function d(h,M,N=C){if(/-/.test(h)&&$["camel-case-expansion"]){let I=h.split(".").map(function(j){return nD(j)}).join(".");Cu(h,I)}let T=V(h,M,N),z=h.split(".");if(KD(t,z,T),Z.aliases[h])Z.aliases[h].forEach(function(I){let j=I.split(".");KD(t,j,T)});if(z.length>1&&$["dot-notation"])(Z.aliases[z[0]]||[]).forEach(function(I){let j=I.split("."),L=[].concat(z);if(L.shift(),j=j.concat(L),!(Z.aliases[h]||[]).includes(j.join(".")))KD(t,j,T)});if(S(h,Z.normalize)&&!S(h,Z.arrays))[h].concat(Z.aliases[h]||[]).forEach(function(j){Object.defineProperty(g,j,{enumerable:!0,get(){return M},set(L){M=typeof L==="string"?LD.normalize(L):L}})})}function Cu(h,M){if(!(Z.aliases[h]&&Z.aliases[h].length))Z.aliases[h]=[M],X[M]=!0;if(!(Z.aliases[M]&&Z.aliases[M].length))Cu(M,h)}function V(h,M,N){if(N)M=H2(M);if(S(h,Z.bools)||S(h,Z.counts)){if(typeof M==="string")M=M==="true"}let T=Array.isArray(M)?M.map(function(z){return R(h,z)}):R(h,M);if(S(h,Z.counts)&&(fD(T)||typeof T==="boolean"))T=nu();if(S(h,Z.normalize)&&S(h,Z.arrays))if(Array.isArray(M))T=M.map((z)=>{return LD.normalize(z)});else T=LD.normalize(M);return T}function R(h,M){if(!$["parse-positional-numbers"]&&h==="_")return M;if(!S(h,Z.strings)&&!S(h,Z.bools)&&!Array.isArray(M)){if(Ou(M)&&$["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${M}`)))||!fD(M)&&S(h,Z.numbers))M=Number(M)}return M}function _(h){let M=Object.create(null);AD(M,Z.aliases,G),Object.keys(Z.configs).forEach(function(N){let T=h[N]||M[N];if(T)try{let z=null,I=LD.resolve(LD.cwd(),T),j=Z.configs[N];if(typeof j==="function"){try{z=j(I)}catch(L){z=L}if(z instanceof Error){n=z;return}}else z=LD.require(I);w(z)}catch(z){if(z.name==="PermissionDenied")n=z;else if(h[N])n=Error(W("Invalid JSON config file: %s",T))}})}function w(h,M){Object.keys(h).forEach(function(N){let T=h[N],z=M?M+"."+N:N;if(typeof T==="object"&&T!==null&&!Array.isArray(T)&&$["dot-notation"])w(T,z);else if(!k(t,z.split("."))||S(z,Z.arrays)&&$["combine-arrays"])d(z,T)})}function i(){if(typeof J<"u")J.forEach(function(h){w(h)})}function FD(h,M){if(typeof Y>"u")return;let N=typeof Y==="string"?Y:"",T=LD.env();Object.keys(T).forEach(function(z){if(N===""||z.lastIndexOf(N,0)===0){let I=z.split("__").map(function(j,L){if(L===0)j=j.substring(N.length);return nD(j)});if((M&&Z.configs[I.join(".")]||!M)&&!k(h,I))d(I.join("."),T[z])}})}function m(h){let M,N=new Set;Object.keys(h).forEach(function(T){if(!N.has(T)){if(M=S(T,Z.coercions),typeof M==="function")try{let z=R(T,M(h[T]));[].concat(Z.aliases[T]||[],T).forEach((I)=>{N.add(I),h[I]=z})}catch(z){n=z}}})}function CD(h){return Z.keys.forEach((M)=>{if(~M.indexOf("."))return;if(typeof h[M]>"u")h[M]=void 0}),h}function AD(h,M,N,T=!1){Object.keys(N).forEach(function(z){if(!k(h,z.split("."))){if(KD(h,z.split("."),N[z]),T)O[z]=!0;(M[z]||[]).forEach(function(I){if(k(h,I.split(".")))return;KD(h,I.split("."),N[z])})}})}function k(h,M){let N=h;if(!$["dot-notation"])M=[M.join(".")];M.slice(0,-1).forEach(function(z){N=N[z]||{}});let T=M[M.length-1];if(typeof N!=="object")return!1;else return T in N}function KD(h,M,N){let T=h;if(!$["dot-notation"])M=[M.join(".")];M.slice(0,-1).forEach(function($D){if($D=pF($D),typeof T==="object"&&T[$D]===void 0)T[$D]={};if(typeof T[$D]!=="object"||Array.isArray(T[$D])){if(Array.isArray(T[$D]))T[$D].push({});else T[$D]=[T[$D],{}];T=T[$D][T[$D].length-1]}else T=T[$D]});let z=pF(M[M.length-1]),I=S(M.join("."),Z.arrays),j=Array.isArray(N),L=$["duplicate-arguments-array"];if(!L&&S(z,Z.nargs)){if(L=!0,!fD(T[z])&&Z.nargs[z]===1||Array.isArray(T[z])&&T[z].length===Z.nargs[z])T[z]=void 0}if(N===nu())T[z]=nu(T[z]);else if(Array.isArray(T[z]))if(L&&I&&j)T[z]=$["flatten-duplicate-arrays"]?T[z].concat(N):(Array.isArray(T[z][0])?T[z]:[T[z]]).concat([N]);else if(!L&&Boolean(I)===Boolean(j))T[z]=N;else T[z]=T[z].concat([N]);else if(T[z]===void 0&&I)T[z]=j?N:[N];else if(L&&!(T[z]===void 0||S(z,Z.counts)||S(z,Z.bools)))T[z]=[T[z],N];else T[z]=N}function Bu(...h){h.forEach(function(M){Object.keys(M||{}).forEach(function(N){if(Z.aliases[N])return;Z.aliases[N]=[].concat(f[N]||[]),Z.aliases[N].concat(N).forEach(function(T){if(/-/.test(T)&&$["camel-case-expansion"]){let z=nD(T);if(z!==N&&Z.aliases[N].indexOf(z)===-1)Z.aliases[N].push(z),X[z]=!0}}),Z.aliases[N].concat(N).forEach(function(T){if(T.length>1&&/[A-Z]/.test(T)&&$["camel-case-expansion"]){let z=Qu(T,"-");if(z!==N&&Z.aliases[N].indexOf(z)===-1)Z.aliases[N].push(z),X[z]=!0}}),Z.aliases[N].forEach(function(T){Z.aliases[T]=[N].concat(Z.aliases[N].filter(function(z){return T!==z}))})})})}function S(h,M){let N=[].concat(Z.aliases[h]||[],h),T=Object.keys(M),z=N.find((I)=>T.includes(I));return z?M[z]:!1}function aD(h){let M=Object.keys(Z);return[].concat(M.map((T)=>Z[T])).some(function(T){return Array.isArray(T)?T.includes(h):T[h]})}function MF(h,...M){return[].concat(...M).some(function(T){let z=h.match(T);return z&&aD(z[1])})}function x(h){if(h.match(A)||!h.match(/^-[^-]+/))return!1;let M=!0,N,T=h.slice(1).split("");for(let z=0;z<T.length;z++){if(N=h.slice(z+2),!aD(T[z])){M=!1;break}if(T[z+1]&&T[z+1]==="="||N==="-"||/[A-Za-z]/.test(T[z])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(N)||T[z+1]&&T[z+1].match(/\W/))break}return M}function o(h){return $["unknown-options-as-args"]&&BD(h)}function BD(h){if(h=h.replace(/^-{3,}/,"--"),h.match(A))return!1;if(x(h))return!1;return!MF(h,/^-+([^=]+?)=[\s\S]*$/,v,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function c(h){if(!S(h,Z.bools)&&!S(h,Z.counts)&&`${h}`in G)return G[h];else return zD(e(h))}function zD(h){return{[YD.BOOLEAN]:!0,[YD.STRING]:"",[YD.NUMBER]:void 0,[YD.ARRAY]:[]}[h]}function e(h){let M=YD.BOOLEAN;if(S(h,Z.strings))M=YD.STRING;else if(S(h,Z.numbers))M=YD.NUMBER;else if(S(h,Z.bools))M=YD.BOOLEAN;else if(S(h,Z.arrays))M=YD.ARRAY;return M}function fD(h){return h===void 0}function Au(){Object.keys(Z.counts).find((h)=>{if(S(h,Z.arrays))return n=Error(W("Invalid configuration: %s, opts.count excludes opts.array.",h)),!0;else if(S(h,Z.nargs))return n=Error(W("Invalid configuration: %s, opts.count excludes opts.narg.",h)),!0;return!1})}return{aliases:Object.assign({},Z.aliases),argv:Object.assign(g,t),configuration:$,defaulted:Object.assign({},O),error:n,newAliases:Object.assign({},X)}}}function q2(D){let u=[],F=Object.create(null),E=!0;Object.keys(D).forEach(function(C){u.push([].concat(D[C],C))});while(E){E=!1;for(let C=0;C<u.length;C++)for(let f=C+1;f<u.length;f++)if(u[C].filter(function(G){return u[f].indexOf(G)!==-1}).length){u[C]=u[C].concat(u[f]),u.splice(f,1),E=!0;break}}return u.forEach(function(C){C=C.filter(function($,G,J){return J.indexOf($)===G});let f=C.pop();if(f!==void 0&&typeof f==="string")F[f]=C}),F}function nu(D){return D!==void 0?D+1:1}function pF(D){if(D==="__proto__")return"___proto___";return D}function H2(D){return typeof D==="string"&&(D[0]==="'"||D[0]==='"')&&D[D.length-1]===D[0]?D.substring(1,D.length-1):D}import{readFileSync as K2}from"fs";import{createRequire as vF}from"module";var pu,vu,mu,mF=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):20,iF=(vu=(pu=process===null||process===void 0?void 0:process.versions)===null||pu===void 0?void 0:pu.node)!==null&&vu!==void 0?vu:(mu=process===null||process===void 0?void 0:process.version)===null||mu===void 0?void 0:mu.slice(1);if(iF){if(Number(iF.match(/^([^.]+)/)[1])<mF)throw Error(`yargs parser supports a minimum Node.js version of ${mF}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`)}var L2=process?process.env:{},dF=vF?vF(import.meta.url):void 0,oF=new cu({cwd:process.cwd,env:()=>{return L2},format:I2,normalize:V2,resolve:_2,require:(D)=>{if(typeof dF<"u")return dF(D);else if(D.match(/\.json$/))return JSON.parse(K2(D,"utf8"));else throw Error("only .json config files are supported in ESM")}}),fu=function(u,F){return oF.parse(u.slice(),F).argv};fu.detailed=function(D,u){return oF.parse(D.slice(),u)};fu.camelCase=nD;fu.decamelize=Qu;fu.looksLikeNumber=Ou;var iu=fu;import{basename as d2,dirname as o2,extname as k2,relative as g2,resolve as D0,join as l2}from"path";function kF(){if(A2())return 0;return 1}function A2(){return S2()&&!process.defaultApp}function S2(){return!!process.versions.electron}function du(D){return D.slice(kF()+1)}function gF(){return process.argv[kF()]}import{readFileSync as x2,statSync as P2,writeFile as w2}from"fs";import{format as b2}from"util";import{resolve as t2}from"path";var lF={fs:{readFileSync:x2,writeFile:w2},format:b2,resolve:t2,exists:(D)=>{try{return P2(D).isFile()}catch(u){return!1}}};var qD;class yF{constructor(D){D=D||{},this.directory=D.directory||"./locales",this.updateFiles=typeof D.updateFiles==="boolean"?D.updateFiles:!0,this.locale=D.locale||"en",this.fallbackToLanguage=typeof D.fallbackToLanguage==="boolean"?D.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...D){if(typeof arguments[0]!=="string")return this._taggedLiteral(arguments[0],...arguments);let u=D.shift(),F=function(){};if(typeof D[D.length-1]==="function")F=D.pop();if(F=F||function(){},!this.cache[this.locale])this._readLocaleFile();if(!this.cache[this.locale][u]&&this.updateFiles)this.cache[this.locale][u]=u,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:F});else F();return qD.format.apply(qD.format,[this.cache[this.locale][u]||u].concat(D))}__n(){let D=Array.prototype.slice.call(arguments),u=D.shift(),F=D.shift(),E=D.shift(),C=function(){};if(typeof D[D.length-1]==="function")C=D.pop();if(!this.cache[this.locale])this._readLocaleFile();let f=E===1?u:F;if(this.cache[this.locale][u])f=this.cache[this.locale][u][E===1?"one":"other"];if(!this.cache[this.locale][u]&&this.updateFiles)this.cache[this.locale][u]={one:u,other:F},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:C});else C();let $=[f];if(~f.indexOf("%d"))$.push(E);return qD.format.apply(qD.format,$.concat(D))}setLocale(D){this.locale=D}getLocale(){return this.locale}updateLocale(D){if(!this.cache[this.locale])this._readLocaleFile();for(let u in D)if(Object.prototype.hasOwnProperty.call(D,u))this.cache[this.locale][u]=D[u]}_taggedLiteral(D,...u){let F="";return D.forEach(function(E,C){let f=u[C+1];if(F+=E,typeof f<"u")F+="%s"}),this.__.apply(this,[F].concat([].slice.call(u,1)))}_enqueueWrite(D){if(this.writeQueue.push(D),this.writeQueue.length===1)this._processWriteQueue()}_processWriteQueue(){let D=this,u=this.writeQueue[0],F=u.directory,E=u.locale,C=u.cb,f=this._resolveLocaleFile(F,E),$=JSON.stringify(this.cache[E],null,2);qD.fs.writeFile(f,$,"utf-8",function(G){if(D.writeQueue.shift(),D.writeQueue.length>0)D._processWriteQueue();C(G)})}_readLocaleFile(){let D={},u=this._resolveLocaleFile(this.directory,this.locale);try{if(qD.fs.readFileSync)D=JSON.parse(qD.fs.readFileSync(u,"utf-8"))}catch(F){if(F instanceof SyntaxError)F.message="syntax error in "+u;if(F.code==="ENOENT")D={};else throw F}this.cache[this.locale]=D}_resolveLocaleFile(D,u){let F=qD.resolve(D,"./",u+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(F)&&~u.lastIndexOf("_")){let E=qD.resolve(D,"./",u.split("_")[0]+".json");if(this._fileExistsSync(E))F=E}return F}_fileExistsSync(D){return qD.exists(D)}}function sF(D,u){qD=u;let F=new yF(D);return{__:F.__.bind(F),__n:F.__n.bind(F),setLocale:F.setLocale.bind(F),getLocale:F.getLocale.bind(F),updateLocale:F.updateLocale.bind(F),locale:F.locale}}var n2=(D)=>{return sF(D,lF)},rF=n2;var F0=p2(eF(),1);import{createRequire as y2}from"module";import{readFileSync as s2,readdirSync as r2}from"fs";var ou=u0(import.meta.url),a2=ou.substring(0,ou.lastIndexOf("node_modules")),e2=y2(import.meta.url),ku={assert:{notStrictEqual:v2,strictEqual:m2},cliui:bu,findUp:tu,getEnv:(D)=>{return process.env[D]},inspect:i2,getProcessArgvBin:gF,mainFilename:a2||process.cwd(),Parser:iu,path:{basename:d2,dirname:o2,extname:k2,relative:g2,resolve:D0,join:l2},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(D,u)=>process.emitWarning(D,u),execPath:()=>process.execPath,exit:(D)=>{process.exit(D)},nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:s2,readdirSync:r2,require:e2,getCallerFile:()=>{let D=F0.default(3);return D.match(/^file:\/\//)?u0(D):D},stringWidth:jD,y18n:rF({directory:D0(ou,"../../../locales"),updateFiles:!1})};function XD(D,u,F,E){F.assert.notStrictEqual(D,u,E)}function gu(D,u){u.assert.strictEqual(typeof D,"string")}function Du(D){return Object.keys(D)}function l(D){return!!D&&!!D.then&&typeof D.then==="function"}class DD extends Error{constructor(D){super(D||"yargs error");if(this.name="YError",Error.captureStackTrace)Error.captureStackTrace(this,DD)}}function SD(D){let F=D.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),E=/\.*[\][<>]/g,C=F.shift();if(!C)throw Error(`No command found in: ${D}`);let f={cmd:C.replace(E,""),demanded:[],optional:[]};return F.forEach(($,G)=>{let J=!1;if($=$.replace(/\s/g,""),/\.+[\]>]/.test($)&&G===F.length-1)J=!0;if(/^\[/.test($))f.optional.push({cmd:$.replace(E,"").split("|"),variadic:J});else f.demanded.push({cmd:$.replace(E,"").split("|"),variadic:J})}),f}var D8=["first","second","third","fourth","fifth","sixth"];function q(D,u,F){function E(){return typeof D==="object"?[{demanded:[],optional:[]},D,u]:[SD(`cmd ${D}`),u,F]}try{let C=0,[f,$,G]=E(),J=[].slice.call($);while(J.length&&J[J.length-1]===void 0)J.pop();let Y=G||J.length;if(Y<f.demanded.length)throw new DD(`Not enough arguments provided. Expected ${f.demanded.length} but received ${J.length}.`);let U=f.demanded.length+f.optional.length;if(Y>U)throw new DD(`Too many arguments provided. Expected max ${U} but received ${Y}.`);f.demanded.forEach((Q)=>{let X=J.shift(),O=E0(X);if(Q.cmd.filter((Z)=>Z===O||Z==="*").length===0)C0(O,Q.cmd,C);C+=1}),f.optional.forEach((Q)=>{if(J.length===0)return;let X=J.shift(),O=E0(X);if(Q.cmd.filter((Z)=>Z===O||Z==="*").length===0)C0(O,Q.cmd,C);C+=1})}catch(C){console.warn(C.stack)}}function E0(D){if(Array.isArray(D))return"array";else if(D===null)return"null";return typeof D}function C0(D,u,F){throw new DD(`Invalid ${D8[F]||"manyith"} argument. Expected ${u.join(" or ")} but received ${D}.`)}class lu{constructor(D){this.globalMiddleware=[],this.frozens=[],this.yargs=D}addMiddleware(D,u,F=!0,E=!1){if(q("<array|function> [boolean] [boolean] [boolean]",[D,u,F],arguments.length),Array.isArray(D)){for(let C=0;C<D.length;C++){if(typeof D[C]!=="function")throw Error("middleware must be a function");let f=D[C];f.applyBeforeValidation=u,f.global=F}Array.prototype.push.apply(this.globalMiddleware,D)}else if(typeof D==="function"){let C=D;C.applyBeforeValidation=u,C.global=F,C.mutates=E,this.globalMiddleware.push(D)}return this.yargs}addCoerceMiddleware(D,u){let F=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter((E)=>{let C=[...F[u]||[],u];if(!E.option)return!0;else return!C.includes(E.option)}),D.option=u,this.addMiddleware(D,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let D=this.frozens.pop();if(D!==void 0)this.globalMiddleware=D}reset(){this.globalMiddleware=this.globalMiddleware.filter((D)=>D.global)}}function B0(D){if(!D)return[];return D.map((u)=>{return u.applyBeforeValidation=!1,u})}function cD(D,u,F,E){return F.reduce((C,f)=>{if(f.applyBeforeValidation!==E)return C;if(f.mutates){if(f.applied)return C;f.applied=!0}if(l(C))return C.then(($)=>Promise.all([$,f($,u)])).then(([$,G])=>Object.assign($,G));else{let $=f(C,u);return l($)?$.then((G)=>Object.assign(C,G)):Object.assign(C,$)}},D)}function pD(D,u,F=(E)=>{throw E}){try{let E=u8(D)?D():D;return l(E)?E.then((C)=>u(C)):u(E)}catch(E){return F(E)}}function u8(D){return typeof D==="function"}var uu=/(^\*)|(^\$0)/;class $0{constructor(D,u,F,E){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=E,this.usage=D,this.globalMiddleware=F,this.validation=u}addDirectory(D,u,F,E){E=E||{},this.requireCache.add(F);let C=this.shim.path.resolve(this.shim.path.dirname(F),D),f=this.shim.readdirSync(C,{recursive:E.recurse?!0:!1});if(!Array.isArray(E.extensions))E.extensions=["js"];let $=typeof E.visit==="function"?E.visit:(G)=>G;for(let G of f){let J=G.toString();if(E.exclude){let U=!1;if(typeof E.exclude==="function")U=E.exclude(J);else U=E.exclude.test(J);if(U)continue}if(E.include){let U=!1;if(typeof E.include==="function")U=E.include(J);else U=E.include.test(J);if(!U)continue}let Y=!1;for(let U of E.extensions)if(J.endsWith(U))Y=!0;if(Y){let U=this.shim.path.join(C,J),Q=u(U),X=Object.create(null,Object.getOwnPropertyDescriptors({...Q}));if($(X,U,J)){if(this.requireCache.has(U))continue;else this.requireCache.add(U);if(!X.command)X.command=this.shim.path.basename(U,this.shim.path.extname(U));this.addHandler(X)}}}}addHandler(D,u,F,E,C,f){let $=[],G=B0(C);if(E=E||(()=>{}),Array.isArray(D))if(F8(D))[D,...$]=D;else for(let J of D)this.addHandler(J);else if(C8(D)){let J=Array.isArray(D.command)||typeof D.command==="string"?D.command:null;if(J===null)throw Error(`No command name given for module: ${this.shim.inspect(D)}`);if(D.aliases)J=[].concat(J).concat(D.aliases);this.addHandler(J,this.extractDesc(D),D.builder,D.handler,D.middlewares,D.deprecated);return}else if(f0(F)){this.addHandler([D].concat($),u,F.builder,F.handler,F.middlewares,F.deprecated);return}if(typeof D==="string"){let J=SD(D);$=$.map((Q)=>SD(Q).cmd);let Y=!1,U=[J.cmd].concat($).filter((Q)=>{if(uu.test(Q))return Y=!0,!1;return!0});if(U.length===0&&Y)U.push("$0");if(Y)J.cmd=U[0],$=U.slice(1),D=D.replace(uu,J.cmd);if($.forEach((Q)=>{this.aliasMap[Q]=J.cmd}),u!==!1)this.usage.command(D,u,Y,$,f);if(this.handlers[J.cmd]={original:D,description:u,handler:E,builder:F||{},middlewares:G,deprecated:f,demanded:J.demanded,optional:J.optional},Y)this.defaultCommand=this.handlers[J.cmd]}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(D,u,F,E,C,f){let $=this.handlers[D]||this.handlers[this.aliasMap[D]]||this.defaultCommand,G=u.getInternalMethods().getContext(),J=G.commands.slice(),Y=!D;if(D)G.commands.push(D),G.fullCommands.push($.original);let U=this.applyBuilderUpdateUsageAndParse(Y,$,u,F.aliases,J,E,C,f);return l(U)?U.then((Q)=>this.applyMiddlewareAndGetResult(Y,$,Q.innerArgv,G,C,Q.aliases,u)):this.applyMiddlewareAndGetResult(Y,$,U.innerArgv,G,C,U.aliases,u)}applyBuilderUpdateUsageAndParse(D,u,F,E,C,f,$,G){let J=u.builder,Y=F;if(Tu(J)){F.getInternalMethods().getUsageInstance().freeze();let U=J(F.getInternalMethods().reset(E),G);if(l(U))return U.then((Q)=>{return Y=z0(Q)?Q:F,this.parseAndUpdateUsage(D,u,Y,C,f,$)})}else if(E8(J))F.getInternalMethods().getUsageInstance().freeze(),Y=F.getInternalMethods().reset(E),Object.keys(u.builder).forEach((U)=>{Y.option(U,J[U])});return this.parseAndUpdateUsage(D,u,Y,C,f,$)}parseAndUpdateUsage(D,u,F,E,C,f){if(D)F.getInternalMethods().getUsageInstance().unfreeze(!0);if(this.shouldUpdateUsage(F))F.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(E,u),u.description);let $=F.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,C,f);return l($)?$.then((G)=>({aliases:F.parsed.aliases,innerArgv:G})):{aliases:F.parsed.aliases,innerArgv:$}}shouldUpdateUsage(D){return!D.getInternalMethods().getUsageInstance().getUsageDisabled()&&D.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(D,u){let F=uu.test(u.original)?u.original.replace(uu,"").trim():u.original,E=D.filter((C)=>{return!uu.test(C)});return E.push(F),`$0 ${E.join(" ")}`}handleValidationAndGetResult(D,u,F,E,C,f,$,G){if(!f.getInternalMethods().getHasOutput()){let J=f.getInternalMethods().runValidation(C,G,f.parsed.error,D);F=pD(F,(Y)=>{return J(Y),Y})}if(u.handler&&!f.getInternalMethods().getHasOutput()){f.getInternalMethods().setHasOutput();let J=!!f.getOptions().configuration["populate--"];if(f.getInternalMethods().postProcess(F,J,!1,!1),F=cD(F,f,$,!1),F=pD(F,(Y)=>{let U=u.handler(Y);return l(U)?U.then(()=>Y):Y}),!D)f.getInternalMethods().getUsageInstance().cacheHelpMessage();if(l(F)&&!f.getInternalMethods().hasParseCallback())F.catch((Y)=>{try{f.getInternalMethods().getUsageInstance().fail(null,Y)}catch(U){}})}if(!D)E.commands.pop(),E.fullCommands.pop();return F}applyMiddlewareAndGetResult(D,u,F,E,C,f,$){let G={};if(C)return F;if(!$.getInternalMethods().getHasOutput())G=this.populatePositionals(u,F,E,$);let J=this.globalMiddleware.getMiddleware().slice(0).concat(u.middlewares),Y=cD(F,$,J,!0);return l(Y)?Y.then((U)=>this.handleValidationAndGetResult(D,u,U,E,f,$,J,G)):this.handleValidationAndGetResult(D,u,Y,E,f,$,J,G)}populatePositionals(D,u,F,E){u._=u._.slice(F.commands.length);let C=D.demanded.slice(0),f=D.optional.slice(0),$={};this.validation.positionalCount(C.length,u._.length);while(C.length){let G=C.shift();this.populatePositional(G,u,$)}while(f.length){let G=f.shift();this.populatePositional(G,u,$)}return u._=F.commands.concat(u._.map((G)=>""+G)),this.postProcessPositionals(u,$,this.cmdToParseOptions(D.original),E),$}populatePositional(D,u,F){let E=D.cmd[0];if(D.variadic)F[E]=u._.splice(0).map(String);else if(u._.length)F[E]=[String(u._.shift())]}cmdToParseOptions(D){let u={array:[],default:{},alias:{},demand:{}},F=SD(D);return F.demanded.forEach((E)=>{let[C,...f]=E.cmd;if(E.variadic)u.array.push(C),u.default[C]=[];u.alias[C]=f,u.demand[C]=!0}),F.optional.forEach((E)=>{let[C,...f]=E.cmd;if(E.variadic)u.array.push(C),u.default[C]=[];u.alias[C]=f}),u}postProcessPositionals(D,u,F,E){let C=Object.assign({},E.getOptions());C.default=Object.assign(F.default,C.default);for(let J of Object.keys(F.alias))C.alias[J]=(C.alias[J]||[]).concat(F.alias[J]);C.array=C.array.concat(F.array),C.config={};let f=[];if(Object.keys(u).forEach((J)=>{u[J].map((Y)=>{if(C.configuration["unknown-options-as-args"])C.key[J]=!0;f.push(`--${J}`),f.push(Y)})}),!f.length)return;let $=Object.assign({},C.configuration,{"populate--":!1}),G=this.shim.Parser.detailed(f,Object.assign({},C,{configuration:$}));if(G.error)E.getInternalMethods().getUsageInstance().fail(G.error.message,G.error);else{let J=Object.keys(u);Object.keys(u).forEach((Y)=>{J.push(...G.aliases[Y])}),Object.keys(G.argv).forEach((Y)=>{if(J.includes(Y)){if(!u[Y])u[Y]=G.argv[Y];if(!this.isInConfigs(E,Y)&&!this.isDefaulted(E,Y)&&Object.prototype.hasOwnProperty.call(D,Y)&&Object.prototype.hasOwnProperty.call(G.argv,Y)&&(Array.isArray(D[Y])||Array.isArray(G.argv[Y])))D[Y]=[].concat(D[Y],G.argv[Y]);else D[Y]=G.argv[Y]}})}}isDefaulted(D,u){let{default:F}=D.getOptions();return Object.prototype.hasOwnProperty.call(F,u)||Object.prototype.hasOwnProperty.call(F,this.shim.Parser.camelCase(u))}isInConfigs(D,u){let{configObjects:F}=D.getOptions();return F.some((E)=>Object.prototype.hasOwnProperty.call(E,u))||F.some((E)=>Object.prototype.hasOwnProperty.call(E,this.shim.Parser.camelCase(u)))}runDefaultBuilderOn(D){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(D)){let F=uu.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");D.getInternalMethods().getUsageInstance().usage(F,this.defaultCommand.description)}let u=this.defaultCommand.builder;if(Tu(u))return u(D,!0);else if(!f0(u))Object.keys(u).forEach((F)=>{D.option(F,u[F])});return}extractDesc({describe:D,description:u,desc:F}){for(let E of[D,u,F]){if(typeof E==="string"||E===!1)return E;XD(E,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let D=this.frozens.pop();XD(D,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=D}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}}function h0(D,u,F,E){return new $0(D,u,F,E)}function f0(D){return typeof D==="object"&&!!D.builder&&typeof D.handler==="function"}function F8(D){return D.every((u)=>typeof u==="string")}function Tu(D){return typeof D==="function"}function E8(D){return typeof D==="object"}function C8(D){return typeof D==="object"&&!Array.isArray(D)}function xD(D={},u=()=>!0){let F={};return Du(D).forEach((E)=>{if(u(E,D[E]))F[E]=D[E]}),F}function PD(D){if(typeof process>"u")return;[process.stdout,process.stderr].forEach((u)=>{let F=u;if(F._handle&&F.isTTY&&typeof F._handle.setBlocking==="function")F._handle.setBlocking(D)})}function B8(D){return typeof D==="boolean"}function M0(D,u){let F=u.y18n.__,E={},C=[];E.failFn=function(R){C.push(R)};let f=null,$=null,G=!0;E.showHelpOnFail=function(R=!0,_){let[w,i]=typeof R==="string"?[!0,R]:[R,_];if(D.getInternalMethods().isGlobalContext())$=i;return f=i,G=w,E};let J=!1;E.fail=function(R,_){let w=D.getInternalMethods().getLoggerInstance();if(C.length)for(let i=C.length-1;i>=0;--i){let FD=C[i];if(B8(FD)){if(_)throw _;else if(R)throw Error(R)}else FD(R,_,E)}else{if(D.getExitProcess())PD(!0);if(!J){if(J=!0,G)D.showHelp("error"),w.error();if(R||_)w.error(R||_);let i=f||$;if(i){if(R||_)w.error("");w.error(i)}}if(_=_||new DD(R),D.getExitProcess())return D.exit(1);else if(D.getInternalMethods().hasParseCallback())return D.exit(1,_);else throw _}};let Y=[],U=!1;E.usage=(V,R)=>{if(V===null)return U=!0,Y=[],E;return U=!1,Y.push([V,R||""]),E},E.getUsage=()=>{return Y},E.getUsageDisabled=()=>{return U},E.getPositionalGroupName=()=>{return F("Positionals:")};let Q=[];E.example=(V,R)=>{Q.push([V,R||""])};let X=[];E.command=function(R,_,w,i,FD=!1){if(w)X=X.map((m)=>{return m[2]=!1,m});X.push([R,_||"",w,i,FD])},E.getCommands=()=>X;let O={};E.describe=function(R,_){if(Array.isArray(R))R.forEach((w)=>{E.describe(w,_)});else if(typeof R==="object")Object.keys(R).forEach((w)=>{E.describe(w,R[w])});else O[R]=_},E.getDescriptions=()=>O;let W=[];E.epilog=(V)=>{W.push(V)};let Z=!1,A;E.wrap=(V)=>{Z=!0,A=V},E.getWrap=()=>{if(u.getEnv("YARGS_DISABLE_WRAP"))return null;if(!Z)A=ID(),Z=!0;return A};let v="__yargsString__:";E.deferY18nLookup=(V)=>v+V,E.help=function(){if(t)return t;GD();let R=D.customScriptName?D.$0:u.path.basename(D.$0),_=D.getDemandedOptions(),w=D.getDemandedCommands(),i=D.getDeprecatedOptions(),FD=D.getGroups(),m=D.getOptions(),CD=[];CD=CD.concat(Object.keys(O)),CD=CD.concat(Object.keys(_)),CD=CD.concat(Object.keys(w)),CD=CD.concat(Object.keys(m.default)),CD=CD.filter(ED),CD=Object.keys(CD.reduce((x,o)=>{if(o!=="_")x[o]=!0;return x},{}));let AD=E.getWrap(),k=u.cliui({width:AD,wrap:!!AD});if(!U){if(Y.length)Y.forEach((x)=>{if(k.div({text:`${x[0].replace(/\$0/g,R)}`}),x[1])k.div({text:`${x[1]}`,padding:[1,0,0,0]})}),k.div();else if(X.length){let x=null;if(w._)x=`${R} <${F("command")}>
14
14
  `;else x=`${R} [${F("command")}]
15
- `;k.div(`${x}`)}}if(X.length>1||X.length===1&&!X[0][2]){k.div(F("Commands:"));let x=D.getInternalMethods().getContext(),o=x.commands.length?`${x.commands.join(" ")} `:"";if(D.getInternalMethods().getParserConfiguration()["sort-commands"]===!0)X=X.sort((c,zD)=>c[0].localeCompare(zD[0]));let BD=R?`${R} `:"";X.forEach((c)=>{let zD=`${BD}${o}${c[0].replace(/^\$0 ?/,"")}`;k.span({text:zD,padding:[0,2,0,2],width:n(X,AD,`${R}${o}`)+4},{text:c[1]});let e=[];if(c[2])e.push(`[${F("default")}]`);if(c[3]&&c[3].length)e.push(`[${F("aliases:")} ${c[3].join(", ")}]`);if(c[4])if(typeof c[4]==="string")e.push(`[${F("deprecated: %s",c[4])}]`);else e.push(`[${F("deprecated")}]`);if(e.length)k.div({text:e.join(" "),padding:[0,0,0,2],align:"right"});else k.div()}),k.div()}let _D=(Object.keys(m.alias)||[]).concat(Object.keys(D.parsed.newAliases)||[]);CD=CD.filter((x)=>!D.parsed.newAliases[x]&&_D.every((o)=>(m.alias[o]||[]).indexOf(x)===-1));let Bu=F("Options:");if(!FD[Bu])FD[Bu]=[];g(CD,m.alias,FD,Bu);let S=(x)=>/^--/.test(Yu(x)),aD=Object.keys(FD).filter((x)=>FD[x].length>0).map((x)=>{let o=FD[x].filter(ED).map((BD)=>{if(_D.includes(BD))return BD;for(let c=0,zD;(zD=_D[c])!==void 0;c++)if((m.alias[zD]||[]).includes(BD))return zD;return BD});return{groupName:x,normalizedKeys:o}}).filter(({normalizedKeys:x})=>x.length>0).map(({groupName:x,normalizedKeys:o})=>{let BD=o.reduce((c,zD)=>{return c[zD]=[zD].concat(m.alias[zD]||[]).map((e)=>{if(x===E.getPositionalGroupName())return e;else return(/^[0-9]$/.test(e)?m.boolean.includes(zD)?"-":"--":e.length>1?"--":"-")+e}).sort((e,fD)=>S(e)===S(fD)?0:S(e)?1:-1).join(", "),c},{});return{groupName:x,normalizedKeys:o,switches:BD}});if(aD.filter(({groupName:x})=>x!==E.getPositionalGroupName()).some(({normalizedKeys:x,switches:o})=>!x.every((BD)=>S(o[BD]))))aD.filter(({groupName:x})=>x!==E.getPositionalGroupName()).forEach(({normalizedKeys:x,switches:o})=>{x.forEach((BD)=>{if(S(o[BD]))o[BD]=F8(o[BD],4)})});if(aD.forEach(({groupName:x,normalizedKeys:o,switches:BD})=>{k.div(x),o.forEach((c)=>{let zD=BD[c],e=O[c]||"",fD=null;if(e.includes(v))e=F(e.substring(v.length));if(m.boolean.includes(c))fD=`[${F("boolean")}]`;if(m.count.includes(c))fD=`[${F("count")}]`;if(m.string.includes(c))fD=`[${F("string")}]`;if(m.normalize.includes(c))fD=`[${F("string")}]`;if(m.array.includes(c))fD=`[${F("array")}]`;if(m.number.includes(c))fD=`[${F("number")}]`;let Lu=(N)=>typeof N==="string"?`[${F("deprecated: %s",N)}]`:`[${F("deprecated")}]`,$=[c in i?Lu(i[c]):null,fD,c in _?`[${F("required")}]`:null,m.choices&&m.choices[c]?`[${F("choices:")} ${E.stringifiedValues(m.choices[c])}]`:null,a(m.default[c],m.defaultDescription[c])].filter(Boolean).join(" ");k.span({text:Yu(zD),padding:[0,2,0,2+G0(zD)],width:n(BD,AD)+4},e);let M=D.getInternalMethods().getUsageConfiguration()["hide-types"]===!0;if($&&!M)k.div({text:$,padding:[0,0,0,2],align:"right"});else k.div()}),k.div()}),Q.length)k.div(F("Examples:")),Q.forEach((x)=>{x[0]=x[0].replace(/\$0/g,R)}),Q.forEach((x)=>{if(x[1]==="")k.div({text:x[0],padding:[0,2,0,2]});else k.div({text:x[0],padding:[0,2,0,2],width:n(Q,AD)+4},{text:x[1]})}),k.div();if(W.length>0){let x=W.map((o)=>o.replace(/\$0/g,R)).join(`
15
+ `;k.div(`${x}`)}}if(X.length>1||X.length===1&&!X[0][2]){k.div(F("Commands:"));let x=D.getInternalMethods().getContext(),o=x.commands.length?`${x.commands.join(" ")} `:"";if(D.getInternalMethods().getParserConfiguration()["sort-commands"]===!0)X=X.sort((c,zD)=>c[0].localeCompare(zD[0]));let BD=R?`${R} `:"";X.forEach((c)=>{let zD=`${BD}${o}${c[0].replace(/^\$0 ?/,"")}`;k.span({text:zD,padding:[0,2,0,2],width:n(X,AD,`${R}${o}`)+4},{text:c[1]});let e=[];if(c[2])e.push(`[${F("default")}]`);if(c[3]&&c[3].length)e.push(`[${F("aliases:")} ${c[3].join(", ")}]`);if(c[4])if(typeof c[4]==="string")e.push(`[${F("deprecated: %s",c[4])}]`);else e.push(`[${F("deprecated")}]`);if(e.length)k.div({text:e.join(" "),padding:[0,0,0,2],align:"right"});else k.div()}),k.div()}let KD=(Object.keys(m.alias)||[]).concat(Object.keys(D.parsed.newAliases)||[]);CD=CD.filter((x)=>!D.parsed.newAliases[x]&&KD.every((o)=>(m.alias[o]||[]).indexOf(x)===-1));let Bu=F("Options:");if(!FD[Bu])FD[Bu]=[];g(CD,m.alias,FD,Bu);let S=(x)=>/^--/.test(Yu(x)),aD=Object.keys(FD).filter((x)=>FD[x].length>0).map((x)=>{let o=FD[x].filter(ED).map((BD)=>{if(KD.includes(BD))return BD;for(let c=0,zD;(zD=KD[c])!==void 0;c++)if((m.alias[zD]||[]).includes(BD))return zD;return BD});return{groupName:x,normalizedKeys:o}}).filter(({normalizedKeys:x})=>x.length>0).map(({groupName:x,normalizedKeys:o})=>{let BD=o.reduce((c,zD)=>{return c[zD]=[zD].concat(m.alias[zD]||[]).map((e)=>{if(x===E.getPositionalGroupName())return e;else return(/^[0-9]$/.test(e)?m.boolean.includes(zD)?"-":"--":e.length>1?"--":"-")+e}).sort((e,fD)=>S(e)===S(fD)?0:S(e)?1:-1).join(", "),c},{});return{groupName:x,normalizedKeys:o,switches:BD}});if(aD.filter(({groupName:x})=>x!==E.getPositionalGroupName()).some(({normalizedKeys:x,switches:o})=>!x.every((BD)=>S(o[BD]))))aD.filter(({groupName:x})=>x!==E.getPositionalGroupName()).forEach(({normalizedKeys:x,switches:o})=>{x.forEach((BD)=>{if(S(o[BD]))o[BD]=f8(o[BD],4)})});if(aD.forEach(({groupName:x,normalizedKeys:o,switches:BD})=>{k.div(x),o.forEach((c)=>{let zD=BD[c],e=O[c]||"",fD=null;if(e.includes(v))e=F(e.substring(v.length));if(m.boolean.includes(c))fD=`[${F("boolean")}]`;if(m.count.includes(c))fD=`[${F("count")}]`;if(m.string.includes(c))fD=`[${F("string")}]`;if(m.normalize.includes(c))fD=`[${F("string")}]`;if(m.array.includes(c))fD=`[${F("array")}]`;if(m.number.includes(c))fD=`[${F("number")}]`;let Au=(N)=>typeof N==="string"?`[${F("deprecated: %s",N)}]`:`[${F("deprecated")}]`,h=[c in i?Au(i[c]):null,fD,c in _?`[${F("required")}]`:null,m.choices&&m.choices[c]?`[${F("choices:")} ${E.stringifiedValues(m.choices[c])}]`:null,a(m.default[c],m.defaultDescription[c])].filter(Boolean).join(" ");k.span({text:Yu(zD),padding:[0,2,0,2+G0(zD)],width:n(BD,AD)+4},e);let M=D.getInternalMethods().getUsageConfiguration()["hide-types"]===!0;if(h&&!M)k.div({text:h,padding:[0,0,0,2],align:"right"});else k.div()}),k.div()}),Q.length)k.div(F("Examples:")),Q.forEach((x)=>{x[0]=x[0].replace(/\$0/g,R)}),Q.forEach((x)=>{if(x[1]==="")k.div({text:x[0],padding:[0,2,0,2]});else k.div({text:x[0],padding:[0,2,0,2],width:n(Q,AD)+4},{text:x[1]})}),k.div();if(W.length>0){let x=W.map((o)=>o.replace(/\$0/g,R)).join(`
16
16
  `);k.div(`${x}
17
- `)}return k.toString().replace(/\s*$/,"")};function n(V,R,_){let w=0;if(!Array.isArray(V))V=Object.values(V).map((i)=>[i]);if(V.forEach((i)=>{w=Math.max(u.stringWidth(_?`${_} ${Yu(i[0])}`:Yu(i[0]))+G0(i[0]),w)}),R)w=Math.min(w,parseInt((R*0.5).toString(),10));return w}function GD(){let V=D.getDemandedOptions(),R=D.getOptions();(Object.keys(R.alias)||[]).forEach((_)=>{R.alias[_].forEach((w)=>{if(O[w])E.describe(_,O[w]);if(w in V)D.demandOption(_,V[w]);if(R.boolean.includes(w))D.boolean(_);if(R.count.includes(w))D.count(_);if(R.string.includes(w))D.string(_);if(R.normalize.includes(w))D.normalize(_);if(R.array.includes(w))D.array(_);if(R.number.includes(w))D.number(_)})})}let t;E.cacheHelpMessage=function(){t=this.help()},E.clearCachedHelpMessage=function(){t=void 0},E.hasCachedHelpMessage=function(){return!!t};function g(V,R,_,w){let i=[],FD=null;return Object.keys(_).forEach((m)=>{i=i.concat(_[m])}),V.forEach((m)=>{if(FD=[m].concat(R[m]),!FD.some((CD)=>i.indexOf(CD)!==-1))_[w].push(m)}),i}function ED(V){return D.getOptions().hiddenOptions.indexOf(V)<0||D.parsed.argv[D.getOptions().showHiddenOpt]}E.showHelp=(V)=>{let R=D.getInternalMethods().getLoggerInstance();if(!V)V="error";(typeof V==="function"?V:R[V])(E.help())},E.functionDescription=(V)=>{return["(",V.name?u.Parser.decamelize(V.name,"-"):F("generated-value"),")"].join("")},E.stringifiedValues=function(R,_){let w="",i=_||", ",FD=[].concat(R);if(!R||!FD.length)return w;return FD.forEach((m)=>{if(w.length)w+=i;w+=JSON.stringify(m)}),w};function a(V,R){let _=`[${F("default:")} `;if(V===void 0&&!R)return null;if(R)_+=R;else switch(typeof V){case"string":_+=`"${V}"`;break;case"object":_+=JSON.stringify(V);break;default:_+=V}return`${_}]`}function qD(){if(u.process.stdColumns)return Math.min(80,u.process.stdColumns);else return 80}let d=null;E.version=(V)=>{d=V},E.showVersion=(V)=>{let R=D.getInternalMethods().getLoggerInstance();if(!V)V="error";(typeof V==="function"?V:R[V])(d)},E.reset=function(R){return f=null,J=!1,Y=[],U=!1,W=[],Q=[],X=[],O=xD(O,(_)=>!R[_]),E};let Cu=[];return E.freeze=function(){Cu.push({failMessage:f,failureOutput:J,usages:Y,usageDisabled:U,epilogs:W,examples:Q,commands:X,descriptions:O})},E.unfreeze=function(R=!1){let _=Cu.pop();if(!_)return;if(R)O={..._.descriptions,...O},X=[..._.commands,...X],Y=[..._.usages,...Y],Q=[..._.examples,...Q],W=[..._.epilogs,...W];else({failMessage:f,failureOutput:J,usages:Y,usageDisabled:U,epilogs:W,examples:Q,commands:X,descriptions:O}=_)},E}function lu(D){return typeof D==="object"}function F8(D,u){return lu(D)?{text:D.text,indentation:D.indentation+u}:{text:D,indentation:u}}function G0(D){return lu(D)?D.indentation:0}function Yu(D){return lu(D)?D.text:D}var X0=`###-begin-{{app_name}}-completions-###
17
+ `)}return k.toString().replace(/\s*$/,"")};function n(V,R,_){let w=0;if(!Array.isArray(V))V=Object.values(V).map((i)=>[i]);if(V.forEach((i)=>{w=Math.max(u.stringWidth(_?`${_} ${Yu(i[0])}`:Yu(i[0]))+G0(i[0]),w)}),R)w=Math.min(w,parseInt((R*0.5).toString(),10));return w}function GD(){let V=D.getDemandedOptions(),R=D.getOptions();(Object.keys(R.alias)||[]).forEach((_)=>{R.alias[_].forEach((w)=>{if(O[w])E.describe(_,O[w]);if(w in V)D.demandOption(_,V[w]);if(R.boolean.includes(w))D.boolean(_);if(R.count.includes(w))D.count(_);if(R.string.includes(w))D.string(_);if(R.normalize.includes(w))D.normalize(_);if(R.array.includes(w))D.array(_);if(R.number.includes(w))D.number(_)})})}let t;E.cacheHelpMessage=function(){t=this.help()},E.clearCachedHelpMessage=function(){t=void 0},E.hasCachedHelpMessage=function(){return!!t};function g(V,R,_,w){let i=[],FD=null;return Object.keys(_).forEach((m)=>{i=i.concat(_[m])}),V.forEach((m)=>{if(FD=[m].concat(R[m]),!FD.some((CD)=>i.indexOf(CD)!==-1))_[w].push(m)}),i}function ED(V){return D.getOptions().hiddenOptions.indexOf(V)<0||D.parsed.argv[D.getOptions().showHiddenOpt]}E.showHelp=(V)=>{let R=D.getInternalMethods().getLoggerInstance();if(!V)V="error";(typeof V==="function"?V:R[V])(E.help())},E.functionDescription=(V)=>{return["(",V.name?u.Parser.decamelize(V.name,"-"):F("generated-value"),")"].join("")},E.stringifiedValues=function(R,_){let w="",i=_||", ",FD=[].concat(R);if(!R||!FD.length)return w;return FD.forEach((m)=>{if(w.length)w+=i;w+=JSON.stringify(m)}),w};function a(V,R){let _=`[${F("default:")} `;if(V===void 0&&!R)return null;if(R)_+=R;else switch(typeof V){case"string":_+=`"${V}"`;break;case"object":_+=JSON.stringify(V);break;default:_+=V}return`${_}]`}function ID(){if(u.process.stdColumns)return Math.min(80,u.process.stdColumns);else return 80}let d=null;E.version=(V)=>{d=V},E.showVersion=(V)=>{let R=D.getInternalMethods().getLoggerInstance();if(!V)V="error";(typeof V==="function"?V:R[V])(d)},E.reset=function(R){return f=null,J=!1,Y=[],U=!1,W=[],Q=[],X=[],O=xD(O,(_)=>!R[_]),E};let Cu=[];return E.freeze=function(){Cu.push({failMessage:f,failureOutput:J,usages:Y,usageDisabled:U,epilogs:W,examples:Q,commands:X,descriptions:O})},E.unfreeze=function(R=!1){let _=Cu.pop();if(!_)return;if(R)O={..._.descriptions,...O},X=[..._.commands,...X],Y=[..._.usages,...Y],Q=[..._.examples,...Q],W=[..._.epilogs,...W];else({failMessage:f,failureOutput:J,usages:Y,usageDisabled:U,epilogs:W,examples:Q,commands:X,descriptions:O}=_)},E}function yu(D){return typeof D==="object"}function f8(D,u){return yu(D)?{text:D.text,indentation:D.indentation+u}:{text:D,indentation:u}}function G0(D){return yu(D)?D.indentation:0}function Yu(D){return yu(D)?D.text:D}var X0=`###-begin-{{app_name}}-completions-###
18
18
  #
19
19
  # yargs command completion script
20
20
  #
@@ -70,12 +70,12 @@ else
70
70
  compdef _{{app_name}}_yargs_completions {{app_name}}
71
71
  fi
72
72
  ###-end-{{app_name}}-completions-###
73
- `;class J0{constructor(D,u,F,E){var C,f,h;this.yargs=D,this.usage=u,this.command=F,this.shim=E,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=(h=((C=this.shim.getEnv("SHELL"))===null||C===void 0?void 0:C.includes("zsh"))||((f=this.shim.getEnv("ZSH_NAME"))===null||f===void 0?void 0:f.includes("zsh")))!==null&&h!==void 0?h:!1}defaultCompletion(D,u,F,E){let C=this.command.getCommandHandlers();for(let h=0,G=D.length;h<G;++h)if(C[D[h]]&&C[D[h]].builder){let J=C[D[h]].builder;if(Tu(J)){this.indexAfterLastReset=h+1;let Y=this.yargs.getInternalMethods().reset();return J(Y,!0),Y.argv}}let f=[];this.commandCompletions(f,D,F),this.optionCompletions(f,D,u,F),this.choicesFromOptionsCompletions(f,D,u,F),this.choicesFromPositionalsCompletions(f,D,u,F),E(null,f)}commandCompletions(D,u,F){let E=this.yargs.getInternalMethods().getContext().commands;if(!F.match(/^-/)&&E[E.length-1]!==F&&!this.previousArgHasChoices(u))this.usage.getCommands().forEach((C)=>{let f=SD(C[0]).cmd;if(u.indexOf(f)===-1)if(!this.zshShell)D.push(f);else{let h=C[1]||"";D.push(f.replace(/:/g,"\\:")+":"+h)}})}optionCompletions(D,u,F,E){if((E.match(/^-/)||E===""&&D.length===0)&&!this.previousArgHasChoices(u)){let C=this.yargs.getOptions(),f=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(C.key).forEach((h)=>{let G=!!C.configuration["boolean-negation"]&&C.boolean.includes(h);if(!f.includes(h)&&!C.hiddenOptions.includes(h)&&!this.argsContainKey(u,h,G))this.completeOptionKey(h,D,E,G&&!!C.default[h])})}}choicesFromOptionsCompletions(D,u,F,E){if(this.previousArgHasChoices(u)){let C=this.getPreviousArgChoices(u);if(C&&C.length>0)D.push(...C.map((f)=>f.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(D,u,F,E){if(E===""&&D.length>0&&this.previousArgHasChoices(u))return;let C=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],f=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),h=C[F._.length-f-1];if(!h)return;let G=this.yargs.getOptions().choices[h]||[];for(let J of G)if(J.startsWith(E))D.push(J.replace(/:/g,"\\:"))}getPreviousArgChoices(D){if(D.length<1)return;let u=D[D.length-1],F="";if(!u.startsWith("-")&&D.length>1)F=u,u=D[D.length-2];if(!u.startsWith("-"))return;let E=u.replace(/^-+/,""),C=this.yargs.getOptions(),f=[E,...this.yargs.getAliases()[E]||[]],h;for(let G of f)if(Object.prototype.hasOwnProperty.call(C.key,G)&&Array.isArray(C.choices[G])){h=C.choices[G];break}if(h)return h.filter((G)=>!F||G.startsWith(F))}previousArgHasChoices(D){let u=this.getPreviousArgChoices(D);return u!==void 0&&u.length>0}argsContainKey(D,u,F){let E=(C)=>D.indexOf((/^[^0-9]$/.test(C)?"-":"--")+C)!==-1;if(E(u))return!0;if(F&&E(`no-${u}`))return!0;if(this.aliases){for(let C of this.aliases[u])if(E(C))return!0}return!1}completeOptionKey(D,u,F,E){var C,f,h,G;let J=D;if(this.zshShell){let X=this.usage.getDescriptions(),O=(f=(C=this===null||this===void 0?void 0:this.aliases)===null||C===void 0?void 0:C[D])===null||f===void 0?void 0:f.find((A)=>{let v=X[A];return typeof v==="string"&&v.length>0}),W=O?X[O]:void 0,Z=(G=(h=X[D])!==null&&h!==void 0?h:W)!==null&&G!==void 0?G:"";J=`${D.replace(/:/g,"\\:")}:${Z.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}let Y=(X)=>/^--/.test(X),U=(X)=>/^[^0-9]$/.test(X),Q=!Y(F)&&U(D)?"-":"--";if(u.push(Q+J),E)u.push(Q+"no-"+J)}customCompletion(D,u,F,E){if(XD(this.customCompletionFunction,null,this.shim),C8(this.customCompletionFunction)){let C=this.customCompletionFunction(F,u);if(l(C))return C.then((f)=>{this.shim.process.nextTick(()=>{E(null,f)})}).catch((f)=>{this.shim.process.nextTick(()=>{E(f,void 0)})});return E(null,C)}else if(B8(this.customCompletionFunction))return this.customCompletionFunction(F,u,(C=E)=>this.defaultCompletion(D,u,F,C),(C)=>{E(null,C)});else return this.customCompletionFunction(F,u,(C)=>{E(null,C)})}getCompletion(D,u){let F=D.length?D[D.length-1]:"",E=this.yargs.parse(D,!0),C=this.customCompletionFunction?(f)=>this.customCompletion(D,f,F,u):(f)=>this.defaultCompletion(D,f,F,u);return l(E)?E.then(C):C(E)}generateCompletionScript(D,u){let F=this.zshShell?Z0:X0,E=this.shim.path.basename(D);if(D.match(/\.js$/))D=`./${D}`;return F=F.replace(/{{app_name}}/g,E),F=F.replace(/{{completion_command}}/g,u),F.replace(/{{app_path}}/g,D)}registerFunction(D){this.customCompletionFunction=D}setParsed(D){this.aliases=D.aliases}}function Q0(D,u,F,E){return new J0(D,u,F,E)}function C8(D){return D.length<3}function B8(D){return D.length>3}function O0(D,u){if(D.length===0)return u.length;if(u.length===0)return D.length;let F=[],E;for(E=0;E<=u.length;E++)F[E]=[E];let C;for(C=0;C<=D.length;C++)F[0][C]=C;for(E=1;E<=u.length;E++)for(C=1;C<=D.length;C++)if(u.charAt(E-1)===D.charAt(C-1))F[E][C]=F[E-1][C-1];else if(E>1&&C>1&&u.charAt(E-2)===D.charAt(C-1)&&u.charAt(E-1)===D.charAt(C-2))F[E][C]=F[E-2][C-2]+1;else F[E][C]=Math.min(F[E-1][C-1]+1,Math.min(F[E][C-1]+1,F[E-1][C]+1));return F[u.length][D.length]}var T0=["$0","--","_"];function Y0(D,u,F){let E=F.y18n.__,C=F.y18n.__n,f={};f.nonOptionCount=function(Q){let X=D.getDemandedCommands(),W=Q._.length+(Q["--"]?Q["--"].length:0)-D.getInternalMethods().getContext().commands.length;if(X._&&(W<X._.min||W>X._.max)){if(W<X._.min)if(X._.minMsg!==void 0)u.fail(X._.minMsg?X._.minMsg.replace(/\$0/g,W.toString()).replace(/\$1/,X._.min.toString()):null);else u.fail(C("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",W,W.toString(),X._.min.toString()));else if(W>X._.max)if(X._.maxMsg!==void 0)u.fail(X._.maxMsg?X._.maxMsg.replace(/\$0/g,W.toString()).replace(/\$1/,X._.max.toString()):null);else u.fail(C("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",W,W.toString(),X._.max.toString()))}},f.positionalCount=function(Q,X){if(X<Q)u.fail(C("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",X,X+"",Q+""))},f.requiredArguments=function(Q,X){let O=null;for(let W of Object.keys(X))if(!Object.prototype.hasOwnProperty.call(Q,W)||typeof Q[W]>"u")O=O||{},O[W]=X[W];if(O){let W=[];for(let A of Object.keys(O)){let v=O[A];if(v&&W.indexOf(v)<0)W.push(v)}let Z=W.length?`
73
+ `;class J0{constructor(D,u,F,E){var C,f,$;this.yargs=D,this.usage=u,this.command=F,this.shim=E,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=($=((C=this.shim.getEnv("SHELL"))===null||C===void 0?void 0:C.includes("zsh"))||((f=this.shim.getEnv("ZSH_NAME"))===null||f===void 0?void 0:f.includes("zsh")))!==null&&$!==void 0?$:!1}defaultCompletion(D,u,F,E){let C=this.command.getCommandHandlers();for(let $=0,G=D.length;$<G;++$)if(C[D[$]]&&C[D[$]].builder){let J=C[D[$]].builder;if(Tu(J)){this.indexAfterLastReset=$+1;let Y=this.yargs.getInternalMethods().reset();return J(Y,!0),Y.argv}}let f=[];this.commandCompletions(f,D,F),this.optionCompletions(f,D,u,F),this.choicesFromOptionsCompletions(f,D,u,F),this.choicesFromPositionalsCompletions(f,D,u,F),E(null,f)}commandCompletions(D,u,F){let E=this.yargs.getInternalMethods().getContext().commands;if(!F.match(/^-/)&&E[E.length-1]!==F&&!this.previousArgHasChoices(u))this.usage.getCommands().forEach((C)=>{let f=SD(C[0]).cmd;if(u.indexOf(f)===-1)if(!this.zshShell)D.push(f);else{let $=C[1]||"";D.push(f.replace(/:/g,"\\:")+":"+$)}})}optionCompletions(D,u,F,E){if((E.match(/^-/)||E===""&&D.length===0)&&!this.previousArgHasChoices(u)){let C=this.yargs.getOptions(),f=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(C.key).forEach(($)=>{let G=!!C.configuration["boolean-negation"]&&C.boolean.includes($);if(!f.includes($)&&!C.hiddenOptions.includes($)&&!this.argsContainKey(u,$,G))this.completeOptionKey($,D,E,G&&!!C.default[$])})}}choicesFromOptionsCompletions(D,u,F,E){if(this.previousArgHasChoices(u)){let C=this.getPreviousArgChoices(u);if(C&&C.length>0)D.push(...C.map((f)=>f.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(D,u,F,E){if(E===""&&D.length>0&&this.previousArgHasChoices(u))return;let C=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],f=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),$=C[F._.length-f-1];if(!$)return;let G=this.yargs.getOptions().choices[$]||[];for(let J of G)if(J.startsWith(E))D.push(J.replace(/:/g,"\\:"))}getPreviousArgChoices(D){if(D.length<1)return;let u=D[D.length-1],F="";if(!u.startsWith("-")&&D.length>1)F=u,u=D[D.length-2];if(!u.startsWith("-"))return;let E=u.replace(/^-+/,""),C=this.yargs.getOptions(),f=[E,...this.yargs.getAliases()[E]||[]],$;for(let G of f)if(Object.prototype.hasOwnProperty.call(C.key,G)&&Array.isArray(C.choices[G])){$=C.choices[G];break}if($)return $.filter((G)=>!F||G.startsWith(F))}previousArgHasChoices(D){let u=this.getPreviousArgChoices(D);return u!==void 0&&u.length>0}argsContainKey(D,u,F){let E=(C)=>D.indexOf((/^[^0-9]$/.test(C)?"-":"--")+C)!==-1;if(E(u))return!0;if(F&&E(`no-${u}`))return!0;if(this.aliases){for(let C of this.aliases[u])if(E(C))return!0}return!1}completeOptionKey(D,u,F,E){var C,f,$,G;let J=D;if(this.zshShell){let X=this.usage.getDescriptions(),O=(f=(C=this===null||this===void 0?void 0:this.aliases)===null||C===void 0?void 0:C[D])===null||f===void 0?void 0:f.find((A)=>{let v=X[A];return typeof v==="string"&&v.length>0}),W=O?X[O]:void 0,Z=(G=($=X[D])!==null&&$!==void 0?$:W)!==null&&G!==void 0?G:"";J=`${D.replace(/:/g,"\\:")}:${Z.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}let Y=(X)=>/^--/.test(X),U=(X)=>/^[^0-9]$/.test(X),Q=!Y(F)&&U(D)?"-":"--";if(u.push(Q+J),E)u.push(Q+"no-"+J)}customCompletion(D,u,F,E){if(XD(this.customCompletionFunction,null,this.shim),h8(this.customCompletionFunction)){let C=this.customCompletionFunction(F,u);if(l(C))return C.then((f)=>{this.shim.process.nextTick(()=>{E(null,f)})}).catch((f)=>{this.shim.process.nextTick(()=>{E(f,void 0)})});return E(null,C)}else if(z8(this.customCompletionFunction))return this.customCompletionFunction(F,u,(C=E)=>this.defaultCompletion(D,u,F,C),(C)=>{E(null,C)});else return this.customCompletionFunction(F,u,(C)=>{E(null,C)})}getCompletion(D,u){let F=D.length?D[D.length-1]:"",E=this.yargs.parse(D,!0),C=this.customCompletionFunction?(f)=>this.customCompletion(D,f,F,u):(f)=>this.defaultCompletion(D,f,F,u);return l(E)?E.then(C):C(E)}generateCompletionScript(D,u){let F=this.zshShell?Z0:X0,E=this.shim.path.basename(D);if(D.match(/\.js$/))D=`./${D}`;return F=F.replace(/{{app_name}}/g,E),F=F.replace(/{{completion_command}}/g,u),F.replace(/{{app_path}}/g,D)}registerFunction(D){this.customCompletionFunction=D}setParsed(D){this.aliases=D.aliases}}function Q0(D,u,F,E){return new J0(D,u,F,E)}function h8(D){return D.length<3}function z8(D){return D.length>3}function O0(D,u){if(D.length===0)return u.length;if(u.length===0)return D.length;let F=[],E;for(E=0;E<=u.length;E++)F[E]=[E];let C;for(C=0;C<=D.length;C++)F[0][C]=C;for(E=1;E<=u.length;E++)for(C=1;C<=D.length;C++)if(u.charAt(E-1)===D.charAt(C-1))F[E][C]=F[E-1][C-1];else if(E>1&&C>1&&u.charAt(E-2)===D.charAt(C-1)&&u.charAt(E-1)===D.charAt(C-2))F[E][C]=F[E-2][C-2]+1;else F[E][C]=Math.min(F[E-1][C-1]+1,Math.min(F[E][C-1]+1,F[E-1][C]+1));return F[u.length][D.length]}var T0=["$0","--","_"];function Y0(D,u,F){let E=F.y18n.__,C=F.y18n.__n,f={};f.nonOptionCount=function(Q){let X=D.getDemandedCommands(),W=Q._.length+(Q["--"]?Q["--"].length:0)-D.getInternalMethods().getContext().commands.length;if(X._&&(W<X._.min||W>X._.max)){if(W<X._.min)if(X._.minMsg!==void 0)u.fail(X._.minMsg?X._.minMsg.replace(/\$0/g,W.toString()).replace(/\$1/,X._.min.toString()):null);else u.fail(C("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",W,W.toString(),X._.min.toString()));else if(W>X._.max)if(X._.maxMsg!==void 0)u.fail(X._.maxMsg?X._.maxMsg.replace(/\$0/g,W.toString()).replace(/\$1/,X._.max.toString()):null);else u.fail(C("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",W,W.toString(),X._.max.toString()))}},f.positionalCount=function(Q,X){if(X<Q)u.fail(C("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",X,X+"",Q+""))},f.requiredArguments=function(Q,X){let O=null;for(let W of Object.keys(X))if(!Object.prototype.hasOwnProperty.call(Q,W)||typeof Q[W]>"u")O=O||{},O[W]=X[W];if(O){let W=[];for(let A of Object.keys(O)){let v=O[A];if(v&&W.indexOf(v)<0)W.push(v)}let Z=W.length?`
74
74
  ${W.join(`
75
75
  `)}`:"";u.fail(C("Missing required argument: %s","Missing required arguments: %s",Object.keys(O).length,Object.keys(O).join(", ")+Z))}},f.unknownArguments=function(Q,X,O,W,Z=!0){var A;let v=D.getInternalMethods().getCommandInstance().getCommands(),n=[],GD=D.getInternalMethods().getContext();if(Object.keys(Q).forEach((t)=>{if(!T0.includes(t)&&!Object.prototype.hasOwnProperty.call(O,t)&&!Object.prototype.hasOwnProperty.call(D.getInternalMethods().getParseContext(),t)&&!f.isValidAndSomeAliasIsNotNew(t,X))n.push(t)}),Z&&(GD.commands.length>0||v.length>0||W))Q._.slice(GD.commands.length).forEach((t)=>{if(!v.includes(""+t))n.push(""+t)});if(Z){let g=((A=D.getDemandedCommands()._)===null||A===void 0?void 0:A.max)||0,ED=GD.commands.length+g;if(ED<Q._.length)Q._.slice(ED).forEach((a)=>{if(a=String(a),!GD.commands.includes(a)&&!n.includes(a))n.push(a)})}if(n.length)u.fail(C("Unknown argument: %s","Unknown arguments: %s",n.length,n.map((t)=>t.trim()?t:`"${t}"`).join(", ")))},f.unknownCommands=function(Q){let X=D.getInternalMethods().getCommandInstance().getCommands(),O=[],W=D.getInternalMethods().getContext();if(W.commands.length>0||X.length>0)Q._.slice(W.commands.length).forEach((Z)=>{if(!X.includes(""+Z))O.push(""+Z)});if(O.length>0)return u.fail(C("Unknown command: %s","Unknown commands: %s",O.length,O.join(", "))),!0;else return!1},f.isValidAndSomeAliasIsNotNew=function(Q,X){if(!Object.prototype.hasOwnProperty.call(X,Q))return!1;let O=D.parsed.newAliases;return[Q,...X[Q]].some((W)=>!Object.prototype.hasOwnProperty.call(O,W)||!O[Q])},f.limitedChoices=function(Q){let X=D.getOptions(),O={};if(!Object.keys(X.choices).length)return;Object.keys(Q).forEach((A)=>{if(T0.indexOf(A)===-1&&Object.prototype.hasOwnProperty.call(X.choices,A))[].concat(Q[A]).forEach((v)=>{if(X.choices[A].indexOf(v)===-1&&v!==void 0)O[A]=(O[A]||[]).concat(v)})});let W=Object.keys(O);if(!W.length)return;let Z=E("Invalid values:");W.forEach((A)=>{Z+=`
76
- ${E("Argument: %s, Given: %s, Choices: %s",A,u.stringifiedValues(O[A]),u.stringifiedValues(X.choices[A]))}`}),u.fail(Z)};let h={};f.implies=function(Q,X){if(q("<string|object> [array|number|string]",[Q,X],arguments.length),typeof Q==="object")Object.keys(Q).forEach((O)=>{f.implies(O,Q[O])});else{if(D.global(Q),!h[Q])h[Q]=[];if(Array.isArray(X))X.forEach((O)=>f.implies(Q,O));else XD(X,void 0,F),h[Q].push(X)}},f.getImplied=function(){return h};function G(U,Q){let X=Number(Q);if(Q=isNaN(X)?Q:X,typeof Q==="number")Q=U._.length>=Q;else if(Q.match(/^--no-.+/))Q=Q.match(/^--no-(.+)/)[1],Q=!Object.prototype.hasOwnProperty.call(U,Q);else Q=Object.prototype.hasOwnProperty.call(U,Q);return Q}f.implications=function(Q){let X=[];if(Object.keys(h).forEach((O)=>{let W=O;(h[O]||[]).forEach((Z)=>{let A=W,v=Z;if(A=G(Q,A),Z=G(Q,Z),A&&!Z)X.push(` ${W} -> ${v}`)})}),X.length){let O=`${E("Implications failed:")}
77
- `;X.forEach((W)=>{O+=W}),u.fail(O)}};let J={};f.conflicts=function(Q,X){if(q("<string|object> [array|string]",[Q,X],arguments.length),typeof Q==="object")Object.keys(Q).forEach((O)=>{f.conflicts(O,Q[O])});else{if(D.global(Q),!J[Q])J[Q]=[];if(Array.isArray(X))X.forEach((O)=>f.conflicts(Q,O));else J[Q].push(X)}},f.getConflicting=()=>J,f.conflicting=function(Q){if(Object.keys(Q).forEach((X)=>{if(J[X])J[X].forEach((O)=>{if(O&&Q[X]!==void 0&&Q[O]!==void 0)u.fail(E("Arguments %s and %s are mutually exclusive",X,O))})}),D.getInternalMethods().getParserConfiguration()["strip-dashed"])Object.keys(J).forEach((X)=>{J[X].forEach((O)=>{if(O&&Q[F.Parser.camelCase(X)]!==void 0&&Q[F.Parser.camelCase(O)]!==void 0)u.fail(E("Arguments %s and %s are mutually exclusive",X,O))})})},f.recommendCommands=function(Q,X){X=X.sort((A,v)=>v.length-A.length);let W=null,Z=1/0;for(let A=0,v;(v=X[A])!==void 0;A++){let n=O0(Q,v);if(n<=3&&n<Z)Z=n,W=v}if(W)u.fail(E("Did you mean %s?",W))},f.reset=function(Q){return h=xD(h,(X)=>!Q[X]),J=xD(J,(X)=>!Q[X]),f};let Y=[];return f.freeze=function(){Y.push({implied:h,conflicting:J})},f.unfreeze=function(){let Q=Y.pop();XD(Q,void 0,F),{implied:h,conflicting:J}=Q},f}var yu=[],hu;function $u(D,u,F,E){hu=E;let C={};if(Object.prototype.hasOwnProperty.call(D,"extends")){if(typeof D.extends!=="string")return C;let f=/\.json|\..*rc$/.test(D.extends),h=null;if(!f)try{h=import.meta.resolve(D.extends)}catch(G){return D}else h=h8(u,D.extends);f8(h),yu.push(h),C=f?JSON.parse(hu.readFileSync(h,"utf8")):E.require(D.extends),delete D.extends,C=$u(C,hu.path.dirname(h),F,hu)}return yu=[],F?W0(C,D):Object.assign({},C,D)}function f8(D){if(yu.indexOf(D)>-1)throw new DD(`Circular extended configurations: '${D}'.`)}function h8(D,u){return hu.path.resolve(D,u)}function W0(D,u){let F={};function E(C){return C&&typeof C==="object"&&!Array.isArray(C)}Object.assign(F,D);for(let C of Object.keys(u))if(E(u[C])&&E(F[C]))F[C]=W0(D[C],u[C]);else F[C]=u[C];return F}var H=function(D,u,F,E,C){if(E==="m")throw TypeError("Private method is not writable");if(E==="a"&&!C)throw TypeError("Private accessor was defined without a setter");if(typeof u==="function"?D!==u||!C:!u.has(D))throw TypeError("Cannot write private member to an object whose class did not declare it");return E==="a"?C.call(D,F):C?C.value=F:u.set(D,F),F},B=function(D,u,F,E){if(F==="a"&&!E)throw TypeError("Private accessor was defined without a getter");if(typeof u==="function"?D!==u||!E:!u.has(D))throw TypeError("Cannot read private member from an object whose class did not declare it");return F==="m"?E:F==="a"?E.call(D):E?E.value:u.get(D)},uD,vD,zu,ZD,QD,Wu,wD,mD,Uu,WD,Nu,UD,HD,OD,ND,Ru,iD,$D,K,ju,qu,TD,dD,Fu,oD,bD,Hu,P,kD,gD,lD,b,Iu,ID,r;function c0(D){return(u=[],F=D.process.cwd(),E)=>{let C=new p0(u,F,E,D);return Object.defineProperty(C,"argv",{get:()=>{return C.parse()},enumerable:!0}),C.help(),C.version(),C}}var U0=Symbol("copyDoubleDash"),N0=Symbol("copyDoubleDash"),su=Symbol("deleteFromParserHintObject"),R0=Symbol("emitWarning"),j0=Symbol("freeze"),q0=Symbol("getDollarZero"),yD=Symbol("getParserConfiguration"),H0=Symbol("getUsageConfiguration"),ru=Symbol("guessLocale"),I0=Symbol("guessVersion"),V0=Symbol("parsePositionalNumbers"),au=Symbol("pkgUp"),tD=Symbol("populateParserHintArray"),Eu=Symbol("populateParserHintSingleValueDictionary"),eu=Symbol("populateParserHintArrayDictionary"),DF=Symbol("populateParserHintDictionary"),uF=Symbol("sanitizeKey"),FF=Symbol("setKey"),EF=Symbol("unfreeze"),_0=Symbol("validateAsync"),K0=Symbol("getCommandInstance"),L0=Symbol("getContext"),A0=Symbol("getHasOutput"),S0=Symbol("getLoggerInstance"),x0=Symbol("getParseContext"),P0=Symbol("getUsageInstance"),w0=Symbol("getValidationInstance"),Vu=Symbol("hasParseCallback"),b0=Symbol("isGlobalContext"),sD=Symbol("postProcess"),t0=Symbol("rebase"),CF=Symbol("reset"),Gu=Symbol("runYargsParserAndExecuteCommands"),BF=Symbol("runValidation"),n0=Symbol("setHasOutput"),rD=Symbol("kTrackManuallySetKeys"),$8="en_US";class p0{constructor(D=[],u,F,E){this.customScriptName=!1,this.parsed=!1,uD.set(this,void 0),vD.set(this,void 0),zu.set(this,{commands:[],fullCommands:[]}),ZD.set(this,null),QD.set(this,null),Wu.set(this,"show-hidden"),wD.set(this,null),mD.set(this,!0),Uu.set(this,{}),WD.set(this,!0),Nu.set(this,[]),UD.set(this,void 0),HD.set(this,{}),OD.set(this,!1),ND.set(this,null),Ru.set(this,!0),iD.set(this,void 0),$D.set(this,""),K.set(this,void 0),ju.set(this,void 0),qu.set(this,{}),TD.set(this,null),dD.set(this,null),Fu.set(this,{}),oD.set(this,{}),bD.set(this,void 0),Hu.set(this,!1),P.set(this,void 0),kD.set(this,!1),gD.set(this,!1),lD.set(this,!1),b.set(this,void 0),Iu.set(this,{}),ID.set(this,null),r.set(this,void 0),H(this,P,E,"f"),H(this,bD,D,"f"),H(this,vD,u,"f"),H(this,ju,F,"f"),H(this,UD,new gu(this),"f"),this.$0=this[q0](),this[CF](),H(this,uD,B(this,uD,"f"),"f"),H(this,b,B(this,b,"f"),"f"),H(this,r,B(this,r,"f"),"f"),H(this,K,B(this,K,"f"),"f"),B(this,K,"f").showHiddenOpt=B(this,Wu,"f"),H(this,iD,this[N0](),"f"),B(this,P,"f").y18n.setLocale($8)}addHelpOpt(D,u){if(q("[string|boolean] [string]",[D,u],arguments.length),B(this,ND,"f"))this[su](B(this,ND,"f")),H(this,ND,null,"f");if(D===!1&&u===void 0)return this;return H(this,ND,typeof D==="string"?D:"help","f"),this.boolean(B(this,ND,"f")),this.describe(B(this,ND,"f"),u||B(this,b,"f").deferY18nLookup("Show help")),this}help(D,u){return this.addHelpOpt(D,u)}addShowHiddenOpt(D,u){if(q("[string|boolean] [string]",[D,u],arguments.length),D===!1&&u===void 0)return this;let F=typeof D==="string"?D:B(this,Wu,"f");return this.boolean(F),this.describe(F,u||B(this,b,"f").deferY18nLookup("Show hidden options")),B(this,K,"f").showHiddenOpt=F,this}showHidden(D,u){return this.addShowHiddenOpt(D,u)}alias(D,u){return q("<object|string|array> [string|array]",[D,u],arguments.length),this[eu](this.alias.bind(this),"alias",D,u),this}array(D){return q("<array|string>",[D],arguments.length),this[tD]("array",D),this[rD](D),this}boolean(D){return q("<array|string>",[D],arguments.length),this[tD]("boolean",D),this[rD](D),this}check(D,u){return q("<function> [boolean]",[D,u],arguments.length),this.middleware((F,E)=>{return pD(()=>{return D(F,E.getOptions())},(C)=>{if(!C)B(this,b,"f").fail(B(this,P,"f").y18n.__("Argument check failed: %s",D.toString()));else if(typeof C==="string"||C instanceof Error)B(this,b,"f").fail(C.toString(),C);return F},(C)=>{return B(this,b,"f").fail(C.message?C.message:C.toString(),C),F})},!1,u),this}choices(D,u){return q("<object|string|array> [string|array]",[D,u],arguments.length),this[eu](this.choices.bind(this),"choices",D,u),this}coerce(D,u){if(q("<object|string|array> [function]",[D,u],arguments.length),Array.isArray(D)){if(!u)throw new DD("coerce callback must be provided");for(let E of D)this.coerce(E,u);return this}else if(typeof D==="object"){for(let E of Object.keys(D))this.coerce(E,D[E]);return this}if(!u)throw new DD("coerce callback must be provided");let F=D;return B(this,K,"f").key[F]=!0,B(this,UD,"f").addCoerceMiddleware((E,C)=>{var f;let h=(f=C.getAliases()[F])!==null&&f!==void 0?f:[],G=[F,...h].filter((J)=>Object.prototype.hasOwnProperty.call(E,J));if(G.length===0)return E;return pD(()=>{return u(E[G[0]])},(J)=>{return G.forEach((Y)=>{E[Y]=J}),E},(J)=>{throw new DD(J.message)})},F),this}conflicts(D,u){return q("<string|object> [string|array]",[D,u],arguments.length),B(this,r,"f").conflicts(D,u),this}config(D="config",u,F){if(q("[object|string] [string|function] [function]",[D,u,F],arguments.length),typeof D==="object"&&!Array.isArray(D))return D=$u(D,B(this,vD,"f"),this[yD]()["deep-merge-config"]||!1,B(this,P,"f")),B(this,K,"f").configObjects=(B(this,K,"f").configObjects||[]).concat(D),this;if(typeof u==="function")F=u,u=void 0;return this.describe(D,u||B(this,b,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(D)?D:[D]).forEach((E)=>{B(this,K,"f").config[E]=F||!0}),this}completion(D,u,F){if(q("[string] [string|boolean|function] [function]",[D,u,F],arguments.length),typeof u==="function")F=u,u=void 0;if(H(this,QD,D||B(this,QD,"f")||"completion","f"),!u&&u!==!1)u="generate completion script";if(this.command(B(this,QD,"f"),u),F)B(this,ZD,"f").registerFunction(F);return this}command(D,u,F,E,C,f){return q("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[D,u,F,E,C,f],arguments.length),B(this,uD,"f").addHandler(D,u,F,E,C,f),this}commands(D,u,F,E,C,f){return this.command(D,u,F,E,C,f)}commandDir(D,u){q("<string> [object]",[D,u],arguments.length);let F=B(this,ju,"f")||B(this,P,"f").require;return B(this,uD,"f").addDirectory(D,F,B(this,P,"f").getCallerFile(),u),this}count(D){return q("<array|string>",[D],arguments.length),this[tD]("count",D),this[rD](D),this}default(D,u,F){if(q("<object|string|array> [*] [string]",[D,u,F],arguments.length),F)ku(D,B(this,P,"f")),B(this,K,"f").defaultDescription[D]=F;if(typeof u==="function"){if(ku(D,B(this,P,"f")),!B(this,K,"f").defaultDescription[D])B(this,K,"f").defaultDescription[D]=B(this,b,"f").functionDescription(u);u=u.call()}return this[Eu](this.default.bind(this),"default",D,u),this}defaults(D,u,F){return this.default(D,u,F)}demandCommand(D=1,u,F,E){if(q("[number] [number|string] [string|null|undefined] [string|null|undefined]",[D,u,F,E],arguments.length),typeof u!=="number")F=u,u=1/0;return this.global("_",!1),B(this,K,"f").demandedCommands._={min:D,max:u,minMsg:F,maxMsg:E},this}demand(D,u,F){if(Array.isArray(u))u.forEach((E)=>{XD(F,!0,B(this,P,"f")),this.demandOption(E,F)}),u=1/0;else if(typeof u!=="number")F=u,u=1/0;if(typeof D==="number")XD(F,!0,B(this,P,"f")),this.demandCommand(D,u,F,F);else if(Array.isArray(D))D.forEach((E)=>{XD(F,!0,B(this,P,"f")),this.demandOption(E,F)});else if(typeof F==="string")this.demandOption(D,F);else if(F===!0||typeof F>"u")this.demandOption(D);return this}demandOption(D,u){return q("<object|string|array> [string]",[D,u],arguments.length),this[Eu](this.demandOption.bind(this),"demandedOptions",D,u),this}deprecateOption(D,u){return q("<string> [string|boolean]",[D,u],arguments.length),B(this,K,"f").deprecatedOptions[D]=u,this}describe(D,u){return q("<object|string|array> [string]",[D,u],arguments.length),this[FF](D,!0),B(this,b,"f").describe(D,u),this}detectLocale(D){return q("<boolean>",[D],arguments.length),H(this,mD,D,"f"),this}env(D){if(q("[string|boolean]",[D],arguments.length),D===!1)delete B(this,K,"f").envPrefix;else B(this,K,"f").envPrefix=D||"";return this}epilogue(D){return q("<string>",[D],arguments.length),B(this,b,"f").epilog(D),this}epilog(D){return this.epilogue(D)}example(D,u){if(q("<string|array> [string]",[D,u],arguments.length),Array.isArray(D))D.forEach((F)=>this.example(...F));else B(this,b,"f").example(D,u);return this}exit(D,u){if(H(this,OD,!0,"f"),H(this,wD,u,"f"),B(this,WD,"f"))B(this,P,"f").process.exit(D)}exitProcess(D=!0){return q("[boolean]",[D],arguments.length),H(this,WD,D,"f"),this}fail(D){if(q("<function|boolean>",[D],arguments.length),typeof D==="boolean"&&D!==!1)throw new DD("Invalid first argument. Expected function or boolean 'false'");return B(this,b,"f").failFn(D),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(D,u){if(q("<array> [function]",[D,u],arguments.length),!u)return new Promise((F,E)=>{B(this,ZD,"f").getCompletion(D,(C,f)=>{if(C)E(C);else F(f)})});else return B(this,ZD,"f").getCompletion(D,u)}getDemandedOptions(){return q([],0),B(this,K,"f").demandedOptions}getDemandedCommands(){return q([],0),B(this,K,"f").demandedCommands}getDeprecatedOptions(){return q([],0),B(this,K,"f").deprecatedOptions}getDetectLocale(){return B(this,mD,"f")}getExitProcess(){return B(this,WD,"f")}getGroups(){return Object.assign({},B(this,HD,"f"),B(this,oD,"f"))}getHelp(){if(H(this,OD,!0,"f"),!B(this,b,"f").hasCachedHelpMessage()){if(!this.parsed){let u=this[Gu](B(this,bD,"f"),void 0,void 0,0,!0);if(l(u))return u.then(()=>{return B(this,b,"f").help()})}let D=B(this,uD,"f").runDefaultBuilderOn(this);if(l(D))return D.then(()=>{return B(this,b,"f").help()})}return Promise.resolve(B(this,b,"f").help())}getOptions(){return B(this,K,"f")}getStrict(){return B(this,kD,"f")}getStrictCommands(){return B(this,gD,"f")}getStrictOptions(){return B(this,lD,"f")}global(D,u){if(q("<string|array> [boolean]",[D,u],arguments.length),D=[].concat(D),u!==!1)B(this,K,"f").local=B(this,K,"f").local.filter((F)=>D.indexOf(F)===-1);else D.forEach((F)=>{if(!B(this,K,"f").local.includes(F))B(this,K,"f").local.push(F)});return this}group(D,u){q("<string|array> <string>",[D,u],arguments.length);let F=B(this,oD,"f")[u]||B(this,HD,"f")[u];if(B(this,oD,"f")[u])delete B(this,oD,"f")[u];let E={};return B(this,HD,"f")[u]=(F||[]).concat(D).filter((C)=>{if(E[C])return!1;return E[C]=!0}),this}hide(D){return q("<string>",[D],arguments.length),B(this,K,"f").hiddenOptions.push(D),this}implies(D,u){return q("<string|object> [number|string|array]",[D,u],arguments.length),B(this,r,"f").implies(D,u),this}locale(D){if(q("[string]",[D],arguments.length),D===void 0)return this[ru](),B(this,P,"f").y18n.getLocale();return H(this,mD,!1,"f"),B(this,P,"f").y18n.setLocale(D),this}middleware(D,u,F){return B(this,UD,"f").addMiddleware(D,!!u,F)}nargs(D,u){return q("<string|object|array> [number]",[D,u],arguments.length),this[Eu](this.nargs.bind(this),"narg",D,u),this}normalize(D){return q("<array|string>",[D],arguments.length),this[tD]("normalize",D),this}number(D){return q("<array|string>",[D],arguments.length),this[tD]("number",D),this[rD](D),this}option(D,u){if(q("<string|object> [object]",[D,u],arguments.length),typeof D==="object")Object.keys(D).forEach((F)=>{this.options(F,D[F])});else{if(typeof u!=="object")u={};if(this[rD](D),B(this,ID,"f")&&(D==="version"||(u===null||u===void 0?void 0:u.alias)==="version"))this[R0](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join(`
78
- `),void 0,"versionWarning");if(B(this,K,"f").key[D]=!0,u.alias)this.alias(D,u.alias);let F=u.deprecate||u.deprecated;if(F)this.deprecateOption(D,F);let E=u.demand||u.required||u.require;if(E)this.demand(D,E);if(u.demandOption)this.demandOption(D,typeof u.demandOption==="string"?u.demandOption:void 0);if(u.conflicts)this.conflicts(D,u.conflicts);if("default"in u)this.default(D,u.default);if(u.implies!==void 0)this.implies(D,u.implies);if(u.nargs!==void 0)this.nargs(D,u.nargs);if(u.config)this.config(D,u.configParser);if(u.normalize)this.normalize(D);if(u.choices)this.choices(D,u.choices);if(u.coerce)this.coerce(D,u.coerce);if(u.group)this.group(D,u.group);if(u.boolean||u.type==="boolean"){if(this.boolean(D),u.alias)this.boolean(u.alias)}if(u.array||u.type==="array"){if(this.array(D),u.alias)this.array(u.alias)}if(u.number||u.type==="number"){if(this.number(D),u.alias)this.number(u.alias)}if(u.string||u.type==="string"){if(this.string(D),u.alias)this.string(u.alias)}if(u.count||u.type==="count")this.count(D);if(typeof u.global==="boolean")this.global(D,u.global);if(u.defaultDescription)B(this,K,"f").defaultDescription[D]=u.defaultDescription;if(u.skipValidation)this.skipValidation(D);let C=u.describe||u.description||u.desc,f=B(this,b,"f").getDescriptions();if(!Object.prototype.hasOwnProperty.call(f,D)||typeof C==="string")this.describe(D,C);if(u.hidden)this.hide(D);if(u.requiresArg)this.requiresArg(D)}return this}options(D,u){return this.option(D,u)}parse(D,u,F){if(q("[string|array] [function|boolean|object] [function]",[D,u,F],arguments.length),this[j0](),typeof D>"u")D=B(this,bD,"f");if(typeof u==="object")H(this,dD,u,"f"),u=F;if(typeof u==="function")H(this,TD,u,"f"),u=!1;if(!u)H(this,bD,D,"f");if(B(this,TD,"f"))H(this,WD,!1,"f");let E=this[Gu](D,!!u),C=this.parsed;if(B(this,ZD,"f").setParsed(this.parsed),l(E))return E.then((f)=>{if(B(this,TD,"f"))B(this,TD,"f").call(this,B(this,wD,"f"),f,B(this,$D,"f"));return f}).catch((f)=>{if(B(this,TD,"f"))B(this,TD,"f")(f,this.parsed.argv,B(this,$D,"f"));throw f}).finally(()=>{this[EF](),this.parsed=C});else{if(B(this,TD,"f"))B(this,TD,"f").call(this,B(this,wD,"f"),E,B(this,$D,"f"));this[EF](),this.parsed=C}return E}parseAsync(D,u,F){let E=this.parse(D,u,F);return!l(E)?Promise.resolve(E):E}parseSync(D,u,F){let E=this.parse(D,u,F);if(l(E))throw new DD(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return E}parserConfiguration(D){return q("<object>",[D],arguments.length),H(this,qu,D,"f"),this}pkgConf(D,u){q("<string> [string]",[D,u],arguments.length);let F=null,E=this[au](u||B(this,vD,"f"));if(E[D]&&typeof E[D]==="object")F=$u(E[D],u||B(this,vD,"f"),this[yD]()["deep-merge-config"]||!1,B(this,P,"f")),B(this,K,"f").configObjects=(B(this,K,"f").configObjects||[]).concat(F);return this}positional(D,u){q("<string> <object>",[D,u],arguments.length);let F=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];u=xD(u,(f,h)=>{if(f==="type"&&!["string","number","boolean"].includes(h))return!1;return F.includes(f)});let E=B(this,zu,"f").fullCommands[B(this,zu,"f").fullCommands.length-1],C=E?B(this,uD,"f").cmdToParseOptions(E):{array:[],alias:{},default:{},demand:{}};return Du(C).forEach((f)=>{let h=C[f];if(Array.isArray(h)){if(h.indexOf(D)!==-1)u[f]=!0}else if(h[D]&&!(f in u))u[f]=h[D]}),this.group(D,B(this,b,"f").getPositionalGroupName()),this.option(D,u)}recommendCommands(D=!0){return q("[boolean]",[D],arguments.length),H(this,Hu,D,"f"),this}required(D,u,F){return this.demand(D,u,F)}require(D,u,F){return this.demand(D,u,F)}requiresArg(D){if(q("<array|string|object> [number]",[D],arguments.length),typeof D==="string"&&B(this,K,"f").narg[D])return this;else this[Eu](this.requiresArg.bind(this),"narg",D,NaN);return this}showCompletionScript(D,u){return q("[string] [string]",[D,u],arguments.length),D=D||this.$0,B(this,iD,"f").log(B(this,ZD,"f").generateCompletionScript(D,u||B(this,QD,"f")||"completion")),this}showHelp(D){if(q("[string|function]",[D],arguments.length),H(this,OD,!0,"f"),!B(this,b,"f").hasCachedHelpMessage()){if(!this.parsed){let F=this[Gu](B(this,bD,"f"),void 0,void 0,0,!0);if(l(F))return F.then(()=>{B(this,b,"f").showHelp(D)}),this}let u=B(this,uD,"f").runDefaultBuilderOn(this);if(l(u))return u.then(()=>{B(this,b,"f").showHelp(D)}),this}return B(this,b,"f").showHelp(D),this}scriptName(D){return this.customScriptName=!0,this.$0=D,this}showHelpOnFail(D,u){return q("[boolean|string] [string]",[D,u],arguments.length),B(this,b,"f").showHelpOnFail(D,u),this}showVersion(D){return q("[string|function]",[D],arguments.length),B(this,b,"f").showVersion(D),this}skipValidation(D){return q("<array|string>",[D],arguments.length),this[tD]("skipValidation",D),this}strict(D){return q("[boolean]",[D],arguments.length),H(this,kD,D!==!1,"f"),this}strictCommands(D){return q("[boolean]",[D],arguments.length),H(this,gD,D!==!1,"f"),this}strictOptions(D){return q("[boolean]",[D],arguments.length),H(this,lD,D!==!1,"f"),this}string(D){return q("<array|string>",[D],arguments.length),this[tD]("string",D),this[rD](D),this}terminalWidth(){return q([],0),B(this,P,"f").process.stdColumns}updateLocale(D){return this.updateStrings(D)}updateStrings(D){return q("<object>",[D],arguments.length),H(this,mD,!1,"f"),B(this,P,"f").y18n.updateLocale(D),this}usage(D,u,F,E){if(q("<string|null|undefined> [string|boolean] [function|object] [function]",[D,u,F,E],arguments.length),u!==void 0)if(XD(D,null,B(this,P,"f")),(D||"").match(/^\$0( |$)/))return this.command(D,u,F,E);else throw new DD(".usage() description must start with $0 if being used as alias for .command()");else return B(this,b,"f").usage(D),this}usageConfiguration(D){return q("<object>",[D],arguments.length),H(this,Iu,D,"f"),this}version(D,u,F){if(q("[boolean|string] [string] [string]",[D,u,F],arguments.length),B(this,ID,"f"))this[su](B(this,ID,"f")),B(this,b,"f").version(void 0),H(this,ID,null,"f");if(arguments.length===0)F=this[I0](),D="version";else if(arguments.length===1){if(D===!1)return this;F=D,D="version"}else if(arguments.length===2)F=u,u=void 0;return H(this,ID,typeof D==="string"?D:"version","f"),u=u||B(this,b,"f").deferY18nLookup("Show version number"),B(this,b,"f").version(F||void 0),this.boolean(B(this,ID,"f")),this.describe(B(this,ID,"f"),u),this}wrap(D){return q("<number|null|undefined>",[D],arguments.length),B(this,b,"f").wrap(D),this}[(uD=new WeakMap,vD=new WeakMap,zu=new WeakMap,ZD=new WeakMap,QD=new WeakMap,Wu=new WeakMap,wD=new WeakMap,mD=new WeakMap,Uu=new WeakMap,WD=new WeakMap,Nu=new WeakMap,UD=new WeakMap,HD=new WeakMap,OD=new WeakMap,ND=new WeakMap,Ru=new WeakMap,iD=new WeakMap,$D=new WeakMap,K=new WeakMap,ju=new WeakMap,qu=new WeakMap,TD=new WeakMap,dD=new WeakMap,Fu=new WeakMap,oD=new WeakMap,bD=new WeakMap,Hu=new WeakMap,P=new WeakMap,kD=new WeakMap,gD=new WeakMap,lD=new WeakMap,b=new WeakMap,Iu=new WeakMap,ID=new WeakMap,r=new WeakMap,U0)](D){if(!D._||!D["--"])return D;D._.push.apply(D._,D["--"]);try{delete D["--"]}catch(u){}return D}[N0](){return{log:(...D)=>{if(!this[Vu]())console.log(...D);if(H(this,OD,!0,"f"),B(this,$D,"f").length)H(this,$D,B(this,$D,"f")+`
79
- `,"f");H(this,$D,B(this,$D,"f")+D.join(" "),"f")},error:(...D)=>{if(!this[Vu]())console.error(...D);if(H(this,OD,!0,"f"),B(this,$D,"f").length)H(this,$D,B(this,$D,"f")+`
80
- `,"f");H(this,$D,B(this,$D,"f")+D.join(" "),"f")}}}[su](D){Du(B(this,K,"f")).forEach((u)=>{if(((E)=>E==="configObjects")(u))return;let F=B(this,K,"f")[u];if(Array.isArray(F)){if(F.includes(D))F.splice(F.indexOf(D),1)}else if(typeof F==="object")delete F[D]}),delete B(this,b,"f").getDescriptions()[D]}[R0](D,u,F){if(!B(this,Uu,"f")[F])B(this,P,"f").process.emitWarning(D,u),B(this,Uu,"f")[F]=!0}[j0](){B(this,Nu,"f").push({options:B(this,K,"f"),configObjects:B(this,K,"f").configObjects.slice(0),exitProcess:B(this,WD,"f"),groups:B(this,HD,"f"),strict:B(this,kD,"f"),strictCommands:B(this,gD,"f"),strictOptions:B(this,lD,"f"),completionCommand:B(this,QD,"f"),output:B(this,$D,"f"),exitError:B(this,wD,"f"),hasOutput:B(this,OD,"f"),parsed:this.parsed,parseFn:B(this,TD,"f"),parseContext:B(this,dD,"f")}),B(this,b,"f").freeze(),B(this,r,"f").freeze(),B(this,uD,"f").freeze(),B(this,UD,"f").freeze()}[q0](){let D="",u;if(/\b(node|iojs|electron)(\.exe)?$/.test(B(this,P,"f").process.argv()[0]))u=B(this,P,"f").process.argv().slice(1,2);else u=B(this,P,"f").process.argv().slice(0,1);if(D=u.map((F)=>{let E=this[t0](B(this,vD,"f"),F);return F.match(/^(\/|([a-zA-Z]:)?\\)/)&&E.length<F.length?E:F}).join(" ").trim(),B(this,P,"f").getEnv("_")&&B(this,P,"f").getProcessArgvBin()===B(this,P,"f").getEnv("_"))D=B(this,P,"f").getEnv("_").replace(`${B(this,P,"f").path.dirname(B(this,P,"f").process.execPath())}/`,"");return D}[yD](){return B(this,qu,"f")}[H0](){return B(this,Iu,"f")}[ru](){if(!B(this,mD,"f"))return;let D=B(this,P,"f").getEnv("LC_ALL")||B(this,P,"f").getEnv("LC_MESSAGES")||B(this,P,"f").getEnv("LANG")||B(this,P,"f").getEnv("LANGUAGE")||"en_US";this.locale(D.replace(/[.:].*/,""))}[I0](){return this[au]().version||"unknown"}[V0](D){let u=D["--"]?D["--"]:D._;for(let F=0,E;(E=u[F])!==void 0;F++)if(B(this,P,"f").Parser.looksLikeNumber(E)&&Number.isSafeInteger(Math.floor(parseFloat(`${E}`))))u[F]=Number(E);return D}[au](D){let u=D||"*";if(B(this,Fu,"f")[u])return B(this,Fu,"f")[u];let F={};try{let E=D||B(this,P,"f").mainFilename;if(B(this,P,"f").path.extname(E))E=B(this,P,"f").path.dirname(E);let C=B(this,P,"f").findUp(E,(f,h)=>{if(h.includes("package.json"))return"package.json";else return});XD(C,void 0,B(this,P,"f")),F=JSON.parse(B(this,P,"f").readFileSync(C,"utf8"))}catch(E){}return B(this,Fu,"f")[u]=F||{},B(this,Fu,"f")[u]}[tD](D,u){u=[].concat(u),u.forEach((F)=>{F=this[uF](F),B(this,K,"f")[D].push(F)})}[Eu](D,u,F,E){this[DF](D,u,F,E,(C,f,h)=>{B(this,K,"f")[C][f]=h})}[eu](D,u,F,E){this[DF](D,u,F,E,(C,f,h)=>{B(this,K,"f")[C][f]=(B(this,K,"f")[C][f]||[]).concat(h)})}[DF](D,u,F,E,C){if(Array.isArray(F))F.forEach((f)=>{D(f,E)});else if(((f)=>typeof f==="object")(F))for(let f of Du(F))D(f,F[f]);else C(u,this[uF](F),E)}[uF](D){if(D==="__proto__")return"___proto___";return D}[FF](D,u){return this[Eu](this[FF].bind(this),"key",D,u),this}[EF](){var D,u,F,E,C,f,h,G,J,Y,U,Q;let X=B(this,Nu,"f").pop();XD(X,void 0,B(this,P,"f"));let O;D=this,u=this,F=this,E=this,C=this,f=this,h=this,G=this,J=this,Y=this,U=this,Q=this,{options:{set value(W){H(D,K,W,"f")}}.value,configObjects:O,exitProcess:{set value(W){H(u,WD,W,"f")}}.value,groups:{set value(W){H(F,HD,W,"f")}}.value,output:{set value(W){H(E,$D,W,"f")}}.value,exitError:{set value(W){H(C,wD,W,"f")}}.value,hasOutput:{set value(W){H(f,OD,W,"f")}}.value,parsed:this.parsed,strict:{set value(W){H(h,kD,W,"f")}}.value,strictCommands:{set value(W){H(G,gD,W,"f")}}.value,strictOptions:{set value(W){H(J,lD,W,"f")}}.value,completionCommand:{set value(W){H(Y,QD,W,"f")}}.value,parseFn:{set value(W){H(U,TD,W,"f")}}.value,parseContext:{set value(W){H(Q,dD,W,"f")}}.value}=X,B(this,K,"f").configObjects=O,B(this,b,"f").unfreeze(),B(this,r,"f").unfreeze(),B(this,uD,"f").unfreeze(),B(this,UD,"f").unfreeze()}[_0](D,u){return pD(u,(F)=>{return D(F),F})}getInternalMethods(){return{getCommandInstance:this[K0].bind(this),getContext:this[L0].bind(this),getHasOutput:this[A0].bind(this),getLoggerInstance:this[S0].bind(this),getParseContext:this[x0].bind(this),getParserConfiguration:this[yD].bind(this),getUsageConfiguration:this[H0].bind(this),getUsageInstance:this[P0].bind(this),getValidationInstance:this[w0].bind(this),hasParseCallback:this[Vu].bind(this),isGlobalContext:this[b0].bind(this),postProcess:this[sD].bind(this),reset:this[CF].bind(this),runValidation:this[BF].bind(this),runYargsParserAndExecuteCommands:this[Gu].bind(this),setHasOutput:this[n0].bind(this)}}[K0](){return B(this,uD,"f")}[L0](){return B(this,zu,"f")}[A0](){return B(this,OD,"f")}[S0](){return B(this,iD,"f")}[x0](){return B(this,dD,"f")||{}}[P0](){return B(this,b,"f")}[w0](){return B(this,r,"f")}[Vu](){return!!B(this,TD,"f")}[b0](){return B(this,Ru,"f")}[sD](D,u,F,E){if(F)return D;if(l(D))return D;if(!u)D=this[U0](D);if(this[yD]()["parse-positional-numbers"]||this[yD]()["parse-positional-numbers"]===void 0)D=this[V0](D);if(E)D=cD(D,this,B(this,UD,"f").getMiddleware(),!1);return D}[CF](D={}){H(this,K,B(this,K,"f")||{},"f");let u={};u.local=B(this,K,"f").local||[],u.configObjects=B(this,K,"f").configObjects||[];let F={};u.local.forEach((f)=>{F[f]=!0,(D[f]||[]).forEach((h)=>{F[h]=!0})}),Object.assign(B(this,oD,"f"),Object.keys(B(this,HD,"f")).reduce((f,h)=>{let G=B(this,HD,"f")[h].filter((J)=>!(J in F));if(G.length>0)f[h]=G;return f},{})),H(this,HD,{},"f");let E=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],C=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];if(E.forEach((f)=>{u[f]=(B(this,K,"f")[f]||[]).filter((h)=>!F[h])}),C.forEach((f)=>{u[f]=xD(B(this,K,"f")[f],(h)=>!F[h])}),u.envPrefix=B(this,K,"f").envPrefix,H(this,K,u,"f"),H(this,b,B(this,b,"f")?B(this,b,"f").reset(F):M0(this,B(this,P,"f")),"f"),H(this,r,B(this,r,"f")?B(this,r,"f").reset(F):Y0(this,B(this,b,"f"),B(this,P,"f")),"f"),H(this,uD,B(this,uD,"f")?B(this,uD,"f").reset():$0(B(this,b,"f"),B(this,r,"f"),B(this,UD,"f"),B(this,P,"f")),"f"),!B(this,ZD,"f"))H(this,ZD,Q0(this,B(this,b,"f"),B(this,uD,"f"),B(this,P,"f")),"f");return B(this,UD,"f").reset(),H(this,QD,null,"f"),H(this,$D,"","f"),H(this,wD,null,"f"),H(this,OD,!1,"f"),this.parsed=!1,this}[t0](D,u){return B(this,P,"f").path.relative(D,u)}[Gu](D,u,F,E=0,C=!1){var f,h,G,J;let Y=!!F||C;D=D||B(this,bD,"f"),B(this,K,"f").__=B(this,P,"f").y18n.__,B(this,K,"f").configuration=this[yD]();let U=!!B(this,K,"f").configuration["populate--"],Q=Object.assign({},B(this,K,"f").configuration,{"populate--":!0}),X=B(this,P,"f").Parser.detailed(D,Object.assign({},B(this,K,"f"),{configuration:{"parse-positional-numbers":!1,...Q}})),O=Object.assign(X.argv,B(this,dD,"f")),W=void 0,Z=X.aliases,A=!1,v=!1;if(Object.keys(O).forEach((n)=>{if(n===B(this,ND,"f")&&O[n])A=!0;else if(n===B(this,ID,"f")&&O[n])v=!0}),O.$0=this.$0,this.parsed=X,E===0)B(this,b,"f").clearCachedHelpMessage();try{if(this[ru](),u)return this[sD](O,U,!!F,!1);if(B(this,ND,"f")){if([B(this,ND,"f")].concat(Z[B(this,ND,"f")]||[]).filter((ED)=>ED.length>1).includes(""+O._[O._.length-1]))O._.pop(),A=!0}H(this,Ru,!1,"f");let n=B(this,uD,"f").getCommands(),GD=((f=B(this,ZD,"f"))===null||f===void 0?void 0:f.completionKey)?[(h=B(this,ZD,"f"))===null||h===void 0?void 0:h.completionKey,...(J=this.getAliases()[(G=B(this,ZD,"f"))===null||G===void 0?void 0:G.completionKey])!==null&&J!==void 0?J:[]].some((g)=>Object.prototype.hasOwnProperty.call(O,g)):!1,t=A||GD||C;if(O._.length){if(n.length){let g;for(let ED=E||0,a;O._[ED]!==void 0;ED++)if(a=String(O._[ED]),n.includes(a)&&a!==B(this,QD,"f")){let qD=B(this,uD,"f").runCommand(a,this,X,ED+1,C,A||v||C);return this[sD](qD,U,!!F,!1)}else if(!g&&a!==B(this,QD,"f")){g=a;break}if(!B(this,uD,"f").hasDefaultCommand()&&B(this,Hu,"f")&&g&&!t)B(this,r,"f").recommendCommands(g,n)}if(B(this,QD,"f")&&O._.includes(B(this,QD,"f"))&&!GD){if(B(this,WD,"f"))PD(!0);this.showCompletionScript(),this.exit(0)}}if(B(this,uD,"f").hasDefaultCommand()&&!t){let g=B(this,uD,"f").runCommand(null,this,X,0,C,A||v||C);return this[sD](g,U,!!F,!1)}if(GD){if(B(this,WD,"f"))PD(!0);D=[].concat(D);let g=D.slice(D.indexOf(`--${B(this,ZD,"f").completionKey}`)+1);return B(this,ZD,"f").getCompletion(g,(ED,a)=>{if(ED)throw new DD(ED.message);(a||[]).forEach((qD)=>{B(this,iD,"f").log(qD)}),this.exit(0)}),this[sD](O,!U,!!F,!1)}if(!B(this,OD,"f")){if(A){if(B(this,WD,"f"))PD(!0);Y=!0,this.showHelp((g)=>{B(this,iD,"f").log(g),this.exit(0)})}else if(v){if(B(this,WD,"f"))PD(!0);Y=!0,B(this,b,"f").showVersion("log"),this.exit(0)}}if(!Y&&B(this,K,"f").skipValidation.length>0)Y=Object.keys(O).some((g)=>B(this,K,"f").skipValidation.indexOf(g)>=0&&O[g]===!0);if(!Y){if(X.error)throw new DD(X.error.message);if(!GD){let g=this[BF](Z,{},X.error);if(!F)W=cD(O,this,B(this,UD,"f").getMiddleware(),!0);if(W=this[_0](g,W!==null&&W!==void 0?W:O),l(W)&&!F)W=W.then(()=>{return cD(O,this,B(this,UD,"f").getMiddleware(),!1)})}}}catch(n){if(n instanceof DD)B(this,b,"f").fail(n.message,n);else throw n}return this[sD](W!==null&&W!==void 0?W:O,U,!!F,!0)}[BF](D,u,F,E){let C={...this.getDemandedOptions()};return(f)=>{if(F)throw new DD(F.message);B(this,r,"f").nonOptionCount(f),B(this,r,"f").requiredArguments(f,C);let h=!1;if(B(this,gD,"f"))h=B(this,r,"f").unknownCommands(f);if(B(this,kD,"f")&&!h)B(this,r,"f").unknownArguments(f,D,u,!!E);else if(B(this,lD,"f"))B(this,r,"f").unknownArguments(f,D,{},!1,!1);B(this,r,"f").limitedChoices(f),B(this,r,"f").implications(f),B(this,r,"f").conflicting(f)}}[n0](){H(this,OD,!0,"f")}[rD](D){if(typeof D==="string")B(this,K,"f").key[D]=!0;else for(let u of D)B(this,K,"f").key[u]=!0}}function z0(D){return!!D&&typeof D.getInternalMethods==="function"}var z8=c0(ou),v0=z8;import{EOL as LD}from"os";import G8 from"path";var m0=o0("main");k0("main");var VD=iu(process.argv);if(VD.length===1&&(VD[0]==="--version"||VD[0]==="-v"))process.stdout.write(zF+LD),process.exit();var _u={acp:()=>import("./chunk-cesrhm09.js").then((D)=>D.AcpCommand),mcp:()=>import("./chunk-3vbtra1j.js").then((D)=>D.McpCommand),attach:()=>import("./chunk-dnq65xvn.js").then((D)=>D.AttachCommand),run:()=>import("./chunk-fdezde1z.js").then((D)=>D.RunCommand),generate:()=>import("./chunk-jjwjb9w0.js").then((D)=>D.GenerateCommand),debug:()=>import("./chunk-vvypb02q.js").then((D)=>D.DebugCommand),console:()=>import("./chunk-dcx8hjbs.js").then((D)=>D.ConsoleCommand),providers:()=>import("./chunk-3avc1ppg.js").then((D)=>D.ProvidersCommand),agent:()=>import("./chunk-jpygkh1c.js").then((D)=>D.AgentCommand),upgrade:()=>import("./chunk-9mjbenja.js").then((D)=>D.UpgradeCommand),uninstall:()=>import("./chunk-dgzyn27r.js").then((D)=>D.UninstallCommand),serve:()=>import("./chunk-pv8jcpnf.js").then((D)=>D.ServeCommand),models:()=>import("./chunk-gbcsfg6v.js").then((D)=>D.ModelsCommand),stats:()=>import("./chunk-5y8efy5b.js").then((D)=>D.StatsCommand),usage:()=>import("./chunk-b8ag61vj.js").then((D)=>D.UsageCommand),export:()=>import("./chunk-hjbks7r9.js").then((D)=>D.ExportCommand),import:()=>import("./chunk-8651hq0k.js").then((D)=>D.ImportCommand),github:()=>import("./chunk-0w0jfzb4.js").then((D)=>D.GithubCommand),pr:()=>import("./chunk-te1zfpzv.js").then((D)=>D.PrCommand),session:()=>import("./chunk-x6z2b63w.js").then((D)=>D.SessionCommand),plugin:()=>import("./chunk-q6fbyvpq.js").then((D)=>D.PluginCommand),plug:()=>import("./chunk-q6fbyvpq.js").then((D)=>D.PluginCommand),auth:()=>import("./chunk-3v4vtah1.js").then((D)=>D.AuthCommand),qredits:()=>import("./chunk-1fk4vsmc.js").then((D)=>D.QreditsCommand),batch:()=>import("./chunk-e346x00p.js").then((D)=>D.BatchCommand),db:()=>import("./chunk-b6m4yyww.js").then((D)=>D.DbCommand),default:()=>import("./chunk-6av7hrrk.js").then((D)=>D.TuiThreadCommand)};function y(D,u,F){return{command:D,describe:u,aliases:F,handler:async()=>{}}}function fF(){return[y("acp","start ACP (Agent Client Protocol) server"),y("mcp","manage MCP (Model Context Protocol) servers"),{command:"$0 [project]",describe:"start qitqode tui",builder:(D)=>D.positional("project",{type:"string",describe:"path to start qitqode in"}).options(l0).options(y0).option("never-ask",{type:"boolean",describe:"start in never-ask mode, auto-decide without asking (permissions excluded)",default:!1}).option("trust",{type:"boolean",describe:"skip workspace trust prompt and trust the directory",default:!1}),handler:async()=>{}},y("attach <url>","attach to a running qitqode server"),y("run [message..]","run qitqode with a message"),y("generate","generate files"),y("debug","debugging and troubleshooting tools"),y("console","manage qitqode accounts"),y("providers","manage AI providers and credentials",["auth"]),y("agent","manage agents"),y("upgrade [target]","upgrade qitqode to the latest or a specific version"),y("uninstall","uninstall qitqode and remove all related files"),y("serve","starts a headless qitqode server"),y("models [provider]","list all available models"),y("stats","show token usage and cost statistics"),y("usage [sessionID]","show per-turn token usage and cost"),y("export [sessionID]","export session data as JSON"),y("import <file>","import session data from JSON file or URL"),y("github","manage GitHub agent"),y("pr <number>","fetch and checkout a GitHub PR branch, then run qitqode"),y("session","manage sessions"),y("plugin <module>","install plugin and update config",["plug"]),y("auth <command>","Sign in or out of Forgewise"),y("qredits <command>","Check Qredits balance and spend history"),y("batch <command>","Submit and poll async batch LLM jobs"),y("db","database tools")]}function $F(D){let u=new Set(["--log-level","--model","-m","--session","-s","--prompt","--agent","--port","--hostname","--mdns-domain","--cors"]);for(let F=0;F<D.length;F++){let E=D[F];if(E==="--")return;if(E.startsWith("-")){if(u.has(E))F++;continue}return E}}function M8(D){return D.length>0&&D.every((u)=>u==="--help"||u==="-h")}function X8(D){return D.includes("--help")||D.includes("-h")}async function Z8(D){let u=$F(D);if(D.includes("--get-yargs-completions")||u==="completion")return fF();if(M8(D))return fF();else if(u&&u in _u)return[await _u[u]()];else if(X8(D))return fF();else return[await _u.default()]}function r0(D){let u=D.trimStart();if(!u.startsWith("qitqode ")){process.stderr.write(Ku.logo()+LD+LD),process.stderr.write(u);return}process.stderr.write(D)}var Mu=g0(v0(VD)).middleware(async(D)=>{if(D.pure)process.env.QITQODE_PURE="1";let u=await import("./chunk-rxjprhgh.js"),{Filesystem:F}=await import("./chunk-7wxrypkr.js"),{Heap:E}=await import("./chunk-ns8b7rx1.js"),{Global:C}=await import("./chunk-3afqxvsn.js");await u.init({print:process.argv.includes("--print-logs"),dev:hF,level:(()=>{if(D.logLevel)return D.logLevel;if(hF)return"DEBUG";return"INFO"})()}),E.start(),(await import("./chunk-5hkcjgwh.js")).startRefresh(),process.env.AGENT="1",process.env.QITQODE="1",process.env.QITQODE_PID=String(process.pid),u.Default.info("qitqode",{version:zF,command:$F(VD)??"tui",process_role:m0.processRole,run_id:m0.runID});let h=G8.join(C.Path.data,"qitqode.db");if(!await F.exists(h)){let{JsonMigration:G,Database:J}=await import("./chunk-9vn1gy8h.js"),{drizzle:Y}=await import("./chunk-mxcger73.js"),U=process.stderr.isTTY;process.stderr.write("Performing one time database migration, may take a few minutes..."+LD);let Q=-1;if(U)process.stderr.write("\x1B[?25l");try{await G.run(Y({client:J.Client().$client}),{progress:(X)=>{let O=Math.floor(X.current/X.total*100);if(O===Q&&X.current!==X.total)return;if(Q=O,U){if(process.stderr.write(s0(O,`${X.label.padEnd(12)} ${X.current}/${X.total}`)),X.current===X.total)process.stderr.write(`
81
- `)}else process.stderr.write(`sqlite-migration:${O}${LD}`)}})}finally{if(U)process.stderr.write("\x1B[?25h");else process.stderr.write(`sqlite-migration:done${LD}`)}process.stderr.write("Database migration complete."+LD)}if(!process.env.QITQODE_DISABLE_CLAUDE_IMPORT&&!process.env.QITQODE_CLAUDE_IMPORTED){process.env.QITQODE_CLAUDE_IMPORTED="1";let G=async()=>{try{let{ClaudeImport:U}=await import("./chunk-ek2y5f6g.js");await U.run()}catch(U){u.Default.warn("claude-import failed",{e:GF(U)})}},J=$F(VD);if(!J||!(J in _u))G();else await G()}}).usage("").completion("completion","generate shell completion script");for(let D of await Z8(VD))Mu.command(D);Mu.fail((D,u)=>{if(D?.startsWith("Unknown argument")||D?.startsWith("Not enough non-option arguments")||D?.startsWith("Invalid values:")){if(u)throw u;Mu.showHelp(r0)}if(u)throw u;process.exit(1)}).strict();try{if(VD.includes("-h")||VD.includes("--help"))await Mu.parse(VD,(D,u,F)=>{if(D)throw D;if(!F)return;r0(F)});else await Mu.parse()}catch(D){let u={};if(D instanceof i0){let C=D.toObject();Object.assign(u,{...C.data})}if(D instanceof Error)Object.assign(u,{name:D.name,message:D.message,cause:D.cause?.toString(),stack:D.stack});if(D instanceof ResolveMessage)Object.assign(u,{name:D.name,message:D.message,code:D.code,specifier:D.specifier,referrer:D.referrer,position:D.position,importKind:D.importKind});let F=await import("./chunk-rxjprhgh.js");F.Default.error("fatal",u);let E=d0(D);if(E)Ku.error(E);if(E===void 0)Ku.error("Unexpected error, check log file at "+F.file()+" for more details"+LD),process.stderr.write(GF(D)+LD);process.exitCode=1}finally{process.exit()}
76
+ ${E("Argument: %s, Given: %s, Choices: %s",A,u.stringifiedValues(O[A]),u.stringifiedValues(X.choices[A]))}`}),u.fail(Z)};let $={};f.implies=function(Q,X){if(q("<string|object> [array|number|string]",[Q,X],arguments.length),typeof Q==="object")Object.keys(Q).forEach((O)=>{f.implies(O,Q[O])});else{if(D.global(Q),!$[Q])$[Q]=[];if(Array.isArray(X))X.forEach((O)=>f.implies(Q,O));else XD(X,void 0,F),$[Q].push(X)}},f.getImplied=function(){return $};function G(U,Q){let X=Number(Q);if(Q=isNaN(X)?Q:X,typeof Q==="number")Q=U._.length>=Q;else if(Q.match(/^--no-.+/))Q=Q.match(/^--no-(.+)/)[1],Q=!Object.prototype.hasOwnProperty.call(U,Q);else Q=Object.prototype.hasOwnProperty.call(U,Q);return Q}f.implications=function(Q){let X=[];if(Object.keys($).forEach((O)=>{let W=O;($[O]||[]).forEach((Z)=>{let A=W,v=Z;if(A=G(Q,A),Z=G(Q,Z),A&&!Z)X.push(` ${W} -> ${v}`)})}),X.length){let O=`${E("Implications failed:")}
77
+ `;X.forEach((W)=>{O+=W}),u.fail(O)}};let J={};f.conflicts=function(Q,X){if(q("<string|object> [array|string]",[Q,X],arguments.length),typeof Q==="object")Object.keys(Q).forEach((O)=>{f.conflicts(O,Q[O])});else{if(D.global(Q),!J[Q])J[Q]=[];if(Array.isArray(X))X.forEach((O)=>f.conflicts(Q,O));else J[Q].push(X)}},f.getConflicting=()=>J,f.conflicting=function(Q){if(Object.keys(Q).forEach((X)=>{if(J[X])J[X].forEach((O)=>{if(O&&Q[X]!==void 0&&Q[O]!==void 0)u.fail(E("Arguments %s and %s are mutually exclusive",X,O))})}),D.getInternalMethods().getParserConfiguration()["strip-dashed"])Object.keys(J).forEach((X)=>{J[X].forEach((O)=>{if(O&&Q[F.Parser.camelCase(X)]!==void 0&&Q[F.Parser.camelCase(O)]!==void 0)u.fail(E("Arguments %s and %s are mutually exclusive",X,O))})})},f.recommendCommands=function(Q,X){X=X.sort((A,v)=>v.length-A.length);let W=null,Z=1/0;for(let A=0,v;(v=X[A])!==void 0;A++){let n=O0(Q,v);if(n<=3&&n<Z)Z=n,W=v}if(W)u.fail(E("Did you mean %s?",W))},f.reset=function(Q){return $=xD($,(X)=>!Q[X]),J=xD(J,(X)=>!Q[X]),f};let Y=[];return f.freeze=function(){Y.push({implied:$,conflicting:J})},f.unfreeze=function(){let Q=Y.pop();XD(Q,void 0,F),{implied:$,conflicting:J}=Q},f}var su=[],$u;function hu(D,u,F,E){$u=E;let C={};if(Object.prototype.hasOwnProperty.call(D,"extends")){if(typeof D.extends!=="string")return C;let f=/\.json|\..*rc$/.test(D.extends),$=null;if(!f)try{$=import.meta.resolve(D.extends)}catch(G){return D}else $=M8(u,D.extends);G8($),su.push($),C=f?JSON.parse($u.readFileSync($,"utf8")):E.require(D.extends),delete D.extends,C=hu(C,$u.path.dirname($),F,$u)}return su=[],F?W0(C,D):Object.assign({},C,D)}function G8(D){if(su.indexOf(D)>-1)throw new DD(`Circular extended configurations: '${D}'.`)}function M8(D,u){return $u.path.resolve(D,u)}function W0(D,u){let F={};function E(C){return C&&typeof C==="object"&&!Array.isArray(C)}Object.assign(F,D);for(let C of Object.keys(u))if(E(u[C])&&E(F[C]))F[C]=W0(D[C],u[C]);else F[C]=u[C];return F}var H=function(D,u,F,E,C){if(E==="m")throw TypeError("Private method is not writable");if(E==="a"&&!C)throw TypeError("Private accessor was defined without a setter");if(typeof u==="function"?D!==u||!C:!u.has(D))throw TypeError("Cannot write private member to an object whose class did not declare it");return E==="a"?C.call(D,F):C?C.value=F:u.set(D,F),F},B=function(D,u,F,E){if(F==="a"&&!E)throw TypeError("Private accessor was defined without a getter");if(typeof u==="function"?D!==u||!E:!u.has(D))throw TypeError("Cannot read private member from an object whose class did not declare it");return F==="m"?E:F==="a"?E.call(D):E?E.value:u.get(D)},uD,vD,zu,ZD,QD,Wu,wD,mD,Uu,WD,Nu,UD,VD,OD,ND,Ru,iD,hD,K,ju,qu,TD,dD,Fu,oD,bD,Hu,P,kD,gD,lD,b,Iu,_D,r;function c0(D){return(u=[],F=D.process.cwd(),E)=>{let C=new p0(u,F,E,D);return Object.defineProperty(C,"argv",{get:()=>{return C.parse()},enumerable:!0}),C.help(),C.version(),C}}var U0=Symbol("copyDoubleDash"),N0=Symbol("copyDoubleDash"),ru=Symbol("deleteFromParserHintObject"),R0=Symbol("emitWarning"),j0=Symbol("freeze"),q0=Symbol("getDollarZero"),yD=Symbol("getParserConfiguration"),H0=Symbol("getUsageConfiguration"),au=Symbol("guessLocale"),I0=Symbol("guessVersion"),V0=Symbol("parsePositionalNumbers"),eu=Symbol("pkgUp"),tD=Symbol("populateParserHintArray"),Eu=Symbol("populateParserHintSingleValueDictionary"),DF=Symbol("populateParserHintArrayDictionary"),uF=Symbol("populateParserHintDictionary"),FF=Symbol("sanitizeKey"),EF=Symbol("setKey"),CF=Symbol("unfreeze"),_0=Symbol("validateAsync"),K0=Symbol("getCommandInstance"),L0=Symbol("getContext"),A0=Symbol("getHasOutput"),S0=Symbol("getLoggerInstance"),x0=Symbol("getParseContext"),P0=Symbol("getUsageInstance"),w0=Symbol("getValidationInstance"),Vu=Symbol("hasParseCallback"),b0=Symbol("isGlobalContext"),sD=Symbol("postProcess"),t0=Symbol("rebase"),BF=Symbol("reset"),Gu=Symbol("runYargsParserAndExecuteCommands"),fF=Symbol("runValidation"),n0=Symbol("setHasOutput"),rD=Symbol("kTrackManuallySetKeys"),X8="en_US";class p0{constructor(D=[],u,F,E){this.customScriptName=!1,this.parsed=!1,uD.set(this,void 0),vD.set(this,void 0),zu.set(this,{commands:[],fullCommands:[]}),ZD.set(this,null),QD.set(this,null),Wu.set(this,"show-hidden"),wD.set(this,null),mD.set(this,!0),Uu.set(this,{}),WD.set(this,!0),Nu.set(this,[]),UD.set(this,void 0),VD.set(this,{}),OD.set(this,!1),ND.set(this,null),Ru.set(this,!0),iD.set(this,void 0),hD.set(this,""),K.set(this,void 0),ju.set(this,void 0),qu.set(this,{}),TD.set(this,null),dD.set(this,null),Fu.set(this,{}),oD.set(this,{}),bD.set(this,void 0),Hu.set(this,!1),P.set(this,void 0),kD.set(this,!1),gD.set(this,!1),lD.set(this,!1),b.set(this,void 0),Iu.set(this,{}),_D.set(this,null),r.set(this,void 0),H(this,P,E,"f"),H(this,bD,D,"f"),H(this,vD,u,"f"),H(this,ju,F,"f"),H(this,UD,new lu(this),"f"),this.$0=this[q0](),this[BF](),H(this,uD,B(this,uD,"f"),"f"),H(this,b,B(this,b,"f"),"f"),H(this,r,B(this,r,"f"),"f"),H(this,K,B(this,K,"f"),"f"),B(this,K,"f").showHiddenOpt=B(this,Wu,"f"),H(this,iD,this[N0](),"f"),B(this,P,"f").y18n.setLocale(X8)}addHelpOpt(D,u){if(q("[string|boolean] [string]",[D,u],arguments.length),B(this,ND,"f"))this[ru](B(this,ND,"f")),H(this,ND,null,"f");if(D===!1&&u===void 0)return this;return H(this,ND,typeof D==="string"?D:"help","f"),this.boolean(B(this,ND,"f")),this.describe(B(this,ND,"f"),u||B(this,b,"f").deferY18nLookup("Show help")),this}help(D,u){return this.addHelpOpt(D,u)}addShowHiddenOpt(D,u){if(q("[string|boolean] [string]",[D,u],arguments.length),D===!1&&u===void 0)return this;let F=typeof D==="string"?D:B(this,Wu,"f");return this.boolean(F),this.describe(F,u||B(this,b,"f").deferY18nLookup("Show hidden options")),B(this,K,"f").showHiddenOpt=F,this}showHidden(D,u){return this.addShowHiddenOpt(D,u)}alias(D,u){return q("<object|string|array> [string|array]",[D,u],arguments.length),this[DF](this.alias.bind(this),"alias",D,u),this}array(D){return q("<array|string>",[D],arguments.length),this[tD]("array",D),this[rD](D),this}boolean(D){return q("<array|string>",[D],arguments.length),this[tD]("boolean",D),this[rD](D),this}check(D,u){return q("<function> [boolean]",[D,u],arguments.length),this.middleware((F,E)=>{return pD(()=>{return D(F,E.getOptions())},(C)=>{if(!C)B(this,b,"f").fail(B(this,P,"f").y18n.__("Argument check failed: %s",D.toString()));else if(typeof C==="string"||C instanceof Error)B(this,b,"f").fail(C.toString(),C);return F},(C)=>{return B(this,b,"f").fail(C.message?C.message:C.toString(),C),F})},!1,u),this}choices(D,u){return q("<object|string|array> [string|array]",[D,u],arguments.length),this[DF](this.choices.bind(this),"choices",D,u),this}coerce(D,u){if(q("<object|string|array> [function]",[D,u],arguments.length),Array.isArray(D)){if(!u)throw new DD("coerce callback must be provided");for(let E of D)this.coerce(E,u);return this}else if(typeof D==="object"){for(let E of Object.keys(D))this.coerce(E,D[E]);return this}if(!u)throw new DD("coerce callback must be provided");let F=D;return B(this,K,"f").key[F]=!0,B(this,UD,"f").addCoerceMiddleware((E,C)=>{var f;let $=(f=C.getAliases()[F])!==null&&f!==void 0?f:[],G=[F,...$].filter((J)=>Object.prototype.hasOwnProperty.call(E,J));if(G.length===0)return E;return pD(()=>{return u(E[G[0]])},(J)=>{return G.forEach((Y)=>{E[Y]=J}),E},(J)=>{throw new DD(J.message)})},F),this}conflicts(D,u){return q("<string|object> [string|array]",[D,u],arguments.length),B(this,r,"f").conflicts(D,u),this}config(D="config",u,F){if(q("[object|string] [string|function] [function]",[D,u,F],arguments.length),typeof D==="object"&&!Array.isArray(D))return D=hu(D,B(this,vD,"f"),this[yD]()["deep-merge-config"]||!1,B(this,P,"f")),B(this,K,"f").configObjects=(B(this,K,"f").configObjects||[]).concat(D),this;if(typeof u==="function")F=u,u=void 0;return this.describe(D,u||B(this,b,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(D)?D:[D]).forEach((E)=>{B(this,K,"f").config[E]=F||!0}),this}completion(D,u,F){if(q("[string] [string|boolean|function] [function]",[D,u,F],arguments.length),typeof u==="function")F=u,u=void 0;if(H(this,QD,D||B(this,QD,"f")||"completion","f"),!u&&u!==!1)u="generate completion script";if(this.command(B(this,QD,"f"),u),F)B(this,ZD,"f").registerFunction(F);return this}command(D,u,F,E,C,f){return q("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[D,u,F,E,C,f],arguments.length),B(this,uD,"f").addHandler(D,u,F,E,C,f),this}commands(D,u,F,E,C,f){return this.command(D,u,F,E,C,f)}commandDir(D,u){q("<string> [object]",[D,u],arguments.length);let F=B(this,ju,"f")||B(this,P,"f").require;return B(this,uD,"f").addDirectory(D,F,B(this,P,"f").getCallerFile(),u),this}count(D){return q("<array|string>",[D],arguments.length),this[tD]("count",D),this[rD](D),this}default(D,u,F){if(q("<object|string|array> [*] [string]",[D,u,F],arguments.length),F)gu(D,B(this,P,"f")),B(this,K,"f").defaultDescription[D]=F;if(typeof u==="function"){if(gu(D,B(this,P,"f")),!B(this,K,"f").defaultDescription[D])B(this,K,"f").defaultDescription[D]=B(this,b,"f").functionDescription(u);u=u.call()}return this[Eu](this.default.bind(this),"default",D,u),this}defaults(D,u,F){return this.default(D,u,F)}demandCommand(D=1,u,F,E){if(q("[number] [number|string] [string|null|undefined] [string|null|undefined]",[D,u,F,E],arguments.length),typeof u!=="number")F=u,u=1/0;return this.global("_",!1),B(this,K,"f").demandedCommands._={min:D,max:u,minMsg:F,maxMsg:E},this}demand(D,u,F){if(Array.isArray(u))u.forEach((E)=>{XD(F,!0,B(this,P,"f")),this.demandOption(E,F)}),u=1/0;else if(typeof u!=="number")F=u,u=1/0;if(typeof D==="number")XD(F,!0,B(this,P,"f")),this.demandCommand(D,u,F,F);else if(Array.isArray(D))D.forEach((E)=>{XD(F,!0,B(this,P,"f")),this.demandOption(E,F)});else if(typeof F==="string")this.demandOption(D,F);else if(F===!0||typeof F>"u")this.demandOption(D);return this}demandOption(D,u){return q("<object|string|array> [string]",[D,u],arguments.length),this[Eu](this.demandOption.bind(this),"demandedOptions",D,u),this}deprecateOption(D,u){return q("<string> [string|boolean]",[D,u],arguments.length),B(this,K,"f").deprecatedOptions[D]=u,this}describe(D,u){return q("<object|string|array> [string]",[D,u],arguments.length),this[EF](D,!0),B(this,b,"f").describe(D,u),this}detectLocale(D){return q("<boolean>",[D],arguments.length),H(this,mD,D,"f"),this}env(D){if(q("[string|boolean]",[D],arguments.length),D===!1)delete B(this,K,"f").envPrefix;else B(this,K,"f").envPrefix=D||"";return this}epilogue(D){return q("<string>",[D],arguments.length),B(this,b,"f").epilog(D),this}epilog(D){return this.epilogue(D)}example(D,u){if(q("<string|array> [string]",[D,u],arguments.length),Array.isArray(D))D.forEach((F)=>this.example(...F));else B(this,b,"f").example(D,u);return this}exit(D,u){if(H(this,OD,!0,"f"),H(this,wD,u,"f"),B(this,WD,"f"))B(this,P,"f").process.exit(D)}exitProcess(D=!0){return q("[boolean]",[D],arguments.length),H(this,WD,D,"f"),this}fail(D){if(q("<function|boolean>",[D],arguments.length),typeof D==="boolean"&&D!==!1)throw new DD("Invalid first argument. Expected function or boolean 'false'");return B(this,b,"f").failFn(D),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(D,u){if(q("<array> [function]",[D,u],arguments.length),!u)return new Promise((F,E)=>{B(this,ZD,"f").getCompletion(D,(C,f)=>{if(C)E(C);else F(f)})});else return B(this,ZD,"f").getCompletion(D,u)}getDemandedOptions(){return q([],0),B(this,K,"f").demandedOptions}getDemandedCommands(){return q([],0),B(this,K,"f").demandedCommands}getDeprecatedOptions(){return q([],0),B(this,K,"f").deprecatedOptions}getDetectLocale(){return B(this,mD,"f")}getExitProcess(){return B(this,WD,"f")}getGroups(){return Object.assign({},B(this,VD,"f"),B(this,oD,"f"))}getHelp(){if(H(this,OD,!0,"f"),!B(this,b,"f").hasCachedHelpMessage()){if(!this.parsed){let u=this[Gu](B(this,bD,"f"),void 0,void 0,0,!0);if(l(u))return u.then(()=>{return B(this,b,"f").help()})}let D=B(this,uD,"f").runDefaultBuilderOn(this);if(l(D))return D.then(()=>{return B(this,b,"f").help()})}return Promise.resolve(B(this,b,"f").help())}getOptions(){return B(this,K,"f")}getStrict(){return B(this,kD,"f")}getStrictCommands(){return B(this,gD,"f")}getStrictOptions(){return B(this,lD,"f")}global(D,u){if(q("<string|array> [boolean]",[D,u],arguments.length),D=[].concat(D),u!==!1)B(this,K,"f").local=B(this,K,"f").local.filter((F)=>D.indexOf(F)===-1);else D.forEach((F)=>{if(!B(this,K,"f").local.includes(F))B(this,K,"f").local.push(F)});return this}group(D,u){q("<string|array> <string>",[D,u],arguments.length);let F=B(this,oD,"f")[u]||B(this,VD,"f")[u];if(B(this,oD,"f")[u])delete B(this,oD,"f")[u];let E={};return B(this,VD,"f")[u]=(F||[]).concat(D).filter((C)=>{if(E[C])return!1;return E[C]=!0}),this}hide(D){return q("<string>",[D],arguments.length),B(this,K,"f").hiddenOptions.push(D),this}implies(D,u){return q("<string|object> [number|string|array]",[D,u],arguments.length),B(this,r,"f").implies(D,u),this}locale(D){if(q("[string]",[D],arguments.length),D===void 0)return this[au](),B(this,P,"f").y18n.getLocale();return H(this,mD,!1,"f"),B(this,P,"f").y18n.setLocale(D),this}middleware(D,u,F){return B(this,UD,"f").addMiddleware(D,!!u,F)}nargs(D,u){return q("<string|object|array> [number]",[D,u],arguments.length),this[Eu](this.nargs.bind(this),"narg",D,u),this}normalize(D){return q("<array|string>",[D],arguments.length),this[tD]("normalize",D),this}number(D){return q("<array|string>",[D],arguments.length),this[tD]("number",D),this[rD](D),this}option(D,u){if(q("<string|object> [object]",[D,u],arguments.length),typeof D==="object")Object.keys(D).forEach((F)=>{this.options(F,D[F])});else{if(typeof u!=="object")u={};if(this[rD](D),B(this,_D,"f")&&(D==="version"||(u===null||u===void 0?void 0:u.alias)==="version"))this[R0](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join(`
78
+ `),void 0,"versionWarning");if(B(this,K,"f").key[D]=!0,u.alias)this.alias(D,u.alias);let F=u.deprecate||u.deprecated;if(F)this.deprecateOption(D,F);let E=u.demand||u.required||u.require;if(E)this.demand(D,E);if(u.demandOption)this.demandOption(D,typeof u.demandOption==="string"?u.demandOption:void 0);if(u.conflicts)this.conflicts(D,u.conflicts);if("default"in u)this.default(D,u.default);if(u.implies!==void 0)this.implies(D,u.implies);if(u.nargs!==void 0)this.nargs(D,u.nargs);if(u.config)this.config(D,u.configParser);if(u.normalize)this.normalize(D);if(u.choices)this.choices(D,u.choices);if(u.coerce)this.coerce(D,u.coerce);if(u.group)this.group(D,u.group);if(u.boolean||u.type==="boolean"){if(this.boolean(D),u.alias)this.boolean(u.alias)}if(u.array||u.type==="array"){if(this.array(D),u.alias)this.array(u.alias)}if(u.number||u.type==="number"){if(this.number(D),u.alias)this.number(u.alias)}if(u.string||u.type==="string"){if(this.string(D),u.alias)this.string(u.alias)}if(u.count||u.type==="count")this.count(D);if(typeof u.global==="boolean")this.global(D,u.global);if(u.defaultDescription)B(this,K,"f").defaultDescription[D]=u.defaultDescription;if(u.skipValidation)this.skipValidation(D);let C=u.describe||u.description||u.desc,f=B(this,b,"f").getDescriptions();if(!Object.prototype.hasOwnProperty.call(f,D)||typeof C==="string")this.describe(D,C);if(u.hidden)this.hide(D);if(u.requiresArg)this.requiresArg(D)}return this}options(D,u){return this.option(D,u)}parse(D,u,F){if(q("[string|array] [function|boolean|object] [function]",[D,u,F],arguments.length),this[j0](),typeof D>"u")D=B(this,bD,"f");if(typeof u==="object")H(this,dD,u,"f"),u=F;if(typeof u==="function")H(this,TD,u,"f"),u=!1;if(!u)H(this,bD,D,"f");if(B(this,TD,"f"))H(this,WD,!1,"f");let E=this[Gu](D,!!u),C=this.parsed;if(B(this,ZD,"f").setParsed(this.parsed),l(E))return E.then((f)=>{if(B(this,TD,"f"))B(this,TD,"f").call(this,B(this,wD,"f"),f,B(this,hD,"f"));return f}).catch((f)=>{if(B(this,TD,"f"))B(this,TD,"f")(f,this.parsed.argv,B(this,hD,"f"));throw f}).finally(()=>{this[CF](),this.parsed=C});else{if(B(this,TD,"f"))B(this,TD,"f").call(this,B(this,wD,"f"),E,B(this,hD,"f"));this[CF](),this.parsed=C}return E}parseAsync(D,u,F){let E=this.parse(D,u,F);return!l(E)?Promise.resolve(E):E}parseSync(D,u,F){let E=this.parse(D,u,F);if(l(E))throw new DD(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return E}parserConfiguration(D){return q("<object>",[D],arguments.length),H(this,qu,D,"f"),this}pkgConf(D,u){q("<string> [string]",[D,u],arguments.length);let F=null,E=this[eu](u||B(this,vD,"f"));if(E[D]&&typeof E[D]==="object")F=hu(E[D],u||B(this,vD,"f"),this[yD]()["deep-merge-config"]||!1,B(this,P,"f")),B(this,K,"f").configObjects=(B(this,K,"f").configObjects||[]).concat(F);return this}positional(D,u){q("<string> <object>",[D,u],arguments.length);let F=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];u=xD(u,(f,$)=>{if(f==="type"&&!["string","number","boolean"].includes($))return!1;return F.includes(f)});let E=B(this,zu,"f").fullCommands[B(this,zu,"f").fullCommands.length-1],C=E?B(this,uD,"f").cmdToParseOptions(E):{array:[],alias:{},default:{},demand:{}};return Du(C).forEach((f)=>{let $=C[f];if(Array.isArray($)){if($.indexOf(D)!==-1)u[f]=!0}else if($[D]&&!(f in u))u[f]=$[D]}),this.group(D,B(this,b,"f").getPositionalGroupName()),this.option(D,u)}recommendCommands(D=!0){return q("[boolean]",[D],arguments.length),H(this,Hu,D,"f"),this}required(D,u,F){return this.demand(D,u,F)}require(D,u,F){return this.demand(D,u,F)}requiresArg(D){if(q("<array|string|object> [number]",[D],arguments.length),typeof D==="string"&&B(this,K,"f").narg[D])return this;else this[Eu](this.requiresArg.bind(this),"narg",D,NaN);return this}showCompletionScript(D,u){return q("[string] [string]",[D,u],arguments.length),D=D||this.$0,B(this,iD,"f").log(B(this,ZD,"f").generateCompletionScript(D,u||B(this,QD,"f")||"completion")),this}showHelp(D){if(q("[string|function]",[D],arguments.length),H(this,OD,!0,"f"),!B(this,b,"f").hasCachedHelpMessage()){if(!this.parsed){let F=this[Gu](B(this,bD,"f"),void 0,void 0,0,!0);if(l(F))return F.then(()=>{B(this,b,"f").showHelp(D)}),this}let u=B(this,uD,"f").runDefaultBuilderOn(this);if(l(u))return u.then(()=>{B(this,b,"f").showHelp(D)}),this}return B(this,b,"f").showHelp(D),this}scriptName(D){return this.customScriptName=!0,this.$0=D,this}showHelpOnFail(D,u){return q("[boolean|string] [string]",[D,u],arguments.length),B(this,b,"f").showHelpOnFail(D,u),this}showVersion(D){return q("[string|function]",[D],arguments.length),B(this,b,"f").showVersion(D),this}skipValidation(D){return q("<array|string>",[D],arguments.length),this[tD]("skipValidation",D),this}strict(D){return q("[boolean]",[D],arguments.length),H(this,kD,D!==!1,"f"),this}strictCommands(D){return q("[boolean]",[D],arguments.length),H(this,gD,D!==!1,"f"),this}strictOptions(D){return q("[boolean]",[D],arguments.length),H(this,lD,D!==!1,"f"),this}string(D){return q("<array|string>",[D],arguments.length),this[tD]("string",D),this[rD](D),this}terminalWidth(){return q([],0),B(this,P,"f").process.stdColumns}updateLocale(D){return this.updateStrings(D)}updateStrings(D){return q("<object>",[D],arguments.length),H(this,mD,!1,"f"),B(this,P,"f").y18n.updateLocale(D),this}usage(D,u,F,E){if(q("<string|null|undefined> [string|boolean] [function|object] [function]",[D,u,F,E],arguments.length),u!==void 0)if(XD(D,null,B(this,P,"f")),(D||"").match(/^\$0( |$)/))return this.command(D,u,F,E);else throw new DD(".usage() description must start with $0 if being used as alias for .command()");else return B(this,b,"f").usage(D),this}usageConfiguration(D){return q("<object>",[D],arguments.length),H(this,Iu,D,"f"),this}version(D,u,F){if(q("[boolean|string] [string] [string]",[D,u,F],arguments.length),B(this,_D,"f"))this[ru](B(this,_D,"f")),B(this,b,"f").version(void 0),H(this,_D,null,"f");if(arguments.length===0)F=this[I0](),D="version";else if(arguments.length===1){if(D===!1)return this;F=D,D="version"}else if(arguments.length===2)F=u,u=void 0;return H(this,_D,typeof D==="string"?D:"version","f"),u=u||B(this,b,"f").deferY18nLookup("Show version number"),B(this,b,"f").version(F||void 0),this.boolean(B(this,_D,"f")),this.describe(B(this,_D,"f"),u),this}wrap(D){return q("<number|null|undefined>",[D],arguments.length),B(this,b,"f").wrap(D),this}[(uD=new WeakMap,vD=new WeakMap,zu=new WeakMap,ZD=new WeakMap,QD=new WeakMap,Wu=new WeakMap,wD=new WeakMap,mD=new WeakMap,Uu=new WeakMap,WD=new WeakMap,Nu=new WeakMap,UD=new WeakMap,VD=new WeakMap,OD=new WeakMap,ND=new WeakMap,Ru=new WeakMap,iD=new WeakMap,hD=new WeakMap,K=new WeakMap,ju=new WeakMap,qu=new WeakMap,TD=new WeakMap,dD=new WeakMap,Fu=new WeakMap,oD=new WeakMap,bD=new WeakMap,Hu=new WeakMap,P=new WeakMap,kD=new WeakMap,gD=new WeakMap,lD=new WeakMap,b=new WeakMap,Iu=new WeakMap,_D=new WeakMap,r=new WeakMap,U0)](D){if(!D._||!D["--"])return D;D._.push.apply(D._,D["--"]);try{delete D["--"]}catch(u){}return D}[N0](){return{log:(...D)=>{if(!this[Vu]())console.log(...D);if(H(this,OD,!0,"f"),B(this,hD,"f").length)H(this,hD,B(this,hD,"f")+`
79
+ `,"f");H(this,hD,B(this,hD,"f")+D.join(" "),"f")},error:(...D)=>{if(!this[Vu]())console.error(...D);if(H(this,OD,!0,"f"),B(this,hD,"f").length)H(this,hD,B(this,hD,"f")+`
80
+ `,"f");H(this,hD,B(this,hD,"f")+D.join(" "),"f")}}}[ru](D){Du(B(this,K,"f")).forEach((u)=>{if(((E)=>E==="configObjects")(u))return;let F=B(this,K,"f")[u];if(Array.isArray(F)){if(F.includes(D))F.splice(F.indexOf(D),1)}else if(typeof F==="object")delete F[D]}),delete B(this,b,"f").getDescriptions()[D]}[R0](D,u,F){if(!B(this,Uu,"f")[F])B(this,P,"f").process.emitWarning(D,u),B(this,Uu,"f")[F]=!0}[j0](){B(this,Nu,"f").push({options:B(this,K,"f"),configObjects:B(this,K,"f").configObjects.slice(0),exitProcess:B(this,WD,"f"),groups:B(this,VD,"f"),strict:B(this,kD,"f"),strictCommands:B(this,gD,"f"),strictOptions:B(this,lD,"f"),completionCommand:B(this,QD,"f"),output:B(this,hD,"f"),exitError:B(this,wD,"f"),hasOutput:B(this,OD,"f"),parsed:this.parsed,parseFn:B(this,TD,"f"),parseContext:B(this,dD,"f")}),B(this,b,"f").freeze(),B(this,r,"f").freeze(),B(this,uD,"f").freeze(),B(this,UD,"f").freeze()}[q0](){let D="",u;if(/\b(node|iojs|electron)(\.exe)?$/.test(B(this,P,"f").process.argv()[0]))u=B(this,P,"f").process.argv().slice(1,2);else u=B(this,P,"f").process.argv().slice(0,1);if(D=u.map((F)=>{let E=this[t0](B(this,vD,"f"),F);return F.match(/^(\/|([a-zA-Z]:)?\\)/)&&E.length<F.length?E:F}).join(" ").trim(),B(this,P,"f").getEnv("_")&&B(this,P,"f").getProcessArgvBin()===B(this,P,"f").getEnv("_"))D=B(this,P,"f").getEnv("_").replace(`${B(this,P,"f").path.dirname(B(this,P,"f").process.execPath())}/`,"");return D}[yD](){return B(this,qu,"f")}[H0](){return B(this,Iu,"f")}[au](){if(!B(this,mD,"f"))return;let D=B(this,P,"f").getEnv("LC_ALL")||B(this,P,"f").getEnv("LC_MESSAGES")||B(this,P,"f").getEnv("LANG")||B(this,P,"f").getEnv("LANGUAGE")||"en_US";this.locale(D.replace(/[.:].*/,""))}[I0](){return this[eu]().version||"unknown"}[V0](D){let u=D["--"]?D["--"]:D._;for(let F=0,E;(E=u[F])!==void 0;F++)if(B(this,P,"f").Parser.looksLikeNumber(E)&&Number.isSafeInteger(Math.floor(parseFloat(`${E}`))))u[F]=Number(E);return D}[eu](D){let u=D||"*";if(B(this,Fu,"f")[u])return B(this,Fu,"f")[u];let F={};try{let E=D||B(this,P,"f").mainFilename;if(B(this,P,"f").path.extname(E))E=B(this,P,"f").path.dirname(E);let C=B(this,P,"f").findUp(E,(f,$)=>{if($.includes("package.json"))return"package.json";else return});XD(C,void 0,B(this,P,"f")),F=JSON.parse(B(this,P,"f").readFileSync(C,"utf8"))}catch(E){}return B(this,Fu,"f")[u]=F||{},B(this,Fu,"f")[u]}[tD](D,u){u=[].concat(u),u.forEach((F)=>{F=this[FF](F),B(this,K,"f")[D].push(F)})}[Eu](D,u,F,E){this[uF](D,u,F,E,(C,f,$)=>{B(this,K,"f")[C][f]=$})}[DF](D,u,F,E){this[uF](D,u,F,E,(C,f,$)=>{B(this,K,"f")[C][f]=(B(this,K,"f")[C][f]||[]).concat($)})}[uF](D,u,F,E,C){if(Array.isArray(F))F.forEach((f)=>{D(f,E)});else if(((f)=>typeof f==="object")(F))for(let f of Du(F))D(f,F[f]);else C(u,this[FF](F),E)}[FF](D){if(D==="__proto__")return"___proto___";return D}[EF](D,u){return this[Eu](this[EF].bind(this),"key",D,u),this}[CF](){var D,u,F,E,C,f,$,G,J,Y,U,Q;let X=B(this,Nu,"f").pop();XD(X,void 0,B(this,P,"f"));let O;D=this,u=this,F=this,E=this,C=this,f=this,$=this,G=this,J=this,Y=this,U=this,Q=this,{options:{set value(W){H(D,K,W,"f")}}.value,configObjects:O,exitProcess:{set value(W){H(u,WD,W,"f")}}.value,groups:{set value(W){H(F,VD,W,"f")}}.value,output:{set value(W){H(E,hD,W,"f")}}.value,exitError:{set value(W){H(C,wD,W,"f")}}.value,hasOutput:{set value(W){H(f,OD,W,"f")}}.value,parsed:this.parsed,strict:{set value(W){H($,kD,W,"f")}}.value,strictCommands:{set value(W){H(G,gD,W,"f")}}.value,strictOptions:{set value(W){H(J,lD,W,"f")}}.value,completionCommand:{set value(W){H(Y,QD,W,"f")}}.value,parseFn:{set value(W){H(U,TD,W,"f")}}.value,parseContext:{set value(W){H(Q,dD,W,"f")}}.value}=X,B(this,K,"f").configObjects=O,B(this,b,"f").unfreeze(),B(this,r,"f").unfreeze(),B(this,uD,"f").unfreeze(),B(this,UD,"f").unfreeze()}[_0](D,u){return pD(u,(F)=>{return D(F),F})}getInternalMethods(){return{getCommandInstance:this[K0].bind(this),getContext:this[L0].bind(this),getHasOutput:this[A0].bind(this),getLoggerInstance:this[S0].bind(this),getParseContext:this[x0].bind(this),getParserConfiguration:this[yD].bind(this),getUsageConfiguration:this[H0].bind(this),getUsageInstance:this[P0].bind(this),getValidationInstance:this[w0].bind(this),hasParseCallback:this[Vu].bind(this),isGlobalContext:this[b0].bind(this),postProcess:this[sD].bind(this),reset:this[BF].bind(this),runValidation:this[fF].bind(this),runYargsParserAndExecuteCommands:this[Gu].bind(this),setHasOutput:this[n0].bind(this)}}[K0](){return B(this,uD,"f")}[L0](){return B(this,zu,"f")}[A0](){return B(this,OD,"f")}[S0](){return B(this,iD,"f")}[x0](){return B(this,dD,"f")||{}}[P0](){return B(this,b,"f")}[w0](){return B(this,r,"f")}[Vu](){return!!B(this,TD,"f")}[b0](){return B(this,Ru,"f")}[sD](D,u,F,E){if(F)return D;if(l(D))return D;if(!u)D=this[U0](D);if(this[yD]()["parse-positional-numbers"]||this[yD]()["parse-positional-numbers"]===void 0)D=this[V0](D);if(E)D=cD(D,this,B(this,UD,"f").getMiddleware(),!1);return D}[BF](D={}){H(this,K,B(this,K,"f")||{},"f");let u={};u.local=B(this,K,"f").local||[],u.configObjects=B(this,K,"f").configObjects||[];let F={};u.local.forEach((f)=>{F[f]=!0,(D[f]||[]).forEach(($)=>{F[$]=!0})}),Object.assign(B(this,oD,"f"),Object.keys(B(this,VD,"f")).reduce((f,$)=>{let G=B(this,VD,"f")[$].filter((J)=>!(J in F));if(G.length>0)f[$]=G;return f},{})),H(this,VD,{},"f");let E=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],C=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];if(E.forEach((f)=>{u[f]=(B(this,K,"f")[f]||[]).filter(($)=>!F[$])}),C.forEach((f)=>{u[f]=xD(B(this,K,"f")[f],($)=>!F[$])}),u.envPrefix=B(this,K,"f").envPrefix,H(this,K,u,"f"),H(this,b,B(this,b,"f")?B(this,b,"f").reset(F):M0(this,B(this,P,"f")),"f"),H(this,r,B(this,r,"f")?B(this,r,"f").reset(F):Y0(this,B(this,b,"f"),B(this,P,"f")),"f"),H(this,uD,B(this,uD,"f")?B(this,uD,"f").reset():h0(B(this,b,"f"),B(this,r,"f"),B(this,UD,"f"),B(this,P,"f")),"f"),!B(this,ZD,"f"))H(this,ZD,Q0(this,B(this,b,"f"),B(this,uD,"f"),B(this,P,"f")),"f");return B(this,UD,"f").reset(),H(this,QD,null,"f"),H(this,hD,"","f"),H(this,wD,null,"f"),H(this,OD,!1,"f"),this.parsed=!1,this}[t0](D,u){return B(this,P,"f").path.relative(D,u)}[Gu](D,u,F,E=0,C=!1){var f,$,G,J;let Y=!!F||C;D=D||B(this,bD,"f"),B(this,K,"f").__=B(this,P,"f").y18n.__,B(this,K,"f").configuration=this[yD]();let U=!!B(this,K,"f").configuration["populate--"],Q=Object.assign({},B(this,K,"f").configuration,{"populate--":!0}),X=B(this,P,"f").Parser.detailed(D,Object.assign({},B(this,K,"f"),{configuration:{"parse-positional-numbers":!1,...Q}})),O=Object.assign(X.argv,B(this,dD,"f")),W=void 0,Z=X.aliases,A=!1,v=!1;if(Object.keys(O).forEach((n)=>{if(n===B(this,ND,"f")&&O[n])A=!0;else if(n===B(this,_D,"f")&&O[n])v=!0}),O.$0=this.$0,this.parsed=X,E===0)B(this,b,"f").clearCachedHelpMessage();try{if(this[au](),u)return this[sD](O,U,!!F,!1);if(B(this,ND,"f")){if([B(this,ND,"f")].concat(Z[B(this,ND,"f")]||[]).filter((ED)=>ED.length>1).includes(""+O._[O._.length-1]))O._.pop(),A=!0}H(this,Ru,!1,"f");let n=B(this,uD,"f").getCommands(),GD=((f=B(this,ZD,"f"))===null||f===void 0?void 0:f.completionKey)?[($=B(this,ZD,"f"))===null||$===void 0?void 0:$.completionKey,...(J=this.getAliases()[(G=B(this,ZD,"f"))===null||G===void 0?void 0:G.completionKey])!==null&&J!==void 0?J:[]].some((g)=>Object.prototype.hasOwnProperty.call(O,g)):!1,t=A||GD||C;if(O._.length){if(n.length){let g;for(let ED=E||0,a;O._[ED]!==void 0;ED++)if(a=String(O._[ED]),n.includes(a)&&a!==B(this,QD,"f")){let ID=B(this,uD,"f").runCommand(a,this,X,ED+1,C,A||v||C);return this[sD](ID,U,!!F,!1)}else if(!g&&a!==B(this,QD,"f")){g=a;break}if(!B(this,uD,"f").hasDefaultCommand()&&B(this,Hu,"f")&&g&&!t)B(this,r,"f").recommendCommands(g,n)}if(B(this,QD,"f")&&O._.includes(B(this,QD,"f"))&&!GD){if(B(this,WD,"f"))PD(!0);this.showCompletionScript(),this.exit(0)}}if(B(this,uD,"f").hasDefaultCommand()&&!t){let g=B(this,uD,"f").runCommand(null,this,X,0,C,A||v||C);return this[sD](g,U,!!F,!1)}if(GD){if(B(this,WD,"f"))PD(!0);D=[].concat(D);let g=D.slice(D.indexOf(`--${B(this,ZD,"f").completionKey}`)+1);return B(this,ZD,"f").getCompletion(g,(ED,a)=>{if(ED)throw new DD(ED.message);(a||[]).forEach((ID)=>{B(this,iD,"f").log(ID)}),this.exit(0)}),this[sD](O,!U,!!F,!1)}if(!B(this,OD,"f")){if(A){if(B(this,WD,"f"))PD(!0);Y=!0,this.showHelp((g)=>{B(this,iD,"f").log(g),this.exit(0)})}else if(v){if(B(this,WD,"f"))PD(!0);Y=!0,B(this,b,"f").showVersion("log"),this.exit(0)}}if(!Y&&B(this,K,"f").skipValidation.length>0)Y=Object.keys(O).some((g)=>B(this,K,"f").skipValidation.indexOf(g)>=0&&O[g]===!0);if(!Y){if(X.error)throw new DD(X.error.message);if(!GD){let g=this[fF](Z,{},X.error);if(!F)W=cD(O,this,B(this,UD,"f").getMiddleware(),!0);if(W=this[_0](g,W!==null&&W!==void 0?W:O),l(W)&&!F)W=W.then(()=>{return cD(O,this,B(this,UD,"f").getMiddleware(),!1)})}}}catch(n){if(n instanceof DD)B(this,b,"f").fail(n.message,n);else throw n}return this[sD](W!==null&&W!==void 0?W:O,U,!!F,!0)}[fF](D,u,F,E){let C={...this.getDemandedOptions()};return(f)=>{if(F)throw new DD(F.message);B(this,r,"f").nonOptionCount(f),B(this,r,"f").requiredArguments(f,C);let $=!1;if(B(this,gD,"f"))$=B(this,r,"f").unknownCommands(f);if(B(this,kD,"f")&&!$)B(this,r,"f").unknownArguments(f,D,u,!!E);else if(B(this,lD,"f"))B(this,r,"f").unknownArguments(f,D,{},!1,!1);B(this,r,"f").limitedChoices(f),B(this,r,"f").implications(f),B(this,r,"f").conflicting(f)}}[n0](){H(this,OD,!0,"f")}[rD](D){if(typeof D==="string")B(this,K,"f").key[D]=!0;else for(let u of D)B(this,K,"f").key[u]=!0}}function z0(D){return!!D&&typeof D.getInternalMethods==="function"}var Z8=c0(ku),v0=Z8;import{EOL as HD}from"os";import e0 from"path";import J8 from"fs";var m0=g0("main");l0("main");var RD=du(process.argv),D2=new Set(["--version","-v"]);if(RD.length===1&&D2.has(RD[0]))process.stdout.write(Lu+HD),process.exit();if(RD.length===2&&RD.some((D)=>D2.has(D))&&RD.includes("--verbose")){let D=process.argv[1],u=(()=>{if(!D||D.startsWith("-"))return;if(D.startsWith("/$bunfs/")||/^B:[\\/]~BUN[\\/]/.test(D))return;let E=e0.resolve(D);if(E===process.execPath)return;try{if(!J8.statSync(E).isFile())return}catch{return}return E})(),F=[`version: ${Lu}`,`channel: ${d0}`,`commit: ${o0}`,`binary: ${process.execPath}`,...u?[`bundle: ${u}`]:[]];process.stdout.write(F.join(HD)+HD),process.exit()}var _u={acp:()=>import("./chunk-cn10hn58.js").then((D)=>D.AcpCommand),mcp:()=>import("./chunk-41ftye7w.js").then((D)=>D.McpCommand),attach:()=>import("./chunk-hf473xav.js").then((D)=>D.AttachCommand),run:()=>import("./chunk-ngz5xw45.js").then((D)=>D.RunCommand),generate:()=>import("./chunk-wzmte7sy.js").then((D)=>D.GenerateCommand),debug:()=>import("./chunk-vh05n2x3.js").then((D)=>D.DebugCommand),console:()=>import("./chunk-6vb26adv.js").then((D)=>D.ConsoleCommand),providers:()=>import("./chunk-fvy5w4dh.js").then((D)=>D.ProvidersCommand),agent:()=>import("./chunk-rz54qjew.js").then((D)=>D.AgentCommand),upgrade:()=>import("./chunk-yxnq0d7k.js").then((D)=>D.UpgradeCommand),uninstall:()=>import("./chunk-xdwej3ae.js").then((D)=>D.UninstallCommand),serve:()=>import("./chunk-kp84yba1.js").then((D)=>D.ServeCommand),models:()=>import("./chunk-y3s7sh1e.js").then((D)=>D.ModelsCommand),stats:()=>import("./chunk-fk3praj7.js").then((D)=>D.StatsCommand),usage:()=>import("./chunk-kpnfndkg.js").then((D)=>D.UsageCommand),export:()=>import("./chunk-vy9xre57.js").then((D)=>D.ExportCommand),import:()=>import("./chunk-2yb59jwr.js").then((D)=>D.ImportCommand),github:()=>import("./chunk-j7zs1yg2.js").then((D)=>D.GithubCommand),pr:()=>import("./chunk-qan3kwbv.js").then((D)=>D.PrCommand),session:()=>import("./chunk-vyjsng14.js").then((D)=>D.SessionCommand),plugin:()=>import("./chunk-admgf65a.js").then((D)=>D.PluginCommand),plug:()=>import("./chunk-admgf65a.js").then((D)=>D.PluginCommand),auth:()=>import("./chunk-m84cn9c6.js").then((D)=>D.AuthCommand),qredits:()=>import("./chunk-m7txgh5w.js").then((D)=>D.QreditsCommand),batch:()=>import("./chunk-z2m09m4w.js").then((D)=>D.BatchCommand),db:()=>import("./chunk-tyy4gx61.js").then((D)=>D.DbCommand),default:()=>import("./chunk-jzcz92pq.js").then((D)=>D.TuiThreadCommand)};function y(D,u,F){return{command:D,describe:u,aliases:F,handler:async()=>{}}}function $F(){return[y("acp","start ACP (Agent Client Protocol) server"),y("mcp","manage MCP (Model Context Protocol) servers"),{command:"$0 [project]",describe:"start qitqode tui",builder:(D)=>D.positional("project",{type:"string",describe:"path to start qitqode in"}).options(s0).options(r0).option("never-ask",{type:"boolean",describe:"start in never-ask mode, auto-decide without asking (permissions excluded)",default:!1}).option("trust",{type:"boolean",describe:"skip workspace trust prompt and trust the directory",default:!1}),handler:async()=>{}},y("attach <url>","attach to a running qitqode server"),y("run [message..]","run qitqode with a message"),y("generate","generate files"),y("debug","debugging and troubleshooting tools"),y("console","manage qitqode accounts"),y("providers","manage AI providers and credentials",["auth"]),y("agent","manage agents"),y("upgrade [target]","upgrade qitqode to the latest or a specific version"),y("uninstall","uninstall qitqode and remove all related files"),y("serve","starts a headless qitqode server"),y("models [provider]","list all available models"),y("stats","show token usage and cost statistics"),y("usage [sessionID]","show per-turn token usage and cost"),y("export [sessionID]","export session data as JSON"),y("import <file>","import session data from JSON file or URL"),y("github","manage GitHub agent"),y("pr <number>","fetch and checkout a GitHub PR branch, then run qitqode"),y("session","manage sessions"),y("plugin <module>","install plugin and update config",["plug"]),y("auth <command>","Sign in or out of Forgewise"),y("qredits <command>","Check Qredits balance and spend history"),y("batch <command>","Submit and poll async batch LLM jobs"),y("db","database tools")]}function zF(D){let u=new Set(["--log-level","--model","-m","--session","-s","--prompt","--agent","--port","--hostname","--mdns-domain","--cors"]);for(let F=0;F<D.length;F++){let E=D[F];if(E==="--")return;if(E.startsWith("-")){if(u.has(E))F++;continue}return E}}function Q8(D){return D.length>0&&D.every((u)=>u==="--help"||u==="-h")}function O8(D){return D.includes("--help")||D.includes("-h")}async function T8(D){let u=zF(D);if(D.includes("--get-yargs-completions")||u==="completion")return $F();if(Q8(D))return $F();else if(u&&u in _u)return[await _u[u]()];else if(O8(D))return $F();else return[await _u.default()]}function u2(D){let u=D.trimStart();if(!u.startsWith("qitqode ")){process.stderr.write(Ku.logo()+HD+HD),process.stderr.write(u);return}process.stderr.write(D)}var Mu=y0(v0(RD)).middleware(async(D)=>{if(D.pure)process.env.QITQODE_PURE="1";let u=await import("./chunk-7dyddrpk.js"),{Filesystem:F}=await import("./chunk-vrfegg5f.js"),{Heap:E}=await import("./chunk-30081kwd.js"),{Global:C}=await import("./chunk-jd9edy2s.js");await u.init({print:process.argv.includes("--print-logs"),dev:hF,level:(()=>{if(D.logLevel)return D.logLevel;if(hF)return"DEBUG";return"INFO"})()}),E.start(),(await import("./chunk-12pxszgn.js")).startRefresh(),process.env.AGENT="1",process.env.QITQODE="1",process.env.QITQODE_PID=String(process.pid),u.Default.info("qitqode",{version:Lu,command:zF(RD)??"tui",process_role:m0.processRole,run_id:m0.runID});let $=e0.join(C.Path.data,"qitqode.db");if(!await F.exists($)){let{JsonMigration:G,Database:J}=await import("./chunk-63znhwx0.js"),{drizzle:Y}=await import("./chunk-hr88054m.js"),U=process.stderr.isTTY;process.stderr.write("Performing one time database migration, may take a few minutes..."+HD);let Q=-1;if(U)process.stderr.write("\x1B[?25l");try{await G.run(Y({client:J.Client().$client}),{progress:(X)=>{let O=Math.floor(X.current/X.total*100);if(O===Q&&X.current!==X.total)return;if(Q=O,U){if(process.stderr.write(a0(O,`${X.label.padEnd(12)} ${X.current}/${X.total}`)),X.current===X.total)process.stderr.write(`
81
+ `)}else process.stderr.write(`sqlite-migration:${O}${HD}`)}})}finally{if(U)process.stderr.write("\x1B[?25h");else process.stderr.write(`sqlite-migration:done${HD}`)}process.stderr.write("Database migration complete."+HD)}if(!process.env.QITQODE_DISABLE_CLAUDE_IMPORT&&!process.env.QITQODE_CLAUDE_IMPORTED){process.env.QITQODE_CLAUDE_IMPORTED="1";let G=async()=>{try{let{ClaudeImport:U}=await import("./chunk-qd0nvn4z.js");await U.run()}catch(U){u.Default.warn("claude-import failed",{e:GF(U)})}},J=zF(RD);if(!J||!(J in _u))G();else await G()}}).usage("").completion("completion","generate shell completion script");for(let D of await T8(RD))Mu.command(D);Mu.fail((D,u)=>{if(D?.startsWith("Unknown argument")||D?.startsWith("Not enough non-option arguments")||D?.startsWith("Invalid values:")){if(u)throw u;Mu.showHelp(u2)}if(u)throw u;process.exit(1)}).strict();try{if(RD.includes("-h")||RD.includes("--help"))await Mu.parse(RD,(D,u,F)=>{if(D)throw D;if(!F)return;u2(F)});else await Mu.parse()}catch(D){let u={};if(D instanceof i0){let C=D.toObject();Object.assign(u,{...C.data})}if(D instanceof Error)Object.assign(u,{name:D.name,message:D.message,cause:D.cause?.toString(),stack:D.stack});if(D instanceof ResolveMessage)Object.assign(u,{name:D.name,message:D.message,code:D.code,specifier:D.specifier,referrer:D.referrer,position:D.position,importKind:D.importKind});let F=await import("./chunk-7dyddrpk.js");F.Default.error("fatal",u);let E=k0(D);if(E)Ku.error(E);if(E===void 0)Ku.error("Unexpected error, check log file at "+F.file()+" for more details"+HD),process.stderr.write(GF(D)+HD);process.exitCode=1}finally{process.exit()}