@qitqode/qitqode-android-arm64 0.2.11 → 0.2.13

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 (387) hide show
  1. package/bundle/{chunk-cshsqavb.js → chunk-00krzh3y.js} +2 -2
  2. package/bundle/{chunk-42gd2vx4.js → chunk-04x4b2yy.js} +1 -1
  3. package/bundle/{chunk-vyf77kq1.js → chunk-08mgb5tt.js} +2 -2
  4. package/bundle/{chunk-7jvx29js.js → chunk-094m66q5.js} +1 -1
  5. package/bundle/{chunk-9d8meavf.js → chunk-0cjp9088.js} +1 -1
  6. package/bundle/{chunk-hav9pgf3.js → chunk-0mdmqtfr.js} +2 -2
  7. package/bundle/chunk-0nves64y.js +2 -0
  8. package/bundle/chunk-0v7knkt5.js +2 -0
  9. package/bundle/{chunk-y565z8n2.js → chunk-0w77vhg4.js} +2 -2
  10. package/bundle/{chunk-ex47pb9n.js → chunk-0ware2sh.js} +2 -2
  11. package/bundle/{chunk-9svh74gt.js → chunk-0xf12tf3.js} +1 -1
  12. package/bundle/{chunk-1rsabv4p.js → chunk-139qfnsq.js} +1 -1
  13. package/bundle/chunk-1851skhm.js +10 -0
  14. package/bundle/{chunk-92xxg12q.js → chunk-1bbx1da7.js} +1 -1
  15. package/bundle/{chunk-89b6ttzs.js → chunk-1bhcg889.js} +1 -1
  16. package/bundle/{chunk-g83d3a0t.js → chunk-1exjy880.js} +2 -2
  17. package/bundle/{chunk-s3zmxfz2.js → chunk-1f9qcrn6.js} +2 -2
  18. package/bundle/{chunk-5mgmq6yz.js → chunk-1gt6ppza.js} +1 -1
  19. package/bundle/chunk-1h5jdsgx.js +2 -0
  20. package/bundle/{chunk-k4d8gwxe.js → chunk-1q5h95hc.js} +1 -1
  21. package/bundle/chunk-1r5e1jsb.js +2 -0
  22. package/bundle/{chunk-7wshaze9.js → chunk-1rafe6f5.js} +2 -2
  23. package/bundle/{chunk-22wa8zty.js → chunk-1rw4srd1.js} +1 -1
  24. package/bundle/{chunk-rvev3cy6.js → chunk-1sejtx9a.js} +2 -2
  25. package/bundle/{chunk-1yh1f9yj.js → chunk-1wy8wmah.js} +1 -1
  26. package/bundle/chunk-1wyy3c48.js +2 -0
  27. package/bundle/chunk-1z299xq6.js +2 -0
  28. package/bundle/{chunk-f78yth0b.js → chunk-21aqt31s.js} +1 -1
  29. package/bundle/chunk-22aq9ymg.js +2 -0
  30. package/bundle/chunk-26a17c9z.js +2 -0
  31. package/bundle/chunk-2a154mr0.js +2 -0
  32. package/bundle/{chunk-n2ytaxyn.js → chunk-2b80n6nx.js} +1 -1
  33. package/bundle/{chunk-fqvrxy41.js → chunk-2bfq0mtx.js} +1 -1
  34. package/bundle/{chunk-tqnf1p88.js → chunk-2d0vympj.js} +1 -1
  35. package/bundle/{chunk-wdy0fsp8.js → chunk-2md5fz4f.js} +1 -1
  36. package/bundle/chunk-2nbce486.js +2 -0
  37. package/bundle/chunk-2npxatq9.js +2 -0
  38. package/bundle/{chunk-xf1y0sc6.js → chunk-2p1qaqv3.js} +1 -1
  39. package/bundle/{chunk-3hawwbw6.js → chunk-2ts2s8b4.js} +2 -2
  40. package/bundle/{chunk-43x9n8rp.js → chunk-374js0y6.js} +1 -1
  41. package/bundle/{chunk-wp0xd7at.js → chunk-3be70hxy.js} +1 -1
  42. package/bundle/{chunk-kr975sx0.js → chunk-3fx3eghq.js} +1 -1
  43. package/bundle/{chunk-cs3cbfm8.js → chunk-3gryj9r9.js} +1 -1
  44. package/bundle/{chunk-9wzxnwv7.js → chunk-3jnanbjr.js} +1 -1
  45. package/bundle/chunk-3meh1cbc.js +2 -0
  46. package/bundle/{chunk-pfd8gzy4.js → chunk-3rcfy8te.js} +1 -1
  47. package/bundle/{chunk-cgxzmkkf.js → chunk-3t71xfr6.js} +1 -1
  48. package/bundle/chunk-4045jzv5.js +2 -0
  49. package/bundle/{chunk-wzfb19t6.js → chunk-404ew3d3.js} +1 -1
  50. package/bundle/{chunk-zskjqrmc.js → chunk-45dtsre6.js} +1 -1
  51. package/bundle/chunk-47pxz6cb.js +5 -0
  52. package/bundle/{chunk-4805mxf7.js → chunk-4ar8hey8.js} +1 -1
  53. package/bundle/chunk-4b2vv484.js +2 -0
  54. package/bundle/chunk-4ene1ymj.js +2 -0
  55. package/bundle/{chunk-y24yxs9g.js → chunk-4enhsmq1.js} +1 -1
  56. package/bundle/{chunk-zj5snrsa.js → chunk-4krmja97.js} +1 -1
  57. package/bundle/{chunk-46ewdxgh.js → chunk-4s9d2zte.js} +1 -1
  58. package/bundle/{chunk-51vn4f06.js → chunk-4wzv2v36.js} +2 -2
  59. package/bundle/{chunk-vhh80d5j.js → chunk-53n3tfwn.js} +2 -2
  60. package/bundle/{chunk-fqvsxg00.js → chunk-5828bcp8.js} +1 -1
  61. package/bundle/chunk-58r5etg8.js +2 -0
  62. package/bundle/{chunk-rx29zmw2.js → chunk-5a4zt1b7.js} +1 -1
  63. package/bundle/chunk-5c2zw4h0.js +2 -0
  64. package/bundle/{chunk-e9vh8d52.js → chunk-5e0vejcb.js} +2 -2
  65. package/bundle/{chunk-y7cqyeve.js → chunk-5es19n1m.js} +2 -2
  66. package/bundle/{chunk-r4qpsa4e.js → chunk-5fbzvy6q.js} +1 -1
  67. package/bundle/{chunk-pcmsxhrb.js → chunk-5gv6r7v8.js} +1 -1
  68. package/bundle/{chunk-hama2v6a.js → chunk-5psekq9f.js} +1 -1
  69. package/bundle/{chunk-vf75j9wd.js → chunk-5rtsnnjk.js} +1 -1
  70. package/bundle/{chunk-t3e19wdp.js → chunk-5wjwzbk8.js} +1 -1
  71. package/bundle/chunk-608f83n0.js +2 -0
  72. package/bundle/{chunk-zjfdptdj.js → chunk-610mqqqa.js} +1 -1
  73. package/bundle/chunk-671r50ry.js +2 -0
  74. package/bundle/chunk-6bfnhr3d.js +2 -0
  75. package/bundle/chunk-6cv6d8rw.js +2 -0
  76. package/bundle/{chunk-mazakqr7.js → chunk-6dmk2eyt.js} +1 -1
  77. package/bundle/{chunk-x28chfpz.js → chunk-6g3bzap8.js} +2 -2
  78. package/bundle/{chunk-qtdxy2q1.js → chunk-6jb4mnvq.js} +2 -2
  79. package/bundle/{chunk-8z65v9c9.js → chunk-6kpk6pr3.js} +1 -1
  80. package/bundle/chunk-6qm6f88j.js +2 -0
  81. package/bundle/{chunk-bxc3z38f.js → chunk-6wt8g6mc.js} +2 -2
  82. package/bundle/{chunk-nvvja3ch.js → chunk-71naz1qp.js} +1 -1
  83. package/bundle/{chunk-3amgvg81.js → chunk-72qx43fq.js} +1 -1
  84. package/bundle/chunk-78bfwwmc.js +2 -0
  85. package/bundle/{chunk-hts68y73.js → chunk-78rfz0ex.js} +1 -1
  86. package/bundle/{chunk-075gkea2.js → chunk-7bvh48s2.js} +1 -1
  87. package/bundle/{chunk-71h3pmnn.js → chunk-7h0regqs.js} +1 -1
  88. package/bundle/{chunk-4c6d1wy1.js → chunk-7k1q26yn.js} +2 -2
  89. package/bundle/{chunk-4ngvj758.js → chunk-7nh8vjx4.js} +1 -1
  90. package/bundle/{chunk-fsagyvkz.js → chunk-7p8f8xav.js} +1 -1
  91. package/bundle/chunk-7wwtgxxf.js +2 -0
  92. package/bundle/{chunk-k8zbhj2p.js → chunk-81mwbcy3.js} +1 -1
  93. package/bundle/{chunk-8gn7r4kb.js → chunk-821zkh5v.js} +1 -1
  94. package/bundle/{chunk-xmt17jd4.js → chunk-84712kbe.js} +1 -1
  95. package/bundle/{chunk-k56zj08h.js → chunk-8hrt4d0v.js} +1 -1
  96. package/bundle/{chunk-vrt8wd3r.js → chunk-8psfgg8y.js} +1 -1
  97. package/bundle/{chunk-09n24ztn.js → chunk-8xbd0ra5.js} +1 -1
  98. package/bundle/{chunk-50knjq36.js → chunk-95ga21eq.js} +1 -1
  99. package/bundle/{chunk-8qbhnwej.js → chunk-962hspr0.js} +1 -1
  100. package/bundle/chunk-98sb49dz.js +2 -0
  101. package/bundle/{chunk-dzw0j790.js → chunk-9a9qcvtz.js} +2 -2
  102. package/bundle/{chunk-p5p4jh9s.js → chunk-9c0f79mt.js} +1 -1
  103. package/bundle/{chunk-1h9sc0gy.js → chunk-9h2fms7x.js} +1 -1
  104. package/bundle/chunk-9kbtpq9m.js +2 -0
  105. package/bundle/{chunk-96nmxprr.js → chunk-9r6wk75s.js} +1 -1
  106. package/bundle/chunk-9szp9b4m.js +2 -0
  107. package/bundle/{chunk-1pd943m9.js → chunk-9xbc558j.js} +1 -1
  108. package/bundle/chunk-9xqszq0c.js +2 -0
  109. package/bundle/chunk-a32kjs9e.js +2 -0
  110. package/bundle/{chunk-fnmq42y5.js → chunk-a4242cn4.js} +1 -1
  111. package/bundle/{chunk-bwzbcwff.js → chunk-ajykvcas.js} +1 -1
  112. package/bundle/{chunk-sjtq9bbb.js → chunk-anm5g0m4.js} +1 -1
  113. package/bundle/chunk-apym02ct.js +2 -0
  114. package/bundle/{chunk-5qydhr42.js → chunk-aq75kv5f.js} +2 -2
  115. package/bundle/chunk-armv2rv5.js +2 -0
  116. package/bundle/chunk-as215v64.js +2 -0
  117. package/bundle/{chunk-y8tx9x5b.js → chunk-b46t2315.js} +1 -1
  118. package/bundle/{chunk-78e76m4h.js → chunk-ba2hn77m.js} +1 -1
  119. package/bundle/{chunk-tyk97q7c.js → chunk-bd4krah7.js} +1 -1
  120. package/bundle/chunk-bnmpgpyf.js +2 -0
  121. package/bundle/{chunk-rxh160jr.js → chunk-bpv378bm.js} +1 -1
  122. package/bundle/chunk-bq3zt1x1.js +2 -0
  123. package/bundle/{chunk-sz75fx13.js → chunk-bx8fgjam.js} +1 -1
  124. package/bundle/{chunk-9gs4en9v.js → chunk-bydaqb08.js} +1 -1
  125. package/bundle/{chunk-n4fwztya.js → chunk-c1srcpfk.js} +1 -1
  126. package/bundle/{chunk-tpw1ewqn.js → chunk-c99npyz9.js} +1 -1
  127. package/bundle/chunk-ckcnb59t.js +2 -0
  128. package/bundle/{chunk-bffm0wv9.js → chunk-csbndz33.js} +1 -1
  129. package/bundle/{chunk-88hmeyf5.js → chunk-cv3xdp8q.js} +6 -6
  130. package/bundle/{chunk-h6kmpgak.js → chunk-d2049chz.js} +1 -1
  131. package/bundle/{chunk-611wfdn3.js → chunk-d4ys15w3.js} +1 -1
  132. package/bundle/chunk-d79xaj6s.js +3 -0
  133. package/bundle/chunk-dah2d37s.js +2 -0
  134. package/bundle/chunk-dhgjv1n2.js +2 -0
  135. package/bundle/chunk-dk9k8ff5.js +2 -0
  136. package/bundle/{chunk-eya9c81t.js → chunk-dmgdwvn1.js} +1 -1
  137. package/bundle/{chunk-r6055kk0.js → chunk-dpm5x19e.js} +2 -2
  138. package/bundle/{chunk-pdcj2rfz.js → chunk-dwjv3m5s.js} +1 -1
  139. package/bundle/chunk-dymysn4h.js +2 -0
  140. package/bundle/{chunk-jt7g0r2j.js → chunk-dzy3ezht.js} +1 -1
  141. package/bundle/{chunk-43eqr0ds.js → chunk-e0w082wt.js} +6 -6
  142. package/bundle/{chunk-2vsqsxe1.js → chunk-e4658j15.js} +3 -3
  143. package/bundle/{chunk-t076hwsv.js → chunk-e6s8ep9m.js} +1 -1
  144. package/bundle/{chunk-gfer8ch3.js → chunk-ec1bwa7f.js} +1 -1
  145. package/bundle/{chunk-1dnvdeat.js → chunk-eefzbdbk.js} +1 -1
  146. package/bundle/{chunk-q8qx38kz.js → chunk-eh73j82b.js} +1 -1
  147. package/bundle/{chunk-xfsccqsm.js → chunk-es6vbsjg.js} +1 -1
  148. package/bundle/{chunk-s3hbwksw.js → chunk-etvwxwn3.js} +1 -1
  149. package/bundle/chunk-ev4gw5k6.js +2 -0
  150. package/bundle/chunk-ew2dxm43.js +2 -0
  151. package/bundle/{chunk-wspbjh74.js → chunk-ewde5bss.js} +2 -2
  152. package/bundle/{chunk-jh2za7y4.js → chunk-fbd971t7.js} +3 -3
  153. package/bundle/{chunk-fd6qxjtf.js → chunk-ff031crt.js} +1 -1
  154. package/bundle/chunk-ffp4wg27.js +2 -0
  155. package/bundle/{chunk-ph46s66y.js → chunk-fj87htwn.js} +1 -1
  156. package/bundle/{chunk-m8phqgxp.js → chunk-fmvmp278.js} +1 -1
  157. package/bundle/{chunk-zr89enb8.js → chunk-fqzfytjk.js} +1 -1
  158. package/bundle/{chunk-ghdegwnr.js → chunk-g0x6q2ks.js} +1 -1
  159. package/bundle/{chunk-84qx54nf.js → chunk-g3y5kvg6.js} +1 -1
  160. package/bundle/{chunk-sbj816s8.js → chunk-g6ffx794.js} +1 -1
  161. package/bundle/{chunk-y8bxvp3c.js → chunk-gcpwm7b5.js} +1 -1
  162. package/bundle/{chunk-ncvr75f6.js → chunk-gdawpkxs.js} +1 -1
  163. package/bundle/{chunk-yhr7s8qm.js → chunk-gjmxrz0v.js} +1 -1
  164. package/bundle/{chunk-95tec4gm.js → chunk-gtmtvjwc.js} +1 -1
  165. package/bundle/{chunk-yvtbt12y.js → chunk-gvc1mqrs.js} +2 -2
  166. package/bundle/{chunk-49brdmgp.js → chunk-gw2fz5ry.js} +1 -1
  167. package/bundle/{chunk-2ts74cgq.js → chunk-h1p3xcfp.js} +1 -1
  168. package/bundle/{chunk-hntsg7q4.js → chunk-h2vtypa5.js} +1 -1
  169. package/bundle/{chunk-ccghr6pm.js → chunk-h9tcpbr7.js} +1 -1
  170. package/bundle/{chunk-wqkvsj5y.js → chunk-hcd0k14e.js} +1 -1
  171. package/bundle/{chunk-pkm3w0ks.js → chunk-hd6sd912.js} +1 -1
  172. package/bundle/{chunk-32x2901e.js → chunk-hgcnzsd5.js} +1 -1
  173. package/bundle/chunk-hjy90gt2.js +2 -0
  174. package/bundle/{chunk-tz60e15h.js → chunk-hk8m8vax.js} +2 -2
  175. package/bundle/chunk-hmden934.js +2 -0
  176. package/bundle/{chunk-48y4n9ne.js → chunk-hnbtfpb7.js} +1 -1
  177. package/bundle/{chunk-49we3vy1.js → chunk-hp9q7vvq.js} +2 -2
  178. package/bundle/{chunk-j5dnzqjy.js → chunk-hrfdrz36.js} +1 -1
  179. package/bundle/chunk-hsm8fbb1.js +2 -0
  180. package/bundle/{chunk-vbcekkw2.js → chunk-hsmtjb4d.js} +2 -2
  181. package/bundle/chunk-hz1xfedb.js +2 -0
  182. package/bundle/{chunk-8y03p2md.js → chunk-hzzvmr41.js} +1 -1
  183. package/bundle/chunk-ja9y478k.js +2 -0
  184. package/bundle/chunk-jam7xyjf.js +2 -0
  185. package/bundle/{chunk-a2pd7nt5.js → chunk-jmrqp50k.js} +1 -1
  186. package/bundle/{chunk-c53ev0da.js → chunk-jrh028na.js} +2 -2
  187. package/bundle/{chunk-j7d3v0x2.js → chunk-jt94rhev.js} +1 -1
  188. package/bundle/{chunk-vnz9n9z0.js → chunk-k3x6z5q1.js} +1 -1
  189. package/bundle/chunk-k51qphrk.js +2 -0
  190. package/bundle/{chunk-z1xeqrgd.js → chunk-kee7xpe3.js} +1 -1
  191. package/bundle/{chunk-k5swnh8m.js → chunk-m18pxkdg.js} +3 -3
  192. package/bundle/{chunk-wpx2vmf5.js → chunk-map852em.js} +1 -1
  193. package/bundle/{chunk-c5n49vrd.js → chunk-mbma071k.js} +2 -2
  194. package/bundle/{chunk-s6vhscvd.js → chunk-mchf2bcc.js} +1 -1
  195. package/bundle/{chunk-wpkr3vzf.js → chunk-mfg4stzn.js} +1 -1
  196. package/bundle/{chunk-d39e4fa8.js → chunk-mgff8bcx.js} +1 -1
  197. package/bundle/{chunk-k232ny9m.js → chunk-mhn0a828.js} +1 -1
  198. package/bundle/{chunk-cm7yp259.js → chunk-mqtj38j9.js} +1 -1
  199. package/bundle/{chunk-mnxcykeq.js → chunk-mrh5q4s6.js} +2 -2
  200. package/bundle/{chunk-9d2mtevw.js → chunk-msbe5rb7.js} +1 -1
  201. package/bundle/{chunk-sxtfssjv.js → chunk-n73ckwr7.js} +1 -1
  202. package/bundle/{chunk-wkepvmgt.js → chunk-nn2hbew8.js} +1 -1
  203. package/bundle/{chunk-98z5pfvj.js → chunk-npryn3en.js} +1 -1
  204. package/bundle/chunk-p13eeqe4.js +2 -0
  205. package/bundle/{chunk-d1j8frtq.js → chunk-p3tcw42f.js} +1 -1
  206. package/bundle/chunk-p45f2nyb.js +2 -0
  207. package/bundle/{chunk-7x4g7h04.js → chunk-p863r97y.js} +1 -1
  208. package/bundle/{chunk-6xx66mr1.js → chunk-paqy0c2v.js} +1 -1
  209. package/bundle/{chunk-1tdy73ha.js → chunk-pfen4ekj.js} +1 -1
  210. package/bundle/{chunk-b79bb2g3.js → chunk-pzn7cade.js} +1 -1
  211. package/bundle/{chunk-jfe9f2wv.js → chunk-q7wc3frq.js} +1 -1
  212. package/bundle/{chunk-e5cds19n.js → chunk-qa38xchd.js} +1 -1
  213. package/bundle/{chunk-d6qs2pbx.js → chunk-qqftaqza.js} +1 -1
  214. package/bundle/{chunk-nwygsfhk.js → chunk-qvwx32p9.js} +1 -1
  215. package/bundle/chunk-qw9whsy2.js +2 -0
  216. package/bundle/{chunk-bd66q24j.js → chunk-r65zw08x.js} +3 -3
  217. package/bundle/chunk-r77kpzdv.js +2 -0
  218. package/bundle/{chunk-rkmg0gbq.js → chunk-r9hsd9pw.js} +1 -1
  219. package/bundle/chunk-rc95tp19.js +2 -0
  220. package/bundle/{chunk-n9969djm.js → chunk-rf9pjbg3.js} +1 -1
  221. package/bundle/chunk-rmh2fhqy.js +2 -0
  222. package/bundle/{chunk-k4ajben7.js → chunk-rqdfmbns.js} +1 -1
  223. package/bundle/{chunk-zr1cvkpb.js → chunk-rr94dpe9.js} +1 -1
  224. package/bundle/chunk-rrn86a8w.js +2 -0
  225. package/bundle/{chunk-44685nzw.js → chunk-rwt0rwvn.js} +1 -1
  226. package/bundle/{chunk-czfjmrrq.js → chunk-s7ypkpg2.js} +1 -1
  227. package/bundle/chunk-s8v0h63x.js +2 -0
  228. package/bundle/chunk-sh4mngre.js +2 -0
  229. package/bundle/chunk-shqqngm8.js +2 -0
  230. package/bundle/chunk-sjfcwykr.js +2 -0
  231. package/bundle/{chunk-akrcbxfa.js → chunk-sn15skh8.js} +1 -1
  232. package/bundle/chunk-sv01v0n0.js +2 -0
  233. package/bundle/{chunk-seda5sfd.js → chunk-sv27ep93.js} +1 -1
  234. package/bundle/{chunk-v5j3ypfv.js → chunk-t1e52h0k.js} +1 -1
  235. package/bundle/{chunk-k558fr15.js → chunk-t1hw67x4.js} +1 -1
  236. package/bundle/{chunk-63t0rhc9.js → chunk-t4kma6mq.js} +2 -2
  237. package/bundle/{chunk-cydpdkx7.js → chunk-t66gerft.js} +1 -1
  238. package/bundle/{chunk-n5dxwryh.js → chunk-t7gp6mjm.js} +1 -1
  239. package/bundle/{chunk-pnmadk2h.js → chunk-tks3qzsw.js} +1 -1
  240. package/bundle/{chunk-ztjrm8m0.js → chunk-tn0sfsks.js} +1 -1
  241. package/bundle/chunk-tn8hsd2c.js +2 -0
  242. package/bundle/chunk-tqsx7w8z.js +2 -0
  243. package/bundle/{chunk-vamwvx0x.js → chunk-trg0zg0q.js} +1 -1
  244. package/bundle/chunk-tyt1negg.js +2 -0
  245. package/bundle/{chunk-g7jwp73v.js → chunk-tzw56029.js} +1 -1
  246. package/bundle/{chunk-r9ng8xx5.js → chunk-v30fmrz0.js} +1 -1
  247. package/bundle/chunk-v580zwpf.js +3 -0
  248. package/bundle/{chunk-8rc7cvex.js → chunk-v6djkm35.js} +1 -1
  249. package/bundle/{chunk-bw0951fs.js → chunk-v9yxkbz7.js} +1 -1
  250. package/bundle/chunk-vdv6cyh0.js +2 -0
  251. package/bundle/{chunk-78yvbv9b.js → chunk-vqxyk6as.js} +2 -2
  252. package/bundle/{chunk-bh1zbz62.js → chunk-vr7525pa.js} +1 -1
  253. package/bundle/chunk-vsk8yfxp.js +2 -0
  254. package/bundle/{chunk-kxdw2vtq.js → chunk-vvcyvdnk.js} +1 -1
  255. package/bundle/chunk-vvgmkjym.js +2 -0
  256. package/bundle/{chunk-datctfgt.js → chunk-vvmvryh1.js} +2 -2
  257. package/bundle/{chunk-7b5vney6.js → chunk-vzf04vad.js} +1 -1
  258. package/bundle/{chunk-tzwm08yc.js → chunk-vzj91hg8.js} +1 -1
  259. package/bundle/chunk-w0zyex7f.js +2 -0
  260. package/bundle/{chunk-gz8k40ty.js → chunk-w264gs2c.js} +1 -1
  261. package/bundle/chunk-w623r5kb.js +3 -0
  262. package/bundle/{chunk-vm8htc6d.js → chunk-wac35a6p.js} +1 -1
  263. package/bundle/chunk-wkxt9v7s.js +2 -0
  264. package/bundle/{chunk-fzxqn4j0.js → chunk-wqm1vawg.js} +1 -1
  265. package/bundle/{chunk-w32xhz0x.js → chunk-wrkt670m.js} +1 -1
  266. package/bundle/{chunk-h8yf5e2e.js → chunk-wspm2k19.js} +1 -1
  267. package/bundle/chunk-wwf6zacw.js +2 -0
  268. package/bundle/{chunk-e6ckxkj8.js → chunk-wwtyrgga.js} +1 -1
  269. package/bundle/{chunk-aykvrqrp.js → chunk-x0wy15q9.js} +1 -1
  270. package/bundle/chunk-x9c8eddk.js +2 -0
  271. package/bundle/{chunk-bzz2expb.js → chunk-xaewye8w.js} +1 -1
  272. package/bundle/{chunk-1p39y33b.js → chunk-xgdst5n5.js} +2 -2
  273. package/bundle/{chunk-r1936yb5.js → chunk-xgphhnpk.js} +1 -1
  274. package/bundle/chunk-xjed8t2h.js +2 -0
  275. package/bundle/{chunk-n230jbn9.js → chunk-xn6mwsc9.js} +1 -1
  276. package/bundle/{chunk-e7a50j2w.js → chunk-xpz5mnwz.js} +1 -1
  277. package/bundle/{chunk-nwkp2f8e.js → chunk-xrb46v1e.js} +1 -1
  278. package/bundle/chunk-xxhta1tm.js +2 -0
  279. package/bundle/{chunk-ajgwyrcf.js → chunk-y5m9c5ek.js} +1 -1
  280. package/bundle/{chunk-rpc0he6b.js → chunk-y9kjt2jj.js} +1 -1
  281. package/bundle/{chunk-csmdhh7r.js → chunk-y9mxwwz7.js} +1 -1
  282. package/bundle/{chunk-zqzh5hp3.js → chunk-ycth54ja.js} +1 -1
  283. package/bundle/{chunk-a4cmpa56.js → chunk-ydz7387e.js} +1 -1
  284. package/bundle/{chunk-bqqxvagz.js → chunk-yg5azmxb.js} +1 -1
  285. package/bundle/{chunk-cg7zeppb.js → chunk-yhe5qz48.js} +1 -1
  286. package/bundle/chunk-yhj6858v.js +2 -0
  287. package/bundle/{chunk-hqtex91e.js → chunk-yq3byrpv.js} +1 -1
  288. package/bundle/{chunk-kt982884.js → chunk-yqvqzg7b.js} +1 -1
  289. package/bundle/{chunk-dfkcp43a.js → chunk-ys8ajwys.js} +1 -1
  290. package/bundle/chunk-yzt7p956.js +2 -0
  291. package/bundle/{chunk-yg0rs4g1.js → chunk-yzxcjr6y.js} +2 -2
  292. package/bundle/{chunk-3tf7xfw5.js → chunk-z1psybn1.js} +1 -1
  293. package/bundle/{chunk-qsgpbt4t.js → chunk-z2cnd2cp.js} +1 -1
  294. package/bundle/{chunk-ep92grvg.js → chunk-z4gczap3.js} +7 -7
  295. package/bundle/chunk-z56cb3fs.js +2 -0
  296. package/bundle/{chunk-krk24aqm.js → chunk-z66xdxkg.js} +2 -2
  297. package/bundle/{chunk-t7s475b2.js → chunk-z6f54x4k.js} +2 -2
  298. package/bundle/{chunk-ya6r72ng.js → chunk-z6qb4gt5.js} +1 -1
  299. package/bundle/{chunk-xphzr4wg.js → chunk-zgj7jx8k.js} +2 -2
  300. package/bundle/{chunk-0tya4pqb.js → chunk-zhddj91f.js} +2 -2
  301. package/bundle/chunk-zhypknyg.js +2 -0
  302. package/bundle/index.js +3 -3
  303. package/bundle/parser.worker.js +2 -2
  304. package/bundle/worker.js +1 -1
  305. package/package.json +3 -3
  306. package/bundle/chunk-06j0gaen.js +0 -2
  307. package/bundle/chunk-0bn86djg.js +0 -3
  308. package/bundle/chunk-0mm40z8g.js +0 -2
  309. package/bundle/chunk-1mqfhw0f.js +0 -2
  310. package/bundle/chunk-28kte9rt.js +0 -2
  311. package/bundle/chunk-2dhjehxe.js +0 -2
  312. package/bundle/chunk-2nnfxbd2.js +0 -2
  313. package/bundle/chunk-2w5zmgpb.js +0 -2
  314. package/bundle/chunk-34qt3fqj.js +0 -2
  315. package/bundle/chunk-3p0xvt47.js +0 -2
  316. package/bundle/chunk-3pzx5ret.js +0 -2
  317. package/bundle/chunk-3y4rmqmm.js +0 -2
  318. package/bundle/chunk-486874bd.js +0 -2
  319. package/bundle/chunk-4bcbvfsw.js +0 -2
  320. package/bundle/chunk-4t1ysdag.js +0 -2
  321. package/bundle/chunk-5q7a4h2w.js +0 -2
  322. package/bundle/chunk-63vamhf7.js +0 -2
  323. package/bundle/chunk-6hhv3n7c.js +0 -2
  324. package/bundle/chunk-7a9kfb2n.js +0 -2
  325. package/bundle/chunk-7x9m1smk.js +0 -2
  326. package/bundle/chunk-82mnr6sf.js +0 -2
  327. package/bundle/chunk-8bea2r6p.js +0 -2
  328. package/bundle/chunk-8h6mhzhg.js +0 -2
  329. package/bundle/chunk-8n1cmvr7.js +0 -2
  330. package/bundle/chunk-955zj1y6.js +0 -2
  331. package/bundle/chunk-95vp9bvk.js +0 -2
  332. package/bundle/chunk-9zve998d.js +0 -2
  333. package/bundle/chunk-a9bkr9x4.js +0 -2
  334. package/bundle/chunk-ac5vzpzt.js +0 -2
  335. package/bundle/chunk-c1exgasy.js +0 -2
  336. package/bundle/chunk-d29te4c1.js +0 -2
  337. package/bundle/chunk-d6q42p18.js +0 -2
  338. package/bundle/chunk-dfbexagg.js +0 -2
  339. package/bundle/chunk-dps1p1g1.js +0 -2
  340. package/bundle/chunk-e1fzgez5.js +0 -2
  341. package/bundle/chunk-egcvm4x2.js +0 -3
  342. package/bundle/chunk-ek3b08ed.js +0 -2
  343. package/bundle/chunk-gamnnfna.js +0 -2
  344. package/bundle/chunk-gjxhz1a6.js +0 -2
  345. package/bundle/chunk-gpm39v12.js +0 -2
  346. package/bundle/chunk-gr8emzzx.js +0 -2
  347. package/bundle/chunk-gt6h68pk.js +0 -2
  348. package/bundle/chunk-hj588j4f.js +0 -2
  349. package/bundle/chunk-jmgpr5th.js +0 -2
  350. package/bundle/chunk-jt79yt0t.js +0 -2
  351. package/bundle/chunk-jtz5re73.js +0 -2
  352. package/bundle/chunk-k4bj677f.js +0 -3
  353. package/bundle/chunk-kw5z5awx.js +0 -2
  354. package/bundle/chunk-mp42gb6q.js +0 -2
  355. package/bundle/chunk-mq0733qh.js +0 -2
  356. package/bundle/chunk-mrcsatmn.js +0 -2
  357. package/bundle/chunk-n24yx79r.js +0 -5
  358. package/bundle/chunk-ng2g9kkk.js +0 -2
  359. package/bundle/chunk-ngfhfyjs.js +0 -2
  360. package/bundle/chunk-p0dnmrqp.js +0 -2
  361. package/bundle/chunk-p6h2ydcp.js +0 -2
  362. package/bundle/chunk-qhakedgs.js +0 -2
  363. package/bundle/chunk-r18zetwf.js +0 -2
  364. package/bundle/chunk-r6rgrz25.js +0 -2
  365. package/bundle/chunk-rk4vp09j.js +0 -2
  366. package/bundle/chunk-s4jp4zce.js +0 -2
  367. package/bundle/chunk-sec9y622.js +0 -2
  368. package/bundle/chunk-sn7q178t.js +0 -2
  369. package/bundle/chunk-st0h54dm.js +0 -2
  370. package/bundle/chunk-tefh2cgk.js +0 -2
  371. package/bundle/chunk-tfez99qv.js +0 -2
  372. package/bundle/chunk-tjk1hymv.js +0 -2
  373. package/bundle/chunk-v1098rqc.js +0 -2
  374. package/bundle/chunk-v30ezr68.js +0 -11
  375. package/bundle/chunk-v5wn741w.js +0 -2
  376. package/bundle/chunk-vp6ttkct.js +0 -2
  377. package/bundle/chunk-vpcsmwsb.js +0 -2
  378. package/bundle/chunk-x23s1s8k.js +0 -2
  379. package/bundle/chunk-xr6js4ek.js +0 -2
  380. package/bundle/chunk-y078gb3n.js +0 -2
  381. package/bundle/chunk-yewjnqee.js +0 -2
  382. package/bundle/chunk-ykk9e9as.js +0 -2
  383. package/bundle/chunk-yqn88gjf.js +0 -2
  384. package/bundle/chunk-yrxg3dex.js +0 -2
  385. package/bundle/chunk-z5j46dem.js +0 -2
  386. package/bundle/chunk-zq0hpja9.js +0 -2
  387. package/bundle/chunk-zv89qwjc.js +0 -2
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ue as I,We as r,Ye as l,af as O,bf as t,ef as e,gf as o,hf as NN,if as QN,lf as _,mf as h,nf as m,of as XN,pf as YN,rf as ZN,sf as $N,tf as C,vf as JN}from"./chunk-89b6ttzs.js";import{ks as q,os as u,rs as v}from"./chunk-4ngvj758.js";import"./chunk-cqtkxwd8.js";import"./chunk-wpkr3vzf.js";import{fw as N}from"./chunk-xphzr4wg.js";import"./chunk-hav9pgf3.js";import"./chunk-9svh74gt.js";function s(Q){var J,z,B,j;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};let $=(J=Q.prompt_tokens)!=null?J:0,X=(z=Q.completion_tokens)!=null?z:0,Y=(j=(B=Q.completion_tokens_details)==null?void 0:B.reasoning_tokens)!=null?j:void 0,Z=Y!=null?X-Y:X;return{inputTokens:{total:$,noCache:$,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:X,text:Z,reasoning:Y},raw:Q}}function BN(Q){var J;let z=[];for(let{role:B,content:j}of Q)switch(B){case"system":{z.push({role:"system",content:j});break}case"user":{if(j.length===1&&j[0].type==="text"){z.push({role:"user",content:j[0].text});break}z.push({role:"user",content:j.map(($)=>{switch($.type){case"text":return{type:"text",text:$.text};case"file":{if(!$.mediaType.startsWith("image/"))throw new v({functionality:"Non-image file content parts"});let X=$.mediaType==="image/*"?"image/jpeg":$.mediaType;return{type:"image_url",image_url:{url:$.data instanceof URL?$.data.toString():`data:${X};base64,${l($.data)}`}}}}})});break}case"assistant":{let $="",X="",Y=[];for(let Z of j)switch(Z.type){case"reasoning":{X+=Z.text;break}case"text":{$+=Z.text;break}case"tool-call":{Y.push({id:Z.toolCallId,type:"function",function:{name:Z.toolName,arguments:JSON.stringify(Z.input)}});break}}z.push({role:"assistant",content:$,...X.length>0?{reasoning:X}:null,...Y.length>0?{tool_calls:Y}:null});break}case"tool":{for(let $ of j){if($.type==="tool-approval-response")continue;let X=$.output,Y;switch(X.type){case"text":case"error-text":Y=X.value;break;case"execution-denied":Y=(J=X.reason)!=null?J:"Tool execution denied.";break;case"content":case"json":case"error-json":Y=JSON.stringify(X.value);break}z.push({role:"tool",tool_call_id:$.toolCallId,content:Y})}break}default:throw Error(`Unsupported role: ${B}`)}return z}function a({id:Q,model:J,created:z}){return{id:Q!=null?Q:void 0,modelId:J!=null?J:void 0,timestamp:z!=null?new Date(z*1000):void 0}}var GN=N.object({reasoningFormat:N.enum(["parsed","raw","hidden"]).optional(),reasoningEffort:N.enum(["none","default","low","medium","high"]).optional(),parallelToolCalls:N.boolean().optional(),user:N.string().optional(),structuredOutputs:N.boolean().optional(),strictJsonSchema:N.boolean().optional(),serviceTier:N.enum(["on_demand","flex","auto"]).optional()}),jN=N.object({error:N.object({message:N.string(),type:N.string()})}),g=ZN({errorSchema:jN,errorToMessage:(Q)=>Q.error.message}),zN=["openai/gpt-oss-20b","openai/gpt-oss-120b"];function KN(Q){return zN.includes(Q)}function UN(){return zN.join(", ")}function VN({tools:Q,toolChoice:J,modelId:z}){Q=(Q==null?void 0:Q.length)?Q:void 0;let B=[];if(Q==null)return{tools:void 0,toolChoice:void 0,toolWarnings:B};let j=[];for(let X of Q)if(X.type==="provider")if(X.id==="groq.browser_search")if(!KN(z))B.push({type:"unsupported",feature:`provider-defined tool ${X.id}`,details:`Browser search is only supported on the following models: ${UN()}. Current model: ${z}`});else j.push({type:"browser_search"});else B.push({type:"unsupported",feature:`provider-defined tool ${X.id}`});else j.push({type:"function",function:{name:X.name,description:X.description,parameters:X.inputSchema,...X.strict!=null?{strict:X.strict}:{}}});if(J==null)return{tools:j,toolChoice:void 0,toolWarnings:B};let $=J.type;switch($){case"auto":case"none":case"required":return{tools:j,toolChoice:$,toolWarnings:B};case"tool":return{tools:j,toolChoice:{type:"function",function:{name:J.toolName}},toolWarnings:B};default:throw new v({functionality:`tool choice type: ${$}`})}}function n(Q){switch(Q){case"stop":return"stop";case"length":return"length";case"content_filter":return"content-filter";case"function_call":case"tool_calls":return"tool-calls";default:return"other"}}var LN=class{constructor(Q,J){this.specificationVersion="v3",this.supportedUrls={"image/*":[/^https?:\/\/.*$/]},this.modelId=Q,this.config=J}get provider(){return this.config.provider}async getArgs({prompt:Q,maxOutputTokens:J,temperature:z,topP:B,topK:j,frequencyPenalty:$,presencePenalty:X,stopSequences:Y,responseFormat:Z,seed:K,stream:L,tools:V,toolChoice:W,providerOptions:U}){var G,E,S;let b=[],H=await h({provider:"groq",providerOptions:U,schema:GN}),F=(G=H==null?void 0:H.structuredOutputs)!=null?G:!0,f=(E=H==null?void 0:H.strictJsonSchema)!=null?E:!0;if(j!=null)b.push({type:"unsupported",feature:"topK"});if((Z==null?void 0:Z.type)==="json"&&Z.schema!=null&&!F)b.push({type:"unsupported",feature:"responseFormat",details:"JSON response format schema is only supported with structuredOutputs"});let{tools:k,toolChoice:D,toolWarnings:R}=VN({tools:V,toolChoice:W,modelId:this.modelId});return{args:{model:this.modelId,user:H==null?void 0:H.user,parallel_tool_calls:H==null?void 0:H.parallelToolCalls,max_tokens:J,temperature:z,top_p:B,frequency_penalty:$,presence_penalty:X,stop:Y,seed:K,response_format:(Z==null?void 0:Z.type)==="json"?F&&Z.schema!=null?{type:"json_schema",json_schema:{schema:Z.schema,strict:f,name:(S=Z.name)!=null?S:"response",description:Z.description}}:{type:"json_object"}:void 0,reasoning_format:H==null?void 0:H.reasoningFormat,reasoning_effort:H==null?void 0:H.reasoningEffort,service_tier:H==null?void 0:H.serviceTier,messages:BN(Q),tools:k,tool_choice:D},warnings:[...b,...R]}}async doGenerate(Q){var J,z;let{args:B,warnings:j}=await this.getArgs({...Q,stream:!1}),$=JSON.stringify(B),{responseHeaders:X,value:Y,rawValue:Z}=await m({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:I(this.config.headers(),Q.headers),body:B,failedResponseHandler:g,successfulResponseHandler:C(HN),abortSignal:Q.abortSignal,fetch:this.config.fetch}),K=Y.choices[0],L=[],V=K.message.content;if(V!=null&&V.length>0)L.push({type:"text",text:V});let W=K.message.reasoning;if(W!=null&&W.length>0)L.push({type:"reasoning",text:W});if(K.message.tool_calls!=null)for(let U of K.message.tool_calls)L.push({type:"tool-call",toolCallId:(J=U.id)!=null?J:O(),toolName:U.function.name,input:U.function.arguments});return{content:L,finishReason:{unified:n(K.finish_reason),raw:(z=K.finish_reason)!=null?z:void 0},usage:s(Y.usage),response:{...a(Y),headers:X,body:Z},warnings:j,request:{body:$}}}async doStream(Q){let{args:J,warnings:z}=await this.getArgs({...Q,stream:!0}),B=JSON.stringify({...J,stream:!0}),{responseHeaders:j,value:$}=await m({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:I(this.config.headers(),Q.headers),body:{...J,stream:!0},failedResponseHandler:g,successfulResponseHandler:$N(wN),abortSignal:Q.abortSignal,fetch:this.config.fetch}),X=[],Y={unified:"other",raw:void 0},Z=void 0,K=!0,L=!1,V=!1,W;return{stream:$.pipeThrough(new TransformStream({start(U){U.enqueue({type:"stream-start",warnings:z})},transform(U,G){var E,S,b,H,F,f,k,D,R,d,c,p,i;if(Q.includeRawChunks)G.enqueue({type:"raw",rawValue:U.rawValue});if(!U.success){Y={unified:"error",raw:void 0},G.enqueue({type:"error",error:U.error});return}let y=U.value;if("error"in y){Y={unified:"error",raw:void 0},G.enqueue({type:"error",error:y.error});return}if(K)K=!1,G.enqueue({type:"response-metadata",...a(y)});if(((E=y.x_groq)==null?void 0:E.usage)!=null)Z=y.x_groq.usage;let x=y.choices[0];if((x==null?void 0:x.finish_reason)!=null)Y={unified:n(x.finish_reason),raw:x.finish_reason};if((x==null?void 0:x.delta)==null)return;let M=x.delta;if(M.reasoning!=null&&M.reasoning.length>0){if(!V)G.enqueue({type:"reasoning-start",id:"reasoning-0"}),V=!0;G.enqueue({type:"reasoning-delta",id:"reasoning-0",delta:M.reasoning})}if(M.content!=null&&M.content.length>0){if(V)G.enqueue({type:"reasoning-end",id:"reasoning-0"}),V=!1;if(!L)G.enqueue({type:"text-start",id:"txt-0"}),L=!0;G.enqueue({type:"text-delta",id:"txt-0",delta:M.content})}if(M.tool_calls!=null){if(V)G.enqueue({type:"reasoning-end",id:"reasoning-0"}),V=!1;for(let w of M.tool_calls){let T=w.index;if(X[T]==null){if(w.type!=="function")throw new q({data:w,message:"Expected 'function' type."});if(w.id==null)throw new q({data:w,message:"Expected 'id' to be a string."});if(((S=w.function)==null?void 0:S.name)==null)throw new q({data:w,message:"Expected 'function.name' to be a string."});G.enqueue({type:"tool-input-start",id:w.id,toolName:w.function.name}),X[T]={id:w.id,type:"function",function:{name:w.function.name,arguments:(b=w.function.arguments)!=null?b:""},hasFinished:!1};let A=X[T];if(((H=A.function)==null?void 0:H.name)!=null&&((F=A.function)==null?void 0:F.arguments)!=null){if(A.function.arguments.length>0)G.enqueue({type:"tool-input-delta",id:A.id,delta:A.function.arguments});if(_(A.function.arguments))G.enqueue({type:"tool-input-end",id:A.id}),G.enqueue({type:"tool-call",toolCallId:(f=A.id)!=null?f:O(),toolName:A.function.name,input:A.function.arguments}),A.hasFinished=!0}continue}let P=X[T];if(P.hasFinished)continue;if(((k=w.function)==null?void 0:k.arguments)!=null)P.function.arguments+=(R=(D=w.function)==null?void 0:D.arguments)!=null?R:"";if(G.enqueue({type:"tool-input-delta",id:P.id,delta:(d=w.function.arguments)!=null?d:""}),((c=P.function)==null?void 0:c.name)!=null&&((p=P.function)==null?void 0:p.arguments)!=null&&_(P.function.arguments))G.enqueue({type:"tool-input-end",id:P.id}),G.enqueue({type:"tool-call",toolCallId:(i=P.id)!=null?i:O(),toolName:P.function.name,input:P.function.arguments}),P.hasFinished=!0}}},flush(U){if(V)U.enqueue({type:"reasoning-end",id:"reasoning-0"});if(L)U.enqueue({type:"text-end",id:"txt-0"});U.enqueue({type:"finish",finishReason:Y,usage:s(Z),...W!=null?{providerMetadata:W}:{}})}})),request:{body:B},response:{headers:j}}}},HN=N.object({id:N.string().nullish(),created:N.number().nullish(),model:N.string().nullish(),choices:N.array(N.object({message:N.object({content:N.string().nullish(),reasoning:N.string().nullish(),tool_calls:N.array(N.object({id:N.string().nullish(),type:N.literal("function"),function:N.object({name:N.string(),arguments:N.string()})})).nullish()}),index:N.number(),finish_reason:N.string().nullish()})),usage:N.object({prompt_tokens:N.number().nullish(),completion_tokens:N.number().nullish(),total_tokens:N.number().nullish(),prompt_tokens_details:N.object({cached_tokens:N.number().nullish()}).nullish(),completion_tokens_details:N.object({reasoning_tokens:N.number().nullish()}).nullish()}).nullish()}),wN=N.union([N.object({id:N.string().nullish(),created:N.number().nullish(),model:N.string().nullish(),choices:N.array(N.object({delta:N.object({content:N.string().nullish(),reasoning:N.string().nullish(),tool_calls:N.array(N.object({index:N.number(),id:N.string().nullish(),type:N.literal("function").optional(),function:N.object({name:N.string().nullish(),arguments:N.string().nullish()})})).nullish()}).nullish(),finish_reason:N.string().nullable().optional(),index:N.number()})),x_groq:N.object({usage:N.object({prompt_tokens:N.number().nullish(),completion_tokens:N.number().nullish(),total_tokens:N.number().nullish(),prompt_tokens_details:N.object({cached_tokens:N.number().nullish()}).nullish(),completion_tokens_details:N.object({reasoning_tokens:N.number().nullish()}).nullish()}).nullish()}).nullish()}),jN]),WN=NN(()=>QN(N.object({language:N.string().nullish(),prompt:N.string().nullish(),responseFormat:N.string().nullish(),temperature:N.number().min(0).max(1).nullish(),timestampGranularities:N.array(N.string()).nullish()}))),PN=class{constructor(Q,J){this.modelId=Q,this.config=J,this.specificationVersion="v3"}get provider(){return this.config.provider}async getArgs({audio:Q,mediaType:J,providerOptions:z}){var B,j,$,X,Y;let Z=[],K=await h({provider:"groq",providerOptions:z,schema:WN}),L=new FormData,V=Q instanceof Uint8Array?new Blob([Q]):new Blob([r(Q)]);L.append("model",this.modelId);let W=o(J);if(L.append("file",new File([V],"audio",{type:J}),`audio.${W}`),K){let U={language:(B=K.language)!=null?B:void 0,prompt:(j=K.prompt)!=null?j:void 0,response_format:($=K.responseFormat)!=null?$:void 0,temperature:(X=K.temperature)!=null?X:void 0,timestamp_granularities:(Y=K.timestampGranularities)!=null?Y:void 0};for(let G in U){let E=U[G];if(E!==void 0)if(Array.isArray(E))for(let S of E)L.append(`${G}[]`,String(S));else L.append(G,String(E))}}return{formData:L,warnings:Z}}async doGenerate(Q){var J,z,B,j,$,X,Y;let Z=(B=(z=(J=this.config._internal)==null?void 0:J.currentDate)==null?void 0:z.call(J))!=null?B:new Date,{formData:K,warnings:L}=await this.getArgs(Q),{value:V,responseHeaders:W,rawValue:U}=await XN({url:this.config.url({path:"/audio/transcriptions",modelId:this.modelId}),headers:I(this.config.headers(),Q.headers),formData:K,failedResponseHandler:g,successfulResponseHandler:C(AN),abortSignal:Q.abortSignal,fetch:this.config.fetch});return{text:V.text,segments:($=(j=V.segments)==null?void 0:j.map((G)=>({text:G.text,startSecond:G.start,endSecond:G.end})))!=null?$:[],language:(X=V.language)!=null?X:void 0,durationInSeconds:(Y=V.duration)!=null?Y:void 0,warnings:L,response:{timestamp:Z,modelId:this.modelId,headers:W,body:U}}}},AN=N.object({text:N.string(),x_groq:N.object({id:N.string()}),task:N.string().nullish(),language:N.string().nullish(),duration:N.number().nullish(),segments:N.array(N.object({id:N.number(),seek:N.number(),start:N.number(),end:N.number(),text:N.string(),tokens:N.array(N.number()),temperature:N.number(),avg_logprob:N.number(),compression_ratio:N.number(),no_speech_prob:N.number()})).nullish()}),EN=YN({id:"groq.browser_search",inputSchema:N.object({})}),MN={browserSearch:EN},SN="3.0.31";function xN(Q={}){var J;let z=(J=JN(Q.baseURL))!=null?J:"https://api.groq.com/openai/v1",B=()=>t({Authorization:`Bearer ${e({apiKey:Q.apiKey,environmentVariableName:"GROQ_API_KEY",description:"Groq"})}`,...Q.headers},`ai-sdk/groq/${SN}`),j=(Z)=>new LN(Z,{provider:"groq.chat",url:({path:K})=>`${z}${K}`,headers:B,fetch:Q.fetch}),$=(Z)=>{if(new.target)throw Error("The Groq model function cannot be called with the new keyword.");return j(Z)},X=(Z)=>{return new PN(Z,{provider:"groq.transcription",url:({path:K})=>`${z}${K}`,headers:B,fetch:Q.fetch})},Y=function(Z){return $(Z)};return Y.specificationVersion="v3",Y.languageModel=$,Y.chat=j,Y.embeddingModel=(Z)=>{throw new u({modelId:Z,modelType:"embeddingModel"})},Y.textEmbeddingModel=Y.embeddingModel,Y.imageModel=(Z)=>{throw new u({modelId:Z,modelType:"imageModel"})},Y.transcription=X,Y.transcriptionModel=X,Y.tools=MN,Y}var gN=xN();export{gN as groq,xN as createGroq,EN as browserSearch,SN as VERSION};
2
+ import{Ue as I,We as r,Ye as l,af as O,bf as t,ef as e,gf as o,hf as NN,if as QN,lf as _,mf as h,nf as m,of as XN,pf as YN,rf as ZN,sf as $N,tf as C,vf as JN}from"./chunk-1bhcg889.js";import{Nq as q,Rq as u,Uq as v}from"./chunk-7nh8vjx4.js";import"./chunk-cqtkxwd8.js";import"./chunk-mfg4stzn.js";import{Iu as N}from"./chunk-zgj7jx8k.js";import"./chunk-0mdmqtfr.js";import"./chunk-0xf12tf3.js";function s(Q){var J,z,B,j;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};let $=(J=Q.prompt_tokens)!=null?J:0,X=(z=Q.completion_tokens)!=null?z:0,Y=(j=(B=Q.completion_tokens_details)==null?void 0:B.reasoning_tokens)!=null?j:void 0,Z=Y!=null?X-Y:X;return{inputTokens:{total:$,noCache:$,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:X,text:Z,reasoning:Y},raw:Q}}function BN(Q){var J;let z=[];for(let{role:B,content:j}of Q)switch(B){case"system":{z.push({role:"system",content:j});break}case"user":{if(j.length===1&&j[0].type==="text"){z.push({role:"user",content:j[0].text});break}z.push({role:"user",content:j.map(($)=>{switch($.type){case"text":return{type:"text",text:$.text};case"file":{if(!$.mediaType.startsWith("image/"))throw new v({functionality:"Non-image file content parts"});let X=$.mediaType==="image/*"?"image/jpeg":$.mediaType;return{type:"image_url",image_url:{url:$.data instanceof URL?$.data.toString():`data:${X};base64,${l($.data)}`}}}}})});break}case"assistant":{let $="",X="",Y=[];for(let Z of j)switch(Z.type){case"reasoning":{X+=Z.text;break}case"text":{$+=Z.text;break}case"tool-call":{Y.push({id:Z.toolCallId,type:"function",function:{name:Z.toolName,arguments:JSON.stringify(Z.input)}});break}}z.push({role:"assistant",content:$,...X.length>0?{reasoning:X}:null,...Y.length>0?{tool_calls:Y}:null});break}case"tool":{for(let $ of j){if($.type==="tool-approval-response")continue;let X=$.output,Y;switch(X.type){case"text":case"error-text":Y=X.value;break;case"execution-denied":Y=(J=X.reason)!=null?J:"Tool execution denied.";break;case"content":case"json":case"error-json":Y=JSON.stringify(X.value);break}z.push({role:"tool",tool_call_id:$.toolCallId,content:Y})}break}default:throw Error(`Unsupported role: ${B}`)}return z}function a({id:Q,model:J,created:z}){return{id:Q!=null?Q:void 0,modelId:J!=null?J:void 0,timestamp:z!=null?new Date(z*1000):void 0}}var GN=N.object({reasoningFormat:N.enum(["parsed","raw","hidden"]).optional(),reasoningEffort:N.enum(["none","default","low","medium","high"]).optional(),parallelToolCalls:N.boolean().optional(),user:N.string().optional(),structuredOutputs:N.boolean().optional(),strictJsonSchema:N.boolean().optional(),serviceTier:N.enum(["on_demand","flex","auto"]).optional()}),jN=N.object({error:N.object({message:N.string(),type:N.string()})}),g=ZN({errorSchema:jN,errorToMessage:(Q)=>Q.error.message}),zN=["openai/gpt-oss-20b","openai/gpt-oss-120b"];function KN(Q){return zN.includes(Q)}function UN(){return zN.join(", ")}function VN({tools:Q,toolChoice:J,modelId:z}){Q=(Q==null?void 0:Q.length)?Q:void 0;let B=[];if(Q==null)return{tools:void 0,toolChoice:void 0,toolWarnings:B};let j=[];for(let X of Q)if(X.type==="provider")if(X.id==="groq.browser_search")if(!KN(z))B.push({type:"unsupported",feature:`provider-defined tool ${X.id}`,details:`Browser search is only supported on the following models: ${UN()}. Current model: ${z}`});else j.push({type:"browser_search"});else B.push({type:"unsupported",feature:`provider-defined tool ${X.id}`});else j.push({type:"function",function:{name:X.name,description:X.description,parameters:X.inputSchema,...X.strict!=null?{strict:X.strict}:{}}});if(J==null)return{tools:j,toolChoice:void 0,toolWarnings:B};let $=J.type;switch($){case"auto":case"none":case"required":return{tools:j,toolChoice:$,toolWarnings:B};case"tool":return{tools:j,toolChoice:{type:"function",function:{name:J.toolName}},toolWarnings:B};default:throw new v({functionality:`tool choice type: ${$}`})}}function n(Q){switch(Q){case"stop":return"stop";case"length":return"length";case"content_filter":return"content-filter";case"function_call":case"tool_calls":return"tool-calls";default:return"other"}}var LN=class{constructor(Q,J){this.specificationVersion="v3",this.supportedUrls={"image/*":[/^https?:\/\/.*$/]},this.modelId=Q,this.config=J}get provider(){return this.config.provider}async getArgs({prompt:Q,maxOutputTokens:J,temperature:z,topP:B,topK:j,frequencyPenalty:$,presencePenalty:X,stopSequences:Y,responseFormat:Z,seed:K,stream:L,tools:V,toolChoice:W,providerOptions:U}){var G,E,S;let b=[],H=await h({provider:"groq",providerOptions:U,schema:GN}),F=(G=H==null?void 0:H.structuredOutputs)!=null?G:!0,f=(E=H==null?void 0:H.strictJsonSchema)!=null?E:!0;if(j!=null)b.push({type:"unsupported",feature:"topK"});if((Z==null?void 0:Z.type)==="json"&&Z.schema!=null&&!F)b.push({type:"unsupported",feature:"responseFormat",details:"JSON response format schema is only supported with structuredOutputs"});let{tools:k,toolChoice:D,toolWarnings:R}=VN({tools:V,toolChoice:W,modelId:this.modelId});return{args:{model:this.modelId,user:H==null?void 0:H.user,parallel_tool_calls:H==null?void 0:H.parallelToolCalls,max_tokens:J,temperature:z,top_p:B,frequency_penalty:$,presence_penalty:X,stop:Y,seed:K,response_format:(Z==null?void 0:Z.type)==="json"?F&&Z.schema!=null?{type:"json_schema",json_schema:{schema:Z.schema,strict:f,name:(S=Z.name)!=null?S:"response",description:Z.description}}:{type:"json_object"}:void 0,reasoning_format:H==null?void 0:H.reasoningFormat,reasoning_effort:H==null?void 0:H.reasoningEffort,service_tier:H==null?void 0:H.serviceTier,messages:BN(Q),tools:k,tool_choice:D},warnings:[...b,...R]}}async doGenerate(Q){var J,z;let{args:B,warnings:j}=await this.getArgs({...Q,stream:!1}),$=JSON.stringify(B),{responseHeaders:X,value:Y,rawValue:Z}=await m({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:I(this.config.headers(),Q.headers),body:B,failedResponseHandler:g,successfulResponseHandler:C(HN),abortSignal:Q.abortSignal,fetch:this.config.fetch}),K=Y.choices[0],L=[],V=K.message.content;if(V!=null&&V.length>0)L.push({type:"text",text:V});let W=K.message.reasoning;if(W!=null&&W.length>0)L.push({type:"reasoning",text:W});if(K.message.tool_calls!=null)for(let U of K.message.tool_calls)L.push({type:"tool-call",toolCallId:(J=U.id)!=null?J:O(),toolName:U.function.name,input:U.function.arguments});return{content:L,finishReason:{unified:n(K.finish_reason),raw:(z=K.finish_reason)!=null?z:void 0},usage:s(Y.usage),response:{...a(Y),headers:X,body:Z},warnings:j,request:{body:$}}}async doStream(Q){let{args:J,warnings:z}=await this.getArgs({...Q,stream:!0}),B=JSON.stringify({...J,stream:!0}),{responseHeaders:j,value:$}=await m({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:I(this.config.headers(),Q.headers),body:{...J,stream:!0},failedResponseHandler:g,successfulResponseHandler:$N(wN),abortSignal:Q.abortSignal,fetch:this.config.fetch}),X=[],Y={unified:"other",raw:void 0},Z=void 0,K=!0,L=!1,V=!1,W;return{stream:$.pipeThrough(new TransformStream({start(U){U.enqueue({type:"stream-start",warnings:z})},transform(U,G){var E,S,b,H,F,f,k,D,R,d,c,p,i;if(Q.includeRawChunks)G.enqueue({type:"raw",rawValue:U.rawValue});if(!U.success){Y={unified:"error",raw:void 0},G.enqueue({type:"error",error:U.error});return}let y=U.value;if("error"in y){Y={unified:"error",raw:void 0},G.enqueue({type:"error",error:y.error});return}if(K)K=!1,G.enqueue({type:"response-metadata",...a(y)});if(((E=y.x_groq)==null?void 0:E.usage)!=null)Z=y.x_groq.usage;let x=y.choices[0];if((x==null?void 0:x.finish_reason)!=null)Y={unified:n(x.finish_reason),raw:x.finish_reason};if((x==null?void 0:x.delta)==null)return;let M=x.delta;if(M.reasoning!=null&&M.reasoning.length>0){if(!V)G.enqueue({type:"reasoning-start",id:"reasoning-0"}),V=!0;G.enqueue({type:"reasoning-delta",id:"reasoning-0",delta:M.reasoning})}if(M.content!=null&&M.content.length>0){if(V)G.enqueue({type:"reasoning-end",id:"reasoning-0"}),V=!1;if(!L)G.enqueue({type:"text-start",id:"txt-0"}),L=!0;G.enqueue({type:"text-delta",id:"txt-0",delta:M.content})}if(M.tool_calls!=null){if(V)G.enqueue({type:"reasoning-end",id:"reasoning-0"}),V=!1;for(let w of M.tool_calls){let T=w.index;if(X[T]==null){if(w.type!=="function")throw new q({data:w,message:"Expected 'function' type."});if(w.id==null)throw new q({data:w,message:"Expected 'id' to be a string."});if(((S=w.function)==null?void 0:S.name)==null)throw new q({data:w,message:"Expected 'function.name' to be a string."});G.enqueue({type:"tool-input-start",id:w.id,toolName:w.function.name}),X[T]={id:w.id,type:"function",function:{name:w.function.name,arguments:(b=w.function.arguments)!=null?b:""},hasFinished:!1};let A=X[T];if(((H=A.function)==null?void 0:H.name)!=null&&((F=A.function)==null?void 0:F.arguments)!=null){if(A.function.arguments.length>0)G.enqueue({type:"tool-input-delta",id:A.id,delta:A.function.arguments});if(_(A.function.arguments))G.enqueue({type:"tool-input-end",id:A.id}),G.enqueue({type:"tool-call",toolCallId:(f=A.id)!=null?f:O(),toolName:A.function.name,input:A.function.arguments}),A.hasFinished=!0}continue}let P=X[T];if(P.hasFinished)continue;if(((k=w.function)==null?void 0:k.arguments)!=null)P.function.arguments+=(R=(D=w.function)==null?void 0:D.arguments)!=null?R:"";if(G.enqueue({type:"tool-input-delta",id:P.id,delta:(d=w.function.arguments)!=null?d:""}),((c=P.function)==null?void 0:c.name)!=null&&((p=P.function)==null?void 0:p.arguments)!=null&&_(P.function.arguments))G.enqueue({type:"tool-input-end",id:P.id}),G.enqueue({type:"tool-call",toolCallId:(i=P.id)!=null?i:O(),toolName:P.function.name,input:P.function.arguments}),P.hasFinished=!0}}},flush(U){if(V)U.enqueue({type:"reasoning-end",id:"reasoning-0"});if(L)U.enqueue({type:"text-end",id:"txt-0"});U.enqueue({type:"finish",finishReason:Y,usage:s(Z),...W!=null?{providerMetadata:W}:{}})}})),request:{body:B},response:{headers:j}}}},HN=N.object({id:N.string().nullish(),created:N.number().nullish(),model:N.string().nullish(),choices:N.array(N.object({message:N.object({content:N.string().nullish(),reasoning:N.string().nullish(),tool_calls:N.array(N.object({id:N.string().nullish(),type:N.literal("function"),function:N.object({name:N.string(),arguments:N.string()})})).nullish()}),index:N.number(),finish_reason:N.string().nullish()})),usage:N.object({prompt_tokens:N.number().nullish(),completion_tokens:N.number().nullish(),total_tokens:N.number().nullish(),prompt_tokens_details:N.object({cached_tokens:N.number().nullish()}).nullish(),completion_tokens_details:N.object({reasoning_tokens:N.number().nullish()}).nullish()}).nullish()}),wN=N.union([N.object({id:N.string().nullish(),created:N.number().nullish(),model:N.string().nullish(),choices:N.array(N.object({delta:N.object({content:N.string().nullish(),reasoning:N.string().nullish(),tool_calls:N.array(N.object({index:N.number(),id:N.string().nullish(),type:N.literal("function").optional(),function:N.object({name:N.string().nullish(),arguments:N.string().nullish()})})).nullish()}).nullish(),finish_reason:N.string().nullable().optional(),index:N.number()})),x_groq:N.object({usage:N.object({prompt_tokens:N.number().nullish(),completion_tokens:N.number().nullish(),total_tokens:N.number().nullish(),prompt_tokens_details:N.object({cached_tokens:N.number().nullish()}).nullish(),completion_tokens_details:N.object({reasoning_tokens:N.number().nullish()}).nullish()}).nullish()}).nullish()}),jN]),WN=NN(()=>QN(N.object({language:N.string().nullish(),prompt:N.string().nullish(),responseFormat:N.string().nullish(),temperature:N.number().min(0).max(1).nullish(),timestampGranularities:N.array(N.string()).nullish()}))),PN=class{constructor(Q,J){this.modelId=Q,this.config=J,this.specificationVersion="v3"}get provider(){return this.config.provider}async getArgs({audio:Q,mediaType:J,providerOptions:z}){var B,j,$,X,Y;let Z=[],K=await h({provider:"groq",providerOptions:z,schema:WN}),L=new FormData,V=Q instanceof Uint8Array?new Blob([Q]):new Blob([r(Q)]);L.append("model",this.modelId);let W=o(J);if(L.append("file",new File([V],"audio",{type:J}),`audio.${W}`),K){let U={language:(B=K.language)!=null?B:void 0,prompt:(j=K.prompt)!=null?j:void 0,response_format:($=K.responseFormat)!=null?$:void 0,temperature:(X=K.temperature)!=null?X:void 0,timestamp_granularities:(Y=K.timestampGranularities)!=null?Y:void 0};for(let G in U){let E=U[G];if(E!==void 0)if(Array.isArray(E))for(let S of E)L.append(`${G}[]`,String(S));else L.append(G,String(E))}}return{formData:L,warnings:Z}}async doGenerate(Q){var J,z,B,j,$,X,Y;let Z=(B=(z=(J=this.config._internal)==null?void 0:J.currentDate)==null?void 0:z.call(J))!=null?B:new Date,{formData:K,warnings:L}=await this.getArgs(Q),{value:V,responseHeaders:W,rawValue:U}=await XN({url:this.config.url({path:"/audio/transcriptions",modelId:this.modelId}),headers:I(this.config.headers(),Q.headers),formData:K,failedResponseHandler:g,successfulResponseHandler:C(AN),abortSignal:Q.abortSignal,fetch:this.config.fetch});return{text:V.text,segments:($=(j=V.segments)==null?void 0:j.map((G)=>({text:G.text,startSecond:G.start,endSecond:G.end})))!=null?$:[],language:(X=V.language)!=null?X:void 0,durationInSeconds:(Y=V.duration)!=null?Y:void 0,warnings:L,response:{timestamp:Z,modelId:this.modelId,headers:W,body:U}}}},AN=N.object({text:N.string(),x_groq:N.object({id:N.string()}),task:N.string().nullish(),language:N.string().nullish(),duration:N.number().nullish(),segments:N.array(N.object({id:N.number(),seek:N.number(),start:N.number(),end:N.number(),text:N.string(),tokens:N.array(N.number()),temperature:N.number(),avg_logprob:N.number(),compression_ratio:N.number(),no_speech_prob:N.number()})).nullish()}),EN=YN({id:"groq.browser_search",inputSchema:N.object({})}),MN={browserSearch:EN},SN="3.0.31";function xN(Q={}){var J;let z=(J=JN(Q.baseURL))!=null?J:"https://api.groq.com/openai/v1",B=()=>t({Authorization:`Bearer ${e({apiKey:Q.apiKey,environmentVariableName:"GROQ_API_KEY",description:"Groq"})}`,...Q.headers},`ai-sdk/groq/${SN}`),j=(Z)=>new LN(Z,{provider:"groq.chat",url:({path:K})=>`${z}${K}`,headers:B,fetch:Q.fetch}),$=(Z)=>{if(new.target)throw Error("The Groq model function cannot be called with the new keyword.");return j(Z)},X=(Z)=>{return new PN(Z,{provider:"groq.transcription",url:({path:K})=>`${z}${K}`,headers:B,fetch:Q.fetch})},Y=function(Z){return $(Z)};return Y.specificationVersion="v3",Y.languageModel=$,Y.chat=j,Y.embeddingModel=(Z)=>{throw new u({modelId:Z,modelType:"embeddingModel"})},Y.textEmbeddingModel=Y.embeddingModel,Y.imageModel=(Z)=>{throw new u({modelId:Z,modelType:"imageModel"})},Y.transcription=X,Y.transcriptionModel=X,Y.tools=MN,Y}var gN=xN();export{gN as groq,xN as createGroq,EN as browserSearch,SN as VERSION};