@qitqode/qitqode-android-arm64 0.2.9 → 0.2.10

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 (425) hide show
  1. package/bundle/chunk-062chtrq.js +2 -0
  2. package/bundle/chunk-062vs7bp.js +2 -0
  3. package/bundle/chunk-08g14hmz.js +2 -0
  4. package/bundle/{chunk-wgkcyqn1.js → chunk-0bhzhh7s.js} +2 -2
  5. package/bundle/{chunk-cfwz1hgr.js → chunk-0mwzxqt5.js} +3 -3
  6. package/bundle/{chunk-mr17tppa.js → chunk-0sfc21qe.js} +2 -2
  7. package/bundle/{chunk-7adsab4h.js → chunk-0tkznq75.js} +1 -1
  8. package/bundle/chunk-0w2v8dfy.js +2 -0
  9. package/bundle/chunk-10fr7a2y.js +2 -0
  10. package/bundle/chunk-141p12c4.js +4 -0
  11. package/bundle/chunk-15bjhfav.js +3 -0
  12. package/bundle/{chunk-92r1gw2j.js → chunk-1h96bk6p.js} +2 -2
  13. package/bundle/chunk-1hv61m11.js +2 -0
  14. package/bundle/{chunk-0z1keh2w.js → chunk-1m78yy4k.js} +1 -1
  15. package/bundle/chunk-1q10jyka.js +29 -0
  16. package/bundle/{chunk-g4tyaj0m.js → chunk-1r81q7m3.js} +1 -1
  17. package/bundle/{chunk-29q89bge.js → chunk-2cvwrabw.js} +2 -2
  18. package/bundle/{chunk-8p0t8qah.js → chunk-2dmcpqak.js} +1 -1
  19. package/bundle/{chunk-35fj1sfm.js → chunk-2fbkw84y.js} +2 -2
  20. package/bundle/chunk-2mkvx8b2.js +2 -0
  21. package/bundle/chunk-2rykfc3a.js +2 -0
  22. package/bundle/chunk-2w5hx4fs.js +2 -0
  23. package/bundle/{chunk-t3w43rft.js → chunk-2y5bthrp.js} +1 -1
  24. package/bundle/chunk-2yy63sxz.js +2 -0
  25. package/bundle/chunk-2z3fe4qw.js +2 -0
  26. package/bundle/{chunk-g7v6sp3c.js → chunk-2zjet9tx.js} +2 -2
  27. package/bundle/{chunk-qgkb6n8k.js → chunk-32xd626h.js} +2 -2
  28. package/bundle/chunk-361cmmrp.js +2 -0
  29. package/bundle/{chunk-eg1m81ax.js → chunk-3mtjxmw1.js} +1 -1
  30. package/bundle/chunk-3r6dq1h3.js +2 -0
  31. package/bundle/{chunk-wtt5wms9.js → chunk-3sj0jv91.js} +1 -1
  32. package/bundle/{chunk-hz02vrqs.js → chunk-3vae1s42.js} +1 -1
  33. package/bundle/{chunk-t18ka1e7.js → chunk-3yfjgks3.js} +1 -1
  34. package/bundle/{chunk-phf37x1c.js → chunk-3zzrdpsx.js} +1 -1
  35. package/bundle/chunk-4a12wv2m.js +2 -0
  36. package/bundle/{chunk-1rgt2vmt.js → chunk-4a9jqe5s.js} +1 -1
  37. package/bundle/{chunk-wqk1v8t0.js → chunk-4sa9t0vx.js} +2 -2
  38. package/bundle/{chunk-qbnt4ynd.js → chunk-532fnfmw.js} +2 -2
  39. package/bundle/chunk-547a55ba.js +2 -0
  40. package/bundle/{chunk-vr8nwzp0.js → chunk-56yp5v0w.js} +1 -1
  41. package/bundle/{chunk-ag8wxwwz.js → chunk-5fcyb122.js} +1 -1
  42. package/bundle/{chunk-4pmvxnkj.js → chunk-5nm5egq0.js} +2 -2
  43. package/bundle/{chunk-1v0khv7p.js → chunk-5p2r8bxx.js} +1 -1
  44. package/bundle/{chunk-5bv63rqj.js → chunk-5rqjze1g.js} +1 -1
  45. package/bundle/{chunk-sy9w1t2y.js → chunk-5w7ebtcd.js} +1 -1
  46. package/bundle/chunk-5ztmc770.js +2 -0
  47. package/bundle/{chunk-a1z8rnq7.js → chunk-61t4g8bh.js} +4 -4
  48. package/bundle/chunk-62x3r2q8.js +2 -0
  49. package/bundle/chunk-62y6zk9x.js +2 -0
  50. package/bundle/{chunk-c76cjhn0.js → chunk-6axm2qtj.js} +1 -1
  51. package/bundle/{chunk-zfrftgcy.js → chunk-6gbdvz6p.js} +1 -1
  52. package/bundle/{chunk-fa8pwdwv.js → chunk-6mnk5sg3.js} +1 -1
  53. package/bundle/chunk-6th7vpwm.js +2 -0
  54. package/bundle/{chunk-8yzghzjq.js → chunk-6wjdhvdf.js} +1 -1
  55. package/bundle/{chunk-a8bjcvda.js → chunk-6y58jzak.js} +1 -1
  56. package/bundle/chunk-6ybh5smv.js +2 -0
  57. package/bundle/chunk-73kprndw.js +2 -0
  58. package/bundle/chunk-79fr19xf.js +2 -0
  59. package/bundle/{chunk-3va85mbe.js → chunk-7a3txs9f.js} +2 -2
  60. package/bundle/chunk-7ezr478e.js +2 -0
  61. package/bundle/chunk-7gj1vqyj.js +2 -0
  62. package/bundle/{chunk-eacpc64g.js → chunk-7hdb1fhq.js} +2 -2
  63. package/bundle/{chunk-t8fjgkp8.js → chunk-7rbg6mg9.js} +2 -2
  64. package/bundle/{chunk-59csnjc3.js → chunk-7s0nq2aa.js} +2 -2
  65. package/bundle/chunk-7ywfkwb4.js +2 -0
  66. package/bundle/chunk-819qr675.js +2 -0
  67. package/bundle/{chunk-g6y2c5az.js → chunk-81dvy370.js} +1 -1
  68. package/bundle/chunk-85fnnwm2.js +2 -0
  69. package/bundle/chunk-89fwh84w.js +2 -0
  70. package/bundle/chunk-8e724g3k.js +2 -0
  71. package/bundle/{chunk-k6981ysw.js → chunk-8gpjmj42.js} +3 -3
  72. package/bundle/{chunk-wtxh5m6j.js → chunk-8nnajdwf.js} +3 -3
  73. package/bundle/chunk-8peby2d1.js +2 -0
  74. package/bundle/{chunk-702bt91p.js → chunk-8rkszwxq.js} +6 -6
  75. package/bundle/{chunk-w0nc0gcx.js → chunk-8v60bqm0.js} +1 -1
  76. package/bundle/chunk-9894a2yn.js +2 -0
  77. package/bundle/chunk-98ye2nwt.js +2 -0
  78. package/bundle/{chunk-48gap82w.js → chunk-9bbwxp5d.js} +1 -1
  79. package/bundle/{chunk-z0kbyr00.js → chunk-9d0exvey.js} +2 -2
  80. package/bundle/{chunk-8ysp6vf8.js → chunk-9fjcgdea.js} +1 -1
  81. package/bundle/{chunk-jpn9zfj5.js → chunk-9nf5650d.js} +1 -1
  82. package/bundle/{chunk-n6tqtk6h.js → chunk-9pj10pgd.js} +2 -2
  83. package/bundle/chunk-9s4excg8.js +2 -0
  84. package/bundle/{chunk-t6zz47zk.js → chunk-9s5h0f1y.js} +2 -2
  85. package/bundle/{chunk-p8ak162p.js → chunk-9tz18e54.js} +1 -1
  86. package/bundle/{chunk-fs1vb39f.js → chunk-9zy5tsry.js} +3 -3
  87. package/bundle/{chunk-bc2krtaf.js → chunk-a70m6kyn.js} +1 -1
  88. package/bundle/{chunk-cr5tknvb.js → chunk-acsqvgdw.js} +1 -1
  89. package/bundle/chunk-aetgcegz.js +2 -0
  90. package/bundle/chunk-agas0nay.js +2 -0
  91. package/bundle/{chunk-vs3s49jw.js → chunk-ajnzv5jt.js} +2 -2
  92. package/bundle/{chunk-9cf2ktyh.js → chunk-asxmkyz2.js} +1 -1
  93. package/bundle/{chunk-0ffmwhw7.js → chunk-at4dge22.js} +1 -1
  94. package/bundle/{chunk-sa0rrreh.js → chunk-atacnspd.js} +2 -2
  95. package/bundle/chunk-ayknzc4m.js +2 -0
  96. package/bundle/chunk-azss4acq.js +3 -0
  97. package/bundle/chunk-b2ybst88.js +2 -0
  98. package/bundle/{chunk-cghz0855.js → chunk-b8rzn48q.js} +1 -1
  99. package/bundle/{chunk-dhvx9p54.js → chunk-b9f78x5g.js} +1 -1
  100. package/bundle/chunk-bd5vtjd7.js +2 -0
  101. package/bundle/chunk-bjqqk6jt.js +2 -0
  102. package/bundle/{chunk-mv7q6ach.js → chunk-brk1jca3.js} +1 -1
  103. package/bundle/{chunk-5r7c6vvx.js → chunk-by1kwg4r.js} +2 -2
  104. package/bundle/{chunk-1acn5me8.js → chunk-c1c8ch3g.js} +327 -313
  105. package/bundle/{chunk-2nheahmq.js → chunk-c2ns2csn.js} +1 -1
  106. package/bundle/{chunk-qk5vy2pr.js → chunk-c3ey896z.js} +1 -1
  107. package/bundle/{chunk-b7sr9rn3.js → chunk-c8080519.js} +1 -1
  108. package/bundle/{chunk-vd8cmdpv.js → chunk-c8yc8qcd.js} +1 -1
  109. package/bundle/{chunk-nas631g2.js → chunk-c9cngded.js} +1 -1
  110. package/bundle/{chunk-ejhhrece.js → chunk-ccdjzn2m.js} +3 -3
  111. package/bundle/{chunk-rk0fnvp5.js → chunk-cdenq7jb.js} +1 -1
  112. package/bundle/chunk-cpkcdykz.js +2 -0
  113. package/bundle/{chunk-56wq8cqj.js → chunk-cs825mxr.js} +1 -1
  114. package/bundle/{chunk-1bxfzd6r.js → chunk-cxtwavyf.js} +4 -4
  115. package/bundle/chunk-cyafm8d6.js +2 -0
  116. package/bundle/{chunk-eewe7tx1.js → chunk-d0dsgxk4.js} +2 -2
  117. package/bundle/{chunk-g3n465ee.js → chunk-d1fv2c7s.js} +2 -2
  118. package/bundle/{chunk-1p9s5jj1.js → chunk-d1xfv4d3.js} +1 -1
  119. package/bundle/chunk-d4316r53.js +2 -0
  120. package/bundle/chunk-d8ym7mcg.js +2 -0
  121. package/bundle/{chunk-53jstmdp.js → chunk-d9w2bn2e.js} +1 -1
  122. package/bundle/{chunk-g26redah.js → chunk-dd461rg3.js} +1 -1
  123. package/bundle/{chunk-e0vrxetq.js → chunk-djfrkbd5.js} +1 -1
  124. package/bundle/{chunk-mrq35ftw.js → chunk-dm447tgc.js} +2 -2
  125. package/bundle/{chunk-7pckez5z.js → chunk-dnjyepb2.js} +2 -2
  126. package/bundle/chunk-dnpjxjkp.js +2 -0
  127. package/bundle/{chunk-0a4pmkc9.js → chunk-dp6ms01y.js} +2 -2
  128. package/bundle/{chunk-rdreeyv0.js → chunk-dx7rexx3.js} +3 -3
  129. package/bundle/{chunk-kre93a89.js → chunk-dz3kcsb6.js} +2 -2
  130. package/bundle/{chunk-dcv6wj9x.js → chunk-dzma8zvf.js} +2 -2
  131. package/bundle/{chunk-e2wfj86b.js → chunk-e10c0crf.js} +1 -1
  132. package/bundle/{chunk-wn63q3xp.js → chunk-e1x1mp9m.js} +1 -1
  133. package/bundle/{chunk-tk4z6r09.js → chunk-e3mrw0k7.js} +1 -1
  134. package/bundle/chunk-e5gjqtby.js +2 -0
  135. package/bundle/{chunk-3z2zn8rj.js → chunk-e72jwbfc.js} +1 -1
  136. package/bundle/{chunk-85wh85pk.js → chunk-eabbrt1p.js} +1 -1
  137. package/bundle/{chunk-jr80q31w.js → chunk-ecz4h0a2.js} +1 -1
  138. package/bundle/chunk-ee3mqzms.js +2 -0
  139. package/bundle/chunk-eme9xmh3.js +2 -0
  140. package/bundle/{chunk-cf9m9m9q.js → chunk-eqpep2m2.js} +1 -1
  141. package/bundle/chunk-er5f61s5.js +2 -0
  142. package/bundle/chunk-er716522.js +2 -0
  143. package/bundle/{chunk-qgek59e6.js → chunk-ev6jwt7q.js} +1 -1
  144. package/bundle/chunk-ez3gacqe.js +2 -0
  145. package/bundle/{chunk-ax64ngf2.js → chunk-f0ab2f28.js} +1 -1
  146. package/bundle/{chunk-ggncq8w8.js → chunk-f17se3hh.js} +1 -1
  147. package/bundle/chunk-f3y5kr76.js +14 -0
  148. package/bundle/{chunk-vsqvnxbz.js → chunk-f6btedtt.js} +1 -1
  149. package/bundle/{chunk-nsp1za8t.js → chunk-f6vy70p6.js} +2 -2
  150. package/bundle/{chunk-0s4cp6q2.js → chunk-ff8q10gk.js} +2 -2
  151. package/bundle/chunk-fkc7wf1p.js +2 -0
  152. package/bundle/chunk-fm6z8nqb.js +2 -0
  153. package/bundle/{chunk-fw1f47de.js → chunk-fsndgr9a.js} +1 -1
  154. package/bundle/{chunk-pqg1wjb5.js → chunk-fvv1cret.js} +1 -1
  155. package/bundle/{chunk-j10a984e.js → chunk-g08qj9z3.js} +2 -2
  156. package/bundle/chunk-g0qwm23d.js +2 -0
  157. package/bundle/chunk-g4yn8cj8.js +2 -0
  158. package/bundle/{chunk-rwwvy89t.js → chunk-g52wmt1v.js} +1 -1
  159. package/bundle/{chunk-trstb8ee.js → chunk-gb51fn3r.js} +1 -1
  160. package/bundle/{chunk-kgv68cpb.js → chunk-gbnf7zf9.js} +1 -1
  161. package/bundle/{chunk-0w19vmd7.js → chunk-ge7csm6m.js} +2 -2
  162. package/bundle/{chunk-bkfafcbw.js → chunk-gksbv613.js} +2 -2
  163. package/bundle/{chunk-afr8m0q1.js → chunk-gmq1kwn0.js} +1 -1
  164. package/bundle/{chunk-b5ym419d.js → chunk-gq3zb4wv.js} +2 -2
  165. package/bundle/{chunk-tbx741en.js → chunk-gqgjybjc.js} +1 -1
  166. package/bundle/{chunk-bhg69t69.js → chunk-gx4v8z64.js} +2 -2
  167. package/bundle/{chunk-sm1g81cv.js → chunk-h0pvxre5.js} +1 -1
  168. package/bundle/chunk-h1spsy3y.js +2 -0
  169. package/bundle/{chunk-sbjymf20.js → chunk-h2p984qb.js} +2 -2
  170. package/bundle/{chunk-gznt3dv8.js → chunk-h6z86aay.js} +1 -1
  171. package/bundle/chunk-h8gkv40j.js +2 -0
  172. package/bundle/{chunk-zsg29gba.js → chunk-h91zmzs5.js} +1 -1
  173. package/bundle/{chunk-zrhw1szj.js → chunk-hgm8yfcb.js} +1 -1
  174. package/bundle/chunk-j59kmb49.js +2 -0
  175. package/bundle/chunk-j5z95b6f.js +3 -0
  176. package/bundle/{chunk-52xvhxek.js → chunk-j7637cwg.js} +2 -2
  177. package/bundle/{chunk-rwnwjm82.js → chunk-jbcqhw3x.js} +2 -2
  178. package/bundle/{chunk-maa21rh9.js → chunk-je8fcsa9.js} +1 -1
  179. package/bundle/{chunk-y0h3jfkj.js → chunk-jt6bvxtr.js} +1 -1
  180. package/bundle/chunk-jv37ghev.js +2 -0
  181. package/bundle/chunk-k10rtgsk.js +5 -0
  182. package/bundle/chunk-k3hcb6qf.js +2 -0
  183. package/bundle/chunk-k5d822n2.js +3 -0
  184. package/bundle/{chunk-2vaphpz0.js → chunk-kc8n5cgb.js} +1 -1
  185. package/bundle/chunk-kcqeh1e5.js +2 -0
  186. package/bundle/{chunk-5xkp27b1.js → chunk-kds2g7r2.js} +1 -1
  187. package/bundle/{chunk-scnbt714.js → chunk-kec1xw1n.js} +1 -1
  188. package/bundle/{chunk-13jq2ygc.js → chunk-kk850sdw.js} +2 -2
  189. package/bundle/{chunk-3bb4aqh9.js → chunk-m01h6kk1.js} +1 -1
  190. package/bundle/{chunk-e0hha3be.js → chunk-m4j6t713.js} +1 -1
  191. package/bundle/chunk-m8ytbq04.js +2 -0
  192. package/bundle/chunk-mf9nc4xz.js +2 -0
  193. package/bundle/{chunk-7thhd7ds.js → chunk-mmqyter3.js} +1 -1
  194. package/bundle/{chunk-y31f8k5f.js → chunk-mn0pshpv.js} +1 -1
  195. package/bundle/{chunk-s2tc3qs0.js → chunk-mn5cacf6.js} +2 -2
  196. package/bundle/{chunk-0egrckx0.js → chunk-mp1x10t5.js} +2 -2
  197. package/bundle/chunk-mxby91bj.js +2 -0
  198. package/bundle/chunk-mzv1gh6f.js +2 -0
  199. package/bundle/chunk-n0hsvvw8.js +2 -0
  200. package/bundle/{chunk-az3nss5m.js → chunk-ngyv4fhn.js} +2 -2
  201. package/bundle/{chunk-g9nwqwqp.js → chunk-nh4zk07t.js} +1 -1
  202. package/bundle/{chunk-8jmb5bd4.js → chunk-nk5vrenn.js} +2 -2
  203. package/bundle/chunk-nm1v9z14.js +2 -0
  204. package/bundle/chunk-nnkfdhh9.js +2 -0
  205. package/bundle/{chunk-jqj1ay7x.js → chunk-npdgfqaw.js} +1 -1
  206. package/bundle/{chunk-p2fte9vz.js → chunk-nq4x6792.js} +2 -2
  207. package/bundle/{chunk-wr6rnxr5.js → chunk-nqk8d62j.js} +1 -1
  208. package/bundle/{chunk-7jy53zqy.js → chunk-p506eydh.js} +1 -1
  209. package/bundle/{chunk-phpxxd48.js → chunk-p6jf1fyt.js} +1 -1
  210. package/bundle/chunk-p7nstcxa.js +2 -0
  211. package/bundle/{chunk-6ps30qax.js → chunk-pbanj1gk.js} +2 -2
  212. package/bundle/{chunk-vph4w4yy.js → chunk-pchv413c.js} +2 -2
  213. package/bundle/{chunk-qsme16gk.js → chunk-pf2vq6t1.js} +2 -2
  214. package/bundle/chunk-pfwkvv7g.js +2 -0
  215. package/bundle/{chunk-ntr0ezf2.js → chunk-pky8h8rh.js} +1 -1
  216. package/bundle/chunk-pn1jz8qj.js +2 -0
  217. package/bundle/chunk-pqvmtfk7.js +2 -0
  218. package/bundle/chunk-prgw26g3.js +2 -0
  219. package/bundle/{chunk-kckr30tf.js → chunk-psqtptrs.js} +1 -1
  220. package/bundle/chunk-pv9ty6v7.js +2 -0
  221. package/bundle/{chunk-060wbpz4.js → chunk-pwsajn96.js} +1 -1
  222. package/bundle/{chunk-vgt3artc.js → chunk-pxm0x3e0.js} +1 -1
  223. package/bundle/chunk-pyf649pz.js +2 -0
  224. package/bundle/{chunk-wd8f9r4k.js → chunk-q0xgxygw.js} +1 -1
  225. package/bundle/{chunk-rye1yjnr.js → chunk-q26s0wb5.js} +1 -1
  226. package/bundle/{chunk-a48mx917.js → chunk-q4mtwv1w.js} +2 -2
  227. package/bundle/chunk-q4rstre7.js +2 -0
  228. package/bundle/chunk-q6jk2v6g.js +2 -0
  229. package/bundle/{chunk-5wx962mw.js → chunk-q7s6z0nz.js} +1 -1
  230. package/bundle/{chunk-jmmtcr2r.js → chunk-q8fjktv4.js} +1 -1
  231. package/bundle/{chunk-m7tmgvh6.js → chunk-qbewhcsz.js} +1 -1
  232. package/bundle/chunk-qd43npx3.js +2 -0
  233. package/bundle/{chunk-ydgst3h8.js → chunk-qdafm7qg.js} +2 -2
  234. package/bundle/chunk-qdb21y83.js +2 -0
  235. package/bundle/{chunk-72crs18f.js → chunk-qdbx1qkr.js} +1 -1
  236. package/bundle/{chunk-6vnqbejg.js → chunk-qdh2dm62.js} +1 -1
  237. package/bundle/chunk-qeksaefy.js +2 -0
  238. package/bundle/{chunk-qk1jkc0n.js → chunk-qjw2zcq5.js} +1 -1
  239. package/bundle/{chunk-dt3bsmfe.js → chunk-qm9fm5ja.js} +2 -2
  240. package/bundle/{chunk-h8mfbbjh.js → chunk-qq9yc2tp.js} +2 -2
  241. package/bundle/{chunk-0tcggtwv.js → chunk-qtyapmy7.js} +1 -1
  242. package/bundle/{chunk-c987bemn.js → chunk-qyan69nb.js} +1 -1
  243. package/bundle/chunk-r7t9yb9d.js +2 -0
  244. package/bundle/{chunk-6tqbnxar.js → chunk-r81w6skn.js} +1 -1
  245. package/bundle/{chunk-f4mnp6xd.js → chunk-rk21wv4k.js} +1 -1
  246. package/bundle/{chunk-ccf4pgkr.js → chunk-rpdgn9z3.js} +2 -2
  247. package/bundle/chunk-rxnd79h7.js +7 -0
  248. package/bundle/chunk-s05hqtx1.js +3 -0
  249. package/bundle/chunk-s27cz24e.js +808 -0
  250. package/bundle/chunk-sdv3a4w3.js +2 -0
  251. package/bundle/{chunk-zwhmg9dj.js → chunk-se8d5xg9.js} +1 -1
  252. package/bundle/chunk-sk89becn.js +2 -0
  253. package/bundle/{chunk-sz0favtz.js → chunk-snf6ahg7.js} +1 -1
  254. package/bundle/{chunk-dgcannw0.js → chunk-t2r51r6v.js} +1 -1
  255. package/bundle/{chunk-rva2ekrt.js → chunk-t5wdstzv.js} +1 -1
  256. package/bundle/{chunk-vkkz40je.js → chunk-t9pq363q.js} +2 -2
  257. package/bundle/chunk-tc0996xz.js +2 -0
  258. package/bundle/chunk-td9hm9be.js +2 -0
  259. package/bundle/{chunk-xy8arehp.js → chunk-tdevq564.js} +1 -1
  260. package/bundle/chunk-te91d271.js +2 -0
  261. package/bundle/chunk-tfs50mgj.js +2 -0
  262. package/bundle/{chunk-5cw8235e.js → chunk-tg1f56s3.js} +1 -1
  263. package/bundle/chunk-thecq33z.js +3 -0
  264. package/bundle/{chunk-f2v4g7t1.js → chunk-tjfer79w.js} +1 -1
  265. package/bundle/chunk-tjvtp9d9.js +2 -0
  266. package/bundle/chunk-tkm9m3n0.js +2 -0
  267. package/bundle/{chunk-ynf17943.js → chunk-tm79yrf3.js} +2 -2
  268. package/bundle/{chunk-fv5mrdyc.js → chunk-v03xq38e.js} +2 -2
  269. package/bundle/chunk-v0hnn7nb.js +2 -0
  270. package/bundle/{chunk-ftvvm4r5.js → chunk-v16n1fep.js} +2 -2
  271. package/bundle/chunk-v1s1rcqx.js +2 -0
  272. package/bundle/chunk-v4dt4062.js +2 -0
  273. package/bundle/{chunk-makegrxs.js → chunk-v8bxj01h.js} +1 -1
  274. package/bundle/{chunk-ryrxgn6d.js → chunk-v8rqgt7h.js} +1 -1
  275. package/bundle/{chunk-m4r8sepw.js → chunk-vbb1jg02.js} +1 -1
  276. package/bundle/{chunk-2kh0tg92.js → chunk-vbfc0wgv.js} +2 -2
  277. package/bundle/{chunk-d839fr0w.js → chunk-vjt6mh10.js} +2 -2
  278. package/bundle/{chunk-gsg6zn7e.js → chunk-vk35g121.js} +2 -2
  279. package/bundle/{chunk-dwkrqtbc.js → chunk-vsfj16v9.js} +2 -2
  280. package/bundle/{chunk-zqdjk4rf.js → chunk-vy93mn7d.js} +2 -2
  281. package/bundle/{chunk-1har4t9a.js → chunk-waa781eh.js} +1 -1
  282. package/bundle/{chunk-wb47k8ah.js → chunk-wbt31xap.js} +2 -2
  283. package/bundle/{chunk-0tm6589k.js → chunk-wd2xmkdp.js} +2 -2
  284. package/bundle/{chunk-fej5x648.js → chunk-wecs14rz.js} +1 -1
  285. package/bundle/chunk-wgrq86kd.js +2 -0
  286. package/bundle/{chunk-4y9wbfd2.js → chunk-wh2qqhep.js} +2 -2
  287. package/bundle/{chunk-g878zd6e.js → chunk-x0hhw46n.js} +1 -1
  288. package/bundle/{chunk-w7a33cwa.js → chunk-x308f9j4.js} +2 -2
  289. package/bundle/{chunk-y3gy62q5.js → chunk-x50adh71.js} +1 -1
  290. package/bundle/chunk-x8ks2bn7.js +2 -0
  291. package/bundle/{chunk-s5aefff0.js → chunk-xcmbxny8.js} +1 -1
  292. package/bundle/{chunk-rmsqb6r4.js → chunk-xgf4k9q7.js} +1 -1
  293. package/bundle/{chunk-2caaqmec.js → chunk-xj0zc9za.js} +1 -1
  294. package/bundle/{chunk-27saej0r.js → chunk-xnxw5zz9.js} +2 -2
  295. package/bundle/{chunk-fjftb2sz.js → chunk-xqwk2zsx.js} +2 -2
  296. package/bundle/{chunk-d30k7dpf.js → chunk-xstxdw7v.js} +1 -1
  297. package/bundle/{chunk-dwqvcdmf.js → chunk-xv03hbgj.js} +1 -1
  298. package/bundle/{chunk-bwadggys.js → chunk-xvvt886p.js} +2 -2
  299. package/bundle/{chunk-bnw744ej.js → chunk-xy2ty5h5.js} +2 -2
  300. package/bundle/{chunk-wm9nh9nb.js → chunk-yce8ph5b.js} +2 -2
  301. package/bundle/{chunk-fh3d0wce.js → chunk-yexzxx6f.js} +1 -1
  302. package/bundle/{chunk-eyr5ymt8.js → chunk-yh1t6jrj.js} +1 -1
  303. package/bundle/chunk-yspstxkq.js +2 -0
  304. package/bundle/{chunk-ykpj10nz.js → chunk-yydqavgh.js} +2 -2
  305. package/bundle/{chunk-k3m7jfdh.js → chunk-yzd6cyep.js} +1 -1
  306. package/bundle/chunk-z023h7t8.js +2 -0
  307. package/bundle/chunk-z0383stv.js +2 -0
  308. package/bundle/{chunk-vbfej8ds.js → chunk-z0m1qm7j.js} +2 -2
  309. package/bundle/{chunk-bpfq8fz4.js → chunk-z69tt390.js} +1 -1
  310. package/bundle/chunk-zewrmk8x.js +2 -0
  311. package/bundle/{chunk-29gwtcey.js → chunk-zfqgh9h7.js} +1 -1
  312. package/bundle/{chunk-h1bvqstw.js → chunk-zskdxbbh.js} +1 -1
  313. package/bundle/{chunk-kveztc6k.js → chunk-ztvkzex1.js} +1 -1
  314. package/bundle/index.js +3 -3
  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-03zpnwk2.js +0 -2
  319. package/bundle/chunk-0aqdzyar.js +0 -2
  320. package/bundle/chunk-0eh3yc6e.js +0 -2
  321. package/bundle/chunk-0mh600tv.js +0 -2
  322. package/bundle/chunk-1a6q1f5n.js +0 -7
  323. package/bundle/chunk-2a5gjgvp.js +0 -2
  324. package/bundle/chunk-2phyc1c0.js +0 -2
  325. package/bundle/chunk-2pkfphgb.js +0 -2
  326. package/bundle/chunk-30wp95w1.js +0 -2
  327. package/bundle/chunk-32fpqd0n.js +0 -2
  328. package/bundle/chunk-3f2cjzb4.js +0 -2
  329. package/bundle/chunk-3qvap1kv.js +0 -2
  330. package/bundle/chunk-42hvspe7.js +0 -2
  331. package/bundle/chunk-452tk6v3.js +0 -2
  332. package/bundle/chunk-4gqb1hps.js +0 -2
  333. package/bundle/chunk-50qgz5ka.js +0 -2
  334. package/bundle/chunk-539cw9r0.js +0 -2
  335. package/bundle/chunk-5b0xyq5z.js +0 -2
  336. package/bundle/chunk-5j4nxpdy.js +0 -2
  337. package/bundle/chunk-5nxgk6hw.js +0 -2
  338. package/bundle/chunk-5qkvhr6y.js +0 -2
  339. package/bundle/chunk-6dpdkzrk.js +0 -2
  340. package/bundle/chunk-6p6m5956.js +0 -3
  341. package/bundle/chunk-705qkpra.js +0 -28
  342. package/bundle/chunk-76c400ze.js +0 -2
  343. package/bundle/chunk-7bxxc4a3.js +0 -2
  344. package/bundle/chunk-7g59hc61.js +0 -2
  345. package/bundle/chunk-7p88j56s.js +0 -2
  346. package/bundle/chunk-7r92d7v9.js +0 -14
  347. package/bundle/chunk-7trngc9g.js +0 -2
  348. package/bundle/chunk-8cebbmtf.js +0 -2
  349. package/bundle/chunk-8j1xcdmd.js +0 -2
  350. package/bundle/chunk-90r2z49k.js +0 -2
  351. package/bundle/chunk-94mjwy22.js +0 -2
  352. package/bundle/chunk-9bw6bx5c.js +0 -2
  353. package/bundle/chunk-aenrd7dk.js +0 -2
  354. package/bundle/chunk-ahmy80vb.js +0 -2
  355. package/bundle/chunk-avn12jkt.js +0 -2
  356. package/bundle/chunk-brk6bge4.js +0 -3
  357. package/bundle/chunk-ce5e7j62.js +0 -2
  358. package/bundle/chunk-cw1gwjx9.js +0 -2
  359. package/bundle/chunk-czw30fjs.js +0 -2
  360. package/bundle/chunk-dtcvqrmn.js +0 -2
  361. package/bundle/chunk-dwhsvpag.js +0 -2
  362. package/bundle/chunk-e0hfpdje.js +0 -2
  363. package/bundle/chunk-e5jk67xh.js +0 -2
  364. package/bundle/chunk-eg4pq4hv.js +0 -2
  365. package/bundle/chunk-ew3yz97p.js +0 -2
  366. package/bundle/chunk-f2yfyhh8.js +0 -2
  367. package/bundle/chunk-fd8x2nb4.js +0 -2
  368. package/bundle/chunk-fveaq0pb.js +0 -2
  369. package/bundle/chunk-gbvm6dpv.js +0 -2
  370. package/bundle/chunk-gkbx6edf.js +0 -2
  371. package/bundle/chunk-gq9hb2e8.js +0 -2
  372. package/bundle/chunk-gswhjd1h.js +0 -3
  373. package/bundle/chunk-h5w91zr4.js +0 -2
  374. package/bundle/chunk-hmpb3c21.js +0 -2
  375. package/bundle/chunk-hq7s4f75.js +0 -2
  376. package/bundle/chunk-j1h64m65.js +0 -2
  377. package/bundle/chunk-j32rr7rt.js +0 -2
  378. package/bundle/chunk-j871xzr7.js +0 -2
  379. package/bundle/chunk-k1qd8ecm.js +0 -808
  380. package/bundle/chunk-kx88qekb.js +0 -2
  381. package/bundle/chunk-m4g4djss.js +0 -2
  382. package/bundle/chunk-mt2by7rx.js +0 -3
  383. package/bundle/chunk-mwkms65j.js +0 -3
  384. package/bundle/chunk-n61e0znt.js +0 -2
  385. package/bundle/chunk-ndd4cn3z.js +0 -2
  386. package/bundle/chunk-nr2j8ytn.js +0 -3
  387. package/bundle/chunk-nsw5x43k.js +0 -2
  388. package/bundle/chunk-p5b5ekhh.js +0 -2
  389. package/bundle/chunk-pf23nw4z.js +0 -2
  390. package/bundle/chunk-pw3cv89g.js +0 -2
  391. package/bundle/chunk-qwmae3vk.js +0 -5
  392. package/bundle/chunk-rdk62809.js +0 -2
  393. package/bundle/chunk-rew6r516.js +0 -2
  394. package/bundle/chunk-rjcz4kbm.js +0 -2
  395. package/bundle/chunk-skgr9ypq.js +0 -2
  396. package/bundle/chunk-sv40pwe2.js +0 -2
  397. package/bundle/chunk-tax3ecy5.js +0 -2
  398. package/bundle/chunk-tfhpjmny.js +0 -2
  399. package/bundle/chunk-tnete6ye.js +0 -2
  400. package/bundle/chunk-tpyq7ycb.js +0 -2
  401. package/bundle/chunk-tr0rm1ka.js +0 -2
  402. package/bundle/chunk-ty14zznd.js +0 -2
  403. package/bundle/chunk-v5h5wxw5.js +0 -2
  404. package/bundle/chunk-v6141yq1.js +0 -2
  405. package/bundle/chunk-vjs69r6x.js +0 -2
  406. package/bundle/chunk-vmhar83s.js +0 -2
  407. package/bundle/chunk-vpjyk76v.js +0 -2
  408. package/bundle/chunk-vqvnw12p.js +0 -2
  409. package/bundle/chunk-w0sztk4y.js +0 -2
  410. package/bundle/chunk-w6bb320d.js +0 -2
  411. package/bundle/chunk-wqw6yjrg.js +0 -2
  412. package/bundle/chunk-ws08rxge.js +0 -2
  413. package/bundle/chunk-wwvek9zf.js +0 -3
  414. package/bundle/chunk-wz3dvc3g.js +0 -2
  415. package/bundle/chunk-x2pmqvdc.js +0 -2
  416. package/bundle/chunk-x4wfq39v.js +0 -2
  417. package/bundle/chunk-x7a3kqe5.js +0 -2
  418. package/bundle/chunk-xb22grz6.js +0 -2
  419. package/bundle/chunk-y3eeva80.js +0 -2
  420. package/bundle/chunk-yb6m08zj.js +0 -2
  421. package/bundle/chunk-ybcqkgs7.js +0 -2
  422. package/bundle/chunk-zj1jc1xt.js +0 -2
  423. package/bundle/chunk-zm0m0504.js +0 -2
  424. package/bundle/chunk-zq32jhj1.js +0 -2
  425. package/bundle/chunk-zxwjxszn.js +0 -2
