zen-code 4.8.3 → 4.8.5

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 (395) hide show
  1. package/dist/app.js +92 -98
  2. package/dist/{chunk-9kydh60d.js → chunk-06dj0dnz.js} +1 -1
  3. package/dist/chunk-0cbmnyee.js +1 -0
  4. package/dist/{chunk-bd35cx5s.js → chunk-0cknr23d.js} +1 -1
  5. package/dist/{chunk-ywp666sg.js → chunk-0jtrg9s1.js} +1 -1
  6. package/dist/{chunk-dhgjjhh7.js → chunk-0k9tc7ys.js} +1 -1
  7. package/dist/{chunk-h5k1z56v.js → chunk-0kan91hr.js} +1 -1
  8. package/dist/{chunk-yj27rmw2.js → chunk-0kvk3r1g.js} +1 -1
  9. package/dist/{chunk-ak0aqr2c.js → chunk-0x0r76m6.js} +1 -1
  10. package/dist/{chunk-fmmsa2ry.js → chunk-154dd94d.js} +2 -2
  11. package/dist/{chunk-w8vzpn90.js → chunk-17g5e3tb.js} +1 -1
  12. package/dist/{chunk-0qrqmmqt.js → chunk-1b02dwxw.js} +1 -1
  13. package/dist/{chunk-bngqptzm.js → chunk-1ck3yagm.js} +1 -1
  14. package/dist/{chunk-zpes0b8m.js → chunk-1fmdjx58.js} +1 -1
  15. package/dist/{chunk-tchg9ygq.js → chunk-1m8bmdzc.js} +1 -1
  16. package/dist/{chunk-e112438q.js → chunk-1tj3j2rd.js} +1 -1
  17. package/dist/{chunk-z0abvgpr.js → chunk-1xdz3wdt.js} +1 -1
  18. package/dist/{chunk-px75djc6.js → chunk-1xjj19pz.js} +1 -1
  19. package/dist/{chunk-7h9sjfmy.js → chunk-1z3yy9vz.js} +1 -1
  20. package/dist/{chunk-3p4khpea.js → chunk-1zbnmy0p.js} +1 -1
  21. package/dist/{chunk-cm6vfvym.js → chunk-21gm4tm7.js} +1 -1
  22. package/dist/{chunk-3dqan531.js → chunk-250846sw.js} +1 -1
  23. package/dist/{chunk-9dh8d15f.js → chunk-2a6kan82.js} +1 -1
  24. package/dist/{chunk-crvp4wnc.js → chunk-2cfemb9q.js} +1 -1
  25. package/dist/{chunk-5g0asgdm.js → chunk-2mrbrsta.js} +1 -1
  26. package/dist/chunk-2yk5xgha.js +1 -0
  27. package/dist/{chunk-97bsgfnr.js → chunk-2z60cf4h.js} +1 -1
  28. package/dist/{chunk-p6dgtz38.js → chunk-3009w43m.js} +1 -1
  29. package/dist/{chunk-arppjtcv.js → chunk-3acyh64g.js} +1 -1
  30. package/dist/{chunk-9ynmrc70.js → chunk-3b8scss4.js} +1 -1
  31. package/dist/{chunk-41hzdwnx.js → chunk-3d8rzv4d.js} +1 -1
  32. package/dist/{chunk-ajtch74a.js → chunk-3emyjvqg.js} +1 -1
  33. package/dist/{chunk-pnhf6jtr.js → chunk-3fp2k4jh.js} +3 -3
  34. package/dist/{chunk-0gpa9n28.js → chunk-3j3wmx6g.js} +1 -1
  35. package/dist/chunk-3rew4tyk.js +1 -0
  36. package/dist/{chunk-tpgf3t6p.js → chunk-3s3b7nzy.js} +1 -1
  37. package/dist/{chunk-x0qb9311.js → chunk-3w98g1h4.js} +1 -1
  38. package/dist/{chunk-w69pf8zx.js → chunk-45bkb77s.js} +2 -2
  39. package/dist/{chunk-pd4wysbn.js → chunk-4agrg21g.js} +1 -1
  40. package/dist/{chunk-gp1ensbx.js → chunk-4asb3qnd.js} +1 -1
  41. package/dist/{chunk-gtms11w9.js → chunk-4k15drqf.js} +1 -1
  42. package/dist/{chunk-6gxwe3hq.js → chunk-4vhwsrc0.js} +1 -1
  43. package/dist/{chunk-8m6adpjf.js → chunk-4yddzp8e.js} +1 -1
  44. package/dist/{chunk-jppcve2j.js → chunk-53agfxhn.js} +1 -1
  45. package/dist/{chunk-k7e2abhq.js → chunk-54kyvbh7.js} +1 -1
  46. package/dist/{chunk-98x8wkt6.js → chunk-558jjzha.js} +1 -1
  47. package/dist/{chunk-4j4w856j.js → chunk-56q8b04m.js} +1 -1
  48. package/dist/{chunk-501c35tf.js → chunk-59vj8mx3.js} +1 -1
  49. package/dist/chunk-5bvkhjg1.js +1 -0
  50. package/dist/{chunk-76gx2wc0.js → chunk-5m8gh94n.js} +1 -1
  51. package/dist/{chunk-gy4p2qnz.js → chunk-5n57csbz.js} +1 -1
  52. package/dist/{chunk-cyd358a8.js → chunk-5n6g25gc.js} +1 -1
  53. package/dist/{chunk-v8ag7wgx.js → chunk-5rmyjm7a.js} +1 -1
  54. package/dist/{chunk-77gv3r7z.js → chunk-5wkah698.js} +1 -1
  55. package/dist/{chunk-gpmj4w3z.js → chunk-63ncy5kr.js} +1 -1
  56. package/dist/{chunk-zkfa00mf.js → chunk-66sfgeag.js} +1 -1
  57. package/dist/{chunk-ypj2k2de.js → chunk-6ag9x0z1.js} +1 -1
  58. package/dist/{chunk-w895krdx.js → chunk-6bhkrdb2.js} +1 -1
  59. package/dist/{chunk-dvmzq40v.js → chunk-6cs4tf5a.js} +1 -1
  60. package/dist/{chunk-c1gpr8nz.js → chunk-6czm9v10.js} +1 -1
  61. package/dist/{chunk-djmxgj5c.js → chunk-6dm27qn5.js} +1 -1
  62. package/dist/{chunk-86exrje1.js → chunk-6eyx9kb0.js} +1 -1
  63. package/dist/{chunk-pr7vzg5y.js → chunk-6fsb1bxc.js} +1 -1
  64. package/dist/chunk-6mcx89fj.js +3 -0
  65. package/dist/{chunk-0dstjr38.js → chunk-6qbdcv3t.js} +1 -1
  66. package/dist/{chunk-ywas7wb8.js → chunk-6qyeer8n.js} +1 -1
  67. package/dist/{chunk-mvv3ktys.js → chunk-6r5npryc.js} +1 -1
  68. package/dist/{chunk-h8ay3dqc.js → chunk-6rhb6xym.js} +1 -1
  69. package/dist/{chunk-xk0abc6t.js → chunk-6vhg46d2.js} +1 -1
  70. package/dist/{chunk-7hvw60gp.js → chunk-6yb36qx6.js} +1 -1
  71. package/dist/{chunk-gh5vbn9x.js → chunk-72cdrnwv.js} +1 -1
  72. package/dist/{chunk-eh3cemzk.js → chunk-731nq1br.js} +1 -1
  73. package/dist/{chunk-03d08304.js → chunk-748hk53z.js} +1 -1
  74. package/dist/{chunk-dw3081wb.js → chunk-774cjjgt.js} +1 -1
  75. package/dist/{chunk-1dwn0qqb.js → chunk-77chzpqs.js} +1 -1
  76. package/dist/chunk-77qt7n70.js +1 -0
  77. package/dist/{chunk-f40x0w1g.js → chunk-7d4h6qkf.js} +1 -1
  78. package/dist/{chunk-n72x5y7a.js → chunk-7en8vahs.js} +1 -1
  79. package/dist/{chunk-6a35z43a.js → chunk-7k80bxbe.js} +1 -1
  80. package/dist/{chunk-h8de6gyf.js → chunk-7khjf5c1.js} +1 -1
  81. package/dist/{chunk-vyfvrrc8.js → chunk-7khrhe0x.js} +2 -2
  82. package/dist/{chunk-e2qmvzgm.js → chunk-7m0c57rj.js} +1 -1
  83. package/dist/{chunk-b6xencpw.js → chunk-7n5b43s8.js} +1 -1
  84. package/dist/{chunk-7dmms791.js → chunk-7pwrx1pp.js} +1 -1
  85. package/dist/{chunk-3mzwewcx.js → chunk-7v4352jx.js} +1 -1
  86. package/dist/chunk-7w75nxwb.js +1 -0
  87. package/dist/{chunk-pf09ha3g.js → chunk-7wa89vcy.js} +1 -1
  88. package/dist/{chunk-wtwgpw9g.js → chunk-7wxg0yef.js} +1 -1
  89. package/dist/chunk-7yf45m28.js +1 -0
  90. package/dist/{chunk-8kv8e5sn.js → chunk-7z7g35xf.js} +1 -1
  91. package/dist/chunk-82xzyhyv.js +1 -0
  92. package/dist/{chunk-z46zzhqf.js → chunk-87w9rexn.js} +1 -1
  93. package/dist/{chunk-2w2pzwmm.js → chunk-8arg48f8.js} +1 -1
  94. package/dist/{chunk-4s6z4724.js → chunk-8cbtae81.js} +1 -1
  95. package/dist/{chunk-62zhdx11.js → chunk-8ee7jvcr.js} +1 -1
  96. package/dist/{chunk-6rzyzk0g.js → chunk-8gm5e25z.js} +1 -1
  97. package/dist/{chunk-v3bw2mnd.js → chunk-8jhmnz2v.js} +1 -1
  98. package/dist/{chunk-rmrp92n9.js → chunk-8qh81vdm.js} +1 -1
  99. package/dist/{chunk-8chx87e7.js → chunk-8vr1wy0r.js} +1 -1
  100. package/dist/{chunk-6e734rff.js → chunk-917pj3vx.js} +1 -1
  101. package/dist/{chunk-8mmvxxyj.js → chunk-91gd665t.js} +1 -1
  102. package/dist/{chunk-50hw7e2n.js → chunk-9hnbyswz.js} +1 -1
  103. package/dist/{chunk-tamfhbc6.js → chunk-9hznfyjs.js} +1 -1
  104. package/dist/chunk-9mjq1xxc.js +1 -0
  105. package/dist/{chunk-3pqm74e3.js → chunk-9rmve4r4.js} +1 -1
  106. package/dist/{chunk-aqyqcpz2.js → chunk-a36ttbrq.js} +1 -1
  107. package/dist/{chunk-5gaygdyf.js → chunk-a4vdvjsr.js} +1 -1
  108. package/dist/{chunk-gqdapzfq.js → chunk-a51szmhp.js} +1 -1
  109. package/dist/{chunk-c1r7zjt3.js → chunk-ae57mcvq.js} +1 -1
  110. package/dist/{chunk-mcrmg4m8.js → chunk-aeajq5ft.js} +1 -1
  111. package/dist/{chunk-hxw717c2.js → chunk-aekjcqbv.js} +1 -1
  112. package/dist/{chunk-frzyyytq.js → chunk-ah557n6f.js} +1 -1
  113. package/dist/{chunk-psdrzwp5.js → chunk-am5r5ynh.js} +1 -1
  114. package/dist/{chunk-jam7nh0r.js → chunk-asdze5kz.js} +1 -1
  115. package/dist/{chunk-nt5n8jcr.js → chunk-av215sh3.js} +1 -1
  116. package/dist/chunk-b1czvr4n.js +1 -0
  117. package/dist/{chunk-ke9tpkk2.js → chunk-b3g51e2m.js} +1 -1
  118. package/dist/{chunk-72h39xc8.js → chunk-b4qvb571.js} +1 -1
  119. package/dist/{chunk-3s6j6d1z.js → chunk-bba2g9qj.js} +1 -1
  120. package/dist/{chunk-t0tznkac.js → chunk-be8bz8xh.js} +1 -1
  121. package/dist/{chunk-1ggv4msc.js → chunk-bjctrgpr.js} +1 -1
  122. package/dist/{chunk-2hjzw0cx.js → chunk-bjqn0pzz.js} +1 -1
  123. package/dist/{chunk-afdat9a4.js → chunk-bqzvv2dy.js} +1 -1
  124. package/dist/{chunk-8hp4t30w.js → chunk-bs9fj12n.js} +1 -1
  125. package/dist/{chunk-bf0pjbfa.js → chunk-bz79zq7h.js} +1 -1
  126. package/dist/{chunk-bwnx1zht.js → chunk-bzanqq7a.js} +1 -1
  127. package/dist/{chunk-xmp5jp4r.js → chunk-cayjw3gk.js} +1 -1
  128. package/dist/{chunk-fbf3gztk.js → chunk-ceb97hw6.js} +1 -1
  129. package/dist/{chunk-anbr96y3.js → chunk-cpvvtyt1.js} +1 -1
  130. package/dist/{chunk-4n978rje.js → chunk-crrspdy9.js} +2 -2
  131. package/dist/{chunk-wb0ms9q0.js → chunk-ctet86gc.js} +1 -1
  132. package/dist/{chunk-n9x46wsq.js → chunk-ctp90f8y.js} +1 -1
  133. package/dist/chunk-cv5akzkw.js +1 -0
  134. package/dist/{chunk-1mdbzd7e.js → chunk-denz6x2z.js} +1 -1
  135. package/dist/{chunk-jafhgffb.js → chunk-dnpybaez.js} +1 -1
  136. package/dist/{chunk-3pd9zqn2.js → chunk-dp2418kp.js} +1 -1
  137. package/dist/{chunk-vkfhjhhh.js → chunk-dv9rvc0a.js} +1 -1
  138. package/dist/{chunk-70gnwjt8.js → chunk-dz0229fs.js} +1 -1
  139. package/dist/{chunk-q3x300wy.js → chunk-e8pjcdmj.js} +1 -1
  140. package/dist/chunk-edkft0pe.js +1 -0
  141. package/dist/{chunk-xb46b3bf.js → chunk-eemwtwb1.js} +1 -1
  142. package/dist/{chunk-wk8sx9ev.js → chunk-ejh8spnd.js} +1 -1
  143. package/dist/{chunk-mjwypsrz.js → chunk-emjqnzzj.js} +1 -1
  144. package/dist/{chunk-w0me5x6g.js → chunk-esskh0ge.js} +1 -1
  145. package/dist/chunk-ewx6fr7a.js +1 -0
  146. package/dist/{chunk-pe45n68n.js → chunk-ewxacd5v.js} +1 -1
  147. package/dist/{chunk-bb9mvt9d.js → chunk-ez2xn1tq.js} +1 -1
  148. package/dist/{chunk-fcxgd3qb.js → chunk-ezh4rq18.js} +1 -1
  149. package/dist/{chunk-jy5kmp4s.js → chunk-f1gz54zs.js} +1 -1
  150. package/dist/chunk-f2p8rps5.js +1 -0
  151. package/dist/{chunk-emdn1c33.js → chunk-f3mf8qk2.js} +1 -1
  152. package/dist/{chunk-y3d9nwzf.js → chunk-f51sey9j.js} +1 -1
  153. package/dist/{chunk-8m5dqftt.js → chunk-f8c6jyrc.js} +1 -1
  154. package/dist/{chunk-5743qc09.js → chunk-fb70a9sy.js} +1 -1
  155. package/dist/{chunk-03bb6pab.js → chunk-fd4dk58v.js} +1 -1
  156. package/dist/{chunk-p2z2bacg.js → chunk-fdhzjb42.js} +1 -1
  157. package/dist/{chunk-trx18gxg.js → chunk-fftvnc8t.js} +1 -1
  158. package/dist/{chunk-f3jbz60e.js → chunk-ffzytaw1.js} +1 -1
  159. package/dist/{chunk-vxzscaap.js → chunk-fm3k6prw.js} +1 -1
  160. package/dist/{chunk-1163kxya.js → chunk-fs5s90mk.js} +1 -1
  161. package/dist/{chunk-s6t5vxm9.js → chunk-fvhtfw18.js} +1 -1
  162. package/dist/{chunk-te7k3eqj.js → chunk-gaw2bhff.js} +1 -1
  163. package/dist/{chunk-y3gfd4y3.js → chunk-gbrg4c7y.js} +1 -1
  164. package/dist/{chunk-n220pha2.js → chunk-gkhxerej.js} +1 -1
  165. package/dist/{chunk-j8b7x5pr.js → chunk-gps0pyf7.js} +1 -1
  166. package/dist/{chunk-xzpqbfjh.js → chunk-gs9s59d4.js} +1 -1
  167. package/dist/{chunk-45dyg3fv.js → chunk-gsnrqmzp.js} +1 -1
  168. package/dist/{chunk-y1f3hfaq.js → chunk-gvjvbwk6.js} +1 -1
  169. package/dist/{chunk-6v5eepr1.js → chunk-gxc7a8cz.js} +1 -1
  170. package/dist/{chunk-09f94dtz.js → chunk-h06hyckd.js} +1 -1
  171. package/dist/{chunk-85j75g9q.js → chunk-h0b5na4r.js} +1 -1
  172. package/dist/{chunk-1efcgvx0.js → chunk-h1bjeyn7.js} +1 -1
  173. package/dist/chunk-h5y1vfrx.js +1 -0
  174. package/dist/chunk-hbhwzk5x.js +2 -0
  175. package/dist/{chunk-2qx9kzj1.js → chunk-hgkaxnh7.js} +1 -1
  176. package/dist/{chunk-ksr76npa.js → chunk-hgs9vzm2.js} +1 -1
  177. package/dist/{chunk-q56ns9ta.js → chunk-hjs9ffqg.js} +1 -1
  178. package/dist/chunk-hmtm22t7.js +1 -0
  179. package/dist/{chunk-3s46q55v.js → chunk-hps6tv25.js} +2 -2
  180. package/dist/{chunk-mymqnpgf.js → chunk-hraqhe5e.js} +1 -1
  181. package/dist/{chunk-ehpz2t7m.js → chunk-htns6qnb.js} +1 -1
  182. package/dist/{chunk-9gnhztzd.js → chunk-hv4arqm5.js} +1 -1
  183. package/dist/{chunk-4ecfe9a1.js → chunk-hzqb4sy6.js} +1 -1
  184. package/dist/chunk-j0szwqey.js +1 -0
  185. package/dist/{chunk-p89xw4y2.js → chunk-j3tfxj8n.js} +1 -1
  186. package/dist/{chunk-eyty7ng4.js → chunk-j6s60n91.js} +1 -1
  187. package/dist/{chunk-v28dexnx.js → chunk-j7f3n1aj.js} +1 -1
  188. package/dist/{chunk-4tgv8687.js → chunk-j9za9ext.js} +1 -1
  189. package/dist/{chunk-1pm5qfkm.js → chunk-ja5m6q40.js} +1 -1
  190. package/dist/{chunk-nw76mbwc.js → chunk-jdvv96q7.js} +1 -1
  191. package/dist/{chunk-rxxn6qxm.js → chunk-jfecjzq0.js} +2 -2
  192. package/dist/{chunk-r9r1v9kw.js → chunk-jsqwhbbt.js} +1 -1
  193. package/dist/{chunk-b68ekt52.js → chunk-jyrs3ysr.js} +1 -1
  194. package/dist/{chunk-m8mdqeye.js → chunk-jz8tmenz.js} +1 -1
  195. package/dist/{chunk-4g796wg5.js → chunk-k17n7dpm.js} +1 -1
  196. package/dist/{chunk-0ch9bkct.js → chunk-k1yv7tpj.js} +1 -1
  197. package/dist/{chunk-9hkn5b8e.js → chunk-k4ftjnx7.js} +1 -1
  198. package/dist/{chunk-3tq80kwe.js → chunk-k626mmdc.js} +1 -1
  199. package/dist/{chunk-y5pf2d0x.js → chunk-k8ygzjvv.js} +1 -1
  200. package/dist/{chunk-yr48as8z.js → chunk-ka0pqrag.js} +1 -1
  201. package/dist/chunk-kbgd9vsz.js +1 -0
  202. package/dist/{chunk-7zprjevz.js → chunk-kc6rwv2m.js} +1 -1
  203. package/dist/{chunk-g9q5nbz0.js → chunk-kc8375a8.js} +1 -1
  204. package/dist/{chunk-28p35k17.js → chunk-kgj1ssyj.js} +1 -1
  205. package/dist/{chunk-323aj0k7.js → chunk-kk4w0prd.js} +1 -1
  206. package/dist/{chunk-tpyp8wqr.js → chunk-kkks4cbp.js} +1 -1
  207. package/dist/{chunk-6nhdwm44.js → chunk-kq7y5ybe.js} +1 -1
  208. package/dist/{chunk-kwgygr4z.js → chunk-kqemj8nq.js} +1 -1
  209. package/dist/chunk-kr6cv1mp.js +1 -0
  210. package/dist/{chunk-0mryaqgb.js → chunk-kx3dsqc5.js} +1 -1
  211. package/dist/{chunk-y971vkwy.js → chunk-kys8sc0j.js} +1 -1
  212. package/dist/{chunk-b9fn4n7z.js → chunk-m0e2jefq.js} +2 -2
  213. package/dist/{chunk-yxwramd1.js → chunk-m0vtra47.js} +1 -1
  214. package/dist/{chunk-1q8wzky6.js → chunk-m9xdbw2j.js} +1 -1
  215. package/dist/{chunk-3ns6c29z.js → chunk-mft6e1b3.js} +1 -1
  216. package/dist/{chunk-4qs8qf3g.js → chunk-mfyvxat8.js} +1 -1
  217. package/dist/{chunk-bwjh7xrm.js → chunk-mjfe9s8t.js} +1 -1
  218. package/dist/{chunk-rxs4gexg.js → chunk-mns6edxc.js} +1 -1
  219. package/dist/{chunk-ba18by4y.js → chunk-mrapdjm5.js} +2 -2
  220. package/dist/{chunk-p3mpqeqw.js → chunk-mrbn4knm.js} +1 -1
  221. package/dist/{chunk-znpdxhep.js → chunk-ms3sqsez.js} +1 -1
  222. package/dist/chunk-mtyqtnv0.js +1 -0
  223. package/dist/{chunk-g30bcqjk.js → chunk-mvb82v3n.js} +1 -1
  224. package/dist/{chunk-hvekwfwd.js → chunk-n08dw2ke.js} +1 -1
  225. package/dist/{chunk-3z87tvcn.js → chunk-n0sxg10w.js} +1 -1
  226. package/dist/chunk-n3xjke41.js +1 -0
  227. package/dist/{chunk-v1e0cwqh.js → chunk-n6v7menj.js} +1 -1
  228. package/dist/{chunk-63ghca0g.js → chunk-n8apqh5d.js} +1 -1
  229. package/dist/{chunk-51h1tm3c.js → chunk-n8f65qbg.js} +1 -1
  230. package/dist/{chunk-jmzy9per.js → chunk-n92ey5c2.js} +1 -1
  231. package/dist/{chunk-q9711zm8.js → chunk-nbkkf36e.js} +1 -1
  232. package/dist/chunk-ndk5mkc1.js +1 -0
  233. package/dist/{chunk-4zemyepb.js → chunk-nks89eba.js} +1 -1
  234. package/dist/{chunk-feptb1bb.js → chunk-nr26055z.js} +1 -1
  235. package/dist/{chunk-rc027n67.js → chunk-nrkhbe10.js} +1 -1
  236. package/dist/chunk-nvnw7mcb.js +1 -0
  237. package/dist/{chunk-0myk23dw.js → chunk-nwx5cbjc.js} +1 -1
  238. package/dist/{chunk-geyhpd32.js → chunk-ny61b4ve.js} +1 -1
  239. package/dist/{chunk-m7bwshtn.js → chunk-p7ha3t1f.js} +1 -1
  240. package/dist/{chunk-xh3gtpfd.js → chunk-pbe0n109.js} +1 -1
  241. package/dist/{chunk-n9zmzbyq.js → chunk-pc3w4gkp.js} +1 -1
  242. package/dist/{chunk-952k4ak8.js → chunk-pcwsyc9b.js} +1 -1
  243. package/dist/{chunk-v9b5r8aq.js → chunk-pj843s6s.js} +1 -1
  244. package/dist/chunk-pm5gceg0.js +1 -0
  245. package/dist/chunk-pp1gnpdp.js +298 -0
  246. package/dist/{chunk-86em0evs.js → chunk-pqq81gzv.js} +1 -1
  247. package/dist/chunk-pt1m6xh9.js +1 -0
  248. package/dist/{chunk-7pntzqpm.js → chunk-pvzfgkkq.js} +1 -1
  249. package/dist/{chunk-rv0x9fbs.js → chunk-pz4hhw24.js} +1 -1
  250. package/dist/{chunk-x0mnchxz.js → chunk-pz5xskrk.js} +1 -1
  251. package/dist/{chunk-y6vatv51.js → chunk-q0z3nkep.js} +1 -1
  252. package/dist/{chunk-kncs6js6.js → chunk-q6m1k4fq.js} +1 -1
  253. package/dist/{chunk-tv1kqdv9.js → chunk-qd2hkayk.js} +1 -1
  254. package/dist/{chunk-2kka9ex2.js → chunk-qf60gd6x.js} +1 -1
  255. package/dist/{chunk-tx71e422.js → chunk-qpwtcr53.js} +1 -1
  256. package/dist/{chunk-8nkp692y.js → chunk-qzy0w65x.js} +1 -1
  257. package/dist/{chunk-f6cbjh6q.js → chunk-r5crgj5q.js} +1 -1
  258. package/dist/{chunk-hzejh175.js → chunk-r5psjv6v.js} +1 -1
  259. package/dist/{chunk-s719ttj9.js → chunk-r9dm0gyn.js} +1 -1
  260. package/dist/{chunk-zb9wth64.js → chunk-r9qyzgns.js} +1 -1
  261. package/dist/{chunk-ty5eswjv.js → chunk-raq8eqd9.js} +1 -1
  262. package/dist/{chunk-sws9653v.js → chunk-rayth86k.js} +1 -1
  263. package/dist/{chunk-c1345z85.js → chunk-rbebjqfq.js} +1 -1
  264. package/dist/chunk-rc81vkve.js +1 -0
  265. package/dist/chunk-rg8hdkt2.js +1 -0
  266. package/dist/{chunk-1w5m9c5y.js → chunk-rqvxk3e5.js} +1 -1
  267. package/dist/{chunk-6meyz753.js → chunk-rsb82wcd.js} +1 -1
  268. package/dist/{chunk-yr04s6b7.js → chunk-rt7af3wp.js} +1 -1
  269. package/dist/chunk-rx707y69.js +1 -0
  270. package/dist/{chunk-25es8s2e.js → chunk-s22hm2jp.js} +1 -1
  271. package/dist/{chunk-qpkn7wvc.js → chunk-s2wchktz.js} +1 -1
  272. package/dist/{chunk-acceg8yk.js → chunk-s5yace4y.js} +1 -1
  273. package/dist/{chunk-yfasv01s.js → chunk-sd65hz9x.js} +1 -1
  274. package/dist/{chunk-pn04v4sv.js → chunk-sdhd2kpk.js} +1 -1
  275. package/dist/chunk-sepabvgd.js +1 -0
  276. package/dist/{chunk-4wmmjwq3.js → chunk-sk4n2anv.js} +1 -1
  277. package/dist/chunk-sq9spyfd.js +1 -0
  278. package/dist/{chunk-fs2mzcgs.js → chunk-sv97fsr8.js} +1 -1
  279. package/dist/chunk-sw6b067z.js +1 -0
  280. package/dist/chunk-t07nqvz2.js +1 -0
  281. package/dist/{chunk-j5e4dmw7.js → chunk-t4vfr2g0.js} +1 -1
  282. package/dist/{chunk-p70r0dds.js → chunk-t6x8a62a.js} +1 -1
  283. package/dist/chunk-t8djp78p.js +1 -0
  284. package/dist/{chunk-3c791dd5.js → chunk-tj729ry3.js} +1 -1
  285. package/dist/{chunk-nv58ta3s.js → chunk-tkp1zzgb.js} +1 -1
  286. package/dist/{chunk-msha9pw1.js → chunk-tq142qfa.js} +1 -1
  287. package/dist/{chunk-v3ta4qyy.js → chunk-tq7jpqr7.js} +1 -1
  288. package/dist/{chunk-3ek4pcr6.js → chunk-tqh0rjpp.js} +1 -1
  289. package/dist/{chunk-yz8sseev.js → chunk-tx117rah.js} +1 -1
  290. package/dist/{chunk-q86xqx6c.js → chunk-v3t7hcht.js} +1 -1
  291. package/dist/chunk-v5mgjgc4.js +8 -0
  292. package/dist/{chunk-v85y10pz.js → chunk-v9qb0fer.js} +1 -1
  293. package/dist/{chunk-m3zge9wv.js → chunk-vcsqkf9c.js} +1 -1
  294. package/dist/{chunk-yb2kp04v.js → chunk-vg853h8j.js} +1 -1
  295. package/dist/{chunk-ak43xwf1.js → chunk-vgeyt962.js} +1 -1
  296. package/dist/chunk-vqpam6p8.js +1 -0
  297. package/dist/chunk-vrv07424.js +1 -0
  298. package/dist/{chunk-c3b7gwkd.js → chunk-vsydmxfh.js} +1 -1
  299. package/dist/{chunk-ztpff54v.js → chunk-vwhxfs9r.js} +1 -1
  300. package/dist/{chunk-cd37w7qk.js → chunk-vy4ecvry.js} +1 -1
  301. package/dist/{chunk-n65ycayf.js → chunk-w46ermgd.js} +1 -1
  302. package/dist/{chunk-nbcah8mh.js → chunk-w5qvj179.js} +1 -1
  303. package/dist/{chunk-mfexzmw2.js → chunk-w93s735t.js} +1 -1
  304. package/dist/{chunk-g8k4dhcx.js → chunk-wb08g5z8.js} +1 -1
  305. package/dist/{chunk-vjvr9n6y.js → chunk-wb43p5km.js} +1 -1
  306. package/dist/{chunk-syme57ea.js → chunk-wb6xn1kx.js} +1 -1
  307. package/dist/{chunk-r1enj0f0.js → chunk-wbg38h5j.js} +1 -1
  308. package/dist/chunk-wcyrmfpn.js +1 -0
  309. package/dist/{chunk-7893pky5.js → chunk-wd17hcv5.js} +1 -1
  310. package/dist/{chunk-5n3h6mhr.js → chunk-wdm62dbr.js} +1 -1
  311. package/dist/{chunk-bh33p34p.js → chunk-wgamcpyt.js} +1 -1
  312. package/dist/{chunk-1a5zv67s.js → chunk-whdmep96.js} +1 -1
  313. package/dist/{chunk-0cz1ygrn.js → chunk-wkc7w10f.js} +1 -1
  314. package/dist/{chunk-51cf1nrg.js → chunk-wkf1j21b.js} +1 -1
  315. package/dist/{chunk-88191bqb.js → chunk-wm3z6khn.js} +1 -1
  316. package/dist/{chunk-z6rwg7bs.js → chunk-wqvqvv9e.js} +1 -1
  317. package/dist/{chunk-fcexqvhh.js → chunk-wvmnb75v.js} +1 -1
  318. package/dist/{chunk-4mw5szy1.js → chunk-wznpd7sd.js} +1 -1
  319. package/dist/{chunk-4vr7sc1e.js → chunk-x01t9e3q.js} +1 -1
  320. package/dist/{chunk-tvbj84md.js → chunk-x8z2fzz8.js} +1 -1
  321. package/dist/{chunk-2vtz4ypn.js → chunk-xa4apmpd.js} +1 -1
  322. package/dist/chunk-xf4jswm4.js +137 -0
  323. package/dist/{chunk-8evmvqza.js → chunk-xf7ypd1b.js} +1 -1
  324. package/dist/{chunk-t8w9hqaa.js → chunk-xhjrdhgk.js} +1 -1
  325. package/dist/{chunk-ek58k066.js → chunk-xjgnj3p0.js} +1 -1
  326. package/dist/{chunk-8tg10bhe.js → chunk-xjwkmvfz.js} +1 -1
  327. package/dist/{chunk-azxn0zvz.js → chunk-xkc2ktrh.js} +1 -1
  328. package/dist/{chunk-2gr7rdv0.js → chunk-xm9015v4.js} +1 -1
  329. package/dist/chunk-xnx0j1hw.js +1 -0
  330. package/dist/{chunk-b4fn3tre.js → chunk-y0e2ymas.js} +1 -1
  331. package/dist/{chunk-ak2n1ckf.js → chunk-y3c3xgca.js} +1 -1
  332. package/dist/{chunk-htgt048s.js → chunk-y6mvs6yw.js} +1 -1
  333. package/dist/{chunk-4z0wk36t.js → chunk-y6z502pz.js} +1 -1
  334. package/dist/{chunk-g0fa5dyc.js → chunk-ya599ak5.js} +2 -2
  335. package/dist/{chunk-p3p6a3ht.js → chunk-ycthcn27.js} +1 -1
  336. package/dist/{chunk-t32zj7ah.js → chunk-ydc7pd3b.js} +1 -1
  337. package/dist/{chunk-21w7a0t2.js → chunk-ydkkycp3.js} +2 -2
  338. package/dist/{chunk-stp38gza.js → chunk-yhxvqyz4.js} +1 -1
  339. package/dist/{chunk-k1kzp019.js → chunk-ymmavdfp.js} +2 -2
  340. package/dist/{chunk-cwvb8zr5.js → chunk-ynnaxz2z.js} +1 -1
  341. package/dist/{chunk-hgpmrbsr.js → chunk-ywa5z7d9.js} +1 -1
  342. package/dist/{chunk-mp6yhf6a.js → chunk-ywbbf9eh.js} +1 -1
  343. package/dist/{chunk-p46at2ts.js → chunk-yzk3bfzn.js} +1 -1
  344. package/dist/{chunk-5vzt6z7d.js → chunk-z0wdan61.js} +1 -1
  345. package/dist/{chunk-6r7b9pg1.js → chunk-z5z774pp.js} +1 -1
  346. package/dist/{chunk-sd6qvm4t.js → chunk-z88rcc8t.js} +1 -1
  347. package/dist/{chunk-t5z5e89a.js → chunk-zh77yp9z.js} +1 -1
  348. package/dist/{chunk-yx4mdqvf.js → chunk-zjemnf8v.js} +1 -1
  349. package/dist/{chunk-c5d87fzk.js → chunk-zmsq5xc7.js} +1 -1
  350. package/dist/{chunk-3b8bw2gg.js → chunk-zqxrtejz.js} +1 -1
  351. package/dist/{chunk-04kzaj7h.js → chunk-zssv316b.js} +46 -46
  352. package/dist/{chunk-91rrbsk7.js → chunk-zytr7a4n.js} +1 -1
  353. package/dist/cli.js +1 -1
  354. package/dist/nonInteractive.js +1 -1
  355. package/dist/zen-keyboard.js +1 -1
  356. package/package.json +2 -1
  357. package/dist/chunk-0bpvpy2e.js +0 -1
  358. package/dist/chunk-0gb5n1jp.js +0 -1
  359. package/dist/chunk-13f0qh77.js +0 -1
  360. package/dist/chunk-17zj2hd5.js +0 -1
  361. package/dist/chunk-2m3g6fah.js +0 -1
  362. package/dist/chunk-40fxbk0k.js +0 -1
  363. package/dist/chunk-4pa2a33z.js +0 -1
  364. package/dist/chunk-6ezeq351.js +0 -1
  365. package/dist/chunk-6hbnk94n.js +0 -1
  366. package/dist/chunk-80jab8dy.js +0 -1
  367. package/dist/chunk-9c0wnb5t.js +0 -1
  368. package/dist/chunk-9dn65rqp.js +0 -1
  369. package/dist/chunk-bfm294j1.js +0 -1
  370. package/dist/chunk-cegx2zze.js +0 -1
  371. package/dist/chunk-crjf70s3.js +0 -1
  372. package/dist/chunk-d08qq3wd.js +0 -1
  373. package/dist/chunk-d9xgby9w.js +0 -1
  374. package/dist/chunk-e2vdc3vs.js +0 -1
  375. package/dist/chunk-g1yt0qc9.js +0 -1
  376. package/dist/chunk-gphyz2x3.js +0 -1
  377. package/dist/chunk-jh6wwc9v.js +0 -1
  378. package/dist/chunk-jhjbxj1k.js +0 -1
  379. package/dist/chunk-jhwm3phf.js +0 -1
  380. package/dist/chunk-k97swe5s.js +0 -1
  381. package/dist/chunk-ksy4d0za.js +0 -1
  382. package/dist/chunk-mr7em8w4.js +0 -1
  383. package/dist/chunk-mrkf2b3t.js +0 -434
  384. package/dist/chunk-ncs4rnsn.js +0 -1
  385. package/dist/chunk-r0gjpz5m.js +0 -1
  386. package/dist/chunk-rvxb17kx.js +0 -1
  387. package/dist/chunk-s6xjfvvd.js +0 -1
  388. package/dist/chunk-shc3fcge.js +0 -1
  389. package/dist/chunk-ss233wsa.js +0 -1
  390. package/dist/chunk-t97kks4j.js +0 -1
  391. package/dist/chunk-ts98e90r.js +0 -1
  392. package/dist/chunk-vgvekk29.js +0 -1
  393. package/dist/chunk-x7g4cwft.js +0 -1
  394. package/dist/chunk-yctck6wf.js +0 -1
  395. package/dist/chunk-zqx4fcfe.js +0 -2
