@qitqode/qitqode-android-arm64 0.2.14 → 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 (414) hide show
  1. package/bun +2 -2
  2. package/bundle/{chunk-wrzn87w0.js → chunk-098mr0zz.js} +1 -1
  3. package/bundle/{chunk-j15wejz0.js → chunk-0catm9vq.js} +1 -1
  4. package/bundle/{chunk-kdqhwa65.js → chunk-0cqs1qkh.js} +1 -1
  5. package/bundle/{chunk-d10qre1b.js → chunk-0f3ncvfe.js} +1 -1
  6. package/bundle/{chunk-583d91xq.js → chunk-0gqwvt8w.js} +2 -2
  7. package/bundle/chunk-0mb55ytc.js +2 -0
  8. package/bundle/{chunk-9zsp3qkh.js → chunk-0n2ncnwz.js} +1 -1
  9. package/bundle/chunk-0y0hm0m5.js +2 -0
  10. package/bundle/chunk-120e8yr1.js +2 -0
  11. package/bundle/{chunk-spcdwmy4.js → chunk-1aneepm5.js} +1 -1
  12. package/bundle/chunk-1dxm8yev.js +2 -0
  13. package/bundle/{chunk-96sra8g8.js → chunk-1jg7cybp.js} +1 -1
  14. package/bundle/{chunk-ngygp66y.js → chunk-1k5nfw7g.js} +1 -1
  15. package/bundle/{chunk-fmcg649e.js → chunk-1kksj8cn.js} +1 -1
  16. package/bundle/chunk-1pgpv979.js +2 -0
  17. package/bundle/{chunk-szfqmkj6.js → chunk-1xsjkf4c.js} +1 -1
  18. package/bundle/{chunk-zx63mepv.js → chunk-1yetxft4.js} +1 -1
  19. package/bundle/chunk-23zh9s18.js +2 -0
  20. package/bundle/{chunk-8qpfphdz.js → chunk-24pf9s68.js} +1 -1
  21. package/bundle/chunk-2a0zf12g.js +2 -0
  22. package/bundle/chunk-2b8x31p3.js +2 -0
  23. package/bundle/chunk-2cvmdss3.js +2 -0
  24. package/bundle/{chunk-bm8azfnt.js → chunk-2kvghwar.js} +1 -1
  25. package/bundle/{chunk-ch7s512a.js → chunk-2nkjwqpm.js} +1 -1
  26. package/bundle/chunk-2qbsg6dp.js +2 -0
  27. package/bundle/{chunk-9ttebtcf.js → chunk-2rvs18fx.js} +1 -1
  28. package/bundle/{chunk-rxt6gktt.js → chunk-2thbax1j.js} +1 -1
  29. package/bundle/{chunk-6y0wgz2j.js → chunk-2zxygnx4.js} +1 -1
  30. package/bundle/{chunk-zgwasq3p.js → chunk-36kg3v3k.js} +1 -1
  31. package/bundle/{chunk-1gdt9q05.js → chunk-37hh7eee.js} +1 -1
  32. package/bundle/chunk-39mwv068.js +2 -0
  33. package/bundle/{chunk-set1f1wr.js → chunk-39z0qxkt.js} +1 -1
  34. package/bundle/{chunk-p0852vfn.js → chunk-3dfy9k0t.js} +2 -2
  35. package/bundle/{chunk-et3tgx7t.js → chunk-3e26pryk.js} +1 -1
  36. package/bundle/{chunk-vzkdzhn0.js → chunk-3eddms0g.js} +1 -1
  37. package/bundle/chunk-3re79hkf.js +2 -0
  38. package/bundle/{chunk-sy76e7nr.js → chunk-3vjs8aht.js} +1 -1
  39. package/bundle/{chunk-k769v1ds.js → chunk-3z7r4c0p.js} +1 -1
  40. package/bundle/chunk-40pe0tde.js +11 -0
  41. package/bundle/{chunk-0ejx0yqx.js → chunk-47nber5v.js} +1 -1
  42. package/bundle/{chunk-bga4kqd1.js → chunk-491f4ab9.js} +2 -2
  43. package/bundle/{chunk-3152y1q9.js → chunk-4bp91rza.js} +1 -1
  44. package/bundle/{chunk-pdcxmr6x.js → chunk-4dy64hgp.js} +1 -1
  45. package/bundle/{chunk-0mztgsxp.js → chunk-4fqwg54p.js} +1 -1
  46. package/bundle/{chunk-2w3n0q9m.js → chunk-4gv7nsdd.js} +2 -2
  47. package/bundle/{chunk-2ascwm7j.js → chunk-4nw19yab.js} +1 -1
  48. package/bundle/chunk-51fyaa6r.js +2 -0
  49. package/bundle/{chunk-9znfb8f2.js → chunk-52f62kr0.js} +2 -2
  50. package/bundle/chunk-52n4tdeh.js +5 -0
  51. package/bundle/{chunk-x4jnyj09.js → chunk-543jma8r.js} +1 -1
  52. package/bundle/chunk-58q03ah1.js +2 -0
  53. package/bundle/{chunk-hrcqbadm.js → chunk-5fhy0wb0.js} +1 -1
  54. package/bundle/{chunk-8zpsgfb6.js → chunk-5fym1zr2.js} +1 -1
  55. package/bundle/{chunk-a3g8de96.js → chunk-5k5jdayv.js} +1 -1
  56. package/bundle/chunk-5nmqgqj2.js +2 -0
  57. package/bundle/{chunk-psmwrvqs.js → chunk-5t69v8jg.js} +2 -2
  58. package/bundle/{chunk-7w571q26.js → chunk-5vtbg7pj.js} +1 -1
  59. package/bundle/{chunk-g738e799.js → chunk-5xmtzs15.js} +2 -2
  60. package/bundle/chunk-5ydg5ny1.js +2 -0
  61. package/bundle/{chunk-v5me0cj9.js → chunk-5z5rk3ng.js} +1 -1
  62. package/bundle/{chunk-5dvy83ms.js → chunk-62mb6wxm.js} +2 -2
  63. package/bundle/chunk-62mytrwv.js +2 -0
  64. package/bundle/{chunk-edvfqxfr.js → chunk-6396bg4p.js} +1 -1
  65. package/bundle/chunk-63bccmze.js +2 -0
  66. package/bundle/{chunk-1ypzf18e.js → chunk-64x1vtdq.js} +1 -1
  67. package/bundle/{chunk-9mabvb06.js → chunk-6kx4atkt.js} +1 -1
  68. package/bundle/{chunk-dmb0ez0m.js → chunk-6r7vm4xc.js} +3 -3
  69. package/bundle/{chunk-tcyzj3rz.js → chunk-6rggm6tm.js} +1 -1
  70. package/bundle/{chunk-fp2xgnjn.js → chunk-6vpc1y3w.js} +2 -2
  71. package/bundle/{chunk-71jmhvef.js → chunk-6vxddv5w.js} +2 -2
  72. package/bundle/chunk-6ynaebaw.js +2 -0
  73. package/bundle/{chunk-ep4drmt9.js → chunk-700jhn67.js} +1 -1
  74. package/bundle/{chunk-fdmz0502.js → chunk-76jbys6j.js} +2 -2
  75. package/bundle/chunk-782y3dm8.js +2 -0
  76. package/bundle/{chunk-d7h1dp0h.js → chunk-89g9wzc2.js} +1 -1
  77. package/bundle/chunk-8q50bha4.js +2 -0
  78. package/bundle/chunk-8v6qbhm1.js +2 -0
  79. package/bundle/chunk-955jtenj.js +2 -0
  80. package/bundle/chunk-95yzwxpf.js +2 -0
  81. package/bundle/{chunk-2w79k0mh.js → chunk-96281xfb.js} +2 -2
  82. package/bundle/{chunk-bdcd2mcb.js → chunk-96657nrr.js} +2 -2
  83. package/bundle/chunk-99ansgsj.js +2 -0
  84. package/bundle/{chunk-3c73rngn.js → chunk-9dd2krfn.js} +1 -1
  85. package/bundle/chunk-9exxjnxc.js +2 -0
  86. package/bundle/{chunk-eqsank84.js → chunk-9ge1mkfs.js} +1 -1
  87. package/bundle/{chunk-4r7fbkcm.js → chunk-9mmaja9n.js} +1 -1
  88. package/bundle/{chunk-mjkwd1sz.js → chunk-9rd7q5e9.js} +1 -1
  89. package/bundle/{chunk-6cztstry.js → chunk-9skj2w9e.js} +2 -2
  90. package/bundle/{chunk-nb4xtk1n.js → chunk-9tdbts1r.js} +1 -1
  91. package/bundle/{chunk-sg9enzsp.js → chunk-9tfm1dk2.js} +2 -2
  92. package/bundle/{chunk-z6qyx227.js → chunk-9xaea8h1.js} +1 -1
  93. package/bundle/{chunk-meehnnv9.js → chunk-a0c6w901.js} +2 -2
  94. package/bundle/chunk-a2tp2f6s.js +2 -0
  95. package/bundle/{chunk-69htq8kq.js → chunk-a3ynq3h7.js} +1 -1
  96. package/bundle/chunk-a4y0wjtq.js +3 -0
  97. package/bundle/{chunk-6dd2dx69.js → chunk-afagt413.js} +2 -2
  98. package/bundle/{chunk-px69995t.js → chunk-afzx47y2.js} +1 -1
  99. package/bundle/chunk-ag3s3t7x.js +2 -0
  100. package/bundle/{chunk-n7zd97hy.js → chunk-ajdn1n77.js} +2 -2
  101. package/bundle/chunk-arwm1qxm.js +2 -0
  102. package/bundle/{chunk-adws0hhk.js → chunk-awt3q88j.js} +2 -2
  103. package/bundle/{chunk-qn1fhqyw.js → chunk-az2pxgx6.js} +2 -2
  104. package/bundle/chunk-b0gq0s8a.js +2 -0
  105. package/bundle/{chunk-48rg4yhk.js → chunk-b2zfr7jz.js} +2 -2
  106. package/bundle/{chunk-mbmaeq0a.js → chunk-b63733cw.js} +1 -1
  107. package/bundle/chunk-b7430vg8.js +2 -0
  108. package/bundle/{chunk-07b4pkk6.js → chunk-b7dw5ged.js} +1 -1
  109. package/bundle/{chunk-prz2fkn9.js → chunk-b83qf145.js} +1 -1
  110. package/bundle/{chunk-veptx3fk.js → chunk-b8w33ck9.js} +1 -1
  111. package/bundle/{chunk-674pexjx.js → chunk-bd21p9zz.js} +2 -2
  112. package/bundle/chunk-be2z0tr4.js +2 -0
  113. package/bundle/{chunk-x0de4z05.js → chunk-bkqemdv8.js} +2 -2
  114. package/bundle/chunk-bq585t67.js +2 -0
  115. package/bundle/chunk-bts3gw8w.js +2 -0
  116. package/bundle/{chunk-qz20b42s.js → chunk-c0sr83np.js} +1 -1
  117. package/bundle/{chunk-zh7e6kqs.js → chunk-c4tdfar1.js} +1 -1
  118. package/bundle/chunk-c6ege2yp.js +2 -0
  119. package/bundle/{chunk-00ft63qn.js → chunk-chs4bkgh.js} +1 -1
  120. package/bundle/{chunk-8b9z8j3z.js → chunk-cm426ssg.js} +1 -1
  121. package/bundle/{chunk-crqycrs4.js → chunk-d4y5hyjg.js} +2 -2
  122. package/bundle/chunk-de0edzjs.js +2 -0
  123. package/bundle/{chunk-4hvenszg.js → chunk-der5kj1b.js} +1 -1
  124. package/bundle/{chunk-6d4xc6br.js → chunk-dhykktcp.js} +1 -1
  125. package/bundle/{chunk-8jkqyf9n.js → chunk-dm7hfb7f.js} +2 -2
  126. package/bundle/chunk-dntnvfdz.js +2 -0
  127. package/bundle/{chunk-q1dmxn63.js → chunk-dptvy1zn.js} +2 -2
  128. package/bundle/{chunk-2k2szpze.js → chunk-dqt8rrey.js} +1 -1
  129. package/bundle/{chunk-ky3fhz9z.js → chunk-dr003xka.js} +1 -1
  130. package/bundle/chunk-dtyzk0j7.js +2 -0
  131. package/bundle/{chunk-qrztx1b4.js → chunk-dwza14dk.js} +2 -2
  132. package/bundle/chunk-e3tmbywr.js +2 -0
  133. package/bundle/{chunk-ej0yzstw.js → chunk-e4nap6v9.js} +2 -2
  134. package/bundle/{chunk-5h1s0akp.js → chunk-e7x8v549.js} +1 -1
  135. package/bundle/{chunk-1e75j4m1.js → chunk-e826jvr2.js} +2 -2
  136. package/bundle/{chunk-9z7y4x7q.js → chunk-edm4c812.js} +1 -1
  137. package/bundle/{chunk-ws720v4j.js → chunk-eearwfay.js} +1 -1
  138. package/bundle/{chunk-gkf7x1yj.js → chunk-ekavngf7.js} +1 -1
  139. package/bundle/chunk-em637k9q.js +2 -0
  140. package/bundle/{chunk-8gkz5550.js → chunk-epncmz5t.js} +1 -1
  141. package/bundle/chunk-eytpz91c.js +8 -0
  142. package/bundle/chunk-f4qcwbx0.js +2 -0
  143. package/bundle/{chunk-a8askx4y.js → chunk-f6gd8809.js} +1 -1
  144. package/bundle/{chunk-e8s4mp5n.js → chunk-fcbmedh3.js} +2 -2
  145. package/bundle/{chunk-4ycg2c6f.js → chunk-fg5f3a8a.js} +2 -2
  146. package/bundle/chunk-fj7jcv7m.js +2 -0
  147. package/bundle/{chunk-47jkx37s.js → chunk-ft4msj4z.js} +3 -3
  148. package/bundle/chunk-fyntc5hj.js +2 -0
  149. package/bundle/chunk-fyt4yaq7.js +2 -0
  150. package/bundle/chunk-g4hcxhfs.js +2 -0
  151. package/bundle/{chunk-c5cyt23k.js → chunk-g7twcprm.js} +2 -2
  152. package/bundle/{chunk-9amnqaeq.js → chunk-g8844pb4.js} +1 -1
  153. package/bundle/{chunk-w136zswr.js → chunk-ganwjd6s.js} +3 -3
  154. package/bundle/chunk-gdew108b.js +2 -0
  155. package/bundle/chunk-gdy74wte.js +2 -0
  156. package/bundle/{chunk-7a4sb6q7.js → chunk-gse0cgqc.js} +1 -1
  157. package/bundle/{chunk-z0dj15g9.js → chunk-gsjgbm0d.js} +1 -1
  158. package/bundle/{chunk-a1mbach4.js → chunk-gt10s0ks.js} +1 -1
  159. package/bundle/{chunk-qpk7jp6t.js → chunk-gxpx2nd8.js} +1 -1
  160. package/bundle/{chunk-4p9fny77.js → chunk-gxq2fwnc.js} +1 -1
  161. package/bundle/chunk-gz90qgcn.js +2 -0
  162. package/bundle/chunk-gzz78dnm.js +2 -0
  163. package/bundle/{chunk-840mmmzz.js → chunk-h3yazfmh.js} +4 -4
  164. package/bundle/{chunk-d4faz5xa.js → chunk-h429rzqp.js} +1 -1
  165. package/bundle/{chunk-f0dp1tf9.js → chunk-h5y0pwwc.js} +1 -1
  166. package/bundle/{chunk-62gefpwn.js → chunk-h6b6acrv.js} +2 -2
  167. package/bundle/{chunk-19rs84t8.js → chunk-h8bq75er.js} +1 -1
  168. package/bundle/{chunk-99df6wvm.js → chunk-ha147mdc.js} +1 -1
  169. package/bundle/{chunk-xdcwx384.js → chunk-ha1w0xzh.js} +1 -1
  170. package/bundle/{chunk-5341jv20.js → chunk-ha294vpj.js} +1 -1
  171. package/bundle/chunk-hfrjkgyk.js +2 -0
  172. package/bundle/chunk-hjpt1n6g.js +2 -0
  173. package/bundle/{chunk-bzh71a92.js → chunk-hvdre0mb.js} +1 -1
  174. package/bundle/{chunk-86sfzgnf.js → chunk-hxf2a10r.js} +1 -1
  175. package/bundle/{chunk-4ppw719f.js → chunk-j09qf4zh.js} +1 -1
  176. package/bundle/chunk-j0jayfyn.js +35 -0
  177. package/bundle/{chunk-ffz334ab.js → chunk-j5b0yc0f.js} +1 -1
  178. package/bundle/{chunk-n6pn4f3r.js → chunk-j767byd1.js} +1 -1
  179. package/bundle/chunk-j794z99k.js +2 -0
  180. package/bundle/{chunk-y1v7mf1a.js → chunk-j95mkzwg.js} +123 -123
  181. package/bundle/{chunk-rn3je2hv.js → chunk-jcznttek.js} +1 -1
  182. package/bundle/{chunk-4v29ayke.js → chunk-jgw20mxx.js} +1 -1
  183. package/bundle/{chunk-175720ws.js → chunk-jhdpwndc.js} +2 -2
  184. package/bundle/{chunk-9gxyt2ay.js → chunk-jkqa49xc.js} +2 -2
  185. package/bundle/{chunk-sb3cgb4v.js → chunk-jmg64erz.js} +1 -1
  186. package/bundle/chunk-jpw7z507.js +2 -0
  187. package/bundle/{chunk-3cs1qf8x.js → chunk-jr622341.js} +1 -1
  188. package/bundle/{chunk-qpggztkq.js → chunk-jv69hdp0.js} +2 -2
  189. package/bundle/chunk-jx9c90ft.js +2 -0
  190. package/bundle/{chunk-fpzkyzny.js → chunk-kevhkmn2.js} +2 -2
  191. package/bundle/{chunk-bxnsrggq.js → chunk-khpjjjsb.js} +1 -1
  192. package/bundle/chunk-kkfrys0w.js +2 -0
  193. package/bundle/chunk-kkq2vwm6.js +2 -0
  194. package/bundle/{chunk-qqsj69m2.js → chunk-km1tyeyy.js} +1 -1
  195. package/bundle/chunk-kp0w1p79.js +2 -0
  196. package/bundle/chunk-kr7t73tg.js +3 -0
  197. package/bundle/chunk-kt7q9620.js +2 -0
  198. package/bundle/{chunk-8a9sj8gp.js → chunk-kzcb1pt4.js} +1 -1
  199. package/bundle/{chunk-jwv6fda1.js → chunk-m0f6cf9n.js} +2 -2
  200. package/bundle/chunk-m30bgt2t.js +2 -0
  201. package/bundle/chunk-m318f9es.js +2 -0
  202. package/bundle/{chunk-1mfdmm2t.js → chunk-m5r6zq6v.js} +1 -1
  203. package/bundle/chunk-m6g6za7b.js +2 -0
  204. package/bundle/chunk-m8djypsy.js +11 -0
  205. package/bundle/chunk-ma0vvbvy.js +2 -0
  206. package/bundle/chunk-mha4n5md.js +2 -0
  207. package/bundle/{chunk-s9epttpy.js → chunk-mhq2a5ms.js} +1 -1
  208. package/bundle/chunk-mp9qhnxg.js +2 -0
  209. package/bundle/{chunk-gd0j16gn.js → chunk-mqdvthkm.js} +1 -1
  210. package/bundle/{chunk-69k7cdtv.js → chunk-mqe1qa6t.js} +2 -2
  211. package/bundle/{chunk-j45p2v4a.js → chunk-mz6swd88.js} +3 -3
  212. package/bundle/{chunk-0m4gvjcv.js → chunk-n25t4j9w.js} +2 -2
  213. package/bundle/{chunk-hx13a8es.js → chunk-n7ewvphw.js} +3 -3
  214. package/bundle/chunk-n9wre9wx.js +2 -0
  215. package/bundle/chunk-ncbj74tk.js +3 -0
  216. package/bundle/{chunk-06tgmvh6.js → chunk-ne3z7yye.js} +2 -2
  217. package/bundle/chunk-nnyvn2pm.js +2 -0
  218. package/bundle/chunk-nyhx3822.js +2 -0
  219. package/bundle/{chunk-zjyaze0d.js → chunk-p54bzjtv.js} +1 -1
  220. package/bundle/{chunk-dvp0r93q.js → chunk-p5d5qyzq.js} +1 -1
  221. package/bundle/{chunk-m8kjtp60.js → chunk-p6mxxem5.js} +1 -1
  222. package/bundle/{chunk-fd04358e.js → chunk-p76c9s6g.js} +310 -309
  223. package/bundle/chunk-p8etcskm.js +2 -0
  224. package/bundle/{chunk-b350g18y.js → chunk-pf4gwr34.js} +2 -2
  225. package/bundle/{chunk-wf0n1cs9.js → chunk-pf61zhms.js} +1 -1
  226. package/bundle/{chunk-sh03ka27.js → chunk-pfx8ts02.js} +1 -1
  227. package/bundle/{chunk-e611m0p4.js → chunk-phvp9h7w.js} +1 -1
  228. package/bundle/chunk-pv71d7f3.js +2 -0
  229. package/bundle/{chunk-6wmtbebc.js → chunk-pwcmc8j7.js} +1 -1
  230. package/bundle/{chunk-g77kddrs.js → chunk-pyt4xpze.js} +2 -2
  231. package/bundle/{chunk-1bq15kf0.js → chunk-q0pd8bac.js} +2 -2
  232. package/bundle/{chunk-yg9n2a2d.js → chunk-q12dtxep.js} +1 -1
  233. package/bundle/{chunk-v1axkp21.js → chunk-q2j2dm96.js} +2 -2
  234. package/bundle/{chunk-rx9eh3db.js → chunk-qf1hh45g.js} +3 -3
  235. package/bundle/{chunk-p4xqfkbh.js → chunk-qqjspfqw.js} +1 -1
  236. package/bundle/{chunk-9kc2th5c.js → chunk-qvnsgyfk.js} +2 -2
  237. package/bundle/{chunk-rqap90xh.js → chunk-qz35c4xy.js} +2 -2
  238. package/bundle/{chunk-bemyyen3.js → chunk-r3z77rjn.js} +1 -1
  239. package/bundle/{chunk-chnr7pe5.js → chunk-r7mcn9ey.js} +1 -1
  240. package/bundle/{chunk-nzz7gzg2.js → chunk-rmpgmjtd.js} +1 -1
  241. package/bundle/{chunk-k0chq88p.js → chunk-rpt3rm31.js} +1 -1
  242. package/bundle/chunk-rteaec1s.js +2 -0
  243. package/bundle/chunk-rxwcah73.js +2 -0
  244. package/bundle/{chunk-s0gmxpxm.js → chunk-s1gy4hnw.js} +2 -2
  245. package/bundle/{chunk-4s1n38ds.js → chunk-s2ma1nz3.js} +2 -2
  246. package/bundle/chunk-s3gjc4m0.js +2 -0
  247. package/bundle/{chunk-6yshpz0z.js → chunk-s5taq9jy.js} +2 -2
  248. package/bundle/{chunk-5mf4qrye.js → chunk-s7017cak.js} +2 -2
  249. package/bundle/{chunk-6pt6nqwk.js → chunk-s9bn800b.js} +1 -1
  250. package/bundle/{chunk-73a7ts8r.js → chunk-sa3rjs2s.js} +1 -1
  251. package/bundle/{chunk-wfpnv00c.js → chunk-sprbs7aj.js} +2 -2
  252. package/bundle/{chunk-10q04xh5.js → chunk-sq2z7keb.js} +1 -1
  253. package/bundle/{chunk-w8nj5ph5.js → chunk-sqrx9csx.js} +1 -1
  254. package/bundle/{chunk-art8gejd.js → chunk-srf4jqcj.js} +1 -1
  255. package/bundle/{chunk-ffyj5nsg.js → chunk-ssp3nw24.js} +2 -2
  256. package/bundle/{chunk-6kch0q2d.js → chunk-svnhycdw.js} +2 -2
  257. package/bundle/chunk-swm990q6.js +2 -0
  258. package/bundle/chunk-sy42ayp2.js +2 -0
  259. package/bundle/{chunk-5rvvfgfy.js → chunk-t3kxce69.js} +2 -2
  260. package/bundle/chunk-t7mvej98.js +2 -0
  261. package/bundle/{chunk-6j53vtzd.js → chunk-t8pmy758.js} +1 -1
  262. package/bundle/{chunk-v7v0krrj.js → chunk-t9srpmte.js} +1 -1
  263. package/bundle/{chunk-358wdvj7.js → chunk-tatecas7.js} +2 -2
  264. package/bundle/chunk-teagh4hx.js +2 -0
  265. package/bundle/{chunk-avksqxan.js → chunk-tf40p520.js} +1 -1
  266. package/bundle/{chunk-y5ydtbpd.js → chunk-tpgksx59.js} +1 -1
  267. package/bundle/{chunk-02tmc2st.js → chunk-tr4cze2c.js} +1 -1
  268. package/bundle/chunk-tv4cp6f9.js +2 -0
  269. package/bundle/chunk-tw618904.js +2 -0
  270. package/bundle/{chunk-zpjtse0z.js → chunk-v1bqh3m6.js} +176 -176
  271. package/bundle/{chunk-j46bxb1b.js → chunk-v3bfzxxg.js} +1 -1
  272. package/bundle/{chunk-vr13f6b5.js → chunk-v5gf0wx6.js} +2 -2
  273. package/bundle/{chunk-d385e2qt.js → chunk-v6mnbwtz.js} +1 -1
  274. package/bundle/{chunk-bq6cvf16.js → chunk-v93gr6n9.js} +2 -2
  275. package/bundle/chunk-vdpffam0.js +2 -0
  276. package/bundle/chunk-ve5w7nkb.js +2 -0
  277. package/bundle/chunk-vey57h4x.js +30 -0
  278. package/bundle/{chunk-pwq2f75j.js → chunk-vf492zs6.js} +1 -1
  279. package/bundle/{chunk-fkq0v5qv.js → chunk-vg9ec44m.js} +2 -2
  280. package/bundle/{chunk-61b81z2h.js → chunk-vh3n53qq.js} +1 -1
  281. package/bundle/{chunk-bmdqb48f.js → chunk-vk8gxf4y.js} +1 -1
  282. package/bundle/{chunk-rd08wx37.js → chunk-vr222v2n.js} +2 -2
  283. package/bundle/chunk-vrpca62q.js +2 -0
  284. package/bundle/{chunk-x3dzzq0t.js → chunk-w5fx69cw.js} +1 -1
  285. package/bundle/{chunk-05bkxat0.js → chunk-w9w59zjv.js} +2 -2
  286. package/bundle/{chunk-xmf59618.js → chunk-wbz79hns.js} +1 -1
  287. package/bundle/{chunk-gfvq78gy.js → chunk-wdrfzx4m.js} +1 -1
  288. package/bundle/{chunk-j3agzs13.js → chunk-wf18y499.js} +2 -2
  289. package/bundle/chunk-wvvygzz2.js +2 -0
  290. package/bundle/{chunk-w4fr00s7.js → chunk-wyxc99aa.js} +2 -2
  291. package/bundle/{chunk-5q98z8ck.js → chunk-x2mbre12.js} +2 -2
  292. package/bundle/{chunk-2d61z24r.js → chunk-x8rr2f15.js} +1 -1
  293. package/bundle/{chunk-7s9msscb.js → chunk-xpmgqa5n.js} +1 -1
  294. package/bundle/{chunk-rws2tsdv.js → chunk-xrwsttb7.js} +1 -1
  295. package/bundle/{chunk-wmj3xndt.js → chunk-xz6psr05.js} +1 -1
  296. package/bundle/{chunk-4xqwt6dr.js → chunk-xzshjp04.js} +2 -2
  297. package/bundle/chunk-y27gwnx9.js +2 -0
  298. package/bundle/chunk-y2ms7q84.js +2 -0
  299. package/bundle/{chunk-1pft3sar.js → chunk-y8bjb32m.js} +1 -1
  300. package/bundle/{chunk-h036zy9e.js → chunk-ya7wrt5f.js} +2 -2
  301. package/bundle/{chunk-ahgb3r1c.js → chunk-ycjz7y1x.js} +2 -2
  302. package/bundle/{chunk-10kj86va.js → chunk-ykqx1z0b.js} +1 -1
  303. package/bundle/chunk-yq4vck53.js +2 -0
  304. package/bundle/{chunk-j2snkw45.js → chunk-yxsc90ba.js} +2 -2
  305. package/bundle/{chunk-5cwy8y78.js → chunk-yy5qqab3.js} +2 -2
  306. package/bundle/{chunk-86reb44c.js → chunk-z38am71w.js} +1 -1
  307. package/bundle/{chunk-pwrwb7mn.js → chunk-z6mqdbj1.js} +1 -1
  308. package/bundle/{chunk-nyxn7npc.js → chunk-z87ew6d3.js} +1 -1
  309. package/bundle/{chunk-m6967jtv.js → chunk-z9k4506p.js} +2 -2
  310. package/bundle/{chunk-hf39qx6t.js → chunk-zezz8xfw.js} +2 -2
  311. package/bundle/{chunk-ffx0cr44.js → chunk-zg72kz2k.js} +2 -2
  312. package/bundle/chunk-zkxc41ek.js +2 -0
  313. package/bundle/{chunk-tz1bzrnh.js → chunk-zssy3srh.js} +1 -1
  314. package/bundle/{chunk-ae1g5y4r.js → chunk-zyz4na64.js} +1 -1
  315. package/bundle/{chunk-e18hshcg.js → chunk-zzsetq5f.js} +1 -1
  316. package/bundle/index.js +3 -3
  317. package/bundle/parser.worker.js +2 -2
  318. package/bundle/worker.js +1 -1
  319. package/package.json +1 -1
  320. package/bundle/chunk-00r3he5x.js +0 -2
  321. package/bundle/chunk-0ks20gz1.js +0 -2
  322. package/bundle/chunk-1a08ffyd.js +0 -2
  323. package/bundle/chunk-1r7anzk5.js +0 -2
  324. package/bundle/chunk-26e51217.js +0 -2
  325. package/bundle/chunk-2g4kxtz0.js +0 -2
  326. package/bundle/chunk-2jzay8a9.js +0 -2
  327. package/bundle/chunk-2q78bdtj.js +0 -2
  328. package/bundle/chunk-30rghawe.js +0 -2
  329. package/bundle/chunk-31a47ptm.js +0 -10
  330. package/bundle/chunk-33mzqyyb.js +0 -3
  331. package/bundle/chunk-34yk99ep.js +0 -2
  332. package/bundle/chunk-3dajnr1w.js +0 -2
  333. package/bundle/chunk-3ege6krg.js +0 -2
  334. package/bundle/chunk-43vpxggb.js +0 -2
  335. package/bundle/chunk-49y7zg15.js +0 -2
  336. package/bundle/chunk-5qhsfjzq.js +0 -3
  337. package/bundle/chunk-5xxn06g0.js +0 -2
  338. package/bundle/chunk-7cp30q0t.js +0 -2
  339. package/bundle/chunk-7xc73qb1.js +0 -2
  340. package/bundle/chunk-8gz8fk6r.js +0 -2
  341. package/bundle/chunk-8ht7cq3h.js +0 -2
  342. package/bundle/chunk-8qv0119d.js +0 -2
  343. package/bundle/chunk-9m0eawt5.js +0 -2
  344. package/bundle/chunk-9thgxbze.js +0 -2
  345. package/bundle/chunk-a32y70fe.js +0 -2
  346. package/bundle/chunk-avzaqy6a.js +0 -2
  347. package/bundle/chunk-az12tp53.js +0 -2
  348. package/bundle/chunk-b5dpzcc7.js +0 -2
  349. package/bundle/chunk-bcgtqx3g.js +0 -2
  350. package/bundle/chunk-bde5d507.js +0 -2
  351. package/bundle/chunk-bzzggc3s.js +0 -2
  352. package/bundle/chunk-c8qx439t.js +0 -2
  353. package/bundle/chunk-ckw51fn6.js +0 -2
  354. package/bundle/chunk-denp0wrq.js +0 -2
  355. package/bundle/chunk-depxzjer.js +0 -2
  356. package/bundle/chunk-dhvqpcf3.js +0 -2
  357. package/bundle/chunk-dkqqswbv.js +0 -2
  358. package/bundle/chunk-dn0437c1.js +0 -5
  359. package/bundle/chunk-e5t7jsxa.js +0 -2
  360. package/bundle/chunk-eb811dt2.js +0 -2
  361. package/bundle/chunk-fbz2xv2w.js +0 -2
  362. package/bundle/chunk-gbvcb4k1.js +0 -2
  363. package/bundle/chunk-gdtnqzbp.js +0 -2
  364. package/bundle/chunk-gkfvhh28.js +0 -2
  365. package/bundle/chunk-gnh8c49b.js +0 -2
  366. package/bundle/chunk-gvf6ek9f.js +0 -2
  367. package/bundle/chunk-gvx5hmhk.js +0 -2
  368. package/bundle/chunk-hham7r33.js +0 -2
  369. package/bundle/chunk-hsjbe5zy.js +0 -2
  370. package/bundle/chunk-j1bv93m4.js +0 -31
  371. package/bundle/chunk-jvvctqjd.js +0 -8
  372. package/bundle/chunk-jvx7jtm4.js +0 -3
  373. package/bundle/chunk-k6gdmqff.js +0 -2
  374. package/bundle/chunk-kzkb4648.js +0 -2
  375. package/bundle/chunk-m2540waa.js +0 -2
  376. package/bundle/chunk-mscvm1rm.js +0 -2
  377. package/bundle/chunk-mw3hh526.js +0 -2
  378. package/bundle/chunk-n3nsrk5n.js +0 -2
  379. package/bundle/chunk-n9nmc4q4.js +0 -2
  380. package/bundle/chunk-nj4as8vy.js +0 -2
  381. package/bundle/chunk-nrzca9yd.js +0 -2
  382. package/bundle/chunk-nxm6gpyv.js +0 -2
  383. package/bundle/chunk-pp10epga.js +0 -8
  384. package/bundle/chunk-qbjqkezn.js +0 -2
  385. package/bundle/chunk-qhtp1xvx.js +0 -2
  386. package/bundle/chunk-qkztgpay.js +0 -2
  387. package/bundle/chunk-rnf3dy0y.js +0 -2
  388. package/bundle/chunk-rry4kq85.js +0 -2
  389. package/bundle/chunk-ryfj80q6.js +0 -2
  390. package/bundle/chunk-snx49w8h.js +0 -2
  391. package/bundle/chunk-t21mdqbb.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-vnstr4g1.js +0 -2
  399. package/bundle/chunk-vxr4rzt0.js +0 -2
  400. package/bundle/chunk-w0h9rczg.js +0 -2
  401. package/bundle/chunk-w214dwws.js +0 -2
  402. package/bundle/chunk-w8344et5.js +0 -2
  403. package/bundle/chunk-weyg78et.js +0 -2
  404. package/bundle/chunk-xchj8gna.js +0 -2
  405. package/bundle/chunk-y18ptwk2.js +0 -2
  406. package/bundle/chunk-y3dpyz2d.js +0 -2
  407. package/bundle/chunk-ykvgmje9.js +0 -35
  408. package/bundle/chunk-yvjecrjy.js +0 -2
  409. package/bundle/chunk-yw2x6by6.js +0 -2
  410. package/bundle/chunk-z0r4syk8.js +0 -2
  411. package/bundle/chunk-z7c00g63.js +0 -2
  412. package/bundle/chunk-znr0saas.js +0 -2
  413. package/bundle/chunk-zqqt7v17.js +0 -2
  414. package/bundle/chunk-zwrgh1hc.js +0 -2
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  var f={"language.en":"English","language.zh":"\u7B80\u4F53\u4E2D\u6587","language.zht":"\u7E41\u9AD4\u4E2D\u6587","language.ko":"\uD55C\uAD6D\uC5B4","language.de":"Deutsch","language.es":"Espa\xF1ol","language.fr":"Fran\xE7ais","language.da":"Dansk","language.ja":"\u65E5\u672C\u8A9E","language.pl":"Polski","language.ru":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439","language.ar":"\u0627\u0644\u0639\u0631\u0628\u064A\u0629","language.no":"Norsk","language.br":"Portugu\xEAs (Brasil)","language.pt":"Portugu\xEAs","language.bs":"Bosanski","language.th":"\u0E44\u0E17\u0E22","language.tr":"T\xFCrk\xE7e","tui.prompt.placeholder.normal":'Posez votre question... "{{example}}"',"tui.prompt.placeholder.shell":'Ex\xE9cuter une commande... "{{example}}"',"tui.prompt.ghost":"{{prediction}} (Tab pour accepter)","tui.home.placeholder.example.todo":"Corriger un TODO dans le code","tui.home.placeholder.example.stack":"Quelle est la stack technique de ce projet ?","tui.home.placeholder.example.tests":"R\xE9parer les tests cass\xE9s","tui.home.agreement.prefix":"En utilisant QitQode, vous acceptez nos ","tui.home.agreement.terms":"Conditions d'utilisation","tui.home.agreement.separator":" et notre ","tui.home.agreement.privacy":"Politique de confidentialit\xE9","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"joindre un fichier","tui.prompt.hint.subagent":"sous-agent","tui.prompt.hint.commands":"commandes","tui.prompt.hint.switch_mode":"changer de mode","tui.prompt.hint.settings":"param\xE8tres","tui.tips.label":"Astuce","tui.tips.plain_terminal":"Nous recommandons iTerm ou le terminal VS Code","tui.tips.attach_file":"Tapez {highlight}@{/highlight} suivi d'un nom de fichier pour rechercher et joindre des fichiers","tui.tips.shell_prefix":"Commencez un message par {highlight}!{/highlight} pour ex\xE9cuter directement des commandes shell (ex. {highlight}!ls -la{/highlight})","tui.tips.tab_agent":"Appuyez sur {highlight}Tab{/highlight} ou {highlight}Shift+Tab{/highlight} pour basculer entre les agents Build, Plan et Compose","tui.tips.theme_mode":"Ex\xE9cutez {highlight}/dark{/highlight} pour le mode sombre ou {highlight}/light{/highlight} pour le mode clair","tui.tips.doc":"Ex\xE9cutez {highlight}/doc{/highlight} pour ouvrir la documentation utilisateur","tui.tips.undo":"Utilisez {highlight}/undo{/highlight} pour annuler le dernier message et ses modifications","tui.tips.redo":"Utilisez {highlight}/redo{/highlight} pour r\xE9tablir des messages et modifications pr\xE9c\xE9demment annul\xE9s","tui.tips.drag_drop":"Glissez-d\xE9posez des images ou PDF dans le terminal pour les ajouter au contexte","tui.tips.paste_image":"Appuyez sur {highlight}Ctrl+V{/highlight} pour coller des images du presse-papiers dans l'invite","tui.tips.editor":"Appuyez sur {highlight}Ctrl+X E{/highlight} ou {highlight}/editor{/highlight} pour r\xE9diger des messages dans votre \xE9diteur externe","tui.tips.init":"Ex\xE9cutez {highlight}/init{/highlight} pour g\xE9n\xE9rer automatiquement les r\xE8gles du projet \xE0 partir de votre code","tui.tips.models":"Ex\xE9cutez {highlight}/models{/highlight} ou {highlight}Ctrl+X M{/highlight} pour changer de mod\xE8le","tui.tips.theme":`Verrouillez le mode du th\xE8me face \xE0 l'arri\xE8re-plan du terminal \u2014 ouvrez la palette de commandes ({highlight}Ctrl+P{/highlight}) et cherchez "lock"`,"tui.tips.new_session":"Appuyez sur {highlight}Ctrl+X N{/highlight} ou {highlight}/new{/highlight} pour d\xE9marrer une nouvelle session","tui.tips.sessions":"Utilisez {highlight}/sessions{/highlight} ou {highlight}Ctrl+X L{/highlight} pour lister et reprendre des conversations","tui.tips.compact":"Ex\xE9cutez {highlight}/compact{/highlight} pour r\xE9sumer les longues sessions \xE0 l'approche de la limite de contexte","tui.tips.export":"Appuyez sur {highlight}Ctrl+X X{/highlight} ou {highlight}/export{/highlight} pour enregistrer la conversation en Markdown","tui.tips.copy_last":"Appuyez sur {highlight}Ctrl+X Y{/highlight} pour copier le dernier message de l'assistant","tui.tips.command_palette":"Appuyez sur {highlight}Ctrl+P{/highlight} pour voir toutes les actions et commandes disponibles","tui.tips.leader":"La touche leader est {highlight}Ctrl+X{/highlight} ; combinez-la avec d'autres pour des actions rapides","tui.tips.f2":"Appuyez sur {highlight}F2{/highlight} pour basculer rapidement entre les mod\xE8les r\xE9cents","tui.tips.sidebar":"Appuyez sur {highlight}Ctrl+X B{/highlight} pour afficher/masquer la barre lat\xE9rale","tui.tips.history":"Utilisez {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} pour parcourir l'historique de la conversation","tui.tips.jump_first":"Appuyez sur {highlight}Ctrl+G{/highlight} ou {highlight}Home{/highlight} pour aller au d\xE9but de la conversation","tui.tips.jump_last":"Appuyez sur {highlight}Ctrl+Alt+G{/highlight} ou {highlight}End{/highlight} pour aller au message le plus r\xE9cent","tui.tips.newline":"Appuyez sur {highlight}Shift+Enter{/highlight} ou {highlight}Ctrl+J{/highlight} pour ins\xE9rer un saut de ligne dans l'invite","tui.tips.clear_input":"Appuyez sur {highlight}Ctrl+C{/highlight} pendant la saisie pour vider le champ","tui.tips.escape":"Appuyez sur {highlight}Escape{/highlight} pour interrompre l'IA en cours de r\xE9ponse","tui.tips.plan_agent":"Passez \xE0 l'agent {highlight}Plan{/highlight} pour obtenir des suggestions sans appliquer de modifications","tui.tips.subagent":"Utilisez {highlight}@agent-name{/highlight} dans les invites pour invoquer des sous-agents sp\xE9cialis\xE9s","tui.tips.cycle_sessions":"Appuyez sur {highlight}Ctrl+X Right/Left{/highlight} pour parcourir les sessions parent et enfant","tui.tips.config_files":"Cr\xE9ez {highlight}qitqode.json{/highlight} pour la configuration serveur et {highlight}tui.json{/highlight} pour le TUI","tui.tips.global_config":"Placez les param\xE8tres TUI dans {highlight}~/.config/qitqode/tui.json{/highlight} comme configuration globale","tui.tips.schema":"Ajoutez {highlight}$schema{/highlight} \xE0 votre config pour l'auto-compl\xE9tion dans l'\xE9diteur","tui.tips.default_model":"Configurez {highlight}model{/highlight} dans la config pour d\xE9finir le mod\xE8le par d\xE9faut","tui.tips.keybinds":"Remplacez n'importe quel raccourci dans {highlight}tui.json{/highlight} via la section {highlight}keybinds{/highlight}","tui.tips.disable_keybind":"D\xE9finissez un raccourci sur {highlight}none{/highlight} pour le d\xE9sactiver compl\xE8tement","tui.tips.mcp_config":"Configurez les serveurs MCP locaux ou distants dans la section {highlight}mcp{/highlight}","tui.tips.mcp_oauth":"QitQode g\xE8re automatiquement OAuth pour les serveurs MCP distants n\xE9cessitant une authentification","tui.tips.custom_command":"Ajoutez des fichiers {highlight}.md{/highlight} dans {highlight}.qitqode/command/{/highlight} pour d\xE9finir des invites personnalis\xE9es r\xE9utilisables","tui.tips.command_args":"Utilisez {highlight}$ARGUMENTS{/highlight}, {highlight}$1{/highlight}, {highlight}$2{/highlight} dans les commandes pour des entr\xE9es dynamiques","tui.tips.command_backticks":"Utilisez des backticks dans les commandes pour injecter la sortie shell (ex. {highlight}`git status`{/highlight})","tui.tips.custom_agent":"Ajoutez des fichiers {highlight}.md{/highlight} dans {highlight}.qitqode/agent/{/highlight} pour des personas IA sp\xE9cialis\xE9s","tui.tips.agent_perms":"Configurez par agent les permissions des outils {highlight}edit{/highlight}, {highlight}bash{/highlight} et {highlight}webfetch{/highlight}","tui.tips.bash_allow":'Utilisez des motifs comme {highlight}"git *": "allow"{/highlight} pour des permissions bash fines',"tui.tips.bash_deny":'D\xE9finissez {highlight}"rm -rf *": "deny"{/highlight} pour bloquer les commandes destructrices',"tui.tips.bash_ask":'Configurez {highlight}"git push": "ask"{/highlight} pour exiger une confirmation avant le push',"tui.tips.formatter":"QitQode formate automatiquement les fichiers avec prettier, gofmt, ruff, etc.","tui.tips.disable_formatter":'D\xE9finissez {highlight}"formatter": false{/highlight} dans la config pour d\xE9sactiver le formatage automatique',"tui.tips.custom_formatter":"D\xE9finissez des commandes de formatage personnalis\xE9es par extension de fichier dans la config","tui.tips.lsp":"QitQode utilise des serveurs LSP pour une analyse de code intelligente","tui.tips.custom_tool":"Cr\xE9ez des fichiers {highlight}.ts{/highlight} dans {highlight}.qitqode/tools/{/highlight} pour d\xE9finir de nouveaux outils LLM","tui.tips.tool_scripts":"Les d\xE9finitions d'outils peuvent invoquer des scripts en Python, Go, etc.","tui.tips.plugins":"Ajoutez des fichiers {highlight}.ts{/highlight} dans {highlight}.qitqode/plugin/{/highlight} pour des hooks d'\xE9v\xE9nements","tui.tips.plugin_notify":"Utilisez des plugins pour envoyer des notifications syst\xE8me \xE0 la fin des sessions","tui.tips.plugin_protect":"Cr\xE9ez un plugin pour emp\xEAcher QitQode de lire des fichiers sensibles","tui.tips.run":"Utilisez {highlight}qitqode run{/highlight} pour des scripts non interactifs","tui.tips.continue":"Utilisez {highlight}qitqode --continue{/highlight} pour reprendre la derni\xE8re session","tui.tips.attach_cli":"Utilisez {highlight}qitqode run -f file.ts{/highlight} pour joindre des fichiers via la CLI","tui.tips.format_json":"Utilisez {highlight}--format json{/highlight} pour une sortie lisible par machine dans les scripts","tui.tips.auth_list":"Ex\xE9cutez {highlight}qitqode auth status{/highlight} pour voir votre \xE9tat de connexion actuel","tui.tips.agent_create":"Ex\xE9cutez {highlight}qitqode agent create{/highlight} pour cr\xE9er un agent en mode guid\xE9","tui.tips.theme_system":'Utilisez {highlight}"theme": "system"{/highlight} pour suivre les couleurs du terminal',"tui.tips.theme_files":"Cr\xE9ez des fichiers de th\xE8me JSON dans le dossier {highlight}.qitqode/themes/{/highlight}","tui.tips.theme_variants":"Les th\xE8mes prennent en charge des variantes claires/sombres pour les deux modes","tui.tips.theme_ansi":"R\xE9f\xE9rencez les couleurs ANSI 0-255 dans des th\xE8mes personnalis\xE9s","tui.tips.env_var":"Utilisez la syntaxe {highlight}{env:VAR_NAME}{/highlight} pour r\xE9f\xE9rencer des variables d'environnement","tui.tips.file_var":"Utilisez {highlight}{file:path}{/highlight} pour inclure le contenu d'un fichier dans la config","tui.tips.instructions":"Utilisez {highlight}instructions{/highlight} dans la config pour charger des fichiers de r\xE8gles suppl\xE9mentaires","tui.tips.temperature":"R\xE9glez la {highlight}temperature{/highlight} de l'agent de 0.0 (focalis\xE9) \xE0 1.0 (cr\xE9atif)","tui.tips.steps":"Configurez {highlight}steps{/highlight} pour limiter les it\xE9rations agentiques par requ\xEAte","tui.tips.disable_tool":'D\xE9finissez {highlight}"tools": {"bash": false}{/highlight} pour d\xE9sactiver des outils sp\xE9cifiques',"tui.tips.disable_mcp_tools":`D\xE9finissez {highlight}"mcp_*": false{/highlight} pour d\xE9sactiver tous les outils d'un serveur MCP`,"tui.tips.tool_override":"Remplacez les param\xE8tres globaux des outils dans la configuration de chaque agent","tui.tips.doom_loop":"La permission {highlight}doom_loop{/highlight} pr\xE9vient les boucles infinies d'appels d'outils","tui.tips.external_dir":"La permission {highlight}external_directory{/highlight} prot\xE8ge les fichiers en dehors du projet","tui.tips.debug_config":"Ex\xE9cutez {highlight}qitqode debug config{/highlight} pour diagnostiquer la configuration","tui.tips.print_logs":"Utilisez l'option {highlight}--print-logs{/highlight} pour afficher des journaux d\xE9taill\xE9s sur stderr","tui.tips.timeline":"Appuyez sur {highlight}Ctrl+X G{/highlight} ou {highlight}/timeline{/highlight} pour aller \xE0 un message pr\xE9cis","tui.tips.toggle_code":"Appuyez sur {highlight}Ctrl+X H{/highlight} pour afficher/masquer les blocs de code des messages","tui.tips.status":"Appuyez sur {highlight}Ctrl+X S{/highlight} ou {highlight}/status{/highlight} pour voir l'\xE9tat du syst\xE8me","tui.tips.scroll_accel":"Activez {highlight}scroll_acceleration{/highlight} dans {highlight}tui.json{/highlight} pour un d\xE9filement fluide","tui.tips.agents_md":"Versionnez le fichier {highlight}AGENTS.md{/highlight} de votre projet sur Git pour le partager avec l'\xE9quipe","tui.tips.review":"Utilisez {highlight}/review{/highlight} pour r\xE9viser les modifications non commit, branches ou PR","tui.tips.help":"Ex\xE9cutez {highlight}/help{/highlight} ou {highlight}Ctrl+X H{/highlight} pour ouvrir l'aide","tui.tips.rename":"Utilisez {highlight}/rename{/highlight} pour renommer la session courante","tui.tips.suspend.unix":"Appuyez sur {highlight}Ctrl+Z{/highlight} pour suspendre le terminal et revenir au shell","tui.tips.suspend.win":"Appuyez sur {highlight}Ctrl+Z{/highlight} pour annuler les modifications dans l'invite","tui.command.palette.title":"Commandes","tui.command.palette.suggested":"Sugg\xE9r\xE9es","tui.command.category.session":"Session","tui.command.category.agent":"Agent","tui.command.category.provider":"Fournisseur","tui.command.category.system":"Syst\xE8me","tui.command.category.prompt":"Invite","tui.command.category.internal":"Interne","tui.command.category.external":"Externe","tui.slash.init.description":"configuration guid\xE9e de AGENTS.md","tui.slash.review.description":"revoir les changements [commit|branch|pr], par d\xE9faut non commit\xE9s","tui.slash.dream.description":"consolider manuellement la m\xE9moire du projet \xE0 partir des fichiers memory et de la trajectoire brute","tui.slash.distill.description":"trouver les workflows r\xE9p\xE9t\xE9s dans le travail r\xE9cent et les empaqueter en skills, sous-agents ou commandes","tui.slash.goal.description":"d\xE9finir un objectif avec condition d'arr\xEAt ; s'ex\xE9cute jusqu'\xE0 ce qu'un juge confirme. /goal clear pour annuler","tui.slash.deep-research.description":"rapport de recherche approfondi multi-sources et v\xE9rifi\xE9 (ex\xE9cute le workflow deep-research)","tui.command.language.switch.title":"Changer de langue","tui.command.language.switch.description":"Modifier la langue d'affichage","tui.command.language.dialog.title":"Changer de langue","tui.language.auto":"Auto (syst\xE8me)","tui.language.current":"Actuelle","tui.command.session.list.title":"Changer de session","tui.command.session.new.title":"Nouvelle session","tui.command.workflow.list.title":"Workflows","tui.command.model.list.title":"Changer de mod\xE8le","tui.command.model.cycle_recent.title":"Mod\xE8les r\xE9cents","tui.command.model.cycle_recent_reverse.title":"Mod\xE8les r\xE9cents (inverse)","tui.command.model.cycle_favorite.title":"Favoris","tui.command.model.cycle_favorite_reverse.title":"Favoris (inverse)","tui.command.agent.list.title":"Changer d'agent","tui.command.mcp.list.title":"Activer/d\xE9sactiver MCP","tui.command.never_ask.title_on":"Sans questions : ACTIV\xC9 (auto-d\xE9cider, autorisations exclues) \u2014 cliquer pour d\xE9sactiver","tui.command.never_ask.title_off":"Sans questions : D\xC9SACTIV\xC9 \u2014 cliquer pour activer (auto-d\xE9cider, autorisations exclues)","tui.command.never_ask.toast_on":"Sans questions ACTIV\xC9 \u2014 je ne te demanderai rien ; je choisirai moi-m\xEAme la meilleure option jusqu'\xE0 ce que tu le d\xE9sactives (/never-ask). Les demandes d'autorisation n\xE9cessitent toujours ton approbation.","tui.command.never_ask.toast_off":"Sans questions D\xC9SACTIV\xC9 \u2014 je te redemanderai aux points de d\xE9cision.","tui.command.never_ask.title_on_fullauto":"Sans questions : ACTIV\xC9 (auto-d\xE9cider ; le mode full-auto approuve aussi les autorisations) \u2014 cliquer pour d\xE9sactiver","tui.command.never_ask.title_off_fullauto":"Sans questions : D\xC9SACTIV\xC9 \u2014 cliquer pour activer (auto-d\xE9cider ; le mode full-auto approuve toujours les autorisations)","tui.command.never_ask.toast_on_fullauto":"Sans questions ACTIV\xC9 \u2014 je ne te demanderai rien ; je choisirai moi-m\xEAme la meilleure option jusqu'\xE0 ce que tu le d\xE9sactives (/never-ask). Le mode full-auto est actif : les autorisations d'outils sont \xE9galement approuv\xE9es automatiquement.","tui.command.agent.cycle.title":"Cycle d'agents","tui.command.variant.cycle.title":"Cycle de variantes","tui.command.variant.list.title":"Changer de variante de mod\xE8le","tui.command.agent.cycle.reverse.title":"Cycle d'agents (inverse)","tui.command.provider.login.title":"Connexion","tui.command.provider.logout.title":"D\xE9connexion","tui.command.console.org.switch.title":"Changer d'organisation","tui.command.qitqode.status.title":"Voir l'\xE9tat","tui.command.theme.switch.title":"Changer de th\xE8me","tui.command.theme.switch_mode.to_light":"Passer au mode clair","tui.command.theme.switch_mode.to_dark":"Passer au mode sombre","tui.command.theme.mode.unlock":"D\xE9verrouiller le mode du th\xE8me","tui.command.theme.mode.lock":"Verrouiller le mode du th\xE8me","tui.command.help.show.title":"Aide","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"Accessibilit\xE9 : activez ou d\xE9sactivez les animations et le son depuis la liste de commandes. Variables d'environnement : NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND.","tui.dialog.help.announcements":"Annonces : en mode accessible, choisissez le niveau de d\xE9tail des annonces du lecteur d'\xE9cran (silencieux, normal, d\xE9taill\xE9) depuis la liste de commandes ou avec QITQODE_TUI_ANNOUNCEMENTS. Les erreurs sont toujours annonc\xE9es.","tui.dialog.help.dialog_keys":"Bo\xEEtes de dialogue : toutes fonctionnent uniquement au clavier \u2014 \xC9chap ferme, Tab ou les fl\xE8ches d\xE9placent le focus, Entr\xE9e ou Espace active le contr\xF4le cibl\xE9.","tui.command.app.announcements.cycle":"Annonces : {{level}} (s\xE9lectionner pour changer)","tui.announcements.level.quiet":"silencieux","tui.announcements.level.normal":"normal","tui.announcements.level.verbose":"d\xE9taill\xE9","tui.app.terminal_too_small":"Terminal trop petit ({{width}}x{{height}}). Redimensionnez-le \xE0 au moins 40x8.","tui.dialog.help.command_list":"Appuyez sur {{keybind}} pour voir toutes les actions et commandes disponibles dans n'importe quel contexte.","tui.dialog.help.ok":"OK","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 d\xE9filer \xB7 PgPr\xE9c/PgSuiv page \xB7 esc fermer","tui.dialog.ok":"OK","tui.dialog.confirm.cancel":"Annuler","tui.dialog.confirm.confirm":"Confirmer","tui.dialog.agreement.title":"Conditions et confidentialit\xE9","tui.dialog.agreement.message":"Veuillez les lire et les accepter pour continuer.","tui.dialog.agreement.confirm":"Accepter et continuer","tui.command.docs.terms.title":"Voir les conditions d'utilisation","tui.command.docs.privacy.title":"Voir la politique de confidentialit\xE9","tui.command.consent.revoke.title":"R\xE9voquer l'accord du mod\xE8le gratuit","tui.consent.revoked":"Accord du mod\xE8le gratuit r\xE9voqu\xE9 \u2014 vous devrez l'accepter \xE0 nouveau","tui.dialog.select.placeholder":"Rechercher","tui.dialog.select.no_results":"Aucun r\xE9sultat trouv\xE9","tui.dialog.prompt.placeholder":"Saisir du texte","tui.dialog.prompt.busy":"Traitement...","tui.dialog.prompt.processing":"traitement...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"envoyer","tui.dialog.export.title":"Options d'export","tui.dialog.export.filename":"Nom du fichier :","tui.dialog.export.filename_placeholder":"Saisir le nom du fichier","tui.dialog.export.include_thinking":"Inclure la r\xE9flexion","tui.dialog.export.include_tool_details":"Inclure les d\xE9tails des outils","tui.dialog.export.include_assistant_metadata":"Inclure les m\xE9tadonn\xE9es de l'assistant","tui.dialog.export.open_without_saving":"Ouvrir sans enregistrer","tui.dialog.export.hint.toggle_prefix":"Appuyez sur","tui.dialog.export.hint.toggle_action":"pour basculer","tui.dialog.export.hint.confirm_action":"pour confirmer","tui.dialog.export.hint.options_action":"pour les options","tui.toast.copied_to_clipboard":"Copi\xE9 dans le presse-papiers","tui.toast.instructions_loaded":"Charg\xE9 {{files}}","tui.toast.update_available.title":"Mise \xE0 jour disponible","tui.toast.update_available.confirm":"La nouvelle version v{{version}} est disponible. Voulez-vous mettre \xE0 jour maintenant ?","tui.toast.update_available.updating":"Mise \xE0 jour vers v{{version}}...","tui.toast.update_available.failed":"La mise \xE0 jour a \xE9chou\xE9","tui.toast.update_available.success":"Mis \xE0 jour vers QitQode v{{version}}. Veuillez red\xE9marrer l'application.","tui.toast.updated.title":"Mis \xE0 jour automatiquement","tui.toast.updated.message":"Correctif appliqu\xE9 automatiquement : v{{version}}. Red\xE9marrez pour utiliser la nouvelle version. D\xE9sactivez avec autoupdate: false dans la configuration.","tui.sidebar.instructions":"Instructions","tui.sidebar.cwd":"R\xE9pertoire de travail","tui.toast.unknown_error":"Une erreur inconnue s'est produite","tui.command.docs.open.title":"Ouvrir la documentation","tui.command.app.exit.title":"Quitter l'application","tui.command.app.debug.title":"Basculer le panneau de d\xE9bogage","tui.command.app.console.title":"Basculer la console","tui.command.app.heap_snapshot.title":"Exporter le snapshot du tas","tui.command.terminal.suspend.title":"Suspendre le terminal","tui.command.terminal.title.disable":"D\xE9sactiver le titre du terminal","tui.command.terminal.title.enable":"Activer le titre du terminal","tui.command.app.toggle.animations.disable":"D\xE9sactiver les animations","tui.command.app.toggle.animations.enable":"Activer les animations","tui.command.app.toggle.diffwrap.disable":"D\xE9sactiver le retour \xE0 la ligne des diffs","tui.command.app.toggle.diffwrap.enable":"Activer le retour \xE0 la ligne des diffs","tui.command.app.toggle.sound.disable":"D\xE9sactiver le son","tui.command.app.toggle.sound.enable":"Activer le son","tui.command.logout.toast":"D\xE9connect\xE9","tui.command.session.share.title":"Partager la session","tui.command.session.share.copy_link":"Copier le lien de partage","tui.command.session.rename.title":"Renommer la session","tui.command.session.timeline.title":"Aller \xE0 un message","tui.command.session.fork.title":"Dupliquer la session","tui.command.session.compact.title":"Compacter la session","tui.command.session.unshare.title":"Annuler le partage","tui.command.session.undo.title":"Annuler le message pr\xE9c\xE9dent","tui.command.session.redo.title":"R\xE9tablir","tui.command.session.sidebar.show":"Afficher la barre lat\xE9rale","tui.command.session.sidebar.hide":"Masquer la barre lat\xE9rale","tui.command.session.conceal.disable":"D\xE9sactiver le masquage du code","tui.command.session.conceal.enable":"Activer le masquage du code","tui.command.session.timestamps.show":"Afficher les horodatages","tui.command.session.timestamps.hide":"Masquer les horodatages","tui.command.session.thinking.expand":"D\xE9velopper la r\xE9flexion","tui.command.session.thinking.collapse":"R\xE9duire la r\xE9flexion","tui.command.session.tool_details.show":"Afficher les d\xE9tails des outils","tui.command.session.tool_details.hide":"Masquer les d\xE9tails des outils","tui.command.session.scrollbar.toggle":"Basculer la barre de d\xE9filement","tui.command.session.generic_tool_output.show":"Afficher la sortie d'outil g\xE9n\xE9rique","tui.command.session.generic_tool_output.hide":"Masquer la sortie d'outil g\xE9n\xE9rique","tui.command.session.page_up.title":"Page pr\xE9c\xE9dente","tui.command.session.page_down.title":"Page suivante","tui.command.session.line_up.title":"Ligne au-dessus","tui.command.session.line_down.title":"Ligne en dessous","tui.command.session.half_page_up.title":"Demi-page vers le haut","tui.command.session.half_page_down.title":"Demi-page vers le bas","tui.command.session.first.title":"Premier message","tui.command.session.last.title":"Dernier message","tui.command.session.last_user.title":"Aller au dernier message utilisateur","tui.command.session.message_next.title":"Message suivant","tui.command.session.message_previous.title":"Message pr\xE9c\xE9dent","tui.command.messages.copy.title":"Copier le dernier message de l'assistant","tui.command.session.copy.title":"Copier la transcription","tui.command.session.export.title":"Exporter la transcription","tui.command.session.child_first.title":"Aller \xE0 la session enfant","tui.command.session.parent.title":"Aller \xE0 la session parente","tui.command.session.child_next.title":"Session enfant suivante","tui.command.session.child_previous.title":"Session enfant pr\xE9c\xE9dente","tui.command.prompt.clear.title":"Vider l'invite","tui.command.prompt.submit.title":"Envoyer l'invite","tui.command.prompt.paste.title":"Coller","tui.command.session.interrupt.title":"Interrompre la session","tui.command.prompt.editor.title":"Ouvrir l'\xE9diteur","tui.command.prompt.skills.title":"Comp\xE9tences","tui.command.voice.toggle.title":"Activer/d\xE9sactiver la saisie vocale","tui.command.voice.toggle.title_on":"Saisie vocale : activ\xE9e \u2014 cliquer pour d\xE9sactiver","tui.command.voice.toggle.title_off":"Saisie vocale : d\xE9sactiv\xE9e \u2014 cliquer pour activer","tui.voice.enabled":"Saisie vocale activ\xE9e (chinois/anglais) \u2014 cliquez sur [Voice] pour enregistrer","tui.voice.disabled":"Saisie vocale d\xE9sactiv\xE9e","tui.voice.send.enabled":'Envoi vocal activ\xE9 \u2014 dites\u300C\u53D1\u9001\u300Dou "send it" pour envoyer',"tui.voice.send.disabled":"Envoi vocal d\xE9sactiv\xE9","tui.command.voice.send.title":"Basculer l'envoi vocal","tui.command.voice.send.title_on":"Envoi vocal : activ\xE9 \u2014 cliquer pour d\xE9sactiver","tui.command.voice.send.title_off":"Envoi vocal : d\xE9sactiv\xE9 \u2014 cliquer pour activer","tui.voice.control.enabled":"Contr\xF4le vocal activ\xE9 \u2014 utilise le mod\xE8le multimodal pour l'\xE9dition intelligente (plus lent)","tui.voice.control.disabled":"Contr\xF4le vocal d\xE9sactiv\xE9 \u2014 utilise la transcription ASR rapide","tui.command.voice.control.title":"Basculer le contr\xF4le vocal (multimodal)","tui.command.voice.control.title_on":"Contr\xF4le vocal : activ\xE9 (multimodal) \u2014 cliquer pour d\xE9sactiver","tui.command.voice.control.title_off":"Contr\xF4le vocal : d\xE9sactiv\xE9 (ASR rapide) \u2014 cliquer pour activer","tui.voice.error.no_auth":"Utilisez /connect pour vous connecter \xE0 QitQode, ou configurez voice.asr_model pour un autre fournisseur","tui.voice.error.no_auth_provider":`Le fournisseur vocal "{{provider}}" n'est pas authentifi\xE9, v\xE9rifiez son apiKey`,"tui.voice.error.provider_not_found":`Fournisseur "{{provider}}" indisponible \u2014 /connect pour s'authentifier, ou d\xE9clarez models dans la config pour les endpoints personnalis\xE9s`,"tui.voice.error.no_url":`Le fournisseur "{{provider}}" n'a pas de baseURL configur\xE9 \u2014 d\xE9finissez options.baseURL dans la configuration`,"tui.voice.error.no_device":"Aucun microphone/appareil audio trouv\xE9 \u2014 v\xE9rifiez les param\xE8tres audio du syst\xE8me","tui.voice.error.recorder_failed":"L'enregistrement a \xE9chou\xE9","tui.voice.error.no_recorder":"Aucun outil d'enregistrement trouv\xE9, installez sox","tui.voice.error.too_short":"Enregistrement trop court","tui.voice.error.network":"La transcription a \xE9chou\xE9, v\xE9rifiez votre r\xE9seau","tui.command.prompt.stash.title":"Mettre l'invite de c\xF4t\xE9","tui.command.prompt.stash.pop.title":"R\xE9cup\xE9rer l'invite","tui.command.prompt.stash.list.title":"Liste des invites mises de c\xF4t\xE9","tui.command.tips.toggle.show":"Afficher les astuces","tui.command.tips.toggle.hide":"Masquer les astuces","tui.command.plugins.list.title":"Plugins","tui.command.plugins.install.title":"Installer un plugin","cli.providers.select":"S\xE9lectionner un fournisseur","cli.providers.other":"Autre fournisseur","tui.question.plan_enter.question":"Voulez-vous basculer en mode plan pour une planification structur\xE9e ?","tui.question.plan_enter.header":"Entrer dans le plan","tui.question.plan_enter.option.0.label":"Oui","tui.question.plan_enter.option.0.description":"Basculer vers l'agent plan pour une planification en lecture seule","tui.question.plan_enter.option.1.label":"Non","tui.question.plan_enter.option.1.description":"Rester dans le mode actuel","tui.question.plan_exit.question":"Le plan {{plan}} est termin\xE9. Voulez-vous basculer vers l'agent build pour commencer l'impl\xE9mentation ?","tui.question.plan_exit.header":"Quitter le plan","tui.question.plan_exit.option.0.label":"Oui","tui.question.plan_exit.option.0.description":"Basculer vers l'agent build et commencer l'impl\xE9mentation","tui.question.plan_exit.option.1.label":"Non","tui.question.plan_exit.option.1.description":"Rester avec l'agent plan pour continuer \xE0 affiner","tui.session.badge.auto":"Auto","trust.title":"Acc\xE8s \xE0 l'espace de travail :","trust.safety_check":"V\xE9rification rapide : est-ce un projet que vous avez cr\xE9\xE9 ou auquel vous faites confiance ? (Votre propre code, un projet open source reconnu ou un travail de votre \xE9quipe). Sinon, prenez un moment pour examiner le contenu de ce dossier.","trust.capabilities":"QitQode pourra lire, modifier et ex\xE9cuter des fichiers ici.","trust.plugin_warn":"Si des plugins malveillants existent dans ce r\xE9pertoire, ils peuvent ex\xE9cuter du code arbitraire, lire, modifier ou exfiltrer vos fichiers.","trust.option.yes":"Oui, je fais confiance \xE0 ce dossier","trust.option.no":"Non, quitter","trust.dangerous.title_home":"ATTENTION : Vous \xEAtes sur le point d'ouvrir votre R\xC9PERTOIRE PERSONNEL.","trust.dangerous.title_root":"ATTENTION : Vous \xEAtes sur le point d'ouvrir la RACINE DU SYST\xC8ME DE FICHIERS.","trust.dangerous.body_home":"Le mod\xE8le aura acc\xE8s \xE0 TOUS vos fichiers personnels \u2014 cl\xE9s SSH, identifiants, profils de navigateur et tout le contenu de votre dossier personnel.","trust.dangerous.body_root":"Le mod\xE8le aura acc\xE8s \xE0 l'ENSEMBLE du syst\xE8me de fichiers \u2014 fichiers syst\xE8me, donn\xE9es de tous les utilisateurs, identifiants et tout sur cette machine.","trust.dangerous.advice_home":"Sauf raison tr\xE8s sp\xE9cifique, NE faites PAS confiance \xE0 l'int\xE9gralit\xE9 de votre r\xE9pertoire personnel.","trust.dangerous.advice_root":"Sauf raison tr\xE8s sp\xE9cifique, NE faites PAS confiance \xE0 la racine du syst\xE8me de fichiers.","trust.dangerous.option.yes":"Je comprends les risques, faire confiance pour cette session","trust.dangerous.option.no":"Quitter (recommand\xE9)"};
3
- export{f as Od};
3
+ export{f as Pd};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{cR as t}from"./chunk-pfx8ts02.js";var e=await import("./chunk-yq4vck53.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Vd as T,Xd as q,Yd as N,Zd as w,_d as X,be as D}from"./chunk-p0852vfn.js";import"./chunk-ej0yzstw.js";import{cg as Q}from"./chunk-psmwrvqs.js";import{Ah as A}from"./chunk-fd04358e.js";import"./chunk-qn1fhqyw.js";import"./chunk-674pexjx.js";import"./chunk-zjyaze0d.js";import"./chunk-xdcwx384.js";import"./chunk-rd08wx37.js";import"./chunk-fp2xgnjn.js";import"./chunk-y1v7mf1a.js";import{el as $}from"./chunk-358wdvj7.js";import"./chunk-dn0437c1.js";import"./chunk-47jkx37s.js";import"./chunk-31a47ptm.js";import"./chunk-jwv6fda1.js";import"./chunk-hx13a8es.js";import"./chunk-h036zy9e.js";import"./chunk-j3agzs13.js";import"./chunk-3152y1q9.js";import"./chunk-71jmhvef.js";import"./chunk-qrztx1b4.js";import"./chunk-j1bv93m4.js";import"./chunk-pp10epga.js";import"./chunk-crqycrs4.js";import"./chunk-1bq15kf0.js";import"./chunk-pdcxmr6x.js";import"./chunk-cqtkxwd8.js";import"./chunk-a1mbach4.js";import"./chunk-m6967jtv.js";import"./chunk-j2snkw45.js";import"./chunk-bmdqb48f.js";import"./chunk-3cs1qf8x.js";import"./chunk-4xqwt6dr.js";import"./chunk-g77kddrs.js";import"./chunk-9znfb8f2.js";import"./chunk-6kch0q2d.js";import"./chunk-6cztstry.js";import"./chunk-1mfdmm2t.js";import{Ps as _}from"./chunk-fkq0v5qv.js";import"./chunk-1e75j4m1.js";import"./chunk-2w3n0q9m.js";import"./chunk-6dd2dx69.js";import"./chunk-fdmz0502.js";import"./chunk-1a08ffyd.js";import"./chunk-8jkqyf9n.js";import"./chunk-6yshpz0z.js";import"./chunk-5dvy83ms.js";import{hu as Y,mu as W}from"./chunk-ffx0cr44.js";import"./chunk-33mzqyyb.js";import"./chunk-sg9enzsp.js";import"./chunk-5q98z8ck.js";import"./chunk-wfpnv00c.js";import"./chunk-9kc2th5c.js";import"./chunk-hf39qx6t.js";import"./chunk-x0de4z05.js";import"./chunk-sh03ka27.js";import V from"fs/promises";import L from"path";import R from"os";var g={command:"uninstall",describe:"uninstall qitqode and remove all related files",builder:(j)=>j.option("keep-config",{alias:"c",type:"boolean",describe:"keep configuration files",default:!1}).option("keep-data",{alias:"d",type:"boolean",describe:"keep session data and snapshots",default:!1}).option("dry-run",{type:"boolean",describe:"show what would be removed without removing",default:!1}).option("force",{alias:"f",type:"boolean",describe:"skip confirmation prompts",default:!1}),handler:async(j)=>{Q.empty(),Q.println(Q.logo(" ")),Q.empty(),w("Uninstall QitQode");let B=await A.runPromise($.Service.use((J)=>J.method()));N.info(`Installation method: ${B}`);let E=await v(j,B);if(await z(E,B),!j.force&&!j.dryRun){let J=await q({message:"Are you sure you want to uninstall?",initialValue:!1});if(!J||T(J)){X("Cancelled");return}}if(j.dryRun){N.warn("Dry run - no changes made"),X("Done");return}await G(B,E),X("Done")}};async function v(j,B){let E=[{path:W.Path.data,label:"Data",keep:j.keepData},{path:W.Path.cache,label:"Cache",keep:!1},{path:W.Path.config,label:"Config",keep:j.keepConfig},{path:W.Path.state,label:"State",keep:!1}],J=B==="curl"?await P():null,H=B==="curl"?process.execPath:null;return{directories:E,shellConfig:J,binary:H}}async function z(j,B){N.message("The following will be removed:");for(let E of j.directories){if(!await V.access(E.path).then(()=>!0).catch(()=>!1))continue;let H=await F(E.path),K=S(H),O=E.keep?Q.Style.TEXT_DIM+"(keeping)":"",M=E.keep?"\u25CB":"\u2713";N.info(` ${M} ${E.label}: ${Z(E.path)} ${Q.Style.TEXT_DIM}(${K})${O}`)}if(j.binary)N.info(` \u2713 Binary: ${Z(j.binary)}`);if(j.shellConfig)N.info(` \u2713 Shell PATH in ${Z(j.shellConfig)}`);if(B!=="curl"&&B!=="unknown"){let E={npm:"npm uninstall -g @qitqode/cli",pnpm:"pnpm uninstall -g @qitqode/cli",bun:"bun remove -g @qitqode/cli"};N.info(` \u2713 Package: ${E[B]||B}`)}}async function G(j,B){let E=D(),J=[];for(let H of B.directories){if(H.keep){N.step(`Skipping ${H.label} (--keep-${H.label.toLowerCase()})`);continue}if(!await V.access(H.path).then(()=>!0).catch(()=>!1))continue;E.start(`Removing ${H.label}...`);let O=await V.rm(H.path,{recursive:!0,force:!0}).catch((M)=>M);if(O){E.stop(`Failed to remove ${H.label}`,1),J.push(`${H.label}: ${O.message}`);continue}E.stop(`Removed ${H.label}`)}if(B.shellConfig){E.start("Cleaning shell config...");let H=await k(B.shellConfig).catch((K)=>K);if(H)E.stop("Failed to clean shell config",1),J.push(`Shell config: ${H.message}`);else E.stop("Cleaned shell config")}if(j!=="curl"&&j!=="unknown"){let K={npm:["npm","uninstall","-g","@qitqode/cli"],pnpm:["pnpm","uninstall","-g","@qitqode/cli"],bun:["bun","remove","-g","@qitqode/cli"]}[j];if(K){E.start(`Running ${K.join(" ")}...`);let O=await _.run(K,{nothrow:!0});if(O.code!==0)E.stop(`Package manager uninstall failed: exit code ${O.code}`,1),N.warn(`You may need to run manually: ${K.join(" ")}`);else E.stop("Package removed")}else N.warn(`Uninstall not supported for method "${j}" yet, skipping package removal`)}if(j==="curl"&&B.binary){Q.empty(),N.message("To finish removing the binary, run:"),N.info(` rm "${B.binary}"`);let H=L.dirname(B.binary);if(H.includes(".qitqode"))N.info(` rmdir "${H}" 2>/dev/null`)}if(J.length>0){Q.empty(),N.warn("Some operations failed:");for(let H of J)N.error(` ${H}`)}Q.empty(),N.success("Thank you for using QitQode!")}async function P(){let j=L.basename(process.env.SHELL||"bash"),B=R.homedir(),E=process.env.XDG_CONFIG_HOME||L.join(B,".config"),J={fish:[L.join(E,"fish","config.fish")],zsh:[L.join(B,".zshrc"),L.join(B,".zshenv"),L.join(E,"zsh",".zshrc"),L.join(E,"zsh",".zshenv")],bash:[L.join(B,".bashrc"),L.join(B,".bash_profile"),L.join(B,".profile"),L.join(E,"bash",".bashrc"),L.join(E,"bash",".bash_profile")],ash:[L.join(B,".ashrc"),L.join(B,".profile")],sh:[L.join(B,".profile")]},H=J[j]||J.bash;for(let K of H){if(!await V.access(K).then(()=>!0).catch(()=>!1))continue;let M=await Y.readText(K).catch(()=>"");if(M.includes("# qitqode")||M.includes(".qitqode/bin"))return K}return null}async function k(j){let E=(await Y.readText(j)).split(`
2
+ import{$d as X,Wd as T,Yd as q,Zd as N,_d as w,ce as D}from"./chunk-3dfy9k0t.js";import"./chunk-e4nap6v9.js";import{dg as Q}from"./chunk-5t69v8jg.js";import{Bh as A}from"./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{fl as $}from"./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{tu as _}from"./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{Nv as Y,Sv as W}from"./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"./chunk-pfx8ts02.js";import V from"fs/promises";import L from"path";import R from"os";var g={command:"uninstall",describe:"uninstall qitqode and remove all related files",builder:(j)=>j.option("keep-config",{alias:"c",type:"boolean",describe:"keep configuration files",default:!1}).option("keep-data",{alias:"d",type:"boolean",describe:"keep session data and snapshots",default:!1}).option("dry-run",{type:"boolean",describe:"show what would be removed without removing",default:!1}).option("force",{alias:"f",type:"boolean",describe:"skip confirmation prompts",default:!1}),handler:async(j)=>{Q.empty(),Q.println(Q.logo(" ")),Q.empty(),w("Uninstall QitQode");let B=await A.runPromise($.Service.use((J)=>J.method()));N.info(`Installation method: ${B}`);let E=await v(j,B);if(await z(E,B),!j.force&&!j.dryRun){let J=await q({message:"Are you sure you want to uninstall?",initialValue:!1});if(!J||T(J)){X("Cancelled");return}}if(j.dryRun){N.warn("Dry run - no changes made"),X("Done");return}await G(B,E),X("Done")}};async function v(j,B){let E=[{path:W.Path.data,label:"Data",keep:j.keepData},{path:W.Path.cache,label:"Cache",keep:!1},{path:W.Path.config,label:"Config",keep:j.keepConfig},{path:W.Path.state,label:"State",keep:!1}],J=B==="curl"?await P():null,H=B==="curl"?process.execPath:null;return{directories:E,shellConfig:J,binary:H}}async function z(j,B){N.message("The following will be removed:");for(let E of j.directories){if(!await V.access(E.path).then(()=>!0).catch(()=>!1))continue;let H=await F(E.path),K=S(H),O=E.keep?Q.Style.TEXT_DIM+"(keeping)":"",M=E.keep?"\u25CB":"\u2713";N.info(` ${M} ${E.label}: ${Z(E.path)} ${Q.Style.TEXT_DIM}(${K})${O}`)}if(j.binary)N.info(` \u2713 Binary: ${Z(j.binary)}`);if(j.shellConfig)N.info(` \u2713 Shell PATH in ${Z(j.shellConfig)}`);if(B!=="curl"&&B!=="unknown"){let E={npm:"npm uninstall -g @qitqode/cli",pnpm:"pnpm uninstall -g @qitqode/cli",bun:"bun remove -g @qitqode/cli"};N.info(` \u2713 Package: ${E[B]||B}`)}}async function G(j,B){let E=D(),J=[];for(let H of B.directories){if(H.keep){N.step(`Skipping ${H.label} (--keep-${H.label.toLowerCase()})`);continue}if(!await V.access(H.path).then(()=>!0).catch(()=>!1))continue;E.start(`Removing ${H.label}...`);let O=await V.rm(H.path,{recursive:!0,force:!0}).catch((M)=>M);if(O){E.stop(`Failed to remove ${H.label}`,1),J.push(`${H.label}: ${O.message}`);continue}E.stop(`Removed ${H.label}`)}if(B.shellConfig){E.start("Cleaning shell config...");let H=await k(B.shellConfig).catch((K)=>K);if(H)E.stop("Failed to clean shell config",1),J.push(`Shell config: ${H.message}`);else E.stop("Cleaned shell config")}if(j!=="curl"&&j!=="unknown"){let K={npm:["npm","uninstall","-g","@qitqode/cli"],pnpm:["pnpm","uninstall","-g","@qitqode/cli"],bun:["bun","remove","-g","@qitqode/cli"]}[j];if(K){E.start(`Running ${K.join(" ")}...`);let O=await _.run(K,{nothrow:!0});if(O.code!==0)E.stop(`Package manager uninstall failed: exit code ${O.code}`,1),N.warn(`You may need to run manually: ${K.join(" ")}`);else E.stop("Package removed")}else N.warn(`Uninstall not supported for method "${j}" yet, skipping package removal`)}if(j==="curl"&&B.binary){Q.empty(),N.message("To finish removing the binary, run:"),N.info(` rm "${B.binary}"`);let H=L.dirname(B.binary);if(H.includes(".qitqode"))N.info(` rmdir "${H}" 2>/dev/null`)}if(J.length>0){Q.empty(),N.warn("Some operations failed:");for(let H of J)N.error(` ${H}`)}Q.empty(),N.success("Thank you for using QitQode!")}async function P(){let j=L.basename(process.env.SHELL||"bash"),B=R.homedir(),E=process.env.XDG_CONFIG_HOME||L.join(B,".config"),J={fish:[L.join(E,"fish","config.fish")],zsh:[L.join(B,".zshrc"),L.join(B,".zshenv"),L.join(E,"zsh",".zshrc"),L.join(E,"zsh",".zshenv")],bash:[L.join(B,".bashrc"),L.join(B,".bash_profile"),L.join(B,".profile"),L.join(E,"bash",".bashrc"),L.join(E,"bash",".bash_profile")],ash:[L.join(B,".ashrc"),L.join(B,".profile")],sh:[L.join(B,".profile")]},H=J[j]||J.bash;for(let K of H){if(!await V.access(K).then(()=>!0).catch(()=>!1))continue;let M=await Y.readText(K).catch(()=>"");if(M.includes("# qitqode")||M.includes(".qitqode/bin"))return K}return null}async function k(j){let E=(await Y.readText(j)).split(`
3
3
  `),J=[],H=!1;for(let O of E){let M=O.trim();if(M==="# qitqode"){H=!0;continue}if(H){if(H=!1,M.includes(".qitqode/bin")||M.includes("fish_add_path"))continue}if(M.startsWith("export PATH=")&&M.includes(".qitqode/bin")||M.startsWith("fish_add_path")&&M.includes(".qitqode"))continue;J.push(O)}while(J.length>0&&J[J.length-1].trim()==="")J.pop();let K=J.join(`
4
4
  `)+`
5
5
  `;await Y.write(j,K)}async function F(j){let B=0,E=async(J)=>{let H=await V.readdir(J,{withFileTypes:!0}).catch(()=>[]);for(let K of H){let O=L.join(J,K.name);if(K.isDirectory()){await E(O);continue}if(K.isFile()){let M=await V.stat(O).catch(()=>null);if(M)B+=M.size}}};return await E(j),B}function S(j){if(j<1024)return`${j} B`;if(j<1048576)return`${(j/1024).toFixed(1)} KB`;if(j<1073741824)return`${(j/1048576).toFixed(1)} MB`;return`${(j/1073741824).toFixed(1)} GB`}function Z(j){let B=R.homedir();if(j===B||j.startsWith(B+L.sep))return"~"+j.slice(B.length);return j}export{g as UninstallCommand};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Ep as n6,Fp as L0,Gp as t6}from"./chunk-crqycrs4.js";import{Cq as o6,Dq as d6,Eq as r6,Iq as u6,Jp as F0,Qp as PY,Zp as CQ,cq as l6,gq as p6,sq as A0,uq as JY,vq as M0}from"./chunk-1bq15kf0.js";import{Qq as w0,Xq as qQ}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 y9=Object.defineProperty,s=(Q,q)=>{for(var G in q)y9(Q,G,{get:q[G],enumerable:!0})},f9="2.0.1";function m9({tools:Q,toolChoice:q}){Q=Q?.length?Q:void 0;let G=[];if(Q==null)return{tools:void 0,toolChoice:void 0,toolWarnings:G};let H=[];for(let X of Q)if(X.type==="provider")G.push({type:"unsupported",feature:`provider-defined tool ${X.id}`});else H.push({type:"function",function:{name:X.name,description:X.description,parameters:X.inputSchema,...X.strict!=null?{strict:X.strict}:{}}});if(q==null)return{tools:H,toolChoice:void 0,toolWarnings:G};let Y=q.type;switch(Y){case"auto":case"none":case"required":return{tools:H,toolChoice:Y,toolWarnings:G};case"tool":return{tools:H,toolChoice:{type:"function",function:{name:q.toolName}},toolWarnings:G};default:throw new qQ({functionality:`tool choice type: ${Y}`})}}function $6(Q){if(Q==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};return{inputTokens:{total:Q.total_tokens??void 0,noCache:Q.prompt_tokens??void 0,cacheRead:Q.prompt_tokens_details?.cached_tokens??void 0,cacheWrite:Q.prompt_tokens_details?.cache_creation_input_tokens??void 0},outputTokens:{total:Q.completion_tokens??void 0,text:void 0,reasoning:void 0},raw:Q}}var F={};s(F,{$brand:()=>e6,$input:()=>SG,$output:()=>TG,NEVER:()=>i6,TimePrecision:()=>xG,ZodAny:()=>_1,ZodArray:()=>y1,ZodBase64:()=>tY,ZodBase64URL:()=>aY,ZodBigInt:()=>iQ,ZodBigIntFormat:()=>sY,ZodBoolean:()=>aQ,ZodCIDRv4:()=>uY,ZodCIDRv6:()=>nY,ZodCUID:()=>mY,ZodCUID2:()=>cY,ZodCatch:()=>W6,ZodCodec:()=>K0,ZodCustom:()=>qY,ZodCustomStringFormat:()=>ZQ,ZodDate:()=>Y0,ZodDefault:()=>Q6,ZodDiscriminatedUnion:()=>m1,ZodE164:()=>iY,ZodEmail:()=>gY,ZodEmoji:()=>yY,ZodEnum:()=>VQ,ZodError:()=>HK,ZodExactOptional:()=>i1,ZodFile:()=>t1,ZodFirstPartyTypeKind:()=>V0,ZodFunction:()=>M6,ZodGUID:()=>SQ,ZodIPv4:()=>dY,ZodIPv6:()=>rY,ZodISODate:()=>Z1,ZodISODateTime:()=>R1,ZodISODuration:()=>b1,ZodISOTime:()=>D1,ZodIntersection:()=>c1,ZodIssueCode:()=>WK,ZodJWT:()=>eY,ZodKSUID:()=>oY,ZodLazy:()=>w6,ZodLiteral:()=>n1,ZodMAC:()=>C1,ZodMap:()=>r1,ZodNaN:()=>K6,ZodNanoID:()=>fY,ZodNever:()=>h1,ZodNonOptional:()=>W0,ZodNull:()=>j1,ZodNullable:()=>s1,ZodNumber:()=>tQ,ZodNumberFormat:()=>AQ,ZodObject:()=>sQ,ZodOptional:()=>H0,ZodPipe:()=>J0,ZodPrefault:()=>q6,ZodPromise:()=>A6,ZodReadonly:()=>B6,ZodRealError:()=>p,ZodRecord:()=>YY,ZodSet:()=>u1,ZodString:()=>uQ,ZodStringFormat:()=>S,ZodSuccess:()=>H6,ZodSymbol:()=>S1,ZodTemplateLiteral:()=>U6,ZodTransform:()=>a1,ZodTuple:()=>p1,ZodType:()=>D,ZodULID:()=>lY,ZodURL:()=>nQ,ZodUUID:()=>i,ZodUndefined:()=>z1,ZodUnion:()=>QY,ZodUnknown:()=>x1,ZodVoid:()=>g1,ZodXID:()=>pY,ZodXor:()=>f1,_ZodString:()=>hY,_default:()=>Y6,_function:()=>LY,any:()=>H9,array:()=>eQ,base64:()=>l2,base64url:()=>p2,bigint:()=>Q9,boolean:()=>T1,catch:()=>J6,check:()=>C9,cidrv4:()=>m2,cidrv6:()=>c2,clone:()=>u,codec:()=>Z9,coerce:()=>h9,config:()=>h,core:()=>a6,cuid:()=>j2,cuid2:()=>v2,custom:()=>k9,date:()=>J9,decode:()=>M2,decodeAsync:()=>P2,describe:()=>T9,discriminatedUnion:()=>F9,e164:()=>o2,email:()=>V2,emoji:()=>S2,encode:()=>A2,encodeAsync:()=>L2,endsWith:()=>TY,enum:()=>X0,exactOptional:()=>e1,file:()=>O9,flattenError:()=>b0,float32:()=>a2,float64:()=>i2,formatError:()=>C0,fromJSONSchema:()=>wK,function:()=>LY,getErrorMap:()=>KK,globalRegistry:()=>o,gt:()=>GQ,gte:()=>m,guid:()=>R2,hash:()=>t2,hex:()=>n2,hostname:()=>u2,httpUrl:()=>T2,includes:()=>CY,instanceof:()=>z9,int:()=>MY,int32:()=>e2,int64:()=>Y9,intersection:()=>l1,ipv4:()=>g2,ipv6:()=>f2,iso:()=>V1,json:()=>v9,jwt:()=>d2,keyof:()=>K9,ksuid:()=>h2,lazy:()=>F6,length:()=>dQ,literal:()=>E9,locales:()=>u0,looseObject:()=>U9,looseRecord:()=>M9,lowercase:()=>DY,lt:()=>XQ,lte:()=>d,mac:()=>y2,map:()=>L9,maxLength:()=>oQ,maxSize:()=>RQ,meta:()=>S9,mime:()=>SY,minLength:()=>NQ,minSize:()=>HQ,multipleOf:()=>$Q,nan:()=>R9,nanoid:()=>z2,nativeEnum:()=>$9,negative:()=>L1,never:()=>Q0,nonnegative:()=>$1,nonoptional:()=>G6,nonpositive:()=>P1,normalize:()=>zY,null:()=>v1,nullable:()=>jQ,nullish:()=>I9,number:()=>k1,object:()=>B9,optional:()=>zQ,overwrite:()=>YQ,parse:()=>N2,parseAsync:()=>U2,partialRecord:()=>A9,pipe:()=>vQ,positive:()=>M1,prefault:()=>X6,preprocess:()=>_9,prettifyError:()=>wq,promise:()=>b9,property:()=>E1,readonly:()=>N6,record:()=>d1,refine:()=>L6,regex:()=>ZY,regexes:()=>FQ,registry:()=>n0,safeDecode:()=>E2,safeDecodeAsync:()=>I2,safeEncode:()=>$2,safeEncodeAsync:()=>O2,safeParse:()=>w2,safeParseAsync:()=>F2,set:()=>P9,setErrorMap:()=>JK,size:()=>pQ,slugify:()=>xY,startsWith:()=>kY,strictObject:()=>N9,string:()=>AY,stringFormat:()=>r2,stringbool:()=>j9,success:()=>V9,superRefine:()=>P6,symbol:()=>X9,templateLiteral:()=>D9,toJSONSchema:()=>q2,toLowerCase:()=>vY,toUpperCase:()=>_Y,transform:()=>G0,treeifyError:()=>Nq,trim:()=>jY,tuple:()=>o1,uint32:()=>s2,uint64:()=>q9,ulid:()=>_2,undefined:()=>G9,union:()=>q0,unknown:()=>UQ,uppercase:()=>bY,url:()=>k2,util:()=>C,uuid:()=>Z2,uuidv4:()=>D2,uuidv6:()=>b2,uuidv7:()=>C2,void:()=>W9,xid:()=>x2,xor:()=>w9});var a6={};s(a6,{$ZodAny:()=>dX,$ZodArray:()=>aX,$ZodAsyncError:()=>KQ,$ZodBase64:()=>vX,$ZodBase64URL:()=>xX,$ZodBigInt:()=>p0,$ZodBigIntFormat:()=>cX,$ZodBoolean:()=>l0,$ZodCIDRv4:()=>zX,$ZodCIDRv6:()=>jX,$ZodCUID:()=>EX,$ZodCUID2:()=>OX,$ZodCatch:()=>PG,$ZodCheck:()=>j,$ZodCheckBigIntFormat:()=>tq,$ZodCheckEndsWith:()=>JX,$ZodCheckGreaterThan:()=>f0,$ZodCheckIncludes:()=>HX,$ZodCheckLengthEquals:()=>YX,$ZodCheckLessThan:()=>y0,$ZodCheckLowerCase:()=>XX,$ZodCheckMaxLength:()=>sq,$ZodCheckMaxSize:()=>aq,$ZodCheckMimeType:()=>BX,$ZodCheckMinLength:()=>QX,$ZodCheckMinSize:()=>iq,$ZodCheckMultipleOf:()=>uq,$ZodCheckNumberFormat:()=>nq,$ZodCheckOverwrite:()=>NX,$ZodCheckProperty:()=>KX,$ZodCheckRegex:()=>qX,$ZodCheckSizeEquals:()=>eq,$ZodCheckStartsWith:()=>WX,$ZodCheckStringFormat:()=>cQ,$ZodCheckUpperCase:()=>GX,$ZodCodec:()=>r0,$ZodCustom:()=>DG,$ZodCustomStringFormat:()=>fX,$ZodDate:()=>tX,$ZodDefault:()=>FG,$ZodDiscriminatedUnion:()=>qG,$ZodE164:()=>hX,$ZodEmail:()=>MX,$ZodEmoji:()=>PX,$ZodEncodeError:()=>$Y,$ZodEnum:()=>JG,$ZodError:()=>D0,$ZodExactOptional:()=>UG,$ZodFile:()=>BG,$ZodFunction:()=>VG,$ZodGUID:()=>FX,$ZodIPv4:()=>kX,$ZodIPv6:()=>TX,$ZodISODate:()=>DX,$ZodISODateTime:()=>ZX,$ZodISODuration:()=>CX,$ZodISOTime:()=>bX,$ZodIntersection:()=>XG,$ZodJWT:()=>yX,$ZodKSUID:()=>RX,$ZodLazy:()=>ZG,$ZodLiteral:()=>KG,$ZodMAC:()=>SX,$ZodMap:()=>HG,$ZodNaN:()=>$G,$ZodNanoID:()=>$X,$ZodNever:()=>uX,$ZodNonOptional:()=>MG,$ZodNull:()=>oX,$ZodNullable:()=>wG,$ZodNumber:()=>c0,$ZodNumberFormat:()=>mX,$ZodObject:()=>sX,$ZodObjectJIT:()=>QG,$ZodOptional:()=>d0,$ZodPipe:()=>EG,$ZodPrefault:()=>AG,$ZodPromise:()=>RG,$ZodReadonly:()=>OG,$ZodRealError:()=>l,$ZodRecord:()=>GG,$ZodRegistry:()=>zG,$ZodSet:()=>WG,$ZodString:()=>lQ,$ZodStringFormat:()=>T,$ZodSuccess:()=>LG,$ZodSymbol:()=>lX,$ZodTemplateLiteral:()=>IG,$ZodTransform:()=>NG,$ZodTuple:()=>o0,$ZodType:()=>Z,$ZodULID:()=>IX,$ZodURL:()=>LX,$ZodUUID:()=>AX,$ZodUndefined:()=>pX,$ZodUnion:()=>VY,$ZodUnknown:()=>rX,$ZodVoid:()=>nX,$ZodXID:()=>VX,$ZodXor:()=>YG,$brand:()=>e6,$constructor:()=>U,$input:()=>SG,$output:()=>TG,Doc:()=>UX,JSONSchema:()=>GK,JSONSchemaGenerator:()=>XK,NEVER:()=>i6,TimePrecision:()=>xG,_any:()=>q8,_array:()=>B8,_base64:()=>U1,_base64url:()=>w1,_bigint:()=>tG,_boolean:()=>uG,_catch:()=>aJ,_check:()=>A8,_cidrv4:()=>B1,_cidrv6:()=>N1,_coercedBigint:()=>aG,_coercedBoolean:()=>nG,_coercedDate:()=>J8,_coercedNumber:()=>cG,_coercedString:()=>vG,_cuid:()=>q1,_cuid2:()=>X1,_custom:()=>U8,_date:()=>W8,_decode:()=>T0,_decodeAsync:()=>z0,_default:()=>uJ,_discriminatedUnion:()=>xJ,_e164:()=>F1,_email:()=>t0,_emoji:()=>Q1,_encode:()=>k0,_encodeAsync:()=>S0,_endsWith:()=>TY,_enum:()=>cJ,_file:()=>N8,_float32:()=>pG,_float64:()=>oG,_gt:()=>GQ,_gte:()=>m,_guid:()=>FY,_includes:()=>CY,_int:()=>lG,_int32:()=>dG,_int64:()=>iG,_intersection:()=>hJ,_ipv4:()=>J1,_ipv6:()=>K1,_isoDate:()=>gG,_isoDateTime:()=>hG,_isoDuration:()=>fG,_isoTime:()=>yG,_jwt:()=>A1,_ksuid:()=>W1,_lazy:()=>QK,_length:()=>dQ,_literal:()=>pJ,_lowercase:()=>DY,_lt:()=>XQ,_lte:()=>d,_mac:()=>_G,_map:()=>fJ,_max:()=>d,_maxLength:()=>oQ,_maxSize:()=>RQ,_mime:()=>SY,_min:()=>m,_minLength:()=>NQ,_minSize:()=>HQ,_multipleOf:()=>$Q,_nan:()=>K8,_nanoid:()=>Y1,_nativeEnum:()=>lJ,_negative:()=>L1,_never:()=>G8,_nonnegative:()=>$1,_nonoptional:()=>nJ,_nonpositive:()=>P1,_normalize:()=>zY,_null:()=>Y8,_nullable:()=>rJ,_number:()=>mG,_optional:()=>dJ,_overwrite:()=>YQ,_parse:()=>xQ,_parseAsync:()=>hQ,_pipe:()=>iJ,_positive:()=>M1,_promise:()=>YK,_property:()=>E1,_readonly:()=>eJ,_record:()=>yJ,_refine:()=>w8,_regex:()=>ZY,_safeDecode:()=>v0,_safeDecodeAsync:()=>x0,_safeEncode:()=>j0,_safeEncodeAsync:()=>_0,_safeParse:()=>gQ,_safeParseAsync:()=>yQ,_set:()=>mJ,_size:()=>pQ,_slugify:()=>xY,_startsWith:()=>kY,_string:()=>jG,_stringFormat:()=>rQ,_stringbool:()=>P8,_success:()=>tJ,_superRefine:()=>F8,_symbol:()=>sG,_templateLiteral:()=>sJ,_toLowerCase:()=>vY,_toUpperCase:()=>_Y,_transform:()=>oJ,_trim:()=>jY,_tuple:()=>gJ,_uint32:()=>rG,_uint64:()=>eG,_ulid:()=>G1,_undefined:()=>Q8,_union:()=>vJ,_unknown:()=>X8,_uppercase:()=>bY,_url:()=>RY,_uuid:()=>a0,_uuidv4:()=>i0,_uuidv6:()=>e0,_uuidv7:()=>s0,_void:()=>H8,_xid:()=>H1,_xor:()=>_J,clone:()=>u,config:()=>h,createStandardJSONSchemaMethod:()=>TQ,createToJSONSchemaMethod:()=>$8,decode:()=>AH,decodeAsync:()=>LH,describe:()=>M8,encode:()=>FH,encodeAsync:()=>MH,extractDefs:()=>OQ,finalize:()=>IQ,flattenError:()=>b0,formatError:()=>C0,globalConfig:()=>KY,globalRegistry:()=>o,initializeContext:()=>EQ,isValidBase64:()=>m0,isValidBase64URL:()=>_X,isValidJWT:()=>gX,locales:()=>u0,meta:()=>L8,parse:()=>$0,parseAsync:()=>E0,prettifyError:()=>wq,process:()=>k,regexes:()=>FQ,registry:()=>n0,safeDecode:()=>$H,safeDecodeAsync:()=>OH,safeEncode:()=>PH,safeEncodeAsync:()=>EH,safeParse:()=>Fq,safeParseAsync:()=>Aq,toDotPath:()=>Uq,toJSONSchema:()=>q2,treeifyError:()=>Nq,util:()=>C,version:()=>wX});var i6=Object.freeze({status:"aborted"});function U(Q,q,G){function H(J,K){if(!J._zod)Object.defineProperty(J,"_zod",{value:{def:K,constr:W,traits:new Set},enumerable:!1});if(J._zod.traits.has(Q))return;J._zod.traits.add(Q),q(J,K);let B=W.prototype,N=Object.keys(B);for(let w=0;w<N.length;w++){let L=N[w];if(!(L in J))J[L]=B[L].bind(J)}}let Y=G?.Parent??Object;class X extends Y{}Object.defineProperty(X,"name",{value:Q});function W(J){var K;let B=G?.Parent?new X:this;H(B,J),(K=B._zod).deferred??(K.deferred=[]);for(let N of B._zod.deferred)N();return B}return Object.defineProperty(W,"init",{value:H}),Object.defineProperty(W,Symbol.hasInstance,{value:(J)=>{if(G?.Parent&&J instanceof G.Parent)return!0;return J?._zod?.traits?.has(Q)}}),Object.defineProperty(W,"name",{value:Q}),W}var e6=Symbol("zod_brand"),KQ=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},$Y=class extends Error{constructor(Q){super(`Encountered unidirectional transform during encode: ${Q}`);this.name="ZodEncodeError"}},KY={};function h(Q){if(Q)Object.assign(KY,Q);return KY}var C={};s(C,{BIGINT_FORMAT_RANGES:()=>Wq,Class:()=>wH,NUMBER_FORMAT_RANGES:()=>Hq,aborted:()=>JQ,allowsEval:()=>Yq,assert:()=>d9,assertEqual:()=>c9,assertIs:()=>p9,assertNever:()=>o9,assertNotEqual:()=>l9,assignProp:()=>WQ,base64ToUint8Array:()=>Jq,base64urlToUint8Array:()=>KH,cached:()=>_Q,captureStackTrace:()=>Z0,cleanEnum:()=>JH,cleanRegex:()=>EY,clone:()=>u,cloneDef:()=>u9,createTransparentProxy:()=>s9,defineLazy:()=>b,esc:()=>P0,escapeRegex:()=>e,extend:()=>qH,finalizeIssue:()=>r,floatSafeRemainder:()=>s6,getElementAtPath:()=>n9,getEnumValues:()=>R0,getLengthableOrigin:()=>IY,getParsedType:()=>e9,getSizableOrigin:()=>OY,hexToUint8Array:()=>NH,isObject:()=>LQ,isPlainObject:()=>BQ,issue:()=>UY,joinValues:()=>M,jsonStringifyReplacer:()=>BY,merge:()=>GH,mergeDefs:()=>QQ,normalizeParams:()=>P,nullish:()=>wQ,numKeys:()=>i9,objectClone:()=>r9,omit:()=>YH,optionalKeys:()=>Gq,parsedType:()=>V,partial:()=>HH,pick:()=>QH,prefixIssues:()=>a,primitiveTypes:()=>Xq,promiseAllObject:()=>t9,propertyKeyTypes:()=>NY,randomString:()=>a9,required:()=>WH,safeExtend:()=>XH,shallowClone:()=>qq,slugify:()=>Qq,stringifyPrimitive:()=>I,uint8ArrayToBase64:()=>Kq,uint8ArrayToBase64url:()=>BH,uint8ArrayToHex:()=>UH,unwrapMessage:()=>kQ});function c9(Q){return Q}function l9(Q){return Q}function p9(Q){}function o9(Q){throw Error("Unexpected value in exhaustive check")}function d9(Q){}function R0(Q){let q=Object.values(Q).filter((H)=>typeof H==="number");return Object.entries(Q).filter(([H,Y])=>q.indexOf(+H)===-1).map(([H,Y])=>Y)}function M(Q,q="|"){return Q.map((G)=>I(G)).join(q)}function BY(Q,q){if(typeof q==="bigint")return q.toString();return q}function _Q(Q){return{get value(){{let G=Q();return Object.defineProperty(this,"value",{value:G}),G}throw Error("cached value already set")}}}function wQ(Q){return Q===null||Q===void 0}function EY(Q){let q=Q.startsWith("^")?1:0,G=Q.endsWith("$")?Q.length-1:Q.length;return Q.slice(q,G)}function s6(Q,q){let G=(Q.toString().split(".")[1]||"").length,H=q.toString(),Y=(H.split(".")[1]||"").length;if(Y===0&&/\d?e-\d?/.test(H)){let K=H.match(/\d?e-(\d?)/);if(K?.[1])Y=Number.parseInt(K[1])}let X=G>Y?G:Y,W=Number.parseInt(Q.toFixed(X).replace(".","")),J=Number.parseInt(q.toFixed(X).replace(".",""));return W%J/10**X}var E6=Symbol("evaluating");function b(Q,q,G){let H=void 0;Object.defineProperty(Q,q,{get(){if(H===E6)return;if(H===void 0)H=E6,H=G();return H},set(Y){Object.defineProperty(Q,q,{value:Y})},configurable:!0})}function r9(Q){return Object.create(Object.getPrototypeOf(Q),Object.getOwnPropertyDescriptors(Q))}function WQ(Q,q,G){Object.defineProperty(Q,q,{value:G,writable:!0,enumerable:!0,configurable:!0})}function QQ(...Q){let q={};for(let G of Q){let H=Object.getOwnPropertyDescriptors(G);Object.assign(q,H)}return Object.defineProperties({},q)}function u9(Q){return QQ(Q._zod.def)}function n9(Q,q){if(!q)return Q;return q.reduce((G,H)=>G?.[H],Q)}function t9(Q){let q=Object.keys(Q),G=q.map((H)=>Q[H]);return Promise.all(G).then((H)=>{let Y={};for(let X=0;X<q.length;X++)Y[q[X]]=H[X];return Y})}function a9(Q=10){let G="";for(let H=0;H<Q;H++)G+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return G}function P0(Q){return JSON.stringify(Q)}function Qq(Q){return Q.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Z0="captureStackTrace"in Error?Error.captureStackTrace:(...Q)=>{};function LQ(Q){return typeof Q==="object"&&Q!==null&&!Array.isArray(Q)}var Yq=_Q(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(Q){return!1}});function BQ(Q){if(LQ(Q)===!1)return!1;let q=Q.constructor;if(q===void 0)return!0;if(typeof q!=="function")return!0;let G=q.prototype;if(LQ(G)===!1)return!1;if(Object.prototype.hasOwnProperty.call(G,"isPrototypeOf")===!1)return!1;return!0}function qq(Q){if(BQ(Q))return{...Q};if(Array.isArray(Q))return[...Q];return Q}function i9(Q){let q=0;for(let G in Q)if(Object.prototype.hasOwnProperty.call(Q,G))q++;return q}var e9=(Q)=>{let q=typeof Q;switch(q){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(Q)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(Q))return"array";if(Q===null)return"null";if(Q.then&&typeof Q.then==="function"&&Q.catch&&typeof Q.catch==="function")return"promise";if(typeof Map<"u"&&Q instanceof Map)return"map";if(typeof Set<"u"&&Q instanceof Set)return"set";if(typeof Date<"u"&&Q instanceof Date)return"date";if(typeof File<"u"&&Q instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${q}`)}},NY=new Set(["string","number","symbol"]),Xq=new Set(["string","number","bigint","boolean","symbol","undefined"]);function e(Q){return Q.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function u(Q,q,G){let H=new Q._zod.constr(q??Q._zod.def);if(!q||G?.parent)H._zod.parent=Q;return H}function P(Q){let q=Q;if(!q)return{};if(typeof q==="string")return{error:()=>q};if(q?.message!==void 0){if(q?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");q.error=q.message}if(delete q.message,typeof q.error==="string")return{...q,error:()=>q.error};return q}function s9(Q){let q;return new Proxy({},{get(G,H,Y){return q??(q=Q()),Reflect.get(q,H,Y)},set(G,H,Y,X){return q??(q=Q()),Reflect.set(q,H,Y,X)},has(G,H){return q??(q=Q()),Reflect.has(q,H)},deleteProperty(G,H){return q??(q=Q()),Reflect.deleteProperty(q,H)},ownKeys(G){return q??(q=Q()),Reflect.ownKeys(q)},getOwnPropertyDescriptor(G,H){return q??(q=Q()),Reflect.getOwnPropertyDescriptor(q,H)},defineProperty(G,H,Y){return q??(q=Q()),Reflect.defineProperty(q,H,Y)}})}function I(Q){if(typeof Q==="bigint")return Q.toString()+"n";if(typeof Q==="string")return`"${Q}"`;return`${Q}`}function Gq(Q){return Object.keys(Q).filter((q)=>{return Q[q]._zod.optin==="optional"&&Q[q]._zod.optout==="optional"})}var Hq={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Wq={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function QH(Q,q){let G=Q._zod.def,H=G.checks;if(H&&H.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let X=QQ(Q._zod.def,{get shape(){let W={};for(let J in q){if(!(J in G.shape))throw Error(`Unrecognized key: "${J}"`);if(!q[J])continue;W[J]=G.shape[J]}return WQ(this,"shape",W),W},checks:[]});return u(Q,X)}function YH(Q,q){let G=Q._zod.def,H=G.checks;if(H&&H.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let X=QQ(Q._zod.def,{get shape(){let W={...Q._zod.def.shape};for(let J in q){if(!(J in G.shape))throw Error(`Unrecognized key: "${J}"`);if(!q[J])continue;delete W[J]}return WQ(this,"shape",W),W},checks:[]});return u(Q,X)}function qH(Q,q){if(!BQ(q))throw Error("Invalid input to extend: expected a plain object");let G=Q._zod.def.checks;if(G&&G.length>0){let X=Q._zod.def.shape;for(let W in q)if(Object.getOwnPropertyDescriptor(X,W)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let Y=QQ(Q._zod.def,{get shape(){let X={...Q._zod.def.shape,...q};return WQ(this,"shape",X),X}});return u(Q,Y)}function XH(Q,q){if(!BQ(q))throw Error("Invalid input to safeExtend: expected a plain object");let G=QQ(Q._zod.def,{get shape(){let H={...Q._zod.def.shape,...q};return WQ(this,"shape",H),H}});return u(Q,G)}function GH(Q,q){let G=QQ(Q._zod.def,{get shape(){let H={...Q._zod.def.shape,...q._zod.def.shape};return WQ(this,"shape",H),H},get catchall(){return q._zod.def.catchall},checks:[]});return u(Q,G)}function HH(Q,q,G){let Y=q._zod.def.checks;if(Y&&Y.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let W=QQ(q._zod.def,{get shape(){let J=q._zod.def.shape,K={...J};if(G)for(let B in G){if(!(B in J))throw Error(`Unrecognized key: "${B}"`);if(!G[B])continue;K[B]=Q?new Q({type:"optional",innerType:J[B]}):J[B]}else for(let B in J)K[B]=Q?new Q({type:"optional",innerType:J[B]}):J[B];return WQ(this,"shape",K),K},checks:[]});return u(q,W)}function WH(Q,q,G){let H=QQ(q._zod.def,{get shape(){let Y=q._zod.def.shape,X={...Y};if(G)for(let W in G){if(!(W in X))throw Error(`Unrecognized key: "${W}"`);if(!G[W])continue;X[W]=new Q({type:"nonoptional",innerType:Y[W]})}else for(let W in Y)X[W]=new Q({type:"nonoptional",innerType:Y[W]});return WQ(this,"shape",X),X}});return u(q,H)}function JQ(Q,q=0){if(Q.aborted===!0)return!0;for(let G=q;G<Q.issues.length;G++)if(Q.issues[G]?.continue!==!0)return!0;return!1}function a(Q,q){return q.map((G)=>{var H;return(H=G).path??(H.path=[]),G.path.unshift(Q),G})}function kQ(Q){return typeof Q==="string"?Q:Q?.message}function r(Q,q,G){let H={...Q,path:Q.path??[]};if(!Q.message){let Y=kQ(Q.inst?._zod.def?.error?.(Q))??kQ(q?.error?.(Q))??kQ(G.customError?.(Q))??kQ(G.localeError?.(Q))??"Invalid input";H.message=Y}if(delete H.inst,delete H.continue,!q?.reportInput)delete H.input;return H}function OY(Q){if(Q instanceof Set)return"set";if(Q instanceof Map)return"map";if(Q instanceof File)return"file";return"unknown"}function IY(Q){if(Array.isArray(Q))return"array";if(typeof Q==="string")return"string";return"unknown"}function V(Q){let q=typeof Q;switch(q){case"number":return Number.isNaN(Q)?"nan":"number";case"object":{if(Q===null)return"null";if(Array.isArray(Q))return"array";let G=Q;if(G&&Object.getPrototypeOf(G)!==Object.prototype&&"constructor"in G&&G.constructor)return G.constructor.name}}return q}function UY(...Q){let[q,G,H]=Q;if(typeof q==="string")return{message:q,code:"custom",input:G,inst:H};return{...q}}function JH(Q){return Object.entries(Q).filter(([q,G])=>{return Number.isNaN(Number.parseInt(q,10))}).map((q)=>q[1])}function Jq(Q){let q=atob(Q),G=new Uint8Array(q.length);for(let H=0;H<q.length;H++)G[H]=q.charCodeAt(H);return G}function Kq(Q){let q="";for(let G=0;G<Q.length;G++)q+=String.fromCharCode(Q[G]);return btoa(q)}function KH(Q){let q=Q.replace(/-/g,"+").replace(/_/g,"/"),G="=".repeat((4-q.length%4)%4);return Jq(q+G)}function BH(Q){return Kq(Q).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function NH(Q){let q=Q.replace(/^0x/,"");if(q.length%2!==0)throw Error("Invalid hex string length");let G=new Uint8Array(q.length/2);for(let H=0;H<q.length;H+=2)G[H/2]=Number.parseInt(q.slice(H,H+2),16);return G}function UH(Q){return Array.from(Q).map((q)=>q.toString(16).padStart(2,"0")).join("")}var wH=class{constructor(...Q){}},Bq=(Q,q)=>{Q.name="$ZodError",Object.defineProperty(Q,"_zod",{value:Q._zod,enumerable:!1}),Object.defineProperty(Q,"issues",{value:q,enumerable:!1}),Q.message=JSON.stringify(q,BY,2),Object.defineProperty(Q,"toString",{value:()=>Q.message,enumerable:!1})},D0=U("$ZodError",Bq),l=U("$ZodError",Bq,{Parent:Error});function b0(Q,q=(G)=>G.message){let G={},H=[];for(let Y of Q.issues)if(Y.path.length>0)G[Y.path[0]]=G[Y.path[0]]||[],G[Y.path[0]].push(q(Y));else H.push(q(Y));return{formErrors:H,fieldErrors:G}}function C0(Q,q=(G)=>G.message){let G={_errors:[]},H=(Y)=>{for(let X of Y.issues)if(X.code==="invalid_union"&&X.errors.length)X.errors.map((W)=>H({issues:W}));else if(X.code==="invalid_key")H({issues:X.issues});else if(X.code==="invalid_element")H({issues:X.issues});else if(X.path.length===0)G._errors.push(q(X));else{let W=G,J=0;while(J<X.path.length){let K=X.path[J];if(J!==X.path.length-1)W[K]=W[K]||{_errors:[]};else W[K]=W[K]||{_errors:[]},W[K]._errors.push(q(X));W=W[K],J++}}};return H(Q),G}function Nq(Q,q=(G)=>G.message){let G={errors:[]},H=(Y,X=[])=>{var W,J;for(let K of Y.issues)if(K.code==="invalid_union"&&K.errors.length)K.errors.map((B)=>H({issues:B},K.path));else if(K.code==="invalid_key")H({issues:K.issues},K.path);else if(K.code==="invalid_element")H({issues:K.issues},K.path);else{let B=[...X,...K.path];if(B.length===0){G.errors.push(q(K));continue}let N=G,w=0;while(w<B.length){let L=B[w],A=w===B.length-1;if(typeof L==="string")N.properties??(N.properties={}),(W=N.properties)[L]??(W[L]={errors:[]}),N=N.properties[L];else N.items??(N.items=[]),(J=N.items)[L]??(J[L]={errors:[]}),N=N.items[L];if(A)N.errors.push(q(K));w++}}};return H(Q),G}function Uq(Q){let q=[],G=Q.map((H)=>typeof H==="object"?H.key:H);for(let H of G)if(typeof H==="number")q.push(`[${H}]`);else if(typeof H==="symbol")q.push(`[${JSON.stringify(String(H))}]`);else if(/[^\w$]/.test(H))q.push(`[${JSON.stringify(H)}]`);else{if(q.length)q.push(".");q.push(H)}return q.join("")}function wq(Q){let q=[],G=[...Q.issues].sort((H,Y)=>(H.path??[]).length-(Y.path??[]).length);for(let H of G)if(q.push(`\u2716 ${H.message}`),H.path?.length)q.push(` \u2192 at ${Uq(H.path)}`);return q.join(`
2
+ import{ir as n6,jr as L0,kr as t6}from"./chunk-d4y5hyjg.js";import{$r as M0,Dr as CQ,Ir as l6,Mr as p6,Yr as A0,_r as JY,gs as o6,hs as d6,is as r6,ms as u6,nr as F0,ur as PY}from"./chunk-q0pd8bac.js";import{Bs as qQ,us as w0}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 y9=Object.defineProperty,s=(Q,q)=>{for(var G in q)y9(Q,G,{get:q[G],enumerable:!0})},f9="2.0.1";function m9({tools:Q,toolChoice:q}){Q=Q?.length?Q:void 0;let G=[];if(Q==null)return{tools:void 0,toolChoice:void 0,toolWarnings:G};let H=[];for(let X of Q)if(X.type==="provider")G.push({type:"unsupported",feature:`provider-defined tool ${X.id}`});else H.push({type:"function",function:{name:X.name,description:X.description,parameters:X.inputSchema,...X.strict!=null?{strict:X.strict}:{}}});if(q==null)return{tools:H,toolChoice:void 0,toolWarnings:G};let Y=q.type;switch(Y){case"auto":case"none":case"required":return{tools:H,toolChoice:Y,toolWarnings:G};case"tool":return{tools:H,toolChoice:{type:"function",function:{name:q.toolName}},toolWarnings:G};default:throw new qQ({functionality:`tool choice type: ${Y}`})}}function $6(Q){if(Q==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};return{inputTokens:{total:Q.total_tokens??void 0,noCache:Q.prompt_tokens??void 0,cacheRead:Q.prompt_tokens_details?.cached_tokens??void 0,cacheWrite:Q.prompt_tokens_details?.cache_creation_input_tokens??void 0},outputTokens:{total:Q.completion_tokens??void 0,text:void 0,reasoning:void 0},raw:Q}}var F={};s(F,{$brand:()=>e6,$input:()=>SG,$output:()=>TG,NEVER:()=>i6,TimePrecision:()=>xG,ZodAny:()=>_1,ZodArray:()=>y1,ZodBase64:()=>tY,ZodBase64URL:()=>aY,ZodBigInt:()=>iQ,ZodBigIntFormat:()=>sY,ZodBoolean:()=>aQ,ZodCIDRv4:()=>uY,ZodCIDRv6:()=>nY,ZodCUID:()=>mY,ZodCUID2:()=>cY,ZodCatch:()=>W6,ZodCodec:()=>K0,ZodCustom:()=>qY,ZodCustomStringFormat:()=>ZQ,ZodDate:()=>Y0,ZodDefault:()=>Q6,ZodDiscriminatedUnion:()=>m1,ZodE164:()=>iY,ZodEmail:()=>gY,ZodEmoji:()=>yY,ZodEnum:()=>VQ,ZodError:()=>HK,ZodExactOptional:()=>i1,ZodFile:()=>t1,ZodFirstPartyTypeKind:()=>V0,ZodFunction:()=>M6,ZodGUID:()=>SQ,ZodIPv4:()=>dY,ZodIPv6:()=>rY,ZodISODate:()=>Z1,ZodISODateTime:()=>R1,ZodISODuration:()=>b1,ZodISOTime:()=>D1,ZodIntersection:()=>c1,ZodIssueCode:()=>WK,ZodJWT:()=>eY,ZodKSUID:()=>oY,ZodLazy:()=>w6,ZodLiteral:()=>n1,ZodMAC:()=>C1,ZodMap:()=>r1,ZodNaN:()=>K6,ZodNanoID:()=>fY,ZodNever:()=>h1,ZodNonOptional:()=>W0,ZodNull:()=>j1,ZodNullable:()=>s1,ZodNumber:()=>tQ,ZodNumberFormat:()=>AQ,ZodObject:()=>sQ,ZodOptional:()=>H0,ZodPipe:()=>J0,ZodPrefault:()=>q6,ZodPromise:()=>A6,ZodReadonly:()=>B6,ZodRealError:()=>p,ZodRecord:()=>YY,ZodSet:()=>u1,ZodString:()=>uQ,ZodStringFormat:()=>S,ZodSuccess:()=>H6,ZodSymbol:()=>S1,ZodTemplateLiteral:()=>U6,ZodTransform:()=>a1,ZodTuple:()=>p1,ZodType:()=>D,ZodULID:()=>lY,ZodURL:()=>nQ,ZodUUID:()=>i,ZodUndefined:()=>z1,ZodUnion:()=>QY,ZodUnknown:()=>x1,ZodVoid:()=>g1,ZodXID:()=>pY,ZodXor:()=>f1,_ZodString:()=>hY,_default:()=>Y6,_function:()=>LY,any:()=>H9,array:()=>eQ,base64:()=>l2,base64url:()=>p2,bigint:()=>Q9,boolean:()=>T1,catch:()=>J6,check:()=>C9,cidrv4:()=>m2,cidrv6:()=>c2,clone:()=>u,codec:()=>Z9,coerce:()=>h9,config:()=>h,core:()=>a6,cuid:()=>j2,cuid2:()=>v2,custom:()=>k9,date:()=>J9,decode:()=>M2,decodeAsync:()=>P2,describe:()=>T9,discriminatedUnion:()=>F9,e164:()=>o2,email:()=>V2,emoji:()=>S2,encode:()=>A2,encodeAsync:()=>L2,endsWith:()=>TY,enum:()=>X0,exactOptional:()=>e1,file:()=>O9,flattenError:()=>b0,float32:()=>a2,float64:()=>i2,formatError:()=>C0,fromJSONSchema:()=>wK,function:()=>LY,getErrorMap:()=>KK,globalRegistry:()=>o,gt:()=>GQ,gte:()=>m,guid:()=>R2,hash:()=>t2,hex:()=>n2,hostname:()=>u2,httpUrl:()=>T2,includes:()=>CY,instanceof:()=>z9,int:()=>MY,int32:()=>e2,int64:()=>Y9,intersection:()=>l1,ipv4:()=>g2,ipv6:()=>f2,iso:()=>V1,json:()=>v9,jwt:()=>d2,keyof:()=>K9,ksuid:()=>h2,lazy:()=>F6,length:()=>dQ,literal:()=>E9,locales:()=>u0,looseObject:()=>U9,looseRecord:()=>M9,lowercase:()=>DY,lt:()=>XQ,lte:()=>d,mac:()=>y2,map:()=>L9,maxLength:()=>oQ,maxSize:()=>RQ,meta:()=>S9,mime:()=>SY,minLength:()=>NQ,minSize:()=>HQ,multipleOf:()=>$Q,nan:()=>R9,nanoid:()=>z2,nativeEnum:()=>$9,negative:()=>L1,never:()=>Q0,nonnegative:()=>$1,nonoptional:()=>G6,nonpositive:()=>P1,normalize:()=>zY,null:()=>v1,nullable:()=>jQ,nullish:()=>I9,number:()=>k1,object:()=>B9,optional:()=>zQ,overwrite:()=>YQ,parse:()=>N2,parseAsync:()=>U2,partialRecord:()=>A9,pipe:()=>vQ,positive:()=>M1,prefault:()=>X6,preprocess:()=>_9,prettifyError:()=>wq,promise:()=>b9,property:()=>E1,readonly:()=>N6,record:()=>d1,refine:()=>L6,regex:()=>ZY,regexes:()=>FQ,registry:()=>n0,safeDecode:()=>E2,safeDecodeAsync:()=>I2,safeEncode:()=>$2,safeEncodeAsync:()=>O2,safeParse:()=>w2,safeParseAsync:()=>F2,set:()=>P9,setErrorMap:()=>JK,size:()=>pQ,slugify:()=>xY,startsWith:()=>kY,strictObject:()=>N9,string:()=>AY,stringFormat:()=>r2,stringbool:()=>j9,success:()=>V9,superRefine:()=>P6,symbol:()=>X9,templateLiteral:()=>D9,toJSONSchema:()=>q2,toLowerCase:()=>vY,toUpperCase:()=>_Y,transform:()=>G0,treeifyError:()=>Nq,trim:()=>jY,tuple:()=>o1,uint32:()=>s2,uint64:()=>q9,ulid:()=>_2,undefined:()=>G9,union:()=>q0,unknown:()=>UQ,uppercase:()=>bY,url:()=>k2,util:()=>C,uuid:()=>Z2,uuidv4:()=>D2,uuidv6:()=>b2,uuidv7:()=>C2,void:()=>W9,xid:()=>x2,xor:()=>w9});var a6={};s(a6,{$ZodAny:()=>dX,$ZodArray:()=>aX,$ZodAsyncError:()=>KQ,$ZodBase64:()=>vX,$ZodBase64URL:()=>xX,$ZodBigInt:()=>p0,$ZodBigIntFormat:()=>cX,$ZodBoolean:()=>l0,$ZodCIDRv4:()=>zX,$ZodCIDRv6:()=>jX,$ZodCUID:()=>EX,$ZodCUID2:()=>OX,$ZodCatch:()=>PG,$ZodCheck:()=>j,$ZodCheckBigIntFormat:()=>tq,$ZodCheckEndsWith:()=>JX,$ZodCheckGreaterThan:()=>f0,$ZodCheckIncludes:()=>HX,$ZodCheckLengthEquals:()=>YX,$ZodCheckLessThan:()=>y0,$ZodCheckLowerCase:()=>XX,$ZodCheckMaxLength:()=>sq,$ZodCheckMaxSize:()=>aq,$ZodCheckMimeType:()=>BX,$ZodCheckMinLength:()=>QX,$ZodCheckMinSize:()=>iq,$ZodCheckMultipleOf:()=>uq,$ZodCheckNumberFormat:()=>nq,$ZodCheckOverwrite:()=>NX,$ZodCheckProperty:()=>KX,$ZodCheckRegex:()=>qX,$ZodCheckSizeEquals:()=>eq,$ZodCheckStartsWith:()=>WX,$ZodCheckStringFormat:()=>cQ,$ZodCheckUpperCase:()=>GX,$ZodCodec:()=>r0,$ZodCustom:()=>DG,$ZodCustomStringFormat:()=>fX,$ZodDate:()=>tX,$ZodDefault:()=>FG,$ZodDiscriminatedUnion:()=>qG,$ZodE164:()=>hX,$ZodEmail:()=>MX,$ZodEmoji:()=>PX,$ZodEncodeError:()=>$Y,$ZodEnum:()=>JG,$ZodError:()=>D0,$ZodExactOptional:()=>UG,$ZodFile:()=>BG,$ZodFunction:()=>VG,$ZodGUID:()=>FX,$ZodIPv4:()=>kX,$ZodIPv6:()=>TX,$ZodISODate:()=>DX,$ZodISODateTime:()=>ZX,$ZodISODuration:()=>CX,$ZodISOTime:()=>bX,$ZodIntersection:()=>XG,$ZodJWT:()=>yX,$ZodKSUID:()=>RX,$ZodLazy:()=>ZG,$ZodLiteral:()=>KG,$ZodMAC:()=>SX,$ZodMap:()=>HG,$ZodNaN:()=>$G,$ZodNanoID:()=>$X,$ZodNever:()=>uX,$ZodNonOptional:()=>MG,$ZodNull:()=>oX,$ZodNullable:()=>wG,$ZodNumber:()=>c0,$ZodNumberFormat:()=>mX,$ZodObject:()=>sX,$ZodObjectJIT:()=>QG,$ZodOptional:()=>d0,$ZodPipe:()=>EG,$ZodPrefault:()=>AG,$ZodPromise:()=>RG,$ZodReadonly:()=>OG,$ZodRealError:()=>l,$ZodRecord:()=>GG,$ZodRegistry:()=>zG,$ZodSet:()=>WG,$ZodString:()=>lQ,$ZodStringFormat:()=>T,$ZodSuccess:()=>LG,$ZodSymbol:()=>lX,$ZodTemplateLiteral:()=>IG,$ZodTransform:()=>NG,$ZodTuple:()=>o0,$ZodType:()=>Z,$ZodULID:()=>IX,$ZodURL:()=>LX,$ZodUUID:()=>AX,$ZodUndefined:()=>pX,$ZodUnion:()=>VY,$ZodUnknown:()=>rX,$ZodVoid:()=>nX,$ZodXID:()=>VX,$ZodXor:()=>YG,$brand:()=>e6,$constructor:()=>U,$input:()=>SG,$output:()=>TG,Doc:()=>UX,JSONSchema:()=>GK,JSONSchemaGenerator:()=>XK,NEVER:()=>i6,TimePrecision:()=>xG,_any:()=>q8,_array:()=>B8,_base64:()=>U1,_base64url:()=>w1,_bigint:()=>tG,_boolean:()=>uG,_catch:()=>aJ,_check:()=>A8,_cidrv4:()=>B1,_cidrv6:()=>N1,_coercedBigint:()=>aG,_coercedBoolean:()=>nG,_coercedDate:()=>J8,_coercedNumber:()=>cG,_coercedString:()=>vG,_cuid:()=>q1,_cuid2:()=>X1,_custom:()=>U8,_date:()=>W8,_decode:()=>T0,_decodeAsync:()=>z0,_default:()=>uJ,_discriminatedUnion:()=>xJ,_e164:()=>F1,_email:()=>t0,_emoji:()=>Q1,_encode:()=>k0,_encodeAsync:()=>S0,_endsWith:()=>TY,_enum:()=>cJ,_file:()=>N8,_float32:()=>pG,_float64:()=>oG,_gt:()=>GQ,_gte:()=>m,_guid:()=>FY,_includes:()=>CY,_int:()=>lG,_int32:()=>dG,_int64:()=>iG,_intersection:()=>hJ,_ipv4:()=>J1,_ipv6:()=>K1,_isoDate:()=>gG,_isoDateTime:()=>hG,_isoDuration:()=>fG,_isoTime:()=>yG,_jwt:()=>A1,_ksuid:()=>W1,_lazy:()=>QK,_length:()=>dQ,_literal:()=>pJ,_lowercase:()=>DY,_lt:()=>XQ,_lte:()=>d,_mac:()=>_G,_map:()=>fJ,_max:()=>d,_maxLength:()=>oQ,_maxSize:()=>RQ,_mime:()=>SY,_min:()=>m,_minLength:()=>NQ,_minSize:()=>HQ,_multipleOf:()=>$Q,_nan:()=>K8,_nanoid:()=>Y1,_nativeEnum:()=>lJ,_negative:()=>L1,_never:()=>G8,_nonnegative:()=>$1,_nonoptional:()=>nJ,_nonpositive:()=>P1,_normalize:()=>zY,_null:()=>Y8,_nullable:()=>rJ,_number:()=>mG,_optional:()=>dJ,_overwrite:()=>YQ,_parse:()=>xQ,_parseAsync:()=>hQ,_pipe:()=>iJ,_positive:()=>M1,_promise:()=>YK,_property:()=>E1,_readonly:()=>eJ,_record:()=>yJ,_refine:()=>w8,_regex:()=>ZY,_safeDecode:()=>v0,_safeDecodeAsync:()=>x0,_safeEncode:()=>j0,_safeEncodeAsync:()=>_0,_safeParse:()=>gQ,_safeParseAsync:()=>yQ,_set:()=>mJ,_size:()=>pQ,_slugify:()=>xY,_startsWith:()=>kY,_string:()=>jG,_stringFormat:()=>rQ,_stringbool:()=>P8,_success:()=>tJ,_superRefine:()=>F8,_symbol:()=>sG,_templateLiteral:()=>sJ,_toLowerCase:()=>vY,_toUpperCase:()=>_Y,_transform:()=>oJ,_trim:()=>jY,_tuple:()=>gJ,_uint32:()=>rG,_uint64:()=>eG,_ulid:()=>G1,_undefined:()=>Q8,_union:()=>vJ,_unknown:()=>X8,_uppercase:()=>bY,_url:()=>RY,_uuid:()=>a0,_uuidv4:()=>i0,_uuidv6:()=>e0,_uuidv7:()=>s0,_void:()=>H8,_xid:()=>H1,_xor:()=>_J,clone:()=>u,config:()=>h,createStandardJSONSchemaMethod:()=>TQ,createToJSONSchemaMethod:()=>$8,decode:()=>AH,decodeAsync:()=>LH,describe:()=>M8,encode:()=>FH,encodeAsync:()=>MH,extractDefs:()=>OQ,finalize:()=>IQ,flattenError:()=>b0,formatError:()=>C0,globalConfig:()=>KY,globalRegistry:()=>o,initializeContext:()=>EQ,isValidBase64:()=>m0,isValidBase64URL:()=>_X,isValidJWT:()=>gX,locales:()=>u0,meta:()=>L8,parse:()=>$0,parseAsync:()=>E0,prettifyError:()=>wq,process:()=>k,regexes:()=>FQ,registry:()=>n0,safeDecode:()=>$H,safeDecodeAsync:()=>OH,safeEncode:()=>PH,safeEncodeAsync:()=>EH,safeParse:()=>Fq,safeParseAsync:()=>Aq,toDotPath:()=>Uq,toJSONSchema:()=>q2,treeifyError:()=>Nq,util:()=>C,version:()=>wX});var i6=Object.freeze({status:"aborted"});function U(Q,q,G){function H(J,K){if(!J._zod)Object.defineProperty(J,"_zod",{value:{def:K,constr:W,traits:new Set},enumerable:!1});if(J._zod.traits.has(Q))return;J._zod.traits.add(Q),q(J,K);let B=W.prototype,N=Object.keys(B);for(let w=0;w<N.length;w++){let L=N[w];if(!(L in J))J[L]=B[L].bind(J)}}let Y=G?.Parent??Object;class X extends Y{}Object.defineProperty(X,"name",{value:Q});function W(J){var K;let B=G?.Parent?new X:this;H(B,J),(K=B._zod).deferred??(K.deferred=[]);for(let N of B._zod.deferred)N();return B}return Object.defineProperty(W,"init",{value:H}),Object.defineProperty(W,Symbol.hasInstance,{value:(J)=>{if(G?.Parent&&J instanceof G.Parent)return!0;return J?._zod?.traits?.has(Q)}}),Object.defineProperty(W,"name",{value:Q}),W}var e6=Symbol("zod_brand"),KQ=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},$Y=class extends Error{constructor(Q){super(`Encountered unidirectional transform during encode: ${Q}`);this.name="ZodEncodeError"}},KY={};function h(Q){if(Q)Object.assign(KY,Q);return KY}var C={};s(C,{BIGINT_FORMAT_RANGES:()=>Wq,Class:()=>wH,NUMBER_FORMAT_RANGES:()=>Hq,aborted:()=>JQ,allowsEval:()=>Yq,assert:()=>d9,assertEqual:()=>c9,assertIs:()=>p9,assertNever:()=>o9,assertNotEqual:()=>l9,assignProp:()=>WQ,base64ToUint8Array:()=>Jq,base64urlToUint8Array:()=>KH,cached:()=>_Q,captureStackTrace:()=>Z0,cleanEnum:()=>JH,cleanRegex:()=>EY,clone:()=>u,cloneDef:()=>u9,createTransparentProxy:()=>s9,defineLazy:()=>b,esc:()=>P0,escapeRegex:()=>e,extend:()=>qH,finalizeIssue:()=>r,floatSafeRemainder:()=>s6,getElementAtPath:()=>n9,getEnumValues:()=>R0,getLengthableOrigin:()=>IY,getParsedType:()=>e9,getSizableOrigin:()=>OY,hexToUint8Array:()=>NH,isObject:()=>LQ,isPlainObject:()=>BQ,issue:()=>UY,joinValues:()=>M,jsonStringifyReplacer:()=>BY,merge:()=>GH,mergeDefs:()=>QQ,normalizeParams:()=>P,nullish:()=>wQ,numKeys:()=>i9,objectClone:()=>r9,omit:()=>YH,optionalKeys:()=>Gq,parsedType:()=>V,partial:()=>HH,pick:()=>QH,prefixIssues:()=>a,primitiveTypes:()=>Xq,promiseAllObject:()=>t9,propertyKeyTypes:()=>NY,randomString:()=>a9,required:()=>WH,safeExtend:()=>XH,shallowClone:()=>qq,slugify:()=>Qq,stringifyPrimitive:()=>I,uint8ArrayToBase64:()=>Kq,uint8ArrayToBase64url:()=>BH,uint8ArrayToHex:()=>UH,unwrapMessage:()=>kQ});function c9(Q){return Q}function l9(Q){return Q}function p9(Q){}function o9(Q){throw Error("Unexpected value in exhaustive check")}function d9(Q){}function R0(Q){let q=Object.values(Q).filter((H)=>typeof H==="number");return Object.entries(Q).filter(([H,Y])=>q.indexOf(+H)===-1).map(([H,Y])=>Y)}function M(Q,q="|"){return Q.map((G)=>I(G)).join(q)}function BY(Q,q){if(typeof q==="bigint")return q.toString();return q}function _Q(Q){return{get value(){{let G=Q();return Object.defineProperty(this,"value",{value:G}),G}throw Error("cached value already set")}}}function wQ(Q){return Q===null||Q===void 0}function EY(Q){let q=Q.startsWith("^")?1:0,G=Q.endsWith("$")?Q.length-1:Q.length;return Q.slice(q,G)}function s6(Q,q){let G=(Q.toString().split(".")[1]||"").length,H=q.toString(),Y=(H.split(".")[1]||"").length;if(Y===0&&/\d?e-\d?/.test(H)){let K=H.match(/\d?e-(\d?)/);if(K?.[1])Y=Number.parseInt(K[1])}let X=G>Y?G:Y,W=Number.parseInt(Q.toFixed(X).replace(".","")),J=Number.parseInt(q.toFixed(X).replace(".",""));return W%J/10**X}var E6=Symbol("evaluating");function b(Q,q,G){let H=void 0;Object.defineProperty(Q,q,{get(){if(H===E6)return;if(H===void 0)H=E6,H=G();return H},set(Y){Object.defineProperty(Q,q,{value:Y})},configurable:!0})}function r9(Q){return Object.create(Object.getPrototypeOf(Q),Object.getOwnPropertyDescriptors(Q))}function WQ(Q,q,G){Object.defineProperty(Q,q,{value:G,writable:!0,enumerable:!0,configurable:!0})}function QQ(...Q){let q={};for(let G of Q){let H=Object.getOwnPropertyDescriptors(G);Object.assign(q,H)}return Object.defineProperties({},q)}function u9(Q){return QQ(Q._zod.def)}function n9(Q,q){if(!q)return Q;return q.reduce((G,H)=>G?.[H],Q)}function t9(Q){let q=Object.keys(Q),G=q.map((H)=>Q[H]);return Promise.all(G).then((H)=>{let Y={};for(let X=0;X<q.length;X++)Y[q[X]]=H[X];return Y})}function a9(Q=10){let G="";for(let H=0;H<Q;H++)G+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return G}function P0(Q){return JSON.stringify(Q)}function Qq(Q){return Q.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Z0="captureStackTrace"in Error?Error.captureStackTrace:(...Q)=>{};function LQ(Q){return typeof Q==="object"&&Q!==null&&!Array.isArray(Q)}var Yq=_Q(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(Q){return!1}});function BQ(Q){if(LQ(Q)===!1)return!1;let q=Q.constructor;if(q===void 0)return!0;if(typeof q!=="function")return!0;let G=q.prototype;if(LQ(G)===!1)return!1;if(Object.prototype.hasOwnProperty.call(G,"isPrototypeOf")===!1)return!1;return!0}function qq(Q){if(BQ(Q))return{...Q};if(Array.isArray(Q))return[...Q];return Q}function i9(Q){let q=0;for(let G in Q)if(Object.prototype.hasOwnProperty.call(Q,G))q++;return q}var e9=(Q)=>{let q=typeof Q;switch(q){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(Q)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(Q))return"array";if(Q===null)return"null";if(Q.then&&typeof Q.then==="function"&&Q.catch&&typeof Q.catch==="function")return"promise";if(typeof Map<"u"&&Q instanceof Map)return"map";if(typeof Set<"u"&&Q instanceof Set)return"set";if(typeof Date<"u"&&Q instanceof Date)return"date";if(typeof File<"u"&&Q instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${q}`)}},NY=new Set(["string","number","symbol"]),Xq=new Set(["string","number","bigint","boolean","symbol","undefined"]);function e(Q){return Q.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function u(Q,q,G){let H=new Q._zod.constr(q??Q._zod.def);if(!q||G?.parent)H._zod.parent=Q;return H}function P(Q){let q=Q;if(!q)return{};if(typeof q==="string")return{error:()=>q};if(q?.message!==void 0){if(q?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");q.error=q.message}if(delete q.message,typeof q.error==="string")return{...q,error:()=>q.error};return q}function s9(Q){let q;return new Proxy({},{get(G,H,Y){return q??(q=Q()),Reflect.get(q,H,Y)},set(G,H,Y,X){return q??(q=Q()),Reflect.set(q,H,Y,X)},has(G,H){return q??(q=Q()),Reflect.has(q,H)},deleteProperty(G,H){return q??(q=Q()),Reflect.deleteProperty(q,H)},ownKeys(G){return q??(q=Q()),Reflect.ownKeys(q)},getOwnPropertyDescriptor(G,H){return q??(q=Q()),Reflect.getOwnPropertyDescriptor(q,H)},defineProperty(G,H,Y){return q??(q=Q()),Reflect.defineProperty(q,H,Y)}})}function I(Q){if(typeof Q==="bigint")return Q.toString()+"n";if(typeof Q==="string")return`"${Q}"`;return`${Q}`}function Gq(Q){return Object.keys(Q).filter((q)=>{return Q[q]._zod.optin==="optional"&&Q[q]._zod.optout==="optional"})}var Hq={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Wq={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function QH(Q,q){let G=Q._zod.def,H=G.checks;if(H&&H.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let X=QQ(Q._zod.def,{get shape(){let W={};for(let J in q){if(!(J in G.shape))throw Error(`Unrecognized key: "${J}"`);if(!q[J])continue;W[J]=G.shape[J]}return WQ(this,"shape",W),W},checks:[]});return u(Q,X)}function YH(Q,q){let G=Q._zod.def,H=G.checks;if(H&&H.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let X=QQ(Q._zod.def,{get shape(){let W={...Q._zod.def.shape};for(let J in q){if(!(J in G.shape))throw Error(`Unrecognized key: "${J}"`);if(!q[J])continue;delete W[J]}return WQ(this,"shape",W),W},checks:[]});return u(Q,X)}function qH(Q,q){if(!BQ(q))throw Error("Invalid input to extend: expected a plain object");let G=Q._zod.def.checks;if(G&&G.length>0){let X=Q._zod.def.shape;for(let W in q)if(Object.getOwnPropertyDescriptor(X,W)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let Y=QQ(Q._zod.def,{get shape(){let X={...Q._zod.def.shape,...q};return WQ(this,"shape",X),X}});return u(Q,Y)}function XH(Q,q){if(!BQ(q))throw Error("Invalid input to safeExtend: expected a plain object");let G=QQ(Q._zod.def,{get shape(){let H={...Q._zod.def.shape,...q};return WQ(this,"shape",H),H}});return u(Q,G)}function GH(Q,q){let G=QQ(Q._zod.def,{get shape(){let H={...Q._zod.def.shape,...q._zod.def.shape};return WQ(this,"shape",H),H},get catchall(){return q._zod.def.catchall},checks:[]});return u(Q,G)}function HH(Q,q,G){let Y=q._zod.def.checks;if(Y&&Y.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let W=QQ(q._zod.def,{get shape(){let J=q._zod.def.shape,K={...J};if(G)for(let B in G){if(!(B in J))throw Error(`Unrecognized key: "${B}"`);if(!G[B])continue;K[B]=Q?new Q({type:"optional",innerType:J[B]}):J[B]}else for(let B in J)K[B]=Q?new Q({type:"optional",innerType:J[B]}):J[B];return WQ(this,"shape",K),K},checks:[]});return u(q,W)}function WH(Q,q,G){let H=QQ(q._zod.def,{get shape(){let Y=q._zod.def.shape,X={...Y};if(G)for(let W in G){if(!(W in X))throw Error(`Unrecognized key: "${W}"`);if(!G[W])continue;X[W]=new Q({type:"nonoptional",innerType:Y[W]})}else for(let W in Y)X[W]=new Q({type:"nonoptional",innerType:Y[W]});return WQ(this,"shape",X),X}});return u(q,H)}function JQ(Q,q=0){if(Q.aborted===!0)return!0;for(let G=q;G<Q.issues.length;G++)if(Q.issues[G]?.continue!==!0)return!0;return!1}function a(Q,q){return q.map((G)=>{var H;return(H=G).path??(H.path=[]),G.path.unshift(Q),G})}function kQ(Q){return typeof Q==="string"?Q:Q?.message}function r(Q,q,G){let H={...Q,path:Q.path??[]};if(!Q.message){let Y=kQ(Q.inst?._zod.def?.error?.(Q))??kQ(q?.error?.(Q))??kQ(G.customError?.(Q))??kQ(G.localeError?.(Q))??"Invalid input";H.message=Y}if(delete H.inst,delete H.continue,!q?.reportInput)delete H.input;return H}function OY(Q){if(Q instanceof Set)return"set";if(Q instanceof Map)return"map";if(Q instanceof File)return"file";return"unknown"}function IY(Q){if(Array.isArray(Q))return"array";if(typeof Q==="string")return"string";return"unknown"}function V(Q){let q=typeof Q;switch(q){case"number":return Number.isNaN(Q)?"nan":"number";case"object":{if(Q===null)return"null";if(Array.isArray(Q))return"array";let G=Q;if(G&&Object.getPrototypeOf(G)!==Object.prototype&&"constructor"in G&&G.constructor)return G.constructor.name}}return q}function UY(...Q){let[q,G,H]=Q;if(typeof q==="string")return{message:q,code:"custom",input:G,inst:H};return{...q}}function JH(Q){return Object.entries(Q).filter(([q,G])=>{return Number.isNaN(Number.parseInt(q,10))}).map((q)=>q[1])}function Jq(Q){let q=atob(Q),G=new Uint8Array(q.length);for(let H=0;H<q.length;H++)G[H]=q.charCodeAt(H);return G}function Kq(Q){let q="";for(let G=0;G<Q.length;G++)q+=String.fromCharCode(Q[G]);return btoa(q)}function KH(Q){let q=Q.replace(/-/g,"+").replace(/_/g,"/"),G="=".repeat((4-q.length%4)%4);return Jq(q+G)}function BH(Q){return Kq(Q).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function NH(Q){let q=Q.replace(/^0x/,"");if(q.length%2!==0)throw Error("Invalid hex string length");let G=new Uint8Array(q.length/2);for(let H=0;H<q.length;H+=2)G[H/2]=Number.parseInt(q.slice(H,H+2),16);return G}function UH(Q){return Array.from(Q).map((q)=>q.toString(16).padStart(2,"0")).join("")}var wH=class{constructor(...Q){}},Bq=(Q,q)=>{Q.name="$ZodError",Object.defineProperty(Q,"_zod",{value:Q._zod,enumerable:!1}),Object.defineProperty(Q,"issues",{value:q,enumerable:!1}),Q.message=JSON.stringify(q,BY,2),Object.defineProperty(Q,"toString",{value:()=>Q.message,enumerable:!1})},D0=U("$ZodError",Bq),l=U("$ZodError",Bq,{Parent:Error});function b0(Q,q=(G)=>G.message){let G={},H=[];for(let Y of Q.issues)if(Y.path.length>0)G[Y.path[0]]=G[Y.path[0]]||[],G[Y.path[0]].push(q(Y));else H.push(q(Y));return{formErrors:H,fieldErrors:G}}function C0(Q,q=(G)=>G.message){let G={_errors:[]},H=(Y)=>{for(let X of Y.issues)if(X.code==="invalid_union"&&X.errors.length)X.errors.map((W)=>H({issues:W}));else if(X.code==="invalid_key")H({issues:X.issues});else if(X.code==="invalid_element")H({issues:X.issues});else if(X.path.length===0)G._errors.push(q(X));else{let W=G,J=0;while(J<X.path.length){let K=X.path[J];if(J!==X.path.length-1)W[K]=W[K]||{_errors:[]};else W[K]=W[K]||{_errors:[]},W[K]._errors.push(q(X));W=W[K],J++}}};return H(Q),G}function Nq(Q,q=(G)=>G.message){let G={errors:[]},H=(Y,X=[])=>{var W,J;for(let K of Y.issues)if(K.code==="invalid_union"&&K.errors.length)K.errors.map((B)=>H({issues:B},K.path));else if(K.code==="invalid_key")H({issues:K.issues},K.path);else if(K.code==="invalid_element")H({issues:K.issues},K.path);else{let B=[...X,...K.path];if(B.length===0){G.errors.push(q(K));continue}let N=G,w=0;while(w<B.length){let L=B[w],A=w===B.length-1;if(typeof L==="string")N.properties??(N.properties={}),(W=N.properties)[L]??(W[L]={errors:[]}),N=N.properties[L];else N.items??(N.items=[]),(J=N.items)[L]??(J[L]={errors:[]}),N=N.items[L];if(A)N.errors.push(q(K));w++}}};return H(Q),G}function Uq(Q){let q=[],G=Q.map((H)=>typeof H==="object"?H.key:H);for(let H of G)if(typeof H==="number")q.push(`[${H}]`);else if(typeof H==="symbol")q.push(`[${JSON.stringify(String(H))}]`);else if(/[^\w$]/.test(H))q.push(`[${JSON.stringify(H)}]`);else{if(q.length)q.push(".");q.push(H)}return q.join("")}function wq(Q){let q=[],G=[...Q.issues].sort((H,Y)=>(H.path??[]).length-(Y.path??[]).length);for(let H of G)if(q.push(`\u2716 ${H.message}`),H.path?.length)q.push(` \u2192 at ${Uq(H.path)}`);return q.join(`
3
3
  `)}var xQ=(Q)=>(q,G,H,Y)=>{let X=H?Object.assign(H,{async:!1}):{async:!1},W=q._zod.run({value:G,issues:[]},X);if(W instanceof Promise)throw new KQ;if(W.issues.length){let J=new(Y?.Err??Q)(W.issues.map((K)=>r(K,X,h())));throw Z0(J,Y?.callee),J}return W.value},$0=xQ(l),hQ=(Q)=>async(q,G,H,Y)=>{let X=H?Object.assign(H,{async:!0}):{async:!0},W=q._zod.run({value:G,issues:[]},X);if(W instanceof Promise)W=await W;if(W.issues.length){let J=new(Y?.Err??Q)(W.issues.map((K)=>r(K,X,h())));throw Z0(J,Y?.callee),J}return W.value},E0=hQ(l),gQ=(Q)=>(q,G,H)=>{let Y=H?{...H,async:!1}:{async:!1},X=q._zod.run({value:G,issues:[]},Y);if(X instanceof Promise)throw new KQ;return X.issues.length?{success:!1,error:new(Q??D0)(X.issues.map((W)=>r(W,Y,h())))}:{success:!0,data:X.value}},Fq=gQ(l),yQ=(Q)=>async(q,G,H)=>{let Y=H?Object.assign(H,{async:!0}):{async:!0},X=q._zod.run({value:G,issues:[]},Y);if(X instanceof Promise)X=await X;return X.issues.length?{success:!1,error:new Q(X.issues.map((W)=>r(W,Y,h())))}:{success:!0,data:X.value}},Aq=yQ(l),k0=(Q)=>(q,G,H)=>{let Y=H?Object.assign(H,{direction:"backward"}):{direction:"backward"};return xQ(Q)(q,G,Y)},FH=k0(l),T0=(Q)=>(q,G,H)=>{return xQ(Q)(q,G,H)},AH=T0(l),S0=(Q)=>async(q,G,H)=>{let Y=H?Object.assign(H,{direction:"backward"}):{direction:"backward"};return hQ(Q)(q,G,Y)},MH=S0(l),z0=(Q)=>async(q,G,H)=>{return hQ(Q)(q,G,H)},LH=z0(l),j0=(Q)=>(q,G,H)=>{let Y=H?Object.assign(H,{direction:"backward"}):{direction:"backward"};return gQ(Q)(q,G,Y)},PH=j0(l),v0=(Q)=>(q,G,H)=>{return gQ(Q)(q,G,H)},$H=v0(l),_0=(Q)=>async(q,G,H)=>{let Y=H?Object.assign(H,{direction:"backward"}):{direction:"backward"};return yQ(Q)(q,G,Y)},EH=_0(l),x0=(Q)=>async(q,G,H)=>{return yQ(Q)(q,G,H)},OH=x0(l),FQ={};s(FQ,{base64:()=>zq,base64url:()=>h0,bigint:()=>fq,boolean:()=>cq,browserEmail:()=>kH,cidrv4:()=>Tq,cidrv6:()=>Sq,cuid:()=>Mq,cuid2:()=>Lq,date:()=>_q,datetime:()=>gq,domain:()=>zH,duration:()=>Iq,e164:()=>jq,email:()=>Rq,emoji:()=>Dq,extendedDuration:()=>IH,guid:()=>Vq,hex:()=>jH,hostname:()=>SH,html5Email:()=>DH,idnEmail:()=>CH,integer:()=>mq,ipv4:()=>bq,ipv6:()=>Cq,ksuid:()=>Eq,lowercase:()=>oq,mac:()=>kq,md5_base64:()=>_H,md5_base64url:()=>xH,md5_hex:()=>vH,nanoid:()=>Oq,null:()=>lq,number:()=>g0,rfc5322Email:()=>bH,sha1_base64:()=>gH,sha1_base64url:()=>yH,sha1_hex:()=>hH,sha256_base64:()=>mH,sha256_base64url:()=>cH,sha256_hex:()=>fH,sha384_base64:()=>pH,sha384_base64url:()=>oH,sha384_hex:()=>lH,sha512_base64:()=>rH,sha512_base64url:()=>uH,sha512_hex:()=>dH,string:()=>yq,time:()=>hq,ulid:()=>Pq,undefined:()=>pq,unicodeEmail:()=>Zq,uppercase:()=>dq,uuid:()=>PQ,uuid4:()=>VH,uuid6:()=>RH,uuid7:()=>ZH,xid:()=>$q});var Mq=/^[cC][^\s-]{8,}$/,Lq=/^[0-9a-z]+$/,Pq=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$q=/^[0-9a-vA-V]{20}$/,Eq=/^[A-Za-z0-9]{27}$/,Oq=/^[a-zA-Z0-9_-]{21}$/,Iq=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,IH=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Vq=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,PQ=(Q)=>{if(!Q)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${Q}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},VH=PQ(4),RH=PQ(6),ZH=PQ(7),Rq=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,DH=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,bH=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Zq=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,CH=Zq,kH=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,TH="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Dq(){return new RegExp(TH,"u")}var bq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Cq=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,kq=(Q)=>{let q=e(Q??":");return new RegExp(`^(?:[0-9A-F]{2}${q}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${q}){5}[0-9a-f]{2}$`)},Tq=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Sq=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,zq=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,h0=/^[A-Za-z0-9_-]*$/,SH=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,zH=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,jq=/^\+[1-9]\d{6,14}$/,vq="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",_q=new RegExp(`^${vq}$`);function xq(Q){return typeof Q.precision==="number"?Q.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":Q.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${Q.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function hq(Q){return new RegExp(`^${xq(Q)}$`)}function gq(Q){let q=xq({precision:Q.precision}),G=["Z"];if(Q.local)G.push("");if(Q.offset)G.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let H=`${q}(?:${G.join("|")})`;return new RegExp(`^${vq}T(?:${H})$`)}var yq=(Q)=>{let q=Q?`[\\s\\S]{${Q?.minimum??0},${Q?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${q}$`)},fq=/^-?\d+n?$/,mq=/^-?\d+$/,g0=/^-?\d+(?:\.\d+)?$/,cq=/^(?:true|false)$/i,lq=/^null$/i,pq=/^undefined$/i,oq=/^[^A-Z]*$/,dq=/^[^a-z]*$/,jH=/^[0-9a-fA-F]*$/;function fQ(Q,q){return new RegExp(`^[A-Za-z0-9+/]{${Q}}${q}$`)}function mQ(Q){return new RegExp(`^[A-Za-z0-9_-]{${Q}}$`)}var vH=/^[0-9a-fA-F]{32}$/,_H=fQ(22,"=="),xH=mQ(22),hH=/^[0-9a-fA-F]{40}$/,gH=fQ(27,"="),yH=mQ(27),fH=/^[0-9a-fA-F]{64}$/,mH=fQ(43,"="),cH=mQ(43),lH=/^[0-9a-fA-F]{96}$/,pH=fQ(64,""),oH=mQ(64),dH=/^[0-9a-fA-F]{128}$/,rH=fQ(86,"=="),uH=mQ(86),j=U("$ZodCheck",(Q,q)=>{var G;Q._zod??(Q._zod={}),Q._zod.def=q,(G=Q._zod).onattach??(G.onattach=[])}),rq={number:"number",bigint:"bigint",object:"date"},y0=U("$ZodCheckLessThan",(Q,q)=>{j.init(Q,q);let G=rq[typeof q.value];Q._zod.onattach.push((H)=>{let Y=H._zod.bag,X=(q.inclusive?Y.maximum:Y.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(q.value<X)if(q.inclusive)Y.maximum=q.value;else Y.exclusiveMaximum=q.value}),Q._zod.check=(H)=>{if(q.inclusive?H.value<=q.value:H.value<q.value)return;H.issues.push({origin:G,code:"too_big",maximum:typeof q.value==="object"?q.value.getTime():q.value,input:H.value,inclusive:q.inclusive,inst:Q,continue:!q.abort})}}),f0=U("$ZodCheckGreaterThan",(Q,q)=>{j.init(Q,q);let G=rq[typeof q.value];Q._zod.onattach.push((H)=>{let Y=H._zod.bag,X=(q.inclusive?Y.minimum:Y.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(q.value>X)if(q.inclusive)Y.minimum=q.value;else Y.exclusiveMinimum=q.value}),Q._zod.check=(H)=>{if(q.inclusive?H.value>=q.value:H.value>q.value)return;H.issues.push({origin:G,code:"too_small",minimum:typeof q.value==="object"?q.value.getTime():q.value,input:H.value,inclusive:q.inclusive,inst:Q,continue:!q.abort})}}),uq=U("$ZodCheckMultipleOf",(Q,q)=>{j.init(Q,q),Q._zod.onattach.push((G)=>{var H;(H=G._zod.bag).multipleOf??(H.multipleOf=q.value)}),Q._zod.check=(G)=>{if(typeof G.value!==typeof q.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof G.value==="bigint"?G.value%q.value===BigInt(0):s6(G.value,q.value)===0)return;G.issues.push({origin:typeof G.value,code:"not_multiple_of",divisor:q.value,input:G.value,inst:Q,continue:!q.abort})}}),nq=U("$ZodCheckNumberFormat",(Q,q)=>{j.init(Q,q),q.format=q.format||"float64";let G=q.format?.includes("int"),H=G?"int":"number",[Y,X]=Hq[q.format];Q._zod.onattach.push((W)=>{let J=W._zod.bag;if(J.format=q.format,J.minimum=Y,J.maximum=X,G)J.pattern=mq}),Q._zod.check=(W)=>{let J=W.value;if(G){if(!Number.isInteger(J)){W.issues.push({expected:H,format:q.format,code:"invalid_type",continue:!1,input:J,inst:Q});return}if(!Number.isSafeInteger(J)){if(J>0)W.issues.push({input:J,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:Q,origin:H,inclusive:!0,continue:!q.abort});else W.issues.push({input:J,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:Q,origin:H,inclusive:!0,continue:!q.abort});return}}if(J<Y)W.issues.push({origin:"number",input:J,code:"too_small",minimum:Y,inclusive:!0,inst:Q,continue:!q.abort});if(J>X)W.issues.push({origin:"number",input:J,code:"too_big",maximum:X,inclusive:!0,inst:Q,continue:!q.abort})}}),tq=U("$ZodCheckBigIntFormat",(Q,q)=>{j.init(Q,q);let[G,H]=Wq[q.format];Q._zod.onattach.push((Y)=>{let X=Y._zod.bag;X.format=q.format,X.minimum=G,X.maximum=H}),Q._zod.check=(Y)=>{let X=Y.value;if(X<G)Y.issues.push({origin:"bigint",input:X,code:"too_small",minimum:G,inclusive:!0,inst:Q,continue:!q.abort});if(X>H)Y.issues.push({origin:"bigint",input:X,code:"too_big",maximum:H,inclusive:!0,inst:Q,continue:!q.abort})}}),aq=U("$ZodCheckMaxSize",(Q,q)=>{var G;j.init(Q,q),(G=Q._zod.def).when??(G.when=(H)=>{let Y=H.value;return!wQ(Y)&&Y.size!==void 0}),Q._zod.onattach.push((H)=>{let Y=H._zod.bag.maximum??Number.POSITIVE_INFINITY;if(q.maximum<Y)H._zod.bag.maximum=q.maximum}),Q._zod.check=(H)=>{let Y=H.value;if(Y.size<=q.maximum)return;H.issues.push({origin:OY(Y),code:"too_big",maximum:q.maximum,inclusive:!0,input:Y,inst:Q,continue:!q.abort})}}),iq=U("$ZodCheckMinSize",(Q,q)=>{var G;j.init(Q,q),(G=Q._zod.def).when??(G.when=(H)=>{let Y=H.value;return!wQ(Y)&&Y.size!==void 0}),Q._zod.onattach.push((H)=>{let Y=H._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(q.minimum>Y)H._zod.bag.minimum=q.minimum}),Q._zod.check=(H)=>{let Y=H.value;if(Y.size>=q.minimum)return;H.issues.push({origin:OY(Y),code:"too_small",minimum:q.minimum,inclusive:!0,input:Y,inst:Q,continue:!q.abort})}}),eq=U("$ZodCheckSizeEquals",(Q,q)=>{var G;j.init(Q,q),(G=Q._zod.def).when??(G.when=(H)=>{let Y=H.value;return!wQ(Y)&&Y.size!==void 0}),Q._zod.onattach.push((H)=>{let Y=H._zod.bag;Y.minimum=q.size,Y.maximum=q.size,Y.size=q.size}),Q._zod.check=(H)=>{let Y=H.value,X=Y.size;if(X===q.size)return;let W=X>q.size;H.issues.push({origin:OY(Y),...W?{code:"too_big",maximum:q.size}:{code:"too_small",minimum:q.size},inclusive:!0,exact:!0,input:H.value,inst:Q,continue:!q.abort})}}),sq=U("$ZodCheckMaxLength",(Q,q)=>{var G;j.init(Q,q),(G=Q._zod.def).when??(G.when=(H)=>{let Y=H.value;return!wQ(Y)&&Y.length!==void 0}),Q._zod.onattach.push((H)=>{let Y=H._zod.bag.maximum??Number.POSITIVE_INFINITY;if(q.maximum<Y)H._zod.bag.maximum=q.maximum}),Q._zod.check=(H)=>{let Y=H.value;if(Y.length<=q.maximum)return;let W=IY(Y);H.issues.push({origin:W,code:"too_big",maximum:q.maximum,inclusive:!0,input:Y,inst:Q,continue:!q.abort})}}),QX=U("$ZodCheckMinLength",(Q,q)=>{var G;j.init(Q,q),(G=Q._zod.def).when??(G.when=(H)=>{let Y=H.value;return!wQ(Y)&&Y.length!==void 0}),Q._zod.onattach.push((H)=>{let Y=H._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(q.minimum>Y)H._zod.bag.minimum=q.minimum}),Q._zod.check=(H)=>{let Y=H.value;if(Y.length>=q.minimum)return;let W=IY(Y);H.issues.push({origin:W,code:"too_small",minimum:q.minimum,inclusive:!0,input:Y,inst:Q,continue:!q.abort})}}),YX=U("$ZodCheckLengthEquals",(Q,q)=>{var G;j.init(Q,q),(G=Q._zod.def).when??(G.when=(H)=>{let Y=H.value;return!wQ(Y)&&Y.length!==void 0}),Q._zod.onattach.push((H)=>{let Y=H._zod.bag;Y.minimum=q.length,Y.maximum=q.length,Y.length=q.length}),Q._zod.check=(H)=>{let Y=H.value,X=Y.length;if(X===q.length)return;let W=IY(Y),J=X>q.length;H.issues.push({origin:W,...J?{code:"too_big",maximum:q.length}:{code:"too_small",minimum:q.length},inclusive:!0,exact:!0,input:H.value,inst:Q,continue:!q.abort})}}),cQ=U("$ZodCheckStringFormat",(Q,q)=>{var G,H;if(j.init(Q,q),Q._zod.onattach.push((Y)=>{let X=Y._zod.bag;if(X.format=q.format,q.pattern)X.patterns??(X.patterns=new Set),X.patterns.add(q.pattern)}),q.pattern)(G=Q._zod).check??(G.check=(Y)=>{if(q.pattern.lastIndex=0,q.pattern.test(Y.value))return;Y.issues.push({origin:"string",code:"invalid_format",format:q.format,input:Y.value,...q.pattern?{pattern:q.pattern.toString()}:{},inst:Q,continue:!q.abort})});else(H=Q._zod).check??(H.check=()=>{})}),qX=U("$ZodCheckRegex",(Q,q)=>{cQ.init(Q,q),Q._zod.check=(G)=>{if(q.pattern.lastIndex=0,q.pattern.test(G.value))return;G.issues.push({origin:"string",code:"invalid_format",format:"regex",input:G.value,pattern:q.pattern.toString(),inst:Q,continue:!q.abort})}}),XX=U("$ZodCheckLowerCase",(Q,q)=>{q.pattern??(q.pattern=oq),cQ.init(Q,q)}),GX=U("$ZodCheckUpperCase",(Q,q)=>{q.pattern??(q.pattern=dq),cQ.init(Q,q)}),HX=U("$ZodCheckIncludes",(Q,q)=>{j.init(Q,q);let G=e(q.includes),H=new RegExp(typeof q.position==="number"?`^.{${q.position}}${G}`:G);q.pattern=H,Q._zod.onattach.push((Y)=>{let X=Y._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(H)}),Q._zod.check=(Y)=>{if(Y.value.includes(q.includes,q.position))return;Y.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:q.includes,input:Y.value,inst:Q,continue:!q.abort})}}),WX=U("$ZodCheckStartsWith",(Q,q)=>{j.init(Q,q);let G=new RegExp(`^${e(q.prefix)}.*`);q.pattern??(q.pattern=G),Q._zod.onattach.push((H)=>{let Y=H._zod.bag;Y.patterns??(Y.patterns=new Set),Y.patterns.add(G)}),Q._zod.check=(H)=>{if(H.value.startsWith(q.prefix))return;H.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:q.prefix,input:H.value,inst:Q,continue:!q.abort})}}),JX=U("$ZodCheckEndsWith",(Q,q)=>{j.init(Q,q);let G=new RegExp(`.*${e(q.suffix)}$`);q.pattern??(q.pattern=G),Q._zod.onattach.push((H)=>{let Y=H._zod.bag;Y.patterns??(Y.patterns=new Set),Y.patterns.add(G)}),Q._zod.check=(H)=>{if(H.value.endsWith(q.suffix))return;H.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:q.suffix,input:H.value,inst:Q,continue:!q.abort})}});function O6(Q,q,G){if(Q.issues.length)q.issues.push(...a(G,Q.issues))}var KX=U("$ZodCheckProperty",(Q,q)=>{j.init(Q,q),Q._zod.check=(G)=>{let H=q.schema._zod.run({value:G.value[q.property],issues:[]},{});if(H instanceof Promise)return H.then((Y)=>O6(Y,G,q.property));O6(H,G,q.property);return}}),BX=U("$ZodCheckMimeType",(Q,q)=>{j.init(Q,q);let G=new Set(q.mime);Q._zod.onattach.push((H)=>{H._zod.bag.mime=q.mime}),Q._zod.check=(H)=>{if(G.has(H.value.type))return;H.issues.push({code:"invalid_value",values:q.mime,input:H.value.type,inst:Q,continue:!q.abort})}}),NX=U("$ZodCheckOverwrite",(Q,q)=>{j.init(Q,q),Q._zod.check=(G)=>{G.value=q.tx(G.value)}}),UX=class{constructor(Q=[]){if(this.content=[],this.indent=0,this)this.args=Q}indented(Q){this.indent+=1,Q(this),this.indent-=1}write(Q){if(typeof Q==="function"){Q(this,{execution:"sync"}),Q(this,{execution:"async"});return}let G=Q.split(`
4
4
  `).filter((X)=>X),H=Math.min(...G.map((X)=>X.length-X.trimStart().length)),Y=G.map((X)=>X.slice(H)).map((X)=>" ".repeat(this.indent*2)+X);for(let X of Y)this.content.push(X)}compile(){let Q=Function,q=this?.args,H=[...(this?.content??[""]).map((Y)=>` ${Y}`)];return new Q(...q,H.join(`
5
5
  `))}},wX={major:4,minor:3,patch:6},Z=U("$ZodType",(Q,q)=>{var G;Q??(Q={}),Q._zod.def=q,Q._zod.bag=Q._zod.bag||{},Q._zod.version=wX;let H=[...Q._zod.def.checks??[]];if(Q._zod.traits.has("$ZodCheck"))H.unshift(Q);for(let Y of H)for(let X of Y._zod.onattach)X(Q);if(H.length===0)(G=Q._zod).deferred??(G.deferred=[]),Q._zod.deferred?.push(()=>{Q._zod.run=Q._zod.parse});else{let Y=(W,J,K)=>{let B=JQ(W),N;for(let w of J){if(w._zod.def.when){if(!w._zod.def.when(W))continue}else if(B)continue;let L=W.issues.length,A=w._zod.check(W);if(A instanceof Promise&&K?.async===!1)throw new KQ;if(N||A instanceof Promise)N=(N??Promise.resolve()).then(async()=>{if(await A,W.issues.length===L)return;if(!B)B=JQ(W,L)});else{if(W.issues.length===L)continue;if(!B)B=JQ(W,L)}}if(N)return N.then(()=>{return W});return W},X=(W,J,K)=>{if(JQ(W))return W.aborted=!0,W;let B=Y(J,H,K);if(B instanceof Promise){if(K.async===!1)throw new KQ;return B.then((N)=>Q._zod.parse(N,K))}return Q._zod.parse(B,K)};Q._zod.run=(W,J)=>{if(J.skipChecks)return Q._zod.parse(W,J);if(J.direction==="backward"){let B=Q._zod.parse({value:W.value,issues:[]},{...J,skipChecks:!0});if(B instanceof Promise)return B.then((N)=>{return X(N,W,J)});return X(B,W,J)}let K=Q._zod.parse(W,J);if(K instanceof Promise){if(J.async===!1)throw new KQ;return K.then((B)=>Y(B,H,J))}return Y(K,H,J)}}b(Q,"~standard",()=>({validate:(Y)=>{try{let X=Fq(Q,Y);return X.success?{value:X.data}:{issues:X.error?.issues}}catch(X){return Aq(Q,Y).then((W)=>W.success?{value:W.data}:{issues:W.error?.issues})}},vendor:"zod",version:1}))}),lQ=U("$ZodString",(Q,q)=>{Z.init(Q,q),Q._zod.pattern=[...Q?._zod.bag?.patterns??[]].pop()??yq(Q._zod.bag),Q._zod.parse=(G,H)=>{if(q.coerce)try{G.value=String(G.value)}catch(Y){}if(typeof G.value==="string")return G;return G.issues.push({expected:"string",code:"invalid_type",input:G.value,inst:Q}),G}}),T=U("$ZodStringFormat",(Q,q)=>{cQ.init(Q,q),lQ.init(Q,q)}),FX=U("$ZodGUID",(Q,q)=>{q.pattern??(q.pattern=Vq),T.init(Q,q)}),AX=U("$ZodUUID",(Q,q)=>{if(q.version){let H={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[q.version];if(H===void 0)throw Error(`Invalid UUID version: "${q.version}"`);q.pattern??(q.pattern=PQ(H))}else q.pattern??(q.pattern=PQ());T.init(Q,q)}),MX=U("$ZodEmail",(Q,q)=>{q.pattern??(q.pattern=Rq),T.init(Q,q)}),LX=U("$ZodURL",(Q,q)=>{T.init(Q,q),Q._zod.check=(G)=>{try{let H=G.value.trim(),Y=new URL(H);if(q.hostname){if(q.hostname.lastIndex=0,!q.hostname.test(Y.hostname))G.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:q.hostname.source,input:G.value,inst:Q,continue:!q.abort})}if(q.protocol){if(q.protocol.lastIndex=0,!q.protocol.test(Y.protocol.endsWith(":")?Y.protocol.slice(0,-1):Y.protocol))G.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:q.protocol.source,input:G.value,inst:Q,continue:!q.abort})}if(q.normalize)G.value=Y.href;else G.value=H;return}catch(H){G.issues.push({code:"invalid_format",format:"url",input:G.value,inst:Q,continue:!q.abort})}}}),PX=U("$ZodEmoji",(Q,q)=>{q.pattern??(q.pattern=Dq()),T.init(Q,q)}),$X=U("$ZodNanoID",(Q,q)=>{q.pattern??(q.pattern=Oq),T.init(Q,q)}),EX=U("$ZodCUID",(Q,q)=>{q.pattern??(q.pattern=Mq),T.init(Q,q)}),OX=U("$ZodCUID2",(Q,q)=>{q.pattern??(q.pattern=Lq),T.init(Q,q)}),IX=U("$ZodULID",(Q,q)=>{q.pattern??(q.pattern=Pq),T.init(Q,q)}),VX=U("$ZodXID",(Q,q)=>{q.pattern??(q.pattern=$q),T.init(Q,q)}),RX=U("$ZodKSUID",(Q,q)=>{q.pattern??(q.pattern=Eq),T.init(Q,q)}),ZX=U("$ZodISODateTime",(Q,q)=>{q.pattern??(q.pattern=gq(q)),T.init(Q,q)}),DX=U("$ZodISODate",(Q,q)=>{q.pattern??(q.pattern=_q),T.init(Q,q)}),bX=U("$ZodISOTime",(Q,q)=>{q.pattern??(q.pattern=hq(q)),T.init(Q,q)}),CX=U("$ZodISODuration",(Q,q)=>{q.pattern??(q.pattern=Iq),T.init(Q,q)}),kX=U("$ZodIPv4",(Q,q)=>{q.pattern??(q.pattern=bq),T.init(Q,q),Q._zod.bag.format="ipv4"}),TX=U("$ZodIPv6",(Q,q)=>{q.pattern??(q.pattern=Cq),T.init(Q,q),Q._zod.bag.format="ipv6",Q._zod.check=(G)=>{try{new URL(`http://[${G.value}]`)}catch{G.issues.push({code:"invalid_format",format:"ipv6",input:G.value,inst:Q,continue:!q.abort})}}}),SX=U("$ZodMAC",(Q,q)=>{q.pattern??(q.pattern=kq(q.delimiter)),T.init(Q,q),Q._zod.bag.format="mac"}),zX=U("$ZodCIDRv4",(Q,q)=>{q.pattern??(q.pattern=Tq),T.init(Q,q)}),jX=U("$ZodCIDRv6",(Q,q)=>{q.pattern??(q.pattern=Sq),T.init(Q,q),Q._zod.check=(G)=>{let H=G.value.split("/");try{if(H.length!==2)throw Error();let[Y,X]=H;if(!X)throw Error();let W=Number(X);if(`${W}`!==X)throw Error();if(W<0||W>128)throw Error();new URL(`http://[${Y}]`)}catch{G.issues.push({code:"invalid_format",format:"cidrv6",input:G.value,inst:Q,continue:!q.abort})}}});function m0(Q){if(Q==="")return!0;if(Q.length%4!==0)return!1;try{return atob(Q),!0}catch{return!1}}var vX=U("$ZodBase64",(Q,q)=>{q.pattern??(q.pattern=zq),T.init(Q,q),Q._zod.bag.contentEncoding="base64",Q._zod.check=(G)=>{if(m0(G.value))return;G.issues.push({code:"invalid_format",format:"base64",input:G.value,inst:Q,continue:!q.abort})}});function _X(Q){if(!h0.test(Q))return!1;let q=Q.replace(/[-_]/g,(H)=>H==="-"?"+":"/"),G=q.padEnd(Math.ceil(q.length/4)*4,"=");return m0(G)}var xX=U("$ZodBase64URL",(Q,q)=>{q.pattern??(q.pattern=h0),T.init(Q,q),Q._zod.bag.contentEncoding="base64url",Q._zod.check=(G)=>{if(_X(G.value))return;G.issues.push({code:"invalid_format",format:"base64url",input:G.value,inst:Q,continue:!q.abort})}}),hX=U("$ZodE164",(Q,q)=>{q.pattern??(q.pattern=jq),T.init(Q,q)});function gX(Q,q=null){try{let G=Q.split(".");if(G.length!==3)return!1;let[H]=G;if(!H)return!1;let Y=JSON.parse(atob(H));if("typ"in Y&&Y?.typ!=="JWT")return!1;if(!Y.alg)return!1;if(q&&(!("alg"in Y)||Y.alg!==q))return!1;return!0}catch{return!1}}var yX=U("$ZodJWT",(Q,q)=>{T.init(Q,q),Q._zod.check=(G)=>{if(gX(G.value,q.alg))return;G.issues.push({code:"invalid_format",format:"jwt",input:G.value,inst:Q,continue:!q.abort})}}),fX=U("$ZodCustomStringFormat",(Q,q)=>{T.init(Q,q),Q._zod.check=(G)=>{if(q.fn(G.value))return;G.issues.push({code:"invalid_format",format:q.format,input:G.value,inst:Q,continue:!q.abort})}}),c0=U("$ZodNumber",(Q,q)=>{Z.init(Q,q),Q._zod.pattern=Q._zod.bag.pattern??g0,Q._zod.parse=(G,H)=>{if(q.coerce)try{G.value=Number(G.value)}catch(W){}let Y=G.value;if(typeof Y==="number"&&!Number.isNaN(Y)&&Number.isFinite(Y))return G;let X=typeof Y==="number"?Number.isNaN(Y)?"NaN":!Number.isFinite(Y)?"Infinity":void 0:void 0;return G.issues.push({expected:"number",code:"invalid_type",input:Y,inst:Q,...X?{received:X}:{}}),G}}),mX=U("$ZodNumberFormat",(Q,q)=>{nq.init(Q,q),c0.init(Q,q)}),l0=U("$ZodBoolean",(Q,q)=>{Z.init(Q,q),Q._zod.pattern=cq,Q._zod.parse=(G,H)=>{if(q.coerce)try{G.value=Boolean(G.value)}catch(X){}let Y=G.value;if(typeof Y==="boolean")return G;return G.issues.push({expected:"boolean",code:"invalid_type",input:Y,inst:Q}),G}}),p0=U("$ZodBigInt",(Q,q)=>{Z.init(Q,q),Q._zod.pattern=fq,Q._zod.parse=(G,H)=>{if(q.coerce)try{G.value=BigInt(G.value)}catch(Y){}if(typeof G.value==="bigint")return G;return G.issues.push({expected:"bigint",code:"invalid_type",input:G.value,inst:Q}),G}}),cX=U("$ZodBigIntFormat",(Q,q)=>{tq.init(Q,q),p0.init(Q,q)}),lX=U("$ZodSymbol",(Q,q)=>{Z.init(Q,q),Q._zod.parse=(G,H)=>{let Y=G.value;if(typeof Y==="symbol")return G;return G.issues.push({expected:"symbol",code:"invalid_type",input:Y,inst:Q}),G}}),pX=U("$ZodUndefined",(Q,q)=>{Z.init(Q,q),Q._zod.pattern=pq,Q._zod.values=new Set([void 0]),Q._zod.optin="optional",Q._zod.optout="optional",Q._zod.parse=(G,H)=>{let Y=G.value;if(typeof Y>"u")return G;return G.issues.push({expected:"undefined",code:"invalid_type",input:Y,inst:Q}),G}}),oX=U("$ZodNull",(Q,q)=>{Z.init(Q,q),Q._zod.pattern=lq,Q._zod.values=new Set([null]),Q._zod.parse=(G,H)=>{let Y=G.value;if(Y===null)return G;return G.issues.push({expected:"null",code:"invalid_type",input:Y,inst:Q}),G}}),dX=U("$ZodAny",(Q,q)=>{Z.init(Q,q),Q._zod.parse=(G)=>G}),rX=U("$ZodUnknown",(Q,q)=>{Z.init(Q,q),Q._zod.parse=(G)=>G}),uX=U("$ZodNever",(Q,q)=>{Z.init(Q,q),Q._zod.parse=(G,H)=>{return G.issues.push({expected:"never",code:"invalid_type",input:G.value,inst:Q}),G}}),nX=U("$ZodVoid",(Q,q)=>{Z.init(Q,q),Q._zod.parse=(G,H)=>{let Y=G.value;if(typeof Y>"u")return G;return G.issues.push({expected:"void",code:"invalid_type",input:Y,inst:Q}),G}}),tX=U("$ZodDate",(Q,q)=>{Z.init(Q,q),Q._zod.parse=(G,H)=>{if(q.coerce)try{G.value=new Date(G.value)}catch(J){}let Y=G.value,X=Y instanceof Date;if(X&&!Number.isNaN(Y.getTime()))return G;return G.issues.push({expected:"date",code:"invalid_type",input:Y,...X?{received:"Invalid Date"}:{},inst:Q}),G}});function I6(Q,q,G){if(Q.issues.length)q.issues.push(...a(G,Q.issues));q.value[G]=Q.value}var aX=U("$ZodArray",(Q,q)=>{Z.init(Q,q),Q._zod.parse=(G,H)=>{let Y=G.value;if(!Array.isArray(Y))return G.issues.push({expected:"array",code:"invalid_type",input:Y,inst:Q}),G;G.value=Array(Y.length);let X=[];for(let W=0;W<Y.length;W++){let J=Y[W],K=q.element._zod.run({value:J,issues:[]},H);if(K instanceof Promise)X.push(K.then((B)=>I6(B,G,W)));else I6(K,G,W)}if(X.length)return Promise.all(X).then(()=>G);return G}});function wY(Q,q,G,H,Y){if(Q.issues.length){if(Y&&!(G in H))return;q.issues.push(...a(G,Q.issues))}if(Q.value===void 0){if(G in H)q.value[G]=void 0}else q.value[G]=Q.value}function iX(Q){let q=Object.keys(Q.shape);for(let H of q)if(!Q.shape?.[H]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${H}": expected a Zod schema`);let G=Gq(Q.shape);return{...Q,keys:q,keySet:new Set(q),numKeys:q.length,optionalKeys:new Set(G)}}function eX(Q,q,G,H,Y,X){let W=[],J=Y.keySet,K=Y.catchall._zod,B=K.def.type,N=K.optout==="optional";for(let w in q){if(J.has(w))continue;if(B==="never"){W.push(w);continue}let L=K.run({value:q[w],issues:[]},H);if(L instanceof Promise)Q.push(L.then((A)=>wY(A,G,w,q,N)));else wY(L,G,w,q,N)}if(W.length)G.issues.push({code:"unrecognized_keys",keys:W,input:q,inst:X});if(!Q.length)return G;return Promise.all(Q).then(()=>{return G})}var sX=U("$ZodObject",(Q,q)=>{if(Z.init(Q,q),!Object.getOwnPropertyDescriptor(q,"shape")?.get){let J=q.shape;Object.defineProperty(q,"shape",{get:()=>{let K={...J};return Object.defineProperty(q,"shape",{value:K}),K}})}let H=_Q(()=>iX(q));b(Q._zod,"propValues",()=>{let J=q.shape,K={};for(let B in J){let N=J[B]._zod;if(N.values){K[B]??(K[B]=new Set);for(let w of N.values)K[B].add(w)}}return K});let Y=LQ,X=q.catchall,W;Q._zod.parse=(J,K)=>{W??(W=H.value);let B=J.value;if(!Y(B))return J.issues.push({expected:"object",code:"invalid_type",input:B,inst:Q}),J;J.value={};let N=[],w=W.shape;for(let L of W.keys){let A=w[L],R=A._zod.optout==="optional",E=A._zod.run({value:B[L],issues:[]},K);if(E instanceof Promise)N.push(E.then((O)=>wY(O,J,L,B,R)));else wY(E,J,L,B,R)}if(!X)return N.length?Promise.all(N).then(()=>J):J;return eX(N,B,J,K,H.value,Q)}}),QG=U("$ZodObjectJIT",(Q,q)=>{sX.init(Q,q);let G=Q._zod.parse,H=_Q(()=>iX(q)),Y=(L)=>{let A=new UX(["shape","payload","ctx"]),R=H.value,E=(v)=>{let _=P0(v);return`shape[${_}]._zod.run({ value: input[${_}], issues: [] }, ctx)`};A.write("const input = payload.value;");let O=Object.create(null),n=0;for(let v of R.keys)O[v]=`key_${n++}`;A.write("const newResult = {};");for(let v of R.keys){let _=O[v],z=P0(v),g=L[v]?._zod?.optout==="optional";if(A.write(`const ${_} = ${E(v)};`),g)A.write(`
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-sh03ka27.js";var ve=Object.defineProperty,W=(e,t)=>{for(var n in t)ve(e,n,{get:t[n],enumerable:!0})},Z={};W(Z,{languages:()=>lt,options:()=>pt,parsers:()=>ue,printers:()=>zt});var Ie=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},K=Ie,ye="indent",Ae="group",Oe="if-break",q="line",xe="break-parent",ee=()=>{},w=ee,te=ee;function I(e){return w(e),{type:ye,contents:e}}function y(e,t={}){return w(e),te(t.expandedStates,!0),{type:Ae,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return w(e),t!==""&&w(t),{type:Oe,breakContents:e,flatContents:t,groupId:n.groupId}}var De={type:xe},ge={type:q,hard:!0},C={type:q},p={type:q,soft:!0},h=[ge,De];function E(e,t){w(e),te(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}function V(e){return(t,n,r)=>{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,o=n;for(;o>=0&&o<s;){let c=t.charAt(o);if(e instanceof RegExp){if(!e.test(c))return o}else if(!e.includes(c))return o;i?o--:o++}return o===-1||o===s?o:!1}}var Ht=V(/\s/u),ne=V(" \t"),_e=V(",; \t"),ke=V(/[^\n\r]/u);function Se(e,t,n){let r=!!(n!=null&&n.backwards);if(t===!1)return!1;let i=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&i===`
2
+ import"./chunk-pfx8ts02.js";var ve=Object.defineProperty,W=(e,t)=>{for(var n in t)ve(e,n,{get:t[n],enumerable:!0})},Z={};W(Z,{languages:()=>lt,options:()=>pt,parsers:()=>ue,printers:()=>zt});var Ie=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},K=Ie,ye="indent",Ae="group",Oe="if-break",q="line",xe="break-parent",ee=()=>{},w=ee,te=ee;function I(e){return w(e),{type:ye,contents:e}}function y(e,t={}){return w(e),te(t.expandedStates,!0),{type:Ae,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return w(e),t!==""&&w(t),{type:Oe,breakContents:e,flatContents:t,groupId:n.groupId}}var De={type:xe},ge={type:q,hard:!0},C={type:q},p={type:q,soft:!0},h=[ge,De];function E(e,t){w(e),te(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}function V(e){return(t,n,r)=>{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,o=n;for(;o>=0&&o<s;){let c=t.charAt(o);if(e instanceof RegExp){if(!e.test(c))return o}else if(!e.includes(c))return o;i?o--:o++}return o===-1||o===s?o:!1}}var Ht=V(/\s/u),ne=V(" \t"),_e=V(",; \t"),ke=V(/[^\n\r]/u);function Se(e,t,n){let r=!!(n!=null&&n.backwards);if(t===!1)return!1;let i=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&i===`
3
3
  `)return t-2;if(i===`
4
4
  `||i==="\r"||i==="\u2028"||i==="\u2029")return t-1}else{if(i==="\r"&&e.charAt(t+1)===`
5
5
  `)return t+2;if(i===`
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Dh as I,Eh as B,Fh as Y,Gh as Z,Hh as j,Ih as F,Jh as K,Lh as U,Mh as V,Nh as W}from"./chunk-zjyaze0d.js";var N=class extends F{async evalCodeAsync(b,q="eval.js",D){let w=D===void 0?1:0,G=j(D),$=0;try{$=await this.memory.newHeapCharPointer(b).consume((X)=>this.ffi.QTS_Eval_MaybeAsync(this.ctx.value,X.value.ptr,X.value.strlen,q,w,G))}catch(X){throw this.runtime.debugLog("QTS_Eval_MaybeAsync threw",X),X}let E=this.ffi.QTS_ResolveException(this.ctx.value,$);return E?(this.ffi.QTS_FreeValuePointer(this.ctx.value,$),this.fail(this.memory.heapValueHandle(E))):this.success(this.memory.heapValueHandle($))}newAsyncifiedFunction(b,q){return this.newFunction(b,q)}},O=class extends K{constructor(b){super(b)}newContext(b={}){let q=Z(b.intrinsics),D=new B(this.ffi.QTS_NewContext(this.rt.value,q),void 0,(G)=>{this.contextMap.delete(G),this.callbacks.deleteContext(G),this.ffi.QTS_FreeContext(G)}),w=new N({module:this.module,ctx:D,ffi:this.ffi,rt:this.rt,ownedLifetimes:[],runtime:this,callbacks:this.callbacks});return this.contextMap.set(D.value,w),w}setModuleLoader(b,q){super.setModuleLoader(b,q)}setMaxStackSize(b){return super.setMaxStackSize(b)}},z=class extends W{constructor(b,q){super(b,q);this.ffi=q,this.module=b}newRuntime(b={}){let q=new B(this.ffi.QTS_NewRuntime(),void 0,(w)=>{this.callbacks.deleteRuntime(w),this.ffi.QTS_FreeRuntime(w)}),D=new O({module:this.module,ffi:this.ffi,rt:q,callbacks:this.callbacks});return U(D,b),b.moduleLoader&&D.setModuleLoader(b.moduleLoader),D}newContext(b={}){let q=this.newRuntime(),D=b.ownedLifetimes?b.ownedLifetimes.concat([q]):[q],w=q.newContext({...b,ownedLifetimes:D});return q.context=w,w}evalCode(){throw new I("QuickJSWASMModuleAsyncify.evalCode: use evalCodeAsync instead")}evalCodeAsync(b,q){return Y.withScopeAsync(async(D)=>{let w=D.manage(this.newContext());V(w.runtime,q);let G=await w.evalCodeAsync(b,"eval.js");if(q.memoryLimitBytes!==void 0&&w.runtime.setMemoryLimit(-1),G.error)throw w.dump(D.manage(G.error));return w.dump(D.manage(G.value))})}};
3
- export{z as Ch};
2
+ import{Eh as I,Fh as B,Gh as Y,Hh as Z,Ih as j,Jh as F,Kh as K,Mh as U,Nh as V,Oh as W}from"./chunk-p54bzjtv.js";var N=class extends F{async evalCodeAsync(b,q="eval.js",D){let w=D===void 0?1:0,G=j(D),$=0;try{$=await this.memory.newHeapCharPointer(b).consume((X)=>this.ffi.QTS_Eval_MaybeAsync(this.ctx.value,X.value.ptr,X.value.strlen,q,w,G))}catch(X){throw this.runtime.debugLog("QTS_Eval_MaybeAsync threw",X),X}let E=this.ffi.QTS_ResolveException(this.ctx.value,$);return E?(this.ffi.QTS_FreeValuePointer(this.ctx.value,$),this.fail(this.memory.heapValueHandle(E))):this.success(this.memory.heapValueHandle($))}newAsyncifiedFunction(b,q){return this.newFunction(b,q)}},O=class extends K{constructor(b){super(b)}newContext(b={}){let q=Z(b.intrinsics),D=new B(this.ffi.QTS_NewContext(this.rt.value,q),void 0,(G)=>{this.contextMap.delete(G),this.callbacks.deleteContext(G),this.ffi.QTS_FreeContext(G)}),w=new N({module:this.module,ctx:D,ffi:this.ffi,rt:this.rt,ownedLifetimes:[],runtime:this,callbacks:this.callbacks});return this.contextMap.set(D.value,w),w}setModuleLoader(b,q){super.setModuleLoader(b,q)}setMaxStackSize(b){return super.setMaxStackSize(b)}},z=class extends W{constructor(b,q){super(b,q);this.ffi=q,this.module=b}newRuntime(b={}){let q=new B(this.ffi.QTS_NewRuntime(),void 0,(w)=>{this.callbacks.deleteRuntime(w),this.ffi.QTS_FreeRuntime(w)}),D=new O({module:this.module,ffi:this.ffi,rt:q,callbacks:this.callbacks});return U(D,b),b.moduleLoader&&D.setModuleLoader(b.moduleLoader),D}newContext(b={}){let q=this.newRuntime(),D=b.ownedLifetimes?b.ownedLifetimes.concat([q]):[q],w=q.newContext({...b,ownedLifetimes:D});return q.context=w,w}evalCode(){throw new I("QuickJSWASMModuleAsyncify.evalCode: use evalCodeAsync instead")}evalCodeAsync(b,q){return Y.withScopeAsync(async(D)=>{let w=D.manage(this.newContext());V(w.runtime,q);let G=await w.evalCodeAsync(b,"eval.js");if(q.memoryLimitBytes!==void 0&&w.runtime.setMemoryLimit(-1),G.error)throw w.dump(D.manage(G.error));return w.dump(D.manage(G.value))})}};
3
+ export{z as Dh};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Nd as a}from"./chunk-5z5rk3ng.js";import"./chunk-3z7r4c0p.js";import"./chunk-pfx8ts02.js";export{a as dict};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{vP as $}from"./chunk-sh03ka27.js";var Aq=$((Eq)=>{Object.defineProperty(Eq,"__esModule",{value:!0});Eq._globalThis=void 0;Eq._globalThis=typeof globalThis==="object"?globalThis:global});var yq=$((O)=>{var VZ=O&&O.__createBinding||(Object.create?function(q,z,J,Z){if(Z===void 0)Z=J;Object.defineProperty(q,Z,{enumerable:!0,get:function(){return z[J]}})}:function(q,z,J,Z){if(Z===void 0)Z=J;q[Z]=z[J]}),NZ=O&&O.__exportStar||function(q,z){for(var J in q)if(J!=="default"&&!Object.prototype.hasOwnProperty.call(z,J))VZ(z,q,J)};Object.defineProperty(O,"__esModule",{value:!0});NZ(Aq(),O)});var Pq=$((K)=>{var kZ=K&&K.__createBinding||(Object.create?function(q,z,J,Z){if(Z===void 0)Z=J;Object.defineProperty(q,Z,{enumerable:!0,get:function(){return z[J]}})}:function(q,z,J,Z){if(Z===void 0)Z=J;q[Z]=z[J]}),bZ=K&&K.__exportStar||function(q,z){for(var J in q)if(J!=="default"&&!Object.prototype.hasOwnProperty.call(z,J))kZ(z,q,J)};Object.defineProperty(K,"__esModule",{value:!0});bZ(yq(),K)});var v=$((Mq)=>{Object.defineProperty(Mq,"__esModule",{value:!0});Mq.VERSION=void 0;Mq.VERSION="1.9.0"});var Lq=$((mq)=>{Object.defineProperty(mq,"__esModule",{value:!0});mq.isCompatible=mq._makeCompatibilityCheck=void 0;var RZ=v(),vq=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function uq(q){let z=new Set([q]),J=new Set,Z=q.match(vq);if(!Z)return()=>!1;let Q={major:+Z[1],minor:+Z[2],patch:+Z[3],prerelease:Z[4]};if(Q.prerelease!=null)return function(Y){return Y===q};function H(F){return J.add(F),!1}function X(F){return z.add(F),!0}return function(Y){if(z.has(Y))return!0;if(J.has(Y))return!1;let h=Y.match(vq);if(!h)return H(Y);let G={major:+h[1],minor:+h[2],patch:+h[3],prerelease:h[4]};if(G.prerelease!=null)return H(Y);if(Q.major!==G.major)return H(Y);if(Q.major===0){if(Q.minor===G.minor&&Q.patch<=G.patch)return X(Y);return H(Y)}if(Q.minor<=G.minor)return X(Y);return H(Y)}}mq._makeCompatibilityCheck=uq;mq.isCompatible=uq(RZ.VERSION)});var B=$((xq)=>{Object.defineProperty(xq,"__esModule",{value:!0});xq.unregisterGlobal=xq.getGlobal=xq.registerGlobal=void 0;var TZ=Pq(),U=v(),AZ=Lq(),yZ=U.VERSION.split(".")[0],I=Symbol.for(`opentelemetry.js.api.${yZ}`),V=TZ._globalThis;function PZ(q,z,J,Z=!1){var Q;let H=V[I]=(Q=V[I])!==null&&Q!==void 0?Q:{version:U.VERSION};if(!Z&&H[q]){let X=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${q}`);return J.error(X.stack||X.message),!1}if(H.version!==U.VERSION){let X=Error(`@opentelemetry/api: Registration of version v${H.version} for ${q} does not match previously registered API v${U.VERSION}`);return J.error(X.stack||X.message),!1}return H[q]=z,J.debug(`@opentelemetry/api: Registered a global for ${q} v${U.VERSION}.`),!0}xq.registerGlobal=PZ;function MZ(q){var z,J;let Z=(z=V[I])===null||z===void 0?void 0:z.version;if(!Z||!(0,AZ.isCompatible)(Z))return;return(J=V[I])===null||J===void 0?void 0:J[q]}xq.getGlobal=MZ;function SZ(q,z){z.debug(`@opentelemetry/api: Unregistering a global for ${q} v${U.VERSION}.`);let J=V[I];if(J)delete J[q]}xq.unregisterGlobal=SZ});var iq=$((lq)=>{Object.defineProperty(lq,"__esModule",{value:!0});lq.DiagComponentLogger=void 0;var mZ=B();class cq{constructor(q){this._namespace=q.namespace||"DiagComponentLogger"}debug(...q){return N("debug",this._namespace,q)}error(...q){return N("error",this._namespace,q)}info(...q){return N("info",this._namespace,q)}warn(...q){return N("warn",this._namespace,q)}verbose(...q){return N("verbose",this._namespace,q)}}lq.DiagComponentLogger=cq;function N(q,z,J){let Z=(0,mZ.getGlobal)("diag");if(!Z)return;return J.unshift(z),Z[q](...J)}});var E=$((nq)=>{Object.defineProperty(nq,"__esModule",{value:!0});nq.DiagLogLevel=void 0;var dZ;(function(q){q[q.NONE=0]="NONE",q[q.ERROR=30]="ERROR",q[q.WARN=50]="WARN",q[q.INFO=60]="INFO",q[q.DEBUG=70]="DEBUG",q[q.VERBOSE=80]="VERBOSE",q[q.ALL=9999]="ALL"})(dZ=nq.DiagLogLevel||(nq.DiagLogLevel={}))});var rq=$((pq)=>{Object.defineProperty(pq,"__esModule",{value:!0});pq.createLogLevelDiagLogger=void 0;var w=E();function LZ(q,z){if(q<w.DiagLogLevel.NONE)q=w.DiagLogLevel.NONE;else if(q>w.DiagLogLevel.ALL)q=w.DiagLogLevel.ALL;z=z||{};function J(Z,Q){let H=z[Z];if(typeof H==="function"&&q>=Q)return H.bind(z);return function(){}}return{error:J("error",w.DiagLogLevel.ERROR),warn:J("warn",w.DiagLogLevel.WARN),info:J("info",w.DiagLogLevel.INFO),debug:J("debug",w.DiagLogLevel.DEBUG),verbose:J("verbose",w.DiagLogLevel.VERBOSE)}}pq.createLogLevelDiagLogger=LZ});var f=$((tq)=>{Object.defineProperty(tq,"__esModule",{value:!0});tq.DiagAPI=void 0;var xZ=iq(),_Z=rq(),oq=E(),T=B(),cZ="diag";class m{constructor(){function q(Z){return function(...Q){let H=(0,T.getGlobal)("diag");if(!H)return;return H[Z](...Q)}}let z=this,J=(Z,Q={logLevel:oq.DiagLogLevel.INFO})=>{var H,X,F;if(Z===z){let G=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return z.error((H=G.stack)!==null&&H!==void 0?H:G.message),!1}if(typeof Q==="number")Q={logLevel:Q};let Y=(0,T.getGlobal)("diag"),h=(0,_Z.createLogLevelDiagLogger)((X=Q.logLevel)!==null&&X!==void 0?X:oq.DiagLogLevel.INFO,Z);if(Y&&!Q.suppressOverrideMessage){let G=(F=Error().stack)!==null&&F!==void 0?F:"<failed to generate stacktrace>";Y.warn(`Current logger will be overwritten from ${G}`),h.warn(`Current logger will overwrite one already registered from ${G}`)}return(0,T.registerGlobal)("diag",h,z,!0)};z.setLogger=J,z.disable=()=>{(0,T.unregisterGlobal)(cZ,z)},z.createComponentLogger=(Z)=>{return new xZ.DiagComponentLogger(Z)},z.verbose=q("verbose"),z.debug=q("debug"),z.info=q("info"),z.warn=q("warn"),z.error=q("error")}static instance(){if(!this._instance)this._instance=new m;return this._instance}}tq.DiagAPI=m});var zz=$((eq)=>{Object.defineProperty(eq,"__esModule",{value:!0});eq.BaggageImpl=void 0;class j{constructor(q){this._entries=q?new Map(q):new Map}getEntry(q){let z=this._entries.get(q);if(!z)return;return Object.assign({},z)}getAllEntries(){return Array.from(this._entries.entries()).map(([q,z])=>[q,z])}setEntry(q,z){let J=new j(this._entries);return J._entries.set(q,z),J}removeEntry(q){let z=new j(this._entries);return z._entries.delete(q),z}removeEntries(...q){let z=new j(this._entries);for(let J of q)z._entries.delete(J);return z}clear(){return new j}}eq.BaggageImpl=j});var $z=$((Jz)=>{Object.defineProperty(Jz,"__esModule",{value:!0});Jz.baggageEntryMetadataSymbol=void 0;Jz.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")});var d=$((Qz)=>{Object.defineProperty(Qz,"__esModule",{value:!0});Qz.baggageEntryMetadataFromString=Qz.createBaggage=void 0;var lZ=f(),gZ=zz(),iZ=$z(),nZ=lZ.DiagAPI.instance();function pZ(q={}){return new gZ.BaggageImpl(new Map(Object.entries(q)))}Qz.createBaggage=pZ;function sZ(q){if(typeof q!=="string")nZ.error(`Cannot create baggage metadata from unknown type: ${typeof q}`),q="";return{__TYPE__:iZ.baggageEntryMetadataSymbol,toString(){return q}}}Qz.baggageEntryMetadataFromString=sZ});var k=$((Hz)=>{Object.defineProperty(Hz,"__esModule",{value:!0});Hz.ROOT_CONTEXT=Hz.createContextKey=void 0;function oZ(q){return Symbol.for(q)}Hz.createContextKey=oZ;class A{constructor(q){let z=this;z._currentContext=q?new Map(q):new Map,z.getValue=(J)=>z._currentContext.get(J),z.setValue=(J,Z)=>{let Q=new A(z._currentContext);return Q._currentContext.set(J,Z),Q},z.deleteValue=(J)=>{let Z=new A(z._currentContext);return Z._currentContext.delete(J),Z}}}Hz.ROOT_CONTEXT=new A});var hz=$((Fz)=>{Object.defineProperty(Fz,"__esModule",{value:!0});Fz.DiagConsoleLogger=void 0;var L=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class Yz{constructor(){function q(z){return function(...J){if(console){let Z=console[z];if(typeof Z!=="function")Z=console.log;if(typeof Z==="function")return Z.apply(console,J)}}}for(let z=0;z<L.length;z++)this[L[z].n]=q(L[z].c)}}Fz.DiagConsoleLogger=Yz});var s=$((wz)=>{Object.defineProperty(wz,"__esModule",{value:!0});wz.createNoopMeter=wz.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=wz.NOOP_OBSERVABLE_GAUGE_METRIC=wz.NOOP_OBSERVABLE_COUNTER_METRIC=wz.NOOP_UP_DOWN_COUNTER_METRIC=wz.NOOP_HISTOGRAM_METRIC=wz.NOOP_GAUGE_METRIC=wz.NOOP_COUNTER_METRIC=wz.NOOP_METER=wz.NoopObservableUpDownCounterMetric=wz.NoopObservableGaugeMetric=wz.NoopObservableCounterMetric=wz.NoopObservableMetric=wz.NoopHistogramMetric=wz.NoopGaugeMetric=wz.NoopUpDownCounterMetric=wz.NoopCounterMetric=wz.NoopMetric=wz.NoopMeter=void 0;class x{constructor(){}createGauge(q,z){return wz.NOOP_GAUGE_METRIC}createHistogram(q,z){return wz.NOOP_HISTOGRAM_METRIC}createCounter(q,z){return wz.NOOP_COUNTER_METRIC}createUpDownCounter(q,z){return wz.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(q,z){return wz.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(q,z){return wz.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(q,z){return wz.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(q,z){}removeBatchObservableCallback(q){}}wz.NoopMeter=x;class D{}wz.NoopMetric=D;class _ extends D{add(q,z){}}wz.NoopCounterMetric=_;class c extends D{add(q,z){}}wz.NoopUpDownCounterMetric=c;class l extends D{record(q,z){}}wz.NoopGaugeMetric=l;class g extends D{record(q,z){}}wz.NoopHistogramMetric=g;class b{addCallback(q){}removeCallback(q){}}wz.NoopObservableMetric=b;class i extends b{}wz.NoopObservableCounterMetric=i;class n extends b{}wz.NoopObservableGaugeMetric=n;class p extends b{}wz.NoopObservableUpDownCounterMetric=p;wz.NOOP_METER=new x;wz.NOOP_COUNTER_METRIC=new _;wz.NOOP_GAUGE_METRIC=new l;wz.NOOP_HISTOGRAM_METRIC=new g;wz.NOOP_UP_DOWN_COUNTER_METRIC=new c;wz.NOOP_OBSERVABLE_COUNTER_METRIC=new i;wz.NOOP_OBSERVABLE_GAUGE_METRIC=new n;wz.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new p;function aZ(){return wz.NOOP_METER}wz.createNoopMeter=aZ});var Nz=$((Vz)=>{Object.defineProperty(Vz,"__esModule",{value:!0});Vz.ValueType=void 0;var Y0;(function(q){q[q.INT=0]="INT",q[q.DOUBLE=1]="DOUBLE"})(Y0=Vz.ValueType||(Vz.ValueType={}))});var o=$((kz)=>{Object.defineProperty(kz,"__esModule",{value:!0});kz.defaultTextMapSetter=kz.defaultTextMapGetter=void 0;kz.defaultTextMapGetter={get(q,z){if(q==null)return;return q[z]},keys(q){if(q==null)return[];return Object.keys(q)}};kz.defaultTextMapSetter={set(q,z,J){if(q==null)return;q[z]=J}}});var Az=$((Ez)=>{Object.defineProperty(Ez,"__esModule",{value:!0});Ez.NoopContextManager=void 0;var G0=k();class Rz{active(){return G0.ROOT_CONTEXT}with(q,z,J,...Z){return z.call(J,...Z)}bind(q,z){return z}enable(){return this}disable(){return this}}Ez.NoopContextManager=Rz});var R=$((Pz)=>{Object.defineProperty(Pz,"__esModule",{value:!0});Pz.ContextAPI=void 0;var h0=Az(),t=B(),yz=f(),a="context",w0=new h0.NoopContextManager;class e{constructor(){}static getInstance(){if(!this._instance)this._instance=new e;return this._instance}setGlobalContextManager(q){return(0,t.registerGlobal)(a,q,yz.DiagAPI.instance())}active(){return this._getContextManager().active()}with(q,z,J,...Z){return this._getContextManager().with(q,z,J,...Z)}bind(q,z){return this._getContextManager().bind(q,z)}_getContextManager(){return(0,t.getGlobal)(a)||w0}disable(){this._getContextManager().disable(),(0,t.unregisterGlobal)(a,yz.DiagAPI.instance())}}Pz.ContextAPI=e});var zq=$((Sz)=>{Object.defineProperty(Sz,"__esModule",{value:!0});Sz.TraceFlags=void 0;var O0;(function(q){q[q.NONE=0]="NONE",q[q.SAMPLED=1]="SAMPLED"})(O0=Sz.TraceFlags||(Sz.TraceFlags={}))});var y=$((vz)=>{Object.defineProperty(vz,"__esModule",{value:!0});vz.INVALID_SPAN_CONTEXT=vz.INVALID_TRACEID=vz.INVALID_SPANID=void 0;var K0=zq();vz.INVALID_SPANID="0000000000000000";vz.INVALID_TRACEID="00000000000000000000000000000000";vz.INVALID_SPAN_CONTEXT={traceId:vz.INVALID_TRACEID,spanId:vz.INVALID_SPANID,traceFlags:K0.TraceFlags.NONE}});var P=$((xz)=>{Object.defineProperty(xz,"__esModule",{value:!0});xz.NonRecordingSpan=void 0;var B0=y();class Lz{constructor(q=B0.INVALID_SPAN_CONTEXT){this._spanContext=q}spanContext(){return this._spanContext}setAttribute(q,z){return this}setAttributes(q){return this}addEvent(q,z){return this}addLink(q){return this}addLinks(q){return this}setStatus(q){return this}updateName(q){return this}end(q){}isRecording(){return!1}recordException(q,z){}}xz.NonRecordingSpan=Lz});var $q=$((lz)=>{Object.defineProperty(lz,"__esModule",{value:!0});lz.getSpanContext=lz.setSpanContext=lz.deleteSpan=lz.setSpan=lz.getActiveSpan=lz.getSpan=void 0;var f0=k(),U0=P(),j0=R(),Jq=(0,f0.createContextKey)("OpenTelemetry Context Key SPAN");function Zq(q){return q.getValue(Jq)||void 0}lz.getSpan=Zq;function D0(){return Zq(j0.ContextAPI.getInstance().active())}lz.getActiveSpan=D0;function cz(q,z){return q.setValue(Jq,z)}lz.setSpan=cz;function C0(q){return q.deleteValue(Jq)}lz.deleteSpan=C0;function I0(q,z){return cz(q,new U0.NonRecordingSpan(z))}lz.setSpanContext=I0;function V0(q){var z;return(z=Zq(q))===null||z===void 0?void 0:z.spanContext()}lz.getSpanContext=V0});var M=$((sz)=>{Object.defineProperty(sz,"__esModule",{value:!0});sz.wrapSpanContext=sz.isSpanContextValid=sz.isValidSpanId=sz.isValidTraceId=void 0;var iz=y(),T0=P(),A0=/^([0-9a-f]{32})$/i,y0=/^[0-9a-f]{16}$/i;function nz(q){return A0.test(q)&&q!==iz.INVALID_TRACEID}sz.isValidTraceId=nz;function pz(q){return y0.test(q)&&q!==iz.INVALID_SPANID}sz.isValidSpanId=pz;function P0(q){return nz(q.traceId)&&pz(q.spanId)}sz.isSpanContextValid=P0;function M0(q){return new T0.NonRecordingSpan(q)}sz.wrapSpanContext=M0});var Hq=$((az)=>{Object.defineProperty(az,"__esModule",{value:!0});az.NoopTracer=void 0;var m0=R(),oz=$q(),Qq=P(),d0=M(),Wq=m0.ContextAPI.getInstance();class tz{startSpan(q,z,J=Wq.active()){if(Boolean(z===null||z===void 0?void 0:z.root))return new Qq.NonRecordingSpan;let Q=J&&(0,oz.getSpanContext)(J);if(L0(Q)&&(0,d0.isSpanContextValid)(Q))return new Qq.NonRecordingSpan(Q);else return new Qq.NonRecordingSpan}startActiveSpan(q,z,J,Z){let Q,H,X;if(arguments.length<2)return;else if(arguments.length===2)X=z;else if(arguments.length===3)Q=z,X=J;else Q=z,H=J,X=Z;let F=H!==null&&H!==void 0?H:Wq.active(),Y=this.startSpan(q,Q,F),h=(0,oz.setSpan)(F,Y);return Wq.with(h,X,void 0,Y)}}az.NoopTracer=tz;function L0(q){return typeof q==="object"&&typeof q.spanId==="string"&&typeof q.traceId==="string"&&typeof q.traceFlags==="number"}});var Xq=$((zJ)=>{Object.defineProperty(zJ,"__esModule",{value:!0});zJ.ProxyTracer=void 0;var x0=Hq(),_0=new x0.NoopTracer;class qJ{constructor(q,z,J,Z){this._provider=q,this.name=z,this.version=J,this.options=Z}startSpan(q,z,J){return this._getTracer().startSpan(q,z,J)}startActiveSpan(q,z,J,Z){let Q=this._getTracer();return Reflect.apply(Q.startActiveSpan,Q,arguments)}_getTracer(){if(this._delegate)return this._delegate;let q=this._provider.getDelegateTracer(this.name,this.version,this.options);if(!q)return _0;return this._delegate=q,this._delegate}}zJ.ProxyTracer=qJ});var WJ=$(($J)=>{Object.defineProperty($J,"__esModule",{value:!0});$J.NoopTracerProvider=void 0;var c0=Hq();class ZJ{getTracer(q,z,J){return new c0.NoopTracer}}$J.NoopTracerProvider=ZJ});var Yq=$((XJ)=>{Object.defineProperty(XJ,"__esModule",{value:!0});XJ.ProxyTracerProvider=void 0;var l0=Xq(),g0=WJ(),i0=new g0.NoopTracerProvider;class HJ{getTracer(q,z,J){var Z;return(Z=this.getDelegateTracer(q,z,J))!==null&&Z!==void 0?Z:new l0.ProxyTracer(this,q,z,J)}getDelegate(){var q;return(q=this._delegate)!==null&&q!==void 0?q:i0}setDelegate(q){this._delegate=q}getDelegateTracer(q,z,J){var Z;return(Z=this._delegate)===null||Z===void 0?void 0:Z.getTracer(q,z,J)}}XJ.ProxyTracerProvider=HJ});var GJ=$((FJ)=>{Object.defineProperty(FJ,"__esModule",{value:!0});FJ.SamplingDecision=void 0;var n0;(function(q){q[q.NOT_RECORD=0]="NOT_RECORD",q[q.RECORD=1]="RECORD",q[q.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(n0=FJ.SamplingDecision||(FJ.SamplingDecision={}))});var wJ=$((hJ)=>{Object.defineProperty(hJ,"__esModule",{value:!0});hJ.SpanKind=void 0;var p0;(function(q){q[q.INTERNAL=0]="INTERNAL",q[q.SERVER=1]="SERVER",q[q.CLIENT=2]="CLIENT",q[q.PRODUCER=3]="PRODUCER",q[q.CONSUMER=4]="CONSUMER"})(p0=hJ.SpanKind||(hJ.SpanKind={}))});var KJ=$((OJ)=>{Object.defineProperty(OJ,"__esModule",{value:!0});OJ.SpanStatusCode=void 0;var s0;(function(q){q[q.UNSET=0]="UNSET",q[q.OK=1]="OK",q[q.ERROR=2]="ERROR"})(s0=OJ.SpanStatusCode||(OJ.SpanStatusCode={}))});var UJ=$((BJ)=>{Object.defineProperty(BJ,"__esModule",{value:!0});BJ.validateValue=BJ.validateKey=void 0;var wq="[_0-9a-z-*/]",r0=`[a-z]${wq}{0,255}`,o0=`[a-z0-9]${wq}{0,240}@[a-z]${wq}{0,13}`,t0=new RegExp(`^(?:${r0}|${o0})$`),a0=/^[ -~]{0,255}[!-~]$/,e0=/,|=/;function q1(q){return t0.test(q)}BJ.validateKey=q1;function z1(q){return a0.test(q)&&!e0.test(q)}BJ.validateValue=z1});var kJ=$((VJ)=>{Object.defineProperty(VJ,"__esModule",{value:!0});VJ.TraceStateImpl=void 0;var jJ=UJ(),DJ=32,Z1=512,CJ=",",IJ="=";class Oq{constructor(q){if(this._internalState=new Map,q)this._parse(q)}set(q,z){let J=this._clone();if(J._internalState.has(q))J._internalState.delete(q);return J._internalState.set(q,z),J}unset(q){let z=this._clone();return z._internalState.delete(q),z}get(q){return this._internalState.get(q)}serialize(){return this._keys().reduce((q,z)=>{return q.push(z+IJ+this.get(z)),q},[]).join(CJ)}_parse(q){if(q.length>Z1)return;if(this._internalState=q.split(CJ).reverse().reduce((z,J)=>{let Z=J.trim(),Q=Z.indexOf(IJ);if(Q!==-1){let H=Z.slice(0,Q),X=Z.slice(Q+1,J.length);if((0,jJ.validateKey)(H)&&(0,jJ.validateValue)(X))z.set(H,X)}return z},new Map),this._internalState.size>DJ)this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,DJ))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let q=new Oq;return q._internalState=new Map(this._internalState),q}}VJ.TraceStateImpl=Oq});var EJ=$((bJ)=>{Object.defineProperty(bJ,"__esModule",{value:!0});bJ.createTraceState=void 0;var $1=kJ();function Q1(q){return new $1.TraceStateImpl(q)}bJ.createTraceState=Q1});var yJ=$((TJ)=>{Object.defineProperty(TJ,"__esModule",{value:!0});TJ.context=void 0;var W1=R();TJ.context=W1.ContextAPI.getInstance()});var SJ=$((PJ)=>{Object.defineProperty(PJ,"__esModule",{value:!0});PJ.diag=void 0;var H1=f();PJ.diag=H1.DiagAPI.instance()});var mJ=$((vJ)=>{Object.defineProperty(vJ,"__esModule",{value:!0});vJ.NOOP_METER_PROVIDER=vJ.NoopMeterProvider=void 0;var X1=s();class Kq{getMeter(q,z,J){return X1.NOOP_METER}}vJ.NoopMeterProvider=Kq;vJ.NOOP_METER_PROVIDER=new Kq});var _J=$((LJ)=>{Object.defineProperty(LJ,"__esModule",{value:!0});LJ.MetricsAPI=void 0;var F1=mJ(),Bq=B(),dJ=f(),fq="metrics";class Uq{constructor(){}static getInstance(){if(!this._instance)this._instance=new Uq;return this._instance}setGlobalMeterProvider(q){return(0,Bq.registerGlobal)(fq,q,dJ.DiagAPI.instance())}getMeterProvider(){return(0,Bq.getGlobal)(fq)||F1.NOOP_METER_PROVIDER}getMeter(q,z,J){return this.getMeterProvider().getMeter(q,z,J)}disable(){(0,Bq.unregisterGlobal)(fq,dJ.DiagAPI.instance())}}LJ.MetricsAPI=Uq});var gJ=$((cJ)=>{Object.defineProperty(cJ,"__esModule",{value:!0});cJ.metrics=void 0;var G1=_J();cJ.metrics=G1.MetricsAPI.getInstance()});var sJ=$((nJ)=>{Object.defineProperty(nJ,"__esModule",{value:!0});nJ.NoopTextMapPropagator=void 0;class iJ{inject(q,z){}extract(q,z){return q}fields(){return[]}}nJ.NoopTextMapPropagator=iJ});var aJ=$((oJ)=>{Object.defineProperty(oJ,"__esModule",{value:!0});oJ.deleteBaggage=oJ.setBaggage=oJ.getActiveBaggage=oJ.getBaggage=void 0;var h1=R(),w1=k(),jq=(0,w1.createContextKey)("OpenTelemetry Baggage Key");function rJ(q){return q.getValue(jq)||void 0}oJ.getBaggage=rJ;function O1(){return rJ(h1.ContextAPI.getInstance().active())}oJ.getActiveBaggage=O1;function K1(q,z){return q.setValue(jq,z)}oJ.setBaggage=K1;function B1(q){return q.deleteValue(jq)}oJ.deleteBaggage=B1});var ZZ=$((zZ)=>{Object.defineProperty(zZ,"__esModule",{value:!0});zZ.PropagationAPI=void 0;var Dq=B(),D1=sJ(),eJ=o(),S=aJ(),C1=d(),qZ=f(),Cq="propagation",I1=new D1.NoopTextMapPropagator;class Iq{constructor(){this.createBaggage=C1.createBaggage,this.getBaggage=S.getBaggage,this.getActiveBaggage=S.getActiveBaggage,this.setBaggage=S.setBaggage,this.deleteBaggage=S.deleteBaggage}static getInstance(){if(!this._instance)this._instance=new Iq;return this._instance}setGlobalPropagator(q){return(0,Dq.registerGlobal)(Cq,q,qZ.DiagAPI.instance())}inject(q,z,J=eJ.defaultTextMapSetter){return this._getGlobalPropagator().inject(q,z,J)}extract(q,z,J=eJ.defaultTextMapGetter){return this._getGlobalPropagator().extract(q,z,J)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,Dq.unregisterGlobal)(Cq,qZ.DiagAPI.instance())}_getGlobalPropagator(){return(0,Dq.getGlobal)(Cq)||I1}}zZ.PropagationAPI=Iq});var WZ=$(($Z)=>{Object.defineProperty($Z,"__esModule",{value:!0});$Z.propagation=void 0;var V1=ZZ();$Z.propagation=V1.PropagationAPI.getInstance()});var hZ=$((FZ)=>{Object.defineProperty(FZ,"__esModule",{value:!0});FZ.TraceAPI=void 0;var Vq=B(),HZ=Yq(),XZ=M(),C=$q(),YZ=f(),Nq="trace";class kq{constructor(){this._proxyTracerProvider=new HZ.ProxyTracerProvider,this.wrapSpanContext=XZ.wrapSpanContext,this.isSpanContextValid=XZ.isSpanContextValid,this.deleteSpan=C.deleteSpan,this.getSpan=C.getSpan,this.getActiveSpan=C.getActiveSpan,this.getSpanContext=C.getSpanContext,this.setSpan=C.setSpan,this.setSpanContext=C.setSpanContext}static getInstance(){if(!this._instance)this._instance=new kq;return this._instance}setGlobalTracerProvider(q){let z=(0,Vq.registerGlobal)(Nq,this._proxyTracerProvider,YZ.DiagAPI.instance());if(z)this._proxyTracerProvider.setDelegate(q);return z}getTracerProvider(){return(0,Vq.getGlobal)(Nq)||this._proxyTracerProvider}getTracer(q,z){return this.getTracerProvider().getTracer(q,z)}disable(){(0,Vq.unregisterGlobal)(Nq,YZ.DiagAPI.instance()),this._proxyTracerProvider=new HZ.ProxyTracerProvider}}FZ.TraceAPI=kq});var KZ=$((wZ)=>{Object.defineProperty(wZ,"__esModule",{value:!0});wZ.trace=void 0;var N1=hZ();wZ.trace=N1.TraceAPI.getInstance()});var L1=$((W)=>{Object.defineProperty(W,"__esModule",{value:!0});W.trace=W.propagation=W.metrics=W.diag=W.context=W.INVALID_SPAN_CONTEXT=W.INVALID_TRACEID=W.INVALID_SPANID=W.isValidSpanId=W.isValidTraceId=W.isSpanContextValid=W.createTraceState=W.TraceFlags=W.SpanStatusCode=W.SpanKind=W.SamplingDecision=W.ProxyTracerProvider=W.ProxyTracer=W.defaultTextMapSetter=W.defaultTextMapGetter=W.ValueType=W.createNoopMeter=W.DiagLogLevel=W.DiagConsoleLogger=W.ROOT_CONTEXT=W.createContextKey=W.baggageEntryMetadataFromString=void 0;var k1=d();Object.defineProperty(W,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return k1.baggageEntryMetadataFromString}});var BZ=k();Object.defineProperty(W,"createContextKey",{enumerable:!0,get:function(){return BZ.createContextKey}});Object.defineProperty(W,"ROOT_CONTEXT",{enumerable:!0,get:function(){return BZ.ROOT_CONTEXT}});var b1=hz();Object.defineProperty(W,"DiagConsoleLogger",{enumerable:!0,get:function(){return b1.DiagConsoleLogger}});var R1=E();Object.defineProperty(W,"DiagLogLevel",{enumerable:!0,get:function(){return R1.DiagLogLevel}});var E1=s();Object.defineProperty(W,"createNoopMeter",{enumerable:!0,get:function(){return E1.createNoopMeter}});var T1=Nz();Object.defineProperty(W,"ValueType",{enumerable:!0,get:function(){return T1.ValueType}});var fZ=o();Object.defineProperty(W,"defaultTextMapGetter",{enumerable:!0,get:function(){return fZ.defaultTextMapGetter}});Object.defineProperty(W,"defaultTextMapSetter",{enumerable:!0,get:function(){return fZ.defaultTextMapSetter}});var A1=Xq();Object.defineProperty(W,"ProxyTracer",{enumerable:!0,get:function(){return A1.ProxyTracer}});var y1=Yq();Object.defineProperty(W,"ProxyTracerProvider",{enumerable:!0,get:function(){return y1.ProxyTracerProvider}});var P1=GJ();Object.defineProperty(W,"SamplingDecision",{enumerable:!0,get:function(){return P1.SamplingDecision}});var M1=wJ();Object.defineProperty(W,"SpanKind",{enumerable:!0,get:function(){return M1.SpanKind}});var S1=KJ();Object.defineProperty(W,"SpanStatusCode",{enumerable:!0,get:function(){return S1.SpanStatusCode}});var v1=zq();Object.defineProperty(W,"TraceFlags",{enumerable:!0,get:function(){return v1.TraceFlags}});var u1=EJ();Object.defineProperty(W,"createTraceState",{enumerable:!0,get:function(){return u1.createTraceState}});var bq=M();Object.defineProperty(W,"isSpanContextValid",{enumerable:!0,get:function(){return bq.isSpanContextValid}});Object.defineProperty(W,"isValidTraceId",{enumerable:!0,get:function(){return bq.isValidTraceId}});Object.defineProperty(W,"isValidSpanId",{enumerable:!0,get:function(){return bq.isValidSpanId}});var Rq=y();Object.defineProperty(W,"INVALID_SPANID",{enumerable:!0,get:function(){return Rq.INVALID_SPANID}});Object.defineProperty(W,"INVALID_TRACEID",{enumerable:!0,get:function(){return Rq.INVALID_TRACEID}});Object.defineProperty(W,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return Rq.INVALID_SPAN_CONTEXT}});var UZ=yJ();Object.defineProperty(W,"context",{enumerable:!0,get:function(){return UZ.context}});var jZ=SJ();Object.defineProperty(W,"diag",{enumerable:!0,get:function(){return jZ.diag}});var DZ=gJ();Object.defineProperty(W,"metrics",{enumerable:!0,get:function(){return DZ.metrics}});var CZ=WZ();Object.defineProperty(W,"propagation",{enumerable:!0,get:function(){return CZ.propagation}});var IZ=KZ();Object.defineProperty(W,"trace",{enumerable:!0,get:function(){return IZ.trace}});W.default={context:UZ.context,diag:jZ.diag,metrics:DZ.metrics,propagation:CZ.propagation,trace:IZ.trace}});
3
- export{L1 as tP};
2
+ import{$Q as $}from"./chunk-pfx8ts02.js";var Aq=$((Eq)=>{Object.defineProperty(Eq,"__esModule",{value:!0});Eq._globalThis=void 0;Eq._globalThis=typeof globalThis==="object"?globalThis:global});var yq=$((O)=>{var VZ=O&&O.__createBinding||(Object.create?function(q,z,J,Z){if(Z===void 0)Z=J;Object.defineProperty(q,Z,{enumerable:!0,get:function(){return z[J]}})}:function(q,z,J,Z){if(Z===void 0)Z=J;q[Z]=z[J]}),NZ=O&&O.__exportStar||function(q,z){for(var J in q)if(J!=="default"&&!Object.prototype.hasOwnProperty.call(z,J))VZ(z,q,J)};Object.defineProperty(O,"__esModule",{value:!0});NZ(Aq(),O)});var Pq=$((K)=>{var kZ=K&&K.__createBinding||(Object.create?function(q,z,J,Z){if(Z===void 0)Z=J;Object.defineProperty(q,Z,{enumerable:!0,get:function(){return z[J]}})}:function(q,z,J,Z){if(Z===void 0)Z=J;q[Z]=z[J]}),bZ=K&&K.__exportStar||function(q,z){for(var J in q)if(J!=="default"&&!Object.prototype.hasOwnProperty.call(z,J))kZ(z,q,J)};Object.defineProperty(K,"__esModule",{value:!0});bZ(yq(),K)});var v=$((Mq)=>{Object.defineProperty(Mq,"__esModule",{value:!0});Mq.VERSION=void 0;Mq.VERSION="1.9.0"});var Lq=$((mq)=>{Object.defineProperty(mq,"__esModule",{value:!0});mq.isCompatible=mq._makeCompatibilityCheck=void 0;var RZ=v(),vq=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function uq(q){let z=new Set([q]),J=new Set,Z=q.match(vq);if(!Z)return()=>!1;let Q={major:+Z[1],minor:+Z[2],patch:+Z[3],prerelease:Z[4]};if(Q.prerelease!=null)return function(Y){return Y===q};function H(F){return J.add(F),!1}function X(F){return z.add(F),!0}return function(Y){if(z.has(Y))return!0;if(J.has(Y))return!1;let h=Y.match(vq);if(!h)return H(Y);let G={major:+h[1],minor:+h[2],patch:+h[3],prerelease:h[4]};if(G.prerelease!=null)return H(Y);if(Q.major!==G.major)return H(Y);if(Q.major===0){if(Q.minor===G.minor&&Q.patch<=G.patch)return X(Y);return H(Y)}if(Q.minor<=G.minor)return X(Y);return H(Y)}}mq._makeCompatibilityCheck=uq;mq.isCompatible=uq(RZ.VERSION)});var B=$((xq)=>{Object.defineProperty(xq,"__esModule",{value:!0});xq.unregisterGlobal=xq.getGlobal=xq.registerGlobal=void 0;var TZ=Pq(),U=v(),AZ=Lq(),yZ=U.VERSION.split(".")[0],I=Symbol.for(`opentelemetry.js.api.${yZ}`),V=TZ._globalThis;function PZ(q,z,J,Z=!1){var Q;let H=V[I]=(Q=V[I])!==null&&Q!==void 0?Q:{version:U.VERSION};if(!Z&&H[q]){let X=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${q}`);return J.error(X.stack||X.message),!1}if(H.version!==U.VERSION){let X=Error(`@opentelemetry/api: Registration of version v${H.version} for ${q} does not match previously registered API v${U.VERSION}`);return J.error(X.stack||X.message),!1}return H[q]=z,J.debug(`@opentelemetry/api: Registered a global for ${q} v${U.VERSION}.`),!0}xq.registerGlobal=PZ;function MZ(q){var z,J;let Z=(z=V[I])===null||z===void 0?void 0:z.version;if(!Z||!(0,AZ.isCompatible)(Z))return;return(J=V[I])===null||J===void 0?void 0:J[q]}xq.getGlobal=MZ;function SZ(q,z){z.debug(`@opentelemetry/api: Unregistering a global for ${q} v${U.VERSION}.`);let J=V[I];if(J)delete J[q]}xq.unregisterGlobal=SZ});var iq=$((lq)=>{Object.defineProperty(lq,"__esModule",{value:!0});lq.DiagComponentLogger=void 0;var mZ=B();class cq{constructor(q){this._namespace=q.namespace||"DiagComponentLogger"}debug(...q){return N("debug",this._namespace,q)}error(...q){return N("error",this._namespace,q)}info(...q){return N("info",this._namespace,q)}warn(...q){return N("warn",this._namespace,q)}verbose(...q){return N("verbose",this._namespace,q)}}lq.DiagComponentLogger=cq;function N(q,z,J){let Z=(0,mZ.getGlobal)("diag");if(!Z)return;return J.unshift(z),Z[q](...J)}});var E=$((nq)=>{Object.defineProperty(nq,"__esModule",{value:!0});nq.DiagLogLevel=void 0;var dZ;(function(q){q[q.NONE=0]="NONE",q[q.ERROR=30]="ERROR",q[q.WARN=50]="WARN",q[q.INFO=60]="INFO",q[q.DEBUG=70]="DEBUG",q[q.VERBOSE=80]="VERBOSE",q[q.ALL=9999]="ALL"})(dZ=nq.DiagLogLevel||(nq.DiagLogLevel={}))});var rq=$((pq)=>{Object.defineProperty(pq,"__esModule",{value:!0});pq.createLogLevelDiagLogger=void 0;var w=E();function LZ(q,z){if(q<w.DiagLogLevel.NONE)q=w.DiagLogLevel.NONE;else if(q>w.DiagLogLevel.ALL)q=w.DiagLogLevel.ALL;z=z||{};function J(Z,Q){let H=z[Z];if(typeof H==="function"&&q>=Q)return H.bind(z);return function(){}}return{error:J("error",w.DiagLogLevel.ERROR),warn:J("warn",w.DiagLogLevel.WARN),info:J("info",w.DiagLogLevel.INFO),debug:J("debug",w.DiagLogLevel.DEBUG),verbose:J("verbose",w.DiagLogLevel.VERBOSE)}}pq.createLogLevelDiagLogger=LZ});var f=$((tq)=>{Object.defineProperty(tq,"__esModule",{value:!0});tq.DiagAPI=void 0;var xZ=iq(),_Z=rq(),oq=E(),T=B(),cZ="diag";class m{constructor(){function q(Z){return function(...Q){let H=(0,T.getGlobal)("diag");if(!H)return;return H[Z](...Q)}}let z=this,J=(Z,Q={logLevel:oq.DiagLogLevel.INFO})=>{var H,X,F;if(Z===z){let G=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return z.error((H=G.stack)!==null&&H!==void 0?H:G.message),!1}if(typeof Q==="number")Q={logLevel:Q};let Y=(0,T.getGlobal)("diag"),h=(0,_Z.createLogLevelDiagLogger)((X=Q.logLevel)!==null&&X!==void 0?X:oq.DiagLogLevel.INFO,Z);if(Y&&!Q.suppressOverrideMessage){let G=(F=Error().stack)!==null&&F!==void 0?F:"<failed to generate stacktrace>";Y.warn(`Current logger will be overwritten from ${G}`),h.warn(`Current logger will overwrite one already registered from ${G}`)}return(0,T.registerGlobal)("diag",h,z,!0)};z.setLogger=J,z.disable=()=>{(0,T.unregisterGlobal)(cZ,z)},z.createComponentLogger=(Z)=>{return new xZ.DiagComponentLogger(Z)},z.verbose=q("verbose"),z.debug=q("debug"),z.info=q("info"),z.warn=q("warn"),z.error=q("error")}static instance(){if(!this._instance)this._instance=new m;return this._instance}}tq.DiagAPI=m});var zz=$((eq)=>{Object.defineProperty(eq,"__esModule",{value:!0});eq.BaggageImpl=void 0;class j{constructor(q){this._entries=q?new Map(q):new Map}getEntry(q){let z=this._entries.get(q);if(!z)return;return Object.assign({},z)}getAllEntries(){return Array.from(this._entries.entries()).map(([q,z])=>[q,z])}setEntry(q,z){let J=new j(this._entries);return J._entries.set(q,z),J}removeEntry(q){let z=new j(this._entries);return z._entries.delete(q),z}removeEntries(...q){let z=new j(this._entries);for(let J of q)z._entries.delete(J);return z}clear(){return new j}}eq.BaggageImpl=j});var $z=$((Jz)=>{Object.defineProperty(Jz,"__esModule",{value:!0});Jz.baggageEntryMetadataSymbol=void 0;Jz.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")});var d=$((Qz)=>{Object.defineProperty(Qz,"__esModule",{value:!0});Qz.baggageEntryMetadataFromString=Qz.createBaggage=void 0;var lZ=f(),gZ=zz(),iZ=$z(),nZ=lZ.DiagAPI.instance();function pZ(q={}){return new gZ.BaggageImpl(new Map(Object.entries(q)))}Qz.createBaggage=pZ;function sZ(q){if(typeof q!=="string")nZ.error(`Cannot create baggage metadata from unknown type: ${typeof q}`),q="";return{__TYPE__:iZ.baggageEntryMetadataSymbol,toString(){return q}}}Qz.baggageEntryMetadataFromString=sZ});var k=$((Hz)=>{Object.defineProperty(Hz,"__esModule",{value:!0});Hz.ROOT_CONTEXT=Hz.createContextKey=void 0;function oZ(q){return Symbol.for(q)}Hz.createContextKey=oZ;class A{constructor(q){let z=this;z._currentContext=q?new Map(q):new Map,z.getValue=(J)=>z._currentContext.get(J),z.setValue=(J,Z)=>{let Q=new A(z._currentContext);return Q._currentContext.set(J,Z),Q},z.deleteValue=(J)=>{let Z=new A(z._currentContext);return Z._currentContext.delete(J),Z}}}Hz.ROOT_CONTEXT=new A});var hz=$((Fz)=>{Object.defineProperty(Fz,"__esModule",{value:!0});Fz.DiagConsoleLogger=void 0;var L=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class Yz{constructor(){function q(z){return function(...J){if(console){let Z=console[z];if(typeof Z!=="function")Z=console.log;if(typeof Z==="function")return Z.apply(console,J)}}}for(let z=0;z<L.length;z++)this[L[z].n]=q(L[z].c)}}Fz.DiagConsoleLogger=Yz});var s=$((wz)=>{Object.defineProperty(wz,"__esModule",{value:!0});wz.createNoopMeter=wz.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=wz.NOOP_OBSERVABLE_GAUGE_METRIC=wz.NOOP_OBSERVABLE_COUNTER_METRIC=wz.NOOP_UP_DOWN_COUNTER_METRIC=wz.NOOP_HISTOGRAM_METRIC=wz.NOOP_GAUGE_METRIC=wz.NOOP_COUNTER_METRIC=wz.NOOP_METER=wz.NoopObservableUpDownCounterMetric=wz.NoopObservableGaugeMetric=wz.NoopObservableCounterMetric=wz.NoopObservableMetric=wz.NoopHistogramMetric=wz.NoopGaugeMetric=wz.NoopUpDownCounterMetric=wz.NoopCounterMetric=wz.NoopMetric=wz.NoopMeter=void 0;class x{constructor(){}createGauge(q,z){return wz.NOOP_GAUGE_METRIC}createHistogram(q,z){return wz.NOOP_HISTOGRAM_METRIC}createCounter(q,z){return wz.NOOP_COUNTER_METRIC}createUpDownCounter(q,z){return wz.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(q,z){return wz.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(q,z){return wz.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(q,z){return wz.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(q,z){}removeBatchObservableCallback(q){}}wz.NoopMeter=x;class D{}wz.NoopMetric=D;class _ extends D{add(q,z){}}wz.NoopCounterMetric=_;class c extends D{add(q,z){}}wz.NoopUpDownCounterMetric=c;class l extends D{record(q,z){}}wz.NoopGaugeMetric=l;class g extends D{record(q,z){}}wz.NoopHistogramMetric=g;class b{addCallback(q){}removeCallback(q){}}wz.NoopObservableMetric=b;class i extends b{}wz.NoopObservableCounterMetric=i;class n extends b{}wz.NoopObservableGaugeMetric=n;class p extends b{}wz.NoopObservableUpDownCounterMetric=p;wz.NOOP_METER=new x;wz.NOOP_COUNTER_METRIC=new _;wz.NOOP_GAUGE_METRIC=new l;wz.NOOP_HISTOGRAM_METRIC=new g;wz.NOOP_UP_DOWN_COUNTER_METRIC=new c;wz.NOOP_OBSERVABLE_COUNTER_METRIC=new i;wz.NOOP_OBSERVABLE_GAUGE_METRIC=new n;wz.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new p;function aZ(){return wz.NOOP_METER}wz.createNoopMeter=aZ});var Nz=$((Vz)=>{Object.defineProperty(Vz,"__esModule",{value:!0});Vz.ValueType=void 0;var Y0;(function(q){q[q.INT=0]="INT",q[q.DOUBLE=1]="DOUBLE"})(Y0=Vz.ValueType||(Vz.ValueType={}))});var o=$((kz)=>{Object.defineProperty(kz,"__esModule",{value:!0});kz.defaultTextMapSetter=kz.defaultTextMapGetter=void 0;kz.defaultTextMapGetter={get(q,z){if(q==null)return;return q[z]},keys(q){if(q==null)return[];return Object.keys(q)}};kz.defaultTextMapSetter={set(q,z,J){if(q==null)return;q[z]=J}}});var Az=$((Ez)=>{Object.defineProperty(Ez,"__esModule",{value:!0});Ez.NoopContextManager=void 0;var G0=k();class Rz{active(){return G0.ROOT_CONTEXT}with(q,z,J,...Z){return z.call(J,...Z)}bind(q,z){return z}enable(){return this}disable(){return this}}Ez.NoopContextManager=Rz});var R=$((Pz)=>{Object.defineProperty(Pz,"__esModule",{value:!0});Pz.ContextAPI=void 0;var h0=Az(),t=B(),yz=f(),a="context",w0=new h0.NoopContextManager;class e{constructor(){}static getInstance(){if(!this._instance)this._instance=new e;return this._instance}setGlobalContextManager(q){return(0,t.registerGlobal)(a,q,yz.DiagAPI.instance())}active(){return this._getContextManager().active()}with(q,z,J,...Z){return this._getContextManager().with(q,z,J,...Z)}bind(q,z){return this._getContextManager().bind(q,z)}_getContextManager(){return(0,t.getGlobal)(a)||w0}disable(){this._getContextManager().disable(),(0,t.unregisterGlobal)(a,yz.DiagAPI.instance())}}Pz.ContextAPI=e});var zq=$((Sz)=>{Object.defineProperty(Sz,"__esModule",{value:!0});Sz.TraceFlags=void 0;var O0;(function(q){q[q.NONE=0]="NONE",q[q.SAMPLED=1]="SAMPLED"})(O0=Sz.TraceFlags||(Sz.TraceFlags={}))});var y=$((vz)=>{Object.defineProperty(vz,"__esModule",{value:!0});vz.INVALID_SPAN_CONTEXT=vz.INVALID_TRACEID=vz.INVALID_SPANID=void 0;var K0=zq();vz.INVALID_SPANID="0000000000000000";vz.INVALID_TRACEID="00000000000000000000000000000000";vz.INVALID_SPAN_CONTEXT={traceId:vz.INVALID_TRACEID,spanId:vz.INVALID_SPANID,traceFlags:K0.TraceFlags.NONE}});var P=$((xz)=>{Object.defineProperty(xz,"__esModule",{value:!0});xz.NonRecordingSpan=void 0;var B0=y();class Lz{constructor(q=B0.INVALID_SPAN_CONTEXT){this._spanContext=q}spanContext(){return this._spanContext}setAttribute(q,z){return this}setAttributes(q){return this}addEvent(q,z){return this}addLink(q){return this}addLinks(q){return this}setStatus(q){return this}updateName(q){return this}end(q){}isRecording(){return!1}recordException(q,z){}}xz.NonRecordingSpan=Lz});var $q=$((lz)=>{Object.defineProperty(lz,"__esModule",{value:!0});lz.getSpanContext=lz.setSpanContext=lz.deleteSpan=lz.setSpan=lz.getActiveSpan=lz.getSpan=void 0;var f0=k(),U0=P(),j0=R(),Jq=(0,f0.createContextKey)("OpenTelemetry Context Key SPAN");function Zq(q){return q.getValue(Jq)||void 0}lz.getSpan=Zq;function D0(){return Zq(j0.ContextAPI.getInstance().active())}lz.getActiveSpan=D0;function cz(q,z){return q.setValue(Jq,z)}lz.setSpan=cz;function C0(q){return q.deleteValue(Jq)}lz.deleteSpan=C0;function I0(q,z){return cz(q,new U0.NonRecordingSpan(z))}lz.setSpanContext=I0;function V0(q){var z;return(z=Zq(q))===null||z===void 0?void 0:z.spanContext()}lz.getSpanContext=V0});var M=$((sz)=>{Object.defineProperty(sz,"__esModule",{value:!0});sz.wrapSpanContext=sz.isSpanContextValid=sz.isValidSpanId=sz.isValidTraceId=void 0;var iz=y(),T0=P(),A0=/^([0-9a-f]{32})$/i,y0=/^[0-9a-f]{16}$/i;function nz(q){return A0.test(q)&&q!==iz.INVALID_TRACEID}sz.isValidTraceId=nz;function pz(q){return y0.test(q)&&q!==iz.INVALID_SPANID}sz.isValidSpanId=pz;function P0(q){return nz(q.traceId)&&pz(q.spanId)}sz.isSpanContextValid=P0;function M0(q){return new T0.NonRecordingSpan(q)}sz.wrapSpanContext=M0});var Hq=$((az)=>{Object.defineProperty(az,"__esModule",{value:!0});az.NoopTracer=void 0;var m0=R(),oz=$q(),Qq=P(),d0=M(),Wq=m0.ContextAPI.getInstance();class tz{startSpan(q,z,J=Wq.active()){if(Boolean(z===null||z===void 0?void 0:z.root))return new Qq.NonRecordingSpan;let Q=J&&(0,oz.getSpanContext)(J);if(L0(Q)&&(0,d0.isSpanContextValid)(Q))return new Qq.NonRecordingSpan(Q);else return new Qq.NonRecordingSpan}startActiveSpan(q,z,J,Z){let Q,H,X;if(arguments.length<2)return;else if(arguments.length===2)X=z;else if(arguments.length===3)Q=z,X=J;else Q=z,H=J,X=Z;let F=H!==null&&H!==void 0?H:Wq.active(),Y=this.startSpan(q,Q,F),h=(0,oz.setSpan)(F,Y);return Wq.with(h,X,void 0,Y)}}az.NoopTracer=tz;function L0(q){return typeof q==="object"&&typeof q.spanId==="string"&&typeof q.traceId==="string"&&typeof q.traceFlags==="number"}});var Xq=$((zJ)=>{Object.defineProperty(zJ,"__esModule",{value:!0});zJ.ProxyTracer=void 0;var x0=Hq(),_0=new x0.NoopTracer;class qJ{constructor(q,z,J,Z){this._provider=q,this.name=z,this.version=J,this.options=Z}startSpan(q,z,J){return this._getTracer().startSpan(q,z,J)}startActiveSpan(q,z,J,Z){let Q=this._getTracer();return Reflect.apply(Q.startActiveSpan,Q,arguments)}_getTracer(){if(this._delegate)return this._delegate;let q=this._provider.getDelegateTracer(this.name,this.version,this.options);if(!q)return _0;return this._delegate=q,this._delegate}}zJ.ProxyTracer=qJ});var WJ=$(($J)=>{Object.defineProperty($J,"__esModule",{value:!0});$J.NoopTracerProvider=void 0;var c0=Hq();class ZJ{getTracer(q,z,J){return new c0.NoopTracer}}$J.NoopTracerProvider=ZJ});var Yq=$((XJ)=>{Object.defineProperty(XJ,"__esModule",{value:!0});XJ.ProxyTracerProvider=void 0;var l0=Xq(),g0=WJ(),i0=new g0.NoopTracerProvider;class HJ{getTracer(q,z,J){var Z;return(Z=this.getDelegateTracer(q,z,J))!==null&&Z!==void 0?Z:new l0.ProxyTracer(this,q,z,J)}getDelegate(){var q;return(q=this._delegate)!==null&&q!==void 0?q:i0}setDelegate(q){this._delegate=q}getDelegateTracer(q,z,J){var Z;return(Z=this._delegate)===null||Z===void 0?void 0:Z.getTracer(q,z,J)}}XJ.ProxyTracerProvider=HJ});var GJ=$((FJ)=>{Object.defineProperty(FJ,"__esModule",{value:!0});FJ.SamplingDecision=void 0;var n0;(function(q){q[q.NOT_RECORD=0]="NOT_RECORD",q[q.RECORD=1]="RECORD",q[q.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(n0=FJ.SamplingDecision||(FJ.SamplingDecision={}))});var wJ=$((hJ)=>{Object.defineProperty(hJ,"__esModule",{value:!0});hJ.SpanKind=void 0;var p0;(function(q){q[q.INTERNAL=0]="INTERNAL",q[q.SERVER=1]="SERVER",q[q.CLIENT=2]="CLIENT",q[q.PRODUCER=3]="PRODUCER",q[q.CONSUMER=4]="CONSUMER"})(p0=hJ.SpanKind||(hJ.SpanKind={}))});var KJ=$((OJ)=>{Object.defineProperty(OJ,"__esModule",{value:!0});OJ.SpanStatusCode=void 0;var s0;(function(q){q[q.UNSET=0]="UNSET",q[q.OK=1]="OK",q[q.ERROR=2]="ERROR"})(s0=OJ.SpanStatusCode||(OJ.SpanStatusCode={}))});var UJ=$((BJ)=>{Object.defineProperty(BJ,"__esModule",{value:!0});BJ.validateValue=BJ.validateKey=void 0;var wq="[_0-9a-z-*/]",r0=`[a-z]${wq}{0,255}`,o0=`[a-z0-9]${wq}{0,240}@[a-z]${wq}{0,13}`,t0=new RegExp(`^(?:${r0}|${o0})$`),a0=/^[ -~]{0,255}[!-~]$/,e0=/,|=/;function q1(q){return t0.test(q)}BJ.validateKey=q1;function z1(q){return a0.test(q)&&!e0.test(q)}BJ.validateValue=z1});var kJ=$((VJ)=>{Object.defineProperty(VJ,"__esModule",{value:!0});VJ.TraceStateImpl=void 0;var jJ=UJ(),DJ=32,Z1=512,CJ=",",IJ="=";class Oq{constructor(q){if(this._internalState=new Map,q)this._parse(q)}set(q,z){let J=this._clone();if(J._internalState.has(q))J._internalState.delete(q);return J._internalState.set(q,z),J}unset(q){let z=this._clone();return z._internalState.delete(q),z}get(q){return this._internalState.get(q)}serialize(){return this._keys().reduce((q,z)=>{return q.push(z+IJ+this.get(z)),q},[]).join(CJ)}_parse(q){if(q.length>Z1)return;if(this._internalState=q.split(CJ).reverse().reduce((z,J)=>{let Z=J.trim(),Q=Z.indexOf(IJ);if(Q!==-1){let H=Z.slice(0,Q),X=Z.slice(Q+1,J.length);if((0,jJ.validateKey)(H)&&(0,jJ.validateValue)(X))z.set(H,X)}return z},new Map),this._internalState.size>DJ)this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,DJ))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let q=new Oq;return q._internalState=new Map(this._internalState),q}}VJ.TraceStateImpl=Oq});var EJ=$((bJ)=>{Object.defineProperty(bJ,"__esModule",{value:!0});bJ.createTraceState=void 0;var $1=kJ();function Q1(q){return new $1.TraceStateImpl(q)}bJ.createTraceState=Q1});var yJ=$((TJ)=>{Object.defineProperty(TJ,"__esModule",{value:!0});TJ.context=void 0;var W1=R();TJ.context=W1.ContextAPI.getInstance()});var SJ=$((PJ)=>{Object.defineProperty(PJ,"__esModule",{value:!0});PJ.diag=void 0;var H1=f();PJ.diag=H1.DiagAPI.instance()});var mJ=$((vJ)=>{Object.defineProperty(vJ,"__esModule",{value:!0});vJ.NOOP_METER_PROVIDER=vJ.NoopMeterProvider=void 0;var X1=s();class Kq{getMeter(q,z,J){return X1.NOOP_METER}}vJ.NoopMeterProvider=Kq;vJ.NOOP_METER_PROVIDER=new Kq});var _J=$((LJ)=>{Object.defineProperty(LJ,"__esModule",{value:!0});LJ.MetricsAPI=void 0;var F1=mJ(),Bq=B(),dJ=f(),fq="metrics";class Uq{constructor(){}static getInstance(){if(!this._instance)this._instance=new Uq;return this._instance}setGlobalMeterProvider(q){return(0,Bq.registerGlobal)(fq,q,dJ.DiagAPI.instance())}getMeterProvider(){return(0,Bq.getGlobal)(fq)||F1.NOOP_METER_PROVIDER}getMeter(q,z,J){return this.getMeterProvider().getMeter(q,z,J)}disable(){(0,Bq.unregisterGlobal)(fq,dJ.DiagAPI.instance())}}LJ.MetricsAPI=Uq});var gJ=$((cJ)=>{Object.defineProperty(cJ,"__esModule",{value:!0});cJ.metrics=void 0;var G1=_J();cJ.metrics=G1.MetricsAPI.getInstance()});var sJ=$((nJ)=>{Object.defineProperty(nJ,"__esModule",{value:!0});nJ.NoopTextMapPropagator=void 0;class iJ{inject(q,z){}extract(q,z){return q}fields(){return[]}}nJ.NoopTextMapPropagator=iJ});var aJ=$((oJ)=>{Object.defineProperty(oJ,"__esModule",{value:!0});oJ.deleteBaggage=oJ.setBaggage=oJ.getActiveBaggage=oJ.getBaggage=void 0;var h1=R(),w1=k(),jq=(0,w1.createContextKey)("OpenTelemetry Baggage Key");function rJ(q){return q.getValue(jq)||void 0}oJ.getBaggage=rJ;function O1(){return rJ(h1.ContextAPI.getInstance().active())}oJ.getActiveBaggage=O1;function K1(q,z){return q.setValue(jq,z)}oJ.setBaggage=K1;function B1(q){return q.deleteValue(jq)}oJ.deleteBaggage=B1});var ZZ=$((zZ)=>{Object.defineProperty(zZ,"__esModule",{value:!0});zZ.PropagationAPI=void 0;var Dq=B(),D1=sJ(),eJ=o(),S=aJ(),C1=d(),qZ=f(),Cq="propagation",I1=new D1.NoopTextMapPropagator;class Iq{constructor(){this.createBaggage=C1.createBaggage,this.getBaggage=S.getBaggage,this.getActiveBaggage=S.getActiveBaggage,this.setBaggage=S.setBaggage,this.deleteBaggage=S.deleteBaggage}static getInstance(){if(!this._instance)this._instance=new Iq;return this._instance}setGlobalPropagator(q){return(0,Dq.registerGlobal)(Cq,q,qZ.DiagAPI.instance())}inject(q,z,J=eJ.defaultTextMapSetter){return this._getGlobalPropagator().inject(q,z,J)}extract(q,z,J=eJ.defaultTextMapGetter){return this._getGlobalPropagator().extract(q,z,J)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,Dq.unregisterGlobal)(Cq,qZ.DiagAPI.instance())}_getGlobalPropagator(){return(0,Dq.getGlobal)(Cq)||I1}}zZ.PropagationAPI=Iq});var WZ=$(($Z)=>{Object.defineProperty($Z,"__esModule",{value:!0});$Z.propagation=void 0;var V1=ZZ();$Z.propagation=V1.PropagationAPI.getInstance()});var hZ=$((FZ)=>{Object.defineProperty(FZ,"__esModule",{value:!0});FZ.TraceAPI=void 0;var Vq=B(),HZ=Yq(),XZ=M(),C=$q(),YZ=f(),Nq="trace";class kq{constructor(){this._proxyTracerProvider=new HZ.ProxyTracerProvider,this.wrapSpanContext=XZ.wrapSpanContext,this.isSpanContextValid=XZ.isSpanContextValid,this.deleteSpan=C.deleteSpan,this.getSpan=C.getSpan,this.getActiveSpan=C.getActiveSpan,this.getSpanContext=C.getSpanContext,this.setSpan=C.setSpan,this.setSpanContext=C.setSpanContext}static getInstance(){if(!this._instance)this._instance=new kq;return this._instance}setGlobalTracerProvider(q){let z=(0,Vq.registerGlobal)(Nq,this._proxyTracerProvider,YZ.DiagAPI.instance());if(z)this._proxyTracerProvider.setDelegate(q);return z}getTracerProvider(){return(0,Vq.getGlobal)(Nq)||this._proxyTracerProvider}getTracer(q,z){return this.getTracerProvider().getTracer(q,z)}disable(){(0,Vq.unregisterGlobal)(Nq,YZ.DiagAPI.instance()),this._proxyTracerProvider=new HZ.ProxyTracerProvider}}FZ.TraceAPI=kq});var KZ=$((wZ)=>{Object.defineProperty(wZ,"__esModule",{value:!0});wZ.trace=void 0;var N1=hZ();wZ.trace=N1.TraceAPI.getInstance()});var L1=$((W)=>{Object.defineProperty(W,"__esModule",{value:!0});W.trace=W.propagation=W.metrics=W.diag=W.context=W.INVALID_SPAN_CONTEXT=W.INVALID_TRACEID=W.INVALID_SPANID=W.isValidSpanId=W.isValidTraceId=W.isSpanContextValid=W.createTraceState=W.TraceFlags=W.SpanStatusCode=W.SpanKind=W.SamplingDecision=W.ProxyTracerProvider=W.ProxyTracer=W.defaultTextMapSetter=W.defaultTextMapGetter=W.ValueType=W.createNoopMeter=W.DiagLogLevel=W.DiagConsoleLogger=W.ROOT_CONTEXT=W.createContextKey=W.baggageEntryMetadataFromString=void 0;var k1=d();Object.defineProperty(W,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return k1.baggageEntryMetadataFromString}});var BZ=k();Object.defineProperty(W,"createContextKey",{enumerable:!0,get:function(){return BZ.createContextKey}});Object.defineProperty(W,"ROOT_CONTEXT",{enumerable:!0,get:function(){return BZ.ROOT_CONTEXT}});var b1=hz();Object.defineProperty(W,"DiagConsoleLogger",{enumerable:!0,get:function(){return b1.DiagConsoleLogger}});var R1=E();Object.defineProperty(W,"DiagLogLevel",{enumerable:!0,get:function(){return R1.DiagLogLevel}});var E1=s();Object.defineProperty(W,"createNoopMeter",{enumerable:!0,get:function(){return E1.createNoopMeter}});var T1=Nz();Object.defineProperty(W,"ValueType",{enumerable:!0,get:function(){return T1.ValueType}});var fZ=o();Object.defineProperty(W,"defaultTextMapGetter",{enumerable:!0,get:function(){return fZ.defaultTextMapGetter}});Object.defineProperty(W,"defaultTextMapSetter",{enumerable:!0,get:function(){return fZ.defaultTextMapSetter}});var A1=Xq();Object.defineProperty(W,"ProxyTracer",{enumerable:!0,get:function(){return A1.ProxyTracer}});var y1=Yq();Object.defineProperty(W,"ProxyTracerProvider",{enumerable:!0,get:function(){return y1.ProxyTracerProvider}});var P1=GJ();Object.defineProperty(W,"SamplingDecision",{enumerable:!0,get:function(){return P1.SamplingDecision}});var M1=wJ();Object.defineProperty(W,"SpanKind",{enumerable:!0,get:function(){return M1.SpanKind}});var S1=KJ();Object.defineProperty(W,"SpanStatusCode",{enumerable:!0,get:function(){return S1.SpanStatusCode}});var v1=zq();Object.defineProperty(W,"TraceFlags",{enumerable:!0,get:function(){return v1.TraceFlags}});var u1=EJ();Object.defineProperty(W,"createTraceState",{enumerable:!0,get:function(){return u1.createTraceState}});var bq=M();Object.defineProperty(W,"isSpanContextValid",{enumerable:!0,get:function(){return bq.isSpanContextValid}});Object.defineProperty(W,"isValidTraceId",{enumerable:!0,get:function(){return bq.isValidTraceId}});Object.defineProperty(W,"isValidSpanId",{enumerable:!0,get:function(){return bq.isValidSpanId}});var Rq=y();Object.defineProperty(W,"INVALID_SPANID",{enumerable:!0,get:function(){return Rq.INVALID_SPANID}});Object.defineProperty(W,"INVALID_TRACEID",{enumerable:!0,get:function(){return Rq.INVALID_TRACEID}});Object.defineProperty(W,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return Rq.INVALID_SPAN_CONTEXT}});var UZ=yJ();Object.defineProperty(W,"context",{enumerable:!0,get:function(){return UZ.context}});var jZ=SJ();Object.defineProperty(W,"diag",{enumerable:!0,get:function(){return jZ.diag}});var DZ=gJ();Object.defineProperty(W,"metrics",{enumerable:!0,get:function(){return DZ.metrics}});var CZ=WZ();Object.defineProperty(W,"propagation",{enumerable:!0,get:function(){return CZ.propagation}});var IZ=KZ();Object.defineProperty(W,"trace",{enumerable:!0,get:function(){return IZ.trace}});W.default={context:UZ.context,diag:jZ.diag,metrics:DZ.metrics,propagation:CZ.propagation,trace:IZ.trace}});
3
+ export{L1 as ZQ};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Js as a}from"./chunk-z9k4506p.js";import"./chunk-pfx8ts02.js";export default a();
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-pfx8ts02.js";var e="./libopentui-c48jzvfh.so";export{e as default};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ud as j}from"./chunk-fpzkyzny.js";import{fe as Q}from"./chunk-w8nj5ph5.js";import{cg as M}from"./chunk-psmwrvqs.js";import{xg as N}from"./chunk-583d91xq.js";import{Ah as $}from"./chunk-fd04358e.js";import"./chunk-qn1fhqyw.js";import"./chunk-674pexjx.js";import"./chunk-zjyaze0d.js";import"./chunk-xdcwx384.js";import"./chunk-rd08wx37.js";import"./chunk-fp2xgnjn.js";import{Lj as J,bl as X}from"./chunk-y1v7mf1a.js";import"./chunk-358wdvj7.js";import"./chunk-dn0437c1.js";import"./chunk-47jkx37s.js";import"./chunk-31a47ptm.js";import"./chunk-jwv6fda1.js";import"./chunk-hx13a8es.js";import"./chunk-h036zy9e.js";import"./chunk-j3agzs13.js";import"./chunk-3152y1q9.js";import{Pn as _}from"./chunk-71jmhvef.js";import"./chunk-qrztx1b4.js";import"./chunk-j1bv93m4.js";import"./chunk-pp10epga.js";import"./chunk-crqycrs4.js";import"./chunk-1bq15kf0.js";import"./chunk-pdcxmr6x.js";import"./chunk-cqtkxwd8.js";import"./chunk-a1mbach4.js";import"./chunk-m6967jtv.js";import"./chunk-j2snkw45.js";import"./chunk-bmdqb48f.js";import"./chunk-3cs1qf8x.js";import"./chunk-4xqwt6dr.js";import"./chunk-g77kddrs.js";import"./chunk-9znfb8f2.js";import"./chunk-6kch0q2d.js";import"./chunk-6cztstry.js";import{Gs as Z}from"./chunk-1mfdmm2t.js";import{Ps as E}from"./chunk-fkq0v5qv.js";import"./chunk-1e75j4m1.js";import"./chunk-2w3n0q9m.js";import"./chunk-6dd2dx69.js";import"./chunk-fdmz0502.js";import"./chunk-1a08ffyd.js";import"./chunk-8jkqyf9n.js";import"./chunk-6yshpz0z.js";import{Pt as Y}from"./chunk-5dvy83ms.js";import{hu as V}from"./chunk-ffx0cr44.js";import"./chunk-33mzqyyb.js";import"./chunk-sg9enzsp.js";import"./chunk-5q98z8ck.js";import"./chunk-wfpnv00c.js";import"./chunk-9kc2th5c.js";import"./chunk-hf39qx6t.js";import"./chunk-x0de4z05.js";import"./chunk-sh03ka27.js";import{EOL as L}from"os";import k from"path";function P(){let q=["-R","-S"];if(process.platform!=="win32")return["less",...q];let z=_("less");if(z){if(V.stat(z)?.size)return[z,...q]}if(Y.QITQODE_GIT_BASH_PATH){let G=k.join(Y.QITQODE_GIT_BASH_PATH,"..","..","usr","bin","less.exe");if(V.stat(G)?.size)return[G,...q]}let B=_("git");if(B){let G=k.join(B,"..","..","usr","bin","less.exe");if(V.stat(G)?.size)return[G,...q]}return["cmd","/c","more"]}var g=Q({command:"session",describe:"manage sessions",builder:(q)=>q.command(T).command(D).command(v).demandCommand(),async handler(){}}),v=Q({command:"import-claude",describe:"import Claude Code sessions (~/.claude/projects) into qitqode",builder:(q)=>q.option("force",{describe:"re-sync every session, ignoring the mtime cache",type:"boolean",default:!1}),handler:async(q)=>{let z=await N.run({force:q.force});M.println(`Claude import: scanned ${z.scanned}, imported ${z.imported}, resynced ${z.resynced}, skipped ${z.skipped}`+(z.errors.length?`, errors ${z.errors.length}`:""));for(let B of z.errors)M.error(B)}}),D=Q({command:"delete <sessionID>",describe:"delete a session",builder:(q)=>{return q.positional("sessionID",{describe:"session ID to delete",type:"string",demandOption:!0})},handler:async(q)=>{await j(process.cwd(),async()=>{let z=J.make(q.sessionID);try{await $.runPromise(X.Service.use((B)=>B.get(z)))}catch{M.error(`Session not found: ${q.sessionID}`),process.exit(1)}await $.runPromise(X.Service.use((B)=>B.remove(z))),M.println(M.Style.TEXT_SUCCESS_BOLD+`Session ${q.sessionID} deleted`+M.Style.TEXT_NORMAL)})}}),T=Q({command:"list",describe:"list sessions",builder:(q)=>{return q.option("max-count",{alias:"n",describe:"limit to N most recent sessions",type:"number"}).option("format",{describe:"output format",type:"string",choices:["table","json"],default:"table"})},handler:async(q)=>{await j(process.cwd(),async()=>{let z=[...X.list({roots:!0,limit:q.maxCount})];if(z.length===0)return;let B;if(q.format==="json")B=f(z);else B=b(z);if(process.stdout.isTTY&&!q.maxCount&&q.format==="table"){let H=E.spawn(P(),{stdin:"pipe",stdout:"inherit",stderr:"inherit"});if(!H.stdin){console.log(B);return}H.stdin.write(B),H.stdin.end(),await H.exited}else console.log(B)})}});function b(q){let z=[],B=Math.max(20,...q.map((K)=>K.id.length)),G=Math.max(25,...q.map((K)=>K.title.length)),H=`Session ID${" ".repeat(B-10)} Title${" ".repeat(G-5)} Updated`;z.push(H),z.push("\u2500".repeat(H.length));for(let K of q){let A=Z.truncate(K.title,G),R=Z.todayTimeOrDateTime(K.time.updated),w=`${K.id.padEnd(B)} ${A.padEnd(G)} ${R}`;z.push(w)}return z.join(L)}function f(q){let z=q.map((B)=>({id:B.id,title:B.title,updated:B.time.updated,created:B.time.created,projectId:B.projectID,directory:B.directory}));return JSON.stringify(z,null,2)}export{T as SessionListCommand,v as SessionImportClaudeCommand,D as SessionDeleteCommand,g as SessionCommand};
2
+ import{Vd as j}from"./chunk-kevhkmn2.js";import{ge as Q}from"./chunk-sqrx9csx.js";import{dg as M}from"./chunk-5t69v8jg.js";import{yg as N}from"./chunk-0gqwvt8w.js";import{Bh as $}from"./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{Mj as J,cl as X}from"./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{np as _}from"./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{ku as Z}from"./chunk-m5r6zq6v.js";import{tu as E}from"./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{tv as Y}from"./chunk-62mb6wxm.js";import{Nv as V}from"./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"./chunk-pfx8ts02.js";import{EOL as L}from"os";import k from"path";function P(){let q=["-R","-S"];if(process.platform!=="win32")return["less",...q];let z=_("less");if(z){if(V.stat(z)?.size)return[z,...q]}if(Y.QITQODE_GIT_BASH_PATH){let G=k.join(Y.QITQODE_GIT_BASH_PATH,"..","..","usr","bin","less.exe");if(V.stat(G)?.size)return[G,...q]}let B=_("git");if(B){let G=k.join(B,"..","..","usr","bin","less.exe");if(V.stat(G)?.size)return[G,...q]}return["cmd","/c","more"]}var g=Q({command:"session",describe:"manage sessions",builder:(q)=>q.command(T).command(D).command(v).demandCommand(),async handler(){}}),v=Q({command:"import-claude",describe:"import Claude Code sessions (~/.claude/projects) into qitqode",builder:(q)=>q.option("force",{describe:"re-sync every session, ignoring the mtime cache",type:"boolean",default:!1}),handler:async(q)=>{let z=await N.run({force:q.force});M.println(`Claude import: scanned ${z.scanned}, imported ${z.imported}, resynced ${z.resynced}, skipped ${z.skipped}`+(z.errors.length?`, errors ${z.errors.length}`:""));for(let B of z.errors)M.error(B)}}),D=Q({command:"delete <sessionID>",describe:"delete a session",builder:(q)=>{return q.positional("sessionID",{describe:"session ID to delete",type:"string",demandOption:!0})},handler:async(q)=>{await j(process.cwd(),async()=>{let z=J.make(q.sessionID);try{await $.runPromise(X.Service.use((B)=>B.get(z)))}catch{M.error(`Session not found: ${q.sessionID}`),process.exit(1)}await $.runPromise(X.Service.use((B)=>B.remove(z))),M.println(M.Style.TEXT_SUCCESS_BOLD+`Session ${q.sessionID} deleted`+M.Style.TEXT_NORMAL)})}}),T=Q({command:"list",describe:"list sessions",builder:(q)=>{return q.option("max-count",{alias:"n",describe:"limit to N most recent sessions",type:"number"}).option("format",{describe:"output format",type:"string",choices:["table","json"],default:"table"})},handler:async(q)=>{await j(process.cwd(),async()=>{let z=[...X.list({roots:!0,limit:q.maxCount})];if(z.length===0)return;let B;if(q.format==="json")B=f(z);else B=b(z);if(process.stdout.isTTY&&!q.maxCount&&q.format==="table"){let H=E.spawn(P(),{stdin:"pipe",stdout:"inherit",stderr:"inherit"});if(!H.stdin){console.log(B);return}H.stdin.write(B),H.stdin.end(),await H.exited}else console.log(B)})}});function b(q){let z=[],B=Math.max(20,...q.map((K)=>K.id.length)),G=Math.max(25,...q.map((K)=>K.title.length)),H=`Session ID${" ".repeat(B-10)} Title${" ".repeat(G-5)} Updated`;z.push(H),z.push("\u2500".repeat(H.length));for(let K of q){let A=Z.truncate(K.title,G),R=Z.todayTimeOrDateTime(K.time.updated),w=`${K.id.padEnd(B)} ${A.padEnd(G)} ${R}`;z.push(w)}return z.join(L)}function f(q){let z=q.map((B)=>({id:B.id,title:B.title,updated:B.time.updated,created:B.time.created,projectId:B.projectID,directory:B.directory}));return JSON.stringify(z,null,2)}export{T as SessionListCommand,v as SessionImportClaudeCommand,D as SessionDeleteCommand,g as SessionCommand};