@@ -1,4 +1,4 @@
1
1
  // @bun
2
- import{uO as O,xO as n}from"./chunk-e0vrxetq.js";var m=O((Y6,nq)=>{var V8=Number.MAX_SAFE_INTEGER||9007199254740991,X8=["major","premajor","minor","preminor","patch","prepatch","prerelease"];nq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:V8,RELEASE_TYPES:X8,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var s=O((W6,aq)=>{var O8=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};aq.exports=O8});var p=O((u,iq)=>{var{MAX_SAFE_COMPONENT_LENGTH:Aq,MAX_SAFE_BUILD_LENGTH:F8,MAX_LENGTH:x8}=m(),D8=s();u=iq.exports={};var U8=u.re=[],N8=u.safeRe=[],V=u.src=[],L8=u.safeSrc=[],X=u.t={},G8=0,Cq="[a-zA-Z0-9-]",P8=[["\\s",1],["\\d",x8],[Cq,F8]],A8=(q)=>{for(let[Z,$]of P8)q=q.split(`${Z}*`).join(`${Z}{0,${$}}`).split(`${Z}+`).join(`${Z}{1,${$}}`);return q},D=(q,Z,$)=>{let Q=A8(Z),K=G8++;D8(q,K,Z),X[q]=K,V[K]=Z,L8[K]=Q,U8[K]=new RegExp(Z,$?"g":void 0),N8[K]=new RegExp(Q,$?"g":void 0)};D("NUMERICIDENTIFIER","0|[1-9]\\d*");D("NUMERICIDENTIFIERLOOSE","\\d+");D("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Cq}*`);D("MAINVERSION",`(${V[X.NUMERICIDENTIFIER]})\\.(${V[X.NUMERICIDENTIFIER]})\\.(${V[X.NUMERICIDENTIFIER]})`);D("MAINVERSIONLOOSE",`(${V[X.NUMERICIDENTIFIERLOOSE]})\\.(${V[X.NUMERICIDENTIFIERLOOSE]})\\.(${V[X.NUMERICIDENTIFIERLOOSE]})`);D("PRERELEASEIDENTIFIER",`(?:${V[X.NONNUMERICIDENTIFIER]}|${V[X.NUMERICIDENTIFIER]})`);D("PRERELEASEIDENTIFIERLOOSE",`(?:${V[X.NONNUMERICIDENTIFIER]}|${V[X.NUMERICIDENTIFIERLOOSE]})`);D("PRERELEASE",`(?:-(${V[X.PRERELEASEIDENTIFIER]}(?:\\.${V[X.PRERELEASEIDENTIFIER]})*))`);D("PRERELEASELOOSE",`(?:-?(${V[X.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${V[X.PRERELEASEIDENTIFIERLOOSE]})*))`);D("BUILDIDENTIFIER",`${Cq}+`);D("BUILD",`(?:\\+(${V[X.BUILDIDENTIFIER]}(?:\\.${V[X.BUILDIDENTIFIER]})*))`);D("FULLPLAIN",`v?${V[X.MAINVERSION]}${V[X.PRERELEASE]}?${V[X.BUILD]}?`);D("FULL",`^${V[X.FULLPLAIN]}$`);D("LOOSEPLAIN",`[v=\\s]*${V[X.MAINVERSIONLOOSE]}${V[X.PRERELEASELOOSE]}?${V[X.BUILD]}?`);D("LOOSE",`^${V[X.LOOSEPLAIN]}$`);D("GTLT","((?:<|>)?=?)");D("XRANGEIDENTIFIERLOOSE",`${V[X.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);D("XRANGEIDENTIFIER",`${V[X.NUMERICIDENTIFIER]}|x|X|\\*`);D("XRANGEPLAIN",`[v=\\s]*(${V[X.XRANGEIDENTIFIER]})(?:\\.(${V[X.XRANGEIDENTIFIER]})(?:\\.(${V[X.XRANGEIDENTIFIER]})(?:${V[X.PRERELEASE]})?${V[X.BUILD]}?)?)?`);D("XRANGEPLAINLOOSE",`[v=\\s]*(${V[X.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[X.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[X.XRANGEIDENTIFIERLOOSE]})(?:${V[X.PRERELEASELOOSE]})?${V[X.BUILD]}?)?)?`);D("XRANGE",`^${V[X.GTLT]}\\s*${V[X.XRANGEPLAIN]}$`);D("XRANGELOOSE",`^${V[X.GTLT]}\\s*${V[X.XRANGEPLAINLOOSE]}$`);D("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Aq}})(?:\\.(\\d{1,${Aq}}))?(?:\\.(\\d{1,${Aq}}))?`);D("COERCE",`${V[X.COERCEPLAIN]}(?:$|[^\\d])`);D("COERCEFULL",V[X.COERCEPLAIN]+`(?:${V[X.PRERELEASE]})?(?:${V[X.BUILD]})?(?:$|[^\\d])`);D("COERCERTL",V[X.COERCE],!0);D("COERCERTLFULL",V[X.COERCEFULL],!0);D("LONETILDE","(?:~>?)");D("TILDETRIM",`(\\s*)${V[X.LONETILDE]}\\s+`,!0);u.tildeTrimReplace="$1~";D("TILDE",`^${V[X.LONETILDE]}${V[X.XRANGEPLAIN]}$`);D("TILDELOOSE",`^${V[X.LONETILDE]}${V[X.XRANGEPLAINLOOSE]}$`);D("LONECARET","(?:\\^)");D("CARETTRIM",`(\\s*)${V[X.LONECARET]}\\s+`,!0);u.caretTrimReplace="$1^";D("CARET",`^${V[X.LONECARET]}${V[X.XRANGEPLAIN]}$`);D("CARETLOOSE",`^${V[X.LONECARET]}${V[X.XRANGEPLAINLOOSE]}$`);D("COMPARATORLOOSE",`^${V[X.GTLT]}\\s*(${V[X.LOOSEPLAIN]})$|^$`);D("COMPARATOR",`^${V[X.GTLT]}\\s*(${V[X.FULLPLAIN]})$|^$`);D("COMPARATORTRIM",`(\\s*)${V[X.GTLT]}\\s*(${V[X.LOOSEPLAIN]}|${V[X.XRANGEPLAIN]})`,!0);u.comparatorTrimReplace="$1$2$3";D("HYPHENRANGE",`^\\s*(${V[X.XRANGEPLAIN]})\\s+-\\s+(${V[X.XRANGEPLAIN]})\\s*$`);D("HYPHENRANGELOOSE",`^\\s*(${V[X.XRANGEPLAINLOOSE]})\\s+-\\s+(${V[X.XRANGEPLAINLOOSE]})\\s*$`);D("STAR","(<|>)?=?\\s*\\*");D("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");D("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Wq=O((z6,sq)=>{var C8=Object.freeze({loose:!0}),E8=Object.freeze({}),H8=(q)=>{if(!q)return E8;if(typeof q!=="object")return C8;return q};sq.exports=H8});var Eq=O((_6,tq)=>{var rq=/^[0-9]+$/,oq=(q,Z)=>{if(typeof q==="number"&&typeof Z==="number")return q===Z?0:q<Z?-1:1;let $=rq.test(q),Q=rq.test(Z);if($&&Q)q=+q,Z=+Z;return q===Z?0:$&&!Q?-1:Q&&!$?1:q<Z?-1:1},k8=(q,Z)=>oq(Z,q);tq.exports={compareIdentifiers:oq,rcompareIdentifiers:k8}});var R=O((I6,q0)=>{var zq=s(),{MAX_LENGTH:eq,MAX_SAFE_INTEGER:_q}=m(),{safeRe:Iq,t:Bq}=p(),R8=Wq(),{compareIdentifiers:Hq}=Eq(),y8=(q,Z)=>{let $=Z.split(".");if($.length>q.length)return!1;for(let Q=0;Q<$.length;Q++)if(Hq(q[Q],$[Q])!==0)return!1;return!0};class v{constructor(q,Z){if(Z=R8(Z),q instanceof v)if(q.loose===!!Z.loose&&q.includePrerelease===!!Z.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>eq)throw TypeError(`version is longer than ${eq} characters`);zq("SemVer",q,Z),this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease;let $=q.trim().match(Z.loose?Iq[Bq.LOOSE]:Iq[Bq.FULL]);if(!$)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>_q||this.major<0)throw TypeError("Invalid major version");if(this.minor>_q||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>_q||this.patch<0)throw TypeError("Invalid patch version");if(!$[4])this.prerelease=[];else this.prerelease=$[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let K=+Q;if(K>=0&&K<_q)return K}return Q});this.build=$[5]?$[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(zq("SemVer.compare",this.version,this.options,q),!(q instanceof v)){if(typeof q==="string"&&q===this.version)return 0;q=new v(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof v))q=new v(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof v))q=new v(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let Z=0;do{let $=this.prerelease[Z],Q=q.prerelease[Z];if(zq("prerelease compare",Z,$,Q),$===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if($===void 0)return-1;else if($===Q)continue;else return Hq($,Q)}while(++Z)}compareBuild(q){if(!(q instanceof v))q=new v(q,this.options);let Z=0;do{let $=this.build[Z],Q=q.build[Z];if(zq("build compare",Z,$,Q),$===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if($===void 0)return-1;else if($===Q)continue;else return Hq($,Q)}while(++Z)}inc(q,Z,$){if(q.startsWith("pre")){if(!Z&&$===!1)throw Error("invalid increment argument: identifier is empty");if(Z){let Q=`-${Z}`.match(this.options.loose?Iq[Bq.PRERELEASELOOSE]:Iq[Bq.PRERELEASE]);if(!Q||Q[1]!==Z)throw Error(`invalid identifier: ${Z}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Z,$);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Z,$);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Z,$),this.inc("pre",Z,$);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",Z,$);this.inc("pre",Z,$);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number($)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let K=this.prerelease.length;while(--K>=0)if(typeof this.prerelease[K]==="number")this.prerelease[K]++,K=-2;if(K===-1){if(Z===this.prerelease.join(".")&&$===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if(Z){let K=[Z,Q];if($===!1)K=[Z];if(y8(this.prerelease,Z)){let Y=this.prerelease[Z.split(".").length];if(isNaN(Y))this.prerelease=K}else this.prerelease=K}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}q0.exports=v});var d=O((B6,$0)=>{var Z0=R(),w8=(q,Z,$=!1)=>{if(q instanceof Z0)return q;try{return new Z0(q,Z)}catch(Q){if(!$)return null;throw Q}};$0.exports=w8});var K0=O((J6,Q0)=>{var S8=d(),T8=(q,Z)=>{let $=S8(q,Z);return $?$.version:null};Q0.exports=T8});var W0=O((V6,Y0)=>{var j8=d(),M8=(q,Z)=>{let $=j8(q.trim().replace(/^[=v]+/,""),Z);return $?$.version:null};Y0.exports=M8});var I0=O((X6,_0)=>{var z0=R(),b8=(q,Z,$,Q,K)=>{if(typeof $==="string")K=Q,Q=$,$=void 0;try{return new z0(q instanceof z0?q.version:q,$).inc(Z,Q,K).version}catch(Y){return null}};_0.exports=b8});var V0=O((O6,J0)=>{var B0=d(),v8=(q,Z)=>{let $=B0(q,null,!0),Q=B0(Z,null,!0),K=$.compare(Q);if(K===0)return null;let Y=K>0,W=Y?$:Q,z=Y?Q:$,_=!!W.prerelease.length;if(!!z.prerelease.length&&!_){if(!z.patch&&!z.minor)return"major";if(z.compareMain(W)===0){if(z.minor&&!z.patch)return"minor";return"patch"}}let J=_?"pre":"";if($.major!==Q.major)return J+"major";if($.minor!==Q.minor)return J+"minor";if($.patch!==Q.patch)return J+"patch";return"prerelease"};J0.exports=v8});var O0=O((F6,X0)=>{var u8=R(),f8=(q,Z)=>new u8(q,Z).major;X0.exports=f8});var x0=O((x6,F0)=>{var d8=R(),h8=(q,Z)=>new d8(q,Z).minor;F0.exports=h8});var U0=O((D6,D0)=>{var l8=R(),g8=(q,Z)=>new l8(q,Z).patch;D0.exports=g8});var L0=O((U6,N0)=>{var c8=d(),m8=(q,Z)=>{let $=c8(q,Z);return $&&$.prerelease.length?$.prerelease:null};N0.exports=m8});var M=O((N6,P0)=>{var G0=R(),p8=(q,Z,$)=>new G0(q,$).compare(new G0(Z,$));P0.exports=p8});var C0=O((L6,A0)=>{var n8=M(),a8=(q,Z,$)=>n8(Z,q,$);A0.exports=a8});var H0=O((G6,E0)=>{var i8=M(),s8=(q,Z)=>i8(q,Z,!0);E0.exports=s8});var Jq=O((P6,R0)=>{var k0=R(),r8=(q,Z,$)=>{let Q=new k0(q,$),K=new k0(Z,$);return Q.compare(K)||Q.compareBuild(K)};R0.exports=r8});var w0=O((A6,y0)=>{var o8=Jq(),t8=(q,Z)=>q.sort(($,Q)=>o8($,Q,Z));y0.exports=t8});var T0=O((C6,S0)=>{var e8=Jq(),q9=(q,Z)=>q.sort(($,Q)=>e8(Q,$,Z));S0.exports=q9});var r=O((E6,j0)=>{var Z9=M(),$9=(q,Z,$)=>Z9(q,Z,$)>0;j0.exports=$9});var Vq=O((H6,M0)=>{var Q9=M(),K9=(q,Z,$)=>Q9(q,Z,$)<0;M0.exports=K9});var kq=O((k6,b0)=>{var Y9=M(),W9=(q,Z,$)=>Y9(q,Z,$)===0;b0.exports=W9});var Rq=O((R6,v0)=>{var z9=M(),_9=(q,Z,$)=>z9(q,Z,$)!==0;v0.exports=_9});var Xq=O((y6,u0)=>{var I9=M(),B9=(q,Z,$)=>I9(q,Z,$)>=0;u0.exports=B9});var Oq=O((w6,f0)=>{var J9=M(),V9=(q,Z,$)=>J9(q,Z,$)<=0;f0.exports=V9});var yq=O((S6,d0)=>{var X9=kq(),O9=Rq(),F9=r(),x9=Xq(),D9=Vq(),U9=Oq(),N9=(q,Z,$,Q)=>{switch(Z){case"===":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q===$;case"!==":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q!==$;case"":case"=":case"==":return X9(q,$,Q);case"!=":return O9(q,$,Q);case">":return F9(q,$,Q);case">=":return x9(q,$,Q);case"<":return D9(q,$,Q);case"<=":return U9(q,$,Q);default:throw TypeError(`Invalid operator: ${Z}`)}};d0.exports=N9});var l0=O((T6,h0)=>{var L9=R(),G9=d(),{safeRe:Fq,t:xq}=p(),P9=(q,Z)=>{if(q instanceof L9)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;Z=Z||{};let $=null;if(!Z.rtl)$=q.match(Z.includePrerelease?Fq[xq.COERCEFULL]:Fq[xq.COERCE]);else{let _=Z.includePrerelease?Fq[xq.COERCERTLFULL]:Fq[xq.COERCERTL],I;while((I=_.exec(q))&&(!$||$.index+$[0].length!==q.length)){if(!$||I.index+I[0].length!==$.index+$[0].length)$=I;_.lastIndex=I.index+I[1].length+I[2].length}_.lastIndex=-1}if($===null)return null;let Q=$[2],K=$[3]||"0",Y=$[4]||"0",W=Z.includePrerelease&&$[5]?`-${$[5]}`:"",z=Z.includePrerelease&&$[6]?`+${$[6]}`:"";return G9(`${Q}.${K}.${Y}${W}${z}`,Z)};h0.exports=P9});var c0=O((j6,g0)=>{var A9=d(),C9=m(),E9=R(),H9=(q,Z,$)=>{if(!C9.RELEASE_TYPES.includes(Z))return null;let Q=k9(q,$);return Q&&R9(Q,Z)},k9=(q,Z)=>{let $=q instanceof E9?q.version:q;return A9($,Z)},R9=(q,Z)=>{if(y9(Z))return q.version;switch(q.prerelease=[],Z){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},y9=(q)=>{return q.startsWith("pre")};g0.exports=H9});var n0=O((M6,p0)=>{class m0{constructor(){this.max=1000,this.map=new Map}get(q){let Z=this.map.get(q);if(Z===void 0)return;else return this.map.delete(q),this.map.set(q,Z),Z}delete(q){return this.map.delete(q)}set(q,Z){if(!this.delete(q)&&Z!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,Z)}return this}}p0.exports=m0});var b=O((b6,r0)=>{var w9=/\s+/g;class o{constructor(q,Z){if(Z=T9(Z),q instanceof o)if(q.loose===!!Z.loose&&q.includePrerelease===!!Z.includePrerelease)return q;else return new o(q.raw,Z);if(q instanceof wq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease,this.raw=q.trim().replace(w9," "),this.set=this.raw.split("||").map(($)=>this.parseRange($.trim())).filter(($)=>$.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let $=this.set[0];if(this.set=this.set.filter((Q)=>!i0(Q[0])),this.set.length===0)this.set=[$];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&l9(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let Z=this.set[q];for(let $=0;$<Z.length;$++){if($>0)this.formatted+=" ";this.formatted+=Z[$].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(h9,"");let $=((this.options.includePrerelease&&f9)|(this.options.loose&&d9))+":"+q,Q=a0.get($);if(Q)return Q;let K=this.options.loose,Y=K?S[y.HYPHENRANGELOOSE]:S[y.HYPHENRANGE];q=q.replace(Y,o9(this.options.includePrerelease)),P("hyphen replace",q),q=q.replace(S[y.COMPARATORTRIM],b9),P("comparator trim",q),q=q.replace(S[y.TILDETRIM],v9),P("tilde trim",q),q=q.replace(S[y.CARETTRIM],u9),P("caret trim",q);let W=q.split(" ").map((J)=>g9(J,this.options)).join(" ").split(/\s+/).map((J)=>r9(J,this.options));if(K)W=W.filter((J)=>{return P("loose invalid filter",J,this.options),!!J.match(S[y.COMPARATORLOOSE])});P("range list",W);let z=new Map,_=W.map((J)=>new wq(J,this.options));for(let J of _){if(i0(J))return[J];z.set(J.value,J)}if(z.size>1&&z.has(""))z.delete("");let I=[...z.values()];return a0.set($,I),I}intersects(q,Z){if(!(q instanceof o))throw TypeError("a Range is required");return this.set.some(($)=>{return s0($,Z)&&q.set.some((Q)=>{return s0(Q,Z)&&$.every((K)=>{return Q.every((Y)=>{return K.intersects(Y,Z)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new j9(q,this.options)}catch(Z){return!1}for(let Z=0;Z<this.set.length;Z++)if(t9(this.set[Z],q,this.options))return!0;return!1}}r0.exports=o;var S9=n0(),a0=new S9,T9=Wq(),wq=t(),P=s(),j9=R(),{safeRe:S,src:M9,t:y,comparatorTrimReplace:b9,tildeTrimReplace:v9,caretTrimReplace:u9}=p(),{FLAG_INCLUDE_PRERELEASE:f9,FLAG_LOOSE:d9}=m(),h9=new RegExp(M9[y.BUILD],"g"),i0=(q)=>q.value==="<0.0.0-0",l9=(q)=>q.value==="",s0=(q,Z)=>{let $=!0,Q=q.slice(),K=Q.pop();while($&&Q.length)$=Q.every((Y)=>{return K.intersects(Y,Z)}),K=Q.pop();return $},g9=(q,Z)=>{return q=q.replace(S[y.BUILD],""),P("comp",q,Z),q=p9(q,Z),P("caret",q),q=c9(q,Z),P("tildes",q),q=a9(q,Z),P("xrange",q),q=s9(q,Z),P("stars",q),q},T=(q)=>!q||q.toLowerCase()==="x"||q==="*",c9=(q,Z)=>{return q.trim().split(/\s+/).map(($)=>m9($,Z)).join(" ")},m9=(q,Z)=>{let $=Z.loose?S[y.TILDELOOSE]:S[y.TILDE];return q.replace($,(Q,K,Y,W,z)=>{P("tilde",q,Q,K,Y,W,z);let _;if(T(K))_="";else if(T(Y))_=`>=${K}.0.0 <${+K+1}.0.0-0`;else if(T(W))_=`>=${K}.${Y}.0 <${K}.${+Y+1}.0-0`;else if(z)P("replaceTilde pr",z),_=`>=${K}.${Y}.${W}-${z} <${K}.${+Y+1}.0-0`;else _=`>=${K}.${Y}.${W} <${K}.${+Y+1}.0-0`;return P("tilde return",_),_})},p9=(q,Z)=>{return q.trim().split(/\s+/).map(($)=>n9($,Z)).join(" ")},n9=(q,Z)=>{P("caret",q,Z);let $=Z.loose?S[y.CARETLOOSE]:S[y.CARET],Q=Z.includePrerelease?"-0":"";return q.replace($,(K,Y,W,z,_)=>{P("caret",q,K,Y,W,z,_);let I;if(T(Y))I="";else if(T(W))I=`>=${Y}.0.0${Q} <${+Y+1}.0.0-0`;else if(T(z))if(Y==="0")I=`>=${Y}.${W}.0${Q} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.0${Q} <${+Y+1}.0.0-0`;else if(_)if(P("replaceCaret pr",_),Y==="0")if(W==="0")I=`>=${Y}.${W}.${z}-${_} <${Y}.${W}.${+z+1}-0`;else I=`>=${Y}.${W}.${z}-${_} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.${z}-${_} <${+Y+1}.0.0-0`;else if(P("no pr"),Y==="0")if(W==="0")I=`>=${Y}.${W}.${z}${Q} <${Y}.${W}.${+z+1}-0`;else I=`>=${Y}.${W}.${z}${Q} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.${z} <${+Y+1}.0.0-0`;return P("caret return",I),I})},a9=(q,Z)=>{return P("replaceXRanges",q,Z),q.split(/\s+/).map(($)=>i9($,Z)).join(" ")},i9=(q,Z)=>{q=q.trim();let $=Z.loose?S[y.XRANGELOOSE]:S[y.XRANGE];return q.replace($,(Q,K,Y,W,z,_)=>{P("xRange",q,Q,K,Y,W,z,_);let I=T(Y),J=I||T(W),F=J||T(z),N=F;if(K==="="&&N)K="";if(_=Z.includePrerelease?"-0":"",I)if(K===">"||K==="<")Q="<0.0.0-0";else Q="*";else if(K&&N){if(J)W=0;if(z=0,K===">")if(K=">=",J)Y=+Y+1,W=0,z=0;else W=+W+1,z=0;else if(K==="<=")if(K="<",J)Y=+Y+1;else W=+W+1;if(K==="<")_="-0";Q=`${K+Y}.${W}.${z}${_}`}else if(J)Q=`>=${Y}.0.0${_} <${+Y+1}.0.0-0`;else if(F)Q=`>=${Y}.${W}.0${_} <${Y}.${+W+1}.0-0`;return P("xRange return",Q),Q})},s9=(q,Z)=>{return P("replaceStars",q,Z),q.trim().replace(S[y.STAR],"")},r9=(q,Z)=>{return P("replaceGTE0",q,Z),q.trim().replace(S[Z.includePrerelease?y.GTE0PRE:y.GTE0],"")},o9=(q)=>(Z,$,Q,K,Y,W,z,_,I,J,F,N)=>{if(T(Q))$="";else if(T(K))$=`>=${Q}.0.0${q?"-0":""}`;else if(T(Y))$=`>=${Q}.${K}.0${q?"-0":""}`;else if(W)$=`>=${$}`;else $=`>=${$}${q?"-0":""}`;if(T(I))_="";else if(T(J))_=`<${+I+1}.0.0-0`;else if(T(F))_=`<${I}.${+J+1}.0-0`;else if(N)_=`<=${I}.${J}.${F}-${N}`;else if(q)_=`<${I}.${J}.${+F+1}-0`;else _=`<=${_}`;return`${$} ${_}`.trim()},t9=(q,Z,$)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test(Z))return!1;if(Z.prerelease.length&&!$.includePrerelease){for(let Q=0;Q<q.length;Q++){if(P(q[Q].semver),q[Q].semver===wq.ANY)continue;if(q[Q].semver.prerelease.length>0){let K=q[Q].semver;if(K.major===Z.major&&K.minor===Z.minor&&K.patch===Z.patch)return!0}}return!1}return!0}});var t=O((v6,$1)=>{var e=Symbol("SemVer ANY");class Dq{static get ANY(){return e}constructor(q,Z){if(Z=o0(Z),q instanceof Dq)if(q.loose===!!Z.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Tq("comparator",q,Z),this.options=Z,this.loose=!!Z.loose,this.parse(q),this.semver===e)this.value="";else this.value=this.operator+this.semver.version;Tq("comp",this)}parse(q){let Z=this.options.loose?t0[e0.COMPARATORLOOSE]:t0[e0.COMPARATOR],$=q.match(Z);if(!$)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=$[1]!==void 0?$[1]:"",this.operator==="=")this.operator="";if(!$[2])this.semver=e;else this.semver=new q1($[2],this.options.loose)}toString(){return this.value}test(q){if(Tq("Comparator.test",q,this.options.loose),this.semver===e||q===e)return!0;if(typeof q==="string")try{q=new q1(q,this.options)}catch(Z){return!1}return Sq(q,this.operator,this.semver,this.options)}intersects(q,Z){if(!(q instanceof Dq))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new Z1(q.value,Z).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new Z1(this.value,Z).test(q.semver)}if(Z=o0(Z),Z.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!Z.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Sq(this.semver,"<",q.semver,Z)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Sq(this.semver,">",q.semver,Z)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}$1.exports=Dq;var o0=Wq(),{safeRe:t0,t:e0}=p(),Sq=yq(),Tq=s(),q1=R(),Z1=b()});var qq=O((u6,Q1)=>{var e9=b(),qZ=(q,Z,$)=>{try{Z=new e9(Z,$)}catch(Q){return!1}return Z.test(q)};Q1.exports=qZ});var Y1=O((f6,K1)=>{var ZZ=b(),$Z=(q,Z)=>new ZZ(q,Z).set.map(($)=>$.map((Q)=>Q.value).join(" ").trim().split(" "));K1.exports=$Z});var z1=O((d6,W1)=>{var QZ=R(),KZ=b(),YZ=(q,Z,$)=>{let Q=null,K=null,Y=null;try{Y=new KZ(Z,$)}catch(W){return null}return q.forEach((W)=>{if(Y.test(W)){if(!Q||K.compare(W)===-1)Q=W,K=new QZ(Q,$)}}),Q};W1.exports=YZ});var I1=O((h6,_1)=>{var WZ=R(),zZ=b(),_Z=(q,Z,$)=>{let Q=null,K=null,Y=null;try{Y=new zZ(Z,$)}catch(W){return null}return q.forEach((W)=>{if(Y.test(W)){if(!Q||K.compare(W)===1)Q=W,K=new WZ(Q,$)}}),Q};_1.exports=_Z});var V1=O((l6,J1)=>{var jq=R(),IZ=b(),B1=r(),BZ=(q,Z)=>{q=new IZ(q,Z);let $=new jq("0.0.0");if(q.test($))return $;if($=new jq("0.0.0-0"),q.test($))return $;$=null;for(let Q=0;Q<q.set.length;++Q){let K=q.set[Q],Y=null;if(K.forEach((W)=>{let z=new jq(W.semver.version);switch(W.operator){case">":if(z.prerelease.length===0)z.patch++;else z.prerelease.push(0);z.raw=z.format();case"":case">=":if(!Y||B1(z,Y))Y=z;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${W.operator}`)}}),Y&&(!$||B1($,Y)))$=Y}if($&&q.test($))return $;return null};J1.exports=BZ});var O1=O((g6,X1)=>{var JZ=b(),VZ=(q,Z)=>{try{return new JZ(q,Z).range||"*"}catch($){return null}};X1.exports=VZ});var Uq=O((c6,U1)=>{var XZ=R(),D1=t(),{ANY:OZ}=D1,FZ=b(),xZ=qq(),F1=r(),x1=Vq(),DZ=Oq(),UZ=Xq(),NZ=(q,Z,$,Q)=>{q=new XZ(q,Q),Z=new FZ(Z,Q);let K,Y,W,z,_;switch($){case">":K=F1,Y=DZ,W=x1,z=">",_=">=";break;case"<":K=x1,Y=UZ,W=F1,z="<",_="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(xZ(q,Z,Q))return!1;for(let I=0;I<Z.set.length;++I){let J=Z.set[I],F=null,N=null;if(J.forEach((B)=>{if(B.semver===OZ)B=new D1(">=0.0.0");if(F=F||B,N=N||B,K(B.semver,F.semver,Q))F=B;else if(W(B.semver,N.semver,Q))N=B}),F.operator===z||F.operator===_)return!1;if((!N.operator||N.operator===z)&&Y(q,N.semver))return!1;else if(N.operator===_&&W(q,N.semver))return!1}return!0};U1.exports=NZ});var L1=O((m6,N1)=>{var LZ=Uq(),GZ=(q,Z,$)=>LZ(q,Z,">",$);N1.exports=GZ});var P1=O((p6,G1)=>{var PZ=Uq(),AZ=(q,Z,$)=>PZ(q,Z,"<",$);G1.exports=AZ});var E1=O((n6,C1)=>{var A1=b(),CZ=(q,Z,$)=>{return q=new A1(q,$),Z=new A1(Z,$),q.intersects(Z,$)};C1.exports=CZ});var k1=O((a6,H1)=>{var EZ=qq(),HZ=M();H1.exports=(q,Z,$)=>{let Q=[],K=null,Y=null,W=q.sort((J,F)=>HZ(J,F,$));for(let J of W)if(EZ(J,Z,$)){if(Y=J,!K)K=J}else{if(Y)Q.push([K,Y]);Y=null,K=null}if(K)Q.push([K,null]);let z=[];for(let[J,F]of Q)if(J===F)z.push(J);else if(!F&&J===W[0])z.push("*");else if(!F)z.push(`>=${J}`);else if(J===W[0])z.push(`<=${F}`);else z.push(`${J} - ${F}`);let _=z.join(" || "),I=typeof Z.raw==="string"?Z.raw:String(Z);return _.length<I.length?_:Z}});var j1=O((i6,T1)=>{var R1=b(),vq=t(),{ANY:Mq}=vq,bq=qq(),uq=M(),kZ=(q,Z,$={})=>{if(q===Z)return!0;q=new R1(q,$),Z=new R1(Z,$);let Q=!1;q:for(let K of q.set){for(let Y of Z.set){let W=yZ(K,Y,$);if(Q=Q||W!==null,W)continue q}if(Q)return!1}return!0},RZ=[new vq(">=0.0.0-0")],y1=[new vq(">=0.0.0")],yZ=(q,Z,$)=>{if(q===Z)return!0;if(q.length===1&&q[0].semver===Mq)if(Z.length===1&&Z[0].semver===Mq)return!0;else if($.includePrerelease)q=RZ;else q=y1;if(Z.length===1&&Z[0].semver===Mq)if($.includePrerelease)return!0;else Z=y1;let Q=new Set,K,Y;for(let B of q)if(B.operator===">"||B.operator===">=")K=w1(K,B,$);else if(B.operator==="<"||B.operator==="<=")Y=S1(Y,B,$);else Q.add(B.semver);if(Q.size>1)return null;let W;if(K&&Y){if(W=uq(K.semver,Y.semver,$),W>0)return null;else if(W===0&&(K.operator!==">="||Y.operator!=="<="))return null}for(let B of Q){if(K&&!bq(B,String(K),$))return null;if(Y&&!bq(B,String(Y),$))return null;for(let G of Z)if(!bq(B,String(G),$))return!1;return!0}let z,_,I,J,F=Y&&!$.includePrerelease&&Y.semver.prerelease.length?Y.semver:!1,N=K&&!$.includePrerelease&&K.semver.prerelease.length?K.semver:!1;if(F&&F.prerelease.length===1&&Y.operator==="<"&&F.prerelease[0]===0)F=!1;for(let B of Z){if(J=J||B.operator===">"||B.operator===">=",I=I||B.operator==="<"||B.operator==="<=",K){if(N){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===N.major&&B.semver.minor===N.minor&&B.semver.patch===N.patch)N=!1}if(B.operator===">"||B.operator===">="){if(z=w1(K,B,$),z===B&&z!==K)return!1}else if(K.operator===">="&&!B.test(K.semver))return!1}if(Y){if(F){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===F.major&&B.semver.minor===F.minor&&B.semver.patch===F.patch)F=!1}if(B.operator==="<"||B.operator==="<="){if(_=S1(Y,B,$),_===B&&_!==Y)return!1}else if(Y.operator==="<="&&!B.test(Y.semver))return!1}if(!B.operator&&(Y||K)&&W!==0)return!1}if(K&&I&&!Y&&W!==0)return!1;if(Y&&J&&!K&&W!==0)return!1;if(N||F)return!1;return!0},w1=(q,Z,$)=>{if(!q)return Z;let Q=uq(q.semver,Z.semver,$);return Q>0?q:Q<0?Z:Z.operator===">"&&q.operator===">="?Z:q},S1=(q,Z,$)=>{if(!q)return Z;let Q=uq(q.semver,Z.semver,$);return Q<0?q:Q>0?Z:Z.operator==="<"&&q.operator==="<="?Z:q};T1.exports=kZ});var u1=O((s6,v1)=>{var fq=p(),M1=m(),wZ=R(),b1=Eq(),SZ=d(),TZ=K0(),jZ=W0(),MZ=I0(),bZ=V0(),vZ=O0(),uZ=x0(),fZ=U0(),dZ=L0(),hZ=M(),lZ=C0(),gZ=H0(),cZ=Jq(),mZ=w0(),pZ=T0(),nZ=r(),aZ=Vq(),iZ=kq(),sZ=Rq(),rZ=Xq(),oZ=Oq(),tZ=yq(),eZ=l0(),q5=c0(),Z5=t(),$5=b(),Q5=qq(),K5=Y1(),Y5=z1(),W5=I1(),z5=V1(),_5=O1(),I5=Uq(),B5=L1(),J5=P1(),V5=E1(),X5=k1(),O5=j1();v1.exports={parse:SZ,valid:TZ,clean:jZ,inc:MZ,diff:bZ,major:vZ,minor:uZ,patch:fZ,prerelease:dZ,compare:hZ,rcompare:lZ,compareLoose:gZ,compareBuild:cZ,sort:mZ,rsort:pZ,gt:nZ,lt:aZ,eq:iZ,neq:sZ,gte:rZ,lte:oZ,cmp:tZ,coerce:eZ,truncate:q5,Comparator:Z5,Range:$5,satisfies:Q5,toComparators:K5,maxSatisfying:Y5,minSatisfying:W5,minVersion:z5,validRange:_5,outside:I5,gtr:B5,ltr:J5,intersects:V5,simplifyRange:X5,subset:O5,SemVer:wZ,re:fq.re,src:fq.src,tokens:fq.t,SEMVER_SPEC_VERSION:M1.SEMVER_SPEC_VERSION,RELEASE_TYPES:M1.RELEASE_TYPES,compareIdentifiers:b1.compareIdentifiers,rcompareIdentifiers:b1.rcompareIdentifiers}});var d1=O((r6,f1)=>{var F5=Symbol("proc-log.meta");f1.exports={META:F5,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...q){return process.emit("output","standard",...q)},error:function(...q){return process.emit("output","error",...q)},buffer:function(...q){return process.emit("output","buffer",...q)},flush:function(...q){return process.emit("output","flush",...q)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...q){return process.emit("log","error",...q)},notice:function(...q){return process.emit("log","notice",...q)},warn:function(...q){return process.emit("log","warn",...q)},info:function(...q){return process.emit("log","info",...q)},verbose:function(...q){return process.emit("log","verbose",...q)},http:function(...q){return process.emit("log","http",...q)},silly:function(...q){return process.emit("log","silly",...q)},timing:function(...q){return process.emit("log","timing",...q)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(q,Z){process.emit("time","start",q);function $(){return process.emit("time","end",q)}if(typeof Z==="function"){let Q=Z();if(Q&&Q.finally)return Q.finally($);return $(),Q}return $},end:function(q){return process.emit("time","end",q)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(...q){let Z;if(typeof q[0]==="function")Z=q.shift();process.emit("input","start",...q);function $(){return process.emit("input","end",...q)}if(typeof Z==="function"){let Q=Z();if(Q&&Q.finally)return Q.finally($);return $(),Q}return $},end:function(...q){return process.emit("input","end",...q)},read:function(...q){let Z,$,Q=new Promise((K,Y)=>{Z=K,$=Y});return process.emit("input","read",Z,$,...q),Q}}}});var n1=O((m1)=>{var l1=(q,Z)=>()=>(Z||q((Z={exports:{}}).exports,Z),Z.exports),x5=l1((q)=>{Object.defineProperty(q,"__esModule",{value:!0}),q.tracing=q.metrics=void 0;var Z=n("diagnostics_channel");q.metrics=(0,Z.channel)("lru-cache:metrics"),q.tracing=(0,Z.tracingChannel)("lru-cache")}),D5=l1((q)=>{Object.defineProperty(q,"__esModule",{value:!0}),q.defaultPerf=void 0,q.defaultPerf=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date});Object.defineProperty(m1,"__esModule",{value:!0});m1.LRUCache=void 0;var A=x5(),U5=D5(),dq=()=>A.metrics.hasSubscribers||A.tracing.hasSubscribers,g1=new Set,h1=typeof process=="object"&&process?process:{},N5=(q,Z,$,Q)=>{typeof h1.emitWarning=="function"?h1.emitWarning(q,Z,$,Q):console.error(`[${$}] ${Z}: ${q}`)},L5=(q)=>!g1.has(q),h=(q)=>!!q&&q===Math.floor(q)&&q>0&&isFinite(q),c1=(q)=>h(q)?q<=Math.pow(2,8)?Uint8Array:q<=Math.pow(2,16)?Uint16Array:q<=Math.pow(2,32)?Uint32Array:q<=Number.MAX_SAFE_INTEGER?Nq:null:null,Nq=class extends Array{constructor(q){super(q),this.fill(0)}},G5=class q{heap;length;static#K=!1;static create(Z){let $=c1(Z);if(!$)return[];q.#K=!0;let Q=new q(Z,$);return q.#K=!1,Q}constructor(Z,$){if(!q.#K)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new $(Z),this.length=0}push(Z){this.heap[this.length++]=Z}pop(){return this.heap[--this.length]}},P5=class q{#K;#I;#Z;#y;#D;#b;#v;#U;get perf(){return this.#U}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;backgroundFetchSize;#W;#N;#Y;#Q;#q;#J;#X;#B;#z;#L;#_;#G;#P;#O;#F;#A;#u;#V;#w;static unsafeExposeInternals(Z){return{starts:Z.#P,ttls:Z.#O,autopurgeTimers:Z.#F,sizes:Z.#G,keyMap:Z.#Y,keyList:Z.#Q,valList:Z.#q,next:Z.#J,prev:Z.#X,get head(){return Z.#B},get tail(){return Z.#z},free:Z.#L,isBackgroundFetch:($)=>Z.#$($),backgroundFetch:($,Q,K,Y)=>Z.#h($,Q,K,Y),moveToTail:($)=>Z.#M($),indexes:($)=>Z.#C($),rindexes:($)=>Z.#E($),isStale:($)=>Z.#x($)}}get max(){return this.#K}get maxSize(){return this.#I}get calculatedSize(){return this.#N}get size(){return this.#W}get fetchMethod(){return this.#b}get memoMethod(){return this.#v}get dispose(){return this.#Z}get onInsert(){return this.#y}get disposeAfter(){return this.#D}constructor(Z){let{max:$=0,ttl:Q,ttlResolution:K=1,ttlAutopurge:Y,updateAgeOnGet:W,updateAgeOnHas:z,allowStale:_,dispose:I,onInsert:J,disposeAfter:F,noDisposeOnSet:N,noUpdateTTL:B,maxSize:G=0,maxEntrySize:x=0,sizeCalculation:H,fetchMethod:U,memoMethod:k,noDeleteOnFetchRejection:f,noDeleteOnStaleGet:w,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:i,ignoreFetchAbort:g,backgroundFetchSize:Yq=1,perf:c}=Z;if(this.backgroundFetchSize=Yq,c!==void 0&&typeof c?.now!="function")throw TypeError("perf option must have a now() method if specified");if(this.#U=c??U5.defaultPerf,$!==0&&!h($))throw TypeError("max option must be a nonnegative integer");let Gq=$?c1($):Array;if(!Gq)throw Error("invalid max value: "+$);if(this.#K=$,this.#I=G,this.maxEntrySize=x||this.#I,this.sizeCalculation=H,this.sizeCalculation){if(!this.#I&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw TypeError("sizeCalculation set to non-function")}if(k!==void 0&&typeof k!="function")throw TypeError("memoMethod must be a function if defined");if(this.#v=k,U!==void 0&&typeof U!="function")throw TypeError("fetchMethod must be a function if specified");if(this.#b=U,this.#u=!!U,this.#Y=new Map,this.#Q=Array.from({length:$}).fill(void 0),this.#q=Array.from({length:$}).fill(void 0),this.#J=new Gq($),this.#X=new Gq($),this.#B=0,this.#z=0,this.#L=G5.create($),this.#W=0,this.#N=0,typeof I=="function"&&(this.#Z=I),typeof J=="function"&&(this.#y=J),typeof F=="function"?(this.#D=F,this.#_=[]):(this.#D=void 0,this.#_=void 0),this.#A=!!this.#Z,this.#w=!!this.#y,this.#V=!!this.#D,this.noDisposeOnSet=!!N,this.noUpdateTTL=!!B,this.noDeleteOnFetchRejection=!!f,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!i,this.ignoreFetchAbort=!!g,this.maxEntrySize!==0){if(this.#I!==0&&!h(this.#I))throw TypeError("maxSize must be a positive integer if specified");if(!h(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#i()}if(this.allowStale=!!_,this.noDeleteOnStaleGet=!!w,this.updateAgeOnGet=!!W,this.updateAgeOnHas=!!z,this.ttlResolution=h(K)||K===0?K:1,this.ttlAutopurge=!!Y,this.ttl=Q||0,this.ttl){if(!h(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#l()}if(this.#K===0&&this.ttl===0&&this.#I===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#K&&!this.#I){let Pq="LRU_CACHE_UNBOUNDED";L5(Pq)&&(g1.add(Pq),N5("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Pq,q))}}getRemainingTTL(Z){return this.#Y.has(Z)?1/0:0}#l(){let Z=new Nq(this.#K),$=new Nq(this.#K);this.#O=Z,this.#P=$;let Q=this.ttlAutopurge?Array.from({length:this.#K}):void 0;this.#F=Q,this.#g=(z,_,I=this.#U.now())=>{$[z]=_!==0?I:0,Z[z]=_,K(z,_)},this.#S=(z)=>{$[z]=Z[z]!==0?this.#U.now():0,K(z,Z[z])};let K=this.ttlAutopurge?(z,_)=>{if(Q?.[z]&&(clearTimeout(Q[z]),Q[z]=void 0),_&&_!==0&&Q){let I=setTimeout(()=>{this.#x(z)&&this.#H(this.#Q[z],"expire")},_+1);I.unref&&I.unref(),Q[z]=I}}:()=>{};this.#k=(z,_)=>{if(Z[_]){let I=Z[_],J=$[_];if(!I||!J)return;z.ttl=I,z.start=J,z.now=Y||W();let F=z.now-J;z.remainingTTL=I-F}};let Y=0,W=()=>{let z=this.#U.now();if(this.ttlResolution>0){Y=z;let _=setTimeout(()=>Y=0,this.ttlResolution);_.unref&&_.unref()}return z};this.getRemainingTTL=(z)=>{let _=this.#Y.get(z);if(_===void 0)return 0;let I=Z[_],J=$[_];if(!I||!J)return 1/0;let F=(Y||W())-J;return I-F},this.#x=(z)=>{let _=$[z],I=Z[z];return!!I&&!!_&&(Y||W())-_>I}}#S=()=>{};#k=()=>{};#g=()=>{};#x=()=>!1;#i(){let Z=new Nq(this.#K);this.#N=0,this.#G=Z,this.#T=($)=>{this.#N-=Z[$],Z[$]=0},this.#c=($,Q,K,Y)=>{if(!h(K)){if(this.#$(Q))return this.backgroundFetchSize;if(Y){if(typeof Y!="function")throw TypeError("sizeCalculation must be a function");if(K=Y(Q,$),!h(K))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.")}return K},this.#f=($,Q,K)=>{if(Z[$]=Q,this.#I){let Y=this.#I-Z[$];for(;this.#N>Y;)this.#d(!0)}this.#N+=Z[$],K&&(K.entrySize=Q,K.totalCalculatedSize=this.#N)}}#T=(Z)=>{};#f=(Z,$,Q)=>{};#c=(Z,$,Q,K)=>{if(Q||K)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#C({allowStale:Z=this.allowStale}={}){if(this.#W)for(let $=this.#z;this.#m($)&&((Z||!this.#x($))&&(yield $),$!==this.#B);)$=this.#X[$]}*#E({allowStale:Z=this.allowStale}={}){if(this.#W)for(let $=this.#B;this.#m($)&&((Z||!this.#x($))&&(yield $),$!==this.#z);)$=this.#J[$]}#m(Z){return Z!==void 0&&this.#Y.get(this.#Q[Z])===Z}*entries(){for(let Z of this.#C())this.#q[Z]!==void 0&&this.#Q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield[this.#Q[Z],this.#q[Z]])}*rentries(){for(let Z of this.#E())this.#q[Z]!==void 0&&this.#Q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield[this.#Q[Z],this.#q[Z]])}*keys(){for(let Z of this.#C()){let $=this.#Q[Z];$!==void 0&&!this.#$(this.#q[Z])&&(yield $)}}*rkeys(){for(let Z of this.#E()){let $=this.#Q[Z];$!==void 0&&!this.#$(this.#q[Z])&&(yield $)}}*values(){for(let Z of this.#C())this.#q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield this.#q[Z])}*rvalues(){for(let Z of this.#E())this.#q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield this.#q[Z])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(Z,$={}){for(let Q of this.#C()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;if(Y!==void 0&&Z(Y,this.#Q[Q],this))return this.#j(this.#Q[Q],$)}}forEach(Z,$=this){for(let Q of this.#C()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;Y!==void 0&&Z.call($,Y,this.#Q[Q],this)}}rforEach(Z,$=this){for(let Q of this.#E()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;Y!==void 0&&Z.call($,Y,this.#Q[Q],this)}}purgeStale(){let Z=!1;for(let $ of this.#E({allowStale:!0}))this.#x($)&&(this.#H(this.#Q[$],"expire"),Z=!0);return Z}info(Z){let $=this.#Y.get(Z);if($===void 0)return;let Q=this.#q[$],K=this.#$(Q)?Q.__staleWhileFetching:Q;if(K===void 0)return;let Y={value:K};if(this.#O&&this.#P){let W=this.#O[$],z=this.#P[$];if(W&&z){let _=W-(this.#U.now()-z);Y.ttl=_,Y.start=Date.now()}}return this.#G&&(Y.size=this.#G[$]),Y}dump(){let Z=[];for(let $ of this.#C({allowStale:!0})){let Q=this.#Q[$],K=this.#q[$],Y=this.#$(K)?K.__staleWhileFetching:K;if(Y===void 0||Q===void 0)continue;let W={value:Y};if(this.#O&&this.#P){W.ttl=this.#O[$];let z=this.#U.now()-this.#P[$];W.start=Math.floor(Date.now()-z)}this.#G&&(W.size=this.#G[$]),Z.unshift([Q,W])}return Z}load(Z){this.clear();for(let[$,Q]of Z){if(Q.start){let K=Date.now()-Q.start;Q.start=this.#U.now()-K}this.#R($,Q.value,Q)}}set(Z,$,Q={}){let{status:K=A.metrics.hasSubscribers?{}:void 0}=Q;Q.status=K,K&&(K.op="set",K.key=Z,$!==void 0&&(K.value=$),K.cache=this);let Y=this.#R(Z,$,Q);return K&&A.metrics.hasSubscribers&&A.metrics.publish(K),Y}#R(Z,$,Q,K){let{ttl:Y=this.ttl,start:W,noDisposeOnSet:z=this.noDisposeOnSet,sizeCalculation:_=this.sizeCalculation,status:I}=Q,J=this.#$($);if($===void 0)return I&&(I.set="deleted"),this.delete(Z),this;let{noUpdateTTL:F=this.noUpdateTTL}=Q;I&&!J&&(I.value=$);let N=this.#c(Z,$,Q.size||0,_,I);if(this.maxEntrySize&&N>this.maxEntrySize)return this.#H(Z,"set"),I&&(I.set="miss",I.maxEntrySizeExceeded=!0),this;let B=this.#W===0?void 0:this.#Y.get(Z);if(B===void 0)B=this.#W===0?this.#z:this.#L.length!==0?this.#L.pop():this.#W===this.#K?this.#d(!1):this.#W,this.#Q[B]=Z,this.#q[B]=$,this.#Y.set(Z,B),this.#J[this.#z]=B,this.#X[B]=this.#z,this.#z=B,this.#W++,this.#f(B,N,I),I&&(I.set="add"),F=!1,this.#w&&!J&&this.#y?.($,Z,"add");else{this.#M(B);let G=this.#q[B];if($!==G){if(!z)if(this.#$(G)){G!==K&&G.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=G;x!==void 0&&x!==$&&(this.#A&&this.#Z?.(x,Z,"set"),this.#V&&this.#_?.push([x,Z,"set"]))}else this.#A&&this.#Z?.(G,Z,"set"),this.#V&&this.#_?.push([G,Z,"set"]);if(this.#T(B),this.#f(B,N,I),this.#q[B]=$,!J){let x=G&&this.#$(G)?G.__staleWhileFetching:G,H=x===void 0?"add":$!==x?"replace":"update";I&&(I.set=H,x!==void 0&&(I.oldValue=x)),this.#w&&this.onInsert?.($,Z,H)}}else J||(I&&(I.set="update"),this.#w&&this.onInsert?.($,Z,"update"))}if(Y!==0&&!this.#O&&this.#l(),this.#O&&(F||this.#g(B,Y,W),I&&this.#k(I,B)),!z&&this.#V&&this.#_){let G=this.#_,x;for(;x=G?.shift();)this.#D?.(...x)}return this}pop(){try{for(;this.#W;){let Z=this.#q[this.#B];if(this.#d(!0),this.#$(Z)){if(Z.__staleWhileFetching)return Z.__staleWhileFetching}else if(Z!==void 0)return Z}}finally{if(this.#V&&this.#_){let Z=this.#_,$;for(;$=Z?.shift();)this.#D?.(...$)}}}#d(Z){let $=this.#B,Q=this.#Q[$],K=this.#q[$],Y=this.#$(K);Y&&K.__abortController.abort(Error("evicted"));let W=Y?K.__staleWhileFetching:K;return(this.#A||this.#V)&&W!==void 0&&(this.#A&&this.#Z?.(W,Q,"evict"),this.#V&&this.#_?.push([W,Q,"evict"])),this.#T($),this.#F?.[$]&&(clearTimeout(this.#F[$]),this.#F[$]=void 0),Z&&(this.#Q[$]=void 0,this.#q[$]=void 0,this.#L.push($)),this.#W===1?(this.#B=this.#z=0,this.#L.length=0):this.#B=this.#J[$],this.#Y.delete(Q),this.#W--,$}has(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="has",Q.key=Z,Q.cache=this);let K=this.#s(Z,$);return A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#s(Z,$={}){let{updateAgeOnHas:Q=this.updateAgeOnHas,status:K}=$,Y=this.#Y.get(Z);if(Y!==void 0){let W=this.#q[Y];if(this.#$(W)&&W.__staleWhileFetching===void 0)return!1;if(this.#x(Y))K&&(K.has="stale",this.#k(K,Y));else return Q&&this.#S(Y),K&&(K.has="hit",this.#k(K,Y)),!0}else K&&(K.has="miss");return!1}peek(Z,$={}){let{status:Q=dq()?{}:void 0}=$;Q&&(Q.op="peek",Q.key=Z,Q.cache=this),$.status=Q;let K=this.#r(Z,$);return A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#r(Z,$){let{status:Q,allowStale:K=this.allowStale}=$,Y=this.#Y.get(Z);if(Y===void 0||!K&&this.#x(Y)){Q&&(Q.peek=Y===void 0?"miss":"stale");return}let W=this.#q[Y],z=this.#$(W)?W.__staleWhileFetching:W;return Q&&(z!==void 0?(Q.peek="hit",Q.value=z):Q.peek="miss"),z}#h(Z,$,Q,K){let Y=$===void 0?void 0:this.#q[$];if(this.#$(Y))return Y;let W=new AbortController,{signal:z}=Q;z?.addEventListener("abort",()=>W.abort(z.reason),{signal:W.signal});let _={signal:W.signal,options:Q,context:K},I=(x,H=!1)=>{let{aborted:U}=W.signal,k=Q.ignoreFetchAbort&&x!==void 0,f=Q.ignoreFetchAbort||!!(Q.allowStaleOnFetchAbort&&x!==void 0);if(Q.status&&(U&&!H?(Q.status.fetchAborted=!0,Q.status.fetchError=W.signal.reason,k&&(Q.status.fetchAbortIgnored=!0)):Q.status.fetchResolved=!0),U&&!k&&!H)return F(W.signal.reason,f);let w=B,C=this.#q[$];return(C===B||C===void 0&&k&&H)&&(x===void 0?w.__staleWhileFetching!==void 0?this.#q[$]=w.__staleWhileFetching:this.#H(Z,"fetch"):(Q.status&&(Q.status.fetchUpdated=!0),this.#R(Z,x,_.options,w))),x},J=(x)=>(Q.status&&(Q.status.fetchRejected=!0,Q.status.fetchError=x),F(x,!1)),F=(x,H)=>{let{aborted:U}=W.signal,k=U&&Q.allowStaleOnFetchAbort,f=k||Q.allowStaleOnFetchRejection,w=f||Q.noDeleteOnFetchRejection,C=B;if(this.#q[$]===B&&(!w||!H&&C.__staleWhileFetching===void 0?this.#H(Z,"fetch"):k||(this.#q[$]=C.__staleWhileFetching)),f)return Q.status&&C.__staleWhileFetching!==void 0&&(Q.status.returnedStale=!0),C.__staleWhileFetching;if(C.__returned===C)throw x},N=(x,H)=>{let U=this.#b?.(Z,Y,_);W.signal.addEventListener("abort",()=>{(!Q.ignoreFetchAbort||Q.allowStaleOnFetchAbort)&&(x(void 0),Q.allowStaleOnFetchAbort&&(x=(k)=>I(k,!0)))}),U&&U instanceof Promise?U.then((k)=>x(k===void 0?void 0:k),H):U!==void 0&&x(U)};Q.status&&(Q.status.fetchDispatched=!0);let B=new Promise(N).then(I,J),G=Object.assign(B,{__abortController:W,__staleWhileFetching:Y,__returned:void 0});return $===void 0?(this.#R(Z,G,{..._.options,status:void 0}),$=this.#Y.get(Z)):this.#q[$]=G,G}#$(Z){if(!this.#u)return!1;let $=Z;return!!$&&$ instanceof Promise&&$.hasOwnProperty("__staleWhileFetching")&&$.__abortController instanceof AbortController}fetch(Z,$={}){let Q=A.tracing.hasSubscribers,{status:K=dq()?{}:void 0}=$;$.status=K,K&&$.context&&(K.context=$.context);let Y=this.#p(Z,$);return K&&Q&&(K.trace=!0,A.tracing.tracePromise(()=>Y,K).catch(()=>{})),Y}async#p(Z,$={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:Y=this.noDeleteOnStaleGet,ttl:W=this.ttl,noDisposeOnSet:z=this.noDisposeOnSet,size:_=0,sizeCalculation:I=this.sizeCalculation,noUpdateTTL:J=this.noUpdateTTL,noDeleteOnFetchRejection:F=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:N=this.allowStaleOnFetchRejection,ignoreFetchAbort:B=this.ignoreFetchAbort,allowStaleOnFetchAbort:G=this.allowStaleOnFetchAbort,context:x,forceRefresh:H=!1,status:U,signal:k}=$;if(U&&(U.op="fetch",U.key=Z,H&&(U.forceRefresh=!0),U.cache=this),!this.#u)return U&&(U.fetch="get"),this.#j(Z,{allowStale:Q,updateAgeOnGet:K,noDeleteOnStaleGet:Y,status:U});let f={allowStale:Q,updateAgeOnGet:K,noDeleteOnStaleGet:Y,ttl:W,noDisposeOnSet:z,size:_,sizeCalculation:I,noUpdateTTL:J,noDeleteOnFetchRejection:F,allowStaleOnFetchRejection:N,allowStaleOnFetchAbort:G,ignoreFetchAbort:B,status:U,signal:k},w=this.#Y.get(Z);if(w===void 0){U&&(U.fetch="miss");let C=this.#h(Z,w,f,x);return C.__returned=C}else{let C=this.#q[w];if(this.#$(C)){let c=Q&&C.__staleWhileFetching!==void 0;return U&&(U.fetch="inflight",c&&(U.returnedStale=!0)),c?C.__staleWhileFetching:C.__returned=C}let i=this.#x(w);if(!H&&!i)return U&&(U.fetch="hit"),this.#M(w),K&&this.#S(w),U&&this.#k(U,w),C;let g=this.#h(Z,w,f,x),Yq=g.__staleWhileFetching!==void 0&&Q;return U&&(U.fetch=i?"stale":"refresh",Yq&&i&&(U.returnedStale=!0)),Yq?g.__staleWhileFetching:g.__returned=g}}forceFetch(Z,$={}){let Q=A.tracing.hasSubscribers,{status:K=dq()?{}:void 0}=$;$.status=K,K&&$.context&&(K.context=$.context);let Y=this.#o(Z,$);return K&&Q&&(K.trace=!0,A.tracing.tracePromise(()=>Y,K).catch(()=>{})),Y}async#o(Z,$={}){let Q=await this.#p(Z,$);if(Q===void 0)throw Error("fetch() returned undefined");return Q}memo(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="memo",Q.key=Z,$.context&&(Q.context=$.context),Q.cache=this);let K=this.#t(Z,$);return Q&&(Q.value=K),A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#t(Z,$={}){let Q=this.#v;if(!Q)throw Error("no memoMethod provided to constructor");let{context:K,status:Y,forceRefresh:W,...z}=$;Y&&W&&(Y.forceRefresh=!0);let _=this.#j(Z,z),I=W||_===void 0;if(Y&&(Y.memo=I?"miss":"hit",I||(Y.value=_)),!I)return _;let J=Q(Z,_,{options:z,context:K});return Y&&(Y.value=J),this.#R(Z,J,z),J}get(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="get",Q.key=Z,Q.cache=this);let K=this.#j(Z,$);return Q&&(K!==void 0&&(Q.value=K),A.metrics.hasSubscribers&&A.metrics.publish(Q)),K}#j(Z,$={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:Y=this.noDeleteOnStaleGet,status:W}=$,z=this.#Y.get(Z);if(z===void 0){W&&(W.get="miss");return}let _=this.#q[z],I=this.#$(_);return W&&this.#k(W,z),this.#x(z)?I?(W&&(W.get="stale-fetching"),Q&&_.__staleWhileFetching!==void 0?(W&&(W.returnedStale=!0),_.__staleWhileFetching):void 0):(Y||this.#H(Z,"expire"),W&&(W.get="stale"),Q?(W&&(W.returnedStale=!0),_):void 0):(W&&(W.get=I?"fetching":"hit"),this.#M(z),K&&this.#S(z),I?_.__staleWhileFetching:_)}#n(Z,$){this.#X[$]=Z,this.#J[Z]=$}#M(Z){Z!==this.#z&&(Z===this.#B?this.#B=this.#J[Z]:this.#n(this.#X[Z],this.#J[Z]),this.#n(this.#z,Z),this.#z=Z)}delete(Z){return this.#H(Z,"delete")}#H(Z,$){A.metrics.hasSubscribers&&A.metrics.publish({op:"delete",delete:$,key:Z,cache:this});let Q=!1;if(this.#W!==0){let K=this.#Y.get(Z);if(K!==void 0)if(this.#F?.[K]&&(clearTimeout(this.#F?.[K]),this.#F[K]=void 0),Q=!0,this.#W===1)this.#a($);else{this.#T(K);let Y=this.#q[K];if(this.#$(Y)?Y.__abortController.abort(Error("deleted")):(this.#A||this.#V)&&(this.#A&&this.#Z?.(Y,Z,$),this.#V&&this.#_?.push([Y,Z,$])),this.#Y.delete(Z),this.#Q[K]=void 0,this.#q[K]=void 0,K===this.#z)this.#z=this.#X[K];else if(K===this.#B)this.#B=this.#J[K];else{let W=this.#X[K];this.#J[W]=this.#J[K];let z=this.#J[K];this.#X[z]=this.#X[K]}this.#W--,this.#L.push(K)}}if(this.#V&&this.#_?.length){let K=this.#_,Y;for(;Y=K?.shift();)this.#D?.(...Y)}return Q}clear(){return this.#a("delete")}#a(Z){for(let $ of this.#E({allowStale:!0})){let Q=this.#q[$];if(this.#$(Q))Q.__abortController.abort(Error("deleted"));else{let K=this.#Q[$];this.#A&&this.#Z?.(Q,K,Z),this.#V&&this.#_?.push([Q,K,Z])}}if(this.#Y.clear(),this.#q.fill(void 0),this.#Q.fill(void 0),this.#O&&this.#P){this.#O.fill(0),this.#P.fill(0);for(let $ of this.#F??[])$!==void 0&&clearTimeout($);this.#F?.fill(void 0)}if(this.#G&&this.#G.fill(0),this.#B=0,this.#z=0,this.#L.length=0,this.#N=0,this.#W=0,this.#V&&this.#_){let $=this.#_,Q;for(;Q=$?.shift();)this.#D?.(...Q)}}};m1.LRUCache=P5});var s1=O((e6,i1)=>{var L=(...q)=>q.every((Z)=>Z)?q.join(""):"",E=(q)=>q?encodeURIComponent(q):"",a1=(q)=>q.toLowerCase().replace(/^\W+/g,"").replace(/(?<!\W)\W+$/,"").replace(/\//g,"").replace(/\W+/g,"-"),A5={sshtemplate:({domain:q,user:Z,project:$,committish:Q})=>`git@${q}:${Z}/${$}.git${L("#",Q)}`,sshurltemplate:({domain:q,user:Z,project:$,committish:Q})=>`git+ssh://git@${q}/${Z}/${$}.git${L("#",Q)}`,edittemplate:({domain:q,user:Z,project:$,committish:Q,editpath:K,path:Y})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q||"HEAD"),"/",Y)}`,browsetemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q))}`,browsetreetemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K,path:Y,fragment:W,hashformat:z})=>`https://${q}/${Z}/${$}/${K}/${E(Q||"HEAD")}/${Y}${L("#",z(W||""))}`,browseblobtemplate:({domain:q,user:Z,project:$,committish:Q,blobpath:K,path:Y,fragment:W,hashformat:z})=>`https://${q}/${Z}/${$}/${K}/${E(Q||"HEAD")}/${Y}${L("#",z(W||""))}`,docstemplate:({domain:q,user:Z,project:$,treepath:Q,committish:K})=>`https://${q}/${Z}/${$}${L("/",Q,"/",E(K))}#readme`,httpstemplate:({auth:q,domain:Z,user:$,project:Q,committish:K})=>`git+https://${L(q,"@")}${Z}/${$}/${Q}.git${L("#",K)}`,filetemplate:({domain:q,user:Z,project:$,committish:Q,path:K})=>`https://${q}/${Z}/${$}/raw/${E(Q||"HEAD")}/${K}`,shortcuttemplate:({type:q,user:Z,project:$,committish:Q})=>`${q}:${Z}/${$}${L("#",Q)}`,pathtemplate:({user:q,project:Z,committish:$})=>`${q}/${Z}${L("#",$)}`,bugstemplate:({domain:q,user:Z,project:$})=>`https://${q}/${Z}/${$}/issues`,hashformat:a1},l={};l.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:q,user:Z,project:$,committish:Q,path:K})=>`https://${L(q,"@")}raw.githubusercontent.com/${Z}/${$}/${E(Q||"HEAD")}/${K}`,gittemplate:({auth:q,domain:Z,user:$,project:Q,committish:K})=>`git://${L(q,"@")}${Z}/${$}/${Q}.git${L("#",K)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://codeload.${q}/${Z}/${$}/tar.gz/${E(Q||"HEAD")}`,extract:(q)=>{let[,Z,$,Q,K]=q.pathname.split("/",5);if(Q&&Q!=="tree")return;if(!Q)K=q.hash.slice(1);if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:K}}};l.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K,path:Y,editpath:W})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q||"HEAD"),"/",Y,W)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}/get/${E(Q||"HEAD")}.tar.gz`,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(["get"].includes(Q))return;if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:q.hash.slice(1)}}};l.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/api/v4/projects/${E(Z+"/"+$)}/repository/archive.tar.gz?sha=${E(Q||"HEAD")}`,extract:(q)=>{let Z=q.pathname.slice(1);if(Z.includes("/-/")||Z.includes("/archive.tar.gz"))return;let $=Z.split("/"),Q=$.pop();if(Q.endsWith(".git"))Q=Q.slice(0,-4);let K=$.join("/");if(!K||!Q)return;return{user:K,project:Q,committish:q.hash.slice(1)}}};l.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:q,project:Z,committish:$})=>`git@${q}:${Z}.git${L("#",$)}`,sshurltemplate:({domain:q,project:Z,committish:$})=>`git+ssh://git@${q}/${Z}.git${L("#",$)}`,edittemplate:({domain:q,user:Z,project:$,committish:Q,editpath:K})=>`https://${q}/${Z}/${$}${L("/",E(Q))}/${K}`,browsetemplate:({domain:q,project:Z,committish:$})=>`https://${q}/${Z}${L("/",E($))}`,browsetreetemplate:({domain:q,project:Z,committish:$,path:Q,hashformat:K})=>`https://${q}/${Z}${L("/",E($))}${L("#",K(Q))}`,browseblobtemplate:({domain:q,project:Z,committish:$,path:Q,hashformat:K})=>`https://${q}/${Z}${L("/",E($))}${L("#",K(Q))}`,docstemplate:({domain:q,project:Z,committish:$})=>`https://${q}/${Z}${L("/",E($))}`,httpstemplate:({domain:q,project:Z,committish:$})=>`git+https://${q}/${Z}.git${L("#",$)}`,filetemplate:({user:q,project:Z,committish:$,path:Q})=>`https://gist.githubusercontent.com/${q}/${Z}/raw${L("/",E($))}/${Q}`,shortcuttemplate:({type:q,project:Z,committish:$})=>`${q}:${Z}${L("#",$)}`,pathtemplate:({project:q,committish:Z})=>`${q}${L("#",Z)}`,bugstemplate:({domain:q,project:Z})=>`https://${q}/${Z}`,gittemplate:({domain:q,project:Z,committish:$})=>`git://${q}/${Z}.git${L("#",$)}`,tarballtemplate:({project:q,committish:Z})=>`https://codeload.github.com/gist/${q}/tar.gz/${E(Z||"HEAD")}`,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(Q==="raw")return;if(!$){if(!Z)return;$=Z,Z=null}if($.endsWith(".git"))$=$.slice(0,-4);return{user:Z,project:$,committish:q.hash.slice(1)}},hashformat:function(q){return q&&"file-"+a1(q)}};l.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:q,user:Z,project:$,committish:Q,path:K})=>`https://${q}/${Z}/${$}/blob/${E(Q)||"HEAD"}/${K}`,httpstemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}${L("#",Q)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}/archive/${E(Q)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(["archive"].includes(Q))return;if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:q.hash.slice(1)}}};for(let[q,Z]of Object.entries(l))l[q]=Object.assign({},A5,Z);i1.exports=l});var lq=O((q7,o1)=>{var C5=n("url"),hq=(q,Z,$)=>{let Q=q.indexOf($);return q.lastIndexOf(Z,Q>-1?Q:1/0)},r1=(q)=>{try{return new C5.URL(q)}catch{}},E5=(q,Z)=>{let $=q.indexOf(":"),Q=q.slice(0,$+1);if(Object.prototype.hasOwnProperty.call(Z,Q))return q;if(q.substr($,3)==="://")return q;let K=q.indexOf("@");if(K>-1)if(K>$)return`git+ssh://${q}`;else return q;return`${q.slice(0,$+1)}//${q.slice($+1)}`},H5=(q)=>{let Z=hq(q,"@","#"),$=hq(q,":","#");if($>Z)q=q.slice(0,$)+"/"+q.slice($+1);if(hq(q,":","#")===-1&&q.indexOf("//")===-1)q=`git+ssh://${q}`;return q};o1.exports=(q,Z)=>{let $=Z?E5(q,Z):q;return r1($)||r1(H5($))}});var e1=O((Z7,t1)=>{var k5=lq(),R5=(q)=>{let Z=q.indexOf("#"),$=q.indexOf("/"),Q=q.indexOf("/",$+1),K=q.indexOf(":"),Y=/\s/.exec(q),W=q.indexOf("@"),z=!Y||Z>-1&&Y.index>Z,_=W===-1||Z>-1&&W>Z,I=K===-1||Z>-1&&K>Z,J=Q===-1||Z>-1&&Q>Z,F=$>0,N=Z>-1?q[Z-1]!=="/":!q.endsWith("/"),B=!q.startsWith(".");return z&&F&&N&&B&&_&&I&&J};t1.exports=(q,Z,{gitHosts:$,protocols:Q})=>{if(!q)return;let K=R5(q)?`github:${q}`:q,Y=k5(K,Q);if(!Y)return;let W=$.byShortcut[Y.protocol],z=$.byDomain[Y.hostname.startsWith("www.")?Y.hostname.slice(4):Y.hostname],_=W||z;if(!_)return;let I=$[W||z],J=null;if(Q[Y.protocol]?.auth&&(Y.username||Y.password))J=`${Y.username}${Y.password?":"+Y.password:""}`;let F=null,N=null,B=null,G=null;try{if(W){let x=Y.pathname.startsWith("/")?Y.pathname.slice(1):Y.pathname,H=x.indexOf("@");if(H>-1)x=x.slice(H+1);let U=x.lastIndexOf("/");if(U>-1){if(N=decodeURIComponent(x.slice(0,U)),!N)N=null;B=decodeURIComponent(x.slice(U+1))}else B=decodeURIComponent(x);if(B.endsWith(".git"))B=B.slice(0,-4);if(Y.hash)F=decodeURIComponent(Y.hash.slice(1));G="shortcut"}else{if(!I.protocols.includes(Y.protocol))return;let x=I.extract(Y);if(!x)return;N=x.user&&decodeURIComponent(x.user),B=decodeURIComponent(x.project),F=decodeURIComponent(x.committish),G=Q[Y.protocol]?.name||Y.protocol.slice(0,-1)}}catch(x){if(x instanceof URIError)return;else throw x}return[_,N,J,B,F,G,Z]}});var Z8=O(($7,q8)=>{var{LRUCache:y5}=n1(),w5=s1(),S5=e1(),T5=lq(),gq=new y5({max:1000});function j5(q){try{let{protocol:Z,hostname:$,pathname:Q}=new URL(q);if(!$)return null;let K=/(?:git\+)http:$/.test(Z)?"http:":"https:",Y=Q.replace(/\.git$/,"");return`${K}//${$}${Y}`}catch{return null}}class j{constructor(q,Z,$,Q,K,Y,W={}){Object.assign(this,j.#K[q],{type:q,user:Z,auth:$,project:Q,committish:K,default:Y,opts:W})}static#K={byShortcut:{},byDomain:{}};static#I={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(q,Z){j.#K[q]=Z,j.#K.byDomain[Z.domain]=q,j.#K.byShortcut[`${q}:`]=q,j.#I[`${q}:`]={name:q}}static fromUrl(q,Z){if(typeof q!=="string")return;let $=q+JSON.stringify(Z||{});if(!gq.has($)){let Q=S5(q,Z,{gitHosts:j.#K,protocols:j.#I});gq.set($,Q?new j(...Q):void 0)}return gq.get($)}static fromManifest(q,Z={}){if(!q||typeof q!=="object")return;let $=q.repository,Q=$&&(typeof $==="string"?$:typeof $==="object"&&typeof $.url==="string"?$.url:null);if(!Q)throw Error("no repository");let K=Q&&j.fromUrl(Q.replace(/^git\+/,""),Z)||null;if(K)return K;let Y=j5(Q);return j.fromUrl(Y,Z)||Y}static parseUrl(q){return T5(q)}#Z(q,Z){if(typeof q!=="function")return null;let $={...this,...this.opts,...Z};if(!$.path)$.path="";if($.path.startsWith("/"))$.path=$.path.slice(1);if($.noCommittish)$.committish=null;let Q=q($);return $.noGitPlus&&Q.startsWith("git+")?Q.slice(4):Q}hash(){return this.committish?`#${this.committish}`:""}ssh(q){return this.#Z(this.sshtemplate,q)}sshurl(q){return this.#Z(this.sshurltemplate,q)}browse(q,...Z){if(typeof q!=="string")return this.#Z(this.browsetemplate,q);if(typeof Z[0]!=="string")return this.#Z(this.browsetreetemplate,{...Z[0],path:q});return this.#Z(this.browsetreetemplate,{...Z[1],fragment:Z[0],path:q})}browseFile(q,...Z){if(typeof Z[0]!=="string")return this.#Z(this.browseblobtemplate,{...Z[0],path:q});return this.#Z(this.browseblobtemplate,{...Z[1],fragment:Z[0],path:q})}docs(q){return this.#Z(this.docstemplate,q)}bugs(q){return this.#Z(this.bugstemplate,q)}https(q){return this.#Z(this.httpstemplate,q)}git(q){return this.#Z(this.gittemplate,q)}shortcut(q){return this.#Z(this.shortcuttemplate,q)}path(q){return this.#Z(this.pathtemplate,q)}tarball(q){return this.#Z(this.tarballtemplate,{...q,noCommittish:!1})}file(q,Z){return this.#Z(this.filetemplate,{...Z,path:q})}edit(q,Z){return this.#Z(this.edittemplate,{...Z,path:q})}getDefaultRepresentation(){return this.default}toString(q){if(this.default&&typeof this[this.default]==="function")return this[this.default](q);return this.sshurl(q)}}for(let[q,Z]of Object.entries(w5))j.addHost(q,Z);q8.exports=j});var $8=O((Q7,M5)=>{M5.exports=["_http_agent","_http_client","_http_common","_http_incoming","_http_outgoing","_http_server","_stream_duplex","_stream_passthrough","_stream_readable","_stream_transform","_stream_wrap","_stream_writable","_tls_common","_tls_wrap","assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib","node:sea","node:sqlite","node:test","node:test/reporters"]});var K8=O((K7,Q8)=>{var b5=$8(),v5=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),u5=["node_modules","favicon.ico"];function f5(q){var Z=[],$=[];if(q===null)return $.push("name cannot be null"),Zq(Z,$);if(q===void 0)return $.push("name cannot be undefined"),Zq(Z,$);if(typeof q!=="string")return $.push("name must be a string"),Zq(Z,$);if(!q.length)$.push("name length must be greater than zero");if(q.startsWith("."))$.push("name cannot start with a period");if(q.startsWith("-"))$.push("name cannot start with a hyphen");if(q.match(/^_/))$.push("name cannot start with an underscore");if(q.trim()!==q)$.push("name cannot contain leading or trailing spaces");if(u5.forEach(function(W){if(q.toLowerCase()===W)$.push(W+" is not a valid package name")}),b5.includes(q.toLowerCase()))Z.push(q+" is a core module name");if(q.length>214)Z.push("name can no longer contain more than 214 characters");if(q.toLowerCase()!==q)Z.push("name can no longer contain capital letters");if(/[~'!()*]/.test(q.split("/").slice(-1)[0]))Z.push(`name can no longer contain special characters ("~'!()*")`);if(encodeURIComponent(q)!==q){var Q=q.match(v5);if(Q){var K=Q[1],Y=Q[2];if(Y.startsWith("."))$.push("name cannot start with a period");if(encodeURIComponent(K)===K&&encodeURIComponent(Y)===Y)return Zq(Z,$)}$.push("name can only contain URL-friendly characters")}return Zq(Z,$)}var Zq=function(q,Z){var $={validForNewPackages:Z.length===0&&q.length===0,validForOldPackages:Z.length===0,warnings:q,errors:Z};if(!$.warnings.length)delete $.warnings;if(!$.errors.length)delete $.errors;return $};Q8.exports=f5});var K6=O((Y7,Kq)=>{var Qq=process.platform==="win32",{URL:cq}=n("url"),a=Qq?n("path/win32"):n("path"),{homedir:d5}=n("os"),h5=Z8(),Y8=u1(),_8=K8(),{log:l5}=d1(),I8=Qq?/\\|[/]/:/[/]/,B8=/^(?:git[+])?[a-z]+:/i,g5=/^[^@]+@[^:.]+\.[^:]+:.+$/i,pq=/[.](?:tgz|tar\.gz|tar)$/i,c5=/:[0-9]+(\/|$)/i,m5=/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/,p5=/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function $q(q,Z){let $,Q;if(typeof q==="object")if(q instanceof Lq&&(!Z||Z===q.where))return q;else if(q.name&&q.rawSpec)return $q.resolve(q.name,q.rawSpec,Z||q.where);else return $q(q.raw,Z||q.where);let K=q.indexOf("@",1),Y=K>0?q.slice(0,K):q;if(B8.test(q))Q=q;else if(g5.test(q))Q=`git+ssh://${q}`;else if(!Y.startsWith("@")&&(I8.test(Y)||pq.test(Y)))Q=q;else if(K>0)$=Y,Q=q.slice(K+1)||"*";else if(_8(q).validForOldPackages)$=q,Q="*";else Q=q;return J8($,Q,Z,q)}function n5(q){if(!q)return!1;if(q.toLowerCase().startsWith("file:"))return!0;if(Qq)return m5.test(q);return p5.test(q)}function a5(q){if(!q)return!1;return q.toLowerCase().startsWith("npm:")}function J8(q,Z,$,Q){let K=new Lq({raw:Q,name:q,rawSpec:Z,fromArgument:Q!=null});if(q)K.name=q;if(!$)$=process.cwd();if(n5(Z))return z8(K,$);else if(a5(Z))return $6(K,$);let Y=h5.fromUrl(Z,{noGitPlus:!0,noCommittish:!0});if(Y)return e5(K,Y);else if(Z&&B8.test(Z))return Z6(K);else if(Z&&(I8.test(Z)||pq.test(Z)))return z8(K,$);else return Q6(K)}function i5(q,Z="https://registry.npmjs.org"){let $=$q(q);if($.type!=="version")throw o5($.type,$.raw);let Q="pkg:npm/"+$.name.replace(/^@/,"%40")+"@"+$.rawSpec;if(Z!=="https://registry.npmjs.org")Q+="?repository_url="+Z;return Q}function s5(q,Z,$){let Q=Error(`Invalid package name "${q}" of package "${$}": ${Z.errors.join("; ")}.`);return Q.code="EINVALIDPACKAGENAME",Q}function r5(q,Z){let $=Error(`Invalid tag name "${q}" of package "${Z}": Tags may not have any characters that encodeURIComponent encodes.`);return $.code="EINVALIDTAGNAME",$}function o5(q,Z){let $=Error(`Invalid type "${q}" of package "${Z}": Purl can only be generated for "version" types.`);return $.code="EINVALIDPURLTYPE",$}class Lq{constructor(q){if(this.type=q.type,this.registry=q.registry,this.where=q.where,q.raw==null)this.raw=q.name?`${q.name}@${q.rawSpec}`:q.rawSpec;else this.raw=q.raw;if(this.name=void 0,this.escapedName=void 0,this.scope=void 0,this.rawSpec=q.rawSpec||"",this.saveSpec=q.saveSpec,this.fetchSpec=q.fetchSpec,q.name)this.setName(q.name);this.gitRange=q.gitRange,this.gitCommittish=q.gitCommittish,this.gitSubdir=q.gitSubdir,this.hosted=q.hosted}setName(q){let Z=_8(q);if(!Z.validForOldPackages)throw s5(q,Z,this.raw);return this.name=q,this.scope=q[0]==="@"?q.slice(0,q.indexOf("/")):void 0,this.escapedName=q.replace("/","%2f"),this}toString(){let q=[];if(this.name!=null&&this.name!=="")q.push(this.name);let Z=this.saveSpec||this.fetchSpec||this.rawSpec;if(Z!=null&&Z!=="")q.push(Z);return q.length?q.join("@"):this.raw}toJSON(){let q=Object.assign({},this);return delete q.hosted,q}}function mq(q,Z){if(!Z){q.gitCommittish=null;return}for(let $ of Z.split("::")){if(!$.includes(":")){if(q.gitRange)throw Error("cannot override existing semver range with a committish");if(q.gitCommittish)throw Error("cannot override existing committish with a second committish");q.gitCommittish=$;continue}let[Q,K]=$.split(":");if(Q==="semver"){if(q.gitCommittish)throw Error("cannot override existing committish with a semver range");if(q.gitRange)throw Error("cannot override existing semver range with a second semver range");q.gitRange=decodeURIComponent(K);continue}if(Q==="path"){if(q.gitSubdir)throw Error("cannot override existing path with a second path");q.gitSubdir=`/${K}`;continue}l5.warn("npm-package-arg",`ignoring unknown key "${Q}"`)}}var t5=new Map([["\x00","%00"],["\t","%09"],[`
2
+ import{rP as O,uP as n}from"./chunk-djfrkbd5.js";var m=O((Y6,nq)=>{var V8=Number.MAX_SAFE_INTEGER||9007199254740991,X8=["major","premajor","minor","preminor","patch","prepatch","prerelease"];nq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:V8,RELEASE_TYPES:X8,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var s=O((W6,aq)=>{var O8=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};aq.exports=O8});var p=O((u,iq)=>{var{MAX_SAFE_COMPONENT_LENGTH:Aq,MAX_SAFE_BUILD_LENGTH:F8,MAX_LENGTH:x8}=m(),D8=s();u=iq.exports={};var U8=u.re=[],N8=u.safeRe=[],V=u.src=[],L8=u.safeSrc=[],X=u.t={},G8=0,Cq="[a-zA-Z0-9-]",P8=[["\\s",1],["\\d",x8],[Cq,F8]],A8=(q)=>{for(let[Z,$]of P8)q=q.split(`${Z}*`).join(`${Z}{0,${$}}`).split(`${Z}+`).join(`${Z}{1,${$}}`);return q},D=(q,Z,$)=>{let Q=A8(Z),K=G8++;D8(q,K,Z),X[q]=K,V[K]=Z,L8[K]=Q,U8[K]=new RegExp(Z,$?"g":void 0),N8[K]=new RegExp(Q,$?"g":void 0)};D("NUMERICIDENTIFIER","0|[1-9]\\d*");D("NUMERICIDENTIFIERLOOSE","\\d+");D("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Cq}*`);D("MAINVERSION",`(${V[X.NUMERICIDENTIFIER]})\\.(${V[X.NUMERICIDENTIFIER]})\\.(${V[X.NUMERICIDENTIFIER]})`);D("MAINVERSIONLOOSE",`(${V[X.NUMERICIDENTIFIERLOOSE]})\\.(${V[X.NUMERICIDENTIFIERLOOSE]})\\.(${V[X.NUMERICIDENTIFIERLOOSE]})`);D("PRERELEASEIDENTIFIER",`(?:${V[X.NONNUMERICIDENTIFIER]}|${V[X.NUMERICIDENTIFIER]})`);D("PRERELEASEIDENTIFIERLOOSE",`(?:${V[X.NONNUMERICIDENTIFIER]}|${V[X.NUMERICIDENTIFIERLOOSE]})`);D("PRERELEASE",`(?:-(${V[X.PRERELEASEIDENTIFIER]}(?:\\.${V[X.PRERELEASEIDENTIFIER]})*))`);D("PRERELEASELOOSE",`(?:-?(${V[X.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${V[X.PRERELEASEIDENTIFIERLOOSE]})*))`);D("BUILDIDENTIFIER",`${Cq}+`);D("BUILD",`(?:\\+(${V[X.BUILDIDENTIFIER]}(?:\\.${V[X.BUILDIDENTIFIER]})*))`);D("FULLPLAIN",`v?${V[X.MAINVERSION]}${V[X.PRERELEASE]}?${V[X.BUILD]}?`);D("FULL",`^${V[X.FULLPLAIN]}$`);D("LOOSEPLAIN",`[v=\\s]*${V[X.MAINVERSIONLOOSE]}${V[X.PRERELEASELOOSE]}?${V[X.BUILD]}?`);D("LOOSE",`^${V[X.LOOSEPLAIN]}$`);D("GTLT","((?:<|>)?=?)");D("XRANGEIDENTIFIERLOOSE",`${V[X.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);D("XRANGEIDENTIFIER",`${V[X.NUMERICIDENTIFIER]}|x|X|\\*`);D("XRANGEPLAIN",`[v=\\s]*(${V[X.XRANGEIDENTIFIER]})(?:\\.(${V[X.XRANGEIDENTIFIER]})(?:\\.(${V[X.XRANGEIDENTIFIER]})(?:${V[X.PRERELEASE]})?${V[X.BUILD]}?)?)?`);D("XRANGEPLAINLOOSE",`[v=\\s]*(${V[X.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[X.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[X.XRANGEIDENTIFIERLOOSE]})(?:${V[X.PRERELEASELOOSE]})?${V[X.BUILD]}?)?)?`);D("XRANGE",`^${V[X.GTLT]}\\s*${V[X.XRANGEPLAIN]}$`);D("XRANGELOOSE",`^${V[X.GTLT]}\\s*${V[X.XRANGEPLAINLOOSE]}$`);D("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Aq}})(?:\\.(\\d{1,${Aq}}))?(?:\\.(\\d{1,${Aq}}))?`);D("COERCE",`${V[X.COERCEPLAIN]}(?:$|[^\\d])`);D("COERCEFULL",V[X.COERCEPLAIN]+`(?:${V[X.PRERELEASE]})?(?:${V[X.BUILD]})?(?:$|[^\\d])`);D("COERCERTL",V[X.COERCE],!0);D("COERCERTLFULL",V[X.COERCEFULL],!0);D("LONETILDE","(?:~>?)");D("TILDETRIM",`(\\s*)${V[X.LONETILDE]}\\s+`,!0);u.tildeTrimReplace="$1~";D("TILDE",`^${V[X.LONETILDE]}${V[X.XRANGEPLAIN]}$`);D("TILDELOOSE",`^${V[X.LONETILDE]}${V[X.XRANGEPLAINLOOSE]}$`);D("LONECARET","(?:\\^)");D("CARETTRIM",`(\\s*)${V[X.LONECARET]}\\s+`,!0);u.caretTrimReplace="$1^";D("CARET",`^${V[X.LONECARET]}${V[X.XRANGEPLAIN]}$`);D("CARETLOOSE",`^${V[X.LONECARET]}${V[X.XRANGEPLAINLOOSE]}$`);D("COMPARATORLOOSE",`^${V[X.GTLT]}\\s*(${V[X.LOOSEPLAIN]})$|^$`);D("COMPARATOR",`^${V[X.GTLT]}\\s*(${V[X.FULLPLAIN]})$|^$`);D("COMPARATORTRIM",`(\\s*)${V[X.GTLT]}\\s*(${V[X.LOOSEPLAIN]}|${V[X.XRANGEPLAIN]})`,!0);u.comparatorTrimReplace="$1$2$3";D("HYPHENRANGE",`^\\s*(${V[X.XRANGEPLAIN]})\\s+-\\s+(${V[X.XRANGEPLAIN]})\\s*$`);D("HYPHENRANGELOOSE",`^\\s*(${V[X.XRANGEPLAINLOOSE]})\\s+-\\s+(${V[X.XRANGEPLAINLOOSE]})\\s*$`);D("STAR","(<|>)?=?\\s*\\*");D("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");D("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Wq=O((z6,sq)=>{var C8=Object.freeze({loose:!0}),E8=Object.freeze({}),H8=(q)=>{if(!q)return E8;if(typeof q!=="object")return C8;return q};sq.exports=H8});var Eq=O((_6,tq)=>{var rq=/^[0-9]+$/,oq=(q,Z)=>{if(typeof q==="number"&&typeof Z==="number")return q===Z?0:q<Z?-1:1;let $=rq.test(q),Q=rq.test(Z);if($&&Q)q=+q,Z=+Z;return q===Z?0:$&&!Q?-1:Q&&!$?1:q<Z?-1:1},k8=(q,Z)=>oq(Z,q);tq.exports={compareIdentifiers:oq,rcompareIdentifiers:k8}});var R=O((I6,q0)=>{var zq=s(),{MAX_LENGTH:eq,MAX_SAFE_INTEGER:_q}=m(),{safeRe:Iq,t:Bq}=p(),R8=Wq(),{compareIdentifiers:Hq}=Eq(),y8=(q,Z)=>{let $=Z.split(".");if($.length>q.length)return!1;for(let Q=0;Q<$.length;Q++)if(Hq(q[Q],$[Q])!==0)return!1;return!0};class v{constructor(q,Z){if(Z=R8(Z),q instanceof v)if(q.loose===!!Z.loose&&q.includePrerelease===!!Z.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>eq)throw TypeError(`version is longer than ${eq} characters`);zq("SemVer",q,Z),this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease;let $=q.trim().match(Z.loose?Iq[Bq.LOOSE]:Iq[Bq.FULL]);if(!$)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>_q||this.major<0)throw TypeError("Invalid major version");if(this.minor>_q||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>_q||this.patch<0)throw TypeError("Invalid patch version");if(!$[4])this.prerelease=[];else this.prerelease=$[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let K=+Q;if(K>=0&&K<_q)return K}return Q});this.build=$[5]?$[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(zq("SemVer.compare",this.version,this.options,q),!(q instanceof v)){if(typeof q==="string"&&q===this.version)return 0;q=new v(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof v))q=new v(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof v))q=new v(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let Z=0;do{let $=this.prerelease[Z],Q=q.prerelease[Z];if(zq("prerelease compare",Z,$,Q),$===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if($===void 0)return-1;else if($===Q)continue;else return Hq($,Q)}while(++Z)}compareBuild(q){if(!(q instanceof v))q=new v(q,this.options);let Z=0;do{let $=this.build[Z],Q=q.build[Z];if(zq("build compare",Z,$,Q),$===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if($===void 0)return-1;else if($===Q)continue;else return Hq($,Q)}while(++Z)}inc(q,Z,$){if(q.startsWith("pre")){if(!Z&&$===!1)throw Error("invalid increment argument: identifier is empty");if(Z){let Q=`-${Z}`.match(this.options.loose?Iq[Bq.PRERELEASELOOSE]:Iq[Bq.PRERELEASE]);if(!Q||Q[1]!==Z)throw Error(`invalid identifier: ${Z}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Z,$);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Z,$);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Z,$),this.inc("pre",Z,$);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",Z,$);this.inc("pre",Z,$);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number($)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let K=this.prerelease.length;while(--K>=0)if(typeof this.prerelease[K]==="number")this.prerelease[K]++,K=-2;if(K===-1){if(Z===this.prerelease.join(".")&&$===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if(Z){let K=[Z,Q];if($===!1)K=[Z];if(y8(this.prerelease,Z)){let Y=this.prerelease[Z.split(".").length];if(isNaN(Y))this.prerelease=K}else this.prerelease=K}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}q0.exports=v});var d=O((B6,$0)=>{var Z0=R(),w8=(q,Z,$=!1)=>{if(q instanceof Z0)return q;try{return new Z0(q,Z)}catch(Q){if(!$)return null;throw Q}};$0.exports=w8});var K0=O((J6,Q0)=>{var S8=d(),T8=(q,Z)=>{let $=S8(q,Z);return $?$.version:null};Q0.exports=T8});var W0=O((V6,Y0)=>{var j8=d(),M8=(q,Z)=>{let $=j8(q.trim().replace(/^[=v]+/,""),Z);return $?$.version:null};Y0.exports=M8});var I0=O((X6,_0)=>{var z0=R(),b8=(q,Z,$,Q,K)=>{if(typeof $==="string")K=Q,Q=$,$=void 0;try{return new z0(q instanceof z0?q.version:q,$).inc(Z,Q,K).version}catch(Y){return null}};_0.exports=b8});var V0=O((O6,J0)=>{var B0=d(),v8=(q,Z)=>{let $=B0(q,null,!0),Q=B0(Z,null,!0),K=$.compare(Q);if(K===0)return null;let Y=K>0,W=Y?$:Q,z=Y?Q:$,_=!!W.prerelease.length;if(!!z.prerelease.length&&!_){if(!z.patch&&!z.minor)return"major";if(z.compareMain(W)===0){if(z.minor&&!z.patch)return"minor";return"patch"}}let J=_?"pre":"";if($.major!==Q.major)return J+"major";if($.minor!==Q.minor)return J+"minor";if($.patch!==Q.patch)return J+"patch";return"prerelease"};J0.exports=v8});var O0=O((F6,X0)=>{var u8=R(),f8=(q,Z)=>new u8(q,Z).major;X0.exports=f8});var x0=O((x6,F0)=>{var d8=R(),h8=(q,Z)=>new d8(q,Z).minor;F0.exports=h8});var U0=O((D6,D0)=>{var l8=R(),g8=(q,Z)=>new l8(q,Z).patch;D0.exports=g8});var L0=O((U6,N0)=>{var c8=d(),m8=(q,Z)=>{let $=c8(q,Z);return $&&$.prerelease.length?$.prerelease:null};N0.exports=m8});var M=O((N6,P0)=>{var G0=R(),p8=(q,Z,$)=>new G0(q,$).compare(new G0(Z,$));P0.exports=p8});var C0=O((L6,A0)=>{var n8=M(),a8=(q,Z,$)=>n8(Z,q,$);A0.exports=a8});var H0=O((G6,E0)=>{var i8=M(),s8=(q,Z)=>i8(q,Z,!0);E0.exports=s8});var Jq=O((P6,R0)=>{var k0=R(),r8=(q,Z,$)=>{let Q=new k0(q,$),K=new k0(Z,$);return Q.compare(K)||Q.compareBuild(K)};R0.exports=r8});var w0=O((A6,y0)=>{var o8=Jq(),t8=(q,Z)=>q.sort(($,Q)=>o8($,Q,Z));y0.exports=t8});var T0=O((C6,S0)=>{var e8=Jq(),q9=(q,Z)=>q.sort(($,Q)=>e8(Q,$,Z));S0.exports=q9});var r=O((E6,j0)=>{var Z9=M(),$9=(q,Z,$)=>Z9(q,Z,$)>0;j0.exports=$9});var Vq=O((H6,M0)=>{var Q9=M(),K9=(q,Z,$)=>Q9(q,Z,$)<0;M0.exports=K9});var kq=O((k6,b0)=>{var Y9=M(),W9=(q,Z,$)=>Y9(q,Z,$)===0;b0.exports=W9});var Rq=O((R6,v0)=>{var z9=M(),_9=(q,Z,$)=>z9(q,Z,$)!==0;v0.exports=_9});var Xq=O((y6,u0)=>{var I9=M(),B9=(q,Z,$)=>I9(q,Z,$)>=0;u0.exports=B9});var Oq=O((w6,f0)=>{var J9=M(),V9=(q,Z,$)=>J9(q,Z,$)<=0;f0.exports=V9});var yq=O((S6,d0)=>{var X9=kq(),O9=Rq(),F9=r(),x9=Xq(),D9=Vq(),U9=Oq(),N9=(q,Z,$,Q)=>{switch(Z){case"===":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q===$;case"!==":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q!==$;case"":case"=":case"==":return X9(q,$,Q);case"!=":return O9(q,$,Q);case">":return F9(q,$,Q);case">=":return x9(q,$,Q);case"<":return D9(q,$,Q);case"<=":return U9(q,$,Q);default:throw TypeError(`Invalid operator: ${Z}`)}};d0.exports=N9});var l0=O((T6,h0)=>{var L9=R(),G9=d(),{safeRe:Fq,t:xq}=p(),P9=(q,Z)=>{if(q instanceof L9)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;Z=Z||{};let $=null;if(!Z.rtl)$=q.match(Z.includePrerelease?Fq[xq.COERCEFULL]:Fq[xq.COERCE]);else{let _=Z.includePrerelease?Fq[xq.COERCERTLFULL]:Fq[xq.COERCERTL],I;while((I=_.exec(q))&&(!$||$.index+$[0].length!==q.length)){if(!$||I.index+I[0].length!==$.index+$[0].length)$=I;_.lastIndex=I.index+I[1].length+I[2].length}_.lastIndex=-1}if($===null)return null;let Q=$[2],K=$[3]||"0",Y=$[4]||"0",W=Z.includePrerelease&&$[5]?`-${$[5]}`:"",z=Z.includePrerelease&&$[6]?`+${$[6]}`:"";return G9(`${Q}.${K}.${Y}${W}${z}`,Z)};h0.exports=P9});var c0=O((j6,g0)=>{var A9=d(),C9=m(),E9=R(),H9=(q,Z,$)=>{if(!C9.RELEASE_TYPES.includes(Z))return null;let Q=k9(q,$);return Q&&R9(Q,Z)},k9=(q,Z)=>{let $=q instanceof E9?q.version:q;return A9($,Z)},R9=(q,Z)=>{if(y9(Z))return q.version;switch(q.prerelease=[],Z){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},y9=(q)=>{return q.startsWith("pre")};g0.exports=H9});var n0=O((M6,p0)=>{class m0{constructor(){this.max=1000,this.map=new Map}get(q){let Z=this.map.get(q);if(Z===void 0)return;else return this.map.delete(q),this.map.set(q,Z),Z}delete(q){return this.map.delete(q)}set(q,Z){if(!this.delete(q)&&Z!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,Z)}return this}}p0.exports=m0});var b=O((b6,r0)=>{var w9=/\s+/g;class o{constructor(q,Z){if(Z=T9(Z),q instanceof o)if(q.loose===!!Z.loose&&q.includePrerelease===!!Z.includePrerelease)return q;else return new o(q.raw,Z);if(q instanceof wq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease,this.raw=q.trim().replace(w9," "),this.set=this.raw.split("||").map(($)=>this.parseRange($.trim())).filter(($)=>$.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let $=this.set[0];if(this.set=this.set.filter((Q)=>!i0(Q[0])),this.set.length===0)this.set=[$];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&l9(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let Z=this.set[q];for(let $=0;$<Z.length;$++){if($>0)this.formatted+=" ";this.formatted+=Z[$].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(h9,"");let $=((this.options.includePrerelease&&f9)|(this.options.loose&&d9))+":"+q,Q=a0.get($);if(Q)return Q;let K=this.options.loose,Y=K?S[y.HYPHENRANGELOOSE]:S[y.HYPHENRANGE];q=q.replace(Y,o9(this.options.includePrerelease)),P("hyphen replace",q),q=q.replace(S[y.COMPARATORTRIM],b9),P("comparator trim",q),q=q.replace(S[y.TILDETRIM],v9),P("tilde trim",q),q=q.replace(S[y.CARETTRIM],u9),P("caret trim",q);let W=q.split(" ").map((J)=>g9(J,this.options)).join(" ").split(/\s+/).map((J)=>r9(J,this.options));if(K)W=W.filter((J)=>{return P("loose invalid filter",J,this.options),!!J.match(S[y.COMPARATORLOOSE])});P("range list",W);let z=new Map,_=W.map((J)=>new wq(J,this.options));for(let J of _){if(i0(J))return[J];z.set(J.value,J)}if(z.size>1&&z.has(""))z.delete("");let I=[...z.values()];return a0.set($,I),I}intersects(q,Z){if(!(q instanceof o))throw TypeError("a Range is required");return this.set.some(($)=>{return s0($,Z)&&q.set.some((Q)=>{return s0(Q,Z)&&$.every((K)=>{return Q.every((Y)=>{return K.intersects(Y,Z)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new j9(q,this.options)}catch(Z){return!1}for(let Z=0;Z<this.set.length;Z++)if(t9(this.set[Z],q,this.options))return!0;return!1}}r0.exports=o;var S9=n0(),a0=new S9,T9=Wq(),wq=t(),P=s(),j9=R(),{safeRe:S,src:M9,t:y,comparatorTrimReplace:b9,tildeTrimReplace:v9,caretTrimReplace:u9}=p(),{FLAG_INCLUDE_PRERELEASE:f9,FLAG_LOOSE:d9}=m(),h9=new RegExp(M9[y.BUILD],"g"),i0=(q)=>q.value==="<0.0.0-0",l9=(q)=>q.value==="",s0=(q,Z)=>{let $=!0,Q=q.slice(),K=Q.pop();while($&&Q.length)$=Q.every((Y)=>{return K.intersects(Y,Z)}),K=Q.pop();return $},g9=(q,Z)=>{return q=q.replace(S[y.BUILD],""),P("comp",q,Z),q=p9(q,Z),P("caret",q),q=c9(q,Z),P("tildes",q),q=a9(q,Z),P("xrange",q),q=s9(q,Z),P("stars",q),q},T=(q)=>!q||q.toLowerCase()==="x"||q==="*",c9=(q,Z)=>{return q.trim().split(/\s+/).map(($)=>m9($,Z)).join(" ")},m9=(q,Z)=>{let $=Z.loose?S[y.TILDELOOSE]:S[y.TILDE];return q.replace($,(Q,K,Y,W,z)=>{P("tilde",q,Q,K,Y,W,z);let _;if(T(K))_="";else if(T(Y))_=`>=${K}.0.0 <${+K+1}.0.0-0`;else if(T(W))_=`>=${K}.${Y}.0 <${K}.${+Y+1}.0-0`;else if(z)P("replaceTilde pr",z),_=`>=${K}.${Y}.${W}-${z} <${K}.${+Y+1}.0-0`;else _=`>=${K}.${Y}.${W} <${K}.${+Y+1}.0-0`;return P("tilde return",_),_})},p9=(q,Z)=>{return q.trim().split(/\s+/).map(($)=>n9($,Z)).join(" ")},n9=(q,Z)=>{P("caret",q,Z);let $=Z.loose?S[y.CARETLOOSE]:S[y.CARET],Q=Z.includePrerelease?"-0":"";return q.replace($,(K,Y,W,z,_)=>{P("caret",q,K,Y,W,z,_);let I;if(T(Y))I="";else if(T(W))I=`>=${Y}.0.0${Q} <${+Y+1}.0.0-0`;else if(T(z))if(Y==="0")I=`>=${Y}.${W}.0${Q} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.0${Q} <${+Y+1}.0.0-0`;else if(_)if(P("replaceCaret pr",_),Y==="0")if(W==="0")I=`>=${Y}.${W}.${z}-${_} <${Y}.${W}.${+z+1}-0`;else I=`>=${Y}.${W}.${z}-${_} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.${z}-${_} <${+Y+1}.0.0-0`;else if(P("no pr"),Y==="0")if(W==="0")I=`>=${Y}.${W}.${z}${Q} <${Y}.${W}.${+z+1}-0`;else I=`>=${Y}.${W}.${z}${Q} <${Y}.${+W+1}.0-0`;else I=`>=${Y}.${W}.${z} <${+Y+1}.0.0-0`;return P("caret return",I),I})},a9=(q,Z)=>{return P("replaceXRanges",q,Z),q.split(/\s+/).map(($)=>i9($,Z)).join(" ")},i9=(q,Z)=>{q=q.trim();let $=Z.loose?S[y.XRANGELOOSE]:S[y.XRANGE];return q.replace($,(Q,K,Y,W,z,_)=>{P("xRange",q,Q,K,Y,W,z,_);let I=T(Y),J=I||T(W),F=J||T(z),N=F;if(K==="="&&N)K="";if(_=Z.includePrerelease?"-0":"",I)if(K===">"||K==="<")Q="<0.0.0-0";else Q="*";else if(K&&N){if(J)W=0;if(z=0,K===">")if(K=">=",J)Y=+Y+1,W=0,z=0;else W=+W+1,z=0;else if(K==="<=")if(K="<",J)Y=+Y+1;else W=+W+1;if(K==="<")_="-0";Q=`${K+Y}.${W}.${z}${_}`}else if(J)Q=`>=${Y}.0.0${_} <${+Y+1}.0.0-0`;else if(F)Q=`>=${Y}.${W}.0${_} <${Y}.${+W+1}.0-0`;return P("xRange return",Q),Q})},s9=(q,Z)=>{return P("replaceStars",q,Z),q.trim().replace(S[y.STAR],"")},r9=(q,Z)=>{return P("replaceGTE0",q,Z),q.trim().replace(S[Z.includePrerelease?y.GTE0PRE:y.GTE0],"")},o9=(q)=>(Z,$,Q,K,Y,W,z,_,I,J,F,N)=>{if(T(Q))$="";else if(T(K))$=`>=${Q}.0.0${q?"-0":""}`;else if(T(Y))$=`>=${Q}.${K}.0${q?"-0":""}`;else if(W)$=`>=${$}`;else $=`>=${$}${q?"-0":""}`;if(T(I))_="";else if(T(J))_=`<${+I+1}.0.0-0`;else if(T(F))_=`<${I}.${+J+1}.0-0`;else if(N)_=`<=${I}.${J}.${F}-${N}`;else if(q)_=`<${I}.${J}.${+F+1}-0`;else _=`<=${_}`;return`${$} ${_}`.trim()},t9=(q,Z,$)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test(Z))return!1;if(Z.prerelease.length&&!$.includePrerelease){for(let Q=0;Q<q.length;Q++){if(P(q[Q].semver),q[Q].semver===wq.ANY)continue;if(q[Q].semver.prerelease.length>0){let K=q[Q].semver;if(K.major===Z.major&&K.minor===Z.minor&&K.patch===Z.patch)return!0}}return!1}return!0}});var t=O((v6,$1)=>{var e=Symbol("SemVer ANY");class Dq{static get ANY(){return e}constructor(q,Z){if(Z=o0(Z),q instanceof Dq)if(q.loose===!!Z.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Tq("comparator",q,Z),this.options=Z,this.loose=!!Z.loose,this.parse(q),this.semver===e)this.value="";else this.value=this.operator+this.semver.version;Tq("comp",this)}parse(q){let Z=this.options.loose?t0[e0.COMPARATORLOOSE]:t0[e0.COMPARATOR],$=q.match(Z);if(!$)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=$[1]!==void 0?$[1]:"",this.operator==="=")this.operator="";if(!$[2])this.semver=e;else this.semver=new q1($[2],this.options.loose)}toString(){return this.value}test(q){if(Tq("Comparator.test",q,this.options.loose),this.semver===e||q===e)return!0;if(typeof q==="string")try{q=new q1(q,this.options)}catch(Z){return!1}return Sq(q,this.operator,this.semver,this.options)}intersects(q,Z){if(!(q instanceof Dq))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new Z1(q.value,Z).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new Z1(this.value,Z).test(q.semver)}if(Z=o0(Z),Z.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!Z.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Sq(this.semver,"<",q.semver,Z)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Sq(this.semver,">",q.semver,Z)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}$1.exports=Dq;var o0=Wq(),{safeRe:t0,t:e0}=p(),Sq=yq(),Tq=s(),q1=R(),Z1=b()});var qq=O((u6,Q1)=>{var e9=b(),qZ=(q,Z,$)=>{try{Z=new e9(Z,$)}catch(Q){return!1}return Z.test(q)};Q1.exports=qZ});var Y1=O((f6,K1)=>{var ZZ=b(),$Z=(q,Z)=>new ZZ(q,Z).set.map(($)=>$.map((Q)=>Q.value).join(" ").trim().split(" "));K1.exports=$Z});var z1=O((d6,W1)=>{var QZ=R(),KZ=b(),YZ=(q,Z,$)=>{let Q=null,K=null,Y=null;try{Y=new KZ(Z,$)}catch(W){return null}return q.forEach((W)=>{if(Y.test(W)){if(!Q||K.compare(W)===-1)Q=W,K=new QZ(Q,$)}}),Q};W1.exports=YZ});var I1=O((h6,_1)=>{var WZ=R(),zZ=b(),_Z=(q,Z,$)=>{let Q=null,K=null,Y=null;try{Y=new zZ(Z,$)}catch(W){return null}return q.forEach((W)=>{if(Y.test(W)){if(!Q||K.compare(W)===1)Q=W,K=new WZ(Q,$)}}),Q};_1.exports=_Z});var V1=O((l6,J1)=>{var jq=R(),IZ=b(),B1=r(),BZ=(q,Z)=>{q=new IZ(q,Z);let $=new jq("0.0.0");if(q.test($))return $;if($=new jq("0.0.0-0"),q.test($))return $;$=null;for(let Q=0;Q<q.set.length;++Q){let K=q.set[Q],Y=null;if(K.forEach((W)=>{let z=new jq(W.semver.version);switch(W.operator){case">":if(z.prerelease.length===0)z.patch++;else z.prerelease.push(0);z.raw=z.format();case"":case">=":if(!Y||B1(z,Y))Y=z;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${W.operator}`)}}),Y&&(!$||B1($,Y)))$=Y}if($&&q.test($))return $;return null};J1.exports=BZ});var O1=O((g6,X1)=>{var JZ=b(),VZ=(q,Z)=>{try{return new JZ(q,Z).range||"*"}catch($){return null}};X1.exports=VZ});var Uq=O((c6,U1)=>{var XZ=R(),D1=t(),{ANY:OZ}=D1,FZ=b(),xZ=qq(),F1=r(),x1=Vq(),DZ=Oq(),UZ=Xq(),NZ=(q,Z,$,Q)=>{q=new XZ(q,Q),Z=new FZ(Z,Q);let K,Y,W,z,_;switch($){case">":K=F1,Y=DZ,W=x1,z=">",_=">=";break;case"<":K=x1,Y=UZ,W=F1,z="<",_="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(xZ(q,Z,Q))return!1;for(let I=0;I<Z.set.length;++I){let J=Z.set[I],F=null,N=null;if(J.forEach((B)=>{if(B.semver===OZ)B=new D1(">=0.0.0");if(F=F||B,N=N||B,K(B.semver,F.semver,Q))F=B;else if(W(B.semver,N.semver,Q))N=B}),F.operator===z||F.operator===_)return!1;if((!N.operator||N.operator===z)&&Y(q,N.semver))return!1;else if(N.operator===_&&W(q,N.semver))return!1}return!0};U1.exports=NZ});var L1=O((m6,N1)=>{var LZ=Uq(),GZ=(q,Z,$)=>LZ(q,Z,">",$);N1.exports=GZ});var P1=O((p6,G1)=>{var PZ=Uq(),AZ=(q,Z,$)=>PZ(q,Z,"<",$);G1.exports=AZ});var E1=O((n6,C1)=>{var A1=b(),CZ=(q,Z,$)=>{return q=new A1(q,$),Z=new A1(Z,$),q.intersects(Z,$)};C1.exports=CZ});var k1=O((a6,H1)=>{var EZ=qq(),HZ=M();H1.exports=(q,Z,$)=>{let Q=[],K=null,Y=null,W=q.sort((J,F)=>HZ(J,F,$));for(let J of W)if(EZ(J,Z,$)){if(Y=J,!K)K=J}else{if(Y)Q.push([K,Y]);Y=null,K=null}if(K)Q.push([K,null]);let z=[];for(let[J,F]of Q)if(J===F)z.push(J);else if(!F&&J===W[0])z.push("*");else if(!F)z.push(`>=${J}`);else if(J===W[0])z.push(`<=${F}`);else z.push(`${J} - ${F}`);let _=z.join(" || "),I=typeof Z.raw==="string"?Z.raw:String(Z);return _.length<I.length?_:Z}});var j1=O((i6,T1)=>{var R1=b(),vq=t(),{ANY:Mq}=vq,bq=qq(),uq=M(),kZ=(q,Z,$={})=>{if(q===Z)return!0;q=new R1(q,$),Z=new R1(Z,$);let Q=!1;q:for(let K of q.set){for(let Y of Z.set){let W=yZ(K,Y,$);if(Q=Q||W!==null,W)continue q}if(Q)return!1}return!0},RZ=[new vq(">=0.0.0-0")],y1=[new vq(">=0.0.0")],yZ=(q,Z,$)=>{if(q===Z)return!0;if(q.length===1&&q[0].semver===Mq)if(Z.length===1&&Z[0].semver===Mq)return!0;else if($.includePrerelease)q=RZ;else q=y1;if(Z.length===1&&Z[0].semver===Mq)if($.includePrerelease)return!0;else Z=y1;let Q=new Set,K,Y;for(let B of q)if(B.operator===">"||B.operator===">=")K=w1(K,B,$);else if(B.operator==="<"||B.operator==="<=")Y=S1(Y,B,$);else Q.add(B.semver);if(Q.size>1)return null;let W;if(K&&Y){if(W=uq(K.semver,Y.semver,$),W>0)return null;else if(W===0&&(K.operator!==">="||Y.operator!=="<="))return null}for(let B of Q){if(K&&!bq(B,String(K),$))return null;if(Y&&!bq(B,String(Y),$))return null;for(let G of Z)if(!bq(B,String(G),$))return!1;return!0}let z,_,I,J,F=Y&&!$.includePrerelease&&Y.semver.prerelease.length?Y.semver:!1,N=K&&!$.includePrerelease&&K.semver.prerelease.length?K.semver:!1;if(F&&F.prerelease.length===1&&Y.operator==="<"&&F.prerelease[0]===0)F=!1;for(let B of Z){if(J=J||B.operator===">"||B.operator===">=",I=I||B.operator==="<"||B.operator==="<=",K){if(N){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===N.major&&B.semver.minor===N.minor&&B.semver.patch===N.patch)N=!1}if(B.operator===">"||B.operator===">="){if(z=w1(K,B,$),z===B&&z!==K)return!1}else if(K.operator===">="&&!B.test(K.semver))return!1}if(Y){if(F){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===F.major&&B.semver.minor===F.minor&&B.semver.patch===F.patch)F=!1}if(B.operator==="<"||B.operator==="<="){if(_=S1(Y,B,$),_===B&&_!==Y)return!1}else if(Y.operator==="<="&&!B.test(Y.semver))return!1}if(!B.operator&&(Y||K)&&W!==0)return!1}if(K&&I&&!Y&&W!==0)return!1;if(Y&&J&&!K&&W!==0)return!1;if(N||F)return!1;return!0},w1=(q,Z,$)=>{if(!q)return Z;let Q=uq(q.semver,Z.semver,$);return Q>0?q:Q<0?Z:Z.operator===">"&&q.operator===">="?Z:q},S1=(q,Z,$)=>{if(!q)return Z;let Q=uq(q.semver,Z.semver,$);return Q<0?q:Q>0?Z:Z.operator==="<"&&q.operator==="<="?Z:q};T1.exports=kZ});var u1=O((s6,v1)=>{var fq=p(),M1=m(),wZ=R(),b1=Eq(),SZ=d(),TZ=K0(),jZ=W0(),MZ=I0(),bZ=V0(),vZ=O0(),uZ=x0(),fZ=U0(),dZ=L0(),hZ=M(),lZ=C0(),gZ=H0(),cZ=Jq(),mZ=w0(),pZ=T0(),nZ=r(),aZ=Vq(),iZ=kq(),sZ=Rq(),rZ=Xq(),oZ=Oq(),tZ=yq(),eZ=l0(),q5=c0(),Z5=t(),$5=b(),Q5=qq(),K5=Y1(),Y5=z1(),W5=I1(),z5=V1(),_5=O1(),I5=Uq(),B5=L1(),J5=P1(),V5=E1(),X5=k1(),O5=j1();v1.exports={parse:SZ,valid:TZ,clean:jZ,inc:MZ,diff:bZ,major:vZ,minor:uZ,patch:fZ,prerelease:dZ,compare:hZ,rcompare:lZ,compareLoose:gZ,compareBuild:cZ,sort:mZ,rsort:pZ,gt:nZ,lt:aZ,eq:iZ,neq:sZ,gte:rZ,lte:oZ,cmp:tZ,coerce:eZ,truncate:q5,Comparator:Z5,Range:$5,satisfies:Q5,toComparators:K5,maxSatisfying:Y5,minSatisfying:W5,minVersion:z5,validRange:_5,outside:I5,gtr:B5,ltr:J5,intersects:V5,simplifyRange:X5,subset:O5,SemVer:wZ,re:fq.re,src:fq.src,tokens:fq.t,SEMVER_SPEC_VERSION:M1.SEMVER_SPEC_VERSION,RELEASE_TYPES:M1.RELEASE_TYPES,compareIdentifiers:b1.compareIdentifiers,rcompareIdentifiers:b1.rcompareIdentifiers}});var d1=O((r6,f1)=>{var F5=Symbol("proc-log.meta");f1.exports={META:F5,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...q){return process.emit("output","standard",...q)},error:function(...q){return process.emit("output","error",...q)},buffer:function(...q){return process.emit("output","buffer",...q)},flush:function(...q){return process.emit("output","flush",...q)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...q){return process.emit("log","error",...q)},notice:function(...q){return process.emit("log","notice",...q)},warn:function(...q){return process.emit("log","warn",...q)},info:function(...q){return process.emit("log","info",...q)},verbose:function(...q){return process.emit("log","verbose",...q)},http:function(...q){return process.emit("log","http",...q)},silly:function(...q){return process.emit("log","silly",...q)},timing:function(...q){return process.emit("log","timing",...q)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(q,Z){process.emit("time","start",q);function $(){return process.emit("time","end",q)}if(typeof Z==="function"){let Q=Z();if(Q&&Q.finally)return Q.finally($);return $(),Q}return $},end:function(q){return process.emit("time","end",q)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(...q){let Z;if(typeof q[0]==="function")Z=q.shift();process.emit("input","start",...q);function $(){return process.emit("input","end",...q)}if(typeof Z==="function"){let Q=Z();if(Q&&Q.finally)return Q.finally($);return $(),Q}return $},end:function(...q){return process.emit("input","end",...q)},read:function(...q){let Z,$,Q=new Promise((K,Y)=>{Z=K,$=Y});return process.emit("input","read",Z,$,...q),Q}}}});var n1=O((m1)=>{var l1=(q,Z)=>()=>(Z||q((Z={exports:{}}).exports,Z),Z.exports),x5=l1((q)=>{Object.defineProperty(q,"__esModule",{value:!0}),q.tracing=q.metrics=void 0;var Z=n("diagnostics_channel");q.metrics=(0,Z.channel)("lru-cache:metrics"),q.tracing=(0,Z.tracingChannel)("lru-cache")}),D5=l1((q)=>{Object.defineProperty(q,"__esModule",{value:!0}),q.defaultPerf=void 0,q.defaultPerf=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date});Object.defineProperty(m1,"__esModule",{value:!0});m1.LRUCache=void 0;var A=x5(),U5=D5(),dq=()=>A.metrics.hasSubscribers||A.tracing.hasSubscribers,g1=new Set,h1=typeof process=="object"&&process?process:{},N5=(q,Z,$,Q)=>{typeof h1.emitWarning=="function"?h1.emitWarning(q,Z,$,Q):console.error(`[${$}] ${Z}: ${q}`)},L5=(q)=>!g1.has(q),h=(q)=>!!q&&q===Math.floor(q)&&q>0&&isFinite(q),c1=(q)=>h(q)?q<=Math.pow(2,8)?Uint8Array:q<=Math.pow(2,16)?Uint16Array:q<=Math.pow(2,32)?Uint32Array:q<=Number.MAX_SAFE_INTEGER?Nq:null:null,Nq=class extends Array{constructor(q){super(q),this.fill(0)}},G5=class q{heap;length;static#K=!1;static create(Z){let $=c1(Z);if(!$)return[];q.#K=!0;let Q=new q(Z,$);return q.#K=!1,Q}constructor(Z,$){if(!q.#K)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new $(Z),this.length=0}push(Z){this.heap[this.length++]=Z}pop(){return this.heap[--this.length]}},P5=class q{#K;#I;#Z;#y;#D;#b;#v;#U;get perf(){return this.#U}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;backgroundFetchSize;#W;#N;#Y;#Q;#q;#J;#X;#B;#z;#L;#_;#G;#P;#O;#F;#A;#u;#V;#w;static unsafeExposeInternals(Z){return{starts:Z.#P,ttls:Z.#O,autopurgeTimers:Z.#F,sizes:Z.#G,keyMap:Z.#Y,keyList:Z.#Q,valList:Z.#q,next:Z.#J,prev:Z.#X,get head(){return Z.#B},get tail(){return Z.#z},free:Z.#L,isBackgroundFetch:($)=>Z.#$($),backgroundFetch:($,Q,K,Y)=>Z.#h($,Q,K,Y),moveToTail:($)=>Z.#M($),indexes:($)=>Z.#C($),rindexes:($)=>Z.#E($),isStale:($)=>Z.#x($)}}get max(){return this.#K}get maxSize(){return this.#I}get calculatedSize(){return this.#N}get size(){return this.#W}get fetchMethod(){return this.#b}get memoMethod(){return this.#v}get dispose(){return this.#Z}get onInsert(){return this.#y}get disposeAfter(){return this.#D}constructor(Z){let{max:$=0,ttl:Q,ttlResolution:K=1,ttlAutopurge:Y,updateAgeOnGet:W,updateAgeOnHas:z,allowStale:_,dispose:I,onInsert:J,disposeAfter:F,noDisposeOnSet:N,noUpdateTTL:B,maxSize:G=0,maxEntrySize:x=0,sizeCalculation:H,fetchMethod:U,memoMethod:k,noDeleteOnFetchRejection:f,noDeleteOnStaleGet:w,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:i,ignoreFetchAbort:g,backgroundFetchSize:Yq=1,perf:c}=Z;if(this.backgroundFetchSize=Yq,c!==void 0&&typeof c?.now!="function")throw TypeError("perf option must have a now() method if specified");if(this.#U=c??U5.defaultPerf,$!==0&&!h($))throw TypeError("max option must be a nonnegative integer");let Gq=$?c1($):Array;if(!Gq)throw Error("invalid max value: "+$);if(this.#K=$,this.#I=G,this.maxEntrySize=x||this.#I,this.sizeCalculation=H,this.sizeCalculation){if(!this.#I&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw TypeError("sizeCalculation set to non-function")}if(k!==void 0&&typeof k!="function")throw TypeError("memoMethod must be a function if defined");if(this.#v=k,U!==void 0&&typeof U!="function")throw TypeError("fetchMethod must be a function if specified");if(this.#b=U,this.#u=!!U,this.#Y=new Map,this.#Q=Array.from({length:$}).fill(void 0),this.#q=Array.from({length:$}).fill(void 0),this.#J=new Gq($),this.#X=new Gq($),this.#B=0,this.#z=0,this.#L=G5.create($),this.#W=0,this.#N=0,typeof I=="function"&&(this.#Z=I),typeof J=="function"&&(this.#y=J),typeof F=="function"?(this.#D=F,this.#_=[]):(this.#D=void 0,this.#_=void 0),this.#A=!!this.#Z,this.#w=!!this.#y,this.#V=!!this.#D,this.noDisposeOnSet=!!N,this.noUpdateTTL=!!B,this.noDeleteOnFetchRejection=!!f,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!i,this.ignoreFetchAbort=!!g,this.maxEntrySize!==0){if(this.#I!==0&&!h(this.#I))throw TypeError("maxSize must be a positive integer if specified");if(!h(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#i()}if(this.allowStale=!!_,this.noDeleteOnStaleGet=!!w,this.updateAgeOnGet=!!W,this.updateAgeOnHas=!!z,this.ttlResolution=h(K)||K===0?K:1,this.ttlAutopurge=!!Y,this.ttl=Q||0,this.ttl){if(!h(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#l()}if(this.#K===0&&this.ttl===0&&this.#I===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#K&&!this.#I){let Pq="LRU_CACHE_UNBOUNDED";L5(Pq)&&(g1.add(Pq),N5("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Pq,q))}}getRemainingTTL(Z){return this.#Y.has(Z)?1/0:0}#l(){let Z=new Nq(this.#K),$=new Nq(this.#K);this.#O=Z,this.#P=$;let Q=this.ttlAutopurge?Array.from({length:this.#K}):void 0;this.#F=Q,this.#g=(z,_,I=this.#U.now())=>{$[z]=_!==0?I:0,Z[z]=_,K(z,_)},this.#S=(z)=>{$[z]=Z[z]!==0?this.#U.now():0,K(z,Z[z])};let K=this.ttlAutopurge?(z,_)=>{if(Q?.[z]&&(clearTimeout(Q[z]),Q[z]=void 0),_&&_!==0&&Q){let I=setTimeout(()=>{this.#x(z)&&this.#H(this.#Q[z],"expire")},_+1);I.unref&&I.unref(),Q[z]=I}}:()=>{};this.#k=(z,_)=>{if(Z[_]){let I=Z[_],J=$[_];if(!I||!J)return;z.ttl=I,z.start=J,z.now=Y||W();let F=z.now-J;z.remainingTTL=I-F}};let Y=0,W=()=>{let z=this.#U.now();if(this.ttlResolution>0){Y=z;let _=setTimeout(()=>Y=0,this.ttlResolution);_.unref&&_.unref()}return z};this.getRemainingTTL=(z)=>{let _=this.#Y.get(z);if(_===void 0)return 0;let I=Z[_],J=$[_];if(!I||!J)return 1/0;let F=(Y||W())-J;return I-F},this.#x=(z)=>{let _=$[z],I=Z[z];return!!I&&!!_&&(Y||W())-_>I}}#S=()=>{};#k=()=>{};#g=()=>{};#x=()=>!1;#i(){let Z=new Nq(this.#K);this.#N=0,this.#G=Z,this.#T=($)=>{this.#N-=Z[$],Z[$]=0},this.#c=($,Q,K,Y)=>{if(!h(K)){if(this.#$(Q))return this.backgroundFetchSize;if(Y){if(typeof Y!="function")throw TypeError("sizeCalculation must be a function");if(K=Y(Q,$),!h(K))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.")}return K},this.#f=($,Q,K)=>{if(Z[$]=Q,this.#I){let Y=this.#I-Z[$];for(;this.#N>Y;)this.#d(!0)}this.#N+=Z[$],K&&(K.entrySize=Q,K.totalCalculatedSize=this.#N)}}#T=(Z)=>{};#f=(Z,$,Q)=>{};#c=(Z,$,Q,K)=>{if(Q||K)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#C({allowStale:Z=this.allowStale}={}){if(this.#W)for(let $=this.#z;this.#m($)&&((Z||!this.#x($))&&(yield $),$!==this.#B);)$=this.#X[$]}*#E({allowStale:Z=this.allowStale}={}){if(this.#W)for(let $=this.#B;this.#m($)&&((Z||!this.#x($))&&(yield $),$!==this.#z);)$=this.#J[$]}#m(Z){return Z!==void 0&&this.#Y.get(this.#Q[Z])===Z}*entries(){for(let Z of this.#C())this.#q[Z]!==void 0&&this.#Q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield[this.#Q[Z],this.#q[Z]])}*rentries(){for(let Z of this.#E())this.#q[Z]!==void 0&&this.#Q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield[this.#Q[Z],this.#q[Z]])}*keys(){for(let Z of this.#C()){let $=this.#Q[Z];$!==void 0&&!this.#$(this.#q[Z])&&(yield $)}}*rkeys(){for(let Z of this.#E()){let $=this.#Q[Z];$!==void 0&&!this.#$(this.#q[Z])&&(yield $)}}*values(){for(let Z of this.#C())this.#q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield this.#q[Z])}*rvalues(){for(let Z of this.#E())this.#q[Z]!==void 0&&!this.#$(this.#q[Z])&&(yield this.#q[Z])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(Z,$={}){for(let Q of this.#C()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;if(Y!==void 0&&Z(Y,this.#Q[Q],this))return this.#j(this.#Q[Q],$)}}forEach(Z,$=this){for(let Q of this.#C()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;Y!==void 0&&Z.call($,Y,this.#Q[Q],this)}}rforEach(Z,$=this){for(let Q of this.#E()){let K=this.#q[Q],Y=this.#$(K)?K.__staleWhileFetching:K;Y!==void 0&&Z.call($,Y,this.#Q[Q],this)}}purgeStale(){let Z=!1;for(let $ of this.#E({allowStale:!0}))this.#x($)&&(this.#H(this.#Q[$],"expire"),Z=!0);return Z}info(Z){let $=this.#Y.get(Z);if($===void 0)return;let Q=this.#q[$],K=this.#$(Q)?Q.__staleWhileFetching:Q;if(K===void 0)return;let Y={value:K};if(this.#O&&this.#P){let W=this.#O[$],z=this.#P[$];if(W&&z){let _=W-(this.#U.now()-z);Y.ttl=_,Y.start=Date.now()}}return this.#G&&(Y.size=this.#G[$]),Y}dump(){let Z=[];for(let $ of this.#C({allowStale:!0})){let Q=this.#Q[$],K=this.#q[$],Y=this.#$(K)?K.__staleWhileFetching:K;if(Y===void 0||Q===void 0)continue;let W={value:Y};if(this.#O&&this.#P){W.ttl=this.#O[$];let z=this.#U.now()-this.#P[$];W.start=Math.floor(Date.now()-z)}this.#G&&(W.size=this.#G[$]),Z.unshift([Q,W])}return Z}load(Z){this.clear();for(let[$,Q]of Z){if(Q.start){let K=Date.now()-Q.start;Q.start=this.#U.now()-K}this.#R($,Q.value,Q)}}set(Z,$,Q={}){let{status:K=A.metrics.hasSubscribers?{}:void 0}=Q;Q.status=K,K&&(K.op="set",K.key=Z,$!==void 0&&(K.value=$),K.cache=this);let Y=this.#R(Z,$,Q);return K&&A.metrics.hasSubscribers&&A.metrics.publish(K),Y}#R(Z,$,Q,K){let{ttl:Y=this.ttl,start:W,noDisposeOnSet:z=this.noDisposeOnSet,sizeCalculation:_=this.sizeCalculation,status:I}=Q,J=this.#$($);if($===void 0)return I&&(I.set="deleted"),this.delete(Z),this;let{noUpdateTTL:F=this.noUpdateTTL}=Q;I&&!J&&(I.value=$);let N=this.#c(Z,$,Q.size||0,_,I);if(this.maxEntrySize&&N>this.maxEntrySize)return this.#H(Z,"set"),I&&(I.set="miss",I.maxEntrySizeExceeded=!0),this;let B=this.#W===0?void 0:this.#Y.get(Z);if(B===void 0)B=this.#W===0?this.#z:this.#L.length!==0?this.#L.pop():this.#W===this.#K?this.#d(!1):this.#W,this.#Q[B]=Z,this.#q[B]=$,this.#Y.set(Z,B),this.#J[this.#z]=B,this.#X[B]=this.#z,this.#z=B,this.#W++,this.#f(B,N,I),I&&(I.set="add"),F=!1,this.#w&&!J&&this.#y?.($,Z,"add");else{this.#M(B);let G=this.#q[B];if($!==G){if(!z)if(this.#$(G)){G!==K&&G.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=G;x!==void 0&&x!==$&&(this.#A&&this.#Z?.(x,Z,"set"),this.#V&&this.#_?.push([x,Z,"set"]))}else this.#A&&this.#Z?.(G,Z,"set"),this.#V&&this.#_?.push([G,Z,"set"]);if(this.#T(B),this.#f(B,N,I),this.#q[B]=$,!J){let x=G&&this.#$(G)?G.__staleWhileFetching:G,H=x===void 0?"add":$!==x?"replace":"update";I&&(I.set=H,x!==void 0&&(I.oldValue=x)),this.#w&&this.onInsert?.($,Z,H)}}else J||(I&&(I.set="update"),this.#w&&this.onInsert?.($,Z,"update"))}if(Y!==0&&!this.#O&&this.#l(),this.#O&&(F||this.#g(B,Y,W),I&&this.#k(I,B)),!z&&this.#V&&this.#_){let G=this.#_,x;for(;x=G?.shift();)this.#D?.(...x)}return this}pop(){try{for(;this.#W;){let Z=this.#q[this.#B];if(this.#d(!0),this.#$(Z)){if(Z.__staleWhileFetching)return Z.__staleWhileFetching}else if(Z!==void 0)return Z}}finally{if(this.#V&&this.#_){let Z=this.#_,$;for(;$=Z?.shift();)this.#D?.(...$)}}}#d(Z){let $=this.#B,Q=this.#Q[$],K=this.#q[$],Y=this.#$(K);Y&&K.__abortController.abort(Error("evicted"));let W=Y?K.__staleWhileFetching:K;return(this.#A||this.#V)&&W!==void 0&&(this.#A&&this.#Z?.(W,Q,"evict"),this.#V&&this.#_?.push([W,Q,"evict"])),this.#T($),this.#F?.[$]&&(clearTimeout(this.#F[$]),this.#F[$]=void 0),Z&&(this.#Q[$]=void 0,this.#q[$]=void 0,this.#L.push($)),this.#W===1?(this.#B=this.#z=0,this.#L.length=0):this.#B=this.#J[$],this.#Y.delete(Q),this.#W--,$}has(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="has",Q.key=Z,Q.cache=this);let K=this.#s(Z,$);return A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#s(Z,$={}){let{updateAgeOnHas:Q=this.updateAgeOnHas,status:K}=$,Y=this.#Y.get(Z);if(Y!==void 0){let W=this.#q[Y];if(this.#$(W)&&W.__staleWhileFetching===void 0)return!1;if(this.#x(Y))K&&(K.has="stale",this.#k(K,Y));else return Q&&this.#S(Y),K&&(K.has="hit",this.#k(K,Y)),!0}else K&&(K.has="miss");return!1}peek(Z,$={}){let{status:Q=dq()?{}:void 0}=$;Q&&(Q.op="peek",Q.key=Z,Q.cache=this),$.status=Q;let K=this.#r(Z,$);return A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#r(Z,$){let{status:Q,allowStale:K=this.allowStale}=$,Y=this.#Y.get(Z);if(Y===void 0||!K&&this.#x(Y)){Q&&(Q.peek=Y===void 0?"miss":"stale");return}let W=this.#q[Y],z=this.#$(W)?W.__staleWhileFetching:W;return Q&&(z!==void 0?(Q.peek="hit",Q.value=z):Q.peek="miss"),z}#h(Z,$,Q,K){let Y=$===void 0?void 0:this.#q[$];if(this.#$(Y))return Y;let W=new AbortController,{signal:z}=Q;z?.addEventListener("abort",()=>W.abort(z.reason),{signal:W.signal});let _={signal:W.signal,options:Q,context:K},I=(x,H=!1)=>{let{aborted:U}=W.signal,k=Q.ignoreFetchAbort&&x!==void 0,f=Q.ignoreFetchAbort||!!(Q.allowStaleOnFetchAbort&&x!==void 0);if(Q.status&&(U&&!H?(Q.status.fetchAborted=!0,Q.status.fetchError=W.signal.reason,k&&(Q.status.fetchAbortIgnored=!0)):Q.status.fetchResolved=!0),U&&!k&&!H)return F(W.signal.reason,f);let w=B,C=this.#q[$];return(C===B||C===void 0&&k&&H)&&(x===void 0?w.__staleWhileFetching!==void 0?this.#q[$]=w.__staleWhileFetching:this.#H(Z,"fetch"):(Q.status&&(Q.status.fetchUpdated=!0),this.#R(Z,x,_.options,w))),x},J=(x)=>(Q.status&&(Q.status.fetchRejected=!0,Q.status.fetchError=x),F(x,!1)),F=(x,H)=>{let{aborted:U}=W.signal,k=U&&Q.allowStaleOnFetchAbort,f=k||Q.allowStaleOnFetchRejection,w=f||Q.noDeleteOnFetchRejection,C=B;if(this.#q[$]===B&&(!w||!H&&C.__staleWhileFetching===void 0?this.#H(Z,"fetch"):k||(this.#q[$]=C.__staleWhileFetching)),f)return Q.status&&C.__staleWhileFetching!==void 0&&(Q.status.returnedStale=!0),C.__staleWhileFetching;if(C.__returned===C)throw x},N=(x,H)=>{let U=this.#b?.(Z,Y,_);W.signal.addEventListener("abort",()=>{(!Q.ignoreFetchAbort||Q.allowStaleOnFetchAbort)&&(x(void 0),Q.allowStaleOnFetchAbort&&(x=(k)=>I(k,!0)))}),U&&U instanceof Promise?U.then((k)=>x(k===void 0?void 0:k),H):U!==void 0&&x(U)};Q.status&&(Q.status.fetchDispatched=!0);let B=new Promise(N).then(I,J),G=Object.assign(B,{__abortController:W,__staleWhileFetching:Y,__returned:void 0});return $===void 0?(this.#R(Z,G,{..._.options,status:void 0}),$=this.#Y.get(Z)):this.#q[$]=G,G}#$(Z){if(!this.#u)return!1;let $=Z;return!!$&&$ instanceof Promise&&$.hasOwnProperty("__staleWhileFetching")&&$.__abortController instanceof AbortController}fetch(Z,$={}){let Q=A.tracing.hasSubscribers,{status:K=dq()?{}:void 0}=$;$.status=K,K&&$.context&&(K.context=$.context);let Y=this.#p(Z,$);return K&&Q&&(K.trace=!0,A.tracing.tracePromise(()=>Y,K).catch(()=>{})),Y}async#p(Z,$={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:Y=this.noDeleteOnStaleGet,ttl:W=this.ttl,noDisposeOnSet:z=this.noDisposeOnSet,size:_=0,sizeCalculation:I=this.sizeCalculation,noUpdateTTL:J=this.noUpdateTTL,noDeleteOnFetchRejection:F=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:N=this.allowStaleOnFetchRejection,ignoreFetchAbort:B=this.ignoreFetchAbort,allowStaleOnFetchAbort:G=this.allowStaleOnFetchAbort,context:x,forceRefresh:H=!1,status:U,signal:k}=$;if(U&&(U.op="fetch",U.key=Z,H&&(U.forceRefresh=!0),U.cache=this),!this.#u)return U&&(U.fetch="get"),this.#j(Z,{allowStale:Q,updateAgeOnGet:K,noDeleteOnStaleGet:Y,status:U});let f={allowStale:Q,updateAgeOnGet:K,noDeleteOnStaleGet:Y,ttl:W,noDisposeOnSet:z,size:_,sizeCalculation:I,noUpdateTTL:J,noDeleteOnFetchRejection:F,allowStaleOnFetchRejection:N,allowStaleOnFetchAbort:G,ignoreFetchAbort:B,status:U,signal:k},w=this.#Y.get(Z);if(w===void 0){U&&(U.fetch="miss");let C=this.#h(Z,w,f,x);return C.__returned=C}else{let C=this.#q[w];if(this.#$(C)){let c=Q&&C.__staleWhileFetching!==void 0;return U&&(U.fetch="inflight",c&&(U.returnedStale=!0)),c?C.__staleWhileFetching:C.__returned=C}let i=this.#x(w);if(!H&&!i)return U&&(U.fetch="hit"),this.#M(w),K&&this.#S(w),U&&this.#k(U,w),C;let g=this.#h(Z,w,f,x),Yq=g.__staleWhileFetching!==void 0&&Q;return U&&(U.fetch=i?"stale":"refresh",Yq&&i&&(U.returnedStale=!0)),Yq?g.__staleWhileFetching:g.__returned=g}}forceFetch(Z,$={}){let Q=A.tracing.hasSubscribers,{status:K=dq()?{}:void 0}=$;$.status=K,K&&$.context&&(K.context=$.context);let Y=this.#o(Z,$);return K&&Q&&(K.trace=!0,A.tracing.tracePromise(()=>Y,K).catch(()=>{})),Y}async#o(Z,$={}){let Q=await this.#p(Z,$);if(Q===void 0)throw Error("fetch() returned undefined");return Q}memo(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="memo",Q.key=Z,$.context&&(Q.context=$.context),Q.cache=this);let K=this.#t(Z,$);return Q&&(Q.value=K),A.metrics.hasSubscribers&&A.metrics.publish(Q),K}#t(Z,$={}){let Q=this.#v;if(!Q)throw Error("no memoMethod provided to constructor");let{context:K,status:Y,forceRefresh:W,...z}=$;Y&&W&&(Y.forceRefresh=!0);let _=this.#j(Z,z),I=W||_===void 0;if(Y&&(Y.memo=I?"miss":"hit",I||(Y.value=_)),!I)return _;let J=Q(Z,_,{options:z,context:K});return Y&&(Y.value=J),this.#R(Z,J,z),J}get(Z,$={}){let{status:Q=A.metrics.hasSubscribers?{}:void 0}=$;$.status=Q,Q&&(Q.op="get",Q.key=Z,Q.cache=this);let K=this.#j(Z,$);return Q&&(K!==void 0&&(Q.value=K),A.metrics.hasSubscribers&&A.metrics.publish(Q)),K}#j(Z,$={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:K=this.updateAgeOnGet,noDeleteOnStaleGet:Y=this.noDeleteOnStaleGet,status:W}=$,z=this.#Y.get(Z);if(z===void 0){W&&(W.get="miss");return}let _=this.#q[z],I=this.#$(_);return W&&this.#k(W,z),this.#x(z)?I?(W&&(W.get="stale-fetching"),Q&&_.__staleWhileFetching!==void 0?(W&&(W.returnedStale=!0),_.__staleWhileFetching):void 0):(Y||this.#H(Z,"expire"),W&&(W.get="stale"),Q?(W&&(W.returnedStale=!0),_):void 0):(W&&(W.get=I?"fetching":"hit"),this.#M(z),K&&this.#S(z),I?_.__staleWhileFetching:_)}#n(Z,$){this.#X[$]=Z,this.#J[Z]=$}#M(Z){Z!==this.#z&&(Z===this.#B?this.#B=this.#J[Z]:this.#n(this.#X[Z],this.#J[Z]),this.#n(this.#z,Z),this.#z=Z)}delete(Z){return this.#H(Z,"delete")}#H(Z,$){A.metrics.hasSubscribers&&A.metrics.publish({op:"delete",delete:$,key:Z,cache:this});let Q=!1;if(this.#W!==0){let K=this.#Y.get(Z);if(K!==void 0)if(this.#F?.[K]&&(clearTimeout(this.#F?.[K]),this.#F[K]=void 0),Q=!0,this.#W===1)this.#a($);else{this.#T(K);let Y=this.#q[K];if(this.#$(Y)?Y.__abortController.abort(Error("deleted")):(this.#A||this.#V)&&(this.#A&&this.#Z?.(Y,Z,$),this.#V&&this.#_?.push([Y,Z,$])),this.#Y.delete(Z),this.#Q[K]=void 0,this.#q[K]=void 0,K===this.#z)this.#z=this.#X[K];else if(K===this.#B)this.#B=this.#J[K];else{let W=this.#X[K];this.#J[W]=this.#J[K];let z=this.#J[K];this.#X[z]=this.#X[K]}this.#W--,this.#L.push(K)}}if(this.#V&&this.#_?.length){let K=this.#_,Y;for(;Y=K?.shift();)this.#D?.(...Y)}return Q}clear(){return this.#a("delete")}#a(Z){for(let $ of this.#E({allowStale:!0})){let Q=this.#q[$];if(this.#$(Q))Q.__abortController.abort(Error("deleted"));else{let K=this.#Q[$];this.#A&&this.#Z?.(Q,K,Z),this.#V&&this.#_?.push([Q,K,Z])}}if(this.#Y.clear(),this.#q.fill(void 0),this.#Q.fill(void 0),this.#O&&this.#P){this.#O.fill(0),this.#P.fill(0);for(let $ of this.#F??[])$!==void 0&&clearTimeout($);this.#F?.fill(void 0)}if(this.#G&&this.#G.fill(0),this.#B=0,this.#z=0,this.#L.length=0,this.#N=0,this.#W=0,this.#V&&this.#_){let $=this.#_,Q;for(;Q=$?.shift();)this.#D?.(...Q)}}};m1.LRUCache=P5});var s1=O((e6,i1)=>{var L=(...q)=>q.every((Z)=>Z)?q.join(""):"",E=(q)=>q?encodeURIComponent(q):"",a1=(q)=>q.toLowerCase().replace(/^\W+/g,"").replace(/(?<!\W)\W+$/,"").replace(/\//g,"").replace(/\W+/g,"-"),A5={sshtemplate:({domain:q,user:Z,project:$,committish:Q})=>`git@${q}:${Z}/${$}.git${L("#",Q)}`,sshurltemplate:({domain:q,user:Z,project:$,committish:Q})=>`git+ssh://git@${q}/${Z}/${$}.git${L("#",Q)}`,edittemplate:({domain:q,user:Z,project:$,committish:Q,editpath:K,path:Y})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q||"HEAD"),"/",Y)}`,browsetemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q))}`,browsetreetemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K,path:Y,fragment:W,hashformat:z})=>`https://${q}/${Z}/${$}/${K}/${E(Q||"HEAD")}/${Y}${L("#",z(W||""))}`,browseblobtemplate:({domain:q,user:Z,project:$,committish:Q,blobpath:K,path:Y,fragment:W,hashformat:z})=>`https://${q}/${Z}/${$}/${K}/${E(Q||"HEAD")}/${Y}${L("#",z(W||""))}`,docstemplate:({domain:q,user:Z,project:$,treepath:Q,committish:K})=>`https://${q}/${Z}/${$}${L("/",Q,"/",E(K))}#readme`,httpstemplate:({auth:q,domain:Z,user:$,project:Q,committish:K})=>`git+https://${L(q,"@")}${Z}/${$}/${Q}.git${L("#",K)}`,filetemplate:({domain:q,user:Z,project:$,committish:Q,path:K})=>`https://${q}/${Z}/${$}/raw/${E(Q||"HEAD")}/${K}`,shortcuttemplate:({type:q,user:Z,project:$,committish:Q})=>`${q}:${Z}/${$}${L("#",Q)}`,pathtemplate:({user:q,project:Z,committish:$})=>`${q}/${Z}${L("#",$)}`,bugstemplate:({domain:q,user:Z,project:$})=>`https://${q}/${Z}/${$}/issues`,hashformat:a1},l={};l.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:q,user:Z,project:$,committish:Q,path:K})=>`https://${L(q,"@")}raw.githubusercontent.com/${Z}/${$}/${E(Q||"HEAD")}/${K}`,gittemplate:({auth:q,domain:Z,user:$,project:Q,committish:K})=>`git://${L(q,"@")}${Z}/${$}/${Q}.git${L("#",K)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://codeload.${q}/${Z}/${$}/tar.gz/${E(Q||"HEAD")}`,extract:(q)=>{let[,Z,$,Q,K]=q.pathname.split("/",5);if(Q&&Q!=="tree")return;if(!Q)K=q.hash.slice(1);if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:K}}};l.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:q,user:Z,project:$,committish:Q,treepath:K,path:Y,editpath:W})=>`https://${q}/${Z}/${$}${L("/",K,"/",E(Q||"HEAD"),"/",Y,W)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}/get/${E(Q||"HEAD")}.tar.gz`,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(["get"].includes(Q))return;if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:q.hash.slice(1)}}};l.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/api/v4/projects/${E(Z+"/"+$)}/repository/archive.tar.gz?sha=${E(Q||"HEAD")}`,extract:(q)=>{let Z=q.pathname.slice(1);if(Z.includes("/-/")||Z.includes("/archive.tar.gz"))return;let $=Z.split("/"),Q=$.pop();if(Q.endsWith(".git"))Q=Q.slice(0,-4);let K=$.join("/");if(!K||!Q)return;return{user:K,project:Q,committish:q.hash.slice(1)}}};l.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:q,project:Z,committish:$})=>`git@${q}:${Z}.git${L("#",$)}`,sshurltemplate:({domain:q,project:Z,committish:$})=>`git+ssh://git@${q}/${Z}.git${L("#",$)}`,edittemplate:({domain:q,user:Z,project:$,committish:Q,editpath:K})=>`https://${q}/${Z}/${$}${L("/",E(Q))}/${K}`,browsetemplate:({domain:q,project:Z,committish:$})=>`https://${q}/${Z}${L("/",E($))}`,browsetreetemplate:({domain:q,project:Z,committish:$,path:Q,hashformat:K})=>`https://${q}/${Z}${L("/",E($))}${L("#",K(Q))}`,browseblobtemplate:({domain:q,project:Z,committish:$,path:Q,hashformat:K})=>`https://${q}/${Z}${L("/",E($))}${L("#",K(Q))}`,docstemplate:({domain:q,project:Z,committish:$})=>`https://${q}/${Z}${L("/",E($))}`,httpstemplate:({domain:q,project:Z,committish:$})=>`git+https://${q}/${Z}.git${L("#",$)}`,filetemplate:({user:q,project:Z,committish:$,path:Q})=>`https://gist.githubusercontent.com/${q}/${Z}/raw${L("/",E($))}/${Q}`,shortcuttemplate:({type:q,project:Z,committish:$})=>`${q}:${Z}${L("#",$)}`,pathtemplate:({project:q,committish:Z})=>`${q}${L("#",Z)}`,bugstemplate:({domain:q,project:Z})=>`https://${q}/${Z}`,gittemplate:({domain:q,project:Z,committish:$})=>`git://${q}/${Z}.git${L("#",$)}`,tarballtemplate:({project:q,committish:Z})=>`https://codeload.github.com/gist/${q}/tar.gz/${E(Z||"HEAD")}`,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(Q==="raw")return;if(!$){if(!Z)return;$=Z,Z=null}if($.endsWith(".git"))$=$.slice(0,-4);return{user:Z,project:$,committish:q.hash.slice(1)}},hashformat:function(q){return q&&"file-"+a1(q)}};l.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:q,user:Z,project:$,committish:Q,path:K})=>`https://${q}/${Z}/${$}/blob/${E(Q)||"HEAD"}/${K}`,httpstemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}${L("#",Q)}`,tarballtemplate:({domain:q,user:Z,project:$,committish:Q})=>`https://${q}/${Z}/${$}/archive/${E(Q)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:(q)=>{let[,Z,$,Q]=q.pathname.split("/",4);if(["archive"].includes(Q))return;if($&&$.endsWith(".git"))$=$.slice(0,-4);if(!Z||!$)return;return{user:Z,project:$,committish:q.hash.slice(1)}}};for(let[q,Z]of Object.entries(l))l[q]=Object.assign({},A5,Z);i1.exports=l});var lq=O((q7,o1)=>{var C5=n("url"),hq=(q,Z,$)=>{let Q=q.indexOf($);return q.lastIndexOf(Z,Q>-1?Q:1/0)},r1=(q)=>{try{return new C5.URL(q)}catch{}},E5=(q,Z)=>{let $=q.indexOf(":"),Q=q.slice(0,$+1);if(Object.prototype.hasOwnProperty.call(Z,Q))return q;if(q.substr($,3)==="://")return q;let K=q.indexOf("@");if(K>-1)if(K>$)return`git+ssh://${q}`;else return q;return`${q.slice(0,$+1)}//${q.slice($+1)}`},H5=(q)=>{let Z=hq(q,"@","#"),$=hq(q,":","#");if($>Z)q=q.slice(0,$)+"/"+q.slice($+1);if(hq(q,":","#")===-1&&q.indexOf("//")===-1)q=`git+ssh://${q}`;return q};o1.exports=(q,Z)=>{let $=Z?E5(q,Z):q;return r1($)||r1(H5($))}});var e1=O((Z7,t1)=>{var k5=lq(),R5=(q)=>{let Z=q.indexOf("#"),$=q.indexOf("/"),Q=q.indexOf("/",$+1),K=q.indexOf(":"),Y=/\s/.exec(q),W=q.indexOf("@"),z=!Y||Z>-1&&Y.index>Z,_=W===-1||Z>-1&&W>Z,I=K===-1||Z>-1&&K>Z,J=Q===-1||Z>-1&&Q>Z,F=$>0,N=Z>-1?q[Z-1]!=="/":!q.endsWith("/"),B=!q.startsWith(".");return z&&F&&N&&B&&_&&I&&J};t1.exports=(q,Z,{gitHosts:$,protocols:Q})=>{if(!q)return;let K=R5(q)?`github:${q}`:q,Y=k5(K,Q);if(!Y)return;let W=$.byShortcut[Y.protocol],z=$.byDomain[Y.hostname.startsWith("www.")?Y.hostname.slice(4):Y.hostname],_=W||z;if(!_)return;let I=$[W||z],J=null;if(Q[Y.protocol]?.auth&&(Y.username||Y.password))J=`${Y.username}${Y.password?":"+Y.password:""}`;let F=null,N=null,B=null,G=null;try{if(W){let x=Y.pathname.startsWith("/")?Y.pathname.slice(1):Y.pathname,H=x.indexOf("@");if(H>-1)x=x.slice(H+1);let U=x.lastIndexOf("/");if(U>-1){if(N=decodeURIComponent(x.slice(0,U)),!N)N=null;B=decodeURIComponent(x.slice(U+1))}else B=decodeURIComponent(x);if(B.endsWith(".git"))B=B.slice(0,-4);if(Y.hash)F=decodeURIComponent(Y.hash.slice(1));G="shortcut"}else{if(!I.protocols.includes(Y.protocol))return;let x=I.extract(Y);if(!x)return;N=x.user&&decodeURIComponent(x.user),B=decodeURIComponent(x.project),F=decodeURIComponent(x.committish),G=Q[Y.protocol]?.name||Y.protocol.slice(0,-1)}}catch(x){if(x instanceof URIError)return;else throw x}return[_,N,J,B,F,G,Z]}});var Z8=O(($7,q8)=>{var{LRUCache:y5}=n1(),w5=s1(),S5=e1(),T5=lq(),gq=new y5({max:1000});function j5(q){try{let{protocol:Z,hostname:$,pathname:Q}=new URL(q);if(!$)return null;let K=/(?:git\+)http:$/.test(Z)?"http:":"https:",Y=Q.replace(/\.git$/,"");return`${K}//${$}${Y}`}catch{return null}}class j{constructor(q,Z,$,Q,K,Y,W={}){Object.assign(this,j.#K[q],{type:q,user:Z,auth:$,project:Q,committish:K,default:Y,opts:W})}static#K={byShortcut:{},byDomain:{}};static#I={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(q,Z){j.#K[q]=Z,j.#K.byDomain[Z.domain]=q,j.#K.byShortcut[`${q}:`]=q,j.#I[`${q}:`]={name:q}}static fromUrl(q,Z){if(typeof q!=="string")return;let $=q+JSON.stringify(Z||{});if(!gq.has($)){let Q=S5(q,Z,{gitHosts:j.#K,protocols:j.#I});gq.set($,Q?new j(...Q):void 0)}return gq.get($)}static fromManifest(q,Z={}){if(!q||typeof q!=="object")return;let $=q.repository,Q=$&&(typeof $==="string"?$:typeof $==="object"&&typeof $.url==="string"?$.url:null);if(!Q)throw Error("no repository");let K=Q&&j.fromUrl(Q.replace(/^git\+/,""),Z)||null;if(K)return K;let Y=j5(Q);return j.fromUrl(Y,Z)||Y}static parseUrl(q){return T5(q)}#Z(q,Z){if(typeof q!=="function")return null;let $={...this,...this.opts,...Z};if(!$.path)$.path="";if($.path.startsWith("/"))$.path=$.path.slice(1);if($.noCommittish)$.committish=null;let Q=q($);return $.noGitPlus&&Q.startsWith("git+")?Q.slice(4):Q}hash(){return this.committish?`#${this.committish}`:""}ssh(q){return this.#Z(this.sshtemplate,q)}sshurl(q){return this.#Z(this.sshurltemplate,q)}browse(q,...Z){if(typeof q!=="string")return this.#Z(this.browsetemplate,q);if(typeof Z[0]!=="string")return this.#Z(this.browsetreetemplate,{...Z[0],path:q});return this.#Z(this.browsetreetemplate,{...Z[1],fragment:Z[0],path:q})}browseFile(q,...Z){if(typeof Z[0]!=="string")return this.#Z(this.browseblobtemplate,{...Z[0],path:q});return this.#Z(this.browseblobtemplate,{...Z[1],fragment:Z[0],path:q})}docs(q){return this.#Z(this.docstemplate,q)}bugs(q){return this.#Z(this.bugstemplate,q)}https(q){return this.#Z(this.httpstemplate,q)}git(q){return this.#Z(this.gittemplate,q)}shortcut(q){return this.#Z(this.shortcuttemplate,q)}path(q){return this.#Z(this.pathtemplate,q)}tarball(q){return this.#Z(this.tarballtemplate,{...q,noCommittish:!1})}file(q,Z){return this.#Z(this.filetemplate,{...Z,path:q})}edit(q,Z){return this.#Z(this.edittemplate,{...Z,path:q})}getDefaultRepresentation(){return this.default}toString(q){if(this.default&&typeof this[this.default]==="function")return this[this.default](q);return this.sshurl(q)}}for(let[q,Z]of Object.entries(w5))j.addHost(q,Z);q8.exports=j});var $8=O((Q7,M5)=>{M5.exports=["_http_agent","_http_client","_http_common","_http_incoming","_http_outgoing","_http_server","_stream_duplex","_stream_passthrough","_stream_readable","_stream_transform","_stream_wrap","_stream_writable","_tls_common","_tls_wrap","assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib","node:sea","node:sqlite","node:test","node:test/reporters"]});var K8=O((K7,Q8)=>{var b5=$8(),v5=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),u5=["node_modules","favicon.ico"];function f5(q){var Z=[],$=[];if(q===null)return $.push("name cannot be null"),Zq(Z,$);if(q===void 0)return $.push("name cannot be undefined"),Zq(Z,$);if(typeof q!=="string")return $.push("name must be a string"),Zq(Z,$);if(!q.length)$.push("name length must be greater than zero");if(q.startsWith("."))$.push("name cannot start with a period");if(q.startsWith("-"))$.push("name cannot start with a hyphen");if(q.match(/^_/))$.push("name cannot start with an underscore");if(q.trim()!==q)$.push("name cannot contain leading or trailing spaces");if(u5.forEach(function(W){if(q.toLowerCase()===W)$.push(W+" is not a valid package name")}),b5.includes(q.toLowerCase()))Z.push(q+" is a core module name");if(q.length>214)Z.push("name can no longer contain more than 214 characters");if(q.toLowerCase()!==q)Z.push("name can no longer contain capital letters");if(/[~'!()*]/.test(q.split("/").slice(-1)[0]))Z.push(`name can no longer contain special characters ("~'!()*")`);if(encodeURIComponent(q)!==q){var Q=q.match(v5);if(Q){var K=Q[1],Y=Q[2];if(Y.startsWith("."))$.push("name cannot start with a period");if(encodeURIComponent(K)===K&&encodeURIComponent(Y)===Y)return Zq(Z,$)}$.push("name can only contain URL-friendly characters")}return Zq(Z,$)}var Zq=function(q,Z){var $={validForNewPackages:Z.length===0&&q.length===0,validForOldPackages:Z.length===0,warnings:q,errors:Z};if(!$.warnings.length)delete $.warnings;if(!$.errors.length)delete $.errors;return $};Q8.exports=f5});var K6=O((Y7,Kq)=>{var Qq=process.platform==="win32",{URL:cq}=n("url"),a=Qq?n("path/win32"):n("path"),{homedir:d5}=n("os"),h5=Z8(),Y8=u1(),_8=K8(),{log:l5}=d1(),I8=Qq?/\\|[/]/:/[/]/,B8=/^(?:git[+])?[a-z]+:/i,g5=/^[^@]+@[^:.]+\.[^:]+:.+$/i,pq=/[.](?:tgz|tar\.gz|tar)$/i,c5=/:[0-9]+(\/|$)/i,m5=/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/,p5=/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function $q(q,Z){let $,Q;if(typeof q==="object")if(q instanceof Lq&&(!Z||Z===q.where))return q;else if(q.name&&q.rawSpec)return $q.resolve(q.name,q.rawSpec,Z||q.where);else return $q(q.raw,Z||q.where);let K=q.indexOf("@",1),Y=K>0?q.slice(0,K):q;if(B8.test(q))Q=q;else if(g5.test(q))Q=`git+ssh://${q}`;else if(!Y.startsWith("@")&&(I8.test(Y)||pq.test(Y)))Q=q;else if(K>0)$=Y,Q=q.slice(K+1)||"*";else if(_8(q).validForOldPackages)$=q,Q="*";else Q=q;return J8($,Q,Z,q)}function n5(q){if(!q)return!1;if(q.toLowerCase().startsWith("file:"))return!0;if(Qq)return m5.test(q);return p5.test(q)}function a5(q){if(!q)return!1;return q.toLowerCase().startsWith("npm:")}function J8(q,Z,$,Q){let K=new Lq({raw:Q,name:q,rawSpec:Z,fromArgument:Q!=null});if(q)K.name=q;if(!$)$=process.cwd();if(n5(Z))return z8(K,$);else if(a5(Z))return $6(K,$);let Y=h5.fromUrl(Z,{noGitPlus:!0,noCommittish:!0});if(Y)return e5(K,Y);else if(Z&&B8.test(Z))return Z6(K);else if(Z&&(I8.test(Z)||pq.test(Z)))return z8(K,$);else return Q6(K)}function i5(q,Z="https://registry.npmjs.org"){let $=$q(q);if($.type!=="version")throw o5($.type,$.raw);let Q="pkg:npm/"+$.name.replace(/^@/,"%40")+"@"+$.rawSpec;if(Z!=="https://registry.npmjs.org")Q+="?repository_url="+Z;return Q}function s5(q,Z,$){let Q=Error(`Invalid package name "${q}" of package "${$}": ${Z.errors.join("; ")}.`);return Q.code="EINVALIDPACKAGENAME",Q}function r5(q,Z){let $=Error(`Invalid tag name "${q}" of package "${Z}": Tags may not have any characters that encodeURIComponent encodes.`);return $.code="EINVALIDTAGNAME",$}function o5(q,Z){let $=Error(`Invalid type "${q}" of package "${Z}": Purl can only be generated for "version" types.`);return $.code="EINVALIDPURLTYPE",$}class Lq{constructor(q){if(this.type=q.type,this.registry=q.registry,this.where=q.where,q.raw==null)this.raw=q.name?`${q.name}@${q.rawSpec}`:q.rawSpec;else this.raw=q.raw;if(this.name=void 0,this.escapedName=void 0,this.scope=void 0,this.rawSpec=q.rawSpec||"",this.saveSpec=q.saveSpec,this.fetchSpec=q.fetchSpec,q.name)this.setName(q.name);this.gitRange=q.gitRange,this.gitCommittish=q.gitCommittish,this.gitSubdir=q.gitSubdir,this.hosted=q.hosted}setName(q){let Z=_8(q);if(!Z.validForOldPackages)throw s5(q,Z,this.raw);return this.name=q,this.scope=q[0]==="@"?q.slice(0,q.indexOf("/")):void 0,this.escapedName=q.replace("/","%2f"),this}toString(){let q=[];if(this.name!=null&&this.name!=="")q.push(this.name);let Z=this.saveSpec||this.fetchSpec||this.rawSpec;if(Z!=null&&Z!=="")q.push(Z);return q.length?q.join("@"):this.raw}toJSON(){let q=Object.assign({},this);return delete q.hosted,q}}function mq(q,Z){if(!Z){q.gitCommittish=null;return}for(let $ of Z.split("::")){if(!$.includes(":")){if(q.gitRange)throw Error("cannot override existing semver range with a committish");if(q.gitCommittish)throw Error("cannot override existing committish with a second committish");q.gitCommittish=$;continue}let[Q,K]=$.split(":");if(Q==="semver"){if(q.gitCommittish)throw Error("cannot override existing committish with a semver range");if(q.gitRange)throw Error("cannot override existing semver range with a second semver range");q.gitRange=decodeURIComponent(K);continue}if(Q==="path"){if(q.gitSubdir)throw Error("cannot override existing path with a second path");q.gitSubdir=`/${K}`;continue}l5.warn("npm-package-arg",`ignoring unknown key "${Q}"`)}}var t5=new Map([["\x00","%00"],["\t","%09"],[`
3
3
  `,"%0A"],["\r","%0D"],[" ","%20"],['"',"%22"],["#","%23"],["%","%25"],["?","%3F"],["[","%5B"],["\\",Qq?"/":"%5C"],["]","%5D"],["^","%5E"],["|","%7C"],["~","%7E"]]);function W8(q){let Z="";for(let $=0;$<q.length;$++)Z=`${Z}${t5.get(q[$])??q[$]}`;if(Z.startsWith("file:"))return Z;return`file:${Z}`}function z8(q,Z){q.type=pq.test(q.rawSpec)?"file":"directory",q.where=Z;let $=W8(q.rawSpec);if($.startsWith("file:/")){if(/^file:\/\/[^/]/.test($))$=`file:/${$.slice(5)}`;if(/^\/{1,3}\.\.?(\/|$)/.test($.slice(5)))$=$.replace(/^file:\/{1,3}/,"file:")}let Q,K;try{Q=new cq($,`${W8(a.resolve(Z))}/`),K=new cq($)}catch(z){let _=Error("Invalid file: URL, must comply with RFC 8089");throw Object.assign(_,{raw:q.rawSpec,spec:q,where:Z,originalError:z})}let Y=decodeURIComponent(K.pathname),W=decodeURIComponent(Q.pathname);if(Qq)Y=Y.replace(/^\/+([a-z]:\/)/i,"$1"),W=W.replace(/^\/+([a-z]:\/)/i,"$1");if(/^\/~(\/|$)/.test(Y))q.saveSpec=`file:${Y.substr(1)}`,W=a.resolve(d5(),Y.substr(3));else if(!a.isAbsolute($.slice(5)))q.saveSpec=`file:${a.relative(Z,W)}`;else q.saveSpec=`file:${a.resolve(W)}`;if(q.fetchSpec=a.resolve(Z,W),q.saveSpec=q.saveSpec.split("\\").join("/"),q.saveSpec.startsWith("file://"))q.saveSpec=`file:/${q.saveSpec.slice(7)}`;return q}function e5(q,Z){return q.type="git",q.hosted=Z,q.saveSpec=Z.toString({noGitPlus:!1,noCommittish:!1}),q.fetchSpec=Z.getDefaultRepresentation()==="shortcut"?null:Z.toString(),mq(q,Z.committish),q}function q6(q,Z){let $=Error(`Unsupported URL Type "${q}": ${Z}`);return $.code="EUNSUPPORTEDPROTOCOL",$}function Z6(q){let Z=q.rawSpec;if(q.saveSpec=Z,Z.startsWith("git+ssh:")){let Q=Z.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);if(Q&&!Q[1].match(c5))return q.type="git",mq(q,Q[2]),q.fetchSpec=Q[1],q}else if(Z.startsWith("git+file://"))Z=Z.replace(/\\/g,"/");let $=new cq(Z);switch($.protocol){case"git:":case"git+http:":case"git+https:":case"git+rsync:":case"git+ftp:":case"git+file:":case"git+ssh:":if(q.type="git",mq(q,$.hash.slice(1)),$.protocol==="git+file:"&&/^git\+file:\/\/[a-z]:/i.test(Z))q.fetchSpec=`git+file://${$.host.toLowerCase()}:${$.pathname}`;else $.hash="",q.fetchSpec=$.toString();if(q.fetchSpec.startsWith("git+"))q.fetchSpec=q.fetchSpec.slice(4);break;case"http:":case"https:":q.type="remote",q.fetchSpec=q.saveSpec;break;default:throw q6($.protocol,Z)}return q}function $6(q,Z){let $=$q(q.rawSpec.substr(4),Z);if($.type==="alias")throw Error("nested aliases not supported");if(!$.registry)throw Error("aliases only work for registry deps");if(!$.name)throw Error("aliases must have a name");return q.subSpec=$,q.registry=!0,q.type="alias",q.saveSpec=null,q.fetchSpec=null,q}function Q6(q){q.registry=!0;let Z=q.rawSpec.trim();q.saveSpec=null,q.fetchSpec=Z;let $=Y8.valid(Z,!0),Q=Y8.validRange(Z,!0);if($)q.type="version";else if(Q)q.type="range";else{if(encodeURIComponent(Z)!==Z)throw r5(Z,q.raw);q.type="tag"}return q}Kq.exports=$q;Kq.exports.resolve=J8;Kq.exports.toPurl=i5;Kq.exports.Result=Lq});
4
- export{n1 as Qr,Z8 as Rr,K0 as Sr,W0 as Tr,qq as Ur,O1 as Vr,u1 as Wr,d1 as Xr,K6 as Yr};
4
+ export{n1 as Ns,Z8 as Os,K0 as Ps,W0 as Qs,qq as Rs,O1 as Ss,u1 as Ts,d1 as Us,K6 as Vs};
@@ -1,7 +1,7 @@
1
1
  // @bun
2
- import{uO as N,xO as k}from"./chunk-e0vrxetq.js";var I=N((Aq,y)=>{var J=1000,U=J*60,M=U*60,Z=M*24,r=Z*7,m=Z*365.25;y.exports=function(q,w){w=w||{};var _=typeof q;if(_==="string"&&q.length>0)return t(q);else if(_==="number"&&isFinite(q))return w.long?a(q):s(q);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(q))};function t(q){if(q=String(q),q.length>100)return;var w=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(q);if(!w)return;var _=parseFloat(w[1]),F=(w[2]||"ms").toLowerCase();switch(F){case"years":case"year":case"yrs":case"yr":case"y":return _*m;case"weeks":case"week":case"w":return _*r;case"days":case"day":case"d":return _*Z;case"hours":case"hour":case"hrs":case"hr":case"h":return _*M;case"minutes":case"minute":case"mins":case"min":case"m":return _*U;case"seconds":case"second":case"secs":case"sec":case"s":return _*J;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return _;default:return}}function s(q){var w=Math.abs(q);if(w>=Z)return Math.round(q/Z)+"d";if(w>=M)return Math.round(q/M)+"h";if(w>=U)return Math.round(q/U)+"m";if(w>=J)return Math.round(q/J)+"s";return q+"ms"}function a(q){var w=Math.abs(q);if(w>=Z)return S(q,w,Z,"day");if(w>=M)return S(q,w,M,"hour");if(w>=U)return S(q,w,U,"minute");if(w>=J)return S(q,w,J,"second");return q+" ms"}function S(q,w,_,F){var R=w>=_*1.5;return Math.round(q/_)+" "+F+(R?"s":"")}});var C=N((fq,x)=>{function e(q){_.debug=_,_.default=_,_.coerce=p,_.disable=b,_.enable=R,_.enabled=u,_.humanize=I(),_.destroy=g,Object.keys(q).forEach((B)=>{_[B]=q[B]}),_.names=[],_.skips=[],_.formatters={};function w(B){let E=0;for(let G=0;G<B.length;G++)E=(E<<5)-E+B.charCodeAt(G),E|=0;return _.colors[Math.abs(E)%_.colors.length]}_.selectColor=w;function _(B){let E,G=null,H,z;function K(...Q){if(!K.enabled)return;let Y=K,W=Number(new Date),n=W-(E||W);if(Y.diff=n,Y.prev=E,Y.curr=W,E=W,Q[0]=_.coerce(Q[0]),typeof Q[0]!=="string")Q.unshift("%O");let L=0;Q[0]=Q[0].replace(/%([a-zA-Z%])/g,(T,c)=>{if(T==="%%")return"%";L++;let f=_.formatters[c];if(typeof f==="function"){let l=Q[L];T=f.call(Y,l),Q.splice(L,1),L--}return T}),_.formatArgs.call(Y,Q),(Y.log||_.log).apply(Y,Q)}if(K.namespace=B,K.useColors=_.useColors(),K.color=_.selectColor(B),K.extend=F,K.destroy=_.destroy,Object.defineProperty(K,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(G!==null)return G;if(H!==_.namespaces)H=_.namespaces,z=_.enabled(B);return z},set:(Q)=>{G=Q}}),typeof _.init==="function")_.init(K);return K}function F(B,E){let G=_(this.namespace+(typeof E>"u"?":":E)+B);return G.log=this.log,G}function R(B){_.save(B),_.namespaces=B,_.names=[],_.skips=[];let E=(typeof B==="string"?B:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let G of E)if(G[0]==="-")_.skips.push(G.slice(1));else _.names.push(G)}function V(B,E){let G=0,H=0,z=-1,K=0;while(G<B.length)if(H<E.length&&(E[H]===B[G]||E[H]==="*"))if(E[H]==="*")z=H,K=G,H++;else G++,H++;else if(z!==-1)H=z+1,K++,G=K;else return!1;while(H<E.length&&E[H]==="*")H++;return H===E.length}function b(){let B=[..._.names,..._.skips.map((E)=>"-"+E)].join(",");return _.enable(""),B}function u(B){for(let E of _.skips)if(V(B,E))return!1;for(let E of _.names)if(V(B,E))return!0;return!1}function p(B){if(B instanceof Error)return B.stack||B.message;return B}function g(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return _.enable(_.load()),_}x.exports=e});var h=N((D,j)=>{D.formatArgs=_q;D.save=wq;D.load=Bq;D.useColors=qq;D.storage=Eq();D.destroy=(()=>{let q=!1;return()=>{if(!q)q=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();D.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function qq(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let q;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(q=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(q[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function _q(q){if(q[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+q[0]+(this.useColors?"%c ":" ")+"+"+j.exports.humanize(this.diff),!this.useColors)return;let w="color: "+this.color;q.splice(1,0,w,"color: inherit");let _=0,F=0;q[0].replace(/%[a-zA-Z%]/g,(R)=>{if(R==="%%")return;if(_++,R==="%c")F=_}),q.splice(F,0,w)}D.log=console.debug||console.log||(()=>{});function wq(q){try{if(q)D.storage.setItem("debug",q);else D.storage.removeItem("debug")}catch(w){}}function Bq(){let q;try{q=D.storage.getItem("debug")||D.storage.getItem("DEBUG")}catch(w){}if(!q&&typeof process<"u"&&"env"in process)q=process.env.DEBUG;return q}function Eq(){try{return localStorage}catch(q){}}j.exports=C()(D);var{formatters:Fq}=j.exports;Fq.j=function(q){try{return JSON.stringify(q)}catch(w){return"[UnexpectedJSONParseError]: "+w.message}}});var d=N((i,O)=>{var Zq=k("tty"),X=k("util");i.init=Pq;i.log=Uq;i.formatArgs=zq;i.save=Mq;i.load=Nq;i.useColors=$q;i.destroy=X.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");i.colors=[6,2,3,4,5,1];try{let q=(()=>{throw new Error("Cannot require module "+"supports-color");})();if(q&&(q.stderr||q).level>=2)i.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(q){}i.inspectOpts=Object.keys(process.env).filter((q)=>{return/^debug_/i.test(q)}).reduce((q,w)=>{let _=w.substring(6).toLowerCase().replace(/_([a-z])/g,(R,V)=>{return V.toUpperCase()}),F=process.env[w];if(/^(yes|on|true|enabled)$/i.test(F))F=!0;else if(/^(no|off|false|disabled)$/i.test(F))F=!1;else if(F==="null")F=null;else F=Number(F);return q[_]=F,q},{});function $q(){return"colors"in i.inspectOpts?Boolean(i.inspectOpts.colors):Zq.isatty(process.stderr.fd)}function zq(q){let{namespace:w,useColors:_}=this;if(_){let F=this.color,R="\x1B[3"+(F<8?F:"8;5;"+F),V=` ${R};1m${w} \x1B[0m`;q[0]=V+q[0].split(`
2
+ import{rP as N,uP as k}from"./chunk-djfrkbd5.js";var I=N((Aq,y)=>{var J=1000,U=J*60,M=U*60,Z=M*24,r=Z*7,m=Z*365.25;y.exports=function(q,w){w=w||{};var _=typeof q;if(_==="string"&&q.length>0)return t(q);else if(_==="number"&&isFinite(q))return w.long?a(q):s(q);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(q))};function t(q){if(q=String(q),q.length>100)return;var w=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(q);if(!w)return;var _=parseFloat(w[1]),F=(w[2]||"ms").toLowerCase();switch(F){case"years":case"year":case"yrs":case"yr":case"y":return _*m;case"weeks":case"week":case"w":return _*r;case"days":case"day":case"d":return _*Z;case"hours":case"hour":case"hrs":case"hr":case"h":return _*M;case"minutes":case"minute":case"mins":case"min":case"m":return _*U;case"seconds":case"second":case"secs":case"sec":case"s":return _*J;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return _;default:return}}function s(q){var w=Math.abs(q);if(w>=Z)return Math.round(q/Z)+"d";if(w>=M)return Math.round(q/M)+"h";if(w>=U)return Math.round(q/U)+"m";if(w>=J)return Math.round(q/J)+"s";return q+"ms"}function a(q){var w=Math.abs(q);if(w>=Z)return S(q,w,Z,"day");if(w>=M)return S(q,w,M,"hour");if(w>=U)return S(q,w,U,"minute");if(w>=J)return S(q,w,J,"second");return q+" ms"}function S(q,w,_,F){var R=w>=_*1.5;return Math.round(q/_)+" "+F+(R?"s":"")}});var C=N((fq,x)=>{function e(q){_.debug=_,_.default=_,_.coerce=p,_.disable=b,_.enable=R,_.enabled=u,_.humanize=I(),_.destroy=g,Object.keys(q).forEach((B)=>{_[B]=q[B]}),_.names=[],_.skips=[],_.formatters={};function w(B){let E=0;for(let G=0;G<B.length;G++)E=(E<<5)-E+B.charCodeAt(G),E|=0;return _.colors[Math.abs(E)%_.colors.length]}_.selectColor=w;function _(B){let E,G=null,H,z;function K(...Q){if(!K.enabled)return;let Y=K,W=Number(new Date),n=W-(E||W);if(Y.diff=n,Y.prev=E,Y.curr=W,E=W,Q[0]=_.coerce(Q[0]),typeof Q[0]!=="string")Q.unshift("%O");let L=0;Q[0]=Q[0].replace(/%([a-zA-Z%])/g,(T,c)=>{if(T==="%%")return"%";L++;let f=_.formatters[c];if(typeof f==="function"){let l=Q[L];T=f.call(Y,l),Q.splice(L,1),L--}return T}),_.formatArgs.call(Y,Q),(Y.log||_.log).apply(Y,Q)}if(K.namespace=B,K.useColors=_.useColors(),K.color=_.selectColor(B),K.extend=F,K.destroy=_.destroy,Object.defineProperty(K,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(G!==null)return G;if(H!==_.namespaces)H=_.namespaces,z=_.enabled(B);return z},set:(Q)=>{G=Q}}),typeof _.init==="function")_.init(K);return K}function F(B,E){let G=_(this.namespace+(typeof E>"u"?":":E)+B);return G.log=this.log,G}function R(B){_.save(B),_.namespaces=B,_.names=[],_.skips=[];let E=(typeof B==="string"?B:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let G of E)if(G[0]==="-")_.skips.push(G.slice(1));else _.names.push(G)}function V(B,E){let G=0,H=0,z=-1,K=0;while(G<B.length)if(H<E.length&&(E[H]===B[G]||E[H]==="*"))if(E[H]==="*")z=H,K=G,H++;else G++,H++;else if(z!==-1)H=z+1,K++,G=K;else return!1;while(H<E.length&&E[H]==="*")H++;return H===E.length}function b(){let B=[..._.names,..._.skips.map((E)=>"-"+E)].join(",");return _.enable(""),B}function u(B){for(let E of _.skips)if(V(B,E))return!1;for(let E of _.names)if(V(B,E))return!0;return!1}function p(B){if(B instanceof Error)return B.stack||B.message;return B}function g(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return _.enable(_.load()),_}x.exports=e});var h=N((D,j)=>{D.formatArgs=_q;D.save=wq;D.load=Bq;D.useColors=qq;D.storage=Eq();D.destroy=(()=>{let q=!1;return()=>{if(!q)q=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();D.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function qq(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let q;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(q=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(q[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function _q(q){if(q[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+q[0]+(this.useColors?"%c ":" ")+"+"+j.exports.humanize(this.diff),!this.useColors)return;let w="color: "+this.color;q.splice(1,0,w,"color: inherit");let _=0,F=0;q[0].replace(/%[a-zA-Z%]/g,(R)=>{if(R==="%%")return;if(_++,R==="%c")F=_}),q.splice(F,0,w)}D.log=console.debug||console.log||(()=>{});function wq(q){try{if(q)D.storage.setItem("debug",q);else D.storage.removeItem("debug")}catch(w){}}function Bq(){let q;try{q=D.storage.getItem("debug")||D.storage.getItem("DEBUG")}catch(w){}if(!q&&typeof process<"u"&&"env"in process)q=process.env.DEBUG;return q}function Eq(){try{return localStorage}catch(q){}}j.exports=C()(D);var{formatters:Fq}=j.exports;Fq.j=function(q){try{return JSON.stringify(q)}catch(w){return"[UnexpectedJSONParseError]: "+w.message}}});var d=N((i,O)=>{var Zq=k("tty"),X=k("util");i.init=Pq;i.log=Uq;i.formatArgs=zq;i.save=Mq;i.load=Nq;i.useColors=$q;i.destroy=X.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");i.colors=[6,2,3,4,5,1];try{let q=(()=>{throw new Error("Cannot require module "+"supports-color");})();if(q&&(q.stderr||q).level>=2)i.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(q){}i.inspectOpts=Object.keys(process.env).filter((q)=>{return/^debug_/i.test(q)}).reduce((q,w)=>{let _=w.substring(6).toLowerCase().replace(/_([a-z])/g,(R,V)=>{return V.toUpperCase()}),F=process.env[w];if(/^(yes|on|true|enabled)$/i.test(F))F=!0;else if(/^(no|off|false|disabled)$/i.test(F))F=!1;else if(F==="null")F=null;else F=Number(F);return q[_]=F,q},{});function $q(){return"colors"in i.inspectOpts?Boolean(i.inspectOpts.colors):Zq.isatty(process.stderr.fd)}function zq(q){let{namespace:w,useColors:_}=this;if(_){let F=this.color,R="\x1B[3"+(F<8?F:"8;5;"+F),V=` ${R};1m${w} \x1B[0m`;q[0]=V+q[0].split(`
3
3
  `).join(`
4
4
  `+V),q.push(R+"m+"+O.exports.humanize(this.diff)+"\x1B[0m")}else q[0]=Jq()+w+" "+q[0]}function Jq(){if(i.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function Uq(...q){return process.stderr.write(X.formatWithOptions(i.inspectOpts,...q)+`
5
5
  `)}function Mq(q){if(q)process.env.DEBUG=q;else delete process.env.DEBUG}function Nq(){return process.env.DEBUG}function Pq(q){q.inspectOpts={};let w=Object.keys(i.inspectOpts);for(let _=0;_<w.length;_++)q.inspectOpts[w[_]]=i.inspectOpts[w[_]]}O.exports=C()(i);var{formatters:v}=O.exports;v.o=function(q){return this.inspectOpts.colors=this.useColors,X.inspect(q,this.inspectOpts).split(`
6
6
  `).map((w)=>w.trim()).join(" ")};v.O=function(q){return this.inspectOpts.colors=this.useColors,X.inspect(q,this.inspectOpts)}});var Cq=N((xq,A)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)A.exports=h();else A.exports=d()});
7
- export{Cq as Tf};
7
+ export{Cq as Of};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-e0vrxetq.js";function K(Q,Z,H){return typeof Q.default==="function"?Q.default(Z,H):Q.default}function J(Q,Z){if(Q)return Q.push(Z),Q;return[Z]}var q=/[.*+?^${}()|[\]\\]/g;function X(Q){return Q.replace(q,"\\$&")}function T(Q,Z){switch(Z?.errorMode){case"ignore":break;case"warn":console.warn(Q);break;default:throw Error(Q)}}function V(Q){return typeof Q==="boolean"||typeof Q==="number"&&Number.isFinite(Q)||typeof Q==="string"}function w(Q){return Q.every(V)}function x(Q,Z,H){if(H?.ignoreActions?.includes(Z.type))return Q;let Y;switch(Z.type){case"base64":Q.contentEncoding="base64";break;case"bic":case"cuid2":case"decimal":case"digits":case"domain":case"emoji":case"hash":case"hexadecimal":case"hex_color":case"isrc":case"iso_time_second":case"iso_week":case"mac":case"mac48":case"mac64":case"nanoid":case"octal":case"slug":case"ulid":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"description":Q.description=Z.description;break;case"email":case"rfc_email":Q.format="email";break;case"ends_with":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=`${X(Z.requirement)}$`;break;case"empty":if(Q.type==="array")Q.maxItems=0;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.maxLength=0}break;case"entries":Q.minProperties=Z.requirement,Q.maxProperties=Z.requirement;break;case"examples":if(Array.isArray(Q.examples))Q.examples=[...Q.examples,...Z.examples];else Q.examples=Z.examples;break;case"gt_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "gt_value" action is not supported on type "${Q.type}".`);if(H?.target==="openapi-3.0"){Y=J(Y,'The "gt_value" action is not supported for OpenAPI 3.0.');break}Q.exclusiveMinimum=Z.requirement;break;case"includes":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=X(Z.requirement);break;case"integer":Q.type="integer";break;case"ipv4":Q.format="ipv4";break;case"ipv6":Q.format="ipv6";break;case"iso_date":Q.format="date";break;case"iso_date_time":case"iso_timestamp":Q.format="date-time";break;case"iso_time":Q.format="time";break;case"jws_compact":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"length":if(Q.type==="array")Q.minItems=Z.requirement,Q.maxItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=Z.requirement,Q.maxLength=Z.requirement}break;case"lt_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "lt_value" action is not supported on type "${Q.type}".`);if(H?.target==="openapi-3.0"){Y=J(Y,'The "lt_value" action is not supported for OpenAPI 3.0.');break}Q.exclusiveMaximum=Z.requirement;break;case"max_entries":Q.maxProperties=Z.requirement;break;case"max_length":if(Q.type==="array")Q.maxItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.maxLength=Z.requirement}break;case"max_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "max_value" action is not supported on type "${Q.type}".`);Q.maximum=Z.requirement;break;case"metadata":if(typeof Z.metadata.title==="string")Q.title=Z.metadata.title;if(typeof Z.metadata.description==="string")Q.description=Z.metadata.description;if(Array.isArray(Z.metadata.examples))if(Array.isArray(Q.examples))Q.examples=[...Q.examples,...Z.metadata.examples];else Q.examples=Z.metadata.examples;break;case"min_entries":Q.minProperties=Z.requirement;break;case"min_length":if(Q.type==="array")Q.minItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=Z.requirement}break;case"min_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "min_value" action is not supported on type "${Q.type}".`);Q.minimum=Z.requirement;break;case"multiple_of":Q.multipleOf=Z.requirement;break;case"non_empty":if(Q.type==="array")Q.minItems=1;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=1}break;case"not_value":if(!V(Z.requirement)){Y=J(Y,'The requirement of the "not_value" action is not JSON compatible.');break}if(H?.target==="openapi-3.0")Q.not={enum:[Z.requirement]};else Q.not={const:Z.requirement};break;case"not_values":if(!w(Z.requirement)){Y=J(Y,'A requirement of the "not_values" action is not JSON compatible.');break}Q.not={enum:Z.requirement};break;case"regex":if(Z.requirement.flags)Y=J(Y,"RegExp flags are not supported by JSON Schema.");if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"safe_integer":if(Q.type="integer",typeof Q.minimum!=="number"||Q.minimum<Number.MIN_SAFE_INTEGER)Q.minimum=Number.MIN_SAFE_INTEGER;if(typeof Q.maximum!=="number"||Q.maximum>Number.MAX_SAFE_INTEGER)Q.maximum=Number.MAX_SAFE_INTEGER;break;case"starts_with":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=`^${X(Z.requirement)}`;break;case"title":Q.title=Z.title;break;case"url":Q.format="uri";break;case"uuid":Q.format="uuid";break;case"value":if(!V(Z.requirement)){Y=J(Y,'The requirement of the "value" action is not JSON compatible.');break}if(H?.target==="openapi-3.0")Q.enum=[Z.requirement];else Q.const=Z.requirement;break;case"values":if(!w(Z.requirement)){Y=J(Y,'A requirement of the "values" action is not JSON compatible.');break}Q.enum=Z.requirement;break;default:Y=J(Y,`The "${Z.type}" action cannot be converted to JSON Schema.`)}if(H?.overrideAction){let F=H.overrideAction({valibotAction:Z,jsonSchema:Q,errors:Y});if(F)return{...F}}if(Y)for(let F of Y)T(F,H);return Q}function R(Q){return Q.flatMap((Z)=>("pipe"in Z)?R(Z.pipe):Z)}var A=0;function B(Q,Z,H,Y,F=!1){if(!F){let U=Y.referenceMap.get(Z);if(U){if(Q.$ref=`#/$defs/${U}`,H?.overrideRef){let z=H.overrideRef({...Y,referenceId:U,valibotSchema:Z,jsonSchema:Q});if(z)Q.$ref=z}return Q}}if("pipe"in Z){let U=R(Z.pipe),z=0,M=U.length-1;if(H?.typeMode==="input"){let L=U.slice(1).findIndex((W)=>W.kind==="schema"||W.kind==="transformation"&&(W.type==="find_item"||W.type==="parse_json"||W.type==="raw_transform"||W.type==="reduce_items"||W.type==="stringify_json"||W.type==="to_bigint"||W.type==="to_boolean"||W.type==="to_date"||W.type==="to_number"||W.type==="to_string"||W.type==="transform"));if(L!==-1)M=L}else if(H?.typeMode==="output"){let L=U.findLastIndex((W)=>W.kind==="schema");if(L!==-1)z=L}for(let L=z;L<=M;L++){let W=U[L];if(W.kind==="schema"){if(L>z)T('Set the "typeMode" config to "input" or "output" to convert pipelines with multiple schemas.',H);Q=B(Q,W,H,Y,!0)}else Q=x(Q,W,H)}return Q}let N;switch(Z.type){case"boolean":Q.type="boolean";break;case"null":if(H?.target==="openapi-3.0")Q.enum=[null];else Q.type="null";break;case"number":Q.type="number";break;case"string":Q.type="string";break;case"array":Q.type="array",Q.items=B({},Z.item,H,Y);break;case"tuple":case"tuple_with_rest":case"loose_tuple":case"strict_tuple":if(Q.type="array",H?.target==="openapi-3.0"){Q.items={anyOf:[]},Q.minItems=Z.items.length;for(let U of Z.items)Q.items.anyOf.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.items.anyOf.push(B({},Z.rest,H,Y));else if(Z.type==="strict_tuple"||Z.type==="tuple")Q.maxItems=Z.items.length}else if(H?.target==="draft-2020-12"){Q.prefixItems=[],Q.minItems=Z.items.length;for(let U of Z.items)Q.prefixItems.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.items=B({},Z.rest,H,Y);else if(Z.type==="strict_tuple")Q.items=!1}else{Q.items=[],Q.minItems=Z.items.length;for(let U of Z.items)Q.items.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.additionalItems=B({},Z.rest,H,Y);else if(Z.type==="strict_tuple")Q.additionalItems=!1}break;case"object":case"object_with_rest":case"loose_object":case"strict_object":Q.type="object",Q.properties={},Q.required=[];for(let U in Z.entries){let z=Z.entries[U];if(Q.properties[U]=B({},z,H,Y),z.type!=="exact_optional"&&z.type!=="nullish"&&z.type!=="optional")Q.required.push(U)}if(Z.type==="object_with_rest")Q.additionalProperties=B({},Z.rest,H,Y);else if(Z.type==="strict_object")Q.additionalProperties=!1;break;case"record":if(H?.target==="openapi-3.0"&&"pipe"in Z.key)N=J(N,'The "record" schema with a schema for the key that contains a "pipe" cannot be converted to JSON Schema.');if(Z.key.type!=="string")N=J(N,`The "record" schema with the "${Z.key.type}" schema for the key cannot be converted to JSON Schema.`);if(Q.type="object",H?.target!=="openapi-3.0")Q.propertyNames=B({},Z.key,H,Y);Q.additionalProperties=B({},Z.value,H,Y);break;case"any":case"unknown":break;case"never":Q.not={};break;case"nullable":case"nullish":if(H?.target==="openapi-3.0"){let U=B({},Z.wrapped,H,Y);Object.assign(Q,U),Q.nullable=!0}else Q.anyOf=[B({},Z.wrapped,H,Y),{type:"null"}];if(Z.default!==void 0)Q.default=K(Z);break;case"exact_optional":case"optional":case"undefinedable":if(Q=B(Q,Z.wrapped,H,Y),Z.default!==void 0)Q.default=K(Z);break;case"literal":if(typeof Z.literal!=="boolean"&&typeof Z.literal!=="number"&&typeof Z.literal!=="string")N=J(N,'The value of the "literal" schema is not JSON compatible.');if(H?.target==="openapi-3.0")Q.enum=[Z.literal];else Q.const=Z.literal;break;case"enum":if(Q.enum=Z.options,Z.options.every((U)=>typeof U==="string"))Q.type="string";else if(Z.options.every((U)=>typeof U==="number"))Q.type="number";else if(H?.target!=="openapi-3.0")Q.type=["string","number"];break;case"picklist":{let U=Z.options.some((z)=>typeof z!=="number"&&typeof z!=="string");if(U)N=J(N,'An option of the "picklist" schema is not JSON compatible.');if(Q.enum=Z.options,Z.options.every((z)=>typeof z==="string"))Q.type="string";else if(Z.options.every((z)=>typeof z==="number"))Q.type="number";else if(!U&&H?.target!=="openapi-3.0")Q.type=["string","number"];break}case"union":Q.anyOf=Z.options.map((U)=>B({},U,H,Y));break;case"variant":Q.oneOf=Z.options.map((U)=>B({},U,H,Y));break;case"intersect":Q.allOf=Z.options.map((U)=>B({},U,H,Y));break;case"lazy":{let U=Y.getterMap.get(Z.getter);if(!U)U=Z.getter(void 0),Y.getterMap.set(Z.getter,U);let z=Y.referenceMap.get(U);if(!z)z=`${A++}`,Y.referenceMap.set(U,z),Y.definitions[z]=B({},U,H,Y,!0);if(Q.$ref=`#/$defs/${z}`,H?.overrideRef){let M=H.overrideRef({...Y,referenceId:z,valibotSchema:U,jsonSchema:Q});if(M)Q.$ref=M}break}default:N=J(N,`The "${Z.type}" schema cannot be converted to JSON Schema.`)}if(H?.overrideSchema){let U=H.overrideSchema({...Y,referenceId:Y.referenceMap.get(Z),valibotSchema:Z,jsonSchema:Q,errors:N});if(U)return{...U}}if(N)for(let U of N)T(U,H);return Q}var O;function b(Q){O={...O??{},...Q}}function E(){return O}function G(Q,Z){let H={definitions:{},referenceMap:new Map,getterMap:new Map},Y=Z?.definitions??E();if(Y){for(let U in Y)H.referenceMap.set(Y[U],U);for(let U in Y)H.definitions[U]=B({},Y[U],Z,H,!0)}let F=B({},Q,Z,H),N=Z?.target??"draft-07";if(N==="draft-2020-12")F.$schema="https://json-schema.org/draft/2020-12/schema";else if(N==="draft-07")F.$schema="http://json-schema.org/draft-07/schema#";if(H.referenceMap.size)F.$defs=H.definitions;return F}function I(Q,Z){let H={definitions:{},referenceMap:new Map,getterMap:new Map};for(let Y in Q)H.referenceMap.set(Q[Y],Y);for(let Y in Q)H.definitions[Y]=B({},Q[Y],Z,H,!0);return H.definitions}var C=["draft-07","draft-2020-12","openapi-3.0"];function j(Q){return{"~standard":{...Q["~standard"],jsonSchema:{input(Z){if(C.includes(Z.target))return G(Q,{typeMode:"input",target:Z.target,...Z.libraryOptions});throw Error(`Unsupported target: ${Z.target}`)},output(Z){if(C.includes(Z.target))return G(Q,{typeMode:"output",target:Z.target,...Z.libraryOptions});throw Error(`Unsupported target: ${Z.target}`)}}}}}export{j as toStandardJsonSchema,I as toJsonSchemaDefs,G as toJsonSchema,E as getGlobalDefs,b as addGlobalDefs};
2
+ import"./chunk-djfrkbd5.js";function K(Q,Z,H){return typeof Q.default==="function"?Q.default(Z,H):Q.default}function J(Q,Z){if(Q)return Q.push(Z),Q;return[Z]}var q=/[.*+?^${}()|[\]\\]/g;function X(Q){return Q.replace(q,"\\$&")}function T(Q,Z){switch(Z?.errorMode){case"ignore":break;case"warn":console.warn(Q);break;default:throw Error(Q)}}function V(Q){return typeof Q==="boolean"||typeof Q==="number"&&Number.isFinite(Q)||typeof Q==="string"}function w(Q){return Q.every(V)}function x(Q,Z,H){if(H?.ignoreActions?.includes(Z.type))return Q;let Y;switch(Z.type){case"base64":Q.contentEncoding="base64";break;case"bic":case"cuid2":case"decimal":case"digits":case"domain":case"emoji":case"hash":case"hexadecimal":case"hex_color":case"isrc":case"iso_time_second":case"iso_week":case"mac":case"mac48":case"mac64":case"nanoid":case"octal":case"slug":case"ulid":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"description":Q.description=Z.description;break;case"email":case"rfc_email":Q.format="email";break;case"ends_with":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=`${X(Z.requirement)}$`;break;case"empty":if(Q.type==="array")Q.maxItems=0;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.maxLength=0}break;case"entries":Q.minProperties=Z.requirement,Q.maxProperties=Z.requirement;break;case"examples":if(Array.isArray(Q.examples))Q.examples=[...Q.examples,...Z.examples];else Q.examples=Z.examples;break;case"gt_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "gt_value" action is not supported on type "${Q.type}".`);if(H?.target==="openapi-3.0"){Y=J(Y,'The "gt_value" action is not supported for OpenAPI 3.0.');break}Q.exclusiveMinimum=Z.requirement;break;case"includes":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=X(Z.requirement);break;case"integer":Q.type="integer";break;case"ipv4":Q.format="ipv4";break;case"ipv6":Q.format="ipv6";break;case"iso_date":Q.format="date";break;case"iso_date_time":case"iso_timestamp":Q.format="date-time";break;case"iso_time":Q.format="time";break;case"jws_compact":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"length":if(Q.type==="array")Q.minItems=Z.requirement,Q.maxItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=Z.requirement,Q.maxLength=Z.requirement}break;case"lt_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "lt_value" action is not supported on type "${Q.type}".`);if(H?.target==="openapi-3.0"){Y=J(Y,'The "lt_value" action is not supported for OpenAPI 3.0.');break}Q.exclusiveMaximum=Z.requirement;break;case"max_entries":Q.maxProperties=Z.requirement;break;case"max_length":if(Q.type==="array")Q.maxItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.maxLength=Z.requirement}break;case"max_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "max_value" action is not supported on type "${Q.type}".`);Q.maximum=Z.requirement;break;case"metadata":if(typeof Z.metadata.title==="string")Q.title=Z.metadata.title;if(typeof Z.metadata.description==="string")Q.description=Z.metadata.description;if(Array.isArray(Z.metadata.examples))if(Array.isArray(Q.examples))Q.examples=[...Q.examples,...Z.metadata.examples];else Q.examples=Z.metadata.examples;break;case"min_entries":Q.minProperties=Z.requirement;break;case"min_length":if(Q.type==="array")Q.minItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=Z.requirement}break;case"min_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "min_value" action is not supported on type "${Q.type}".`);Q.minimum=Z.requirement;break;case"multiple_of":Q.multipleOf=Z.requirement;break;case"non_empty":if(Q.type==="array")Q.minItems=1;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=1}break;case"not_value":if(!V(Z.requirement)){Y=J(Y,'The requirement of the "not_value" action is not JSON compatible.');break}if(H?.target==="openapi-3.0")Q.not={enum:[Z.requirement]};else Q.not={const:Z.requirement};break;case"not_values":if(!w(Z.requirement)){Y=J(Y,'A requirement of the "not_values" action is not JSON compatible.');break}Q.not={enum:Z.requirement};break;case"regex":if(Z.requirement.flags)Y=J(Y,"RegExp flags are not supported by JSON Schema.");if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"safe_integer":if(Q.type="integer",typeof Q.minimum!=="number"||Q.minimum<Number.MIN_SAFE_INTEGER)Q.minimum=Number.MIN_SAFE_INTEGER;if(typeof Q.maximum!=="number"||Q.maximum>Number.MAX_SAFE_INTEGER)Q.maximum=Number.MAX_SAFE_INTEGER;break;case"starts_with":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=`^${X(Z.requirement)}`;break;case"title":Q.title=Z.title;break;case"url":Q.format="uri";break;case"uuid":Q.format="uuid";break;case"value":if(!V(Z.requirement)){Y=J(Y,'The requirement of the "value" action is not JSON compatible.');break}if(H?.target==="openapi-3.0")Q.enum=[Z.requirement];else Q.const=Z.requirement;break;case"values":if(!w(Z.requirement)){Y=J(Y,'A requirement of the "values" action is not JSON compatible.');break}Q.enum=Z.requirement;break;default:Y=J(Y,`The "${Z.type}" action cannot be converted to JSON Schema.`)}if(H?.overrideAction){let F=H.overrideAction({valibotAction:Z,jsonSchema:Q,errors:Y});if(F)return{...F}}if(Y)for(let F of Y)T(F,H);return Q}function R(Q){return Q.flatMap((Z)=>("pipe"in Z)?R(Z.pipe):Z)}var A=0;function B(Q,Z,H,Y,F=!1){if(!F){let U=Y.referenceMap.get(Z);if(U){if(Q.$ref=`#/$defs/${U}`,H?.overrideRef){let z=H.overrideRef({...Y,referenceId:U,valibotSchema:Z,jsonSchema:Q});if(z)Q.$ref=z}return Q}}if("pipe"in Z){let U=R(Z.pipe),z=0,M=U.length-1;if(H?.typeMode==="input"){let L=U.slice(1).findIndex((W)=>W.kind==="schema"||W.kind==="transformation"&&(W.type==="find_item"||W.type==="parse_json"||W.type==="raw_transform"||W.type==="reduce_items"||W.type==="stringify_json"||W.type==="to_bigint"||W.type==="to_boolean"||W.type==="to_date"||W.type==="to_number"||W.type==="to_string"||W.type==="transform"));if(L!==-1)M=L}else if(H?.typeMode==="output"){let L=U.findLastIndex((W)=>W.kind==="schema");if(L!==-1)z=L}for(let L=z;L<=M;L++){let W=U[L];if(W.kind==="schema"){if(L>z)T('Set the "typeMode" config to "input" or "output" to convert pipelines with multiple schemas.',H);Q=B(Q,W,H,Y,!0)}else Q=x(Q,W,H)}return Q}let N;switch(Z.type){case"boolean":Q.type="boolean";break;case"null":if(H?.target==="openapi-3.0")Q.enum=[null];else Q.type="null";break;case"number":Q.type="number";break;case"string":Q.type="string";break;case"array":Q.type="array",Q.items=B({},Z.item,H,Y);break;case"tuple":case"tuple_with_rest":case"loose_tuple":case"strict_tuple":if(Q.type="array",H?.target==="openapi-3.0"){Q.items={anyOf:[]},Q.minItems=Z.items.length;for(let U of Z.items)Q.items.anyOf.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.items.anyOf.push(B({},Z.rest,H,Y));else if(Z.type==="strict_tuple"||Z.type==="tuple")Q.maxItems=Z.items.length}else if(H?.target==="draft-2020-12"){Q.prefixItems=[],Q.minItems=Z.items.length;for(let U of Z.items)Q.prefixItems.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.items=B({},Z.rest,H,Y);else if(Z.type==="strict_tuple")Q.items=!1}else{Q.items=[],Q.minItems=Z.items.length;for(let U of Z.items)Q.items.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.additionalItems=B({},Z.rest,H,Y);else if(Z.type==="strict_tuple")Q.additionalItems=!1}break;case"object":case"object_with_rest":case"loose_object":case"strict_object":Q.type="object",Q.properties={},Q.required=[];for(let U in Z.entries){let z=Z.entries[U];if(Q.properties[U]=B({},z,H,Y),z.type!=="exact_optional"&&z.type!=="nullish"&&z.type!=="optional")Q.required.push(U)}if(Z.type==="object_with_rest")Q.additionalProperties=B({},Z.rest,H,Y);else if(Z.type==="strict_object")Q.additionalProperties=!1;break;case"record":if(H?.target==="openapi-3.0"&&"pipe"in Z.key)N=J(N,'The "record" schema with a schema for the key that contains a "pipe" cannot be converted to JSON Schema.');if(Z.key.type!=="string")N=J(N,`The "record" schema with the "${Z.key.type}" schema for the key cannot be converted to JSON Schema.`);if(Q.type="object",H?.target!=="openapi-3.0")Q.propertyNames=B({},Z.key,H,Y);Q.additionalProperties=B({},Z.value,H,Y);break;case"any":case"unknown":break;case"never":Q.not={};break;case"nullable":case"nullish":if(H?.target==="openapi-3.0"){let U=B({},Z.wrapped,H,Y);Object.assign(Q,U),Q.nullable=!0}else Q.anyOf=[B({},Z.wrapped,H,Y),{type:"null"}];if(Z.default!==void 0)Q.default=K(Z);break;case"exact_optional":case"optional":case"undefinedable":if(Q=B(Q,Z.wrapped,H,Y),Z.default!==void 0)Q.default=K(Z);break;case"literal":if(typeof Z.literal!=="boolean"&&typeof Z.literal!=="number"&&typeof Z.literal!=="string")N=J(N,'The value of the "literal" schema is not JSON compatible.');if(H?.target==="openapi-3.0")Q.enum=[Z.literal];else Q.const=Z.literal;break;case"enum":if(Q.enum=Z.options,Z.options.every((U)=>typeof U==="string"))Q.type="string";else if(Z.options.every((U)=>typeof U==="number"))Q.type="number";else if(H?.target!=="openapi-3.0")Q.type=["string","number"];break;case"picklist":{let U=Z.options.some((z)=>typeof z!=="number"&&typeof z!=="string");if(U)N=J(N,'An option of the "picklist" schema is not JSON compatible.');if(Q.enum=Z.options,Z.options.every((z)=>typeof z==="string"))Q.type="string";else if(Z.options.every((z)=>typeof z==="number"))Q.type="number";else if(!U&&H?.target!=="openapi-3.0")Q.type=["string","number"];break}case"union":Q.anyOf=Z.options.map((U)=>B({},U,H,Y));break;case"variant":Q.oneOf=Z.options.map((U)=>B({},U,H,Y));break;case"intersect":Q.allOf=Z.options.map((U)=>B({},U,H,Y));break;case"lazy":{let U=Y.getterMap.get(Z.getter);if(!U)U=Z.getter(void 0),Y.getterMap.set(Z.getter,U);let z=Y.referenceMap.get(U);if(!z)z=`${A++}`,Y.referenceMap.set(U,z),Y.definitions[z]=B({},U,H,Y,!0);if(Q.$ref=`#/$defs/${z}`,H?.overrideRef){let M=H.overrideRef({...Y,referenceId:z,valibotSchema:U,jsonSchema:Q});if(M)Q.$ref=M}break}default:N=J(N,`The "${Z.type}" schema cannot be converted to JSON Schema.`)}if(H?.overrideSchema){let U=H.overrideSchema({...Y,referenceId:Y.referenceMap.get(Z),valibotSchema:Z,jsonSchema:Q,errors:N});if(U)return{...U}}if(N)for(let U of N)T(U,H);return Q}var O;function b(Q){O={...O??{},...Q}}function E(){return O}function G(Q,Z){let H={definitions:{},referenceMap:new Map,getterMap:new Map},Y=Z?.definitions??E();if(Y){for(let U in Y)H.referenceMap.set(Y[U],U);for(let U in Y)H.definitions[U]=B({},Y[U],Z,H,!0)}let F=B({},Q,Z,H),N=Z?.target??"draft-07";if(N==="draft-2020-12")F.$schema="https://json-schema.org/draft/2020-12/schema";else if(N==="draft-07")F.$schema="http://json-schema.org/draft-07/schema#";if(H.referenceMap.size)F.$defs=H.definitions;return F}function I(Q,Z){let H={definitions:{},referenceMap:new Map,getterMap:new Map};for(let Y in Q)H.referenceMap.set(Q[Y],Y);for(let Y in Q)H.definitions[Y]=B({},Q[Y],Z,H,!0);return H.definitions}var C=["draft-07","draft-2020-12","openapi-3.0"];function j(Q){return{"~standard":{...Q["~standard"],jsonSchema:{input(Z){if(C.includes(Z.target))return G(Q,{typeMode:"input",target:Z.target,...Z.libraryOptions});throw Error(`Unsupported target: ${Z.target}`)},output(Z){if(C.includes(Z.target))return G(Q,{typeMode:"output",target:Z.target,...Z.libraryOptions});throw Error(`Unsupported target: ${Z.target}`)}}}}}export{j as toStandardJsonSchema,I as toJsonSchemaDefs,G as toJsonSchema,E as getGlobalDefs,b as addGlobalDefs};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{is as c,ms as s}from"./chunk-gswhjd1h.js";var r=["openai","anthropic"],p=["deepseek","zai","zhipuai","moonshotai","moonshotai-cn","kimi-for-coding","stepfun"],d=["opencode","openrouter"],l=["alibaba","alibaba-cn","bytedance","alibaba-coding-plan","alibaba-coding-plan-cn","zai-coding-plan","zhipuai-coding-plan","tencent-coding-plan","minimax-coding-plan","minimax-cn-coding-plan","kuae-cloud-coding-plan"],R=["opencode-go","github-copilot","google","vercel"],P=[r,p,d,l,R],g=Object.fromEntries(P.flatMap((i,a,e)=>{let n=e.slice(0,a).reduce((o,t)=>o+t.length,0);return i.map((o,t)=>[o,n+t])}));function m(i){return i in g}function O(i,a,e){return c(i,s((n)=>a[n.id]??99,(n)=>n.name??n.id),(n)=>n.map((o)=>({label:o.name,value:o.id,hint:e(o)})))}
2
+ import{ft as c,jt as s}from"./chunk-azss4acq.js";var r=["openai","anthropic"],p=["deepseek","zai","zhipuai","moonshotai","moonshotai-cn","kimi-for-coding","stepfun"],d=["opencode","openrouter"],l=["alibaba","alibaba-cn","bytedance","alibaba-coding-plan","alibaba-coding-plan-cn","zai-coding-plan","zhipuai-coding-plan","tencent-coding-plan","minimax-coding-plan","minimax-cn-coding-plan","kuae-cloud-coding-plan"],R=["opencode-go","github-copilot","google","vercel"],P=[r,p,d,l,R],g=Object.fromEntries(P.flatMap((i,a,e)=>{let n=e.slice(0,a).reduce((o,t)=>o+t.length,0);return i.map((o,t)=>[o,n+t])}));function m(i){return i in g}function O(i,a,e){return c(i,s((n)=>a[n.id]??99,(n)=>n.name??n.id),(n)=>n.map((o)=>({label:o.name,value:o.id,hint:e(o)})))}
3
3
  export{g as U,m as V,O as W};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{uP as t}from"./chunk-djfrkbd5.js";var e=await import("./chunk-062chtrq.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  function u(r){let e,t=!1,n=()=>{if(t)return e;return e=r(),t=!0,e};return n.reset=()=>{t=!1,e=void 0},n}
3
- export{u as Qn};
3
+ export{u as Ln};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  function t(o){return o}
3
- export{t as be};
3
+ export{t as ce};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Kf as i}from"./chunk-35fj1sfm.js";import{uO as f}from"./chunk-e0vrxetq.js";var o=f((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.fromString=e.fromArrayBuffer=void 0;var n=i();Object.defineProperty(e,"fromArrayBuffer",{enumerable:!0,get:function(){return n.fromArrayBuffer}});Object.defineProperty(e,"fromString",{enumerable:!0,get:function(){return n.fromString}})});var E=f((m)=>{var u=o(),y=(r)=>{let t=u.fromString(r,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)},b=(r)=>{if(typeof r==="string")return y(r);if(ArrayBuffer.isView(r))return new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(r)},c=(r)=>{if(typeof r==="string")return r;if(typeof r!=="object"||typeof r.byteOffset!=="number"||typeof r.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return u.fromArrayBuffer(r.buffer,r.byteOffset,r.byteLength).toString("utf8")};m.fromUtf8=y;m.toUint8Array=b;m.toUtf8=c});
3
- export{E as Bf};
2
+ import{Ff as i}from"./chunk-2fbkw84y.js";import{rP as f}from"./chunk-djfrkbd5.js";var o=f((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.fromString=e.fromArrayBuffer=void 0;var n=i();Object.defineProperty(e,"fromArrayBuffer",{enumerable:!0,get:function(){return n.fromArrayBuffer}});Object.defineProperty(e,"fromString",{enumerable:!0,get:function(){return n.fromString}})});var E=f((m)=>{var u=o(),y=(r)=>{let t=u.fromString(r,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)},b=(r)=>{if(typeof r==="string")return y(r);if(ArrayBuffer.isView(r))return new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(r)},c=(r)=>{if(typeof r==="string")return r;if(typeof r!=="object"||typeof r.byteOffset!=="number"||typeof r.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return u.fromArrayBuffer(r.buffer,r.byteOffset,r.byteLength).toString("utf8")};m.fromUtf8=y;m.toUint8Array=b;m.toUtf8=c});
3
+ export{E as wf};
@@ -0,0 +1,7 @@
1
+ // @bun
2
+ import{T as I}from"./chunk-gbkz04ke.js";import{U as i,W as r}from"./chunk-qyan69nb.js";import{Jd as c}from"./chunk-at4dge22.js";import{Kd as g}from"./chunk-yh1t6jrj.js";import{Ld as y}from"./chunk-jt6bvxtr.js";import{Md as k}from"./chunk-4a9jqe5s.js";import{Nd as A}from"./chunk-cdenq7jb.js";import{$d as b,Sd as w,Td as u,Vd as W,Wd as L,Xd as T,Zd as p,_d as o,ae as P}from"./chunk-vbfc0wgv.js";import"./chunk-j7637cwg.js";import{ce as z}from"./chunk-rk21wv4k.js";import{$f as Y}from"./chunk-xvvt886p.js";import{xh as M}from"./chunk-c1c8ch3g.js";import"./chunk-ajnzv5jt.js";import"./chunk-dz3kcsb6.js";import"./chunk-pwsajn96.js";import"./chunk-hgm8yfcb.js";import"./chunk-7rbg6mg9.js";import"./chunk-mp1x10t5.js";import{$k as s,Mk as a,tj as R}from"./chunk-s27cz24e.js";import{ll as V}from"./chunk-gx4v8z64.js";import{Jl as n}from"./chunk-v03xq38e.js";import"./chunk-dx7rexx3.js";import"./chunk-xgf4k9q7.js";import"./chunk-dnjyepb2.js";import"./chunk-8gpjmj42.js";import"./chunk-atacnspd.js";import"./chunk-qdafm7qg.js";import"./chunk-r81w6skn.js";import"./chunk-ge7csm6m.js";import"./chunk-d0dsgxk4.js";import"./chunk-1q10jyka.js";import"./chunk-wh2qqhep.js";import"./chunk-vy93mn7d.js";import"./chunk-yce8ph5b.js";import"./chunk-kec1xw1n.js";import"./chunk-cqtkxwd8.js";import"./chunk-x50adh71.js";import"./chunk-ngyv4fhn.js";import"./chunk-nq4x6792.js";import"./chunk-f17se3hh.js";import"./chunk-2y5bthrp.js";import"./chunk-7hdb1fhq.js";import"./chunk-xnxw5zz9.js";import"./chunk-gq3zb4wv.js";import"./chunk-2cvwrabw.js";import"./chunk-4sa9t0vx.js";import"./chunk-g52wmt1v.js";import{Ls as l}from"./chunk-9d0exvey.js";import"./chunk-h2p984qb.js";import"./chunk-qm9fm5ja.js";import"./chunk-z0m1qm7j.js";import"./chunk-wd2xmkdp.js";import"./chunk-8peby2d1.js";import{it as d}from"./chunk-azss4acq.js";import"./chunk-0bhzhh7s.js";import"./chunk-7s0nq2aa.js";import{iu as v}from"./chunk-cxtwavyf.js";import"./chunk-15bjhfav.js";import"./chunk-q4mtwv1w.js";import"./chunk-7a3txs9f.js";import"./chunk-x308f9j4.js";import{cI as O}from"./chunk-2zjet9tx.js";import"./chunk-mn5cacf6.js";import"./chunk-9pj10pgd.js";import{uP as H1}from"./chunk-djfrkbd5.js";import f from"path";import{pathToFileURL as J1}from"url";import Q1 from"os";import{access as S1,readdir as X1}from"fs/promises";var q1={en:A,zh:k,ja:c,fr:y,ru:g},B1=q1[I()]??A;function U($,B){let J=B1[$]??A[$]??$;if(!B)return J;return J.replace(/\{(\w+)\}/g,(X,H)=>(H in B)?String(B[H]):`{${H}}`)}import{text as Z1}from"stream/consumers";var D=($,B)=>M.runPromise(O.gen(function*(){yield*(yield*R.Service).set($,B)}));async function t(){let $=await p({message:"Enter your API key",validate:(B)=>B&&B.length>0?void 0:"Required"});if(w($))throw new Y.CancelledError;return $}async function h($,B){let J=$.provider??B;if("refresh"in $){let{type:X,provider:H,refresh:Z,access:j,expires:q,metadata:S,...G}=$;await D(J,{type:"oauth",refresh:Z,access:j,expires:q,...G})}if("key"in $)await D(J,{type:"api",key:$.key,...$.metadata?{metadata:$.metadata}:{}})}async function x($,B,J){let X=0;if(J){let j=$.auth.methods.findIndex((q)=>q.label.toLowerCase()===J.toLowerCase());if(j===-1)W.error(`Unknown method "${J}" for ${B}. Available: ${$.auth.methods.map((q)=>q.label).join(", ")}`),process.exit(1);X=j}else if($.auth.methods.length>1){let j=await b({message:"Login method",options:$.auth.methods.map((q,S)=>({label:q.label,value:S.toString()}))});if(w(j))throw new Y.CancelledError;X=parseInt(j)}let H=$.auth.methods[X];await new Promise((j)=>setTimeout(j,10));let Z={};if(H.prompts)for(let j of H.prompts){if(j.when){let q=Z[j.when.key];if(q===void 0)continue;if(!(j.when.op==="eq"?q===j.when.value:q!==j.when.value))continue}if(j.condition&&!j.condition(Z))continue;if(j.type==="select"){let q=await b({message:j.message,options:j.options});if(w(q))throw new Y.CancelledError;Z[j.key]=q}else{let q=await P({message:j.message,placeholder:j.placeholder,validate:j.validate?(S)=>j.validate(S??""):void 0});if(w(q))throw new Y.CancelledError;Z[j.key]=q}}if(H.type==="oauth"){let j=await H.authorize(Z);if(j.url)W.info("Go to: "+j.url);if(j.method==="auto"){if(j.instructions)W.info(j.instructions);let q=o();q.start("Waiting for authorization...");let S=await j.callback();if(S.type==="failed")q.stop("Failed to authorize",1);if(S.type==="success")await h(S,B),q.stop("Login successful")}if(j.method==="code"){let q=await P({message:"Paste the authorization code here: ",validate:(G)=>G&&G.length>0?void 0:"Required"});if(w(q))throw new Y.CancelledError;let S=await j.callback(q);if(S.type==="failed")W.error("Failed to authorize");if(S.type==="success")await h(S,B),W.success("Login successful")}return T("Done"),!0}if(H.type==="api"){if(H.authorize){let j=await t(),q=await H.authorize(Z);if(q.type==="failed")W.error("Failed to authorize");if(q.type==="success"){let S=q.provider??B;await D(S,{type:"api",key:q.key??j}),W.success("Login successful")}return T("Done"),!0}}return!1}function G1($){let B=new Set,J=[];for(let X of $.hooks){if(!X.auth)continue;let H=X.auth.provider;if(B.has(H))continue;if(B.add(H),Object.hasOwn($.existingProviders,H))continue;if($.disabled.has(H))continue;if($.enabled&&!$.enabled.has(H))continue;J.push({id:H,name:$.providerNames[H]??H})}return J}function m($){let B=$?.loginExtension;if(!B||typeof B!=="object")return;let J=B;if(typeof J.id!=="string"||typeof J.run!=="function")return;return J}async function W1(){try{let J=await import("./chunk-2z3fe4qw.js");for(let X of Object.values(J.modules??{})){let H=m(X);if(H)return H}}catch{}let $=f.join(import.meta.dir,"..","..","ext");await S1($).catch(()=>{return});let B=await X1($).catch(()=>[]);for(let J of B.filter((X)=>X.endsWith(".ts")&&!X.endsWith(".d.ts")))try{let X=m(await import(J1(f.join($,J)).href));if(X)return X}catch{}return}var l1=z({command:"providers",aliases:["auth"],describe:"manage AI providers and credentials",builder:($)=>$.command(Y1).command(_1).command(F1).command(K1).demandCommand(),async handler(){}}),Y1=z({command:"list",aliases:["ls"],describe:"list providers and credentials",async handler($){Y.empty();let B=f.join(v.Path.data,"auth.json"),J=Q1.homedir(),X=B===J||B.startsWith(J+f.sep)?"~"+B.slice(J.length):B;L(`Credentials ${Y.Style.TEXT_DIM}${X}`);let H=await M.runPromise(O.gen(function*(){let q=yield*R.Service;return Object.entries(yield*q.all())})),Z=await V.get();for(let[q,S]of H){let G=Z[q]?.name||q;W.info(`${G} ${Y.Style.TEXT_DIM}${S.type}`)}T(`${H.length} credentials`);let j=[];for(let[q,S]of Object.entries(Z))for(let G of S.env)if(process.env[G])j.push({provider:S.name||q,envVar:G});if(j.length>0){Y.empty(),L("Environment");for(let{provider:q,envVar:S}of j)W.info(`${q} ${Y.Style.TEXT_DIM}${S}`);T(`${j.length} environment variable`+(j.length===1?"":"s"))}}}),_1=z({command:"login [url]",describe:"log in to a provider",builder:($)=>$.positional("url",{describe:"qitqode auth provider",type:"string"}).option("provider",{alias:["p"],describe:"provider id or name to log in to (skips provider selection)",type:"string"}).option("method",{alias:["m"],describe:"login method label (skips method selection)",type:"string"}),async handler($){await n.provide({directory:process.cwd(),async fn(){if(Y.empty(),L("Add credential"),$.url){let Q=$.url.replace(/\/+$/,""),_=await fetch(`${Q}/.well-known/opencode`).then((j1)=>j1.json());W.info(`Running \`${_.auth.command.join(" ")}\``);let F=l.spawn(_.auth.command,{stdout:"pipe"});if(!F.stdout){W.error("Failed"),T("Done");return}let[C,N]=await Promise.all([F.exited,Z1(F.stdout)]);if(C!==0){W.error("Failed"),T("Done");return}await D(Q,{type:"wellknown",key:_.auth.env,token:N.trim()}),W.success("Logged into "+Q),T("Done");return}await V.refresh(!0).catch(()=>{});let B=await M.runPromise(s.Service.use((Q)=>Q.get())),J=new Set(B.disabled_providers??[]),X=B.enabled_providers?new Set(B.enabled_providers):void 0,H=await V.get().then((Q)=>{let _={};for(let[F,C]of Object.entries(Q))if((X?X.has(F):!0)&&!J.has(F))_[F]=C;return _}),Z=await M.runPromise(O.gen(function*(){return yield*(yield*a.Service).list()})),j=i,q=G1({hooks:Z,existingProviders:H,disabled:J,enabled:X,providerNames:Object.fromEntries(Object.entries(B.provider??{}).map(([Q,_])=>[Q,_.name]))}),S=[...r(d(H),j,(Q)=>({openai:"ChatGPT Plus/Pro or API key"})[Q.id]),...q.map((Q)=>({label:Q.name,value:Q.id,hint:"plugin"}))],G=await W1(),e=G?[G.id,...G.aliases??[]]:[],K;if(G&&$.provider&&e.includes($.provider)){await G.run();return}else if($.provider){let Q=$.provider,_=S.find((N)=>N.value===Q),F=S.find((N)=>N.label.toLowerCase()===Q.toLowerCase()),C=_??F;if(!C)W.error(`Unknown provider "${Q}"`),process.exit(1);K=C.value}else{let Q=await b({message:U("cli.providers.select"),options:[...G?.menu?[{label:G.menu.label,value:G.id,hint:G.menu.hint}]:[],{label:U("cli.providers.other"),value:"__other__"}]});if(w(Q))throw new Y.CancelledError;if(G&&Q===G.id){await G.run();return}let _=await u({message:U("cli.providers.select"),maxItems:8,options:[...S,{value:"other",label:"Other"}]});if(w(_))throw new Y.CancelledError;K=_}let E=Z.findLast((Q)=>Q.auth?.provider===K);if(E&&E.auth){if(await x({auth:E.auth},K,$.method))return}if(K==="other"){let Q=await P({message:"Enter provider id",validate:(F)=>F&&F.match(/^[0-9a-z-]+$/)?void 0:"a-z, 0-9 and hyphens only"});if(w(Q))throw new Y.CancelledError;K=Q.replace(/^@ai-sdk\//,"");let _=Z.findLast((F)=>F.auth?.provider===K);if(_&&_.auth){if(await x({auth:_.auth},K,$.method))return}W.warn(`This only stores a credential for ${K} - you will need configure it in qitqode.json, check the docs for examples.`)}if(K==="amazon-bedrock")W.info(`Amazon Bedrock authentication priority:
3
+ 1. Bearer token (AWS_BEARER_TOKEN_BEDROCK or /connect)
4
+ 2. AWS credential chain (profile, access keys, IAM roles, EKS IRSA)
5
+
6
+ Configure via qitqode.json options (profile, region, endpoint) or
7
+ AWS environment variables (AWS_PROFILE, AWS_REGION, AWS_ACCESS_KEY_ID, AWS_WEB_IDENTITY_TOKEN_FILE).`);if(K==="opencode")W.info("Create an api key at https://opencode.ai/auth");if(K==="vercel")W.info("You can create an api key at https://vercel.link/ai-gateway-token");if(["cloudflare","cloudflare-ai-gateway"].includes(K))W.info("Cloudflare AI Gateway can be configured with CLOUDFLARE_GATEWAY_ID, CLOUDFLARE_ACCOUNT_ID, and CLOUDFLARE_API_TOKEN environment variables. Read more: https://opencode.ai/docs/providers/#cloudflare-ai-gateway");let $1=await t();await D(K,{type:"api",key:$1}),T("Done")}})}}),F1=z({command:"logout",describe:"log out from a configured provider",async handler($){Y.empty();let B=await M.runPromise(O.gen(function*(){let Z=yield*R.Service;return Object.entries(yield*Z.all())}));if(L("Remove credential"),B.length===0){W.error("No credentials found");return}let J=await V.get(),X=await b({message:"Select provider",options:B.map(([Z,j])=>({label:(J[Z]?.name||Z)+Y.Style.TEXT_DIM+" ("+j.type+")",value:Z}))});if(w(X))throw new Y.CancelledError;let H=X;await M.runPromise(O.gen(function*(){yield*(yield*R.Service).remove(H)})),T("Logout successful")}}),K1=z({command:"whoami",describe:"show current logged-in user info",async handler($){Y.empty(),L("Current auth"),W.info("Run `qitqode auth list` to see all authenticated providers."),T("")}});export{G1 as resolvePluginProviders,K1 as ProvidersWhoamiCommand,F1 as ProvidersLogoutCommand,_1 as ProvidersLoginCommand,Y1 as ProvidersListCommand,l1 as ProvidersCommand};