@qitqode/qitqode-android-arm64 0.1.34 → 0.1.36
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-7311jry1.js → chunk-00sr2gwz.js} +2 -2
- package/bundle/{chunk-azhw650z.js → chunk-02xcb52z.js} +2 -2
- package/bundle/{chunk-gws1rn1v.js → chunk-08q55ya0.js} +1 -1
- package/bundle/chunk-092bx2yw.js +2 -0
- package/bundle/{chunk-xgr6jnd6.js → chunk-0g25z230.js} +1 -1
- package/bundle/chunk-0j6dhrew.js +2 -0
- package/bundle/chunk-0jrgk6vk.js +2 -0
- package/bundle/chunk-0qn52zsd.js +2 -0
- package/bundle/chunk-10accb7b.js +2 -0
- package/bundle/{chunk-rjy5mqwz.js → chunk-132tcp2j.js} +2 -2
- package/bundle/chunk-13kpdfr7.js +2 -0
- package/bundle/chunk-15s8zwgf.js +2 -0
- package/bundle/{chunk-nj4d554m.js → chunk-1bx2sjn6.js} +1 -1
- package/bundle/chunk-1kgyfja6.js +2 -0
- package/bundle/{chunk-bv29k2pf.js → chunk-1mcsf4yb.js} +2 -2
- package/bundle/{chunk-kwx9ewe0.js → chunk-1wpjmwnh.js} +1 -1
- package/bundle/chunk-1yv5h8k4.js +2 -0
- package/bundle/chunk-24rw1br0.js +3 -0
- package/bundle/{chunk-snr44en9.js → chunk-25bp7pcm.js} +2 -2
- package/bundle/{chunk-kmcsz8yv.js → chunk-2dkrfc1s.js} +1 -1
- package/bundle/chunk-364ccew0.js +3 -0
- package/bundle/{chunk-ppkqr9cn.js → chunk-37dvnent.js} +2 -2
- package/bundle/chunk-3bkdbqjj.js +2 -0
- package/bundle/chunk-3bnqw3xp.js +3 -0
- package/bundle/{chunk-08m0hkdz.js → chunk-3dr4469n.js} +1 -1
- package/bundle/{chunk-2fkfbdcy.js → chunk-3gw6r3hf.js} +179 -179
- package/bundle/{chunk-n96tvjgj.js → chunk-3mepk08v.js} +2 -2
- package/bundle/chunk-3sz6gw10.js +3 -0
- package/bundle/chunk-41x11r2s.js +3 -0
- package/bundle/{chunk-xqdrr7xg.js → chunk-45mjcxqk.js} +1 -1
- package/bundle/{chunk-qrtc3etn.js → chunk-4fa390yr.js} +2 -2
- package/bundle/chunk-4gs87ghj.js +3 -0
- package/bundle/chunk-4kqdzdv5.js +3 -0
- package/bundle/{chunk-3k2b05fv.js → chunk-4sazy0nq.js} +1 -1
- package/bundle/chunk-4tbqsrsn.js +2 -0
- package/bundle/{chunk-ngccf7ga.js → chunk-52b1v7mn.js} +1 -1
- package/bundle/chunk-53kns5wy.js +2 -0
- package/bundle/{chunk-11v7vz3y.js → chunk-549ptbaj.js} +1 -1
- package/bundle/chunk-559ek1ym.js +2 -0
- package/bundle/{chunk-34p46th6.js → chunk-5bate758.js} +1 -1
- package/bundle/{chunk-kdcnder5.js → chunk-5kmfnkzv.js} +1 -1
- package/bundle/{chunk-9msnx26q.js → chunk-5pkg052s.js} +2 -2
- package/bundle/chunk-5yfzzmv0.js +2 -0
- package/bundle/{chunk-rsszcqxd.js → chunk-60qyqqxx.js} +1 -1
- package/bundle/{chunk-94pcpztx.js → chunk-64s7vfj7.js} +2 -2
- package/bundle/{chunk-bzgj60w4.js → chunk-6sfhbckv.js} +1 -1
- package/bundle/{chunk-8762ty72.js → chunk-70pb4kcm.js} +2 -2
- package/bundle/{chunk-04hvaaje.js → chunk-72zxassf.js} +1 -1
- package/bundle/{chunk-yz6898wy.js → chunk-73ckx171.js} +1 -1
- package/bundle/chunk-7cbj28fp.js +2 -0
- package/bundle/chunk-7dep7g7c.js +2 -0
- package/bundle/{chunk-gj0wt0cy.js → chunk-7fawtcnn.js} +1 -1
- package/bundle/{chunk-zfn0z4sh.js → chunk-7gbytqkn.js} +2 -2
- package/bundle/{chunk-x66ycpfs.js → chunk-7jhrxzjx.js} +2 -2
- package/bundle/{chunk-09pkckr1.js → chunk-7vftsy04.js} +1 -1
- package/bundle/{chunk-zfd70p01.js → chunk-8dxdeksr.js} +1 -1
- package/bundle/{chunk-6styp5dn.js → chunk-8fgamz4y.js} +1 -1
- package/bundle/{chunk-9qdr9t8c.js → chunk-8q6z6emx.js} +1 -1
- package/bundle/{chunk-4ttf9rjd.js → chunk-8r3410c2.js} +1 -1
- package/bundle/{chunk-3mzcr3fw.js → chunk-8tp4whyw.js} +1 -1
- package/bundle/chunk-8yn64y27.js +2 -0
- package/bundle/{chunk-41v0x1jk.js → chunk-8yr682pv.js} +2 -2
- package/bundle/chunk-8ywa7az5.js +2 -0
- package/bundle/chunk-8ywdddts.js +2 -0
- package/bundle/chunk-8zmreqxx.js +2 -0
- package/bundle/chunk-92zjark4.js +2 -0
- package/bundle/chunk-983rqajz.js +7 -0
- package/bundle/{chunk-kjyw00jp.js → chunk-9cw4cnz0.js} +1 -1
- package/bundle/{chunk-2swch6mx.js → chunk-9dh9bc9d.js} +1 -1
- package/bundle/{chunk-y437vyza.js → chunk-9fkmhmh6.js} +1 -1
- package/bundle/{chunk-7vd91wsd.js → chunk-9nk0ts0s.js} +1 -1
- package/bundle/{chunk-p9cnzxb8.js → chunk-9s4whpg1.js} +2 -2
- package/bundle/{chunk-yajd975f.js → chunk-9xvctnjr.js} +1 -1
- package/bundle/chunk-9yakc5yv.js +28 -0
- package/bundle/{chunk-4wxxyrxn.js → chunk-9zre5e54.js} +1 -1
- package/bundle/chunk-a42q5mx4.js +3 -0
- package/bundle/{chunk-yt3f3j35.js → chunk-a9y27zd2.js} +1 -1
- package/bundle/{chunk-mex0fe9s.js → chunk-acyj91wq.js} +1 -1
- package/bundle/chunk-aq28ejhv.js +2 -0
- package/bundle/{chunk-pkc4ddw1.js → chunk-atpzz901.js} +1 -1
- package/bundle/chunk-ax1y4699.js +2 -0
- package/bundle/{chunk-dctj3c22.js → chunk-b0jh0rby.js} +2 -2
- package/bundle/chunk-b0x888w9.js +2 -0
- package/bundle/chunk-b10px5g4.js +2 -0
- package/bundle/chunk-b1qhpxee.js +2 -0
- package/bundle/chunk-b4ysd5b4.js +9 -0
- package/bundle/chunk-bcs2gvmp.js +2 -0
- package/bundle/{chunk-7mxt5b0h.js → chunk-bjcb9kt0.js} +1 -1
- package/bundle/{chunk-67d5d8mr.js → chunk-bnz0mxak.js} +1 -1
- package/bundle/{chunk-wwgd4rzx.js → chunk-brh35yt5.js} +2 -2
- package/bundle/chunk-bs020a3x.js +2 -0
- package/bundle/{chunk-7eexey82.js → chunk-c72jajx9.js} +1 -1
- package/bundle/{chunk-81trveht.js → chunk-cagk1sjd.js} +1 -1
- package/bundle/{chunk-1byd3wma.js → chunk-cdh26622.js} +2 -2
- package/bundle/chunk-cjxcnhmq.js +14 -0
- package/bundle/{chunk-ygjtwjnk.js → chunk-cx0j6mpq.js} +1 -1
- package/bundle/{chunk-zh3fny3z.js → chunk-cx7p4ezk.js} +2 -2
- package/bundle/chunk-d0xs3j5h.js +2 -0
- package/bundle/{chunk-pxmhe36r.js → chunk-d1rn44wz.js} +1 -1
- package/bundle/chunk-d72rty3t.js +2 -0
- package/bundle/{chunk-0c6ep9mc.js → chunk-d93z6hrn.js} +1 -1
- package/bundle/{chunk-seghf5fc.js → chunk-dgx4rq86.js} +1 -1
- package/bundle/{chunk-qzj6027k.js → chunk-dh1h513y.js} +1 -1
- package/bundle/chunk-dj951pms.js +2 -0
- package/bundle/chunk-dp6zktka.js +2 -0
- package/bundle/{chunk-ba3h1pzs.js → chunk-dshnn54c.js} +1 -1
- package/bundle/{chunk-73myw3bj.js → chunk-dt899wbf.js} +2 -2
- package/bundle/chunk-dvqdtdza.js +2 -0
- package/bundle/{chunk-6ynxf3q7.js → chunk-dvxk6mr6.js} +2 -2
- package/bundle/chunk-dx7h5r8j.js +2 -0
- package/bundle/{chunk-bnss5dkk.js → chunk-dykqn0nj.js} +2 -2
- package/bundle/chunk-e03tgfpb.js +8 -0
- package/bundle/chunk-e07dbha4.js +2 -0
- package/bundle/chunk-e88wd9ex.js +2 -0
- package/bundle/{chunk-y9zstzed.js → chunk-eaqfnwdj.js} +1 -1
- package/bundle/chunk-ebabnv33.js +3 -0
- package/bundle/chunk-ebdpg3cn.js +2 -0
- package/bundle/{chunk-w9nzsd3w.js → chunk-ebkztnpf.js} +180 -178
- package/bundle/chunk-ec7pznsp.js +2 -0
- package/bundle/chunk-et7kz7kx.js +2 -0
- package/bundle/{chunk-kfmz2p27.js → chunk-ev3a2sxv.js} +2 -2
- package/bundle/{chunk-d00c1k9w.js → chunk-ewpzqnj4.js} +1 -1
- package/bundle/chunk-eyc6tb5h.js +2 -0
- package/bundle/chunk-eywryd3k.js +2 -0
- package/bundle/chunk-eze57bty.js +2 -0
- package/bundle/{chunk-qddt2gcs.js → chunk-ezrskm25.js} +1 -1
- package/bundle/chunk-f36ctnbp.js +3 -0
- package/bundle/{chunk-q5fygrnr.js → chunk-f77nxt23.js} +2 -2
- package/bundle/chunk-fa47vzfc.js +2 -0
- package/bundle/chunk-fe397ph0.js +2 -0
- package/bundle/chunk-fjm9kstr.js +5 -0
- package/bundle/{chunk-5xq3h51b.js → chunk-fmxm4kaj.js} +2 -2
- package/bundle/chunk-fr75ytdr.js +2 -0
- package/bundle/chunk-fw2tnbt6.js +2 -0
- package/bundle/chunk-fwr2qgqb.js +2 -0
- package/bundle/chunk-g204pt98.js +2 -0
- package/bundle/chunk-g5prcvq2.js +14 -0
- package/bundle/{chunk-ggydr1ze.js → chunk-g794ey6w.js} +1 -1
- package/bundle/chunk-gcgmwqhh.js +2 -0
- package/bundle/{chunk-rmve21dh.js → chunk-gg7bg3ek.js} +1 -1
- package/bundle/{chunk-9x25d115.js → chunk-gkj4a27z.js} +1 -1
- package/bundle/chunk-gvtjxg0d.js +2 -0
- package/bundle/chunk-gw36mrg4.js +2 -0
- package/bundle/{chunk-z8gdmvgg.js → chunk-gwfx7tx7.js} +2 -2
- package/bundle/{chunk-q8hd01j7.js → chunk-gxmxx8jb.js} +1 -1
- package/bundle/{chunk-tge53d52.js → chunk-h1kg35mn.js} +1 -1
- package/bundle/chunk-h36qec67.js +2 -0
- package/bundle/{chunk-0msqaywp.js → chunk-h7w35n7w.js} +1 -1
- package/bundle/chunk-h9gtymfm.js +2 -0
- package/bundle/chunk-h9qn35pn.js +2 -0
- package/bundle/{chunk-mr8j7rc6.js → chunk-hb9mc5f9.js} +1 -1
- package/bundle/{chunk-5a7fs1hg.js → chunk-hbh2034m.js} +1 -1
- package/bundle/{chunk-df2aswz3.js → chunk-hcy77w6t.js} +1 -1
- package/bundle/{chunk-6a7c7wnf.js → chunk-hgsykghj.js} +2 -2
- package/bundle/chunk-hhjkezfz.js +2 -0
- package/bundle/chunk-hnz570f9.js +3 -0
- package/bundle/{chunk-0csy9x1n.js → chunk-htkwc2se.js} +2 -2
- package/bundle/chunk-j21dnncc.js +4 -0
- package/bundle/{chunk-1yt5rsew.js → chunk-j63fkt6n.js} +1 -1
- package/bundle/chunk-ja18tvc7.js +2 -0
- package/bundle/{chunk-03xppy47.js → chunk-jcjaw7tk.js} +2 -2
- package/bundle/{chunk-jkh6eg7d.js → chunk-jf6ry79j.js} +4 -4
- package/bundle/{chunk-ke7n9t5p.js → chunk-jgz1a29w.js} +3 -3
- package/bundle/{chunk-ebcdxmdd.js → chunk-jngchw38.js} +1 -1
- package/bundle/{chunk-j5ymkhry.js → chunk-jqn27885.js} +1 -1
- package/bundle/chunk-jr2q5295.js +3 -0
- package/bundle/{chunk-hj3ddt53.js → chunk-jts0dma5.js} +2 -2
- package/bundle/chunk-jw16f6t0.js +4 -0
- package/bundle/chunk-jxg15t11.js +2 -0
- package/bundle/{chunk-7hm0c2yg.js → chunk-kqhh2pm9.js} +1 -1
- package/bundle/{chunk-0h8wdch6.js → chunk-kt0ej3nq.js} +1 -1
- package/bundle/chunk-kwzawx7r.js +2 -0
- package/bundle/{chunk-n6msxne8.js → chunk-kx2dp8ch.js} +1 -1
- package/bundle/chunk-m0mek3es.js +2 -0
- package/bundle/chunk-m31d2n6h.js +2 -0
- package/bundle/{chunk-egn55fa2.js → chunk-mcc5ynma.js} +3 -3
- package/bundle/{chunk-md8161zd.js → chunk-mdzzcrf9.js} +2 -2
- package/bundle/{chunk-knpyt206.js → chunk-mqtqcc10.js} +2 -2
- package/bundle/{chunk-ynwkr3yh.js → chunk-mvnxwwe7.js} +2 -2
- package/bundle/{chunk-xkv3yta0.js → chunk-mvsrzvc4.js} +4 -4
- package/bundle/{chunk-b4knxpqh.js → chunk-mw2hr4pd.js} +1 -1
- package/bundle/{chunk-vszbqv24.js → chunk-mzbr0m2v.js} +1 -1
- package/bundle/{chunk-bj00xk8k.js → chunk-n0trgp1c.js} +2 -2
- package/bundle/chunk-n14qktbg.js +2 -0
- package/bundle/{chunk-yjk6zv2z.js → chunk-n2ygpy76.js} +1 -1
- package/bundle/{chunk-4ntbxet5.js → chunk-n7xgfm5x.js} +2 -2
- package/bundle/{chunk-06k6egt2.js → chunk-neqy8j4n.js} +1 -1
- package/bundle/{chunk-nj61v4n7.js → chunk-njkserae.js} +1 -1
- package/bundle/{chunk-n6gtdx5h.js → chunk-nq495be3.js} +1 -1
- package/bundle/chunk-nr4q9fv7.js +2 -0
- package/bundle/{chunk-p3qkexpk.js → chunk-nsjp44fp.js} +1 -1
- package/bundle/chunk-nzzsj54n.js +2 -0
- package/bundle/chunk-p19qfw59.js +2 -0
- package/bundle/chunk-p2yxj9s4.js +2 -0
- package/bundle/{chunk-1dtzxt2w.js → chunk-p3rp99na.js} +1 -1
- package/bundle/chunk-p8czsxp0.js +3 -0
- package/bundle/chunk-p8k48st6.js +5 -0
- package/bundle/{chunk-79agp7v3.js → chunk-p8kpqyxb.js} +2 -2
- package/bundle/{chunk-9fxkh84w.js → chunk-p9zrk16q.js} +1 -1
- package/bundle/{chunk-xhkd9yf3.js → chunk-pmv8yr8c.js} +2 -2
- package/bundle/{chunk-ee23d2nz.js → chunk-pnq1h5az.js} +2 -2
- package/bundle/chunk-pq3qwxa8.js +2 -0
- package/bundle/{chunk-wfd5h6ax.js → chunk-pqnbdygz.js} +2 -2
- package/bundle/chunk-ps9p14y6.js +2 -0
- package/bundle/{chunk-zfcp509b.js → chunk-pxx2hz0g.js} +2 -2
- package/bundle/{chunk-zpf31kxb.js → chunk-q7rt76qw.js} +1 -1
- package/bundle/{chunk-rq4w0by4.js → chunk-q81m4m9z.js} +1 -1
- package/bundle/chunk-qagc6v17.js +2 -0
- package/bundle/{chunk-mq6jn47r.js → chunk-qb35hqm4.js} +1 -1
- package/bundle/chunk-qc0zhbhm.js +2 -0
- package/bundle/{chunk-keveg5gx.js → chunk-qdcf1ay5.js} +2 -2
- package/bundle/chunk-qp9y0g73.js +3 -0
- package/bundle/chunk-qpd0gab8.js +2 -0
- package/bundle/{chunk-6b196wjz.js → chunk-qqne79vp.js} +2 -2
- package/bundle/{chunk-g4gjz7sq.js → chunk-qs4wef8c.js} +1 -1
- package/bundle/chunk-r0ewmh6f.js +2 -0
- package/bundle/chunk-r3df289z.js +2 -0
- package/bundle/{chunk-by855es0.js → chunk-r58gzg6m.js} +1 -1
- package/bundle/{chunk-fmq0m4k5.js → chunk-r6ndvzd0.js} +1 -1
- package/bundle/chunk-r78kfhvz.js +2 -0
- package/bundle/{chunk-dyv2hqvc.js → chunk-rcyhqkv5.js} +1 -1
- package/bundle/{chunk-h2m8fdqm.js → chunk-rd4x4tsv.js} +1 -1
- package/bundle/chunk-rebsz3bj.js +2 -0
- package/bundle/{chunk-yp5bypsp.js → chunk-rexdr63q.js} +2 -2
- package/bundle/{chunk-1me21qdc.js → chunk-rgxy4ngt.js} +1 -1
- package/bundle/chunk-rph5xswc.js +2 -0
- package/bundle/{chunk-dcndy4sr.js → chunk-rph9zj24.js} +1 -1
- package/bundle/chunk-rqmvj7f4.js +3 -0
- package/bundle/{chunk-ryfqwsft.js → chunk-rrd0jf5m.js} +1 -1
- package/bundle/{chunk-mpygdb5a.js → chunk-s8mghr5a.js} +2 -2
- package/bundle/chunk-schtpyjs.js +2 -0
- package/bundle/{chunk-nmehsm3w.js → chunk-shwjjrj8.js} +1 -1
- package/bundle/{chunk-08f4khsw.js → chunk-snt1kefv.js} +3 -3
- package/bundle/{chunk-s8hq6trz.js → chunk-srxx88nb.js} +1 -1
- package/bundle/{chunk-gy0wm7e1.js → chunk-std2bgv7.js} +2 -2
- package/bundle/{chunk-dffhkd30.js → chunk-swcgsrbj.js} +1 -1
- package/bundle/chunk-sy3n0qhc.js +800 -0
- package/bundle/{chunk-wgk7ynt3.js → chunk-t01bhw5h.js} +3 -3
- package/bundle/chunk-t0jjes17.js +2 -0
- package/bundle/{chunk-y370dqf3.js → chunk-t5tfppwv.js} +2 -2
- package/bundle/chunk-t8rke5fr.js +8 -0
- package/bundle/chunk-tabcpx7t.js +4 -0
- package/bundle/{chunk-gmzrvxnv.js → chunk-tdmn21z0.js} +2 -2
- package/bundle/{chunk-71zw0qhf.js → chunk-tdxbm1nd.js} +1 -1
- package/bundle/{chunk-p825vsjy.js → chunk-te5tfq79.js} +1 -1
- package/bundle/chunk-tf4xwqz7.js +2 -0
- package/bundle/{chunk-fg35hwa0.js → chunk-tgd5ctnt.js} +2 -2
- package/bundle/chunk-tqazneg6.js +2 -0
- package/bundle/{chunk-qa2j0qmy.js → chunk-txqc7543.js} +2 -2
- package/bundle/chunk-tzg4z74d.js +2 -0
- package/bundle/{chunk-a3a1trap.js → chunk-v3x5nrc4.js} +2 -2
- package/bundle/chunk-v8dd6tyn.js +2 -0
- package/bundle/chunk-v8ksjgc3.js +2 -0
- package/bundle/chunk-v8vcwx23.js +2 -0
- package/bundle/chunk-vc4e6xc4.js +10 -0
- package/bundle/chunk-vcrakhgy.js +3 -0
- package/bundle/{chunk-za63b5mc.js → chunk-vdpd4akk.js} +2 -2
- package/bundle/{chunk-6p7yg5sr.js → chunk-vftqwdpg.js} +1 -1
- package/bundle/chunk-vg41rtdy.js +2 -0
- package/bundle/{chunk-r0k21apr.js → chunk-vgaxv70x.js} +2 -2
- package/bundle/{chunk-nkk4fyqf.js → chunk-vgnddhdj.js} +1 -1
- package/bundle/{chunk-xd3xc1vv.js → chunk-vm58fkrv.js} +1 -1
- package/bundle/{chunk-qg2vk5fw.js → chunk-vsys768k.js} +1 -1
- package/bundle/{chunk-s4qtphwx.js → chunk-w03fdrxe.js} +1 -1
- package/bundle/chunk-w1ypf53m.js +3 -0
- package/bundle/chunk-w24660y4.js +3 -0
- package/bundle/{chunk-z1ay3qd0.js → chunk-w3bmf3zz.js} +1 -1
- package/bundle/{chunk-28cm7m3t.js → chunk-w57j3pgz.js} +82 -82
- package/bundle/{chunk-vsr8mnj6.js → chunk-w5940jxm.js} +1 -1
- package/bundle/chunk-w6rf2knb.js +2 -0
- package/bundle/chunk-w9pdvcf9.js +3 -0
- package/bundle/{chunk-yk97q51d.js → chunk-wev34grp.js} +2 -2
- package/bundle/chunk-wh7r96t3.js +2 -0
- package/bundle/{chunk-1pg6pv0m.js → chunk-wm77svwm.js} +1 -1
- package/bundle/chunk-wnjqaxze.js +2 -0
- package/bundle/{chunk-qkjdr337.js → chunk-x6rr6ss1.js} +1 -1
- package/bundle/{chunk-bbzztav6.js → chunk-xdacgfba.js} +1 -1
- package/bundle/{chunk-6p94fpbn.js → chunk-xdjwapwy.js} +2 -2
- package/bundle/chunk-xfz698bh.js +2 -0
- package/bundle/{chunk-zwnhf4z1.js → chunk-xhbb8b5g.js} +1 -1
- package/bundle/chunk-xqwvx3qq.js +2 -0
- package/bundle/chunk-xxj3sgd5.js +2 -0
- package/bundle/chunk-xyjehgzm.js +3 -0
- package/bundle/{chunk-cs38g1bx.js → chunk-y0ydzdfc.js} +1 -1
- package/bundle/{chunk-wvf5q2hz.js → chunk-y1b2h15z.js} +1 -1
- package/bundle/{chunk-1gf116rg.js → chunk-yacccwf6.js} +1 -1
- package/bundle/chunk-ydc6ypjt.js +77 -0
- package/bundle/{chunk-dhqaqeq6.js → chunk-yeq7b87a.js} +1 -1
- package/bundle/chunk-yfp9y71y.js +2 -0
- package/bundle/chunk-yg9c1v8v.js +2 -0
- package/bundle/{chunk-e6xnynaz.js → chunk-yha554nm.js} +2 -2
- package/bundle/{chunk-rv1stdvb.js → chunk-yj6rbe9p.js} +2 -2
- package/bundle/chunk-yjjh339w.js +2 -0
- package/bundle/{chunk-j8q252w3.js → chunk-yjp0btmq.js} +3 -3
- package/bundle/{chunk-c5pb87yf.js → chunk-ymtcm4xd.js} +1 -1
- package/bundle/chunk-yt6vd7a5.js +2 -0
- package/bundle/{chunk-ssk8tkwd.js → chunk-yw9pfqxt.js} +1 -1
- package/bundle/{chunk-g6cyhxwg.js → chunk-yykjvt7f.js} +2 -2
- package/bundle/{chunk-sfes6pp1.js → chunk-yzh4rmrt.js} +1 -1
- package/bundle/chunk-yzq3c3dq.js +2 -0
- package/bundle/{chunk-prh3c44x.js → chunk-yzwgvjzd.js} +1 -1
- package/bundle/chunk-z1j25911.js +2 -0
- package/bundle/{chunk-rkwrjphh.js → chunk-z1rshv6g.js} +1 -1
- package/bundle/chunk-z29ahthm.js +2 -0
- package/bundle/{chunk-jgjnz82k.js → chunk-zaan8jk6.js} +1 -1
- package/bundle/{chunk-6gb65bv1.js → chunk-zbqzm65q.js} +1 -1
- package/bundle/{chunk-bk4phk66.js → chunk-zesbm9k1.js} +1 -1
- package/bundle/{chunk-c6vfwjg4.js → chunk-zfcfyagt.js} +1 -1
- package/bundle/{chunk-ywkvq7zb.js → chunk-zfnbk5gy.js} +1 -1
- package/bundle/chunk-zgre4gc2.js +2 -0
- package/bundle/{chunk-z7430qxg.js → chunk-zrmx397j.js} +1 -1
- package/bundle/chunk-zthkjx33.js +2 -0
- package/bundle/chunk-zxddasg8.js +2 -0
- 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-0x5jn813.js +0 -2
- package/bundle/chunk-1hmq2fpt.js +0 -14
- package/bundle/chunk-28t9akfn.js +0 -2
- package/bundle/chunk-2h1fcqvf.js +0 -2
- package/bundle/chunk-2scyp9ns.js +0 -2
- package/bundle/chunk-2tw58kwb.js +0 -2
- package/bundle/chunk-2vxx0tax.js +0 -2
- package/bundle/chunk-2ybt3p5z.js +0 -2
- package/bundle/chunk-2zpkw3ge.js +0 -2
- package/bundle/chunk-397be2x0.js +0 -2
- package/bundle/chunk-3c78nkgn.js +0 -2
- package/bundle/chunk-3vnnxq40.js +0 -2
- package/bundle/chunk-425mq6k8.js +0 -2
- package/bundle/chunk-43yv7tz1.js +0 -2
- package/bundle/chunk-499gp5g5.js +0 -2
- package/bundle/chunk-4sw6frjt.js +0 -2
- package/bundle/chunk-4xw14sed.js +0 -2
- package/bundle/chunk-536naqqv.js +0 -2
- package/bundle/chunk-57najm15.js +0 -2
- package/bundle/chunk-5he3d7cy.js +0 -2
- package/bundle/chunk-5vzrn6za.js +0 -3
- package/bundle/chunk-696z96a6.js +0 -2
- package/bundle/chunk-6hybp2mt.js +0 -2
- package/bundle/chunk-6v9nbb4c.js +0 -3
- package/bundle/chunk-6y423jax.js +0 -3
- package/bundle/chunk-72ghkgcn.js +0 -2
- package/bundle/chunk-741teh8k.js +0 -2
- package/bundle/chunk-7b3wx6kn.js +0 -2
- package/bundle/chunk-7bwe0ayr.js +0 -3
- package/bundle/chunk-7hh0654f.js +0 -3
- package/bundle/chunk-891yevv2.js +0 -2
- package/bundle/chunk-8d5k45yj.js +0 -2
- package/bundle/chunk-8eje5baf.js +0 -8
- package/bundle/chunk-8ktgy41r.js +0 -2
- package/bundle/chunk-8q73cjyj.js +0 -2
- package/bundle/chunk-8y623qdx.js +0 -2
- package/bundle/chunk-921vn745.js +0 -2
- package/bundle/chunk-9y97bzht.js +0 -8
- package/bundle/chunk-a0rp7gh4.js +0 -77
- package/bundle/chunk-a48t0g95.js +0 -3
- package/bundle/chunk-a8119c3a.js +0 -2
- package/bundle/chunk-akk84fnc.js +0 -2
- package/bundle/chunk-aw7j7brm.js +0 -2
- package/bundle/chunk-b34t8v7x.js +0 -2
- package/bundle/chunk-b8hmj4jq.js +0 -2
- package/bundle/chunk-bja8q0ke.js +0 -3
- package/bundle/chunk-c5fa8cb1.js +0 -2
- package/bundle/chunk-cfw9pyt7.js +0 -2
- package/bundle/chunk-ckbwdrm3.js +0 -2
- package/bundle/chunk-cz3h5n1v.js +0 -3
- package/bundle/chunk-d80hk5x9.js +0 -3
- package/bundle/chunk-d8dk05kd.js +0 -2
- package/bundle/chunk-dwajajaq.js +0 -2
- package/bundle/chunk-dxcrggvq.js +0 -2
- package/bundle/chunk-e7ah0e61.js +0 -2
- package/bundle/chunk-e7v9trve.js +0 -11
- package/bundle/chunk-efndtzby.js +0 -2
- package/bundle/chunk-eq2pepce.js +0 -2
- package/bundle/chunk-esp6jv63.js +0 -7
- package/bundle/chunk-f693s9vn.js +0 -2
- package/bundle/chunk-f9v5n0t6.js +0 -2
- package/bundle/chunk-fdadk5tw.js +0 -2
- package/bundle/chunk-ftepqwyq.js +0 -2
- package/bundle/chunk-g4nq9swr.js +0 -3
- package/bundle/chunk-gdb67zmn.js +0 -14
- package/bundle/chunk-gk28ffhg.js +0 -2
- package/bundle/chunk-gpfc4z4v.js +0 -2
- package/bundle/chunk-gqvg02zp.js +0 -2
- package/bundle/chunk-h3k1dk9m.js +0 -2
- package/bundle/chunk-h8c3dcqt.js +0 -2
- package/bundle/chunk-hfq11w4h.js +0 -2
- package/bundle/chunk-hg0etbkx.js +0 -3
- package/bundle/chunk-hw5qyht3.js +0 -3
- package/bundle/chunk-hwf58w1k.js +0 -2
- package/bundle/chunk-j0jdkqf5.js +0 -5
- package/bundle/chunk-jm722vy1.js +0 -4
- package/bundle/chunk-kdvs4871.js +0 -2
- package/bundle/chunk-kk3ve911.js +0 -2
- package/bundle/chunk-kv72hxkp.js +0 -3
- package/bundle/chunk-m4j7jyrd.js +0 -3
- package/bundle/chunk-mdts0641.js +0 -2
- package/bundle/chunk-mf3sm0pk.js +0 -2
- package/bundle/chunk-mkng9ykt.js +0 -2
- package/bundle/chunk-npv80mcx.js +0 -2
- package/bundle/chunk-ny9hnvzy.js +0 -2
- package/bundle/chunk-p15sv2dg.js +0 -3
- package/bundle/chunk-pe98rznj.js +0 -2
- package/bundle/chunk-q1czj6be.js +0 -2
- package/bundle/chunk-q6wm9yt0.js +0 -2
- package/bundle/chunk-qbx70v64.js +0 -2
- package/bundle/chunk-qc3ce3vc.js +0 -3
- package/bundle/chunk-qek6a75r.js +0 -2
- package/bundle/chunk-qkk1as5n.js +0 -2
- package/bundle/chunk-qsm9xw87.js +0 -2
- package/bundle/chunk-qyzze0dv.js +0 -2
- package/bundle/chunk-r2w3gr8d.js +0 -2
- package/bundle/chunk-r5bqcpkz.js +0 -2
- package/bundle/chunk-r67c858b.js +0 -2
- package/bundle/chunk-r9fvfkee.js +0 -2
- package/bundle/chunk-rq47pn3r.js +0 -2
- package/bundle/chunk-rvt1tdy8.js +0 -2
- package/bundle/chunk-ry7q8xn6.js +0 -2
- package/bundle/chunk-s27xvrft.js +0 -2
- package/bundle/chunk-s2vasbwj.js +0 -2
- package/bundle/chunk-scy39p6q.js +0 -2
- package/bundle/chunk-shenqgrx.js +0 -2
- package/bundle/chunk-sz0gkx88.js +0 -5
- package/bundle/chunk-t5qamf96.js +0 -2
- package/bundle/chunk-t9mz17gb.js +0 -3
- package/bundle/chunk-tt8jke90.js +0 -2
- package/bundle/chunk-ttevj0pj.js +0 -2
- package/bundle/chunk-v6tgn668.js +0 -2
- package/bundle/chunk-v7c54cyj.js +0 -2
- package/bundle/chunk-vgefaens.js +0 -2
- package/bundle/chunk-vkq0faj8.js +0 -2
- package/bundle/chunk-vkqzmzpw.js +0 -2
- package/bundle/chunk-vv59b4re.js +0 -2
- package/bundle/chunk-vwqy7n3g.js +0 -2
- package/bundle/chunk-w5kg2yz0.js +0 -3
- package/bundle/chunk-wbzs30fk.js +0 -28
- package/bundle/chunk-wet3bnwn.js +0 -2
- package/bundle/chunk-wfegee41.js +0 -2
- package/bundle/chunk-wmaz57f6.js +0 -800
- package/bundle/chunk-wn076jwj.js +0 -2
- package/bundle/chunk-x0m1qye9.js +0 -2
- package/bundle/chunk-x9s90xd1.js +0 -3
- package/bundle/chunk-xy5cjach.js +0 -2
- package/bundle/chunk-y70aachh.js +0 -2
- package/bundle/chunk-ya8g02hv.js +0 -9
- package/bundle/chunk-yqk58hf6.js +0 -3
- package/bundle/chunk-ysgxt83y.js +0 -2
- package/bundle/chunk-zm5dfk2b.js +0 -3
- package/bundle/chunk-zph1c2q1.js +0 -3
- package/bundle/chunk-zwdnh860.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-3k2b05fv.js";var ro=Object.defineProperty,Wr=(e)=>{throw TypeError(e)},en=(e,t)=>{for(var n in t)ro(e,n,{get:t[n],enumerable:!0})},Rr=(e,t,n)=>t.has(e)||Wr("Cannot "+n),qe=(e,t,n)=>(Rr(e,t,"read from private field"),n?n.call(e):t.get(e)),uo=(e,t,n)=>t.has(e)?Wr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ao=(e,t,n,r)=>(Rr(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ur={};en(Ur,{languages:()=>xD,options:()=>AD,printers:()=>gD});var oo=[{name:"JavaScript",type:"programming",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],tmScope:"source.js",aceMode:"javascript",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],filenames:["Jakefile","start.frag","end.frag"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",extensions:[".js.flow"],tmScope:"source.js",aceMode:"javascript",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],filenames:[],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,filenames:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],Gr={};en(Gr,{canAttachComment:()=>fs,embed:()=>rp,experimentalFeatures:()=>lD,getCommentChildNodes:()=>Es,getVisitorKeys:()=>Qr,handleComments:()=>Fu,insertPragma:()=>Ep,isBlockComment:()=>ye,isGap:()=>Fs,massageAstNode:()=>mi,print:()=>pD,printComment:()=>Li,willPrintOwnComments:()=>wu});var io=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},H=io,so=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},X=so;function po(e){return e!==null&&typeof e=="object"}var lo=po;function*co(e,t){let{getVisitorKeys:n,filter:r=()=>!0}=t,u=(a)=>lo(a)&&r(a);for(let a of n(e)){let o=e[a];if(Array.isArray(o))for(let i of o)u(i)&&(yield i);else u(o)&&(yield o)}}function*Do(e,t){let n=[e];for(let r=0;r<n.length;r++){let u=n[r];for(let a of co(u,t))yield a,n.push(a)}}function yo(e,{getVisitorKeys:t,predicate:n}){for(let r of Do(e,{getVisitorKeys:t}))if(n(r))return!0;return!1}var mo=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function fo(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Eo(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Fo=(e)=>!(fo(e)||Eo(e)),Ao=/[^\x20-\x7F]/u;function go(e){if(!e)return 0;if(!Ao.test(e))return e.length;e=e.replace(mo()," ");let t=0;for(let n of e){let r=n.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||(t+=Fo(r)?1:2)}return t}var ct=go;function tn(e){return(t,n,r)=>{let u=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let i=t.charAt(o);if(e instanceof RegExp){if(!e.test(i))return o}else if(!e.includes(i))return o;u?o--:o++}return o===-1||o===a?o:!1}}var hD=tn(/\s/u),Dt=tn(" \t"),xo=tn(",; \t"),ho=tn(/[^\n\r]/u);function Co(e,t,n){let r=!!(n!=null&&n.backwards);if(t===!1)return!1;let u=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&u===`
|
|
2
|
+
import"./chunk-4sazy0nq.js";var ro=Object.defineProperty,Wr=(e)=>{throw TypeError(e)},en=(e,t)=>{for(var n in t)ro(e,n,{get:t[n],enumerable:!0})},Rr=(e,t,n)=>t.has(e)||Wr("Cannot "+n),qe=(e,t,n)=>(Rr(e,t,"read from private field"),n?n.call(e):t.get(e)),uo=(e,t,n)=>t.has(e)?Wr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ao=(e,t,n,r)=>(Rr(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ur={};en(Ur,{languages:()=>xD,options:()=>AD,printers:()=>gD});var oo=[{name:"JavaScript",type:"programming",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],tmScope:"source.js",aceMode:"javascript",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],filenames:["Jakefile","start.frag","end.frag"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",extensions:[".js.flow"],tmScope:"source.js",aceMode:"javascript",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],filenames:[],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,filenames:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],Gr={};en(Gr,{canAttachComment:()=>fs,embed:()=>rp,experimentalFeatures:()=>lD,getCommentChildNodes:()=>Es,getVisitorKeys:()=>Qr,handleComments:()=>Fu,insertPragma:()=>Ep,isBlockComment:()=>ye,isGap:()=>Fs,massageAstNode:()=>mi,print:()=>pD,printComment:()=>Li,willPrintOwnComments:()=>wu});var io=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},H=io,so=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},X=so;function po(e){return e!==null&&typeof e=="object"}var lo=po;function*co(e,t){let{getVisitorKeys:n,filter:r=()=>!0}=t,u=(a)=>lo(a)&&r(a);for(let a of n(e)){let o=e[a];if(Array.isArray(o))for(let i of o)u(i)&&(yield i);else u(o)&&(yield o)}}function*Do(e,t){let n=[e];for(let r=0;r<n.length;r++){let u=n[r];for(let a of co(u,t))yield a,n.push(a)}}function yo(e,{getVisitorKeys:t,predicate:n}){for(let r of Do(e,{getVisitorKeys:t}))if(n(r))return!0;return!1}var mo=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function fo(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Eo(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Fo=(e)=>!(fo(e)||Eo(e)),Ao=/[^\x20-\x7F]/u;function go(e){if(!e)return 0;if(!Ao.test(e))return e.length;e=e.replace(mo()," ");let t=0;for(let n of e){let r=n.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||(t+=Fo(r)?1:2)}return t}var ct=go;function tn(e){return(t,n,r)=>{let u=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let i=t.charAt(o);if(e instanceof RegExp){if(!e.test(i))return o}else if(!e.includes(i))return o;u?o--:o++}return o===-1||o===a?o:!1}}var hD=tn(/\s/u),Dt=tn(" \t"),xo=tn(",; \t"),ho=tn(/[^\n\r]/u);function Co(e,t,n){let r=!!(n!=null&&n.backwards);if(t===!1)return!1;let u=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&u===`
|
|
3
3
|
`)return t-2;if(u===`
|
|
4
4
|
`||u==="\r"||u==="\u2028"||u==="\u2029")return t-1}else{if(u==="\r"&&e.charAt(t+1)===`
|
|
5
5
|
`)return t+2;if(u===`
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{fs as S,gs as Vq}from"./chunk-4gs87ghj.js";import{KB as Xq,LB as d,MP as $B,NP as WB,OP as zB,PC as HB,QC as VB,RP as t,SC as CB,UH as AB,VC as EB,aD as N,aE as XB,cH as f,gD as T,hG as YB,kC as KB,kG as h,nF as LB,pH as MB,qG as DB,rF as jB,sF as PB,vE as NB,wE as wB,yE as FB,zH as ZB}from"./chunk-ydc6ypjt.js";import{fQ as y}from"./chunk-pnq1h5az.js";import{gQ as K,hQ as Z,kQ as G}from"./chunk-4sazy0nq.js";var l=Z(($q)=>{Object.defineProperty($q,"__esModule",{value:!0});$q._clearDefaultServiceNameCache=$q.defaultServiceName=void 0;var D;function hB(){if(D===void 0)try{let q=globalThis.process.argv0;D=q?`unknown_service:${q}`:"unknown_service"}catch{D="unknown_service"}return D}$q.defaultServiceName=hB;function IB(){D=void 0}$q._clearDefaultServiceNameCache=IB});var Kq=Z((zq)=>{Object.defineProperty(zq,"__esModule",{value:!0});zq.isPromiseLike=void 0;var SB=(q)=>{return q!==null&&typeof q==="object"&&typeof q.then==="function"};zq.isPromiseLike=SB});var i=Z((Cq)=>{Object.defineProperty(Cq,"__esModule",{value:!0});Cq.defaultResource=Cq.emptyResource=Cq.resourceFromDetectedResource=Cq.resourceFromAttributes=void 0;var A=y(),c=Vq(),C=S(),kB=l(),M=Kq();class U{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(q,B){let J=new U({},B);return J._rawAttributes=Hq(q),J._asyncAttributesPending=q.filter(([Q,Y])=>(0,M.isPromiseLike)(Y)).length>0,J}constructor(q,B){let J=q.attributes??{};this._rawAttributes=Object.entries(J).map(([Q,Y])=>{if((0,M.isPromiseLike)(Y))this._asyncAttributesPending=!0;return[Q,Y]}),this._rawAttributes=Hq(this._rawAttributes),this._schemaUrl=_B(B?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(!this.asyncAttributesPending)return;for(let q=0;q<this._rawAttributes.length;q++){let[B,J]=this._rawAttributes[q];this._rawAttributes[q]=[B,(0,M.isPromiseLike)(J)?await J:J]}this._asyncAttributesPending=!1}get attributes(){if(this.asyncAttributesPending)A.diag.error("Accessing resource attributes before async attributes settled");if(this._memoizedAttributes)return this._memoizedAttributes;let q={};for(let[B,J]of this._rawAttributes){if((0,M.isPromiseLike)(J)){A.diag.debug(`Unsettled resource attribute ${B} skipped`);continue}if(J!=null)q[B]??=J}if(!this._asyncAttributesPending)this._memoizedAttributes=q;return q}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(q){if(q==null)return this;let B=vB(this,q),J=B?{schemaUrl:B}:void 0;return U.FromAttributeList([...q.getRawAttributes(),...this.getRawAttributes()],J)}}function p(q,B){return U.FromAttributeList(Object.entries(q),B)}Cq.resourceFromAttributes=p;function bB(q,B){return new U(q,B)}Cq.resourceFromDetectedResource=bB;function fB(){return p({})}Cq.emptyResource=fB;function gB(){return p({[C.ATTR_SERVICE_NAME]:(0,kB.defaultServiceName)(),[C.ATTR_TELEMETRY_SDK_LANGUAGE]:c.SDK_INFO[C.ATTR_TELEMETRY_SDK_LANGUAGE],[C.ATTR_TELEMETRY_SDK_NAME]:c.SDK_INFO[C.ATTR_TELEMETRY_SDK_NAME],[C.ATTR_TELEMETRY_SDK_VERSION]:c.SDK_INFO[C.ATTR_TELEMETRY_SDK_VERSION]})}Cq.defaultResource=gB;function Hq(q){return q.map(([B,J])=>{if((0,M.isPromiseLike)(J))return[B,J.catch((Q)=>{A.diag.debug("promise rejection for resource attribute: %s - %s",B,Q);return})];return[B,J]})}function _B(q){if(typeof q==="string"||q===void 0)return q;A.diag.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",q);return}function vB(q,B){let J=q?.schemaUrl,Q=B?.schemaUrl,Y=J===void 0||J==="",z=Q===void 0||Q==="";if(Y)return Q;if(z)return J;if(J===Q)return J;A.diag.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',J,Q);return}});var Lq=Z((wq)=>{Object.defineProperty(wq,"__esModule",{value:!0});wq.detectResources=void 0;var Nq=y(),n=i(),uB=(q={})=>{return(q.detectors||[]).map((J)=>{try{let Q=(0,n.resourceFromDetectedResource)(J.detect(q));return Nq.diag.debug(`${J.constructor.name} found resource.`,Q),Q}catch(Q){return Nq.diag.debug(`${J.constructor.name} failed: ${Q.message}`),(0,n.emptyResource)()}}).reduce((J,Q)=>J.merge(Q),(0,n.emptyResource)())};wq.detectResources=uB});var Aq=Z((Dq)=>{Object.defineProperty(Dq,"__esModule",{value:!0});Dq.envDetector=void 0;var lB=y(),cB=S(),jq=Vq();class Pq{_MAX_LENGTH=255;_COMMA_SEPARATOR=",";_LABEL_KEY_VALUE_SPLITTER="=";detect(q){let B={},J=(0,jq.getStringFromEnv)("OTEL_RESOURCE_ATTRIBUTES"),Q=(0,jq.getStringFromEnv)("OTEL_SERVICE_NAME");if(J)try{let Y=this._parseResourceAttributes(J);Object.assign(B,Y)}catch(Y){lB.diag.debug(`EnvDetector failed: ${Y instanceof Error?Y.message:Y}`)}if(Q)B[cB.ATTR_SERVICE_NAME]=Q;return{attributes:B}}_parseResourceAttributes(q){if(!q)return{};let B={},J=q.split(this._COMMA_SEPARATOR);for(let Q of J){let Y=Q.split(this._LABEL_KEY_VALUE_SPLITTER);if(Y.length!==2)throw Error(`Invalid format for OTEL_RESOURCE_ATTRIBUTES: "${Q}". Expected format: key=value. The ',' and '=' characters must be percent-encoded in keys and values.`);let[z,w]=Y,F=z.trim(),RB=w.trim();if(F.length===0)throw Error(`Invalid OTEL_RESOURCE_ATTRIBUTES: empty attribute key in "${Q}".`);let P,m;try{P=decodeURIComponent(F),m=decodeURIComponent(RB)}catch(u){throw Error(`Failed to percent-decode OTEL_RESOURCE_ATTRIBUTES entry "${Q}": ${u instanceof Error?u.message:u}`)}if(P.length>this._MAX_LENGTH)throw Error(`Attribute key exceeds the maximum length of ${this._MAX_LENGTH} characters: "${P}".`);if(m.length>this._MAX_LENGTH)throw Error(`Attribute value exceeds the maximum length of ${this._MAX_LENGTH} characters for key "${P}".`);B[P]=m}return B}}Dq.envDetector=new Pq});var O=Z((Uq)=>{Object.defineProperty(Uq,"__esModule",{value:!0});Uq.ATTR_WEBENGINE_VERSION=Uq.ATTR_WEBENGINE_NAME=Uq.ATTR_WEBENGINE_DESCRIPTION=Uq.ATTR_SERVICE_NAMESPACE=Uq.ATTR_SERVICE_INSTANCE_ID=Uq.ATTR_PROCESS_RUNTIME_VERSION=Uq.ATTR_PROCESS_RUNTIME_NAME=Uq.ATTR_PROCESS_RUNTIME_DESCRIPTION=Uq.ATTR_PROCESS_PID=Uq.ATTR_PROCESS_OWNER=Uq.ATTR_PROCESS_EXECUTABLE_PATH=Uq.ATTR_PROCESS_EXECUTABLE_NAME=Uq.ATTR_PROCESS_COMMAND_ARGS=Uq.ATTR_PROCESS_COMMAND=Uq.ATTR_OS_VERSION=Uq.ATTR_OS_TYPE=Uq.ATTR_K8S_POD_NAME=Uq.ATTR_K8S_NAMESPACE_NAME=Uq.ATTR_K8S_DEPLOYMENT_NAME=Uq.ATTR_K8S_CLUSTER_NAME=Uq.ATTR_HOST_TYPE=Uq.ATTR_HOST_NAME=Uq.ATTR_HOST_IMAGE_VERSION=Uq.ATTR_HOST_IMAGE_NAME=Uq.ATTR_HOST_IMAGE_ID=Uq.ATTR_HOST_ID=Uq.ATTR_HOST_ARCH=Uq.ATTR_CONTAINER_NAME=Uq.ATTR_CONTAINER_IMAGE_TAGS=Uq.ATTR_CONTAINER_IMAGE_NAME=Uq.ATTR_CONTAINER_ID=Uq.ATTR_CLOUD_REGION=Uq.ATTR_CLOUD_PROVIDER=Uq.ATTR_CLOUD_AVAILABILITY_ZONE=Uq.ATTR_CLOUD_ACCOUNT_ID=void 0;Uq.ATTR_CLOUD_ACCOUNT_ID="cloud.account.id";Uq.ATTR_CLOUD_AVAILABILITY_ZONE="cloud.availability_zone";Uq.ATTR_CLOUD_PROVIDER="cloud.provider";Uq.ATTR_CLOUD_REGION="cloud.region";Uq.ATTR_CONTAINER_ID="container.id";Uq.ATTR_CONTAINER_IMAGE_NAME="container.image.name";Uq.ATTR_CONTAINER_IMAGE_TAGS="container.image.tags";Uq.ATTR_CONTAINER_NAME="container.name";Uq.ATTR_HOST_ARCH="host.arch";Uq.ATTR_HOST_ID="host.id";Uq.ATTR_HOST_IMAGE_ID="host.image.id";Uq.ATTR_HOST_IMAGE_NAME="host.image.name";Uq.ATTR_HOST_IMAGE_VERSION="host.image.version";Uq.ATTR_HOST_NAME="host.name";Uq.ATTR_HOST_TYPE="host.type";Uq.ATTR_K8S_CLUSTER_NAME="k8s.cluster.name";Uq.ATTR_K8S_DEPLOYMENT_NAME="k8s.deployment.name";Uq.ATTR_K8S_NAMESPACE_NAME="k8s.namespace.name";Uq.ATTR_K8S_POD_NAME="k8s.pod.name";Uq.ATTR_OS_TYPE="os.type";Uq.ATTR_OS_VERSION="os.version";Uq.ATTR_PROCESS_COMMAND="process.command";Uq.ATTR_PROCESS_COMMAND_ARGS="process.command_args";Uq.ATTR_PROCESS_EXECUTABLE_NAME="process.executable.name";Uq.ATTR_PROCESS_EXECUTABLE_PATH="process.executable.path";Uq.ATTR_PROCESS_OWNER="process.owner";Uq.ATTR_PROCESS_PID="process.pid";Uq.ATTR_PROCESS_RUNTIME_DESCRIPTION="process.runtime.description";Uq.ATTR_PROCESS_RUNTIME_NAME="process.runtime.name";Uq.ATTR_PROCESS_RUNTIME_VERSION="process.runtime.version";Uq.ATTR_SERVICE_INSTANCE_ID="service.instance.id";Uq.ATTR_SERVICE_NAMESPACE="service.namespace";Uq.ATTR_WEBENGINE_DESCRIPTION="webengine.description";Uq.ATTR_WEBENGINE_NAME="webengine.name";Uq.ATTR_WEBENGINE_VERSION="webengine.version"});var hq=Z((Oq)=>{Object.defineProperty(Oq,"__esModule",{value:!0});Oq.getMachineId=void 0;var UJ=G("process"),E;async function yJ(){if(!E)switch(UJ.platform){case"darwin":E=(await import("./chunk-mw2hr4pd.js").then((m)=>K(m.default))).getMachineId;break;case"linux":E=(await import("./chunk-9dh9bc9d.js").then((m)=>K(m.default))).getMachineId;break;case"freebsd":E=(await import("./chunk-jngchw38.js").then((m)=>K(m.default))).getMachineId;break;case"win32":E=(await import("./chunk-8fgamz4y.js").then((m)=>K(m.default))).getMachineId;break;default:E=(await import("./chunk-zaan8jk6.js").then((m)=>K(m.default))).getMachineId;break}return E()}Oq.getMachineId=yJ});var a=Z((Iq)=>{Object.defineProperty(Iq,"__esModule",{value:!0});Iq.normalizeType=Iq.normalizeArch=void 0;var OJ=(q)=>{switch(q){case"arm":return"arm32";case"ppc":return"ppc32";case"x64":return"amd64";default:return q}};Iq.normalizeArch=OJ;var RJ=(q)=>{switch(q){case"sunos":return"solaris";case"win32":return"windows";default:return q}};Iq.normalizeType=RJ});var gq=Z((bq)=>{Object.defineProperty(bq,"__esModule",{value:!0});bq.hostDetector=void 0;var r=O(),Sq=G("os"),IJ=hq(),TJ=a();class kq{detect(q){return{attributes:{[r.ATTR_HOST_NAME]:(0,Sq.hostname)(),[r.ATTR_HOST_ARCH]:(0,TJ.normalizeArch)((0,Sq.arch)()),[r.ATTR_HOST_ID]:(0,IJ.getMachineId)()}}}}bq.hostDetector=new kq});var uq=Z((xq)=>{Object.defineProperty(xq,"__esModule",{value:!0});xq.osDetector=void 0;var _q=O(),vq=G("os"),SJ=a();class dq{detect(q){return{attributes:{[_q.ATTR_OS_TYPE]:(0,SJ.normalizeType)((0,vq.platform)()),[_q.ATTR_OS_VERSION]:(0,vq.release)()}}}}xq.osDetector=new dq});var iq=Z((cq)=>{Object.defineProperty(cq,"__esModule",{value:!0});cq.processDetector=void 0;var kJ=y(),H=O(),bJ=G("os");class lq{detect(q){let B={[H.ATTR_PROCESS_PID]:process.pid,[H.ATTR_PROCESS_EXECUTABLE_NAME]:process.title,[H.ATTR_PROCESS_EXECUTABLE_PATH]:process.execPath,[H.ATTR_PROCESS_COMMAND_ARGS]:[process.argv[0],...process.execArgv,...process.argv.slice(1)],[H.ATTR_PROCESS_RUNTIME_VERSION]:process.versions.node,[H.ATTR_PROCESS_RUNTIME_NAME]:"nodejs",[H.ATTR_PROCESS_RUNTIME_DESCRIPTION]:"Node.js"};if(process.argv.length>1)B[H.ATTR_PROCESS_COMMAND]=process.argv[1];try{let J=bJ.userInfo();B[H.ATTR_PROCESS_OWNER]=J.username}catch(J){kJ.diag.debug(`error obtaining process owner: ${J}`)}return{attributes:B}}}cq.processDetector=new lq});var sq=Z((aq)=>{Object.defineProperty(aq,"__esModule",{value:!0});aq.serviceInstanceIdDetector=void 0;var fJ=O(),gJ=G("crypto");class nq{detect(q){return{attributes:{[fJ.ATTR_SERVICE_INSTANCE_ID]:(0,gJ.randomUUID)()}}}}aq.serviceInstanceIdDetector=new nq});var oq=Z((L)=>{Object.defineProperty(L,"__esModule",{value:!0});L.serviceInstanceIdDetector=L.processDetector=L.osDetector=L.hostDetector=void 0;var _J=gq();Object.defineProperty(L,"hostDetector",{enumerable:!0,get:function(){return _J.hostDetector}});var vJ=uq();Object.defineProperty(L,"osDetector",{enumerable:!0,get:function(){return vJ.osDetector}});var dJ=iq();Object.defineProperty(L,"processDetector",{enumerable:!0,get:function(){return dJ.processDetector}});var xJ=sq();Object.defineProperty(L,"serviceInstanceIdDetector",{enumerable:!0,get:function(){return xJ.serviceInstanceIdDetector}})});var tq=Z((j)=>{Object.defineProperty(j,"__esModule",{value:!0});j.serviceInstanceIdDetector=j.processDetector=j.osDetector=j.hostDetector=void 0;var k=oq();Object.defineProperty(j,"hostDetector",{enumerable:!0,get:function(){return k.hostDetector}});Object.defineProperty(j,"osDetector",{enumerable:!0,get:function(){return k.osDetector}});Object.defineProperty(j,"processDetector",{enumerable:!0,get:function(){return k.processDetector}});Object.defineProperty(j,"serviceInstanceIdDetector",{enumerable:!0,get:function(){return k.serviceInstanceIdDetector}})});var BB=Z((eq)=>{Object.defineProperty(eq,"__esModule",{value:!0});eq.noopDetector=eq.NoopDetector=void 0;class s{detect(){return{attributes:{}}}}eq.NoopDetector=s;eq.noopDetector=new s});var JB=Z((V)=>{Object.defineProperty(V,"__esModule",{value:!0});V.noopDetector=V.serviceInstanceIdDetector=V.processDetector=V.osDetector=V.hostDetector=V.envDetector=void 0;var cJ=Aq();Object.defineProperty(V,"envDetector",{enumerable:!0,get:function(){return cJ.envDetector}});var b=tq();Object.defineProperty(V,"hostDetector",{enumerable:!0,get:function(){return b.hostDetector}});Object.defineProperty(V,"osDetector",{enumerable:!0,get:function(){return b.osDetector}});Object.defineProperty(V,"processDetector",{enumerable:!0,get:function(){return b.processDetector}});Object.defineProperty(V,"serviceInstanceIdDetector",{enumerable:!0,get:function(){return b.serviceInstanceIdDetector}});var pJ=BB();Object.defineProperty(V,"noopDetector",{enumerable:!0,get:function(){return pJ.noopDetector}})});var QB=Z((W)=>{Object.defineProperty(W,"__esModule",{value:!0});W.defaultServiceName=W.emptyResource=W.defaultResource=W.resourceFromAttributes=W.serviceInstanceIdDetector=W.processDetector=W.osDetector=W.hostDetector=W.envDetector=W.detectResources=void 0;var nJ=Lq();Object.defineProperty(W,"detectResources",{enumerable:!0,get:function(){return nJ.detectResources}});var R=JB();Object.defineProperty(W,"envDetector",{enumerable:!0,get:function(){return R.envDetector}});Object.defineProperty(W,"hostDetector",{enumerable:!0,get:function(){return R.hostDetector}});Object.defineProperty(W,"osDetector",{enumerable:!0,get:function(){return R.osDetector}});Object.defineProperty(W,"processDetector",{enumerable:!0,get:function(){return R.processDetector}});Object.defineProperty(W,"serviceInstanceIdDetector",{enumerable:!0,get:function(){return R.serviceInstanceIdDetector}});var o=i();Object.defineProperty(W,"resourceFromAttributes",{enumerable:!0,get:function(){return o.resourceFromAttributes}});Object.defineProperty(W,"defaultResource",{enumerable:!0,get:function(){return o.defaultResource}});Object.defineProperty(W,"emptyResource",{enumerable:!0,get:function(){return o.emptyResource}});var aJ=l();Object.defineProperty(W,"defaultServiceName",{enumerable:!0,get:function(){return aJ.defaultServiceName}})});var g=K(QB(),1),$=K(S(),1);class I extends N()("@effect/opentelemetry/Resource"){}var iQ=(q)=>{let B={...q.attributes??void 0,[$.ATTR_SERVICE_NAME]:q.serviceName,[$.ATTR_TELEMETRY_SDK_NAME]:"@effect/opentelemetry",[$.ATTR_TELEMETRY_SDK_LANGUAGE]:typeof globalThis.document>"u"?$.TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS:$.TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS};if(q.serviceVersion)B[$.ATTR_SERVICE_VERSION]=q.serviceVersion;return B},nQ=(q)=>h(I,f(function*(){let B=yield*zB(t("OTEL_SERVICE_NAME")),J=yield*t("OTEL_RESOURCE_ATTRIBUTES").pipe(WB(""),$B((Q)=>{let Y=Q.split(",");return XB(Y,{},(z,w)=>{let F=w.split("=");if(F.length!==2)return z;return z[F[0].trim()]=F[1].trim(),z})}));if(B._tag==="Some")J[$.ATTR_SERVICE_NAME]=B.value;if(q)Object.assign(J,q);return g.resourceFromAttributes(J)}).pipe(ZB)),aQ=YB(I,g.emptyResource());var X=K(y(),1),x=K(S(),1);var GB=BigInt(1e9),_=(q)=>{return[Number(q/GB),Number(q%GB)]},v=(q)=>{let B={};for(let[J,Q]of Object.entries(q))B[J]=e(Q);return B},e=(q)=>{if(typeof q==="string"||typeof q==="number"||typeof q==="boolean")return q;else if(typeof q==="bigint")return q.toString();return KB(q)};class Yq extends N()("@effect/opentelemetry/Tracer"){}class UB extends N()("@effect/opentelemetry/Tracer/OtelTracerProvider"){}class Bq extends N()("@effect/opentelemetry/Tracer/OtelTraceFlags"){}class Jq extends N()("@effect/opentelemetry/Tracer/OtelTraceState"){}var eJ=MB(AB(Yq),(q)=>NB({span(B){return new Zq(X.context,X.trace,q,B)},context(B,J){let Q=J.currentSpan;if(Q===void 0)return B["~effect/Effect/evaluate"](J);return X.context.with(OB(X.context.active(),Q),()=>B["~effect/Effect/evaluate"](J))}}));var qQ=h(Yq,f(function*(){let q=yield*I;return(yield*UB).getTracer(q.attributes[x.ATTR_SERVICE_NAME],q.attributes[x.ATTR_SERVICE_VERSION])}));var BQ=h(FB,eJ),VX=BQ.pipe(DB(qQ));var qq="~@effect/opentelemetry/Tracer/OtelSpan",JQ={internal:X.SpanKind.INTERNAL,client:X.SpanKind.CLIENT,server:X.SpanKind.SERVER,producer:X.SpanKind.PRODUCER,consumer:X.SpanKind.CONSUMER};class Zq{[qq];_tag="Span";name;kind;annotations;links;span;spanId;traceId;attributes=new Map;sampled;parent;status;constructor(q,B,J,Q){this[qq]=qq,this.name=Q.name,this.annotations=Q.annotations,this.links=Q.links,this.kind=Q.kind;let Y=q.active();this.parent=Q.root!==!0?EB(Q.parent,()=>XQ(B,Y,Q.annotations)):Q.parent,this.span=J.startSpan(Q.name,{startTime:_(Q.startTime),links:Q.links.length>0?Q.links.map((w)=>({context:Qq(w.span),attributes:v(w.attributes)})):void 0,kind:JQ[this.kind]},CB(this.parent)?OB(Y,this.parent.value,Q.annotations):X.trace.deleteSpan(Y));let z=this.span.spanContext();this.spanId=z.spanId,this.traceId=z.traceId,this.status={_tag:"Started",startTime:Q.startTime},this.sampled=QQ(z.traceFlags)}attribute(q,B){this.span.setAttribute(q,e(B)),this.attributes.set(q,B)}addLinks(q){this.links.push(...q),this.span.addLinks(q.map((B)=>({context:Qq(B.span),attributes:v(B.attributes)})))}end(q,B){let J=_(q);if(this.status={_tag:"Ended",endTime:q,exit:B,startTime:this.status.startTime},B._tag==="Success")this.span.setStatus({code:X.SpanStatusCode.OK});else if(LB(B.cause))this.span.setStatus({code:X.SpanStatusCode.OK,message:PB(B.cause)}),this.span.setAttribute("span.label","\u26A0\uFE0E Interrupted"),this.span.setAttribute("status.interrupted",!0);else{let Q=jB(B.cause);if(Q.length>0){for(let Y of Q)this.span.recordException(Y,J);this.span.setStatus({code:X.SpanStatusCode.ERROR,message:Q[0].message})}else this.span.setStatus({code:X.SpanStatusCode.OK})}this.span.end(J)}event(q,B,J){this.span.addEvent(q,J?v(J):void 0,_(B))}}var QQ=(q)=>(q&X.TraceFlags.SAMPLED)===X.TraceFlags.SAMPLED,XQ=(q,B,J)=>{let Q=q.getSpan(B)?.spanContext();if(!Q)return HB();return VB(wB({spanId:Q.spanId,traceId:Q.traceId,sampled:(Q.traceFlags&1)===1,annotations:J}))},Qq=(q,B)=>{let J=YQ(q,B),Q=ZQ(q,B);return{spanId:q.spanId,traceId:q.traceId,isRemote:q._tag==="ExternalSpan",traceFlags:J,traceState:Q}},YQ=(q,B)=>{let J;if(d(B)){if(J=yB(q,B,Bq),Xq(J))J=T(q.annotations,Bq)}return J??X.TraceFlags.SAMPLED},ZQ=(q,B)=>{let J;if(d(B)){if(J=yB(q,B,Jq),Xq(J))J=T(q.annotations,Jq)}return J},yB=(q,B,J)=>{let Q=T(B,J);if(d(Q))return Q;return T(q.annotations,J)},OB=(q,B,J)=>B instanceof Zq?X.trace.setSpan(q,B.span):X.trace.setSpanContext(q,Qq(B,J));
|
|
3
|
+
export{QB as Xr,_ as Yr,e as Zr,I as _r,iQ as $r,nQ as as,aQ as bs,Yq as cs,UB as ds,VX as es};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Hr as m}from"./chunk-c5pb87yf.js";var B=Symbol("Let zodToJsonSchema decide on which parser to use"),Zt=(t,n)=>{if(n.description)try{return{...t,...JSON.parse(n.description)}}catch{}return t},M={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},U=(t)=>typeof t==="string"?{...M,name:t}:{...M,...t};var w=(t)=>{let n=U(t),r=n.name!==void 0?[...n.basePath,n.definitionPath,n.name]:n.basePath;return{...n,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(n.definitions).map(([o,p])=>[p._def,{def:p._def,path:[...n.basePath,n.definitionPath,o],jsonSchema:void 0}]))}};function S(t,n,r,o){if(!o?.errorMessages)return;if(r)t.errorMessage={...t.errorMessage,[n]:r}}function e(t,n,r,o,p){t[n]=r,S(t,n,o,p)}var b=(t,n)=>{let r=0;for(;r<t.length&&r<n.length;r++)if(t[r]!==n[r])break;return[(t.length-r).toString(),...n.slice(r)].join("/")};function D(t){if(t.target!=="openAi")return{};let n=[...t.basePath,t.definitionPath,t.openAiAnyTypeName];return t.flags.hasReferencedOpenAiAnyType=!0,{$ref:t.$refStrategy==="relative"?b(n,t.currentPath):n.join("/")}}function E(t,n){let r={type:"array"};if(t.type?._def&&t.type?._def?.typeName!==m.ZodAny)r.items=i(t.type._def,{...n,currentPath:[...n.currentPath,"items"]});if(t.minLength)e(r,"minItems",t.minLength.value,t.minLength.message,n);if(t.maxLength)e(r,"maxItems",t.maxLength.value,t.maxLength.message,n);if(t.exactLength)e(r,"minItems",t.exactLength.value,t.exactLength.message,n),e(r,"maxItems",t.exactLength.value,t.exactLength.message,n);return r}function K(t,n){let r={type:"integer",format:"int64"};if(!t.checks)return r;for(let o of t.checks)switch(o.kind){case"min":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"minimum",o.value,o.message,n);else e(r,"exclusiveMinimum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMinimum=!0;e(r,"minimum",o.value,o.message,n)}break;case"max":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"maximum",o.value,o.message,n);else e(r,"exclusiveMaximum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMaximum=!0;e(r,"maximum",o.value,o.message,n)}break;case"multipleOf":e(r,"multipleOf",o.value,o.message,n);break}return r}function $(){return{type:"boolean"}}function N(t,n){return i(t.type._def,n)}var J=(t,n)=>{return i(t.innerType._def,n)};function O(t,n,r){let o=r??n.dateStrategy;if(Array.isArray(o))return{anyOf:o.map((p,u)=>O(t,n,p))};switch(o){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return ut(t,n)}}var ut=(t,n)=>{let r={type:"integer",format:"unix-time"};if(n.target==="openApi3")return r;for(let o of t.checks)switch(o.kind){case"min":e(r,"minimum",o.value,o.message,n);break;case"max":e(r,"maximum",o.value,o.message,n);break}return r};function q(t,n){return{...i(t.innerType._def,n),default:t.defaultValue()}}function Q(t,n){return n.effectStrategy==="input"?i(t.schema._def,n):D(n)}function X(t){return{type:"string",enum:Array.from(t.values)}}var mt=(t)=>{if("type"in t&&t.type==="string")return!1;return"allOf"in t};function Y(t,n){let r=[i(t.left._def,{...n,currentPath:[...n.currentPath,"allOf","0"]}),i(t.right._def,{...n,currentPath:[...n.currentPath,"allOf","1"]})].filter((u)=>!!u),o=n.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,p=[];return r.forEach((u)=>{if(mt(u)){if(p.push(...u.allOf),u.unevaluatedProperties===void 0)o=void 0}else{let l=u;if("additionalProperties"in u&&u.additionalProperties===!1){let{additionalProperties:y,...a}=u;l=a}else o=void 0;p.push(l)}}),p.length?{allOf:p,...o}:void 0}function H(t,n){let r=typeof t.value;if(r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string")return{type:Array.isArray(t.value)?"array":"object"};if(n.target==="openApi3")return{type:r==="bigint"?"integer":r,enum:[t.value]};return{type:r==="bigint"?"integer":r,const:t.value}}var I=void 0,Z={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(I===void 0)I=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return I},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function A(t,n){let r={type:"string"};if(t.checks)for(let o of t.checks)switch(o.kind){case"min":e(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n);break;case"max":e(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"email":switch(n.emailStrategy){case"format:email":v(r,"email",o.message,n);break;case"format:idn-email":v(r,"idn-email",o.message,n);break;case"pattern:zod":g(r,Z.email,o.message,n);break}break;case"url":v(r,"uri",o.message,n);break;case"uuid":v(r,"uuid",o.message,n);break;case"regex":g(r,o.regex,o.message,n);break;case"cuid":g(r,Z.cuid,o.message,n);break;case"cuid2":g(r,Z.cuid2,o.message,n);break;case"startsWith":g(r,RegExp(`^${L(o.value,n)}`),o.message,n);break;case"endsWith":g(r,RegExp(`${L(o.value,n)}$`),o.message,n);break;case"datetime":v(r,"date-time",o.message,n);break;case"date":v(r,"date",o.message,n);break;case"time":v(r,"time",o.message,n);break;case"duration":v(r,"duration",o.message,n);break;case"length":e(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n),e(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"includes":{g(r,RegExp(L(o.value,n)),o.message,n);break}case"ip":{if(o.version!=="v6")v(r,"ipv4",o.message,n);if(o.version!=="v4")v(r,"ipv6",o.message,n);break}case"base64url":g(r,Z.base64url,o.message,n);break;case"jwt":g(r,Z.jwt,o.message,n);break;case"cidr":{if(o.version!=="v6")g(r,Z.ipv4Cidr,o.message,n);if(o.version!=="v4")g(r,Z.ipv6Cidr,o.message,n);break}case"emoji":g(r,Z.emoji(),o.message,n);break;case"ulid":{g(r,Z.ulid,o.message,n);break}case"base64":{switch(n.base64Strategy){case"format:binary":{v(r,"binary",o.message,n);break}case"contentEncoding:base64":{e(r,"contentEncoding","base64",o.message,n);break}case"pattern:zod":{g(r,Z.base64,o.message,n);break}}break}case"nanoid":g(r,Z.nanoid,o.message,n);case"toLowerCase":case"toUpperCase":case"trim":break;default:((p)=>{})(o)}return r}function L(t,n){return n.patternStrategy==="escape"?et(t):t}var at=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function et(t){let n="";for(let r=0;r<t.length;r++){if(!at.has(t[r]))n+="\\";n+=t[r]}return n}function v(t,n,r,o){if(t.format||t.anyOf?.some((p)=>p.format)){if(!t.anyOf)t.anyOf=[];if(t.format){if(t.anyOf.push({format:t.format,...t.errorMessage&&o.errorMessages&&{errorMessage:{format:t.errorMessage.format}}}),delete t.format,t.errorMessage){if(delete t.errorMessage.format,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.anyOf.push({format:n,...r&&o.errorMessages&&{errorMessage:{format:r}}})}else e(t,"format",n,r,o)}function g(t,n,r,o){if(t.pattern||t.allOf?.some((p)=>p.pattern)){if(!t.allOf)t.allOf=[];if(t.pattern){if(t.allOf.push({pattern:t.pattern,...t.errorMessage&&o.errorMessages&&{errorMessage:{pattern:t.errorMessage.pattern}}}),delete t.pattern,t.errorMessage){if(delete t.errorMessage.pattern,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.allOf.push({pattern:V(n,o),...r&&o.errorMessages&&{errorMessage:{pattern:r}}})}else e(t,"pattern",V(n,o),r,o)}function V(t,n){if(!n.applyRegexFlags||!t.flags)return t.source;let r={i:t.flags.includes("i"),m:t.flags.includes("m"),s:t.flags.includes("s")},o=r.i?t.source.toLowerCase():t.source,p="",u=!1,l=!1,y=!1;for(let a=0;a<o.length;a++){if(u){p+=o[a],u=!1;continue}if(r.i){if(l){if(o[a].match(/[a-z]/)){if(y)p+=o[a],p+=`${o[a-2]}-${o[a]}`.toUpperCase(),y=!1;else if(o[a+1]==="-"&&o[a+2]?.match(/[a-z]/))p+=o[a],y=!0;else p+=`${o[a]}${o[a].toUpperCase()}`;continue}}else if(o[a].match(/[a-z]/)){p+=`[${o[a]}${o[a].toUpperCase()}]`;continue}}if(r.m){if(o[a]==="^"){p+=`(^|(?<=[\r
|
|
2
|
+
import{Mr as m}from"./chunk-ymtcm4xd.js";var B=Symbol("Let zodToJsonSchema decide on which parser to use"),Zt=(t,n)=>{if(n.description)try{return{...t,...JSON.parse(n.description)}}catch{}return t},M={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},U=(t)=>typeof t==="string"?{...M,name:t}:{...M,...t};var w=(t)=>{let n=U(t),r=n.name!==void 0?[...n.basePath,n.definitionPath,n.name]:n.basePath;return{...n,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(n.definitions).map(([o,p])=>[p._def,{def:p._def,path:[...n.basePath,n.definitionPath,o],jsonSchema:void 0}]))}};function S(t,n,r,o){if(!o?.errorMessages)return;if(r)t.errorMessage={...t.errorMessage,[n]:r}}function e(t,n,r,o,p){t[n]=r,S(t,n,o,p)}var b=(t,n)=>{let r=0;for(;r<t.length&&r<n.length;r++)if(t[r]!==n[r])break;return[(t.length-r).toString(),...n.slice(r)].join("/")};function D(t){if(t.target!=="openAi")return{};let n=[...t.basePath,t.definitionPath,t.openAiAnyTypeName];return t.flags.hasReferencedOpenAiAnyType=!0,{$ref:t.$refStrategy==="relative"?b(n,t.currentPath):n.join("/")}}function E(t,n){let r={type:"array"};if(t.type?._def&&t.type?._def?.typeName!==m.ZodAny)r.items=i(t.type._def,{...n,currentPath:[...n.currentPath,"items"]});if(t.minLength)e(r,"minItems",t.minLength.value,t.minLength.message,n);if(t.maxLength)e(r,"maxItems",t.maxLength.value,t.maxLength.message,n);if(t.exactLength)e(r,"minItems",t.exactLength.value,t.exactLength.message,n),e(r,"maxItems",t.exactLength.value,t.exactLength.message,n);return r}function K(t,n){let r={type:"integer",format:"int64"};if(!t.checks)return r;for(let o of t.checks)switch(o.kind){case"min":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"minimum",o.value,o.message,n);else e(r,"exclusiveMinimum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMinimum=!0;e(r,"minimum",o.value,o.message,n)}break;case"max":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"maximum",o.value,o.message,n);else e(r,"exclusiveMaximum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMaximum=!0;e(r,"maximum",o.value,o.message,n)}break;case"multipleOf":e(r,"multipleOf",o.value,o.message,n);break}return r}function $(){return{type:"boolean"}}function N(t,n){return i(t.type._def,n)}var J=(t,n)=>{return i(t.innerType._def,n)};function O(t,n,r){let o=r??n.dateStrategy;if(Array.isArray(o))return{anyOf:o.map((p,u)=>O(t,n,p))};switch(o){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return ut(t,n)}}var ut=(t,n)=>{let r={type:"integer",format:"unix-time"};if(n.target==="openApi3")return r;for(let o of t.checks)switch(o.kind){case"min":e(r,"minimum",o.value,o.message,n);break;case"max":e(r,"maximum",o.value,o.message,n);break}return r};function q(t,n){return{...i(t.innerType._def,n),default:t.defaultValue()}}function Q(t,n){return n.effectStrategy==="input"?i(t.schema._def,n):D(n)}function X(t){return{type:"string",enum:Array.from(t.values)}}var mt=(t)=>{if("type"in t&&t.type==="string")return!1;return"allOf"in t};function Y(t,n){let r=[i(t.left._def,{...n,currentPath:[...n.currentPath,"allOf","0"]}),i(t.right._def,{...n,currentPath:[...n.currentPath,"allOf","1"]})].filter((u)=>!!u),o=n.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,p=[];return r.forEach((u)=>{if(mt(u)){if(p.push(...u.allOf),u.unevaluatedProperties===void 0)o=void 0}else{let l=u;if("additionalProperties"in u&&u.additionalProperties===!1){let{additionalProperties:y,...a}=u;l=a}else o=void 0;p.push(l)}}),p.length?{allOf:p,...o}:void 0}function H(t,n){let r=typeof t.value;if(r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string")return{type:Array.isArray(t.value)?"array":"object"};if(n.target==="openApi3")return{type:r==="bigint"?"integer":r,enum:[t.value]};return{type:r==="bigint"?"integer":r,const:t.value}}var I=void 0,Z={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(I===void 0)I=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return I},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function A(t,n){let r={type:"string"};if(t.checks)for(let o of t.checks)switch(o.kind){case"min":e(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n);break;case"max":e(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"email":switch(n.emailStrategy){case"format:email":v(r,"email",o.message,n);break;case"format:idn-email":v(r,"idn-email",o.message,n);break;case"pattern:zod":g(r,Z.email,o.message,n);break}break;case"url":v(r,"uri",o.message,n);break;case"uuid":v(r,"uuid",o.message,n);break;case"regex":g(r,o.regex,o.message,n);break;case"cuid":g(r,Z.cuid,o.message,n);break;case"cuid2":g(r,Z.cuid2,o.message,n);break;case"startsWith":g(r,RegExp(`^${L(o.value,n)}`),o.message,n);break;case"endsWith":g(r,RegExp(`${L(o.value,n)}$`),o.message,n);break;case"datetime":v(r,"date-time",o.message,n);break;case"date":v(r,"date",o.message,n);break;case"time":v(r,"time",o.message,n);break;case"duration":v(r,"duration",o.message,n);break;case"length":e(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n),e(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"includes":{g(r,RegExp(L(o.value,n)),o.message,n);break}case"ip":{if(o.version!=="v6")v(r,"ipv4",o.message,n);if(o.version!=="v4")v(r,"ipv6",o.message,n);break}case"base64url":g(r,Z.base64url,o.message,n);break;case"jwt":g(r,Z.jwt,o.message,n);break;case"cidr":{if(o.version!=="v6")g(r,Z.ipv4Cidr,o.message,n);if(o.version!=="v4")g(r,Z.ipv6Cidr,o.message,n);break}case"emoji":g(r,Z.emoji(),o.message,n);break;case"ulid":{g(r,Z.ulid,o.message,n);break}case"base64":{switch(n.base64Strategy){case"format:binary":{v(r,"binary",o.message,n);break}case"contentEncoding:base64":{e(r,"contentEncoding","base64",o.message,n);break}case"pattern:zod":{g(r,Z.base64,o.message,n);break}}break}case"nanoid":g(r,Z.nanoid,o.message,n);case"toLowerCase":case"toUpperCase":case"trim":break;default:((p)=>{})(o)}return r}function L(t,n){return n.patternStrategy==="escape"?et(t):t}var at=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function et(t){let n="";for(let r=0;r<t.length;r++){if(!at.has(t[r]))n+="\\";n+=t[r]}return n}function v(t,n,r,o){if(t.format||t.anyOf?.some((p)=>p.format)){if(!t.anyOf)t.anyOf=[];if(t.format){if(t.anyOf.push({format:t.format,...t.errorMessage&&o.errorMessages&&{errorMessage:{format:t.errorMessage.format}}}),delete t.format,t.errorMessage){if(delete t.errorMessage.format,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.anyOf.push({format:n,...r&&o.errorMessages&&{errorMessage:{format:r}}})}else e(t,"format",n,r,o)}function g(t,n,r,o){if(t.pattern||t.allOf?.some((p)=>p.pattern)){if(!t.allOf)t.allOf=[];if(t.pattern){if(t.allOf.push({pattern:t.pattern,...t.errorMessage&&o.errorMessages&&{errorMessage:{pattern:t.errorMessage.pattern}}}),delete t.pattern,t.errorMessage){if(delete t.errorMessage.pattern,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.allOf.push({pattern:V(n,o),...r&&o.errorMessages&&{errorMessage:{pattern:r}}})}else e(t,"pattern",V(n,o),r,o)}function V(t,n){if(!n.applyRegexFlags||!t.flags)return t.source;let r={i:t.flags.includes("i"),m:t.flags.includes("m"),s:t.flags.includes("s")},o=r.i?t.source.toLowerCase():t.source,p="",u=!1,l=!1,y=!1;for(let a=0;a<o.length;a++){if(u){p+=o[a],u=!1;continue}if(r.i){if(l){if(o[a].match(/[a-z]/)){if(y)p+=o[a],p+=`${o[a-2]}-${o[a]}`.toUpperCase(),y=!1;else if(o[a+1]==="-"&&o[a+2]?.match(/[a-z]/))p+=o[a],y=!0;else p+=`${o[a]}${o[a].toUpperCase()}`;continue}}else if(o[a].match(/[a-z]/)){p+=`[${o[a]}${o[a].toUpperCase()}]`;continue}}if(r.m){if(o[a]==="^"){p+=`(^|(?<=[\r
|
|
3
3
|
]))`;continue}else if(o[a]==="$"){p+=`($|(?=[\r
|
|
4
4
|
]))`;continue}}if(r.s&&o[a]==="."){p+=l?`${o[a]}\r
|
|
5
5
|
`:`[${o[a]}\r
|
|
6
6
|
]`;continue}if(p+=o[a],o[a]==="\\")u=!0;else if(l&&o[a]==="]")l=!1;else if(!l&&o[a]==="[")l=!0}try{new RegExp(p)}catch{return console.warn(`Could not convert regex pattern at ${n.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),t.source}return p}function P(t,n){if(n.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if(n.target==="openApi3"&&t.keyType?._def.typeName===m.ZodEnum)return{type:"object",required:t.keyType._def.values,properties:t.keyType._def.values.reduce((o,p)=>({...o,[p]:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"properties",p]})??D(n)}),{}),additionalProperties:n.rejectedAdditionalProperties};let r={type:"object",additionalProperties:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"additionalProperties"]})??n.allowedAdditionalProperties};if(n.target==="openApi3")return r;if(t.keyType?._def.typeName===m.ZodString&&t.keyType._def.checks?.length){let{type:o,...p}=A(t.keyType._def,n);return{...r,propertyNames:p}}else if(t.keyType?._def.typeName===m.ZodEnum)return{...r,propertyNames:{enum:t.keyType._def.values}};else if(t.keyType?._def.typeName===m.ZodBranded&&t.keyType._def.type._def.typeName===m.ZodString&&t.keyType._def.type._def.checks?.length){let{type:o,...p}=N(t.keyType._def,n);return{...r,propertyNames:p}}return r}function W(t,n){if(n.mapStrategy==="record")return P(t,n);let r=i(t.keyType._def,{...n,currentPath:[...n.currentPath,"items","items","0"]})||D(n),o=i(t.valueType._def,{...n,currentPath:[...n.currentPath,"items","items","1"]})||D(n);return{type:"array",maxItems:125,items:{type:"array",items:[r,o],minItems:2,maxItems:2}}}function z(t){let n=t.values,o=Object.keys(t.values).filter((u)=>{return typeof n[n[u]]!=="number"}).map((u)=>n[u]),p=Array.from(new Set(o.map((u)=>typeof u)));return{type:p.length===1?p[0]==="string"?"string":"number":["string","number"],enum:o}}function F(t){return t.target==="openAi"?void 0:{not:D({...t,currentPath:[...t.currentPath,"not"]})}}function d(t){return t.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var _={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function j(t,n){if(n.target==="openApi3")return G(t,n);let r=t.options instanceof Map?Array.from(t.options.values()):t.options;if(r.every((o)=>(o._def.typeName in _)&&(!o._def.checks||!o._def.checks.length))){let o=r.reduce((p,u)=>{let l=_[u._def.typeName];return l&&!p.includes(l)?[...p,l]:p},[]);return{type:o.length>1?o:o[0]}}else if(r.every((o)=>o._def.typeName==="ZodLiteral"&&!o.description)){let o=r.reduce((p,u)=>{let l=typeof u._def.value;switch(l){case"string":case"number":case"boolean":return[...p,l];case"bigint":return[...p,"integer"];case"object":if(u._def.value===null)return[...p,"null"];case"symbol":case"undefined":case"function":default:return p}},[]);if(o.length===r.length){let p=o.filter((u,l,y)=>y.indexOf(u)===l);return{type:p.length>1?p:p[0],enum:r.reduce((u,l)=>{return u.includes(l._def.value)?u:[...u,l._def.value]},[])}}}else if(r.every((o)=>o._def.typeName==="ZodEnum"))return{type:"string",enum:r.reduce((o,p)=>[...o,...p._def.values.filter((u)=>!o.includes(u))],[])};return G(t,n)}var G=(t,n)=>{let r=(t.options instanceof Map?Array.from(t.options.values()):t.options).map((o,p)=>i(o._def,{...n,currentPath:[...n.currentPath,"anyOf",`${p}`]})).filter((o)=>!!o&&(!n.strictUnions||typeof o==="object"&&Object.keys(o).length>0));return r.length?{anyOf:r}:void 0};function C(t,n){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(t.innerType._def.typeName)&&(!t.innerType._def.checks||!t.innerType._def.checks.length)){if(n.target==="openApi3")return{type:_[t.innerType._def.typeName],nullable:!0};return{type:[_[t.innerType._def.typeName],"null"]}}if(n.target==="openApi3"){let o=i(t.innerType._def,{...n,currentPath:[...n.currentPath]});if(o&&"$ref"in o)return{allOf:[o],nullable:!0};return o&&{...o,nullable:!0}}let r=i(t.innerType._def,{...n,currentPath:[...n.currentPath,"anyOf","0"]});return r&&{anyOf:[r,{type:"null"}]}}function R(t,n){let r={type:"number"};if(!t.checks)return r;for(let o of t.checks)switch(o.kind){case"int":r.type="integer",S(r,"type",o.message,n);break;case"min":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"minimum",o.value,o.message,n);else e(r,"exclusiveMinimum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMinimum=!0;e(r,"minimum",o.value,o.message,n)}break;case"max":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"maximum",o.value,o.message,n);else e(r,"exclusiveMaximum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMaximum=!0;e(r,"maximum",o.value,o.message,n)}break;case"multipleOf":e(r,"multipleOf",o.value,o.message,n);break}return r}function k(t,n){let r=n.target==="openAi",o={type:"object",properties:{}},p=[],u=t.shape();for(let y in u){let a=u[y];if(a===void 0||a._def===void 0)continue;let x=yt(a);if(x&&r){if(a._def.typeName==="ZodOptional")a=a._def.innerType;if(!a.isNullable())a=a.nullable();x=!1}let T=i(a._def,{...n,currentPath:[...n.currentPath,"properties",y],propertyPath:[...n.currentPath,"properties",y]});if(T===void 0)continue;if(o.properties[y]=T,!x)p.push(y)}if(p.length)o.required=p;let l=lt(t,n);if(l!==void 0)o.additionalProperties=l;return o}function lt(t,n){if(t.catchall._def.typeName!=="ZodNever")return i(t.catchall._def,{...n,currentPath:[...n.currentPath,"additionalProperties"]});switch(t.unknownKeys){case"passthrough":return n.allowedAdditionalProperties;case"strict":return n.rejectedAdditionalProperties;case"strip":return n.removeAdditionalStrategy==="strict"?n.allowedAdditionalProperties:n.rejectedAdditionalProperties}}function yt(t){try{return t.isOptional()}catch{return!0}}var c=(t,n)=>{if(n.currentPath.toString()===n.propertyPath?.toString())return i(t.innerType._def,n);let r=i(t.innerType._def,{...n,currentPath:[...n.currentPath,"anyOf","1"]});return r?{anyOf:[{not:D(n)},r]}:D(n)};var h=(t,n)=>{if(n.pipeStrategy==="input")return i(t.in._def,n);else if(n.pipeStrategy==="output")return i(t.out._def,n);let r=i(t.in._def,{...n,currentPath:[...n.currentPath,"allOf","0"]}),o=i(t.out._def,{...n,currentPath:[...n.currentPath,"allOf",r?"1":"0"]});return{allOf:[r,o].filter((p)=>p!==void 0)}};function f(t,n){return i(t.type._def,n)}function s(t,n){let o={type:"array",uniqueItems:!0,items:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"items"]})};if(t.minSize)e(o,"minItems",t.minSize.value,t.minSize.message,n);if(t.maxSize)e(o,"maxItems",t.maxSize.value,t.maxSize.message,n);return o}function tt(t,n){if(t.rest)return{type:"array",minItems:t.items.length,items:t.items.map((r,o)=>i(r._def,{...n,currentPath:[...n.currentPath,"items",`${o}`]})).reduce((r,o)=>o===void 0?r:[...r,o],[]),additionalItems:i(t.rest._def,{...n,currentPath:[...n.currentPath,"additionalItems"]})};else return{type:"array",minItems:t.items.length,maxItems:t.items.length,items:t.items.map((r,o)=>i(r._def,{...n,currentPath:[...n.currentPath,"items",`${o}`]})).reduce((r,o)=>o===void 0?r:[...r,o],[])}}function nt(t){return{not:D(t)}}function rt(t){return D(t)}var ot=(t,n)=>{return i(t.innerType._def,n)};var pt=(t,n,r)=>{switch(n){case m.ZodString:return A(t,r);case m.ZodNumber:return R(t,r);case m.ZodObject:return k(t,r);case m.ZodBigInt:return K(t,r);case m.ZodBoolean:return $();case m.ZodDate:return O(t,r);case m.ZodUndefined:return nt(r);case m.ZodNull:return d(r);case m.ZodArray:return E(t,r);case m.ZodUnion:case m.ZodDiscriminatedUnion:return j(t,r);case m.ZodIntersection:return Y(t,r);case m.ZodTuple:return tt(t,r);case m.ZodRecord:return P(t,r);case m.ZodLiteral:return H(t,r);case m.ZodEnum:return X(t);case m.ZodNativeEnum:return z(t);case m.ZodNullable:return C(t,r);case m.ZodOptional:return c(t,r);case m.ZodMap:return W(t,r);case m.ZodSet:return s(t,r);case m.ZodLazy:return()=>t.getter()._def;case m.ZodPromise:return f(t,r);case m.ZodNaN:case m.ZodNever:return F(r);case m.ZodEffects:return Q(t,r);case m.ZodAny:return D(r);case m.ZodUnknown:return rt(r);case m.ZodDefault:return q(t,r);case m.ZodBranded:return N(t,r);case m.ZodReadonly:return ot(t,r);case m.ZodCatch:return J(t,r);case m.ZodPipeline:return h(t,r);case m.ZodFunction:case m.ZodVoid:case m.ZodSymbol:return;default:return((o)=>{return})(n)}};function i(t,n,r=!1){let o=n.seen.get(t);if(n.override){let y=n.override?.(t,n,o,r);if(y!==B)return y}if(o&&!r){let y=Dt(o,n);if(y!==void 0)return y}let p={def:t,path:n.currentPath,jsonSchema:void 0};n.seen.set(t,p);let u=pt(t,t.typeName,n),l=typeof u==="function"?i(u(),n):u;if(l)gt(t,n,l);if(n.postProcess){let y=n.postProcess(l,t,n);return p.jsonSchema=l,y}return p.jsonSchema=l,l}var Dt=(t,n)=>{switch(n.$refStrategy){case"root":return{$ref:t.path.join("/")};case"relative":return{$ref:b(n.currentPath,t.path)};case"none":case"seen":{if(t.path.length<n.currentPath.length&&t.path.every((r,o)=>n.currentPath[o]===r))return console.warn(`Recursive reference detected at ${n.currentPath.join("/")}! Defaulting to any`),D(n);return n.$refStrategy==="seen"?D(n):void 0}}},gt=(t,n,r)=>{if(t.description){if(r.description=t.description,n.markdownDescription)r.markdownDescription=t.description}return r};var it=(t,n)=>{let r=w(n),o=typeof n==="object"&&n.definitions?Object.entries(n.definitions).reduce((a,[x,T])=>({...a,[x]:i(T._def,{...r,currentPath:[...r.basePath,r.definitionPath,x]},!0)??D(r)}),{}):void 0,p=typeof n==="string"?n:n?.nameStrategy==="title"?void 0:n?.name,u=i(t._def,p===void 0?r:{...r,currentPath:[...r.basePath,r.definitionPath,p]},!1)??D(r),l=typeof n==="object"&&n.name!==void 0&&n.nameStrategy==="title"?n.name:void 0;if(l!==void 0)u.title=l;if(r.flags.hasReferencedOpenAiAnyType){if(!o)o={};if(!o[r.openAiAnyTypeName])o[r.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:r.$refStrategy==="relative"?"1":[...r.basePath,r.definitionPath,r.openAiAnyTypeName].join("/")}}}let y=p===void 0?o?{...u,[r.definitionPath]:o}:u:{$ref:[...r.$refStrategy==="relative"?[]:r.basePath,r.definitionPath,p].join("/"),[r.definitionPath]:{...o,[p]:u}};if(r.target==="jsonSchema7")y.$schema="http://json-schema.org/draft-07/schema#";else if(r.target==="jsonSchema2019-09"||r.target==="openAi")y.$schema="https://json-schema.org/draft/2019-09/schema#";if(r.target==="openAi"&&(("anyOf"in y)||("oneOf"in y)||("allOf"in y)||("type"in y)&&Array.isArray(y.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return y};var mo=it;
|
|
7
|
-
export{B as
|
|
7
|
+
export{B as Vi,Zt as Wi,M as Xi,U as Yi,w as Zi,S as _i,e as $i,b as aj,D as bj,E as cj,K as dj,$ as ej,N as fj,J as gj,O as hj,q as ij,Q as jj,X as kj,Y as lj,H as mj,Z as nj,A as oj,P as pj,W as qj,z as rj,F as sj,d as tj,_ as uj,j as vj,C as wj,R as xj,k as yj,c as zj,h as Aj,f as Bj,s as Cj,tt as Dj,nt as Ej,rt as Fj,ot as Gj,pt as Hj,i as Ij,it as Jj,mo as Kj};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Dd as n,Gd as p,Hd as e,Id as i,Ld as m,Md as c}from"./chunk-7jhrxzjx.js";import{$C as s,UI as o}from"./chunk-ydc6ypjt.js";var u=(t)=>o.sync(()=>e(t)),g=(t)=>o.sync(()=>i(t)),y={info:(t)=>o.sync(()=>p.info(t))},x=(t)=>o.tryPromise(()=>c(t)).pipe(o.map((r)=>{if(n(r))return s.none();return s.some(r)})),V=()=>{let t=m();return{start:(r)=>o.sync(()=>t.start(r)),stop:(r,a)=>o.sync(()=>t.stop(r,a))}};
|
|
3
3
|
export{u as i,g as j,y as k,x as l,V as m};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$e as XQ,Ge as l,He as jW,Ie as LQ,Ke as KQ,Me as GW,Ne as AQ,Oe as QQ,Pe as hW,Re as OQ,Se as CW,Te as IW,Ue as KW,Ve as P,We as O,Xe as u,Ye as VW,Ze as bQ,_e as WQ,af as qQ,bf as DW,cf as a,df as FW,ef as wQ,ff as BQ,gf as wW}from"./chunk-dctj3c22.js";import{Ar as JW,Cr as ZQ,qr as $W,ur as BW,vr as UQ}from"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import{pv as Q}from"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-3k2b05fv.js";var NQ=Q.object({error:Q.object({message:Q.string(),type:Q.string().nullish(),param:Q.any().nullish(),code:Q.union([Q.string(),Q.number()]).nullish()})}),jQ=FW({errorSchema:NQ,errorToMessage:(X)=>X.error.message});function zW(X){let Z=X.startsWith("o3")||X.startsWith("o4-mini")||X.startsWith("gpt-5")&&!X.startsWith("gpt-5-chat"),j=X.startsWith("gpt-4")||X.startsWith("gpt-5")&&!X.startsWith("gpt-5-nano")&&!X.startsWith("gpt-5-chat")&&!X.startsWith("gpt-5.4-nano")||X.startsWith("o3")||X.startsWith("o4-mini"),F=X.startsWith("o1")||X.startsWith("o3")||X.startsWith("o4-mini")||X.startsWith("gpt-5")&&!X.startsWith("gpt-5-chat"),J=X.startsWith("gpt-5.1")||X.startsWith("gpt-5.2")||X.startsWith("gpt-5.3")||X.startsWith("gpt-5.4");return{supportsFlexProcessing:Z,supportsPriorityProcessing:j,isReasoningModel:F,systemMessageMode:F?"developer":"system",supportsNonReasoningParameters:J}}function cQ(X){var Z,j,F,J,w,D;if(X==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 $=(Z=X.prompt_tokens)!=null?Z:0,q=(j=X.completion_tokens)!=null?j:0,b=(J=(F=X.prompt_tokens_details)==null?void 0:F.cached_tokens)!=null?J:0,K=(D=(w=X.completion_tokens_details)==null?void 0:w.reasoning_tokens)!=null?D:0;return{inputTokens:{total:$,noCache:$-b,cacheRead:b,cacheWrite:void 0},outputTokens:{total:q,text:q-K,reasoning:K},raw:X}}function _W({prompt:X,systemMessageMode:Z="system"}){var j;let F=[],J=[];for(let{role:w,content:D}of X)switch(w){case"system":{switch(Z){case"system":{F.push({role:"system",content:D});break}case"developer":{F.push({role:"developer",content:D});break}case"remove":{J.push({type:"other",message:"system messages are removed for this model"});break}default:throw Error(`Unsupported system message mode: ${Z}`)}break}case"user":{if(D.length===1&&D[0].type==="text"){F.push({role:"user",content:D[0].text});break}F.push({role:"user",content:D.map(($,q)=>{var b,K,B;switch($.type){case"text":return{type:"text",text:$.text};case"file":if($.mediaType.startsWith("image/")){let f=$.mediaType==="image/*"?"image/jpeg":$.mediaType;return{type:"image_url",image_url:{url:$.data instanceof URL?$.data.toString():`data:${f};base64,${KQ($.data)}`,detail:(K=(b=$.providerOptions)==null?void 0:b.openai)==null?void 0:K.imageDetail}}}else if($.mediaType.startsWith("audio/")){if($.data instanceof URL)throw new ZQ({functionality:"audio file parts with URLs"});switch($.mediaType){case"audio/wav":return{type:"input_audio",input_audio:{data:KQ($.data),format:"wav"}};case"audio/mp3":case"audio/mpeg":return{type:"input_audio",input_audio:{data:KQ($.data),format:"mp3"}};default:throw new ZQ({functionality:`audio content parts with media type ${$.mediaType}`})}}else if($.mediaType==="application/pdf"){if($.data instanceof URL)throw new ZQ({functionality:"PDF file parts with URLs"});return{type:"file",file:typeof $.data==="string"&&$.data.startsWith("file-")?{file_id:$.data}:{filename:(B=$.filename)!=null?B:`part-${q}.pdf`,file_data:`data:application/pdf;base64,${KQ($.data)}`}}}else throw new ZQ({functionality:`file part media type ${$.mediaType}`})}})});break}case"assistant":{let $="",q=[];for(let b of D)switch(b.type){case"text":{$+=b.text;break}case"tool-call":{q.push({id:b.toolCallId,type:"function",function:{name:b.toolName,arguments:JSON.stringify(b.input)}});break}}F.push({role:"assistant",content:$,tool_calls:q.length>0?q:void 0});break}case"tool":{for(let $ of D){if($.type==="tool-approval-response")continue;let q=$.output,b;switch(q.type){case"text":case"error-text":b=q.value;break;case"execution-denied":b=(j=q.reason)!=null?j:"Tool execution denied.";break;case"content":case"json":case"error-json":b=JSON.stringify(q.value);break}F.push({role:"tool",tool_call_id:$.toolCallId,content:b})}break}default:throw Error(`Unsupported role: ${w}`)}return{messages:F,warnings:J}}function EQ({id:X,model:Z,created:j}){return{id:X!=null?X:void 0,modelId:Z!=null?Z:void 0,timestamp:j?new Date(j*1000):void 0}}function vQ(X){switch(X){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 mW=P(()=>O(Q.object({id:Q.string().nullish(),created:Q.number().nullish(),model:Q.string().nullish(),choices:Q.array(Q.object({message:Q.object({role:Q.literal("assistant").nullish(),content:Q.string().nullish(),tool_calls:Q.array(Q.object({id:Q.string().nullish(),type:Q.literal("function"),function:Q.object({name:Q.string(),arguments:Q.string()})})).nullish(),annotations:Q.array(Q.object({type:Q.literal("url_citation"),url_citation:Q.object({start_index:Q.number(),end_index:Q.number(),url:Q.string(),title:Q.string()})})).nullish()}),index:Q.number(),logprobs:Q.object({content:Q.array(Q.object({token:Q.string(),logprob:Q.number(),top_logprobs:Q.array(Q.object({token:Q.string(),logprob:Q.number()}))})).nullish()}).nullish(),finish_reason:Q.string().nullish()})),usage:Q.object({prompt_tokens:Q.number().nullish(),completion_tokens:Q.number().nullish(),total_tokens:Q.number().nullish(),prompt_tokens_details:Q.object({cached_tokens:Q.number().nullish()}).nullish(),completion_tokens_details:Q.object({reasoning_tokens:Q.number().nullish(),accepted_prediction_tokens:Q.number().nullish(),rejected_prediction_tokens:Q.number().nullish()}).nullish()}).nullish()}))),pW=P(()=>O(Q.union([Q.object({id:Q.string().nullish(),created:Q.number().nullish(),model:Q.string().nullish(),choices:Q.array(Q.object({delta:Q.object({role:Q.enum(["assistant"]).nullish(),content:Q.string().nullish(),tool_calls:Q.array(Q.object({index:Q.number(),id:Q.string().nullish(),type:Q.literal("function").nullish(),function:Q.object({name:Q.string().nullish(),arguments:Q.string().nullish()})})).nullish(),annotations:Q.array(Q.object({type:Q.literal("url_citation"),url_citation:Q.object({start_index:Q.number(),end_index:Q.number(),url:Q.string(),title:Q.string()})})).nullish()}).nullish(),logprobs:Q.object({content:Q.array(Q.object({token:Q.string(),logprob:Q.number(),top_logprobs:Q.array(Q.object({token:Q.string(),logprob:Q.number()}))})).nullish()}).nullish(),finish_reason:Q.string().nullish(),index:Q.number()})),usage:Q.object({prompt_tokens:Q.number().nullish(),completion_tokens:Q.number().nullish(),total_tokens:Q.number().nullish(),prompt_tokens_details:Q.object({cached_tokens:Q.number().nullish()}).nullish(),completion_tokens_details:Q.object({reasoning_tokens:Q.number().nullish(),accepted_prediction_tokens:Q.number().nullish(),rejected_prediction_tokens:Q.number().nullish()}).nullish()}).nullish()}),NQ]))),sW=P(()=>O(Q.object({logitBias:Q.record(Q.coerce.number(),Q.number()).optional(),logprobs:Q.union([Q.boolean(),Q.number()]).optional(),parallelToolCalls:Q.boolean().optional(),user:Q.string().optional(),reasoningEffort:Q.enum(["none","minimal","low","medium","high","xhigh"]).optional(),maxCompletionTokens:Q.number().optional(),store:Q.boolean().optional(),metadata:Q.record(Q.string().max(64),Q.string().max(512)).optional(),prediction:Q.record(Q.string(),Q.any()).optional(),serviceTier:Q.enum(["auto","flex","priority","default"]).optional(),strictJsonSchema:Q.boolean().optional(),textVerbosity:Q.enum(["low","medium","high"]).optional(),promptCacheKey:Q.string().optional(),promptCacheRetention:Q.enum(["in_memory","24h"]).optional(),safetyIdentifier:Q.string().optional(),systemMessageMode:Q.enum(["system","developer","remove"]).optional(),forceReasoning:Q.boolean().optional()})));function iW({tools:X,toolChoice:Z}){X=(X==null?void 0:X.length)?X:void 0;let j=[];if(X==null)return{tools:void 0,toolChoice:void 0,toolWarnings:j};let F=[];for(let w of X)switch(w.type){case"function":F.push({type:"function",function:{name:w.name,description:w.description,parameters:w.inputSchema,...w.strict!=null?{strict:w.strict}:{}}});break;default:j.push({type:"unsupported",feature:`tool type: ${w.type}`});break}if(Z==null)return{tools:F,toolChoice:void 0,toolWarnings:j};let J=Z.type;switch(J){case"auto":case"none":case"required":return{tools:F,toolChoice:J,toolWarnings:j};case"tool":return{tools:F,toolChoice:{type:"function",function:{name:Z.toolName}},toolWarnings:j};default:throw new ZQ({functionality:`tool choice type: ${J}`})}}var LW=class{constructor(X,Z){this.specificationVersion="v3",this.supportedUrls={"image/*":[/^https?:\/\/.*$/]},this.modelId=X,this.config=Z}get provider(){return this.config.provider}async getArgs({prompt:X,maxOutputTokens:Z,temperature:j,topP:F,topK:J,frequencyPenalty:w,presencePenalty:D,stopSequences:$,responseFormat:q,seed:b,tools:K,toolChoice:B,providerOptions:f}){var L,S,_,g,A;let R=[],H=(L=await WQ({provider:"openai",providerOptions:f,schema:sW}))!=null?L:{},n=zW(this.modelId),s=(S=H.forceReasoning)!=null?S:n.isReasoningModel;if(J!=null)R.push({type:"unsupported",feature:"topK"});let{messages:p,warnings:m}=_W({prompt:X,systemMessageMode:(_=H.systemMessageMode)!=null?_:s?"developer":n.systemMessageMode});R.push(...m);let i=(g=H.strictJsonSchema)!=null?g:!0,Y={model:this.modelId,logit_bias:H.logitBias,logprobs:H.logprobs===!0||typeof H.logprobs==="number"?!0:void 0,top_logprobs:typeof H.logprobs==="number"?H.logprobs:typeof H.logprobs==="boolean"?H.logprobs?0:void 0:void 0,user:H.user,parallel_tool_calls:H.parallelToolCalls,max_tokens:Z,temperature:j,top_p:F,frequency_penalty:w,presence_penalty:D,response_format:(q==null?void 0:q.type)==="json"?q.schema!=null?{type:"json_schema",json_schema:{schema:q.schema,strict:i,name:(A=q.name)!=null?A:"response",description:q.description}}:{type:"json_object"}:void 0,stop:$,seed:b,verbosity:H.textVerbosity,max_completion_tokens:H.maxCompletionTokens,store:H.store,metadata:H.metadata,prediction:H.prediction,reasoning_effort:H.reasoningEffort,service_tier:H.serviceTier,prompt_cache_key:H.promptCacheKey,prompt_cache_retention:H.promptCacheRetention,safety_identifier:H.safetyIdentifier,messages:p};if(s){if(H.reasoningEffort!=="none"||!n.supportsNonReasoningParameters){if(Y.temperature!=null)Y.temperature=void 0,R.push({type:"unsupported",feature:"temperature",details:"temperature is not supported for reasoning models"});if(Y.top_p!=null)Y.top_p=void 0,R.push({type:"unsupported",feature:"topP",details:"topP is not supported for reasoning models"});if(Y.logprobs!=null)Y.logprobs=void 0,R.push({type:"other",message:"logprobs is not supported for reasoning models"})}if(Y.frequency_penalty!=null)Y.frequency_penalty=void 0,R.push({type:"unsupported",feature:"frequencyPenalty",details:"frequencyPenalty is not supported for reasoning models"});if(Y.presence_penalty!=null)Y.presence_penalty=void 0,R.push({type:"unsupported",feature:"presencePenalty",details:"presencePenalty is not supported for reasoning models"});if(Y.logit_bias!=null)Y.logit_bias=void 0,R.push({type:"other",message:"logitBias is not supported for reasoning models"});if(Y.top_logprobs!=null)Y.top_logprobs=void 0,R.push({type:"other",message:"topLogprobs is not supported for reasoning models"});if(Y.max_tokens!=null){if(Y.max_completion_tokens==null)Y.max_completion_tokens=Y.max_tokens;Y.max_tokens=void 0}}else if(this.modelId.startsWith("gpt-4o-search-preview")||this.modelId.startsWith("gpt-4o-mini-search-preview")){if(Y.temperature!=null)Y.temperature=void 0,R.push({type:"unsupported",feature:"temperature",details:"temperature is not supported for the search preview models and has been removed."})}if(H.serviceTier==="flex"&&!n.supportsFlexProcessing)R.push({type:"unsupported",feature:"serviceTier",details:"flex processing is only available for o3, o4-mini, and gpt-5 models"}),Y.service_tier=void 0;if(H.serviceTier==="priority"&&!n.supportsPriorityProcessing)R.push({type:"unsupported",feature:"serviceTier",details:"priority processing is only available for supported models (gpt-4, gpt-5, gpt-5-mini, o3, o4-mini) and requires Enterprise access. gpt-5-nano is not supported"}),Y.service_tier=void 0;let{tools:t,toolChoice:C,toolWarnings:N}=iW({tools:K,toolChoice:B});return{args:{...Y,tools:t,tool_choice:C},warnings:[...R,...N]}}async doGenerate(X){var Z,j,F,J,w,D,$;let{args:q,warnings:b}=await this.getArgs(X),{responseHeaders:K,value:B,rawValue:f}=await XQ({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:l(this.config.headers(),X.headers),body:q,failedResponseHandler:jQ,successfulResponseHandler:BQ(mW),abortSignal:X.abortSignal,fetch:this.config.fetch}),L=B.choices[0],S=[],_=L.message.content;if(_!=null&&_.length>0)S.push({type:"text",text:_});for(let H of(Z=L.message.tool_calls)!=null?Z:[])S.push({type:"tool-call",toolCallId:(j=H.id)!=null?j:QQ(),toolName:H.function.name,input:H.function.arguments});for(let H of(F=L.message.annotations)!=null?F:[])S.push({type:"source",sourceType:"url",id:QQ(),url:H.url_citation.url,title:H.url_citation.title});let g=(J=B.usage)==null?void 0:J.completion_tokens_details,A=(w=B.usage)==null?void 0:w.prompt_tokens_details,R={openai:{}};if((g==null?void 0:g.accepted_prediction_tokens)!=null)R.openai.acceptedPredictionTokens=g==null?void 0:g.accepted_prediction_tokens;if((g==null?void 0:g.rejected_prediction_tokens)!=null)R.openai.rejectedPredictionTokens=g==null?void 0:g.rejected_prediction_tokens;if(((D=L.logprobs)==null?void 0:D.content)!=null)R.openai.logprobs=L.logprobs.content;return{content:S,finishReason:{unified:vQ(L.finish_reason),raw:($=L.finish_reason)!=null?$:void 0},usage:cQ(B.usage),request:{body:q},response:{...EQ(B),headers:K,body:f},warnings:b,providerMetadata:R}}async doStream(X){let{args:Z,warnings:j}=await this.getArgs(X),F={...Z,stream:!0,stream_options:{include_usage:!0}},{responseHeaders:J,value:w}=await XQ({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:l(this.config.headers(),X.headers),body:F,failedResponseHandler:jQ,successfulResponseHandler:wQ(pW),abortSignal:X.abortSignal,fetch:this.config.fetch}),D=[],$={unified:"other",raw:void 0},q=void 0,b=!1,K=!1,B={openai:{}};return{stream:w.pipeThrough(new TransformStream({start(f){f.enqueue({type:"stream-start",warnings:j})},transform(f,L){var S,_,g,A,R,H,n,s,p,m,i,Y,t,C,N,d,e;if(X.includeRawChunks)L.enqueue({type:"raw",rawValue:f.rawValue});if(!f.success){$={unified:"error",raw:void 0},L.enqueue({type:"error",error:f.error});return}let k=f.value;if("error"in k){$={unified:"error",raw:void 0},L.enqueue({type:"error",error:k.error});return}if(!b){let G=EQ(k);if(Object.values(G).some(Boolean))b=!0,L.enqueue({type:"response-metadata",...EQ(k)})}if(k.usage!=null){if(q=k.usage,((S=k.usage.completion_tokens_details)==null?void 0:S.accepted_prediction_tokens)!=null)B.openai.acceptedPredictionTokens=(_=k.usage.completion_tokens_details)==null?void 0:_.accepted_prediction_tokens;if(((g=k.usage.completion_tokens_details)==null?void 0:g.rejected_prediction_tokens)!=null)B.openai.rejectedPredictionTokens=(A=k.usage.completion_tokens_details)==null?void 0:A.rejected_prediction_tokens}let M=k.choices[0];if((M==null?void 0:M.finish_reason)!=null)$={unified:vQ(M.finish_reason),raw:M.finish_reason};if(((R=M==null?void 0:M.logprobs)==null?void 0:R.content)!=null)B.openai.logprobs=M.logprobs.content;if((M==null?void 0:M.delta)==null)return;let E=M.delta;if(E.content!=null){if(!K)L.enqueue({type:"text-start",id:"0"}),K=!0;L.enqueue({type:"text-delta",id:"0",delta:E.content})}if(E.tool_calls!=null)for(let G of E.tool_calls){let T=G.index;if(D[T]==null){if(G.type!=null&&G.type!=="function")throw new UQ({data:G,message:"Expected 'function' type."});if(G.id==null)throw new UQ({data:G,message:"Expected 'id' to be a string."});if(((H=G.function)==null?void 0:H.name)==null)throw new UQ({data:G,message:"Expected 'function.name' to be a string."});L.enqueue({type:"tool-input-start",id:G.id,toolName:G.function.name}),D[T]={id:G.id,type:"function",function:{name:G.function.name,arguments:(n=G.function.arguments)!=null?n:""},hasFinished:!1};let z=D[T];if(((s=z.function)==null?void 0:s.name)!=null&&((p=z.function)==null?void 0:p.arguments)!=null){if(z.function.arguments.length>0)L.enqueue({type:"tool-input-delta",id:z.id,delta:z.function.arguments});if(bQ(z.function.arguments))L.enqueue({type:"tool-input-end",id:z.id}),L.enqueue({type:"tool-call",toolCallId:(m=z.id)!=null?m:QQ(),toolName:z.function.name,input:z.function.arguments}),z.hasFinished=!0}continue}let x=D[T];if(x.hasFinished)continue;if(((i=G.function)==null?void 0:i.arguments)!=null)x.function.arguments+=(t=(Y=G.function)==null?void 0:Y.arguments)!=null?t:"";if(L.enqueue({type:"tool-input-delta",id:x.id,delta:(C=G.function.arguments)!=null?C:""}),((N=x.function)==null?void 0:N.name)!=null&&((d=x.function)==null?void 0:d.arguments)!=null&&bQ(x.function.arguments))L.enqueue({type:"tool-input-end",id:x.id}),L.enqueue({type:"tool-call",toolCallId:(e=x.id)!=null?e:QQ(),toolName:x.function.name,input:x.function.arguments}),x.hasFinished=!0}if(E.annotations!=null)for(let G of E.annotations)L.enqueue({type:"source",sourceType:"url",id:QQ(),url:G.url_citation.url,title:G.url_citation.title})},flush(f){if(K)f.enqueue({type:"text-end",id:"0"});f.enqueue({type:"finish",finishReason:$,usage:cQ(q),...B!=null?{providerMetadata:B}:{}})}})),request:{body:F},response:{headers:J}}}};function nQ(X){var Z,j,F,J;if(X==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 w=(Z=X.prompt_tokens)!=null?Z:0,D=(j=X.completion_tokens)!=null?j:0;return{inputTokens:{total:(F=X.prompt_tokens)!=null?F:void 0,noCache:w,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:(J=X.completion_tokens)!=null?J:void 0,text:D,reasoning:void 0},raw:X}}function dW({prompt:X,user:Z="user",assistant:j="assistant"}){let F="";if(X[0].role==="system")F+=`${X[0].content}
|
|
2
|
+
import{$e as DW,Ee as l,Fe as jW,Ge as LQ,Ie as KQ,Ke as GW,Le as AQ,Me as QQ,Ne as hW,Pe as OQ,Qe as CW,Re as IW,Se as KW,Te as P,Ue as O,Ve as u,We as VW,Xe as bQ,Ye as WQ,Ze as XQ,_e as qQ,af as a,bf as FW,cf as wQ,df as BQ,ef as wW}from"./chunk-b0jh0rby.js";import{Ar as UQ,Fr as JW,Hr as ZQ,vr as $W,zr as BW}from"./chunk-1wpjmwnh.js";import"./chunk-cqtkxwd8.js";import"./chunk-ymtcm4xd.js";import{xv as Q}from"./chunk-tdmn21z0.js";import"./chunk-s8mghr5a.js";import"./chunk-4sazy0nq.js";var NQ=Q.object({error:Q.object({message:Q.string(),type:Q.string().nullish(),param:Q.any().nullish(),code:Q.union([Q.string(),Q.number()]).nullish()})}),jQ=FW({errorSchema:NQ,errorToMessage:(X)=>X.error.message});function zW(X){let Z=X.startsWith("o3")||X.startsWith("o4-mini")||X.startsWith("gpt-5")&&!X.startsWith("gpt-5-chat"),j=X.startsWith("gpt-4")||X.startsWith("gpt-5")&&!X.startsWith("gpt-5-nano")&&!X.startsWith("gpt-5-chat")&&!X.startsWith("gpt-5.4-nano")||X.startsWith("o3")||X.startsWith("o4-mini"),F=X.startsWith("o1")||X.startsWith("o3")||X.startsWith("o4-mini")||X.startsWith("gpt-5")&&!X.startsWith("gpt-5-chat"),J=X.startsWith("gpt-5.1")||X.startsWith("gpt-5.2")||X.startsWith("gpt-5.3")||X.startsWith("gpt-5.4");return{supportsFlexProcessing:Z,supportsPriorityProcessing:j,isReasoningModel:F,systemMessageMode:F?"developer":"system",supportsNonReasoningParameters:J}}function cQ(X){var Z,j,F,J,w,D;if(X==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 $=(Z=X.prompt_tokens)!=null?Z:0,q=(j=X.completion_tokens)!=null?j:0,b=(J=(F=X.prompt_tokens_details)==null?void 0:F.cached_tokens)!=null?J:0,K=(D=(w=X.completion_tokens_details)==null?void 0:w.reasoning_tokens)!=null?D:0;return{inputTokens:{total:$,noCache:$-b,cacheRead:b,cacheWrite:void 0},outputTokens:{total:q,text:q-K,reasoning:K},raw:X}}function _W({prompt:X,systemMessageMode:Z="system"}){var j;let F=[],J=[];for(let{role:w,content:D}of X)switch(w){case"system":{switch(Z){case"system":{F.push({role:"system",content:D});break}case"developer":{F.push({role:"developer",content:D});break}case"remove":{J.push({type:"other",message:"system messages are removed for this model"});break}default:throw Error(`Unsupported system message mode: ${Z}`)}break}case"user":{if(D.length===1&&D[0].type==="text"){F.push({role:"user",content:D[0].text});break}F.push({role:"user",content:D.map(($,q)=>{var b,K,B;switch($.type){case"text":return{type:"text",text:$.text};case"file":if($.mediaType.startsWith("image/")){let f=$.mediaType==="image/*"?"image/jpeg":$.mediaType;return{type:"image_url",image_url:{url:$.data instanceof URL?$.data.toString():`data:${f};base64,${KQ($.data)}`,detail:(K=(b=$.providerOptions)==null?void 0:b.openai)==null?void 0:K.imageDetail}}}else if($.mediaType.startsWith("audio/")){if($.data instanceof URL)throw new ZQ({functionality:"audio file parts with URLs"});switch($.mediaType){case"audio/wav":return{type:"input_audio",input_audio:{data:KQ($.data),format:"wav"}};case"audio/mp3":case"audio/mpeg":return{type:"input_audio",input_audio:{data:KQ($.data),format:"mp3"}};default:throw new ZQ({functionality:`audio content parts with media type ${$.mediaType}`})}}else if($.mediaType==="application/pdf"){if($.data instanceof URL)throw new ZQ({functionality:"PDF file parts with URLs"});return{type:"file",file:typeof $.data==="string"&&$.data.startsWith("file-")?{file_id:$.data}:{filename:(B=$.filename)!=null?B:`part-${q}.pdf`,file_data:`data:application/pdf;base64,${KQ($.data)}`}}}else throw new ZQ({functionality:`file part media type ${$.mediaType}`})}})});break}case"assistant":{let $="",q=[];for(let b of D)switch(b.type){case"text":{$+=b.text;break}case"tool-call":{q.push({id:b.toolCallId,type:"function",function:{name:b.toolName,arguments:JSON.stringify(b.input)}});break}}F.push({role:"assistant",content:$,tool_calls:q.length>0?q:void 0});break}case"tool":{for(let $ of D){if($.type==="tool-approval-response")continue;let q=$.output,b;switch(q.type){case"text":case"error-text":b=q.value;break;case"execution-denied":b=(j=q.reason)!=null?j:"Tool execution denied.";break;case"content":case"json":case"error-json":b=JSON.stringify(q.value);break}F.push({role:"tool",tool_call_id:$.toolCallId,content:b})}break}default:throw Error(`Unsupported role: ${w}`)}return{messages:F,warnings:J}}function EQ({id:X,model:Z,created:j}){return{id:X!=null?X:void 0,modelId:Z!=null?Z:void 0,timestamp:j?new Date(j*1000):void 0}}function vQ(X){switch(X){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 mW=P(()=>O(Q.object({id:Q.string().nullish(),created:Q.number().nullish(),model:Q.string().nullish(),choices:Q.array(Q.object({message:Q.object({role:Q.literal("assistant").nullish(),content:Q.string().nullish(),tool_calls:Q.array(Q.object({id:Q.string().nullish(),type:Q.literal("function"),function:Q.object({name:Q.string(),arguments:Q.string()})})).nullish(),annotations:Q.array(Q.object({type:Q.literal("url_citation"),url_citation:Q.object({start_index:Q.number(),end_index:Q.number(),url:Q.string(),title:Q.string()})})).nullish()}),index:Q.number(),logprobs:Q.object({content:Q.array(Q.object({token:Q.string(),logprob:Q.number(),top_logprobs:Q.array(Q.object({token:Q.string(),logprob:Q.number()}))})).nullish()}).nullish(),finish_reason:Q.string().nullish()})),usage:Q.object({prompt_tokens:Q.number().nullish(),completion_tokens:Q.number().nullish(),total_tokens:Q.number().nullish(),prompt_tokens_details:Q.object({cached_tokens:Q.number().nullish()}).nullish(),completion_tokens_details:Q.object({reasoning_tokens:Q.number().nullish(),accepted_prediction_tokens:Q.number().nullish(),rejected_prediction_tokens:Q.number().nullish()}).nullish()}).nullish()}))),pW=P(()=>O(Q.union([Q.object({id:Q.string().nullish(),created:Q.number().nullish(),model:Q.string().nullish(),choices:Q.array(Q.object({delta:Q.object({role:Q.enum(["assistant"]).nullish(),content:Q.string().nullish(),tool_calls:Q.array(Q.object({index:Q.number(),id:Q.string().nullish(),type:Q.literal("function").nullish(),function:Q.object({name:Q.string().nullish(),arguments:Q.string().nullish()})})).nullish(),annotations:Q.array(Q.object({type:Q.literal("url_citation"),url_citation:Q.object({start_index:Q.number(),end_index:Q.number(),url:Q.string(),title:Q.string()})})).nullish()}).nullish(),logprobs:Q.object({content:Q.array(Q.object({token:Q.string(),logprob:Q.number(),top_logprobs:Q.array(Q.object({token:Q.string(),logprob:Q.number()}))})).nullish()}).nullish(),finish_reason:Q.string().nullish(),index:Q.number()})),usage:Q.object({prompt_tokens:Q.number().nullish(),completion_tokens:Q.number().nullish(),total_tokens:Q.number().nullish(),prompt_tokens_details:Q.object({cached_tokens:Q.number().nullish()}).nullish(),completion_tokens_details:Q.object({reasoning_tokens:Q.number().nullish(),accepted_prediction_tokens:Q.number().nullish(),rejected_prediction_tokens:Q.number().nullish()}).nullish()}).nullish()}),NQ]))),sW=P(()=>O(Q.object({logitBias:Q.record(Q.coerce.number(),Q.number()).optional(),logprobs:Q.union([Q.boolean(),Q.number()]).optional(),parallelToolCalls:Q.boolean().optional(),user:Q.string().optional(),reasoningEffort:Q.enum(["none","minimal","low","medium","high","xhigh"]).optional(),maxCompletionTokens:Q.number().optional(),store:Q.boolean().optional(),metadata:Q.record(Q.string().max(64),Q.string().max(512)).optional(),prediction:Q.record(Q.string(),Q.any()).optional(),serviceTier:Q.enum(["auto","flex","priority","default"]).optional(),strictJsonSchema:Q.boolean().optional(),textVerbosity:Q.enum(["low","medium","high"]).optional(),promptCacheKey:Q.string().optional(),promptCacheRetention:Q.enum(["in_memory","24h"]).optional(),safetyIdentifier:Q.string().optional(),systemMessageMode:Q.enum(["system","developer","remove"]).optional(),forceReasoning:Q.boolean().optional()})));function iW({tools:X,toolChoice:Z}){X=(X==null?void 0:X.length)?X:void 0;let j=[];if(X==null)return{tools:void 0,toolChoice:void 0,toolWarnings:j};let F=[];for(let w of X)switch(w.type){case"function":F.push({type:"function",function:{name:w.name,description:w.description,parameters:w.inputSchema,...w.strict!=null?{strict:w.strict}:{}}});break;default:j.push({type:"unsupported",feature:`tool type: ${w.type}`});break}if(Z==null)return{tools:F,toolChoice:void 0,toolWarnings:j};let J=Z.type;switch(J){case"auto":case"none":case"required":return{tools:F,toolChoice:J,toolWarnings:j};case"tool":return{tools:F,toolChoice:{type:"function",function:{name:Z.toolName}},toolWarnings:j};default:throw new ZQ({functionality:`tool choice type: ${J}`})}}var LW=class{constructor(X,Z){this.specificationVersion="v3",this.supportedUrls={"image/*":[/^https?:\/\/.*$/]},this.modelId=X,this.config=Z}get provider(){return this.config.provider}async getArgs({prompt:X,maxOutputTokens:Z,temperature:j,topP:F,topK:J,frequencyPenalty:w,presencePenalty:D,stopSequences:$,responseFormat:q,seed:b,tools:K,toolChoice:B,providerOptions:f}){var L,S,_,g,A;let R=[],H=(L=await WQ({provider:"openai",providerOptions:f,schema:sW}))!=null?L:{},n=zW(this.modelId),s=(S=H.forceReasoning)!=null?S:n.isReasoningModel;if(J!=null)R.push({type:"unsupported",feature:"topK"});let{messages:p,warnings:m}=_W({prompt:X,systemMessageMode:(_=H.systemMessageMode)!=null?_:s?"developer":n.systemMessageMode});R.push(...m);let i=(g=H.strictJsonSchema)!=null?g:!0,Y={model:this.modelId,logit_bias:H.logitBias,logprobs:H.logprobs===!0||typeof H.logprobs==="number"?!0:void 0,top_logprobs:typeof H.logprobs==="number"?H.logprobs:typeof H.logprobs==="boolean"?H.logprobs?0:void 0:void 0,user:H.user,parallel_tool_calls:H.parallelToolCalls,max_tokens:Z,temperature:j,top_p:F,frequency_penalty:w,presence_penalty:D,response_format:(q==null?void 0:q.type)==="json"?q.schema!=null?{type:"json_schema",json_schema:{schema:q.schema,strict:i,name:(A=q.name)!=null?A:"response",description:q.description}}:{type:"json_object"}:void 0,stop:$,seed:b,verbosity:H.textVerbosity,max_completion_tokens:H.maxCompletionTokens,store:H.store,metadata:H.metadata,prediction:H.prediction,reasoning_effort:H.reasoningEffort,service_tier:H.serviceTier,prompt_cache_key:H.promptCacheKey,prompt_cache_retention:H.promptCacheRetention,safety_identifier:H.safetyIdentifier,messages:p};if(s){if(H.reasoningEffort!=="none"||!n.supportsNonReasoningParameters){if(Y.temperature!=null)Y.temperature=void 0,R.push({type:"unsupported",feature:"temperature",details:"temperature is not supported for reasoning models"});if(Y.top_p!=null)Y.top_p=void 0,R.push({type:"unsupported",feature:"topP",details:"topP is not supported for reasoning models"});if(Y.logprobs!=null)Y.logprobs=void 0,R.push({type:"other",message:"logprobs is not supported for reasoning models"})}if(Y.frequency_penalty!=null)Y.frequency_penalty=void 0,R.push({type:"unsupported",feature:"frequencyPenalty",details:"frequencyPenalty is not supported for reasoning models"});if(Y.presence_penalty!=null)Y.presence_penalty=void 0,R.push({type:"unsupported",feature:"presencePenalty",details:"presencePenalty is not supported for reasoning models"});if(Y.logit_bias!=null)Y.logit_bias=void 0,R.push({type:"other",message:"logitBias is not supported for reasoning models"});if(Y.top_logprobs!=null)Y.top_logprobs=void 0,R.push({type:"other",message:"topLogprobs is not supported for reasoning models"});if(Y.max_tokens!=null){if(Y.max_completion_tokens==null)Y.max_completion_tokens=Y.max_tokens;Y.max_tokens=void 0}}else if(this.modelId.startsWith("gpt-4o-search-preview")||this.modelId.startsWith("gpt-4o-mini-search-preview")){if(Y.temperature!=null)Y.temperature=void 0,R.push({type:"unsupported",feature:"temperature",details:"temperature is not supported for the search preview models and has been removed."})}if(H.serviceTier==="flex"&&!n.supportsFlexProcessing)R.push({type:"unsupported",feature:"serviceTier",details:"flex processing is only available for o3, o4-mini, and gpt-5 models"}),Y.service_tier=void 0;if(H.serviceTier==="priority"&&!n.supportsPriorityProcessing)R.push({type:"unsupported",feature:"serviceTier",details:"priority processing is only available for supported models (gpt-4, gpt-5, gpt-5-mini, o3, o4-mini) and requires Enterprise access. gpt-5-nano is not supported"}),Y.service_tier=void 0;let{tools:t,toolChoice:C,toolWarnings:N}=iW({tools:K,toolChoice:B});return{args:{...Y,tools:t,tool_choice:C},warnings:[...R,...N]}}async doGenerate(X){var Z,j,F,J,w,D,$;let{args:q,warnings:b}=await this.getArgs(X),{responseHeaders:K,value:B,rawValue:f}=await XQ({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:l(this.config.headers(),X.headers),body:q,failedResponseHandler:jQ,successfulResponseHandler:BQ(mW),abortSignal:X.abortSignal,fetch:this.config.fetch}),L=B.choices[0],S=[],_=L.message.content;if(_!=null&&_.length>0)S.push({type:"text",text:_});for(let H of(Z=L.message.tool_calls)!=null?Z:[])S.push({type:"tool-call",toolCallId:(j=H.id)!=null?j:QQ(),toolName:H.function.name,input:H.function.arguments});for(let H of(F=L.message.annotations)!=null?F:[])S.push({type:"source",sourceType:"url",id:QQ(),url:H.url_citation.url,title:H.url_citation.title});let g=(J=B.usage)==null?void 0:J.completion_tokens_details,A=(w=B.usage)==null?void 0:w.prompt_tokens_details,R={openai:{}};if((g==null?void 0:g.accepted_prediction_tokens)!=null)R.openai.acceptedPredictionTokens=g==null?void 0:g.accepted_prediction_tokens;if((g==null?void 0:g.rejected_prediction_tokens)!=null)R.openai.rejectedPredictionTokens=g==null?void 0:g.rejected_prediction_tokens;if(((D=L.logprobs)==null?void 0:D.content)!=null)R.openai.logprobs=L.logprobs.content;return{content:S,finishReason:{unified:vQ(L.finish_reason),raw:($=L.finish_reason)!=null?$:void 0},usage:cQ(B.usage),request:{body:q},response:{...EQ(B),headers:K,body:f},warnings:b,providerMetadata:R}}async doStream(X){let{args:Z,warnings:j}=await this.getArgs(X),F={...Z,stream:!0,stream_options:{include_usage:!0}},{responseHeaders:J,value:w}=await XQ({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:l(this.config.headers(),X.headers),body:F,failedResponseHandler:jQ,successfulResponseHandler:wQ(pW),abortSignal:X.abortSignal,fetch:this.config.fetch}),D=[],$={unified:"other",raw:void 0},q=void 0,b=!1,K=!1,B={openai:{}};return{stream:w.pipeThrough(new TransformStream({start(f){f.enqueue({type:"stream-start",warnings:j})},transform(f,L){var S,_,g,A,R,H,n,s,p,m,i,Y,t,C,N,d,e;if(X.includeRawChunks)L.enqueue({type:"raw",rawValue:f.rawValue});if(!f.success){$={unified:"error",raw:void 0},L.enqueue({type:"error",error:f.error});return}let k=f.value;if("error"in k){$={unified:"error",raw:void 0},L.enqueue({type:"error",error:k.error});return}if(!b){let G=EQ(k);if(Object.values(G).some(Boolean))b=!0,L.enqueue({type:"response-metadata",...EQ(k)})}if(k.usage!=null){if(q=k.usage,((S=k.usage.completion_tokens_details)==null?void 0:S.accepted_prediction_tokens)!=null)B.openai.acceptedPredictionTokens=(_=k.usage.completion_tokens_details)==null?void 0:_.accepted_prediction_tokens;if(((g=k.usage.completion_tokens_details)==null?void 0:g.rejected_prediction_tokens)!=null)B.openai.rejectedPredictionTokens=(A=k.usage.completion_tokens_details)==null?void 0:A.rejected_prediction_tokens}let M=k.choices[0];if((M==null?void 0:M.finish_reason)!=null)$={unified:vQ(M.finish_reason),raw:M.finish_reason};if(((R=M==null?void 0:M.logprobs)==null?void 0:R.content)!=null)B.openai.logprobs=M.logprobs.content;if((M==null?void 0:M.delta)==null)return;let E=M.delta;if(E.content!=null){if(!K)L.enqueue({type:"text-start",id:"0"}),K=!0;L.enqueue({type:"text-delta",id:"0",delta:E.content})}if(E.tool_calls!=null)for(let G of E.tool_calls){let T=G.index;if(D[T]==null){if(G.type!=null&&G.type!=="function")throw new UQ({data:G,message:"Expected 'function' type."});if(G.id==null)throw new UQ({data:G,message:"Expected 'id' to be a string."});if(((H=G.function)==null?void 0:H.name)==null)throw new UQ({data:G,message:"Expected 'function.name' to be a string."});L.enqueue({type:"tool-input-start",id:G.id,toolName:G.function.name}),D[T]={id:G.id,type:"function",function:{name:G.function.name,arguments:(n=G.function.arguments)!=null?n:""},hasFinished:!1};let z=D[T];if(((s=z.function)==null?void 0:s.name)!=null&&((p=z.function)==null?void 0:p.arguments)!=null){if(z.function.arguments.length>0)L.enqueue({type:"tool-input-delta",id:z.id,delta:z.function.arguments});if(bQ(z.function.arguments))L.enqueue({type:"tool-input-end",id:z.id}),L.enqueue({type:"tool-call",toolCallId:(m=z.id)!=null?m:QQ(),toolName:z.function.name,input:z.function.arguments}),z.hasFinished=!0}continue}let x=D[T];if(x.hasFinished)continue;if(((i=G.function)==null?void 0:i.arguments)!=null)x.function.arguments+=(t=(Y=G.function)==null?void 0:Y.arguments)!=null?t:"";if(L.enqueue({type:"tool-input-delta",id:x.id,delta:(C=G.function.arguments)!=null?C:""}),((N=x.function)==null?void 0:N.name)!=null&&((d=x.function)==null?void 0:d.arguments)!=null&&bQ(x.function.arguments))L.enqueue({type:"tool-input-end",id:x.id}),L.enqueue({type:"tool-call",toolCallId:(e=x.id)!=null?e:QQ(),toolName:x.function.name,input:x.function.arguments}),x.hasFinished=!0}if(E.annotations!=null)for(let G of E.annotations)L.enqueue({type:"source",sourceType:"url",id:QQ(),url:G.url_citation.url,title:G.url_citation.title})},flush(f){if(K)f.enqueue({type:"text-end",id:"0"});f.enqueue({type:"finish",finishReason:$,usage:cQ(q),...B!=null?{providerMetadata:B}:{}})}})),request:{body:F},response:{headers:J}}}};function nQ(X){var Z,j,F,J;if(X==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 w=(Z=X.prompt_tokens)!=null?Z:0,D=(j=X.completion_tokens)!=null?j:0;return{inputTokens:{total:(F=X.prompt_tokens)!=null?F:void 0,noCache:w,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:(J=X.completion_tokens)!=null?J:void 0,text:D,reasoning:void 0},raw:X}}function dW({prompt:X,user:Z="user",assistant:j="assistant"}){let F="";if(X[0].role==="system")F+=`${X[0].content}
|
|
3
3
|
|
|
4
4
|
`,X=X.slice(1);for(let{role:J,content:w}of X)switch(J){case"system":throw new BW({message:"Unexpected system message in prompt: ${content}",prompt:X});case"user":{let D=w.map(($)=>{switch($.type){case"text":return $.text}}).filter(Boolean).join("");F+=`${Z}:
|
|
5
5
|
${D}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-4sazy0nq.js";var i={"ui.sessionReview.title":"Zmiany w sesji","ui.sessionReview.title.lastTurn":"Zmiany z ostatniej tury","ui.sessionReview.diffStyle.unified":"Ujednolicony","ui.sessionReview.diffStyle.split":"Podzielony","ui.sessionReview.openFile":"Otw\xF3rz plik","ui.sessionReview.selection.line":"linia {{line}}","ui.sessionReview.selection.lines":"linie {{start}}-{{end}}","ui.sessionReview.expandAll":"Rozwi\u0144 wszystko","ui.sessionReview.collapseAll":"Zwi\u0144 wszystko","ui.sessionReview.change.added":"Dodano","ui.sessionReview.change.removed":"Usuni\u0119to","ui.sessionReview.change.modified":"Zmodyfikowano","ui.sessionReview.image.loading":"\u0141adowanie...","ui.sessionReview.image.placeholder":"Obraz","ui.sessionReview.largeDiff.title":"Diff jest zbyt du\u017Cy, aby go wyrenderowa\u0107","ui.sessionReview.largeDiff.meta":"Limit: {{limit}} zmienionych linii. Obecnie: {{current}} zmienionych linii.","ui.sessionReview.largeDiff.renderAnyway":"Renderuj mimo to","ui.fileMedia.kind.image":"obraz","ui.fileMedia.kind.audio":"d\u017Awi\u0119k","ui.fileMedia.state.removed":"{{kind}} usuni\u0119ty","ui.fileMedia.state.loading":"Wczytywanie: {{kind}}...","ui.fileMedia.state.error":"B\u0142\u0105d wczytywania: {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} niedost\u0119pny","ui.fileMedia.binary.title":"Plik binarny","ui.fileMedia.binary.description.path":"Nie mo\u017Cna wy\u015Bwietli\u0107 pliku {{path}}, poniewa\u017C jest to plik binarny.","ui.fileMedia.binary.description.default":"Nie mo\u017Cna wy\u015Bwietli\u0107 tego pliku, poniewa\u017C jest to plik binarny.","ui.lineComment.label.prefix":"Komentarz do ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Komentowanie: ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Dodaj komentarz","ui.lineComment.submit":"Skomentuj","ui.sessionTurn.steps.show":"Poka\u017C kroki","ui.sessionTurn.steps.hide":"Ukryj kroki","ui.sessionTurn.summary.response":"Odpowied\u017A","ui.sessionTurn.diff.showMore":"Poka\u017C wi\u0119cej zmian ({{count}})","ui.sessionTurn.retry.retrying":"ponawianie","ui.sessionTurn.retry.inSeconds":"za {{seconds}}s","ui.sessionTurn.retry.attempt":"pr\xF3ba #{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - pr\xF3ba #{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini jest teraz mocno przeci\u0105\u017Cony","ui.sessionTurn.error.freeUsageExceeded":"Przekroczono limit darmowego u\u017Cytkowania","ui.sessionTurn.error.addQredits":"Dodaj kredyty","ui.sessionTurn.status.delegating":"Delegowanie pracy","ui.sessionTurn.status.planning":"Planowanie kolejnych krok\xF3w","ui.sessionTurn.status.gatheringContext":"Eksplorowanie","ui.sessionTurn.status.gatheredContext":"Wyeksplorowano","ui.sessionTurn.status.searchingCodebase":"Przeszukiwanie bazy kodu","ui.sessionTurn.status.searchingWeb":"Przeszukiwanie sieci","ui.sessionTurn.status.makingEdits":"Wprowadzanie zmian","ui.sessionTurn.status.runningCommands":"Uruchamianie polece\u0144","ui.sessionTurn.status.thinking":"My\u015Blenie","ui.sessionTurn.status.thinkingWithTopic":"My\u015Blenie - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Zbieranie my\u015Bli","ui.sessionTurn.status.consideringNextSteps":"Rozwa\u017Canie kolejnych krok\xF3w","ui.messagePart.questions.dismissed":"Pytania odrzucone","ui.messagePart.compaction":"Sesja skompaktowana","ui.messagePart.context.read.one":"{{count}} odczyt","ui.messagePart.context.read.other":"{{count}} odczyty","ui.messagePart.context.search.one":"{{count}} wyszukiwanie","ui.messagePart.context.search.other":"{{count}} wyszukiwania","ui.messagePart.context.list.one":"{{count}} lista","ui.messagePart.context.list.other":"{{count}} listy","ui.messagePart.diagnostic.error":"B\u0142\u0105d","ui.messagePart.title.edit":"Edycja","ui.messagePart.title.write":"Pisanie","ui.messagePart.option.typeOwnAnswer":"Wpisz w\u0142asn\u0105 odpowied\u017A","ui.messagePart.review.title":"Przejrzyj swoje odpowiedzi","ui.list.loading":"\u0141adowanie","ui.list.empty":"Brak wynik\xF3w","ui.list.clearFilter":"Wyczy\u015B\u0107 filtr","ui.list.emptyWithFilter.prefix":"Brak wynik\xF3w dla","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Nowa wiadomo\u015B\u0107","ui.textField.copyToClipboard":"Skopiuj do schowka","ui.textField.copyLink":"Skopiuj link","ui.textField.copied":"Skopiowano","ui.imagePreview.alt":"Podgl\u0105d obrazu","ui.scrollView.ariaLabel":"tre\u015B\u0107 przewijana","ui.tool.read":"Odczyt","ui.tool.loaded":"Za\u0142adowano","ui.tool.list":"Lista","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Pobieranie sieciowe","ui.tool.websearch":"Wyszukiwanie w sieci","ui.tool.codesearch":"Wyszukiwanie kodu","ui.tool.shell":"Terminal","ui.tool.patch":"Patch","ui.tool.todos":"Zadania","ui.tool.todos.read":"Czytaj zadania","ui.tool.questions":"Pytania","ui.tool.agent":"Agent {{type}}","ui.tool.agent.default":"Agent","ui.common.file.one":"plik","ui.common.file.other":"pliki","ui.common.question.one":"pytanie","ui.common.question.other":"pytania","ui.common.add":"Dodaj","ui.common.back":"Wstecz","ui.common.cancel":"Anuluj","ui.common.confirm":"Potwierd\u017A","ui.common.dismiss":"Odrzu\u0107","ui.common.close":"Zamknij","ui.common.next":"Dalej","ui.common.submit":"Prze\u015Blij","ui.permission.deny":"Odm\xF3w","ui.permission.allowAlways":"Zezwalaj zawsze","ui.permission.allowOnce":"Zezw\xF3l raz","ui.message.expand":"Rozwi\u0144 wiadomo\u015B\u0107","ui.message.collapse":"Zwi\u0144 wiadomo\u015B\u0107","ui.message.copy":"Kopiuj","ui.message.copyMessage":"Kopiuj wiadomo\u015B\u0107","ui.message.forkMessage":"Rozwidlij do nowej sesji","ui.message.revertMessage":"Zresetuj do tego punktu","ui.message.copyResponse":"Kopiuj odpowied\u017A","ui.message.copied":"Skopiowano!","ui.message.interrupted":"Przerwano","ui.message.queued":"W kolejce","ui.message.attachment.alt":"za\u0142\u0105cznik","ui.patch.action.deleted":"Usuni\u0119to","ui.patch.action.created":"Utworzono","ui.patch.action.moved":"Przeniesiono","ui.patch.action.patched":"Za\u0142atano","ui.question.subtitle.answered":"{{count}} odpowiedzi","ui.question.answer.none":"(brak odpowiedzi)","ui.question.review.notAnswered":"(bez odpowiedzi)","ui.question.multiHint":"Zaznacz wszystkie pasuj\u0105ce","ui.question.singleHint":"Wybierz jedn\u0105 odpowied\u017A","ui.question.custom.placeholder":"Wpisz swoj\u0105 odpowied\u017A...","ui.fileSearch.placeholder":"Szukaj","ui.fileSearch.previousMatch":"Poprzednie","ui.fileSearch.nextMatch":"Nast\u0119pne","ui.fileSearch.close":"Zamknij wyszukiwanie","ui.tool.task":"Zadanie","ui.tool.skill":"Umiej\u0119tno\u015B\u0107","ui.basicTool.called":"Wywo\u0142ano `{{tool}}`","ui.toolErrorCard.failed":"B\u0142\u0105d","ui.toolErrorCard.copyError":"Kopiuj b\u0142\u0105d","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s"};export{i as dict};
|