@bkm016/basalt 0.1.32 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/chunk-0tr0cc6f.js +3 -0
- package/chunk-1f0mnggp.js +3 -0
- package/chunk-1ntcq7ed.js +2 -0
- package/chunk-1xkxfddg.js +286 -0
- package/chunk-1zz6akcm.js +3 -0
- package/chunk-2cd3qzny.js +3 -0
- package/chunk-2sbmy31t.js +2 -0
- package/chunk-32s6agaj.js +2 -0
- package/chunk-37n62c4c.js +3 -0
- package/chunk-3w2902kg.js +9 -0
- package/chunk-43q7hq53.js +2 -0
- package/chunk-4ewh67qf.js +25 -0
- package/chunk-5277mfp2.js +44 -0
- package/chunk-6f1zc4g6.js +2 -0
- package/chunk-6r4kw9x9.js +60 -0
- package/chunk-7qaavsga.js +2 -0
- package/chunk-88s6d1bz.js +3 -0
- package/chunk-9jw0km9r.js +13 -0
- package/chunk-a3h0mng1.js +8 -0
- package/chunk-acmtkg1q.js +20 -0
- package/chunk-adn9jbzj.js +2 -0
- package/chunk-anfhjdgv.js +2 -0
- package/chunk-apn5amfe.js +498 -0
- package/chunk-bsp6e8cv.js +2 -0
- package/chunk-bw2h35jd.js +2 -0
- package/chunk-bwx9m3ex.js +51 -0
- package/chunk-cezgvpja.js +3 -0
- package/chunk-cfhtmr6g.js +31 -0
- package/chunk-d5w3ntc3.js +7 -0
- package/chunk-dtks8c7v.js +2 -0
- package/chunk-e01g2yf9.js +3 -0
- package/chunk-e1rfd7jn.js +3 -0
- package/chunk-e8ehznx7.js +2 -0
- package/chunk-edp0svhf.js +3 -0
- package/chunk-evaew46c.js +2 -0
- package/chunk-ewhpfrgj.js +3 -0
- package/chunk-f7q6p7tp.js +7 -0
- package/chunk-fm482h25.js +3 -0
- package/chunk-g3j6jdht.js +39 -0
- package/chunk-gejre6z5.js +7 -0
- package/chunk-gz5ssvjh.js +3 -0
- package/chunk-h32ca6cs.js +11 -0
- package/chunk-hab25nd9.js +3 -0
- package/chunk-jbfkv490.js +8 -0
- package/chunk-jem2kqdt.js +3 -0
- package/chunk-jrwezx0r.js +16 -0
- package/chunk-ka5dtn3w.js +3 -0
- package/chunk-kxmws6zx.js +4068 -0
- package/chunk-m0gk2b1f.js +3 -0
- package/chunk-mekgrca0.js +25 -0
- package/chunk-mkp20bwr.js +2 -0
- package/chunk-n4qxf40m.js +2 -0
- package/chunk-n9r9zzr4.js +59 -0
- package/chunk-ndca35jt.js +5 -0
- package/chunk-ng9vq9hy.js +2 -0
- package/chunk-nx1997s8.js +2 -0
- package/chunk-p99dt6kf.js +12 -0
- package/chunk-pnctvz58.js +3 -0
- package/chunk-ppgn9exm.js +2 -0
- package/chunk-pqq5znyp.js +2 -0
- package/chunk-q2429jd1.js +3 -0
- package/chunk-q3nmdtk4.js +3 -0
- package/chunk-q4r4nger.js +3 -0
- package/chunk-q6gq7g7m.js +4 -0
- package/chunk-qnejy3qp.js +2 -0
- package/chunk-sj0fqgjf.js +10 -0
- package/chunk-t5y3dqv3.js +3 -0
- package/chunk-t6vw73nv.js +2 -0
- package/chunk-t9zpdekw.js +5 -0
- package/chunk-v0xs5sy0.js +2 -0
- package/chunk-v8v2exqg.js +2 -0
- package/chunk-wgff8n0r.js +2 -0
- package/chunk-wpv679r1.js +3 -0
- package/chunk-wrw806wb.js +3 -0
- package/chunk-wsby70ce.js +12 -0
- package/chunk-xdbgpht7.js +2 -0
- package/chunk-y1b98tfk.js +5 -0
- package/chunk-y3m3w19s.js +3 -0
- package/chunk-y5p5jq48.js +63 -0
- package/chunk-ynf5sz68.js +10 -0
- package/chunk-zfk9az7y.js +5 -0
- package/chunk-zwse6b6t.js +18 -0
- package/compiled.js +9 -9
- package/package.json +1 -1
- package/ui-test-worker.js +24 -24
- package/web/chunk-016nkjwe.js +2 -0
- package/web/chunk-016nkjwe.js.br +0 -0
- package/web/chunk-016nkjwe.js.gz +0 -0
- package/web/chunk-0er8vdaw.js +2 -0
- package/web/chunk-0er8vdaw.js.br +0 -0
- package/web/chunk-0er8vdaw.js.gz +0 -0
- package/web/chunk-0sq0ed2h.js +12 -0
- package/web/chunk-0sq0ed2h.js.br +0 -0
- package/web/chunk-0sq0ed2h.js.gz +0 -0
- package/web/chunk-0w8swe64.js +2 -0
- package/web/chunk-0w8swe64.js.br +0 -0
- package/web/chunk-0w8swe64.js.gz +0 -0
- package/web/chunk-15pxdcz7.js +1 -0
- package/web/chunk-15pxdcz7.js.br +0 -0
- package/web/chunk-15pxdcz7.js.gz +0 -0
- package/web/chunk-1a1w9rth.js +4 -0
- package/web/chunk-1a1w9rth.js.br +0 -0
- package/web/chunk-1a1w9rth.js.gz +0 -0
- package/web/chunk-1e8tsn4c.js +1 -0
- package/web/chunk-1e8tsn4c.js.br +0 -0
- package/web/chunk-1e8tsn4c.js.gz +0 -0
- package/web/chunk-1jwp193e.js +78 -0
- package/web/chunk-1jwp193e.js.br +0 -0
- package/web/chunk-1jwp193e.js.gz +0 -0
- package/web/chunk-1wz0tepc.js +106 -0
- package/web/chunk-1wz0tepc.js.br +0 -0
- package/web/chunk-1wz0tepc.js.gz +0 -0
- package/web/chunk-20gcnbgn.js +2 -0
- package/web/chunk-20gcnbgn.js.br +0 -0
- package/web/chunk-20gcnbgn.js.gz +0 -0
- package/web/chunk-213m58wn.js +1 -0
- package/web/chunk-213m58wn.js.br +0 -0
- package/web/chunk-213m58wn.js.gz +0 -0
- package/web/chunk-2hat8cth.js +1 -0
- package/web/chunk-2hat8cth.js.br +0 -0
- package/web/chunk-2hat8cth.js.gz +0 -0
- package/web/chunk-2nwvdqxm.js +1 -0
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.js.gz +0 -0
- package/web/chunk-3dj31vfh.js +292 -0
- package/web/chunk-3dj31vfh.js.br +0 -0
- package/web/chunk-3dj31vfh.js.gz +0 -0
- package/web/chunk-3g7waf75.js +70 -0
- package/web/chunk-3g7waf75.js.br +0 -0
- package/web/chunk-3g7waf75.js.gz +0 -0
- package/web/chunk-3x1zg1hk.js +1 -0
- package/web/chunk-3x1zg1hk.js.br +0 -0
- package/web/chunk-3x1zg1hk.js.gz +0 -0
- package/web/chunk-414npx47.js +1 -0
- package/web/chunk-414npx47.js.br +0 -0
- package/web/chunk-414npx47.js.gz +0 -0
- package/web/chunk-416ts17x.js +2 -0
- package/web/chunk-416ts17x.js.br +0 -0
- package/web/chunk-416ts17x.js.gz +0 -0
- package/web/chunk-47qwqp4f.js +7 -0
- package/web/chunk-47qwqp4f.js.br +0 -0
- package/web/chunk-47qwqp4f.js.gz +0 -0
- package/web/chunk-4k4c2se1.js +2 -0
- package/web/chunk-4k4c2se1.js.br +0 -0
- package/web/chunk-4k4c2se1.js.gz +0 -0
- package/web/chunk-4vsg8d4c.js +4 -0
- package/web/chunk-4vsg8d4c.js.br +0 -0
- package/web/chunk-4vsg8d4c.js.gz +0 -0
- package/web/chunk-53ag9hyw.js +40 -0
- package/web/chunk-53ag9hyw.js.br +0 -0
- package/web/chunk-53ag9hyw.js.gz +0 -0
- package/web/chunk-545zx869.js +2 -0
- package/web/chunk-545zx869.js.br +0 -0
- package/web/chunk-545zx869.js.gz +0 -0
- package/web/chunk-55mx05jg.js +2 -0
- package/web/chunk-55mx05jg.js.br +0 -0
- package/web/chunk-55mx05jg.js.gz +0 -0
- package/web/chunk-55phnzd7.js +1 -0
- package/web/chunk-55phnzd7.js.br +0 -0
- package/web/chunk-55phnzd7.js.gz +0 -0
- package/web/chunk-56a6njsk.js +1 -0
- package/web/chunk-56a6njsk.js.br +0 -0
- package/web/chunk-56a6njsk.js.gz +0 -0
- package/web/chunk-5hvs5kyx.js +1 -0
- package/web/chunk-5hvs5kyx.js.br +0 -0
- package/web/chunk-5hvs5kyx.js.gz +0 -0
- package/web/chunk-5nbyvd4t.js +1 -0
- package/web/chunk-5nbyvd4t.js.br +0 -0
- package/web/chunk-5nbyvd4t.js.gz +0 -0
- package/web/chunk-690qxds4.js +1 -0
- package/web/chunk-690qxds4.js.br +0 -0
- package/web/chunk-690qxds4.js.gz +0 -0
- package/web/chunk-6dr6eazd.js +2 -0
- package/web/chunk-6dr6eazd.js.br +0 -0
- package/web/chunk-6dr6eazd.js.gz +0 -0
- package/web/chunk-6nkegqxk.js +139 -0
- package/web/chunk-6nkegqxk.js.br +0 -0
- package/web/chunk-6nkegqxk.js.gz +0 -0
- package/web/chunk-6ypf5nq6.js +140 -0
- package/web/chunk-6ypf5nq6.js.br +0 -0
- package/web/chunk-6ypf5nq6.js.gz +0 -0
- package/web/chunk-70kws32b.js +2 -0
- package/web/chunk-70kws32b.js.br +0 -0
- package/web/chunk-70kws32b.js.gz +0 -0
- package/web/chunk-71tshjjr.js +16 -0
- package/web/chunk-71tshjjr.js.br +0 -0
- package/web/chunk-71tshjjr.js.gz +0 -0
- package/web/chunk-7fh9k75p.js +1 -0
- package/web/chunk-7fh9k75p.js.br +0 -0
- package/web/chunk-7fh9k75p.js.gz +0 -0
- package/web/chunk-7k8azd8z.js +1 -0
- package/web/chunk-7k8azd8z.js.br +0 -0
- package/web/chunk-7k8azd8z.js.gz +0 -0
- package/web/chunk-7mmebce4.js +1 -0
- package/web/chunk-7mmebce4.js.br +0 -0
- package/web/chunk-7mmebce4.js.gz +0 -0
- package/web/chunk-7mwghj09.js +89 -0
- package/web/chunk-7mwghj09.js.br +0 -0
- package/web/chunk-7mwghj09.js.gz +0 -0
- package/web/chunk-7y5kr56m.js +1 -0
- package/web/chunk-7y5kr56m.js.br +0 -0
- package/web/chunk-7y5kr56m.js.gz +0 -0
- package/web/chunk-8esqhp64.js +1 -0
- package/web/chunk-8esqhp64.js.br +0 -0
- package/web/chunk-8esqhp64.js.gz +0 -0
- package/web/chunk-8gxgpr3n.js +214 -0
- package/web/chunk-8gxgpr3n.js.br +0 -0
- package/web/chunk-8gxgpr3n.js.gz +0 -0
- package/web/chunk-8vnmk3y7.js +1 -0
- package/web/chunk-8vnmk3y7.js.br +0 -0
- package/web/chunk-8vnmk3y7.js.gz +0 -0
- package/web/chunk-99r862t8.js +30 -0
- package/web/chunk-99r862t8.js.br +0 -0
- package/web/chunk-99r862t8.js.gz +0 -0
- package/web/chunk-9cznsyf4.js +7 -0
- package/web/chunk-9cznsyf4.js.br +0 -0
- package/web/chunk-9cznsyf4.js.gz +0 -0
- package/web/chunk-9hmw91e9.js +1 -0
- package/web/chunk-9hmw91e9.js.br +0 -0
- package/web/chunk-9hmw91e9.js.gz +0 -0
- package/web/chunk-9j7v0e4v.js +2 -0
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.js.gz +0 -0
- package/web/chunk-9pyad3tv.js +1 -0
- package/web/chunk-9pyad3tv.js.br +0 -0
- package/web/chunk-9pyad3tv.js.gz +0 -0
- package/web/chunk-9rf2smk2.js +1142 -0
- package/web/chunk-9rf2smk2.js.br +0 -0
- package/web/chunk-9rf2smk2.js.gz +0 -0
- package/web/chunk-aan5qk6x.js +1 -0
- package/web/chunk-aan5qk6x.js.br +0 -0
- package/web/chunk-aan5qk6x.js.gz +0 -0
- package/web/chunk-aaz4msca.js +89 -0
- package/web/chunk-aaz4msca.js.br +0 -0
- package/web/chunk-aaz4msca.js.gz +0 -0
- package/web/chunk-ag0ng2nt.js +24 -0
- package/web/chunk-ag0ng2nt.js.br +0 -0
- package/web/chunk-ag0ng2nt.js.gz +0 -0
- package/web/chunk-an9b0mhe.js +55 -0
- package/web/chunk-an9b0mhe.js.br +0 -0
- package/web/chunk-an9b0mhe.js.gz +0 -0
- package/web/chunk-apgvrfc2.js +41 -0
- package/web/chunk-apgvrfc2.js.br +0 -0
- package/web/chunk-apgvrfc2.js.gz +0 -0
- package/web/chunk-aq09zt1h.js +332 -0
- package/web/chunk-aq09zt1h.js.br +0 -0
- package/web/chunk-aq09zt1h.js.gz +0 -0
- package/web/chunk-ayy6rwm5.js +1 -0
- package/web/chunk-ayy6rwm5.js.br +0 -0
- package/web/chunk-ayy6rwm5.js.gz +0 -0
- package/web/chunk-azhw80d1.js +1 -0
- package/web/chunk-azhw80d1.js.br +0 -0
- package/web/chunk-azhw80d1.js.gz +0 -0
- package/web/chunk-b4bty1ns.js +8 -0
- package/web/chunk-b4bty1ns.js.br +1 -0
- package/web/chunk-b4bty1ns.js.gz +0 -0
- package/web/chunk-bs9934z7.js +200 -0
- package/web/chunk-bs9934z7.js.br +0 -0
- package/web/chunk-bs9934z7.js.gz +0 -0
- package/web/chunk-c9nwfxrp.js +1 -0
- package/web/chunk-c9nwfxrp.js.br +0 -0
- package/web/chunk-c9nwfxrp.js.gz +0 -0
- package/web/chunk-capfyqch.js +1 -0
- package/web/chunk-capfyqch.js.br +0 -0
- package/web/chunk-capfyqch.js.gz +0 -0
- package/web/chunk-ckev38zc.js +36 -0
- package/web/chunk-ckev38zc.js.br +0 -0
- package/web/chunk-ckev38zc.js.gz +0 -0
- package/web/chunk-cnkerjp4.js +370 -0
- package/web/chunk-cnkerjp4.js.br +0 -0
- package/web/chunk-cnkerjp4.js.gz +0 -0
- package/web/chunk-d3bgcz6q.js +1 -0
- package/web/chunk-d3bgcz6q.js.br +0 -0
- package/web/chunk-d3bgcz6q.js.gz +0 -0
- package/web/chunk-d5n2yz4e.js +2 -0
- package/web/chunk-d5n2yz4e.js.br +0 -0
- package/web/chunk-d5n2yz4e.js.gz +0 -0
- package/web/chunk-d5xqtvb1.js +2 -0
- package/web/chunk-d5xqtvb1.js.br +0 -0
- package/web/chunk-d5xqtvb1.js.gz +0 -0
- package/web/chunk-daqfnvaw.js +1 -0
- package/web/chunk-daqfnvaw.js.br +0 -0
- package/web/chunk-daqfnvaw.js.gz +0 -0
- package/web/chunk-dqz580pg.js +1 -0
- package/web/chunk-dqz580pg.js.br +0 -0
- package/web/chunk-dqz580pg.js.gz +0 -0
- package/web/chunk-e54b48p5.js +2 -0
- package/web/chunk-e54b48p5.js.br +0 -0
- package/web/chunk-e54b48p5.js.gz +0 -0
- package/web/chunk-e8bgrjps.js +2 -0
- package/web/chunk-e8bgrjps.js.br +0 -0
- package/web/chunk-e8bgrjps.js.gz +0 -0
- package/web/chunk-efdg5mjf.js +217 -0
- package/web/chunk-efdg5mjf.js.br +0 -0
- package/web/chunk-efdg5mjf.js.gz +0 -0
- package/web/chunk-efhyygba.js +7 -0
- package/web/chunk-efhyygba.js.br +0 -0
- package/web/chunk-efhyygba.js.gz +0 -0
- package/web/chunk-eq0vm9vw.js +2 -0
- package/web/chunk-eq0vm9vw.js.br +0 -0
- package/web/chunk-eq0vm9vw.js.gz +0 -0
- package/web/chunk-eznkbqms.js +1 -0
- package/web/chunk-eznkbqms.js.br +0 -0
- package/web/chunk-eznkbqms.js.gz +0 -0
- package/web/chunk-f5wyg9zh.js +2 -0
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.js.gz +0 -0
- package/web/chunk-f9rv8b13.js +1 -0
- package/web/chunk-f9rv8b13.js.br +0 -0
- package/web/chunk-f9rv8b13.js.gz +0 -0
- package/web/chunk-fnzyprme.js +142 -0
- package/web/chunk-fnzyprme.js.br +0 -0
- package/web/chunk-fnzyprme.js.gz +0 -0
- package/web/chunk-g63m3g5y.js +1 -0
- package/web/chunk-g63m3g5y.js.br +2 -0
- package/web/chunk-g63m3g5y.js.gz +0 -0
- package/web/chunk-g6gb3wz7.js +1 -0
- package/web/chunk-g6gb3wz7.js.br +2 -0
- package/web/chunk-g6gb3wz7.js.gz +0 -0
- package/web/chunk-g7ec62te.js +2 -0
- package/web/chunk-g7ec62te.js.br +0 -0
- package/web/chunk-g7ec62te.js.gz +0 -0
- package/web/chunk-gkj2bbdx.js +1 -0
- package/web/chunk-gkj2bbdx.js.br +0 -0
- package/web/chunk-gkj2bbdx.js.gz +0 -0
- package/web/chunk-gnx30bed.css +1 -0
- package/web/chunk-gnx30bed.css.br +0 -0
- package/web/chunk-gnx30bed.css.gz +0 -0
- package/web/chunk-gvndjaan.js +2 -0
- package/web/chunk-gvndjaan.js.br +0 -0
- package/web/chunk-gvndjaan.js.gz +0 -0
- package/web/chunk-h391pq6j.js +1 -0
- package/web/chunk-h391pq6j.js.br +0 -0
- package/web/chunk-h391pq6j.js.gz +0 -0
- package/web/chunk-h3kdr5mz.js +21 -0
- package/web/chunk-h3kdr5mz.js.br +0 -0
- package/web/chunk-h3kdr5mz.js.gz +0 -0
- package/web/chunk-hjs5pyye.js +1 -0
- package/web/chunk-hjs5pyye.js.br +0 -0
- package/web/chunk-hjs5pyye.js.gz +0 -0
- package/web/chunk-hxgtek0e.js +2 -0
- package/web/chunk-hxgtek0e.js.br +0 -0
- package/web/chunk-hxgtek0e.js.gz +0 -0
- package/web/chunk-j5a3jhp0.js +120 -0
- package/web/chunk-j5a3jhp0.js.br +0 -0
- package/web/chunk-j5a3jhp0.js.gz +0 -0
- package/web/chunk-jgdways6.js +39 -0
- package/web/chunk-jgdways6.js.br +0 -0
- package/web/chunk-jgdways6.js.gz +0 -0
- package/web/chunk-jybmjakj.js +1 -0
- package/web/chunk-jybmjakj.js.br +2 -0
- package/web/chunk-jybmjakj.js.gz +0 -0
- package/web/chunk-kasv56qe.js +303 -0
- package/web/chunk-kasv56qe.js.br +0 -0
- package/web/chunk-kasv56qe.js.gz +0 -0
- package/web/chunk-kmhbkjqx.js +2 -0
- package/web/chunk-kmhbkjqx.js.br +0 -0
- package/web/chunk-kmhbkjqx.js.gz +0 -0
- package/web/chunk-m06zdhdz.js +1 -0
- package/web/chunk-m06zdhdz.js.br +0 -0
- package/web/chunk-m06zdhdz.js.gz +0 -0
- package/web/chunk-mrnnq8dv.js +1 -0
- package/web/chunk-mrnnq8dv.js.br +0 -0
- package/web/chunk-mrnnq8dv.js.gz +0 -0
- package/web/chunk-mx1e3jgh.js +1 -0
- package/web/chunk-mx1e3jgh.js.br +0 -0
- package/web/chunk-mx1e3jgh.js.gz +0 -0
- package/web/chunk-n0tehchs.js +3 -0
- package/web/chunk-n0tehchs.js.br +0 -0
- package/web/chunk-n0tehchs.js.gz +0 -0
- package/web/chunk-n449ebhn.js +38 -0
- package/web/chunk-n449ebhn.js.br +0 -0
- package/web/chunk-n449ebhn.js.gz +0 -0
- package/web/chunk-ngsv0xfb.js +1 -0
- package/web/chunk-ngsv0xfb.js.br +0 -0
- package/web/chunk-ngsv0xfb.js.gz +0 -0
- package/web/chunk-ngy730n0.js +1 -0
- package/web/chunk-ngy730n0.js.br +0 -0
- package/web/chunk-ngy730n0.js.gz +0 -0
- package/web/chunk-nj9dtqyd.js +2 -0
- package/web/chunk-nj9dtqyd.js.br +0 -0
- package/web/chunk-nj9dtqyd.js.gz +0 -0
- package/web/chunk-nzaq0yae.js +2 -0
- package/web/chunk-nzaq0yae.js.br +0 -0
- package/web/chunk-nzaq0yae.js.gz +0 -0
- package/web/chunk-pgnfj8ea.js +2 -0
- package/web/chunk-pgnfj8ea.js.br +0 -0
- package/web/chunk-pgnfj8ea.js.gz +0 -0
- package/web/chunk-qtgen5c5.js +24 -0
- package/web/chunk-qtgen5c5.js.br +0 -0
- package/web/chunk-qtgen5c5.js.gz +0 -0
- package/web/chunk-qzn05afn.js +169 -0
- package/web/chunk-qzn05afn.js.br +0 -0
- package/web/chunk-qzn05afn.js.gz +0 -0
- package/web/chunk-r7st369j.js +1 -0
- package/web/chunk-r7st369j.js.br +0 -0
- package/web/chunk-r7st369j.js.gz +0 -0
- package/web/chunk-rj1rp0tc.js +1 -0
- package/web/chunk-rj1rp0tc.js.br +0 -0
- package/web/chunk-rj1rp0tc.js.gz +0 -0
- package/web/chunk-sgy3c5m7.js +62 -0
- package/web/chunk-sgy3c5m7.js.br +0 -0
- package/web/chunk-sgy3c5m7.js.gz +0 -0
- package/web/chunk-t7s9xrxt.js +34 -0
- package/web/chunk-t7s9xrxt.js.br +0 -0
- package/web/chunk-t7s9xrxt.js.gz +0 -0
- package/web/chunk-tmf1jnqz.js +2 -0
- package/web/chunk-tmf1jnqz.js.br +0 -0
- package/web/chunk-tmf1jnqz.js.gz +0 -0
- package/web/chunk-tntwwpyh.js +2 -0
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/chunk-tpzyyc2z.js +2 -0
- package/web/chunk-tpzyyc2z.js.br +0 -0
- package/web/chunk-tpzyyc2z.js.gz +0 -0
- package/web/chunk-v95eqx92.js +84 -0
- package/web/chunk-v95eqx92.js.br +0 -0
- package/web/chunk-v95eqx92.js.gz +0 -0
- package/web/chunk-vcj5m1xb.js +1 -0
- package/web/chunk-vcj5m1xb.js.br +0 -0
- package/web/chunk-vcj5m1xb.js.gz +0 -0
- package/web/chunk-vndrjeyr.js +2 -0
- package/web/chunk-vndrjeyr.js.br +0 -0
- package/web/chunk-vndrjeyr.js.gz +0 -0
- package/web/chunk-vq0zf16h.js +1 -0
- package/web/chunk-vq0zf16h.js.br +0 -0
- package/web/chunk-vq0zf16h.js.gz +0 -0
- package/web/chunk-vqhtph6r.js +1 -0
- package/web/chunk-vqhtph6r.js.br +0 -0
- package/web/chunk-vqhtph6r.js.gz +0 -0
- package/web/chunk-vvsfwjrg.js +1 -0
- package/web/chunk-vvsfwjrg.js.br +0 -0
- package/web/chunk-vvsfwjrg.js.gz +0 -0
- package/web/chunk-vz2mgxs7.js +1 -0
- package/web/chunk-vz2mgxs7.js.br +0 -0
- package/web/chunk-vz2mgxs7.js.gz +0 -0
- package/web/chunk-wdd9pasx.js +1 -0
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.js.gz +0 -0
- package/web/chunk-wry3q68j.js +1 -0
- package/web/chunk-wry3q68j.js.br +2 -0
- package/web/chunk-wry3q68j.js.gz +0 -0
- package/web/chunk-wrz0gqnv.js +1 -0
- package/web/chunk-wrz0gqnv.js.br +0 -0
- package/web/chunk-wrz0gqnv.js.gz +0 -0
- package/web/chunk-wvapb3r6.js +98 -0
- package/web/chunk-wvapb3r6.js.br +0 -0
- package/web/chunk-wvapb3r6.js.gz +0 -0
- package/web/chunk-x6qva9zc.js +324 -0
- package/web/chunk-x6qva9zc.js.br +0 -0
- package/web/chunk-x6qva9zc.js.gz +0 -0
- package/web/chunk-xa2ngtyg.js +2 -0
- package/web/chunk-xa2ngtyg.js.br +0 -0
- package/web/chunk-xa2ngtyg.js.gz +0 -0
- package/web/chunk-xhjf5ye0.js +1 -0
- package/web/chunk-xhjf5ye0.js.br +0 -0
- package/web/chunk-xhjf5ye0.js.gz +0 -0
- package/web/chunk-xkqekh81.js +2 -0
- package/web/chunk-xkqekh81.js.br +0 -0
- package/web/chunk-xkqekh81.js.gz +0 -0
- package/web/chunk-xsjvamcy.js +1 -0
- package/web/chunk-xsjvamcy.js.br +0 -0
- package/web/chunk-xsjvamcy.js.gz +0 -0
- package/web/chunk-xyfnr395.js +1 -0
- package/web/chunk-xyfnr395.js.br +0 -0
- package/web/chunk-xyfnr395.js.gz +0 -0
- package/web/chunk-y48mj5d7.js +1 -0
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.js.gz +0 -0
- package/web/chunk-y4x1g94q.js +1 -0
- package/web/chunk-y4x1g94q.js.br +0 -0
- package/web/chunk-y4x1g94q.js.gz +0 -0
- package/web/chunk-yzbp4vpe.js +1 -0
- package/web/chunk-yzbp4vpe.js.br +0 -0
- package/web/chunk-yzbp4vpe.js.gz +0 -0
- package/web/chunk-z601k790.js +291 -0
- package/web/chunk-z601k790.js.br +0 -0
- package/web/chunk-z601k790.js.gz +0 -0
- package/web/chunk-zc9mxd01.js +99 -0
- package/web/chunk-zc9mxd01.js.br +0 -0
- package/web/chunk-zc9mxd01.js.gz +0 -0
- package/web/chunk-zm1jfkcz.js +2 -0
- package/web/chunk-zm1jfkcz.js.br +0 -0
- package/web/chunk-zm1jfkcz.js.gz +0 -0
- package/web/chunk-zz0d7377.js +2 -0
- package/web/chunk-zz0d7377.js.br +0 -0
- package/web/chunk-zz0d7377.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-04326385.js +0 -39
- package/chunk-11zc1b2w.js +0 -3
- package/chunk-12203fgm.js +0 -2
- package/chunk-194d4z7x.js +0 -7
- package/chunk-1apm7p2e.js +0 -2
- package/chunk-2csz31nh.js +0 -2
- package/chunk-2rqpfv4h.js +0 -3
- package/chunk-39cfcar4.js +0 -3
- package/chunk-3dtgkgam.js +0 -4064
- package/chunk-4a5xttdp.js +0 -3
- package/chunk-4st5xeee.js +0 -2
- package/chunk-54qzhq9t.js +0 -50
- package/chunk-5h17n6g1.js +0 -3
- package/chunk-5rn18vrq.js +0 -5
- package/chunk-5tdnvdmz.js +0 -2
- package/chunk-6qavr39k.js +0 -2
- package/chunk-6xn0r0dd.js +0 -3
- package/chunk-7h76jrss.js +0 -7
- package/chunk-7hss4hs3.js +0 -7
- package/chunk-7vdq0wye.js +0 -2
- package/chunk-7w187ycz.js +0 -10
- package/chunk-81s7mvf2.js +0 -16
- package/chunk-8j8acxde.js +0 -2
- package/chunk-9nfz04yr.js +0 -2
- package/chunk-9vth0w8q.js +0 -2
- package/chunk-9zcfam20.js +0 -2
- package/chunk-a6zvmsbh.js +0 -12
- package/chunk-anr8aghq.js +0 -59
- package/chunk-av8zh9yp.js +0 -2
- package/chunk-bwv97dtf.js +0 -2
- package/chunk-cjy4rssa.js +0 -10
- package/chunk-dmdyqq1k.js +0 -2
- package/chunk-dzvq7vt6.js +0 -2
- package/chunk-ejrksf6g.js +0 -3
- package/chunk-erxka5vh.js +0 -18
- package/chunk-fc41dvhp.js +0 -12
- package/chunk-fdgrayj5.js +0 -3
- package/chunk-fwcqcecb.js +0 -8
- package/chunk-hhwnmhbb.js +0 -2
- package/chunk-hvxc1wyv.js +0 -3
- package/chunk-jm2bn5mq.js +0 -3
- package/chunk-jm5j5jfy.js +0 -3
- package/chunk-jqtdf0ym.js +0 -63
- package/chunk-jsvr3s4q.js +0 -5
- package/chunk-jwk5a5tk.js +0 -25
- package/chunk-mwc59w50.js +0 -31
- package/chunk-mypbpphn.js +0 -3
- package/chunk-n3hfhbe4.js +0 -498
- package/chunk-ng5ncy65.js +0 -2
- package/chunk-nmvayfq3.js +0 -3
- package/chunk-nw4h0wm9.js +0 -2
- package/chunk-nzpzjbpp.js +0 -51
- package/chunk-p23eqet9.js +0 -2
- package/chunk-pxsgm6ff.js +0 -2
- package/chunk-qqs9fqsy.js +0 -4
- package/chunk-r0gsb1qs.js +0 -3
- package/chunk-r49sxmnc.js +0 -3
- package/chunk-rbfpa63e.js +0 -3
- package/chunk-rsrh5dgx.js +0 -2
- package/chunk-s2pm97nk.js +0 -286
- package/chunk-s6tnmg6x.js +0 -3
- package/chunk-scq1dz62.js +0 -8
- package/chunk-se548edt.js +0 -20
- package/chunk-tsdeeqb8.js +0 -3
- package/chunk-vnv3a6t2.js +0 -3
- package/chunk-vrsh8cx1.js +0 -3
- package/chunk-w3v8zahw.js +0 -2
- package/chunk-w6m8c4vf.js +0 -11
- package/chunk-wd7sj5cv.js +0 -2
- package/chunk-we8v9wkw.js +0 -9
- package/chunk-x055cas0.js +0 -5
- package/chunk-x5vrtxkj.js +0 -3
- package/chunk-x83syrhw.js +0 -44
- package/chunk-xedzsj31.js +0 -5
- package/chunk-xp83v3zm.js +0 -2
- package/chunk-ykzm5g1b.js +0 -25
- package/chunk-yq2bwebb.js +0 -3
- package/chunk-yygcpnwc.js +0 -3
- package/chunk-zjf34acb.js +0 -2
- package/web/chunk-02v1btpv.js +0 -2
- package/web/chunk-02v1btpv.js.br +0 -0
- package/web/chunk-02v1btpv.js.gz +0 -0
- package/web/chunk-02xgh26g.js +0 -1
- package/web/chunk-02xgh26g.js.br +0 -0
- package/web/chunk-02xgh26g.js.gz +0 -0
- package/web/chunk-0n134mev.js +0 -140
- package/web/chunk-0n134mev.js.br +0 -0
- package/web/chunk-0n134mev.js.gz +0 -0
- package/web/chunk-14t6ms50.js +0 -16
- package/web/chunk-14t6ms50.js.br +0 -0
- package/web/chunk-14t6ms50.js.gz +0 -0
- package/web/chunk-17j1pnvx.js +0 -1
- package/web/chunk-17j1pnvx.js.br +0 -0
- package/web/chunk-17j1pnvx.js.gz +0 -0
- package/web/chunk-19qs8qhf.js +0 -2
- package/web/chunk-19qs8qhf.js.br +0 -0
- package/web/chunk-19qs8qhf.js.gz +0 -0
- package/web/chunk-1c1jdx2r.js +0 -332
- package/web/chunk-1c1jdx2r.js.br +0 -0
- package/web/chunk-1c1jdx2r.js.gz +0 -0
- package/web/chunk-1fp0r6da.js +0 -2
- package/web/chunk-1fp0r6da.js.br +0 -0
- package/web/chunk-1fp0r6da.js.gz +0 -0
- package/web/chunk-1fv6rp41.js +0 -2
- package/web/chunk-1fv6rp41.js.br +0 -0
- package/web/chunk-1fv6rp41.js.gz +0 -0
- package/web/chunk-1mkzfr1m.js +0 -2
- package/web/chunk-1mkzfr1m.js.br +0 -0
- package/web/chunk-1mkzfr1m.js.gz +0 -0
- package/web/chunk-1r8npw1h.js +0 -1
- package/web/chunk-1r8npw1h.js.br +0 -0
- package/web/chunk-1r8npw1h.js.gz +0 -0
- package/web/chunk-215gszpx.js +0 -1
- package/web/chunk-215gszpx.js.br +0 -0
- package/web/chunk-215gszpx.js.gz +0 -0
- package/web/chunk-2372y9qw.css +0 -1
- package/web/chunk-2372y9qw.css.br +0 -0
- package/web/chunk-2372y9qw.css.gz +0 -0
- package/web/chunk-24syb9ar.js +0 -1
- package/web/chunk-24syb9ar.js.br +0 -0
- package/web/chunk-24syb9ar.js.gz +0 -0
- package/web/chunk-26y868vk.js +0 -214
- package/web/chunk-26y868vk.js.br +0 -0
- package/web/chunk-26y868vk.js.gz +0 -0
- package/web/chunk-29mff7z7.js +0 -34
- package/web/chunk-29mff7z7.js.br +0 -0
- package/web/chunk-29mff7z7.js.gz +0 -0
- package/web/chunk-2vh05ags.js +0 -2
- package/web/chunk-2vh05ags.js.br +0 -0
- package/web/chunk-2vh05ags.js.gz +0 -0
- package/web/chunk-2z5tpzd0.js +0 -2
- package/web/chunk-2z5tpzd0.js.br +0 -2
- package/web/chunk-2z5tpzd0.js.gz +0 -0
- package/web/chunk-35zjz7ms.js +0 -99
- package/web/chunk-35zjz7ms.js.br +0 -0
- package/web/chunk-35zjz7ms.js.gz +0 -0
- package/web/chunk-3q8tjjp1.js +0 -1
- package/web/chunk-3q8tjjp1.js.br +0 -2
- package/web/chunk-3q8tjjp1.js.gz +0 -0
- package/web/chunk-3s4mqjna.js +0 -4
- package/web/chunk-3s4mqjna.js.br +0 -0
- package/web/chunk-3s4mqjna.js.gz +0 -0
- package/web/chunk-3srybd24.js +0 -41
- package/web/chunk-3srybd24.js.br +0 -0
- package/web/chunk-3srybd24.js.gz +0 -0
- package/web/chunk-3zsfd0hv.js +0 -1
- package/web/chunk-3zsfd0hv.js.br +0 -0
- package/web/chunk-3zsfd0hv.js.gz +0 -0
- package/web/chunk-43h0rwsj.js +0 -1
- package/web/chunk-43h0rwsj.js.br +0 -0
- package/web/chunk-43h0rwsj.js.gz +0 -0
- package/web/chunk-4gehgwdn.js +0 -1
- package/web/chunk-4gehgwdn.js.br +0 -0
- package/web/chunk-4gehgwdn.js.gz +0 -0
- package/web/chunk-4q1j0ehq.js +0 -1
- package/web/chunk-4q1j0ehq.js.br +0 -2
- package/web/chunk-4q1j0ehq.js.gz +0 -0
- package/web/chunk-4rbzcphw.js +0 -7
- package/web/chunk-4rbzcphw.js.br +0 -0
- package/web/chunk-4rbzcphw.js.gz +0 -0
- package/web/chunk-4xvh57dr.js +0 -1
- package/web/chunk-4xvh57dr.js.br +0 -0
- package/web/chunk-4xvh57dr.js.gz +0 -0
- package/web/chunk-54cy79n2.js +0 -291
- package/web/chunk-54cy79n2.js.br +0 -0
- package/web/chunk-54cy79n2.js.gz +0 -0
- package/web/chunk-5v7dyp6t.js +0 -2
- package/web/chunk-5v7dyp6t.js.br +0 -0
- package/web/chunk-5v7dyp6t.js.gz +0 -0
- package/web/chunk-5xm6c0r0.js +0 -1
- package/web/chunk-5xm6c0r0.js.br +0 -0
- package/web/chunk-5xm6c0r0.js.gz +0 -0
- package/web/chunk-67pmbk1h.js +0 -324
- package/web/chunk-67pmbk1h.js.br +0 -0
- package/web/chunk-67pmbk1h.js.gz +0 -0
- package/web/chunk-6ebp7qd7.js +0 -169
- package/web/chunk-6ebp7qd7.js.br +0 -0
- package/web/chunk-6ebp7qd7.js.gz +0 -0
- package/web/chunk-6k8me9kr.js +0 -1
- package/web/chunk-6k8me9kr.js.br +0 -0
- package/web/chunk-6k8me9kr.js.gz +0 -0
- package/web/chunk-7aqr59hm.js +0 -1
- package/web/chunk-7aqr59hm.js.br +0 -0
- package/web/chunk-7aqr59hm.js.gz +0 -0
- package/web/chunk-7qnxv6xx.js +0 -1
- package/web/chunk-7qnxv6xx.js.br +0 -0
- package/web/chunk-7qnxv6xx.js.gz +0 -0
- package/web/chunk-7yb2g5zs.js +0 -1
- package/web/chunk-7yb2g5zs.js.br +0 -0
- package/web/chunk-7yb2g5zs.js.gz +0 -0
- package/web/chunk-86f9x5fs.js +0 -24
- package/web/chunk-86f9x5fs.js.br +0 -0
- package/web/chunk-86f9x5fs.js.gz +0 -0
- package/web/chunk-8gvxttsz.js +0 -39
- package/web/chunk-8gvxttsz.js.br +0 -0
- package/web/chunk-8gvxttsz.js.gz +0 -0
- package/web/chunk-8kjx7nve.js +0 -1
- package/web/chunk-8kjx7nve.js.br +0 -0
- package/web/chunk-8kjx7nve.js.gz +0 -0
- package/web/chunk-8qda1pw3.js +0 -2
- package/web/chunk-8qda1pw3.js.br +0 -0
- package/web/chunk-8qda1pw3.js.gz +0 -0
- package/web/chunk-98zd6fb7.js +0 -40
- package/web/chunk-98zd6fb7.js.br +0 -0
- package/web/chunk-98zd6fb7.js.gz +0 -0
- package/web/chunk-9b43td2b.js +0 -24
- package/web/chunk-9b43td2b.js.br +0 -0
- package/web/chunk-9b43td2b.js.gz +0 -0
- package/web/chunk-9hkz2jgq.js +0 -303
- package/web/chunk-9hkz2jgq.js.br +0 -0
- package/web/chunk-9hkz2jgq.js.gz +0 -0
- package/web/chunk-a3qa5c8q.js +0 -292
- package/web/chunk-a3qa5c8q.js.br +0 -0
- package/web/chunk-a3qa5c8q.js.gz +0 -0
- package/web/chunk-ads3r60t.js +0 -70
- package/web/chunk-ads3r60t.js.br +0 -0
- package/web/chunk-ads3r60t.js.gz +0 -0
- package/web/chunk-ax4wvgv9.js +0 -38
- package/web/chunk-ax4wvgv9.js.br +0 -0
- package/web/chunk-ax4wvgv9.js.gz +0 -0
- package/web/chunk-b9knvs0r.js +0 -1
- package/web/chunk-b9knvs0r.js.br +0 -0
- package/web/chunk-b9knvs0r.js.gz +0 -0
- package/web/chunk-batey85v.js +0 -2
- package/web/chunk-batey85v.js.br +0 -0
- package/web/chunk-batey85v.js.gz +0 -0
- package/web/chunk-ccdww2gj.js +0 -2
- package/web/chunk-ccdww2gj.js.br +0 -0
- package/web/chunk-ccdww2gj.js.gz +0 -0
- package/web/chunk-cgbz97dr.js +0 -2
- package/web/chunk-cgbz97dr.js.br +0 -0
- package/web/chunk-cgbz97dr.js.gz +0 -0
- package/web/chunk-cjbqey5q.js +0 -1
- package/web/chunk-cjbqey5q.js.br +0 -0
- package/web/chunk-cjbqey5q.js.gz +0 -0
- package/web/chunk-cm5cmpxr.js +0 -1
- package/web/chunk-cm5cmpxr.js.br +0 -0
- package/web/chunk-cm5cmpxr.js.gz +0 -0
- package/web/chunk-cqce094e.js +0 -55
- package/web/chunk-cqce094e.js.br +0 -0
- package/web/chunk-cqce094e.js.gz +0 -0
- package/web/chunk-ct6hkz49.js +0 -7
- package/web/chunk-ct6hkz49.js.br +0 -0
- package/web/chunk-ct6hkz49.js.gz +0 -0
- package/web/chunk-d0qb5kr7.js +0 -1
- package/web/chunk-d0qb5kr7.js.br +0 -0
- package/web/chunk-d0qb5kr7.js.gz +0 -0
- package/web/chunk-d9c65yrg.js +0 -1
- package/web/chunk-d9c65yrg.js.br +0 -0
- package/web/chunk-d9c65yrg.js.gz +0 -0
- package/web/chunk-dfv95z6w.js +0 -1
- package/web/chunk-dfv95z6w.js.br +0 -0
- package/web/chunk-dfv95z6w.js.gz +0 -0
- package/web/chunk-ece0ex2b.js +0 -2
- package/web/chunk-ece0ex2b.js.br +0 -0
- package/web/chunk-ece0ex2b.js.gz +0 -0
- package/web/chunk-ejrsh0nz.js +0 -1
- package/web/chunk-ejrsh0nz.js.br +0 -2
- package/web/chunk-ejrsh0nz.js.gz +0 -0
- package/web/chunk-ekcnhcm0.js +0 -1
- package/web/chunk-ekcnhcm0.js.br +0 -0
- package/web/chunk-ekcnhcm0.js.gz +0 -0
- package/web/chunk-eq4skc30.js +0 -1
- package/web/chunk-eq4skc30.js.br +0 -0
- package/web/chunk-eq4skc30.js.gz +0 -0
- package/web/chunk-ev6xj0qs.js +0 -1142
- package/web/chunk-ev6xj0qs.js.br +0 -0
- package/web/chunk-ev6xj0qs.js.gz +0 -0
- package/web/chunk-ezx3f7hw.js +0 -1
- package/web/chunk-ezx3f7hw.js.br +0 -0
- package/web/chunk-ezx3f7hw.js.gz +0 -0
- package/web/chunk-f0kc6vf9.js +0 -2
- package/web/chunk-f0kc6vf9.js.br +0 -0
- package/web/chunk-f0kc6vf9.js.gz +0 -0
- package/web/chunk-fabemrkx.js +0 -1
- package/web/chunk-fabemrkx.js.br +0 -0
- package/web/chunk-fabemrkx.js.gz +0 -0
- package/web/chunk-faestmhg.js +0 -89
- package/web/chunk-faestmhg.js.br +0 -0
- package/web/chunk-faestmhg.js.gz +0 -0
- package/web/chunk-g5ngaf53.js +0 -2
- package/web/chunk-g5ngaf53.js.br +0 -0
- package/web/chunk-g5ngaf53.js.gz +0 -0
- package/web/chunk-gcyhcbej.js +0 -1
- package/web/chunk-gcyhcbej.js.br +0 -2
- package/web/chunk-gcyhcbej.js.gz +0 -0
- package/web/chunk-ggfwnr7a.js +0 -1
- package/web/chunk-ggfwnr7a.js.br +0 -0
- package/web/chunk-ggfwnr7a.js.gz +0 -0
- package/web/chunk-gp3356tf.js +0 -2
- package/web/chunk-gp3356tf.js.br +0 -0
- package/web/chunk-gp3356tf.js.gz +0 -0
- package/web/chunk-gw1d4wmd.js +0 -1
- package/web/chunk-gw1d4wmd.js.br +0 -0
- package/web/chunk-gw1d4wmd.js.gz +0 -0
- package/web/chunk-hmc93mm5.js +0 -1
- package/web/chunk-hmc93mm5.js.br +0 -0
- package/web/chunk-hmc93mm5.js.gz +0 -0
- package/web/chunk-hn9rxtn8.js +0 -8
- package/web/chunk-hn9rxtn8.js.br +0 -0
- package/web/chunk-hn9rxtn8.js.gz +0 -0
- package/web/chunk-hrng3h6w.js +0 -1
- package/web/chunk-hrng3h6w.js.br +0 -2
- package/web/chunk-hrng3h6w.js.gz +0 -0
- package/web/chunk-hxyxfhhs.js +0 -1
- package/web/chunk-hxyxfhhs.js.br +0 -2
- package/web/chunk-hxyxfhhs.js.gz +0 -0
- package/web/chunk-j94hffw3.js +0 -2
- package/web/chunk-j94hffw3.js.br +0 -0
- package/web/chunk-j94hffw3.js.gz +0 -0
- package/web/chunk-jrh3s3f5.js +0 -370
- package/web/chunk-jrh3s3f5.js.br +0 -0
- package/web/chunk-jrh3s3f5.js.gz +0 -0
- package/web/chunk-jw830br8.js +0 -106
- package/web/chunk-jw830br8.js.br +0 -0
- package/web/chunk-jw830br8.js.gz +0 -0
- package/web/chunk-k3whmjng.js +0 -1
- package/web/chunk-k3whmjng.js.br +0 -0
- package/web/chunk-k3whmjng.js.gz +0 -0
- package/web/chunk-kgfzf3q8.js +0 -1
- package/web/chunk-kgfzf3q8.js.br +0 -0
- package/web/chunk-kgfzf3q8.js.gz +0 -0
- package/web/chunk-kqpj6dnm.js +0 -2
- package/web/chunk-kqpj6dnm.js.br +0 -0
- package/web/chunk-kqpj6dnm.js.gz +0 -0
- package/web/chunk-kvz46sd7.js +0 -2
- package/web/chunk-kvz46sd7.js.br +0 -0
- package/web/chunk-kvz46sd7.js.gz +0 -0
- package/web/chunk-magq6xms.js +0 -36
- package/web/chunk-magq6xms.js.br +0 -0
- package/web/chunk-magq6xms.js.gz +0 -0
- package/web/chunk-mtzj1zyw.js +0 -2
- package/web/chunk-mtzj1zyw.js.br +0 -0
- package/web/chunk-mtzj1zyw.js.gz +0 -0
- package/web/chunk-my778zsk.js +0 -1
- package/web/chunk-my778zsk.js.br +0 -0
- package/web/chunk-my778zsk.js.gz +0 -0
- package/web/chunk-mzevfdmp.js +0 -1
- package/web/chunk-mzevfdmp.js.br +0 -0
- package/web/chunk-mzevfdmp.js.gz +0 -0
- package/web/chunk-n5hvbjdt.js +0 -3
- package/web/chunk-n5hvbjdt.js.br +0 -0
- package/web/chunk-n5hvbjdt.js.gz +0 -0
- package/web/chunk-n6wz1xv2.js +0 -84
- package/web/chunk-n6wz1xv2.js.br +0 -0
- package/web/chunk-n6wz1xv2.js.gz +0 -0
- package/web/chunk-nfz5qmem.js +0 -1
- package/web/chunk-nfz5qmem.js.br +0 -0
- package/web/chunk-nfz5qmem.js.gz +0 -0
- package/web/chunk-p01t2t8w.js +0 -1
- package/web/chunk-p01t2t8w.js.br +0 -0
- package/web/chunk-p01t2t8w.js.gz +0 -0
- package/web/chunk-pa0sqjjk.js +0 -1
- package/web/chunk-pa0sqjjk.js.br +0 -0
- package/web/chunk-pa0sqjjk.js.gz +0 -0
- package/web/chunk-pczbf6w0.js +0 -200
- package/web/chunk-pczbf6w0.js.br +0 -0
- package/web/chunk-pczbf6w0.js.gz +0 -0
- package/web/chunk-pss11x84.js +0 -7
- package/web/chunk-pss11x84.js.br +0 -0
- package/web/chunk-pss11x84.js.gz +0 -0
- package/web/chunk-psymen6a.js +0 -1
- package/web/chunk-psymen6a.js.br +0 -0
- package/web/chunk-psymen6a.js.gz +0 -0
- package/web/chunk-q5rd9d4z.js +0 -1
- package/web/chunk-q5rd9d4z.js.br +0 -0
- package/web/chunk-q5rd9d4z.js.gz +0 -0
- package/web/chunk-qb820yv8.js +0 -1
- package/web/chunk-qb820yv8.js.br +0 -0
- package/web/chunk-qb820yv8.js.gz +0 -0
- package/web/chunk-qcacb7rs.js +0 -1
- package/web/chunk-qcacb7rs.js.br +0 -0
- package/web/chunk-qcacb7rs.js.gz +0 -0
- package/web/chunk-qhwsegs1.js +0 -1
- package/web/chunk-qhwsegs1.js.br +0 -0
- package/web/chunk-qhwsegs1.js.gz +0 -0
- package/web/chunk-qm88s0at.js +0 -30
- package/web/chunk-qm88s0at.js.br +0 -0
- package/web/chunk-qm88s0at.js.gz +0 -0
- package/web/chunk-qpmyxj27.js +0 -1
- package/web/chunk-qpmyxj27.js.br +0 -0
- package/web/chunk-qpmyxj27.js.gz +0 -0
- package/web/chunk-qxyanf4n.js +0 -98
- package/web/chunk-qxyanf4n.js.br +0 -0
- package/web/chunk-qxyanf4n.js.gz +0 -0
- package/web/chunk-qz8yct8b.js +0 -62
- package/web/chunk-qz8yct8b.js.br +0 -0
- package/web/chunk-qz8yct8b.js.gz +0 -0
- package/web/chunk-qzeb7kj6.js +0 -78
- package/web/chunk-qzeb7kj6.js.br +0 -0
- package/web/chunk-qzeb7kj6.js.gz +0 -0
- package/web/chunk-r827h2kc.js +0 -1
- package/web/chunk-r827h2kc.js.br +0 -2
- package/web/chunk-r827h2kc.js.gz +0 -0
- package/web/chunk-r992px5p.js +0 -4
- package/web/chunk-r992px5p.js.br +0 -0
- package/web/chunk-r992px5p.js.gz +0 -0
- package/web/chunk-rvgx4jhr.js +0 -1
- package/web/chunk-rvgx4jhr.js.br +0 -0
- package/web/chunk-rvgx4jhr.js.gz +0 -0
- package/web/chunk-rxadtk6j.js +0 -12
- package/web/chunk-rxadtk6j.js.br +0 -0
- package/web/chunk-rxadtk6j.js.gz +0 -0
- package/web/chunk-sk3ssmwp.js +0 -2
- package/web/chunk-sk3ssmwp.js.br +0 -0
- package/web/chunk-sk3ssmwp.js.gz +0 -0
- package/web/chunk-snvwfzxt.js +0 -2
- package/web/chunk-snvwfzxt.js.br +0 -0
- package/web/chunk-snvwfzxt.js.gz +0 -0
- package/web/chunk-szfzt9ph.js +0 -217
- package/web/chunk-szfzt9ph.js.br +0 -0
- package/web/chunk-szfzt9ph.js.gz +0 -0
- package/web/chunk-szwh742y.js +0 -2
- package/web/chunk-szwh742y.js.br +0 -0
- package/web/chunk-szwh742y.js.gz +0 -0
- package/web/chunk-t9hnp1zd.js +0 -2
- package/web/chunk-t9hnp1zd.js.br +0 -3
- package/web/chunk-t9hnp1zd.js.gz +0 -0
- package/web/chunk-tanv869p.js +0 -120
- package/web/chunk-tanv869p.js.br +0 -0
- package/web/chunk-tanv869p.js.gz +0 -0
- package/web/chunk-tpps3mfw.js +0 -139
- package/web/chunk-tpps3mfw.js.br +0 -0
- package/web/chunk-tpps3mfw.js.gz +0 -0
- package/web/chunk-txb5yf8n.js +0 -1
- package/web/chunk-txb5yf8n.js.br +0 -0
- package/web/chunk-txb5yf8n.js.gz +0 -0
- package/web/chunk-v3vqv74s.js +0 -1
- package/web/chunk-v3vqv74s.js.br +0 -0
- package/web/chunk-v3vqv74s.js.gz +0 -0
- package/web/chunk-v5q92q5d.js +0 -1
- package/web/chunk-v5q92q5d.js.br +0 -0
- package/web/chunk-v5q92q5d.js.gz +0 -0
- package/web/chunk-vayamfxv.js +0 -1
- package/web/chunk-vayamfxv.js.br +0 -0
- package/web/chunk-vayamfxv.js.gz +0 -0
- package/web/chunk-vrakntde.js +0 -21
- package/web/chunk-vrakntde.js.br +0 -0
- package/web/chunk-vrakntde.js.gz +0 -0
- package/web/chunk-we9q8a9q.js +0 -2
- package/web/chunk-we9q8a9q.js.br +0 -0
- package/web/chunk-we9q8a9q.js.gz +0 -0
- package/web/chunk-wgezeg5k.js +0 -2
- package/web/chunk-wgezeg5k.js.br +0 -0
- package/web/chunk-wgezeg5k.js.gz +0 -0
- package/web/chunk-wh028xj6.js +0 -142
- package/web/chunk-wh028xj6.js.br +0 -0
- package/web/chunk-wh028xj6.js.gz +0 -0
- package/web/chunk-whprx2wg.js +0 -1
- package/web/chunk-whprx2wg.js.br +0 -0
- package/web/chunk-whprx2wg.js.gz +0 -0
- package/web/chunk-wjv2q7b1.js +0 -2
- package/web/chunk-wjv2q7b1.js.br +0 -0
- package/web/chunk-wjv2q7b1.js.gz +0 -0
- package/web/chunk-wydnkdtp.js +0 -89
- package/web/chunk-wydnkdtp.js.br +0 -0
- package/web/chunk-wydnkdtp.js.gz +0 -0
- package/web/chunk-x0zvwdq6.js +0 -2
- package/web/chunk-x0zvwdq6.js.br +0 -0
- package/web/chunk-x0zvwdq6.js.gz +0 -0
- package/web/chunk-x9b1052x.js +0 -2
- package/web/chunk-x9b1052x.js.br +0 -0
- package/web/chunk-x9b1052x.js.gz +0 -0
- package/web/chunk-xwyvptzt.js +0 -2
- package/web/chunk-xwyvptzt.js.br +0 -0
- package/web/chunk-xwyvptzt.js.gz +0 -0
- package/web/chunk-ya7gs2bv.js +0 -1
- package/web/chunk-ya7gs2bv.js.br +0 -0
- package/web/chunk-ya7gs2bv.js.gz +0 -0
- package/web/chunk-yjan9xfw.js +0 -2
- package/web/chunk-yjan9xfw.js.br +0 -0
- package/web/chunk-yjan9xfw.js.gz +0 -0
- package/web/chunk-yqzsx086.js +0 -2
- package/web/chunk-yqzsx086.js.br +0 -0
- package/web/chunk-yqzsx086.js.gz +0 -0
- package/web/chunk-zcetrm2j.js +0 -1
- package/web/chunk-zcetrm2j.js.br +0 -3
- package/web/chunk-zcetrm2j.js.gz +0 -0
- package/web/chunk-zk1ddepw.js +0 -1
- package/web/chunk-zk1ddepw.js.br +0 -0
- package/web/chunk-zk1ddepw.js.gz +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{ie,K}from"./chunk-zwse6b6t.js";import{r,u}from"./chunk-37n62c4c.js";var nt=r(function(me){var{hasOwn:Q}=ie(),{streamCollector:oe}=ie();me.streamCollector=oe;var{buildQueryString:J,HttpResponse:G}=K(),A=u("https"),{Readable:ne}=u("stream"),O=u("http2");function M(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let n=Error(String(t));return n.name="AbortError",n}let o=Error("Request aborted");return o.name="AbortError",o}var se=["ECONNRESET","EPIPE","ETIMEDOUT"],X=(e)=>{let t={};for(let o in e){if(!Q(e,o))continue;let n=e[o];t[o]=Array.isArray(n)?n.join(","):n}return t},m={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},j=1000,re=(e,t,o=0)=>{if(!o)return-1;let n=(s)=>{let c=m.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${o} ms.`),{name:"TimeoutError"}))},o-s),a=(f)=>{if(f?.connecting)f.on("connect",()=>{m.clearTimeout(c)});else m.clearTimeout(c)};if(e.socket)a(e.socket);else e.on("socket",a)};if(o<2000)return n(0),0;return m.setTimeout(n.bind(null,j),j)},ce=(e,t,o=0,n,s)=>{if(o)return m.setTimeout(()=>{let c=`@smithy/node-http-handler - [${n?"ERROR":"WARN"}] a request has exceeded the configured ${o} ms requestTimeout.`;if(n){let a=Object.assign(Error(c),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(a),t(a)}else c+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(c)},o);return-1},ae=3000,ue=(e,{keepAlive:t,keepAliveMsecs:o},n=ae)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,o||0);else e.on("socket",(c)=>{c.setKeepAlive(t,o||0)})};if(n===0)return s(),0;return m.setTimeout(s,n)},B=3000,fe=(e,t,o=0)=>{let n=(s)=>{let c=o-s,a=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${o} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(c,a),e.on("close",()=>e.socket?.removeListener("timeout",a));else e.setTimeout(c,a)};if(0<o&&o<6000)return n(0),0;return m.setTimeout(n.bind(null,o===0?0:B),B)},W=6000;async function Y(e,t,o=W,n=!1){let s=t.headers,c=s?s.Expect||s.expect:void 0,a=-1,f=!0;if(!n&&c==="100-continue")f=await Promise.race([new Promise((d)=>{a=Number(m.setTimeout(()=>d(!0),Math.max(W,o)))}),new Promise((d)=>{e.on("continue",()=>{m.clearTimeout(a),d(!0)}),e.on("response",()=>{m.clearTimeout(a),d(!1)}),e.on("error",()=>{m.clearTimeout(a),d(!1)})})]);if(f)de(e,t.body)}function de(e,t){if(t instanceof ne){t.pipe(e);return}if(t){let o=Buffer.isBuffer(t);if(o||typeof t==="string"){if(o&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var he=0,L=void 0,z=void 0;class U{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new U(e)}static checkSocketUsage(e,t,o=console){let{sockets:n,requests:s,maxSockets:c}=e;if(typeof c!=="number"||c===1/0)return t;let a=15000;if(Date.now()-a<t)return t;if(n&&s)for(let f in n){if(!Q(n,f))continue;let d=n[f]?.length??0,g=s[f]?.length??0;if(d>=c&&g>=2*c)return o?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${d} and ${g} additional requests are enqueued.
|
|
3
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
4
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,o)=>{if(typeof e==="function")e().then((n)=>{t(this.resolveDefaultConfig(n))}).catch(o);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:o}={}){if(!this.config)this.config=await this.configProvider;let n=this.config,s=n.logger,c=e.protocol==="https:";if(!c&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((a,f)=>{let d=void 0,g=-1,p=-1,w=-1,v=-1,C=-1,_=()=>{m.clearTimeout(g),m.clearTimeout(p),m.clearTimeout(w),m.clearTimeout(v),m.clearTimeout(C)},F=async(i)=>{await d,_(),a(i)},E=async(i)=>{await d,_(),f(i)};if(t?.aborted){let i=M(t);E(i);return}let D=e.headers,H=D?(D.Expect??D.expect)==="100-continue":!1,P=c?n.httpsAgent:n.httpAgent;if(H&&!this.externalAgent)P=new(c?A.Agent:L)({keepAlive:!1,maxSockets:1/0});g=m.setTimeout(()=>{this.socketWarningTimestamp=U.checkSocketUsage(P,this.socketWarningTimestamp,s)},n.socketAcquisitionWarningTimeout??(n.requestTimeout??2000)+(n.connectionTimeout??1000));let I=e.query?J(e.query):"",b=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",h=e.password??"";b=`${i}:${h}`}let k=e.path;if(I)k+=`?${I}`;if(e.fragment)k+=`#${e.fragment}`;let y=e.hostname??"";if(y[0]==="["&&y.endsWith("]"))y=e.hostname.slice(1,-1);else y=e.hostname;let S={headers:e.headers,host:y,method:e.method,path:k,port:e.port,agent:P,auth:b},T=(c?A.request:z)(S,(i)=>{let h=new G({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:X(i.headers),body:i});F({response:h})});if(T.on("error",(i)=>{if(se.includes(i.code))E(Object.assign(i,{name:"TimeoutError"}));else E(i)}),t){let i=()=>{T.destroy();let h=M(t);E(h)};if(typeof t.addEventListener==="function"){let h=t;h.addEventListener("abort",i,{once:!0}),T.once("close",()=>h.removeEventListener("abort",i))}else t.onabort=i}let R=o??n.requestTimeout;p=re(T,E,n.connectionTimeout),w=ce(T,E,R,n.throwOnRequestTimeout,s??console),v=fe(T,E,n.socketTimeout);let l=S.agent;if(typeof l==="object"&&"keepAlive"in l)C=ue(T,{keepAlive:l.keepAlive,keepAliveMsecs:l.keepAliveMsecs});d=Y(T,e,R,this.externalAgent).catch((i)=>(_(),f(i)))})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((o)=>{if(e===Symbol.for("logger"))return{...o,logger:o.logger??t};return{...o,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:o,socketTimeout:n,socketAcquisitionWarningTimeout:s,httpAgent:c,httpsAgent:a,throwOnRequestTimeout:f,logger:d}=e||{},g=!0,p=50;return{connectionTimeout:o,requestTimeout:t,socketTimeout:n,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:f,httpAgentProvider:async()=>{let w=u("http"),{Agent:v,request:C}=w.default??w;if(z=C,L=v,c instanceof L||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new L({keepAlive:!0,maxSockets:50,...c})},httpsAgent:(()=>{if(a instanceof A.Agent||typeof a?.destroy==="function")return this.externalAgent=!0,a;return new A.Agent({keepAlive:!0,maxSockets:50,...a})})(),logger:d}}}var le=new Uint16Array(1);class N{id=le[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.setTimeout(0),this.session.destroy()}useCount(){return this.refs}}class Z{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new N(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class ee{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let o=this.getUrlString(e),n=this.getPool(o);if(!this.config.disableConcurrency&&!t.isEventStream){let d=n.poll();if(d)return d.retain(),d}let s=new N(this.connect(o)),c=s.deref();if(this.config.maxConcurrency)c.settings({maxConcurrentStreams:this.config.maxConcurrency},(d)=>{if(d)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let a=()=>{this.removeFromPoolAndClose(o,s)},f=()=>{this.removeFromPoolAndCheckedDestroy(o,s)};if(c.on("goaway",a),c.on("error",f),c.on("frameError",f),c.on("close",f),t.requestTimeout)c.setTimeout(t.requestTimeout,f);return n.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let o=this.getUrlString(e),n=new N(this.connect(o)),s=n.deref();s.settings({maxConcurrentStreams:1});let c=()=>{n.destroy()};s.on("error",c),s.on("frameError",c),s.on("close",c);let a=t.requestTimeout??300000;return s.setTimeout(a,c),n.retain(),n}destroy(){for(let[e,t]of this.connectionPools){for(let o of[...t])o.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,o]of this.connectionPools){let n=[];for(let s of o)n.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:n}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new Z;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?O.connect(e):O.connect(e,this.connectOptions)}}var{constants:V}=O;class q{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new ee({});static create(e){if(typeof e?.handle==="function")return e;return new q(e)}constructor(e){this.configProvider=new Promise((t,o)=>{if(typeof e==="function")e().then((n)=>{t(n||{})}).catch(o);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:o,isEventStream:n}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:d,maxConcurrentStreams:g,nodeHttp2ConnectOptions:p}=this.config;if(this.connectionManager.setDisableConcurrentStreams(d??!1),g)this.connectionManager.setMaxConcurrentStreams(g);if(p)this.connectionManager.setNodeHttp2ConnectOptions(p)}let{requestTimeout:s,disableConcurrentStreams:c}=this.config,a=c||n,f=o??s;return new Promise((d,g)=>{let p=!1,w=void 0,v=async(i)=>{await w,d(i)},C=async(i)=>{await w,g(i)};if(t?.aborted){p=!0;let i=M(t);C(i);return}let{hostname:_,method:F,port:E,protocol:D,query:H}=e,P="";if(e.username!=null||e.password!=null){let i=e.username??"",h=e.password??"";P=`${i}:${h}@`}let I=`${D}//${P}${_}${E?`:${E}`:""}`,b={destination:new URL(I)},k={requestTimeout:this.config?.sessionTimeout,isEventStream:n},y=a?this.connectionManager.createIsolatedSession(b,k):this.connectionManager.lease(b,k),S=y.deref(),x=(i)=>{if(a)y.destroy();p=!0,C(i)},T=H?J(H):"",R=e.path;if(T)R+=`?${T}`;if(e.fragment)R+=`#${e.fragment}`;let l=S.request({...e.headers,[V.HTTP2_HEADER_PATH]:R,[V.HTTP2_HEADER_METHOD]:F});if(f)l.setTimeout(f,()=>{l.close();let i=Error(`Stream timed out because of no activity for ${f} ms`);i.name="TimeoutError",x(i)});if(t){let i=()=>{l.close();let h=M(t);x(h)};if(typeof t.addEventListener==="function"){let h=t;h.addEventListener("abort",i,{once:!0}),l.once("close",()=>h.removeEventListener("abort",i))}else t.onabort=i}l.on("frameError",(i,h,te)=>{x(Error(`Frame type id ${i} in stream id ${te} has failed with code ${h}.`))}),l.on("error",x),l.on("aborted",()=>{x(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${l.rstCode}.`))}),l.on("response",(i)=>{let h=new G({statusCode:i[":status"]??-1,headers:X(i),body:l});if(p=!0,v({response:h}),a)S.close(),l.on("end",()=>{y.destroy()})}),l.on("close",()=>{if(a)y.destroy();else this.connectionManager.release(b,y);if(!p){let i=Error("Unexpected error: http2 request did not get a response");if(S.destroyed)i.name="TimeoutError";x(i)}}),w=Y(l,e,f)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((o)=>({...o,[e]:t}))}httpHandlerConfigs(){return this.config??{}}}me.DEFAULT_REQUEST_TIMEOUT=he;me.NodeHttp2Handler=q;me.NodeHttpHandler=U});
|
|
5
|
+
export{nt};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{H}from"./chunk-h32ca6cs.js";import{_}from"./chunk-zwse6b6t.js";import{a}from"./chunk-37n62c4c.js";var m=a(H()),t=a(_());import{readFileSync as S}from"fs";var c=(e)=>async(s)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");let{roleArn:o,roleSessionName:r,webIdentityToken:i,providerId:n,policyArns:f,policy:g,durationSeconds:E}=e,{roleAssumerWithWebIdentity:l}=e;if(!l){let{getDefaultRoleAssumerWithWebIdentity:p}=await import("./chunk-mkp20bwr.js");l=p({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:{...s?.callerClientConfig,...e.parentClientConfig}},e.clientPlugins)}return l({RoleArn:o,RoleSessionName:r??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:i,ProviderId:n,PolicyArns:f,Policy:g,DurationSeconds:E})};var d="AWS_WEB_IDENTITY_TOKEN_FILE",T="AWS_ROLE_ARN",N="AWS_ROLE_SESSION_NAME",I=(e={})=>async(s)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");let o=e?.webIdentityTokenFile??process.env[d],r=e?.roleArn??process.env[T],i=e?.roleSessionName??process.env[N];if(!o||!r)throw new t.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger});let n=await c({...e,webIdentityToken:t.externalDataInterceptor?.getTokenRecord?.()[o]??S(o,{encoding:"ascii"}),roleArn:r,roleSessionName:i})(s);if(o===process.env[d])m.setCredentialFeature(n,"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN","h");return n};export{I as fromTokenFile};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{ko}from"./chunk-cfhtmr6g.js";import"./chunk-wpv679r1.js";import"./chunk-y1b98tfk.js";import{Sn,Zs}from"./chunk-ka5dtn3w.js";import{Mt,vt,Ot}from"./chunk-p99dt6kf.js";import{mt}from"./chunk-1zz6akcm.js";import{ce}from"./chunk-54zpktrq.js";import{ge}from"./chunk-2h2mvrw2.js";import{Q,ee}from"./chunk-fgpzy3fe.js";import{$e,Lt,te}from"./chunk-gz5ssvjh.js";import{J}from"./chunk-9nkb5q43.js";import{ue,Re,Ie,Y}from"./chunk-wsby70ce.js";import{W}from"./chunk-e1rfd7jn.js";var g=new Set(["openai","openai-codex","opencode","azure"]),h=16;function y(r){return ee(Q(r),"Azure OpenAI API error")}var A=(r,a,e)=>{let t=new W,i=ue(a,r.compat?.supportsMidConvoSystemMessages);return(async()=>{let n=Sn(r,e),s={role:"assistant",content:[],api:"azure-openai-responses",provider:r.provider,model:r.id,usage:{input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},stopReason:"pending",timestamp:Date.now()};try{let p=e?.apiKey;if(!p)throw Error(`No API key for provider: ${r.provider}`);let c=R(r,p,e),o=$e(Re(i.messages),r.compat?.supportsOpenAIGrammarTools??!1),m=T(r,i,e,n,o),u=await e?.onPayload?.(m,r);if(u!==void 0)m=u;let f={...e?.signal?{signal:e.signal}:{},...e?.timeoutMs!==void 0?{timeout:e.timeoutMs}:{},maxRetries:0},{data:d,response:l}=await ge(()=>c.responses.create(m,f).withResponse(),{maxRetries:e?.maxRetries,maxRetryDelayMs:e?.maxRetryDelayMs,signal:e?.signal});if(await e?.onResponse?.({status:l.status,headers:J(l.headers)},r),t.push({type:"start",partial:s}),await Ot(d,s,t,r,{onProviderStreamEvent:e?.onProviderStreamEvent,grammarToolInputProperties:o}),e?.signal?.aborted)throw Error("Request was aborted");if(s.stopReason==="pending")throw Error("Azure OpenAI Responses stream ended without a stop reason");if(s.stopReason==="aborted"||s.stopReason==="error")throw Error(s.errorMessage||"An unknown error occurred");t.push({type:"done",reason:s.stopReason,message:s}),t.end()}catch(p){for(let c of s.content)delete c.index,delete c.partialJson,delete c.customInput;s.stopReason=e?.signal?.aborted?"aborted":"error",s.errorMessage=y(p),t.push({type:"error",reason:s.stopReason,error:s}),t.end()}})(),t},z=(r,a,e)=>{let t=e?.apiKey;if(!t)throw Error(`No API key for provider: ${r.provider}`);let i={...te(r,a,e,t),toolChoice:e?.toolChoice},n=e?.reasoning?Y(r,e.reasoning):void 0;return A(r,a,{...i,reasoningEffort:n==="off"?void 0:n})};function R(r,a,e){let t={"User-Agent":ce(),...r.headers};if(e?.headers)Object.assign(t,e.headers);let{baseUrl:i,apiVersion:n}=Zs(r,e);return new ko({apiKey:a,apiVersion:n,dangerouslyAllowBrowser:!0,fetch:e?.fetch,defaultHeaders:t,baseURL:i})}function T(r,a,e,t,i=$e(Re(a.messages),r.compat?.supportsOpenAIGrammarTools??!1)){let n=r.compat?.supportsAdditionalTools??!1,s=r.compat?.supportsToolSearch??!1,p=Ie(a.messages,n||s),c=Mt(r,a,g,{grammarToolInputProperties:i,supportsMidConvoSystemMessages:r.compat?.supportsMidConvoSystemMessages??!1,supportsAdditionalTools:n,supportsToolSearch:s,toolOptions:{supportsStrictMode:r.compat?.supportsStrictMode??!0,supportsOpenAIGrammarTools:r.compat?.supportsOpenAIGrammarTools??!1}}),o={model:t,input:c,stream:!0,prompt_cache_key:mt(e?.sessionId),store:!1};if(e?.maxTokens)o.max_output_tokens=Math.max(e.maxTokens,h);if(e?.temperature!==void 0)o.temperature=e?.temperature;if(p.requestTools.length>0)o.tools=vt(p.requestTools,{supportsStrictMode:r.compat?.supportsStrictMode??!0,supportsOpenAIGrammarTools:r.compat?.supportsOpenAIGrammarTools??!1});if(e?.toolChoice!==void 0)o.tool_choice=e.toolChoice;let m=e?.reasoningEffort??(e?.reasoningSummary?"medium":void 0);if(r.reasoning){if(m){let f=e?.reasoningEffort?r.thinkingLevelMap?.[e.reasoningEffort]??e.reasoningEffort:m;o.reasoning={effort:f,summary:e?.reasoningSummary||"auto"},o.include=["reasoning.encrypted_content"]}else if(r.thinkingLevelMap?.off!==null)o.reasoning={effort:r.thinkingLevelMap?.off??"none"}}let u=Lt(r,m??"off",e?.samplingParams);if(u)Object.assign(o,u);return o}export{A as stream,z as streamSimple};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Xo}from"./chunk-wrw806wb.js";import{realpath as b}from"fs/promises";import{basename as w,dirname as h,isAbsolute as v,join as y,relative as R}from"path";var k="**/*.{ts,tsx,js,jsx,mjs,cjs}",I=["node_modules",".git","dist"],E=/\b(?:FROM|JOIN|INTO|UPDATE)\s+(?:sessions|entries|projects|plugin_\w+)\b/i,m=(s)=>s instanceof Error?s.message:String(s);async function N(s,t,r){let u=await s.webBundle(t);if(!u)throw Error("Web bundle became unavailable during verification");let e=await Xo(u,t,{signal:r});if(!("slots"in e))throw Error("Invalid module inspection report");let i=[];if(e.pageNav){let{viewID:n,kind:o}=e.pageNav;if(!e.views.includes(n))i.push(`pageNav.viewID is missing from views: ${n}`);else if(o!=="page")i.push(`pageNav.viewID must reference a page view: ${n}`)}return{slots:e.slots,views:e.views,codeBlocks:e.codeBlocks,pageNav:e.pageNav??null,themes:e.themes??[],hints:i}}function B(s,t){if(!/^index\.[^.]+$/.test(w(t)))return[w(t)];return new Bun.Glob(k).scan({cwd:s,onlyFiles:!0,followSymlinks:!1})}async function W(s,t){let r=await b(h(s));for await(let u of B(r,s)){if(t?.throwIfAborted(),u.split("/").some((n)=>I.includes(n)))continue;let e=await b(y(r,u)),i=R(r,e);if(i.startsWith("..")||v(i))continue;if(E.test(await Bun.file(e).text()))return!0}return!1}async function A(s,t,r,u,e){let i=[],n={status:"skipped",errors:[]},o=[],l=[],p=[],g=null,a=[],c=null;if(t.status!=="enabled")n.reason=`Plugin is ${t.status}; enable or repair it before building.`,i.push(n.reason);else if(!t.webBundle){if(n.reason="No dynamic Web entry is declared or discovered.",r.length&&!t.builtin)i.push("Web views are registered but no Web bundle is available.")}else{let d=u??await s.buildWeb(t.id);if(!d.ok){if(n.status="failed",n.errors=d.errors,i.push("Web build failed; fix the reported errors before testing the UI."),r.length)i.push("Registered Web views cannot render while their bundle fails to build.")}else{n.status="passed";try{let f=await N(s,t.id,e);({slots:o,views:l,codeBlocks:p,pageNav:g,themes:a}=f),i.push(...f.hints)}catch(f){e?.throwIfAborted(),c=m(f),i.push(`Web module inspection failed: ${c}`)}}}if(n.status==="passed"&&!c){for(let{view:d}of r)if(d&&!l.includes(d))i.push(`Registered view is missing from Web module: ${d}`)}return{build:n,slots:o,views:l,codeBlocks:p,pageNav:g,themes:a,moduleError:c,hints:i}}async function D(s,t,r,u){r?.throwIfAborted();let e=s.list().find((a)=>a.id===t);if(!e)throw Error(`Unknown plugin: ${t}. Load the plugin before verifying it.`);let i=(e.web??[]).map(({id:a,kind:c,view:d,title:f})=>({id:a,kind:c,view:d,title:f})),n=e.registrations.filter((a)=>a.kind==="route"||a.kind==="websocket"),o=await A(s,e,i,u,r),l=[...o.hints],p=s.sourceEntry(t);if(p&&!e.builtin)try{if(await W(p,r))l.push("\u5BBF\u4E3B\u8868\u4E0D\u662F\u7A33\u5B9A\u5951\u7EA6\uFF0C\u6539\u7528 b.sessions")}catch(a){r?.throwIfAborted(),l.push(`Plugin source scan failed: ${m(a)}`)}if(e.error)l.push("The host reports a plugin error; a previous generation may still be active.");if(n.length)l.push("Routes were not invoked. Use request with explicit inputs to check status and JSON responses.");let g=s.list().find((a)=>a.id===t);if(g?.webRevision!==e.webRevision||g?.status!==e.status)l.push("The plugin changed during verification; rerun verify for a consistent generation.");return{id:t,setup:{ok:e.status==="enabled"&&!e.error,status:e.status,error:e.error??null},registrations:e.registrations,web:{bundle:e.webBundle??!1,build:o.build,slots:o.slots,views:o.views,codeBlocks:o.codeBlocks,pageNav:o.pageNav,themes:o.themes,contributions:i,moduleError:o.moduleError},routes:n,hints:l}}export{D as verifyPlugin};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{u}from"./chunk-37n62c4c.js";var n=null;function c(e){if(typeof process>"u"||!process.versions?.bun||Object.keys(process.env).length>0)return;if(n===null){n=new Map;try{let{readFileSync:t}=u("fs"),s=t("/proc/self/environ","utf-8");for(let r of s.split("\x00")){let o=r.indexOf("=");if(o>0)n.set(r.slice(0,o),r.slice(o+1))}}catch{}}return n.get(e)}function E(e,t){return t?.[e]||(typeof process<"u"?process.env[e]:void 0)||c(e)||void 0}
|
|
3
|
+
export{E};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{$r}from"./chunk-cezgvpja.js";var y=Promise.resolve(),M=60000,T=1e4,E=(r)=>r instanceof Error?r.message:String(r);function R(){return new Worker(new URL("./ui-test-worker.js",import.meta.url))}function I(r,e,t){if(!Number.isInteger(e)||e<1||e>t)throw Error(`${r} must be between 1 and ${t}`)}async function Xo(r,e,t={}){let l=t.timeoutMs??M,u=t.importTimeoutMs??T;I("timeoutMs",l,M),I("importTimeoutMs",u,T);let i=y,p=Promise.withResolvers();y=i.then(()=>p.promise);let o=new AbortController,n=t.signal?AbortSignal.any([t.signal,o.signal]):o.signal,g,b,f,w=new Map,c=Promise.withResolvers(),k=()=>c.reject(n.reason??Error("UI test cancelled"));n.addEventListener("abort",k,{once:!0});async function h(d,s){let m=new AbortController;w.set(s.id,m);try{if(!t.runtime)throw Error("API unavailable during module inspection");let a=await $r(t.runtime,s.input,AbortSignal.any([n,m.signal]));if(!n.aborted)d.postMessage({type:"response",id:s.id,response:a})}catch(a){if(!n.aborted)d.postMessage({type:"response",id:s.id,error:E(a)})}finally{w.delete(s.id)}}try{n.throwIfAborted(),f=setTimeout(()=>o.abort(Error(`UI execution timed out after ${l}ms`)),l),await Promise.race([i,c.promise]),n.throwIfAborted();let d=typeof r==="string"?{source:r,css:t.css}:await Promise.race([r(),c.promise.then(()=>{throw Error("Worker finished before startup")})]);n.throwIfAborted();let s=R();return g=s,s.onerror=(m)=>c.reject(Error(m.message)),s.onmessage=(m)=>{let a=m.data;switch(a.type){case"importing":b=setTimeout(()=>o.abort(Error(`UI import timed out after ${u}ms`)),u);break;case"imported":clearTimeout(b);break;case"done":c.resolve(a.result);break;case"error":c.reject(Error(a.error));break;case"cancel":w.get(a.id)?.abort();break;case"request":h(s,a);break}},s.postMessage({type:"start",...d,id:e,input:t.input}),await c.promise}finally{clearTimeout(f),clearTimeout(b),n.removeEventListener("abort",k),o.abort();for(let d of w.values())d.abort();g?.terminate(),p.resolve()}}async function Ja(r,e,t){t?.throwIfAborted();let l=r.plugins.list().find((o)=>o.id===e.id);if(l?.status!=="enabled")throw Error("Load and enable the plugin before ui_test");if([e.slot,e.view,e.codeBlock].filter(Boolean).length!==1)throw Error("ui_test requires exactly one of slot, view or codeBlock");let u=e.view?l.web?.find((o)=>o.view===e.view):void 0;if(e.view&&u&&e.kind&&u.kind!==e.kind)throw Error(`View kind mismatch: expected ${u.kind}, got ${e.kind}`);let i=e.kind??u?.kind;if(i!==void 0&&i!=="page"&&i!=="tab"&&i!=="card"&&i!=="sidebar")throw Error(`Unsupported view kind: ${i}`);let p=await Xo(async()=>{let o=await r.plugins.webBundle(e.id);if(!o)throw Error("Plugin has no dynamic Web bundle");let n=await r.plugins.webCSS(e.id);return{source:o,css:n}},e.id,{input:{...e,kind:i},runtime:r,signal:t,timeoutMs:e.timeoutMs,importTimeoutMs:e.importTimeoutMs});if(!("steps"in p))throw Error("Worker returned an invalid UI report");return p}
|
|
3
|
+
export{Xo,Ja};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{W,yt}from"./chunk-e1rfd7jn.js";function N(e,t,r){return{role:"assistant",content:[],api:e.api,provider:e.provider,model:e.id,usage:{input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},stopReason:"error",errorMessage:t instanceof Error?t.message:String(t),timestamp:r}}function H(e){return typeof e.result==="function"}async function z(e,t){for await(let r of t)e.push(r);e.end(H(t)?await t.result():void 0)}function Ge(e,t){let r=Date.now(),n=new W;return t().then((s)=>z(n,s)).catch((s)=>{let o=N(e,s,r);n.push({type:"error",reason:"error",error:o}),n.end(o)}),n}function ae(e,t){let r={stream:(n,s,o)=>Ge(n,async()=>(await e()).stream(n,s,o)),streamSimple:(n,s,o)=>Ge(n,async()=>(await e()).streamSimple(n,s,o))};if(t?.fetchDeferred)r.fetchDeferred=(n,s,o)=>Ge(n,async()=>{let i=await e();if(!i.fetchDeferred)throw Error("API does not support deferred responses");return i.fetchDeferred(n,s,o)});if(t?.cancelDeferred)r.cancelDeferred=async(n,s,o)=>{let i=await e();if(!i.cancelDeferred)throw Error("API cannot cancel deferred responses");await i.cancelDeferred(n,s,o)};return r}var F=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,s,o,i){return n?t?".jsx":".js":s&&(!o||!i)?r:s+o+"."+i.toLowerCase()+"js"});return e},D=(e)=>import(F(e));function J(){return globalThis.process?.env}function Cs(){return{async env(e){let t=J()?.[e];return typeof t==="string"&&t.trim().length>0?t:void 0},async fileExists(e){try{let t=await D("node:fs/promises"),r=e;if(r.startsWith("~"))r=(await D("node:os")).homedir()+r.slice(1);return await t.access(r),!0}catch{return!1}}}}function O(e){if(e.reason!==void 0)return e.reason;let t=Error("The operation was aborted");return t.name="AbortError",t}function g(e){return e??new AbortController().signal}function v(e,t){if(t.aborted)return e.catch(()=>{}),Promise.reject(O(t));return new Promise((r,n)=>{let s=!1,o=()=>t.removeEventListener("abort",i),i=()=>{if(s)return;s=!0,o(),n(O(t))};if(t.addEventListener("abort",i,{once:!0}),e.then((c)=>{if(s)return;s=!0,o(),r(c)},(c)=>{if(s)return;s=!0,o(),n(c)}),t.aborted)i()})}class _i{credentials=new Map;chains=new Map;enqueue(e,t,r){let n=g(r?.signal),s=this.chains.get(e)??Promise.resolve(),o=(async()=>(await s.catch(()=>{}),n.throwIfAborted(),t()))(),i=o.catch(()=>{});return this.chains.set(e,i),i.then(()=>{if(this.chains.get(e)===i)this.chains.delete(e)}),v(o,n)}async read(e,t){return t?.signal?.throwIfAborted(),this.credentials.get(e)}async list(e){return e?.signal?.throwIfAborted(),[...this.credentials].map(([t,r])=>({providerId:t,type:r.type}))}modify(e,t,r){return this.enqueue(e,async()=>{let n=this.credentials.get(e),s=await t(n);if(r?.signal?.throwIfAborted(),s!==void 0)this.credentials.set(e,s);return s??n},r)}delete(e,t){return this.enqueue(e,async()=>{this.credentials.delete(e)},t)}}class j extends Error{code;constructor(e,t,r){super(V(t,r?.cause),r);this.name="ModelsError",this.code=e}}function V(e,t){if(t===void 0||t===null)return e;let r=yt(t).trim();if(!r||e.includes(r))return e;return`${e}: ${r}`}function P(e,t,r,n){let s=g(n?.signal);return v(X(e,t,r,n,s),s)}async function X(e,t,r,n,s){s.throwIfAborted();let o=n?.env?B(r,n.env):r;if(n?.apiKey!==void 0&&e.auth.apiKey)return C(o,e.auth.apiKey,e.id,{type:"api_key",key:n.apiKey,env:n.env},s);let i=await te(t,e.id,s);if(i){if(i.type==="oauth"&&e.auth.oauth)return ee(t,e.id,e.auth.oauth,i,s,n?.minOAuthValidityMs);if(i.type==="api_key"&&e.auth.apiKey){let c=n?.env?{...i,env:{...i.env,...n.env}}:i;return C(o,e.auth.apiKey,e.id,c,s)}return}return e.auth.apiKey?C(o,e.auth.apiKey,e.id,void 0,s):void 0}function B(e,t){return{env:async(r)=>t[r]||await e.env(r),fileExists:(r)=>e.fileExists(r)}}var Q=300000,Z=15000;async function E(e,t,r,n,s){let o,i=new AbortController,c=()=>i.abort(s.reason);if(s.addEventListener("abort",c,{once:!0}),s.aborted)c();try{o=await e.modify(t,async(u)=>{if(s.removeEventListener("abort",c),s.throwIfAborted(),u?.type!=="oauth")return;if(!n(u))return;try{return await r.refresh(u,AbortSignal.timeout(Z))}catch(f){throw new j("oauth",`OAuth refresh failed for ${t}`,{cause:f})}},{signal:i.signal})}catch(u){if(u instanceof j)throw u;throw s.throwIfAborted(),new j("auth",`Credential store modify failed for ${t}`,{cause:u})}finally{s.removeEventListener("abort",c)}return o?.type==="oauth"?o:void 0}async function ee(e,t,r,n,s,o){let i=Math.max(Q,o??0),c=(f)=>Date.now()+i>=f.expires,u=n;if(c(u)){let f=await E(e,t,r,c,s);if(!f)return;if(u=f,o!==void 0&&c(u))throw new j("oauth",`OAuth refresh returned a token that expires too soon for ${t}`)}try{return{auth:await r.toAuth(u),source:"OAuth"}}catch(f){throw new j("oauth",`OAuth auth derivation failed for ${t}`,{cause:f})}}async function C(e,t,r,n,s){try{return await t.resolve({ctx:e,credential:n,signal:s})}catch(o){throw new j("auth",`API key auth failed for provider ${r}`,{cause:o})}}async function te(e,t,r){try{return await e.read(t,{signal:r})}catch(n){throw new j("auth",`Credential store read failed for ${t}`,{cause:n})}}class Ei{entries=new Map;async read(e,t){t?.signal?.throwIfAborted();let r=this.entries.get(e);return r?structuredClone(r):void 0}async write(e,t,r){r?.signal?.throwIfAborted(),this.entries.set(e,structuredClone(t))}async delete(e,t){t?.signal?.throwIfAborted(),this.entries.delete(e)}}function Ft(e){return e.type??"chat"}function Ve(e,t){return Ft(e)===t}function R(e){if(!Ve(e,"chat"))throw new j("provider",`Model ${e.provider}/${e.id} is not a chat model`)}function q(e){if(!Ve(e,"image"))throw new j("provider",`Model ${e.provider}/${e.id} is not an image model`)}function _(e){if(!Ve(e,"classifier"))throw new j("provider",`Model ${e.provider}/${e.id} is not a classifier model`)}function K(e,t){if(t.images?.length&&!e.input.includes("image"))throw new j("provider",`Model ${e.provider}/${e.id} does not accept image input`)}function T(e,t,r=!1){return{api:e.api,provider:e.provider,model:e.id,output:[],stopReason:r?"aborted":"error",errorMessage:t instanceof Error?t.message:String(t),timestamp:Date.now()}}function k(e,t,r=!1){return{api:e.api,provider:e.provider,model:e.id,answers:{},stopReason:r?"aborted":"error",errorMessage:t instanceof Error?t.message:String(t),timestamp:Date.now()}}function ln(e,t=`
|
|
3
|
+
`){if(typeof e==="string")return e;return e.filter((r)=>r.type==="text").map((r)=>r.text).join(t)}function G(e){let t=[ln(e.content)];for(let r of Object.values(e.sections??{}))if(r!==null)t.push(r);return t.filter((r)=>r.length>0).join(`
|
|
4
|
+
|
|
5
|
+
`)}function Ke(e){let t=[],r=ln(e.content);if(r.length>0)t.push(r);for(let[n,s]of Object.entries(e.sections??{}))t.push(s===null?`Removed system prompt section "${n}".`:`Updated system prompt section "${n}":
|
|
6
|
+
|
|
7
|
+
${s}`);return t.join(`
|
|
8
|
+
|
|
9
|
+
`)}function Ai(e,t){let r=e!==void 0&&e.length>0,n=t!==void 0&&t.length>0;if(!r&&!n)return;return{role:"system",content:e??"",...n?{toolsAdded:t}:{},timestamp:0}}function Bt(e){let t=Ai(e.systemPrompt,e.tools);return{messages:t?[t,...e.messages]:e.messages}}function b(e){return e.role==="system"}function ve(e){let t=e[0];return t&&b(t)?t:void 0}function Pr(e){return ve(e)?e.slice(1):e}function me(e){let t=new Map;for(let r of e){if(!b(r))continue;for(let n of r.toolsRemoved??[])t.delete(n.name);for(let n of r.toolsAdded??[])t.set(n.name,n)}return[...t.values()]}function so(e){let t=[],r=new Map,n;for(let o of e){if(!b(o))continue;n??=o.timestamp;let i=ln(o.content);if(i.length>0)t.push(i);for(let[c,u]of Object.entries(o.sections??{}))if(u===null)r.delete(c);else r.set(c,u)}let s=me(e);if(n===void 0&&s.length===0)return;return{role:"system",content:t.join(`
|
|
10
|
+
|
|
11
|
+
`),...r.size>0?{sections:Object.fromEntries(r)}:{},...s.length>0?{toolsAdded:s}:{},timestamp:n??0}}function Rs(e){let t=so(e);return t?G(t):""}function Qe(e){let t=so(e.messages),r=e.messages.filter((n)=>n.role!=="system");return{messages:t?[t,...r]:r}}function ue(e,t){return t?e:Qe(e)}function Pt(e){return{name:e.name,description:e.description,parameters:JSON.parse(JSON.stringify(e.parameters)),...e.constrainedSampling===void 0?{}:{constrainedSampling:e.constrainedSampling}}}function Ti(e,t){return JSON.stringify(Pt(e))===JSON.stringify(Pt(t))}function Is(e,t){let r=new Map(e.map((s)=>[s.name,s])),n=new Map(t.map((s)=>[s.name,s]));return{toolsAdded:t.filter((s)=>{let o=r.get(s.name);return o===void 0||!Ti(o,s)}).map(Pt),toolsRemoved:e.filter((s)=>{let o=n.get(s.name);return o===void 0||!Ti(s,o)}).map((s)=>({name:s.name}))}}function Re(e){let t=new Map;for(let r of e){if(!b(r))continue;for(let n of r.toolsAdded??[])t.set(n.name,n)}return[...t.values()]}function Qa(e){let t=new Map;for(let r of e){if(!b(r))continue;for(let n of r.toolsAdded??[]){let s=t.get(n.name);if(s!==void 0&&!Ti(s,n))return!0;t.set(n.name,n)}}return!1}function ja(e){let t=new Set;for(let r of e){if(!b(r))continue;if((r.toolsRemoved?.length??0)>0)return!0;for(let n of r.toolsAdded??[]){if(t.has(n.name))return!0;t.add(n.name)}}return!1}function Ie(e,t){let r=t&&!ja(e);return{requestTools:r?ve(e)?.toolsAdded??[]:me(e),anchorsAdditions:r}}var re={chat:!0,image:!0,classifier:!0};function L(e){return Object.hasOwn(re,Ft(e))}function se(e){return{...e,models:e.models.filter(L)}}function I(e,t){if(!e&&!t)return;let r={...e};for(let[n,s]of Object.entries(t??{})){let o=n.toLowerCase();for(let i of Object.keys(r))if(i.toLowerCase()===o)delete r[i];r[n]=s}return r}class U{providers=new Map;credentials;modelsStore;authContext;refreshGenerations=new Map;refreshControllers=new Map;publicationChains=new Map;constructor(e){this.credentials=e?.credentials??new _i,this.modelsStore=e?.modelsStore??new Ei,this.authContext=e?.authContext??Cs()}setProvider(e){this.supersedeProviderRefresh(e.id),this.providers.set(e.id,e)}deleteProvider(e){this.supersedeProviderRefresh(e),this.providers.delete(e)}clearProviders(){for(let e of new Set([...this.providers.keys(),...this.refreshControllers.keys()]))this.supersedeProviderRefresh(e);this.providers.clear()}getProviders(){return Array.from(this.providers.values())}getProvider(e){return this.providers.get(e)}getModels(e){if(e!==void 0){let r=this.providers.get(e);if(!r)return[];try{return r.getModels()}catch{return[]}}let t=[];for(let r of this.providers.values())try{t.push(...r.getModels())}catch{}return t}getAllModels(e){if(e!==void 0){let r=this.providers.get(e);if(!r)return[];try{return r.getAllModels?.()??r.getModels()}catch{return[]}}let t=[];for(let r of this.providers.values())try{t.push(...r.getAllModels?.()??r.getModels())}catch{}return t}getModelsOfType(e,t){return this.getAllModels(t).filter((r)=>Ve(r,e))}getModel(e,t){return this.getModels(e).find((r)=>r.id===t)}getModelOfType(e,t,r){return this.getModelsOfType(e,t).find((n)=>n.id===r)}supersedeProviderRefresh(e){let t=(this.refreshGenerations.get(e)??0)+1;this.refreshGenerations.set(e,t);let r=this.refreshControllers.get(e);if(r)this.refreshControllers.delete(e),r.abort();return t}beginProviderRefresh(e){let t=this.supersedeProviderRefresh(e),r=new AbortController;return this.refreshControllers.set(e,r),{generation:t,controller:r}}publishProviderModels(e,t,r,n){let s=this.publicationChains.get(e)??Promise.resolve(),o=(async()=>{if(await s.catch(()=>{}),r.aborted||this.refreshGenerations.get(e)!==t)return!1;if(n.persist===null)await this.modelsStore.delete(e,{signal:r});else if(n.persist!==void 0)await this.modelsStore.write(e,structuredClone(n.persist),{signal:r});if(r.aborted||this.refreshGenerations.get(e)!==t)return!1;return n.update?.(),!0})(),i=o.catch(()=>{});return this.publicationChains.set(e,i),i.then(()=>{if(this.publicationChains.get(e)===i)this.publicationChains.delete(e)}),v(o,r)}async runProviderRefreshPhase(e,t,r,n,s,o){let i=await this.modelsStore.read(e.id,{signal:o});await e.refreshModels({credential:t,stored:i?se(structuredClone(i)):void 0,publish:(c)=>this.publishProviderModels(e.id,s,o,c),allowNetwork:r,force:r?n:void 0,signal:o,baseUrl:e.baseUrl})}async refresh(e={}){let t=e.allowNetwork??!0,r=g(e.signal),n=new Map;if(r.aborted)return{aborted:!0,errors:n};let s=e.providers?new Set(e.providers):void 0,o=Array.from(this.providers.values()).filter((c)=>c.refreshModels!==void 0&&(!s||s.has(c.id))),i=Promise.all(o.map(async(c)=>{let{generation:u,controller:f}=this.beginProviderRefresh(c.id),p=AbortSignal.any([r,f.signal]),A=(async()=>{let w,y;try{w=await this.readCredential(c.id,p)}catch(a){y=a}if(await this.runProviderRefreshPhase(c,w,!1,void 0,u,p),y!==void 0)throw y;if(!t||p.aborted)return;let M=await this.resolveRefreshCredential(c,w,p);if(!M)return;await this.runProviderRefreshPhase(c,M,!0,e.force,u,p)})();try{await v(A,p)}catch(w){if(!p.aborted)n.set(c.id,w instanceof Error?w:new j("model_source",`Model refresh failed for ${c.id}`,{cause:w}))}finally{if(this.refreshControllers.get(c.id)===f)this.refreshControllers.delete(c.id)}}));try{await v(i,r)}catch(c){if(!r.aborted)throw c}return{aborted:r.aborted,errors:new Map(n)}}async resolveRefreshCredential(e,t,r){if(t?.type==="oauth"){let i=e.auth.oauth;if(!i)return;if(Date.now()<t.expires)return t;if(r.aborted)return;return E(this.credentials,e.id,i,(c)=>Date.now()>=c.expires,r)}let n=e.auth.apiKey;if(!n)return;let s=t?.type==="api_key"?t:void 0,o=await n.resolve({ctx:this.authContext,credential:s,signal:r});if(!o)return;return{type:"api_key",key:o.auth.apiKey,env:o.env}}async readCredential(e,t){try{return await this.credentials.read(e,{signal:t})}catch(r){throw new j("auth",`Credential store read failed for ${e}`,{cause:r})}}async checkProviderAuth(e,t,r){if(t?.type==="oauth")return e.auth.oauth?{source:"OAuth",type:"oauth"}:void 0;let n=e.auth.apiKey;if(!n)return;if(n.check)try{return await n.check({ctx:this.authContext,credential:t?.type==="api_key"?t:void 0,signal:r})}catch(o){throw new j("auth",`API key auth check failed for provider ${e.id}`,{cause:o})}let s=await P(e,this.credentials,this.authContext,{signal:r});return s?{source:s.source,type:"api_key"}:void 0}checkAuth(e,t){let r=g(t?.signal),n=(async()=>{r.throwIfAborted();let s=this.providers.get(e);if(!s)return;return this.checkProviderAuth(s,await this.readCredential(e,r),r)})();return v(n,r)}async getAuthenticatedProviders(e,t){t.throwIfAborted();let r=e?[this.providers.get(e)].filter((s)=>s!==void 0):this.getProviders();return(await Promise.all(r.map(async(s)=>{let o=await this.readCredential(s.id,t);return{provider:s,credential:o,auth:await this.checkProviderAuth(s,o,t)}}))).filter((s)=>s.auth!==void 0)}getAvailable(e,t){let r=g(t?.signal),n=(async()=>(await this.getAuthenticatedProviders(e,r)).flatMap(({provider:o,credential:i})=>{let c=o.getModels();return o.filterModels?.(c,i)??c}))();return v(n,r)}async getAvailableOfType(e,t,r){return(await this.getAllAvailable(t,r)).filter((n)=>Ve(n,e))}getAllAvailable(e,t){let r=g(t?.signal),n=(async()=>(await this.getAuthenticatedProviders(e,r)).flatMap(({provider:o,credential:i})=>{let c=o.getAllModels?.()??o.getModels();if(o.filterAllModels)return o.filterAllModels(c,i);if(!o.filterModels)return c;let u=new Set(o.filterModels(o.getModels(),i).map((f)=>f.id));return c.filter((f)=>!Ve(f,"chat")||u.has(f.id))}))();return v(n,r)}async getAuth(e,t){let r=g(t?.signal),n=typeof e==="string"?e:e.provider,s=this.providers.get(n);if(!s)return;let o=await P(s,this.credentials,this.authContext,{...t,signal:r});if(!o||typeof e==="string"||!e.headers)return o;return{...o,auth:{...o.auth,headers:I(o.auth.headers,e.headers)}}}async login(e,t,r,n){let s=g(r.signal);s.throwIfAborted();let o=this.providers.get(e);if(!o)throw new j("provider",`Unknown provider: ${e}`);let i=t==="oauth"?o.auth.oauth:o.auth.apiKey;if(!i?.login)throw new j("auth",`${o.name} does not support ${t} login`);let c=i.login({...r,signal:s},n),u=await v(c,s),f=!1,p,A=new Promise((y)=>{p=y}),w=this.credentials.modify(e,async()=>(f=!0,p?.(),u),{signal:s});w.catch(()=>{});try{await new Promise((y,M)=>{let a=()=>{if(!f)M(s.reason)};if(s.addEventListener("abort",a,{once:!0}),Promise.race([A,w]).then(()=>{s.removeEventListener("abort",a),y()},(d)=>{s.removeEventListener("abort",a),M(d)}),s.aborted)a()}),await w}catch(y){throw s.throwIfAborted(),new j("auth",`Credential store modify failed for ${e}`,{cause:y})}return u}async logout(e,t){let r=g(t?.signal);r.throwIfAborted();try{await this.credentials.delete(e,{signal:r})}catch(n){throw r.throwIfAborted(),new j("auth",`Credential store delete failed for ${e}`,{cause:n})}}requireProvider(e){let t=this.providers.get(e.provider);if(!t)throw new j("provider",`Unknown provider: ${e.provider}`);return t}requireChatProvider(e){return R(e),this.requireProvider(e)}async applyAuth(e,t){this.requireProvider(e);let r=await this.getAuth(e,{apiKey:t?.apiKey,env:t?.env,signal:t?.signal});if(!r)throw new j("auth",`Provider is not configured: ${e.provider}`);let n=r.auth,s=t?.apiKey??n.apiKey,o=I(n.headers,t?.headers);if(t?.transformHeaders)o=await t.transformHeaders(o??{});let i=r.env||t?.env?{...r.env??{},...t?.env??{}}:void 0,c=n.baseUrl?{...e,baseUrl:n.baseUrl}:e,{transformHeaders:u,...f}=t??{},p={...f,apiKey:s,headers:o,env:i};return{requestModel:c,requestOptions:p}}stream(e,t,r){let n=Bt(t);return Ge(e,async()=>{let s=this.requireChatProvider(e),{requestModel:o,requestOptions:i}=await this.applyAuth(e,r);return s.stream(o,n,i)})}async complete(e,t,r){return this.stream(e,t,r).result()}streamSimple(e,t,r){let n=Bt(t);return Ge(e,async()=>{let s=this.requireChatProvider(e),{requestModel:o,requestOptions:i}=await this.applyAuth(e,r);return s.streamSimple(o,n,i)})}async completeSimple(e,t,r){return this.streamSimple(e,t,r).result()}streamDeferred(e,t,r){return Ge(e,async()=>{let n=this.requireChatProvider(e);if(!n.fetchDeferred)throw new j("provider",`Provider ${e.provider} does not support deferred responses`);let{requestModel:s,requestOptions:o}=await this.applyAuth(e,r);return n.fetchDeferred(s,t,o)})}async fetchDeferred(e,t,r){return this.streamDeferred(e,t,r).result()}async cancelDeferred(e,t,r){let n=this.requireChatProvider(e);if(!n.cancelDeferred)throw new j("provider",`Provider ${e.provider} does not support deferred responses`);let{requestModel:s,requestOptions:o}=await this.applyAuth(e,r);await n.cancelDeferred(s,t,o)}async generateImages(e,t,r){try{q(e);let n=this.requireProvider(e);if(!n.generateImages)throw new j("provider",`Provider ${e.provider} does not support image generation`);let{requestModel:s,requestOptions:o}=await this.applyAuth(e,r);return await n.generateImages(s,t,o)}catch(n){return T(e,n,r?.signal?.aborted)}}async classify(e,t,r){try{_(e),K(e,t);let n=this.requireProvider(e);if(!n.classify)throw new j("provider",`Provider ${e.provider} does not support classification`);let{requestModel:s,requestOptions:o}=await this.applyAuth(e,r);return await n.classify(s,t,o)}catch(n){return k(e,n,r?.signal?.aborted)}}}function ki(e){return new U(e)}function m(e){let t=e.api&&typeof e.api.stream==="function"?e.api:void 0,r=t||!e.api?void 0:e.api,{images:n,classifiers:s}=e,o=t?[t]:Object.values(r??{}).filter((a)=>a!==void 0),i=Object.values(n??{}).filter((a)=>a!==void 0),c=Object.values(s??{}).filter((a)=>a!==void 0);if(o.length===0&&i.length===0&&c.length===0)throw Error(`Provider ${e.id}: at least one of "api", "images", or "classifiers" is required.`);let u=e.models,f=[],p=e.fetchModels,A=()=>{let a=[...u];for(let d of f){let l=a.findIndex((h)=>Ft(h)===Ft(d)&&h.id===d.id);if(l>=0)a[l]=d;else a.push(d)}return a},w=(a)=>t??r?.[a.api],y=(a,d)=>{let l=w(a);if(!l)return Ge(a,async()=>{throw new j("stream",`Provider ${e.id} has no API implementation for "${a.api}"`)});return d(l)},M={id:e.id,name:e.name??e.id,baseUrl:e.baseUrl,headers:e.headers,auth:e.auth,getModels:()=>A().filter((a)=>Ve(a,"chat")),getAllModels:A,refreshModels:p?async(a)=>{if(a.stored){let h=a.stored.models.filter((S)=>S.provider===e.id).map((S)=>S);if(!await a.publish({update:()=>{f=h}}))return}if(!a.allowNetwork||a.signal.aborted)return;let d=await p(a);if(a.signal.aborted)return;let l=d.filter(L);await a.publish({persist:{models:l,checkedAt:Date.now()},update:()=>{f=l}})}:void 0,filterModels:e.filterModels,filterAllModels:e.filterAllModels,stream:(a,d,l)=>y(a,(h)=>h.stream(a,d,l)),streamSimple:(a,d,l)=>y(a,(h)=>h.streamSimple(a,d,l))};if(o.some((a)=>a.fetchDeferred!==void 0))M.fetchDeferred=(a,d,l)=>Ge(a,async()=>{let h=w(a);if(!h?.fetchDeferred)throw new j("provider",`Provider ${e.id} does not support deferred responses for "${a.api}"`);return h.fetchDeferred(a,d,l)});if(o.some((a)=>a.cancelDeferred!==void 0))M.cancelDeferred=async(a,d,l)=>{let h=w(a);if(!h?.cancelDeferred)throw new j("provider",`Provider ${e.id} cannot cancel deferred responses for "${a.api}"`);await h.cancelDeferred(a,d,l)};if(n&&i.length>0)M.generateImages=async(a,d,l)=>{let h=n[a.api];if(!h)return T(a,new j("provider",`Provider ${e.id} has no image generation implementation for "${a.api}"`));return h.generateImages(a,d,l)};if(s&&c.length>0)M.classify=async(a,d,l)=>{let h=s[a.api];if(!h)return k(a,new j("provider",`Provider ${e.id} has no classifier implementation for "${a.api}"`));return h.classify(a,d,l)};return M}function Ya(e,t){return Ve(e,"chat")&&e.api===t}function ne(e,t){let r=t.input+t.cacheRead+t.cacheWrite,n=e.cost,s=-1;for(let c of e.cost.tiers??[])if(r>c.inputTokensAbove&&c.inputTokensAbove>s)n=c,s=c.inputTokensAbove;let o=t.cacheWrite1h??0,i=t.cacheWrite-o;return t.cost.input=n.input/1e6*t.input,t.cost.output=n.output/1e6*t.output,t.cost.cacheRead=n.cacheRead/1e6*t.cacheRead,t.cost.cacheWrite=(n.cacheWrite*i+n.input*2*o)/1e6,t.cost.total=t.cost.input+t.cost.output+t.cost.cacheRead+t.cost.cacheWrite,t.cost}var x=["off","minimal","low","medium","high","xhigh","max"];function ao(e){if(!e.reasoning)return["off"];return x.filter((t)=>{let r=e.thinkingLevelMap?.[t];if(r===null)return!1;if(t==="xhigh"||t==="max")return r!==void 0;return!0})}function Y(e,t){let r=ao(e);if(r.includes(t))return t;let n=x.indexOf(t);if(n===-1)return r[0]??"off";for(let s=n;s<x.length;s++){let o=x[s];if(r.includes(o))return o}for(let s=n-1;s>=0;s--){let o=x[s];if(r.includes(o))return o}return r[0]??"off"}function Xa(e,t){if(!e||!t)return!1;return Ft(e)===Ft(t)&&e.id===t.id&&e.provider===t.provider}
|
|
12
|
+
export{Ge,ae,Cs,_i,j,Ei,Ft,Ve,ln,G,Ke,Ai,Bt,ve,Pr,me,so,Rs,Qe,ue,Pt,Ti,Is,Re,Qa,ja,Ie,ki,m,Ya,ne,ao,Y,Xa};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{a,r}from"./chunk-37n62c4c.js";var R=r(function(U){Object.defineProperty(U,"__esModule",{value:!0});U.Allow=U.ALL=U.COLLECTION=U.ATOM=U.SPECIAL=U.INF=U._INFINITY=U.INFINITY=U.NAN=U.BOOL=U.NULL=U.OBJ=U.ARR=U.NUM=U.STR=void 0;U.STR=1;U.NUM=2;U.ARR=4;U.OBJ=8;U.NULL=16;U.BOOL=32;U.NAN=64;U.INFINITY=128;U._INFINITY=256;U.INF=U.INFINITY|U._INFINITY;U.SPECIAL=U.NULL|U.BOOL|U.INF|U.NAN;U.ATOM=U.STR|U.NUM|U.SPECIAL;U.COLLECTION=U.ARR|U.OBJ;U.ALL=U.ATOM|U.COLLECTION;U.Allow={STR:U.STR,NUM:U.NUM,ARR:U.ARR,OBJ:U.OBJ,NULL:U.NULL,BOOL:U.BOOL,NAN:U.NAN,INFINITY:U.INFINITY,_INFINITY:U._INFINITY,INF:U.INF,SPECIAL:U.SPECIAL,ATOM:U.ATOM,COLLECTION:U.COLLECTION,ALL:U.ALL};U.default=U.Allow});var v=r(function(o){var G=o&&o.__createBinding||(Object.create?function(t,s,i,e){if(e===void 0)e=i;var n=Object.getOwnPropertyDescriptor(s,i);if(!n||("get"in n?!s.__esModule:n.writable||n.configurable))n={enumerable:!0,get:function(){return s[i]}};Object.defineProperty(t,e,n)}:function(t,s,i,e){if(e===void 0)e=i;t[e]=s[i]}),H=o&&o.__exportStar||function(t,s){for(var i in t)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(s,i))G(s,t,i)};Object.defineProperty(o,"__esModule",{value:!0});o.Allow=o.MalformedJSON=o.PartialJSON=o.parseJSON=o.parse=void 0;var u=R();Object.defineProperty(o,"Allow",{enumerable:!0,get:function(){return u.Allow}});H(R(),o);class B extends Error{}o.PartialJSON=B;class F extends Error{}o.MalformedJSON=F;function Y(t,s=u.Allow.ALL){if(typeof t!=="string")throw TypeError(`expecting str, got ${typeof t}`);if(!t.trim())throw Error(`${t} is empty`);return K(t.trim(),s)}o.parseJSON=Y;var K=(t,s)=>{let i=t.length,e=0,n=(c)=>{throw new B(`${c} at position ${e}`)},p=(c)=>{throw new F(`${c} at position ${e}`)},l=()=>{if(O(),e>=i)n("Unexpected end of input");if(t[e]==='"')return M();if(t[e]==="{")return W();if(t[e]==="[")return D();if(t.substring(e,e+4)==="null"||u.Allow.NULL&s&&i-e<4&&"null".startsWith(t.substring(e)))return e+=4,null;if(t.substring(e,e+4)==="true"||u.Allow.BOOL&s&&i-e<4&&"true".startsWith(t.substring(e)))return e+=4,!0;if(t.substring(e,e+5)==="false"||u.Allow.BOOL&s&&i-e<5&&"false".startsWith(t.substring(e)))return e+=5,!1;if(t.substring(e,e+8)==="Infinity"||u.Allow.INFINITY&s&&i-e<8&&"Infinity".startsWith(t.substring(e)))return e+=8,1/0;if(t.substring(e,e+9)==="-Infinity"||u.Allow._INFINITY&s&&1<i-e&&i-e<9&&"-Infinity".startsWith(t.substring(e)))return e+=9,-1/0;if(t.substring(e,e+3)==="NaN"||u.Allow.NAN&s&&i-e<3&&"NaN".startsWith(t.substring(e)))return e+=3,NaN;return q()},M=()=>{let c=e,f=!1;e++;while(e<i&&(t[e]!=='"'||f&&t[e-1]==="\\"))f=t[e]==="\\"?!f:!1,e++;if(t.charAt(e)=='"')try{return JSON.parse(t.substring(c,++e-Number(f)))}catch(N){p(String(N))}else if(u.Allow.STR&s)try{return JSON.parse(t.substring(c,e-Number(f))+'"')}catch(N){return JSON.parse(t.substring(c,t.lastIndexOf("\\"))+'"')}n("Unterminated string literal")},W=()=>{e++,O();let c={};try{while(t[e]!=="}"){if(O(),e>=i&&u.Allow.OBJ&s)return c;let f=M();O(),e++;try{let N=l();c[f]=N}catch(N){if(u.Allow.OBJ&s)return c;else throw N}if(O(),t[e]===",")e++}}catch(f){if(u.Allow.OBJ&s)return c;else n("Expected '}' at end of object")}return e++,c},D=()=>{e++;let c=[];try{while(t[e]!=="]")if(c.push(l()),O(),t[e]===",")e++}catch(f){if(u.Allow.ARR&s)return c;n("Expected ']' at end of array")}return e++,c},q=()=>{if(e===0){if(t==="-")p("Not sure what '-' is");try{return JSON.parse(t)}catch(f){if(u.Allow.NUM&s)try{return JSON.parse(t.substring(0,t.lastIndexOf("e")))}catch(N){}p(String(f))}}let c=e;if(t[e]==="-")e++;while(t[e]&&",]}".indexOf(t[e])===-1)e++;if(e==i&&!(u.Allow.NUM&s))n("Unterminated number literal");try{return JSON.parse(t.substring(c,e))}catch(f){if(t.substring(c,e)==="-")n("Not sure what '-' is");try{return JSON.parse(t.substring(c,t.lastIndexOf("e")))}catch(N){p(String(N))}}},O=()=>{while(e<i&&`
|
|
3
|
+
\r `.includes(t[e]))e++};return l()},Q=Y;o.parse=Q});var P=a(v(),1),X=new Set(['"',"\\","/","b","f","n","r","t","u"]);function Z(t){let s=t.codePointAt(0);return s!==void 0&&s>=0&&s<=31}function S(t){switch(t){case"\b":return"\\b";case"\f":return"\\f";case`
|
|
4
|
+
`:return"\\n";case"\r":return"\\r";case"\t":return"\\t";default:return`\\u${t.codePointAt(0)?.toString(16).padStart(4,"0")??"0000"}`}}function Ps(t){let s="",i=!1;for(let e=0;e<t.length;e++){let n=t[e];if(!i){if(s+=n,n==='"')i=!0;continue}if(n==='"'){s+=n,i=!1;continue}if(n==="\\"){let p=t[e+1];if(p===void 0){s+="\\\\";continue}if(p==="u"){let l=t.slice(e+2,e+6);if(/^[0-9a-fA-F]{4}$/.test(l)){s+=`\\u${l}`,e+=5;continue}}if(X.has(p)){s+=`\\${p}`,e+=1;continue}s+="\\\\";continue}s+=Z(n)?S(n):n}return s}function io(t){try{return JSON.parse(t)}catch(s){let i=Ps(t);if(i!==t)return JSON.parse(i);throw s}}function V(t){if(!t||t.trim()==="")return{};try{return io(t)}catch{try{return P.parse(t)??{}}catch{try{return P.parse(Ps(t))??{}}catch{return{}}}}}
|
|
5
|
+
export{Ps,io,V};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
var Je={name:"@basalt/cli",version:"0.1.34",private:!0,type:"module",imports:{"#*":"./src/*","#test/*":"./test/*"},bin:{basalt:"./src/main.ts"},scripts:{typecheck:"tsgo --noEmit -p ."},dependencies:{"@basalt/builtins":"workspace:*","@basalt/core":"workspace:*","@basalt/protocol":"workspace:*","@basalt/server":"workspace:*","@basalt/web":"workspace:*","@earendil-works/pi-ai":"1.2.0"},exports:{"./plugin-sdk":"./src/plugin-sdk.ts"}};
|
|
3
|
+
export{Je};
|