@bkm016/basalt 0.1.37 → 0.1.38
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/chunk-02kyx0dt.js +3 -0
- package/chunk-19nje7ny.js +5 -0
- package/chunk-1rt7fvft.js +51 -0
- package/chunk-23qfxx3v.js +3 -0
- package/chunk-28dpfw91.js +20 -0
- package/chunk-2bz3h7k7.js +18 -0
- package/chunk-2etdp9zt.js +3 -0
- package/chunk-3bc88p88.js +2 -0
- package/chunk-3bqs901a.js +3 -0
- package/chunk-4kg028qe.js +3 -0
- package/chunk-4ry04733.js +2 -0
- package/chunk-4zvzk6m5.js +25 -0
- package/chunk-5ngmwd2s.js +3 -0
- package/chunk-5yzts6r0.js +3 -0
- package/chunk-6bvjnr88.js +3 -0
- package/chunk-76jjaj1p.js +7 -0
- package/chunk-7ph88zkj.js +3 -0
- package/chunk-7t89zqqx.js +8 -0
- package/chunk-80vdhw6b.js +2 -0
- package/chunk-89aqq5v0.js +59 -0
- package/chunk-8bcc3rqc.js +2 -0
- package/chunk-97531m3c.js +2 -0
- package/chunk-9b4ssdy4.js +3 -0
- package/chunk-9map5c1b.js +12 -0
- package/chunk-a0ycrvgz.js +2 -0
- package/chunk-ah2ttnaa.js +2 -0
- package/chunk-awe58cxg.js +3175 -0
- package/chunk-b3ss17r8.js +547 -0
- package/chunk-b5ph3ffy.js +39 -0
- package/chunk-cz9r99b6.js +2 -0
- package/chunk-d57kcznk.js +16 -0
- package/chunk-etf8mj2z.js +2 -0
- package/chunk-fkgx9eab.js +2 -0
- package/chunk-fmvs5wd0.js +11 -0
- package/chunk-fpksd95h.js +3 -0
- package/chunk-hj1zcq3p.js +13 -0
- package/chunk-jaat2z8t.js +117 -0
- package/chunk-jkc887x8.js +2 -0
- package/chunk-jnas3anm.js +3 -0
- package/chunk-k3p05x7q.js +2 -0
- package/chunk-k6fqtjt8.js +3 -0
- package/chunk-kh4b25x0.js +12 -0
- package/chunk-kn8p9hm4.js +3 -0
- package/chunk-kxznfjhk.js +2 -0
- package/chunk-ma4nhnnj.js +3 -0
- package/chunk-n09zsaws.js +60 -0
- package/chunk-nb7c0e4a.js +10 -0
- package/chunk-pvbaf50c.js +7 -0
- package/chunk-pzg6f8rv.js +3 -0
- package/chunk-q7scf6rq.js +5 -0
- package/chunk-qc0d97yy.js +9 -0
- package/chunk-qn316bye.js +3 -0
- package/chunk-rapgtezp.js +3 -0
- package/chunk-rbz68jdh.js +2 -0
- package/chunk-rkq3zqph.js +3 -0
- package/chunk-rva3kxc4.js +3 -0
- package/chunk-s8ce8wwb.js +5 -0
- package/chunk-srmxyfvj.js +4 -0
- package/chunk-ss48r7hh.js +2 -0
- package/chunk-trf8d8md.js +2 -0
- package/chunk-v312dzv1.js +2 -0
- package/chunk-v9pc3ad7.js +3 -0
- package/chunk-vq3b921g.js +2 -0
- package/chunk-w8arnzsm.js +10 -0
- package/chunk-wa3w6q66.js +2 -0
- package/chunk-wyaep3eb.js +103 -0
- package/chunk-x31xqemq.js +3 -0
- package/chunk-x4nt43pv.js +2 -0
- package/chunk-xjr4j102.js +31 -0
- package/chunk-xtzxv389.js +3 -0
- package/chunk-y91ea95f.js +7 -0
- package/chunk-yyeq63ns.js +2 -0
- package/chunk-z1hbxv39.js +2 -0
- package/chunk-zej3kgxg.js +5 -0
- package/chunk-zkhn196x.js +25 -0
- package/chunk-zztar24h.js +8 -0
- package/compiled.js +9 -9
- package/package.json +1 -1
- package/ui-test-worker.js +34 -33
- package/web/chunk-0qmwgbg8.js +1 -0
- package/web/chunk-0qmwgbg8.js.br +0 -0
- package/web/chunk-0qmwgbg8.js.gz +0 -0
- package/web/chunk-0vavwwh2.js +2 -0
- package/web/chunk-0vavwwh2.js.br +0 -0
- package/web/chunk-0vavwwh2.js.gz +0 -0
- package/web/chunk-0vmbj6hc.js +89 -0
- package/web/chunk-0vmbj6hc.js.br +0 -0
- package/web/chunk-0vmbj6hc.js.gz +0 -0
- package/web/chunk-17qjx34e.js +1 -0
- package/web/chunk-17qjx34e.js.br +0 -0
- package/web/chunk-17qjx34e.js.gz +0 -0
- package/web/chunk-1vewct29.js +78 -0
- package/web/chunk-1vewct29.js.br +0 -0
- package/web/chunk-1vewct29.js.gz +0 -0
- package/web/chunk-2hz3atj2.js +1 -0
- package/web/chunk-2hz3atj2.js.br +0 -0
- package/web/chunk-2hz3atj2.js.gz +0 -0
- package/web/chunk-3c66z204.js +1 -0
- package/web/chunk-3c66z204.js.br +0 -0
- package/web/chunk-3c66z204.js.gz +0 -0
- package/web/chunk-3ctk7p8b.js +200 -0
- package/web/chunk-3ctk7p8b.js.br +0 -0
- package/web/chunk-3ctk7p8b.js.gz +0 -0
- package/web/chunk-3rnbw3ds.js +2 -0
- package/web/chunk-3rnbw3ds.js.br +0 -0
- package/web/chunk-3rnbw3ds.js.gz +0 -0
- package/web/chunk-3t6c1rn7.js +2 -0
- package/web/chunk-3t6c1rn7.js.br +0 -0
- package/web/chunk-3t6c1rn7.js.gz +0 -0
- package/web/chunk-48f75wpj.js +1 -0
- package/web/chunk-48f75wpj.js.br +0 -0
- package/web/chunk-48f75wpj.js.gz +0 -0
- package/web/chunk-4sr7g3z6.js +70 -0
- package/web/chunk-4sr7g3z6.js.br +0 -0
- package/web/chunk-4sr7g3z6.js.gz +0 -0
- package/web/chunk-54kxhs8a.js +1 -0
- package/web/chunk-54kxhs8a.js.br +0 -0
- package/web/chunk-54kxhs8a.js.gz +0 -0
- package/web/chunk-5cbw7v9g.js +324 -0
- package/web/chunk-5cbw7v9g.js.br +0 -0
- package/web/chunk-5cbw7v9g.js.gz +0 -0
- package/web/chunk-5kxhdpsw.js +99 -0
- package/web/chunk-5kxhdpsw.js.br +0 -0
- package/web/chunk-5kxhdpsw.js.gz +0 -0
- package/web/chunk-5s16b1h5.js +2 -0
- package/web/chunk-5s16b1h5.js.br +0 -0
- package/web/chunk-5s16b1h5.js.gz +0 -0
- package/web/chunk-5z2f4vfh.js +1 -0
- package/web/chunk-5z2f4vfh.js.br +0 -0
- package/web/chunk-5z2f4vfh.js.gz +0 -0
- package/web/chunk-664zwasq.js +217 -0
- package/web/chunk-664zwasq.js.br +0 -0
- package/web/chunk-664zwasq.js.gz +0 -0
- package/web/chunk-6hgxmv17.js +1 -0
- package/web/chunk-6hgxmv17.js.br +0 -0
- package/web/chunk-6hgxmv17.js.gz +0 -0
- package/web/chunk-6wesgn4j.js +332 -0
- package/web/chunk-6wesgn4j.js.br +0 -0
- package/web/chunk-6wesgn4j.js.gz +0 -0
- package/web/chunk-6xnzhe0e.js +12 -0
- package/web/chunk-6xnzhe0e.js.br +0 -0
- package/web/chunk-6xnzhe0e.js.gz +0 -0
- package/web/chunk-73effb3e.js +1 -0
- package/web/chunk-73effb3e.js.br +0 -0
- package/web/chunk-73effb3e.js.gz +0 -0
- package/web/chunk-744jv40n.js +7 -0
- package/web/chunk-744jv40n.js.br +0 -0
- package/web/chunk-744jv40n.js.gz +0 -0
- package/web/chunk-74x21fpx.js +23 -0
- package/web/chunk-74x21fpx.js.br +0 -0
- package/web/chunk-74x21fpx.js.gz +0 -0
- package/web/chunk-75jp6b07.js +1 -0
- package/web/chunk-75jp6b07.js.br +0 -0
- package/web/chunk-75jp6b07.js.gz +0 -0
- package/web/chunk-776d411a.js +1143 -0
- package/web/chunk-776d411a.js.br +0 -0
- package/web/chunk-776d411a.js.gz +0 -0
- package/web/chunk-77fdf0t8.js +1 -0
- package/web/chunk-77fdf0t8.js.br +0 -0
- package/web/chunk-77fdf0t8.js.gz +0 -0
- package/web/chunk-85cyf9df.js +1 -0
- package/web/chunk-85cyf9df.js.br +0 -0
- package/web/chunk-85cyf9df.js.gz +0 -0
- package/web/chunk-8kxc78xp.js +4 -0
- package/web/chunk-8kxc78xp.js.br +0 -0
- package/web/chunk-8kxc78xp.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-9kfxbebp.js +2 -0
- package/web/chunk-9kfxbebp.js.br +1 -0
- package/web/chunk-9kfxbebp.js.gz +0 -0
- package/web/chunk-b1x8wmyp.js +1 -0
- package/web/chunk-b1x8wmyp.js.br +2 -0
- package/web/chunk-b1x8wmyp.js.gz +0 -0
- package/web/chunk-bpy0qc5f.js +1 -0
- package/web/chunk-bpy0qc5f.js.br +0 -0
- package/web/chunk-bpy0qc5f.js.gz +0 -0
- package/web/chunk-brsvdef4.js +1 -0
- package/web/chunk-brsvdef4.js.br +0 -0
- package/web/chunk-brsvdef4.js.gz +0 -0
- package/web/chunk-bs8vnwtv.js +106 -0
- package/web/chunk-bs8vnwtv.js.br +0 -0
- package/web/chunk-bs8vnwtv.js.gz +0 -0
- package/web/chunk-cd3hhgn9.js +2 -0
- package/web/chunk-cd3hhgn9.js.br +0 -0
- package/web/chunk-cd3hhgn9.js.gz +0 -0
- package/web/chunk-ckpx6ky8.js +2 -0
- package/web/chunk-ckpx6ky8.js.br +0 -0
- package/web/chunk-ckpx6ky8.js.gz +0 -0
- package/web/chunk-cn4846p5.js +140 -0
- package/web/chunk-cn4846p5.js.br +0 -0
- package/web/chunk-cn4846p5.js.gz +0 -0
- package/web/chunk-cngcze57.js +84 -0
- package/web/chunk-cngcze57.js.br +0 -0
- package/web/chunk-cngcze57.js.gz +0 -0
- package/web/chunk-csg9anab.js +62 -0
- package/web/chunk-csg9anab.js.br +0 -0
- package/web/chunk-csg9anab.js.gz +0 -0
- package/web/chunk-ct98jt0b.js +2 -0
- package/web/chunk-ct98jt0b.js.br +0 -0
- package/web/chunk-ct98jt0b.js.gz +0 -0
- package/web/chunk-d67p0nr5.js +8 -0
- package/web/chunk-d67p0nr5.js.br +0 -0
- package/web/chunk-d67p0nr5.js.gz +0 -0
- package/web/chunk-dqynqkew.js +3 -0
- package/web/chunk-dqynqkew.js.br +0 -0
- package/web/chunk-dqynqkew.js.gz +0 -0
- package/web/chunk-drn8wj2p.js +41 -0
- package/web/chunk-drn8wj2p.js.br +0 -0
- package/web/chunk-drn8wj2p.js.gz +0 -0
- package/web/chunk-e0r89rgm.js +2 -0
- package/web/chunk-e0r89rgm.js.br +0 -0
- package/web/chunk-e0r89rgm.js.gz +0 -0
- package/web/chunk-e6ffgm2z.js +89 -0
- package/web/chunk-e6ffgm2z.js.br +0 -0
- package/web/chunk-e6ffgm2z.js.gz +0 -0
- package/web/chunk-ebphre6k.js +292 -0
- package/web/chunk-ebphre6k.js.br +0 -0
- package/web/chunk-ebphre6k.js.gz +0 -0
- package/web/chunk-edeebkv0.js +2 -0
- package/web/chunk-edeebkv0.js.br +0 -0
- package/web/chunk-edeebkv0.js.gz +0 -0
- package/web/chunk-edkvcg8g.js +1 -0
- package/web/chunk-edkvcg8g.js.br +0 -0
- package/web/chunk-edkvcg8g.js.gz +0 -0
- package/web/chunk-evt920fg.js +142 -0
- package/web/chunk-evt920fg.js.br +0 -0
- package/web/chunk-evt920fg.js.gz +0 -0
- package/web/chunk-ezehzx5e.js +1 -0
- package/web/chunk-ezehzx5e.js.br +2 -0
- package/web/chunk-ezehzx5e.js.gz +0 -0
- package/web/chunk-f020aqdg.js +38 -0
- package/web/chunk-f020aqdg.js.br +0 -0
- package/web/chunk-f020aqdg.js.gz +0 -0
- package/web/chunk-f5a5x6be.js +1 -0
- package/web/chunk-f5a5x6be.js.br +0 -0
- package/web/chunk-f5a5x6be.js.gz +0 -0
- package/web/chunk-fkmw2m49.js +1 -0
- package/web/chunk-fkmw2m49.js.br +0 -0
- package/web/chunk-fkmw2m49.js.gz +0 -0
- package/web/chunk-fn0hha9d.js +2 -0
- package/web/chunk-fn0hha9d.js.br +0 -0
- package/web/chunk-fn0hha9d.js.gz +0 -0
- package/web/chunk-fp5ny5dy.js +4 -0
- package/web/chunk-fp5ny5dy.js.br +0 -0
- package/web/chunk-fp5ny5dy.js.gz +0 -0
- package/web/chunk-fwckng4e.js +34 -0
- package/web/chunk-fwckng4e.js.br +0 -0
- package/web/chunk-fwckng4e.js.gz +0 -0
- package/web/chunk-g7yyp4ks.js +2 -0
- package/web/chunk-g7yyp4ks.js.br +0 -0
- package/web/chunk-g7yyp4ks.js.gz +0 -0
- package/web/chunk-gbhkp5f4.js +1 -0
- package/web/chunk-gbhkp5f4.js.br +2 -0
- package/web/chunk-gbhkp5f4.js.gz +0 -0
- package/web/chunk-ghz85g7f.js +1 -0
- package/web/chunk-ghz85g7f.js.br +0 -0
- package/web/chunk-ghz85g7f.js.gz +0 -0
- package/web/chunk-gpjdkgxz.js +2 -0
- package/web/chunk-gpjdkgxz.js.br +0 -0
- package/web/chunk-gpjdkgxz.js.gz +0 -0
- package/web/chunk-h3d8gb7m.js +1 -0
- package/web/chunk-h3d8gb7m.js.br +0 -0
- package/web/chunk-h3d8gb7m.js.gz +0 -0
- package/web/chunk-h47k4j7f.js +1 -0
- package/web/chunk-h47k4j7f.js.br +0 -0
- package/web/chunk-h47k4j7f.js.gz +0 -0
- package/web/chunk-h702ns45.js +1 -0
- package/web/chunk-h702ns45.js.br +0 -0
- package/web/chunk-h702ns45.js.gz +0 -0
- package/web/chunk-j3tjbge9.js +1 -0
- package/web/chunk-j3tjbge9.js.br +0 -0
- package/web/chunk-j3tjbge9.js.gz +0 -0
- package/web/chunk-j91f1v68.js +2 -0
- package/web/chunk-j91f1v68.js.br +0 -0
- package/web/chunk-j91f1v68.js.gz +0 -0
- package/web/chunk-jd82z5gg.js +1 -0
- package/web/chunk-jd82z5gg.js.br +0 -0
- package/web/chunk-jd82z5gg.js.gz +0 -0
- package/web/chunk-jmksme0n.js +2 -0
- package/web/chunk-jmksme0n.js.br +0 -0
- package/web/chunk-jmksme0n.js.gz +0 -0
- package/web/chunk-jz0wjyzp.js +7 -0
- package/web/chunk-jz0wjyzp.js.br +0 -0
- package/web/chunk-jz0wjyzp.js.gz +0 -0
- package/web/chunk-ka8jrbr5.js +55 -0
- package/web/chunk-ka8jrbr5.js.br +0 -0
- package/web/chunk-ka8jrbr5.js.gz +0 -0
- package/web/chunk-m770h1wv.js +2 -0
- package/web/chunk-m770h1wv.js.br +0 -0
- package/web/chunk-m770h1wv.js.gz +0 -0
- package/web/chunk-mfsdyw6v.js +2 -0
- package/web/chunk-mfsdyw6v.js.br +0 -0
- package/web/chunk-mfsdyw6v.js.gz +0 -0
- package/web/chunk-mvmpr9bn.js +1 -0
- package/web/chunk-mvmpr9bn.js.br +0 -0
- package/web/chunk-mvmpr9bn.js.gz +0 -0
- package/web/chunk-my4zxtxx.js +2 -0
- package/web/chunk-my4zxtxx.js.br +0 -0
- package/web/chunk-my4zxtxx.js.gz +0 -0
- package/web/chunk-n7nx158t.js +1 -0
- package/web/chunk-n7nx158t.js.br +0 -0
- package/web/chunk-n7nx158t.js.gz +0 -0
- package/web/chunk-na88frn3.js +1 -0
- package/web/chunk-na88frn3.js.br +0 -0
- package/web/chunk-na88frn3.js.gz +0 -0
- package/web/chunk-nbncq48b.js +1 -0
- package/web/chunk-nbncq48b.js.br +0 -0
- package/web/chunk-nbncq48b.js.gz +0 -0
- package/web/chunk-nyydkfyf.js +1 -0
- package/web/chunk-nyydkfyf.js.br +0 -0
- package/web/chunk-nyydkfyf.js.gz +0 -0
- package/web/chunk-nz06k08x.js +39 -0
- package/web/chunk-nz06k08x.js.br +0 -0
- package/web/chunk-nz06k08x.js.gz +0 -0
- package/web/chunk-p62swsj6.js +139 -0
- package/web/chunk-p62swsj6.js.br +0 -0
- package/web/chunk-p62swsj6.js.gz +0 -0
- package/web/chunk-pajjgx94.js +169 -0
- package/web/chunk-pajjgx94.js.br +0 -0
- package/web/chunk-pajjgx94.js.gz +0 -0
- package/web/chunk-phdpzq61.js +370 -0
- package/web/chunk-phdpzq61.js.br +0 -0
- package/web/chunk-phdpzq61.js.gz +0 -0
- package/web/chunk-pj9r4ha1.js +2 -0
- package/web/chunk-pj9r4ha1.js.br +0 -0
- package/web/chunk-pj9r4ha1.js.gz +0 -0
- package/web/chunk-pqvre6md.js +24 -0
- package/web/chunk-pqvre6md.js.br +0 -0
- package/web/chunk-pqvre6md.js.gz +0 -0
- package/web/chunk-pvq527d1.js +303 -0
- package/web/chunk-pvq527d1.js.br +0 -0
- package/web/chunk-pvq527d1.js.gz +0 -0
- package/web/chunk-pzbqpfpj.js +24 -0
- package/web/chunk-pzbqpfpj.js.br +0 -0
- package/web/chunk-pzbqpfpj.js.gz +0 -0
- package/web/chunk-q990zhg4.js +1 -0
- package/web/chunk-q990zhg4.js.br +0 -0
- package/web/chunk-q990zhg4.js.gz +0 -0
- package/web/chunk-qed51xj9.js +2 -0
- package/web/chunk-qed51xj9.js.br +0 -0
- package/web/chunk-qed51xj9.js.gz +0 -0
- package/web/chunk-r9m8jh7x.js +2 -0
- package/web/chunk-r9m8jh7x.js.br +0 -0
- package/web/chunk-r9m8jh7x.js.gz +0 -0
- package/web/chunk-rjax57j0.js +40 -0
- package/web/chunk-rjax57j0.js.br +0 -0
- package/web/chunk-rjax57j0.js.gz +0 -0
- package/web/chunk-s00tks2b.js +98 -0
- package/web/chunk-s00tks2b.js.br +0 -0
- package/web/chunk-s00tks2b.js.gz +0 -0
- package/web/chunk-s3symq0h.js +1 -0
- package/web/chunk-s3symq0h.js.br +0 -0
- package/web/chunk-s3symq0h.js.gz +0 -0
- package/web/chunk-sh2d0212.js +1 -0
- package/web/chunk-sh2d0212.js.br +0 -0
- package/web/chunk-sh2d0212.js.gz +0 -0
- package/web/chunk-t8ksmf3z.js +2 -0
- package/web/chunk-t8ksmf3z.js.br +0 -0
- package/web/chunk-t8ksmf3z.js.gz +0 -0
- package/web/chunk-te4ab7ee.css +1 -0
- package/web/chunk-te4ab7ee.css.br +0 -0
- package/web/chunk-te4ab7ee.css.gz +0 -0
- package/web/chunk-tjhxbt15.js +1 -0
- package/web/chunk-tjhxbt15.js.br +0 -0
- package/web/chunk-tjhxbt15.js.gz +0 -0
- package/web/chunk-tqr5maem.js +291 -0
- package/web/chunk-tqr5maem.js.br +0 -0
- package/web/chunk-tqr5maem.js.gz +0 -0
- package/web/chunk-tt3vgkx6.js +7 -0
- package/web/chunk-tt3vgkx6.js.br +0 -0
- package/web/chunk-tt3vgkx6.js.gz +0 -0
- package/web/chunk-v56w6y8n.js +2 -0
- package/web/chunk-v56w6y8n.js.br +0 -0
- package/web/chunk-v56w6y8n.js.gz +0 -0
- package/web/chunk-v65dz9y5.js +1 -0
- package/web/chunk-v65dz9y5.js.br +0 -0
- package/web/chunk-v65dz9y5.js.gz +0 -0
- package/web/chunk-vaspzebe.js +1 -0
- package/web/chunk-vaspzebe.js.br +0 -0
- package/web/chunk-vaspzebe.js.gz +0 -0
- package/web/chunk-ve5dccwy.js +1 -0
- package/web/chunk-ve5dccwy.js.br +0 -0
- package/web/chunk-ve5dccwy.js.gz +0 -0
- package/web/chunk-vsxzq4nb.js +1 -0
- package/web/chunk-vsxzq4nb.js.br +0 -0
- package/web/chunk-vsxzq4nb.js.gz +0 -0
- package/web/chunk-vvn66f2x.js +16 -0
- package/web/chunk-vvn66f2x.js.br +0 -0
- package/web/chunk-vvn66f2x.js.gz +0 -0
- package/web/chunk-vvqey05d.js +1 -0
- package/web/chunk-vvqey05d.js.br +2 -0
- package/web/chunk-vvqey05d.js.gz +0 -0
- package/web/chunk-w6ajcbm8.js +1 -0
- package/web/chunk-w6ajcbm8.js.br +0 -0
- package/web/chunk-w6ajcbm8.js.gz +0 -0
- package/web/chunk-w6p6dy3k.js +2 -0
- package/web/chunk-w6p6dy3k.js.br +0 -0
- package/web/chunk-w6p6dy3k.js.gz +0 -0
- package/web/chunk-wy1k8vz2.js +1 -0
- package/web/chunk-wy1k8vz2.js.br +0 -0
- package/web/chunk-wy1k8vz2.js.gz +0 -0
- package/web/chunk-wzgv2gv2.js +120 -0
- package/web/chunk-wzgv2gv2.js.br +0 -0
- package/web/chunk-wzgv2gv2.js.gz +0 -0
- package/web/chunk-x78hqhxv.js +1 -0
- package/web/chunk-x78hqhxv.js.br +2 -0
- package/web/chunk-x78hqhxv.js.gz +0 -0
- package/web/chunk-x7mw8704.js +36 -0
- package/web/chunk-x7mw8704.js.br +0 -0
- package/web/chunk-x7mw8704.js.gz +0 -0
- package/web/chunk-x85z35es.js +2 -0
- package/web/chunk-x85z35es.js.br +0 -0
- package/web/chunk-x85z35es.js.gz +0 -0
- package/web/chunk-xbrhmxd8.js +214 -0
- package/web/chunk-xbrhmxd8.js.br +0 -0
- package/web/chunk-xbrhmxd8.js.gz +0 -0
- package/web/chunk-xjpqg11m.js +1 -0
- package/web/chunk-xjpqg11m.js.br +0 -0
- package/web/chunk-xjpqg11m.js.gz +0 -0
- package/web/chunk-y2x9v76f.js +2 -0
- package/web/chunk-y2x9v76f.js.br +0 -0
- package/web/chunk-y2x9v76f.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-ykc1rttf.js +1 -0
- package/web/chunk-ykc1rttf.js.br +0 -0
- package/web/chunk-ykc1rttf.js.gz +0 -0
- package/web/chunk-yyw0rdyy.js +1 -0
- package/web/chunk-yyw0rdyy.js.br +0 -0
- package/web/chunk-yyw0rdyy.js.gz +0 -0
- package/web/chunk-yzyrc28t.js +30 -0
- package/web/chunk-yzyrc28t.js.br +0 -0
- package/web/chunk-yzyrc28t.js.gz +0 -0
- package/web/chunk-z7j6wnn3.js +2 -0
- package/web/chunk-z7j6wnn3.js.br +0 -0
- package/web/chunk-z7j6wnn3.js.gz +0 -0
- package/web/chunk-z8fgdsx5.js +1 -0
- package/web/chunk-z8fgdsx5.js.br +0 -0
- package/web/chunk-z8fgdsx5.js.gz +0 -0
- package/web/index.html +3 -13
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/web/manifest-g1mfa85c.webmanifest +35 -0
- package/web/manifest-g1mfa85c.webmanifest.br +0 -0
- package/web/manifest-g1mfa85c.webmanifest.gz +0 -0
- package/web/manifest.webmanifest +2 -2
- package/web/manifest.webmanifest.br +0 -0
- package/web/manifest.webmanifest.gz +0 -0
- package/web/sw.js +33 -16
- package/web/sw.js.br +0 -0
- package/web/sw.js.gz +0 -0
- package/worker.js +1 -1
- package/chunk-1xam7mw7.js +0 -2
- package/chunk-2df7yf47.js +0 -3
- package/chunk-3a3ta83t.js +0 -12
- package/chunk-3bb12192.js +0 -39
- package/chunk-3j24he2c.js +0 -25
- package/chunk-3yyt010j.js +0 -2
- package/chunk-4hrkad68.js +0 -2
- package/chunk-4kw8vvae.js +0 -3
- package/chunk-5xj2kq5h.js +0 -3
- package/chunk-6hajdf5x.js +0 -2
- package/chunk-6rkwh4w5.js +0 -3
- package/chunk-7ygt906s.js +0 -2
- package/chunk-8jf1kd0m.js +0 -3
- package/chunk-95npkaze.js +0 -5
- package/chunk-9yqn7drg.js +0 -3
- package/chunk-9zwy8ypg.js +0 -117
- package/chunk-ad5asgnr.js +0 -2
- package/chunk-akdav0ay.js +0 -3
- package/chunk-arzyd0f7.js +0 -8
- package/chunk-avrzwnbk.js +0 -2
- package/chunk-b3fwt4jy.js +0 -2
- package/chunk-b41a7yc5.js +0 -7
- package/chunk-be4p5qak.js +0 -103
- package/chunk-br7606yh.js +0 -7
- package/chunk-brgcdzj9.js +0 -60
- package/chunk-bvh3ccr2.js +0 -3
- package/chunk-c0htgv5v.js +0 -3
- package/chunk-ch8bhqmp.js +0 -2
- package/chunk-d2t7tx0d.js +0 -16
- package/chunk-d5qsqt4v.js +0 -2
- package/chunk-d5sxt7bc.js +0 -13
- package/chunk-dz8jyvp4.js +0 -547
- package/chunk-e431qjnf.js +0 -3
- package/chunk-e69h0e2f.js +0 -2
- package/chunk-e9rp422g.js +0 -9
- package/chunk-etvf4tkk.js +0 -3
- package/chunk-ewr4r5yx.js +0 -18
- package/chunk-ezm2t479.js +0 -11
- package/chunk-f5prr1x7.js +0 -59
- package/chunk-fxs37w3f.js +0 -10
- package/chunk-g27efryh.js +0 -20
- package/chunk-g8zcrfzr.js +0 -2
- package/chunk-gde46g2m.js +0 -2
- package/chunk-gnf6jvxv.js +0 -25
- package/chunk-gswcr5j6.js +0 -2
- package/chunk-h22spg1q.js +0 -3
- package/chunk-h2br80f8.js +0 -3
- package/chunk-he09tqj5.js +0 -2
- package/chunk-hkx2cpc5.js +0 -3
- package/chunk-hwkmxr9a.js +0 -5
- package/chunk-j9jg8h44.js +0 -2
- package/chunk-jhgf0vpr.js +0 -5
- package/chunk-k3ndw7d4.js +0 -3
- package/chunk-k8mc2tn3.js +0 -3
- package/chunk-mbf7201c.js +0 -5
- package/chunk-mzhebc7e.js +0 -7
- package/chunk-n1c3t0nj.js +0 -2
- package/chunk-nmpqx2sh.js +0 -3
- package/chunk-p0dacr9z.js +0 -12
- package/chunk-q8gv26ze.js +0 -3
- package/chunk-qj6bf18b.js +0 -3
- package/chunk-rxq62z5t.js +0 -3
- package/chunk-s27309w7.js +0 -3
- package/chunk-sjwsj82f.js +0 -10
- package/chunk-tadyy9xh.js +0 -51
- package/chunk-vgvp6cpk.js +0 -2
- package/chunk-vj5p29fr.js +0 -2
- package/chunk-wbpt03pe.js +0 -31
- package/chunk-wgjt31wp.js +0 -8
- package/chunk-wk6vjpmj.js +0 -3
- package/chunk-x1spmnj8.js +0 -2
- package/chunk-x4anmcq9.js +0 -4
- package/chunk-xd5hf1rg.js +0 -3178
- package/chunk-xpbt4cpe.js +0 -2
- package/chunk-yw2k2syh.js +0 -3
- package/chunk-z3x79jnt.js +0 -3
- package/chunk-zd569v9h.js +0 -2
- package/web/chunk-05b25kh6.js +0 -332
- package/web/chunk-05b25kh6.js.br +0 -0
- package/web/chunk-05b25kh6.js.gz +0 -0
- package/web/chunk-0g6z1xs1.js +0 -2
- package/web/chunk-0g6z1xs1.js.br +0 -0
- package/web/chunk-0g6z1xs1.js.gz +0 -0
- package/web/chunk-0kj45mje.js +0 -2
- package/web/chunk-0kj45mje.js.br +0 -0
- package/web/chunk-0kj45mje.js.gz +0 -0
- package/web/chunk-0wt52yw3.js +0 -1
- package/web/chunk-0wt52yw3.js.br +0 -2
- package/web/chunk-0wt52yw3.js.gz +0 -0
- package/web/chunk-0x9cf6bp.js +0 -38
- package/web/chunk-0x9cf6bp.js.br +0 -0
- package/web/chunk-0x9cf6bp.js.gz +0 -0
- package/web/chunk-0y2f60q6.js +0 -1
- package/web/chunk-0y2f60q6.js.br +0 -0
- package/web/chunk-0y2f60q6.js.gz +0 -0
- package/web/chunk-1axw7vb0.js +0 -214
- package/web/chunk-1axw7vb0.js.br +0 -0
- package/web/chunk-1axw7vb0.js.gz +0 -0
- package/web/chunk-1es5ak4r.js +0 -1
- package/web/chunk-1es5ak4r.js.br +0 -0
- package/web/chunk-1es5ak4r.js.gz +0 -0
- package/web/chunk-1vhk8j0c.js +0 -1
- package/web/chunk-1vhk8j0c.js.br +0 -0
- package/web/chunk-1vhk8j0c.js.gz +0 -0
- package/web/chunk-21jtjwe1.js +0 -1
- package/web/chunk-21jtjwe1.js.br +0 -0
- package/web/chunk-21jtjwe1.js.gz +0 -0
- package/web/chunk-26grg3rq.js +0 -1144
- package/web/chunk-26grg3rq.js.br +0 -0
- package/web/chunk-26grg3rq.js.gz +0 -0
- package/web/chunk-2nwvdqxm.js +0 -1
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.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-2wvgy7f4.js +0 -1
- package/web/chunk-2wvgy7f4.js.br +0 -0
- package/web/chunk-2wvgy7f4.js.gz +0 -0
- package/web/chunk-33bfatdr.js +0 -4
- package/web/chunk-33bfatdr.js.br +0 -0
- package/web/chunk-33bfatdr.js.gz +0 -0
- package/web/chunk-38xsaxws.js +0 -1
- package/web/chunk-38xsaxws.js.br +0 -0
- package/web/chunk-38xsaxws.js.gz +0 -0
- package/web/chunk-3av47wwa.js +0 -7
- package/web/chunk-3av47wwa.js.br +0 -0
- package/web/chunk-3av47wwa.js.gz +0 -0
- package/web/chunk-3rxgch48.js +0 -1
- package/web/chunk-3rxgch48.js.br +0 -0
- package/web/chunk-3rxgch48.js.gz +0 -0
- package/web/chunk-40j8gxty.js +0 -303
- package/web/chunk-40j8gxty.js.br +0 -0
- package/web/chunk-40j8gxty.js.gz +0 -0
- package/web/chunk-43kq2dk7.js +0 -21
- package/web/chunk-43kq2dk7.js.br +0 -0
- package/web/chunk-43kq2dk7.js.gz +0 -0
- package/web/chunk-4cw67sdz.js +0 -78
- package/web/chunk-4cw67sdz.js.br +0 -0
- package/web/chunk-4cw67sdz.js.gz +0 -0
- package/web/chunk-4k4c2se1.js +0 -2
- package/web/chunk-4k4c2se1.js.br +0 -0
- package/web/chunk-4k4c2se1.js.gz +0 -0
- package/web/chunk-50dr941q.js +0 -55
- package/web/chunk-50dr941q.js.br +0 -0
- package/web/chunk-50dr941q.js.gz +0 -0
- package/web/chunk-56hx6a5h.js +0 -1
- package/web/chunk-56hx6a5h.js.br +0 -0
- package/web/chunk-56hx6a5h.js.gz +0 -0
- package/web/chunk-5m1p98r5.js +0 -2
- package/web/chunk-5m1p98r5.js.br +0 -0
- package/web/chunk-5m1p98r5.js.gz +0 -0
- package/web/chunk-5m45mc2k.js +0 -99
- package/web/chunk-5m45mc2k.js.br +0 -0
- package/web/chunk-5m45mc2k.js.gz +0 -0
- package/web/chunk-6gfa17h5.js +0 -1
- package/web/chunk-6gfa17h5.js.br +0 -0
- package/web/chunk-6gfa17h5.js.gz +0 -0
- package/web/chunk-7e57me98.js +0 -1
- package/web/chunk-7e57me98.js.br +0 -0
- package/web/chunk-7e57me98.js.gz +0 -0
- package/web/chunk-7ht7dssg.js +0 -1
- package/web/chunk-7ht7dssg.js.br +0 -0
- package/web/chunk-7ht7dssg.js.gz +0 -0
- package/web/chunk-8jxg1srx.js +0 -1
- package/web/chunk-8jxg1srx.js.br +0 -2
- package/web/chunk-8jxg1srx.js.gz +0 -0
- package/web/chunk-8q9970dm.js +0 -2
- package/web/chunk-8q9970dm.js.br +0 -0
- package/web/chunk-8q9970dm.js.gz +0 -0
- package/web/chunk-8t1kh5r9.js +0 -370
- package/web/chunk-8t1kh5r9.js.br +0 -0
- package/web/chunk-8t1kh5r9.js.gz +0 -0
- package/web/chunk-8za5fkrq.js +0 -1
- package/web/chunk-8za5fkrq.js.br +0 -0
- package/web/chunk-8za5fkrq.js.gz +0 -0
- package/web/chunk-96dhr80q.js +0 -8
- package/web/chunk-96dhr80q.js.br +0 -0
- package/web/chunk-96dhr80q.js.gz +0 -0
- package/web/chunk-98y5p1r2.js +0 -1
- package/web/chunk-98y5p1r2.js.br +0 -0
- package/web/chunk-98y5p1r2.js.gz +0 -0
- package/web/chunk-9f77mxfz.js +0 -98
- package/web/chunk-9f77mxfz.js.br +0 -0
- package/web/chunk-9f77mxfz.js.gz +0 -0
- package/web/chunk-9g2fam83.js +0 -2
- package/web/chunk-9g2fam83.js.br +0 -0
- package/web/chunk-9g2fam83.js.gz +0 -0
- package/web/chunk-9we3a8ak.js +0 -84
- package/web/chunk-9we3a8ak.js.br +0 -0
- package/web/chunk-9we3a8ak.js.gz +0 -0
- package/web/chunk-adfd0mhj.js +0 -1
- package/web/chunk-adfd0mhj.js.br +0 -0
- package/web/chunk-adfd0mhj.js.gz +0 -0
- package/web/chunk-aem9wyqq.js +0 -30
- package/web/chunk-aem9wyqq.js.br +0 -0
- package/web/chunk-aem9wyqq.js.gz +0 -0
- package/web/chunk-ajzrsqpp.js +0 -1
- package/web/chunk-ajzrsqpp.js.br +0 -0
- package/web/chunk-ajzrsqpp.js.gz +0 -0
- package/web/chunk-b4t33dft.js +0 -7
- package/web/chunk-b4t33dft.js.br +0 -0
- package/web/chunk-b4t33dft.js.gz +0 -0
- package/web/chunk-b86sddt6.js +0 -1
- package/web/chunk-b86sddt6.js.br +0 -0
- package/web/chunk-b86sddt6.js.gz +0 -0
- package/web/chunk-bt8ww8df.js +0 -142
- package/web/chunk-bt8ww8df.js.br +0 -0
- package/web/chunk-bt8ww8df.js.gz +0 -0
- package/web/chunk-c1tsq0ta.js +0 -1
- package/web/chunk-c1tsq0ta.js.br +0 -0
- package/web/chunk-c1tsq0ta.js.gz +0 -0
- package/web/chunk-ckkd4qn1.js +0 -1
- package/web/chunk-ckkd4qn1.js.br +0 -0
- package/web/chunk-ckkd4qn1.js.gz +0 -0
- package/web/chunk-cxh1ztpm.js +0 -200
- package/web/chunk-cxh1ztpm.js.br +0 -0
- package/web/chunk-cxh1ztpm.js.gz +0 -0
- package/web/chunk-db2pew8j.js +0 -2
- package/web/chunk-db2pew8j.js.br +0 -0
- package/web/chunk-db2pew8j.js.gz +0 -0
- package/web/chunk-dk2jv3kv.js +0 -2
- package/web/chunk-dk2jv3kv.js.br +0 -0
- package/web/chunk-dk2jv3kv.js.gz +0 -0
- package/web/chunk-dk9efr2r.js +0 -1
- package/web/chunk-dk9efr2r.js.br +0 -0
- package/web/chunk-dk9efr2r.js.gz +0 -0
- package/web/chunk-dmn5rvmt.js +0 -169
- package/web/chunk-dmn5rvmt.js.br +0 -0
- package/web/chunk-dmn5rvmt.js.gz +0 -0
- package/web/chunk-dtzm3qsp.js +0 -34
- package/web/chunk-dtzm3qsp.js.br +0 -0
- package/web/chunk-dtzm3qsp.js.gz +0 -0
- package/web/chunk-e1j49cha.js +0 -140
- package/web/chunk-e1j49cha.js.br +0 -0
- package/web/chunk-e1j49cha.js.gz +0 -0
- package/web/chunk-e24ammbc.js +0 -292
- package/web/chunk-e24ammbc.js.br +0 -0
- package/web/chunk-e24ammbc.js.gz +0 -0
- package/web/chunk-ebvk893x.js +0 -2
- package/web/chunk-ebvk893x.js.br +0 -0
- package/web/chunk-ebvk893x.js.gz +0 -0
- package/web/chunk-ecv7r3t9.js +0 -24
- package/web/chunk-ecv7r3t9.js.br +0 -0
- package/web/chunk-ecv7r3t9.js.gz +0 -0
- package/web/chunk-etkhjrfg.js +0 -1
- package/web/chunk-etkhjrfg.js.br +0 -0
- package/web/chunk-etkhjrfg.js.gz +0 -0
- package/web/chunk-f3ennx3q.js +0 -1
- package/web/chunk-f3ennx3q.js.br +0 -0
- package/web/chunk-f3ennx3q.js.gz +0 -0
- package/web/chunk-f5wyg9zh.js +0 -2
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.js.gz +0 -0
- package/web/chunk-fpg6cdg9.js +0 -1
- package/web/chunk-fpg6cdg9.js.br +0 -0
- package/web/chunk-fpg6cdg9.js.gz +0 -0
- package/web/chunk-fq9kkd61.js +0 -1
- package/web/chunk-fq9kkd61.js.br +0 -0
- package/web/chunk-fq9kkd61.js.gz +0 -0
- package/web/chunk-fr9gd1pt.js +0 -1
- package/web/chunk-fr9gd1pt.js.br +0 -0
- package/web/chunk-fr9gd1pt.js.gz +0 -0
- package/web/chunk-fsfpgs2w.css +0 -1
- package/web/chunk-fsfpgs2w.css.br +0 -0
- package/web/chunk-fsfpgs2w.css.gz +0 -0
- package/web/chunk-ftggg1s9.js +0 -324
- package/web/chunk-ftggg1s9.js.br +0 -0
- package/web/chunk-ftggg1s9.js.gz +0 -0
- package/web/chunk-g337nkpz.js +0 -2
- package/web/chunk-g337nkpz.js.br +0 -0
- package/web/chunk-g337nkpz.js.gz +0 -0
- package/web/chunk-g52np0en.js +0 -1
- package/web/chunk-g52np0en.js.br +0 -0
- package/web/chunk-g52np0en.js.gz +0 -0
- package/web/chunk-gc6pdwjs.js +0 -2
- package/web/chunk-gc6pdwjs.js.br +0 -0
- package/web/chunk-gc6pdwjs.js.gz +0 -0
- package/web/chunk-gks3ybk7.js +0 -291
- package/web/chunk-gks3ybk7.js.br +0 -0
- package/web/chunk-gks3ybk7.js.gz +0 -0
- package/web/chunk-hr1t5hxj.js +0 -1
- package/web/chunk-hr1t5hxj.js.br +0 -0
- package/web/chunk-hr1t5hxj.js.gz +0 -0
- package/web/chunk-k67ze3zq.js +0 -2
- package/web/chunk-k67ze3zq.js.br +0 -0
- package/web/chunk-k67ze3zq.js.gz +0 -0
- package/web/chunk-kcrkppec.js +0 -1
- package/web/chunk-kcrkppec.js.br +0 -0
- package/web/chunk-kcrkppec.js.gz +0 -0
- package/web/chunk-kd2346aw.js +0 -2
- package/web/chunk-kd2346aw.js.br +0 -0
- package/web/chunk-kd2346aw.js.gz +0 -0
- package/web/chunk-kh93xybm.js +0 -62
- package/web/chunk-kh93xybm.js.br +0 -0
- package/web/chunk-kh93xybm.js.gz +0 -0
- package/web/chunk-m32tg04f.js +0 -1
- package/web/chunk-m32tg04f.js.br +0 -0
- package/web/chunk-m32tg04f.js.gz +0 -0
- package/web/chunk-mg98g3yx.js +0 -106
- package/web/chunk-mg98g3yx.js.br +0 -0
- package/web/chunk-mg98g3yx.js.gz +0 -0
- package/web/chunk-mqdvg55y.js +0 -2
- package/web/chunk-mqdvg55y.js.br +0 -0
- package/web/chunk-mqdvg55y.js.gz +0 -0
- package/web/chunk-myg415b8.js +0 -1
- package/web/chunk-myg415b8.js.br +0 -0
- package/web/chunk-myg415b8.js.gz +0 -0
- package/web/chunk-myn0rj98.js +0 -2
- package/web/chunk-myn0rj98.js.br +0 -0
- package/web/chunk-myn0rj98.js.gz +0 -0
- package/web/chunk-nvq8s71g.js +0 -1
- package/web/chunk-nvq8s71g.js.br +0 -0
- package/web/chunk-nvq8s71g.js.gz +0 -0
- package/web/chunk-pphtw0xj.js +0 -7
- package/web/chunk-pphtw0xj.js.br +0 -0
- package/web/chunk-pphtw0xj.js.gz +0 -0
- package/web/chunk-ptdh13r5.js +0 -1
- package/web/chunk-ptdh13r5.js.br +0 -0
- package/web/chunk-ptdh13r5.js.gz +0 -0
- package/web/chunk-q1gyt5y6.js +0 -1
- package/web/chunk-q1gyt5y6.js.br +0 -0
- package/web/chunk-q1gyt5y6.js.gz +0 -0
- package/web/chunk-q40c0y7d.js +0 -24
- package/web/chunk-q40c0y7d.js.br +0 -0
- package/web/chunk-q40c0y7d.js.gz +0 -0
- package/web/chunk-q7pyqxqn.js +0 -89
- package/web/chunk-q7pyqxqn.js.br +0 -0
- package/web/chunk-q7pyqxqn.js.gz +0 -0
- package/web/chunk-r5rt7t62.js +0 -1
- package/web/chunk-r5rt7t62.js.br +0 -0
- package/web/chunk-r5rt7t62.js.gz +0 -0
- package/web/chunk-ra8jt8jw.js +0 -2
- package/web/chunk-ra8jt8jw.js.br +0 -0
- package/web/chunk-ra8jt8jw.js.gz +0 -0
- package/web/chunk-rgh3x4h4.js +0 -1
- package/web/chunk-rgh3x4h4.js.br +0 -0
- package/web/chunk-rgh3x4h4.js.gz +0 -0
- package/web/chunk-rvcq48wy.js +0 -1
- package/web/chunk-rvcq48wy.js.br +0 -0
- package/web/chunk-rvcq48wy.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-rxvvg771.js +0 -1
- package/web/chunk-rxvvg771.js.br +0 -0
- package/web/chunk-rxvvg771.js.gz +0 -0
- package/web/chunk-sfb3w9nf.js +0 -1
- package/web/chunk-sfb3w9nf.js.br +0 -2
- package/web/chunk-sfb3w9nf.js.gz +0 -0
- package/web/chunk-srwx1v8c.js +0 -39
- package/web/chunk-srwx1v8c.js.br +0 -0
- package/web/chunk-srwx1v8c.js.gz +0 -0
- package/web/chunk-t1et0w6s.js +0 -2
- package/web/chunk-t1et0w6s.js.br +0 -0
- package/web/chunk-t1et0w6s.js.gz +0 -0
- package/web/chunk-tm7c78hm.js +0 -1
- package/web/chunk-tm7c78hm.js.br +0 -0
- package/web/chunk-tm7c78hm.js.gz +0 -0
- package/web/chunk-tmrh8hv1.js +0 -1
- package/web/chunk-tmrh8hv1.js.br +0 -0
- package/web/chunk-tmrh8hv1.js.gz +0 -0
- package/web/chunk-tntwwpyh.js +0 -2
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/chunk-tyengwea.js +0 -12
- package/web/chunk-tyengwea.js.br +0 -0
- package/web/chunk-tyengwea.js.gz +0 -0
- package/web/chunk-v13gqed9.js +0 -2
- package/web/chunk-v13gqed9.js.br +0 -0
- package/web/chunk-v13gqed9.js.gz +0 -0
- package/web/chunk-v6srkjvx.js +0 -41
- package/web/chunk-v6srkjvx.js.br +0 -0
- package/web/chunk-v6srkjvx.js.gz +0 -0
- package/web/chunk-vyn5qg7j.js +0 -1
- package/web/chunk-vyn5qg7j.js.br +0 -0
- package/web/chunk-vyn5qg7j.js.gz +0 -0
- package/web/chunk-w8se91rf.js +0 -2
- package/web/chunk-w8se91rf.js.br +0 -0
- package/web/chunk-w8se91rf.js.gz +0 -0
- package/web/chunk-wc533d3w.js +0 -4
- package/web/chunk-wc533d3w.js.br +0 -0
- package/web/chunk-wc533d3w.js.gz +0 -0
- package/web/chunk-wdd9pasx.js +0 -1
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.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-wjpdjzkt.js +0 -36
- package/web/chunk-wjpdjzkt.js.br +0 -0
- package/web/chunk-wjpdjzkt.js.gz +0 -0
- package/web/chunk-wwnzjj7x.js +0 -2
- package/web/chunk-wwnzjj7x.js.br +0 -0
- package/web/chunk-wwnzjj7x.js.gz +0 -0
- package/web/chunk-wypacndw.js +0 -120
- package/web/chunk-wypacndw.js.br +0 -0
- package/web/chunk-wypacndw.js.gz +0 -0
- package/web/chunk-x3p573sq.js +0 -2
- package/web/chunk-x3p573sq.js.br +0 -0
- package/web/chunk-x3p573sq.js.gz +0 -0
- package/web/chunk-x6zh7fcc.js +0 -16
- package/web/chunk-x6zh7fcc.js.br +0 -0
- package/web/chunk-x6zh7fcc.js.gz +0 -0
- package/web/chunk-x87bgw5s.js +0 -89
- package/web/chunk-x87bgw5s.js.br +0 -0
- package/web/chunk-x87bgw5s.js.gz +0 -0
- package/web/chunk-xevjmmdd.js +0 -217
- package/web/chunk-xevjmmdd.js.br +0 -0
- package/web/chunk-xevjmmdd.js.gz +0 -0
- package/web/chunk-xwjytx6p.js +0 -139
- package/web/chunk-xwjytx6p.js.br +0 -0
- package/web/chunk-xwjytx6p.js.gz +0 -0
- package/web/chunk-y0xvbh5g.js +0 -1
- package/web/chunk-y0xvbh5g.js.br +0 -0
- package/web/chunk-y0xvbh5g.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-ybq42mr5.js +0 -2
- package/web/chunk-ybq42mr5.js.br +0 -0
- package/web/chunk-ybq42mr5.js.gz +0 -0
- package/web/chunk-yhzcc87m.js +0 -3
- package/web/chunk-yhzcc87m.js.br +0 -0
- package/web/chunk-yhzcc87m.js.gz +0 -0
- package/web/chunk-yphdbf42.js +0 -70
- package/web/chunk-yphdbf42.js.br +0 -0
- package/web/chunk-yphdbf42.js.gz +0 -0
- package/web/chunk-ythxsag5.js +0 -40
- package/web/chunk-ythxsag5.js.br +0 -0
- package/web/chunk-ythxsag5.js.gz +0 -0
- package/web/chunk-z0smmkfw.js +0 -2
- package/web/chunk-z0smmkfw.js.br +0 -0
- package/web/chunk-z0smmkfw.js.gz +0 -0
- package/web/chunk-zmm3f9sr.js +0 -1
- package/web/chunk-zmm3f9sr.js.br +0 -0
- package/web/chunk-zmm3f9sr.js.gz +0 -0
- package/web/chunk-zxt6qh82.js +0 -2
- package/web/chunk-zxt6qh82.js.br +0 -0
- package/web/chunk-zxt6qh82.js.gz +0 -0
- package/web/manifest-txf6vfbq.webmanifest +0 -35
- package/web/manifest-txf6vfbq.webmanifest.br +0 -0
- package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
package/chunk-ezm2t479.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{wr,gt,he,M,We,fe,oe}from"./chunk-ewr4r5yx.js";import{o,f}from"./chunk-k8mc2tn3.js";var Lt=o(function(br){var{Readable:jt}=f("stream"),{NoOpLogger:Kt,normalizeProvider:Se}=he(),{HttpResponse:_e,HttpRequest:N}=oe(),{parseRfc7231DateTime:Xt,v4:Me}=fe(),{hasOwn:Qt}=gt(),we=(e)=>e?.body instanceof jt||typeof ReadableStream<"u"&&e?.body instanceof ReadableStream,Jt=["AccessDeniedException","AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],Zt=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],er=["TimeoutError","RequestTimeout","RequestTimeoutException"],tr=[500,502,503,504],rr=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],nr=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND","EAI_AGAIN"],z=(e)=>e?.$retryable!==void 0,ve=(e)=>Jt.includes(e.name),Ee=(e)=>e.$metadata?.clockSkewCorrected,Te=(e)=>{let i=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(e&&e instanceof TypeError))return!1;return i.has(e.message)},P=(e)=>e.$metadata?.httpStatusCode===429||Zt.includes(e.name)||e.$retryable?.throttling==!0,x=(e,i=0)=>e?.name!=="AbortError"&&(z(e)||Ee(e)||e.name==="InvalidSignatureException"&&e.message?.includes("Signature expired")||er.includes(e.name)||rr.includes(e?.code||"")||nr.includes(e?.code||"")||tr.includes(e.$metadata?.httpStatusCode||0)||Te(e)||Pe(e)||e.cause!==void 0&&i<=10&&x(e.cause,i+1)),Re=(e)=>{if(e.$metadata?.httpStatusCode!==void 0){let i=e.$metadata.httpStatusCode;if(500<=i&&i<=599&&!x(e))return!0;return!1}return!1};function Pe(e){return e.code==="ERR_HTTP2_STREAM_ERROR"&&e.message.includes("NGHTTP2_REFUSED_STREAM")}var xe=100,C=20000,Oe=500,D=500,ke=5,Fe=10,Y=1,B="amz-sdk-invocation-id",L="amz-sdk-request";function Ie(e,i){if(!_e.isInstance(e))return;for(let c in e.headers){if(!Qt(e.headers,c))continue;let u=c.toLowerCase();if(u==="retry-after"){let s=e.headers[c],a=NaN;if(s.endsWith("GMT"))try{a=(Xt(s).getTime()-Date.now())/1000}catch(d){i?.trace?.("Failed to parse retry-after header"),i?.trace?.(d)}else if(s.match(/ GMT, ((\d+)|(\d+\.\d+))$/))a=Number(s.match(/ GMT, ([\d.]+)$/)?.[1]);else if(s.match(/^((\d+)|(\d+\.\d+))$/))a=Number(s);else if(Date.parse(s)>=Date.now())a=(Date.parse(s)-Date.now())/1000;if(isNaN(a))return;return new Date(Date.now()+a*1000)}else if(u==="x-amz-retry-after"){let s=e.headers[c],a=Number(s);if(isNaN(a)){i?.trace?.(`Failed to parse x-amz-retry-after=${s}`);return}return new Date(Date.now()+a)}}}function ir(e,i){return Ie(e,i)}var Ne=(e)=>{if(e instanceof Error)return e;if(e instanceof Object)return Object.assign(Error(),e);if(typeof e==="string")return Error(e);return Error(`AWS SDK error wrapper for ${e}`)};function De(e){return(i)=>(c,u)=>async(s)=>{let a=await i.retryStrategy(),d=await i.maxAttempts();if(or(a)){a=a;let t=await a.acquireInitialRetryToken((u.partition_id??"")+(u.__retryLongPoll?":longpoll":"")),r=Error(),n=0,g=0,{request:l}=s,p=N.isInstance(l);if(p)l.headers[B]=Me();while(!0)try{if(p)l.headers[L]=`attempt=${n+1}; max=${d}`;let{response:h,output:m}=await c(s);return a.recordSuccess(t),m.$metadata.attempts=n+1,m.$metadata.totalRetryDelay=g,{response:h,output:m}}catch(h){let m=ar(h,i.logger);if(r=Ne(h),p&&e(l))throw(u.logger instanceof Kt?console:u.logger)?.warn("An error was encountered in a non-retryable streaming request."),r;try{t=await a.refreshRetryTokenForRetry(t,m)}catch(y){if(!r.$metadata)r.$metadata={};throw r.$metadata.attempts=n+1,r.$metadata.totalRetryDelay=g,r}n=t.getRetryCount();let A=t.getRetryDelay();if(g+=(t?.$retryLog?.acquisitionDelay??0)+A,A>0)await sr(A)}}else{if(a=a,a?.mode)u.userAgent=[...u.userAgent||[],["cfg/retry-mode",a.mode]];return a.retry(c,s)}}}var sr=(e)=>new Promise((i)=>setTimeout(i,e)),or=(e)=>typeof e.acquireInitialRetryToken<"u"&&typeof e.refreshRetryTokenForRetry<"u"&&typeof e.recordSuccess<"u",ar=(e,i)=>{let c={error:e,errorType:cr(e)},u=Ie(e.$response,i);if(u)c.retryAfterHint=u;return c},cr=(e)=>{if(P(e))return"THROTTLING";if(x(e))return"TRANSIENT";if(Re(e))return"SERVER_ERROR";return"CLIENT_ERROR"},Ce={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function ur(e){let i=De(e);return(c)=>({applyToStack:(u)=>{u.add(i(c),Ce)}})}class O{static setTimeoutFn=(e,i)=>setTimeout(e,i);beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??0.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??0.5,this.scaleConstant=e?.scaleConstant??0.4,this.smooth=e?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let i;this.updateMeasuredRate();let c=e;if(c?.errorType==="THROTTLING"||P(c?.error??e)){let a=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=a,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),i=this.cubicThrottle(a),this.enableTokenBucket()}else this.calculateTimeWindow(),i=this.cubicSuccess(this.getCurrentTimeInSeconds());let s=Math.min(i,2*this.measuredTxRate);this.updateTokenBucketRate(s)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(e){if(!this.enabled)return;this.refillTokenBucket();while(e>this.availableTokens){let i=(e-this.availableTokens)/this.fillRate*1000;await new Promise((c)=>O.setTimeoutFn(c,i)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-e}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let i=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+i),this.lastTimestamp=e}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let e=this.getCurrentTimeInSeconds(),i=Math.floor(e*2)/2;if(this.requestCount++,i>this.lastTxRateBucket){let c=this.requestCount/(i-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(c*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=i}}getPrecise(e){return parseFloat(e.toFixed(8))}}class b{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return b.v2026?50:100}static throttlingDelay(){return b.v2026?1000:500}static cost(){return b.v2026?14:5}static throttlingCost(){return b.v2026?5:10}static modifiedCostType(){return b.v2026?"THROTTLING":"TRANSIENT"}}class Be{x=b.delay();computeNextBackoffDelay(e){let i=Math.random(),c=2,u=i*Math.min(this.x*2**e,C);return Math.floor(u)}setDelayBase(e){this.x=e}}class G{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(e,i,c,u){this.delay=e,this.count=i,this.cost=c,this.longPoll=u}getRetryCount(){return this.count}getRetryDelay(){return Math.min(C,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}var w;(function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"})(w||(w={}));var E=3,Le=w.STANDARD,I={incompatible:1,attempts:2,capacity:3},R=class{mode=w.STANDARD;retryBackoffStrategy;capacity=D;maxAttemptsProvider;baseDelay;constructor(i){if(typeof i==="number")this.maxAttemptsProvider=async()=>i;else if(typeof i==="function")this.maxAttemptsProvider=i;else if(i&&typeof i==="object")this.maxAttemptsProvider=async()=>i.maxAttempts,this.baseDelay=i.baseDelay,this.retryBackoffStrategy=i.backoff;this.maxAttemptsProvider??=async()=>E,this.baseDelay??=b.delay(),this.retryBackoffStrategy??=new Be}async acquireInitialRetryToken(i){return new G(b.delay(),0,void 0,b.v2026&&i.includes(":longpoll"))}async refreshRetryTokenForRetry(i,c){let u=await this.getMaxAttempts(),s=this.retryCode(i,c,u),a=s===0,d=i.isLongPoll?.();if(a||d){let t=c.errorType;this.retryBackoffStrategy.setDelayBase(t==="THROTTLING"?b.throttlingDelay():this.baseDelay);let r=this.retryBackoffStrategy.computeNextBackoffDelay(i.getRetryCount()),n=r;if(c.retryAfterHint instanceof Date)n=Math.max(r,Math.min(c.retryAfterHint.getTime()-Date.now(),r+5000));if(!a){let g=b.v2026&&s===I.capacity&&d?n:0;if(g>0)await new Promise((l)=>setTimeout(l,g))}else{let g=this.getCapacityCost(t);this.capacity-=g;let l=new G(0,i.getRetryCount()+1,g,i.isLongPoll?.()??!1);return await new Promise((p)=>setTimeout(p,n)),l.$retryLog.acquisitionDelay=n,l}}throw Error("No retry token available")}recordSuccess(i){this.capacity=Math.min(D,this.capacity+(i.getRetryCost()??Y))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(i){return console.warn(`Max attempts provider could not resolve. Using default of ${E}`),E}}retryCode(i,c,u){let s=i.getRetryCount()+1,a=this.isRetryableError(c.errorType)?0:I.incompatible,d=s<u?0:I.attempts,t=this.capacity>=this.getCapacityCost(c.errorType)?0:I.capacity;return a||d||t}getCapacityCost(i){return i===b.modifiedCostType()?b.throttlingCost():b.cost()}isRetryableError(i){return i==="THROTTLING"||i==="TRANSIENT"}},Ue=class{mode=w.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(i,c){let{rateLimiter:u}=c??{};this.rateLimiter=u??new O,this.standardRetryStrategy=c?new R({maxAttempts:typeof i==="number"?i:3,...c}):new R(i)}async acquireInitialRetryToken(i){let c=await this.standardRetryStrategy.acquireInitialRetryToken(i);return await this.rateLimiter.getSendToken(),c}async refreshRetryTokenForRetry(i,c){this.rateLimiter.updateClientSendingRate(c);let u=await this.standardRetryStrategy.refreshRetryTokenForRetry(i,c);return await this.rateLimiter.getSendToken(),u}recordSuccess(i){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(i)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class He extends R{computeNextBackoffDelay;constructor(e,i=b.delay()){super(typeof e==="function"?e:async()=>e);if(typeof i==="number")this.computeNextBackoffDelay=()=>i;else this.computeNextBackoffDelay=i;this.retryBackoffStrategy.computeNextBackoffDelay=(c)=>{let u=c+1;return this.computeNextBackoffDelay(u)}}}var dr=(e,i)=>{let c=e,u=Y,s=ke,a=Fe,d=e,t=(l)=>l.name==="TimeoutError"?a:s,r=(l)=>t(l)<=d;return Object.freeze({hasRetryTokens:r,retrieveRetryTokens:(l)=>{if(!r(l))throw Error("No retry token available");let p=t(l);return d-=p,p},releaseRetryTokens:(l)=>{d+=l??u,d=Math.min(d,c)}})},qe=(e,i)=>Math.floor(Math.min(C,Math.random()*2**i*e)),Ge=(e)=>{if(!e)return!1;return z(e)||ve(e)||P(e)||x(e)};class j{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=w.STANDARD;constructor(e,i){this.maxAttemptsProvider=e,this.retryDecider=i?.retryDecider??Ge,this.delayDecider=i?.delayDecider??qe,this.retryQuota=i?.retryQuota??dr(D)}shouldRetry(e,i,c){return i<c&&this.retryDecider(e)&&this.retryQuota.hasRetryTokens(e)}async getMaxAttempts(){let e;try{e=await this.maxAttemptsProvider()}catch(i){e=E}return e}async retry(e,i,c){let u,s=0,a=0,d=await this.getMaxAttempts(),{request:t}=i;if(N.isInstance(t))t.headers[B]=Me();while(!0)try{if(N.isInstance(t))t.headers[L]=`attempt=${s+1}; max=${d}`;if(c?.beforeRequest)await c.beforeRequest();let{response:r,output:n}=await e(i);if(c?.afterRequest)c.afterRequest(r);return this.retryQuota.releaseRetryTokens(u),n.$metadata.attempts=s+1,n.$metadata.totalRetryDelay=a,{response:r,output:n}}catch(r){let n=Ne(r);if(s++,this.shouldRetry(n,s,d)){u=this.retryQuota.retrieveRetryTokens(n);let g=this.delayDecider(P(n)?Oe:xe,s),l=lr(n.$response),p=Math.max(l||0,g);a+=p,await new Promise((h)=>setTimeout(h,p));continue}if(!n.$metadata)n.$metadata={};throw n.$metadata.attempts=s,n.$metadata.totalRetryDelay=a,n}}}var lr=(e)=>{if(!_e.isInstance(e))return;let i=Object.keys(e.headers).find((a)=>a.toLowerCase()==="retry-after");if(!i)return;let c=e.headers[i],u=Number(c);if(!Number.isNaN(u))return Math.min(u*1000,20000);let s=new Date(c);return Math.min(s.getTime()-Date.now(),20000)};class $e extends j{rateLimiter;constructor(e,i){let{rateLimiter:c,...u}=i??{};super(e,u);this.rateLimiter=c??new O,this.mode=w.ADAPTIVE}async retry(e,i){return super.retry(e,i,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:(c)=>{this.rateLimiter.updateClientSendingRate(c)}})}}var W="AWS_MAX_ATTEMPTS",V="max_attempts",fr={environmentVariableSelector:(e)=>{let i=e[W];if(!i)return;let c=parseInt(i);if(Number.isNaN(c))throw Error(`Environment variable ${W} mast be a number, got "${i}"`);return c},configFileSelector:(e)=>{let i=e[V];if(!i)return;let c=parseInt(i);if(Number.isNaN(c))throw Error(`Shared config file entry ${V} mast be a number, got "${i}"`);return c},default:E},pr=(e,i)=>{let{retryStrategy:c,retryMode:u}=e,{defaultMaxAttempts:s=E,defaultBaseDelay:a=b.delay()}=i??{},d=Se(e.maxAttempts??s),t=c?Promise.resolve(c):void 0,r=async()=>{let n=await d();if(await Se(u)()===w.ADAPTIVE)return new Ue(d,{maxAttempts:n,baseDelay:a});return new R({maxAttempts:n,baseDelay:a})};return Object.assign(e,{maxAttempts:d,retryStrategy:()=>t??=r()})},Ve="AWS_RETRY_MODE",ze="retry_mode",hr={environmentVariableSelector:(e)=>e[Ve],configFileSelector:(e)=>e[ze],default:Le},Ye=()=>(e)=>async(i)=>{let{request:c}=i;if(N.isInstance(c))delete c.headers[B],delete c.headers[L];return e(i)},je={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},gr=(e)=>({applyToStack:(i)=>{i.addRelativeTo(Ye(),je)}}),mr=De(we),Ar=ur(we);br.AdaptiveRetryStrategy=Ue;br.CONFIG_MAX_ATTEMPTS=V;br.CONFIG_RETRY_MODE=ze;br.ConfiguredRetryStrategy=He;br.DEFAULT_MAX_ATTEMPTS=E;br.DEFAULT_RETRY_DELAY_BASE=xe;br.DEFAULT_RETRY_MODE=Le;br.DefaultRateLimiter=O;br.DeprecatedAdaptiveRetryStrategy=$e;br.DeprecatedStandardRetryStrategy=j;br.ENV_MAX_ATTEMPTS=W;br.ENV_RETRY_MODE=Ve;br.INITIAL_RETRY_TOKENS=D;br.INVOCATION_ID_HEADER=B;br.MAXIMUM_RETRY_DELAY=C;br.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=fr;br.NODE_RETRY_MODE_CONFIG_OPTIONS=hr;br.NO_RETRY_INCREMENT=Y;br.REQUEST_HEADER=L;br.RETRY_COST=ke;br.RETRY_MODES=w;br.Retry=b;br.StandardRetryStrategy=R;br.THROTTLING_RETRY_DELAY_BASE=Oe;br.TIMEOUT_RETRY_COST=Fe;br.defaultDelayDecider=qe;br.defaultRetryDecider=Ge;br.getOmitRetryHeadersPlugin=gr;br.getRetryAfterHint=ir;br.getRetryPlugin=Ar;br.isBrowserNetworkError=Te;br.isClockSkewCorrectedError=Ee;br.isClockSkewError=ve;br.isNodeJsHttp2TransientError=Pe;br.isRetryableByTrait=z;br.isServerError=Re;br.isThrottlingError=P;br.isTransientError=x;br.omitRetryHeadersMiddleware=Ye;br.omitRetryHeadersMiddlewareOptions=je;br.resolveRetryConfig=pr;br.retryMiddleware=mr;br.retryMiddlewareOptions=Ce});var Qe=o(function(dn){var v={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID"),TRACEPARENT:Symbol.for("_AWS_LAMBDA_TRACEPARENT"),TRACESTATE:Symbol.for("_AWS_LAMBDA_TRACESTATE"),BAGGAGE:Symbol.for("_AWS_LAMBDA_BAGGAGE")},K=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!K)globalThis.awslambda=globalThis.awslambda||{};class U{static PROTECTED_KEYS=v;isProtectedKey(e){return Object.values(v).includes(e)}getRequestId(){return this.get(v.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(v.X_RAY_TRACE_ID)}getTenantId(){return this.get(v.TENANT_ID)}getTraceparent(){return this.get(v.TRACEPARENT)}getTracestate(){return this.get(v.TRACESTATE)}getBaggage(){return this.get(v.BAGGAGE)}}class Ke extends U{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==void 0}get(e){return this.currentContext?.[e]}set(e,i){if(this.isProtectedKey(e))throw Error(`Cannot modify protected Lambda context field: ${String(e)}`);this.currentContext=this.currentContext||{},this.currentContext[e]=i}run(e,i){return this.currentContext=e,i()}}class Q extends U{als;static async create(){let e=new Q,i=await import("async_hooks");return e.als=new i.AsyncLocalStorage,e}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==void 0}get(e){return this.als.getStore()?.[e]}set(e,i){if(this.isProtectedKey(e))throw Error(`Cannot modify protected Lambda context field: ${String(e)}`);let c=this.als.getStore();if(!c)throw Error("No context available");c[e]=i}run(e,i){return this.als.run(e,i)}}dn.InvokeStore=void 0;(function(e){let i=null;async function c(u){if(!i)i=(async()=>{let a=u===!0||"AWS_LAMBDA_MAX_CONCURRENCY"in process.env?await Q.create():new Ke;if(!K&&globalThis.awslambda?.InvokeStore)return globalThis.awslambda.InvokeStore;else if(!K&&globalThis.awslambda)return globalThis.awslambda.InvokeStore=a,a;else return a})();return i}e.getInstanceAsync=c,e._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{if(i=null,globalThis.awslambda?.InvokeStore)delete globalThis.awslambda.InvokeStore;globalThis.awslambda={InvokeStore:void 0}}}:void 0})(dn.InvokeStore||(dn.InvokeStore={}));dn.InvokeStoreBase=U});var Xe=o(function(Pn){var{getSmithyContext:J,hasOwn:fn}=gt();Pn.getSmithyContext=J;var{HttpRequest:ee}=oe(),{requestBuilder:pn}=oe();Pn.requestBuilder=pn;var{HttpApiKeyAuthLocation:Je}=wr(),hn=(e,i)=>{if(!i||i.length===0)return e;let c=[];for(let u of i)for(let s of e)if(s.schemeId.split("#")[1]===u)c.push(s);for(let u of e)if(!c.find(({schemeId:s})=>s===u.schemeId))c.push(u);return c};function gn(e){let i=new Map;for(let c of e)i.set(c.schemeId,c);return i}var te=(e,i)=>(c,u)=>async(s)=>{let a=e.httpAuthSchemeProvider(await i.httpAuthSchemeParametersProvider(e,u,s.input)),d=e.authSchemePreference?await e.authSchemePreference():[],t=hn(a,d),r=gn(e.httpAuthSchemes),n=J(u),g=[];for(let l of t){let p=r.get(l.schemeId);if(!p){g.push(`HttpAuthScheme \`${l.schemeId}\` was not enabled for this service.`);continue}let h=p.identityProvider(await i.identityProviderConfigProvider(e));if(!h){g.push(`HttpAuthScheme \`${l.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:m={},signingProperties:A={}}=l.propertiesExtractor?.(e,u)||{};l.identityProperties=Object.assign(l.identityProperties||{},m),l.signingProperties=Object.assign(l.signingProperties||{},A),n.selectedHttpAuthScheme={httpAuthOption:l,identity:await h(l.identityProperties),signer:p.signer};break}if(!n.selectedHttpAuthScheme)throw Error(g.join(`
|
|
3
|
-
`));return c(s)},Ze={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},mn=(e,{httpAuthSchemeParametersProvider:i,identityProviderConfigProvider:c})=>({applyToStack:(u)=>{u.addRelativeTo(te(e,{httpAuthSchemeParametersProvider:i,identityProviderConfigProvider:c}),Ze)}}),et={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},An=(e,{httpAuthSchemeParametersProvider:i,identityProviderConfigProvider:c})=>({applyToStack:(u)=>{u.addRelativeTo(te(e,{httpAuthSchemeParametersProvider:i,identityProviderConfigProvider:c}),et)}}),bn=(e)=>(i)=>{throw i},yn=(e,i)=>{},tt=(e)=>(i,c)=>async(u)=>{if(!ee.isInstance(u.request))return i(u);let a=J(c).selectedHttpAuthScheme;if(!a)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:d={}},identity:t,signer:r}=a,n=await i({...u,request:await r.sign(u.request,t,d)}).catch((r.errorHandler||bn)(d));return(r.successHandler||yn)(n.response,d),n},rt={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},Sn=(e)=>({applyToStack:(i)=>{i.addRelativeTo(tt(),rt)}}),_n=(e)=>{if(typeof e==="function")return e;let i=Promise.resolve(e);return()=>i},Mn=async(e,i,c,u=(a)=>a,...s)=>{let a=new e(c);return a=u(a)??a,await i.send(a,...s)};function wn(e,i,c,u,s){return async function*(d,t,...r){let n=t,g=d.startingToken??n[c],l=!0,p;while(l){if(n[c]=g,s)n[s]=n[s]??d.pageSize;if(d.client instanceof e)p=await Mn(i,d.client,t,d.withCommand,...r);else throw Error(`Invalid client, expected instance of ${e.name}`);yield p;let h=g;g=vn(p,u),l=!!(g&&(!d.stopOnSameToken||g!==h))}return}}var vn=(e,i)=>{let c=e,u=i.split(".");for(let s of u){if(!c||typeof c!=="object")return;c=c[s]}return c};function En(e,i,c){if(!e.__smithy_context)e.__smithy_context={features:{}};else if(!e.__smithy_context.features)e.__smithy_context.features={};e.__smithy_context.features[i]=c}class nt{authSchemes=new Map;constructor(e){for(let i in e){if(!fn(e,i))continue;let c=e[i];if(c!==void 0)this.authSchemes.set(i,c)}}getIdentityProvider(e){return this.authSchemes.get(e)}}class it{async sign(e,i,c){if(!c)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!c.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!c.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!i.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let u=ee.clone(e);if(c.in===Je.QUERY)u.query[c.name]=i.apiKey;else if(c.in===Je.HEADER)u.headers[c.name]=c.scheme?`${c.scheme} ${i.apiKey}`:i.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+c.in+"`");return u}}class st{async sign(e,i,c){let u=ee.clone(e);if(!i.token)throw Error("request could not be signed with `token` since the `token` is not defined");return u.headers.Authorization=`Bearer ${i.token}`,u}}class ot{async sign(e,i,c){return e}}var at=(e)=>function(c){return ut(c)&&c.expiration.getTime()-Date.now()<e},ct=300000,Tn=at(ct),ut=(e)=>e.expiration!==void 0,Rn=(e,i,c)=>{if(e===void 0)return;let u=typeof e!=="function"?async()=>Promise.resolve(e):e,s,a,d,t=!1,r=async(n)=>{if(!a)a=u(n);try{s=await a,d=!0,t=!1}finally{a=void 0}return s};if(i===void 0)return async(n)=>{if(!d||n?.forceRefresh)s=await r(n);return s};return async(n)=>{if(!d||n?.forceRefresh)s=await r(n);if(t)return s;if(!c(s))return t=!0,s;if(i(s))return await r(n),s;return s}};Pn.DefaultIdentityProviderConfig=nt;Pn.EXPIRATION_MS=ct;Pn.HttpApiKeyAuthSigner=it;Pn.HttpBearerAuthSigner=st;Pn.NoAuthSigner=ot;Pn.createIsIdentityExpiredFunction=at;Pn.createPaginator=wn;Pn.doesIdentityRequireRefresh=ut;Pn.getHttpAuthSchemeEndpointRuleSetPlugin=mn;Pn.getHttpAuthSchemePlugin=An;Pn.getHttpSigningPlugin=Sn;Pn.httpAuthSchemeEndpointRuleSetMiddlewareOptions=Ze;Pn.httpAuthSchemeMiddleware=te;Pn.httpAuthSchemeMiddlewareOptions=et;Pn.httpSigningMiddleware=tt;Pn.httpSigningMiddlewareOptions=rt;Pn.isIdentityExpired=Tn;Pn.memoizeIdentityProvider=Rn;Pn.normalizeProvider=_n;Pn.setFeature=En});var dt=o(function(k,re){(function(e,i){typeof k=="object"&&typeof re=="object"?re.exports=i():typeof define=="function"&&define.amd?define([],i):typeof k=="object"?k.bowser=i():e.bowser=i()})(k,function(){return function(e){var i={};function c(u){if(i[u])return i[u].exports;var s=i[u]={i:u,l:!1,exports:{}};return e[u].call(s.exports,s,s.exports,c),s.l=!0,s.exports}return c.m=e,c.c=i,c.d=function(u,s,a){c.o(u,s)||Object.defineProperty(u,s,{enumerable:!0,get:a})},c.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},c.t=function(u,s){if(1&s&&(u=c(u)),8&s)return u;if(4&s&&typeof u=="object"&&u&&u.__esModule)return u;var a=Object.create(null);if(c.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:u}),2&s&&typeof u!="string")for(var d in u)c.d(a,d,function(t){return u[t]}.bind(null,d));return a},c.n=function(u){var s=u&&u.__esModule?function(){return u.default}:function(){return u};return c.d(s,"a",s),s},c.o=function(u,s){return Object.prototype.hasOwnProperty.call(u,s)},c.p="",c(c.s=90)}({17:function(e,i,c){i.__esModule=!0,i.default=void 0;var u=c(18),s=function(){function a(){}return a.getFirstMatch=function(d,t){var r=t.match(d);return r&&r.length>0&&r[1]||""},a.getSecondMatch=function(d,t){var r=t.match(d);return r&&r.length>1&&r[2]||""},a.matchAndReturnConst=function(d,t,r){if(d.test(t))return r},a.getWindowsVersionName=function(d){switch(d){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},a.getMacOSVersionName=function(d){var t=d.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});t.push(0);var r=t[0],n=t[1];if(r===10)switch(n){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}switch(r){case 11:return"Big Sur";case 12:return"Monterey";case 13:return"Ventura";case 14:return"Sonoma";case 15:return"Sequoia";default:return}},a.getAndroidVersionName=function(d){var t=d.split(".").splice(0,2).map(function(r){return parseInt(r,10)||0});if(t.push(0),!(t[0]===1&&t[1]<5))return t[0]===1&&t[1]<6?"Cupcake":t[0]===1&&t[1]>=6?"Donut":t[0]===2&&t[1]<2?"Eclair":t[0]===2&&t[1]===2?"Froyo":t[0]===2&&t[1]>2?"Gingerbread":t[0]===3?"Honeycomb":t[0]===4&&t[1]<1?"Ice Cream Sandwich":t[0]===4&&t[1]<4?"Jelly Bean":t[0]===4&&t[1]>=4?"KitKat":t[0]===5?"Lollipop":t[0]===6?"Marshmallow":t[0]===7?"Nougat":t[0]===8?"Oreo":t[0]===9?"Pie":void 0},a.getVersionPrecision=function(d){return d.split(".").length},a.compareVersions=function(d,t,r){r===void 0&&(r=!1);var n=a.getVersionPrecision(d),g=a.getVersionPrecision(t),l=Math.max(n,g),p=0,h=a.map([d,t],function(m){var A=l-a.getVersionPrecision(m),y=m+Array(A+1).join(".0");return a.map(y.split("."),function(T){return Array(20-T.length).join("0")+T}).reverse()});for(r&&(p=l-Math.min(n,g)),l-=1;l>=p;){if(h[0][l]>h[1][l])return 1;if(h[0][l]===h[1][l]){if(l===p)return 0;l-=1}else if(h[0][l]<h[1][l])return-1}},a.map=function(d,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(d,t);for(r=0;r<d.length;r+=1)n.push(t(d[r]));return n},a.find=function(d,t){var r,n;if(Array.prototype.find)return Array.prototype.find.call(d,t);for(r=0,n=d.length;r<n;r+=1){var g=d[r];if(t(g,r))return g}},a.assign=function(d){for(var t,r,n=d,g=arguments.length,l=Array(g>1?g-1:0),p=1;p<g;p++)l[p-1]=arguments[p];if(Object.assign)return Object.assign.apply(Object,[d].concat(l));var h=function(){var m=l[t];typeof m=="object"&&m!==null&&Object.keys(m).forEach(function(A){n[A]=m[A]})};for(t=0,r=l.length;t<r;t+=1)h();return d},a.getBrowserAlias=function(d){return u.BROWSER_ALIASES_MAP[d]},a.getBrowserTypeByAlias=function(d){return u.BROWSER_MAP[d]||""},a}();i.default=s,e.exports=i.default},18:function(e,i,c){i.__esModule=!0,i.ENGINE_MAP=i.OS_MAP=i.PLATFORMS_MAP=i.BROWSER_MAP=i.BROWSER_ALIASES_MAP=void 0,i.BROWSER_ALIASES_MAP={AmazonBot:"amazonbot","Amazon Silk":"amazon_silk","Android Browser":"android",BaiduSpider:"baiduspider",Bada:"bada",BingCrawler:"bingcrawler",Brave:"brave",BlackBerry:"blackberry","ChatGPT-User":"chatgpt_user",Chrome:"chrome",ClaudeBot:"claudebot",Chromium:"chromium",Diffbot:"diffbot",DuckDuckBot:"duckduckbot",DuckDuckGo:"duckduckgo",Electron:"electron",Epiphany:"epiphany",FacebookExternalHit:"facebookexternalhit",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot",GPTBot:"gptbot","Internet Explorer":"ie",InternetArchiveCrawler:"internetarchivecrawler","K-Meleon":"k_meleon",LibreWolf:"librewolf",Linespider:"linespider",Maxthon:"maxthon","Meta-ExternalAds":"meta_externalads","Meta-ExternalAgent":"meta_externalagent","Meta-ExternalFetcher":"meta_externalfetcher","Meta-WebIndexer":"meta_webindexer","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver","OAI-SearchBot":"oai_searchbot",Omgilibot:"omgilibot",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PerplexityBot:"perplexitybot","Perplexity-User":"perplexity_user",PhantomJS:"phantomjs",PingdomBot:"pingdombot",Puffin:"puffin",QQ:"qq",QQLite:"qqlite",QupZilla:"qupzilla",Roku:"roku",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SlackBot:"slackbot",SeaMonkey:"seamonkey",Sleipnir:"sleipnir","Sogou Browser":"sogou",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat",YahooSlurp:"yahooslurp","Yandex Browser":"yandex",YandexBot:"yandexbot",YouBot:"youbot"},i.BROWSER_MAP={amazonbot:"AmazonBot",amazon_silk:"Amazon Silk",android:"Android Browser",baiduspider:"BaiduSpider",bada:"Bada",bingcrawler:"BingCrawler",blackberry:"BlackBerry",brave:"Brave",chatgpt_user:"ChatGPT-User",chrome:"Chrome",claudebot:"ClaudeBot",chromium:"Chromium",diffbot:"Diffbot",duckduckbot:"DuckDuckBot",duckduckgo:"DuckDuckGo",edge:"Microsoft Edge",electron:"Electron",epiphany:"Epiphany",facebookexternalhit:"FacebookExternalHit",firefox:"Firefox",focus:"Focus",generic:"Generic",google_search:"Google Search",googlebot:"Googlebot",gptbot:"GPTBot",ie:"Internet Explorer",internetarchivecrawler:"InternetArchiveCrawler",k_meleon:"K-Meleon",librewolf:"LibreWolf",linespider:"Linespider",maxthon:"Maxthon",meta_externalads:"Meta-ExternalAds",meta_externalagent:"Meta-ExternalAgent",meta_externalfetcher:"Meta-ExternalFetcher",meta_webindexer:"Meta-WebIndexer",mz:"MZ Browser",naver:"NAVER Whale Browser",oai_searchbot:"OAI-SearchBot",omgilibot:"Omgilibot",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",perplexitybot:"PerplexityBot",perplexity_user:"Perplexity-User",phantomjs:"PhantomJS",pingdombot:"PingdomBot",puffin:"Puffin",qq:"QQ Browser",qqlite:"QQ Browser Lite",qupzilla:"QupZilla",roku:"Roku",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",slackbot:"SlackBot",sleipnir:"Sleipnir",sogou:"Sogou Browser",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yahooslurp:"YahooSlurp",yandex:"Yandex Browser",yandexbot:"YandexBot",youbot:"YouBot"},i.PLATFORMS_MAP={bot:"bot",desktop:"desktop",mobile:"mobile",tablet:"tablet",tv:"tv"},i.OS_MAP={Android:"Android",Bada:"Bada",BlackBerry:"BlackBerry",ChromeOS:"Chrome OS",HarmonyOS:"HarmonyOS",iOS:"iOS",Linux:"Linux",MacOS:"macOS",PlayStation4:"PlayStation 4",Roku:"Roku",Tizen:"Tizen",WebOS:"WebOS",Windows:"Windows",WindowsPhone:"Windows Phone"},i.ENGINE_MAP={Blink:"Blink",EdgeHTML:"EdgeHTML",Gecko:"Gecko",Presto:"Presto",Trident:"Trident",WebKit:"WebKit"}},90:function(e,i,c){i.__esModule=!0,i.default=void 0;var u,s=(u=c(91))&&u.__esModule?u:{default:u},a=c(18);function d(r,n){for(var g=0;g<n.length;g++){var l=n[g];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}var t=function(){function r(){}var n,g,l;return r.getParser=function(p,h,m){if(h===void 0&&(h=!1),m===void 0&&(m=null),typeof p!="string")throw Error("UserAgent should be a string");return new s.default(p,h,m)},r.parse=function(p,h){return h===void 0&&(h=null),new s.default(p,h).getResult()},n=r,l=[{key:"BROWSER_MAP",get:function(){return a.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return a.ENGINE_MAP}},{key:"OS_MAP",get:function(){return a.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return a.PLATFORMS_MAP}}],(g=null)&&d(n.prototype,g),l&&d(n,l),r}();i.default=t,e.exports=i.default},91:function(e,i,c){i.__esModule=!0,i.default=void 0;var u=r(c(92)),s=r(c(93)),a=r(c(94)),d=r(c(95)),t=r(c(17));function r(g){return g&&g.__esModule?g:{default:g}}var n=function(){function g(p,h,m){if(h===void 0&&(h=!1),m===void 0&&(m=null),p==null||p==="")throw Error("UserAgent parameter can't be empty");this._ua=p;var A=!1;typeof h=="boolean"?(A=h,this._hints=m):this._hints=h!=null&&typeof h=="object"?h:null,this.parsedResult={},A!==!0&&this.parse()}var l=g.prototype;return l.getHints=function(){return this._hints},l.hasBrand=function(p){if(!this._hints||!Array.isArray(this._hints.brands))return!1;var h=p.toLowerCase();return this._hints.brands.some(function(m){return m.brand&&m.brand.toLowerCase()===h})},l.getBrandVersion=function(p){if(this._hints&&Array.isArray(this._hints.brands)){var h=p.toLowerCase(),m=this._hints.brands.find(function(A){return A.brand&&A.brand.toLowerCase()===h});return m?m.version:void 0}},l.getUA=function(){return this._ua},l.test=function(p){return p.test(this._ua)},l.parseBrowser=function(){var p=this;this.parsedResult.browser={};var h=t.default.find(u.default,function(m){if(typeof m.test=="function")return m.test(p);if(Array.isArray(m.test))return m.test.some(function(A){return p.test(A)});throw Error("Browser's test function is not valid")});return h&&(this.parsedResult.browser=h.describe(this.getUA(),this)),this.parsedResult.browser},l.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},l.getBrowserName=function(p){return p?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},l.getBrowserVersion=function(){return this.getBrowser().version},l.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},l.parseOS=function(){var p=this;this.parsedResult.os={};var h=t.default.find(s.default,function(m){if(typeof m.test=="function")return m.test(p);if(Array.isArray(m.test))return m.test.some(function(A){return p.test(A)});throw Error("Browser's test function is not valid")});return h&&(this.parsedResult.os=h.describe(this.getUA())),this.parsedResult.os},l.getOSName=function(p){var h=this.getOS().name;return p?String(h).toLowerCase()||"":h||""},l.getOSVersion=function(){return this.getOS().version},l.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},l.getPlatformType=function(p){p===void 0&&(p=!1);var h=this.getPlatform().type;return p?String(h).toLowerCase()||"":h||""},l.parsePlatform=function(){var p=this;this.parsedResult.platform={};var h=t.default.find(a.default,function(m){if(typeof m.test=="function")return m.test(p);if(Array.isArray(m.test))return m.test.some(function(A){return p.test(A)});throw Error("Browser's test function is not valid")});return h&&(this.parsedResult.platform=h.describe(this.getUA())),this.parsedResult.platform},l.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},l.getEngineName=function(p){return p?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},l.parseEngine=function(){var p=this;this.parsedResult.engine={};var h=t.default.find(d.default,function(m){if(typeof m.test=="function")return m.test(p);if(Array.isArray(m.test))return m.test.some(function(A){return p.test(A)});throw Error("Browser's test function is not valid")});return h&&(this.parsedResult.engine=h.describe(this.getUA())),this.parsedResult.engine},l.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},l.getResult=function(){return t.default.assign({},this.parsedResult)},l.satisfies=function(p){var h=this,m={},A=0,y={},T=0;if(Object.keys(p).forEach(function(_){var F=p[_];typeof F=="string"?(y[_]=F,T+=1):typeof F=="object"&&(m[_]=F,A+=1)}),A>0){var pe=Object.keys(m),ge=t.default.find(pe,function(_){return h.isOS(_)});if(ge){var me=this.satisfies(m[ge]);if(me!==void 0)return me}var Ae=t.default.find(pe,function(_){return h.isPlatform(_)});if(Ae){var be=this.satisfies(m[Ae]);if(be!==void 0)return be}}if(T>0){var Yt=Object.keys(y),ye=t.default.find(Yt,function(_){return h.isBrowser(_,!0)});if(ye!==void 0)return this.compareVersion(y[ye])}},l.isBrowser=function(p,h){h===void 0&&(h=!1);var m=this.getBrowserName().toLowerCase(),A=p.toLowerCase(),y=t.default.getBrowserTypeByAlias(A);return h&&y&&(A=y.toLowerCase()),A===m},l.compareVersion=function(p){var h=[0],m=p,A=!1,y=this.getBrowserVersion();if(typeof y=="string")return p[0]===">"||p[0]==="<"?(m=p.substr(1),p[1]==="="?(A=!0,m=p.substr(2)):h=[],p[0]===">"?h.push(1):h.push(-1)):p[0]==="="?m=p.substr(1):p[0]==="~"&&(A=!0,m=p.substr(1)),h.indexOf(t.default.compareVersions(y,m,A))>-1},l.isOS=function(p){return this.getOSName(!0)===String(p).toLowerCase()},l.isPlatform=function(p){return this.getPlatformType(!0)===String(p).toLowerCase()},l.isEngine=function(p){return this.getEngineName(!0)===String(p).toLowerCase()},l.is=function(p,h){return h===void 0&&(h=!1),this.isBrowser(p,h)||this.isOS(p)||this.isPlatform(p)},l.some=function(p){var h=this;return p===void 0&&(p=[]),p.some(function(m){return h.is(m)})},g}();i.default=n,e.exports=i.default},92:function(e,i,c){i.__esModule=!0,i.default=void 0;var u,s=(u=c(17))&&u.__esModule?u:{default:u},a=/version\/(\d+(\.?_?\d+)+)/i,d=[{test:[/gptbot/i],describe:function(t){var r={name:"GPTBot"},n=s.default.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/chatgpt-user/i],describe:function(t){var r={name:"ChatGPT-User"},n=s.default.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/oai-searchbot/i],describe:function(t){var r={name:"OAI-SearchBot"},n=s.default.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(t){var r={name:"ClaudeBot"},n=s.default.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(t){var r={name:"Omgilibot"},n=s.default.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/diffbot/i],describe:function(t){var r={name:"Diffbot"},n=s.default.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/perplexitybot/i],describe:function(t){var r={name:"PerplexityBot"},n=s.default.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/perplexity-user/i],describe:function(t){var r={name:"Perplexity-User"},n=s.default.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/youbot/i],describe:function(t){var r={name:"YouBot"},n=s.default.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/meta-webindexer/i],describe:function(t){var r={name:"Meta-WebIndexer"},n=s.default.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/meta-externalads/i],describe:function(t){var r={name:"Meta-ExternalAds"},n=s.default.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/meta-externalagent/i],describe:function(t){var r={name:"Meta-ExternalAgent"},n=s.default.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/meta-externalfetcher/i],describe:function(t){var r={name:"Meta-ExternalFetcher"},n=s.default.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/googlebot/i],describe:function(t){var r={name:"Googlebot"},n=s.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/linespider/i],describe:function(t){var r={name:"Linespider"},n=s.default.getFirstMatch(/(?:linespider)(?:-[-\w]+)?[\s/](\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/amazonbot/i],describe:function(t){var r={name:"AmazonBot"},n=s.default.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/bingbot/i],describe:function(t){var r={name:"BingCrawler"},n=s.default.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/baiduspider/i],describe:function(t){var r={name:"BaiduSpider"},n=s.default.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/duckduckbot/i],describe:function(t){var r={name:"DuckDuckBot"},n=s.default.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/ia_archiver/i],describe:function(t){var r={name:"InternetArchiveCrawler"},n=s.default.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{name:"FacebookExternalHit"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(t){var r={name:"SlackBot"},n=s.default.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]+)?[\s/](\d+(\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/yahoo!?[\s/]*slurp/i],describe:function(){return{name:"YahooSlurp"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{name:"YandexBot"}}},{test:[/pingdom/i],describe:function(){return{name:"PingdomBot"}}},{test:[/opera/i],describe:function(t){var r={name:"Opera"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/opr\/|opios/i],describe:function(t){var r={name:"Opera"},n=s.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/SamsungBrowser/i],describe:function(t){var r={name:"Samsung Internet for Android"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/Whale/i],describe:function(t){var r={name:"NAVER Whale Browser"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/PaleMoon/i],describe:function(t){var r={name:"Pale Moon"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/MZBrowser/i],describe:function(t){var r={name:"MZ Browser"},n=s.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/focus/i],describe:function(t){var r={name:"Focus"},n=s.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/swing/i],describe:function(t){var r={name:"Swing"},n=s.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/coast/i],describe:function(t){var r={name:"Opera Coast"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var r={name:"Opera Touch"},n=s.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/yabrowser/i],describe:function(t){var r={name:"Yandex Browser"},n=s.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/ucbrowser/i],describe:function(t){var r={name:"UC Browser"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/Maxthon|mxios/i],describe:function(t){var r={name:"Maxthon"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/epiphany/i],describe:function(t){var r={name:"Epiphany"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/puffin/i],describe:function(t){var r={name:"Puffin"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/sleipnir/i],describe:function(t){var r={name:"Sleipnir"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/k-meleon/i],describe:function(t){var r={name:"K-Meleon"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/micromessenger/i],describe:function(t){var r={name:"WeChat"},n=s.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/qqbrowser/i],describe:function(t){var r={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},n=s.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/msie|trident/i],describe:function(t){var r={name:"Internet Explorer"},n=s.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/\sedg\//i],describe:function(t){var r={name:"Microsoft Edge"},n=s.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/edg([ea]|ios)/i],describe:function(t){var r={name:"Microsoft Edge"},n=s.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/vivaldi/i],describe:function(t){var r={name:"Vivaldi"},n=s.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/seamonkey/i],describe:function(t){var r={name:"SeaMonkey"},n=s.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/sailfish/i],describe:function(t){var r={name:"Sailfish"},n=s.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return n&&(r.version=n),r}},{test:[/silk/i],describe:function(t){var r={name:"Amazon Silk"},n=s.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/phantom/i],describe:function(t){var r={name:"PhantomJS"},n=s.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/slimerjs/i],describe:function(t){var r={name:"SlimerJS"},n=s.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var r={name:"BlackBerry"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var r={name:"WebOS Browser"},n=s.default.getFirstMatch(a,t)||s.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/bada/i],describe:function(t){var r={name:"Bada"},n=s.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/tizen/i],describe:function(t){var r={name:"Tizen"},n=s.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/qupzilla/i],describe:function(t){var r={name:"QupZilla"},n=s.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/librewolf/i],describe:function(t){var r={name:"LibreWolf"},n=s.default.getFirstMatch(/(?:librewolf)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var r={name:"Firefox"},n=s.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/electron/i],describe:function(t){var r={name:"Electron"},n=s.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/sogoumobilebrowser/i,/metasr/i,/se 2\.[x]/i],describe:function(t){var r={name:"Sogou Browser"},n=s.default.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,t),g=s.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t),l=s.default.getFirstMatch(/se ([\d.]+)x/i,t),p=n||g||l;return p&&(r.version=p),r}},{test:[/MiuiBrowser/i],describe:function(t){var r={name:"Miui"},n=s.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:function(t){return!!t.hasBrand("DuckDuckGo")||t.test(/\sDdg\/[\d.]+$/i)},describe:function(t,r){var n={name:"DuckDuckGo"};if(r){var g=r.getBrandVersion("DuckDuckGo");if(g)return n.version=g,n}var l=s.default.getFirstMatch(/\sDdg\/([\d.]+)$/i,t);return l&&(n.version=l),n}},{test:function(t){return t.hasBrand("Brave")},describe:function(t,r){var n={name:"Brave"};if(r){var g=r.getBrandVersion("Brave");if(g)return n.version=g,n}return n}},{test:[/chromium/i],describe:function(t){var r={name:"Chromium"},n=s.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/chrome|crios|crmo/i],describe:function(t){var r={name:"Chrome"},n=s.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/GSA/i],describe:function(t){var r={name:"Google Search"},n=s.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:function(t){var r=!t.test(/like android/i),n=t.test(/android/i);return r&&n},describe:function(t){var r={name:"Android Browser"},n=s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/playstation 4/i],describe:function(t){var r={name:"PlayStation 4"},n=s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/safari|applewebkit/i],describe:function(t){var r={name:"Safari"},n=s.default.getFirstMatch(a,t);return n&&(r.version=n),r}},{test:[/.*/i],describe:function(t){var r=t.search("\\(")!==-1?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:s.default.getFirstMatch(r,t),version:s.default.getSecondMatch(r,t)}}}];i.default=d,e.exports=i.default},93:function(e,i,c){i.__esModule=!0,i.default=void 0;var u,s=(u=c(17))&&u.__esModule?u:{default:u},a=c(18),d=[{test:[/Roku\/DVP/],describe:function(t){var r=s.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:a.OS_MAP.Roku,version:r}}},{test:[/windows phone/i],describe:function(t){var r=s.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.WindowsPhone,version:r}}},{test:[/windows /i],describe:function(t){var r=s.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),n=s.default.getWindowsVersionName(r);return{name:a.OS_MAP.Windows,version:r,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(t){var r={name:a.OS_MAP.iOS},n=s.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return n&&(r.version=n),r}},{test:[/macintosh/i],describe:function(t){var r=s.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),n=s.default.getMacOSVersionName(r),g={name:a.OS_MAP.MacOS,version:r};return n&&(g.versionName=n),g}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var r=s.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:r}}},{test:[/OpenHarmony/i],describe:function(t){var r=s.default.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.HarmonyOS,version:r}}},{test:function(t){var r=!t.test(/like android/i),n=t.test(/android/i);return r&&n},describe:function(t){var r=s.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),n=s.default.getAndroidVersionName(r),g={name:a.OS_MAP.Android,version:r};return n&&(g.versionName=n),g}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var r=s.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),n={name:a.OS_MAP.WebOS};return r&&r.length&&(n.version=r),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var r=s.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||s.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||s.default.getFirstMatch(/\bbb(\d+)/i,t);return{name:a.OS_MAP.BlackBerry,version:r}}},{test:[/bada/i],describe:function(t){var r=s.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.Bada,version:r}}},{test:[/tizen/i],describe:function(t){var r=s.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.Tizen,version:r}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var r=s.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.PlayStation4,version:r}}}];i.default=d,e.exports=i.default},94:function(e,i,c){i.__esModule=!0,i.default=void 0;var u,s=(u=c(17))&&u.__esModule?u:{default:u},a=c(18),d=[{test:[/googlebot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(t){var r=s.default.getFirstMatch(/(can-l01)/i,t)&&"Nova",n={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return r&&(n.model=r),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(t){var r=t.test(/ipod|iphone/i),n=t.test(/like (ipod|iphone)/i);return r&&!n},describe:function(t){var r=s.default.getFirstMatch(/(ipod|iphone)/i,t);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:r}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(t){var r=s.default.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,t),n={type:a.PLATFORMS_MAP.mobile,vendor:"Nokia"};return r&&(n.model=r),n}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(t){return t.getBrowserName(!0)==="blackberry"},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(t){return t.getBrowserName(!0)==="bada"},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(t){return t.getBrowserName()==="windows phone"},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(t){var r=Number(String(t.getOSVersion()).split(".")[0]);return t.getOSName(!0)==="android"&&r>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(t){return t.getOSName(!0)==="android"},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:[/netcast/i],describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(t){return t.getOSName(!0)==="macos"},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(t){return t.getOSName(!0)==="windows"},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(t){return t.getOSName(!0)==="linux"},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(t){return t.getOSName(!0)==="playstation 4"},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(t){return t.getOSName(!0)==="roku"},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];i.default=d,e.exports=i.default},95:function(e,i,c){i.__esModule=!0,i.default=void 0;var u,s=(u=c(17))&&u.__esModule?u:{default:u},a=c(18),d=[{test:function(t){return t.getBrowserName(!0)==="microsoft edge"},describe:function(t){if(/\sedg\//i.test(t))return{name:a.ENGINE_MAP.Blink};var r=s.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:a.ENGINE_MAP.EdgeHTML,version:r}}},{test:[/trident/i],describe:function(t){var r={name:a.ENGINE_MAP.Trident},n=s.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:function(t){return t.test(/presto/i)},describe:function(t){var r={name:a.ENGINE_MAP.Presto},n=s.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:function(t){var r=t.test(/gecko/i),n=t.test(/like gecko/i);return r&&!n},describe:function(t){var r={name:a.ENGINE_MAP.Gecko},n=s.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var r={name:a.ENGINE_MAP.WebKit},n=s.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return n&&(r.version=n),r}}];i.default=d,e.exports=i.default}})})});var Z=o(function(Vi){var{Retry:Qn,RETRY_MODES:lt}=Lt(),{HttpRequest:ue,parseUrl:Jn}=oe(),{InvokeStore:ft}=Qe(),{normalizeProvider:Zn}=Xe(),{platform:ei,release:ti}=f("os"),{versions:ne,env:pt}=f("process"),{isValidHostLabel:ri,isIpAddress:yt,customEndpointFunctions:ni}=We(),{EndpointError:ii,resolveEndpoint:si}=We();Vi.EndpointError=ii;Vi.isIpAddress=yt;Vi.resolveEndpoint=si;var{loadConfig:oi,NODE_REGION_CONFIG_OPTIONS:St,NODE_REGION_CONFIG_FILE_OPTIONS:_t}=M(),{REGION_ENV_NAME:ai,REGION_INI_NAME:ci,resolveRegionConfig:ui}=M();Vi.NODE_REGION_CONFIG_FILE_OPTIONS=_t;Vi.NODE_REGION_CONFIG_OPTIONS=St;Vi.REGION_ENV_NAME=ai;Vi.REGION_INI_NAME=ci;Vi.resolveRegionConfig=ui;var q={warningEmitted:!1},di=(e)=>{if(e&&!q.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){q.warningEmitted=!0;return}let i=parseInt(e.substring(1,e.indexOf("."))),c=22;if(i<c)q.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
4
|
-
versions published after the first week of January 2027
|
|
5
|
-
will require node >=${c}. You are running node ${e}.
|
|
6
|
-
|
|
7
|
-
To continue receiving updates to AWS services, bug fixes,
|
|
8
|
-
and security updates please upgrade to node >=${c}.
|
|
9
|
-
|
|
10
|
-
More information can be found at: https://a.co/c895JFp`)}},li=()=>(e,i)=>async(c)=>(i.__retryLongPoll=!0,e(c)),fi={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},pi=(e)=>({applyToStack:(i)=>{i.add(li(),fi)}});function hi(e,i,c){if(!e.$source)e.$source={};return e.$source[i]=c,e}Qn.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function S(e,i,c){if(!e.__aws_sdk_context)e.__aws_sdk_context={features:{}};else if(!e.__aws_sdk_context.features)e.__aws_sdk_context.features={};e.__aws_sdk_context.features[i]=c}function gi(e,i,c){if(!e.$source)e.$source={};return e.$source[i]=c,e}function mi(e){return e}var Mt=(e)=>(i)=>async(c)=>{if(!ue.isInstance(c.request))return i(c);let{request:u}=c,{handlerProtocol:s=""}=e.requestHandler.metadata||{};if(s.indexOf("h2")>=0&&!u.headers[":authority"])delete u.headers.host,u.headers[":authority"]=u.hostname+(u.port?":"+u.port:"");else if(!u.headers.host){let a=u.hostname;if(u.port!=null)a+=`:${u.port}`;u.headers.host=a}return i(c)},wt={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},Ai=(e)=>({applyToStack:(i)=>{i.add(Mt(e),wt)}}),vt=()=>(e,i)=>async(c)=>{try{let u=await e(c),{clientName:s,commandName:a,logger:d,dynamoDbDocumentClientOptions:t={}}=i,{overrideInputFilterSensitiveLog:r,overrideOutputFilterSensitiveLog:n}=t,g=r??i.inputFilterSensitiveLog,l=n??i.outputFilterSensitiveLog,{$metadata:p,...h}=u.output;return d?.info?.({clientName:s,commandName:a,input:g(c.input),output:l(h),metadata:p}),u}catch(u){let{clientName:s,commandName:a,logger:d,dynamoDbDocumentClientOptions:t={}}=i,{overrideInputFilterSensitiveLog:r}=t,n=r??i.inputFilterSensitiveLog;throw d?.error?.({clientName:s,commandName:a,input:n(c.input),error:u,metadata:u.$metadata}),u}},Et={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},bi=(e)=>({applyToStack:(i)=>{i.add(vt(),Et)}}),Tt={step:"build",tags:["RECURSION_DETECTION","TRACE_CONTEXT_PROPAGATION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},yi="AWS_LAMBDA_FUNCTION_NAME",Si="_X_AMZN_TRACE_ID",ie="X-Amzn-Trace-Id",ce="traceparent",Rt="tracestate",Pt="baggage",xt=()=>(e)=>async(i)=>{let{request:c}=i;if(!ue.isInstance(c))return e(i);let u;{let s=Object.keys(c.headers??{}).find((a)=>a.toLowerCase()===ie.toLowerCase())??ie;if(!c.headers.hasOwnProperty(s)){let a=process.env[yi],d=process.env[Si];u??=await ft.getInstanceAsync();let r=u?.getXRayTraceId()??d,n=(g)=>typeof g==="string"&&g.length>0;if(n(a)&&n(r))c.headers[ie]=r}}if(_i(c.headers),!c.headers[ce]){let a=(u??=await ft.getInstanceAsync())?.getTraceparent?.();if(a){c.headers[ce]=a;let d=u?.getTracestate?.();if(d)c.headers[Rt]=d;let t=u?.getBaggage?.();if(t)c.headers[Pt]=t}}return e(i)};function _i(e){for(let i of Object.keys(e)){let c=i.toLowerCase();if(i!==c&&(c===ce||c===Rt||c===Pt))e[c]=e[i],delete e[i]}}var Mi=(e)=>({applyToStack:(i)=>{i.add(xt(),Tt)}}),de=void 0;function wi(e){if(e===void 0)return!0;return typeof e==="string"&&e.length<=50}function vi(e){let i=Zn(e.userAgentAppId??de),{customUserAgent:c}=e;return Object.assign(e,{customUserAgent:typeof c==="string"?[[c]]:c,userAgentAppId:async()=>{let u=await i();if(!wi(u)){let s=e.logger?.constructor?.name==="NoOpLogger"||!e.logger?console:e.logger;if(typeof u!=="string")s?.warn("userAgentAppId must be a string or undefined.");else if(u.length>50)s?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return u}})}var Ot={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],version:"1.1"},kt=Ot,Ft="",It=(e)=>{let{partitions:i}=kt;for(let u of i){let{regions:s,outputs:a}=u;for(let[d,t]of Object.entries(s))if(d===e)return{...a,...t}}for(let u of i){let{regionRegex:s,outputs:a}=u;if(new RegExp(s).test(e))return{...a}}let c=i.find((u)=>u.id==="aws");if(!c)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...c.outputs}},Nt=(e,i="")=>{kt=e,Ft=i},Ei=()=>{Nt(Ot,"")},Dt=()=>Ft,Ti=/\d{12}\.ddb/;async function Ri(e,i,c){if(c.request?.headers?.["smithy-protocol"]==="rpc-v2-cbor")S(e,"PROTOCOL_RPC_V2_CBOR","M");if(typeof i.retryStrategy==="function"){let a=await i.retryStrategy();if(typeof a.mode==="string")switch(a.mode){case lt.ADAPTIVE:S(e,"RETRY_MODE_ADAPTIVE","F");break;case lt.STANDARD:S(e,"RETRY_MODE_STANDARD","E");break}}if(typeof i.accountIdEndpointMode==="function"){let a=e.endpointV2;if(String(a?.url?.hostname).match(Ti))S(e,"ACCOUNT_ID_ENDPOINT","O");switch(await i.accountIdEndpointMode?.()){case"disabled":S(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":S(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":S(e,"ACCOUNT_ID_MODE_REQUIRED","R");break}}let s=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(s?.$source){let a=s;if(a.accountId)S(e,"RESOLVED_ACCOUNT_ID","T");for(let[d,t]of Object.entries(a.$source??{}))S(e,d,t)}}var ht="user-agent",se="x-amz-user-agent",mt=" ",ae="/",Pi=/[^!$%&'*+\-.^_`|~\w]/g,xi=/[^!$%&'*+\-.^_`|~\w#]/g,At="-",Oi=1024;function ki(e){let i="";for(let c in e){let u=e[c];if(i.length+u.length+1<=Oi){if(i.length)i+=","+u;else i+=u;continue}break}return i}var Ct=(e)=>(i,c)=>async(u)=>{let{request:s}=u;if(!ue.isInstance(s))return i(u);let{headers:a}=s,d=c?.userAgent?.map(H)||[],t=(await e.defaultUserAgentProvider()).map(H);await Ri(c,e,u);let r=c;t.push(`m/${ki(Object.assign({},c.__smithy_context?.features,r.__aws_sdk_context?.features))}`);let n=e?.customUserAgent?.map(H)||[],g=await e.userAgentAppId();if(g)t.push(H(["app",`${g}`]));let l=Dt(),p=(l?[l]:[]).concat([...t,...d,...n]).join(mt),h=[...t.filter((m)=>m.startsWith("aws-sdk-")),...n].join(mt);if(e.runtime!=="browser"){if(h)a[se]=a[se]?`${a[ht]} ${h}`:h;a[ht]=p}else a[se]=p;return i({...u,request:s})},H=(e)=>{let i=e[0].split(ae).map((d)=>d.replace(Pi,At)).join(ae),c=e[1]?.replace(xi,At),u=i.indexOf(ae),s=i.substring(0,u),a=i.substring(u+1);if(s==="api")a=a.toLowerCase();return[s,a,c].filter((d)=>d&&d.length>0).reduce((d,t,r)=>{switch(r){case 0:return t;case 1:return`${d}/${t}`;default:return`${d}#${t}`}},"")},Bt={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Fi=(e)=>({applyToStack:(i)=>{i.add(Ct(e),Bt)}}),Ii=()=>{let e=["deno","bun","llrt"];for(let i of e)if(ne[i])return[`md/${i}`,ne[i]];return["md/nodejs",ne.node]},Ut={isCrtAvailable:!1},Ni=()=>{if(Ut.isCrtAvailable)return["md/crt-avail"];return null},Ht=({serviceId:e,clientVersion:i})=>{let c=Ii();return async(u)=>{let s=[["aws-sdk-js",i],["ua","2.1"],[`os/${ei()}`,ti()],["lang/js"],c],a=Ni();if(a)s.push(a);if(e)s.push([`api/${e}`,i]);if(pt.AWS_EXECUTION_ENV)s.push([`exec-env/${pt.AWS_EXECUTION_ENV}`]);let d=await u?.userAgentAppId?.();return d?[...s,[`app/${d}`]]:[...s]}},Di=Ht,qt="AWS_SDK_UA_APP_ID",Gt="sdk_ua_app_id",Ci="sdk-ua-app-id",Bi={environmentVariableSelector:(e)=>e[qt],configFileSelector:(e)=>e[Gt]??e[Ci],default:de},Li=({serviceId:e,clientVersion:i})=>async(c)=>{let u=dt(),s=u.parse??u.default.parse??(()=>""),a=typeof window<"u"&&window?.navigator?.userAgent?s(window.navigator.userAgent):void 0,d=[["aws-sdk-js",i],["ua","2.1"],[`os/${a?.os?.name||"other"}`,a?.os?.version],["lang/js"],["md/browser",`${a?.browser?.name??"unknown"}_${a?.browser?.version??"unknown"}`]];if(e)d.push([`api/${e}`,i]);let t=await c?.userAgentAppId?.();if(t)d.push([`app/${t}`]);return d},Ui={os(e){if(/iPhone|iPad|iPod/.test(e))return"iOS";if(/Macintosh|Mac OS X/.test(e))return"macOS";if(/Windows NT/.test(e))return"Windows";if(/Android/.test(e))return"Android";if(/Linux/.test(e))return"Linux";return},browser(e){if(/EdgiOS|EdgA|Edg\//.test(e))return"Microsoft Edge";if(/Firefox\//.test(e))return"Firefox";if(/Chrome\//.test(e))return"Chrome";if(/Safari\//.test(e))return"Safari";return}},le=(e,i=!1)=>{if(i){for(let c of e.split("."))if(!le(c))return!1;return!0}if(!ri(e))return!1;if(e.length<3||e.length>63)return!1;if(e!==e.toLowerCase())return!1;if(yt(e))return!1;return!0},bt=":",Hi="/",Wt=(e)=>{let i=e.split(bt);if(i.length<6)return null;let[c,u,s,a,d,...t]=i;if(c!=="arn"||u===""||s===""||t.join(bt)==="")return null;let r=t.map((n)=>n.split(Hi)).flat();return{partition:u,service:s,region:a,accountId:d,resourceId:r}},$t={isVirtualHostableS3Bucket:le,parseArn:Wt,partition:It};ni.aws=$t;var qi=(e)=>{if(typeof e.endpointProvider!=="function")throw Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");let{endpoint:i}=e;if(i===void 0)e.endpoint=async()=>Vt(e.endpointProvider({Region:typeof e.region==="function"?await e.region():e.region,UseDualStack:typeof e.useDualstackEndpoint==="function"?await e.useDualstackEndpoint():e.useDualstackEndpoint,UseFIPS:typeof e.useFipsEndpoint==="function"?await e.useFipsEndpoint():e.useFipsEndpoint,Endpoint:void 0},{logger:e.logger}));return e},Vt=(e)=>Jn(e.url);function Gi(e={}){return oi({...St,async default(){if(!zt.silence)console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");return"us-east-1"}},{..._t,...e})}var zt={silence:!1},Wi=(e)=>({setRegion(i){e.region=i},region(){return e.region}}),$i=(e)=>({region:e.region()});Vi.DEFAULT_UA_APP_ID=de;Vi.NODE_APP_ID_CONFIG_OPTIONS=Bi;Vi.UA_APP_ID_ENV_NAME=qt;Vi.UA_APP_ID_INI_NAME=Gt;Vi.awsEndpointFunctions=$t;Vi.createDefaultUserAgentProvider=Ht;Vi.createUserAgentStringParsingProvider=Li;Vi.crtAvailability=Ut;Vi.defaultUserAgent=Di;Vi.emitWarningIfUnsupportedVersion=di;Vi.fallback=Ui;Vi.getAwsRegionExtensionConfiguration=Wi;Vi.getHostHeaderPlugin=Ai;Vi.getLoggerPlugin=bi;Vi.getLongPollPlugin=pi;Vi.getRecursionDetectionPlugin=Mi;Vi.getUserAgentMiddlewareOptions=Bt;Vi.getUserAgentPlugin=Fi;Vi.getUserAgentPrefix=Dt;Vi.hostHeaderMiddleware=Mt;Vi.hostHeaderMiddlewareOptions=wt;Vi.isVirtualHostableS3Bucket=le;Vi.loggerMiddleware=vt;Vi.loggerMiddlewareOptions=Et;Vi.parseArn=Wt;Vi.partition=It;Vi.recursionDetectionMiddleware=xt;Vi.recursionDetectionMiddlewareOptions=Tt;Vi.resolveAwsRegionExtensionConfiguration=$i;Vi.resolveDefaultAwsRegionalEndpointsConfig=qi;Vi.resolveHostHeaderConfig=mi;Vi.resolveUserAgentConfig=vi;Vi.setCredentialFeature=hi;Vi.setFeature=S;Vi.setPartitionInfo=Nt;Vi.setTokenFeature=gi;Vi.state=q;Vi.stsRegionDefaultResolver=Gi;Vi.stsRegionWarning=zt;Vi.toEndpointV1=Vt;Vi.useDefaultPartitionInfo=Ei;Vi.userAgentMiddleware=Ct});
|
|
11
|
-
export{Lt,Xe,Z};
|
package/chunk-f5prr1x7.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
function Ie(e){let t=Object.values(e).filter((i)=>typeof i==="number");return Object.entries(e).filter(([i,s])=>t.indexOf(+i)===-1).map(([i,s])=>s)}function Ut(e,t="|"){return e.map((o)=>Bt(o)).join(t)}function Te(e,t){if(typeof t==="bigint")return t.toString();return t}class uo{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;if(e!==void 0)this._value=e(),this._getter=void 0;return this._value}}function Ee(e){return new uo(e)}function lo(e){return e===null||e===void 0}function Ye(e){let t=e.startsWith("^")?1:0,o=e.endsWith("$")?e.length-1:e.length;return e.slice(t,o)}function po(e,t){let o=e/t,i=Math.round(o),s=4*Number.EPSILON*Math.max(Math.abs(o),1);if(Math.abs(o-i)<s)return 0;return o-i}function Q(e,t,o){Object.defineProperty(e,t,{value:o,writable:!0,enumerable:!0,configurable:!0})}function Ae(e){let t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function ue(e){return Ae(e._zod.def)??e._zod.def.shape}function fo(e,t,o){Object.defineProperty(e,t,{get(){let i=o();return Q(this,t,i),i},enumerable:!0,configurable:!0})}function mo(e,t,o){if(t in e)Q(e,t,o);else e[t]=o}function ze(e,t,o,i){let s=ue(t);for(let u of o){let p=Object.getOwnPropertyDescriptor(s,u);if(!p.enumerable)continue;if(p.get)fo(e,u,()=>{let f=t._zod.def.shape[u];return i?i(f,u):f});else mo(e,u,i?i(p.value,u):p.value)}}function Ga(e,t){for(let o of Reflect.ownKeys(t)){let i=Object.getOwnPropertyDescriptor(t,o);if(!i.enumerable)continue;if(i.get)fo(e,o,()=>t[o]);else mo(e,o,i.value)}}function G(...e){let t={};for(let o of e){let i=Object.getOwnPropertyDescriptors(o);Object.assign(t,i)}return Object.defineProperties({},t)}function ho(e){return JSON.stringify(e)}function go(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Ft="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function be(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var _o=Ee(()=>{if(B.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function _e(e){if(be(e)===!1)return!1;let t=e.constructor;if(t===void 0)return!0;if(typeof t!=="function")return!0;let o=t.prototype;if(be(o)===!1)return!1;if(Object.prototype.hasOwnProperty.call(o,"isPrototypeOf")===!1)return!1;return!0}function Jt(e){if(_e(e))return{...e};if(Array.isArray(e))return[...e];if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);return e}var xo=new Set(["string","number","symbol"]);function de(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ne(e,t,o){let i=new e._zod.constr(t??e._zod.def);if(!t||o?.parent)i._zod.parent=e;return i}function v(e){let t=e;if(!t)return{};if(typeof t==="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}if(delete t.message,typeof t.error==="string")return{...t,error:()=>t.error};return t}function Bt(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function bo(e){return Object.keys(e).filter((t)=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var Qe=(()=>({safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]}))(),qt={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Wa(e,t){let o=e._zod.def,i=o.checks;if(i&&i.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let u={};return ze(u,e,et(e,t)),ne(e,G(o,{shape:u,checks:[]}))}function et(e,t){let o=ue(e),i=[];for(let s of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(o,s)?.enumerable)throw Error(`Unrecognized key: "${String(s)}"`);if(t[s])i.push(s)}return i}function Xa(e,t){let o=e._zod.def,i=o.checks;if(i&&i.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let u=new Set(et(e,t)),p={};return ze(p,e,Reflect.ownKeys(ue(e)).filter((f)=>!u.has(f))),ne(e,G(o,{shape:p,checks:[]}))}function Ha(e,t){if(!_e(t))throw Error("Invalid input to extend: expected a plain object");let o=e._zod.def.checks;if(o&&o.length>0){let s=ue(e);for(let u of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(s,u)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return ne(e,G(e._zod.def,{shape:yo(e,t)}))}function yo(e,t){let o={};return ze(o,e,Reflect.ownKeys(ue(e))),Ga(o,t),o}function Ya(e,t){if(!_e(t))throw Error("Invalid input to safeExtend: expected a plain object");return ne(e,G(e._zod.def,{shape:yo(e,t)}))}function Qa(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let o={};ze(o,e,Reflect.ownKeys(ue(e))),ze(o,t,Reflect.ownKeys(ue(t)));let i=G(e._zod.def,{shape:o,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return ne(e,i)}function vo(e,t,o,i="partial"){let u=t._zod.def.checks;if(u&&u.length>0)throw Error(`.${i}() cannot be used on object schemas containing refinements`);let f=o?new Set(et(t,o)):void 0,d={};return ze(d,t,Reflect.ownKeys(ue(t)),e&&((m,h)=>f&&!f.has(h)?m:new e({type:"optional",innerType:m}))),ne(t,G(t._zod.def,{shape:d,checks:[]}))}function eu(e,t,o){let i=o?new Set(et(t,o)):void 0,s={};return ze(s,t,Reflect.ownKeys(ue(t)),(u,p)=>i&&!i.has(p)?u:new e({type:"nonoptional",innerType:u})),ne(t,G(t._zod.def,{shape:s}))}function se(e,t=0){if(e.aborted===!0)return!0;for(let o=t;o<e.issues.length;o++)if(e.issues[o]?.continue!==!0)return!0;return!1}function So(e,t=0){if(e.aborted===!0)return!0;for(let o=t;o<e.issues.length;o++)if(e.issues[o]?.continue===!1)return!0;return!1}function me(e,t){return t.map((o)=>{var i;return(i=o).path??(i.path=[]),o.path.unshift(e),o})}function Oe(e){return typeof e==="string"?e:e?.message}function Kt(e){let t=[];for(let o of e??[]){let i=o._zod.def;if(!/_(length|size)$|_equals$/.test(i.check))break;let s=i.maximum??i.length??i.size;if(s>=0)t.push([s,o])}return t}function tt(e,t,o){var i;for(let s=t;s<e.length;s++)(i=e[s]).schema??(i.schema=o)}function ce(e,t,o){var i;let s=e.inst?._zod?.traits;if(s?.has("$ZodType"))if(s.has("$ZodCheck"))(i=e).schema??(i.schema=e.inst);else e.schema=e.inst;let u=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,p=e.message?e.message:Oe(e.inst?._zod.def?.error?.(e))??Oe(u?.(e))??Oe(t?.error?.(e))??Oe(o.customError?.(e))??Oe(o.localeError?.(e))??"Invalid input",f={};for(let d of Object.keys(e)){if(d==="inst"||d==="schema"||d==="continue"||d==="input"||d==="__proto__")continue;f[d]=e[d]}if(f.path??(f.path=[]),f.message=p,t?.reportInput)f.input=e.input;return f}var tu=/[\uD800-\uDBFF]/;function rt(e){let t=e.length;if(!tu.test(e))return t;let o=t;for(let i=0;i<t-1;i++)if((e.charCodeAt(i)&64512)===55296&&(e.charCodeAt(i+1)&64512)===56320)o--,i++;return o}function ot(e){if(Array.isArray(e))return"array";if(typeof e==="string")return"string";return"unknown"}function ko(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let o=e;if(o&&Object.getPrototypeOf(o)!==Object.prototype&&"constructor"in o&&o.constructor)return o.constructor.name}}return t}function xe(...e){let[t,o,i]=e;if(typeof t==="string")return{message:t,code:"custom",input:o,inst:i};return{...t}}function wo(e,t){for(let o in t){let i=Object.getOwnPropertyDescriptor(t,o);if(i.get)Object.defineProperty(e,o,{...i,enumerable:!1});else ru(e,o,i.value)}}function le(e,t,o,i=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:i,value:o}),o}function nt(e,t,o){return le(e,t,o,!1)}function Po(e,t){for(let o in e){let i=e[o];Object.defineProperty(t,o,{configurable:!0,enumerable:!0,get(){return le(this,o,i(this))},set(s){le(this,o,s)}})}return t}function ru(e,t,o){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?o:le(this,t,o.bind(this))},set(i){le(this,t,i)}})}function ou(e,t){let o=Object.getPrototypeOf(e);return t in o?void 0:o}var Lt,fe=!1,nu={configurable:!0,get(){fe=!0;return}};function P(e,t,o){let i=Object.getPrototypeOf(e._zod);if(t in i&&Lt!==e._zod){Lt=void 0;return}Lt=e._zod,Object.defineProperty(i,t,{configurable:!0,get(){Object.defineProperty(this,t,nu);let s=fe;fe=!1;try{let u=o(this);if(fe)delete this[t];else Object.defineProperty(this,t,{configurable:!0,writable:!0,value:u});return fe=fe||s,u}catch(u){throw delete this[t],fe=fe||s,u}},set(s){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:s})}})}function iu(e,t,o,i){let s=ou(e,t);if(!s)return;Object.defineProperty(s,t,{configurable:!0,get(){let u={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,t,u),u.value=o(this),Object.defineProperty(this,t,u),u.value},set(u){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:i,value:u})}})}var su="~constantCatch";function Zo(e){let t=()=>e;return t[su]=!0,t}var Oo,nn=Object.freeze({status:"aborted"}),Vt={value:void 0,enumerable:!1},Io="captureStackTrace"in Error?Error:null;function cu(e){let t=Io;if(t){let o=t.stackTraceLimit;if(typeof o==="number"){try{t.stackTraceLimit=0}catch{return Io=null,new e}try{return new e}finally{t.stackTraceLimit=o}}}return new e}function g(e,t,o,i){let s={};function u(x){this.def=x,this.constr=z,this.traits=new Set}u.prototype=s;let p=o,f=p&&new WeakSet;function d(x,_){if(!x._zod){Vt.value=new u(_);try{Object.defineProperty(x,"_zod",Vt)}finally{Vt.value=void 0}}else if(x._zod.traits.has(e))return;if(x._zod.traits.add(e),t(x,_),f){let S=Object.getPrototypeOf(x),w=x._zod.constr.prototype,Z=S;while(Z&&Z!==w)Z=Object.getPrototypeOf(Z);let Y=Z??S;if(!f.has(Y))f.add(Y),wo(Y,p)}let b=z.prototype;for(let S in b){if(!Object.prototype.hasOwnProperty.call(b,S))continue;if(!(S in x))x[S]=b[S].bind(x)}}let m=i?.Parent??Object;class h extends m{}Object.defineProperty(h,"name",{value:e});function z(x){let _=i?.Parent?cu(h):this;d(_,x);let b=_._zod.deferred;if(b){for(let w of b)w();_._zod.deferred=void 0}let S=globalThis.__zod_globalConfig?.postProcessor;if(S)S(_);return _}return Object.defineProperty(z,"init",{value:d}),Object.defineProperty(z,Symbol.hasInstance,{value:(x)=>{if(i?.Parent&&x instanceof i.Parent)return!0;return x?._zod?.traits?.has(e)}}),Object.defineProperty(z,"name",{value:e}),z}class ae extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Ce extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`);this.name="ZodEncodeError"}}(Oo=globalThis).__zod_globalConfig??(Oo.__zod_globalConfig={});var B=globalThis.__zod_globalConfig;function K(e){if(e)Object.assign(B,e);return B}function au(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Te,2)),e.message}function uu(e){this._zod.message=e}var lu={get:au,set:uu,enumerable:!0,configurable:!0},Wt={value:void 0,enumerable:!1},Ro=new WeakSet([Object.prototype,Error.prototype]),To=(e,t)=>{e.name="$ZodError",Wt.value=t,Object.defineProperty(e,"issues",Wt),Wt.value=void 0,Object.defineProperty(e,"message",lu);let o=Object.getPrototypeOf(e);if(!Ro.has(o))Ro.add(o),Object.defineProperty(o,"toString",{configurable:!0,enumerable:!1,get(){let i=()=>this.message;return Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0})}})},Eo=g("$ZodError",To),Ao=g("$ZodError",To,void 0,{Parent:Error});function pu(e,t,o){if(!Object.prototype.hasOwnProperty.call(e,t))if(t==="__proto__")Object.defineProperty(e,t,{value:o(),writable:!0,enumerable:!0,configurable:!0});else e[t]=o();return e[t]}function Xt(e,t=(o)=>o.message){let o={},i=[];for(let s of e.issues)if(s.path.length>0)pu(o,s.path[0],()=>[]).push(t(s));else i.push(t(s));return{formErrors:i,fieldErrors:o}}function Ht(e,t=(o)=>o.message){let o={_errors:[]},i=(s,u=[])=>{for(let p of s.issues)if(p.code==="invalid_union"&&p.errors.length)p.errors.map((f)=>i({issues:f},[...u,...p.path]));else if(p.code==="invalid_key")i({issues:p.issues},[...u,...p.path]);else if(p.code==="invalid_element")i({issues:p.issues},[...u,...p.path]);else{let f=[...u,...p.path];if(f.length===0)o._errors.push(t(p));else{let d=o,m=0;while(m<f.length){let h=f[m],z=m===f.length-1;if(h==="_errors"){if(z)d._errors.push(t(p));m++;continue}if(!Object.prototype.hasOwnProperty.call(d,h))Object.defineProperty(d,h,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let x=d[h];if(z)x._errors.push(t(p));d=x,m++}}}};return i(e),o}function it(e,t){return{callee:t?.callee??e,Err:t?.Err}}var st=(e)=>{let t=(o,i,s,u)=>{let p=s?{...s,async:!1}:{async:!1},f=o._zod.run({value:i,issues:[]},p);if(f instanceof Promise)throw new ae;if(f.issues.length){let d=new(u?.Err??e)(f.issues.map((m)=>ce(m,p,K())));throw Ft(d,u?.callee??t),d}return f.value};return t};var ct=(e)=>{let t=async(o,i,s,u)=>{let p=s?{...s,async:!0}:{async:!0},f=o._zod.run({value:i,issues:[]},p);if(f instanceof Promise)f=await f;if(f.issues.length){let d=new(u?.Err??e)(f.issues.map((m)=>ce(m,p,K())));throw Ft(d,u?.callee??t),d}return f.value};return t};var Ne=(e)=>(t,o,i)=>{let s=i?{...i,async:!1}:{async:!1},u=t._zod.run({value:o,issues:[]},s);if(u instanceof Promise)throw new ae;return u.issues.length?Co(e,u.issues,s):{success:!0,data:u.value}},na=Ne(Ao);function Co(e,t,o){let i;return{success:!1,get error(){if(!i)i=new e(t.map((s)=>ce(s,o,K()))),t=void 0,o=void 0;return i},set error(s){i=s,t=void 0,o=void 0}}}var at=(e)=>async(t,o,i)=>{let s=i?{...i,async:!0}:{async:!0},u=t._zod.run({value:o,issues:[]},s);if(u instanceof Promise)u=await u;return u.issues.length?Co(e,u.issues,s):{success:!0,data:u.value}};var du=Symbol.for("zod.compile.invalid"),mu=Symbol.for("zod.compile.fallback"),Yt=(e,t,o)=>{let i=e._zod.bag.validator;if(i!==void 0){if(i(t)!==du)return!0;if(i.definite===!0&&o===void 0)return!1}return hu(e,t,o)};function hu(e,t,o){let i=o?{...o,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},s=e._zod.bag.fallbackRun,u;if(s)i[mu]=!0,u=s({value:t,issues:[]},i);else u=e._zod.run({value:t,issues:[]},i);if(u instanceof Promise)throw new ae;return u.issues.length===0}var Qt=async(e,t,o)=>{let i=o?{...o,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},s=e._zod.run({value:t,issues:[]},i);if(s instanceof Promise)s=await s;return s.issues.length===0},No=(e)=>{let t=st(e),o=(i,s,u,p)=>{let f=u?{...u,direction:"backward"}:{direction:"backward"};return t(i,s,f,it(o,p))};return o};var Do=(e)=>{let t=st(e),o=(i,s,u,p)=>t(i,s,u,it(o,p));return o};var Lo=(e)=>{let t=ct(e),o=async(i,s,u,p)=>{let f=u?{...u,direction:"backward"}:{direction:"backward"};return await t(i,s,f,it(o,p))};return o};var Mo=(e)=>{let t=ct(e),o=async(i,s,u,p)=>await t(i,s,u,it(o,p));return o};var Uo=(e)=>(t,o,i)=>{let s=i?{...i,direction:"backward"}:{direction:"backward"};return Ne(e)(t,o,s)};var Fo=(e)=>(t,o,i)=>Ne(e)(t,o,i);var Jo=(e)=>async(t,o,i)=>{let s=i?{...i,direction:"backward"}:{direction:"backward"};return at(e)(t,o,s)};var Bo=(e)=>async(t,o,i)=>at(e)(t,o,i);var Ko=/^[cC][0-9a-z]{6,}$/,Vo=/^[0-9a-z]+$/,Go=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Xo=/^[0-9a-vA-V]{20}$/,Yo=/^[A-Za-z0-9]{27}$/,Qo=/^[a-zA-Z0-9_-]{21}$/;function en(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var tn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var rn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,tr=(e)=>{if(!e)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)};var on=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var gu="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function sn(){return new RegExp(gu,"u")}var cn=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,an=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;var un=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,ln=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,pn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,fn=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/;var dn=/^https?$/,mn=/^\+[1-9]\d{6,14}$/;var hn="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function zu(e){return new RegExp(`^${e}$`)}var gn=zu(hn);function er(e){return typeof e.precision==="number"?e.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":e.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?":"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function zn(e){return new RegExp(`^${er(e)}$`)}function _n(e){let t=["Z"];if(e.offset)t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let o=`${er({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,i=e.local?`${o}|${er({precision:e.precision})}`:o;return new RegExp(`^${hn}T(?:${i})$`)}var xn=/^[\s\S]{0,}$/;var rr=/^-?\d+$/,je=/^-?\d+(?:\.\d+)?$/,bn=/^(?:true|false)$/i,yn=/^null$/i;var vn=/^[^A-Z]*$/,Sn=/^[^a-z]*$/;var M=g("$ZodCheck",(e,t)=>{var o;e._zod??(e._zod={}),e._zod.def=t,(o=e._zod).onattach??(o.onattach=[])});var sr=(e)=>{let t=e.value;return!lo(t)&&t.length!==void 0},ut={number:"number",bigint:"bigint",object:"date"},cr=g("$ZodCheckLessThan",(e,t)=>{M.init(e,t);let o=ut[typeof t.value];e._zod.check=(i)=>{if(t.inclusive?i.value<=t.value:i.value<t.value)return;i.issues.push({origin:ut[typeof i.value]??o,code:"too_big",maximum:typeof t.value==="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ar=g("$ZodCheckGreaterThan",(e,t)=>{M.init(e,t);let o=ut[typeof t.value];e._zod.check=(i)=>{if(t.inclusive?i.value>=t.value:i.value>t.value)return;i.issues.push({origin:ut[typeof i.value]??o,code:"too_small",minimum:typeof t.value==="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),kn=g("$ZodCheckMultipleOf",(e,t)=>{M.init(e,t),e._zod.check=(o)=>{if(typeof o.value!==typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof o.value==="bigint"?t.value!==BigInt(0)&&o.value%t.value===BigInt(0):po(o.value,t.value)===0)return;o.issues.push({origin:typeof o.value,code:"not_multiple_of",divisor:t.value,input:o.value,inst:e,continue:!t.abort})}}),wn=g("$ZodCheckNumberFormat",(e,t)=>{M.init(e,t),t.format=t.format||"float64";let o=t.format?.includes("int"),i=o?"int":"number",[s,u]=Qe[t.format];e._zod.check=(p)=>{let f=p.value;if(o){if(!Number.isInteger(f)){p.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:f,inst:e});return}if(!Number.isSafeInteger(f)){if(f>0)p.issues.push({input:f,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});else p.issues.push({input:f,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}if(f<s)p.issues.push({origin:"number",input:f,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort});if(f>u)p.issues.push({origin:"number",input:f,code:"too_big",maximum:u,inclusive:!0,inst:e,continue:!t.abort})}});var Pn=g("$ZodCheckMaxLength",(e,t)=>{var o;M.init(e,t),(o=e._zod.def).when??(o.when=sr),e._zod.check=(i)=>{let s=i.value,u=s.length;if((typeof s==="string"&&u>t.maximum?rt(s):u)<=t.maximum)return;let f=ot(s);i.issues.push({origin:f,code:"too_big",maximum:t.maximum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),Zn=g("$ZodCheckMinLength",(e,t)=>{var o;M.init(e,t),(o=e._zod.def).when??(o.when=sr),e._zod.check=(i)=>{let s=i.value,u=s.length;if((typeof s==="string"&&u>=t.minimum&&u<t.minimum*2?rt(s):u)>=t.minimum)return;let f=ot(s);i.issues.push({origin:f,code:"too_small",minimum:t.minimum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),On=g("$ZodCheckLengthEquals",(e,t)=>{var o;M.init(e,t),(o=e._zod.def).when??(o.when=sr),e._zod.check=(i)=>{let s=i.value,u=s.length,p=typeof s==="string"&&u>=t.length&&u<=t.length*2?rt(s):u;if(p===t.length)return;let f=ot(s),d=p>t.length;i.issues.push({origin:f,...d?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),De=g("$ZodCheckStringFormat",(e,t)=>{var o,i;if(M.init(e,t),t.pattern)(o=e._zod).check??(o.check=(s)=>{if(t.pattern.lastIndex=0,t.pattern.test(s.value))return;s.issues.push({origin:"string",code:"invalid_format",format:t.format,input:s.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})});else(i=e._zod).check??(i.check=()=>{})}),In=g("$ZodCheckRegex",(e,t)=>{De.init(e,t),e._zod.check=(o)=>{if(t.pattern.lastIndex=0,t.pattern.test(o.value))return;o.issues.push({origin:"string",code:"invalid_format",format:"regex",input:o.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Rn=g("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=vn),De.init(e,t)}),Tn=g("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Sn),De.init(e,t)}),En=g("$ZodCheckIncludes",(e,t)=>{M.init(e,t);let o=de(t.includes),i=new RegExp(typeof t.position==="number"?`^.{${t.position},}${o}`:o);t.pattern=i,e._zod.check=(s)=>{if(s.value.includes(t.includes,t.position))return;s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:s.value,inst:e,continue:!t.abort})}}),An=g("$ZodCheckStartsWith",(e,t)=>{M.init(e,t);let o=new RegExp(`^${de(t.prefix)}.*`);t.pattern??(t.pattern=o),e._zod.check=(i)=>{if(i.value.startsWith(t.prefix))return;i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),Cn=g("$ZodCheckEndsWith",(e,t)=>{M.init(e,t);let o=new RegExp(`.*${de(t.suffix)}$`);t.pattern??(t.pattern=o),e._zod.check=(i)=>{if(i.value.endsWith(t.suffix))return;i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});var Nn=g("$ZodCheckOverwrite",(e,t)=>{M.init(e,t),e._zod.check=(o)=>{o.value=t.tx(o.value)}});class ur{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{this.indent-=1}}write(e){if(typeof e==="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let o=e.split(`
|
|
3
|
-
`).filter((u)=>u),i=Math.min(...o.map((u)=>u.length-u.trimStart().length)),s=o.map((u)=>u.slice(i)).map((u)=>" ".repeat(this.indent*2)+u);for(let u of s)this.content.push(u)}compile(){let e=Function,t=this?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
|
|
4
|
-
${t.join(`
|
|
5
|
-
`)}
|
|
6
|
-
};`)(...Object.values(this.closed))}}var Ln={major:4,minor:6,patch:7};var O=g("$ZodType",(e,t)=>{var o;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Ln;let i=e._zod.def.checks,s=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let u of s)for(let p of u._zod.onattach)p(e);if(s.length===0)(o=e._zod).deferred??(o.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let u=(f,d,m)=>{if(f.memo)return f;let h=se(f),z;for(let x of d){if(x._zod.def.when){if(So(f))continue;if(!x._zod.def.when(f))continue}else if(h)continue;let _=f.issues.length,b=x._zod.check(f);if(b instanceof Promise&&m?.async===!1)throw new ae;if(z||b instanceof Promise)z=(z??Promise.resolve()).then(async()=>{if(await b,f.issues.length===_)return;if(tt(f.issues,_,e),!h)h=se(f,_)});else{if(f.issues.length===_)continue;if(tt(f.issues,_,e),!h)h=se(f,_)}}if(z)return z.then(()=>f);return f},p=(f,d,m)=>{if(se(f))return f.aborted=!0,f;let h=u(d,s,m);if(h instanceof Promise){if(m.async===!1)throw new ae;return h.then((z)=>e._zod.parse(z,m))}return e._zod.parse(h,m)};e._zod.run=(f,d)=>{if(d.skipChecks)return e._zod.parse(f,d);if(d.direction==="backward"){let h=e._zod.parse({value:f.value,issues:[]},{...d,skipChecks:!0});if(h instanceof Promise)return h.then((z)=>p(z,f,d));return p(h,f,d)}let m=e._zod.parse(f,d);if(m instanceof Promise){if(d.async===!1)throw new ae;return m.then((h)=>u(h,s,d))}return u(m,s,d)}}},{get "~standard"(){return nt(this,"~standard",pr(this))},set "~standard"(e){le(this,"~standard",e)}}),Xn=(e,t)=>e.issues.length?{issues:e.issues.map((o)=>ce(o,t,K()))}:{value:e.value};async function _u(e,t){let o={async:!0};return Xn(await e._zod.run({value:t,issues:[]},o),o)}function pr(e){return{validate:(t)=>{let o={async:!1};try{let i=e._zod.run({value:t,issues:[]},o);if(!(i instanceof Promise))return Xn(i,o)}catch(i){}return _u(e,t)},vendor:"zod",version:1}}var dt=g("$ZodString",(e,t)=>{O.init(e,t),e._zod.pattern=t.pattern??xn,e._zod.parse=(o,i)=>{if(t.coerce)try{o.value=String(o.value)}catch(s){}if(typeof o.value==="string")return o;return o.issues.push({expected:"string",code:"invalid_type",input:o.value,inst:e}),o}}),T=g("$ZodStringFormat",(e,t)=>{De.init(e,t),dt.init(e,t)}),Hn=g("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=rn),T.init(e,t)}),Yn=g("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=tr(i))}else t.pattern??(t.pattern=tr());T.init(e,t)}),Qn=g("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=on),T.init(e,t)}),ei=1,pt=2;function ti(e){try{if(typeof URL<"u"&&typeof URL.canParse==="function")return URL.canParse(e);return new URL(e),!0}catch{return!1}}function xu(e,t){if(!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t))return ti(e)||pt;return bu(e,t)}function bu(e,t){if(!t.normalize&&t.protocol?.source===dn.source&&!/^https?:\/\//i.test(e))return ei;try{if(typeof URL<"u"){let o=URL;if(typeof o.parse==="function")return o.parse(e)??pt}return new URL(e)}catch{return pt}}var yu=/[\t\n\r]/g;function Mn(e){return e.replace(yu,"")}function vu(e,t){return t.lastIndex=0,t.test(e.hostname)}function $u(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var ri=g("$ZodURL",(e,t)=>{T.init(e,t),e._zod.check=(o)=>{try{let i=o.value.trim(),s=xu(i,t);if(s===ei){o.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:o.value,inst:e,continue:!t.abort});return}if(s===pt){o.issues.push({code:"invalid_format",format:"url",input:o.value,inst:e,continue:!t.abort});return}if(s===!0){o.value=Mn(i);return}if(t.hostname&&!vu(s,t.hostname))o.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:o.value,inst:e,continue:!t.abort});if(t.protocol&&!$u(s,t.protocol))o.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:o.value,inst:e,continue:!t.abort});o.value=t.normalize?s.href:Mn(i);return}catch(i){o.issues.push({code:"invalid_format",format:"url",input:o.value,inst:e,continue:!t.abort})}}}),oi=g("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=sn()),T.init(e,t)}),ni=g("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?Qo:en(t.length)),T.init(e,t)}),ii=g("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Ko),T.init(e,t)}),si=g("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Vo),T.init(e,t)}),ci=g("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Go),T.init(e,t)}),ai=g("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Xo),T.init(e,t)}),ui=g("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Yo),T.init(e,t)}),li=g("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=_n(t)),T.init(e,t)}),pi=g("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=gn),T.init(e,t)}),fi=g("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=zn(t)),T.init(e,t)}),di=g("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=tn),T.init(e,t)}),mi=g("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=cn),T.init(e,t)}),Su=/^[0-9a-fA-F:.]+$/;function hi(e){if(!Su.test(e))return!1;return ti(`http://[${e}]`)}var gi=g("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=an),T.init(e,t),e._zod.check=(o)=>{if(!hi(o.value))o.issues.push({code:"invalid_format",format:"ipv6",input:o.value,inst:e,continue:!t.abort})}});var zi=g("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=un),T.init(e,t)});function ku(e){let t=e.split("/");if(t.length!==2)return!1;let[o,i]=t;if(!i)return!1;let s=Number(i);if(`${s}`!==i)return!1;if(s<0||s>128)return!1;return hi(o)}var _i=g("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=ln),T.init(e,t),e._zod.check=(o)=>{if(!ku(o.value))o.issues.push({code:"invalid_format",format:"cidrv6",input:o.value,inst:e,continue:!t.abort})}});function xi(e){if(e==="")return!0;if(/\s/.test(e))return!1;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var dr=/^[0-9a-zA-Z+/]*={0,2}$/,bi=g("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=dr),T.init(e,t),e._zod.check=(o)=>{if(xi(o.value))return;o.issues.push({code:"invalid_format",format:"base64",input:o.value,inst:e,continue:!t.abort})}}),mt=/^[A-Za-z0-9_-]*$/;function wu(e){if(!mt.test(e))return!1;let t=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),o=t.padEnd(Math.ceil(t.length/4)*4,"=");return xi(o)}var yi=g("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=mt),T.init(e,t),e._zod.check=(o)=>{if(wu(o.value))return;o.issues.push({code:"invalid_format",format:"base64url",input:o.value,inst:e,continue:!t.abort})}}),vi=g("$ZodE164",(e,t)=>{t.pattern??(t.pattern=mn),T.init(e,t)});function Pu(e,t=null){try{let o=e.split(".");if(o.length!==3)return!1;let[i]=o;if(!i)return!1;let s=JSON.parse(atob(i));if("typ"in s&&s?.typ!=="JWT")return!1;if(!s.alg)return!1;if(t&&(!("alg"in s)||s.alg!==t))return!1;return!0}catch{return!1}}var $i=g("$ZodJWT",(e,t)=>{T.init(e,t),e._zod.check=(o)=>{if(Pu(o.value,t.alg))return;o.issues.push({code:"invalid_format",format:"jwt",input:o.value,inst:e,continue:!t.abort})}});var mr=g("$ZodNumber",(e,t)=>{O.init(e,t),e._zod.pattern=je,e._zod.parse=(o,i)=>{if(t.coerce)try{o.value=Number(o.value)}catch(p){}let s=o.value;if(typeof s==="number"&&!Number.isNaN(s)&&Number.isFinite(s))return o;let u=typeof s==="number"?Number.isNaN(s)?"NaN":!Number.isFinite(s)?String(s):void 0:void 0;return o.issues.push({expected:"number",code:"invalid_type",input:s,inst:e,...u?{received:u}:{}}),o}}),Si=g("$ZodNumberFormat",(e,t)=>{wn.init(e,t),mr.init(e,t)}),ki=g("$ZodBoolean",(e,t)=>{O.init(e,t),e._zod.pattern=bn,e._zod.parse=(o,i)=>{if(t.coerce)try{o.value=Boolean(o.value)}catch(u){}let s=o.value;if(typeof s==="boolean")return o;return o.issues.push({expected:"boolean",code:"invalid_type",input:s,inst:e}),o}});var wi=g("$ZodNull",(e,t)=>{O.init(e,t),e._zod.pattern=yn,e._zod.values=new Set([null]),e._zod.parse=(o,i)=>{let s=o.value;if(s===null)return o;return o.issues.push({expected:"null",code:"invalid_type",input:s,inst:e}),o}}),Pi=g("$ZodAny",(e,t)=>{O.init(e,t),e._zod.parse=(o)=>o}),Zi=g("$ZodUnknown",(e,t)=>{O.init(e,t),e._zod.parse=(o)=>o}),Oi=g("$ZodNever",(e,t)=>{O.init(e,t),e._zod.parse=(o,i)=>(o.issues.push({expected:"never",code:"invalid_type",input:o.value,inst:e}),o)});function Zu(e,t){let o=Kt(e._zod.def.checks);if(!o.length)return;let i=Math.min(...o.map((u)=>u[0])),s=e._zod.parse;e._zod.parse=(u,p)=>{let f=t(u.value);if(f>i&&!p?.skipChecks&&p?.direction!=="backward"){for(let[d,m]of Kt(e._zod.def.checks))if(f>d&&m._zod.def.when(u)){let h=u.issues.length;return m._zod.check(u),u.issues[h].continue=!1,tt(u.issues,h,e),u}}return s(u,p)}}var Ou=(e)=>Array.isArray(e)?e.length:-1;function Un(e,t,o){if(e.issues.length)t.issues.push(...me(o,e.issues));t.value[o]=e.value}var Ii=g("$ZodArray",(e,t)=>{O.init(e,t);let o=B.memoizer;o?.attach(e),e._zod.parse=(i,s)=>{let u=i.value;if(!Array.isArray(u))return i.issues.push({expected:"array",code:"invalid_type",input:u,inst:e}),i;i.value=o?o.alloc(e,i,Array(u.length),s):Array(u.length);let p=[],f=s?.abortEarly;for(let d=0;d<u.length;d++){let m=u[d],h=t.element._zod.run({value:m,issues:[]},s);if(h instanceof Promise)p.push(h.then((z)=>Un(z,i,d)));else if(Un(h,i,d),f&&h.issues.length!==0&&se(h))break}if(p.length)return Promise.all(p).then(()=>i);return i},Zu(e,Ou)});function ft(e,t,o,i,s,u){let p=o in i,f=u==="optional";if(!p&&f&&s==="optional")return;if(e.issues.length){if(s!==void 0&&f&&!p)return;t.issues.push(...me(o,e.issues))}if(!p&&s===void 0){if(!e.issues.length)t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[o]});return}if(e.value===void 0){if(p||s==="defaulted"&&!f)t.value[o]=void 0}else t.value[o]=e.value}var Iu=[];function Ri(e){let t=Object.keys(e.shape),o=Object.getOwnPropertySymbols(e.shape),i=o.length?o:Iu,s=i.length?[...t,...i]:t;for(let p of s)if(!e.shape?.[p]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(p)}": expected a Zod schema`);let u=bo(e.shape);return{...e,allKeys:s,symbolKeys:i,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(u)}}function Ti(e,t,o,i,s,u,p){let f=[],d=s.keySet,m=s.catchall._zod,h=m.def.type,{optin:z,optout:x}=m,_=0;for(let b in t){if(p&&o.issues.length!==_){if(se(o,_))break;_=o.issues.length}if(d.has(b))continue;if(b==="__proto__"){if(h==="never")f.push(b);continue}if(h==="never"){f.push(b);continue}let S=m.run({value:t[b],issues:[]},i);if(S instanceof Promise)e.push(S.then((w)=>ft(w,o,b,t,z,x)));else ft(S,o,b,t,z,x)}if(f.length)o.issues.push({code:"unrecognized_keys",keys:f,input:t,inst:u,continue:!0});if(!e.length)return o;return Promise.all(e).then(()=>o)}var Ru=g("$ZodObject",(e,t)=>{O.init(e,t);let o=Object.getOwnPropertyDescriptor(t,"shape"),i=o?.get?o.get.raw:t.shape??{};if(i){let m=()=>{let h={...i};return Object.defineProperty(t,"shape",{value:h}),m.raw=h,h};m.raw=i,Object.defineProperty(t,"shape",{get:m})}let s=Ee(()=>Ri(t));P(e,"propValues",(m)=>{let h=m.def.shape,z={};for(let x in h){let _=h[x]._zod;if(_.values){if(!Object.prototype.hasOwnProperty.call(z,x))Q(z,x,new Set);for(let b of _.values)z[x].add(b);if(_.optin!==void 0)z[x].add(void 0)}}return z});let u=be,p=t.catchall,f,d=B.memoizer;d?.attach(e),e._zod.parse=(m,h)=>{f??(f=s.value);let z=m.value;if(!u(z))return m.issues.push({expected:"object",code:"invalid_type",input:z,inst:e}),m;m.value=d?d.alloc(e,m,{},h):{};let x=[],_=f.shape,b=h?.abortEarly,S=m.issues.length;for(let w of f.allKeys){if(b&&m.issues.length!==S){if(se(m,S))break;S=m.issues.length}if(w==="__proto__")continue;let Z=_[w],Y=Z._zod.optin,Pe=Z._zod.optout,Ze=Z._zod.run({value:z[w],issues:[]},h);if(Ze instanceof Promise)x.push(Ze.then((j)=>ft(j,m,w,z,Y,Pe)));else ft(Ze,m,w,z,Y,Pe)}if(!p)return x.length?Promise.all(x).then(()=>m):m;return Ti(x,z,m,h,s.value,e,b===!0)}}),Ei=g("$ZodObjectJIT",(e,t)=>{Ru.init(e,t);let o=e._zod.parse,i=Ee(()=>Ri(t)),s=B.memoizer,u=(_)=>{let b=i.value,S=b.symbolKeys,w=new ur(["payload","ctx"],{shape:_,inst:e,memo:s,syms:S}),Z=(j)=>`shape[${j}]._zod.run({ value: input[${j}], issues: [] }, ctx)`,Y=(j,I)=>`
|
|
7
|
-
let ${j}_ab = false;
|
|
8
|
-
for (let i = 0; i < ${j}.issues.length; i++) {
|
|
9
|
-
const iss = ${j}.issues[i];
|
|
10
|
-
iss.path = iss.path ? [${I}, ...iss.path] : [${I}];
|
|
11
|
-
payload.issues.push(iss);
|
|
12
|
-
if (iss.continue !== true) ${j}_ab = true;
|
|
13
|
-
}
|
|
14
|
-
if (${j}_ab && ctx && ctx.abortEarly) {
|
|
15
|
-
payload.value = newResult;
|
|
16
|
-
return payload;
|
|
17
|
-
}`;w.write("const input = payload.value;");let Pe=Object.create(null),Ze=0;for(let j of b.allKeys)Pe[j]=`key_${Ze++}`;w.write(s?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let j of b.allKeys){if(j==="__proto__")continue;let I=Pe[j],ie=typeof j==="symbol"?`syms[${S.indexOf(j)}]`:ho(j),jt=`${ie} in input`,co=_[j],Dt=co?._zod?.optin,ao=Dt!==void 0,Ka=co?._zod?.optout==="optional";if(w.write(`const ${I} = ${Z(ie)};`),ao&&Ka){let Va=Dt==="optional"?`${I}_present`:`${I}.value !== undefined || ${I}_present`;w.write(`
|
|
18
|
-
const ${I}_present = ${jt};
|
|
19
|
-
if (!${I}.issues.length || ${I}_present) {
|
|
20
|
-
if (${I}.issues.length) {${Y(I,ie)}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
if (${Va}) {
|
|
24
|
-
newResult[${ie}] = ${I}.value;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
`)}else if(!ao)w.write(`
|
|
29
|
-
const ${I}_present = ${jt};
|
|
30
|
-
if (${I}.issues.length) {${Y(I,ie)}
|
|
31
|
-
}
|
|
32
|
-
if (!${I}_present && !${I}.issues.length) {
|
|
33
|
-
payload.issues.push({
|
|
34
|
-
code: "invalid_type",
|
|
35
|
-
expected: "nonoptional",
|
|
36
|
-
input: undefined,
|
|
37
|
-
path: [${ie}]
|
|
38
|
-
});
|
|
39
|
-
if (ctx && ctx.abortEarly) {
|
|
40
|
-
payload.value = newResult;
|
|
41
|
-
return payload;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
if (${I}_present) {
|
|
46
|
-
newResult[${ie}] = ${I}.value;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
`);else if(w.write(`
|
|
50
|
-
if (${I}.issues.length) {${Y(I,ie)}
|
|
51
|
-
}
|
|
52
|
-
`),Dt==="defaulted")w.write(`newResult[${ie}] = ${I}.value;`);else w.write(`
|
|
53
|
-
if (${I}.value !== undefined || ${jt}) {
|
|
54
|
-
newResult[${ie}] = ${I}.value;
|
|
55
|
-
}
|
|
56
|
-
`)}return w.write("payload.value = newResult;"),w.write("return payload;"),w.compile()},p,f=be,d=!B.jitless,h=d&&_o.value,z=t.catchall,x;e._zod.parse=(_,b)=>{x??(x=i.value);let S=_.value;if(!f(S))return _.issues.push({expected:"object",code:"invalid_type",input:S,inst:e}),_;if(d&&h&&b?.async===!1&&b.jitless!==!0){if(!p)p=u(t.shape);if(_=p(_,b),!z)return _;return Ti([],S,_,b,x,e,b?.abortEarly===!0)}return o(_,b)}});function Fn(e,t,o,i){for(let u of e)if(u.issues.length===0)return t.value=u.value,t;let s=e.filter((u)=>!se(u));if(s.length===1)return t.value=s[0].value,s[0];return t.issues.push({code:"invalid_union",input:t.value,inst:o,errors:e.map((u)=>u.issues.map((p)=>ce(p,i,K())))}),t}var hr=g("$ZodUnion",(e,t)=>{O.init(e,t),P(e,"optin",(i)=>i.def.options.some((s)=>s._zod.optin==="defaulted")?"defaulted":i.def.options.some((s)=>s._zod.optin!==void 0)?"optional":void 0),P(e,"optout",(i)=>i.def.options.some((s)=>s._zod.optout==="optional")?"optional":void 0),P(e,"values",(i)=>{if(i.def.options.every((s)=>s._zod.values))return new Set(i.def.options.flatMap((s)=>Array.from(s._zod.values)));return}),P(e,"pattern",(i)=>{if(i.def.options.every((s)=>s._zod.pattern)){let s=i.def.options.map((u)=>u._zod.pattern);return new RegExp(`^(${s.map((u)=>Ye(u.source)).join("|")})$`)}return});let o=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,s)=>{if(o)return o(i,s);let u=!1,p=[];for(let f of t.options){let d=f._zod.run({value:i.value,issues:[]},s);if(d instanceof Promise)p.push(d),u=!0;else{if(d.issues.length===0)return d;p.push(d)}}if(!u)return Fn(p,i,e,s);return Promise.all(p).then((f)=>Fn(f,i,e,s))}});function Tu(e){let t=new Map;for(let o of e.options){let i=o._zod.propValues?.[e.discriminator];if(!i||i.size===0)throw Error(`Invalid discriminated union option at index "${e.options.indexOf(o)}"`);for(let s of i)if(t.has(s)){if(s!==void 0)throw Error(`Duplicate discriminator value "${String(s)}"`);t.set(s,null)}else t.set(s,o)}return t}var Ai=g("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,hr.init(e,t);let o=e._zod.parse;P(e,"propValues",(s)=>{let u={},p=0;for(let f of s.def.options){let d=f._zod.propValues;if(!d||Object.keys(d).length===0)throw Error(`Invalid discriminated union option at index "${s.def.options.indexOf(f)}"`);if(d[s.def.discriminator]?.has(void 0))p++;for(let[m,h]of Object.entries(d)){if(!Object.prototype.hasOwnProperty.call(u,m))Q(u,m,new Set);for(let z of h)u[m].add(z)}}if(!s.def.unionFallback&&p>1)u[s.def.discriminator]?.delete(void 0);return u}),t.options.forEach((s,u)=>{let p=Ae(s._zod.def);if(p&&!Object.prototype.hasOwnProperty.call(p,t.discriminator))throw Error(`Invalid discriminated union option at index "${u}"`)});let i=Ee(()=>Tu(t));e._zod.parse=(s,u)=>{let p=s.value;if(!be(p))return s.issues.push({code:"invalid_type",expected:"object",input:p,inst:e}),s;let f=p?.[t.discriminator],d=i.value.get(f);if(d&&(f!==void 0||u.direction!=="backward"))return d._zod.run(s,u);if(t.unionFallback||u.direction==="backward")return o(s,u);return s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(i.value.keys()).filter((m)=>i.value.get(m)!==null),input:p,path:[t.discriminator],inst:e}),s}}),Ci=g("$ZodIntersection",(e,t)=>{O.init(e,t),e._zod.parse=(o,i)=>{let s=o.value,u=t.left._zod.run({value:s,issues:[]},i),p=t.right._zod.run({value:s,issues:[]},i);if(u instanceof Promise||p instanceof Promise)return Promise.all([u,p]).then(([d,m])=>Jn(o,d,m));return Jn(o,u,p)}});function lr(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e===+t)return{valid:!0,data:e};if(_e(e)&&_e(t)){let o=Object.keys(t),i=Object.keys(e).filter((u)=>o.indexOf(u)!==-1),s={...e,...t};if(Object.prototype.hasOwnProperty.call(s,"__proto__"))delete s.__proto__;for(let u of i){if(u==="__proto__")continue;let p=lr(e[u],t[u]);if(!p.valid)return{valid:!1,mergeErrorPath:[u,...p.mergeErrorPath]};s[u]=p.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let o=[];for(let i=0;i<e.length;i++){let s=e[i],u=t[i],p=lr(s,u);if(!p.valid)return{valid:!1,mergeErrorPath:[i,...p.mergeErrorPath]};o.push(p.data)}return{valid:!0,data:o}}return{valid:!1,mergeErrorPath:[]}}function Jn(e,t,o){let i=new Map,s,u=new Map,p=(m,h)=>{let z;if(m.code==="unrecognized_keys"&&!m.path?.length)s??(s=m),z=m.keys;else if(m.code==="invalid_key"&&m.origin==="record"&&m.path?.length===1){let x=String(m.path[0]);if(!u.has(x))u.set(x,m);z=[x]}else return!1;for(let x of z){if(!i.has(x))i.set(x,{});i.get(x)[h]=!0}return!0};for(let m of t.issues)if(!p(m,"l"))e.issues.push(m);for(let m of o.issues)if(!p(m,"r"))e.issues.push(m);let f=[...i].filter(([,m])=>m.l&&m.r).map(([m])=>m);if(f.length){let m=s?f.filter((h)=>s.keys.includes(h)):[];if(m.length)e.issues.push({...s,keys:m});for(let h of f)if(!m.includes(h)&&u.has(h))e.issues.push(u.get(h))}let d=lr(t.value,o.value);if(!d.valid){if(se(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(d.mergeErrorPath)}`)}return e.value=d.data,e}var Ni=g("$ZodRecord",(e,t)=>{O.init(e,t);let o=B.memoizer;o?.attach(e),e._zod.parse=(i,s)=>{let u=i.value;if(!_e(u))return i.issues.push({expected:"record",code:"invalid_type",input:u,inst:e}),i;let p=[],f=t.keyType._zod.values;if(f&&!t.partial){i.value=o?o.alloc(e,i,{},s):{};let d=new Set;for(let h of f)if(typeof h==="string"||typeof h==="number"||typeof h==="symbol"){if(d.add(typeof h==="number"?h.toString():h),h==="__proto__")continue;let z=t.keyType._zod.run({value:h,issues:[]},s);if(z instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(z.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:z.issues.map((b)=>ce(b,s,K())),input:h,path:[h],inst:e});continue}let x=z.value;if(x==="__proto__")continue;let _=t.valueType._zod.run({value:u[h],issues:[]},s);if(_ instanceof Promise)p.push(_.then((b)=>{if(b.issues.length)i.issues.push(...me(h,b.issues));i.value[x]=b.value}));else{if(_.issues.length)i.issues.push(...me(h,_.issues));i.value[x]=_.value}}let m;for(let h in u)if(!d.has(h))if(t.mode==="loose"){if(h==="__proto__")continue;i.value[h]=u[h]}else m=m??[],m.push(h);if(m&&m.length>0)i.issues.push({code:"unrecognized_keys",input:u,inst:e,keys:m,continue:!0})}else{i.value=o?o.alloc(e,i,{},s):{};let d;for(let m of Reflect.ownKeys(u)){if(m==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(u,m))continue;let h=t.keyType._zod.run({value:m,issues:[]},s);if(h instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof m==="string"&&je.test(m)&&h.issues.length){let b=t.keyType._zod.run({value:Number(m),issues:[]},s);if(b instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(b.issues.length===0)h=b}if(h.issues.length){if(t.mode==="loose")i.value[m]=u[m];else if(f)d=d??[],d.push(m);else i.issues.push({code:"invalid_key",origin:"record",issues:h.issues.map((b)=>ce(b,s,K())),input:m,path:[m],inst:e});continue}let x=h.value;if(x==="__proto__")continue;let _=t.valueType._zod.run({value:u[m],issues:[]},s);if(_ instanceof Promise)p.push(_.then((b)=>{if(b.issues.length)i.issues.push(...me(m,b.issues));i.value[x]=b.value}));else{if(_.issues.length)i.issues.push(...me(m,_.issues));i.value[x]=_.value}}if(d&&d.length>0)i.issues.push({code:"unrecognized_keys",input:u,inst:e,keys:d,continue:!0})}if(p.length)return Promise.all(p).then(()=>i);return i}});var ji=g("$ZodEnum",(e,t)=>{O.init(e,t);let o=Ie(t.entries),i=new Set(o);e._zod.values=i,P(e,"pattern",(s)=>{let u=Ie(s.def.entries).filter((p)=>xo.has(typeof p));return new RegExp(u.length?`^(${u.map((p)=>de(p.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(s,u)=>{let p=s.value;if(i.has(p))return s;return s.issues.push({code:"invalid_value",values:o,input:p,inst:e}),s}}),Di=g("$ZodLiteral",(e,t)=>{O.init(e,t);let o=new Set(t.values);e._zod.values=o,P(e,"pattern",(i)=>{let s=i.def.values;return new RegExp(s.length?`^(${s.map((u)=>typeof u==="string"?de(u):u?de(u.toString()):String(u)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(i,s)=>{let u=i.value;if(o.has(u))return i;return i.issues.push({code:"invalid_value",values:t.values,input:u,inst:e}),i}});var Li=g("$ZodTransform",(e,t)=>{O.init(e,t),e._zod.optin="optional",B.memoizer?.guard(e),e._zod.parse=(o,i)=>{if(i.direction==="backward")throw new Ce(e.constructor.name);let s=t.transform(o.value,o);if(i.async)return(s instanceof Promise?s:Promise.resolve(s)).then((p)=>(o.value=p,o));if(s instanceof Promise)throw new ae;return o.value=s,o}});function Bn(e,t){return e.value=t.issues.length?void 0:t.value,e}var zr=g("$ZodOptional",(e,t)=>{O.init(e,t),P(e,"optin",(o)=>o.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",P(e,"values",(o)=>{let i=o.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),P(e,"pattern",(o)=>{let i=o.def.innerType._zod.pattern;return i?new RegExp(`^(${Ye(i.source)})?$`):void 0}),e._zod.parse=(o,i)=>{if(o.value===void 0){if(t.innerType._zod.optin!=="defaulted")return o;let s=t.innerType._zod.run({value:o.value,issues:[]},i);if(s instanceof Promise)return s.then((u)=>Bn(o,u));return Bn(o,s)}return t.innerType._zod.run(o,i)}}),Mi=g("$ZodExactOptional",(e,t)=>{zr.init(e,t),P(e,"values",(o)=>o.def.innerType._zod.values),P(e,"pattern",(o)=>o.def.innerType._zod.pattern),e._zod.parse=(o,i)=>t.innerType._zod.run(o,i)}),Ui=g("$ZodNullable",(e,t)=>{O.init(e,t),P(e,"optin",(o)=>o.def.innerType._zod.optin),P(e,"optout",(o)=>o.def.innerType._zod.optout),P(e,"pattern",(o)=>{let i=o.def.innerType._zod.pattern;return i?new RegExp(`^(${Ye(i.source)}|null)$`):void 0}),P(e,"values",(o)=>o.def.innerType._zod.values?new Set([...o.def.innerType._zod.values,null]):void 0),e._zod.parse=(o,i)=>{if(o.value===null)return o;return t.innerType._zod.run(o,i)}}),Fi=g("$ZodDefault",(e,t)=>{O.init(e,t),e._zod.optin="defaulted",P(e,"values",(o)=>o.def.innerType._zod.values),e._zod.parse=(o,i)=>{if(i.direction==="backward")return t.innerType._zod.run(o,i);if(o.value===void 0)return o.value=t.defaultValue,o;let s=t.innerType._zod.run(o,i);if(s instanceof Promise)return s.then((u)=>qn(u,t));return qn(s,t)}});function qn(e,t){if(e.value===void 0)e.value=t.defaultValue;return e}var Ji=g("$ZodPrefault",(e,t)=>{O.init(e,t),e._zod.optin="defaulted",P(e,"values",(o)=>o.def.innerType._zod.values),e._zod.parse=(o,i)=>{if(i.direction==="backward")return t.innerType._zod.run(o,i);if(o.value===void 0)o.value=t.defaultValue;return t.innerType._zod.run(o,i)}}),Bi=g("$ZodNonOptional",(e,t)=>{O.init(e,t),P(e,"values",(o)=>{let i=o.def.innerType._zod.values;return i?new Set([...i].filter((s)=>s!==void 0)):void 0}),e._zod.parse=(o,i)=>{let s=t.innerType._zod.run(o,i);if(s instanceof Promise)return s.then((u)=>Kn(u,e));return Kn(s,e)}});function Kn(e,t){if(!e.issues.length&&e.value===void 0)e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t});return e}function Vn(e,t,o,i){if(!t.issues.length){if(e.value=t.value,t.memo)e.memo=!0;return e}return e.value=o.catchValue({...t,value:e.value,error:{issues:t.issues.map((s)=>ce(s,i,K()))},input:e.value}),e}var qi=g("$ZodCatch",(e,t)=>{O.init(e,t),P(e,"optin",(o)=>o.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),P(e,"optout",(o)=>o.def.innerType._zod.optout),P(e,"values",(o)=>o.def.innerType._zod.values),e._zod.parse=(o,i)=>{if(i.direction==="backward")return t.innerType._zod.run(o,i);let s=t.innerType._zod.run({value:o.value,issues:[]},i);if(s instanceof Promise)return s.then((u)=>Vn(o,u,t,i));return Vn(o,s,t,i)}});var _r=g("$ZodPipe",(e,t)=>{O.init(e,t),P(e,"values",(o)=>o.def.in._zod.values),P(e,"optin",(o)=>o.def.in._zod.optin),P(e,"optout",(o)=>o.def.out._zod.optout),P(e,"propValues",(o)=>o.def.in._zod.propValues),e._zod.parse=(o,i)=>{if(i.direction==="backward"){let u=t.out._zod.run(o,i);if(u instanceof Promise)return u.then((p)=>lt(p,t.in,i));return lt(u,t.in,i)}let s=t.in._zod.run(o,i);if(s instanceof Promise)return s.then((u)=>lt(u,t.out,i));return lt(s,t.out,i)}});function lt(e,t,o){if(e.issues.some((i)=>i.code!=="unrecognized_keys"))return e.aborted=!0,e;return t._zod.run({value:e.value,issues:e.issues},o)}var Ki=g("$ZodPreprocess",(e,t)=>{_r.init(e,t)}),Vi=g("$ZodReadonly",(e,t)=>{O.init(e,t),P(e,"propValues",(o)=>o.def.innerType._zod.propValues),P(e,"values",(o)=>o.def.innerType._zod.values),P(e,"optin",(o)=>o.def.innerType?._zod?.optin),P(e,"optout",(o)=>o.def.innerType?._zod?.optout),e._zod.parse=(o,i)=>{if(i.direction==="backward")return t.innerType._zod.run(o,i);let s=t.innerType._zod.run(o,i);if(s instanceof Promise)return s.then(Gn);return Gn(s)}});function Gn(e){if(!e.memo)e.value=Object.freeze(e.value);return e}var Gi=g("$ZodCustom",(e,t)=>{M.init(e,t),O.init(e,t),e._zod.parse=(o,i)=>o,e._zod.check=(o)=>{let i=o.value,s=t.fn(i);if(s instanceof Promise)return s.then((u)=>Wn(u,o,i,e));Wn(s,o,i,e);return}});function Wn(e,t,o,i){if(!e){let s={code:"custom",input:o,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};if(i._zod.def.params)s.params=i._zod.def.params;t.issues.push(xe(s))}}class Xi extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform");this.name="ZodCyclicError"}}var br="~memo",Wi=[];function Hi(e){return e!==null&&typeof e==="object"}function xr(e){return e.map((t)=>t.path?{...t,path:t.path.slice()}:{...t})}var Yi=new WeakMap,Le=0,zt=1,Me=2;function _t(e,t,o){let i=Yi.get(e);if(i!==void 0)return i?Me:Le;if(t.has(e))return Me;t.add(e);let s=Le,u=(h)=>{if(s!==Me&&h?._zod){let z=_t(h,t,o);if(z>s)s=z}},p=(h,z)=>{let x=Le;for(let _ of Reflect.ownKeys(h)){let b=Object.getOwnPropertyDescriptor(h,_);if(z&&!b.enumerable)continue;let S=b.get?zt:b.value?._zod?_t(b.value,t,o):Le;if(S>x)x=S}return x},f=(h)=>{if(h>s)s=h},d=e._zod.def,m=d.type;switch(m){case"object":{let h=Ae(d);f(h?p(h,!0):zt),u(d.catchall);break}case"array":u(d.element);break;case"tuple":for(let h of d.items)u(h);u(d.rest);break;case"record":case"map":u(d.keyType),u(d.valueType);break;case"set":u(d.valueType);break;case"union":for(let h of d.options)u(h);break;case"intersection":u(d.left),u(d.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":u(d.innerType);break;case"pipe":u(d.in),u(d.out);break;case"function":u(d.input),u(d.output);break;case"lazy":{let h=d._cachedInner??(o?e._zod.innerType:void 0);f(h?_t(h,t,!1):zt);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let h in d){let z=Object.getOwnPropertyDescriptor(d,h);if(!z||z.get)continue;let x=z.value;if(!x||typeof x!=="object")continue;if(x._zod)u(x);else if(Array.isArray(x))for(let _ of x)u(_)}}return t.delete(e),Eu(e,s)}function Eu(e,t){if(t!==zt)Yi.set(e,t===Me);return t}function Au(e,t){let o=e.buckets.get(t);if(!o)o=new WeakMap,e.buckets.set(t,o);return o}var ht,gt=[],Cu={alloc(e,t,o){let i=ht;if(!i)return o;ht=void 0;let s={value:o,issues:null};return i.set(t.value,s),gt.push(s),o},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let o=e._zod.parse,i=(s,u)=>{if(u.direction!=="backward"&&Nu(u,s.value))throw new Xi;return o(s,u)};if(e._zod.parse=i,e._zod.run===o)e._zod.run=i})},attach(e){var t;let o,i=!1,s,u;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let p=e._zod.parse,f=(d,m)=>{if(o===void 0){let Z=_t(e,new Set,!1);if(Z===Le){if(e._zod.parse=p,e._zod.run===f)e._zod.run=p;return p(d,m)}if(Z===Me||i)o=!0;else i=!0}let h=d.value;if(!Hi(h))return p(d,m);let z=m[br];if(!z)z={buckets:new WeakMap,backEdges:void 0},m[br]=z;let x;if(s===m)x=u;else x=Au(z,e),s=m,u=x;let _=x.get(h);if(_){if(d.value=_.value,_.issues){if(_.issues.length)d.issues.push(...xr(_.issues))}else d.memo=!0,z.backEdges??(z.backEdges=new WeakSet),z.backEdges.add(_.value);return d}ht=x;let b=gt.length,S=p(d,m);ht=void 0;let w=gt.length>b?gt.pop():void 0;if(S instanceof Promise)return S.then((Z)=>{if(w)w.issues=Z.issues.length?xr(Z.issues):Wi;return Z});if(w)w.issues=S.issues.length?xr(S.issues):Wi;return S};if(e._zod.parse=f,e._zod.run===p)e._zod.run=f})}};function yr(){return Cu}function Nu(e,t){let o=e[br]?.backEdges;return o!==void 0&&Hi(t)&&o.has(t)}var ju=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(u){return e[u]??null}let o={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function s(u,p){if(u==="number"&&typeof p==="number"&&!Number.isFinite(p))return String(p);return i[u]??u}return(u)=>{switch(u.code){case"invalid_type":{let p=s(u.expected),f=ko(u.input),d=s(f,u.input);return`Invalid input: expected ${p}, received ${d}`}case"invalid_value":if(u.values.length===1)return`Invalid input: expected ${Bt(u.values[0])}`;return`Invalid option: expected one of ${Ut(u.values,"|")}`;case"too_big":{let p=u.exact?"exactly ":u.inclusive?"<=":"<",f=t(u.origin);if(f)return`Too big: expected ${u.origin??"value"} to have ${p}${u.maximum.toString()} ${f.unit??"elements"}`;return`Too big: expected ${u.origin??"value"} to be ${p}${u.maximum.toString()}`}case"too_small":{let p=u.exact?"exactly ":u.inclusive?">=":">",f=t(u.origin);if(f)return`Too small: expected ${u.origin} to have ${p}${u.minimum.toString()} ${f.unit}`;return`Too small: expected ${u.origin} to be ${p}${u.minimum.toString()}`}case"invalid_format":{let p=u;if(p.format==="starts_with")return`Invalid string: must start with "${p.prefix}"`;if(p.format==="ends_with")return`Invalid string: must end with "${p.suffix}"`;if(p.format==="includes")return`Invalid string: must include "${p.includes}"`;if(p.format==="regex")return`Invalid string: must match pattern ${p.pattern}`;return`Invalid ${o[p.format]??u.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${u.divisor}`;case"unrecognized_keys":return`Unrecognized key${u.keys.length>1?"s":""}: ${Ut(u.keys,", ")}`;case"invalid_key":return`Invalid key in ${u.origin}`;case"invalid_union":if(u.options&&Array.isArray(u.options)&&u.options.length>0)return`Invalid discriminator value. Expected ${u.options.map((f)=>`'${f}'`).join(" | ")}`;if(u.inclusive===!1)return"Invalid input: more than one option matched";return"Invalid input";case"invalid_element":return`Invalid value in ${u.origin}`;default:return"Invalid input"}}};function vr(){return{localeError:ju()}}var Qi;class es{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let o=t[0];if(this._map.set(e,o),o&&typeof o==="object"&&"id"in o)this._idmap.set(o.id,e);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);if(t&&typeof t==="object"&&"id"in t)this._idmap.delete(t.id);return this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let o={...this.get(t)??{}};delete o.id;let i={...o,...this._map.get(e)};return Object.keys(i).length?i:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function fs(){return new es}(Qi=globalThis).__zod_globalRegistry??(Qi.__zod_globalRegistry=fs());var he=globalThis.__zod_globalRegistry;function $r(e){if(e.checks)e.checks=[...e.checks];return e}function ms(e,t){return new e($r({type:"string",...v(t)}))}function hs(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...v(t)})}function gs(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...v(t)})}function zs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...v(t)})}function _s(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...v(t)})}function xs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...v(t)})}function bs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...v(t)})}function Sr(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...v(t)})}function ys(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...v(t)})}function vs(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...v(t)})}function $s(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...v(t)})}function Ss(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...v(t)})}function ks(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...v(t)})}function ws(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...v(t)})}function Ps(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...v(t)})}function Zs(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...v(t)})}function Os(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...v(t)})}function Is(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...v(t)})}function Rs(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...v(t)})}function Ts(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...v(t)})}function Es(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...v(t)})}function As(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...v(t)})}function Cs(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...v(t)})}function xt(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...v(t)})}function kr(e,t){return new e({type:"string",format:"date",check:"string_format",...v(t)})}function wr(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...v(t)})}function Pr(e,t){return new e({type:"string",format:"duration",check:"string_format",...v(t)})}function Ns(e,t){return new e($r({type:"number",checks:[],...v(t)}))}function kc(e,t){return new e($r({type:"number",coerce:!0,checks:[],...v(t)}))}function js(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...v(t)})}function Ds(e,t){return new e({type:"boolean",...v(t)})}function Ls(e,t){return new e({type:"null",...v(t)})}function Ms(e){return new e({type:"any"})}function Us(e){return new e({type:"unknown"})}function Fs(e,t){return new e({type:"never",...v(t)})}function bt(e,t){return new cr({check:"less_than",...v(t),value:e,inclusive:!1})}function Ue(e,t){return new cr({check:"less_than",...v(t),value:e,inclusive:!0})}function yt(e,t){return new ar({check:"greater_than",...v(t),value:e,inclusive:!1})}function Fe(e,t){return new ar({check:"greater_than",...v(t),value:e,inclusive:!0})}function vt(e,t){return new kn({check:"multiple_of",...v(t),value:e})}function $t(e,t){return new Pn({check:"max_length",...v(t),maximum:e})}function ve(e,t){return new Zn({check:"min_length",...v(t),minimum:e})}function St(e,t){return new On({check:"length_equals",...v(t),length:e})}function Zr(e,t){return new In({check:"string_format",format:"regex",...v(t),pattern:e})}function Or(e){return new Rn({check:"string_format",format:"lowercase",...v(e)})}function Ir(e){return new Tn({check:"string_format",format:"uppercase",...v(e)})}function Rr(e,t){return new En({check:"string_format",format:"includes",...v(t),includes:e})}function Tr(e,t){return new An({check:"string_format",format:"starts_with",...v(t),prefix:e})}function Er(e,t){return new Cn({check:"string_format",format:"ends_with",...v(t),suffix:e})}function ge(e){return new Nn({check:"overwrite",tx:e})}function Ar(e){return ge((t)=>t.normalize(e))}function Cr(){return ge((e)=>e.trim())}function Nr(){return ge((e)=>e.toLowerCase())}function jr(){return ge((e)=>e.toUpperCase())}function Mr(){return ge((e)=>go(e))}function Js(e,t,o){return new e({type:"array",element:t,...v(o)})}function Bs(e,t,o){let i=v(o);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function qs(e,t,o){return new e({type:"custom",check:"custom",fn:t,...v(o)})}function Ks(e,t){let o=Du((i)=>(i.addIssue=(s)=>{if(typeof s==="string")i.issues.push(xe(s,i.value,o._zod.def));else{let u=s;if(u.fatal)u.continue=!1;if(u.code??(u.code="custom"),!("input"in u))u.input=i.value;u.inst??(u.inst=o),u.continue??(u.continue=!o._zod.def.abort),i.issues.push(xe(u))}},e(i.value,i)),t);return o}function Du(e,t){let o=new M({check:"custom",...v(t)});return o._zod.check=e,o}function Je(e,...t){for(let o of t)for(let i of Reflect.ownKeys(o))if(Object.prototype.propertyIsEnumerable.call(o,i))Q(e,i,o[i]);return e}function Fr(e){let t=e?.target??"draft-2020-12";if(t==="draft-4")t="draft-04";if(t==="draft-7")t="draft-07";return{processors:e.processors??{},metadataRegistry:e?.metadata??he,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function pe(e,t,o,i,s){let u=typeof t.unrepresentable==="function"?t.unrepresentable({zodSchema:e,path:i.path,message:s}):t.unrepresentable;if(u==="any")return!1;if(u===void 0||u==="throw")throw Error(s);return Object.assign(o,u),!0}function N(e,t,o={path:[],schemaPath:[]}){var i;let s=e._zod.def,u=t.seen.get(e);if(u){if(u.count++,o.schemaPath.includes(e))u.cycle=o.path;return u.schema}let p={schema:{},count:1,cycle:void 0,path:o.path};t.seen.set(e,p),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let f=e._zod.toJSONSchema?.();if(f)p.schema=f;else{let h={...o,schemaPath:[...o.schemaPath,e],path:o.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,p.schema,h);else{let x=p.schema,_=t.processors[s.type];if(!_)throw Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);_(e,t,x,h)}let z=e._zod.parent;if(z){if(!p.ref)p.ref=z;N(z,t,h),t.seen.get(z).isParent=!0}}let d=t.metadataRegistry.get(e);if(d)Je(p.schema,d);if(t.io==="input"&&J(e))delete p.schema.examples,delete p.schema.default;if(t.io==="input"&&"_prefault"in p.schema)(i=p.schema).default??(i.default=p.schema._prefault);return delete p.schema._prefault,t.seen.get(e).schema}function Vs(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Jr(e,t){let o=e.seen.get(t);if(!o)throw Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let i=new Map;for(let p of e.seen.entries()){let f=e.metadataRegistry.get(p[0])?.id;if(f){let d=i.get(f);if(d&&d!==p[0])throw Error(`Duplicate schema id "${f}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(f,p[0])}}let s=(p)=>{let f=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let z=e.external.registry.get(p[0])?.id,x=e.external.uri??((b)=>b);if(z)return{ref:x(z)};let _=p[1].defId??p[1].schema.id??`schema${e.counter++}`;return p[1].defId=_,{defId:_,ref:`${x("__shared")}#/${f}/${Vs(_)}`}}let d="#",m=`${d}/${f}/`;if(p[1]===o&&!p[1].schema.id)return{ref:d};let h=p[1].schema.id??`__schema${e.counter++}`;return{defId:h,ref:m+Vs(h)}},u=(p)=>{if(p[1].schema.$ref)return;let f=p[1],{ref:d,defId:m}=s(p);if(f.def={...f.schema},m)f.defId=m;let h=f.schema;for(let z in h)delete h[z];h.$ref=d};if(e.cycles==="throw")for(let p of e.seen.entries()){let f=p[1];if(f.cycle)throw Error(`Cycle detected: #/${f.cycle?.join("/")}/<root>
|
|
57
|
-
|
|
58
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let p of e.seen.entries()){let f=p[1];if(t===p[0]){u(p);continue}if(e.external){let m=e.external.registry.get(p[0])?.id;if(t!==p[0]&&m){u(p);continue}}if(e.metadataRegistry.get(p[0])?.id){u(p);continue}if(f.cycle){u(p);continue}if(f.count>1){if(e.reused==="ref")u(p)}}if(e.external)e.sharedDefsExtractedFor=e.external}function Xs(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let o=[];for(let i of t){if(!i||typeof i!=="object")return;Xs(i);let s=Object.keys(i);if(s.length!==1||s[0]!=="type")return;let u=i.type;for(let p of Array.isArray(u)?u:[u]){if(typeof p!=="string")return;if(!o.includes(p))o.push(p)}}delete e.anyOf,e.type=o.length===1?o[0]:o}var Hs=new Set(["type","properties","required","additionalProperties"]),Gs=["oneOf","anyOf"];function Ws(e){let t=e.additionalProperties;if(t===void 0||t===!1||typeof t!=="object"||t===null)return null;return Object.keys(t).length?t:null}function Ur(e){let t=[];for(let u of e){if(typeof u!=="object"||u.type!=="object")return null;for(let p in u)if(!Hs.has(p))return null;t.push(u)}let o={},i=new Set;for(let u of t){for(let p in u.properties){if(Object.prototype.hasOwnProperty.call(o,p))continue;let f=[];for(let m of t){let h=m.properties?.[p]??Ws(m);if(h===null||h===void 0)continue;if(!f.some((z)=>JSON.stringify(z)===JSON.stringify(h)))f.push(h)}let d=f.length===1?f[0]:Ur(f)??{allOf:f};Q(o,p,d)}for(let p of u.required??[])i.add(p)}let s={type:"object",properties:o};if(i.size)s.required=[...i];if(t.every((u)=>u.additionalProperties===!1))s.additionalProperties=!1;else{let u=[];for(let p of t){let f=Ws(p);if(f&&!u.some((d)=>JSON.stringify(d)===JSON.stringify(f)))u.push(f)}if(u.length===1)s.additionalProperties=u[0];else if(u.length>1)s.additionalProperties={allOf:u}}return s}function Lu(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let s of Hs)if(s in e)return;let o=t.filter((s)=>Gs.some((u)=>Array.isArray(s[u]))),i=null;if(!o.length)i=Ur(t);else{let s=o[0],u=Gs.find((d)=>Array.isArray(s[d]));if(Object.keys(s).length!==1)return;let p=t.filter((d)=>d!==s),f=s[u].map((d)=>Ur([...p,d]));if(f.some((d)=>!d))return;i={[u]:f}}if(!i)return;delete e.allOf,Je(e,i)}function Br(e,t){let o=e.seen.get(t);if(!o)throw Error("Unprocessed schema. This is a bug in Zod.");let i=(f)=>{let d=e.seen.get(f);if(d.ref===null)return;let m=d.def??d.schema,h={...m},z=d.ref;if(d.ref=null,z){i(z);let _=e.seen.get(z),b=_.schema;if(b.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"))m.allOf=m.allOf??[],m.allOf.push(b);else Je(m,b);if(Je(m,h),f._zod.parent===z)for(let w in m){if(w==="$ref"||w==="allOf")continue;if(!(w in h))delete m[w]}if(b.$ref&&_.def)for(let w in m){if(w==="$ref"||w==="allOf")continue;if(w in _.def&&JSON.stringify(m[w])===JSON.stringify(_.def[w]))delete m[w]}}let x=f._zod.parent;if(x&&x!==z){i(x);let _=e.seen.get(x);if(_?.schema.$ref){if(m.$ref=_.schema.$ref,_.def)for(let b in m){if(b==="$ref"||b==="allOf")continue;if(b in _.def&&JSON.stringify(m[b])===JSON.stringify(_.def[b]))delete m[b]}}}e.override({zodSchema:f,jsonSchema:m,path:d.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let f of[...e.seen.entries()].reverse())i(f[0]);if(e.target!=="openapi-3.0")for(let f of e.seen.entries())Xs(f[1].def??f[1].schema);for(let f of e.deferred)f();if(e.intersections.length){let f=new Map;for(let d of e.seen.values())for(let m of[d.schema,d.def]){let h=m?.allOf;if(!Array.isArray(h))continue;let z=f.get(h);if(z)z.push(m);else f.set(h,[m])}for(let d of e.intersections)for(let m of f.get(d)??[])Lu(m)}}let s={};if(e.target==="draft-2020-12")s.$schema="https://json-schema.org/draft/2020-12/schema";else if(e.target==="draft-07")s.$schema="http://json-schema.org/draft-07/schema#";else if(e.target==="draft-04")s.$schema="http://json-schema.org/draft-04/schema#";else if(e.target==="openapi-3.0");if(e.external?.uri){let f=e.external.registry.get(t)?.id;if(!f)throw Error("Schema is missing an `id` property");s.$id=e.external.uri(f)}Je(s,o.defId?o.schema:o.def??o.schema);let u=e.metadataRegistry.get(t)?.id;if(u!==void 0&&s.id===u)delete s.id;let p=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let f of e.seen.entries()){let d=f[1];if(d.def&&d.defId){if(d.def.id===d.defId)delete d.def.id;Q(p,d.defId,d.def)}}if(e.external)e.sharedEmitDoneFor=e.external;if(e.external);else if(Object.keys(p).length>0)if(e.target==="draft-2020-12")s.$defs=p;else s.definitions=p;try{let f=JSON.parse(JSON.stringify(s));return Object.defineProperty(f,"~standard",{value:{...t["~standard"],jsonSchema:{input:Be(t,"input",e.processors),output:Be(t,"output",e.processors)}},enumerable:!1,writable:!1}),f}catch(f){throw Error("Error converting schema to JSON.")}}function J(e,t){let o=t??{seen:new Set};if(o.seen.has(e))return!1;o.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return J(i.element,o);if(i.type==="set")return J(i.valueType,o);if(i.type==="lazy")return J(i.getter(),o);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault"||i.type==="catch")return J(i.innerType,o);if(i.type==="intersection")return J(i.left,o)||J(i.right,o);if(i.type==="record"||i.type==="map")return J(i.keyType,o)||J(i.valueType,o);if(i.type==="pipe"){if(e._zod.traits.has("$ZodCodec"))return!0;return J(i.in,o)||J(i.out,o)}if(i.type==="object"){for(let s in i.shape)if(J(i.shape[s],o))return!0;return!1}if(i.type==="union"){for(let s of i.options)if(J(s,o))return!0;return!1}if(i.type==="tuple"){for(let s of i.items)if(J(s,o))return!0;if(i.rest&&J(i.rest,o))return!0;return!1}return!1}var Ys=(e,t={})=>(o)=>{let i=Fr({...o,processors:t});return N(e,i),Jr(i,e),Br(i,e)},Be=(e,t,o={})=>(i)=>{let{libraryOptions:s,target:u}=i??{},p=Fr({...s??{},target:u,io:t,processors:o});return N(e,p),Jr(p,e),Br(p,e)};var $e=(e,t,o)=>{if(e[t]===void 0||o>e[t])e[t]=o},Se=(e,t,o)=>{if(e[t]===void 0||o<e[t])e[t]=o},Qs=(e,t)=>{$e(e,"minimum",t),Se(e,"maximum",t)},oc=(e,t)=>{if(e.multipleOf??(e.multipleOf=[]),!e.multipleOf.includes(t))e.multipleOf.push(t)},nc=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},ic=(e,t)=>{e.mime=e.mime?e.mime.filter((o)=>t.includes(o)):[...t]},sc=(e,t)=>{if(e.format=t,t.includes("int"))e.isInt=!0},ec=(e,t)=>$e(e,"minimum",t.minimum),tc=(e,t)=>Se(e,"maximum",t.maximum),rc=(e)=>(t,o)=>{sc(t,o.format);let[i,s]=e[o.format];$e(t,"minimum",i),Se(t,"maximum",s)},Mu={greater_than:(e,t)=>$e(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>Se(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>oc(e,t.value),number_format:rc(Qe),bigint_format:rc(qt),min_length:ec,max_length:tc,length_equals:(e,t)=>Qs(e,t.length),min_size:ec,max_size:tc,size_equals:(e,t)=>Qs(e,t.size),string_format:(e,t)=>{if(sc(e,t.format),t.pattern)nc(e,t.pattern);if(t.format==="base64"||t.format==="base64url")e.contentEncoding=t.format;if(t.local||t.precision===-1)e.laxFormat=!0},mime_type:(e,t)=>ic(e,t.mime)};function te(e){let t={},o=e._zod.def,i=e._zod.traits.has("$ZodCheck")?[e,...o.checks??[]]:o.checks??[];for(let u of i)Mu[u._zod.def.check]?.(t,u._zod.def);let s=e._zod.bag;if(s.minimum!==void 0)$e(t,"minimum",s.minimum);if(s.exclusiveMinimum!==void 0)$e(t,"exclusiveMinimum",s.exclusiveMinimum);if(s.maximum!==void 0)Se(t,"maximum",s.maximum);if(s.exclusiveMaximum!==void 0)Se(t,"exclusiveMaximum",s.exclusiveMaximum);if(s.multipleOf!==void 0)oc(t,s.multipleOf);if(s.format!==void 0){if(t.format??(t.format=s.format),s.format.includes("int"))t.isInt=!0}if(s.mime)ic(t,s.mime);for(let u of s.patterns??[])nc(t,u);return t}var Uu={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Fu=new Map([[dr,pn],[mt,fn]]),cc=(e)=>Fu.get(e)??e,ac=(e,t,o,i)=>{let s=o;s.type="string";let{minimum:u,maximum:p,format:f,patterns:d,contentEncoding:m,laxFormat:h}=te(e);if(typeof u==="number")s.minLength=u;if(typeof p==="number")s.maxLength=p;if(f){if(s.format=Uu[f]??f,s.format==="")delete s.format;if(f==="time"||h)delete s.format}if(m)s.contentEncoding=m;if(d&&d.size>0){let z=[...d].map(cc);if(z.length===1)s.pattern=z[0].source;else if(z.length>1)s.allOf=[...z.map((x)=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:x.source}))]}},uc=(e,t,o,i)=>{let s=o,{minimum:u,maximum:p,multipleOf:f,exclusiveMaximum:d,exclusiveMinimum:m,isInt:h}=te(e);s.type=h?"integer":"number";let z=typeof m==="number"&&m>=(u??Number.NEGATIVE_INFINITY),x=typeof d==="number"&&d<=(p??Number.POSITIVE_INFINITY),_=t.target==="draft-04"||t.target==="openapi-3.0";if(z)if(_)s.minimum=m,s.exclusiveMinimum=!0;else s.exclusiveMinimum=m;else if(typeof u==="number")s.minimum=u;if(x)if(_)s.maximum=d,s.exclusiveMaximum=!0;else s.exclusiveMaximum=d;else if(typeof p==="number")s.maximum=p;if(f){let b=new Set;for(let Z of f)if(Number.isFinite(Z)&&Z!==0)b.add(Math.abs(Z));else pe(e,t,s,i,`A multipleOf divisor of ${Z} cannot be represented in JSON Schema`);let[S,...w]=b;if(S!==void 0)s.multipleOf=S;if(w.length)s.allOf=[...s.allOf??[],...w.map((Z)=>({multipleOf:Z}))]}},lc=(e,t,o,i)=>{o.type="boolean"};var pc=(e,t,o,i)=>{if(t.target==="openapi-3.0")o.type="string",o.nullable=!0,o.enum=[null];else o.type="null"};var fc=(e,t,o,i)=>{o.not={}},dc=(e,t,o,i)=>{},mc=(e,t,o,i)=>{};var hc=(e,t,o,i)=>{let s=e._zod.def,u=Ie(s.entries);if(u.length===0){o.not={};return}if(u.every((p)=>typeof p==="number"))o.type="number";if(u.every((p)=>typeof p==="string"))o.type="string";o.enum=u},gc=(e,t,o,i)=>{let s=e._zod.def;if(s.values.length===0){o.not={};return}let u=[];for(let p of s.values)if(p===void 0){if(pe(e,t,o,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof p==="bigint"){if(pe(e,t,o,i,"BigInt literals cannot be represented in JSON Schema"))return;u.push(Number(p))}else u.push(p);if(u.length===0);else if(u.length===1){let p=u[0];if(o.type=p===null?"null":typeof p,t.target==="draft-04"||t.target==="openapi-3.0")o.enum=[p];else o.const=p}else{if(u.every((p)=>typeof p==="number"))o.type="number";if(u.every((p)=>typeof p==="string"))o.type="string";if(u.every((p)=>typeof p==="boolean"))o.type="boolean";if(u.every((p)=>p===null))o.type="null";o.enum=u}};var zc=(e,t,o,i)=>{pe(e,t,o,i,"Custom types cannot be represented in JSON Schema")};var _c=(e,t,o,i)=>{pe(e,t,o,i,"Transforms cannot be represented in JSON Schema")};var xc=(e,t,o,i)=>{let s=o,u=e._zod.def,{minimum:p,maximum:f}=te(e);if(typeof p==="number")s.minItems=p;if(typeof f==="number")s.maxItems=f;s.type="array",s.items=N(u.element,t,{...i,path:[...i.path,"items"]})};function kt(e){let t=e._zod.def;if(t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform"))return kt(t.out);if(t.type==="catch")return kt(t.innerType);return e._zod.optin}var bc=(e,t,o,i)=>{let s=o,u=e._zod.def,p=u.shape;if(Object.getOwnPropertySymbols(p).length&&pe(e,t,s,i,"Symbol keys cannot be represented in JSON Schema"))return;s.type="object",s.properties={};for(let m in p)Q(s.properties,m,N(p[m],t,{...i,path:[...i.path,"properties",m]}));let d=[];for(let m of Object.keys(p)){let h=u.shape[m];if(t.io==="input"?kt(h)===void 0:h._zod.optout===void 0)d.push(m)}if(d.length>0)s.required=d;if(u.catchall?._zod.def.type==="never")s.additionalProperties=!1;else if(!u.catchall){if(t.io==="output")s.additionalProperties=!1}else if(u.catchall)s.additionalProperties=N(u.catchall,t,{...i,path:[...i.path,"additionalProperties"]})},yc=(e,t,o,i)=>{let s=e._zod.def,u=s.inclusive===!1,p=s.options.map((f,d)=>N(f,t,{...i,path:[...i.path,u?"oneOf":"anyOf",d]}));if(u)o.oneOf=p;else o.anyOf=p},vc=(e,t,o,i)=>{let s=e._zod.def,u=N(s.left,t,{...i,path:[...i.path,"allOf",0]}),p=N(s.right,t,{...i,path:[...i.path,"allOf",1]}),f=(m)=>("allOf"in m)&&Object.keys(m).length===1,d=[...f(u)?u.allOf:[u],...f(p)?p.allOf:[p]];o.allOf=d,t.intersections.push(d)};function qr(e,t,o){if(t.$ref){if(o.has(t))return t;o.add(t);let b=e.get(t)?.def;if(!b)return t;let S=qr(e,b,o);return S===b?t:S}for(let b of["anyOf","oneOf"]){let S=t[b];if(!Array.isArray(S))continue;let w=S.map((Z)=>qr(e,Z,o));if(w.some((Z,Y)=>Z!==S[Y]))t={...t,[b]:w}}let i=Array.isArray(t.type)?t.type:[t.type],s=!i.includes("string")&&i.some((b)=>b==="number"||b==="integer"),u=t.enum??(t.const!==void 0?[t.const]:void 0);if(!s&&!u?.some((b)=>typeof b==="number"))return t;let{minimum:p,maximum:f,exclusiveMinimum:d,exclusiveMaximum:m,multipleOf:h,format:z,id:x,..._}=t;if(_.enum)_.enum=_.enum.map((b)=>typeof b==="number"?String(b):b);else if(typeof _.const==="number")_.const=String(_.const);if(!s)return _;if(_.type="string",!u)_.pattern=(i.includes("number")?je:rr).source;return _}var Kr=new WeakMap;function Ju(e){let t=new Map;for(let i of e.seen.values())if(i.def&&!t.has(i.schema))t.set(i.schema,i);let o=new Map;for(let i of Kr.get(e)??[]){let s=e.seen.get(i),u=(s?.def??s?.schema)?.propertyNames;if(!u||u===!0||o.has(u))continue;let p=qr(t,u,new Set);if(p!==u)o.set(u,p)}if(!o.size)return;for(let i of e.seen.values())for(let s of[i.schema,i.def]){let u=s&&o.get(s.propertyNames);if(u)s.propertyNames=u}}var $c=(e,t,o,i)=>{let s=o,u=e._zod.def;s.type="object";let p=u.keyType,f=te(p).patterns;if(u.mode==="loose"&&f&&f.size>0){let h=N(u.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});s.patternProperties={};for(let z of f)Q(s.patternProperties,cc(z).source,h)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){s.propertyNames=N(u.keyType,t,{...i,path:[...i.path,"propertyNames"]});let h=Kr.get(t);if(!h)h=[],Kr.set(t,h),t.deferred.push(()=>Ju(t));h.push(e)}s.additionalProperties=N(u.valueType,t,{...i,path:[...i.path,"additionalProperties"]})}let d=p._zod.values,m=t.io==="input"&&kt(u.valueType)!==void 0;if(d&&!u.partial&&!m){let h=[...d].filter((z)=>typeof z==="string"||typeof z==="number");if(h.length>0)s.required=h.map(String)}},Sc=(e,t,o,i)=>{let s=e._zod.def,u=N(s.innerType,t,i),p=t.seen.get(e);if(t.target==="openapi-3.0")p.ref=s.innerType,o.nullable=!0;else o.anyOf=[u,{type:"null"}]},wc=(e,t,o,i)=>{let s=e._zod.def;N(s.innerType,t,i);let u=t.seen.get(e);u.ref=s.innerType},Vr=Symbol();function Zc(e,t,o,i,s){let u=!1,p=JSON.stringify(e,(f,d)=>{if(typeof d!=="bigint")return d;return u=!0,null});if(!u)return JSON.parse(p);return pe(t,o,i,s,"BigInt defaults cannot be represented in JSON Schema"),Vr}var Tc=(e,t,o,i)=>{let s=e._zod.def;N(s.innerType,t,i);let u=t.seen.get(e);u.ref=s.innerType;let p=Zc(s.defaultValue,e,t,o,i);if(p!==Vr)o.default=p},Ec=(e,t,o,i)=>{let s=e._zod.def;N(s.innerType,t,i);let u=t.seen.get(e);if(u.ref=s.innerType,t.io!=="input")return;let p=Zc(s.defaultValue,e,t,o,i);if(p!==Vr)o._prefault=p},Ac=(e,t,o,i)=>{let s=e._zod.def;N(s.innerType,t,i);let u=t.seen.get(e);u.ref=s.innerType;let p;try{p=s.catchValue(void 0)}catch{pe(e,t,o,i,"Dynamic catch values are not supported in JSON Schema");return}o.default=p},Nc=(e,t,o,i)=>{let s=e._zod.def,u=s.in._zod.traits.has("$ZodTransform"),p=t.io==="input"?u?s.out:s.in:s.out;N(p,t,i);let f=t.seen.get(e);f.ref=p},jc=(e,t,o,i)=>{let s=e._zod.def;N(s.innerType,t,i);let u=t.seen.get(e);u.ref=s.innerType,o.readOnly=!0};var Gr=(e,t,o,i)=>{let s=e._zod.def;N(s.innerType,t,i);let u=t.seen.get(e);u.ref=s.innerType};var Dc=new WeakSet([Object.prototype,Error.prototype]);function wt(e,t,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let i=o(this);return Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0})}})}var Yu=(e,t)=>{Eo.init(e,t),e.name="ZodError";let o=Object.getPrototypeOf(e);if(Dc.has(o))return;Dc.add(o),wt(o,"format",(i)=>(s)=>Ht(i,s)),wt(o,"flatten",(i)=>(s)=>Xt(i,s)),wt(o,"addIssue",(i)=>(s)=>{i.issues.push(s),i.message=JSON.stringify(i.issues,Te,2)}),wt(o,"addIssues",(i)=>(s)=>{i.issues.push(...s),i.message=JSON.stringify(i.issues,Te,2)}),Object.defineProperty(o,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}})};var W=g("ZodError",Yu,void 0,{Parent:Error});var Uc=st(W),Fc=ct(W),Jc=Ne(W),Bc=at(W),qc=No(W),Kc=Do(W),Vc=Lo(W),Gc=Mo(W),Wc=Uo(W),Xc=Fo(W),Hc=Jo(W),Yc=Bo(W);function el(){if(!B.localeError)K(vr())}function Tt(){if(!B.memoizer)K({memoizer:yr()})}var E=g("ZodType",(e,t)=>(el(),O.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(G(t,{checks:[...t.checks??[],...e.map((o)=>typeof o==="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return ne(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Jl(e,t))},superRefine(e,t){return this.check(Bl(e,t))},overwrite(e){return this.check(ge(e))},optional(){return A(this)},exactOptional(){return Rl(this)},nullable(){return ea(this)},nullish(){return A(ea(this))},nonoptional(e){return jl(this,e)},array(){return y(this)},or(e){return k([this,e])},and(e){return Rt(this,e)},transform(e){return ta(this,Pa(e))},default(e){return Al(this,e)},prefault(e){return Nl(this,e)},catch(e){return Ll(this,e)},pipe(e){return ta(this,e)},readonly(){return Fl(this)},describe(e){let t=this.clone();return he.add(t,{description:e}),t},meta(...e){if(e.length===0)return he.get(this);let t=this.clone();return he.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get "~standard"(){return nt(this,"~standard",{...pr(this),jsonSchema:{input:Be(this,"input"),output:Be(this,"output")}})},set "~standard"(e){le(this,"~standard",e)},parse:function e(t,o){return Uc(this,t,o,{callee:e})},parseAsync:async function e(t,o){return await Fc(this,t,o,{callee:e})},safeParse(e,t){return Jc(this,e,t)},async safeParseAsync(e,t){return Bc(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){le(this,"spa",e)},validate(e,t){return Yt(this,e,t)},validateAsync(e,t){return Qt(this,e,t)},encode:function e(t,o){return qc(this,t,o,{callee:e})},decode:function e(t,o){return Kc(this,t,o,{callee:e})},encodeAsync:async function e(t,o){return await Vc(this,t,o,{callee:e})},decodeAsync:async function e(t,o){return await Gc(this,t,o,{callee:e})},safeEncode(e,t){return Wc(this,e,t)},safeDecode(e,t){return Xc(this,e,t)},async safeEncodeAsync(e,t){return Hc(this,e,t)},async safeDecodeAsync(e,t){return Yc(this,e,t)},toJSONSchema(e){return Ys(this,{})(e)},get description(){return he.get(this)?.description},get _def(){return this._zod.def}}),ra=g("_ZodString",(e,t)=>{dt.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>ac(e,o,i,s)},Po({format:(e)=>te(e).format??null,minLength:(e)=>te(e).minimum??null,maxLength:(e)=>te(e).maximum??null},{regex(...e){return this.check(Zr(...e))},includes(...e){return this.check(Rr(...e))},startsWith(...e){return this.check(Tr(...e))},endsWith(...e){return this.check(Er(...e))},min(...e){return this.check(ve(...e))},max(...e){return this.check($t(...e))},length(...e){return this.check(St(...e))},nonempty(...e){return this.check(ve(1,...e))},lowercase(e){return this.check(Or(e))},uppercase(e){return this.check(Ir(e))},trim(){return this.check(Cr())},normalize(...e){return this.check(Ar(...e))},toLowerCase(){return this.check(Nr())},toUpperCase(){return this.check(jr())},slugify(){return this.check(Mr())}})),tl=g("ZodString",(e,t)=>{dt.init(e,t),ra.init(e,t)},{email(e){return this.check(hs(rl,e))},url(e){return this.check(Sr(va,e))},jwt(e){return this.check(Cs(_l,e))},emoji(e){return this.check(ys(nl,e))},guid(e){return this.check(gs(ol,e))},uuid(e){return this.check(zs(Zt,e))},uuidv4(e){return this.check(_s(Zt,e))},uuidv6(e){return this.check(xs(Zt,e))},uuidv7(e){return this.check(bs(Zt,e))},nanoid(e){return this.check(vs(il,e))},cuid(e){return this.check($s(sl,e))},cuid2(e){return this.check(Ss(cl,e))},ulid(e){return this.check(ks(al,e))},base64(e){return this.check(Ts(hl,e))},base64url(e){return this.check(Es(gl,e))},xid(e){return this.check(ws(ul,e))},ksuid(e){return this.check(Ps(ll,e))},ipv4(e){return this.check(Zs(pl,e))},ipv6(e){return this.check(Os(fl,e))},cidrv4(e){return this.check(Is(dl,e))},cidrv6(e){return this.check(Rs(ml,e))},e164(e){return this.check(As(zl,e))},datetime(e){return this.check(xt(Xr,e))},date(e){return this.check(kr(za,e))},time(e){return this.check(wr(_a,e))},duration(e){return this.check(Pr(xa,e))}});function r(e){return ms(tl,e)}var C=g("ZodStringFormat",(e,t)=>{T.init(e,t),ra.init(e,t)}),Xr=g("ZodISODateTime",(e,t)=>{li.init(e,t),C.init(e,t)}),za=g("ZodISODate",(e,t)=>{pi.init(e,t),C.init(e,t)}),_a=g("ZodISOTime",(e,t)=>{fi.init(e,t),C.init(e,t)}),xa=g("ZodISODuration",(e,t)=>{di.init(e,t),C.init(e,t)}),rl=g("ZodEmail",(e,t)=>{Qn.init(e,t),C.init(e,t)});var ol=g("ZodGUID",(e,t)=>{Hn.init(e,t),C.init(e,t)});var Zt=g("ZodUUID",(e,t)=>{Yn.init(e,t),C.init(e,t)});var va=g("ZodURL",(e,t)=>{ri.init(e,t),C.init(e,t)});function zo(e){return Sr(va,e)}var nl=g("ZodEmoji",(e,t)=>{oi.init(e,t),C.init(e,t)});var il=g("ZodNanoID",(e,t)=>{ni.init(e,t),C.init(e,t)});var sl=g("ZodCUID",(e,t)=>{ii.init(e,t),C.init(e,t)});var cl=g("ZodCUID2",(e,t)=>{si.init(e,t),C.init(e,t)});var al=g("ZodULID",(e,t)=>{ci.init(e,t),C.init(e,t)});var ul=g("ZodXID",(e,t)=>{ai.init(e,t),C.init(e,t)});var ll=g("ZodKSUID",(e,t)=>{ui.init(e,t),C.init(e,t)});var pl=g("ZodIPv4",(e,t)=>{mi.init(e,t),C.init(e,t)});var fl=g("ZodIPv6",(e,t)=>{gi.init(e,t),C.init(e,t)});var dl=g("ZodCIDRv4",(e,t)=>{zi.init(e,t),C.init(e,t)});var ml=g("ZodCIDRv6",(e,t)=>{_i.init(e,t),C.init(e,t)});var hl=g("ZodBase64",(e,t)=>{bi.init(e,t),C.init(e,t)});var gl=g("ZodBase64URL",(e,t)=>{yi.init(e,t),C.init(e,t)});var zl=g("ZodE164",(e,t)=>{vi.init(e,t),C.init(e,t)});var _l=g("ZodJWT",(e,t)=>{$i.init(e,t),C.init(e,t)});var ts=g("ZodNumber",(e,t)=>{mr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>uc(e,o,i,s),e.isFinite=!0},Po({minValue:(e)=>{let{minimum:t,exclusiveMinimum:o}=te(e);return Math.max(t??Number.NEGATIVE_INFINITY,o??Number.NEGATIVE_INFINITY)},maxValue:(e)=>{let{maximum:t,exclusiveMaximum:o}=te(e);return Math.min(t??Number.POSITIVE_INFINITY,o??Number.POSITIVE_INFINITY)},isInt:(e)=>{let{isInt:t,multipleOf:o}=te(e);return!!t||!!o?.some(Number.isSafeInteger)},format:(e)=>te(e).format??null},{gt(e,t){return this.check(yt(e,t))},gte(e,t){return this.check(Fe(e,t))},min(e,t){return this.check(Fe(e,t))},lt(e,t){return this.check(bt(e,t))},lte(e,t){return this.check(Ue(e,t))},max(e,t){return this.check(Ue(e,t))},int(e){return this.check(Pt(e))},safe(e){return this.check(Pt(e))},positive(e){return this.check(yt(0,e))},nonnegative(e){return this.check(Fe(0,e))},negative(e){return this.check(bt(0,e))},nonpositive(e){return this.check(Ue(0,e))},multipleOf(e,t){return this.check(vt(e,t))},step(e,t){return this.check(vt(e,t))},finite(){return this}}));function q(e){return Ns(ts,e)}var xl=g("ZodNumberFormat",(e,t)=>{Si.init(e,t),ts.init(e,t)});function Pt(e){return js(xl,e)}var bl=g("ZodBoolean",(e,t)=>{ki.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>lc(e,o,i,s)});function H(e){return Ds(bl,e)}var yl=g("ZodNull",(e,t)=>{wi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>pc(e,o,i,s)});function $a(e){return Ls(yl,e)}var vl=g("ZodAny",(e,t)=>{Pi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>dc(e,o,i,s)});function Pc(){return Ms(vl)}var $l=g("ZodUnknown",(e,t)=>{Zi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>mc(e,o,i,s)});function a(){return Us($l)}var Sl=g("ZodNever",(e,t)=>{Oi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>fc(e,o,i,s)});function kl(e){return Fs(Sl,e)}var wl=g("ZodArray",(e,t)=>{Tt(),Ii.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>xc(e,o,i,s),e.element=t.element},{min(e,t){return this.check(ve(e,t))},nonempty(e){return this.check(ve(1,e))},max(e,t){return this.check($t(e,t))},length(e,t){return this.check(St(e,t))},unwrap(){return this.element}});function y(e,t){return Js(wl,e,t)}var Sa=g("ZodObject",(e,t)=>{Tt(),Ei.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>bc(e,o,i,s),iu(e,"shape",(o)=>o._zod.def.shape,!1)},{keyof(){return V(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(G(this._zod.def,{catchall:e}))},passthrough(){return this.clone(G(this._zod.def,{catchall:a()}))},loose(){return this.clone(G(this._zod.def,{catchall:a()}))},strict(){return this.clone(G(this._zod.def,{catchall:kl()}))},strip(){return this.clone(G(this._zod.def,{catchall:void 0}))},extend(e){return Ha(this,e)},safeExtend(e){return Ya(this,e)},merge(e){return Qa(this,e)},pick(e){return Wa(this,e)},omit(e){return Xa(this,e)},partial(...e){return vo(Za,this,e[0])},exactPartial(...e){return vo(Oa,this,e[0],"exactPartial")},required(...e){return eu(Ia,this,e[0])}});function n(e,t){let o={type:"object",shape:e??{},...v(t)};return new Sa(o)}function Re(e,t){return new Sa({type:"object",shape:e,catchall:a(),...v(t)})}var ka=g("ZodUnion",(e,t)=>{hr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>yc(e,o,i,s),e.options=t.options});function k(e,t){return new ka({type:"union",options:e,...v(t)})}var Pl=g("ZodDiscriminatedUnion",(e,t)=>{ka.init(e,t),Ai.init(e,t)});function Hr(e,t,o){return new Pl({type:"union",options:t,discriminator:e,...v(o)})}var Zl=g("ZodIntersection",(e,t)=>{Ci.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>vc(e,o,i,s)});function Rt(e,t){return new Zl({type:"intersection",left:e,right:t})}var Qc=g("ZodRecord",(e,t)=>{Tt(),Ni.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>$c(e,o,i,s),e.keyType=t.keyType,e.valueType=t.valueType});function l(e,t,o){if(!t||!t._zod)return new Qc({type:"record",keyType:r(),valueType:e,...v(t)});return new Qc({type:"record",keyType:e,valueType:t,...v(o)})}var Wr=g("ZodEnum",(e,t)=>{ji.init(e,t),E.init(e,t),e._zod.processJSONSchema=(i,s,u)=>hc(e,i,s,u),e.enum=t.entries,e.options=[...e._zod.values];let o=new Set(Object.keys(t.entries));e.extract=(i,s)=>{let u={};for(let p of i)if(o.has(p))u[p]=t.entries[p];else throw Error(`Key ${p} not found in enum`);return new Wr({...t,checks:[],...v(s),entries:u})},e.exclude=(i,s)=>{let u={...t.entries};for(let p of i)if(o.has(p))delete u[p];else throw Error(`Key ${p} not found in enum`);return new Wr({...t,checks:[],...v(s),entries:u})}});function V(e,t){let o=Array.isArray(e)?Object.fromEntries(e.map((i)=>[i,i])):e;return new Wr({type:"enum",entries:o,...v(t)})}var Ol=g("ZodLiteral",(e,t)=>{Di.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>gc(e,o,i,s),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function c(e,t){return new Ol({type:"literal",values:Array.isArray(e)?e:[e],...v(t)})}var Il=g("ZodTransform",(e,t)=>{Tt(),Li.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>_c(e,o,i,s),e._zod.parse=(o,i)=>{if(i.direction==="backward")throw new Ce(e.constructor.name);o.addIssue=(u)=>{if(typeof u==="string")o.issues.push(xe(u,o.value,t));else{let p=u;if(p.fatal)p.continue=!1;if(p.code??(p.code="custom"),!("input"in p))p.input=o.value;p.inst??(p.inst=e),o.issues.push(xe(p))}};let s=t.transform(o.value,o);if(s instanceof Promise)return s.then((u)=>(o.value=u,o));return o.value=s,o}});function Pa(e){return new Il({type:"transform",transform:e})}var Za=g("ZodOptional",(e,t)=>{zr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>Gr(e,o,i,s),e.unwrap=()=>e._zod.def.innerType});function A(e){return new Za({type:"optional",innerType:e})}var Oa=g("ZodExactOptional",(e,t)=>{Mi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>Gr(e,o,i,s),e.unwrap=()=>e._zod.def.innerType});function Rl(e){return new Oa({type:"optional",innerType:e})}var Tl=g("ZodNullable",(e,t)=>{Ui.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>Sc(e,o,i,s),e.unwrap=()=>e._zod.def.innerType});function ea(e){return new Tl({type:"nullable",innerType:e})}var El=g("ZodDefault",(e,t)=>{Fi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>Tc(e,o,i,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Al(e,t){return new El({type:"default",innerType:e,get defaultValue(){return typeof t==="function"?t():Jt(t)}})}var Cl=g("ZodPrefault",(e,t)=>{Ji.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>Ec(e,o,i,s),e.unwrap=()=>e._zod.def.innerType});function Nl(e,t){return new Cl({type:"prefault",innerType:e,get defaultValue(){return typeof t==="function"?t():Jt(t)}})}var Ia=g("ZodNonOptional",(e,t)=>{Bi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>wc(e,o,i,s),e.unwrap=()=>e._zod.def.innerType});function jl(e,t){return new Ia({type:"nonoptional",innerType:e,...v(t)})}var Dl=g("ZodCatch",(e,t)=>{qi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>Ac(e,o,i,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Ll(e,t){return new Dl({type:"catch",innerType:e,catchValue:typeof t==="function"?t:Zo(t)})}var Ra=g("ZodPipe",(e,t)=>{_r.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>Nc(e,o,i,s),e.in=t.in,e.out=t.out});function ta(e,t){return new Ra({type:"pipe",in:e,out:t})}var Ml=g("ZodPreprocess",(e,t)=>{Ra.init(e,t),Ki.init(e,t)}),Ul=g("ZodReadonly",(e,t)=>{Vi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>jc(e,o,i,s),e.unwrap=()=>e._zod.def.innerType});function Fl(e){return new Ul({type:"readonly",innerType:e})}var Ta=g("ZodCustom",(e,t)=>{Gi.init(e,t),E.init(e,t),e._zod.processJSONSchema=(o,i,s)=>zc(e,o,i,s)});function Ea(e,t){return Bs(Ta,e??(()=>!0),t)}function Jl(e,t={}){return qs(Ta,e,t)}function Bl(e,t){return Ks(e,t)}function $o(e,t){return new Ml({type:"pipe",in:Pa(e),out:t})}function ql(e){return xt(Xr,e)}var nr="2025-11-25",Rc="2025-03-26",fr=[nr,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],Lr="io.modelcontextprotocol/related-task",At="2.0",L=Ea((e)=>e!==null&&(typeof e==="object"||typeof e==="function")),Ca=k([r(),q().int()]),Na=r(),Vm=Re({ttl:q().optional(),pollInterval:q().optional()}),Kl=n({ttl:q().optional()}),Vl=n({taskId:r()}),Yr=Re({progressToken:Ca.optional(),[Lr]:Vl.optional()}),X=n({_meta:Yr.optional()}),Ke=X.extend({task:Kl.optional()}),Cc=(e)=>Ke.safeParse(e).success,U=n({method:r(),params:X.loose().optional()}),re=n({_meta:Yr.optional()}),oe=n({method:r(),params:re.loose().optional()}),F=Re({_meta:Yr.optional()}),Nt=k([r(),q().int()]),ja=n({jsonrpc:c(At),id:Nt,...U.shape}).strict(),Ct=(e)=>ja.safeParse(e).success,Da=n({jsonrpc:c(At),...oe.shape}).strict(),Ic=(e)=>Da.safeParse(e).success,Qr=n({jsonrpc:c(At),id:Nt,result:F}).strict(),It=(e)=>Qr.safeParse(e).success;var D;(function(e){e[e.ConnectionClosed=-32000]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(D||(D={}));var eo=n({jsonrpc:c(At),id:Nt.optional(),error:n({code:q().int(),message:r(),data:a().optional()})}).strict();var $n=(e)=>eo.safeParse(e).success;var Mt=k([ja,Da,Qr,eo]),Gm=k([Qr,eo]),or=F.strict(),Gl=re.extend({requestId:Nt.optional(),reason:r().optional()}),rs=oe.extend({method:c("notifications/cancelled"),params:Gl}),Wl=n({src:r(),mimeType:r().optional(),sizes:y(r()).optional(),theme:V(["light","dark"]).optional()}),Ve=n({icons:y(Wl).optional()}),ke=n({name:r(),title:r().optional()}),La=ke.extend({...ke.shape,...Ve.shape,version:r(),websiteUrl:r().optional(),description:r().optional()}),Xl=Rt(n({applyDefaults:H().optional()}),l(r(),a())),Hl=$o((e)=>{if(e&&typeof e==="object"&&!Array.isArray(e)){if(Object.keys(e).length===0)return{form:{}}}return e},Rt(n({form:Xl.optional(),url:L.optional()}),l(r(),a()).optional())),Yl=Re({list:L.optional(),cancel:L.optional(),requests:Re({sampling:Re({createMessage:L.optional()}).optional(),elicitation:Re({create:L.optional()}).optional()}).optional()}),Ql=Re({list:L.optional(),cancel:L.optional(),requests:Re({tools:Re({call:L.optional()}).optional()}).optional()}),ep=n({experimental:l(r(),L).optional(),sampling:n({context:L.optional(),tools:L.optional()}).optional(),elicitation:Hl.optional(),roots:n({listChanged:H().optional()}).optional(),tasks:Yl.optional(),extensions:l(r(),L).optional()}),tp=X.extend({protocolVersion:r(),capabilities:ep,clientInfo:La}),ns=U.extend({method:c("initialize"),params:tp}),oa=(e)=>ns.safeParse(e).success,rp=n({experimental:l(r(),L).optional(),logging:L.optional(),completions:L.optional(),prompts:n({listChanged:H().optional()}).optional(),resources:n({subscribe:H().optional(),listChanged:H().optional()}).optional(),tools:n({listChanged:H().optional()}).optional(),tasks:Ql.optional(),extensions:l(r(),L).optional()}),ia=F.extend({protocolVersion:r(),capabilities:rp,serverInfo:La,instructions:r().optional()}),os=oe.extend({method:c("notifications/initialized"),params:re.optional()}),Mc=(e)=>os.safeParse(e).success,is=U.extend({method:c("ping"),params:X.optional()}),op=n({progress:q(),total:A(q()),message:A(r())}),np=n({...re.shape,...op.shape,progressToken:Ca}),ss=oe.extend({method:c("notifications/progress"),params:np}),ip=X.extend({cursor:Na.optional()}),Ge=U.extend({params:ip.optional()}),We=F.extend({nextCursor:Na.optional()}),sp=V(["working","input_required","completed","failed","cancelled"]),Xe=n({taskId:r(),status:sp,ttl:k([q(),$a()]),createdAt:r(),lastUpdatedAt:r(),pollInterval:A(q()),statusMessage:A(r())}),ir=F.extend({task:Xe}),cp=re.merge(Xe),jo=oe.extend({method:c("notifications/tasks/status"),params:cp}),as=U.extend({method:c("tasks/get"),params:X.extend({taskId:r()})}),cs=F.merge(Xe),ls=U.extend({method:c("tasks/result"),params:X.extend({taskId:r()})}),Wm=F.loose(),us=Ge.extend({method:c("tasks/list")}),ps=We.extend({tasks:y(Xe)}),ds=U.extend({method:c("tasks/cancel"),params:X.extend({taskId:r()})}),Oc=F.merge(Xe),Ma=n({uri:r(),mimeType:A(r()),_meta:l(r(),a()).optional()}),Ua=Ma.extend({text:r()}),to=r().refine((e)=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),Fa=Ma.extend({blob:to}),He=V(["user","assistant"]),we=n({audience:y(He).optional(),priority:q().min(0).max(1).optional(),lastModified:ql({offset:!0}).optional()}),Ja=n({...ke.shape,...Ve.shape,uri:r(),description:A(r()),mimeType:A(r()),size:A(q()),annotations:we.optional(),_meta:A(Re({}))}),ap=n({...ke.shape,...Ve.shape,uriTemplate:r(),description:A(r()),mimeType:A(r()),annotations:we.optional(),_meta:A(Re({}))}),up=Ge.extend({method:c("resources/list")}),sa=We.extend({resources:y(Ja)}),lp=Ge.extend({method:c("resources/templates/list")}),aa=We.extend({resourceTemplates:y(ap)}),ro=X.extend({uri:r()}),pp=ro,fp=U.extend({method:c("resources/read"),params:pp}),ca=F.extend({contents:y(k([Ua,Fa]))}),la=oe.extend({method:c("notifications/resources/list_changed"),params:re.optional()}),dp=ro,mp=U.extend({method:c("resources/subscribe"),params:dp}),hp=ro,gp=U.extend({method:c("resources/unsubscribe"),params:hp}),zp=re.extend({uri:r()}),_p=oe.extend({method:c("notifications/resources/updated"),params:zp}),xp=n({name:r(),description:A(r()),required:A(H())}),bp=n({...ke.shape,...Ve.shape,description:A(r()),arguments:A(y(xp)),_meta:A(Re({}))}),yp=Ge.extend({method:c("prompts/list")}),ua=We.extend({prompts:y(bp)}),vp=X.extend({name:r(),arguments:l(r(),r()).optional()}),$p=U.extend({method:c("prompts/get"),params:vp}),oo=n({type:c("text"),text:r(),annotations:we.optional(),_meta:l(r(),a()).optional()}),no=n({type:c("image"),data:to,mimeType:r(),annotations:we.optional(),_meta:l(r(),a()).optional()}),io=n({type:c("audio"),data:to,mimeType:r(),annotations:we.optional(),_meta:l(r(),a()).optional()}),Sp=n({type:c("tool_use"),name:r(),id:r(),input:l(r(),a()),_meta:l(r(),a()).optional()}),kp=n({type:c("resource"),resource:k([Ua,Fa]),annotations:we.optional(),_meta:l(r(),a()).optional()}),wp=Ja.extend({type:c("resource_link")}),so=k([oo,no,io,wp,kp]),Pp=n({role:He,content:so}),pa=F.extend({description:r().optional(),messages:y(Pp)}),da=oe.extend({method:c("notifications/prompts/list_changed"),params:re.optional()}),Zp=n({title:r().optional(),readOnlyHint:H().optional(),destructiveHint:H().optional(),idempotentHint:H().optional(),openWorldHint:H().optional()}),Op=n({taskSupport:V(["required","optional","forbidden"]).optional()}),Ba=n({...ke.shape,...Ve.shape,description:r().optional(),inputSchema:n({type:c("object"),properties:l(r(),L).optional(),required:y(r()).optional()}).catchall(a()),outputSchema:n({type:c("object"),properties:l(r(),L).optional(),required:y(r()).optional()}).catchall(a()).optional(),annotations:Zp.optional(),execution:Op.optional(),_meta:l(r(),a()).optional()}),ma=Ge.extend({method:c("tools/list")}),ha=We.extend({tools:y(Ba)}),Ot=F.extend({content:y(so).default([]),structuredContent:l(r(),a()).optional(),isError:H().optional()}),Xm=Ot.or(F.extend({toolResult:a()})),Ip=Ke.extend({name:r(),arguments:l(r(),a()).optional()}),Wo=U.extend({method:c("tools/call"),params:Ip}),Ho=oe.extend({method:c("notifications/tools/list_changed"),params:re.optional()}),Lc=n({autoRefresh:H().default(!0),debounceMs:q().int().nonnegative().default(300)}),qo=V(["debug","info","notice","warning","error","critical","alert","emergency"]),Rp=X.extend({level:qo}),fa=U.extend({method:c("logging/setLevel"),params:Rp}),Tp=re.extend({level:qo,logger:r().optional(),data:a()}),Ep=oe.extend({method:c("notifications/message"),params:Tp}),Ap=n({name:r().optional()}),Cp=n({hints:y(Ap).optional(),costPriority:q().min(0).max(1).optional(),speedPriority:q().min(0).max(1).optional(),intelligencePriority:q().min(0).max(1).optional()}),Np=n({mode:V(["auto","required","none"]).optional()}),jp=n({type:c("tool_result"),toolUseId:r().describe("The unique identifier for the corresponding tool call."),content:y(so).default([]),structuredContent:n({}).loose().optional(),isError:H().optional(),_meta:l(r(),a()).optional()}),Dp=Hr("type",[oo,no,io]),Et=Hr("type",[oo,no,io,Sp,jp]),Lp=n({role:He,content:k([Et,y(Et)]),_meta:l(r(),a()).optional()}),Mp=Ke.extend({messages:y(Lp),modelPreferences:Cp.optional(),systemPrompt:r().optional(),includeContext:V(["none","thisServer","allServers"]).optional(),temperature:q().optional(),maxTokens:q().int(),stopSequences:y(r()).optional(),metadata:L.optional(),tools:y(Ba).optional(),toolChoice:Np.optional()}),ga=U.extend({method:c("sampling/createMessage"),params:Mp}),Dr=F.extend({model:r(),stopReason:A(V(["endTurn","stopSequence","maxTokens"]).or(r())),role:He,content:Dp}),jn=F.extend({model:r(),stopReason:A(V(["endTurn","stopSequence","maxTokens","toolUse"]).or(r())),role:He,content:k([Et,y(Et)])}),Up=n({type:c("boolean"),title:r().optional(),description:r().optional(),default:H().optional()}),Fp=n({type:c("string"),title:r().optional(),description:r().optional(),minLength:q().optional(),maxLength:q().optional(),format:V(["email","uri","date","date-time"]).optional(),default:r().optional()}),Jp=n({type:V(["number","integer"]),title:r().optional(),description:r().optional(),minimum:q().optional(),maximum:q().optional(),default:q().optional()}),Bp=n({type:c("string"),title:r().optional(),description:r().optional(),enum:y(r()),default:r().optional()}),qp=n({type:c("string"),title:r().optional(),description:r().optional(),oneOf:y(n({const:r(),title:r()})),default:r().optional()}),Kp=n({type:c("string"),title:r().optional(),description:r().optional(),enum:y(r()),enumNames:y(r()).optional(),default:r().optional()}),Vp=k([Bp,qp]),Gp=n({type:c("array"),title:r().optional(),description:r().optional(),minItems:q().optional(),maxItems:q().optional(),items:n({type:c("string"),enum:y(r())}),default:y(r()).optional()}),Wp=n({type:c("array"),title:r().optional(),description:r().optional(),minItems:q().optional(),maxItems:q().optional(),items:n({anyOf:y(n({const:r(),title:r()}))}),default:y(r()).optional()}),Xp=k([Gp,Wp]),Hp=k([Kp,Vp,Xp]),Yp=k([Hp,Up,Fp,Jp]),Qp=Ke.extend({mode:c("form").optional(),message:r(),requestedSchema:n({type:c("object"),properties:l(r(),Yp),required:y(r()).optional()})}),ef=Ke.extend({mode:c("url"),message:r(),elicitationId:r(),url:r().url()}),tf=k([Qp,ef]),ya=U.extend({method:c("elicitation/create"),params:tf}),rf=re.extend({elicitationId:r()}),of=oe.extend({method:c("notifications/elicitation/complete"),params:rf}),gr=F.extend({action:V(["accept","decline","cancel"]),content:$o((e)=>e===null?void 0:e,l(r(),k([r(),q(),H(),y(r())])).optional())}),nf=n({type:c("ref/resource"),uri:r()});var sf=n({type:c("ref/prompt"),name:r()}),cf=X.extend({ref:k([sf,nf]),argument:n({name:r(),value:r()}),context:n({arguments:l(r(),r()).optional()}).optional()}),af=U.extend({method:c("completion/complete"),params:cf});var ba=F.extend({completion:Re({values:y(r()).max(100),total:A(q().int()),hasMore:A(H())})}),uf=n({uri:r().startsWith("file://"),name:r().optional(),_meta:l(r(),a()).optional()}),lf=U.extend({method:c("roots/list"),params:X.optional()}),wa=F.extend({roots:y(uf)}),pf=oe.extend({method:c("notifications/roots/list_changed"),params:re.optional()}),Hm=k([is,ns,af,fa,$p,yp,up,lp,fp,mp,gp,Wo,ma,as,ls,us,ds]),Ym=k([rs,ss,os,pf,jo]),Qm=k([or,Dr,jn,gr,wa,cs,ps,ir]),eh=k([is,ga,ya,lf,as,ls,us,ds]),th=k([rs,ss,Ep,_p,la,Ho,da,jo,of]),rh=k([or,ia,ba,pa,ua,sa,aa,ca,Ot,ha,cs,ps,ir]);class R extends Error{constructor(e,t,o){super(`MCP error ${e}: ${t}`);this.code=e,this.data=o,this.name="McpError"}static fromError(e,t,o){if(e===D.UrlElicitationRequired&&o){let i=o;if(i.elicitations)return new qa(i.elicitations,t)}return new R(e,t,o)}}class qa extends R{constructor(e,t=`URL elicitation${e.length>1?"s":""} required`){super(D.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}}
|
|
59
|
-
export{nn,na,kc,r,zo,ts,q,Pt,H,Pc,a,y,n,Re,k,Rt,l,c,$o,nr,Rc,fr,Lr,Cc,Ct,Ic,It,D,$n,Mt,or,rs,ns,oa,ia,os,Mc,is,ss,ir,jo,as,cs,ls,us,ps,ds,Oc,sa,aa,ca,la,ua,pa,da,ma,ha,Ot,Wo,Ho,Lc,qo,fa,ga,Dr,jn,ya,gr,ba,wa,R};
|