@@ -1 +1 @@
1
- import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"displayName":"Sass","fileTypes":["sass"],"foldingStartMarker":"/\\\\*|^#|^\\\\*|^\\\\b|\\\\*#?region|^\\\\.","foldingStopMarker":"\\\\*/|\\\\*#?endregion|^\\\\s*$","name":"sass","patterns":[{"begin":"^(\\\\s*)(/\\\\*)","end":"(\\\\*/)|^(?!\\\\s\\\\1)","name":"comment.block.sass","patterns":[{"include":"#comment-tag"},{"include":"#comment-param"}]},{"match":"^[\\\\t ]*/?//[\\\\t ]*[IRS][\\\\t ]*$","name":"keyword.other.sass.formatter.action"},{"begin":"^[\\\\t ]*//[\\\\t ]*(import)[\\\\t ]*(css-variables)[\\\\t ]*(from)","captures":{"1":{"name":"keyword.control"},"2":{"name":"variable"},"3":{"name":"keyword.control"}},"end":"$\\\\n?","name":"comment.import.css.variables","patterns":[{"include":"#import-quotes"}]},{"include":"#double-slash"},{"include":"#double-quoted"},{"include":"#single-quoted"},{"include":"#interpolation"},{"include":"#curly-brackets"},{"include":"#placeholder-selector"},{"begin":"\\\\$[-0-9A-Z_a-z]+(?=:)","captures":{"0":{"name":"variable.other.name"}},"end":"$\\\\n?|(?=\\\\)(?:\\\\s\\\\)|\\\\n))","name":"sass.script.maps","patterns":[{"include":"#double-slash"},{"include":"#double-quoted"},{"include":"#single-quoted"},{"include":"#interpolation"},{"include":"#variable"},{"include":"#rgb-value"},{"include":"#numeric"},{"include":"#unit"},{"include":"#flag"},{"include":"#comma"},{"include":"#function"},{"include":"#function-content"},{"include":"#operator"},{"include":"#reserved-words"},{"include":"#parent-selector"},{"include":"#property-value"},{"include":"#semicolon"},{"include":"#dotdotdot"}]},{"include":"#variable-root"},{"include":"#numeric"},{"include":"#unit"},{"include":"#flag"},{"include":"#comma"},{"include":"#semicolon"},{"include":"#dotdotdot"},{"begin":"@include|\\\\+(?![\\\\W\\\\d])","captures":{"0":{"name":"keyword.control.at-rule.css.sass"}},"end":"(?=[\\\\n(])","name":"support.function.name.sass.library"},{"begin":"^(@use)","captures":{"0":{"name":"keyword.control.at-rule.css.sass.use"}},"end":"(?=\\\\n)","name":"sass.use","patterns":[{"match":"as|with","name":"support.type.css.sass"},{"include":"#numeric"},{"include":"#unit"},{"include":"#variable-root"},{"include":"#rgb-value"},{"include":"#comma"},{"include":"#parenthesis-open"},{"include":"#parenthesis-close"},{"include":"#colon"},{"include":"#import-quotes"}]},{"begin":"^@import(.*?)( as.*)?$","captures":{"1":{"name":"constant.character.css.sass"},"2":{"name":"invalid"}},"end":"(?=\\\\n)","name":"keyword.control.at-rule.use"},{"begin":"@mixin|^[\\\\t ]*=|@function","captures":{"0":{"name":"keyword.control.at-rule.css.sass"}},"end":"$\\\\n?|(?=\\\\()","name":"support.function.name.sass","patterns":[{"match":"[-\\\\w]+","name":"entity.name.function"}]},{"begin":"@","end":"$\\\\n?|\\\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)([,\\\\s]))","name":"keyword.control.at-rule.css.sass"},{"begin":"(?<![-(])\\\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|slot)\\\\b(?![-)]|:\\\\s)|&","end":"$\\\\n?|(?=[-#(),.>\\\\[_\\\\s])","name":"entity.name.tag.css.sass.symbol","patterns":[{"include":"#interpolation"},{"include":"#pseudo-class"}]},{"begin":"#","end":"$\\\\n?|(?=[(),.>\\\\[\\\\s])","name":"entity.other.attribute-name.id.css.sass","patterns":[{"include":"#interpolation"},{"include":"#pseudo-class"}]},{"begin":"\\\\.|(?<=&)([-_])","end":"$\\\\n?|(?=[(),>\\\\[\\\\s])","name":"entity.other.attribute-name.class.css.sass","patterns":[{"include":"#interpolation"},{"include":"#pseudo-class"}]},{"begin":"\\\\[","end":"]","name":"entity.other.attribute-selector.sass","patterns":[{"include":"#double-quoted"},{"include":"#single-quoted"},{"match":"[$*^~]","name":"keyword.other.regex.sass"}]},{"match":"^((?<=[])]|not\\\\(|[*>]|>\\\\s)|\\\\n*):[-:a-z]+|(:[-:])[-:a-z]+","name":"entity.other.attribute-name.pseudo-class.css.sass"},{"include":"#module"},{"match":"[-\\\\w]*\\\\(","name":"entity.name.function"},{"match":"\\\\)","name":"entity.name.function.close"},{"begin":":","end":"$\\\\n?|(?=\\\\s\\\\(|and\\\\(|\\\\),)","name":"meta.property-list.css.sass.prop","patterns":[{"match":"(?<=:)[-a-z]+\\\\s","name":"support.type.property-name.css.sass.prop.name"},{"include":"#double-slash"},{"include":"#double-quoted"},{"include":"#single-quoted"},{"include":"#interpolation"},{"include":"#curly-brackets"},{"include":"#variable"},{"include":"#rgb-value"},{"include":"#numeric"},{"include":"#unit"},{"include":"#module"},{"match":"--.+?(?=\\\\))","name":"variable.css"},{"match":"[-\\\\w]*\\\\(","name":"entity.name.function"},{"match":"\\\\)","name":"entity.name.function.close"},{"include":"#flag"},{"include":"#comma"},{"include":"#semicolon"},{"include":"#function"},{"include":"#function-content"},{"include":"#operator"},{"include":"#parent-selector"},{"include":"#property-value"}]},{"include":"#rgb-value"},{"include":"#function"},{"include":"#function-content"},{"begin":"(?<=})(?![\\\\n()]|[-0-9A-Z_a-z]+:)","end":"\\\\s|(?=[\\\\n),.\\\\[])","name":"entity.name.tag.css.sass","patterns":[{"include":"#interpolation"},{"include":"#pseudo-class"}]},{"include":"#operator"},{"match":"[-a-z]+((?=:|#\\\\{))","name":"support.type.property-name.css.sass.prop.name"},{"include":"#reserved-words"},{"include":"#property-value"}],"repository":{"colon":{"match":":","name":"meta.property-list.css.sass.colon"},"comma":{"match":"\\\\band\\\\b|\\\\bor\\\\b|,","name":"comment.punctuation.comma.sass"},"comment-param":{"match":"@(\\\\w+)","name":"storage.type.class.jsdoc"},"comment-tag":{"begin":"(?<=\\\\{\\\\{)","end":"(?=}})","name":"comment.tag.sass"},"curly-brackets":{"match":"[{}]","name":"invalid"},"dotdotdot":{"match":"\\\\.\\\\.\\\\.","name":"variable.other"},"double-quoted":{"begin":"\\"","end":"\\"","name":"string.quoted.double.css.sass","patterns":[{"include":"#quoted-interpolation"}]},"double-slash":{"begin":"//","end":"$\\\\n?","name":"comment.line.sass","patterns":[{"include":"#comment-tag"}]},"flag":{"match":"!(important|default|optional|global)","name":"keyword.other.important.css.sass"},"function":{"match":"(?<=[(,:|\\\\s])(?!url|format|attr)[-0-9A-Z_a-z][-\\\\w]*(?=\\\\()","name":"support.function.name.sass"},"function-content":{"begin":"(?<=url\\\\(|format\\\\(|attr\\\\()","end":".(?=\\\\))","name":"string.quoted.double.css.sass"},"import-quotes":{"match":"[\\"\']?\\\\.{0,2}[/\\\\w]+[\\"\']?","name":"constant.character.css.sass"},"interpolation":{"begin":"#\\\\{","end":"}","name":"support.function.interpolation.sass","patterns":[{"include":"#variable"},{"include":"#numeric"},{"include":"#operator"},{"include":"#unit"},{"include":"#comma"},{"include":"#double-quoted"},{"include":"#single-quoted"}]},"module":{"captures":{"1":{"name":"constant.character.module.name"},"2":{"name":"constant.numeric.module.dot"}},"match":"([-\\\\w]+?)(\\\\.)","name":"constant.character.module"},"numeric":{"match":"([-.])?[0-9]+(\\\\.[0-9]+)?","name":"constant.numeric.css.sass"},"operator":{"match":"\\\\+|\\\\s-\\\\s|\\\\s-(?=\\\\$)|(?<=\\\\()-(?=\\\\$)|\\\\s-(?=\\\\()|[!%*/<=>~]","name":"keyword.operator.sass"},"parent-selector":{"match":"&","name":"entity.name.tag.css.sass"},"parenthesis-close":{"match":"\\\\)","name":"entity.name.function.parenthesis.close"},"parenthesis-open":{"match":"\\\\(","name":"entity.name.function.parenthesis.open"},"placeholder-selector":{"begin":"(?<!\\\\d)%(?!\\\\d)","end":"$\\\\n?|\\\\s","name":"entity.other.inherited-class.placeholder-selector.css.sass"},"property-value":{"match":"[-0-9A-Z_a-z]+","name":"meta.property-value.css.sass support.constant.property-value.css.sass"},"pseudo-class":{"match":":[-:a-z]+","name":"entity.other.attribute-name.pseudo-class.css.sass"},"quoted-interpolation":{"begin":"#\\\\{","end":"}","name":"support.function.interpolation.sass","patterns":[{"include":"#variable"},{"include":"#numeric"},{"include":"#operator"},{"include":"#unit"},{"include":"#comma"}]},"reserved-words":{"match":"\\\\b(false|from|in|not|null|through|to|true)\\\\b","name":"support.type.property-name.css.sass"},"rgb-value":{"match":"(#)(\\\\h{3,4}|\\\\h{6}|\\\\h{8})\\\\b","name":"constant.language.color.rgb-value.css.sass"},"semicolon":{"match":";","name":"invalid"},"single-quoted":{"begin":"\'","end":"\'","name":"string.quoted.single.css.sass","patterns":[{"include":"#quoted-interpolation"}]},"unit":{"match":"(?<=[}\\\\d])(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|fr|%)","name":"keyword.control.unit.css.sass"},"variable":{"match":"\\\\$[-0-9A-Z_a-z]+","name":"variable.other.value"},"variable-root":{"match":"\\\\$[-0-9A-Z_a-z]+","name":"variable.other.root"}},"scopeName":"source.sass"}')),n=[e];export{n as default};
1
+ import"./chunk-nr26055z.js";var e=Object.freeze(JSON.parse('{"displayName":"Sass","fileTypes":["sass"],"foldingStartMarker":"/\\\\*|^#|^\\\\*|^\\\\b|\\\\*#?region|^\\\\.","foldingStopMarker":"\\\\*/|\\\\*#?endregion|^\\\\s*$","name":"sass","patterns":[{"begin":"^(\\\\s*)(/\\\\*)","end":"(\\\\*/)|^(?!\\\\s\\\\1)","name":"comment.block.sass","patterns":[{"include":"#comment-tag"},{"include":"#comment-param"}]},{"match":"^[\\\\t ]*/?//[\\\\t ]*[IRS][\\\\t ]*$","name":"keyword.other.sass.formatter.action"},{"begin":"^[\\\\t ]*//[\\\\t ]*(import)[\\\\t ]*(css-variables)[\\\\t ]*(from)","captures":{"1":{"name":"keyword.control"},"2":{"name":"variable"},"3":{"name":"keyword.control"}},"end":"$\\\\n?","name":"comment.import.css.variables","patterns":[{"include":"#import-quotes"}]},{"include":"#double-slash"},{"include":"#double-quoted"},{"include":"#single-quoted"},{"include":"#interpolation"},{"include":"#curly-brackets"},{"include":"#placeholder-selector"},{"begin":"\\\\$[-0-9A-Z_a-z]+(?=:)","captures":{"0":{"name":"variable.other.name"}},"end":"$\\\\n?|(?=\\\\)(?:\\\\s\\\\)|\\\\n))","name":"sass.script.maps","patterns":[{"include":"#double-slash"},{"include":"#double-quoted"},{"include":"#single-quoted"},{"include":"#interpolation"},{"include":"#variable"},{"include":"#rgb-value"},{"include":"#numeric"},{"include":"#unit"},{"include":"#flag"},{"include":"#comma"},{"include":"#function"},{"include":"#function-content"},{"include":"#operator"},{"include":"#reserved-words"},{"include":"#parent-selector"},{"include":"#property-value"},{"include":"#semicolon"},{"include":"#dotdotdot"}]},{"include":"#variable-root"},{"include":"#numeric"},{"include":"#unit"},{"include":"#flag"},{"include":"#comma"},{"include":"#semicolon"},{"include":"#dotdotdot"},{"begin":"@include|\\\\+(?![\\\\W\\\\d])","captures":{"0":{"name":"keyword.control.at-rule.css.sass"}},"end":"(?=[\\\\n(])","name":"support.function.name.sass.library"},{"begin":"^(@use)","captures":{"0":{"name":"keyword.control.at-rule.css.sass.use"}},"end":"(?=\\\\n)","name":"sass.use","patterns":[{"match":"as|with","name":"support.type.css.sass"},{"include":"#numeric"},{"include":"#unit"},{"include":"#variable-root"},{"include":"#rgb-value"},{"include":"#comma"},{"include":"#parenthesis-open"},{"include":"#parenthesis-close"},{"include":"#colon"},{"include":"#import-quotes"}]},{"begin":"^@import(.*?)( as.*)?$","captures":{"1":{"name":"constant.character.css.sass"},"2":{"name":"invalid"}},"end":"(?=\\\\n)","name":"keyword.control.at-rule.use"},{"begin":"@mixin|^[\\\\t ]*=|@function","captures":{"0":{"name":"keyword.control.at-rule.css.sass"}},"end":"$\\\\n?|(?=\\\\()","name":"support.function.name.sass","patterns":[{"match":"[-\\\\w]+","name":"entity.name.function"}]},{"begin":"@","end":"$\\\\n?|\\\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)([,\\\\s]))","name":"keyword.control.at-rule.css.sass"},{"begin":"(?<![-(])\\\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|slot)\\\\b(?![-)]|:\\\\s)|&","end":"$\\\\n?|(?=[-#(),.>\\\\[_\\\\s])","name":"entity.name.tag.css.sass.symbol","patterns":[{"include":"#interpolation"},{"include":"#pseudo-class"}]},{"begin":"#","end":"$\\\\n?|(?=[(),.>\\\\[\\\\s])","name":"entity.other.attribute-name.id.css.sass","patterns":[{"include":"#interpolation"},{"include":"#pseudo-class"}]},{"begin":"\\\\.|(?<=&)([-_])","end":"$\\\\n?|(?=[(),>\\\\[\\\\s])","name":"entity.other.attribute-name.class.css.sass","patterns":[{"include":"#interpolation"},{"include":"#pseudo-class"}]},{"begin":"\\\\[","end":"]","name":"entity.other.attribute-selector.sass","patterns":[{"include":"#double-quoted"},{"include":"#single-quoted"},{"match":"[$*^~]","name":"keyword.other.regex.sass"}]},{"match":"^((?<=[])]|not\\\\(|[*>]|>\\\\s)|\\\\n*):[-:a-z]+|(:[-:])[-:a-z]+","name":"entity.other.attribute-name.pseudo-class.css.sass"},{"include":"#module"},{"match":"[-\\\\w]*\\\\(","name":"entity.name.function"},{"match":"\\\\)","name":"entity.name.function.close"},{"begin":":","end":"$\\\\n?|(?=\\\\s\\\\(|and\\\\(|\\\\),)","name":"meta.property-list.css.sass.prop","patterns":[{"match":"(?<=:)[-a-z]+\\\\s","name":"support.type.property-name.css.sass.prop.name"},{"include":"#double-slash"},{"include":"#double-quoted"},{"include":"#single-quoted"},{"include":"#interpolation"},{"include":"#curly-brackets"},{"include":"#variable"},{"include":"#rgb-value"},{"include":"#numeric"},{"include":"#unit"},{"include":"#module"},{"match":"--.+?(?=\\\\))","name":"variable.css"},{"match":"[-\\\\w]*\\\\(","name":"entity.name.function"},{"match":"\\\\)","name":"entity.name.function.close"},{"include":"#flag"},{"include":"#comma"},{"include":"#semicolon"},{"include":"#function"},{"include":"#function-content"},{"include":"#operator"},{"include":"#parent-selector"},{"include":"#property-value"}]},{"include":"#rgb-value"},{"include":"#function"},{"include":"#function-content"},{"begin":"(?<=})(?![\\\\n()]|[-0-9A-Z_a-z]+:)","end":"\\\\s|(?=[\\\\n),.\\\\[])","name":"entity.name.tag.css.sass","patterns":[{"include":"#interpolation"},{"include":"#pseudo-class"}]},{"include":"#operator"},{"match":"[-a-z]+((?=:|#\\\\{))","name":"support.type.property-name.css.sass.prop.name"},{"include":"#reserved-words"},{"include":"#property-value"}],"repository":{"colon":{"match":":","name":"meta.property-list.css.sass.colon"},"comma":{"match":"\\\\band\\\\b|\\\\bor\\\\b|,","name":"comment.punctuation.comma.sass"},"comment-param":{"match":"@(\\\\w+)","name":"storage.type.class.jsdoc"},"comment-tag":{"begin":"(?<=\\\\{\\\\{)","end":"(?=}})","name":"comment.tag.sass"},"curly-brackets":{"match":"[{}]","name":"invalid"},"dotdotdot":{"match":"\\\\.\\\\.\\\\.","name":"variable.other"},"double-quoted":{"begin":"\\"","end":"\\"","name":"string.quoted.double.css.sass","patterns":[{"include":"#quoted-interpolation"}]},"double-slash":{"begin":"//","end":"$\\\\n?","name":"comment.line.sass","patterns":[{"include":"#comment-tag"}]},"flag":{"match":"!(important|default|optional|global)","name":"keyword.other.important.css.sass"},"function":{"match":"(?<=[(,:|\\\\s])(?!url|format|attr)[-0-9A-Z_a-z][-\\\\w]*(?=\\\\()","name":"support.function.name.sass"},"function-content":{"begin":"(?<=url\\\\(|format\\\\(|attr\\\\()","end":".(?=\\\\))","name":"string.quoted.double.css.sass"},"import-quotes":{"match":"[\\"\']?\\\\.{0,2}[/\\\\w]+[\\"\']?","name":"constant.character.css.sass"},"interpolation":{"begin":"#\\\\{","end":"}","name":"support.function.interpolation.sass","patterns":[{"include":"#variable"},{"include":"#numeric"},{"include":"#operator"},{"include":"#unit"},{"include":"#comma"},{"include":"#double-quoted"},{"include":"#single-quoted"}]},"module":{"captures":{"1":{"name":"constant.character.module.name"},"2":{"name":"constant.numeric.module.dot"}},"match":"([-\\\\w]+?)(\\\\.)","name":"constant.character.module"},"numeric":{"match":"([-.])?[0-9]+(\\\\.[0-9]+)?","name":"constant.numeric.css.sass"},"operator":{"match":"\\\\+|\\\\s-\\\\s|\\\\s-(?=\\\\$)|(?<=\\\\()-(?=\\\\$)|\\\\s-(?=\\\\()|[!%*/<=>~]","name":"keyword.operator.sass"},"parent-selector":{"match":"&","name":"entity.name.tag.css.sass"},"parenthesis-close":{"match":"\\\\)","name":"entity.name.function.parenthesis.close"},"parenthesis-open":{"match":"\\\\(","name":"entity.name.function.parenthesis.open"},"placeholder-selector":{"begin":"(?<!\\\\d)%(?!\\\\d)","end":"$\\\\n?|\\\\s","name":"entity.other.inherited-class.placeholder-selector.css.sass"},"property-value":{"match":"[-0-9A-Z_a-z]+","name":"meta.property-value.css.sass support.constant.property-value.css.sass"},"pseudo-class":{"match":":[-:a-z]+","name":"entity.other.attribute-name.pseudo-class.css.sass"},"quoted-interpolation":{"begin":"#\\\\{","end":"}","name":"support.function.interpolation.sass","patterns":[{"include":"#variable"},{"include":"#numeric"},{"include":"#operator"},{"include":"#unit"},{"include":"#comma"}]},"reserved-words":{"match":"\\\\b(false|from|in|not|null|through|to|true)\\\\b","name":"support.type.property-name.css.sass"},"rgb-value":{"match":"(#)(\\\\h{3,4}|\\\\h{6}|\\\\h{8})\\\\b","name":"constant.language.color.rgb-value.css.sass"},"semicolon":{"match":";","name":"invalid"},"single-quoted":{"begin":"\'","end":"\'","name":"string.quoted.single.css.sass","patterns":[{"include":"#quoted-interpolation"}]},"unit":{"match":"(?<=[}\\\\d])(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|fr|%)","name":"keyword.control.unit.css.sass"},"variable":{"match":"\\\\$[-0-9A-Z_a-z]+","name":"variable.other.value"},"variable-root":{"match":"\\\\$[-0-9A-Z_a-z]+","name":"variable.other.root"}},"scopeName":"source.sass"}')),n=[e];export{n as default};
@@ -1 +1 @@
1
- import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"displayName":"Fluent","name":"fluent","patterns":[{"include":"#comment"},{"include":"#message"},{"include":"#wrong-line"}],"repository":{"attributes":{"begin":"\\\\s*(\\\\.[A-Za-z][-0-9A-Z_a-z]*\\\\s*=\\\\s*)","beginCaptures":{"1":{"name":"support.class.attribute-begin.fluent"}},"end":"^(?=\\\\s*[^.])","patterns":[{"include":"#placeable"}]},"comment":{"match":"^##?#?\\\\s.*$","name":"comment.fluent"},"function-comma":{"match":",","name":"support.function.function-comma.fluent"},"function-named-argument":{"begin":"([0-9A-Za-z]+:)\\\\s*([\\"0-9A-Za-z]+)","beginCaptures":{"1":{"name":"support.function.named-argument.name.fluent"},"2":{"name":"variable.other.named-argument.value.fluent"}},"end":"(?=[),\\\\s])","name":"variable.other.named-argument.fluent"},"function-positional-argument":{"match":"\\\\$[-0-9A-Z_a-z]+","name":"variable.other.function.positional-argument.fluent"},"invalid-placeable-string-missing-end-quote":{"match":"\\"[^\\"]+$","name":"invalid.illegal.wrong-placeable-missing-end-quote.fluent"},"invalid-placeable-wrong-placeable-missing-end":{"match":"([^A-Z}]*|[^-][^>])$\\\\b","name":"invalid.illegal.wrong-placeable-missing-end.fluent"},"message":{"begin":"^(-?[A-Za-z][-0-9A-Z_a-z]*\\\\s*=\\\\s*)","beginCaptures":{"1":{"name":"support.class.message-identifier.fluent"}},"contentName":"string.fluent","end":"^(?=\\\\S)","patterns":[{"include":"#attributes"},{"include":"#placeable"}]},"placeable":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"keyword.placeable.begin.fluent"}},"contentName":"variable.other.placeable.content.fluent","end":"(})","endCaptures":{"1":{"name":"keyword.placeable.end.fluent"}},"patterns":[{"include":"#placeable-string"},{"include":"#placeable-function"},{"include":"#placeable-reference-or-number"},{"include":"#selector"},{"include":"#invalid-placeable-wrong-placeable-missing-end"},{"include":"#invalid-placeable-string-missing-end-quote"},{"include":"#invalid-placeable-wrong-function-name"}]},"placeable-function":{"begin":"([A-Z][-0-9A-Z_]*\\\\()","beginCaptures":{"1":{"name":"support.function.placeable-function.call.begin.fluent"}},"contentName":"string.placeable-function.fluent","end":"(\\\\))","endCaptures":{"1":{"name":"support.function.placeable-function.call.end.fluent"}},"patterns":[{"include":"#function-comma"},{"include":"#function-positional-argument"},{"include":"#function-named-argument"}]},"placeable-reference-or-number":{"match":"(([-$])[-0-9A-Z_a-z]+|[A-Za-z][-0-9A-Z_a-z]*|[0-9]+)","name":"variable.other.placeable.reference-or-number.fluent"},"placeable-string":{"begin":"(\\")(?=[^\\\\n]*\\")","beginCaptures":{"1":{"name":"variable.other.placeable-string-begin.fluent"}},"contentName":"string.placeable-string-content.fluent","end":"(\\")","endCaptures":{"1":{"name":"variable.other.placeable-string-end.fluent"}}},"selector":{"begin":"(->)","beginCaptures":{"1":{"name":"support.function.selector.begin.fluent"}},"contentName":"string.selector.content.fluent","end":"^(?=\\\\s*})","patterns":[{"include":"#selector-item"}]},"selector-item":{"begin":"(\\\\s*\\\\*?\\\\[)([-0-9A-Z_a-z]+)(]\\\\s*)","beginCaptures":{"1":{"name":"support.function.selector-item.begin.fluent"},"2":{"name":"variable.other.selector-item.begin.fluent"},"3":{"name":"support.function.selector-item.begin.fluent"}},"contentName":"string.selector-item.content.fluent","end":"^(?=(\\\\s*})|(\\\\s*\\\\[)|(\\\\s*\\\\*))","patterns":[{"include":"#placeable"}]},"wrong-line":{"match":".*","name":"invalid.illegal.wrong-line.fluent"}},"scopeName":"source.ftl","aliases":["ftl"]}')),n=[e];export{n as default};
1
+ import"./chunk-nr26055z.js";var e=Object.freeze(JSON.parse('{"displayName":"Fluent","name":"fluent","patterns":[{"include":"#comment"},{"include":"#message"},{"include":"#wrong-line"}],"repository":{"attributes":{"begin":"\\\\s*(\\\\.[A-Za-z][-0-9A-Z_a-z]*\\\\s*=\\\\s*)","beginCaptures":{"1":{"name":"support.class.attribute-begin.fluent"}},"end":"^(?=\\\\s*[^.])","patterns":[{"include":"#placeable"}]},"comment":{"match":"^##?#?\\\\s.*$","name":"comment.fluent"},"function-comma":{"match":",","name":"support.function.function-comma.fluent"},"function-named-argument":{"begin":"([0-9A-Za-z]+:)\\\\s*([\\"0-9A-Za-z]+)","beginCaptures":{"1":{"name":"support.function.named-argument.name.fluent"},"2":{"name":"variable.other.named-argument.value.fluent"}},"end":"(?=[),\\\\s])","name":"variable.other.named-argument.fluent"},"function-positional-argument":{"match":"\\\\$[-0-9A-Z_a-z]+","name":"variable.other.function.positional-argument.fluent"},"invalid-placeable-string-missing-end-quote":{"match":"\\"[^\\"]+$","name":"invalid.illegal.wrong-placeable-missing-end-quote.fluent"},"invalid-placeable-wrong-placeable-missing-end":{"match":"([^A-Z}]*|[^-][^>])$\\\\b","name":"invalid.illegal.wrong-placeable-missing-end.fluent"},"message":{"begin":"^(-?[A-Za-z][-0-9A-Z_a-z]*\\\\s*=\\\\s*)","beginCaptures":{"1":{"name":"support.class.message-identifier.fluent"}},"contentName":"string.fluent","end":"^(?=\\\\S)","patterns":[{"include":"#attributes"},{"include":"#placeable"}]},"placeable":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"keyword.placeable.begin.fluent"}},"contentName":"variable.other.placeable.content.fluent","end":"(})","endCaptures":{"1":{"name":"keyword.placeable.end.fluent"}},"patterns":[{"include":"#placeable-string"},{"include":"#placeable-function"},{"include":"#placeable-reference-or-number"},{"include":"#selector"},{"include":"#invalid-placeable-wrong-placeable-missing-end"},{"include":"#invalid-placeable-string-missing-end-quote"},{"include":"#invalid-placeable-wrong-function-name"}]},"placeable-function":{"begin":"([A-Z][-0-9A-Z_]*\\\\()","beginCaptures":{"1":{"name":"support.function.placeable-function.call.begin.fluent"}},"contentName":"string.placeable-function.fluent","end":"(\\\\))","endCaptures":{"1":{"name":"support.function.placeable-function.call.end.fluent"}},"patterns":[{"include":"#function-comma"},{"include":"#function-positional-argument"},{"include":"#function-named-argument"}]},"placeable-reference-or-number":{"match":"(([-$])[-0-9A-Z_a-z]+|[A-Za-z][-0-9A-Z_a-z]*|[0-9]+)","name":"variable.other.placeable.reference-or-number.fluent"},"placeable-string":{"begin":"(\\")(?=[^\\\\n]*\\")","beginCaptures":{"1":{"name":"variable.other.placeable-string-begin.fluent"}},"contentName":"string.placeable-string-content.fluent","end":"(\\")","endCaptures":{"1":{"name":"variable.other.placeable-string-end.fluent"}}},"selector":{"begin":"(->)","beginCaptures":{"1":{"name":"support.function.selector.begin.fluent"}},"contentName":"string.selector.content.fluent","end":"^(?=\\\\s*})","patterns":[{"include":"#selector-item"}]},"selector-item":{"begin":"(\\\\s*\\\\*?\\\\[)([-0-9A-Z_a-z]+)(]\\\\s*)","beginCaptures":{"1":{"name":"support.function.selector-item.begin.fluent"},"2":{"name":"variable.other.selector-item.begin.fluent"},"3":{"name":"support.function.selector-item.begin.fluent"}},"contentName":"string.selector-item.content.fluent","end":"^(?=(\\\\s*})|(\\\\s*\\\\[)|(\\\\s*\\\\*))","patterns":[{"include":"#placeable"}]},"wrong-line":{"match":".*","name":"invalid.illegal.wrong-line.fluent"}},"scopeName":"source.ftl","aliases":["ftl"]}')),n=[e];export{n as default};
@@ -1 +1 @@
1
- import"./chunk-feptb1bb.js";var n=Object.freeze(JSON.parse('{"displayName":"JSSM","fileTypes":["jssm","jssm_state"],"name":"jssm","patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.mn"}},"end":"\\\\*/","name":"comment.block.jssm"},{"begin":"//","end":"$","name":"comment.line.jssm"},{"begin":"\\\\$\\\\{","captures":{"0":{"name":"entity.name.function"}},"end":"}","name":"keyword.other"},{"match":"([0-9]*)(\\\\.)([0-9]*)(\\\\.)([0-9]*)","name":"constant.numeric"},{"match":"graph_layout(\\\\s*)(:)","name":"constant.language.jssmLanguage"},{"match":"machine_name(\\\\s*)(:)","name":"constant.language.jssmLanguage"},{"match":"machine_version(\\\\s*)(:)","name":"constant.language.jssmLanguage"},{"match":"jssm_version(\\\\s*)(:)","name":"constant.language.jssmLanguage"},{"match":"<->","name":"keyword.control.transition.jssmArrow.legal_legal"},{"match":"<-","name":"keyword.control.transition.jssmArrow.legal_none"},{"match":"->","name":"keyword.control.transition.jssmArrow.none_legal"},{"match":"<=>","name":"keyword.control.transition.jssmArrow.main_main"},{"match":"=>","name":"keyword.control.transition.jssmArrow.none_main"},{"match":"<=","name":"keyword.control.transition.jssmArrow.main_none"},{"match":"<~>","name":"keyword.control.transition.jssmArrow.forced_forced"},{"match":"~>","name":"keyword.control.transition.jssmArrow.none_forced"},{"match":"<~","name":"keyword.control.transition.jssmArrow.forced_none"},{"match":"<-=>","name":"keyword.control.transition.jssmArrow.legal_main"},{"match":"<=->","name":"keyword.control.transition.jssmArrow.main_legal"},{"match":"<-~>","name":"keyword.control.transition.jssmArrow.legal_forced"},{"match":"<~->","name":"keyword.control.transition.jssmArrow.forced_legal"},{"match":"<=~>","name":"keyword.control.transition.jssmArrow.main_forced"},{"match":"<~=>","name":"keyword.control.transition.jssmArrow.forced_main"},{"match":"([0-9]+)%","name":"constant.numeric.jssmProbability"},{"match":"\'[^\']*\'","name":"constant.character.jssmAction"},{"match":"\\"[^\\"]*\\"","name":"entity.name.tag.jssmLabel.doublequoted"},{"match":"([!#\\\\&()+,.0-9?-Z_a-z])","name":"entity.name.tag.jssmLabel.atom"}],"scopeName":"source.jssm","aliases":["fsl"]}')),a=[n];export{a as default};
1
+ import"./chunk-nr26055z.js";var n=Object.freeze(JSON.parse('{"displayName":"JSSM","fileTypes":["jssm","jssm_state"],"name":"jssm","patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.mn"}},"end":"\\\\*/","name":"comment.block.jssm"},{"begin":"//","end":"$","name":"comment.line.jssm"},{"begin":"\\\\$\\\\{","captures":{"0":{"name":"entity.name.function"}},"end":"}","name":"keyword.other"},{"match":"([0-9]*)(\\\\.)([0-9]*)(\\\\.)([0-9]*)","name":"constant.numeric"},{"match":"graph_layout(\\\\s*)(:)","name":"constant.language.jssmLanguage"},{"match":"machine_name(\\\\s*)(:)","name":"constant.language.jssmLanguage"},{"match":"machine_version(\\\\s*)(:)","name":"constant.language.jssmLanguage"},{"match":"jssm_version(\\\\s*)(:)","name":"constant.language.jssmLanguage"},{"match":"<->","name":"keyword.control.transition.jssmArrow.legal_legal"},{"match":"<-","name":"keyword.control.transition.jssmArrow.legal_none"},{"match":"->","name":"keyword.control.transition.jssmArrow.none_legal"},{"match":"<=>","name":"keyword.control.transition.jssmArrow.main_main"},{"match":"=>","name":"keyword.control.transition.jssmArrow.none_main"},{"match":"<=","name":"keyword.control.transition.jssmArrow.main_none"},{"match":"<~>","name":"keyword.control.transition.jssmArrow.forced_forced"},{"match":"~>","name":"keyword.control.transition.jssmArrow.none_forced"},{"match":"<~","name":"keyword.control.transition.jssmArrow.forced_none"},{"match":"<-=>","name":"keyword.control.transition.jssmArrow.legal_main"},{"match":"<=->","name":"keyword.control.transition.jssmArrow.main_legal"},{"match":"<-~>","name":"keyword.control.transition.jssmArrow.legal_forced"},{"match":"<~->","name":"keyword.control.transition.jssmArrow.forced_legal"},{"match":"<=~>","name":"keyword.control.transition.jssmArrow.main_forced"},{"match":"<~=>","name":"keyword.control.transition.jssmArrow.forced_main"},{"match":"([0-9]+)%","name":"constant.numeric.jssmProbability"},{"match":"\'[^\']*\'","name":"constant.character.jssmAction"},{"match":"\\"[^\\"]*\\"","name":"entity.name.tag.jssmLabel.doublequoted"},{"match":"([!#\\\\&()+,.0-9?-Z_a-z])","name":"entity.name.tag.jssmLabel.atom"}],"scopeName":"source.jssm","aliases":["fsl"]}')),a=[n];export{a as default};
@@ -0,0 +1,137 @@
1
+ import{tool as x5}from"@langchain/core/tools";import{z as KQ}from"zod";import{promises as YQ}from"fs";import{resolve as O5,join as R5}from"path";var F5=KQ.object({operation:KQ.enum(["create","list","exists"]).describe("The folder operation to perform"),folder_path:KQ.string().describe("The path to the folder (absolute or relative to cwd)"),description:KQ.string().optional().describe("What you want to do"),recursive:KQ.boolean().default(!0).optional().describe("For create: create parent directories if they do not exist")}).strict(),L0=x5(async({operation:Q,folder_path:X,recursive:Z=!0},V)=>{if(!V.state.cwd)throw Error("Current working directory (cwd) is not set in the agent state.");try{let $=O5(V.state.cwd,X);switch(Q){case"create":return await YQ.mkdir($,{recursive:Z}),`✓ Folder created successfully at: ${$}`;case"exists":try{await YQ.access($);let J=await YQ.stat($);return`✓ Folder exists at: ${$}
2
+ Type: ${J.isDirectory()?"Directory":"File"}`}catch{return`✗ Folder does not exist at: ${$}`}case"list":try{let J=await YQ.readdir($,{withFileTypes:!0});if(J.length===0)return`Folder is empty: ${$}`;let q=[];q.push(`\uD83D\uDCC1 ${$}
3
+ `);let K=[],Y=[];for(let H of J){let j=R5($,H.name);try{let W=await YQ.stat(j),z=W.size,G=W.mtime.toLocaleDateString(),U=`${H.isDirectory()?"\uD83D\uDCC1":"\uD83D\uDCC4"} ${H.name}${H.isDirectory()?"/":""} (${z} bytes, ${G})`;if(H.isDirectory())K.push(U);else Y.push(U)}catch(W){Y.push(`⚠️ ${H.name} (unreadable)`)}}if(K.length>0)q.push("Directories:"),K.forEach((H)=>q.push(` ${H}`)),q.push("");if(Y.length>0)q.push("Files:"),Y.forEach((H)=>q.push(` ${H}`));return q.push(`
4
+ Total: ${K.length} directories, ${Y.length} files`),q.join(`
5
+ `)}catch(J){if(J.code==="ENOENT")return`✗ Folder not found: ${$}`;if(J.code==="ENOTDIR")return`✗ Path exists but is not a folder: ${$}`;throw J}default:return`✗ Unknown operation: ${Q}`}}catch($){if($.code==="ENOENT")return`✗ Folder not found: ${X}`;if($.code==="EACCES")return`✗ Permission denied: ${X}`;return`✗ Error: ${$.message}`}},{name:"folder_operations",description:`Unified folder operations tool supporting create, list, and existence check. Relative paths are resolved based on the current working directory (cwd).
6
+
7
+ **Operations:**
8
+ - create: Create a folder (supports nested directory creation)
9
+ - list: List all files and subdirectories with metadata
10
+ - exists: Check if a folder exists
11
+
12
+ **Usage Examples:**
13
+ - Create nested folders: {operation: "create", folder_path: "/path/to/nested/folder"}
14
+ - Create with relative path: {operation: "create", folder_path: "data/output"}
15
+ - List contents: {operation: "list", folder_path: "/path/to/folder"}
16
+ - List with relative path: {operation: "list", folder_path: "src"}
17
+ - Check existence: {operation: "exists", folder_path: "path/to/folder"}
18
+
19
+ **Important:**
20
+ - All folder paths can be absolute or relative to cwd
21
+ - Create operation is recursive (creates parent directories if needed)
22
+ - List operation shows file sizes and modification dates
23
+ - Delete operations are not supported for safety reasons. Use terminal commands with user approval if needed.`,schema:F5});import{tool as B7}from"@langchain/core/tools";import{z as nQ}from"zod";var sQ=(Q,X,Z)=>{let V=Q instanceof RegExp?k0(Q,Z):Q,$=X instanceof RegExp?k0(X,Z):X,J=V!==null&&$!=null&&N5(V,$,Z);return J&&{start:J[0],end:J[1],pre:Z.slice(0,J[0]),body:Z.slice(J[0]+V.length,J[1]),post:Z.slice(J[1]+$.length)}},k0=(Q,X)=>{let Z=X.match(Q);return Z?Z[0]:null},N5=(Q,X,Z)=>{let V,$,J,q=void 0,K,Y=Z.indexOf(Q),H=Z.indexOf(X,Y+1),j=Y;if(Y>=0&&H>0){if(Q===X)return[Y,H];V=[],J=Z.length;while(j>=0&&!K){if(j===Y)V.push(j),Y=Z.indexOf(Q,j+1);else if(V.length===1){let W=V.pop();if(W!==void 0)K=[W,H]}else{if($=V.pop(),$!==void 0&&$<J)J=$,q=H;H=Z.indexOf(X,j+1)}j=Y<H&&Y>=0?Y:H}if(V.length&&q!==void 0)K=[J,q]}return K};var A0="\x00SLASH"+Math.random()+"\x00",v0="\x00OPEN"+Math.random()+"\x00",eQ="\x00CLOSE"+Math.random()+"\x00",w0="\x00COMMA"+Math.random()+"\x00",I0="\x00PERIOD"+Math.random()+"\x00",D5=new RegExp(A0,"g"),S5=new RegExp(v0,"g"),T5=new RegExp(eQ,"g"),P5=new RegExp(w0,"g"),b5=new RegExp(I0,"g"),u5=/\\\\/g,y5=/\\{/g,E5=/\\}/g,m5=/\\,/g,f5=/\\./g,g5=1e5;function rQ(Q){return!isNaN(Q)?parseInt(Q,10):Q.charCodeAt(0)}function h5(Q){return Q.replace(u5,A0).replace(y5,v0).replace(E5,eQ).replace(m5,w0).replace(f5,I0)}function d5(Q){return Q.replace(D5,"\\").replace(S5,"{").replace(T5,"}").replace(P5,",").replace(b5,".")}function x0(Q){if(!Q)return[""];let X=[],Z=sQ("{","}",Q);if(!Z)return Q.split(",");let{pre:V,body:$,post:J}=Z,q=V.split(",");q[q.length-1]+="{"+$+"}";let K=x0(J);if(J.length)q[q.length-1]+=K.shift(),q.push.apply(q,K);return X.push.apply(X,q),X}function O0(Q,X={}){if(!Q)return[];let{max:Z=g5}=X;if(Q.slice(0,2)==="{}")Q="\\{\\}"+Q.slice(2);return HQ(h5(Q),Z,!0).map(d5)}function c5(Q){return"{"+Q+"}"}function l5(Q){return/^-?0\d/.test(Q)}function o5(Q,X){return Q<=X}function n5(Q,X){return Q>=X}function HQ(Q,X,Z){let V=[],$=sQ("{","}",Q);if(!$)return[Q];let J=$.pre,q=$.post.length?HQ($.post,X,!1):[""];if(/\$$/.test($.pre))for(let K=0;K<q.length&&K<X;K++){let Y=J+"{"+$.body+"}"+q[K];V.push(Y)}else{let K=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test($.body),Y=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test($.body),H=K||Y,j=$.body.indexOf(",")>=0;if(!H&&!j){if($.post.match(/,(?!,).*\}/))return Q=$.pre+"{"+$.body+eQ+$.post,HQ(Q,X,!0);return[Q]}let W;if(H)W=$.body.split(/\.\./);else if(W=x0($.body),W.length===1&&W[0]!==void 0){if(W=HQ(W[0],X,!1).map(c5),W.length===1)return q.map((G)=>$.pre+W[0]+G)}let z;if(H&&W[0]!==void 0&&W[1]!==void 0){let G=rQ(W[0]),B=rQ(W[1]),U=Math.max(W[0].length,W[1].length),_=W.length===3&&W[2]!==void 0?Math.abs(rQ(W[2])):1,C=o5;if(B<G)_*=-1,C=n5;let k=W.some(l5);z=[];for(let A=G;C(A,B);A+=_){let L;if(Y){if(L=String.fromCharCode(A),L==="\\")L=""}else if(L=String(A),k){let n=U-L.length;if(n>0){let c=Array(n+1).join("0");if(A<0)L="-"+c+L.slice(1);else L=c+L}}z.push(L)}}else{z=[];for(let G=0;G<W.length;G++)z.push.apply(z,HQ(W[G],X,!1))}for(let G=0;G<z.length;G++)for(let B=0;B<q.length&&V.length<X;B++){let U=J+z[G]+q[B];if(!Z||H||U)V.push(U)}}return V}var WQ=(Q)=>{if(typeof Q!=="string")throw TypeError("invalid pattern");if(Q.length>65536)throw TypeError("pattern is too long")};var i5={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},jQ=(Q)=>Q.replace(/[[\]\\-]/g,"\\$&"),p5=(Q)=>Q.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),R0=(Q)=>Q.join(""),F0=(Q,X)=>{let Z=X;if(Q.charAt(Z)!=="[")throw Error("not in a brace expression");let V=[],$=[],J=Z+1,q=!1,K=!1,Y=!1,H=!1,j=Z,W="";Q:while(J<Q.length){let U=Q.charAt(J);if((U==="!"||U==="^")&&J===Z+1){H=!0,J++;continue}if(U==="]"&&q&&!Y){j=J+1;break}if(q=!0,U==="\\"){if(!Y){Y=!0,J++;continue}}if(U==="["&&!Y){for(let[_,[C,M,k]]of Object.entries(i5))if(Q.startsWith(_,J)){if(W)return["$.",!1,Q.length-Z,!0];if(J+=_.length,k)$.push(C);else V.push(C);K=K||M;continue Q}}if(Y=!1,W){if(U>W)V.push(jQ(W)+"-"+jQ(U));else if(U===W)V.push(jQ(U));W="",J++;continue}if(Q.startsWith("-]",J+1)){V.push(jQ(U+"-")),J+=2;continue}if(Q.startsWith("-",J+1)){W=U,J+=2;continue}V.push(jQ(U)),J++}if(j<J)return["",!1,0,!1];if(!V.length&&!$.length)return["$.",!1,Q.length-Z,!0];if($.length===0&&V.length===1&&/^\\?.$/.test(V[0])&&!H){let U=V[0].length===2?V[0].slice(-1):V[0];return[p5(U),!1,j-Z,!1]}let z="["+(H?"^":"")+R0(V)+"]",G="["+(H?"":"^")+R0($)+"]";return[V.length&&$.length?"("+z+"|"+G+")":V.length?z:G,K,j-Z,!0]};var E=(Q,{windowsPathsNoEscape:X=!1,magicalBraces:Z=!0}={})=>{if(Z)return X?Q.replace(/\[([^\/\\])\]/g,"$1"):Q.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");return X?Q.replace(/\[([^\/\\{}])\]/g,"$1"):Q.replace(/((?!\\).|^)\[([^\/\\{}])\]/g,"$1$2").replace(/\\([^\/{}])/g,"$1")};var a5=new Set(["!","?","+","*","@"]),N0=(Q)=>a5.has(Q),s5="(?!(?:^|/)\\.\\.?(?:$|/))",RQ="(?!\\.)",r5=new Set(["[","."]),e5=new Set(["..","."]),t5=new Set("().*{}+?[]^$\\!"),Q6=(Q)=>Q.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),tQ="[^/]",D0=tQ+"*?",S0=tQ+"+?";class O{type;#Q;#Z;#J=!1;#$=[];#q;#k;#M;#W=!1;#K;#z;#j=!1;constructor(Q,X,Z={}){if(this.type=Q,Q)this.#Z=!0;if(this.#q=X,this.#Q=this.#q?this.#q.#Q:this,this.#K=this.#Q===this?Z:this.#Q.#K,this.#M=this.#Q===this?[]:this.#Q.#M,Q==="!"&&!this.#Q.#W)this.#M.push(this);this.#k=this.#q?this.#q.#$.length:0}get hasMagic(){if(this.#Z!==void 0)return this.#Z;for(let Q of this.#$){if(typeof Q==="string")continue;if(Q.type||Q.hasMagic)return this.#Z=!0}return this.#Z}toString(){if(this.#z!==void 0)return this.#z;if(!this.type)return this.#z=this.#$.map((Q)=>String(Q)).join("");else return this.#z=this.type+"("+this.#$.map((Q)=>String(Q)).join("|")+")"}#Y(){if(this!==this.#Q)throw Error("should only call on root");if(this.#W)return this;this.toString(),this.#W=!0;let Q;while(Q=this.#M.pop()){if(Q.type!=="!")continue;let X=Q,Z=X.#q;while(Z){for(let V=X.#k+1;!Z.type&&V<Z.#$.length;V++)for(let $ of Q.#$){if(typeof $==="string")throw Error("string part in extglob AST??");$.copyIn(Z.#$[V])}X=Z,Z=X.#q}}return this}push(...Q){for(let X of Q){if(X==="")continue;if(typeof X!=="string"&&!(X instanceof O&&X.#q===this))throw Error("invalid part: "+X);this.#$.push(X)}}toJSON(){let Q=this.type===null?this.#$.slice().map((X)=>typeof X==="string"?X:X.toJSON()):[this.type,...this.#$.map((X)=>X.toJSON())];if(this.isStart()&&!this.type)Q.unshift([]);if(this.isEnd()&&(this===this.#Q||this.#Q.#W&&this.#q?.type==="!"))Q.push({});return Q}isStart(){if(this.#Q===this)return!0;if(!this.#q?.isStart())return!1;if(this.#k===0)return!0;let Q=this.#q;for(let X=0;X<this.#k;X++){let Z=Q.#$[X];if(!(Z instanceof O&&Z.type==="!"))return!1}return!0}isEnd(){if(this.#Q===this)return!0;if(this.#q?.type==="!")return!0;if(!this.#q?.isEnd())return!1;if(!this.type)return this.#q?.isEnd();let Q=this.#q?this.#q.#$.length:0;return this.#k===Q-1}copyIn(Q){if(typeof Q==="string")this.push(Q);else this.push(Q.clone(this))}clone(Q){let X=new O(this.type,Q);for(let Z of this.#$)X.copyIn(Z);return X}static#V(Q,X,Z,V){let $=!1,J=!1,q=-1,K=!1;if(X.type===null){let z=Z,G="";while(z<Q.length){let B=Q.charAt(z++);if($||B==="\\"){$=!$,G+=B;continue}if(J){if(z===q+1){if(B==="^"||B==="!")K=!0}else if(B==="]"&&!(z===q+2&&K))J=!1;G+=B;continue}else if(B==="["){J=!0,q=z,K=!1,G+=B;continue}if(!V.noext&&N0(B)&&Q.charAt(z)==="("){X.push(G),G="";let U=new O(B,X);z=O.#V(Q,U,z,V),X.push(U);continue}G+=B}return X.push(G),z}let Y=Z+1,H=new O(null,X),j=[],W="";while(Y<Q.length){let z=Q.charAt(Y++);if($||z==="\\"){$=!$,W+=z;continue}if(J){if(Y===q+1){if(z==="^"||z==="!")K=!0}else if(z==="]"&&!(Y===q+2&&K))J=!1;W+=z;continue}else if(z==="["){J=!0,q=Y,K=!1,W+=z;continue}if(N0(z)&&Q.charAt(Y)==="("){H.push(W),W="";let G=new O(z,H);H.push(G),Y=O.#V(Q,G,Y,V);continue}if(z==="|"){H.push(W),W="",j.push(H),H=new O(null,X);continue}if(z===")"){if(W===""&&X.#$.length===0)X.#j=!0;return H.push(W),W="",X.push(...j,H),Y}W+=z}return X.type=null,X.#Z=void 0,X.#$=[Q.substring(Z-1)],Y}static fromGlob(Q,X={}){let Z=new O(null,void 0,X);return O.#V(Q,Z,0,X),Z}toMMPattern(){if(this!==this.#Q)return this.#Q.toMMPattern();let Q=this.toString(),[X,Z,V,$]=this.toRegExpSource();if(!(V||this.#Z||this.#K.nocase&&!this.#K.nocaseMagicOnly&&Q.toUpperCase()!==Q.toLowerCase()))return Z;let q=(this.#K.nocase?"i":"")+($?"u":"");return Object.assign(new RegExp(`^${X}$`,q),{_src:X,_glob:Q})}get options(){return this.#K}toRegExpSource(Q){let X=Q??!!this.#K.dot;if(this.#Q===this)this.#Y();if(!this.type){let K=this.isStart()&&this.isEnd()&&!this.#$.some((z)=>typeof z!=="string"),Y=this.#$.map((z)=>{let[G,B,U,_]=typeof z==="string"?O.#A(z,this.#Z,K):z.toRegExpSource(Q);return this.#Z=this.#Z||U,this.#J=this.#J||_,G}).join(""),H="";if(this.isStart()){if(typeof this.#$[0]==="string"){if(!(this.#$.length===1&&e5.has(this.#$[0]))){let G=r5,B=X&&G.has(Y.charAt(0))||Y.startsWith("\\.")&&G.has(Y.charAt(2))||Y.startsWith("\\.\\.")&&G.has(Y.charAt(4)),U=!X&&!Q&&G.has(Y.charAt(0));H=B?s5:U?RQ:""}}}let j="";if(this.isEnd()&&this.#Q.#W&&this.#q?.type==="!")j="(?:$|\\/)";return[H+Y+j,E(Y),this.#Z=!!this.#Z,this.#J]}let Z=this.type==="*"||this.type==="+",V=this.type==="!"?"(?:(?!(?:":"(?:",$=this.#G(X);if(this.isStart()&&this.isEnd()&&!$&&this.type!=="!"){let K=this.toString();return this.#$=[K],this.type=null,this.#Z=void 0,[K,E(this.toString()),!1,!1]}let J=!Z||Q||X||!RQ?"":this.#G(!0);if(J===$)J="";if(J)$=`(?:${$})(?:${J})*?`;let q="";if(this.type==="!"&&this.#j)q=(this.isStart()&&!X?RQ:"")+S0;else{let K=this.type==="!"?"))"+(this.isStart()&&!X&&!Q?RQ:"")+D0+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&J?")":this.type==="*"&&J?")?":`)${this.type}`;q=V+$+K}return[q,E($),this.#Z=!!this.#Z,this.#J]}#G(Q){return this.#$.map((X)=>{if(typeof X==="string")throw Error("string type in extglob ast??");let[Z,V,$,J]=X.toRegExpSource(Q);return this.#J=this.#J||J,Z}).filter((X)=>!(this.isStart()&&this.isEnd())||!!X).join("|")}static#A(Q,X,Z=!1){let V=!1,$="",J=!1,q=!1;for(let K=0;K<Q.length;K++){let Y=Q.charAt(K);if(V){V=!1,$+=(t5.has(Y)?"\\":"")+Y;continue}if(Y==="*"){if(q)continue;q=!0,$+=Z&&/^[*]+$/.test(Q)?S0:D0,X=!0;continue}else q=!1;if(Y==="\\"){if(K===Q.length-1)$+="\\\\";else V=!0;continue}if(Y==="["){let[H,j,W,z]=F0(Q,K);if(W){$+=H,J=J||j,K+=W-1,X=X||z;continue}}if(Y==="?"){$+=tQ,X=!0;continue}$+=Q6(Y)}return[$,E(Q),!!X,J]}}var ZQ=(Q,{windowsPathsNoEscape:X=!1,magicalBraces:Z=!1}={})=>{if(Z)return X?Q.replace(/[?*()[\]{}]/g,"[$&]"):Q.replace(/[?*()[\]\\{}]/g,"\\$&");return X?Q.replace(/[?*()[\]]/g,"[$&]"):Q.replace(/[?*()[\]\\]/g,"\\$&")};var N=(Q,X,Z={})=>{if(WQ(X),!Z.nocomment&&X.charAt(0)==="#")return!1;return new b(X,Z).match(Q)},X6=/^\*+([^+@!?\*\[\(]*)$/,Z6=(Q)=>(X)=>!X.startsWith(".")&&X.endsWith(Q),V6=(Q)=>(X)=>X.endsWith(Q),$6=(Q)=>{return Q=Q.toLowerCase(),(X)=>!X.startsWith(".")&&X.toLowerCase().endsWith(Q)},J6=(Q)=>{return Q=Q.toLowerCase(),(X)=>X.toLowerCase().endsWith(Q)},q6=/^\*+\.\*+$/,K6=(Q)=>!Q.startsWith(".")&&Q.includes("."),Y6=(Q)=>Q!=="."&&Q!==".."&&Q.includes("."),H6=/^\.\*+$/,W6=(Q)=>Q!=="."&&Q!==".."&&Q.startsWith("."),j6=/^\*+$/,z6=(Q)=>Q.length!==0&&!Q.startsWith("."),G6=(Q)=>Q.length!==0&&Q!=="."&&Q!=="..",U6=/^\?+([^+@!?\*\[\(]*)?$/,B6=([Q,X=""])=>{let Z=b0([Q]);if(!X)return Z;return X=X.toLowerCase(),(V)=>Z(V)&&V.toLowerCase().endsWith(X)},C6=([Q,X=""])=>{let Z=u0([Q]);if(!X)return Z;return X=X.toLowerCase(),(V)=>Z(V)&&V.toLowerCase().endsWith(X)},M6=([Q,X=""])=>{let Z=u0([Q]);return!X?Z:(V)=>Z(V)&&V.endsWith(X)},_6=([Q,X=""])=>{let Z=b0([Q]);return!X?Z:(V)=>Z(V)&&V.endsWith(X)},b0=([Q])=>{let X=Q.length;return(Z)=>Z.length===X&&!Z.startsWith(".")},u0=([Q])=>{let X=Q.length;return(Z)=>Z.length===X&&Z!=="."&&Z!==".."},y0=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",T0={win32:{sep:"\\"},posix:{sep:"/"}},L6=y0==="win32"?T0.win32.sep:T0.posix.sep;N.sep=L6;var R=Symbol("globstar **");N.GLOBSTAR=R;var k6="[^/]",A6=k6+"*?",v6="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",w6="(?:(?!(?:\\/|^)\\.).)*?",I6=(Q,X={})=>(Z)=>N(Z,Q,X);N.filter=I6;var P=(Q,X={})=>Object.assign({},Q,X),x6=(Q)=>{if(!Q||typeof Q!=="object"||!Object.keys(Q).length)return N;let X=N;return Object.assign((V,$,J={})=>X(V,$,P(Q,J)),{Minimatch:class extends X.Minimatch{constructor($,J={}){super($,P(Q,J))}static defaults($){return X.defaults(P(Q,$)).Minimatch}},AST:class extends X.AST{constructor($,J,q={}){super($,J,P(Q,q))}static fromGlob($,J={}){return X.AST.fromGlob($,P(Q,J))}},unescape:(V,$={})=>X.unescape(V,P(Q,$)),escape:(V,$={})=>X.escape(V,P(Q,$)),filter:(V,$={})=>X.filter(V,P(Q,$)),defaults:(V)=>X.defaults(P(Q,V)),makeRe:(V,$={})=>X.makeRe(V,P(Q,$)),braceExpand:(V,$={})=>X.braceExpand(V,P(Q,$)),match:(V,$,J={})=>X.match(V,$,P(Q,J)),sep:X.sep,GLOBSTAR:R})};N.defaults=x6;var E0=(Q,X={})=>{if(WQ(Q),X.nobrace||!/\{(?:(?!\{).)*\}/.test(Q))return[Q];return O0(Q,{max:X.braceExpandMax})};N.braceExpand=E0;var O6=(Q,X={})=>new b(Q,X).makeRe();N.makeRe=O6;var R6=(Q,X,Z={})=>{let V=new b(X,Z);if(Q=Q.filter(($)=>V.match($)),V.options.nonull&&!Q.length)Q.push(X);return Q};N.match=R6;var P0=/[?*]|[+@!]\(.*?\)|\[|\]/,F6=(Q)=>Q.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class b{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(Q,X={}){WQ(Q),X=X||{},this.options=X,this.pattern=Q,this.platform=X.platform||y0,this.isWindows=this.platform==="win32";let Z="allowWindowsEscape";if(this.windowsPathsNoEscape=!!X.windowsPathsNoEscape||X[Z]===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!X.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!X.nonegate,this.comment=!1,this.empty=!1,this.partial=!!X.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=X.windowsNoMagicRoot!==void 0?X.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let Q of this.set)for(let X of Q)if(typeof X!=="string")return!0;return!1}debug(...Q){}make(){let Q=this.pattern,X=this.options;if(!X.nocomment&&Q.charAt(0)==="#"){this.comment=!0;return}if(!Q){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],X.debug)this.debug=(...$)=>console.error(...$);this.debug(this.pattern,this.globSet);let Z=this.globSet.map(($)=>this.slashSplit($));this.globParts=this.preprocess(Z),this.debug(this.pattern,this.globParts);let V=this.globParts.map(($,J,q)=>{if(this.isWindows&&this.windowsNoMagicRoot){let K=$[0]===""&&$[1]===""&&($[2]==="?"||!P0.test($[2]))&&!P0.test($[3]),Y=/^[a-z]:/i.test($[0]);if(K)return[...$.slice(0,4),...$.slice(4).map((H)=>this.parse(H))];else if(Y)return[$[0],...$.slice(1).map((H)=>this.parse(H))]}return $.map((K)=>this.parse(K))});if(this.debug(this.pattern,V),this.set=V.filter(($)=>$.indexOf(!1)===-1),this.isWindows)for(let $=0;$<this.set.length;$++){let J=this.set[$];if(J[0]===""&&J[1]===""&&this.globParts[$][2]==="?"&&typeof J[3]==="string"&&/^[a-z]:$/i.test(J[3]))J[2]="?"}this.debug(this.pattern,this.set)}preprocess(Q){if(this.options.noglobstar){for(let Z=0;Z<Q.length;Z++)for(let V=0;V<Q[Z].length;V++)if(Q[Z][V]==="**")Q[Z][V]="*"}let{optimizationLevel:X=1}=this.options;if(X>=2)Q=this.firstPhasePreProcess(Q),Q=this.secondPhasePreProcess(Q);else if(X>=1)Q=this.levelOneOptimize(Q);else Q=this.adjascentGlobstarOptimize(Q);return Q}adjascentGlobstarOptimize(Q){return Q.map((X)=>{let Z=-1;while((Z=X.indexOf("**",Z+1))!==-1){let V=Z;while(X[V+1]==="**")V++;if(V!==Z)X.splice(Z,V-Z)}return X})}levelOneOptimize(Q){return Q.map((X)=>{return X=X.reduce((Z,V)=>{let $=Z[Z.length-1];if(V==="**"&&$==="**")return Z;if(V===".."){if($&&$!==".."&&$!=="."&&$!=="**")return Z.pop(),Z}return Z.push(V),Z},[]),X.length===0?[""]:X})}levelTwoFileOptimize(Q){if(!Array.isArray(Q))Q=this.slashSplit(Q);let X=!1;do{if(X=!1,!this.preserveMultipleSlashes){for(let V=1;V<Q.length-1;V++){let $=Q[V];if(V===1&&$===""&&Q[0]==="")continue;if($==="."||$==="")X=!0,Q.splice(V,1),V--}if(Q[0]==="."&&Q.length===2&&(Q[1]==="."||Q[1]===""))X=!0,Q.pop()}let Z=0;while((Z=Q.indexOf("..",Z+1))!==-1){let V=Q[Z-1];if(V&&V!=="."&&V!==".."&&V!=="**")X=!0,Q.splice(Z-1,2),Z-=2}}while(X);return Q.length===0?[""]:Q}firstPhasePreProcess(Q){let X=!1;do{X=!1;for(let Z of Q){let V=-1;while((V=Z.indexOf("**",V+1))!==-1){let J=V;while(Z[J+1]==="**")J++;if(J>V)Z.splice(V+1,J-V);let q=Z[V+1],K=Z[V+2],Y=Z[V+3];if(q!=="..")continue;if(!K||K==="."||K===".."||!Y||Y==="."||Y==="..")continue;X=!0,Z.splice(V,1);let H=Z.slice(0);H[V]="**",Q.push(H),V--}if(!this.preserveMultipleSlashes){for(let J=1;J<Z.length-1;J++){let q=Z[J];if(J===1&&q===""&&Z[0]==="")continue;if(q==="."||q==="")X=!0,Z.splice(J,1),J--}if(Z[0]==="."&&Z.length===2&&(Z[1]==="."||Z[1]===""))X=!0,Z.pop()}let $=0;while(($=Z.indexOf("..",$+1))!==-1){let J=Z[$-1];if(J&&J!=="."&&J!==".."&&J!=="**"){X=!0;let K=$===1&&Z[$+1]==="**"?["."]:[];if(Z.splice($-1,2,...K),Z.length===0)Z.push("");$-=2}}}}while(X);return Q}secondPhasePreProcess(Q){for(let X=0;X<Q.length-1;X++)for(let Z=X+1;Z<Q.length;Z++){let V=this.partsMatch(Q[X],Q[Z],!this.preserveMultipleSlashes);if(V){Q[X]=[],Q[Z]=V;break}}return Q.filter((X)=>X.length)}partsMatch(Q,X,Z=!1){let V=0,$=0,J=[],q="";while(V<Q.length&&$<X.length)if(Q[V]===X[$])J.push(q==="b"?X[$]:Q[V]),V++,$++;else if(Z&&Q[V]==="**"&&X[$]===Q[V+1])J.push(Q[V]),V++;else if(Z&&X[$]==="**"&&Q[V]===X[$+1])J.push(X[$]),$++;else if(Q[V]==="*"&&X[$]&&(this.options.dot||!X[$].startsWith("."))&&X[$]!=="**"){if(q==="b")return!1;q="a",J.push(Q[V]),V++,$++}else if(X[$]==="*"&&Q[V]&&(this.options.dot||!Q[V].startsWith("."))&&Q[V]!=="**"){if(q==="a")return!1;q="b",J.push(X[$]),V++,$++}else return!1;return Q.length===X.length&&J}parseNegate(){if(this.nonegate)return;let Q=this.pattern,X=!1,Z=0;for(let V=0;V<Q.length&&Q.charAt(V)==="!";V++)X=!X,Z++;if(Z)this.pattern=Q.slice(Z);this.negate=X}matchOne(Q,X,Z=!1){let V=this.options;if(this.isWindows){let B=typeof Q[0]==="string"&&/^[a-z]:$/i.test(Q[0]),U=!B&&Q[0]===""&&Q[1]===""&&Q[2]==="?"&&/^[a-z]:$/i.test(Q[3]),_=typeof X[0]==="string"&&/^[a-z]:$/i.test(X[0]),C=!_&&X[0]===""&&X[1]===""&&X[2]==="?"&&typeof X[3]==="string"&&/^[a-z]:$/i.test(X[3]),M=U?3:B?0:void 0,k=C?3:_?0:void 0;if(typeof M==="number"&&typeof k==="number"){let[A,L]=[Q[M],X[k]];if(A.toLowerCase()===L.toLowerCase()){if(X[k]=A,k>M)X=X.slice(k);else if(M>k)Q=Q.slice(M)}}}let{optimizationLevel:$=1}=this.options;if($>=2)Q=this.levelTwoFileOptimize(Q);this.debug("matchOne",this,{file:Q,pattern:X}),this.debug("matchOne",Q.length,X.length);for(var J=0,q=0,K=Q.length,Y=X.length;J<K&&q<Y;J++,q++){this.debug("matchOne loop");var H=X[q],j=Q[J];if(this.debug(X,H,j),H===!1)return!1;if(H===R){this.debug("GLOBSTAR",[X,H,j]);var W=J,z=q+1;if(z===Y){this.debug("** at the end");for(;J<K;J++)if(Q[J]==="."||Q[J]===".."||!V.dot&&Q[J].charAt(0)===".")return!1;return!0}while(W<K){var G=Q[W];if(this.debug(`
24
+ globstar while`,Q,W,X,z,G),this.matchOne(Q.slice(W),X.slice(z),Z))return this.debug("globstar found match!",W,K,G),!0;else{if(G==="."||G===".."||!V.dot&&G.charAt(0)==="."){this.debug("dot detected!",Q,W,X,z);break}this.debug("globstar swallow a segment, and continue"),W++}}if(Z){if(this.debug(`
25
+ >>> no match, partial?`,Q,W,X,z),W===K)return!0}return!1}let B;if(typeof H==="string")B=j===H,this.debug("string match",H,j,B);else B=H.test(j),this.debug("pattern match",H,j,B);if(!B)return!1}if(J===K&&q===Y)return!0;else if(J===K)return Z;else if(q===Y)return J===K-1&&Q[J]==="";else throw Error("wtf?")}braceExpand(){return E0(this.pattern,this.options)}parse(Q){WQ(Q);let X=this.options;if(Q==="**")return R;if(Q==="")return"";let Z,V=null;if(Z=Q.match(j6))V=X.dot?G6:z6;else if(Z=Q.match(X6))V=(X.nocase?X.dot?J6:$6:X.dot?V6:Z6)(Z[1]);else if(Z=Q.match(U6))V=(X.nocase?X.dot?C6:B6:X.dot?M6:_6)(Z);else if(Z=Q.match(q6))V=X.dot?Y6:K6;else if(Z=Q.match(H6))V=W6;let $=O.fromGlob(Q,this.options).toMMPattern();if(V&&typeof $==="object")Reflect.defineProperty($,"test",{value:V});return $}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let Q=this.set;if(!Q.length)return this.regexp=!1,this.regexp;let X=this.options,Z=X.noglobstar?A6:X.dot?v6:w6,V=new Set(X.nocase?["i"]:[]),$=Q.map((K)=>{let Y=K.map((j)=>{if(j instanceof RegExp)for(let W of j.flags.split(""))V.add(W);return typeof j==="string"?F6(j):j===R?R:j._src});Y.forEach((j,W)=>{let z=Y[W+1],G=Y[W-1];if(j!==R||G===R)return;if(G===void 0)if(z!==void 0&&z!==R)Y[W+1]="(?:\\/|"+Z+"\\/)?"+z;else Y[W]=Z;else if(z===void 0)Y[W-1]=G+"(?:\\/|\\/"+Z+")?";else if(z!==R)Y[W-1]=G+"(?:\\/|\\/"+Z+"\\/)"+z,Y[W+1]=R});let H=Y.filter((j)=>j!==R);if(this.partial&&H.length>=1){let j=[];for(let W=1;W<=H.length;W++)j.push(H.slice(0,W).join("/"));return"(?:"+j.join("|")+")"}return H.join("/")}).join("|"),[J,q]=Q.length>1?["(?:",")"]:["",""];if($="^"+J+$+q+"$",this.partial)$="^(?:\\/|"+J+$.slice(1,-1)+q+")$";if(this.negate)$="^(?!"+$+").+$";try{this.regexp=new RegExp($,[...V].join(""))}catch(K){this.regexp=!1}return this.regexp}slashSplit(Q){if(this.preserveMultipleSlashes)return Q.split("/");else if(this.isWindows&&/^\/\/[^\/]+/.test(Q))return["",...Q.split(/\/+/)];else return Q.split(/\/+/)}match(Q,X=this.partial){if(this.debug("match",Q,this.pattern),this.comment)return!1;if(this.empty)return Q==="";if(Q==="/"&&X)return!0;let Z=this.options;if(this.isWindows)Q=Q.split("\\").join("/");let V=this.slashSplit(Q);this.debug(this.pattern,"split",V);let $=this.set;this.debug(this.pattern,"set",$);let J=V[V.length-1];if(!J)for(let q=V.length-2;!J&&q>=0;q--)J=V[q];for(let q=0;q<$.length;q++){let K=$[q],Y=V;if(Z.matchBase&&K.length===1)Y=[J];if(this.matchOne(Y,K,X)){if(Z.flipNegate)return!0;return!this.negate}}if(Z.flipNegate)return!1;return this.negate}static defaults(Q){return N.defaults(Q).Minimatch}}N.AST=O;N.Minimatch=b;N.escape=ZQ;N.unescape=E;import{fileURLToPath as Y7}from"node:url";var N6=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,f0=new Set,Q0=typeof process=="object"&&process?process:{},g0=(Q,X,Z,V)=>{typeof Q0.emitWarning=="function"?Q0.emitWarning(Q,X,Z,V):console.error(`[${Z}] ${X}: ${Q}`)},NQ=globalThis.AbortController,m0=globalThis.AbortSignal;if(typeof NQ>"u"){m0=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(Z,V){this._onabort.push(V)}},NQ=class{constructor(){X()}signal=new m0;abort(Z){if(!this.signal.aborted){this.signal.reason=Z,this.signal.aborted=!0;for(let V of this.signal._onabort)V(Z);this.signal.onabort?.(Z)}}};let Q=Q0.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",X=()=>{Q&&(Q=!1,g0("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",X))}}var D6=(Q)=>!f0.has(Q),Y8=Symbol("type"),i=(Q)=>Q&&Q===Math.floor(Q)&&Q>0&&isFinite(Q),h0=(Q)=>i(Q)?Q<=Math.pow(2,8)?Uint8Array:Q<=Math.pow(2,16)?Uint16Array:Q<=Math.pow(2,32)?Uint32Array:Q<=Number.MAX_SAFE_INTEGER?FQ:null:null,FQ=class extends Array{constructor(Q){super(Q),this.fill(0)}},S6=class Q{heap;length;static#Q=!1;static create(X){let Z=h0(X);if(!Z)return[];Q.#Q=!0;let V=new Q(X,Z);return Q.#Q=!1,V}constructor(X,Z){if(!Q.#Q)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new Z(X),this.length=0}push(X){this.heap[this.length++]=X}pop(){return this.heap[--this.length]}},zQ=class Q{#Q;#Z;#J;#$;#q;#k;#M;#W;get perf(){return this.#W}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#K;#z;#j;#Y;#V;#G;#A;#L;#U;#F;#B;#I;#x;#C;#_;#v;#O;#X;#b;static unsafeExposeInternals(X){return{starts:X.#x,ttls:X.#C,autopurgeTimers:X.#_,sizes:X.#I,keyMap:X.#j,keyList:X.#Y,valList:X.#V,next:X.#G,prev:X.#A,get head(){return X.#L},get tail(){return X.#U},free:X.#F,isBackgroundFetch:(Z)=>X.#H(Z),backgroundFetch:(Z,V,$,J)=>X.#d(Z,V,$,J),moveToTail:(Z)=>X.#y(Z),indexes:(Z)=>X.#D(Z),rindexes:(Z)=>X.#S(Z),isStale:(Z)=>X.#w(Z)}}get max(){return this.#Q}get maxSize(){return this.#Z}get calculatedSize(){return this.#z}get size(){return this.#K}get fetchMethod(){return this.#k}get memoMethod(){return this.#M}get dispose(){return this.#J}get onInsert(){return this.#$}get disposeAfter(){return this.#q}constructor(X){let{max:Z=0,ttl:V,ttlResolution:$=1,ttlAutopurge:J,updateAgeOnGet:q,updateAgeOnHas:K,allowStale:Y,dispose:H,onInsert:j,disposeAfter:W,noDisposeOnSet:z,noUpdateTTL:G,maxSize:B=0,maxEntrySize:U=0,sizeCalculation:_,fetchMethod:C,memoMethod:M,noDeleteOnFetchRejection:k,noDeleteOnStaleGet:A,allowStaleOnFetchRejection:L,allowStaleOnFetchAbort:n,ignoreFetchAbort:c,perf:QQ}=X;if(QQ!==void 0&&typeof QQ?.now!="function")throw TypeError("perf option must have a now() method if specified");if(this.#W=QQ??N6,Z!==0&&!i(Z))throw TypeError("max option must be a nonnegative integer");let XQ=Z?h0(Z):Array;if(!XQ)throw Error("invalid max value: "+Z);if(this.#Q=Z,this.#Z=B,this.maxEntrySize=U||this.#Z,this.sizeCalculation=_,this.sizeCalculation){if(!this.#Z&&!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(M!==void 0&&typeof M!="function")throw TypeError("memoMethod must be a function if defined");if(this.#M=M,C!==void 0&&typeof C!="function")throw TypeError("fetchMethod must be a function if specified");if(this.#k=C,this.#O=!!C,this.#j=new Map,this.#Y=Array(Z).fill(void 0),this.#V=Array(Z).fill(void 0),this.#G=new XQ(Z),this.#A=new XQ(Z),this.#L=0,this.#U=0,this.#F=S6.create(Z),this.#K=0,this.#z=0,typeof H=="function"&&(this.#J=H),typeof j=="function"&&(this.#$=j),typeof W=="function"?(this.#q=W,this.#B=[]):(this.#q=void 0,this.#B=void 0),this.#v=!!this.#J,this.#b=!!this.#$,this.#X=!!this.#q,this.noDisposeOnSet=!!z,this.noUpdateTTL=!!G,this.noDeleteOnFetchRejection=!!k,this.allowStaleOnFetchRejection=!!L,this.allowStaleOnFetchAbort=!!n,this.ignoreFetchAbort=!!c,this.maxEntrySize!==0){if(this.#Z!==0&&!i(this.#Z))throw TypeError("maxSize must be a positive integer if specified");if(!i(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#l()}if(this.allowStale=!!Y,this.noDeleteOnStaleGet=!!A,this.updateAgeOnGet=!!q,this.updateAgeOnHas=!!K,this.ttlResolution=i($)||$===0?$:1,this.ttlAutopurge=!!J,this.ttl=V||0,this.ttl){if(!i(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#T()}if(this.#Q===0&&this.ttl===0&&this.#Z===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#Q&&!this.#Z){let aQ="LRU_CACHE_UNBOUNDED";D6(aQ)&&(f0.add(aQ),g0("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",aQ,Q))}}getRemainingTTL(X){return this.#j.has(X)?1/0:0}#T(){let X=new FQ(this.#Q),Z=new FQ(this.#Q);this.#C=X,this.#x=Z;let V=this.ttlAutopurge?Array(this.#Q):void 0;this.#_=V,this.#m=(q,K,Y=this.#W.now())=>{if(Z[q]=K!==0?Y:0,X[q]=K,V?.[q]&&(clearTimeout(V[q]),V[q]=void 0),K!==0&&V){let H=setTimeout(()=>{this.#w(q)&&this.#N(this.#Y[q],"expire")},K+1);H.unref&&H.unref(),V[q]=H}},this.#R=(q)=>{Z[q]=X[q]!==0?this.#W.now():0},this.#P=(q,K)=>{if(X[K]){let Y=X[K],H=Z[K];if(!Y||!H)return;q.ttl=Y,q.start=H,q.now=$||J();let j=q.now-H;q.remainingTTL=Y-j}};let $=0,J=()=>{let q=this.#W.now();if(this.ttlResolution>0){$=q;let K=setTimeout(()=>$=0,this.ttlResolution);K.unref&&K.unref()}return q};this.getRemainingTTL=(q)=>{let K=this.#j.get(q);if(K===void 0)return 0;let Y=X[K],H=Z[K];if(!Y||!H)return 1/0;let j=($||J())-H;return Y-j},this.#w=(q)=>{let K=Z[q],Y=X[q];return!!Y&&!!K&&($||J())-K>Y}}#R=()=>{};#P=()=>{};#m=()=>{};#w=()=>!1;#l(){let X=new FQ(this.#Q);this.#z=0,this.#I=X,this.#E=(Z)=>{this.#z-=X[Z],X[Z]=0},this.#f=(Z,V,$,J)=>{if(this.#H(V))return 0;if(!i($))if(J){if(typeof J!="function")throw TypeError("sizeCalculation must be a function");if($=J(V,Z),!i($))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 $},this.#u=(Z,V,$)=>{if(X[Z]=V,this.#Z){let J=this.#Z-X[Z];for(;this.#z>J;)this.#h(!0)}this.#z+=X[Z],$&&($.entrySize=V,$.totalCalculatedSize=this.#z)}}#E=(X)=>{};#u=(X,Z,V)=>{};#f=(X,Z,V,$)=>{if(V||$)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#D({allowStale:X=this.allowStale}={}){if(this.#K)for(let Z=this.#U;!(!this.#g(Z)||((X||!this.#w(Z))&&(yield Z),Z===this.#L));)Z=this.#A[Z]}*#S({allowStale:X=this.allowStale}={}){if(this.#K)for(let Z=this.#L;!(!this.#g(Z)||((X||!this.#w(Z))&&(yield Z),Z===this.#U));)Z=this.#G[Z]}#g(X){return X!==void 0&&this.#j.get(this.#Y[X])===X}*entries(){for(let X of this.#D())this.#V[X]!==void 0&&this.#Y[X]!==void 0&&!this.#H(this.#V[X])&&(yield[this.#Y[X],this.#V[X]])}*rentries(){for(let X of this.#S())this.#V[X]!==void 0&&this.#Y[X]!==void 0&&!this.#H(this.#V[X])&&(yield[this.#Y[X],this.#V[X]])}*keys(){for(let X of this.#D()){let Z=this.#Y[X];Z!==void 0&&!this.#H(this.#V[X])&&(yield Z)}}*rkeys(){for(let X of this.#S()){let Z=this.#Y[X];Z!==void 0&&!this.#H(this.#V[X])&&(yield Z)}}*values(){for(let X of this.#D())this.#V[X]!==void 0&&!this.#H(this.#V[X])&&(yield this.#V[X])}*rvalues(){for(let X of this.#S())this.#V[X]!==void 0&&!this.#H(this.#V[X])&&(yield this.#V[X])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(X,Z={}){for(let V of this.#D()){let $=this.#V[V],J=this.#H($)?$.__staleWhileFetching:$;if(J!==void 0&&X(J,this.#Y[V],this))return this.get(this.#Y[V],Z)}}forEach(X,Z=this){for(let V of this.#D()){let $=this.#V[V],J=this.#H($)?$.__staleWhileFetching:$;J!==void 0&&X.call(Z,J,this.#Y[V],this)}}rforEach(X,Z=this){for(let V of this.#S()){let $=this.#V[V],J=this.#H($)?$.__staleWhileFetching:$;J!==void 0&&X.call(Z,J,this.#Y[V],this)}}purgeStale(){let X=!1;for(let Z of this.#S({allowStale:!0}))this.#w(Z)&&(this.#N(this.#Y[Z],"expire"),X=!0);return X}info(X){let Z=this.#j.get(X);if(Z===void 0)return;let V=this.#V[Z],$=this.#H(V)?V.__staleWhileFetching:V;if($===void 0)return;let J={value:$};if(this.#C&&this.#x){let q=this.#C[Z],K=this.#x[Z];if(q&&K){let Y=q-(this.#W.now()-K);J.ttl=Y,J.start=Date.now()}}return this.#I&&(J.size=this.#I[Z]),J}dump(){let X=[];for(let Z of this.#D({allowStale:!0})){let V=this.#Y[Z],$=this.#V[Z],J=this.#H($)?$.__staleWhileFetching:$;if(J===void 0||V===void 0)continue;let q={value:J};if(this.#C&&this.#x){q.ttl=this.#C[Z];let K=this.#W.now()-this.#x[Z];q.start=Math.floor(Date.now()-K)}this.#I&&(q.size=this.#I[Z]),X.unshift([V,q])}return X}load(X){this.clear();for(let[Z,V]of X){if(V.start){let $=Date.now()-V.start;V.start=this.#W.now()-$}this.set(Z,V.value,V)}}set(X,Z,V={}){if(Z===void 0)return this.delete(X),this;let{ttl:$=this.ttl,start:J,noDisposeOnSet:q=this.noDisposeOnSet,sizeCalculation:K=this.sizeCalculation,status:Y}=V,{noUpdateTTL:H=this.noUpdateTTL}=V,j=this.#f(X,Z,V.size||0,K);if(this.maxEntrySize&&j>this.maxEntrySize)return Y&&(Y.set="miss",Y.maxEntrySizeExceeded=!0),this.#N(X,"set"),this;let W=this.#K===0?void 0:this.#j.get(X);if(W===void 0)W=this.#K===0?this.#U:this.#F.length!==0?this.#F.pop():this.#K===this.#Q?this.#h(!1):this.#K,this.#Y[W]=X,this.#V[W]=Z,this.#j.set(X,W),this.#G[this.#U]=W,this.#A[W]=this.#U,this.#U=W,this.#K++,this.#u(W,j,Y),Y&&(Y.set="add"),H=!1,this.#b&&this.#$?.(Z,X,"add");else{this.#y(W);let z=this.#V[W];if(Z!==z){if(this.#O&&this.#H(z)){z.__abortController.abort(Error("replaced"));let{__staleWhileFetching:G}=z;G!==void 0&&!q&&(this.#v&&this.#J?.(G,X,"set"),this.#X&&this.#B?.push([G,X,"set"]))}else q||(this.#v&&this.#J?.(z,X,"set"),this.#X&&this.#B?.push([z,X,"set"]));if(this.#E(W),this.#u(W,j,Y),this.#V[W]=Z,Y){Y.set="replace";let G=z&&this.#H(z)?z.__staleWhileFetching:z;G!==void 0&&(Y.oldValue=G)}}else Y&&(Y.set="update");this.#b&&this.onInsert?.(Z,X,Z===z?"update":"replace")}if($!==0&&!this.#C&&this.#T(),this.#C&&(H||this.#m(W,$,J),Y&&this.#P(Y,W)),!q&&this.#X&&this.#B){let z=this.#B,G;for(;G=z?.shift();)this.#q?.(...G)}return this}pop(){try{for(;this.#K;){let X=this.#V[this.#L];if(this.#h(!0),this.#H(X)){if(X.__staleWhileFetching)return X.__staleWhileFetching}else if(X!==void 0)return X}}finally{if(this.#X&&this.#B){let X=this.#B,Z;for(;Z=X?.shift();)this.#q?.(...Z)}}}#h(X){let Z=this.#L,V=this.#Y[Z],$=this.#V[Z];return this.#O&&this.#H($)?$.__abortController.abort(Error("evicted")):(this.#v||this.#X)&&(this.#v&&this.#J?.($,V,"evict"),this.#X&&this.#B?.push([$,V,"evict"])),this.#E(Z),this.#_?.[Z]&&(clearTimeout(this.#_[Z]),this.#_[Z]=void 0),X&&(this.#Y[Z]=void 0,this.#V[Z]=void 0,this.#F.push(Z)),this.#K===1?(this.#L=this.#U=0,this.#F.length=0):this.#L=this.#G[Z],this.#j.delete(V),this.#K--,Z}has(X,Z={}){let{updateAgeOnHas:V=this.updateAgeOnHas,status:$}=Z,J=this.#j.get(X);if(J!==void 0){let q=this.#V[J];if(this.#H(q)&&q.__staleWhileFetching===void 0)return!1;if(this.#w(J))$&&($.has="stale",this.#P($,J));else return V&&this.#R(J),$&&($.has="hit",this.#P($,J)),!0}else $&&($.has="miss");return!1}peek(X,Z={}){let{allowStale:V=this.allowStale}=Z,$=this.#j.get(X);if($===void 0||!V&&this.#w($))return;let J=this.#V[$];return this.#H(J)?J.__staleWhileFetching:J}#d(X,Z,V,$){let J=Z===void 0?void 0:this.#V[Z];if(this.#H(J))return J;let q=new NQ,{signal:K}=V;K?.addEventListener("abort",()=>q.abort(K.reason),{signal:q.signal});let Y={signal:q.signal,options:V,context:$},H=(U,_=!1)=>{let{aborted:C}=q.signal,M=V.ignoreFetchAbort&&U!==void 0,k=V.ignoreFetchAbort||!!(V.allowStaleOnFetchAbort&&U!==void 0);if(V.status&&(C&&!_?(V.status.fetchAborted=!0,V.status.fetchError=q.signal.reason,M&&(V.status.fetchAbortIgnored=!0)):V.status.fetchResolved=!0),C&&!M&&!_)return W(q.signal.reason,k);let A=G,L=this.#V[Z];return(L===G||M&&_&&L===void 0)&&(U===void 0?A.__staleWhileFetching!==void 0?this.#V[Z]=A.__staleWhileFetching:this.#N(X,"fetch"):(V.status&&(V.status.fetchUpdated=!0),this.set(X,U,Y.options))),U},j=(U)=>(V.status&&(V.status.fetchRejected=!0,V.status.fetchError=U),W(U,!1)),W=(U,_)=>{let{aborted:C}=q.signal,M=C&&V.allowStaleOnFetchAbort,k=M||V.allowStaleOnFetchRejection,A=k||V.noDeleteOnFetchRejection,L=G;if(this.#V[Z]===G&&(!A||!_&&L.__staleWhileFetching===void 0?this.#N(X,"fetch"):M||(this.#V[Z]=L.__staleWhileFetching)),k)return V.status&&L.__staleWhileFetching!==void 0&&(V.status.returnedStale=!0),L.__staleWhileFetching;if(L.__returned===L)throw U},z=(U,_)=>{let C=this.#k?.(X,J,Y);C&&C instanceof Promise&&C.then((M)=>U(M===void 0?void 0:M),_),q.signal.addEventListener("abort",()=>{(!V.ignoreFetchAbort||V.allowStaleOnFetchAbort)&&(U(void 0),V.allowStaleOnFetchAbort&&(U=(M)=>H(M,!0)))})};V.status&&(V.status.fetchDispatched=!0);let G=new Promise(z).then(H,j),B=Object.assign(G,{__abortController:q,__staleWhileFetching:J,__returned:void 0});return Z===void 0?(this.set(X,B,{...Y.options,status:void 0}),Z=this.#j.get(X)):this.#V[Z]=B,B}#H(X){if(!this.#O)return!1;let Z=X;return!!Z&&Z instanceof Promise&&Z.hasOwnProperty("__staleWhileFetching")&&Z.__abortController instanceof NQ}async fetch(X,Z={}){let{allowStale:V=this.allowStale,updateAgeOnGet:$=this.updateAgeOnGet,noDeleteOnStaleGet:J=this.noDeleteOnStaleGet,ttl:q=this.ttl,noDisposeOnSet:K=this.noDisposeOnSet,size:Y=0,sizeCalculation:H=this.sizeCalculation,noUpdateTTL:j=this.noUpdateTTL,noDeleteOnFetchRejection:W=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:z=this.allowStaleOnFetchRejection,ignoreFetchAbort:G=this.ignoreFetchAbort,allowStaleOnFetchAbort:B=this.allowStaleOnFetchAbort,context:U,forceRefresh:_=!1,status:C,signal:M}=Z;if(!this.#O)return C&&(C.fetch="get"),this.get(X,{allowStale:V,updateAgeOnGet:$,noDeleteOnStaleGet:J,status:C});let k={allowStale:V,updateAgeOnGet:$,noDeleteOnStaleGet:J,ttl:q,noDisposeOnSet:K,size:Y,sizeCalculation:H,noUpdateTTL:j,noDeleteOnFetchRejection:W,allowStaleOnFetchRejection:z,allowStaleOnFetchAbort:B,ignoreFetchAbort:G,status:C,signal:M},A=this.#j.get(X);if(A===void 0){C&&(C.fetch="miss");let L=this.#d(X,A,k,U);return L.__returned=L}else{let L=this.#V[A];if(this.#H(L)){let XQ=V&&L.__staleWhileFetching!==void 0;return C&&(C.fetch="inflight",XQ&&(C.returnedStale=!0)),XQ?L.__staleWhileFetching:L.__returned=L}let n=this.#w(A);if(!_&&!n)return C&&(C.fetch="hit"),this.#y(A),$&&this.#R(A),C&&this.#P(C,A),L;let c=this.#d(X,A,k,U),QQ=c.__staleWhileFetching!==void 0&&V;return C&&(C.fetch=n?"stale":"refresh",QQ&&n&&(C.returnedStale=!0)),QQ?c.__staleWhileFetching:c.__returned=c}}async forceFetch(X,Z={}){let V=await this.fetch(X,Z);if(V===void 0)throw Error("fetch() returned undefined");return V}memo(X,Z={}){let V=this.#M;if(!V)throw Error("no memoMethod provided to constructor");let{context:$,forceRefresh:J,...q}=Z,K=this.get(X,q);if(!J&&K!==void 0)return K;let Y=V(X,K,{options:q,context:$});return this.set(X,Y,q),Y}get(X,Z={}){let{allowStale:V=this.allowStale,updateAgeOnGet:$=this.updateAgeOnGet,noDeleteOnStaleGet:J=this.noDeleteOnStaleGet,status:q}=Z,K=this.#j.get(X);if(K!==void 0){let Y=this.#V[K],H=this.#H(Y);return q&&this.#P(q,K),this.#w(K)?(q&&(q.get="stale"),H?(q&&V&&Y.__staleWhileFetching!==void 0&&(q.returnedStale=!0),V?Y.__staleWhileFetching:void 0):(J||this.#N(X,"expire"),q&&V&&(q.returnedStale=!0),V?Y:void 0)):(q&&(q.get="hit"),H?Y.__staleWhileFetching:(this.#y(K),$&&this.#R(K),Y))}else q&&(q.get="miss")}#c(X,Z){this.#A[Z]=X,this.#G[X]=Z}#y(X){X!==this.#U&&(X===this.#L?this.#L=this.#G[X]:this.#c(this.#A[X],this.#G[X]),this.#c(this.#U,X),this.#U=X)}delete(X){return this.#N(X,"delete")}#N(X,Z){let V=!1;if(this.#K!==0){let $=this.#j.get(X);if($!==void 0)if(this.#_?.[$]&&(clearTimeout(this.#_?.[$]),this.#_[$]=void 0),V=!0,this.#K===1)this.#o(Z);else{this.#E($);let J=this.#V[$];if(this.#H(J)?J.__abortController.abort(Error("deleted")):(this.#v||this.#X)&&(this.#v&&this.#J?.(J,X,Z),this.#X&&this.#B?.push([J,X,Z])),this.#j.delete(X),this.#Y[$]=void 0,this.#V[$]=void 0,$===this.#U)this.#U=this.#A[$];else if($===this.#L)this.#L=this.#G[$];else{let q=this.#A[$];this.#G[q]=this.#G[$];let K=this.#G[$];this.#A[K]=this.#A[$]}this.#K--,this.#F.push($)}}if(this.#X&&this.#B?.length){let $=this.#B,J;for(;J=$?.shift();)this.#q?.(...J)}return V}clear(){return this.#o("delete")}#o(X){for(let Z of this.#S({allowStale:!0})){let V=this.#V[Z];if(this.#H(V))V.__abortController.abort(Error("deleted"));else{let $=this.#Y[Z];this.#v&&this.#J?.(V,$,X),this.#X&&this.#B?.push([V,$,X])}}if(this.#j.clear(),this.#V.fill(void 0),this.#Y.fill(void 0),this.#C&&this.#x){this.#C.fill(0),this.#x.fill(0);for(let Z of this.#_??[])Z!==void 0&&clearTimeout(Z);this.#_?.fill(void 0)}if(this.#I&&this.#I.fill(0),this.#L=0,this.#U=0,this.#F.length=0,this.#z=0,this.#K=0,this.#X&&this.#B){let Z=this.#B,V;for(;V=Z?.shift();)this.#q?.(...V)}}};import{posix as d6,win32 as W0}from"node:path";import{fileURLToPath as c6}from"node:url";import{lstatSync as l6,readdir as o6,readdirSync as n6,readlinkSync as i6,realpathSync as p6}from"fs";import*as a6 from"node:fs";import{lstat as r6,readdir as e6,readlink as t6,realpath as Q7}from"node:fs/promises";import{EventEmitter as q0}from"node:events";import n0 from"node:stream";import{StringDecoder as T6}from"node:string_decoder";var d0=typeof process==="object"&&process?process:{stdout:null,stderr:null},P6=(Q)=>!!Q&&typeof Q==="object"&&(Q instanceof r||Q instanceof n0||b6(Q)||u6(Q)),b6=(Q)=>!!Q&&typeof Q==="object"&&Q instanceof q0&&typeof Q.pipe==="function"&&Q.pipe!==n0.Writable.prototype.pipe,u6=(Q)=>!!Q&&typeof Q==="object"&&Q instanceof q0&&typeof Q.write==="function"&&typeof Q.end==="function",l=Symbol("EOF"),o=Symbol("maybeEmitEnd"),p=Symbol("emittedEnd"),DQ=Symbol("emittingEnd"),GQ=Symbol("emittedError"),SQ=Symbol("closed"),c0=Symbol("read"),TQ=Symbol("flush"),l0=Symbol("flushChunk"),m=Symbol("encoding"),VQ=Symbol("decoder"),w=Symbol("flowing"),UQ=Symbol("paused"),$Q=Symbol("resume"),I=Symbol("buffer"),D=Symbol("pipes"),x=Symbol("bufferLength"),X0=Symbol("bufferPush"),PQ=Symbol("bufferShift"),F=Symbol("objectMode"),v=Symbol("destroyed"),Z0=Symbol("error"),V0=Symbol("emitData"),o0=Symbol("emitEnd"),$0=Symbol("emitEnd2"),g=Symbol("async"),J0=Symbol("abort"),bQ=Symbol("aborted"),BQ=Symbol("signal"),s=Symbol("dataListeners"),T=Symbol("discarded"),CQ=(Q)=>Promise.resolve().then(Q),y6=(Q)=>Q(),E6=(Q)=>Q==="end"||Q==="finish"||Q==="prefinish",m6=(Q)=>Q instanceof ArrayBuffer||!!Q&&typeof Q==="object"&&Q.constructor&&Q.constructor.name==="ArrayBuffer"&&Q.byteLength>=0,f6=(Q)=>!Buffer.isBuffer(Q)&&ArrayBuffer.isView(Q);class K0{src;dest;opts;ondrain;constructor(Q,X,Z){this.src=Q,this.dest=X,this.opts=Z,this.ondrain=()=>Q[$Q](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(Q){}end(){if(this.unpipe(),this.opts.end)this.dest.end()}}class i0 extends K0{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(Q,X,Z){super(Q,X,Z);this.proxyErrors=(V)=>this.dest.emit("error",V),Q.on("error",this.proxyErrors)}}var g6=(Q)=>!!Q.objectMode,h6=(Q)=>!Q.objectMode&&!!Q.encoding&&Q.encoding!=="buffer";class r extends q0{[w]=!1;[UQ]=!1;[D]=[];[I]=[];[F];[m];[g];[VQ];[l]=!1;[p]=!1;[DQ]=!1;[SQ]=!1;[GQ]=null;[x]=0;[v]=!1;[BQ];[bQ]=!1;[s]=0;[T]=!1;writable=!0;readable=!0;constructor(...Q){let X=Q[0]||{};super();if(X.objectMode&&typeof X.encoding==="string")throw TypeError("Encoding and objectMode may not be used together");if(g6(X))this[F]=!0,this[m]=null;else if(h6(X))this[m]=X.encoding,this[F]=!1;else this[F]=!1,this[m]=null;if(this[g]=!!X.async,this[VQ]=this[m]?new T6(this[m]):null,X&&X.debugExposeBuffer===!0)Object.defineProperty(this,"buffer",{get:()=>this[I]});if(X&&X.debugExposePipes===!0)Object.defineProperty(this,"pipes",{get:()=>this[D]});let{signal:Z}=X;if(Z)if(this[BQ]=Z,Z.aborted)this[J0]();else Z.addEventListener("abort",()=>this[J0]())}get bufferLength(){return this[x]}get encoding(){return this[m]}set encoding(Q){throw Error("Encoding must be set at instantiation time")}setEncoding(Q){throw Error("Encoding must be set at instantiation time")}get objectMode(){return this[F]}set objectMode(Q){throw Error("objectMode must be set at instantiation time")}get["async"](){return this[g]}set["async"](Q){this[g]=this[g]||!!Q}[J0](){this[bQ]=!0,this.emit("abort",this[BQ]?.reason),this.destroy(this[BQ]?.reason)}get aborted(){return this[bQ]}set aborted(Q){}write(Q,X,Z){if(this[bQ])return!1;if(this[l])throw Error("write after end");if(this[v])return this.emit("error",Object.assign(Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;if(typeof X==="function")Z=X,X="utf8";if(!X)X="utf8";let V=this[g]?CQ:y6;if(!this[F]&&!Buffer.isBuffer(Q)){if(f6(Q))Q=Buffer.from(Q.buffer,Q.byteOffset,Q.byteLength);else if(m6(Q))Q=Buffer.from(Q);else if(typeof Q!=="string")throw Error("Non-contiguous data written to non-objectMode stream")}if(this[F]){if(this[w]&&this[x]!==0)this[TQ](!0);if(this[w])this.emit("data",Q);else this[X0](Q);if(this[x]!==0)this.emit("readable");if(Z)V(Z);return this[w]}if(!Q.length){if(this[x]!==0)this.emit("readable");if(Z)V(Z);return this[w]}if(typeof Q==="string"&&!(X===this[m]&&!this[VQ]?.lastNeed))Q=Buffer.from(Q,X);if(Buffer.isBuffer(Q)&&this[m])Q=this[VQ].write(Q);if(this[w]&&this[x]!==0)this[TQ](!0);if(this[w])this.emit("data",Q);else this[X0](Q);if(this[x]!==0)this.emit("readable");if(Z)V(Z);return this[w]}read(Q){if(this[v])return null;if(this[T]=!1,this[x]===0||Q===0||Q&&Q>this[x])return this[o](),null;if(this[F])Q=null;if(this[I].length>1&&!this[F])this[I]=[this[m]?this[I].join(""):Buffer.concat(this[I],this[x])];let X=this[c0](Q||null,this[I][0]);return this[o](),X}[c0](Q,X){if(this[F])this[PQ]();else{let Z=X;if(Q===Z.length||Q===null)this[PQ]();else if(typeof Z==="string")this[I][0]=Z.slice(Q),X=Z.slice(0,Q),this[x]-=Q;else this[I][0]=Z.subarray(Q),X=Z.subarray(0,Q),this[x]-=Q}if(this.emit("data",X),!this[I].length&&!this[l])this.emit("drain");return X}end(Q,X,Z){if(typeof Q==="function")Z=Q,Q=void 0;if(typeof X==="function")Z=X,X="utf8";if(Q!==void 0)this.write(Q,X);if(Z)this.once("end",Z);if(this[l]=!0,this.writable=!1,this[w]||!this[UQ])this[o]();return this}[$Q](){if(this[v])return;if(!this[s]&&!this[D].length)this[T]=!0;if(this[UQ]=!1,this[w]=!0,this.emit("resume"),this[I].length)this[TQ]();else if(this[l])this[o]();else this.emit("drain")}resume(){return this[$Q]()}pause(){this[w]=!1,this[UQ]=!0,this[T]=!1}get destroyed(){return this[v]}get flowing(){return this[w]}get paused(){return this[UQ]}[X0](Q){if(this[F])this[x]+=1;else this[x]+=Q.length;this[I].push(Q)}[PQ](){if(this[F])this[x]-=1;else this[x]-=this[I][0].length;return this[I].shift()}[TQ](Q=!1){do;while(this[l0](this[PQ]())&&this[I].length);if(!Q&&!this[I].length&&!this[l])this.emit("drain")}[l0](Q){return this.emit("data",Q),this[w]}pipe(Q,X){if(this[v])return Q;this[T]=!1;let Z=this[p];if(X=X||{},Q===d0.stdout||Q===d0.stderr)X.end=!1;else X.end=X.end!==!1;if(X.proxyErrors=!!X.proxyErrors,Z){if(X.end)Q.end()}else if(this[D].push(!X.proxyErrors?new K0(this,Q,X):new i0(this,Q,X)),this[g])CQ(()=>this[$Q]());else this[$Q]();return Q}unpipe(Q){let X=this[D].find((Z)=>Z.dest===Q);if(X){if(this[D].length===1){if(this[w]&&this[s]===0)this[w]=!1;this[D]=[]}else this[D].splice(this[D].indexOf(X),1);X.unpipe()}}addListener(Q,X){return this.on(Q,X)}on(Q,X){let Z=super.on(Q,X);if(Q==="data"){if(this[T]=!1,this[s]++,!this[D].length&&!this[w])this[$Q]()}else if(Q==="readable"&&this[x]!==0)super.emit("readable");else if(E6(Q)&&this[p])super.emit(Q),this.removeAllListeners(Q);else if(Q==="error"&&this[GQ]){let V=X;if(this[g])CQ(()=>V.call(this,this[GQ]));else V.call(this,this[GQ])}return Z}removeListener(Q,X){return this.off(Q,X)}off(Q,X){let Z=super.off(Q,X);if(Q==="data"){if(this[s]=this.listeners("data").length,this[s]===0&&!this[T]&&!this[D].length)this[w]=!1}return Z}removeAllListeners(Q){let X=super.removeAllListeners(Q);if(Q==="data"||Q===void 0){if(this[s]=0,!this[T]&&!this[D].length)this[w]=!1}return X}get emittedEnd(){return this[p]}[o](){if(!this[DQ]&&!this[p]&&!this[v]&&this[I].length===0&&this[l]){if(this[DQ]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[SQ])this.emit("close");this[DQ]=!1}}emit(Q,...X){let Z=X[0];if(Q!=="error"&&Q!=="close"&&Q!==v&&this[v])return!1;else if(Q==="data")return!this[F]&&!Z?!1:this[g]?(CQ(()=>this[V0](Z)),!0):this[V0](Z);else if(Q==="end")return this[o0]();else if(Q==="close"){if(this[SQ]=!0,!this[p]&&!this[v])return!1;let $=super.emit("close");return this.removeAllListeners("close"),$}else if(Q==="error"){this[GQ]=Z,super.emit(Z0,Z);let $=!this[BQ]||this.listeners("error").length?super.emit("error",Z):!1;return this[o](),$}else if(Q==="resume"){let $=super.emit("resume");return this[o](),$}else if(Q==="finish"||Q==="prefinish"){let $=super.emit(Q);return this.removeAllListeners(Q),$}let V=super.emit(Q,...X);return this[o](),V}[V0](Q){for(let Z of this[D])if(Z.dest.write(Q)===!1)this.pause();let X=this[T]?!1:super.emit("data",Q);return this[o](),X}[o0](){if(this[p])return!1;return this[p]=!0,this.readable=!1,this[g]?(CQ(()=>this[$0]()),!0):this[$0]()}[$0](){if(this[VQ]){let X=this[VQ].end();if(X){for(let Z of this[D])Z.dest.write(X);if(!this[T])super.emit("data",X)}}for(let X of this[D])X.end();let Q=super.emit("end");return this.removeAllListeners("end"),Q}async collect(){let Q=Object.assign([],{dataLength:0});if(!this[F])Q.dataLength=0;let X=this.promise();return this.on("data",(Z)=>{if(Q.push(Z),!this[F])Q.dataLength+=Z.length}),await X,Q}async concat(){if(this[F])throw Error("cannot concat in objectMode");let Q=await this.collect();return this[m]?Q.join(""):Buffer.concat(Q,Q.dataLength)}async promise(){return new Promise((Q,X)=>{this.on(v,()=>X(Error("stream destroyed"))),this.on("error",(Z)=>X(Z)),this.on("end",()=>Q())})}[Symbol.asyncIterator](){this[T]=!1;let Q=!1,X=async()=>{return this.pause(),Q=!0,{value:void 0,done:!0}};return{next:()=>{if(Q)return X();let V=this.read();if(V!==null)return Promise.resolve({done:!1,value:V});if(this[l])return X();let $,J,q=(j)=>{this.off("data",K),this.off("end",Y),this.off(v,H),X(),J(j)},K=(j)=>{this.off("error",q),this.off("end",Y),this.off(v,H),this.pause(),$({value:j,done:!!this[l]})},Y=()=>{this.off("error",q),this.off("data",K),this.off(v,H),X(),$({done:!0,value:void 0})},H=()=>q(Error("stream destroyed"));return new Promise((j,W)=>{J=W,$=j,this.once(v,H),this.once("error",q),this.once("end",Y),this.once("data",K)})},throw:X,return:X,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[T]=!1;let Q=!1,X=()=>{return this.pause(),this.off(Z0,X),this.off(v,X),this.off("end",X),Q=!0,{done:!0,value:void 0}},Z=()=>{if(Q)return X();let V=this.read();return V===null?X():{done:!1,value:V}};return this.once("end",X),this.once(Z0,X),this.once(v,X),{next:Z,throw:X,return:X,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(Q){if(this[v]){if(Q)this.emit("error",Q);else this.emit(v);return this}this[v]=!0,this[T]=!0,this[I].length=0,this[x]=0;let X=this;if(typeof X.close==="function"&&!this[SQ])X.close();if(Q)this.emit("error",Q);else this.emit(v);return this}static get isStream(){return P6}}var s6=p6.native,_Q={lstatSync:l6,readdir:o6,readdirSync:n6,readlinkSync:i6,realpathSync:s6,promises:{lstat:r6,readdir:e6,readlink:t6,realpath:Q7}},e0=(Q)=>!Q||Q===_Q||Q===a6?_Q:{..._Q,...Q,promises:{..._Q.promises,...Q.promises||{}}},t0=/^\\\\\?\\([a-z]:)\\?$/i,X7=(Q)=>Q.replace(/\//g,"\\").replace(t0,"$1\\"),Z7=/[\\\/]/,y=0,Q5=1,X5=2,h=4,Z5=6,V5=8,e=10,$5=12,u=15,MQ=~u,Y0=16,p0=32,LQ=64,f=128,uQ=256,EQ=512,a0=LQ|f|EQ,V7=1023,H0=(Q)=>Q.isFile()?V5:Q.isDirectory()?h:Q.isSymbolicLink()?e:Q.isCharacterDevice()?X5:Q.isBlockDevice()?Z5:Q.isSocket()?$5:Q.isFIFO()?Q5:y,s0=new zQ({max:4096}),kQ=(Q)=>{let X=s0.get(Q);if(X)return X;let Z=Q.normalize("NFKD");return s0.set(Q,Z),Z},r0=new zQ({max:4096}),yQ=(Q)=>{let X=r0.get(Q);if(X)return X;let Z=kQ(Q.toLowerCase());return r0.set(Q,Z),Z};class j0 extends zQ{constructor(){super({max:256})}}class J5 extends zQ{constructor(Q=16384){super({maxSize:Q,sizeCalculation:(X)=>X.length+1})}}var q5=Symbol("PathScurry setAsCwd");class S{name;root;roots;parent;nocase;isCWD=!1;#Q;#Z;get dev(){return this.#Z}#J;get mode(){return this.#J}#$;get nlink(){return this.#$}#q;get uid(){return this.#q}#k;get gid(){return this.#k}#M;get rdev(){return this.#M}#W;get blksize(){return this.#W}#K;get ino(){return this.#K}#z;get size(){return this.#z}#j;get blocks(){return this.#j}#Y;get atimeMs(){return this.#Y}#V;get mtimeMs(){return this.#V}#G;get ctimeMs(){return this.#G}#A;get birthtimeMs(){return this.#A}#L;get atime(){return this.#L}#U;get mtime(){return this.#U}#F;get ctime(){return this.#F}#B;get birthtime(){return this.#B}#I;#x;#C;#_;#v;#O;#X;#b;#T;#R;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(Q,X=y,Z,V,$,J,q){if(this.name=Q,this.#I=$?yQ(Q):kQ(Q),this.#X=X&V7,this.nocase=$,this.roots=V,this.root=Z||this,this.#b=J,this.#C=q.fullpath,this.#v=q.relative,this.#O=q.relativePosix,this.parent=q.parent,this.parent)this.#Q=this.parent.#Q;else this.#Q=e0(q.fs)}depth(){if(this.#x!==void 0)return this.#x;if(!this.parent)return this.#x=0;return this.#x=this.parent.depth()+1}childrenCache(){return this.#b}resolve(Q){if(!Q)return this;let X=this.getRootString(Q),V=Q.substring(X.length).split(this.splitSep);return X?this.getRoot(X).#P(V):this.#P(V)}#P(Q){let X=this;for(let Z of Q)X=X.child(Z);return X}children(){let Q=this.#b.get(this);if(Q)return Q;let X=Object.assign([],{provisional:0});return this.#b.set(this,X),this.#X&=~Y0,X}child(Q,X){if(Q===""||Q===".")return this;if(Q==="..")return this.parent||this;let Z=this.children(),V=this.nocase?yQ(Q):kQ(Q);for(let K of Z)if(K.#I===V)return K;let $=this.parent?this.sep:"",J=this.#C?this.#C+$+Q:void 0,q=this.newChild(Q,y,{...X,parent:this,fullpath:J});if(!this.canReaddir())q.#X|=f;return Z.push(q),q}relative(){if(this.isCWD)return"";if(this.#v!==void 0)return this.#v;let Q=this.name,X=this.parent;if(!X)return this.#v=this.name;let Z=X.relative();return Z+(!Z||!X.parent?"":this.sep)+Q}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#O!==void 0)return this.#O;let Q=this.name,X=this.parent;if(!X)return this.#O=this.fullpathPosix();let Z=X.relativePosix();return Z+(!Z||!X.parent?"":"/")+Q}fullpath(){if(this.#C!==void 0)return this.#C;let Q=this.name,X=this.parent;if(!X)return this.#C=this.name;let V=X.fullpath()+(!X.parent?"":this.sep)+Q;return this.#C=V}fullpathPosix(){if(this.#_!==void 0)return this.#_;if(this.sep==="/")return this.#_=this.fullpath();if(!this.parent){let V=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(V))return this.#_=`//?/${V}`;else return this.#_=V}let Q=this.parent,X=Q.fullpathPosix(),Z=X+(!X||!Q.parent?"":"/")+this.name;return this.#_=Z}isUnknown(){return(this.#X&u)===y}isType(Q){return this[`is${Q}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#X&u)===V5}isDirectory(){return(this.#X&u)===h}isCharacterDevice(){return(this.#X&u)===X5}isBlockDevice(){return(this.#X&u)===Z5}isFIFO(){return(this.#X&u)===Q5}isSocket(){return(this.#X&u)===$5}isSymbolicLink(){return(this.#X&e)===e}lstatCached(){return this.#X&p0?this:void 0}readlinkCached(){return this.#T}realpathCached(){return this.#R}readdirCached(){let Q=this.children();return Q.slice(0,Q.provisional)}canReadlink(){if(this.#T)return!0;if(!this.parent)return!1;let Q=this.#X&u;return!(Q!==y&&Q!==e||this.#X&uQ||this.#X&f)}calledReaddir(){return!!(this.#X&Y0)}isENOENT(){return!!(this.#X&f)}isNamed(Q){return!this.nocase?this.#I===kQ(Q):this.#I===yQ(Q)}async readlink(){let Q=this.#T;if(Q)return Q;if(!this.canReadlink())return;if(!this.parent)return;try{let X=await this.#Q.promises.readlink(this.fullpath()),Z=(await this.parent.realpath())?.resolve(X);if(Z)return this.#T=Z}catch(X){this.#S(X.code);return}}readlinkSync(){let Q=this.#T;if(Q)return Q;if(!this.canReadlink())return;if(!this.parent)return;try{let X=this.#Q.readlinkSync(this.fullpath()),Z=this.parent.realpathSync()?.resolve(X);if(Z)return this.#T=Z}catch(X){this.#S(X.code);return}}#m(Q){this.#X|=Y0;for(let X=Q.provisional;X<Q.length;X++){let Z=Q[X];if(Z)Z.#w()}}#w(){if(this.#X&f)return;this.#X=(this.#X|f)&MQ,this.#l()}#l(){let Q=this.children();Q.provisional=0;for(let X of Q)X.#w()}#E(){this.#X|=EQ,this.#u()}#u(){if(this.#X&LQ)return;let Q=this.#X;if((Q&u)===h)Q&=MQ;this.#X=Q|LQ,this.#l()}#f(Q=""){if(Q==="ENOTDIR"||Q==="EPERM")this.#u();else if(Q==="ENOENT")this.#w();else this.children().provisional=0}#D(Q=""){if(Q==="ENOTDIR")this.parent.#u();else if(Q==="ENOENT")this.#w()}#S(Q=""){let X=this.#X;if(X|=uQ,Q==="ENOENT")X|=f;if(Q==="EINVAL"||Q==="UNKNOWN")X&=MQ;if(this.#X=X,Q==="ENOTDIR"&&this.parent)this.parent.#u()}#g(Q,X){return this.#d(Q,X)||this.#h(Q,X)}#h(Q,X){let Z=H0(Q),V=this.newChild(Q.name,Z,{parent:this}),$=V.#X&u;if($!==h&&$!==e&&$!==y)V.#X|=LQ;return X.unshift(V),X.provisional++,V}#d(Q,X){for(let Z=X.provisional;Z<X.length;Z++){let V=X[Z];if((this.nocase?yQ(Q.name):kQ(Q.name))!==V.#I)continue;return this.#H(Q,V,Z,X)}}#H(Q,X,Z,V){let $=X.name;if(X.#X=X.#X&MQ|H0(Q),$!==Q.name)X.name=Q.name;if(Z!==V.provisional){if(Z===V.length-1)V.pop();else V.splice(Z,1);V.unshift(X)}return V.provisional++,X}async lstat(){if((this.#X&f)===0)try{return this.#c(await this.#Q.promises.lstat(this.fullpath())),this}catch(Q){this.#D(Q.code)}}lstatSync(){if((this.#X&f)===0)try{return this.#c(this.#Q.lstatSync(this.fullpath())),this}catch(Q){this.#D(Q.code)}}#c(Q){let{atime:X,atimeMs:Z,birthtime:V,birthtimeMs:$,blksize:J,blocks:q,ctime:K,ctimeMs:Y,dev:H,gid:j,ino:W,mode:z,mtime:G,mtimeMs:B,nlink:U,rdev:_,size:C,uid:M}=Q;this.#L=X,this.#Y=Z,this.#B=V,this.#A=$,this.#W=J,this.#j=q,this.#F=K,this.#G=Y,this.#Z=H,this.#k=j,this.#K=W,this.#J=z,this.#U=G,this.#V=B,this.#$=U,this.#M=_,this.#z=C,this.#q=M;let k=H0(Q);if(this.#X=this.#X&MQ|k|p0,k!==y&&k!==h&&k!==e)this.#X|=LQ}#y=[];#N=!1;#o(Q){this.#N=!1;let X=this.#y.slice();this.#y.length=0,X.forEach((Z)=>Z(null,Q))}readdirCB(Q,X=!1){if(!this.canReaddir()){if(X)Q(null,[]);else queueMicrotask(()=>Q(null,[]));return}let Z=this.children();if(this.calledReaddir()){let $=Z.slice(0,Z.provisional);if(X)Q(null,$);else queueMicrotask(()=>Q(null,$));return}if(this.#y.push(Q),this.#N)return;this.#N=!0;let V=this.fullpath();this.#Q.readdir(V,{withFileTypes:!0},($,J)=>{if($)this.#f($.code),Z.provisional=0;else{for(let q of J)this.#g(q,Z);this.#m(Z)}this.#o(Z.slice(0,Z.provisional));return})}#n;async readdir(){if(!this.canReaddir())return[];let Q=this.children();if(this.calledReaddir())return Q.slice(0,Q.provisional);let X=this.fullpath();if(this.#n)await this.#n;else{let Z=()=>{};this.#n=new Promise((V)=>Z=V);try{for(let V of await this.#Q.promises.readdir(X,{withFileTypes:!0}))this.#g(V,Q);this.#m(Q)}catch(V){this.#f(V.code),Q.provisional=0}this.#n=void 0,Z()}return Q.slice(0,Q.provisional)}readdirSync(){if(!this.canReaddir())return[];let Q=this.children();if(this.calledReaddir())return Q.slice(0,Q.provisional);let X=this.fullpath();try{for(let Z of this.#Q.readdirSync(X,{withFileTypes:!0}))this.#g(Z,Q);this.#m(Q)}catch(Z){this.#f(Z.code),Q.provisional=0}return Q.slice(0,Q.provisional)}canReaddir(){if(this.#X&a0)return!1;let Q=u&this.#X;if(!(Q===y||Q===h||Q===e))return!1;return!0}shouldWalk(Q,X){return(this.#X&h)===h&&!(this.#X&a0)&&!Q.has(this)&&(!X||X(this))}async realpath(){if(this.#R)return this.#R;if((EQ|uQ|f)&this.#X)return;try{let Q=await this.#Q.promises.realpath(this.fullpath());return this.#R=this.resolve(Q)}catch(Q){this.#E()}}realpathSync(){if(this.#R)return this.#R;if((EQ|uQ|f)&this.#X)return;try{let Q=this.#Q.realpathSync(this.fullpath());return this.#R=this.resolve(Q)}catch(Q){this.#E()}}[q5](Q){if(Q===this)return;Q.isCWD=!1,this.isCWD=!0;let X=new Set([]),Z=[],V=this;while(V&&V.parent)X.add(V),V.#v=Z.join(this.sep),V.#O=Z.join("/"),V=V.parent,Z.push("..");V=Q;while(V&&V.parent&&!X.has(V))V.#v=void 0,V.#O=void 0,V=V.parent}}class mQ extends S{sep="\\";splitSep=Z7;constructor(Q,X=y,Z,V,$,J,q){super(Q,X,Z,V,$,J,q)}newChild(Q,X=y,Z={}){return new mQ(Q,X,this.root,this.roots,this.nocase,this.childrenCache(),Z)}getRootString(Q){return W0.parse(Q).root}getRoot(Q){if(Q=X7(Q.toUpperCase()),Q===this.root.name)return this.root;for(let[X,Z]of Object.entries(this.roots))if(this.sameRoot(Q,X))return this.roots[Q]=Z;return this.roots[Q]=new AQ(Q,this).root}sameRoot(Q,X=this.root.name){return Q=Q.toUpperCase().replace(/\//g,"\\").replace(t0,"$1\\"),Q===X}}class fQ extends S{splitSep="/";sep="/";constructor(Q,X=y,Z,V,$,J,q){super(Q,X,Z,V,$,J,q)}getRootString(Q){return Q.startsWith("/")?"/":""}getRoot(Q){return this.root}newChild(Q,X=y,Z={}){return new fQ(Q,X,this.root,this.roots,this.nocase,this.childrenCache(),Z)}}class z0{root;rootPath;roots;cwd;#Q;#Z;#J;nocase;#$;constructor(Q=process.cwd(),X,Z,{nocase:V,childrenCacheSize:$=16384,fs:J=_Q}={}){if(this.#$=e0(J),Q instanceof URL||Q.startsWith("file://"))Q=c6(Q);let q=X.resolve(Q);this.roots=Object.create(null),this.rootPath=this.parseRootPath(q),this.#Q=new j0,this.#Z=new j0,this.#J=new J5($);let K=q.substring(this.rootPath.length).split(Z);if(K.length===1&&!K[0])K.pop();if(V===void 0)throw TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=V,this.root=this.newRoot(this.#$),this.roots[this.rootPath]=this.root;let Y=this.root,H=K.length-1,j=X.sep,W=this.rootPath,z=!1;for(let G of K){let B=H--;Y=Y.child(G,{relative:Array(B).fill("..").join(j),relativePosix:Array(B).fill("..").join("/"),fullpath:W+=(z?"":j)+G}),z=!0}this.cwd=Y}depth(Q=this.cwd){if(typeof Q==="string")Q=this.cwd.resolve(Q);return Q.depth()}childrenCache(){return this.#J}resolve(...Q){let X="";for(let $=Q.length-1;$>=0;$--){let J=Q[$];if(!J||J===".")continue;if(X=X?`${J}/${X}`:J,this.isAbsolute(J))break}let Z=this.#Q.get(X);if(Z!==void 0)return Z;let V=this.cwd.resolve(X).fullpath();return this.#Q.set(X,V),V}resolvePosix(...Q){let X="";for(let $=Q.length-1;$>=0;$--){let J=Q[$];if(!J||J===".")continue;if(X=X?`${J}/${X}`:J,this.isAbsolute(J))break}let Z=this.#Z.get(X);if(Z!==void 0)return Z;let V=this.cwd.resolve(X).fullpathPosix();return this.#Z.set(X,V),V}relative(Q=this.cwd){if(typeof Q==="string")Q=this.cwd.resolve(Q);return Q.relative()}relativePosix(Q=this.cwd){if(typeof Q==="string")Q=this.cwd.resolve(Q);return Q.relativePosix()}basename(Q=this.cwd){if(typeof Q==="string")Q=this.cwd.resolve(Q);return Q.name}dirname(Q=this.cwd){if(typeof Q==="string")Q=this.cwd.resolve(Q);return(Q.parent||Q).fullpath()}async readdir(Q=this.cwd,X={withFileTypes:!0}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q,Q=this.cwd;let{withFileTypes:Z}=X;if(!Q.canReaddir())return[];else{let V=await Q.readdir();return Z?V:V.map(($)=>$.name)}}readdirSync(Q=this.cwd,X={withFileTypes:!0}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q,Q=this.cwd;let{withFileTypes:Z=!0}=X;if(!Q.canReaddir())return[];else if(Z)return Q.readdirSync();else return Q.readdirSync().map((V)=>V.name)}async lstat(Q=this.cwd){if(typeof Q==="string")Q=this.cwd.resolve(Q);return Q.lstat()}lstatSync(Q=this.cwd){if(typeof Q==="string")Q=this.cwd.resolve(Q);return Q.lstatSync()}async readlink(Q=this.cwd,{withFileTypes:X}={withFileTypes:!1}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q.withFileTypes,Q=this.cwd;let Z=await Q.readlink();return X?Z:Z?.fullpath()}readlinkSync(Q=this.cwd,{withFileTypes:X}={withFileTypes:!1}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q.withFileTypes,Q=this.cwd;let Z=Q.readlinkSync();return X?Z:Z?.fullpath()}async realpath(Q=this.cwd,{withFileTypes:X}={withFileTypes:!1}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q.withFileTypes,Q=this.cwd;let Z=await Q.realpath();return X?Z:Z?.fullpath()}realpathSync(Q=this.cwd,{withFileTypes:X}={withFileTypes:!1}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q.withFileTypes,Q=this.cwd;let Z=Q.realpathSync();return X?Z:Z?.fullpath()}async walk(Q=this.cwd,X={}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q,Q=this.cwd;let{withFileTypes:Z=!0,follow:V=!1,filter:$,walkFilter:J}=X,q=[];if(!$||$(Q))q.push(Z?Q:Q.fullpath());let K=new Set,Y=(j,W)=>{K.add(j),j.readdirCB((z,G)=>{if(z)return W(z);let B=G.length;if(!B)return W();let U=()=>{if(--B===0)W()};for(let _ of G){if(!$||$(_))q.push(Z?_:_.fullpath());if(V&&_.isSymbolicLink())_.realpath().then((C)=>C?.isUnknown()?C.lstat():C).then((C)=>C?.shouldWalk(K,J)?Y(C,U):U());else if(_.shouldWalk(K,J))Y(_,U);else U()}},!0)},H=Q;return new Promise((j,W)=>{Y(H,(z)=>{if(z)return W(z);j(q)})})}walkSync(Q=this.cwd,X={}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q,Q=this.cwd;let{withFileTypes:Z=!0,follow:V=!1,filter:$,walkFilter:J}=X,q=[];if(!$||$(Q))q.push(Z?Q:Q.fullpath());let K=new Set([Q]);for(let Y of K){let H=Y.readdirSync();for(let j of H){if(!$||$(j))q.push(Z?j:j.fullpath());let W=j;if(j.isSymbolicLink()){if(!(V&&(W=j.realpathSync())))continue;if(W.isUnknown())W.lstatSync()}if(W.shouldWalk(K,J))K.add(W)}}return q}[Symbol.asyncIterator](){return this.iterate()}iterate(Q=this.cwd,X={}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q,Q=this.cwd;return this.stream(Q,X)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(Q=this.cwd,X={}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q,Q=this.cwd;let{withFileTypes:Z=!0,follow:V=!1,filter:$,walkFilter:J}=X;if(!$||$(Q))yield Z?Q:Q.fullpath();let q=new Set([Q]);for(let K of q){let Y=K.readdirSync();for(let H of Y){if(!$||$(H))yield Z?H:H.fullpath();let j=H;if(H.isSymbolicLink()){if(!(V&&(j=H.realpathSync())))continue;if(j.isUnknown())j.lstatSync()}if(j.shouldWalk(q,J))q.add(j)}}}stream(Q=this.cwd,X={}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q,Q=this.cwd;let{withFileTypes:Z=!0,follow:V=!1,filter:$,walkFilter:J}=X,q=new r({objectMode:!0});if(!$||$(Q))q.write(Z?Q:Q.fullpath());let K=new Set,Y=[Q],H=0,j=()=>{let W=!1;while(!W){let z=Y.shift();if(!z){if(H===0)q.end();return}H++,K.add(z);let G=(U,_,C=!1)=>{if(U)return q.emit("error",U);if(V&&!C){let M=[];for(let k of _)if(k.isSymbolicLink())M.push(k.realpath().then((A)=>A?.isUnknown()?A.lstat():A));if(M.length){Promise.all(M).then(()=>G(null,_,!0));return}}for(let M of _)if(M&&(!$||$(M))){if(!q.write(Z?M:M.fullpath()))W=!0}H--;for(let M of _){let k=M.realpathCached()||M;if(k.shouldWalk(K,J))Y.push(k)}if(W&&!q.flowing)q.once("drain",j);else if(!B)j()},B=!0;z.readdirCB(G,!0),B=!1}};return j(),q}streamSync(Q=this.cwd,X={}){if(typeof Q==="string")Q=this.cwd.resolve(Q);else if(!(Q instanceof S))X=Q,Q=this.cwd;let{withFileTypes:Z=!0,follow:V=!1,filter:$,walkFilter:J}=X,q=new r({objectMode:!0}),K=new Set;if(!$||$(Q))q.write(Z?Q:Q.fullpath());let Y=[Q],H=0,j=()=>{let W=!1;while(!W){let z=Y.shift();if(!z){if(H===0)q.end();return}H++,K.add(z);let G=z.readdirSync();for(let B of G)if(!$||$(B)){if(!q.write(Z?B:B.fullpath()))W=!0}H--;for(let B of G){let U=B;if(B.isSymbolicLink()){if(!(V&&(U=B.realpathSync())))continue;if(U.isUnknown())U.lstatSync()}if(U.shouldWalk(K,J))Y.push(U)}}if(W&&!q.flowing)q.once("drain",j)};return j(),q}chdir(Q=this.cwd){let X=this.cwd;this.cwd=typeof Q==="string"?this.cwd.resolve(Q):Q,this.cwd[q5](X)}}class AQ extends z0{sep="\\";constructor(Q=process.cwd(),X={}){let{nocase:Z=!0}=X;super(Q,W0,"\\",{...X,nocase:Z});this.nocase=Z;for(let V=this.cwd;V;V=V.parent)V.nocase=this.nocase}parseRootPath(Q){return W0.parse(Q).root.toUpperCase()}newRoot(Q){return new mQ(this.rootPath,h,void 0,this.roots,this.nocase,this.childrenCache(),{fs:Q})}isAbsolute(Q){return Q.startsWith("/")||Q.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(Q)}}class vQ extends z0{sep="/";constructor(Q=process.cwd(),X={}){let{nocase:Z=!1}=X;super(Q,d6,"/",{...X,nocase:Z});this.nocase=Z}parseRootPath(Q){return"/"}newRoot(Q){return new fQ(this.rootPath,h,void 0,this.roots,this.nocase,this.childrenCache(),{fs:Q})}isAbsolute(Q){return Q.startsWith("/")}}class gQ extends vQ{constructor(Q=process.cwd(),X={}){let{nocase:Z=!0}=X;super(Q,{...X,nocase:Z})}}var w8=process.platform==="win32"?mQ:fQ,K5=process.platform==="win32"?AQ:process.platform==="darwin"?gQ:vQ;var $7=(Q)=>Q.length>=1,J7=(Q)=>Q.length>=1;class JQ{#Q;#Z;#J;length;#$;#q;#k;#M;#W;#K;#z=!0;constructor(Q,X,Z,V){if(!$7(Q))throw TypeError("empty pattern list");if(!J7(X))throw TypeError("empty glob list");if(X.length!==Q.length)throw TypeError("mismatched pattern list and glob list lengths");if(this.length=Q.length,Z<0||Z>=this.length)throw TypeError("index out of range");if(this.#Q=Q,this.#Z=X,this.#J=Z,this.#$=V,this.#J===0){if(this.isUNC()){let[$,J,q,K,...Y]=this.#Q,[H,j,W,z,...G]=this.#Z;if(Y[0]==="")Y.shift(),G.shift();let B=[$,J,q,K,""].join("/"),U=[H,j,W,z,""].join("/");this.#Q=[B,...Y],this.#Z=[U,...G],this.length=this.#Q.length}else if(this.isDrive()||this.isAbsolute()){let[$,...J]=this.#Q,[q,...K]=this.#Z;if(J[0]==="")J.shift(),K.shift();let Y=$+"/",H=q+"/";this.#Q=[Y,...J],this.#Z=[H,...K],this.length=this.#Q.length}}}pattern(){return this.#Q[this.#J]}isString(){return typeof this.#Q[this.#J]==="string"}isGlobstar(){return this.#Q[this.#J]===R}isRegExp(){return this.#Q[this.#J]instanceof RegExp}globString(){return this.#k=this.#k||(this.#J===0?this.isAbsolute()?this.#Z[0]+this.#Z.slice(1).join("/"):this.#Z.join("/"):this.#Z.slice(this.#J).join("/"))}hasMore(){return this.length>this.#J+1}rest(){if(this.#q!==void 0)return this.#q;if(!this.hasMore())return this.#q=null;return this.#q=new JQ(this.#Q,this.#Z,this.#J+1,this.#$),this.#q.#K=this.#K,this.#q.#W=this.#W,this.#q.#M=this.#M,this.#q}isUNC(){let Q=this.#Q;return this.#W!==void 0?this.#W:this.#W=this.#$==="win32"&&this.#J===0&&Q[0]===""&&Q[1]===""&&typeof Q[2]==="string"&&!!Q[2]&&typeof Q[3]==="string"&&!!Q[3]}isDrive(){let Q=this.#Q;return this.#M!==void 0?this.#M:this.#M=this.#$==="win32"&&this.#J===0&&this.length>1&&typeof Q[0]==="string"&&/^[a-z]:$/i.test(Q[0])}isAbsolute(){let Q=this.#Q;return this.#K!==void 0?this.#K:this.#K=Q[0]===""&&Q.length>1||this.isDrive()||this.isUNC()}root(){let Q=this.#Q[0];return typeof Q==="string"&&this.isAbsolute()&&this.#J===0?Q:""}checkFollowGlobstar(){return!(this.#J===0||!this.isGlobstar()||!this.#z)}markFollowGlobstar(){if(this.#J===0||!this.isGlobstar()||!this.#z)return!1;return this.#z=!1,!0}}var q7=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class wQ{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(Q,{nobrace:X,nocase:Z,noext:V,noglobstar:$,platform:J=q7}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=J,this.mmopts={dot:!0,nobrace:X,nocase:Z,noext:V,noglobstar:$,optimizationLevel:2,platform:J,nocomment:!0,nonegate:!0};for(let q of Q)this.add(q)}add(Q){let X=new b(Q,this.mmopts);for(let Z=0;Z<X.set.length;Z++){let V=X.set[Z],$=X.globParts[Z];if(!V||!$)throw Error("invalid pattern object");while(V[0]==="."&&$[0]===".")V.shift(),$.shift();let J=new JQ(V,$,0,this.platform),q=new b(J.globString(),this.mmopts),K=$[$.length-1]==="**",Y=J.isAbsolute();if(Y)this.absolute.push(q);else this.relative.push(q);if(K)if(Y)this.absoluteChildren.push(q);else this.relativeChildren.push(q)}}ignored(Q){let X=Q.fullpath(),Z=`${X}/`,V=Q.relative()||".",$=`${V}/`;for(let J of this.relative)if(J.match(V)||J.match($))return!0;for(let J of this.absolute)if(J.match(X)||J.match(Z))return!0;return!1}childrenIgnored(Q){let X=Q.fullpath()+"/",Z=(Q.relative()||".")+"/";for(let V of this.relativeChildren)if(V.match(Z))return!0;for(let V of this.absoluteChildren)if(V.match(X))return!0;return!1}}class G0{store;constructor(Q=new Map){this.store=Q}copy(){return new G0(new Map(this.store))}hasWalked(Q,X){return this.store.get(Q.fullpath())?.has(X.globString())}storeWalked(Q,X){let Z=Q.fullpath(),V=this.store.get(Z);if(V)V.add(X.globString());else this.store.set(Z,new Set([X.globString()]))}}class Y5{store=new Map;add(Q,X,Z){let V=(X?2:0)|(Z?1:0),$=this.store.get(Q);this.store.set(Q,$===void 0?V:V&$)}entries(){return[...this.store.entries()].map(([Q,X])=>[Q,!!(X&2),!!(X&1)])}}class H5{store=new Map;add(Q,X){if(!Q.canReaddir())return;let Z=this.store.get(Q);if(Z){if(!Z.find((V)=>V.globString()===X.globString()))Z.push(X)}else this.store.set(Q,[X])}get(Q){let X=this.store.get(Q);if(!X)throw Error("attempting to walk unknown path");return X}entries(){return this.keys().map((Q)=>[Q,this.store.get(Q)])}keys(){return[...this.store.keys()].filter((Q)=>Q.canReaddir())}}class IQ{hasWalkedCache;matches=new Y5;subwalks=new H5;patterns;follow;dot;opts;constructor(Q,X){this.opts=Q,this.follow=!!Q.follow,this.dot=!!Q.dot,this.hasWalkedCache=X?X.copy():new G0}processPatterns(Q,X){this.patterns=X;let Z=X.map((V)=>[Q,V]);for(let[V,$]of Z){this.hasWalkedCache.storeWalked(V,$);let J=$.root(),q=$.isAbsolute()&&this.opts.absolute!==!1;if(J){V=V.resolve(J==="/"&&this.opts.root!==void 0?this.opts.root:J);let j=$.rest();if(!j){this.matches.add(V,!0,!1);continue}else $=j}if(V.isENOENT())continue;let K,Y,H=!1;while(typeof(K=$.pattern())==="string"&&(Y=$.rest()))V=V.resolve(K),$=Y,H=!0;if(K=$.pattern(),Y=$.rest(),H){if(this.hasWalkedCache.hasWalked(V,$))continue;this.hasWalkedCache.storeWalked(V,$)}if(typeof K==="string"){let j=K===".."||K===""||K===".";this.matches.add(V.resolve(K),q,j);continue}else if(K===R){if(!V.isSymbolicLink()||this.follow||$.checkFollowGlobstar())this.subwalks.add(V,$);let j=Y?.pattern(),W=Y?.rest();if(!Y||(j===""||j===".")&&!W)this.matches.add(V,q,j===""||j===".");else if(j===".."){let z=V.parent||V;if(!W)this.matches.add(z,q,!0);else if(!this.hasWalkedCache.hasWalked(z,W))this.subwalks.add(z,W)}}else if(K instanceof RegExp)this.subwalks.add(V,$)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new IQ(this.opts,this.hasWalkedCache)}filterEntries(Q,X){let Z=this.subwalks.get(Q),V=this.child();for(let $ of X)for(let J of Z){let q=J.isAbsolute(),K=J.pattern(),Y=J.rest();if(K===R)V.testGlobstar($,J,Y,q);else if(K instanceof RegExp)V.testRegExp($,K,Y,q);else V.testString($,K,Y,q)}return V}testGlobstar(Q,X,Z,V){if(this.dot||!Q.name.startsWith(".")){if(!X.hasMore())this.matches.add(Q,V,!1);if(Q.canReaddir()){if(this.follow||!Q.isSymbolicLink())this.subwalks.add(Q,X);else if(Q.isSymbolicLink()){if(Z&&X.checkFollowGlobstar())this.subwalks.add(Q,Z);else if(X.markFollowGlobstar())this.subwalks.add(Q,X)}}}if(Z){let $=Z.pattern();if(typeof $==="string"&&$!==".."&&$!==""&&$!==".")this.testString(Q,$,Z.rest(),V);else if($===".."){let J=Q.parent||Q;this.subwalks.add(J,Z)}else if($ instanceof RegExp)this.testRegExp(Q,$,Z.rest(),V)}}testRegExp(Q,X,Z,V){if(!X.test(Q.name))return;if(!Z)this.matches.add(Q,V,!1);else this.subwalks.add(Q,Z)}testString(Q,X,Z,V){if(!Q.isNamed(X))return;if(!Z)this.matches.add(Q,V,!1);else this.subwalks.add(Q,Z)}}var K7=(Q,X)=>typeof Q==="string"?new wQ([Q],X):Array.isArray(Q)?new wQ(Q,X):Q;class U0{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#Q=[];#Z;#J;signal;maxDepth;includeChildMatches;constructor(Q,X,Z){if(this.patterns=Q,this.path=X,this.opts=Z,this.#J=!Z.posix&&Z.platform==="win32"?"\\":"/",this.includeChildMatches=Z.includeChildMatches!==!1,Z.ignore||!this.includeChildMatches){if(this.#Z=K7(Z.ignore??[],Z),!this.includeChildMatches&&typeof this.#Z.add!=="function")throw Error("cannot ignore child matches, ignore lacks add() method.")}if(this.maxDepth=Z.maxDepth||1/0,Z.signal)this.signal=Z.signal,this.signal.addEventListener("abort",()=>{this.#Q.length=0})}#$(Q){return this.seen.has(Q)||!!this.#Z?.ignored?.(Q)}#q(Q){return!!this.#Z?.childrenIgnored?.(Q)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let Q=void 0;while(!this.paused&&(Q=this.#Q.shift()))Q()}onResume(Q){if(this.signal?.aborted)return;if(!this.paused)Q();else this.#Q.push(Q)}async matchCheck(Q,X){if(X&&this.opts.nodir)return;let Z;if(this.opts.realpath){if(Z=Q.realpathCached()||await Q.realpath(),!Z)return;Q=Z}let $=Q.isUnknown()||this.opts.stat?await Q.lstat():Q;if(this.opts.follow&&this.opts.nodir&&$?.isSymbolicLink()){let J=await $.realpath();if(J&&(J.isUnknown()||this.opts.stat))await J.lstat()}return this.matchCheckTest($,X)}matchCheckTest(Q,X){return Q&&(this.maxDepth===1/0||Q.depth()<=this.maxDepth)&&(!X||Q.canReaddir())&&(!this.opts.nodir||!Q.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!Q.isSymbolicLink()||!Q.realpathCached()?.isDirectory())&&!this.#$(Q)?Q:void 0}matchCheckSync(Q,X){if(X&&this.opts.nodir)return;let Z;if(this.opts.realpath){if(Z=Q.realpathCached()||Q.realpathSync(),!Z)return;Q=Z}let $=Q.isUnknown()||this.opts.stat?Q.lstatSync():Q;if(this.opts.follow&&this.opts.nodir&&$?.isSymbolicLink()){let J=$.realpathSync();if(J&&(J?.isUnknown()||this.opts.stat))J.lstatSync()}return this.matchCheckTest($,X)}matchFinish(Q,X){if(this.#$(Q))return;if(!this.includeChildMatches&&this.#Z?.add){let $=`${Q.relativePosix()}/**`;this.#Z.add($)}let Z=this.opts.absolute===void 0?X:this.opts.absolute;this.seen.add(Q);let V=this.opts.mark&&Q.isDirectory()?this.#J:"";if(this.opts.withFileTypes)this.matchEmit(Q);else if(Z){let $=this.opts.posix?Q.fullpathPosix():Q.fullpath();this.matchEmit($+V)}else{let $=this.opts.posix?Q.relativePosix():Q.relative(),J=this.opts.dotRelative&&!$.startsWith(".."+this.#J)?"."+this.#J:"";this.matchEmit(!$?"."+V:J+$+V)}}async match(Q,X,Z){let V=await this.matchCheck(Q,Z);if(V)this.matchFinish(V,X)}matchSync(Q,X,Z){let V=this.matchCheckSync(Q,Z);if(V)this.matchFinish(V,X)}walkCB(Q,X,Z){if(this.signal?.aborted)Z();this.walkCB2(Q,X,new IQ(this.opts),Z)}walkCB2(Q,X,Z,V){if(this.#q(Q))return V();if(this.signal?.aborted)V();if(this.paused){this.onResume(()=>this.walkCB2(Q,X,Z,V));return}Z.processPatterns(Q,X);let $=1,J=()=>{if(--$===0)V()};for(let[q,K,Y]of Z.matches.entries()){if(this.#$(q))continue;$++,this.match(q,K,Y).then(()=>J())}for(let q of Z.subwalkTargets()){if(this.maxDepth!==1/0&&q.depth()>=this.maxDepth)continue;$++;let K=q.readdirCached();if(q.calledReaddir())this.walkCB3(q,K,Z,J);else q.readdirCB((Y,H)=>this.walkCB3(q,H,Z,J),!0)}J()}walkCB3(Q,X,Z,V){Z=Z.filterEntries(Q,X);let $=1,J=()=>{if(--$===0)V()};for(let[q,K,Y]of Z.matches.entries()){if(this.#$(q))continue;$++,this.match(q,K,Y).then(()=>J())}for(let[q,K]of Z.subwalks.entries())$++,this.walkCB2(q,K,Z.child(),J);J()}walkCBSync(Q,X,Z){if(this.signal?.aborted)Z();this.walkCB2Sync(Q,X,new IQ(this.opts),Z)}walkCB2Sync(Q,X,Z,V){if(this.#q(Q))return V();if(this.signal?.aborted)V();if(this.paused){this.onResume(()=>this.walkCB2Sync(Q,X,Z,V));return}Z.processPatterns(Q,X);let $=1,J=()=>{if(--$===0)V()};for(let[q,K,Y]of Z.matches.entries()){if(this.#$(q))continue;this.matchSync(q,K,Y)}for(let q of Z.subwalkTargets()){if(this.maxDepth!==1/0&&q.depth()>=this.maxDepth)continue;$++;let K=q.readdirSync();this.walkCB3Sync(q,K,Z,J)}J()}walkCB3Sync(Q,X,Z,V){Z=Z.filterEntries(Q,X);let $=1,J=()=>{if(--$===0)V()};for(let[q,K,Y]of Z.matches.entries()){if(this.#$(q))continue;this.matchSync(q,K,Y)}for(let[q,K]of Z.subwalks.entries())$++,this.walkCB2Sync(q,K,Z.child(),J);J()}}class hQ extends U0{matches=new Set;constructor(Q,X,Z){super(Q,X,Z)}matchEmit(Q){this.matches.add(Q)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())await this.path.lstat();return await new Promise((Q,X)=>{this.walkCB(this.path,this.patterns,()=>{if(this.signal?.aborted)X(this.signal.reason);else Q(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}}class dQ extends U0{results;constructor(Q,X,Z){super(Q,X,Z);this.results=new r({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(Q){if(this.results.write(Q),!this.results.flowing)this.pause()}stream(){let Q=this.path;if(Q.isUnknown())Q.lstat().then(()=>{this.walkCB(Q,this.patterns,()=>this.results.end())});else this.walkCB(Q,this.patterns,()=>this.results.end());return this.results}streamSync(){if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}}var H7=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class d{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(Q,X){if(!X)throw TypeError("glob options required");if(this.withFileTypes=!!X.withFileTypes,this.signal=X.signal,this.follow=!!X.follow,this.dot=!!X.dot,this.dotRelative=!!X.dotRelative,this.nodir=!!X.nodir,this.mark=!!X.mark,!X.cwd)this.cwd="";else if(X.cwd instanceof URL||X.cwd.startsWith("file://"))X.cwd=Y7(X.cwd);if(this.cwd=X.cwd||"",this.root=X.root,this.magicalBraces=!!X.magicalBraces,this.nobrace=!!X.nobrace,this.noext=!!X.noext,this.realpath=!!X.realpath,this.absolute=X.absolute,this.includeChildMatches=X.includeChildMatches!==!1,this.noglobstar=!!X.noglobstar,this.matchBase=!!X.matchBase,this.maxDepth=typeof X.maxDepth==="number"?X.maxDepth:1/0,this.stat=!!X.stat,this.ignore=X.ignore,this.withFileTypes&&this.absolute!==void 0)throw Error("cannot set absolute and withFileTypes:true");if(typeof Q==="string")Q=[Q];if(this.windowsPathsNoEscape=!!X.windowsPathsNoEscape||X.allowWindowsEscape===!1,this.windowsPathsNoEscape)Q=Q.map((K)=>K.replace(/\\/g,"/"));if(this.matchBase){if(X.noglobstar)throw TypeError("base matching requires globstar");Q=Q.map((K)=>K.includes("/")?K:`./**/${K}`)}if(this.pattern=Q,this.platform=X.platform||H7,this.opts={...X,platform:this.platform},X.scurry){if(this.scurry=X.scurry,X.nocase!==void 0&&X.nocase!==X.scurry.nocase)throw Error("nocase option contradicts provided scurry option")}else{let K=X.platform==="win32"?AQ:X.platform==="darwin"?gQ:X.platform?vQ:K5;this.scurry=new K(this.cwd,{nocase:X.nocase,fs:X.fs})}this.nocase=this.scurry.nocase;let Z=this.platform==="darwin"||this.platform==="win32",V={...X,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:Z,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},$=this.pattern.map((K)=>new b(K,V)),[J,q]=$.reduce((K,Y)=>{return K[0].push(...Y.set),K[1].push(...Y.globParts),K},[[],[]]);this.patterns=J.map((K,Y)=>{let H=q[Y];if(!H)throw Error("invalid pattern object");return new JQ(K,H,0,this.platform)})}async walk(){return[...await new hQ(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new hQ(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new dQ(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new dQ(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}var B0=(Q,X={})=>{if(!Array.isArray(Q))Q=[Q];for(let Z of Q)if(new b(Z,X).hasMagic())return!0;return!1};function lQ(Q,X={}){return new d(Q,X).streamSync()}function j5(Q,X={}){return new d(Q,X).stream()}function z5(Q,X={}){return new d(Q,X).walkSync()}async function W5(Q,X={}){return new d(Q,X).walk()}function oQ(Q,X={}){return new d(Q,X).iterateSync()}function G5(Q,X={}){return new d(Q,X).iterate()}var W7=lQ,j7=Object.assign(j5,{sync:lQ}),z7=oQ,G7=Object.assign(G5,{sync:oQ}),U7=Object.assign(z5,{stream:lQ,iterate:oQ}),cQ=Object.assign(W5,{glob:W5,globSync:z5,sync:U7,globStream:j5,stream:j7,globStreamSync:lQ,streamSync:W7,globIterate:G5,iterate:G7,globIterateSync:oQ,iterateSync:z7,Glob:d,hasMagic:B0,escape:ZQ,unescape:E});cQ.glob=cQ;import{resolve as C7}from"path";var M7=nQ.object({description:nQ.string().optional().describe("what you want to do"),pattern:nQ.string().describe("The glob pattern to match files against"),path:nQ.string().optional().describe('The directory to search in. Can be absolute or relative to cwd. If not specified, the current working directory (cwd) will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter "undefined" or "null" - simply omit it for the default behavior. Must be a valid directory path if provided.')}),U5=B7(async({pattern:Q,path:X},Z)=>{if(!Z.state.cwd)throw Error("Current working directory (cwd) is not set in the agent state.");let V=X?C7(Z.state.cwd,X):Z.state.cwd,$=await cQ(Q,{ignore:["node_modules",".git","dist","build",".next",".turbo","coverage",".nyc_output","temp",".cache","vendor","venv","__pycache__","*.pyc","target","out",".output"],cwd:V,absolute:!0});if($.length===0)return"No files found.";return $.join(`
26
+ `)},{name:"glob_files",description:`- Fast file pattern matching tool that works with any codebase size
27
+ - Supports glob patterns like "**/*.js" or "src/**/*.ts"
28
+ - Returns matching file paths sorted by modification time
29
+ - Use this tool when you need to find files by name patterns
30
+ - When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead
31
+ - You have the capability to call multiple tools in a single response. It is always better to speculatively perform multiple searches as a batch that are potentially useful.`,schema:M7});import{tool as v7}from"@langchain/core/tools";import{z as xQ}from"zod";import{execa as J9}from"execa";import K9 from"extract-zip";import H9 from"fs-extra";import{dirname as _7,join as L7}from"node:path";import{fileURLToPath as k7}from"node:url";import{pathExists as G9}from"path-exists";import{temporaryFile as B9}from"tempy";import{xdgCache as M9}from"xdg-basedir";var A7=_7(k7(import.meta.url));var _9=process.env.RIPGREP_VERSION||"v15.0.0";var B5=L7(A7,`rg${process.platform==="win32"?".exe":""}`);import{execa as w7}from"execa";import{resolve as I7}from"path";var x7=async(Q,X,Z={})=>{let{timeout:V=15000,cwd:$}=Z;try{let J=await w7(Q,X,{cwd:$||process.cwd(),timeout:V,reject:!1,stripFinalNewline:!1,stdio:["pipe","pipe","pipe"],env:process.env});return{code:J.exitCode??0,stdout:J.stdout,stderr:J.stderr}}catch(J){if(J.timedOut)return{code:124,stdout:J.stdout||"",stderr:(J.stderr||"")+`
32
+ Process timed out`};return{code:J.exitCode||1,stdout:J.stdout||"",stderr:J.stderr||J.message||"Unknown error"}}},C5=v7(async({args:Q,head_limit:X},Z)=>{if(!Z.state.cwd)throw Error("Current working directory (cwd) is not set in the agent state.");if(!Q||Q.length===0)return"Error: No arguments provided. Please provide ripgrep arguments.";if(!X&&!Q.includes("--max-count"))X=500;let V=Q[Q.length-1],$=[...Q];if(V&&!V.startsWith("-"))$[$.length-1]=I7(Z.state.cwd,V);let J=await x7(B5,$,{timeout:15000,cwd:Z.state.cwd});if(X&&J.stdout){let q=J.stdout.split(`
33
+ `);if(q.length>X)J.stdout=q.slice(0,X).join(`
34
+ `)}if(J.code!==0&&J.stderr){if(J.code===1&&J.stdout==="")return"No matches found.";if(J.code===124||J.stderr.includes("timeout")||J.stderr.includes("timed out"))return"Error: Search timed out after 15 seconds. Please use a more specific pattern or limit the search scope with type/glob/path parameters.";return`Error executing ripgrep: ${J.stderr}`}return J.stdout||"No matches found."},{name:"search_files_rg",description:`Ripgrep (rg) - A fast text search tool that recursively searches directories for regex patterns
35
+
36
+ ⚠️ IMPORTANT USAGE GUIDELINES:
37
+ - This tool wraps the ripgrep (rg) command-line tool
38
+ - Use this ONLY for searching TEXT PATTERNS within file contents
39
+ - For reading entire files, use the Read tool instead
40
+ - For finding files by name patterns, use the Glob tool instead
41
+
42
+ \uD83D\uDD0D SEARCH PATH REQUIREMENT:
43
+ - MUST always specify a search path at the end of args array
44
+ - If no specific path needed, use "./" for current directory
45
+ - Never omit the path parameter - ripgrep requires it
46
+ - Relative paths are resolved relative to the current working directory (cwd)
47
+
48
+ Usage - Pass ripgrep (rg) arguments as an array:
49
+ The args array corresponds directly to 'rg [OPTIONS] PATTERN [PATH...]'
50
+
51
+ Examples:
52
+ - Search pattern in current directory: ["PATTERN", "./"]
53
+ - Search in specific path: ["PATTERN", "src/"]
54
+ - Search with file type filter: ["--type", "ts", "PATTERN", "./"]
55
+ - Case insensitive search: ["-i", "PATTERN", "./"]
56
+ - Show line numbers: ["-n", "PATTERN", "./"]
57
+ - Show context lines: ["-C", "3", "PATTERN", "./"]
58
+ - Only show file names: ["-l", "PATTERN", "./"]
59
+ - Count matches: ["-c", "PATTERN", "./"]
60
+ - Multiple options: ["-n", "-i", "--type", "js", "function", "src/"]
61
+
62
+ Common ripgrep (rg) options:
63
+ - -i, --ignore-case: Case insensitive search
64
+ - -n, --line-number: Show line numbers
65
+ - -A NUM: Show NUM lines after each match
66
+ - -B NUM: Show NUM lines before each match
67
+ - -C NUM: Show NUM lines around each match
68
+ - -l, --files-with-matches: Only show file paths that match
69
+ - -c, --count: Only show count of matches per file
70
+ - --type TYPE: Only search files of TYPE (js, ts, py, rust, etc.)
71
+ - --glob PATTERN: Include/exclude files matching PATTERN
72
+ - --max-count NUM: Stop after NUM matches per file
73
+ - --no-ignore: Don't respect .gitignore files
74
+ - --hidden: Search hidden files and directories
75
+
76
+ Performance:
77
+ - 15 second timeout per search
78
+ - Results limited to 500 lines by default (use head_limit parameter)
79
+ - Respects .gitignore by default (use --no-ignore to override)
80
+ `,schema:xQ.object({description:xQ.string().optional().describe("what you want to do"),args:xQ.array(xQ.string()).describe('Ripgrep (rg) command arguments as array. Format: [OPTIONS...] PATTERN [PATH...]. MUST include path at end! Examples: ["import", "./"] (search "import" in current dir), ["-n", "-i", "function", "./"] (search "function" with line numbers, case insensitive), ["--type", "ts", "export", "src/"] (search "export" in TypeScript files in src/).'),head_limit:xQ.number().optional().describe("Limit output to first N lines. If not specified and no --max-count in args, defaults to 500 lines for performance.")})});import{tool as O7}from"@langchain/core/tools";import{z as OQ}from"zod";import{promises as R7}from"fs";import{resolve as F7}from"path";var C0=2000,N7=OQ.object({description:OQ.string().optional().describe("what you want to do"),file_path:OQ.string().describe("The path to the file to read (absolute or relative to cwd)"),offset:OQ.number().default(0).optional().describe("The line number to start reading from. Only provide if the file is too large to read at once"),limit:OQ.number().default(C0).optional().describe("The number of lines to read. Only provide if the file is too large to read at once.")}),M5=O7(async({file_path:Q,offset:X,limit:Z},V)=>{try{if(!V.state.cwd)throw Error("Current working directory (cwd) is not set in the agent state.");let $=F7(V.state.cwd,Q),q=(await R7.readFile($,"utf-8")).split(`
81
+ `);if(X)q=q.slice(X-1);if(Z)q=q.slice(0,Z);return q.join(`
82
+ `)}catch($){if($.code==="ENOENT")return`Error: File not found at ${Q}`;throw $}},{name:"read_file",description:`Reads a file from the local filesystem. Relative paths are resolved based on the current working directory (cwd).
83
+ Assume this tool is able to read all files on the machine. If the User provides a path to a file assume that path is valid. It is okay to read a file that does not exist; an error will be returned.
84
+
85
+ Usage:
86
+ - The file_path parameter can be either an absolute path or a relative path
87
+ - Relative paths are resolved relative to the current working directory (cwd)
88
+ - By default, it reads up to ${C0} lines starting from the beginning of the file
89
+ - You can optionally specify a line offset and limit (especially handy for long files), but it's recommended to read the whole file by not providing these parameters
90
+ - Any lines longer than ${C0} characters will be truncated
91
+ - Results are returned using cat -n format, with line numbers starting at 1
92
+ - This tool allows You to read images (eg PNG, JPG, etc). When reading an image file the contents are presented visually as You is a multimodal LLM.
93
+ - This tool can read PDF files (.pdf). PDFs are processed page by page, extracting both text and visual content for analysis.
94
+ - This tool can read Jupyter notebooks (.ipynb files) and returns all cells with their outputs, combining code, text, and visualizations.
95
+ - You have the capability to call multiple tools in a single response. It is always better to speculatively read multiple files as a batch that are potentially useful.
96
+ - You will regularly be asked to read screenshots. If the user provides a path to a screenshot ALWAYS use this tool to view the file at the path. This tool will work with all temporary file paths like /var/folders/123/abc/T/TemporaryItems/NSIRD_screencaptureui_ZfB1tD/Screenshot.png
97
+ - If you read a file that exists but has empty contents you will receive a system reminder warning in place of file contents.`,schema:N7});import{tool as D7}from"@langchain/core/tools";import{z as iQ}from"zod";import{promises as S7}from"fs";import{resolve as T7}from"path";var _5=D7(async({file_path:Q,content:X},Z)=>{if(!Z.state.cwd)throw Error("Current working directory (cwd) is not set in the agent state.");try{let V=T7(Z.state.cwd,Q);return await S7.writeFile(V,X,"utf-8"),`File ${V} has been written successfully.`}catch(V){return`Error writing file: ${V.message}`}},{name:"write_file",description:`Writes a file to the local filesystem. Relative paths are resolved based on the current working directory (cwd).
98
+ Usage:
99
+ - This tool will overwrite the existing file if there is one at the provided path.
100
+ - If this is an existing file, you MUST use the Read tool first to read the file's contents. This tool will fail if you did not read the file first.
101
+ - ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.
102
+ - NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitly requested by the User.
103
+ - Only use emojis if the user explicitly requests it. Avoid writing emojis to files unless asked.`,schema:iQ.object({description:iQ.string().optional().describe("what you want to do"),file_path:iQ.string().describe("The path to the file to write (absolute or relative to cwd)"),content:iQ.string().describe("The content to write to the file")})});import{tool as P7}from"@langchain/core/tools";import{z as qQ}from"zod";import{promises as M0}from"fs";import{resolve as b7}from"path";var u7=qQ.object({description:qQ.string().optional().describe("what you want to do"),file_path:qQ.string().describe("The path to the file to modify (absolute or relative to cwd)"),old_string:qQ.string().describe("The text to replace"),new_string:qQ.string().describe("The text to replace it with (must be different from old_string)"),replace_all:qQ.boolean().optional().default(!1).describe("Replace all occurences of old_string (default false)")}),L5=P7(async({file_path:Q,old_string:X,new_string:Z,replace_all:V=!1},$)=>{try{if(!$.state.cwd)throw Error("Current working directory (cwd) is not set in the agent state.");let J=b7($.state.cwd,Q),q=await M0.readFile(J,"utf-8");if(V){if(!q.includes(X))return`Error: old_string not found in ${J}`;let K=q.split(X).join(Z);return await M0.writeFile(J,K,"utf-8"),`File ${J} has been edited successfully. Replaced all occurrences of old_string.`}else{let K=q.split(X);if(K.length===1)return`Error: old_string not found in ${J}`;if(K.length>2)return`Error: old_string is not unique in ${J} (found ${K.length-1} occurrences). Please provide more context or set replace_all to true.`;let Y=q.replace(X,Z);return await M0.writeFile(J,Y,"utf-8"),`File ${J} has been edited successfully. Replaced single occurrence of old_string.`}}catch(J){if(J.code==="ENOENT")return`Error: File not found at ${Q}`;throw J}},{name:"edit_file",description:`Performs exact string replacements in files. Relative paths are resolved based on the current working directory (cwd).
104
+
105
+ Usage:
106
+ - You must use your \`Read\` tool at least once in the conversation before editing. This tool will error if you attempt an edit without reading the file.
107
+ - When editing text from Read tool output, ensure you preserve the exact indentation (tabs/spaces) as it appears AFTER the line number prefix. The line number prefix format is: spaces + line number + tab. Everything after that tab is the actual file content to match. Never include any part of the line number prefix in the old_string or new_string.
108
+ - ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.
109
+ - Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.
110
+ - The edit will FAIL if \`old_string\` is not unique in the file. Either provide a larger string with more surrounding context to make it unique or use \`replace_all\` to change every instance of \`old_string\`.
111
+ - Use \`replace_all\` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance.`,schema:u7});class k5{name="FilesystemMiddleware";contextSchema=void 0;stateSchema=void 0;tools=[M5,_5,L5,U5,C5,L0];async execute(){return this}}var t=new Map;import{tool as y7}from"@langchain/core/tools";import{z as a}from"zod";import{execa as A5}from"execa";var pQ=process.platform==="win32",v5=pQ?"cmd.exe":"/bin/bash",w5=pQ?["/d","/s","/c"]:["-c"],_0=y7(async({command:Q,timeout:X,run_in_background:Z,kill_process_id:V,get_output_id:$,filter:J},q)=>{if(V){let K=parseInt(V,10),Y=t.get(K);if(!Y)return`Error: No background process found with ID ${V}.`;return Y.process.kill(),t.delete(K),`Successfully killed process with ID ${V}.`}if($){let K=parseInt($,10),Y=t.get(K);if(!Y)return`Error: No background process found with ID ${$}.`;let H=Y.stdout.join(""),j=Y.stderr.join("");if(Y.stdout=[],Y.stderr=[],J){let z=new RegExp(J);H=H.split(`
112
+ `).filter((G)=>z.test(G)).join(`
113
+ `),j=j.split(`
114
+ `).filter((G)=>z.test(G)).join(`
115
+ `)}let W="";if(H)W+=`STDOUT:
116
+ ${H}
117
+ `;if(j)W+=`STDERR:
118
+ ${j}
119
+ `;return W||"No new output since last check."}if(!Q)return"Error: 'command' argument is required unless using 'kill_process_id' or 'get_output_id'.";if(!q.state.cwd)throw Error("Current working directory (cwd) is not set in the agent state.");if(Z)try{let K=A5(v5,[...w5,Q],{cwd:q.state.cwd,timeout:X??20000,reject:!1,windowsVerbatimArguments:pQ});if(!K.pid)return"Failed to start command in background.";let Y={process:K,stdout:[],stderr:[],command:Q,startTime:Date.now()};return t.set(K.pid,Y),K.stdout?.on("data",(H)=>{Y.stdout.push(H.toString())}),K.stderr?.on("data",(H)=>{Y.stderr.push(H.toString())}),K.on("close",()=>{}),`Command started in background with ID: ${K.pid}`}catch(K){return`Error starting background command: ${K}`}else try{let K=await A5(v5,[...w5,Q],{cwd:q.state.cwd,timeout:X??20000,reject:!1,windowsVerbatimArguments:pQ});if(K.exitCode!==0)return K.stderr;return K.stdout}catch(K){return`Error executing command: ${K}`}},{name:"terminal",description:`Executes commands in a persistent shell session (Bash on Linux/macOS, CMD on Windows). Commands are executed in the current working directory (cwd).
120
+ Features:
121
+ - Run commands (foreground or background)
122
+ - Retrieve background process output
123
+ - Kill background processes
124
+ - Cross-platform support (auto-detects OS)
125
+
126
+ Usage:
127
+ 1. Run Command: Provide \`command\`. Optional: \`run_in_background\`, \`timeout\`.
128
+ 2. Check Output: Provide \`get_output_id\`. Optional: \`filter\`.
129
+ 3. Kill Process: Provide \`kill_process_id\`.
130
+
131
+ Notes:
132
+ - For file paths with spaces, ALWAYS use quotes: "path/to file"
133
+ - Commands are executed relative to the current working directory (cwd)
134
+ - Avoid interactive commands (like top, vim)
135
+ - Use '&&' or ';' to chain commands (PowerShell/CMD syntax varies, simple chaining often works)
136
+ - CAN'T BATCH CALL THIS TOOL!
137
+ `,schema:a.object({description:a.string().describe("what you want to do"),command:a.string().optional().describe("The command to execute (required for running commands)"),timeout:a.number().optional().describe("Timeout in ms (default: 20000)"),run_in_background:a.boolean().optional().describe("Run command in background"),kill_process_id:a.string().optional().describe("ID of process to kill"),get_output_id:a.string().optional().describe("ID of process to get output from"),filter:a.string().optional().describe("Regex to filter output (only for get_output_id)")})});class I5{name="TerminalMiddleware";contextSchema=void 0;stateSchema=void 0;tools=[_0];async execute(){return this}}export{L0 as xb,U5 as yb,M5 as zb,L5 as Ab,k5 as Bb,t as Cb,I5 as Db};