@qitqode/qitqode-android-arm64 0.1.32 → 0.1.34
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.
- package/bundle/{chunk-x4sp99g6.js → chunk-03xppy47.js} +1 -1
- package/bundle/{chunk-2vn41ecx.js → chunk-04hvaaje.js} +1 -1
- package/bundle/{chunk-6phh70sp.js → chunk-06k6egt2.js} +1 -1
- package/bundle/{chunk-8n20thvd.js → chunk-08f4khsw.js} +2 -2
- package/bundle/{chunk-mk1bfzg5.js → chunk-08m0hkdz.js} +1 -1
- package/bundle/{chunk-kfxv5rfg.js → chunk-09pkckr1.js} +1 -1
- package/bundle/{chunk-6kp07m7p.js → chunk-0c6ep9mc.js} +1 -1
- package/bundle/{chunk-8r6ht39z.js → chunk-0csy9x1n.js} +1 -1
- package/bundle/{chunk-0v0vqbn5.js → chunk-0h8wdch6.js} +1 -1
- package/bundle/{chunk-t56r99hp.js → chunk-0msqaywp.js} +1 -1
- package/bundle/chunk-0x5jn813.js +2 -0
- package/bundle/{chunk-vhe0tth1.js → chunk-11v7vz3y.js} +1 -1
- package/bundle/{chunk-1sgahe1s.js → chunk-1byd3wma.js} +1 -1
- package/bundle/{chunk-x3y2xzhn.js → chunk-1dtzxt2w.js} +1 -1
- package/bundle/{chunk-31qrzrwy.js → chunk-1gf116rg.js} +1 -1
- package/bundle/{chunk-hnvn2c25.js → chunk-1hmq2fpt.js} +2 -2
- package/bundle/{chunk-05mce0j3.js → chunk-1me21qdc.js} +1 -1
- package/bundle/{chunk-rvkrgkeq.js → chunk-1pg6pv0m.js} +1 -1
- package/bundle/{chunk-0bbs01f0.js → chunk-1yt5rsew.js} +1 -1
- package/bundle/{chunk-caj1b9y7.js → chunk-28cm7m3t.js} +4 -4
- package/bundle/chunk-28t9akfn.js +2 -0
- package/bundle/{chunk-6aqyhfag.js → chunk-2fkfbdcy.js} +4 -4
- package/bundle/{chunk-52bam8g7.js → chunk-2h1fcqvf.js} +1 -1
- package/bundle/chunk-2scyp9ns.js +2 -0
- package/bundle/{chunk-hbbsbyyq.js → chunk-2swch6mx.js} +1 -1
- package/bundle/chunk-2tw58kwb.js +2 -0
- package/bundle/chunk-2vxx0tax.js +2 -0
- package/bundle/chunk-2ybt3p5z.js +2 -0
- package/bundle/chunk-2zpkw3ge.js +2 -0
- package/bundle/{chunk-xthkjax9.js → chunk-34p46th6.js} +1 -1
- package/bundle/chunk-397be2x0.js +2 -0
- package/bundle/chunk-3c78nkgn.js +2 -0
- package/bundle/{chunk-7xm75w1e.js → chunk-3k2b05fv.js} +1 -1
- package/bundle/{chunk-tvdmnee6.js → chunk-3mzcr3fw.js} +1 -1
- package/bundle/{chunk-wqj0xasg.js → chunk-3vnnxq40.js} +1 -1
- package/bundle/{chunk-enpzvmtc.js → chunk-41v0x1jk.js} +1 -1
- package/bundle/chunk-425mq6k8.js +2 -0
- package/bundle/chunk-43yv7tz1.js +2 -0
- package/bundle/{chunk-78ymd20x.js → chunk-499gp5g5.js} +1 -1
- package/bundle/{chunk-m2q317gh.js → chunk-4ntbxet5.js} +1 -1
- package/bundle/chunk-4sw6frjt.js +2 -0
- package/bundle/{chunk-rzhdkkpz.js → chunk-4ttf9rjd.js} +1 -1
- package/bundle/{chunk-vywnd5sf.js → chunk-4wxxyrxn.js} +1 -1
- package/bundle/chunk-4xw14sed.js +2 -0
- package/bundle/chunk-536naqqv.js +2 -0
- package/bundle/chunk-57najm15.js +2 -0
- package/bundle/{chunk-60v5jvgt.js → chunk-5a7fs1hg.js} +1 -1
- package/bundle/chunk-5he3d7cy.js +2 -0
- package/bundle/{chunk-2phz0bn9.js → chunk-5vzrn6za.js} +1 -1
- package/bundle/{chunk-zaks8cae.js → chunk-5xq3h51b.js} +1 -1
- package/bundle/{chunk-gwp17r03.js → chunk-67d5d8mr.js} +1 -1
- package/bundle/{chunk-5pb551dx.js → chunk-696z96a6.js} +1 -1
- package/bundle/{chunk-yek0sk2q.js → chunk-6a7c7wnf.js} +1 -1
- package/bundle/{chunk-9gazyynx.js → chunk-6b196wjz.js} +2 -2
- package/bundle/{chunk-fgg9txzb.js → chunk-6gb65bv1.js} +1 -1
- package/bundle/chunk-6hybp2mt.js +2 -0
- package/bundle/{chunk-d6ry9418.js → chunk-6p94fpbn.js} +2 -2
- package/bundle/{chunk-xcmgkc57.js → chunk-6styp5dn.js} +1 -1
- package/bundle/{chunk-85wcc1tp.js → chunk-6v9nbb4c.js} +1 -1
- package/bundle/chunk-6y423jax.js +3 -0
- package/bundle/{chunk-ejrhvy38.js → chunk-6ynxf3q7.js} +1 -1
- package/bundle/{chunk-cfgvm15x.js → chunk-71zw0qhf.js} +1 -1
- package/bundle/chunk-72ghkgcn.js +2 -0
- package/bundle/{chunk-bh53dz71.js → chunk-7311jry1.js} +1 -1
- package/bundle/{chunk-d07p6fpk.js → chunk-73myw3bj.js} +2 -2
- package/bundle/chunk-741teh8k.js +2 -0
- package/bundle/{chunk-10bjs581.js → chunk-79agp7v3.js} +2 -2
- package/bundle/chunk-7b3wx6kn.js +2 -0
- package/bundle/{chunk-wmqsdt2c.js → chunk-7bwe0ayr.js} +1 -1
- package/bundle/{chunk-40efytmk.js → chunk-7eexey82.js} +1 -1
- package/bundle/chunk-7hh0654f.js +3 -0
- package/bundle/{chunk-33e9y2aw.js → chunk-7mxt5b0h.js} +1 -1
- package/bundle/{chunk-yjf3kyej.js → chunk-7vd91wsd.js} +1 -1
- package/bundle/{chunk-nv3eyyaj.js → chunk-81trveht.js} +1 -1
- package/bundle/{chunk-dnwefyhv.js → chunk-8762ty72.js} +1 -1
- package/bundle/{chunk-qc8rsn4v.js → chunk-891yevv2.js} +1 -1
- package/bundle/{chunk-15j5cn4t.js → chunk-8d5k45yj.js} +1 -1
- package/bundle/{chunk-we9cv8we.js → chunk-8eje5baf.js} +2 -2
- package/bundle/{chunk-8qswepp2.js → chunk-8ktgy41r.js} +1 -1
- package/bundle/{chunk-w18xs2h5.js → chunk-8q73cjyj.js} +1 -1
- package/bundle/chunk-8y623qdx.js +2 -0
- package/bundle/chunk-921vn745.js +2 -0
- package/bundle/{chunk-4jtxtkj7.js → chunk-94pcpztx.js} +2 -2
- package/bundle/{chunk-a7amey9s.js → chunk-9fxkh84w.js} +1 -1
- package/bundle/{chunk-pv67gwce.js → chunk-9msnx26q.js} +1 -1
- package/bundle/{chunk-8hytwgwf.js → chunk-9qdr9t8c.js} +1 -1
- package/bundle/{chunk-gt31468k.js → chunk-9x25d115.js} +1 -1
- package/bundle/{chunk-5jx0yadh.js → chunk-9y97bzht.js} +2 -2
- package/bundle/{chunk-zs8kqdsf.js → chunk-a0rp7gh4.js} +2 -2
- package/bundle/{chunk-tq0239xp.js → chunk-a3a1trap.js} +1 -1
- package/bundle/{chunk-n9xns8by.js → chunk-a48t0g95.js} +2 -2
- package/bundle/chunk-a8119c3a.js +2 -0
- package/bundle/chunk-akk84fnc.js +2 -0
- package/bundle/chunk-aw7j7brm.js +2 -0
- package/bundle/{chunk-js1n8tgv.js → chunk-azhw650z.js} +1 -1
- package/bundle/chunk-b34t8v7x.js +2 -0
- package/bundle/{chunk-t8m74g39.js → chunk-b4knxpqh.js} +1 -1
- package/bundle/chunk-b8hmj4jq.js +2 -0
- package/bundle/{chunk-jef04wyf.js → chunk-ba3h1pzs.js} +1 -1
- package/bundle/{chunk-71xz70r9.js → chunk-bbzztav6.js} +1 -1
- package/bundle/{chunk-dactgryw.js → chunk-bj00xk8k.js} +1 -1
- package/bundle/{chunk-59yqvk48.js → chunk-bja8q0ke.js} +1 -1
- package/bundle/{chunk-cxnfy6qk.js → chunk-bk4phk66.js} +1 -1
- package/bundle/{chunk-e01wnqvc.js → chunk-bnss5dkk.js} +1 -1
- package/bundle/{chunk-fvzwbjh8.js → chunk-bv29k2pf.js} +1 -1
- package/bundle/{chunk-v1xjc3s8.js → chunk-by855es0.js} +1 -1
- package/bundle/{chunk-zy9w1vkc.js → chunk-c5fa8cb1.js} +1 -1
- package/bundle/{chunk-x9rbv6p6.js → chunk-c5pb87yf.js} +1 -1
- package/bundle/{chunk-ck2gfaba.js → chunk-c6vfwjg4.js} +1 -1
- package/bundle/chunk-cfw9pyt7.js +2 -0
- package/bundle/chunk-ckbwdrm3.js +2 -0
- package/bundle/{chunk-3632wgg1.js → chunk-cs38g1bx.js} +1 -1
- package/bundle/{chunk-53bqcctj.js → chunk-cz3h5n1v.js} +1 -1
- package/bundle/{chunk-rg0mrprz.js → chunk-d00c1k9w.js} +1 -1
- package/bundle/{chunk-zqqx96jx.js → chunk-d80hk5x9.js} +1 -1
- package/bundle/{chunk-wezarrvy.js → chunk-d8dk05kd.js} +1 -1
- package/bundle/{chunk-p18axz0m.js → chunk-dcndy4sr.js} +1 -1
- package/bundle/{chunk-e7ny0b3x.js → chunk-dctj3c22.js} +1 -1
- package/bundle/{chunk-vvxmwyrw.js → chunk-df2aswz3.js} +1 -1
- package/bundle/{chunk-skqbaadf.js → chunk-dffhkd30.js} +1 -1
- package/bundle/{chunk-pe29yy6s.js → chunk-dhqaqeq6.js} +1 -1
- package/bundle/chunk-dwajajaq.js +2 -0
- package/bundle/{chunk-dryzt12j.js → chunk-dxcrggvq.js} +1 -1
- package/bundle/{chunk-fn9h4ync.js → chunk-dyv2hqvc.js} +1 -1
- package/bundle/{chunk-93p131d5.js → chunk-e6xnynaz.js} +1 -1
- package/bundle/chunk-e7ah0e61.js +2 -0
- package/bundle/{chunk-tqj69nh6.js → chunk-e7v9trve.js} +2 -2
- package/bundle/{chunk-chpr8ekb.js → chunk-ebcdxmdd.js} +1 -1
- package/bundle/{chunk-zw815d68.js → chunk-ee23d2nz.js} +2 -2
- package/bundle/chunk-efndtzby.js +2 -0
- package/bundle/{chunk-gb00fh4z.js → chunk-egn55fa2.js} +3 -3
- package/bundle/chunk-eq2pepce.js +2 -0
- package/bundle/{chunk-7tr9ejyk.js → chunk-esp6jv63.js} +1 -1
- package/bundle/chunk-f693s9vn.js +2 -0
- package/bundle/chunk-f9v5n0t6.js +2 -0
- package/bundle/{chunk-za7mwbye.js → chunk-fdadk5tw.js} +1 -1
- package/bundle/{chunk-0dt0bxz6.js → chunk-fg35hwa0.js} +2 -2
- package/bundle/{chunk-ktzq4ha1.js → chunk-fmq0m4k5.js} +1 -1
- package/bundle/chunk-ftepqwyq.js +2 -0
- package/bundle/{chunk-jh0bw59r.js → chunk-g4gjz7sq.js} +1 -1
- package/bundle/{chunk-w7vh8cxt.js → chunk-g4nq9swr.js} +1 -1
- package/bundle/{chunk-g5rabwre.js → chunk-g6cyhxwg.js} +2 -2
- package/bundle/{chunk-k7aenxan.js → chunk-gdb67zmn.js} +1 -1
- package/bundle/{chunk-a1wdeapb.js → chunk-ggydr1ze.js} +1 -1
- package/bundle/chunk-gk28ffhg.js +2 -0
- package/bundle/{chunk-c11d28qn.js → chunk-gmzrvxnv.js} +2 -2
- package/bundle/chunk-gpfc4z4v.js +2 -0
- package/bundle/chunk-gqvg02zp.js +2 -0
- package/bundle/{chunk-3c6p8tm3.js → chunk-gws1rn1v.js} +1 -1
- package/bundle/{chunk-hnzegjgv.js → chunk-gy0wm7e1.js} +1 -1
- package/bundle/{chunk-zcsgqk9f.js → chunk-h2m8fdqm.js} +1 -1
- package/bundle/{chunk-pp2eqkse.js → chunk-h3k1dk9m.js} +1 -1
- package/bundle/chunk-h8c3dcqt.js +2 -0
- package/bundle/chunk-hfq11w4h.js +2 -0
- package/bundle/{chunk-nkkch4h7.js → chunk-hg0etbkx.js} +1 -1
- package/bundle/{chunk-01my2y0c.js → chunk-hj3ddt53.js} +1 -1
- package/bundle/{chunk-ay8emwym.js → chunk-hw5qyht3.js} +1 -1
- package/bundle/chunk-hwf58w1k.js +2 -0
- package/bundle/{chunk-rza530gm.js → chunk-j0jdkqf5.js} +1 -1
- package/bundle/{chunk-ezfy0b6q.js → chunk-j8q252w3.js} +2 -2
- package/bundle/{chunk-kq6b222y.js → chunk-jgjnz82k.js} +1 -1
- package/bundle/{chunk-wfb608qf.js → chunk-jkh6eg7d.js} +3 -3
- package/bundle/{chunk-xrs18kzn.js → chunk-jm722vy1.js} +1 -1
- package/bundle/chunk-kdvs4871.js +2 -0
- package/bundle/{chunk-6hpgb8h4.js → chunk-ke7n9t5p.js} +3 -3
- package/bundle/{chunk-vcw00k0n.js → chunk-keveg5gx.js} +2 -2
- package/bundle/{chunk-dxpj0cxh.js → chunk-kfmz2p27.js} +2 -2
- package/bundle/{chunk-xm7wascx.js → chunk-kjyw00jp.js} +1 -1
- package/bundle/chunk-kk3ve911.js +2 -0
- package/bundle/{chunk-gsar6xda.js → chunk-kmcsz8yv.js} +1 -1
- package/bundle/{chunk-mqd1jsg2.js → chunk-knpyt206.js} +1 -1
- package/bundle/{chunk-4cnwn1rh.js → chunk-kv72hxkp.js} +2 -2
- package/bundle/{chunk-kj20f048.js → chunk-kwx9ewe0.js} +1 -1
- package/bundle/chunk-m4j7jyrd.js +3 -0
- package/bundle/{chunk-5hw6xa49.js → chunk-md8161zd.js} +1 -1
- package/bundle/{chunk-r7sqdfad.js → chunk-mdts0641.js} +1 -1
- package/bundle/{chunk-xzrb857v.js → chunk-mex0fe9s.js} +1 -1
- package/bundle/{chunk-ctaze2hn.js → chunk-mf3sm0pk.js} +1 -1
- package/bundle/chunk-mkng9ykt.js +2 -0
- package/bundle/{chunk-mzs2pjyc.js → chunk-mpygdb5a.js} +2 -2
- package/bundle/{chunk-81qwdg5s.js → chunk-mq6jn47r.js} +1 -1
- package/bundle/{chunk-yp8wyzzm.js → chunk-mr8j7rc6.js} +1 -1
- package/bundle/{chunk-h4j5xzc8.js → chunk-n6gtdx5h.js} +1 -1
- package/bundle/{chunk-h2afsbm1.js → chunk-n6msxne8.js} +1 -1
- package/bundle/{chunk-jbx3s7nw.js → chunk-n96tvjgj.js} +2 -2
- package/bundle/{chunk-9f1z9xce.js → chunk-ngccf7ga.js} +1 -1
- package/bundle/chunk-nj4d554m.js +11 -0
- package/bundle/{chunk-dynv30gm.js → chunk-nj61v4n7.js} +1 -1
- package/bundle/{chunk-12vef2pr.js → chunk-nkk4fyqf.js} +1 -1
- package/bundle/{chunk-gbpvs0fx.js → chunk-nmehsm3w.js} +1 -1
- package/bundle/chunk-npv80mcx.js +2 -0
- package/bundle/{chunk-rkyf0cp8.js → chunk-ny9hnvzy.js} +1 -1
- package/bundle/{chunk-ew9pdrp9.js → chunk-p15sv2dg.js} +1 -1
- package/bundle/{chunk-73e409hd.js → chunk-p3qkexpk.js} +1 -1
- package/bundle/{chunk-yhbcbjfk.js → chunk-p825vsjy.js} +1 -1
- package/bundle/{chunk-rbk8seme.js → chunk-p9cnzxb8.js} +1 -1
- package/bundle/chunk-pe98rznj.js +2 -0
- package/bundle/{chunk-15hw2z9t.js → chunk-pkc4ddw1.js} +1 -1
- package/bundle/{chunk-x25zkrz7.js → chunk-ppkqr9cn.js} +1 -1
- package/bundle/{chunk-1gx18dm5.js → chunk-prh3c44x.js} +1 -1
- package/bundle/{chunk-zscer8rc.js → chunk-pxmhe36r.js} +1 -1
- package/bundle/{chunk-2wajs9xv.js → chunk-q1czj6be.js} +1 -1
- package/bundle/{chunk-d3ermm6d.js → chunk-q5fygrnr.js} +1 -1
- package/bundle/chunk-q6wm9yt0.js +2 -0
- package/bundle/{chunk-g7ccdh7r.js → chunk-q8hd01j7.js} +1 -1
- package/bundle/{chunk-e10py6yr.js → chunk-qa2j0qmy.js} +1 -1
- package/bundle/chunk-qbx70v64.js +2 -0
- package/bundle/{chunk-ad72gb5f.js → chunk-qc3ce3vc.js} +2 -2
- package/bundle/{chunk-g10d6x57.js → chunk-qddt2gcs.js} +1 -1
- package/bundle/chunk-qek6a75r.js +2 -0
- package/bundle/{chunk-y3b4k38p.js → chunk-qg2vk5fw.js} +1 -1
- package/bundle/{chunk-7z5jh4ra.js → chunk-qkjdr337.js} +1 -1
- package/bundle/chunk-qkk1as5n.js +2 -0
- package/bundle/{chunk-5q4harvc.js → chunk-qrtc3etn.js} +2 -2
- package/bundle/chunk-qsm9xw87.js +2 -0
- package/bundle/chunk-qyzze0dv.js +2 -0
- package/bundle/{chunk-7avcnwv8.js → chunk-qzj6027k.js} +1 -1
- package/bundle/{chunk-70ck4v3t.js → chunk-r0k21apr.js} +1 -1
- package/bundle/chunk-r2w3gr8d.js +2 -0
- package/bundle/chunk-r5bqcpkz.js +2 -0
- package/bundle/chunk-r67c858b.js +2 -0
- package/bundle/chunk-r9fvfkee.js +2 -0
- package/bundle/{chunk-3wetyrjs.js → chunk-rjy5mqwz.js} +1 -1
- package/bundle/{chunk-69nzndk7.js → chunk-rkwrjphh.js} +1 -1
- package/bundle/{chunk-0mx2psfc.js → chunk-rmve21dh.js} +1 -1
- package/bundle/chunk-rq47pn3r.js +2 -0
- package/bundle/{chunk-b8gjz6bk.js → chunk-rq4w0by4.js} +1 -1
- package/bundle/{chunk-jrqb0jwy.js → chunk-rsszcqxd.js} +1 -1
- package/bundle/{chunk-xvwvd4kq.js → chunk-rv1stdvb.js} +1 -1
- package/bundle/chunk-rvt1tdy8.js +2 -0
- package/bundle/{chunk-3bxg5bta.js → chunk-ry7q8xn6.js} +1 -1
- package/bundle/{chunk-rjd8gbs5.js → chunk-ryfqwsft.js} +1 -1
- package/bundle/chunk-s27xvrft.js +2 -0
- package/bundle/chunk-s2vasbwj.js +2 -0
- package/bundle/{chunk-p9qfbr02.js → chunk-s4qtphwx.js} +1 -1
- package/bundle/{chunk-qrsveve6.js → chunk-s8hq6trz.js} +1 -1
- package/bundle/chunk-scy39p6q.js +2 -0
- package/bundle/{chunk-71sjjjr8.js → chunk-seghf5fc.js} +1 -1
- package/bundle/{chunk-2zq4k837.js → chunk-sfes6pp1.js} +1 -1
- package/bundle/chunk-shenqgrx.js +2 -0
- package/bundle/{chunk-htz93dsd.js → chunk-snr44en9.js} +2 -2
- package/bundle/{chunk-cphrgyp6.js → chunk-ssk8tkwd.js} +1 -1
- package/bundle/{chunk-jdynx7m6.js → chunk-sz0gkx88.js} +1 -1
- package/bundle/{chunk-yv0xrnn9.js → chunk-t5qamf96.js} +1 -1
- package/bundle/chunk-tt8jke90.js +2 -0
- package/bundle/chunk-ttevj0pj.js +2 -0
- package/bundle/chunk-v6tgn668.js +2 -0
- package/bundle/chunk-v7c54cyj.js +2 -0
- package/bundle/chunk-vgefaens.js +2 -0
- package/bundle/chunk-vkq0faj8.js +2 -0
- package/bundle/{chunk-764fksh3.js → chunk-vkqzmzpw.js} +1 -1
- package/bundle/{chunk-24jg9d61.js → chunk-vsr8mnj6.js} +1 -1
- package/bundle/{chunk-6d5rrre9.js → chunk-vszbqv24.js} +1 -1
- package/bundle/chunk-vv59b4re.js +2 -0
- package/bundle/chunk-vwqy7n3g.js +2 -0
- package/bundle/{chunk-y6123zvq.js → chunk-w5kg2yz0.js} +1 -1
- package/bundle/{chunk-ygs5pzk7.js → chunk-w9nzsd3w.js} +3 -3
- package/bundle/chunk-wbzs30fk.js +28 -0
- package/bundle/chunk-wet3bnwn.js +2 -0
- package/bundle/{chunk-gagtmjmp.js → chunk-wfd5h6ax.js} +2 -2
- package/bundle/{chunk-w8saweey.js → chunk-wfegee41.js} +1 -1
- package/bundle/{chunk-ht5w06x7.js → chunk-wgk7ynt3.js} +2 -2
- package/bundle/{chunk-257me4z3.js → chunk-wmaz57f6.js} +47 -47
- package/bundle/chunk-wn076jwj.js +2 -0
- package/bundle/{chunk-35xk4g91.js → chunk-wvf5q2hz.js} +1 -1
- package/bundle/{chunk-d9hbhkbq.js → chunk-wwgd4rzx.js} +2 -2
- package/bundle/chunk-x0m1qye9.js +2 -0
- package/bundle/{chunk-p62gb4wj.js → chunk-x66ycpfs.js} +1 -1
- package/bundle/chunk-x9s90xd1.js +3 -0
- package/bundle/{chunk-48ge2ryx.js → chunk-xgr6jnd6.js} +1 -1
- package/bundle/{chunk-q7vasbxn.js → chunk-xhkd9yf3.js} +1 -1
- package/bundle/{chunk-pje60pj2.js → chunk-xkv3yta0.js} +1 -1
- package/bundle/{chunk-2hc5z7b5.js → chunk-xqdrr7xg.js} +1 -1
- package/bundle/{chunk-0c2p3a6v.js → chunk-xy5cjach.js} +1 -1
- package/bundle/{chunk-3nx7112w.js → chunk-y370dqf3.js} +2 -2
- package/bundle/{chunk-ss2ms1r3.js → chunk-y437vyza.js} +1 -1
- package/bundle/chunk-y70aachh.js +2 -0
- package/bundle/{chunk-db405hjg.js → chunk-y9zstzed.js} +1 -1
- package/bundle/{chunk-gz8sz7z1.js → chunk-ya8g02hv.js} +1 -1
- package/bundle/{chunk-avf8v3hb.js → chunk-ygjtwjnk.js} +1 -1
- package/bundle/{chunk-pp6vhqrr.js → chunk-yjk6zv2z.js} +1 -1
- package/bundle/{chunk-326p5b10.js → chunk-yk97q51d.js} +1 -1
- package/bundle/{chunk-kf167jw7.js → chunk-ynwkr3yh.js} +1 -1
- package/bundle/{chunk-y9q0hb7b.js → chunk-yqk58hf6.js} +2 -2
- package/bundle/chunk-ysgxt83y.js +2 -0
- package/bundle/{chunk-tt30dybd.js → chunk-yz6898wy.js} +1 -1
- package/bundle/{chunk-x562b0xk.js → chunk-z1ay3qd0.js} +1 -1
- package/bundle/{chunk-9emq67vc.js → chunk-z7430qxg.js} +1 -1
- package/bundle/{chunk-2maqde7w.js → chunk-z8gdmvgg.js} +2 -2
- package/bundle/chunk-za63b5mc.js +5 -0
- package/bundle/{chunk-vxyy2dp3.js → chunk-zfcp509b.js} +1 -1
- package/bundle/{chunk-x7k5yeey.js → chunk-zfn0z4sh.js} +1 -1
- package/bundle/{chunk-ag8kz1e7.js → chunk-zh3fny3z.js} +2 -2
- package/bundle/{chunk-whe7h2mj.js → chunk-zm5dfk2b.js} +1 -1
- package/bundle/{chunk-02jtpxe0.js → chunk-zpf31kxb.js} +1 -1
- package/bundle/{chunk-56z7x7h4.js → chunk-zph1c2q1.js} +2 -2
- package/bundle/chunk-zwdnh860.js +2 -0
- package/bundle/{chunk-1vb79bw1.js → chunk-zwnhf4z1.js} +1 -1
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-096pd6c4.js +0 -2
- package/bundle/chunk-0c5rxty9.js +0 -2
- package/bundle/chunk-0e86gt9r.js +0 -2
- package/bundle/chunk-0p27fvfr.js +0 -2
- package/bundle/chunk-0qs1vx97.js +0 -2
- package/bundle/chunk-1r95p0tp.js +0 -2
- package/bundle/chunk-1rhhhm88.js +0 -2
- package/bundle/chunk-1wbjh23g.js +0 -2
- package/bundle/chunk-20702epe.js +0 -2
- package/bundle/chunk-42p59wm4.js +0 -2
- package/bundle/chunk-4512pvca.js +0 -2
- package/bundle/chunk-456bmaww.js +0 -2
- package/bundle/chunk-48pajrnt.js +0 -2
- package/bundle/chunk-4fy9c54h.js +0 -2
- package/bundle/chunk-4sc82a27.js +0 -2
- package/bundle/chunk-59y8q9m5.js +0 -2
- package/bundle/chunk-5tray1fw.js +0 -3
- package/bundle/chunk-634pnryq.js +0 -2
- package/bundle/chunk-64ezpbwt.js +0 -2
- package/bundle/chunk-7mke41x0.js +0 -2
- package/bundle/chunk-7ry9cvby.js +0 -2
- package/bundle/chunk-7wczs9mx.js +0 -2
- package/bundle/chunk-7z777y9k.js +0 -2
- package/bundle/chunk-89w3yhf8.js +0 -2
- package/bundle/chunk-8dwq41q1.js +0 -28
- package/bundle/chunk-8v96pmqn.js +0 -2
- package/bundle/chunk-8y2scz6z.js +0 -2
- package/bundle/chunk-8zx7vnx6.js +0 -2
- package/bundle/chunk-94a76f8w.js +0 -2
- package/bundle/chunk-9ng7jjp7.js +0 -2
- package/bundle/chunk-9tpgnjy8.js +0 -2
- package/bundle/chunk-a7ym9f0v.js +0 -2
- package/bundle/chunk-a8f2xvy3.js +0 -2
- package/bundle/chunk-a99cvwta.js +0 -2
- package/bundle/chunk-avys5mnz.js +0 -2
- package/bundle/chunk-axvjd10y.js +0 -2
- package/bundle/chunk-b4pphqab.js +0 -2
- package/bundle/chunk-b6087ak4.js +0 -2
- package/bundle/chunk-bn0h9dny.js +0 -10
- package/bundle/chunk-brkqxbjy.js +0 -2
- package/bundle/chunk-c26qxt5g.js +0 -2
- package/bundle/chunk-c6zscb38.js +0 -2
- package/bundle/chunk-cjww2jmv.js +0 -3
- package/bundle/chunk-d0damw6y.js +0 -2
- package/bundle/chunk-dafmkrhn.js +0 -2
- package/bundle/chunk-dgprdym0.js +0 -2
- package/bundle/chunk-dsamees2.js +0 -2
- package/bundle/chunk-dyqpxx3b.js +0 -2
- package/bundle/chunk-e5mv5wnt.js +0 -2
- package/bundle/chunk-gwzw92jt.js +0 -2
- package/bundle/chunk-h6f3kbz2.js +0 -2
- package/bundle/chunk-hp7tssgv.js +0 -2
- package/bundle/chunk-ht0hbdmx.js +0 -2
- package/bundle/chunk-k1txw65h.js +0 -2
- package/bundle/chunk-k5atbdbm.js +0 -2
- package/bundle/chunk-k75jqg60.js +0 -3
- package/bundle/chunk-mahgmbt9.js +0 -2
- package/bundle/chunk-ngm6pqyt.js +0 -2
- package/bundle/chunk-ngtavamt.js +0 -2
- package/bundle/chunk-nkhc32s3.js +0 -2
- package/bundle/chunk-npse2xrd.js +0 -2
- package/bundle/chunk-p6e4vqy7.js +0 -2
- package/bundle/chunk-pqkjhn8h.js +0 -2
- package/bundle/chunk-qadw6j20.js +0 -2
- package/bundle/chunk-qd8w2gkd.js +0 -2
- package/bundle/chunk-qggcszs2.js +0 -2
- package/bundle/chunk-r8m7rtfc.js +0 -2
- package/bundle/chunk-rf12t4n5.js +0 -2
- package/bundle/chunk-rpgne7xh.js +0 -2
- package/bundle/chunk-rvgj1vky.js +0 -2
- package/bundle/chunk-s3mnrhbx.js +0 -5
- package/bundle/chunk-s6ktx2sx.js +0 -2
- package/bundle/chunk-ss2jvqrg.js +0 -2
- package/bundle/chunk-tvwwq4b3.js +0 -2
- package/bundle/chunk-v2n26eg4.js +0 -2
- package/bundle/chunk-wr42tphe.js +0 -2
- package/bundle/chunk-x24y7qyd.js +0 -2
- package/bundle/chunk-xj765svc.js +0 -3
- package/bundle/chunk-y2d0w09y.js +0 -2
- package/bundle/chunk-y7sy3w6z.js +0 -2
- package/bundle/chunk-yb79f79m.js +0 -2
- package/bundle/chunk-yjnyzpmt.js +0 -2
- package/bundle/chunk-yqbcnsa1.js +0 -2
- package/bundle/chunk-z3mra3nm.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$e as S,Ge as P,Ke as C,Oe as h,Pe as g,Qe as u,Se as m,_e as d,df as c,ef as i,ff as M,hf as p}from"./chunk-e7ny0b3x.js";import{aq as T,bq as v,dq as w}from"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import{St as j}from"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-7xm75w1e.js";function y(B){if(B==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{prompt_tokens:Q,completion_tokens:X}=B;return{inputTokens:{total:Q,noCache:Q,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:X,text:X,reasoning:void 0},raw:B}}function R({data:B,mediaType:Q}){return B instanceof URL?B.toString():`data:${Q};base64,${C(B)}`}function n(B){var Q;let X=[];for(let D=0;D<B.length;D++){let{role:K,content:$}=B[D],N=D===B.length-1;switch(K){case"system":{X.push({role:"system",content:$});break}case"user":{X.push({role:"user",content:$.map((G)=>{switch(G.type){case"text":return{type:"text",text:G.text};case"file":if(G.mediaType.startsWith("image/")){let Z=G.mediaType==="image/*"?"image/jpeg":G.mediaType;return{type:"image_url",image_url:R({data:G.data,mediaType:Z})}}else if(G.mediaType==="application/pdf")return{type:"document_url",document_url:R({data:G.data,mediaType:"application/pdf"})};else throw new w({functionality:"Only images and PDF file parts are supported"})}})});break}case"assistant":{let G="",Z=[];for(let Y of $)switch(Y.type){case"text":{G+=Y.text;break}case"tool-call":{Z.push({id:Y.toolCallId,type:"function",function:{name:Y.toolName,arguments:JSON.stringify(Y.input)}});break}case"reasoning":{G+=Y.text;break}default:throw Error(`Unsupported content type in assistant message: ${Y.type}`)}X.push({role:"assistant",content:G,prefix:N?!0:void 0,tool_calls:Z.length>0?Z:void 0});break}case"tool":{for(let G of $){if(G.type==="tool-approval-response")continue;let Z=G.output,Y;switch(Z.type){case"text":case"error-text":Y=Z.value;break;case"execution-denied":Y=(Q=Z.reason)!=null?Q:"Tool execution denied.";break;case"content":case"json":case"error-json":Y=JSON.stringify(Z.value);break}X.push({role:"tool",name:G.toolName,tool_call_id:G.toolCallId,content:Y})}break}default:throw Error(`Unsupported role: ${K}`)}}return X}function k({id:B,model:Q,created:X}){return{id:B!=null?B:void 0,modelId:Q!=null?Q:void 0,timestamp:X!=null?new Date(X*1000):void 0}}function x(B){switch(B){case"stop":return"stop";case"length":case"model_length":return"length";case"tool_calls":return"tool-calls";default:return"other"}}var t=j.object({safePrompt:j.boolean().optional(),documentImageLimit:j.number().optional(),documentPageLimit:j.number().optional(),structuredOutputs:j.boolean().optional(),strictJsonSchema:j.boolean().optional(),parallelToolCalls:j.boolean().optional(),reasoningEffort:j.enum(["high","none"]).optional()}),e=j.object({object:j.literal("error"),message:j.string(),type:j.string(),param:j.string().nullable(),code:j.string().nullable()}),b=c({errorSchema:e,errorToMessage:(B)=>B.message});function o({tools:B,toolChoice:Q}){B=(B==null?void 0:B.length)?B:void 0;let X=[];if(B==null)return{tools:void 0,toolChoice:void 0,toolWarnings:X};let D=[];for(let $ of B)if($.type==="provider")X.push({type:"unsupported",feature:`provider-defined tool ${$.id}`});else D.push({type:"function",function:{name:$.name,description:$.description,parameters:$.inputSchema,...$.strict!=null?{strict:$.strict}:{}}});if(Q==null)return{tools:D,toolChoice:void 0,toolWarnings:X};let K=Q.type;switch(K){case"auto":case"none":return{tools:D,toolChoice:K,toolWarnings:X};case"required":return{tools:D,toolChoice:"any",toolWarnings:X};case"tool":return{tools:D.filter(($)=>$.function.name===Q.toolName),toolChoice:"any",toolWarnings:X};default:throw new w({functionality:`tool choice type: ${K}`})}}var jj=class{constructor(B,Q){this.specificationVersion="v3",this.supportedUrls={"application/pdf":[/^https:\/\/.*$/]};var X;this.modelId=B,this.config=Q,this.generateId=(X=Q.generateId)!=null?X:h}get provider(){return this.config.provider}async getArgs({prompt:B,maxOutputTokens:Q,temperature:X,topP:D,topK:K,frequencyPenalty:$,presencePenalty:N,stopSequences:G,responseFormat:Z,seed:Y,providerOptions:J,tools:f,toolChoice:L}){var U,O,V,q;let E=[],A=(U=await d({provider:"mistral",providerOptions:J,schema:t}))!=null?U:{};if(K!=null)E.push({type:"unsupported",feature:"topK"});if($!=null)E.push({type:"unsupported",feature:"frequencyPenalty"});if(N!=null)E.push({type:"unsupported",feature:"presencePenalty"});if(G!=null)E.push({type:"unsupported",feature:"stopSequences"});let H=(O=A.structuredOutputs)!=null?O:!0,z=(V=A.strictJsonSchema)!=null?V:!1;if((Z==null?void 0:Z.type)==="json"&&!(Z==null?void 0:Z.schema))B=u({messages:B,schema:Z.schema});let W={model:this.modelId,safe_prompt:A.safePrompt,max_tokens:Q,temperature:X,top_p:D,random_seed:Y,reasoning_effort:A.reasoningEffort,response_format:(Z==null?void 0:Z.type)==="json"?H&&(Z==null?void 0:Z.schema)!=null?{type:"json_schema",json_schema:{schema:Z.schema,strict:z,name:(q=Z.name)!=null?q:"response",description:Z.description}}:{type:"json_object"}:void 0,document_image_limit:A.documentImageLimit,document_page_limit:A.documentPageLimit,messages:n(B)},{tools:_,toolChoice:s,toolWarnings:r}=o({tools:f,toolChoice:L});return{args:{...W,tools:_,tool_choice:s,..._!=null&&A.parallelToolCalls!==void 0?{parallel_tool_calls:A.parallelToolCalls}:{}},warnings:[...E,...r]}}async doGenerate(B){var Q;let{args:X,warnings:D}=await this.getArgs(B),{responseHeaders:K,value:$,rawValue:N}=await S({url:`${this.config.baseURL}/chat/completions`,headers:P(this.config.headers(),B.headers),body:X,failedResponseHandler:b,successfulResponseHandler:M(Bj),abortSignal:B.abortSignal,fetch:this.config.fetch}),G=$.choices[0],Z=[];if(G.message.content!=null&&Array.isArray(G.message.content)){for(let Y of G.message.content)if(Y.type==="thinking"){let J=F(Y.thinking);if(J.length>0)Z.push({type:"reasoning",text:J})}else if(Y.type==="text"){if(Y.text.length>0)Z.push({type:"text",text:Y.text})}}else{let Y=I(G.message.content);if(Y!=null&&Y.length>0)Z.push({type:"text",text:Y})}if(G.message.tool_calls!=null)for(let Y of G.message.tool_calls)Z.push({type:"tool-call",toolCallId:Y.id,toolName:Y.function.name,input:Y.function.arguments});return{content:Z,finishReason:{unified:x(G.finish_reason),raw:(Q=G.finish_reason)!=null?Q:void 0},usage:y($.usage),request:{body:X},response:{...k($),headers:K,body:N},warnings:D}}async doStream(B){let{args:Q,warnings:X}=await this.getArgs(B),D={...Q,stream:!0},{responseHeaders:K,value:$}=await S({url:`${this.config.baseURL}/chat/completions`,headers:P(this.config.headers(),B.headers),body:D,failedResponseHandler:b,successfulResponseHandler:i(Gj),abortSignal:B.abortSignal,fetch:this.config.fetch}),N={unified:"other",raw:void 0},G=void 0,Z=!0,Y=!1,J=null,f=this.generateId;return{stream:$.pipeThrough(new TransformStream({start(L){L.enqueue({type:"stream-start",warnings:X})},transform(L,U){if(B.includeRawChunks)U.enqueue({type:"raw",rawValue:L.rawValue});if(!L.success){U.enqueue({type:"error",error:L.error});return}let O=L.value;if(Z)Z=!1,U.enqueue({type:"response-metadata",...k(O)});if(O.usage!=null)G=O.usage;let V=O.choices[0],q=V.delta,E=I(q.content);if(q.content!=null&&Array.isArray(q.content)){for(let A of q.content)if(A.type==="thinking"){let H=F(A.thinking);if(H.length>0){if(J==null){if(Y)U.enqueue({type:"text-end",id:"0"}),Y=!1;J=f(),U.enqueue({type:"reasoning-start",id:J})}U.enqueue({type:"reasoning-delta",id:J,delta:H})}}}if(E!=null&&E.length>0){if(!Y){if(J!=null)U.enqueue({type:"reasoning-end",id:J}),J=null;U.enqueue({type:"text-start",id:"0"}),Y=!0}U.enqueue({type:"text-delta",id:"0",delta:E})}if((q==null?void 0:q.tool_calls)!=null)for(let A of q.tool_calls){let H=A.id,z=A.function.name,W=A.function.arguments;U.enqueue({type:"tool-input-start",id:H,toolName:z}),U.enqueue({type:"tool-input-delta",id:H,delta:W}),U.enqueue({type:"tool-input-end",id:H}),U.enqueue({type:"tool-call",toolCallId:H,toolName:z,input:W})}if(V.finish_reason!=null)N={unified:x(V.finish_reason),raw:V.finish_reason}},flush(L){if(J!=null)L.enqueue({type:"reasoning-end",id:J});if(Y)L.enqueue({type:"text-end",id:"0"});L.enqueue({type:"finish",finishReason:N,usage:y(G)})}})),request:{body:D},response:{headers:K}}}};function F(B){return B.filter((Q)=>Q.type==="text").map((Q)=>Q.text).join("")}function I(B){if(typeof B==="string")return B;if(B==null)return;let Q=[];for(let X of B){let{type:D}=X;switch(D){case"text":Q.push(X.text);break;case"thinking":case"image_url":case"reference":break;default:throw Error(`Unsupported type: ${D}`)}}return Q.length?Q.join(""):void 0}var l=j.union([j.string(),j.array(j.discriminatedUnion("type",[j.object({type:j.literal("text"),text:j.string()}),j.object({type:j.literal("image_url"),image_url:j.union([j.string(),j.object({url:j.string(),detail:j.string().nullable()})])}),j.object({type:j.literal("reference"),reference_ids:j.array(j.union([j.string(),j.number()]))}),j.object({type:j.literal("thinking"),thinking:j.array(j.object({type:j.literal("text"),text:j.string()}))})]))]).nullish(),a=j.object({prompt_tokens:j.number(),completion_tokens:j.number(),total_tokens:j.number()}),Bj=j.object({id:j.string().nullish(),created:j.number().nullish(),model:j.string().nullish(),choices:j.array(j.object({message:j.object({role:j.literal("assistant"),content:l,tool_calls:j.array(j.object({id:j.string(),function:j.object({name:j.string(),arguments:j.string()})})).nullish()}),index:j.number(),finish_reason:j.string().nullish()})),object:j.literal("chat.completion"),usage:a}),Gj=j.object({id:j.string().nullish(),created:j.number().nullish(),model:j.string().nullish(),choices:j.array(j.object({delta:j.object({role:j.enum(["assistant"]).optional(),content:l,tool_calls:j.array(j.object({id:j.string(),function:j.object({name:j.string(),arguments:j.string()})})).nullish()}),finish_reason:j.string().nullish(),index:j.number()})),usage:a.nullish()}),Qj=class{constructor(B,Q){this.specificationVersion="v3",this.maxEmbeddingsPerCall=32,this.supportsParallelCalls=!1,this.modelId=B,this.config=Q}get provider(){return this.config.provider}async doEmbed({values:B,abortSignal:Q,headers:X}){if(B.length>this.maxEmbeddingsPerCall)throw new v({provider:this.provider,modelId:this.modelId,maxEmbeddingsPerCall:this.maxEmbeddingsPerCall,values:B});let{responseHeaders:D,value:K,rawValue:$}=await S({url:`${this.config.baseURL}/embeddings`,headers:P(this.config.headers(),X),body:{model:this.modelId,input:B,encoding_format:"float"},failedResponseHandler:b,successfulResponseHandler:M(Xj),abortSignal:Q,fetch:this.config.fetch});return{warnings:[],embeddings:K.data.map((N)=>N.embedding),usage:K.usage?{tokens:K.usage.prompt_tokens}:void 0,response:{headers:D,body:$}}}},Xj=j.object({data:j.array(j.object({embedding:j.array(j.number())})),usage:j.object({prompt_tokens:j.number()}).nullish()}),Yj="3.0.27";function Zj(B={}){var Q;let X=(Q=p(B.baseURL))!=null?Q:"https://api.mistral.ai/v1",D=()=>g({Authorization:`Bearer ${m({apiKey:B.apiKey,environmentVariableName:"MISTRAL_API_KEY",description:"Mistral"})}`,...B.headers},`ai-sdk/mistral/${Yj}`),K=(G)=>new jj(G,{provider:"mistral.chat",baseURL:X,headers:D,fetch:B.fetch,generateId:B.generateId}),$=(G)=>new Qj(G,{provider:"mistral.embedding",baseURL:X,headers:D,fetch:B.fetch}),N=function(G){if(new.target)throw Error("The Mistral model function cannot be called with the new keyword.");return K(G)};return N.specificationVersion="v3",N.languageModel=K,N.chat=K,N.embedding=$,N.embeddingModel=$,N.textEmbedding=$,N.textEmbeddingModel=$,N.imageModel=(G)=>{throw new T({modelId:G,modelType:"imageModel"})},N}var Pj=Zj();export{Pj as mistral,Zj as createMistral,Yj as VERSION};
|
|
2
|
+
import{$e as S,Ge as P,Ke as C,Oe as h,Pe as g,Qe as u,Se as m,_e as d,df as c,ef as i,ff as M,hf as p}from"./chunk-dctj3c22.js";import{Ar as v,Cr as w,zr as T}from"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import{pv as j}from"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-3k2b05fv.js";function y(B){if(B==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{prompt_tokens:Q,completion_tokens:X}=B;return{inputTokens:{total:Q,noCache:Q,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:X,text:X,reasoning:void 0},raw:B}}function R({data:B,mediaType:Q}){return B instanceof URL?B.toString():`data:${Q};base64,${C(B)}`}function n(B){var Q;let X=[];for(let D=0;D<B.length;D++){let{role:K,content:$}=B[D],N=D===B.length-1;switch(K){case"system":{X.push({role:"system",content:$});break}case"user":{X.push({role:"user",content:$.map((G)=>{switch(G.type){case"text":return{type:"text",text:G.text};case"file":if(G.mediaType.startsWith("image/")){let Z=G.mediaType==="image/*"?"image/jpeg":G.mediaType;return{type:"image_url",image_url:R({data:G.data,mediaType:Z})}}else if(G.mediaType==="application/pdf")return{type:"document_url",document_url:R({data:G.data,mediaType:"application/pdf"})};else throw new w({functionality:"Only images and PDF file parts are supported"})}})});break}case"assistant":{let G="",Z=[];for(let Y of $)switch(Y.type){case"text":{G+=Y.text;break}case"tool-call":{Z.push({id:Y.toolCallId,type:"function",function:{name:Y.toolName,arguments:JSON.stringify(Y.input)}});break}case"reasoning":{G+=Y.text;break}default:throw Error(`Unsupported content type in assistant message: ${Y.type}`)}X.push({role:"assistant",content:G,prefix:N?!0:void 0,tool_calls:Z.length>0?Z:void 0});break}case"tool":{for(let G of $){if(G.type==="tool-approval-response")continue;let Z=G.output,Y;switch(Z.type){case"text":case"error-text":Y=Z.value;break;case"execution-denied":Y=(Q=Z.reason)!=null?Q:"Tool execution denied.";break;case"content":case"json":case"error-json":Y=JSON.stringify(Z.value);break}X.push({role:"tool",name:G.toolName,tool_call_id:G.toolCallId,content:Y})}break}default:throw Error(`Unsupported role: ${K}`)}}return X}function k({id:B,model:Q,created:X}){return{id:B!=null?B:void 0,modelId:Q!=null?Q:void 0,timestamp:X!=null?new Date(X*1000):void 0}}function x(B){switch(B){case"stop":return"stop";case"length":case"model_length":return"length";case"tool_calls":return"tool-calls";default:return"other"}}var t=j.object({safePrompt:j.boolean().optional(),documentImageLimit:j.number().optional(),documentPageLimit:j.number().optional(),structuredOutputs:j.boolean().optional(),strictJsonSchema:j.boolean().optional(),parallelToolCalls:j.boolean().optional(),reasoningEffort:j.enum(["high","none"]).optional()}),e=j.object({object:j.literal("error"),message:j.string(),type:j.string(),param:j.string().nullable(),code:j.string().nullable()}),b=c({errorSchema:e,errorToMessage:(B)=>B.message});function o({tools:B,toolChoice:Q}){B=(B==null?void 0:B.length)?B:void 0;let X=[];if(B==null)return{tools:void 0,toolChoice:void 0,toolWarnings:X};let D=[];for(let $ of B)if($.type==="provider")X.push({type:"unsupported",feature:`provider-defined tool ${$.id}`});else D.push({type:"function",function:{name:$.name,description:$.description,parameters:$.inputSchema,...$.strict!=null?{strict:$.strict}:{}}});if(Q==null)return{tools:D,toolChoice:void 0,toolWarnings:X};let K=Q.type;switch(K){case"auto":case"none":return{tools:D,toolChoice:K,toolWarnings:X};case"required":return{tools:D,toolChoice:"any",toolWarnings:X};case"tool":return{tools:D.filter(($)=>$.function.name===Q.toolName),toolChoice:"any",toolWarnings:X};default:throw new w({functionality:`tool choice type: ${K}`})}}var jj=class{constructor(B,Q){this.specificationVersion="v3",this.supportedUrls={"application/pdf":[/^https:\/\/.*$/]};var X;this.modelId=B,this.config=Q,this.generateId=(X=Q.generateId)!=null?X:h}get provider(){return this.config.provider}async getArgs({prompt:B,maxOutputTokens:Q,temperature:X,topP:D,topK:K,frequencyPenalty:$,presencePenalty:N,stopSequences:G,responseFormat:Z,seed:Y,providerOptions:J,tools:f,toolChoice:L}){var U,O,V,q;let E=[],A=(U=await d({provider:"mistral",providerOptions:J,schema:t}))!=null?U:{};if(K!=null)E.push({type:"unsupported",feature:"topK"});if($!=null)E.push({type:"unsupported",feature:"frequencyPenalty"});if(N!=null)E.push({type:"unsupported",feature:"presencePenalty"});if(G!=null)E.push({type:"unsupported",feature:"stopSequences"});let H=(O=A.structuredOutputs)!=null?O:!0,z=(V=A.strictJsonSchema)!=null?V:!1;if((Z==null?void 0:Z.type)==="json"&&!(Z==null?void 0:Z.schema))B=u({messages:B,schema:Z.schema});let W={model:this.modelId,safe_prompt:A.safePrompt,max_tokens:Q,temperature:X,top_p:D,random_seed:Y,reasoning_effort:A.reasoningEffort,response_format:(Z==null?void 0:Z.type)==="json"?H&&(Z==null?void 0:Z.schema)!=null?{type:"json_schema",json_schema:{schema:Z.schema,strict:z,name:(q=Z.name)!=null?q:"response",description:Z.description}}:{type:"json_object"}:void 0,document_image_limit:A.documentImageLimit,document_page_limit:A.documentPageLimit,messages:n(B)},{tools:_,toolChoice:s,toolWarnings:r}=o({tools:f,toolChoice:L});return{args:{...W,tools:_,tool_choice:s,..._!=null&&A.parallelToolCalls!==void 0?{parallel_tool_calls:A.parallelToolCalls}:{}},warnings:[...E,...r]}}async doGenerate(B){var Q;let{args:X,warnings:D}=await this.getArgs(B),{responseHeaders:K,value:$,rawValue:N}=await S({url:`${this.config.baseURL}/chat/completions`,headers:P(this.config.headers(),B.headers),body:X,failedResponseHandler:b,successfulResponseHandler:M(Bj),abortSignal:B.abortSignal,fetch:this.config.fetch}),G=$.choices[0],Z=[];if(G.message.content!=null&&Array.isArray(G.message.content)){for(let Y of G.message.content)if(Y.type==="thinking"){let J=F(Y.thinking);if(J.length>0)Z.push({type:"reasoning",text:J})}else if(Y.type==="text"){if(Y.text.length>0)Z.push({type:"text",text:Y.text})}}else{let Y=I(G.message.content);if(Y!=null&&Y.length>0)Z.push({type:"text",text:Y})}if(G.message.tool_calls!=null)for(let Y of G.message.tool_calls)Z.push({type:"tool-call",toolCallId:Y.id,toolName:Y.function.name,input:Y.function.arguments});return{content:Z,finishReason:{unified:x(G.finish_reason),raw:(Q=G.finish_reason)!=null?Q:void 0},usage:y($.usage),request:{body:X},response:{...k($),headers:K,body:N},warnings:D}}async doStream(B){let{args:Q,warnings:X}=await this.getArgs(B),D={...Q,stream:!0},{responseHeaders:K,value:$}=await S({url:`${this.config.baseURL}/chat/completions`,headers:P(this.config.headers(),B.headers),body:D,failedResponseHandler:b,successfulResponseHandler:i(Gj),abortSignal:B.abortSignal,fetch:this.config.fetch}),N={unified:"other",raw:void 0},G=void 0,Z=!0,Y=!1,J=null,f=this.generateId;return{stream:$.pipeThrough(new TransformStream({start(L){L.enqueue({type:"stream-start",warnings:X})},transform(L,U){if(B.includeRawChunks)U.enqueue({type:"raw",rawValue:L.rawValue});if(!L.success){U.enqueue({type:"error",error:L.error});return}let O=L.value;if(Z)Z=!1,U.enqueue({type:"response-metadata",...k(O)});if(O.usage!=null)G=O.usage;let V=O.choices[0],q=V.delta,E=I(q.content);if(q.content!=null&&Array.isArray(q.content)){for(let A of q.content)if(A.type==="thinking"){let H=F(A.thinking);if(H.length>0){if(J==null){if(Y)U.enqueue({type:"text-end",id:"0"}),Y=!1;J=f(),U.enqueue({type:"reasoning-start",id:J})}U.enqueue({type:"reasoning-delta",id:J,delta:H})}}}if(E!=null&&E.length>0){if(!Y){if(J!=null)U.enqueue({type:"reasoning-end",id:J}),J=null;U.enqueue({type:"text-start",id:"0"}),Y=!0}U.enqueue({type:"text-delta",id:"0",delta:E})}if((q==null?void 0:q.tool_calls)!=null)for(let A of q.tool_calls){let H=A.id,z=A.function.name,W=A.function.arguments;U.enqueue({type:"tool-input-start",id:H,toolName:z}),U.enqueue({type:"tool-input-delta",id:H,delta:W}),U.enqueue({type:"tool-input-end",id:H}),U.enqueue({type:"tool-call",toolCallId:H,toolName:z,input:W})}if(V.finish_reason!=null)N={unified:x(V.finish_reason),raw:V.finish_reason}},flush(L){if(J!=null)L.enqueue({type:"reasoning-end",id:J});if(Y)L.enqueue({type:"text-end",id:"0"});L.enqueue({type:"finish",finishReason:N,usage:y(G)})}})),request:{body:D},response:{headers:K}}}};function F(B){return B.filter((Q)=>Q.type==="text").map((Q)=>Q.text).join("")}function I(B){if(typeof B==="string")return B;if(B==null)return;let Q=[];for(let X of B){let{type:D}=X;switch(D){case"text":Q.push(X.text);break;case"thinking":case"image_url":case"reference":break;default:throw Error(`Unsupported type: ${D}`)}}return Q.length?Q.join(""):void 0}var l=j.union([j.string(),j.array(j.discriminatedUnion("type",[j.object({type:j.literal("text"),text:j.string()}),j.object({type:j.literal("image_url"),image_url:j.union([j.string(),j.object({url:j.string(),detail:j.string().nullable()})])}),j.object({type:j.literal("reference"),reference_ids:j.array(j.union([j.string(),j.number()]))}),j.object({type:j.literal("thinking"),thinking:j.array(j.object({type:j.literal("text"),text:j.string()}))})]))]).nullish(),a=j.object({prompt_tokens:j.number(),completion_tokens:j.number(),total_tokens:j.number()}),Bj=j.object({id:j.string().nullish(),created:j.number().nullish(),model:j.string().nullish(),choices:j.array(j.object({message:j.object({role:j.literal("assistant"),content:l,tool_calls:j.array(j.object({id:j.string(),function:j.object({name:j.string(),arguments:j.string()})})).nullish()}),index:j.number(),finish_reason:j.string().nullish()})),object:j.literal("chat.completion"),usage:a}),Gj=j.object({id:j.string().nullish(),created:j.number().nullish(),model:j.string().nullish(),choices:j.array(j.object({delta:j.object({role:j.enum(["assistant"]).optional(),content:l,tool_calls:j.array(j.object({id:j.string(),function:j.object({name:j.string(),arguments:j.string()})})).nullish()}),finish_reason:j.string().nullish(),index:j.number()})),usage:a.nullish()}),Qj=class{constructor(B,Q){this.specificationVersion="v3",this.maxEmbeddingsPerCall=32,this.supportsParallelCalls=!1,this.modelId=B,this.config=Q}get provider(){return this.config.provider}async doEmbed({values:B,abortSignal:Q,headers:X}){if(B.length>this.maxEmbeddingsPerCall)throw new v({provider:this.provider,modelId:this.modelId,maxEmbeddingsPerCall:this.maxEmbeddingsPerCall,values:B});let{responseHeaders:D,value:K,rawValue:$}=await S({url:`${this.config.baseURL}/embeddings`,headers:P(this.config.headers(),X),body:{model:this.modelId,input:B,encoding_format:"float"},failedResponseHandler:b,successfulResponseHandler:M(Xj),abortSignal:Q,fetch:this.config.fetch});return{warnings:[],embeddings:K.data.map((N)=>N.embedding),usage:K.usage?{tokens:K.usage.prompt_tokens}:void 0,response:{headers:D,body:$}}}},Xj=j.object({data:j.array(j.object({embedding:j.array(j.number())})),usage:j.object({prompt_tokens:j.number()}).nullish()}),Yj="3.0.27";function Zj(B={}){var Q;let X=(Q=p(B.baseURL))!=null?Q:"https://api.mistral.ai/v1",D=()=>g({Authorization:`Bearer ${m({apiKey:B.apiKey,environmentVariableName:"MISTRAL_API_KEY",description:"Mistral"})}`,...B.headers},`ai-sdk/mistral/${Yj}`),K=(G)=>new jj(G,{provider:"mistral.chat",baseURL:X,headers:D,fetch:B.fetch,generateId:B.generateId}),$=(G)=>new Qj(G,{provider:"mistral.embedding",baseURL:X,headers:D,fetch:B.fetch}),N=function(G){if(new.target)throw Error("The Mistral model function cannot be called with the new keyword.");return K(G)};return N.specificationVersion="v3",N.languageModel=K,N.chat=K,N.embedding=$,N.embeddingModel=$,N.textEmbedding=$,N.textEmbeddingModel=$,N.imageModel=(G)=>{throw new T({modelId:G,modelType:"imageModel"})},N}var Pj=Zj();export{Pj as mistral,Zj as createMistral,Yj as VERSION};
|