@qitqode/qitqode-android-arm64 0.2.15 → 0.2.16

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 (412) hide show
  1. package/bundle/{chunk-wrzn87w0.js → chunk-098mr0zz.js} +1 -1
  2. package/bundle/{chunk-j15wejz0.js → chunk-0catm9vq.js} +1 -1
  3. package/bundle/{chunk-q896qkhe.js → chunk-0cqs1qkh.js} +1 -1
  4. package/bundle/{chunk-d10qre1b.js → chunk-0f3ncvfe.js} +1 -1
  5. package/bundle/{chunk-yhpwceqg.js → chunk-0gqwvt8w.js} +2 -2
  6. package/bundle/chunk-0mb55ytc.js +2 -0
  7. package/bundle/{chunk-dpbm03yh.js → chunk-0n2ncnwz.js} +1 -1
  8. package/bundle/chunk-0y0hm0m5.js +2 -0
  9. package/bundle/chunk-120e8yr1.js +2 -0
  10. package/bundle/{chunk-spcdwmy4.js → chunk-1aneepm5.js} +1 -1
  11. package/bundle/chunk-1dxm8yev.js +2 -0
  12. package/bundle/{chunk-96sra8g8.js → chunk-1jg7cybp.js} +1 -1
  13. package/bundle/{chunk-qk6jh32z.js → chunk-1k5nfw7g.js} +1 -1
  14. package/bundle/{chunk-fmcg649e.js → chunk-1kksj8cn.js} +1 -1
  15. package/bundle/chunk-1pgpv979.js +2 -0
  16. package/bundle/{chunk-szfqmkj6.js → chunk-1xsjkf4c.js} +1 -1
  17. package/bundle/{chunk-zx63mepv.js → chunk-1yetxft4.js} +1 -1
  18. package/bundle/chunk-23zh9s18.js +2 -0
  19. package/bundle/{chunk-8qpfphdz.js → chunk-24pf9s68.js} +1 -1
  20. package/bundle/chunk-2a0zf12g.js +2 -0
  21. package/bundle/chunk-2b8x31p3.js +2 -0
  22. package/bundle/chunk-2cvmdss3.js +2 -0
  23. package/bundle/{chunk-zhhcfqhh.js → chunk-2kvghwar.js} +1 -1
  24. package/bundle/{chunk-ch7s512a.js → chunk-2nkjwqpm.js} +1 -1
  25. package/bundle/chunk-2qbsg6dp.js +2 -0
  26. package/bundle/{chunk-9ttebtcf.js → chunk-2rvs18fx.js} +1 -1
  27. package/bundle/{chunk-rxt6gktt.js → chunk-2thbax1j.js} +1 -1
  28. package/bundle/{chunk-zbt53cb5.js → chunk-2zxygnx4.js} +1 -1
  29. package/bundle/{chunk-zgwasq3p.js → chunk-36kg3v3k.js} +1 -1
  30. package/bundle/{chunk-b6m5tr80.js → chunk-37hh7eee.js} +1 -1
  31. package/bundle/chunk-39mwv068.js +2 -0
  32. package/bundle/{chunk-set1f1wr.js → chunk-39z0qxkt.js} +1 -1
  33. package/bundle/{chunk-p0852vfn.js → chunk-3dfy9k0t.js} +2 -2
  34. package/bundle/{chunk-et3tgx7t.js → chunk-3e26pryk.js} +1 -1
  35. package/bundle/{chunk-w0t1ajhg.js → chunk-3eddms0g.js} +1 -1
  36. package/bundle/chunk-3re79hkf.js +2 -0
  37. package/bundle/{chunk-sy76e7nr.js → chunk-3vjs8aht.js} +1 -1
  38. package/bundle/{chunk-k769v1ds.js → chunk-3z7r4c0p.js} +1 -1
  39. package/bundle/chunk-40pe0tde.js +11 -0
  40. package/bundle/{chunk-0ejx0yqx.js → chunk-47nber5v.js} +1 -1
  41. package/bundle/{chunk-estc7tzt.js → chunk-491f4ab9.js} +2 -2
  42. package/bundle/{chunk-3152y1q9.js → chunk-4bp91rza.js} +1 -1
  43. package/bundle/{chunk-pdcxmr6x.js → chunk-4dy64hgp.js} +1 -1
  44. package/bundle/{chunk-0mztgsxp.js → chunk-4fqwg54p.js} +1 -1
  45. package/bundle/{chunk-2w3n0q9m.js → chunk-4gv7nsdd.js} +2 -2
  46. package/bundle/{chunk-csy1v12x.js → chunk-4nw19yab.js} +1 -1
  47. package/bundle/chunk-51fyaa6r.js +2 -0
  48. package/bundle/{chunk-kegvr7wt.js → chunk-52f62kr0.js} +2 -2
  49. package/bundle/chunk-52n4tdeh.js +5 -0
  50. package/bundle/{chunk-x4jnyj09.js → chunk-543jma8r.js} +1 -1
  51. package/bundle/chunk-58q03ah1.js +2 -0
  52. package/bundle/{chunk-hrcqbadm.js → chunk-5fhy0wb0.js} +1 -1
  53. package/bundle/{chunk-8zpsgfb6.js → chunk-5fym1zr2.js} +1 -1
  54. package/bundle/{chunk-a3g8de96.js → chunk-5k5jdayv.js} +1 -1
  55. package/bundle/chunk-5nmqgqj2.js +2 -0
  56. package/bundle/{chunk-psmwrvqs.js → chunk-5t69v8jg.js} +2 -2
  57. package/bundle/{chunk-7w571q26.js → chunk-5vtbg7pj.js} +1 -1
  58. package/bundle/{chunk-y4cz5s3h.js → chunk-5xmtzs15.js} +2 -2
  59. package/bundle/chunk-5ydg5ny1.js +2 -0
  60. package/bundle/{chunk-v5me0cj9.js → chunk-5z5rk3ng.js} +1 -1
  61. package/bundle/{chunk-5dvy83ms.js → chunk-62mb6wxm.js} +2 -2
  62. package/bundle/chunk-62mytrwv.js +2 -0
  63. package/bundle/{chunk-edvfqxfr.js → chunk-6396bg4p.js} +1 -1
  64. package/bundle/chunk-63bccmze.js +2 -0
  65. package/bundle/{chunk-1ypzf18e.js → chunk-64x1vtdq.js} +1 -1
  66. package/bundle/{chunk-9mabvb06.js → chunk-6kx4atkt.js} +1 -1
  67. package/bundle/{chunk-dmb0ez0m.js → chunk-6r7vm4xc.js} +3 -3
  68. package/bundle/{chunk-tcyzj3rz.js → chunk-6rggm6tm.js} +1 -1
  69. package/bundle/{chunk-fp2xgnjn.js → chunk-6vpc1y3w.js} +2 -2
  70. package/bundle/{chunk-71jmhvef.js → chunk-6vxddv5w.js} +2 -2
  71. package/bundle/chunk-6ynaebaw.js +2 -0
  72. package/bundle/{chunk-ep4drmt9.js → chunk-700jhn67.js} +1 -1
  73. package/bundle/{chunk-fdmz0502.js → chunk-76jbys6j.js} +2 -2
  74. package/bundle/chunk-782y3dm8.js +2 -0
  75. package/bundle/{chunk-d7h1dp0h.js → chunk-89g9wzc2.js} +1 -1
  76. package/bundle/chunk-8q50bha4.js +2 -0
  77. package/bundle/chunk-8v6qbhm1.js +2 -0
  78. package/bundle/chunk-955jtenj.js +2 -0
  79. package/bundle/chunk-95yzwxpf.js +2 -0
  80. package/bundle/{chunk-76wm7tw8.js → chunk-96281xfb.js} +2 -2
  81. package/bundle/{chunk-bdcd2mcb.js → chunk-96657nrr.js} +2 -2
  82. package/bundle/chunk-99ansgsj.js +2 -0
  83. package/bundle/{chunk-3c73rngn.js → chunk-9dd2krfn.js} +1 -1
  84. package/bundle/chunk-9exxjnxc.js +2 -0
  85. package/bundle/{chunk-eqsank84.js → chunk-9ge1mkfs.js} +1 -1
  86. package/bundle/{chunk-4r7fbkcm.js → chunk-9mmaja9n.js} +1 -1
  87. package/bundle/{chunk-mjkwd1sz.js → chunk-9rd7q5e9.js} +1 -1
  88. package/bundle/{chunk-6cztstry.js → chunk-9skj2w9e.js} +2 -2
  89. package/bundle/{chunk-nb4xtk1n.js → chunk-9tdbts1r.js} +1 -1
  90. package/bundle/{chunk-sg9enzsp.js → chunk-9tfm1dk2.js} +2 -2
  91. package/bundle/{chunk-z6qyx227.js → chunk-9xaea8h1.js} +1 -1
  92. package/bundle/{chunk-meehnnv9.js → chunk-a0c6w901.js} +2 -2
  93. package/bundle/chunk-a2tp2f6s.js +2 -0
  94. package/bundle/{chunk-69htq8kq.js → chunk-a3ynq3h7.js} +1 -1
  95. package/bundle/chunk-a4y0wjtq.js +3 -0
  96. package/bundle/{chunk-6dd2dx69.js → chunk-afagt413.js} +2 -2
  97. package/bundle/{chunk-px69995t.js → chunk-afzx47y2.js} +1 -1
  98. package/bundle/chunk-ag3s3t7x.js +2 -0
  99. package/bundle/{chunk-n7zd97hy.js → chunk-ajdn1n77.js} +2 -2
  100. package/bundle/chunk-arwm1qxm.js +2 -0
  101. package/bundle/{chunk-adws0hhk.js → chunk-awt3q88j.js} +2 -2
  102. package/bundle/{chunk-qn1fhqyw.js → chunk-az2pxgx6.js} +2 -2
  103. package/bundle/chunk-b0gq0s8a.js +2 -0
  104. package/bundle/{chunk-48rg4yhk.js → chunk-b2zfr7jz.js} +2 -2
  105. package/bundle/{chunk-mbmaeq0a.js → chunk-b63733cw.js} +1 -1
  106. package/bundle/chunk-b7430vg8.js +2 -0
  107. package/bundle/{chunk-4b56k59w.js → chunk-b7dw5ged.js} +1 -1
  108. package/bundle/{chunk-prz2fkn9.js → chunk-b83qf145.js} +1 -1
  109. package/bundle/{chunk-veptx3fk.js → chunk-b8w33ck9.js} +1 -1
  110. package/bundle/{chunk-674pexjx.js → chunk-bd21p9zz.js} +2 -2
  111. package/bundle/chunk-be2z0tr4.js +2 -0
  112. package/bundle/{chunk-x0de4z05.js → chunk-bkqemdv8.js} +2 -2
  113. package/bundle/chunk-bq585t67.js +2 -0
  114. package/bundle/chunk-bts3gw8w.js +2 -0
  115. package/bundle/{chunk-yvtkx4x4.js → chunk-c0sr83np.js} +1 -1
  116. package/bundle/{chunk-zh7e6kqs.js → chunk-c4tdfar1.js} +1 -1
  117. package/bundle/chunk-c6ege2yp.js +2 -0
  118. package/bundle/{chunk-00ft63qn.js → chunk-chs4bkgh.js} +1 -1
  119. package/bundle/{chunk-hmmn62jg.js → chunk-cm426ssg.js} +1 -1
  120. package/bundle/{chunk-crqycrs4.js → chunk-d4y5hyjg.js} +2 -2
  121. package/bundle/chunk-de0edzjs.js +2 -0
  122. package/bundle/{chunk-4xcwnwd6.js → chunk-der5kj1b.js} +1 -1
  123. package/bundle/{chunk-rk4c0zat.js → chunk-dhykktcp.js} +1 -1
  124. package/bundle/{chunk-mnjz8nqs.js → chunk-dm7hfb7f.js} +2 -2
  125. package/bundle/chunk-dntnvfdz.js +2 -0
  126. package/bundle/{chunk-q1dmxn63.js → chunk-dptvy1zn.js} +2 -2
  127. package/bundle/{chunk-2k2szpze.js → chunk-dqt8rrey.js} +1 -1
  128. package/bundle/{chunk-ky3fhz9z.js → chunk-dr003xka.js} +1 -1
  129. package/bundle/chunk-dtyzk0j7.js +2 -0
  130. package/bundle/{chunk-qrztx1b4.js → chunk-dwza14dk.js} +2 -2
  131. package/bundle/chunk-e3tmbywr.js +2 -0
  132. package/bundle/{chunk-ej0yzstw.js → chunk-e4nap6v9.js} +2 -2
  133. package/bundle/{chunk-5h1s0akp.js → chunk-e7x8v549.js} +1 -1
  134. package/bundle/{chunk-1e75j4m1.js → chunk-e826jvr2.js} +2 -2
  135. package/bundle/{chunk-djdfpezf.js → chunk-edm4c812.js} +1 -1
  136. package/bundle/{chunk-ws720v4j.js → chunk-eearwfay.js} +1 -1
  137. package/bundle/{chunk-knqpyc7s.js → chunk-ekavngf7.js} +1 -1
  138. package/bundle/chunk-em637k9q.js +2 -0
  139. package/bundle/{chunk-8gkz5550.js → chunk-epncmz5t.js} +1 -1
  140. package/bundle/{chunk-mdxtt9wv.js → chunk-eytpz91c.js} +2 -2
  141. package/bundle/chunk-f4qcwbx0.js +2 -0
  142. package/bundle/{chunk-a8askx4y.js → chunk-f6gd8809.js} +1 -1
  143. package/bundle/{chunk-878sb0es.js → chunk-fcbmedh3.js} +2 -2
  144. package/bundle/{chunk-4ycg2c6f.js → chunk-fg5f3a8a.js} +2 -2
  145. package/bundle/chunk-fj7jcv7m.js +2 -0
  146. package/bundle/{chunk-4gzggzc0.js → chunk-ft4msj4z.js} +3 -3
  147. package/bundle/chunk-fyntc5hj.js +2 -0
  148. package/bundle/chunk-fyt4yaq7.js +2 -0
  149. package/bundle/chunk-g4hcxhfs.js +2 -0
  150. package/bundle/{chunk-c5cyt23k.js → chunk-g7twcprm.js} +2 -2
  151. package/bundle/{chunk-9amnqaeq.js → chunk-g8844pb4.js} +1 -1
  152. package/bundle/{chunk-w136zswr.js → chunk-ganwjd6s.js} +3 -3
  153. package/bundle/chunk-gdew108b.js +2 -0
  154. package/bundle/chunk-gdy74wte.js +2 -0
  155. package/bundle/{chunk-e37gd3p2.js → chunk-gse0cgqc.js} +1 -1
  156. package/bundle/{chunk-z0dj15g9.js → chunk-gsjgbm0d.js} +1 -1
  157. package/bundle/{chunk-a1mbach4.js → chunk-gt10s0ks.js} +1 -1
  158. package/bundle/{chunk-qpk7jp6t.js → chunk-gxpx2nd8.js} +1 -1
  159. package/bundle/{chunk-8mqcar7f.js → chunk-gxq2fwnc.js} +1 -1
  160. package/bundle/chunk-gz90qgcn.js +2 -0
  161. package/bundle/chunk-gzz78dnm.js +2 -0
  162. package/bundle/{chunk-840mmmzz.js → chunk-h3yazfmh.js} +4 -4
  163. package/bundle/{chunk-d4faz5xa.js → chunk-h429rzqp.js} +1 -1
  164. package/bundle/{chunk-f0dp1tf9.js → chunk-h5y0pwwc.js} +1 -1
  165. package/bundle/{chunk-62gefpwn.js → chunk-h6b6acrv.js} +2 -2
  166. package/bundle/{chunk-19rs84t8.js → chunk-h8bq75er.js} +1 -1
  167. package/bundle/{chunk-99df6wvm.js → chunk-ha147mdc.js} +1 -1
  168. package/bundle/{chunk-xdcwx384.js → chunk-ha1w0xzh.js} +1 -1
  169. package/bundle/{chunk-5341jv20.js → chunk-ha294vpj.js} +1 -1
  170. package/bundle/chunk-hfrjkgyk.js +2 -0
  171. package/bundle/chunk-hjpt1n6g.js +2 -0
  172. package/bundle/{chunk-bzh71a92.js → chunk-hvdre0mb.js} +1 -1
  173. package/bundle/{chunk-86sfzgnf.js → chunk-hxf2a10r.js} +1 -1
  174. package/bundle/{chunk-4ppw719f.js → chunk-j09qf4zh.js} +1 -1
  175. package/bundle/chunk-j0jayfyn.js +35 -0
  176. package/bundle/{chunk-c1wc4b5q.js → chunk-j5b0yc0f.js} +1 -1
  177. package/bundle/{chunk-k8dbc1p5.js → chunk-j767byd1.js} +1 -1
  178. package/bundle/chunk-j794z99k.js +2 -0
  179. package/bundle/{chunk-5asf8f41.js → chunk-j95mkzwg.js} +114 -114
  180. package/bundle/{chunk-rn3je2hv.js → chunk-jcznttek.js} +1 -1
  181. package/bundle/{chunk-4v29ayke.js → chunk-jgw20mxx.js} +1 -1
  182. package/bundle/{chunk-175720ws.js → chunk-jhdpwndc.js} +2 -2
  183. package/bundle/{chunk-f0x3q5dj.js → chunk-jkqa49xc.js} +2 -2
  184. package/bundle/{chunk-sb3cgb4v.js → chunk-jmg64erz.js} +1 -1
  185. package/bundle/chunk-jpw7z507.js +2 -0
  186. package/bundle/{chunk-3cs1qf8x.js → chunk-jr622341.js} +1 -1
  187. package/bundle/{chunk-fswt9qc0.js → chunk-jv69hdp0.js} +2 -2
  188. package/bundle/chunk-jx9c90ft.js +2 -0
  189. package/bundle/{chunk-4jfnhghx.js → chunk-kevhkmn2.js} +2 -2
  190. package/bundle/{chunk-bxnsrggq.js → chunk-khpjjjsb.js} +1 -1
  191. package/bundle/chunk-kkfrys0w.js +2 -0
  192. package/bundle/chunk-kkq2vwm6.js +2 -0
  193. package/bundle/{chunk-h6b5966p.js → chunk-km1tyeyy.js} +1 -1
  194. package/bundle/chunk-kp0w1p79.js +2 -0
  195. package/bundle/chunk-kr7t73tg.js +3 -0
  196. package/bundle/chunk-kt7q9620.js +2 -0
  197. package/bundle/{chunk-8a9sj8gp.js → chunk-kzcb1pt4.js} +1 -1
  198. package/bundle/{chunk-ywj77e0m.js → chunk-m0f6cf9n.js} +2 -2
  199. package/bundle/chunk-m30bgt2t.js +2 -0
  200. package/bundle/chunk-m318f9es.js +2 -0
  201. package/bundle/{chunk-4yd2vvh6.js → chunk-m5r6zq6v.js} +1 -1
  202. package/bundle/chunk-m6g6za7b.js +2 -0
  203. package/bundle/chunk-m8djypsy.js +11 -0
  204. package/bundle/chunk-ma0vvbvy.js +2 -0
  205. package/bundle/chunk-mha4n5md.js +2 -0
  206. package/bundle/{chunk-s9epttpy.js → chunk-mhq2a5ms.js} +1 -1
  207. package/bundle/chunk-mp9qhnxg.js +2 -0
  208. package/bundle/{chunk-gd0j16gn.js → chunk-mqdvthkm.js} +1 -1
  209. package/bundle/{chunk-69k7cdtv.js → chunk-mqe1qa6t.js} +2 -2
  210. package/bundle/{chunk-j45p2v4a.js → chunk-mz6swd88.js} +3 -3
  211. package/bundle/{chunk-0m4gvjcv.js → chunk-n25t4j9w.js} +2 -2
  212. package/bundle/{chunk-83n11xym.js → chunk-n7ewvphw.js} +3 -3
  213. package/bundle/chunk-n9wre9wx.js +2 -0
  214. package/bundle/chunk-ncbj74tk.js +3 -0
  215. package/bundle/{chunk-06tgmvh6.js → chunk-ne3z7yye.js} +2 -2
  216. package/bundle/chunk-nnyvn2pm.js +2 -0
  217. package/bundle/chunk-nyhx3822.js +2 -0
  218. package/bundle/{chunk-zjyaze0d.js → chunk-p54bzjtv.js} +1 -1
  219. package/bundle/{chunk-dvp0r93q.js → chunk-p5d5qyzq.js} +1 -1
  220. package/bundle/{chunk-m8kjtp60.js → chunk-p6mxxem5.js} +1 -1
  221. package/bundle/{chunk-6zdzbmzs.js → chunk-p76c9s6g.js} +264 -264
  222. package/bundle/chunk-p8etcskm.js +2 -0
  223. package/bundle/{chunk-b350g18y.js → chunk-pf4gwr34.js} +2 -2
  224. package/bundle/{chunk-wf0n1cs9.js → chunk-pf61zhms.js} +1 -1
  225. package/bundle/{chunk-sh03ka27.js → chunk-pfx8ts02.js} +1 -1
  226. package/bundle/{chunk-e611m0p4.js → chunk-phvp9h7w.js} +1 -1
  227. package/bundle/chunk-pv71d7f3.js +2 -0
  228. package/bundle/{chunk-2fged9vy.js → chunk-pwcmc8j7.js} +1 -1
  229. package/bundle/{chunk-g77kddrs.js → chunk-pyt4xpze.js} +2 -2
  230. package/bundle/{chunk-1bq15kf0.js → chunk-q0pd8bac.js} +2 -2
  231. package/bundle/{chunk-yg9n2a2d.js → chunk-q12dtxep.js} +1 -1
  232. package/bundle/{chunk-v1axkp21.js → chunk-q2j2dm96.js} +2 -2
  233. package/bundle/{chunk-rx9eh3db.js → chunk-qf1hh45g.js} +3 -3
  234. package/bundle/{chunk-p4xqfkbh.js → chunk-qqjspfqw.js} +1 -1
  235. package/bundle/{chunk-9kc2th5c.js → chunk-qvnsgyfk.js} +2 -2
  236. package/bundle/{chunk-rqap90xh.js → chunk-qz35c4xy.js} +2 -2
  237. package/bundle/{chunk-bemyyen3.js → chunk-r3z77rjn.js} +1 -1
  238. package/bundle/{chunk-vsv4p060.js → chunk-r7mcn9ey.js} +1 -1
  239. package/bundle/{chunk-nzz7gzg2.js → chunk-rmpgmjtd.js} +1 -1
  240. package/bundle/{chunk-k0chq88p.js → chunk-rpt3rm31.js} +1 -1
  241. package/bundle/chunk-rteaec1s.js +2 -0
  242. package/bundle/chunk-rxwcah73.js +2 -0
  243. package/bundle/{chunk-s0gmxpxm.js → chunk-s1gy4hnw.js} +2 -2
  244. package/bundle/{chunk-4s1n38ds.js → chunk-s2ma1nz3.js} +2 -2
  245. package/bundle/chunk-s3gjc4m0.js +2 -0
  246. package/bundle/{chunk-6yshpz0z.js → chunk-s5taq9jy.js} +2 -2
  247. package/bundle/{chunk-5mf4qrye.js → chunk-s7017cak.js} +2 -2
  248. package/bundle/{chunk-6pt6nqwk.js → chunk-s9bn800b.js} +1 -1
  249. package/bundle/{chunk-73a7ts8r.js → chunk-sa3rjs2s.js} +1 -1
  250. package/bundle/{chunk-wfpnv00c.js → chunk-sprbs7aj.js} +2 -2
  251. package/bundle/{chunk-10q04xh5.js → chunk-sq2z7keb.js} +1 -1
  252. package/bundle/{chunk-w8nj5ph5.js → chunk-sqrx9csx.js} +1 -1
  253. package/bundle/{chunk-art8gejd.js → chunk-srf4jqcj.js} +1 -1
  254. package/bundle/{chunk-ffyj5nsg.js → chunk-ssp3nw24.js} +2 -2
  255. package/bundle/{chunk-2tkgtasa.js → chunk-svnhycdw.js} +2 -2
  256. package/bundle/chunk-swm990q6.js +2 -0
  257. package/bundle/chunk-sy42ayp2.js +2 -0
  258. package/bundle/{chunk-5rvvfgfy.js → chunk-t3kxce69.js} +2 -2
  259. package/bundle/chunk-t7mvej98.js +2 -0
  260. package/bundle/{chunk-6j53vtzd.js → chunk-t8pmy758.js} +1 -1
  261. package/bundle/{chunk-v7v0krrj.js → chunk-t9srpmte.js} +1 -1
  262. package/bundle/{chunk-2pw56zpj.js → chunk-tatecas7.js} +2 -2
  263. package/bundle/chunk-teagh4hx.js +2 -0
  264. package/bundle/{chunk-avksqxan.js → chunk-tf40p520.js} +1 -1
  265. package/bundle/{chunk-yms3bsm7.js → chunk-tpgksx59.js} +1 -1
  266. package/bundle/{chunk-02tmc2st.js → chunk-tr4cze2c.js} +1 -1
  267. package/bundle/chunk-tv4cp6f9.js +2 -0
  268. package/bundle/chunk-tw618904.js +2 -0
  269. package/bundle/{chunk-mq3w4z8k.js → chunk-v1bqh3m6.js} +176 -176
  270. package/bundle/{chunk-j46bxb1b.js → chunk-v3bfzxxg.js} +1 -1
  271. package/bundle/{chunk-vr13f6b5.js → chunk-v5gf0wx6.js} +2 -2
  272. package/bundle/{chunk-d385e2qt.js → chunk-v6mnbwtz.js} +1 -1
  273. package/bundle/{chunk-bq6cvf16.js → chunk-v93gr6n9.js} +2 -2
  274. package/bundle/chunk-vdpffam0.js +2 -0
  275. package/bundle/chunk-ve5w7nkb.js +2 -0
  276. package/bundle/chunk-vey57h4x.js +30 -0
  277. package/bundle/{chunk-pwq2f75j.js → chunk-vf492zs6.js} +1 -1
  278. package/bundle/{chunk-fkq0v5qv.js → chunk-vg9ec44m.js} +2 -2
  279. package/bundle/{chunk-61b81z2h.js → chunk-vh3n53qq.js} +1 -1
  280. package/bundle/{chunk-bmdqb48f.js → chunk-vk8gxf4y.js} +1 -1
  281. package/bundle/{chunk-rd08wx37.js → chunk-vr222v2n.js} +2 -2
  282. package/bundle/chunk-vrpca62q.js +2 -0
  283. package/bundle/{chunk-x3dzzq0t.js → chunk-w5fx69cw.js} +1 -1
  284. package/bundle/{chunk-k4wfq9cn.js → chunk-w9w59zjv.js} +2 -2
  285. package/bundle/{chunk-xmf59618.js → chunk-wbz79hns.js} +1 -1
  286. package/bundle/{chunk-gfvq78gy.js → chunk-wdrfzx4m.js} +1 -1
  287. package/bundle/{chunk-j3agzs13.js → chunk-wf18y499.js} +2 -2
  288. package/bundle/chunk-wvvygzz2.js +2 -0
  289. package/bundle/{chunk-wne3v1fk.js → chunk-wyxc99aa.js} +2 -2
  290. package/bundle/{chunk-5q98z8ck.js → chunk-x2mbre12.js} +2 -2
  291. package/bundle/{chunk-2d61z24r.js → chunk-x8rr2f15.js} +1 -1
  292. package/bundle/{chunk-vgmgg994.js → chunk-xpmgqa5n.js} +1 -1
  293. package/bundle/{chunk-rws2tsdv.js → chunk-xrwsttb7.js} +1 -1
  294. package/bundle/{chunk-ytfq6rn9.js → chunk-xz6psr05.js} +1 -1
  295. package/bundle/{chunk-4xqwt6dr.js → chunk-xzshjp04.js} +2 -2
  296. package/bundle/chunk-y27gwnx9.js +2 -0
  297. package/bundle/chunk-y2ms7q84.js +2 -0
  298. package/bundle/{chunk-1pft3sar.js → chunk-y8bjb32m.js} +1 -1
  299. package/bundle/{chunk-h036zy9e.js → chunk-ya7wrt5f.js} +2 -2
  300. package/bundle/{chunk-ahgb3r1c.js → chunk-ycjz7y1x.js} +2 -2
  301. package/bundle/{chunk-10kj86va.js → chunk-ykqx1z0b.js} +1 -1
  302. package/bundle/chunk-yq4vck53.js +2 -0
  303. package/bundle/{chunk-j2snkw45.js → chunk-yxsc90ba.js} +2 -2
  304. package/bundle/{chunk-5cwy8y78.js → chunk-yy5qqab3.js} +2 -2
  305. package/bundle/{chunk-86reb44c.js → chunk-z38am71w.js} +1 -1
  306. package/bundle/{chunk-pwrwb7mn.js → chunk-z6mqdbj1.js} +1 -1
  307. package/bundle/{chunk-nyxn7npc.js → chunk-z87ew6d3.js} +1 -1
  308. package/bundle/{chunk-m6967jtv.js → chunk-z9k4506p.js} +2 -2
  309. package/bundle/{chunk-hf39qx6t.js → chunk-zezz8xfw.js} +2 -2
  310. package/bundle/{chunk-ffx0cr44.js → chunk-zg72kz2k.js} +2 -2
  311. package/bundle/chunk-zkxc41ek.js +2 -0
  312. package/bundle/{chunk-tz1bzrnh.js → chunk-zssy3srh.js} +1 -1
  313. package/bundle/{chunk-xxck1man.js → chunk-zyz4na64.js} +1 -1
  314. package/bundle/{chunk-e18hshcg.js → chunk-zzsetq5f.js} +1 -1
  315. package/bundle/index.js +3 -3
  316. package/bundle/parser.worker.js +2 -2
  317. package/bundle/worker.js +1 -1
  318. package/package.json +1 -1
  319. package/bundle/chunk-1r7anzk5.js +0 -2
  320. package/bundle/chunk-2jzay8a9.js +0 -2
  321. package/bundle/chunk-30rghawe.js +0 -2
  322. package/bundle/chunk-31a47ptm.js +0 -10
  323. package/bundle/chunk-33mzqyyb.js +0 -3
  324. package/bundle/chunk-3dajnr1w.js +0 -2
  325. package/bundle/chunk-3ege6krg.js +0 -2
  326. package/bundle/chunk-43vpxggb.js +0 -2
  327. package/bundle/chunk-49y7zg15.js +0 -2
  328. package/bundle/chunk-5qhsfjzq.js +0 -3
  329. package/bundle/chunk-5re7995e.js +0 -2
  330. package/bundle/chunk-5xxn06g0.js +0 -2
  331. package/bundle/chunk-6k0y2332.js +0 -2
  332. package/bundle/chunk-6qwnty59.js +0 -8
  333. package/bundle/chunk-7cp30q0t.js +0 -2
  334. package/bundle/chunk-7t63wz2f.js +0 -2
  335. package/bundle/chunk-8gz8fk6r.js +0 -2
  336. package/bundle/chunk-8ht7cq3h.js +0 -2
  337. package/bundle/chunk-8qv0119d.js +0 -2
  338. package/bundle/chunk-9m0eawt5.js +0 -2
  339. package/bundle/chunk-a32y70fe.js +0 -2
  340. package/bundle/chunk-ae1b15bd.js +0 -31
  341. package/bundle/chunk-apneazwv.js +0 -2
  342. package/bundle/chunk-aw5yv01t.js +0 -2
  343. package/bundle/chunk-az12tp53.js +0 -2
  344. package/bundle/chunk-b5dpzcc7.js +0 -2
  345. package/bundle/chunk-baq0wk3q.js +0 -2
  346. package/bundle/chunk-bcgtqx3g.js +0 -2
  347. package/bundle/chunk-bde5d507.js +0 -2
  348. package/bundle/chunk-bzzggc3s.js +0 -2
  349. package/bundle/chunk-c8qx439t.js +0 -2
  350. package/bundle/chunk-ckw51fn6.js +0 -2
  351. package/bundle/chunk-denp0wrq.js +0 -2
  352. package/bundle/chunk-depxzjer.js +0 -2
  353. package/bundle/chunk-dhvqpcf3.js +0 -2
  354. package/bundle/chunk-dkqqswbv.js +0 -2
  355. package/bundle/chunk-e5t7jsxa.js +0 -2
  356. package/bundle/chunk-eb811dt2.js +0 -2
  357. package/bundle/chunk-fbz2xv2w.js +0 -2
  358. package/bundle/chunk-ffynh19k.js +0 -2
  359. package/bundle/chunk-fgr9xshx.js +0 -2
  360. package/bundle/chunk-gbvcb4k1.js +0 -2
  361. package/bundle/chunk-gdtnqzbp.js +0 -2
  362. package/bundle/chunk-gkfvhh28.js +0 -2
  363. package/bundle/chunk-gvx5hmhk.js +0 -2
  364. package/bundle/chunk-gww6abk3.js +0 -2
  365. package/bundle/chunk-hham7r33.js +0 -2
  366. package/bundle/chunk-hmm0gj34.js +0 -3
  367. package/bundle/chunk-hsjbe5zy.js +0 -2
  368. package/bundle/chunk-j89sv999.js +0 -2
  369. package/bundle/chunk-k9b4005p.js +0 -2
  370. package/bundle/chunk-kht2kwam.js +0 -2
  371. package/bundle/chunk-kzkb4648.js +0 -2
  372. package/bundle/chunk-m2540waa.js +0 -2
  373. package/bundle/chunk-mreacz8r.js +0 -2
  374. package/bundle/chunk-mscvm1rm.js +0 -2
  375. package/bundle/chunk-mw3hh526.js +0 -2
  376. package/bundle/chunk-n3nsrk5n.js +0 -2
  377. package/bundle/chunk-n4qbnecw.js +0 -35
  378. package/bundle/chunk-n9nmc4q4.js +0 -2
  379. package/bundle/chunk-nj4as8vy.js +0 -2
  380. package/bundle/chunk-nxm6gpyv.js +0 -2
  381. package/bundle/chunk-pqzx9ha6.js +0 -2
  382. package/bundle/chunk-qbjqkezn.js +0 -2
  383. package/bundle/chunk-qhtp1xvx.js +0 -2
  384. package/bundle/chunk-qkztgpay.js +0 -2
  385. package/bundle/chunk-rnf3dy0y.js +0 -2
  386. package/bundle/chunk-rry4kq85.js +0 -2
  387. package/bundle/chunk-rt49c6js.js +0 -5
  388. package/bundle/chunk-ryfj80q6.js +0 -2
  389. package/bundle/chunk-snx49w8h.js +0 -2
  390. package/bundle/chunk-t21mdqbb.js +0 -2
  391. package/bundle/chunk-tkbjcznz.js +0 -2
  392. package/bundle/chunk-tn2yyqeb.js +0 -2
  393. package/bundle/chunk-ttebf3nt.js +0 -2
  394. package/bundle/chunk-twpfh0mx.js +0 -2
  395. package/bundle/chunk-tzf6d5qy.js +0 -2
  396. package/bundle/chunk-v2mq09wx.js +0 -2
  397. package/bundle/chunk-v59a02aj.js +0 -2
  398. package/bundle/chunk-vxr4rzt0.js +0 -2
  399. package/bundle/chunk-w0h9rczg.js +0 -2
  400. package/bundle/chunk-w8344et5.js +0 -2
  401. package/bundle/chunk-weyg78et.js +0 -2
  402. package/bundle/chunk-wyavgt96.js +0 -2
  403. package/bundle/chunk-xchj8gna.js +0 -2
  404. package/bundle/chunk-yvjecrjy.js +0 -2
  405. package/bundle/chunk-yw2x6by6.js +0 -2
  406. package/bundle/chunk-z0r4syk8.js +0 -2
  407. package/bundle/chunk-z7c00g63.js +0 -2
  408. package/bundle/chunk-z93n3cbm.js +0 -2
  409. package/bundle/chunk-znr0saas.js +0 -2
  410. package/bundle/chunk-zqqt7v17.js +0 -2
  411. package/bundle/chunk-zwrgh1hc.js +0 -2
  412. package/bundle/chunk-zwxp07yc.js +0 -2
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{In as z2}from"./chunk-h036zy9e.js";import{Hr as i0,Jr as s0}from"./chunk-2tkgtasa.js";import{Zs as Q2}from"./chunk-2w3n0q9m.js";import{ct as E0}from"./chunk-fdmz0502.js";import{kt as x0}from"./chunk-mnjz8nqs.js";import{Gt as t}from"./chunk-6yshpz0z.js";import{Pt as e}from"./chunk-5dvy83ms.js";import{Zt as $2,du as f,hu as S,iu as a0,ku as o,mu as j0}from"./chunk-ffx0cr44.js";import{nu as p}from"./chunk-33mzqyyb.js";import{Rz as d0}from"./chunk-wfpnv00c.js";import{BC as V0,FF as g,SA as o0,VH as K0,VO as w,_F as c,fL as Z2,gI as J,nC as L}from"./chunk-9kc2th5c.js";import{uP as W0,wP as e0,yP as L2}from"./chunk-sh03ka27.js";function z0(Z,Q=!1){let z=Z.length,$=0,X="",Y=0,U=16,G=0,W=0,I=0,H=0,q=0;function R(j,_){let V=0,B=0;while(V<j||!_){let M=Z.charCodeAt($);if(M>=48&&M<=57)B=B*16+M-48;else if(M>=65&&M<=70)B=B*16+M-65+10;else if(M>=97&&M<=102)B=B*16+M-97+10;else break;$++,V++}if(V<j)B=-1;return B}function N(j){$=j,X="",Y=0,U=16,q=0}function A(){let j=$;if(Z.charCodeAt($)===48)$++;else{$++;while($<Z.length&&s(Z.charCodeAt($)))$++}if($<Z.length&&Z.charCodeAt($)===46)if($++,$<Z.length&&s(Z.charCodeAt($))){$++;while($<Z.length&&s(Z.charCodeAt($)))$++}else return q=3,Z.substring(j,$);let _=$;if($<Z.length&&(Z.charCodeAt($)===69||Z.charCodeAt($)===101)){if($++,$<Z.length&&Z.charCodeAt($)===43||Z.charCodeAt($)===45)$++;if($<Z.length&&s(Z.charCodeAt($))){$++;while($<Z.length&&s(Z.charCodeAt($)))$++;_=$}else q=3}return Z.substring(j,_)}function O(){let j="",_=$;while(!0){if($>=z){j+=Z.substring(_,$),q=2;break}let V=Z.charCodeAt($);if(V===34){j+=Z.substring(_,$),$++;break}if(V===92){if(j+=Z.substring(_,$),$++,$>=z){q=2;break}switch(Z.charCodeAt($++)){case 34:j+='"';break;case 92:j+="\\";break;case 47:j+="/";break;case 98:j+="\b";break;case 102:j+="\f";break;case 110:j+=`
2
+ import{gp as z2}from"./chunk-ya7wrt5f.js";import{lt as i0,nt as s0}from"./chunk-svnhycdw.js";import{Du as Q2}from"./chunk-4gv7nsdd.js";import{Iu as E0}from"./chunk-76jbys6j.js";import{Qu as x0}from"./chunk-dm7hfb7f.js";import{kv as t}from"./chunk-s5taq9jy.js";import{tv as e}from"./chunk-62mb6wxm.js";import{Dv as $2,Jv as f,Nv as S,Ov as a0,Qv as o,Sv as j0}from"./chunk-zg72kz2k.js";import{Tv as p}from"./chunk-kr7t73tg.js";import{vB as d0}from"./chunk-sprbs7aj.js";import{EH as c,LM as Z2,MJ as J,TD as L,fE as V0,jH as g,wC as o0,zJ as K0,zQ as w}from"./chunk-qvnsgyfk.js";import{_Q as W0,aR as e0,cR as L2}from"./chunk-pfx8ts02.js";function z0(Z,Q=!1){let z=Z.length,$=0,X="",Y=0,U=16,G=0,W=0,I=0,H=0,q=0;function R(j,_){let V=0,B=0;while(V<j||!_){let M=Z.charCodeAt($);if(M>=48&&M<=57)B=B*16+M-48;else if(M>=65&&M<=70)B=B*16+M-65+10;else if(M>=97&&M<=102)B=B*16+M-97+10;else break;$++,V++}if(V<j)B=-1;return B}function N(j){$=j,X="",Y=0,U=16,q=0}function A(){let j=$;if(Z.charCodeAt($)===48)$++;else{$++;while($<Z.length&&s(Z.charCodeAt($)))$++}if($<Z.length&&Z.charCodeAt($)===46)if($++,$<Z.length&&s(Z.charCodeAt($))){$++;while($<Z.length&&s(Z.charCodeAt($)))$++}else return q=3,Z.substring(j,$);let _=$;if($<Z.length&&(Z.charCodeAt($)===69||Z.charCodeAt($)===101)){if($++,$<Z.length&&Z.charCodeAt($)===43||Z.charCodeAt($)===45)$++;if($<Z.length&&s(Z.charCodeAt($))){$++;while($<Z.length&&s(Z.charCodeAt($)))$++;_=$}else q=3}return Z.substring(j,_)}function O(){let j="",_=$;while(!0){if($>=z){j+=Z.substring(_,$),q=2;break}let V=Z.charCodeAt($);if(V===34){j+=Z.substring(_,$),$++;break}if(V===92){if(j+=Z.substring(_,$),$++,$>=z){q=2;break}switch(Z.charCodeAt($++)){case 34:j+='"';break;case 92:j+="\\";break;case 47:j+="/";break;case 98:j+="\b";break;case 102:j+="\f";break;case 110:j+=`
3
3
  `;break;case 114:j+="\r";break;case 116:j+="\t";break;case 117:let M=R(4,!0);if(M>=0)j+=String.fromCharCode(M);else q=4;break;default:q=5}_=$;continue}if(V>=0&&V<=31)if(Q0(V)){j+=Z.substring(_,$),q=2;break}else q=6;$++}return j}function K(){if(X="",q=0,Y=$,W=G,H=I,$>=z)return Y=z,U=17;let j=Z.charCodeAt($);if(b0(j)){do $++,X+=String.fromCharCode(j),j=Z.charCodeAt($);while(b0(j));return U=15}if(Q0(j)){if($++,X+=String.fromCharCode(j),j===13&&Z.charCodeAt($)===10)$++,X+=`
4
4
  `;return G++,I=$,U=14}switch(j){case 123:return $++,U=1;case 125:return $++,U=2;case 91:return $++,U=3;case 93:return $++,U=4;case 58:return $++,U=6;case 44:return $++,U=5;case 34:return $++,X=O(),U=10;case 47:let _=$-1;if(Z.charCodeAt($+1)===47){$+=2;while($<z){if(Q0(Z.charCodeAt($)))break;$++}return X=Z.substring(_,$),U=12}if(Z.charCodeAt($+1)===42){$+=2;let V=z-1,B=!1;while($<V){let M=Z.charCodeAt($);if(M===42&&Z.charCodeAt($+1)===47){$+=2,B=!0;break}if($++,Q0(M)){if(M===13&&Z.charCodeAt($)===10)$++;G++,I=$}}if(!B)$++,q=1;return X=Z.substring(_,$),U=13}return X+=String.fromCharCode(j),$++,U=16;case 45:if(X+=String.fromCharCode(j),$++,$===z||!s(Z.charCodeAt($)))return U=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return X+=A(),U=11;default:while($<z&&y(j))$++,j=Z.charCodeAt($);if(Y!==$){switch(X=Z.substring(Y,$),X){case"true":return U=8;case"false":return U=9;case"null":return U=7}return U=16}return X+=String.fromCharCode(j),$++,U=16}}function y(j){if(b0(j)||Q0(j))return!1;switch(j){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function v(){let j;do j=K();while(j>=12&&j<=15);return j}return{setPosition:N,getPosition:()=>$,scan:Q?v:K,getToken:()=>U,getTokenValue:()=>X,getTokenOffset:()=>Y,getTokenLength:()=>$-Y,getTokenStartLine:()=>W,getTokenStartCharacter:()=>Y-H,getTokenError:()=>q}}function b0(Z){return Z===32||Z===9}function Q0(Z){return Z===10||Z===13}function s(Z){return Z>=48&&Z<=57}var u0;(function(Z){Z[Z.lineFeed=10]="lineFeed",Z[Z.carriageReturn=13]="carriageReturn",Z[Z.space=32]="space",Z[Z._0=48]="_0",Z[Z._1=49]="_1",Z[Z._2=50]="_2",Z[Z._3=51]="_3",Z[Z._4=52]="_4",Z[Z._5=53]="_5",Z[Z._6=54]="_6",Z[Z._7=55]="_7",Z[Z._8=56]="_8",Z[Z._9=57]="_9",Z[Z.a=97]="a",Z[Z.b=98]="b",Z[Z.c=99]="c",Z[Z.d=100]="d",Z[Z.e=101]="e",Z[Z.f=102]="f",Z[Z.g=103]="g",Z[Z.h=104]="h",Z[Z.i=105]="i",Z[Z.j=106]="j",Z[Z.k=107]="k",Z[Z.l=108]="l",Z[Z.m=109]="m",Z[Z.n=110]="n",Z[Z.o=111]="o",Z[Z.p=112]="p",Z[Z.q=113]="q",Z[Z.r=114]="r",Z[Z.s=115]="s",Z[Z.t=116]="t",Z[Z.u=117]="u",Z[Z.v=118]="v",Z[Z.w=119]="w",Z[Z.x=120]="x",Z[Z.y=121]="y",Z[Z.z=122]="z",Z[Z.A=65]="A",Z[Z.B=66]="B",Z[Z.C=67]="C",Z[Z.D=68]="D",Z[Z.E=69]="E",Z[Z.F=70]="F",Z[Z.G=71]="G",Z[Z.H=72]="H",Z[Z.I=73]="I",Z[Z.J=74]="J",Z[Z.K=75]="K",Z[Z.L=76]="L",Z[Z.M=77]="M",Z[Z.N=78]="N",Z[Z.O=79]="O",Z[Z.P=80]="P",Z[Z.Q=81]="Q",Z[Z.R=82]="R",Z[Z.S=83]="S",Z[Z.T=84]="T",Z[Z.U=85]="U",Z[Z.V=86]="V",Z[Z.W=87]="W",Z[Z.X=88]="X",Z[Z.Y=89]="Y",Z[Z.Z=90]="Z",Z[Z.asterisk=42]="asterisk",Z[Z.backslash=92]="backslash",Z[Z.closeBrace=125]="closeBrace",Z[Z.closeBracket=93]="closeBracket",Z[Z.colon=58]="colon",Z[Z.comma=44]="comma",Z[Z.dot=46]="dot",Z[Z.doubleQuote=34]="doubleQuote",Z[Z.minus=45]="minus",Z[Z.openBrace=123]="openBrace",Z[Z.openBracket=91]="openBracket",Z[Z.plus=43]="plus",Z[Z.slash=47]="slash",Z[Z.formFeed=12]="formFeed",Z[Z.tab=9]="tab"})(u0||(u0={}));var x=Array(20).fill(0).map((Z,Q)=>{return" ".repeat(Q)});var L0={" ":{"\n":Array(200).fill(0).map((Z,Q)=>{return`
5
5
  `+" ".repeat(Q)}),"\r":Array(200).fill(0).map((Z,Q)=>{return"\r"+" ".repeat(Q)}),"\r\n":Array(200).fill(0).map((Z,Q)=>{return`\r
@@ -13,5 +13,5 @@ import{In as z2}from"./chunk-h036zy9e.js";import{Hr as i0,Jr as s0}from"./chunk-
13
13
  `)return`
14
14
  `}return Z&&Z.eol||`
15
15
  `}function X0(Z,Q){return`\r
16
- `.indexOf(Z.charAt(Q))!==-1}var Y0;(function(Z){Z.DEFAULT={allowTrailingComma:!1}})(Y0||(Y0={}));function l0(Z,Q=[],z=Y0.DEFAULT){let $=null,X=[],Y=[];function U(W){if(Array.isArray(X))X.push(W);else if($!==null)X[$]=W}return P0(Z,{onObjectBegin:()=>{let W={};U(W),Y.push(X),X=W,$=null},onObjectProperty:(W)=>{$=W},onObjectEnd:()=>{X=Y.pop()},onArrayBegin:()=>{let W=[];U(W),Y.push(X),X=W,$=null},onArrayEnd:()=>{X=Y.pop()},onLiteralValue:U,onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z),X[0]}function y0(Z,Q=[],z=Y0.DEFAULT){let $={type:"array",offset:-1,length:-1,children:[],parent:void 0};function X(W){if($.type==="property")$.length=W-$.offset,$=$.parent}function Y(W){return $.children.push(W),W}P0(Z,{onObjectBegin:(W)=>{$=Y({type:"object",offset:W,length:-1,parent:$,children:[]})},onObjectProperty:(W,I,H)=>{$=Y({type:"property",offset:I,length:-1,parent:$,children:[]}),$.children.push({type:"string",value:W,offset:I,length:H,parent:$})},onObjectEnd:(W,I)=>{X(W+I),$.length=W+I-$.offset,$=$.parent,X(W+I)},onArrayBegin:(W,I)=>{$=Y({type:"array",offset:W,length:-1,parent:$,children:[]})},onArrayEnd:(W,I)=>{$.length=W+I-$.offset,$=$.parent,X(W+I)},onLiteralValue:(W,I,H)=>{Y({type:F2(W),offset:I,length:H,parent:$,value:W}),X(I+H)},onSeparator:(W,I,H)=>{if($.type==="property"){if(W===":")$.colonOffset=I;else if(W===",")X(I)}},onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z);let G=$.children[0];if(G)delete G.parent;return G}function I0(Z,Q){if(!Z)return;let z=Z;for(let $ of Q)if(typeof $==="string"){if(z.type!=="object"||!Array.isArray(z.children))return;let X=!1;for(let Y of z.children)if(Array.isArray(Y.children)&&Y.children[0].value===$&&Y.children.length===2){z=Y.children[1],X=!0;break}if(!X)return}else{let X=$;if(z.type!=="array"||X<0||!Array.isArray(z.children)||X>=z.children.length)return;z=z.children[X]}return z}function P0(Z,Q,z=Y0.DEFAULT){let $=z0(Z,!1),X=[],Y=0;function U(F){return F?()=>Y===0&&F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function G(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function W(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice()):()=>!0}function I(F){return F?()=>{if(Y>0)Y++;else if(F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice())===!1)Y=1}:()=>!0}function H(F){return F?()=>{if(Y>0)Y--;if(Y===0)F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter())}:()=>!0}let q=I(Q.onObjectBegin),R=W(Q.onObjectProperty),N=H(Q.onObjectEnd),A=I(Q.onArrayBegin),O=H(Q.onArrayEnd),K=W(Q.onLiteralValue),y=G(Q.onSeparator),v=U(Q.onComment),j=G(Q.onError),_=z&&z.disallowComments,V=z&&z.allowTrailingComma;function B(){while(!0){let F=$.scan();switch($.getTokenError()){case 4:M(14);break;case 5:M(15);break;case 3:M(13);break;case 1:if(!_)M(11);break;case 2:M(12);break;case 6:M(16);break}switch(F){case 12:case 13:if(_)M(10);else v();break;case 16:M(1);break;case 15:case 14:break;default:return F}}}function M(F,b=[],U0=[]){if(j(F),b.length+U0.length>0){let i=$.getToken();while(i!==17){if(b.indexOf(i)!==-1){B();break}else if(U0.indexOf(i)!==-1)break;i=B()}}}function m(F){let b=$.getTokenValue();if(F)K(b);else R(b),X.push(b);return B(),!0}function l(){switch($.getToken()){case 11:let F=$.getTokenValue(),b=Number(F);if(isNaN(b))M(2),b=0;K(b);break;case 7:K(null);break;case 8:K(!0);break;case 9:K(!1);break;default:return!1}return B(),!0}function d(){if($.getToken()!==10)return M(3,[],[2,5]),!1;if(m(!1),$.getToken()===6){if(y(":"),B(),!Z0())M(4,[],[2,5])}else M(5,[],[2,5]);return X.pop(),!0}function M0(){q(),B();let F=!1;while($.getToken()!==2&&$.getToken()!==17){if($.getToken()===5){if(!F)M(4,[],[]);if(y(","),B(),$.getToken()===2&&V)break}else if(F)M(6,[],[]);if(!d())M(4,[],[2,5]);F=!0}if(N(),$.getToken()!==2)M(7,[2],[]);else B();return!0}function w0(){A(),B();let F=!0,b=!1;while($.getToken()!==4&&$.getToken()!==17){if($.getToken()===5){if(!b)M(4,[],[]);if(y(","),B(),$.getToken()===4&&V)break}else if(b)M(6,[],[]);if(F)X.push(0),F=!1;else X[X.length-1]++;if(!Z0())M(4,[],[4,5]);b=!0}if(O(),!F)X.pop();if($.getToken()!==4)M(8,[4],[]);else B();return!0}function Z0(){switch($.getToken()){case 3:return w0();case 1:return M0();case 10:return m(!0);default:return l()}}if(B(),$.getToken()===17){if(z.allowEmptyContent)return!0;return M(4,[],[]),!1}if(!Z0())return M(4,[],[]),!1;if($.getToken()!==17)M(9,[],[]);return!0}function F2(Z){switch(typeof Z){case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"object":{if(!Z)return"null";else if(Array.isArray(Z))return"array";return"object"}default:return"null"}}function h0(Z,Q,z,$){let X=Q.slice(),U=y0(Z,[]),G=void 0,W=void 0;while(X.length>0)if(W=X.pop(),G=I0(U,X),G===void 0&&z!==void 0)if(typeof W==="string")z={[W]:z};else z=[z];else break;if(!G){if(z===void 0)throw Error("Can not delete in empty document");return C(Z,{offset:U?U.offset:0,length:U?U.length:0,content:JSON.stringify(z)},$)}else if(G.type==="object"&&typeof W==="string"&&Array.isArray(G.children)){let I=I0(G,[W]);if(I!==void 0)if(z===void 0){if(!I.parent)throw Error("Malformed AST");let H=G.children.indexOf(I.parent),q,R=I.parent.offset+I.parent.length;if(H>0){let N=G.children[H-1];q=N.offset+N.length}else if(q=G.offset+1,G.children.length>1)R=G.children[1].offset;return C(Z,{offset:q,length:R-q,content:""},$)}else return C(Z,{offset:I.offset,length:I.length,content:JSON.stringify(z)},$);else{if(z===void 0)return[];let H=`${JSON.stringify(W)}: ${JSON.stringify(z)}`,q=$.getInsertionIndex?$.getInsertionIndex(G.children.map((N)=>N.children[0].value)):G.children.length,R;if(q>0){let N=G.children[q-1];R={offset:N.offset+N.length,length:0,content:","+H}}else if(G.children.length===0)R={offset:G.offset+1,length:0,content:H};else R={offset:G.offset+1,length:0,content:H+","};return C(Z,R,$)}}else if(G.type==="array"&&typeof W==="number"&&Array.isArray(G.children)){let I=W;if(I===-1){let H=`${JSON.stringify(z)}`,q;if(G.children.length===0)q={offset:G.offset+1,length:0,content:H};else{let R=G.children[G.children.length-1];q={offset:R.offset+R.length,length:0,content:","+H}}return C(Z,q,$)}else if(z===void 0&&G.children.length>=0){let H=W,q=G.children[H],R;if(G.children.length===1)R={offset:G.offset+1,length:G.length-2,content:""};else if(G.children.length-1===H){let N=G.children[H-1],A=N.offset+N.length,O=G.offset+G.length;R={offset:A,length:O-2-A,content:""}}else R={offset:q.offset,length:G.children[H+1].offset-q.offset,content:""};return C(Z,R,$)}else if(z!==void 0){let H,q=`${JSON.stringify(z)}`;if(!$.isArrayInsertion&&G.children.length>W){let R=G.children[W];H={offset:R.offset,length:R.length,content:q}}else if(G.children.length===0||W===0)H={offset:G.offset+1,length:0,content:G.children.length===0?q:q+","};else{let R=W>G.children.length?G.children.length:W,N=G.children[R-1];H={offset:N.offset+N.length,length:0,content:","+q}}return C(Z,H,$)}else throw Error(`Can not ${z===void 0?"remove":$.isArrayInsertion?"insert":"modify"} Array index ${I} as length is not sufficient`)}else throw Error(`Can not add ${typeof W!=="number"?"index":"property"} to parent of type ${G.type}`)}function C(Z,Q,z){if(!z.formattingOptions)return[Q];let $=R0(Z,Q),X=Q.offset,Y=Q.offset+Q.content.length;if(Q.length===0||Q.content.length===0){while(X>0&&!X0($,X-1))X--;while(Y<$.length&&!X0($,Y))Y++}let U=T0($,{offset:X,length:Y-X},{...z.formattingOptions,keepLines:!1});for(let W=U.length-1;W>=0;W--){let I=U[W];$=R0($,I),X=Math.min(X,I.offset),Y=Math.max(Y,I.offset+I.length),Y+=I.content.length-I.length}let G=Z.length-($.length-Y)-X;return[{offset:X,length:G,content:$.substring(X,Y)}]}function R0(Z,Q){return Z.substring(0,Q.offset)+Q.content+Z.substring(Q.offset+Q.length)}var p0;(function(Z){Z[Z.None=0]="None",Z[Z.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=2]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=4]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=6]="InvalidCharacter"})(p0||(p0={}));var C0;(function(Z){Z[Z.OpenBraceToken=1]="OpenBraceToken",Z[Z.CloseBraceToken=2]="CloseBraceToken",Z[Z.OpenBracketToken=3]="OpenBracketToken",Z[Z.CloseBracketToken=4]="CloseBracketToken",Z[Z.CommaToken=5]="CommaToken",Z[Z.ColonToken=6]="ColonToken",Z[Z.NullKeyword=7]="NullKeyword",Z[Z.TrueKeyword=8]="TrueKeyword",Z[Z.FalseKeyword=9]="FalseKeyword",Z[Z.StringLiteral=10]="StringLiteral",Z[Z.NumericLiteral=11]="NumericLiteral",Z[Z.LineCommentTrivia=12]="LineCommentTrivia",Z[Z.BlockCommentTrivia=13]="BlockCommentTrivia",Z[Z.LineBreakTrivia=14]="LineBreakTrivia",Z[Z.Trivia=15]="Trivia",Z[Z.Unknown=16]="Unknown",Z[Z.EOF=17]="EOF"})(C0||(C0={}));var JZ=l0;var c0;(function(Z){Z[Z.InvalidSymbol=1]="InvalidSymbol",Z[Z.InvalidNumberFormat=2]="InvalidNumberFormat",Z[Z.PropertyNameExpected=3]="PropertyNameExpected",Z[Z.ValueExpected=4]="ValueExpected",Z[Z.ColonExpected=5]="ColonExpected",Z[Z.CommaExpected=6]="CommaExpected",Z[Z.CloseBraceExpected=7]="CloseBraceExpected",Z[Z.CloseBracketExpected=8]="CloseBracketExpected",Z[Z.EndOfFileExpected=9]="EndOfFileExpected",Z[Z.InvalidCommentToken=10]="InvalidCommentToken",Z[Z.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=12]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=14]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=16]="InvalidCharacter"})(c0||(c0={}));function WZ(Z){switch(Z){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}function GZ(Z,Q,z,$){return h0(Z,Q,z,$)}function jZ(Z,Q){let z=Q.slice(0).sort((X,Y)=>{let U=X.offset-Y.offset;if(U===0)return X.length-Y.length;return U}),$=Z.length;for(let X=z.length-1;X>=0;X--){let Y=z[X];if(Y.offset+Y.length<=$)Z=R0(Z,Y);else throw Error("Overlapping edit");$=Y.offset}return Z}function n0(Z,Q){let z,$=()=>z??=d0.make(g.provideMerge(Q,i0.layer),{memoMap:s0});return{runSync:(X)=>$().runSync(Z.use(X)),runPromiseExit:(X,Y)=>$().runPromiseExit(Z.use(X),Y),runPromise:(X,Y)=>$().runPromise(Z.use(X),Y),runFork:(X)=>$().runFork(Z.use(X)),runCallback:(X)=>$().runCallback(Z.use(X))}}var G0={};e0(G0,{which:()=>S2,sanitize:()=>Y2,outdated:()=>P2,layer:()=>H2,install:()=>T2,defaultLayer:()=>J2,add:()=>y2,Service:()=>J0,Npm:()=>G0,InstallFailedError:()=>D0});var X2=W0(Q2(),1),S0=W0(z2(),1);import k from"path";import B0 from"path";import O2 from"os";import{randomUUID as b2}from"crypto";var A0;((H0)=>{class Z extends w.TaggedErrorClass()("LockTimeoutError",{key:w.String}){}H0.LockTimeoutError=Z;class Q extends w.TaggedErrorClass()("LockCompromisedError",{detail:w.String}){}H0.LockCompromisedError=Q;class z extends w.TaggedErrorClass()("ReleaseError",{detail:w.String,cause:w.optional(w.Defect)}){get message(){return this.detail}}class $ extends w.TaggedErrorClass()("NotAcquired",{}){}let X=60000,Y=300000,U=100,G=2000,W=Math.max(100,Math.floor(X/3)),I=c.exponential(U,1.7).pipe(c.either(c.spaced(G)),c.jittered,c.while((j)=>j.elapsed<Y)),H=w.fromJsonString(w.Struct({token:w.String,pid:w.Number,hostname:w.String,createdAt:w.String})),q=w.decodeUnknownSync(H),R=w.encodeSync(H);class N extends V0.Service()("EffectFlock"){}H0.Service=N;function A(){return performance.timeOrigin+performance.now()}let O=(j)=>L.getOrElse(j.mtime,()=>new Date(0)).getTime(),K=(j)=>j.reason._tag==="NotFound"||j.reason._tag==="Unknown";H0.layer=g.effect(N,J.gen(function*(){let j=yield*o.Service,_=yield*f.Service,V=B0.join(j.state,"locks"),B=O2.hostname(),M=new Set,m=(D)=>_.stat(D).pipe(J.catchIf(K,()=>J.void),J.orDie),l=(D)=>_.remove(D,{recursive:!0}).pipe(J.ignore),d=(D)=>_.makeDirectory(D,{mode:448}).pipe(J.as(!0),J.catchIf((T)=>T.reason._tag==="AlreadyExists",()=>J.succeed(!1)),J.orDie),M0=(D,T,E,P)=>_.writeFileString(D,T,{flag:"wx"}).pipe(J.catch(()=>J.gen(function*(){return yield*l(E),yield*new Q({detail:P})}))),w0=J.fnUntraced(function*(D){let T=yield*m(D);if(T&&A()-O(T)>X)yield*l(D);return!1}),Z0=J.fnUntraced(function*(D){if(M.has(D))return;yield*_.makeDirectory(D,{recursive:!0}).pipe(J.orDie),M.add(D)}),F=J.fnUntraced(function*(D,T,E){let P=A(),h=yield*m(T);if(h)return P-O(h)>X;let $0=yield*m(E);if($0)return P-O($0)>X;let q0=yield*m(D);if(!q0)return!1;return P-O(q0)>X}),b=(D,T)=>J.gen(function*(){let E=b2(),P=B0.join(D,"meta.json"),h=B0.join(D,"heartbeat");if(!(yield*d(D))){if(!(yield*F(D,h,P)))return yield*new $;let O0=D+".breaker";if(!(yield*_.makeDirectory(O0,{mode:448}).pipe(J.as(!0),J.catchIf((V2)=>V2.reason._tag==="AlreadyExists",()=>w0(O0)),J.catchIf(K,()=>J.succeed(!1)),J.orDie)))return yield*new $;if(!(yield*J.gen(function*(){if(!(yield*F(D,h,P)))return!1;return yield*l(D),yield*d(D)}).pipe(J.ensuring(l(O0)))))return yield*new $}yield*M0(h,"",D,"heartbeat already existed");let q0=R({token:E,pid:process.pid,hostname:B,createdAt:new Date().toISOString()});return yield*M0(P,q0,D,"meta.json already existed"),{token:E,metaPath:P,heartbeatPath:h,lockDir:D}}).pipe(J.withSpan("EffectFlock.tryAcquire",{attributes:{key:T}})),U0=(D,T)=>b(D,T).pipe(J.retry({while:(E)=>E._tag==="NotAcquired",schedule:I}),J.catchTag("NotAcquired",()=>J.fail(new Z({key:T})))),i=(D)=>J.gen(function*(){let T=yield*_.readFileString(D.metaPath).pipe(J.catch((P)=>{if(K(P))return J.die(new z({detail:"metadata missing"}));return J.die(P)}));if((yield*J.try({try:()=>q(T),catch:(P)=>new z({detail:"metadata invalid",cause:P})}).pipe(J.orDie)).token!==D.token)return yield*J.die(new z({detail:"token mismatch"}));yield*l(D.lockDir)}),k0=J.fn("EffectFlock.acquire")(function*(D,T){let E=T??V;yield*Z0(E);let P=B0.join(E,a0.fast(D)+".lock"),h=yield*J.acquireRelease(U0(P,D),($0)=>i($0));yield*_.utimes(h.heartbeatPath,new Date,new Date).pipe(J.ignore,J.repeat(c.spaced(W)),J.forkScoped)}),B2=o0.dual((D)=>J.isEffect(D[0]),(D,T,E)=>J.scoped(J.gen(function*(){return yield*k0(T,E),yield*D})));return N.of({acquire:k0,withLock:B2})})),H0.defaultLayer=H0.layer.pipe(g.provide(f.defaultLayer),g.provide(o.layer))})(A0||={});class D0 extends w.TaggedErrorClass()("NpmInstallFailedError",{add:w.Array(w.String).pipe(w.optional),dir:w.String,cause:w.optional(w.Defect)}){}class J0 extends V0.Service()("@qitqode/Npm"){}var r0=process.platform==="win32"?new Set(["<",">",":",'"',"|","?","*"]):void 0;function Y2(Z){if(!r0)return Z;return Array.from(Z,(Q)=>r0.has(Q)||Q.charCodeAt(0)<32?"_":Q).join("")}var t0=(Z,Q)=>{let z;try{let $=typeof Bun<"u"?import.meta.resolve(Z,Q):import.meta.resolve(Q);z=L.some($)}catch{z=L.none()}return{directory:Q,entrypoint:z}},H2=g.effect(J0,J.gen(function*(){let Z=yield*f.Service,Q=yield*o.Service,z=yield*Z2.FileSystem,$=yield*A0.Service,X=(H)=>k.join(Q.cache,"packages",Y2(H)),Y=(H)=>J.gen(function*(){yield*$.acquire(`npm-install:${H.dir}`);let{Arborist:q}=yield*J.promise(()=>import("./chunk-rx9eh3db.js").then((m)=>W0(m.default,1))),R=new q({path:H.dir,binLinks:!0,progress:!1,savePrefix:"",ignoreScripts:!0});return yield*J.tryPromise({try:()=>R.reify({add:H?.add||[],save:!0,saveType:"prod"}),catch:(N)=>new D0({cause:N,add:H?.add,dir:H.dir})})}).pipe(J.withSpan("Npm.reify",{attributes:H})),U=J.fn("Npm.outdated")(function*(H,q){let R=yield*J.tryPromise({try:()=>fetch(`https://registry.npmjs.org/${H}`),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return}));if(!R||!R.ok)return!1;let A=(yield*J.tryPromise({try:()=>R.json(),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return})))?.["dist-tags"]?.latest;if(!A)return!1;if(/[\s^~*xX<>|=]/.test(q))return!S0.default.satisfies(A,q);return S0.default.lt(q,A)}),G=J.fn("Npm.add")(function*(H){let q=X(H),R=(()=>{try{return X2.default(H).name??H}catch{return H}})();if(yield*Z.existsSafe(q))return t0(R,k.join(q,"node_modules",R));let A=(yield*Y({dir:q,add:[H]})).edgesOut.values().next().value?.to;if(!A)return yield*new D0({add:[H],dir:q});return t0(A.name,A.path)},J.scoped),W=J.fn("Npm.install")(function*(H,q){if(!(yield*Z.access(H,{writable:!0}).pipe(J.as(!0),J.orElseSucceed(()=>!1))))return;let N=q?.add.map((A)=>[A.name,A.version].filter(Boolean).join("@"))??[];if(yield*J.gen(function*(){if(!(yield*Z.existsSafe(k.join(H,"node_modules"))))return yield*Y({add:N,dir:H}),!0;return!1}).pipe(J.withSpan("Npm.checkNodeModules")))return;yield*J.gen(function*(){let A=yield*Z.readJson(k.join(H,"package.json")).pipe(J.orElseSucceed(()=>({}))),O=yield*Z.readJson(k.join(H,"package-lock.json")).pipe(J.orElseSucceed(()=>({}))),K=A,y=O,v=new Set([...Object.keys(K?.dependencies||{}),...Object.keys(K?.devDependencies||{}),...Object.keys(K?.peerDependencies||{}),...Object.keys(K?.optionalDependencies||{}),...(q?.add||[]).map((V)=>V.name)]),j=y?.packages?.[""]||{},_=new Set([...Object.keys(j?.dependencies||{}),...Object.keys(j?.devDependencies||{}),...Object.keys(j?.peerDependencies||{}),...Object.keys(j?.optionalDependencies||{})]);for(let V of v)if(!_.has(V)){yield*Y({dir:H,add:N});return}}).pipe(J.withSpan("Npm.checkDirty"));return},J.scoped),I=J.fn("Npm.which")(function*(H){let q=X(H),R=k.join(q,"node_modules",".bin"),N=J.fnUntraced(function*(){let A=yield*z.readDirectory(R).pipe(J.catch(()=>J.succeed([])));if(A.length===0)return L.none();if(A.length===1)return L.some(A[0]);let O=yield*Z.readJson(k.join(q,"node_modules",H,"package.json")).pipe(J.option);if(L.isSome(O)){let K=O.value;if(K?.bin){let y=H.startsWith("@")?H.split("/")[1]:H,v=K.bin;if(typeof v==="string")return L.some(y);let j=Object.keys(v);if(j.length===1)return L.some(j[0]);return v[y]?L.some(y):L.some(j[0])}}return L.some(A[0])});return yield*J.gen(function*(){let A=yield*N();if(L.isSome(A))return L.some(k.join(R,A.value));yield*z.remove(k.join(q,"package-lock.json")).pipe(J.orElseSucceed(()=>{})),yield*G(H);let O=yield*N();if(L.isNone(O))return L.none();return L.some(k.join(R,O.value))}).pipe(J.scoped,J.orElseSucceed(()=>L.none()))});return J0.of({add:G,install:W,outdated:U,which:I})})),J2=H2.pipe(g.provide(A0.layer),g.provide(f.layer),g.provide(o.layer),g.provide($2.layer)),{runPromise:_0}=n0(J0,J2);async function T2(...Z){return _0((Q)=>Q.install(...Z))}async function y2(...Z){let Q=await _0((z)=>z.add(...Z));return{directory:Q.directory,entrypoint:L.getOrUndefined(Q.entrypoint)}}async function P2(...Z){return _0((Q)=>Q.outdated(...Z))}async function S2(...Z){let Q=await _0((z)=>z.which(...Z));return L.getOrUndefined(Q)}var G2=W0(Q2(),1),N0=W0(z2(),1);import u from"path";import{fileURLToPath as F0,pathToFileURL as a}from"url";var m2=["opencode-openai-codex-auth","opencode-copilot-auth"];function gZ(Z){return m2.some((Q)=>Z.includes(Q))}function j2(Z){try{return G2.default(Z)}catch{}}function kZ(Z){let Q=j2(Z);if(Q?.type==="alias"&&!Q.name){let z=Q.subSpec;if(z?.name){let $=!z.rawSpec||z.rawSpec==="*"?"latest":z.rawSpec;return{pkg:z.name,version:$}}}if(!Q?.name)return{pkg:Z,version:""};if(Q.raw===Q.name)return{pkg:Q.name,version:"latest"};return{pkg:Q.name,version:Q.rawSpec}}var E2=["index.ts","index.tsx","index.js","index.mjs","index.cjs"];function M2(Z){if(I2(Z))return"file";return"npm"}function v2(Z,Q){if(Z.startsWith("file://"))return F0(Z);if(u.isAbsolute(Z))return Z;return u.resolve(Q,Z)}function U2(Z){return u.isAbsolute(Z)||/^[A-Za-z]:[\\/]/.test(Z)}function x2(Z){if(typeof Z==="string")return Z;if(!t(Z))return;for(let Q of["import","default"]){let z=Z[Q];if(typeof z==="string")return z}return}function g2(Z){let Q=Z.json.main;if(typeof Q!=="string")return;let z=Q.trim();if(!z)return;return z}function q2(Z,Q,z,$){let X=v2(Q,$.dir),Y=S.resolve($.dir),U=S.resolve(X);if(!S.contains(Y,U))throw Error(`Plugin ${Z} resolved ${z} entry outside plugin directory`);return U}function W2(Z,Q,z,$){return a(q2(Z,Q,z,$)).href}function k2(Z,Q,z){let $=z.json.exports;if(t($)){let Y=x2($[`./${Q}`]);if(Y)return W2(Z,Y,Q,z)}if(Q!=="server")return;let X=g2(z);if(!X)return;return W2(Z,X,Q,z)}function u2(Z){if(Z.startsWith("file://"))return F0(Z);if(u.isAbsolute(Z))return Z}async function m0(Z){for(let Q of E2){let z=u.join(Z,Q);if(await S.exists(z))return z}}async function f2(Z){let Q=u2(Z);if(!Q)return;if(!(await S.statAsync(Q))?.isDirectory())return;return Q}async function l2(Z,Q,z,$){let X=M2(Z),Y=$??(X==="npm"?await r(Q):await r(Q).catch(()=>{return}));if(!Y)return Q;let U=k2(Z,z,Y);if(U)return U;let G=await f2(Q);if(z==="tui"){if(X==="file"&&G){let W=await m0(G);if(W)return a(W).href}if(X==="npm")return;if(G)return;return Q}if(G&&t(Y.json.exports)){if(X==="file"){let W=await m0(G);if(W)return a(W).href}return}return Q}function I2(Z){return Z.startsWith("file://")||Z.startsWith(".")||U2(Z)}async function h2(Z){let Q=Z.startsWith("file://")?F0(Z):Z,z=u.isAbsolute(Q)||/^[A-Za-z]:[\\/]/.test(Q)?Q:u.resolve(Q);if(!(await S.statAsync(z))?.isDirectory()){if(Z.startsWith("file://"))return Z;return a(z).href}if(await S.exists(u.join(z,"package.json")))return a(z).href;let X=await m0(z);if(X)return a(X).href;throw Error(`Plugin directory ${z} is missing package.json or index file`)}async function uZ(Z,Q,z){if(!N0.default.valid(Q)||N0.default.major(Q)===0)return;let $=z??await r(Z).catch(()=>{return});if(!$)return;let X=$.json.engines;if(!t(X))return;let Y=X.qitqode??X.opencode;if(typeof Y!=="string")return;if(!N0.default.satisfies(Q,Y))throw Error(`Plugin requires qitqode ${Y} but running ${Q}`)}async function fZ(Z){if(I2(Z))return h2(Z);let Q=j2(Z),z=Q?.name&&Q.raw===Q.name?`${Q.name}@latest`:Z;return(await G0.add(z)).directory}async function r(Z){let Q=Z.startsWith("file://")?F0(Z):Z,$=(await S.statAsync(Q))?.isDirectory()?Q:u.dirname(Q),X=u.join($,"package.json"),Y=await S.readJson(X);return{dir:$,pkg:X,json:Y}}async function lZ(Z,Q,z){let $=M2(Z),X=$==="npm"?await r(Q):await r(Q).catch(()=>{return}),Y=await l2(Z,Q,z,X);return{spec:Z,source:$,target:Q,pkg:X,entry:Y}}function hZ(Z,Q){let z=Q.json["oc-themes"];if(z===void 0)return[];if(!Array.isArray(z))throw TypeError(`Plugin ${Z} has invalid oc-themes field`);let $=z.map((X)=>{if(typeof X!=="string")throw TypeError(`Plugin ${Z} has invalid oc-themes entry`);let Y=X.trim();if(!Y)throw TypeError(`Plugin ${Z} has empty oc-themes entry`);if(Y.startsWith("file://")||U2(Y))throw TypeError(`Plugin ${Z} oc-themes entry must be relative: ${X}`);return q2(Z,Y,"oc-themes",Q)});return Array.from(new Set($))}function pZ(Z,Q){if(Z===void 0)return;if(typeof Z!=="string")throw TypeError(`Plugin ${Q} has invalid id type ${typeof Z}`);let z=Z.trim();if(!z)throw TypeError(`Plugin ${Q} has an empty id`);return z}function CZ(Z,Q,z,$="strict"){let X=Z.default;if(!t(X)){if($==="detect")return;throw TypeError(`Plugin ${Q} must default export an object with ${z}()`)}if($==="detect"&&!("id"in X)&&!("server"in X)&&!("tui"in X))return;let Y="server"in X?X.server:void 0,U="tui"in X?X.tui:void 0;if(Y!==void 0&&typeof Y!=="function")throw TypeError(`Plugin ${Q} has invalid server export`);if(U!==void 0&&typeof U!=="function")throw TypeError(`Plugin ${Q} has invalid tui export`);if(Y!==void 0&&U!==void 0)throw TypeError(`Plugin ${Q} must default export either server() or tui(), not both`);if(z==="server"&&Y===void 0)throw TypeError(`Plugin ${Q} must default export an object with server()`);if(z==="tui"&&U===void 0)throw TypeError(`Plugin ${Q} must default export an object with tui()`);return X}async function cZ(Z,Q,z,$,X){if(Z==="file"){if($)return $;throw TypeError(`Path plugin ${Q} must export id`)}if($)return $;let Y=X??await r(z);if(typeof Y.json.name!=="string"||!Y.json.name.trim())throw TypeError(`Plugin package ${Y.pkg} is missing name`);return Y.json.name.trim()}var g0={};e0(g0,{readFile:()=>s2,files:()=>C2,fileInDirectory:()=>i2,directories:()=>c2,claudeCommandDirectories:()=>d2,ConfigPaths:()=>g0});import v0 from"path";var R2=E0.create("ConfigJsonError",p.object({path:p.string(),message:p.string().optional()})),nZ=E0.create("ConfigInvalidError",p.object({path:p.string(),issues:p.custom().optional(),message:p.string().optional()}));var C2=K0("ConfigPaths.projectFiles")(function*(Z,Q,z){return(yield*(yield*f.Service).up({targets:[`${Z}.jsonc`,`${Z}.json`],start:Q,stop:z})).toReversed()}),c2=K0("ConfigPaths.directories")(function*(Z,Q){let z=yield*f.Service;return x0([j0.Path.config,...!e.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".qitqode"],start:Z,stop:Q}):[],...yield*z.up({targets:[".qitqode"],start:j0.Path.home,stop:j0.Path.home}),...e.QITQODE_CONFIG_DIR?[e.QITQODE_CONFIG_DIR]:[]])}),d2=K0("ConfigPaths.claudeCommandDirectories")(function*(Z,Q){if(e.QITQODE_DISABLE_CLAUDE_CODE_COMMANDS)return[];let z=yield*f.Service;return x0([v0.join(j0.Path.home,".claude"),...!e.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".claude"],start:Z,stop:Q}):[]])});function i2(Z,Q){return[v0.join(Z,`${Q}.json`),v0.join(Z,`${Q}.jsonc`)]}async function s2(Z){return S.readText(Z).catch((Q)=>{if(Q.code==="ENOENT")return;throw new R2({path:Z},{cause:Q})})}
17
- export{A0 as hn,JZ as in,WZ as jn,GZ as kn,jZ as ln,R2 as mn,nZ as nn,n0 as on,G0 as pn,gZ as qn,kZ as rn,M2 as sn,I2 as tn,h2 as un,uZ as vn,fZ as wn,r as xn,lZ as yn,hZ as zn,pZ as An,CZ as Bn,cZ as Cn,C2 as Dn,c2 as En,i2 as Fn,s2 as Gn,g0 as Hn};
16
+ `.indexOf(Z.charAt(Q))!==-1}var Y0;(function(Z){Z.DEFAULT={allowTrailingComma:!1}})(Y0||(Y0={}));function l0(Z,Q=[],z=Y0.DEFAULT){let $=null,X=[],Y=[];function U(W){if(Array.isArray(X))X.push(W);else if($!==null)X[$]=W}return P0(Z,{onObjectBegin:()=>{let W={};U(W),Y.push(X),X=W,$=null},onObjectProperty:(W)=>{$=W},onObjectEnd:()=>{X=Y.pop()},onArrayBegin:()=>{let W=[];U(W),Y.push(X),X=W,$=null},onArrayEnd:()=>{X=Y.pop()},onLiteralValue:U,onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z),X[0]}function y0(Z,Q=[],z=Y0.DEFAULT){let $={type:"array",offset:-1,length:-1,children:[],parent:void 0};function X(W){if($.type==="property")$.length=W-$.offset,$=$.parent}function Y(W){return $.children.push(W),W}P0(Z,{onObjectBegin:(W)=>{$=Y({type:"object",offset:W,length:-1,parent:$,children:[]})},onObjectProperty:(W,I,H)=>{$=Y({type:"property",offset:I,length:-1,parent:$,children:[]}),$.children.push({type:"string",value:W,offset:I,length:H,parent:$})},onObjectEnd:(W,I)=>{X(W+I),$.length=W+I-$.offset,$=$.parent,X(W+I)},onArrayBegin:(W,I)=>{$=Y({type:"array",offset:W,length:-1,parent:$,children:[]})},onArrayEnd:(W,I)=>{$.length=W+I-$.offset,$=$.parent,X(W+I)},onLiteralValue:(W,I,H)=>{Y({type:F2(W),offset:I,length:H,parent:$,value:W}),X(I+H)},onSeparator:(W,I,H)=>{if($.type==="property"){if(W===":")$.colonOffset=I;else if(W===",")X(I)}},onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z);let G=$.children[0];if(G)delete G.parent;return G}function I0(Z,Q){if(!Z)return;let z=Z;for(let $ of Q)if(typeof $==="string"){if(z.type!=="object"||!Array.isArray(z.children))return;let X=!1;for(let Y of z.children)if(Array.isArray(Y.children)&&Y.children[0].value===$&&Y.children.length===2){z=Y.children[1],X=!0;break}if(!X)return}else{let X=$;if(z.type!=="array"||X<0||!Array.isArray(z.children)||X>=z.children.length)return;z=z.children[X]}return z}function P0(Z,Q,z=Y0.DEFAULT){let $=z0(Z,!1),X=[],Y=0;function U(F){return F?()=>Y===0&&F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function G(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function W(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice()):()=>!0}function I(F){return F?()=>{if(Y>0)Y++;else if(F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice())===!1)Y=1}:()=>!0}function H(F){return F?()=>{if(Y>0)Y--;if(Y===0)F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter())}:()=>!0}let q=I(Q.onObjectBegin),R=W(Q.onObjectProperty),N=H(Q.onObjectEnd),A=I(Q.onArrayBegin),O=H(Q.onArrayEnd),K=W(Q.onLiteralValue),y=G(Q.onSeparator),v=U(Q.onComment),j=G(Q.onError),_=z&&z.disallowComments,V=z&&z.allowTrailingComma;function B(){while(!0){let F=$.scan();switch($.getTokenError()){case 4:M(14);break;case 5:M(15);break;case 3:M(13);break;case 1:if(!_)M(11);break;case 2:M(12);break;case 6:M(16);break}switch(F){case 12:case 13:if(_)M(10);else v();break;case 16:M(1);break;case 15:case 14:break;default:return F}}}function M(F,b=[],U0=[]){if(j(F),b.length+U0.length>0){let i=$.getToken();while(i!==17){if(b.indexOf(i)!==-1){B();break}else if(U0.indexOf(i)!==-1)break;i=B()}}}function m(F){let b=$.getTokenValue();if(F)K(b);else R(b),X.push(b);return B(),!0}function l(){switch($.getToken()){case 11:let F=$.getTokenValue(),b=Number(F);if(isNaN(b))M(2),b=0;K(b);break;case 7:K(null);break;case 8:K(!0);break;case 9:K(!1);break;default:return!1}return B(),!0}function d(){if($.getToken()!==10)return M(3,[],[2,5]),!1;if(m(!1),$.getToken()===6){if(y(":"),B(),!Z0())M(4,[],[2,5])}else M(5,[],[2,5]);return X.pop(),!0}function M0(){q(),B();let F=!1;while($.getToken()!==2&&$.getToken()!==17){if($.getToken()===5){if(!F)M(4,[],[]);if(y(","),B(),$.getToken()===2&&V)break}else if(F)M(6,[],[]);if(!d())M(4,[],[2,5]);F=!0}if(N(),$.getToken()!==2)M(7,[2],[]);else B();return!0}function w0(){A(),B();let F=!0,b=!1;while($.getToken()!==4&&$.getToken()!==17){if($.getToken()===5){if(!b)M(4,[],[]);if(y(","),B(),$.getToken()===4&&V)break}else if(b)M(6,[],[]);if(F)X.push(0),F=!1;else X[X.length-1]++;if(!Z0())M(4,[],[4,5]);b=!0}if(O(),!F)X.pop();if($.getToken()!==4)M(8,[4],[]);else B();return!0}function Z0(){switch($.getToken()){case 3:return w0();case 1:return M0();case 10:return m(!0);default:return l()}}if(B(),$.getToken()===17){if(z.allowEmptyContent)return!0;return M(4,[],[]),!1}if(!Z0())return M(4,[],[]),!1;if($.getToken()!==17)M(9,[],[]);return!0}function F2(Z){switch(typeof Z){case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"object":{if(!Z)return"null";else if(Array.isArray(Z))return"array";return"object"}default:return"null"}}function h0(Z,Q,z,$){let X=Q.slice(),U=y0(Z,[]),G=void 0,W=void 0;while(X.length>0)if(W=X.pop(),G=I0(U,X),G===void 0&&z!==void 0)if(typeof W==="string")z={[W]:z};else z=[z];else break;if(!G){if(z===void 0)throw Error("Can not delete in empty document");return C(Z,{offset:U?U.offset:0,length:U?U.length:0,content:JSON.stringify(z)},$)}else if(G.type==="object"&&typeof W==="string"&&Array.isArray(G.children)){let I=I0(G,[W]);if(I!==void 0)if(z===void 0){if(!I.parent)throw Error("Malformed AST");let H=G.children.indexOf(I.parent),q,R=I.parent.offset+I.parent.length;if(H>0){let N=G.children[H-1];q=N.offset+N.length}else if(q=G.offset+1,G.children.length>1)R=G.children[1].offset;return C(Z,{offset:q,length:R-q,content:""},$)}else return C(Z,{offset:I.offset,length:I.length,content:JSON.stringify(z)},$);else{if(z===void 0)return[];let H=`${JSON.stringify(W)}: ${JSON.stringify(z)}`,q=$.getInsertionIndex?$.getInsertionIndex(G.children.map((N)=>N.children[0].value)):G.children.length,R;if(q>0){let N=G.children[q-1];R={offset:N.offset+N.length,length:0,content:","+H}}else if(G.children.length===0)R={offset:G.offset+1,length:0,content:H};else R={offset:G.offset+1,length:0,content:H+","};return C(Z,R,$)}}else if(G.type==="array"&&typeof W==="number"&&Array.isArray(G.children)){let I=W;if(I===-1){let H=`${JSON.stringify(z)}`,q;if(G.children.length===0)q={offset:G.offset+1,length:0,content:H};else{let R=G.children[G.children.length-1];q={offset:R.offset+R.length,length:0,content:","+H}}return C(Z,q,$)}else if(z===void 0&&G.children.length>=0){let H=W,q=G.children[H],R;if(G.children.length===1)R={offset:G.offset+1,length:G.length-2,content:""};else if(G.children.length-1===H){let N=G.children[H-1],A=N.offset+N.length,O=G.offset+G.length;R={offset:A,length:O-2-A,content:""}}else R={offset:q.offset,length:G.children[H+1].offset-q.offset,content:""};return C(Z,R,$)}else if(z!==void 0){let H,q=`${JSON.stringify(z)}`;if(!$.isArrayInsertion&&G.children.length>W){let R=G.children[W];H={offset:R.offset,length:R.length,content:q}}else if(G.children.length===0||W===0)H={offset:G.offset+1,length:0,content:G.children.length===0?q:q+","};else{let R=W>G.children.length?G.children.length:W,N=G.children[R-1];H={offset:N.offset+N.length,length:0,content:","+q}}return C(Z,H,$)}else throw Error(`Can not ${z===void 0?"remove":$.isArrayInsertion?"insert":"modify"} Array index ${I} as length is not sufficient`)}else throw Error(`Can not add ${typeof W!=="number"?"index":"property"} to parent of type ${G.type}`)}function C(Z,Q,z){if(!z.formattingOptions)return[Q];let $=R0(Z,Q),X=Q.offset,Y=Q.offset+Q.content.length;if(Q.length===0||Q.content.length===0){while(X>0&&!X0($,X-1))X--;while(Y<$.length&&!X0($,Y))Y++}let U=T0($,{offset:X,length:Y-X},{...z.formattingOptions,keepLines:!1});for(let W=U.length-1;W>=0;W--){let I=U[W];$=R0($,I),X=Math.min(X,I.offset),Y=Math.max(Y,I.offset+I.length),Y+=I.content.length-I.length}let G=Z.length-($.length-Y)-X;return[{offset:X,length:G,content:$.substring(X,Y)}]}function R0(Z,Q){return Z.substring(0,Q.offset)+Q.content+Z.substring(Q.offset+Q.length)}var p0;(function(Z){Z[Z.None=0]="None",Z[Z.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=2]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=4]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=6]="InvalidCharacter"})(p0||(p0={}));var C0;(function(Z){Z[Z.OpenBraceToken=1]="OpenBraceToken",Z[Z.CloseBraceToken=2]="CloseBraceToken",Z[Z.OpenBracketToken=3]="OpenBracketToken",Z[Z.CloseBracketToken=4]="CloseBracketToken",Z[Z.CommaToken=5]="CommaToken",Z[Z.ColonToken=6]="ColonToken",Z[Z.NullKeyword=7]="NullKeyword",Z[Z.TrueKeyword=8]="TrueKeyword",Z[Z.FalseKeyword=9]="FalseKeyword",Z[Z.StringLiteral=10]="StringLiteral",Z[Z.NumericLiteral=11]="NumericLiteral",Z[Z.LineCommentTrivia=12]="LineCommentTrivia",Z[Z.BlockCommentTrivia=13]="BlockCommentTrivia",Z[Z.LineBreakTrivia=14]="LineBreakTrivia",Z[Z.Trivia=15]="Trivia",Z[Z.Unknown=16]="Unknown",Z[Z.EOF=17]="EOF"})(C0||(C0={}));var JZ=l0;var c0;(function(Z){Z[Z.InvalidSymbol=1]="InvalidSymbol",Z[Z.InvalidNumberFormat=2]="InvalidNumberFormat",Z[Z.PropertyNameExpected=3]="PropertyNameExpected",Z[Z.ValueExpected=4]="ValueExpected",Z[Z.ColonExpected=5]="ColonExpected",Z[Z.CommaExpected=6]="CommaExpected",Z[Z.CloseBraceExpected=7]="CloseBraceExpected",Z[Z.CloseBracketExpected=8]="CloseBracketExpected",Z[Z.EndOfFileExpected=9]="EndOfFileExpected",Z[Z.InvalidCommentToken=10]="InvalidCommentToken",Z[Z.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=12]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=14]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=16]="InvalidCharacter"})(c0||(c0={}));function WZ(Z){switch(Z){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}function GZ(Z,Q,z,$){return h0(Z,Q,z,$)}function jZ(Z,Q){let z=Q.slice(0).sort((X,Y)=>{let U=X.offset-Y.offset;if(U===0)return X.length-Y.length;return U}),$=Z.length;for(let X=z.length-1;X>=0;X--){let Y=z[X];if(Y.offset+Y.length<=$)Z=R0(Z,Y);else throw Error("Overlapping edit");$=Y.offset}return Z}function n0(Z,Q){let z,$=()=>z??=d0.make(g.provideMerge(Q,i0.layer),{memoMap:s0});return{runSync:(X)=>$().runSync(Z.use(X)),runPromiseExit:(X,Y)=>$().runPromiseExit(Z.use(X),Y),runPromise:(X,Y)=>$().runPromise(Z.use(X),Y),runFork:(X)=>$().runFork(Z.use(X)),runCallback:(X)=>$().runCallback(Z.use(X))}}var G0={};e0(G0,{which:()=>S2,sanitize:()=>Y2,outdated:()=>P2,layer:()=>H2,install:()=>T2,defaultLayer:()=>J2,add:()=>y2,Service:()=>J0,Npm:()=>G0,InstallFailedError:()=>D0});var X2=W0(Q2(),1),S0=W0(z2(),1);import k from"path";import B0 from"path";import O2 from"os";import{randomUUID as b2}from"crypto";var A0;((H0)=>{class Z extends w.TaggedErrorClass()("LockTimeoutError",{key:w.String}){}H0.LockTimeoutError=Z;class Q extends w.TaggedErrorClass()("LockCompromisedError",{detail:w.String}){}H0.LockCompromisedError=Q;class z extends w.TaggedErrorClass()("ReleaseError",{detail:w.String,cause:w.optional(w.Defect)}){get message(){return this.detail}}class $ extends w.TaggedErrorClass()("NotAcquired",{}){}let X=60000,Y=300000,U=100,G=2000,W=Math.max(100,Math.floor(X/3)),I=c.exponential(U,1.7).pipe(c.either(c.spaced(G)),c.jittered,c.while((j)=>j.elapsed<Y)),H=w.fromJsonString(w.Struct({token:w.String,pid:w.Number,hostname:w.String,createdAt:w.String})),q=w.decodeUnknownSync(H),R=w.encodeSync(H);class N extends V0.Service()("EffectFlock"){}H0.Service=N;function A(){return performance.timeOrigin+performance.now()}let O=(j)=>L.getOrElse(j.mtime,()=>new Date(0)).getTime(),K=(j)=>j.reason._tag==="NotFound"||j.reason._tag==="Unknown";H0.layer=g.effect(N,J.gen(function*(){let j=yield*o.Service,_=yield*f.Service,V=B0.join(j.state,"locks"),B=O2.hostname(),M=new Set,m=(D)=>_.stat(D).pipe(J.catchIf(K,()=>J.void),J.orDie),l=(D)=>_.remove(D,{recursive:!0}).pipe(J.ignore),d=(D)=>_.makeDirectory(D,{mode:448}).pipe(J.as(!0),J.catchIf((T)=>T.reason._tag==="AlreadyExists",()=>J.succeed(!1)),J.orDie),M0=(D,T,E,P)=>_.writeFileString(D,T,{flag:"wx"}).pipe(J.catch(()=>J.gen(function*(){return yield*l(E),yield*new Q({detail:P})}))),w0=J.fnUntraced(function*(D){let T=yield*m(D);if(T&&A()-O(T)>X)yield*l(D);return!1}),Z0=J.fnUntraced(function*(D){if(M.has(D))return;yield*_.makeDirectory(D,{recursive:!0}).pipe(J.orDie),M.add(D)}),F=J.fnUntraced(function*(D,T,E){let P=A(),h=yield*m(T);if(h)return P-O(h)>X;let $0=yield*m(E);if($0)return P-O($0)>X;let q0=yield*m(D);if(!q0)return!1;return P-O(q0)>X}),b=(D,T)=>J.gen(function*(){let E=b2(),P=B0.join(D,"meta.json"),h=B0.join(D,"heartbeat");if(!(yield*d(D))){if(!(yield*F(D,h,P)))return yield*new $;let O0=D+".breaker";if(!(yield*_.makeDirectory(O0,{mode:448}).pipe(J.as(!0),J.catchIf((V2)=>V2.reason._tag==="AlreadyExists",()=>w0(O0)),J.catchIf(K,()=>J.succeed(!1)),J.orDie)))return yield*new $;if(!(yield*J.gen(function*(){if(!(yield*F(D,h,P)))return!1;return yield*l(D),yield*d(D)}).pipe(J.ensuring(l(O0)))))return yield*new $}yield*M0(h,"",D,"heartbeat already existed");let q0=R({token:E,pid:process.pid,hostname:B,createdAt:new Date().toISOString()});return yield*M0(P,q0,D,"meta.json already existed"),{token:E,metaPath:P,heartbeatPath:h,lockDir:D}}).pipe(J.withSpan("EffectFlock.tryAcquire",{attributes:{key:T}})),U0=(D,T)=>b(D,T).pipe(J.retry({while:(E)=>E._tag==="NotAcquired",schedule:I}),J.catchTag("NotAcquired",()=>J.fail(new Z({key:T})))),i=(D)=>J.gen(function*(){let T=yield*_.readFileString(D.metaPath).pipe(J.catch((P)=>{if(K(P))return J.die(new z({detail:"metadata missing"}));return J.die(P)}));if((yield*J.try({try:()=>q(T),catch:(P)=>new z({detail:"metadata invalid",cause:P})}).pipe(J.orDie)).token!==D.token)return yield*J.die(new z({detail:"token mismatch"}));yield*l(D.lockDir)}),k0=J.fn("EffectFlock.acquire")(function*(D,T){let E=T??V;yield*Z0(E);let P=B0.join(E,a0.fast(D)+".lock"),h=yield*J.acquireRelease(U0(P,D),($0)=>i($0));yield*_.utimes(h.heartbeatPath,new Date,new Date).pipe(J.ignore,J.repeat(c.spaced(W)),J.forkScoped)}),B2=o0.dual((D)=>J.isEffect(D[0]),(D,T,E)=>J.scoped(J.gen(function*(){return yield*k0(T,E),yield*D})));return N.of({acquire:k0,withLock:B2})})),H0.defaultLayer=H0.layer.pipe(g.provide(f.defaultLayer),g.provide(o.layer))})(A0||={});class D0 extends w.TaggedErrorClass()("NpmInstallFailedError",{add:w.Array(w.String).pipe(w.optional),dir:w.String,cause:w.optional(w.Defect)}){}class J0 extends V0.Service()("@qitqode/Npm"){}var r0=process.platform==="win32"?new Set(["<",">",":",'"',"|","?","*"]):void 0;function Y2(Z){if(!r0)return Z;return Array.from(Z,(Q)=>r0.has(Q)||Q.charCodeAt(0)<32?"_":Q).join("")}var t0=(Z,Q)=>{let z;try{let $=typeof Bun<"u"?import.meta.resolve(Z,Q):import.meta.resolve(Q);z=L.some($)}catch{z=L.none()}return{directory:Q,entrypoint:z}},H2=g.effect(J0,J.gen(function*(){let Z=yield*f.Service,Q=yield*o.Service,z=yield*Z2.FileSystem,$=yield*A0.Service,X=(H)=>k.join(Q.cache,"packages",Y2(H)),Y=(H)=>J.gen(function*(){yield*$.acquire(`npm-install:${H.dir}`);let{Arborist:q}=yield*J.promise(()=>import("./chunk-qf1hh45g.js").then((m)=>W0(m.default,1))),R=new q({path:H.dir,binLinks:!0,progress:!1,savePrefix:"",ignoreScripts:!0});return yield*J.tryPromise({try:()=>R.reify({add:H?.add||[],save:!0,saveType:"prod"}),catch:(N)=>new D0({cause:N,add:H?.add,dir:H.dir})})}).pipe(J.withSpan("Npm.reify",{attributes:H})),U=J.fn("Npm.outdated")(function*(H,q){let R=yield*J.tryPromise({try:()=>fetch(`https://registry.npmjs.org/${H}`),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return}));if(!R||!R.ok)return!1;let A=(yield*J.tryPromise({try:()=>R.json(),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return})))?.["dist-tags"]?.latest;if(!A)return!1;if(/[\s^~*xX<>|=]/.test(q))return!S0.default.satisfies(A,q);return S0.default.lt(q,A)}),G=J.fn("Npm.add")(function*(H){let q=X(H),R=(()=>{try{return X2.default(H).name??H}catch{return H}})();if(yield*Z.existsSafe(q))return t0(R,k.join(q,"node_modules",R));let A=(yield*Y({dir:q,add:[H]})).edgesOut.values().next().value?.to;if(!A)return yield*new D0({add:[H],dir:q});return t0(A.name,A.path)},J.scoped),W=J.fn("Npm.install")(function*(H,q){if(!(yield*Z.access(H,{writable:!0}).pipe(J.as(!0),J.orElseSucceed(()=>!1))))return;let N=q?.add.map((A)=>[A.name,A.version].filter(Boolean).join("@"))??[];if(yield*J.gen(function*(){if(!(yield*Z.existsSafe(k.join(H,"node_modules"))))return yield*Y({add:N,dir:H}),!0;return!1}).pipe(J.withSpan("Npm.checkNodeModules")))return;yield*J.gen(function*(){let A=yield*Z.readJson(k.join(H,"package.json")).pipe(J.orElseSucceed(()=>({}))),O=yield*Z.readJson(k.join(H,"package-lock.json")).pipe(J.orElseSucceed(()=>({}))),K=A,y=O,v=new Set([...Object.keys(K?.dependencies||{}),...Object.keys(K?.devDependencies||{}),...Object.keys(K?.peerDependencies||{}),...Object.keys(K?.optionalDependencies||{}),...(q?.add||[]).map((V)=>V.name)]),j=y?.packages?.[""]||{},_=new Set([...Object.keys(j?.dependencies||{}),...Object.keys(j?.devDependencies||{}),...Object.keys(j?.peerDependencies||{}),...Object.keys(j?.optionalDependencies||{})]);for(let V of v)if(!_.has(V)){yield*Y({dir:H,add:N});return}}).pipe(J.withSpan("Npm.checkDirty"));return},J.scoped),I=J.fn("Npm.which")(function*(H){let q=X(H),R=k.join(q,"node_modules",".bin"),N=J.fnUntraced(function*(){let A=yield*z.readDirectory(R).pipe(J.catch(()=>J.succeed([])));if(A.length===0)return L.none();if(A.length===1)return L.some(A[0]);let O=yield*Z.readJson(k.join(q,"node_modules",H,"package.json")).pipe(J.option);if(L.isSome(O)){let K=O.value;if(K?.bin){let y=H.startsWith("@")?H.split("/")[1]:H,v=K.bin;if(typeof v==="string")return L.some(y);let j=Object.keys(v);if(j.length===1)return L.some(j[0]);return v[y]?L.some(y):L.some(j[0])}}return L.some(A[0])});return yield*J.gen(function*(){let A=yield*N();if(L.isSome(A))return L.some(k.join(R,A.value));yield*z.remove(k.join(q,"package-lock.json")).pipe(J.orElseSucceed(()=>{})),yield*G(H);let O=yield*N();if(L.isNone(O))return L.none();return L.some(k.join(R,O.value))}).pipe(J.scoped,J.orElseSucceed(()=>L.none()))});return J0.of({add:G,install:W,outdated:U,which:I})})),J2=H2.pipe(g.provide(A0.layer),g.provide(f.layer),g.provide(o.layer),g.provide($2.layer)),{runPromise:_0}=n0(J0,J2);async function T2(...Z){return _0((Q)=>Q.install(...Z))}async function y2(...Z){let Q=await _0((z)=>z.add(...Z));return{directory:Q.directory,entrypoint:L.getOrUndefined(Q.entrypoint)}}async function P2(...Z){return _0((Q)=>Q.outdated(...Z))}async function S2(...Z){let Q=await _0((z)=>z.which(...Z));return L.getOrUndefined(Q)}var G2=W0(Q2(),1),N0=W0(z2(),1);import u from"path";import{fileURLToPath as F0,pathToFileURL as a}from"url";var m2=["opencode-openai-codex-auth","opencode-copilot-auth"];function gZ(Z){return m2.some((Q)=>Z.includes(Q))}function j2(Z){try{return G2.default(Z)}catch{}}function kZ(Z){let Q=j2(Z);if(Q?.type==="alias"&&!Q.name){let z=Q.subSpec;if(z?.name){let $=!z.rawSpec||z.rawSpec==="*"?"latest":z.rawSpec;return{pkg:z.name,version:$}}}if(!Q?.name)return{pkg:Z,version:""};if(Q.raw===Q.name)return{pkg:Q.name,version:"latest"};return{pkg:Q.name,version:Q.rawSpec}}var E2=["index.ts","index.tsx","index.js","index.mjs","index.cjs"];function M2(Z){if(I2(Z))return"file";return"npm"}function v2(Z,Q){if(Z.startsWith("file://"))return F0(Z);if(u.isAbsolute(Z))return Z;return u.resolve(Q,Z)}function U2(Z){return u.isAbsolute(Z)||/^[A-Za-z]:[\\/]/.test(Z)}function x2(Z){if(typeof Z==="string")return Z;if(!t(Z))return;for(let Q of["import","default"]){let z=Z[Q];if(typeof z==="string")return z}return}function g2(Z){let Q=Z.json.main;if(typeof Q!=="string")return;let z=Q.trim();if(!z)return;return z}function q2(Z,Q,z,$){let X=v2(Q,$.dir),Y=S.resolve($.dir),U=S.resolve(X);if(!S.contains(Y,U))throw Error(`Plugin ${Z} resolved ${z} entry outside plugin directory`);return U}function W2(Z,Q,z,$){return a(q2(Z,Q,z,$)).href}function k2(Z,Q,z){let $=z.json.exports;if(t($)){let Y=x2($[`./${Q}`]);if(Y)return W2(Z,Y,Q,z)}if(Q!=="server")return;let X=g2(z);if(!X)return;return W2(Z,X,Q,z)}function u2(Z){if(Z.startsWith("file://"))return F0(Z);if(u.isAbsolute(Z))return Z}async function m0(Z){for(let Q of E2){let z=u.join(Z,Q);if(await S.exists(z))return z}}async function f2(Z){let Q=u2(Z);if(!Q)return;if(!(await S.statAsync(Q))?.isDirectory())return;return Q}async function l2(Z,Q,z,$){let X=M2(Z),Y=$??(X==="npm"?await r(Q):await r(Q).catch(()=>{return}));if(!Y)return Q;let U=k2(Z,z,Y);if(U)return U;let G=await f2(Q);if(z==="tui"){if(X==="file"&&G){let W=await m0(G);if(W)return a(W).href}if(X==="npm")return;if(G)return;return Q}if(G&&t(Y.json.exports)){if(X==="file"){let W=await m0(G);if(W)return a(W).href}return}return Q}function I2(Z){return Z.startsWith("file://")||Z.startsWith(".")||U2(Z)}async function h2(Z){let Q=Z.startsWith("file://")?F0(Z):Z,z=u.isAbsolute(Q)||/^[A-Za-z]:[\\/]/.test(Q)?Q:u.resolve(Q);if(!(await S.statAsync(z))?.isDirectory()){if(Z.startsWith("file://"))return Z;return a(z).href}if(await S.exists(u.join(z,"package.json")))return a(z).href;let X=await m0(z);if(X)return a(X).href;throw Error(`Plugin directory ${z} is missing package.json or index file`)}async function uZ(Z,Q,z){if(!N0.default.valid(Q)||N0.default.major(Q)===0)return;let $=z??await r(Z).catch(()=>{return});if(!$)return;let X=$.json.engines;if(!t(X))return;let Y=X.qitqode??X.opencode;if(typeof Y!=="string")return;if(!N0.default.satisfies(Q,Y))throw Error(`Plugin requires qitqode ${Y} but running ${Q}`)}async function fZ(Z){if(I2(Z))return h2(Z);let Q=j2(Z),z=Q?.name&&Q.raw===Q.name?`${Q.name}@latest`:Z;return(await G0.add(z)).directory}async function r(Z){let Q=Z.startsWith("file://")?F0(Z):Z,$=(await S.statAsync(Q))?.isDirectory()?Q:u.dirname(Q),X=u.join($,"package.json"),Y=await S.readJson(X);return{dir:$,pkg:X,json:Y}}async function lZ(Z,Q,z){let $=M2(Z),X=$==="npm"?await r(Q):await r(Q).catch(()=>{return}),Y=await l2(Z,Q,z,X);return{spec:Z,source:$,target:Q,pkg:X,entry:Y}}function hZ(Z,Q){let z=Q.json["oc-themes"];if(z===void 0)return[];if(!Array.isArray(z))throw TypeError(`Plugin ${Z} has invalid oc-themes field`);let $=z.map((X)=>{if(typeof X!=="string")throw TypeError(`Plugin ${Z} has invalid oc-themes entry`);let Y=X.trim();if(!Y)throw TypeError(`Plugin ${Z} has empty oc-themes entry`);if(Y.startsWith("file://")||U2(Y))throw TypeError(`Plugin ${Z} oc-themes entry must be relative: ${X}`);return q2(Z,Y,"oc-themes",Q)});return Array.from(new Set($))}function pZ(Z,Q){if(Z===void 0)return;if(typeof Z!=="string")throw TypeError(`Plugin ${Q} has invalid id type ${typeof Z}`);let z=Z.trim();if(!z)throw TypeError(`Plugin ${Q} has an empty id`);return z}function CZ(Z,Q,z,$="strict"){let X=Z.default;if(!t(X)){if($==="detect")return;throw TypeError(`Plugin ${Q} must default export an object with ${z}()`)}if($==="detect"&&!("id"in X)&&!("server"in X)&&!("tui"in X))return;let Y="server"in X?X.server:void 0,U="tui"in X?X.tui:void 0;if(Y!==void 0&&typeof Y!=="function")throw TypeError(`Plugin ${Q} has invalid server export`);if(U!==void 0&&typeof U!=="function")throw TypeError(`Plugin ${Q} has invalid tui export`);if(Y!==void 0&&U!==void 0)throw TypeError(`Plugin ${Q} must default export either server() or tui(), not both`);if(z==="server"&&Y===void 0)throw TypeError(`Plugin ${Q} must default export an object with server()`);if(z==="tui"&&U===void 0)throw TypeError(`Plugin ${Q} must default export an object with tui()`);return X}async function cZ(Z,Q,z,$,X){if(Z==="file"){if($)return $;throw TypeError(`Path plugin ${Q} must export id`)}if($)return $;let Y=X??await r(z);if(typeof Y.json.name!=="string"||!Y.json.name.trim())throw TypeError(`Plugin package ${Y.pkg} is missing name`);return Y.json.name.trim()}var g0={};e0(g0,{readFile:()=>s2,files:()=>C2,fileInDirectory:()=>i2,directories:()=>c2,claudeCommandDirectories:()=>d2,ConfigPaths:()=>g0});import v0 from"path";var R2=E0.create("ConfigJsonError",p.object({path:p.string(),message:p.string().optional()})),nZ=E0.create("ConfigInvalidError",p.object({path:p.string(),issues:p.custom().optional(),message:p.string().optional()}));var C2=K0("ConfigPaths.projectFiles")(function*(Z,Q,z){return(yield*(yield*f.Service).up({targets:[`${Z}.jsonc`,`${Z}.json`],start:Q,stop:z})).toReversed()}),c2=K0("ConfigPaths.directories")(function*(Z,Q){let z=yield*f.Service;return x0([j0.Path.config,...!e.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".qitqode"],start:Z,stop:Q}):[],...yield*z.up({targets:[".qitqode"],start:j0.Path.home,stop:j0.Path.home}),...e.QITQODE_CONFIG_DIR?[e.QITQODE_CONFIG_DIR]:[]])}),d2=K0("ConfigPaths.claudeCommandDirectories")(function*(Z,Q){if(e.QITQODE_DISABLE_CLAUDE_CODE_COMMANDS)return[];let z=yield*f.Service;return x0([v0.join(j0.Path.home,".claude"),...!e.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".claude"],start:Z,stop:Q}):[]])});function i2(Z,Q){return[v0.join(Z,`${Q}.json`),v0.join(Z,`${Q}.jsonc`)]}async function s2(Z){return S.readText(Z).catch((Q)=>{if(Q.code==="ENOENT")return;throw new R2({path:Z},{cause:Q})})}
17
+ export{A0 as Ho,JZ as Io,WZ as Jo,GZ as Ko,jZ as Lo,R2 as Mo,nZ as No,n0 as Oo,G0 as Po,gZ as Qo,kZ as Ro,M2 as So,I2 as To,h2 as Uo,uZ as Vo,fZ as Wo,r as Xo,lZ as Yo,hZ as Zo,pZ as _o,CZ as $o,cZ as ap,C2 as bp,c2 as cp,i2 as dp,s2 as ep,g0 as fp};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{cR as t}from"./chunk-pfx8ts02.js";var e=await import("./chunk-23zh9s18.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{kg as E}from"./chunk-5xmtzs15.js";import"./chunk-0gqwvt8w.js";import"./chunk-fcbmedh3.js";import"./chunk-jkqa49xc.js";import"./chunk-a4y0wjtq.js";import"./chunk-nfg7nt13.js";import"./chunk-s2ma1nz3.js";import"./chunk-96281xfb.js";import"./chunk-p76c9s6g.js";import"./chunk-az2pxgx6.js";import"./chunk-bd21p9zz.js";import"./chunk-p54bzjtv.js";import"./chunk-ha1w0xzh.js";import"./chunk-vr222v2n.js";import"./chunk-6vpc1y3w.js";import"./chunk-j95mkzwg.js";import"./chunk-tatecas7.js";import"./chunk-52n4tdeh.js";import"./chunk-ft4msj4z.js";import"./chunk-m8djypsy.js";import"./chunk-m0f6cf9n.js";import"./chunk-n7ewvphw.js";import"./chunk-ya7wrt5f.js";import"./chunk-wf18y499.js";import"./chunk-4bp91rza.js";import"./chunk-6vxddv5w.js";import"./chunk-dwza14dk.js";import"./chunk-vey57h4x.js";import"./chunk-40pe0tde.js";import"./chunk-d4y5hyjg.js";import"./chunk-q0pd8bac.js";import"./chunk-4dy64hgp.js";import"./chunk-cqtkxwd8.js";import"./chunk-gt10s0ks.js";import"./chunk-z9k4506p.js";import"./chunk-yxsc90ba.js";import"./chunk-vk8gxf4y.js";import"./chunk-jr622341.js";import"./chunk-xzshjp04.js";import"./chunk-pyt4xpze.js";import"./chunk-52f62kr0.js";import"./chunk-svnhycdw.js";import"./chunk-9skj2w9e.js";import"./chunk-m5r6zq6v.js";import"./chunk-vg9ec44m.js";import"./chunk-e826jvr2.js";import"./chunk-4gv7nsdd.js";import"./chunk-afagt413.js";import"./chunk-76jbys6j.js";import"./chunk-9exxjnxc.js";import"./chunk-dm7hfb7f.js";import"./chunk-s5taq9jy.js";import"./chunk-62mb6wxm.js";import"./chunk-zg72kz2k.js";import"./chunk-kr7t73tg.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-sprbs7aj.js";import"./chunk-qvnsgyfk.js";import"./chunk-zezz8xfw.js";import"./chunk-bkqemdv8.js";import{cR as z}from"./chunk-pfx8ts02.js";var J={command:"generate",handler:async()=>{let A=await E.openapi();for(let q of Object.values(A.paths))for(let y of["get","post","put","delete","patch"]){let k=q[y];if(!k?.operationId)continue;k["x-codeSamples"]=[{lang:"js",source:['import { createQitQodeClient } from "@qitqode/sdk"',"","const client = createQitQodeClient()",`await client.${k.operationId}({`," ...","})"].join(`
3
+ `)}]}let F=JSON.stringify(A,null,2),B=await import("./chunk-6r7vm4xc.js"),C=await import("./chunk-s9bn800b.js"),D=await import("./chunk-wdrfzx4m.js"),G=await(B.format??B.default?.format)(F,{parser:"json",plugins:[C.default??C,D.default??D],printWidth:120});await new Promise((q,y)=>{process.stdout.write(G,(k)=>{if(k)y(k);else q()})})}};export{J as GenerateCommand};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Jt as B}from"./chunk-6yshpz0z.js";import{St as A,Vt as K}from"./chunk-5dvy83ms.js";var C=new Set,O=!1;function Y(q){return C.add(q),()=>{C.delete(q)}}function Z(){return O}function _(q){let D=!1,F=(z,J)=>{if(D)return;D=!0,O=!0,process.exitCode=1,A.error(z,{error:B(J),process_role:q});let Q=setTimeout(()=>process.exit(1),5000),S=[...C].map((U)=>Promise.resolve().then(()=>U(J)).catch((V)=>{A.error("fatal teardown failed",{error:B(V),process_role:q})}));Promise.all([K(),...S]).finally(()=>{clearTimeout(Q),process.exit(1)})},G=(z)=>F("unhandled rejection",z),H=(z)=>F("uncaught exception",z);return process.on("unhandledRejection",G),process.on("uncaughtException",H),()=>{process.off("unhandledRejection",G),process.off("uncaughtException",H)}}
3
- export{Y as $s,Z as at,_ as bt};
2
+ import{nv as B}from"./chunk-s5taq9jy.js";import{wv as A,zv as K}from"./chunk-62mb6wxm.js";var C=new Set,O=!1;function Y(q){return C.add(q),()=>{C.delete(q)}}function Z(){return O}function _(q){let D=!1,F=(z,J)=>{if(D)return;D=!0,O=!0,process.exitCode=1,A.error(z,{error:B(J),process_role:q});let Q=setTimeout(()=>process.exit(1),5000),S=[...C].map((U)=>Promise.resolve().then(()=>U(J)).catch((V)=>{A.error("fatal teardown failed",{error:B(V),process_role:q})}));Promise.all([K(),...S]).finally(()=>{clearTimeout(Q),process.exit(1)})},G=(z)=>F("unhandled rejection",z),H=(z)=>F("uncaught exception",z);return process.on("unhandledRejection",G),process.on("uncaughtException",H),()=>{process.off("unhandledRejection",G),process.off("uncaughtException",H)}}
3
+ export{Y as Fu,Z as Gu,_ as Hu};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-pfx8ts02.js";var G="./tree-sitter-bash-hq5s6fxb.wasm";export{G as default};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-pfx8ts02.js";var q="./tree-sitter-powershell-ryb2ffqs.wasm";export{q as default};
@@ -5,4 +5,4 @@ Lifetime used`):new P("Lifetime not alive")}},J=class extends Q{constructor(W,Y)
5
5
  Then, failed to dispose scope: ${Z.message}`,disposeError:Z}),Y;if(Y||Z)throw Y||Z}var z=class W extends q{constructor(){super(...arguments);this._disposables=new Q(new Set),this.manage=(Y)=>(this._disposables.value.add(Y),Y)}static withScope(Y){let Z=new W,$;try{return Y(Z)}catch(X){throw $=X,X}finally{E(Z,$)}}static withScopeMaybeAsync(Y,Z){return XW(void 0,function*($){let X=new W,j;try{return yield*$.of(Z.call(Y,$,X))}catch(G){throw j=G,G}finally{E(X,j)}})}static async withScopeAsync(Y){let Z=new W,$;try{return await Y(Z)}catch(X){throw $=X,X}finally{E(Z,$)}}get alive(){return this._disposables.alive}dispose(){let Y=Array.from(this._disposables.value.values()).reverse();for(let Z of Y)Z.alive&&Z.dispose();this._disposables.dispose()}};function jW(W){let Y=W?Array.from(W):[];function Z(){return Y.forEach((X)=>X.alive?X.dispose():void 0)}function $(){return Y.some((X)=>X.alive)}return Object.defineProperty(Y,S,{configurable:!0,enumerable:!1,value:Z}),Object.defineProperty(Y,"dispose",{configurable:!0,enumerable:!1,value:Z}),Object.defineProperty(Y,"alive",{configurable:!0,enumerable:!1,get:$}),Y}function F(W){return!!(W&&(typeof W=="object"||typeof W=="function")&&("alive"in W)&&typeof W.alive=="boolean"&&("dispose"in W)&&typeof W.dispose=="function")}var f=class W extends q{static success(Y){return new KW(Y)}static fail(Y,Z){return new GW(Y,Z)}static is(Y){return Y instanceof W}},KW=class extends f{constructor(W){super();this.value=W}get alive(){return F(this.value)?this.value.alive:!0}dispose(){F(this.value)&&this.value.dispose()}unwrap(){return this.value}unwrapOr(W){return this.value}},GW=class extends f{constructor(W,Y){super();this.error=W,this.onUnwrap=Y}get alive(){return F(this.error)?this.error.alive:!0}dispose(){F(this.error)&&this.error.dispose()}unwrap(){throw this.onUnwrap(this),this.error}unwrapOr(W){return W}},w=f,VW=class extends q{constructor(W){super();this.resolve=(Y)=>{this.resolveHandle.alive&&(this.context.unwrapResult(this.context.callFunction(this.resolveHandle,this.context.undefined,Y||this.context.undefined)).dispose(),this.disposeResolvers(),this.onSettled())},this.reject=(Y)=>{this.rejectHandle.alive&&(this.context.unwrapResult(this.context.callFunction(this.rejectHandle,this.context.undefined,Y||this.context.undefined)).dispose(),this.disposeResolvers(),this.onSettled())},this.dispose=()=>{this.handle.alive&&this.handle.dispose(),this.disposeResolvers()},this.context=W.context,this.owner=W.context.runtime,this.handle=W.promiseHandle,this.settled=new Promise((Y)=>{this.onSettled=Y}),this.resolveHandle=W.resolveHandle,this.rejectHandle=W.rejectHandle}get alive(){return this.handle.alive||this.resolveHandle.alive||this.rejectHandle.alive}disposeResolvers(){this.resolveHandle.alive&&this.resolveHandle.dispose(),this.rejectHandle.alive&&this.rejectHandle.dispose()}},t=class{constructor(W){this.module=W}toPointerArray(W){let Y=new Int32Array(W.map((X)=>X.value)),Z=Y.length*Y.BYTES_PER_ELEMENT,$=this.module._malloc(Z);return new Uint8Array(this.module.HEAPU8.buffer,$,Z).set(new Uint8Array(Y.buffer)),new Q($,void 0,(X)=>this.module._free(X))}newTypedArray(W,Y){let Z=new W(Array(Y).fill(0)),$=Z.length*Z.BYTES_PER_ELEMENT,X=this.module._malloc($),j=new W(this.module.HEAPU8.buffer,X,Y);return j.set(Z),new Q({typedArray:j,ptr:X},void 0,(G)=>this.module._free(G.ptr))}newMutablePointerArray(W){return this.newTypedArray(Int32Array,W)}newHeapCharPointer(W){let Y=this.module.lengthBytesUTF8(W),Z=Y+1,$=this.module._malloc(Z);return this.module.stringToUTF8(W,$,Z),new Q({ptr:$,strlen:Y},void 0,(X)=>this.module._free(X.ptr))}newHeapBufferPointer(W){let Y=W.byteLength,Z=this.module._malloc(Y);return this.module.HEAPU8.set(W,Z),new Q({pointer:Z,numBytes:Y},void 0,($)=>this.module._free($.pointer))}consumeHeapCharPointer(W){let Y=this.module.UTF8ToString(W);return this.module._free(W),Y}},FW=Symbol("Unstable"),OW=Object.freeze({BaseObjects:!0,Date:!0,Eval:!0,StringNormalize:!0,RegExp:!0,JSON:!0,Proxy:!0,MapSet:!0,TypedArrays:!0,Promise:!0});function TW(W){if(!W)return 0;let Y=0;for(let[Z,$]of Object.entries(W)){if(!(Z in O))throw new n(Z);$&&(Y|=O[Z])}return Y}function QW(W){if(typeof W=="number")return W;if(W===void 0)return 0;let{type:Y,strict:Z,strip:$,compileOnly:X,backtraceBarrier:j}=W,G=0;return Y==="global"&&(G|=L.JS_EVAL_TYPE_GLOBAL),Y==="module"&&(G|=L.JS_EVAL_TYPE_MODULE),Z&&(G|=L.JS_EVAL_FLAG_STRICT),$&&(G|=L.JS_EVAL_FLAG_STRIP),X&&(G|=L.JS_EVAL_FLAG_COMPILE_ONLY),j&&(G|=L.JS_EVAL_FLAG_BACKTRACE_BARRIER),G}function zW(W){if(typeof W=="number")return W;if(W===void 0)return 0;let{strings:Y,symbols:Z,quickjsPrivate:$,onlyEnumerable:X,numbers:j,numbersAsStrings:G}=W,K=0;return Y&&(K|=U.JS_GPN_STRING_MASK),Z&&(K|=U.JS_GPN_SYMBOL_MASK),$&&(K|=U.JS_GPN_PRIVATE_MASK),X&&(K|=U.JS_GPN_ENUM_ONLY),j&&(K|=U.QTS_GPN_NUMBER_MASK),G&&(K|=U.QTS_STANDARD_COMPLIANT_NUMBER),K}function qW(...W){let Y=[];for(let Z of W)Z!==void 0&&(Y=Y.concat(Z));return Y}var CW=class extends q{constructor(W,Y){super();this.handle=W,this.context=Y,this._isDone=!1,this.owner=Y.runtime}[Symbol.iterator](){return this}next(W){if(!this.alive||this._isDone)return{done:!0,value:void 0};let Y=this._next??(this._next=this.context.getProp(this.handle,"next"));return this.callIteratorMethod(Y,W)}return(W){if(!this.alive)return{done:!0,value:void 0};let Y=this.context.getProp(this.handle,"return");if(Y===this.context.undefined&&W===void 0)return this.dispose(),{done:!0,value:void 0};let Z=this.callIteratorMethod(Y,W);return Y.dispose(),this.dispose(),Z}throw(W){if(!this.alive)return{done:!0,value:void 0};let Y=W instanceof Q?W:this.context.newError(W),Z=this.context.getProp(this.handle,"throw"),$=this.callIteratorMethod(Z,W);return Y.alive&&Y.dispose(),Z.dispose(),this.dispose(),$}get alive(){return this.handle.alive}dispose(){this._isDone=!0,this.handle.dispose(),this._next?.dispose()}callIteratorMethod(W,Y){let Z=Y?this.context.callFunction(W,this.handle,Y):this.context.callFunction(W,this.handle);if(Z.error)return this.dispose(),{value:Z};let $=this.context.getProp(Z.value,"done").consume((j)=>this.context.dump(j)),X=this.context.getProp(Z.value,"value");return Z.value.dispose(),$&&this.dispose(),{value:w.success(X),done:$}}},g=-2147483648,m=2147483647,A=0;function H(W){return W>>8}var BW=class{constructor(){this.nextId=g,this.freelist=[],this.groups=new Map}put(W){let Y=this.allocateId(),Z=H(Y),$=this.groups.get(Z);return $||($=new Map,this.groups.set(Z,$)),$.set(Y,W),Y}get(W){if(W===A)throw new C("no host reference id defined");let Y=H(W),Z=this.groups.get(Y);if(!Z)throw new C(`host reference id ${W} is not defined`);let $=Z.get(W);if(!$)throw new C(`host reference id ${W} is not defined`);return $}delete(W){if(W===A)throw new C("no host reference id defined");let Y=H(W),Z=this.groups.get(Y);if(!Z)throw new C(`host reference id ${W} is not defined`);Z.delete(W),Z.size===0&&this.groups.delete(Y),this.freelist.push(W)}allocateId(){if(this.freelist.length>0)return this.freelist.shift();if(this.nextId===A&&this.nextId++,this.nextId>m)throw new s(`HostRefMap: too many host refs created without disposing. Max simultaneous host refs: ${m-g}`);return this.nextId++}},c=class extends q{constructor(W,Y,Z){if(Z===A)throw new C("cannot create HostRef with undefined id");super();this.runtime=W,this.handle=Y,this.id=Z}get alive(){return this.handle.alive}dispose(){this.handle.dispose()}get value(){return this.runtime.hostRefs.get(this.id)}},LW=class extends t{constructor(W){super(W.module);this.scope=new z,this.copyJSValue=(Y)=>this.ffi.QTS_DupValuePointer(this.ctx.value,Y),this.freeJSValue=(Y)=>{this.ffi.QTS_FreeValuePointer(this.ctx.value,Y)},W.ownedLifetimes?.forEach((Y)=>this.scope.manage(Y)),this.owner=W.owner,this.module=W.module,this.ffi=W.ffi,this.rt=W.rt,this.ctx=this.scope.manage(W.ctx)}get alive(){return this.scope.alive}dispose(){return this.scope.dispose()}[Symbol.dispose](){return this.dispose()}manage(W){return this.scope.manage(W)}consumeJSCharPointer(W){let Y=this.module.UTF8ToString(W);return this.ffi.QTS_FreeCString(this.ctx.value,W),Y}heapValueHandle(W,Y){let Z=Y?($)=>{Y(),this.freeJSValue($)}:this.freeJSValue;return new Q(W,this.copyJSValue,Z,this.owner)}staticHeapValueHandle(W){return this.manage(this.heapValueHandle(W)),new J(W,this.owner)}},UW=class extends q{constructor(W){super();this._undefined=void 0,this._null=void 0,this._false=void 0,this._true=void 0,this._global=void 0,this._BigInt=void 0,this._Symbol=void 0,this._SymbolIterator=void 0,this._SymbolAsyncIterator=void 0,this.cToHostCallbacks={callFunction:(Y,Z,$,X,j)=>{if(Y!==this.ctx.value)throw Error("QuickJSContext instance received C -> JS call with mismatched ctx");let G=this.getFunction(j);return z.withScopeMaybeAsync(this,function*(K,V){let B=V.manage(new h(Z,this.memory.copyJSValue,this.memory.freeJSValue,this.runtime)),D=Array($);for(let T=0;T<$;T++){let M=this.ffi.QTS_ArgvGetJSValueConstPointer(X,T);D[T]=V.manage(new h(M,this.memory.copyJSValue,this.memory.freeJSValue,this.runtime))}try{let T=yield*K(G.apply(B,D));if(T){if("error"in T&&T.error)throw this.runtime.debugLog("throw error",T.error),T.error;let M=V.manage(T instanceof Q?T:T.value);return this.ffi.QTS_DupValuePointer(this.ctx.value,M.value)}return 0}catch(T){return this.errorToHandle(T).consume((M)=>this.ffi.QTS_Throw(this.ctx.value,M.value))}})}},this.runtime=W.runtime,this.module=W.module,this.ffi=W.ffi,this.rt=W.rt,this.ctx=W.ctx,this.memory=new LW({...W,owner:this.runtime}),W.callbacks.setContextCallbacks(this.ctx.value,this.cToHostCallbacks),this.dump=this.dump.bind(this),this.getString=this.getString.bind(this),this.getNumber=this.getNumber.bind(this),this.resolvePromise=this.resolvePromise.bind(this),this.uint32Out=this.memory.manage(this.memory.newTypedArray(Uint32Array,1))}get alive(){return this.memory.alive}dispose(){this.memory.dispose()}get undefined(){if(this._undefined)return this._undefined;let W=this.ffi.QTS_GetUndefined();return this._undefined=new J(W)}get null(){if(this._null)return this._null;let W=this.ffi.QTS_GetNull();return this._null=new J(W)}get true(){if(this._true)return this._true;let W=this.ffi.QTS_GetTrue();return this._true=new J(W)}get false(){if(this._false)return this._false;let W=this.ffi.QTS_GetFalse();return this._false=new J(W)}get global(){if(this._global)return this._global;let W=this.ffi.QTS_GetGlobalObject(this.ctx.value);return this._global=this.memory.staticHeapValueHandle(W),this._global}newNumber(W){return this.memory.heapValueHandle(this.ffi.QTS_NewFloat64(this.ctx.value,W))}newString(W){let Y=this.memory.newHeapCharPointer(W).consume((Z)=>this.ffi.QTS_NewString(this.ctx.value,Z.value.ptr));return this.memory.heapValueHandle(Y)}newUniqueSymbol(W){let Y=(typeof W=="symbol"?W.description:W)??"",Z=this.memory.newHeapCharPointer(Y).consume(($)=>this.ffi.QTS_NewSymbol(this.ctx.value,$.value.ptr,0));return this.memory.heapValueHandle(Z)}newSymbolFor(W){let Y=(typeof W=="symbol"?W.description:W)??"",Z=this.memory.newHeapCharPointer(Y).consume(($)=>this.ffi.QTS_NewSymbol(this.ctx.value,$.value.ptr,1));return this.memory.heapValueHandle(Z)}getWellKnownSymbol(W){return this._Symbol??(this._Symbol=this.memory.manage(this.getProp(this.global,"Symbol"))),this.getProp(this._Symbol,W)}newBigInt(W){if(!this._BigInt){let $=this.getProp(this.global,"BigInt");this.memory.manage($),this._BigInt=new J($.value,this.runtime)}let Y=this._BigInt,Z=String(W);return this.newString(Z).consume(($)=>this.unwrapResult(this.callFunction(Y,this.undefined,$)))}newObject(W){W&&this.runtime.assertOwned(W);let Y=W?this.ffi.QTS_NewObjectProto(this.ctx.value,W.value):this.ffi.QTS_NewObject(this.ctx.value);return this.memory.heapValueHandle(Y)}newArray(){let W=this.ffi.QTS_NewArray(this.ctx.value);return this.memory.heapValueHandle(W)}newArrayBuffer(W){let Y=new Uint8Array(W),Z=this.memory.newHeapBufferPointer(Y),$=this.ffi.QTS_NewArrayBuffer(this.ctx.value,Z.value.pointer,Y.length);return this.memory.heapValueHandle($)}newPromise(W){let Y=z.withScope((Z)=>{let $=Z.manage(this.memory.newMutablePointerArray(2)),X=this.ffi.QTS_NewPromiseCapability(this.ctx.value,$.value.ptr),j=this.memory.heapValueHandle(X),[G,K]=Array.from($.value.typedArray).map((V)=>this.memory.heapValueHandle(V));return new VW({context:this,promiseHandle:j,resolveHandle:G,rejectHandle:K})});return W&&typeof W=="function"&&(W=new Promise(W)),W&&Promise.resolve(W).then(Y.resolve,(Z)=>Z instanceof Q?Y.reject(Z):this.newError(Z).consume(Y.reject)),Y}newFunction(W,Y){let Z=typeof W=="function"?W:Y;if(!Z)throw TypeError("Expected a function");return this.newFunctionWithOptions({name:typeof W=="string"?W:void 0,length:Z.length,isConstructor:!1,fn:Z})}newConstructorFunction(W,Y){let Z=typeof W=="function"?W:Y;if(!Z)throw TypeError("Expected a function");return this.newFunctionWithOptions({name:typeof W=="string"?W:void 0,length:Z.length,isConstructor:!0,fn:Z})}newFunctionWithOptions(W){let{name:Y,length:Z,isConstructor:$,fn:X}=W,j=this.runtime.hostRefs.put(X);try{return this.memory.heapValueHandle(this.ffi.QTS_NewFunction(this.ctx.value,Y??"",Z,$,j))}catch(G){throw this.runtime.hostRefs.delete(j),G}}newError(W){let Y=this.memory.heapValueHandle(this.ffi.QTS_NewError(this.ctx.value));return W&&typeof W=="object"?(W.name!==void 0&&this.newString(W.name).consume((Z)=>this.setProp(Y,"name",Z)),W.message!==void 0&&this.newString(W.message).consume((Z)=>this.setProp(Y,"message",Z))):typeof W=="string"?this.newString(W).consume((Z)=>this.setProp(Y,"message",Z)):W!==void 0&&this.newString(String(W)).consume((Z)=>this.setProp(Y,"message",Z)),Y}newHostRef(W){let Y=this.runtime.hostRefs.put(W);try{let Z=this.memory.heapValueHandle(this.ffi.QTS_NewHostRef(this.ctx.value,Y));return new c(this.runtime,Z,Y)}catch(Z){throw this.runtime.hostRefs.delete(Y),Z}}toHostRef(W){let Y=this.ffi.QTS_GetHostRefId(W.value);if(Y!==0)return this.runtime.hostRefs.get(Y),new c(this.runtime,W.dup(),Y)}unwrapHostRef(W){let Y=this.ffi.QTS_GetHostRefId(W.value);if(Y===0)throw new C("handle is not a HostRef");return this.runtime.hostRefs.get(Y)}typeof(W){return this.runtime.assertOwned(W),this.memory.consumeHeapCharPointer(this.ffi.QTS_Typeof(this.ctx.value,W.value))}getNumber(W){return this.runtime.assertOwned(W),this.ffi.QTS_GetFloat64(this.ctx.value,W.value)}getString(W){return this.runtime.assertOwned(W),this.memory.consumeJSCharPointer(this.ffi.QTS_GetString(this.ctx.value,W.value))}getSymbol(W){this.runtime.assertOwned(W);let Y=this.memory.consumeJSCharPointer(this.ffi.QTS_GetSymbolDescriptionOrKey(this.ctx.value,W.value));return this.ffi.QTS_IsGlobalSymbol(this.ctx.value,W.value)?Symbol.for(Y):Symbol(Y)}getBigInt(W){this.runtime.assertOwned(W);let Y=this.getString(W);return BigInt(Y)}getArrayBuffer(W){this.runtime.assertOwned(W);let Y=this.ffi.QTS_GetArrayBufferLength(this.ctx.value,W.value),Z=this.ffi.QTS_GetArrayBuffer(this.ctx.value,W.value);if(!Z)throw Error("Couldn't allocate memory to get ArrayBuffer");return new Q(this.module.HEAPU8.subarray(Z,Z+Y),void 0,()=>this.module._free(Z))}getPromiseState(W){this.runtime.assertOwned(W);let Y=this.ffi.QTS_PromiseState(this.ctx.value,W.value);if(Y<0)return{type:"fulfilled",value:W,notAPromise:!0};if(Y===I.Pending)return{type:"pending",get error(){return new l("Cannot unwrap a pending promise")}};let Z=this.ffi.QTS_PromiseResult(this.ctx.value,W.value),$=this.memory.heapValueHandle(Z);if(Y===I.Fulfilled)return{type:"fulfilled",value:$};if(Y===I.Rejected)return{type:"rejected",error:$};throw $.dispose(),Error(`Unknown JSPromiseStateEnum: ${Y}`)}resolvePromise(W){this.runtime.assertOwned(W);let Y=z.withScope((Z)=>{let $=Z.manage(this.getProp(this.global,"Promise")),X=Z.manage(this.getProp($,"resolve"));return this.callFunction(X,$,W)});return Y.error?Promise.resolve(Y):new Promise((Z)=>{z.withScope(($)=>{let X=$.manage(this.newFunction("resolve",(V)=>{Z(this.success(V&&V.dup()))})),j=$.manage(this.newFunction("reject",(V)=>{Z(this.fail(V&&V.dup()))})),G=$.manage(Y.value),K=$.manage(this.getProp(G,"then"));this.callFunction(K,G,X,j).unwrap().dispose()})})}isEqual(W,Y,Z=R.IsStrictlyEqual){if(W===Y)return!0;this.runtime.assertOwned(W),this.runtime.assertOwned(Y);let $=this.ffi.QTS_IsEqual(this.ctx.value,W.value,Y.value,Z);if($===-1)throw new p("WASM variant does not expose equality");return!!$}eq(W,Y){return this.isEqual(W,Y,R.IsStrictlyEqual)}sameValue(W,Y){return this.isEqual(W,Y,R.IsSameValue)}sameValueZero(W,Y){return this.isEqual(W,Y,R.IsSameValueZero)}getProp(W,Y){this.runtime.assertOwned(W);let Z;return typeof Y=="number"&&Y>=0?Z=this.ffi.QTS_GetPropNumber(this.ctx.value,W.value,Y):Z=this.borrowPropertyKey(Y).consume(($)=>this.ffi.QTS_GetProp(this.ctx.value,W.value,$.value)),this.memory.heapValueHandle(Z)}getLength(W){if(this.runtime.assertOwned(W),!(this.ffi.QTS_GetLength(this.ctx.value,this.uint32Out.value.ptr,W.value)<0))return this.uint32Out.value.typedArray[0]}getOwnPropertyNames(W,Y={strings:!0,numbersAsStrings:!0}){this.runtime.assertOwned(W),W.value;let Z=zW(Y);if(Z===0)throw new o("No options set, will return an empty array");return z.withScope(($)=>{let X=$.manage(this.memory.newMutablePointerArray(1)),j=this.ffi.QTS_GetOwnPropertyNames(this.ctx.value,X.value.ptr,this.uint32Out.value.ptr,W.value,Z);if(j)return this.fail(this.memory.heapValueHandle(j));let G=this.uint32Out.value.typedArray[0],K=X.value.typedArray[0],V=new Uint32Array(this.module.HEAP8.buffer,K,G),B=Array.from(V).map((D)=>this.memory.heapValueHandle(D));return this.ffi.QTS_FreeVoidPointer(this.ctx.value,K),this.success(jW(B))})}getIterator(W){let Y=this._SymbolIterator??(this._SymbolIterator=this.memory.manage(this.getWellKnownSymbol("iterator")));return z.withScope((Z)=>{let $=Z.manage(this.getProp(W,Y)),X=this.callFunction($,W);return X.error?X:this.success(new CW(X.value,this))})}setProp(W,Y,Z){this.runtime.assertOwned(W),this.borrowPropertyKey(Y).consume(($)=>this.ffi.QTS_SetProp(this.ctx.value,W.value,$.value,Z.value))}defineProp(W,Y,Z){this.runtime.assertOwned(W),z.withScope(($)=>{let X=$.manage(this.borrowPropertyKey(Y)),j=Z.value||this.undefined,G=!!Z.configurable,K=!!Z.enumerable,V=!!Z.value,B=Z.get?$.manage(this.newFunction(Z.get.name,Z.get)):this.undefined,D=Z.set?$.manage(this.newFunction(Z.set.name,Z.set)):this.undefined;this.ffi.QTS_DefineProp(this.ctx.value,W.value,X.value,j.value,B.value,D.value,G,K,V)})}callFunction(W,Y,...Z){this.runtime.assertOwned(W);let $,X=Z[0];X===void 0||Array.isArray(X)?$=X??[]:$=Z;let j=this.memory.toPointerArray($).consume((K)=>this.ffi.QTS_Call(this.ctx.value,W.value,Y.value,$.length,K.value)),G=this.ffi.QTS_ResolveException(this.ctx.value,j);return G?(this.ffi.QTS_FreeValuePointer(this.ctx.value,j),this.fail(this.memory.heapValueHandle(G))):this.success(this.memory.heapValueHandle(j))}callMethod(W,Y,Z=[]){return this.getProp(W,Y).consume(($)=>this.callFunction($,W,Z))}evalCode(W,Y="eval.js",Z){let $=Z===void 0?1:0,X=QW(Z),j=this.memory.newHeapCharPointer(W).consume((K)=>this.ffi.QTS_Eval(this.ctx.value,K.value.ptr,K.value.strlen,Y,$,X)),G=this.ffi.QTS_ResolveException(this.ctx.value,j);return G?(this.ffi.QTS_FreeValuePointer(this.ctx.value,j),this.fail(this.memory.heapValueHandle(G))):this.success(this.memory.heapValueHandle(j))}throw(W){return this.errorToHandle(W).consume((Y)=>this.ffi.QTS_Throw(this.ctx.value,Y.value))}borrowPropertyKey(W){return typeof W=="number"?this.newNumber(W):typeof W=="string"?this.newString(W):new J(W.value,this.runtime)}getMemory(W){if(W===this.rt.value)return this.memory;throw Error("Private API. Cannot get memory from a different runtime")}dump(W){this.runtime.assertOwned(W);let Y=this.typeof(W);if(Y==="string")return this.getString(W);if(Y==="number")return this.getNumber(W);if(Y==="bigint")return this.getBigInt(W);if(Y==="undefined")return;if(Y==="symbol")return this.getSymbol(W);let Z=this.getPromiseState(W);if(Z.type==="fulfilled"&&!Z.notAPromise)return W.dispose(),{type:Z.type,value:Z.value.consume(this.dump)};if(Z.type==="pending")return W.dispose(),{type:Z.type};if(Z.type==="rejected")return W.dispose(),{type:Z.type,error:Z.error.consume(this.dump)};let $=this.memory.consumeJSCharPointer(this.ffi.QTS_Dump(this.ctx.value,W.value));try{return JSON.parse($)}catch{return $}}unwrapResult(W){if(W.error){let Y="context"in W.error?W.error.context:this,Z=W.error.consume(($)=>this.dump($));if(Z&&typeof Z=="object"&&typeof Z.message=="string"){let{message:$,name:X,stack:j,...G}=Z,K=new _(Z,Y);typeof X=="string"&&(K.name=Z.name),K.message=$;let V=K.stack;throw typeof j=="string"&&(K.stack=`${X}: ${$}
6
6
  ${Z.stack}Host: ${V}`),Object.assign(K,G),K}throw new _(Z)}return W.value}[Symbol.for("nodejs.util.inspect.custom")](){return this.alive?`${this.constructor.name} { ctx: ${this.ctx.value} rt: ${this.rt.value} }`:`${this.constructor.name} { disposed }`}getFunction(W){let Y=this.runtime.hostRefs.get(W);if(typeof Y!="function")throw Error(`Host reference ${W} is not a function`);return Y}errorToHandle(W){return W instanceof Q?W:this.newError(W)}encodeBinaryJSON(W){let Y=this.ffi.QTS_bjson_encode(this.ctx.value,W.value);return this.memory.heapValueHandle(Y)}decodeBinaryJSON(W){let Y=this.ffi.QTS_bjson_decode(this.ctx.value,W.value);return this.memory.heapValueHandle(Y)}success(W){return w.success(W)}fail(W){return w.fail(W,(Y)=>this.unwrapResult(Y))}},JW=class extends q{constructor(W){super();this.scope=new z,this.contextMap=new Map,this.hostRefs=new BW,this._debugMode=!1,this.cToHostCallbacks={freeHostRef:(Y,Z)=>{if(Y!==this.rt.value)throw Error("Runtime pointer mismatch");this.hostRefs.delete(Z)},shouldInterrupt:(Y)=>{if(Y!==this.rt.value)throw Error("QuickJSContext instance received C -> JS interrupt with mismatched rt");let Z=this.interruptHandler;if(!Z)throw Error("QuickJSContext had no interrupt handler");return Z(this)?1:0},loadModuleSource:v(this,function*(Y,Z,$,X){let j=this.moduleLoader;if(!j)throw Error("Runtime has no module loader");if(Z!==this.rt.value)throw Error("Runtime pointer mismatch");let G=this.contextMap.get($)??this.newContext({contextPointer:$});try{let K=yield*Y(j(X,G));if(typeof K=="object"&&"error"in K&&K.error)throw this.debugLog("cToHostLoadModule: loader returned error",K.error),K.error;let V=typeof K=="string"?K:("value"in K)?K.value:K;return this.memory.newHeapCharPointer(V).value.ptr}catch(K){return this.debugLog("cToHostLoadModule: caught error",K),G.throw(K),0}}),normalizeModule:v(this,function*(Y,Z,$,X,j){let G=this.moduleNormalizer;if(!G)throw Error("Runtime has no module normalizer");if(Z!==this.rt.value)throw Error("Runtime pointer mismatch");let K=this.contextMap.get($)??this.newContext({contextPointer:$});try{let V=yield*Y(G(X,j,K));if(typeof V=="object"&&"error"in V&&V.error)throw this.debugLog("cToHostNormalizeModule: normalizer returned error",V.error),V.error;let B=typeof V=="string"?V:V.value;return K.getMemory(this.rt.value).newHeapCharPointer(B).value.ptr}catch(V){return this.debugLog("normalizeModule: caught error",V),K.throw(V),0}})},W.ownedLifetimes?.forEach((Y)=>this.scope.manage(Y)),this.module=W.module,this.memory=new t(this.module),this.ffi=W.ffi,this.rt=W.rt,this.callbacks=W.callbacks,this.scope.manage(this.rt),this.callbacks.setRuntimeCallbacks(this.rt.value,this.cToHostCallbacks),this.executePendingJobs=this.executePendingJobs.bind(this),x&&this.setDebugMode(!0)}get alive(){return this.scope.alive}dispose(){return this.scope.dispose()}newContext(W={}){let Y=TW(W.intrinsics),Z=new Q(W.contextPointer||this.ffi.QTS_NewContext(this.rt.value,Y),void 0,(X)=>{this.contextMap.delete(X),this.callbacks.deleteContext(X),this.ffi.QTS_FreeContext(X)}),$=new UW({module:this.module,ctx:Z,ffi:this.ffi,rt:this.rt,ownedLifetimes:W.ownedLifetimes,runtime:this,callbacks:this.callbacks});return this.contextMap.set(Z.value,$),$}setModuleLoader(W,Y){this.moduleLoader=W,this.moduleNormalizer=Y,this.ffi.QTS_RuntimeEnableModuleLoader(this.rt.value,this.moduleNormalizer?1:0)}removeModuleLoader(){this.moduleLoader=void 0,this.ffi.QTS_RuntimeDisableModuleLoader(this.rt.value)}hasPendingJob(){return!!this.ffi.QTS_IsJobPending(this.rt.value)}setInterruptHandler(W){let Y=this.interruptHandler;this.interruptHandler=W,Y||this.ffi.QTS_RuntimeEnableInterruptHandler(this.rt.value)}removeInterruptHandler(){this.interruptHandler&&(this.ffi.QTS_RuntimeDisableInterruptHandler(this.rt.value),this.interruptHandler=void 0)}executePendingJobs(W=-1){let Y=this.memory.newMutablePointerArray(1),Z=this.ffi.QTS_ExecutePendingJob(this.rt.value,W??-1,Y.value.ptr),$=Y.value.typedArray[0];if(Y.dispose(),$===0)return this.ffi.QTS_FreeValuePointerRuntime(this.rt.value,Z),w.success(0);let X=this.contextMap.get($)??this.newContext({contextPointer:$}),j=X.getMemory(this.rt.value).heapValueHandle(Z);if(X.typeof(j)==="number"){let G=X.getNumber(j);return j.dispose(),w.success(G)}else{let G=Object.assign(j,{context:X});return w.fail(G,(K)=>X.unwrapResult(K))}}setMemoryLimit(W){if(W<0&&W!==-1)throw Error("Cannot set memory limit to negative number. To unset, pass -1");this.ffi.QTS_RuntimeSetMemoryLimit(this.rt.value,W)}computeMemoryUsage(){let W=this.getSystemContext().getMemory(this.rt.value);return W.heapValueHandle(this.ffi.QTS_RuntimeComputeMemoryUsage(this.rt.value,W.ctx.value))}dumpMemoryUsage(){return this.memory.consumeHeapCharPointer(this.ffi.QTS_RuntimeDumpMemoryUsage(this.rt.value))}setMaxStackSize(W){if(W<0)throw Error("Cannot set memory limit to negative number. To unset, pass 0.");this.ffi.QTS_RuntimeSetMaxStackSize(this.rt.value,W)}assertOwned(W){if(W.owner&&W.owner.rt!==this.rt)throw new u(`Handle is not owned by this runtime: ${W.owner.rt.value} != ${this.rt.value}`)}setDebugMode(W){this._debugMode=W,this.ffi.DEBUG&&this.rt.alive&&this.ffi.QTS_SetDebugLogEnabled(this.rt.value,W?1:0)}isDebugMode(){return this._debugMode}debugLog(...W){this._debugMode&&console.log("quickjs-emscripten:",...W)}[Symbol.for("nodejs.util.inspect.custom")](){return this.alive?`${this.constructor.name} { rt: ${this.rt.value} }`:`${this.constructor.name} { disposed }`}getSystemContext(){return this.context||(this.context=this.scope.manage(this.newContext())),this.context}},DW=class{constructor(W){this.freeHostRef=W.freeHostRef,this.callFunction=W.callFunction,this.shouldInterrupt=W.shouldInterrupt,this.loadModuleSource=W.loadModuleSource,this.normalizeModule=W.normalizeModule}},wW=class{constructor(W){this.contextCallbacks=new Map,this.runtimeCallbacks=new Map,this.suspendedCount=0,this.cToHostCallbacks=new DW({freeHostRef:(Y,Z,$)=>{let X=this.runtimeCallbacks.get(Z);if(!X)throw Error(`QuickJSRuntime(rt = ${Z}) not found when trying to free HostRef(id = ${$})`);X.freeHostRef(Z,$)},callFunction:(Y,Z,$,X,j,G)=>this.handleAsyncify(Y,()=>{try{let K=this.contextCallbacks.get(Z);if(!K)throw Error(`QuickJSContext(ctx = ${Z}) not found for C function call "${G}"`);return K.callFunction(Z,$,X,j,G)}catch(K){return console.error("[C to host error: returning null]",K),0}}),shouldInterrupt:(Y,Z)=>this.handleAsyncify(Y,()=>{try{let $=this.runtimeCallbacks.get(Z);if(!$)throw Error(`QuickJSRuntime(rt = ${Z}) not found for C interrupt`);return $.shouldInterrupt(Z)}catch($){return console.error("[C to host interrupt: returning error]",$),1}}),loadModuleSource:(Y,Z,$,X)=>this.handleAsyncify(Y,()=>{try{let j=this.runtimeCallbacks.get(Z);if(!j)throw Error(`QuickJSRuntime(rt = ${Z}) not found for C module loader`);let G=j.loadModuleSource;if(!G)throw Error(`QuickJSRuntime(rt = ${Z}) does not support module loading`);return G(Z,$,X)}catch(j){return console.error("[C to host module loader error: returning null]",j),0}}),normalizeModule:(Y,Z,$,X,j)=>this.handleAsyncify(Y,()=>{try{let G=this.runtimeCallbacks.get(Z);if(!G)throw Error(`QuickJSRuntime(rt = ${Z}) not found for C module loader`);let K=G.normalizeModule;if(!K)throw Error(`QuickJSRuntime(rt = ${Z}) does not support module loading`);return K(Z,$,X,j)}catch(G){return console.error("[C to host module loader error: returning null]",G),0}})}),this.module=W,this.module.callbacks=this.cToHostCallbacks}setRuntimeCallbacks(W,Y){this.runtimeCallbacks.set(W,Y)}deleteRuntime(W){this.runtimeCallbacks.delete(W)}setContextCallbacks(W,Y){this.contextCallbacks.set(W,Y)}deleteContext(W){this.contextCallbacks.delete(W)}handleAsyncify(W,Y){if(W)return W.handleSleep(($)=>{try{let X=Y();if(!(X instanceof Promise)){N("asyncify.handleSleep: not suspending:",X),$(X);return}if(this.suspended)throw new d(`Already suspended at: ${this.suspended.stack}
7
7
  Attempted to suspend at:`);this.suspended=new i(`(${this.suspendedCount++})`),N("asyncify.handleSleep: suspending:",this.suspended),X.then((j)=>{this.suspended=void 0,N("asyncify.handleSleep: resolved:",j),$(j)},(j)=>{N("asyncify.handleSleep: rejected:",j),console.error("QuickJS: cannot handle error in suspended function",j),this.suspended=void 0})}catch(X){throw N("asyncify.handleSleep: error:",X),this.suspended=void 0,X}});let Z=Y();if(Z instanceof Promise)throw Error("Promise return value not supported in non-asyncify context.");return Z}};function MW(W,Y){Y.interruptHandler&&W.setInterruptHandler(Y.interruptHandler),Y.maxStackSizeBytes!==void 0&&W.setMaxStackSize(Y.maxStackSizeBytes),Y.memoryLimitBytes!==void 0&&W.setMemoryLimit(Y.memoryLimitBytes)}function RW(W,Y){Y.moduleLoader&&W.setModuleLoader(Y.moduleLoader),Y.shouldInterrupt&&W.setInterruptHandler(Y.shouldInterrupt),Y.memoryLimitBytes!==void 0&&W.setMemoryLimit(Y.memoryLimitBytes),Y.maxStackSizeBytes!==void 0&&W.setMaxStackSize(Y.maxStackSizeBytes)}var EW=class{constructor(W,Y){this.module=W,this.ffi=Y,this.callbacks=new wW(W)}newRuntime(W={}){let Y=new Q(this.ffi.QTS_NewRuntime(),void 0,($)=>{this.ffi.QTS_FreeRuntime($),this.callbacks.deleteRuntime($)}),Z=new JW({module:this.module,callbacks:this.callbacks,ffi:this.ffi,rt:Y});return MW(Z,W),W.moduleLoader&&Z.setModuleLoader(W.moduleLoader),Z}newContext(W={}){let Y=this.newRuntime(),Z=Y.newContext({...W,ownedLifetimes:qW(Y,W.ownedLifetimes)});return Y.context=Z,Z}evalCode(W,Y={}){return z.withScope((Z)=>{let $=Z.manage(this.newContext());RW($.runtime,Y);let X=$.evalCode(W,"eval.js");if(Y.memoryLimitBytes!==void 0&&$.runtime.setMemoryLimit(-1),X.error)throw $.dump(Z.manage(X.error));return $.dump(Z.manage(X.value))})}getWasmMemory(){let W=this.module.quickjsEmscriptenInit?.(()=>{})?.getWasmMemory?.();if(!W)throw Error("Variant does not support getting WebAssembly.Memory");return W}getFFI(){return this.ffi}};
8
- export{p as Dh,Q as Eh,z as Fh,TW as Gh,QW as Hh,UW as Ih,JW as Jh,wW as Kh,MW as Lh,RW as Mh,EW as Nh};
8
+ export{p as Eh,Q as Fh,z as Gh,TW as Hh,QW as Ih,UW as Jh,JW as Kh,wW as Lh,MW as Mh,RW as Nh,EW as Oh};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Te as F}from"./chunk-meehnnv9.js";import{df as B,gf as D,xf as E}from"./chunk-4ycg2c6f.js";import{Uq as w}from"./chunk-pdcxmr6x.js";import"./chunk-cqtkxwd8.js";import"./chunk-a1mbach4.js";import"./chunk-sg9enzsp.js";import"./chunk-5q98z8ck.js";import"./chunk-sh03ka27.js";var P="2.0.39";function Q(q={}){var x;let G=E((x=q.baseURL)!=null?x:"https://api.v0.dev/v1"),J=()=>B({Authorization:`Bearer ${D({apiKey:q.apiKey,environmentVariableName:"VERCEL_API_KEY",description:"Vercel"})}`,...q.headers},`ai-sdk/vercel/${P}`),K=(j)=>({provider:`vercel.${j}`,url:({path:N})=>`${G}${N}`,headers:J,fetch:q.fetch}),z=(j)=>{return new F(j,{...K("chat")})},k=(j)=>z(j);return k.specificationVersion="v3",k.languageModel=z,k.embeddingModel=(j)=>{throw new w({modelId:j,modelType:"embeddingModel"})},k.textEmbeddingModel=k.embeddingModel,k.imageModel=(j)=>{throw new w({modelId:j,modelType:"imageModel"})},k}var X=Q();export{X as vercel,Q as createVercel,P as VERSION};
2
+ import{Ue as F}from"./chunk-a0c6w901.js";import{ef as B,hf as D,yf as E}from"./chunk-fg5f3a8a.js";import{ys as w}from"./chunk-4dy64hgp.js";import"./chunk-cqtkxwd8.js";import"./chunk-gt10s0ks.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-pfx8ts02.js";var P="2.0.39";function Q(q={}){var x;let G=E((x=q.baseURL)!=null?x:"https://api.v0.dev/v1"),J=()=>B({Authorization:`Bearer ${D({apiKey:q.apiKey,environmentVariableName:"VERCEL_API_KEY",description:"Vercel"})}`,...q.headers},`ai-sdk/vercel/${P}`),K=(j)=>({provider:`vercel.${j}`,url:({path:N})=>`${G}${N}`,headers:J,fetch:q.fetch}),z=(j)=>{return new F(j,{...K("chat")})},k=(j)=>z(j);return k.specificationVersion="v3",k.languageModel=z,k.embeddingModel=(j)=>{throw new w({modelId:j,modelType:"embeddingModel"})},k.textEmbeddingModel=k.embeddingModel,k.imageModel=(j)=>{throw new w({modelId:j,modelType:"imageModel"})},k}var X=Q();export{X as vercel,Q as createVercel,P as VERSION};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-sh03ka27.js";var e={"ui.sessionReview.title":"Modifications de la session","ui.sessionReview.title.lastTurn":"Modifications du dernier tour","ui.sessionReview.diffStyle.unified":"Unifi\xE9","ui.sessionReview.diffStyle.split":"Divis\xE9","ui.sessionReview.openFile":"Ouvrir le fichier","ui.sessionReview.selection.line":"ligne {{line}}","ui.sessionReview.selection.lines":"lignes {{start}}-{{end}}","ui.sessionReview.expandAll":"Tout d\xE9velopper","ui.sessionReview.collapseAll":"Tout r\xE9duire","ui.sessionReview.change.added":"Ajout\xE9","ui.sessionReview.change.removed":"Supprim\xE9","ui.sessionReview.change.modified":"Modifi\xE9","ui.sessionReview.image.loading":"Chargement...","ui.sessionReview.image.placeholder":"Image","ui.sessionReview.largeDiff.title":"Diff trop volumineux pour \xEAtre affich\xE9","ui.sessionReview.largeDiff.meta":"Limite : {{limit}} lignes modifi\xE9es. Actuel : {{current}} lignes modifi\xE9es.","ui.sessionReview.largeDiff.renderAnyway":"Afficher quand m\xEAme","ui.fileMedia.kind.image":"image","ui.fileMedia.kind.audio":"audio","ui.fileMedia.state.removed":"Fichier {{kind}} supprim\xE9","ui.fileMedia.state.loading":"Chargement du fichier {{kind}}","ui.fileMedia.state.error":"Erreur avec le fichier {{kind}}","ui.fileMedia.state.unavailable":"Fichier {{kind}} indisponible","ui.fileMedia.binary.title":"Fichier binaire","ui.fileMedia.binary.description.path":"Impossible d'afficher {{path}} car il s'agit d'un fichier binaire.","ui.fileMedia.binary.description.default":"Impossible d'afficher ce fichier car il s'agit d'un fichier binaire.","ui.lineComment.label.prefix":"Commenter sur ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Commentaire sur ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Ajouter un commentaire","ui.lineComment.submit":"Commenter","ui.sessionTurn.steps.show":"Afficher les \xE9tapes","ui.sessionTurn.steps.hide":"Masquer les \xE9tapes","ui.sessionTurn.summary.response":"R\xE9ponse","ui.sessionTurn.diff.showMore":"Afficher plus de modifications ({{count}})","ui.sessionTurn.retry.retrying":"nouvelle tentative","ui.sessionTurn.retry.inSeconds":"dans {{seconds}}s","ui.sessionTurn.retry.attempt":"tentative n\xB0{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - tentative n\xB0{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini est en surchauffe","ui.sessionTurn.error.freeUsageExceeded":"Limite d'utilisation gratuite d\xE9pass\xE9e","ui.sessionTurn.error.addQredits":"Ajouter des cr\xE9dits","ui.sessionTurn.status.delegating":"D\xE9l\xE9gation du travail","ui.sessionTurn.status.planning":"Planification des prochaines \xE9tapes","ui.sessionTurn.status.gatheringContext":"Exploration","ui.sessionTurn.status.gatheredContext":"Explor\xE9","ui.sessionTurn.status.searchingCodebase":"Recherche dans la base de code","ui.sessionTurn.status.searchingWeb":"Recherche sur le web","ui.sessionTurn.status.makingEdits":"Application des modifications","ui.sessionTurn.status.runningCommands":"Ex\xE9cution des commandes","ui.sessionTurn.status.thinking":"R\xE9flexion","ui.sessionTurn.status.thinkingWithTopic":"R\xE9flexion - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Rassemblement des id\xE9es","ui.sessionTurn.status.consideringNextSteps":"Examen des prochaines \xE9tapes","ui.messagePart.questions.dismissed":"Questions ignor\xE9es","ui.messagePart.compaction":"Session compact\xE9e","ui.messagePart.context.read.one":"{{count}} lecture","ui.messagePart.context.read.other":"{{count}} lectures","ui.messagePart.context.search.one":"{{count}} recherche","ui.messagePart.context.search.other":"{{count}} recherches","ui.messagePart.context.list.one":"{{count}} liste","ui.messagePart.context.list.other":"{{count}} listes","ui.messagePart.diagnostic.error":"Erreur","ui.messagePart.title.edit":"Modifier","ui.messagePart.title.write":"\xC9crire","ui.messagePart.option.typeOwnAnswer":"Tapez votre propre r\xE9ponse","ui.messagePart.review.title":"Passez en revue vos r\xE9ponses","ui.list.loading":"Chargement","ui.list.empty":"Aucun r\xE9sultat","ui.list.clearFilter":"Effacer le filtre","ui.list.emptyWithFilter.prefix":"Aucun r\xE9sultat pour","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Nouveau message","ui.textField.copyToClipboard":"Copier dans le presse-papiers","ui.textField.copyLink":"Copier le lien","ui.textField.copied":"Copi\xE9","ui.imagePreview.alt":"Aper\xE7u de l'image","ui.scrollView.ariaLabel":"contenu d\xE9filable","ui.tool.read":"Lire","ui.tool.loaded":"Charg\xE9","ui.tool.list":"Lister","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"Recherche Web","ui.tool.codesearch":"Recherche de code","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"T\xE2ches","ui.tool.todos.read":"Lire les t\xE2ches","ui.tool.questions":"Questions","ui.tool.agent":"Agent {{type}}","ui.tool.agent.default":"Agent","ui.common.file.one":"fichier","ui.common.file.other":"fichiers","ui.common.question.one":"question","ui.common.question.other":"questions","ui.common.add":"Ajouter","ui.common.back":"Retour","ui.common.cancel":"Annuler","ui.common.confirm":"Confirmer","ui.common.dismiss":"Ignorer","ui.common.close":"Fermer","ui.common.next":"Suivant","ui.common.submit":"Soumettre","ui.permission.deny":"Refuser","ui.permission.allowAlways":"Toujours autoriser","ui.permission.allowOnce":"Autoriser une fois","ui.message.expand":"D\xE9velopper le message","ui.message.collapse":"R\xE9duire le message","ui.message.copy":"Copier","ui.message.copyMessage":"Copier le message","ui.message.forkMessage":"Bifurquer vers une nouvelle session","ui.message.revertMessage":"R\xE9initialiser \xE0 ce point","ui.message.copyResponse":"Copier la r\xE9ponse","ui.message.copied":"Copi\xE9 !","ui.message.interrupted":"Interrompu","ui.message.queued":"En file","ui.message.attachment.alt":"pi\xE8ce jointe","ui.patch.action.deleted":"Supprim\xE9","ui.patch.action.created":"Cr\xE9\xE9","ui.patch.action.moved":"D\xE9plac\xE9","ui.patch.action.patched":"Corrig\xE9","ui.question.subtitle.answered":"{{count}} r\xE9pondu(s)","ui.question.answer.none":"(pas de r\xE9ponse)","ui.question.review.notAnswered":"(non r\xE9pondu)","ui.question.multiHint":"S\xE9lectionnez tout ce qui s'applique","ui.question.singleHint":"S\xE9lectionnez une r\xE9ponse","ui.question.custom.placeholder":"Tapez votre r\xE9ponse...","ui.fileSearch.placeholder":"Rechercher","ui.fileSearch.previousMatch":"Pr\xE9c\xE9dent","ui.fileSearch.nextMatch":"Suivant","ui.fileSearch.close":"Fermer la recherche","ui.tool.task":"T\xE2che","ui.tool.skill":"Comp\xE9tence","ui.basicTool.called":"Appel\xE9 `{{tool}}`","ui.toolErrorCard.failed":"\xC9chou\xE9","ui.toolErrorCard.copyError":"Copier l'erreur","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s"};export{e as dict};
2
+ import"./chunk-pfx8ts02.js";var e={"ui.sessionReview.title":"Modifications de la session","ui.sessionReview.title.lastTurn":"Modifications du dernier tour","ui.sessionReview.diffStyle.unified":"Unifi\xE9","ui.sessionReview.diffStyle.split":"Divis\xE9","ui.sessionReview.openFile":"Ouvrir le fichier","ui.sessionReview.selection.line":"ligne {{line}}","ui.sessionReview.selection.lines":"lignes {{start}}-{{end}}","ui.sessionReview.expandAll":"Tout d\xE9velopper","ui.sessionReview.collapseAll":"Tout r\xE9duire","ui.sessionReview.change.added":"Ajout\xE9","ui.sessionReview.change.removed":"Supprim\xE9","ui.sessionReview.change.modified":"Modifi\xE9","ui.sessionReview.image.loading":"Chargement...","ui.sessionReview.image.placeholder":"Image","ui.sessionReview.largeDiff.title":"Diff trop volumineux pour \xEAtre affich\xE9","ui.sessionReview.largeDiff.meta":"Limite : {{limit}} lignes modifi\xE9es. Actuel : {{current}} lignes modifi\xE9es.","ui.sessionReview.largeDiff.renderAnyway":"Afficher quand m\xEAme","ui.fileMedia.kind.image":"image","ui.fileMedia.kind.audio":"audio","ui.fileMedia.state.removed":"Fichier {{kind}} supprim\xE9","ui.fileMedia.state.loading":"Chargement du fichier {{kind}}","ui.fileMedia.state.error":"Erreur avec le fichier {{kind}}","ui.fileMedia.state.unavailable":"Fichier {{kind}} indisponible","ui.fileMedia.binary.title":"Fichier binaire","ui.fileMedia.binary.description.path":"Impossible d'afficher {{path}} car il s'agit d'un fichier binaire.","ui.fileMedia.binary.description.default":"Impossible d'afficher ce fichier car il s'agit d'un fichier binaire.","ui.lineComment.label.prefix":"Commenter sur ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Commentaire sur ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Ajouter un commentaire","ui.lineComment.submit":"Commenter","ui.sessionTurn.steps.show":"Afficher les \xE9tapes","ui.sessionTurn.steps.hide":"Masquer les \xE9tapes","ui.sessionTurn.summary.response":"R\xE9ponse","ui.sessionTurn.diff.showMore":"Afficher plus de modifications ({{count}})","ui.sessionTurn.retry.retrying":"nouvelle tentative","ui.sessionTurn.retry.inSeconds":"dans {{seconds}}s","ui.sessionTurn.retry.attempt":"tentative n\xB0{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - tentative n\xB0{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini est en surchauffe","ui.sessionTurn.error.freeUsageExceeded":"Limite d'utilisation gratuite d\xE9pass\xE9e","ui.sessionTurn.error.addQredits":"Ajouter des cr\xE9dits","ui.sessionTurn.status.delegating":"D\xE9l\xE9gation du travail","ui.sessionTurn.status.planning":"Planification des prochaines \xE9tapes","ui.sessionTurn.status.gatheringContext":"Exploration","ui.sessionTurn.status.gatheredContext":"Explor\xE9","ui.sessionTurn.status.searchingCodebase":"Recherche dans la base de code","ui.sessionTurn.status.searchingWeb":"Recherche sur le web","ui.sessionTurn.status.makingEdits":"Application des modifications","ui.sessionTurn.status.runningCommands":"Ex\xE9cution des commandes","ui.sessionTurn.status.thinking":"R\xE9flexion","ui.sessionTurn.status.thinkingWithTopic":"R\xE9flexion - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Rassemblement des id\xE9es","ui.sessionTurn.status.consideringNextSteps":"Examen des prochaines \xE9tapes","ui.messagePart.questions.dismissed":"Questions ignor\xE9es","ui.messagePart.compaction":"Session compact\xE9e","ui.messagePart.context.read.one":"{{count}} lecture","ui.messagePart.context.read.other":"{{count}} lectures","ui.messagePart.context.search.one":"{{count}} recherche","ui.messagePart.context.search.other":"{{count}} recherches","ui.messagePart.context.list.one":"{{count}} liste","ui.messagePart.context.list.other":"{{count}} listes","ui.messagePart.diagnostic.error":"Erreur","ui.messagePart.title.edit":"Modifier","ui.messagePart.title.write":"\xC9crire","ui.messagePart.option.typeOwnAnswer":"Tapez votre propre r\xE9ponse","ui.messagePart.review.title":"Passez en revue vos r\xE9ponses","ui.list.loading":"Chargement","ui.list.empty":"Aucun r\xE9sultat","ui.list.clearFilter":"Effacer le filtre","ui.list.emptyWithFilter.prefix":"Aucun r\xE9sultat pour","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Nouveau message","ui.textField.copyToClipboard":"Copier dans le presse-papiers","ui.textField.copyLink":"Copier le lien","ui.textField.copied":"Copi\xE9","ui.imagePreview.alt":"Aper\xE7u de l'image","ui.scrollView.ariaLabel":"contenu d\xE9filable","ui.tool.read":"Lire","ui.tool.loaded":"Charg\xE9","ui.tool.list":"Lister","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"Recherche Web","ui.tool.codesearch":"Recherche de code","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"T\xE2ches","ui.tool.todos.read":"Lire les t\xE2ches","ui.tool.questions":"Questions","ui.tool.agent":"Agent {{type}}","ui.tool.agent.default":"Agent","ui.common.file.one":"fichier","ui.common.file.other":"fichiers","ui.common.question.one":"question","ui.common.question.other":"questions","ui.common.add":"Ajouter","ui.common.back":"Retour","ui.common.cancel":"Annuler","ui.common.confirm":"Confirmer","ui.common.dismiss":"Ignorer","ui.common.close":"Fermer","ui.common.next":"Suivant","ui.common.submit":"Soumettre","ui.permission.deny":"Refuser","ui.permission.allowAlways":"Toujours autoriser","ui.permission.allowOnce":"Autoriser une fois","ui.message.expand":"D\xE9velopper le message","ui.message.collapse":"R\xE9duire le message","ui.message.copy":"Copier","ui.message.copyMessage":"Copier le message","ui.message.forkMessage":"Bifurquer vers une nouvelle session","ui.message.revertMessage":"R\xE9initialiser \xE0 ce point","ui.message.copyResponse":"Copier la r\xE9ponse","ui.message.copied":"Copi\xE9 !","ui.message.interrupted":"Interrompu","ui.message.queued":"En file","ui.message.attachment.alt":"pi\xE8ce jointe","ui.patch.action.deleted":"Supprim\xE9","ui.patch.action.created":"Cr\xE9\xE9","ui.patch.action.moved":"D\xE9plac\xE9","ui.patch.action.patched":"Corrig\xE9","ui.question.subtitle.answered":"{{count}} r\xE9pondu(s)","ui.question.answer.none":"(pas de r\xE9ponse)","ui.question.review.notAnswered":"(non r\xE9pondu)","ui.question.multiHint":"S\xE9lectionnez tout ce qui s'applique","ui.question.singleHint":"S\xE9lectionnez une r\xE9ponse","ui.question.custom.placeholder":"Tapez votre r\xE9ponse...","ui.fileSearch.placeholder":"Rechercher","ui.fileSearch.previousMatch":"Pr\xE9c\xE9dent","ui.fileSearch.nextMatch":"Suivant","ui.fileSearch.close":"Fermer la recherche","ui.tool.task":"T\xE2che","ui.tool.skill":"Comp\xE9tence","ui.basicTool.called":"Appel\xE9 `{{tool}}`","ui.toolErrorCard.failed":"\xC9chou\xE9","ui.toolErrorCard.copyError":"Copier l'erreur","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s"};export{e as dict};