@qitqode/qitqode-android-arm64 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/{chunk-ga6wc979.js → chunk-03zpnwk2.js} +1 -1
- package/bundle/{chunk-qdvnscxm.js → chunk-0a4pmkc9.js} +1 -1
- package/bundle/chunk-0aqdzyar.js +2 -0
- package/bundle/{chunk-drnj1a14.js → chunk-0egrckx0.js} +1 -1
- package/bundle/{chunk-aqcpk2vg.js → chunk-0eh3yc6e.js} +1 -1
- package/bundle/{chunk-14d301ze.js → chunk-0mh600tv.js} +1 -1
- package/bundle/{chunk-yd94wz5v.js → chunk-0s4cp6q2.js} +1 -1
- package/bundle/{chunk-368jx5dp.js → chunk-0tcggtwv.js} +1 -1
- package/bundle/{chunk-0qpqd7nz.js → chunk-0tm6589k.js} +2 -2
- package/bundle/{chunk-0gsw04hw.js → chunk-0w19vmd7.js} +2 -2
- package/bundle/{chunk-j6xmgn63.js → chunk-0z1keh2w.js} +1 -1
- package/bundle/{chunk-djqxbnwc.js → chunk-13jq2ygc.js} +1 -1
- package/bundle/{chunk-znmbfx70.js → chunk-1a6q1f5n.js} +1 -1
- package/bundle/{chunk-w43kmnm9.js → chunk-1acn5me8.js} +357 -357
- package/bundle/{chunk-aa2n02qk.js → chunk-1bxfzd6r.js} +2 -2
- package/bundle/{chunk-hrtze4c5.js → chunk-1har4t9a.js} +1 -1
- package/bundle/{chunk-33jcxsbe.js → chunk-1p9s5jj1.js} +1 -1
- package/bundle/{chunk-p40z6510.js → chunk-1v0khv7p.js} +1 -1
- package/bundle/{chunk-eeq0krp7.js → chunk-27saej0r.js} +2 -2
- package/bundle/{chunk-ppy0jy6j.js → chunk-29gwtcey.js} +1 -1
- package/bundle/{chunk-yjqww6ag.js → chunk-29q89bge.js} +2 -2
- package/bundle/chunk-2a5gjgvp.js +2 -0
- package/bundle/{chunk-bn71wqqf.js → chunk-2caaqmec.js} +1 -1
- package/bundle/{chunk-hhk2sp5n.js → chunk-2kh0tg92.js} +1 -1
- package/bundle/{chunk-bd505nsd.js → chunk-2nheahmq.js} +1 -1
- package/bundle/{chunk-42q8vj0w.js → chunk-2phyc1c0.js} +1 -1
- package/bundle/chunk-2pkfphgb.js +2 -0
- package/bundle/{chunk-4fy08jcj.js → chunk-2vaphpz0.js} +1 -1
- package/bundle/{chunk-qbrj9wzd.js → chunk-30wp95w1.js} +1 -1
- package/bundle/chunk-32fpqd0n.js +2 -0
- package/bundle/{chunk-yxttz5z5.js → chunk-35fj1sfm.js} +1 -1
- package/bundle/{chunk-1vpx7szf.js → chunk-3bb4aqh9.js} +1 -1
- package/bundle/chunk-3f2cjzb4.js +2 -0
- package/bundle/chunk-3qvap1kv.js +2 -0
- package/bundle/{chunk-c8prg3jx.js → chunk-3va85mbe.js} +2 -2
- package/bundle/{chunk-wvb17w0z.js → chunk-3z2zn8rj.js} +1 -1
- package/bundle/{chunk-84pjdenq.js → chunk-42hvspe7.js} +1 -1
- package/bundle/chunk-452tk6v3.js +2 -0
- package/bundle/{chunk-w3zhy5vq.js → chunk-48gap82w.js} +1 -1
- package/bundle/{chunk-4ftjx7ss.js → chunk-4gqb1hps.js} +1 -1
- package/bundle/{chunk-gww0skmn.js → chunk-4pmvxnkj.js} +1 -1
- package/bundle/chunk-4y9wbfd2.js +8 -0
- package/bundle/chunk-50qgz5ka.js +2 -0
- package/bundle/{chunk-4zhrg3rv.js → chunk-52xvhxek.js} +1 -1
- package/bundle/chunk-539cw9r0.js +2 -0
- package/bundle/{chunk-nfzpegqx.js → chunk-53jstmdp.js} +1 -1
- package/bundle/{chunk-8hmt3avx.js → chunk-56wq8cqj.js} +1 -1
- package/bundle/{chunk-mbbxedsq.js → chunk-59csnjc3.js} +2 -2
- package/bundle/chunk-5b0xyq5z.js +2 -0
- package/bundle/{chunk-0ggvqmnm.js → chunk-5bv63rqj.js} +1 -1
- package/bundle/{chunk-vfb72vdy.js → chunk-5cw8235e.js} +1 -1
- package/bundle/chunk-5j4nxpdy.js +2 -0
- package/bundle/chunk-5nxgk6hw.js +2 -0
- package/bundle/chunk-5qkvhr6y.js +2 -0
- package/bundle/{chunk-5zh91zk2.js → chunk-5r7c6vvx.js} +1 -1
- package/bundle/{chunk-c6cajbyj.js → chunk-5wx962mw.js} +1 -1
- package/bundle/{chunk-7sq5dyv1.js → chunk-5xkp27b1.js} +1 -1
- package/bundle/chunk-6dpdkzrk.js +2 -0
- package/bundle/chunk-6p6m5956.js +3 -0
- package/bundle/{chunk-n4qxj391.js → chunk-6ps30qax.js} +1 -1
- package/bundle/{chunk-kmzpeq8k.js → chunk-6tqbnxar.js} +1 -1
- package/bundle/{chunk-b6eypnbj.js → chunk-6vnqbejg.js} +1 -1
- package/bundle/{chunk-ghap1n1m.js → chunk-702bt91p.js} +4 -4
- package/bundle/{chunk-2c26kxp4.js → chunk-705qkpra.js} +1 -1
- package/bundle/{chunk-2pex3ak9.js → chunk-72crs18f.js} +1 -1
- package/bundle/chunk-76c400ze.js +2 -0
- package/bundle/{chunk-mghnkwp8.js → chunk-7adsab4h.js} +1 -1
- package/bundle/{chunk-n0g4983e.js → chunk-7bxxc4a3.js} +1 -1
- package/bundle/chunk-7g59hc61.js +2 -0
- package/bundle/{chunk-52rdms56.js → chunk-7jy53zqy.js} +1 -1
- package/bundle/chunk-7p88j56s.js +2 -0
- package/bundle/{chunk-5b3v1x2c.js → chunk-7pckez5z.js} +2 -2
- package/bundle/{chunk-q6p92zyn.js → chunk-7r92d7v9.js} +1 -1
- package/bundle/{chunk-t4b2fm7z.js → chunk-7thhd7ds.js} +1 -1
- package/bundle/chunk-7trngc9g.js +2 -0
- package/bundle/{chunk-4fvbexr8.js → chunk-85wh85pk.js} +1 -1
- package/bundle/chunk-8cebbmtf.js +2 -0
- package/bundle/chunk-8j1xcdmd.js +2 -0
- package/bundle/{chunk-ntpn0w9m.js → chunk-8jmb5bd4.js} +2 -2
- package/bundle/{chunk-pf3nqf00.js → chunk-8ysp6vf8.js} +1 -1
- package/bundle/{chunk-3k7016c2.js → chunk-8yzghzjq.js} +1 -1
- package/bundle/chunk-90r2z49k.js +2 -0
- package/bundle/{chunk-amp6mvbp.js → chunk-92r1gw2j.js} +1 -1
- package/bundle/{chunk-ktp2b4t4.js → chunk-94mjwy22.js} +1 -1
- package/bundle/{chunk-y5q9v80n.js → chunk-9bw6bx5c.js} +1 -1
- package/bundle/{chunk-f84hw65n.js → chunk-9cf2ktyh.js} +1 -1
- package/bundle/{chunk-x55h5qdc.js → chunk-a1z8rnq7.js} +3 -3
- package/bundle/{chunk-c3szabpf.js → chunk-a48mx917.js} +2 -2
- package/bundle/{chunk-prbxhnza.js → chunk-a8bjcvda.js} +1 -1
- package/bundle/chunk-aenrd7dk.js +2 -0
- package/bundle/{chunk-dw70wds9.js → chunk-afr8m0q1.js} +1 -1
- package/bundle/{chunk-7p6mxch0.js → chunk-ag8wxwwz.js} +1 -1
- package/bundle/{chunk-22qetqnp.js → chunk-ahmy80vb.js} +1 -1
- package/bundle/chunk-avn12jkt.js +2 -0
- package/bundle/{chunk-tc9xbn1t.js → chunk-ax64ngf2.js} +1 -1
- package/bundle/{chunk-0crgymtr.js → chunk-az3nss5m.js} +2 -2
- package/bundle/{chunk-73xryfgn.js → chunk-b5ym419d.js} +2 -2
- package/bundle/{chunk-dt1wwt7m.js → chunk-b7sr9rn3.js} +1 -1
- package/bundle/{chunk-9qzwmt76.js → chunk-bc2krtaf.js} +1 -1
- package/bundle/{chunk-jxkrhrp0.js → chunk-bhg69t69.js} +1 -1
- package/bundle/{chunk-ns8xnkjb.js → chunk-bkfafcbw.js} +1 -1
- package/bundle/{chunk-tkzctbxq.js → chunk-bnw744ej.js} +2 -2
- package/bundle/{chunk-twvmjsxf.js → chunk-bpfq8fz4.js} +1 -1
- package/bundle/chunk-brk6bge4.js +3 -0
- package/bundle/{chunk-s06t769q.js → chunk-bwadggys.js} +1 -1
- package/bundle/{chunk-spzd8rev.js → chunk-c76cjhn0.js} +1 -1
- package/bundle/{chunk-abv0fskc.js → chunk-c987bemn.js} +1 -1
- package/bundle/{chunk-705xnxbc.js → chunk-ccf4pgkr.js} +1 -1
- package/bundle/chunk-ce5e7j62.js +2 -0
- package/bundle/{chunk-2bjfz4fb.js → chunk-cf9m9m9q.js} +1 -1
- package/bundle/{chunk-z7kswv9r.js → chunk-cfwz1hgr.js} +3 -3
- package/bundle/{chunk-dgva3y5v.js → chunk-cghz0855.js} +1 -1
- package/bundle/{chunk-a76w2jwm.js → chunk-cr5tknvb.js} +1 -1
- package/bundle/chunk-cw1gwjx9.js +2 -0
- package/bundle/chunk-czw30fjs.js +2 -0
- package/bundle/{chunk-x80d0zh7.js → chunk-d30k7dpf.js} +1 -1
- package/bundle/{chunk-x9fyt3vx.js → chunk-d839fr0w.js} +1 -1
- package/bundle/{chunk-q87fw8dk.js → chunk-dcv6wj9x.js} +1 -1
- package/bundle/{chunk-4byvnx78.js → chunk-dgcannw0.js} +1 -1
- package/bundle/{chunk-4rpgwgx9.js → chunk-dhvx9p54.js} +1 -1
- package/bundle/{chunk-z744mz4w.js → chunk-dt3bsmfe.js} +2 -2
- package/bundle/chunk-dtcvqrmn.js +2 -0
- package/bundle/chunk-dwhsvpag.js +2 -0
- package/bundle/{chunk-4j76bf4j.js → chunk-dwkrqtbc.js} +1 -1
- package/bundle/{chunk-vzrc2fmt.js → chunk-dwqvcdmf.js} +1 -1
- package/bundle/chunk-e0hfpdje.js +2 -0
- package/bundle/{chunk-ajp53ksp.js → chunk-e0hha3be.js} +1 -1
- package/bundle/{chunk-f2pv705d.js → chunk-e0vrxetq.js} +1 -1
- package/bundle/{chunk-59kk0mce.js → chunk-e2wfj86b.js} +1 -1
- package/bundle/chunk-e5jk67xh.js +2 -0
- package/bundle/{chunk-ae7b11np.js → chunk-eacpc64g.js} +2 -2
- package/bundle/{chunk-hqjc4wgg.js → chunk-eewe7tx1.js} +2 -2
- package/bundle/{chunk-etv6c77a.js → chunk-eg1m81ax.js} +1 -1
- package/bundle/chunk-eg4pq4hv.js +2 -0
- package/bundle/{chunk-9xxnwb33.js → chunk-ejhhrece.js} +3 -3
- package/bundle/chunk-ew3yz97p.js +2 -0
- package/bundle/{chunk-19pspc1p.js → chunk-f2v4g7t1.js} +1 -1
- package/bundle/chunk-f2yfyhh8.js +2 -0
- package/bundle/{chunk-vp3yf46q.js → chunk-fa8pwdwv.js} +1 -1
- package/bundle/{chunk-vhzx5bxd.js → chunk-fd8x2nb4.js} +1 -1
- package/bundle/{chunk-dz3bec8g.js → chunk-fej5x648.js} +1 -1
- package/bundle/{chunk-0tqmm8b8.js → chunk-fh3d0wce.js} +1 -1
- package/bundle/{chunk-twd6r7nf.js → chunk-fjftb2sz.js} +1 -1
- package/bundle/{chunk-xhh70g8j.js → chunk-fs1vb39f.js} +2 -2
- package/bundle/{chunk-9g9katgy.js → chunk-ftvvm4r5.js} +2 -2
- package/bundle/chunk-fv5mrdyc.js +5 -0
- package/bundle/{chunk-gdew7bwm.js → chunk-fveaq0pb.js} +1 -1
- package/bundle/{chunk-ptwex14s.js → chunk-fw1f47de.js} +1 -1
- package/bundle/{chunk-y2t5pmqw.js → chunk-g26redah.js} +1 -1
- package/bundle/{chunk-acd72413.js → chunk-g3n465ee.js} +1 -1
- package/bundle/{chunk-hfefq104.js → chunk-g4tyaj0m.js} +1 -1
- package/bundle/{chunk-a610qd3x.js → chunk-g6y2c5az.js} +1 -1
- package/bundle/{chunk-tezrgfc6.js → chunk-g7v6sp3c.js} +2 -2
- package/bundle/{chunk-4bewbvvr.js → chunk-g878zd6e.js} +1 -1
- package/bundle/{chunk-na1wr2qf.js → chunk-g9nwqwqp.js} +1 -1
- package/bundle/chunk-gbvm6dpv.js +2 -0
- package/bundle/{chunk-xcxqt8ag.js → chunk-ggncq8w8.js} +1 -1
- package/bundle/chunk-gkbx6edf.js +2 -0
- package/bundle/{chunk-skxg3s8z.js → chunk-gq9hb2e8.js} +1 -1
- package/bundle/{chunk-gwrnxcdn.js → chunk-gsg6zn7e.js} +1 -1
- package/bundle/{chunk-v3nmnm57.js → chunk-gswhjd1h.js} +2 -2
- package/bundle/{chunk-4jpab7ag.js → chunk-gznt3dv8.js} +1 -1
- package/bundle/{chunk-defj5zs6.js → chunk-h1bvqstw.js} +1 -1
- package/bundle/chunk-h5w91zr4.js +2 -0
- package/bundle/{chunk-qp3hxqg5.js → chunk-h8mfbbjh.js} +1 -1
- package/bundle/chunk-hmpb3c21.js +2 -0
- package/bundle/chunk-hq7s4f75.js +2 -0
- package/bundle/{chunk-6gqs1k7m.js → chunk-hz02vrqs.js} +1 -1
- package/bundle/{chunk-3xdmxm5t.js → chunk-j10a984e.js} +1 -1
- package/bundle/chunk-j1h64m65.js +2 -0
- package/bundle/chunk-j32rr7rt.js +2 -0
- package/bundle/chunk-j871xzr7.js +2 -0
- package/bundle/{chunk-kfj37631.js → chunk-jmmtcr2r.js} +1 -1
- package/bundle/{chunk-h7658zxy.js → chunk-jpn9zfj5.js} +1 -1
- package/bundle/{chunk-wgt1tqw9.js → chunk-jqj1ay7x.js} +1 -1
- package/bundle/{chunk-e4g4mvak.js → chunk-jr80q31w.js} +1 -1
- package/bundle/{chunk-9a6p1gdn.js → chunk-k1qd8ecm.js} +7 -7
- package/bundle/{chunk-8jvfqh3b.js → chunk-k3m7jfdh.js} +1 -1
- package/bundle/{chunk-gbxf6e5d.js → chunk-k6981ysw.js} +3 -3
- package/bundle/{chunk-k6zwfstj.js → chunk-kckr30tf.js} +1 -1
- package/bundle/{chunk-8rfqv5he.js → chunk-kgv68cpb.js} +1 -1
- package/bundle/{chunk-55way0em.js → chunk-kveztc6k.js} +1 -1
- package/bundle/chunk-kx88qekb.js +2 -0
- package/bundle/chunk-m4g4djss.js +2 -0
- package/bundle/{chunk-nbckdba0.js → chunk-m4r8sepw.js} +1 -1
- package/bundle/{chunk-6ychs4wx.js → chunk-m7tmgvh6.js} +1 -1
- package/bundle/{chunk-npzx3yd5.js → chunk-maa21rh9.js} +1 -1
- package/bundle/{chunk-egkhynj5.js → chunk-makegrxs.js} +1 -1
- package/bundle/{chunk-438faz6b.js → chunk-mr17tppa.js} +1 -1
- package/bundle/{chunk-4ngmjk8j.js → chunk-mrq35ftw.js} +1 -1
- package/bundle/{chunk-9aafddkw.js → chunk-mt2by7rx.js} +1 -1
- package/bundle/{chunk-yzpc5kj2.js → chunk-mv7q6ach.js} +1 -1
- package/bundle/chunk-mwkms65j.js +3 -0
- package/bundle/chunk-n61e0znt.js +2 -0
- package/bundle/{chunk-kry4vcrf.js → chunk-n6tqtk6h.js} +2 -2
- package/bundle/{chunk-k3g28tbw.js → chunk-nas631g2.js} +1 -1
- package/bundle/chunk-ndd4cn3z.js +2 -0
- package/bundle/{chunk-dd4qnh8s.js → chunk-nsp1za8t.js} +1 -1
- package/bundle/chunk-nsw5x43k.js +2 -0
- package/bundle/{chunk-bk7f59fn.js → chunk-ntr0ezf2.js} +1 -1
- package/bundle/{chunk-cth373se.js → chunk-p2fte9vz.js} +2 -2
- package/bundle/chunk-p5b5ekhh.js +2 -0
- package/bundle/chunk-pf23nw4z.js +2 -0
- package/bundle/{chunk-whw18cn9.js → chunk-phf37x1c.js} +1 -1
- package/bundle/{chunk-r73e8gsp.js → chunk-phpxxd48.js} +1 -1
- package/bundle/{chunk-1ay97v74.js → chunk-pqg1wjb5.js} +1 -1
- package/bundle/chunk-pw3cv89g.js +2 -0
- package/bundle/{chunk-0am156m5.js → chunk-qbnt4ynd.js} +1 -1
- package/bundle/{chunk-mjrqhbp2.js → chunk-qgek59e6.js} +1 -1
- package/bundle/{chunk-v9w88wpy.js → chunk-qgkb6n8k.js} +1 -1
- package/bundle/{chunk-2c41dncf.js → chunk-qk1jkc0n.js} +1 -1
- package/bundle/{chunk-wb1d3mqw.js → chunk-qk5vy2pr.js} +1 -1
- package/bundle/{chunk-r4kg0z96.js → chunk-qsme16gk.js} +1 -1
- package/bundle/{chunk-d1tb1jd0.js → chunk-qwmae3vk.js} +1 -1
- package/bundle/chunk-rdk62809.js +2 -0
- package/bundle/{chunk-5r05d901.js → chunk-rdreeyv0.js} +2 -2
- package/bundle/chunk-rew6r516.js +2 -0
- package/bundle/{chunk-0bgssfvq.js → chunk-rjcz4kbm.js} +1 -1
- package/bundle/chunk-rmsqb6r4.js +10 -0
- package/bundle/{chunk-qph2c2v7.js → chunk-rva2ekrt.js} +1 -1
- package/bundle/{chunk-7z96r2px.js → chunk-rwnwjm82.js} +1 -1
- package/bundle/{chunk-ts2k13g0.js → chunk-rwwvy89t.js} +1 -1
- package/bundle/{chunk-tz3s8dvy.js → chunk-rye1yjnr.js} +1 -1
- package/bundle/{chunk-t9qyzzsz.js → chunk-ryrxgn6d.js} +1 -1
- package/bundle/{chunk-wjz42325.js → chunk-s2tc3qs0.js} +2 -2
- package/bundle/{chunk-p847g35y.js → chunk-s5aefff0.js} +1 -1
- package/bundle/{chunk-msh249db.js → chunk-sa0rrreh.js} +2 -2
- package/bundle/{chunk-dbpkq7ba.js → chunk-sbjymf20.js} +2 -2
- package/bundle/{chunk-n5p7cn4w.js → chunk-scnbt714.js} +1 -1
- package/bundle/chunk-skgr9ypq.js +2 -0
- package/bundle/{chunk-rhrcgvb8.js → chunk-sm1g81cv.js} +1 -1
- package/bundle/chunk-sv40pwe2.js +2 -0
- package/bundle/{chunk-qprbef09.js → chunk-sy9w1t2y.js} +1 -1
- package/bundle/{chunk-bd84t3fb.js → chunk-sz0favtz.js} +1 -1
- package/bundle/{chunk-xb3sxa6f.js → chunk-t18ka1e7.js} +1 -1
- package/bundle/{chunk-va2qfh0x.js → chunk-t3w43rft.js} +1 -1
- package/bundle/{chunk-n9twhc5d.js → chunk-t6zz47zk.js} +1 -1
- package/bundle/{chunk-wd8hbven.js → chunk-t8fjgkp8.js} +1 -1
- package/bundle/chunk-tax3ecy5.js +2 -0
- package/bundle/{chunk-6r48fje7.js → chunk-tbx741en.js} +1 -1
- package/bundle/chunk-tfhpjmny.js +2 -0
- package/bundle/{chunk-2cjfezfr.js → chunk-tk4z6r09.js} +1 -1
- package/bundle/chunk-tnete6ye.js +2 -0
- package/bundle/{chunk-2y87m7pe.js → chunk-tpyq7ycb.js} +1 -1
- package/bundle/chunk-tr0rm1ka.js +2 -0
- package/bundle/{chunk-nftbj8g9.js → chunk-trstb8ee.js} +1 -1
- package/bundle/{chunk-77h8tytk.js → chunk-ty14zznd.js} +1 -1
- package/bundle/chunk-v5h5wxw5.js +2 -0
- package/bundle/chunk-v6141yq1.js +2 -0
- package/bundle/{chunk-vjn54xj5.js → chunk-vbfej8ds.js} +2 -2
- package/bundle/{chunk-5nhwqg7c.js → chunk-vd8cmdpv.js} +1 -1
- package/bundle/{chunk-76h0f86f.js → chunk-vgt3artc.js} +1 -1
- package/bundle/chunk-vjs69r6x.js +2 -0
- package/bundle/{chunk-yy7r3t3w.js → chunk-vkkz40je.js} +1 -1
- package/bundle/chunk-vmhar83s.js +2 -0
- package/bundle/{chunk-zp5sr5nx.js → chunk-vph4w4yy.js} +1 -1
- package/bundle/chunk-vpjyk76v.js +2 -0
- package/bundle/chunk-vqvnw12p.js +2 -0
- package/bundle/{chunk-0g0jpw0z.js → chunk-vr8nwzp0.js} +1 -1
- package/bundle/{chunk-nrk29616.js → chunk-vs3s49jw.js} +1 -1
- package/bundle/{chunk-v0c3k797.js → chunk-vsqvnxbz.js} +1 -1
- package/bundle/{chunk-rqedtjz9.js → chunk-w0nc0gcx.js} +1 -1
- package/bundle/chunk-w0sztk4y.js +2 -0
- package/bundle/chunk-w6bb320d.js +2 -0
- package/bundle/{chunk-t8sy5sgx.js → chunk-w7a33cwa.js} +2 -2
- package/bundle/{chunk-agqss9ga.js → chunk-wb47k8ah.js} +2 -2
- package/bundle/{chunk-rfzra502.js → chunk-wd8f9r4k.js} +1 -1
- package/bundle/{chunk-hwsqqkrv.js → chunk-wgkcyqn1.js} +2 -2
- package/bundle/{chunk-dy2k5rdx.js → chunk-wm9nh9nb.js} +2 -2
- package/bundle/{chunk-6nxebcf8.js → chunk-wn63q3xp.js} +1 -1
- package/bundle/{chunk-z6kcnpsj.js → chunk-wqk1v8t0.js} +2 -2
- package/bundle/chunk-wqw6yjrg.js +2 -0
- package/bundle/{chunk-q3pt4p9f.js → chunk-wr6rnxr5.js} +1 -1
- package/bundle/chunk-ws08rxge.js +2 -0
- package/bundle/{chunk-dw7yrk1g.js → chunk-wtt5wms9.js} +1 -1
- package/bundle/{chunk-93pmbdz7.js → chunk-wtxh5m6j.js} +6 -6
- package/bundle/{chunk-q6mcnq9p.js → chunk-wwvek9zf.js} +1 -1
- package/bundle/chunk-wz3dvc3g.js +2 -0
- package/bundle/chunk-x2pmqvdc.js +2 -0
- package/bundle/chunk-x4wfq39v.js +2 -0
- package/bundle/chunk-x7a3kqe5.js +2 -0
- package/bundle/chunk-xb22grz6.js +2 -0
- package/bundle/{chunk-3623jvcm.js → chunk-xy8arehp.js} +1 -1
- package/bundle/{chunk-16srrzjr.js → chunk-y31f8k5f.js} +1 -1
- package/bundle/chunk-y3eeva80.js +2 -0
- package/bundle/{chunk-mhxyv9c8.js → chunk-y3gy62q5.js} +1 -1
- package/bundle/chunk-yb6m08zj.js +2 -0
- package/bundle/{chunk-b79z8f94.js → chunk-ybcqkgs7.js} +1 -1
- package/bundle/{chunk-95am490c.js → chunk-ydgst3h8.js} +2 -2
- package/bundle/{chunk-twfvrafb.js → chunk-ykpj10nz.js} +1 -1
- package/bundle/{chunk-e0zb6sw6.js → chunk-ynf17943.js} +1 -1
- package/bundle/{chunk-01e3v1xz.js → chunk-z0kbyr00.js} +2 -2
- package/bundle/{chunk-4vzjdmts.js → chunk-zfrftgcy.js} +1 -1
- package/bundle/chunk-zj1jc1xt.js +2 -0
- package/bundle/{chunk-9sv53kb4.js → chunk-zm0m0504.js} +1 -1
- package/bundle/chunk-zq32jhj1.js +2 -0
- package/bundle/{chunk-gdj7mqrd.js → chunk-zqdjk4rf.js} +1 -1
- package/bundle/{chunk-7x2q1w0f.js → chunk-zsg29gba.js} +1 -1
- package/bundle/{chunk-1c0yp2gv.js → chunk-zwhmg9dj.js} +1 -1
- package/bundle/chunk-zxwjxszn.js +2 -0
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-0dzpjk7x.js +0 -2
- package/bundle/chunk-12fwmmcp.js +0 -2
- package/bundle/chunk-1a95ysv3.js +0 -2
- package/bundle/chunk-1akh8pk2.js +0 -2
- package/bundle/chunk-2d2a92kj.js +0 -2
- package/bundle/chunk-2qrvkef8.js +0 -2
- package/bundle/chunk-2tppw8j9.js +0 -2
- package/bundle/chunk-3ft1dn9j.js +0 -2
- package/bundle/chunk-3rgct4bd.js +0 -11
- package/bundle/chunk-4656qm05.js +0 -2
- package/bundle/chunk-46knch5z.js +0 -2
- package/bundle/chunk-4sgy87h5.js +0 -2
- package/bundle/chunk-54hktc8h.js +0 -2
- package/bundle/chunk-59m55866.js +0 -2
- package/bundle/chunk-5js5nw7r.js +0 -2
- package/bundle/chunk-61jn7908.js +0 -2
- package/bundle/chunk-61txdqz1.js +0 -2
- package/bundle/chunk-668g9wkg.js +0 -2
- package/bundle/chunk-6frhjpmt.js +0 -2
- package/bundle/chunk-6k14c8x1.js +0 -5
- package/bundle/chunk-6r1jpj0h.js +0 -2
- package/bundle/chunk-73fn4dqd.js +0 -2
- package/bundle/chunk-78j2c2je.js +0 -2
- package/bundle/chunk-78jt24ht.js +0 -2
- package/bundle/chunk-7j2vpavd.js +0 -2
- package/bundle/chunk-7nkxgm72.js +0 -2
- package/bundle/chunk-859pkecc.js +0 -2
- package/bundle/chunk-8p249svd.js +0 -2
- package/bundle/chunk-8rqbx4jw.js +0 -2
- package/bundle/chunk-8s3krfsm.js +0 -2
- package/bundle/chunk-9wbe0dkx.js +0 -2
- package/bundle/chunk-aj5z8qd5.js +0 -2
- package/bundle/chunk-b0c2mvc0.js +0 -2
- package/bundle/chunk-bbwcsdy9.js +0 -2
- package/bundle/chunk-bbzjdbb9.js +0 -2
- package/bundle/chunk-bh4s1yct.js +0 -2
- package/bundle/chunk-crqcppwq.js +0 -2
- package/bundle/chunk-d09zpgj1.js +0 -2
- package/bundle/chunk-dexcptaz.js +0 -3
- package/bundle/chunk-dgqkak21.js +0 -2
- package/bundle/chunk-dhgvh7c3.js +0 -2
- package/bundle/chunk-dmd101ja.js +0 -2
- package/bundle/chunk-dwb39jdf.js +0 -2
- package/bundle/chunk-dx4zxex7.js +0 -2
- package/bundle/chunk-e2pqvscp.js +0 -2
- package/bundle/chunk-efe6kj3d.js +0 -2
- package/bundle/chunk-emac0dss.js +0 -2
- package/bundle/chunk-encfnt6w.js +0 -2
- package/bundle/chunk-fg2nyz2x.js +0 -2
- package/bundle/chunk-ge19ff9d.js +0 -2
- package/bundle/chunk-gt0q07xq.js +0 -2
- package/bundle/chunk-h4dnjfr2.js +0 -2
- package/bundle/chunk-h8fx619t.js +0 -2
- package/bundle/chunk-jnvb3s7f.js +0 -2
- package/bundle/chunk-jrq2xw6e.js +0 -2
- package/bundle/chunk-jwckmhjm.js +0 -2
- package/bundle/chunk-jz27ypm5.js +0 -2
- package/bundle/chunk-jzrs878d.js +0 -2
- package/bundle/chunk-jzx700tb.js +0 -2
- package/bundle/chunk-k1x8469r.js +0 -3
- package/bundle/chunk-m483jvn8.js +0 -2
- package/bundle/chunk-makecdh6.js +0 -8
- package/bundle/chunk-menbcmkq.js +0 -2
- package/bundle/chunk-np8h66t0.js +0 -2
- package/bundle/chunk-nwwmns3w.js +0 -2
- package/bundle/chunk-pe5dpzec.js +0 -2
- package/bundle/chunk-q8f6a074.js +0 -2
- package/bundle/chunk-qqaevt32.js +0 -2
- package/bundle/chunk-qzpvz708.js +0 -2
- package/bundle/chunk-reyjr2e0.js +0 -2
- package/bundle/chunk-t178njgb.js +0 -2
- package/bundle/chunk-tjpev5t6.js +0 -2
- package/bundle/chunk-tzq7wjgv.js +0 -3
- package/bundle/chunk-v1s16wwd.js +0 -2
- package/bundle/chunk-v6b29nx4.js +0 -2
- package/bundle/chunk-v6rgd1j5.js +0 -2
- package/bundle/chunk-v9dnetq8.js +0 -2
- package/bundle/chunk-vd5mpvcc.js +0 -2
- package/bundle/chunk-wwct4z7j.js +0 -2
- package/bundle/chunk-xr9wz961.js +0 -2
- package/bundle/chunk-zfegnt1e.js +0 -2
- package/bundle/chunk-zg7kesbp.js +0 -2
- package/bundle/chunk-zy06fe4r.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{UP as k}from"./chunk-f2pv705d.js";var GY={};k(GY,{pipeArguments:()=>o,Prototype:()=>$M,Mixin:()=>fp,Class:()=>G5});var o=(X,Q)=>{switch(Q.length){case 0:return X;case 1:return Q[0](X);case 2:return Q[1](Q[0](X));case 3:return Q[2](Q[1](Q[0](X)));case 4:return Q[3](Q[2](Q[1](Q[0](X))));case 5:return Q[4](Q[3](Q[2](Q[1](Q[0](X)))));case 6:return Q[5](Q[4](Q[3](Q[2](Q[1](Q[0](X))))));case 7:return Q[6](Q[5](Q[4](Q[3](Q[2](Q[1](Q[0](X)))))));case 8:return Q[7](Q[6](Q[5](Q[4](Q[3](Q[2](Q[1](Q[0](X))))))));case 9:return Q[8](Q[7](Q[6](Q[5](Q[4](Q[3](Q[2](Q[1](Q[0](X)))))))));default:{let Y=X;for(let G=0,J=Q.length;G<J;G++)Y=Q[G](Y);return Y}}},$M={pipe(){return o(this,arguments)}},G5=function(){function X(){}return X.prototype=$M,X}(),fp=(X)=>class extends X{pipe(){return o(this,arguments)}};var H_={};k(H_,{untupled:()=>ap,tupled:()=>rp,satisfies:()=>op,pipe:()=>U6,memoize:()=>b1,identity:()=>C,hole:()=>sp,flow:()=>QX,flip:()=>ip,dual:()=>W,constant:()=>I0,constVoid:()=>y8,constUndefined:()=>D6,constTrue:()=>r1,constNull:()=>qG,constFalse:()=>U7,compose:()=>np,cast:()=>ZM,apply:()=>lp,absurd:()=>HM,SK:()=>tp});var W=function(X,Q){if(typeof X==="function")return function(){return X(arguments)?Q.apply(this,arguments):(Y)=>Q(Y,...arguments)};switch(X){case 0:case 1:throw RangeError(`Invalid arity ${X}`);case 2:return function(Y,G){if(arguments.length>=2)return Q(Y,G);return function(J){return Q(J,Y)}};case 3:return function(Y,G,J){if(arguments.length>=3)return Q(Y,G,J);return function($){return Q($,Y,G)}};default:return function(){if(arguments.length>=X)return Q.apply(this,arguments);let Y=arguments;return function(G){return Q(G,...Y)}}}},lp=(X)=>(Q)=>Q(X),C=(X)=>X,op=()=>(X)=>X,ZM=C,I0=(X)=>()=>X,r1=I0(!0),U7=I0(!1),qG=I0(null),D6=I0(void 0),y8=D6,ip=(X)=>(...Q)=>(...Y)=>X(...Y)(...Q),np=W(2,(X,Q)=>(Y)=>Q(X(Y))),HM=(X)=>{throw Error("Called `absurd` function which should be uncallable")},rp=(X)=>(Q)=>X(...Q),ap=(X)=>(...Q)=>X(Q);function U6(X,...Q){return o(X,Q)}function QX(X,Q,Y,G,J,$,Z,H,K){switch(arguments.length){case 1:return X;case 2:return function(){return Q(X.apply(this,arguments))};case 3:return function(){return Y(Q(X.apply(this,arguments)))};case 4:return function(){return G(Y(Q(X.apply(this,arguments))))};case 5:return function(){return J(G(Y(Q(X.apply(this,arguments)))))};case 6:return function(){return $(J(G(Y(Q(X.apply(this,arguments))))))};case 7:return function(){return Z($(J(G(Y(Q(X.apply(this,arguments)))))))};case 8:return function(){return H(Z($(J(G(Y(Q(X.apply(this,arguments))))))))};case 9:return function(){return K(H(Z($(J(G(Y(Q(X.apply(this,arguments)))))))))}}return}var sp=ZM(HM),tp=(X,Q)=>Q;function b1(X){let Q=new WeakMap;return(Y)=>{if(Q.has(Y))return Q.get(Y);let G=X(Y);return Q.set(Y,G),G}}var s0={};k(s0,{xor:()=>Nc,some:()=>Mc,or:()=>Oc,not:()=>qc,nor:()=>Lc,nand:()=>wc,mapInput:()=>ep,isUnknown:()=>wZ,isUndefined:()=>B_,isUint8Array:()=>Wc,isTupleOfAtLeast:()=>W_,isTupleOf:()=>K_,isTruthy:()=>Xc,isTagged:()=>P1,isSymbol:()=>JY,isString:()=>b8,isSet:()=>Qc,isRegExp:()=>D_,isReadonlyObject:()=>Hc,isPropertyKey:()=>zG,isPromiseLike:()=>Vc,isPromise:()=>Bc,isObjectOrArray:()=>Zc,isObjectKeyword:()=>AZ,isObject:()=>h1,isNumber:()=>M9,isNullish:()=>$c,isNull:()=>Gc,isNotUndefined:()=>M1,isNotNullish:()=>NG,isNotNull:()=>Jc,isNever:()=>V_,isMap:()=>Yc,isIterable:()=>T9,isFunction:()=>g1,isError:()=>Kc,isDate:()=>__,isBoolean:()=>P9,isBigInt:()=>OG,implies:()=>Fc,hasProperty:()=>P,every:()=>Ac,eqv:()=>Rc,compose:()=>_c,and:()=>zc,Tuple:()=>Dc,Struct:()=>Uc});var ep=W(2,(X,Q)=>(Y)=>X(Q(Y))),K_=W(2,(X,Q)=>X.length===Q),W_=W(2,(X,Q)=>X.length>=Q);function Xc(X){return!!X}function Qc(X){return X instanceof Set}function Yc(X){return X instanceof Map}function b8(X){return typeof X==="string"}function M9(X){return typeof X==="number"}function P9(X){return typeof X==="boolean"}function OG(X){return typeof X==="bigint"}function JY(X){return typeof X==="symbol"}function zG(X){return b8(X)||M9(X)||JY(X)}function g1(X){return typeof X==="function"}function B_(X){return X===void 0}function M1(X){return X!==void 0}function Gc(X){return X===null}function Jc(X){return X!==null}function $c(X){return X===null||X===void 0}function NG(X){return X!=null}function V_(X){return!1}function wZ(X){return!0}function Zc(X){return typeof X==="object"&&X!==null}function h1(X){return typeof X==="object"&&X!==null&&!Array.isArray(X)}function Hc(X){return h1(X)}function AZ(X){return typeof X==="object"&&X!==null||g1(X)}var P=W(2,(X,Q)=>AZ(X)&&(Q in X)),P1=W(2,(X,Q)=>P(X,"_tag")&&X._tag===Q);function Kc(X){return X instanceof Error}function Wc(X){return X instanceof Uint8Array}function __(X){return X instanceof Date}function T9(X){return P(X,Symbol.iterator)||b8(X)}function Bc(X){return P(X,"then")&&"catch"in X&&g1(X.then)&&g1(X.catch)}function Vc(X){return P(X,"then")&&g1(X.then)}function D_(X){return X instanceof RegExp}var _c=W(2,(X,Q)=>(Y)=>X(Y)&&Q(Y));function Dc(X){return(Q)=>{for(let Y=0;Y<X.length;Y++)if(X[Y](Q[Y])===!1)return!1;return!0}}function Uc(X){let Q=Object.keys(X);return(Y)=>{for(let G of Q)if(!X[G](Y[G]))return!1;return!0}}function qc(X){return(Q)=>!X(Q)}var Oc=W(2,(X,Q)=>(Y)=>X(Y)||Q(Y)),zc=W(2,(X,Q)=>(Y)=>X(Y)&&Q(Y)),Nc=W(2,(X,Q)=>(Y)=>X(Y)!==Q(Y)),Rc=W(2,(X,Q)=>(Y)=>X(Y)===Q(Y)),Fc=W(2,(X,Q)=>(Y)=>X(Y)?Q(Y):!0),Lc=W(2,(X,Q)=>(Y)=>!(X(Y)||Q(Y))),wc=W(2,(X,Q)=>(Y)=>!(X(Y)&&Q(Y)));function Ac(X){return(Q)=>{for(let Y of X)if(!Y(Q))return!1;return!0}}function Mc(X){return(Q)=>{for(let Y of X)if(Y(Q))return!0;return!1}}var g8={};k(g8,{symbol:()=>L0,structureKeys:()=>MZ,structure:()=>PZ,string:()=>Y1,random:()=>FG,optimize:()=>LG,number:()=>I9,isHash:()=>KM,hash:()=>H0,combine:()=>t0,array:()=>S6});var RG=(X)=>{let Q=new Set(Reflect.ownKeys(X));if(X.constructor===Object)return Q;if(X instanceof Error)Q.delete("stack");let Y=Object.getPrototypeOf(X),G=Y;while(G!==null&&G!==Object.prototype){let J=Reflect.ownKeys(G);for(let $=0;$<J.length;$++)Q.add(J[$]);G=Object.getPrototypeOf(G)}if(Q.has("constructor")&&typeof X.constructor==="function"&&Y===X.constructor.prototype)Q.delete("constructor");return Q},$Y=new WeakSet;var L0="~effect/interfaces/Hash",H0=(X)=>{switch(typeof X){case"number":return I9(X);case"bigint":return Y1(X.toString(10));case"boolean":return Y1(String(X));case"symbol":return Y1(String(X));case"string":return Y1(X);case"undefined":return Y1("undefined");case"function":case"object":if(X===null)return Y1("null");else if(X instanceof Date)return Y1(X.toISOString());else if(X instanceof RegExp)return Y1(X.toString());else{if($Y.has(X))return FG(X);if(q_.has(X))return q_.get(X);let Q=Ic(X,()=>{if(KM(X))return X[L0]();else if(typeof X==="function")return FG(X);else if(Array.isArray(X)||ArrayBuffer.isView(X))return S6(X);else if(X instanceof Map)return Pc(X);else if(X instanceof Set)return Tc(X);return PZ(X)});return q_.set(X,Q),Q}default:throw Error(`BUG: unhandled typeof ${typeof X} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},FG=(X)=>{if(!U_.has(X))U_.set(X,I9(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER)));return U_.get(X)},t0=W(2,(X,Q)=>X*53^Q),LG=(X)=>X&3221225471|X>>>1&1073741824,KM=(X)=>P(X,L0),I9=(X)=>{if(X!==X)return Y1("NaN");if(X===1/0)return Y1("Infinity");if(X===-1/0)return Y1("-Infinity");let Q=X|0;if(Q!==X)Q^=X*4294967295;while(X>4294967295)Q^=X/=4294967295;return LG(Q)},Y1=(X)=>{let Q=5381,Y=X.length;while(Y)Q=Q*33^X.charCodeAt(--Y);return LG(Q)},MZ=(X,Q)=>{let Y=12289;for(let G of Q)Y^=t0(H0(G),H0(X[G]));return LG(Y)},PZ=(X)=>MZ(X,RG(X)),z_=(X,Q)=>(Y)=>{let G=X;for(let J of Y)G^=Q(J);return LG(G)},S6=z_(6151,H0),Pc=z_(Y1("Map"),([X,Q])=>t0(H0(X),H0(Q))),Tc=z_(Y1("Set"),H0),U_=new WeakMap,q_=new WeakMap,O_=new WeakSet;function Ic(X,Q){if(O_.has(X))return Y1("[Circular]");O_.add(X);let Y=Q();return O_.delete(X),Y}var G1={};k(G1,{symbol:()=>w0,makeCompareSet:()=>AG,makeCompareMap:()=>wG,isEqual:()=>F_,equals:()=>Q0,byReferenceUnsafe:()=>IZ,byReference:()=>bc,asEquivalence:()=>Z8});var w0="~effect/interfaces/Equal";function Q0(){if(arguments.length===1)return(X)=>q7(X,arguments[0]);return q7(arguments[0],arguments[1])}function q7(X,Q){if(X===Q)return!0;if(X==null||Q==null)return!1;let Y=typeof X;if(Y!==typeof Q)return!1;if(Y==="number"&&X!==X&&Q!==Q)return!0;if(Y!=="object"&&Y!=="function")return!1;if($Y.has(X)||$Y.has(Q))return!1;return Ec(X,Q,jc)}function Cc(X,Q,Y){let G=N_.has(X),J=R_.has(Q);if(G&&J)return!0;if(G||J)return!1;N_.add(X),R_.add(Q);let $=Y();return N_.delete(X),R_.delete(Q),$}var N_=new WeakSet,R_=new WeakSet;function jc(X,Q){if(H0(X)!==H0(Q))return!1;else if(X instanceof Date){if(!(Q instanceof Date))return!1;return X.toISOString()===Q.toISOString()}else if(X instanceof RegExp){if(!(Q instanceof RegExp))return!1;return X.toString()===Q.toString()}let Y=F_(X),G=F_(Q);if(Y!==G)return!1;let J=Y&&G;if(typeof X==="function"&&!J)return!1;return Cc(X,Q,()=>{if(J)return X[w0](Q);else if(Array.isArray(X)){if(!Array.isArray(Q)||X.length!==Q.length)return!1;return Sc(X,Q)}else if(ArrayBuffer.isView(X)){if(!ArrayBuffer.isView(Q)||X.byteLength!==Q.byteLength)return!1;return xc(X,Q)}else if(X instanceof Map){if(!(Q instanceof Map)||X.size!==Q.size)return!1;return kc(X,Q)}else if(X instanceof Set){if(!(Q instanceof Set)||X.size!==Q.size)return!1;return yc(X,Q)}return vc(X,Q)})}function Ec(X,Q,Y){let G=TZ.get(X);if(!G)G=new WeakMap,TZ.set(X,G);else if(G.has(Q))return G.get(Q);let J=Y(X,Q);G.set(Q,J);let $=TZ.get(Q);if(!$)$=new WeakMap,TZ.set(Q,$);return $.set(X,J),J}var TZ=new WeakMap;function Sc(X,Q){for(let Y=0;Y<X.length;Y++)if(!q7(X[Y],Q[Y]))return!1;return!0}function xc(X,Q){if(X.length!==Q.length)return!1;for(let Y=0;Y<X.length;Y++)if(X[Y]!==Q[Y])return!1;return!0}function vc(X,Q){let Y=RG(X),G=RG(Q);if(Y.size!==G.size)return!1;for(let J of Y)if(!G.has(J)||!q7(X[J],Q[J]))return!1;return!0}function wG(X,Q){return function(G,J){for(let[$,Z]of G){let H=!1;for(let[K,B]of J)if(X($,K)&&Q(Z,B)){H=!0;break}if(!H)return!1}return!0}}var kc=wG(q7,q7);function AG(X){return function(Y,G){for(let J of Y){let $=!1;for(let Z of G)if(X(J,Z)){$=!0;break}if(!$)return!1}return!0}}var yc=AG(q7),F_=(X)=>P(X,w0),Z8=()=>Q0,bc=(X)=>IZ(new Proxy(X,{})),IZ=(X)=>{return $Y.add(X),X};var BM={};k(BM,{symbolRedactable:()=>MG,redact:()=>G4,isRedactable:()=>WM,getRedacted:()=>CZ,currentFiberTypeId:()=>O7});var MG=Symbol.for("~effect/Redactable"),WM=(X)=>P(X,MG);function G4(X){if(WM(X))return CZ(X);return X}function CZ(X){return X[MG](globalThis[O7]?.context??gc)}var O7="~effect/Fiber/currentFiber",gc={"~effect/Context":{},mapUnsafe:new Map,pipe(){return o(this,arguments)}};var _M={};k(_M,{formatPropertyKey:()=>YX,formatPath:()=>PG,formatJson:()=>ZY,formatDate:()=>jZ,format:()=>u});function u(X,Q){let Y=Q?.space??0,G=new WeakSet,J=!Y?"":typeof Y==="number"?" ".repeat(Y):Y,$=(B)=>J.repeat(B),Z=(B,V)=>{let _=B?.constructor;return _&&_!==Object.prototype.constructor&&_.name?`${_.name}(${V})`:V},H=(B)=>{try{return Reflect.ownKeys(B)}catch{return["[ownKeys threw]"]}};function K(B,V=0){if(Array.isArray(B)){if(G.has(B))return VM;if(G.add(B),!J||B.length<=1)return`[${B.map((D)=>K(D,V)).join(",")}]`;let _=B.map((D)=>K(D,V+1)).join(`,
|
|
2
|
+
import{vO as k}from"./chunk-e0vrxetq.js";var GY={};k(GY,{pipeArguments:()=>o,Prototype:()=>$M,Mixin:()=>fp,Class:()=>G5});var o=(X,Q)=>{switch(Q.length){case 0:return X;case 1:return Q[0](X);case 2:return Q[1](Q[0](X));case 3:return Q[2](Q[1](Q[0](X)));case 4:return Q[3](Q[2](Q[1](Q[0](X))));case 5:return Q[4](Q[3](Q[2](Q[1](Q[0](X)))));case 6:return Q[5](Q[4](Q[3](Q[2](Q[1](Q[0](X))))));case 7:return Q[6](Q[5](Q[4](Q[3](Q[2](Q[1](Q[0](X)))))));case 8:return Q[7](Q[6](Q[5](Q[4](Q[3](Q[2](Q[1](Q[0](X))))))));case 9:return Q[8](Q[7](Q[6](Q[5](Q[4](Q[3](Q[2](Q[1](Q[0](X)))))))));default:{let Y=X;for(let G=0,J=Q.length;G<J;G++)Y=Q[G](Y);return Y}}},$M={pipe(){return o(this,arguments)}},G5=function(){function X(){}return X.prototype=$M,X}(),fp=(X)=>class extends X{pipe(){return o(this,arguments)}};var H_={};k(H_,{untupled:()=>ap,tupled:()=>rp,satisfies:()=>op,pipe:()=>U6,memoize:()=>b1,identity:()=>C,hole:()=>sp,flow:()=>QX,flip:()=>ip,dual:()=>W,constant:()=>I0,constVoid:()=>y8,constUndefined:()=>D6,constTrue:()=>r1,constNull:()=>qG,constFalse:()=>U7,compose:()=>np,cast:()=>ZM,apply:()=>lp,absurd:()=>HM,SK:()=>tp});var W=function(X,Q){if(typeof X==="function")return function(){return X(arguments)?Q.apply(this,arguments):(Y)=>Q(Y,...arguments)};switch(X){case 0:case 1:throw RangeError(`Invalid arity ${X}`);case 2:return function(Y,G){if(arguments.length>=2)return Q(Y,G);return function(J){return Q(J,Y)}};case 3:return function(Y,G,J){if(arguments.length>=3)return Q(Y,G,J);return function($){return Q($,Y,G)}};default:return function(){if(arguments.length>=X)return Q.apply(this,arguments);let Y=arguments;return function(G){return Q(G,...Y)}}}},lp=(X)=>(Q)=>Q(X),C=(X)=>X,op=()=>(X)=>X,ZM=C,I0=(X)=>()=>X,r1=I0(!0),U7=I0(!1),qG=I0(null),D6=I0(void 0),y8=D6,ip=(X)=>(...Q)=>(...Y)=>X(...Y)(...Q),np=W(2,(X,Q)=>(Y)=>Q(X(Y))),HM=(X)=>{throw Error("Called `absurd` function which should be uncallable")},rp=(X)=>(Q)=>X(...Q),ap=(X)=>(...Q)=>X(Q);function U6(X,...Q){return o(X,Q)}function QX(X,Q,Y,G,J,$,Z,H,K){switch(arguments.length){case 1:return X;case 2:return function(){return Q(X.apply(this,arguments))};case 3:return function(){return Y(Q(X.apply(this,arguments)))};case 4:return function(){return G(Y(Q(X.apply(this,arguments))))};case 5:return function(){return J(G(Y(Q(X.apply(this,arguments)))))};case 6:return function(){return $(J(G(Y(Q(X.apply(this,arguments))))))};case 7:return function(){return Z($(J(G(Y(Q(X.apply(this,arguments)))))))};case 8:return function(){return H(Z($(J(G(Y(Q(X.apply(this,arguments))))))))};case 9:return function(){return K(H(Z($(J(G(Y(Q(X.apply(this,arguments)))))))))}}return}var sp=ZM(HM),tp=(X,Q)=>Q;function b1(X){let Q=new WeakMap;return(Y)=>{if(Q.has(Y))return Q.get(Y);let G=X(Y);return Q.set(Y,G),G}}var s0={};k(s0,{xor:()=>Nc,some:()=>Mc,or:()=>Oc,not:()=>qc,nor:()=>Lc,nand:()=>wc,mapInput:()=>ep,isUnknown:()=>wZ,isUndefined:()=>B_,isUint8Array:()=>Wc,isTupleOfAtLeast:()=>W_,isTupleOf:()=>K_,isTruthy:()=>Xc,isTagged:()=>P1,isSymbol:()=>JY,isString:()=>b8,isSet:()=>Qc,isRegExp:()=>D_,isReadonlyObject:()=>Hc,isPropertyKey:()=>zG,isPromiseLike:()=>Vc,isPromise:()=>Bc,isObjectOrArray:()=>Zc,isObjectKeyword:()=>AZ,isObject:()=>h1,isNumber:()=>M9,isNullish:()=>$c,isNull:()=>Gc,isNotUndefined:()=>M1,isNotNullish:()=>NG,isNotNull:()=>Jc,isNever:()=>V_,isMap:()=>Yc,isIterable:()=>T9,isFunction:()=>g1,isError:()=>Kc,isDate:()=>__,isBoolean:()=>P9,isBigInt:()=>OG,implies:()=>Fc,hasProperty:()=>P,every:()=>Ac,eqv:()=>Rc,compose:()=>_c,and:()=>zc,Tuple:()=>Dc,Struct:()=>Uc});var ep=W(2,(X,Q)=>(Y)=>X(Q(Y))),K_=W(2,(X,Q)=>X.length===Q),W_=W(2,(X,Q)=>X.length>=Q);function Xc(X){return!!X}function Qc(X){return X instanceof Set}function Yc(X){return X instanceof Map}function b8(X){return typeof X==="string"}function M9(X){return typeof X==="number"}function P9(X){return typeof X==="boolean"}function OG(X){return typeof X==="bigint"}function JY(X){return typeof X==="symbol"}function zG(X){return b8(X)||M9(X)||JY(X)}function g1(X){return typeof X==="function"}function B_(X){return X===void 0}function M1(X){return X!==void 0}function Gc(X){return X===null}function Jc(X){return X!==null}function $c(X){return X===null||X===void 0}function NG(X){return X!=null}function V_(X){return!1}function wZ(X){return!0}function Zc(X){return typeof X==="object"&&X!==null}function h1(X){return typeof X==="object"&&X!==null&&!Array.isArray(X)}function Hc(X){return h1(X)}function AZ(X){return typeof X==="object"&&X!==null||g1(X)}var P=W(2,(X,Q)=>AZ(X)&&(Q in X)),P1=W(2,(X,Q)=>P(X,"_tag")&&X._tag===Q);function Kc(X){return X instanceof Error}function Wc(X){return X instanceof Uint8Array}function __(X){return X instanceof Date}function T9(X){return P(X,Symbol.iterator)||b8(X)}function Bc(X){return P(X,"then")&&"catch"in X&&g1(X.then)&&g1(X.catch)}function Vc(X){return P(X,"then")&&g1(X.then)}function D_(X){return X instanceof RegExp}var _c=W(2,(X,Q)=>(Y)=>X(Y)&&Q(Y));function Dc(X){return(Q)=>{for(let Y=0;Y<X.length;Y++)if(X[Y](Q[Y])===!1)return!1;return!0}}function Uc(X){let Q=Object.keys(X);return(Y)=>{for(let G of Q)if(!X[G](Y[G]))return!1;return!0}}function qc(X){return(Q)=>!X(Q)}var Oc=W(2,(X,Q)=>(Y)=>X(Y)||Q(Y)),zc=W(2,(X,Q)=>(Y)=>X(Y)&&Q(Y)),Nc=W(2,(X,Q)=>(Y)=>X(Y)!==Q(Y)),Rc=W(2,(X,Q)=>(Y)=>X(Y)===Q(Y)),Fc=W(2,(X,Q)=>(Y)=>X(Y)?Q(Y):!0),Lc=W(2,(X,Q)=>(Y)=>!(X(Y)||Q(Y))),wc=W(2,(X,Q)=>(Y)=>!(X(Y)&&Q(Y)));function Ac(X){return(Q)=>{for(let Y of X)if(!Y(Q))return!1;return!0}}function Mc(X){return(Q)=>{for(let Y of X)if(Y(Q))return!0;return!1}}var g8={};k(g8,{symbol:()=>L0,structureKeys:()=>MZ,structure:()=>PZ,string:()=>Y1,random:()=>FG,optimize:()=>LG,number:()=>I9,isHash:()=>KM,hash:()=>H0,combine:()=>t0,array:()=>S6});var RG=(X)=>{let Q=new Set(Reflect.ownKeys(X));if(X.constructor===Object)return Q;if(X instanceof Error)Q.delete("stack");let Y=Object.getPrototypeOf(X),G=Y;while(G!==null&&G!==Object.prototype){let J=Reflect.ownKeys(G);for(let $=0;$<J.length;$++)Q.add(J[$]);G=Object.getPrototypeOf(G)}if(Q.has("constructor")&&typeof X.constructor==="function"&&Y===X.constructor.prototype)Q.delete("constructor");return Q},$Y=new WeakSet;var L0="~effect/interfaces/Hash",H0=(X)=>{switch(typeof X){case"number":return I9(X);case"bigint":return Y1(X.toString(10));case"boolean":return Y1(String(X));case"symbol":return Y1(String(X));case"string":return Y1(X);case"undefined":return Y1("undefined");case"function":case"object":if(X===null)return Y1("null");else if(X instanceof Date)return Y1(X.toISOString());else if(X instanceof RegExp)return Y1(X.toString());else{if($Y.has(X))return FG(X);if(q_.has(X))return q_.get(X);let Q=Ic(X,()=>{if(KM(X))return X[L0]();else if(typeof X==="function")return FG(X);else if(Array.isArray(X)||ArrayBuffer.isView(X))return S6(X);else if(X instanceof Map)return Pc(X);else if(X instanceof Set)return Tc(X);return PZ(X)});return q_.set(X,Q),Q}default:throw Error(`BUG: unhandled typeof ${typeof X} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},FG=(X)=>{if(!U_.has(X))U_.set(X,I9(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER)));return U_.get(X)},t0=W(2,(X,Q)=>X*53^Q),LG=(X)=>X&3221225471|X>>>1&1073741824,KM=(X)=>P(X,L0),I9=(X)=>{if(X!==X)return Y1("NaN");if(X===1/0)return Y1("Infinity");if(X===-1/0)return Y1("-Infinity");let Q=X|0;if(Q!==X)Q^=X*4294967295;while(X>4294967295)Q^=X/=4294967295;return LG(Q)},Y1=(X)=>{let Q=5381,Y=X.length;while(Y)Q=Q*33^X.charCodeAt(--Y);return LG(Q)},MZ=(X,Q)=>{let Y=12289;for(let G of Q)Y^=t0(H0(G),H0(X[G]));return LG(Y)},PZ=(X)=>MZ(X,RG(X)),z_=(X,Q)=>(Y)=>{let G=X;for(let J of Y)G^=Q(J);return LG(G)},S6=z_(6151,H0),Pc=z_(Y1("Map"),([X,Q])=>t0(H0(X),H0(Q))),Tc=z_(Y1("Set"),H0),U_=new WeakMap,q_=new WeakMap,O_=new WeakSet;function Ic(X,Q){if(O_.has(X))return Y1("[Circular]");O_.add(X);let Y=Q();return O_.delete(X),Y}var G1={};k(G1,{symbol:()=>w0,makeCompareSet:()=>AG,makeCompareMap:()=>wG,isEqual:()=>F_,equals:()=>Q0,byReferenceUnsafe:()=>IZ,byReference:()=>bc,asEquivalence:()=>Z8});var w0="~effect/interfaces/Equal";function Q0(){if(arguments.length===1)return(X)=>q7(X,arguments[0]);return q7(arguments[0],arguments[1])}function q7(X,Q){if(X===Q)return!0;if(X==null||Q==null)return!1;let Y=typeof X;if(Y!==typeof Q)return!1;if(Y==="number"&&X!==X&&Q!==Q)return!0;if(Y!=="object"&&Y!=="function")return!1;if($Y.has(X)||$Y.has(Q))return!1;return Ec(X,Q,jc)}function Cc(X,Q,Y){let G=N_.has(X),J=R_.has(Q);if(G&&J)return!0;if(G||J)return!1;N_.add(X),R_.add(Q);let $=Y();return N_.delete(X),R_.delete(Q),$}var N_=new WeakSet,R_=new WeakSet;function jc(X,Q){if(H0(X)!==H0(Q))return!1;else if(X instanceof Date){if(!(Q instanceof Date))return!1;return X.toISOString()===Q.toISOString()}else if(X instanceof RegExp){if(!(Q instanceof RegExp))return!1;return X.toString()===Q.toString()}let Y=F_(X),G=F_(Q);if(Y!==G)return!1;let J=Y&&G;if(typeof X==="function"&&!J)return!1;return Cc(X,Q,()=>{if(J)return X[w0](Q);else if(Array.isArray(X)){if(!Array.isArray(Q)||X.length!==Q.length)return!1;return Sc(X,Q)}else if(ArrayBuffer.isView(X)){if(!ArrayBuffer.isView(Q)||X.byteLength!==Q.byteLength)return!1;return xc(X,Q)}else if(X instanceof Map){if(!(Q instanceof Map)||X.size!==Q.size)return!1;return kc(X,Q)}else if(X instanceof Set){if(!(Q instanceof Set)||X.size!==Q.size)return!1;return yc(X,Q)}return vc(X,Q)})}function Ec(X,Q,Y){let G=TZ.get(X);if(!G)G=new WeakMap,TZ.set(X,G);else if(G.has(Q))return G.get(Q);let J=Y(X,Q);G.set(Q,J);let $=TZ.get(Q);if(!$)$=new WeakMap,TZ.set(Q,$);return $.set(X,J),J}var TZ=new WeakMap;function Sc(X,Q){for(let Y=0;Y<X.length;Y++)if(!q7(X[Y],Q[Y]))return!1;return!0}function xc(X,Q){if(X.length!==Q.length)return!1;for(let Y=0;Y<X.length;Y++)if(X[Y]!==Q[Y])return!1;return!0}function vc(X,Q){let Y=RG(X),G=RG(Q);if(Y.size!==G.size)return!1;for(let J of Y)if(!G.has(J)||!q7(X[J],Q[J]))return!1;return!0}function wG(X,Q){return function(G,J){for(let[$,Z]of G){let H=!1;for(let[K,B]of J)if(X($,K)&&Q(Z,B)){H=!0;break}if(!H)return!1}return!0}}var kc=wG(q7,q7);function AG(X){return function(Y,G){for(let J of Y){let $=!1;for(let Z of G)if(X(J,Z)){$=!0;break}if(!$)return!1}return!0}}var yc=AG(q7),F_=(X)=>P(X,w0),Z8=()=>Q0,bc=(X)=>IZ(new Proxy(X,{})),IZ=(X)=>{return $Y.add(X),X};var BM={};k(BM,{symbolRedactable:()=>MG,redact:()=>G4,isRedactable:()=>WM,getRedacted:()=>CZ,currentFiberTypeId:()=>O7});var MG=Symbol.for("~effect/Redactable"),WM=(X)=>P(X,MG);function G4(X){if(WM(X))return CZ(X);return X}function CZ(X){return X[MG](globalThis[O7]?.context??gc)}var O7="~effect/Fiber/currentFiber",gc={"~effect/Context":{},mapUnsafe:new Map,pipe(){return o(this,arguments)}};var _M={};k(_M,{formatPropertyKey:()=>YX,formatPath:()=>PG,formatJson:()=>ZY,formatDate:()=>jZ,format:()=>u});function u(X,Q){let Y=Q?.space??0,G=new WeakSet,J=!Y?"":typeof Y==="number"?" ".repeat(Y):Y,$=(B)=>J.repeat(B),Z=(B,V)=>{let _=B?.constructor;return _&&_!==Object.prototype.constructor&&_.name?`${_.name}(${V})`:V},H=(B)=>{try{return Reflect.ownKeys(B)}catch{return["[ownKeys threw]"]}};function K(B,V=0){if(Array.isArray(B)){if(G.has(B))return VM;if(G.add(B),!J||B.length<=1)return`[${B.map((D)=>K(D,V)).join(",")}]`;let _=B.map((D)=>K(D,V+1)).join(`,
|
|
3
3
|
`+$(V+1));return`[
|
|
4
4
|
${$(V+1)}${_}
|
|
5
5
|
${$(V)}]`}if(B instanceof Date)return jZ(B);if(!Q?.ignoreToString&&P(B,"toString")&&typeof B.toString==="function"&&B.toString!==Object.prototype.toString&&B.toString!==Array.prototype.toString){let _=hc(B);if(B instanceof Error&&B.cause)return`${_} (cause: ${K(B.cause,V)})`;return _}if(typeof B==="string")return JSON.stringify(B);if(typeof B==="number"||B==null||typeof B==="boolean"||typeof B==="symbol")return String(B);if(typeof B==="bigint")return String(B)+"n";if(typeof B==="object"||typeof B==="function"){if(G.has(B))return VM;if(G.add(B),MG in B)return u(CZ(B));if(Symbol.iterator in B)return`${B.constructor.name}(${K(Array.from(B),V)})`;let _=H(B);if(!J||_.length<=1){let U=`{${_.map((z)=>`${YX(z)}:${K(B[z],V)}`).join(",")}}`;return Z(B,U)}let D=`{
|
|
@@ -74,4 +74,4 @@ ${CH0(J)}`;return $}function xh(X){return pw(X,y1)}async function vh(X){let Q=[]
|
|
|
74
74
|
`),J=J.replace(/\\r/g,"\r");Q[G]=J}return Q}function bz0(X){let Q={};for(let Y in X)Q[Y]=zp(X[Y],X).replace(/\\\$/g,"$");return Q}function zp(X,Q){let Y=gz0(X,/(?!(?<=\\))\$/g);if(Y===-1)return X;let G=X.slice(Y),J=/((?!(?<=\\))\${?([\w]+)(?::-([^}\\]*))?}?)/,$=G.match(J);if($!==null){let[Z,H,K,B]=$;return zp(X.replace(H,B||Q[K]||""),Q)}return X}function gz0(X,Q){let Y=Array.from(X.matchAll(Q));return Y.length>0?Y.slice(-1)[0].index:-1}var hz0=Z0(function*(X){let Y=yield*(yield*oX).readFileString(X?.path??".env");return Q_({env:Op(Y)})}),mz0=Z0(function*(X){let Q=yield*T$,Y=yield*oX,G=X?.rootPath??"/";return QY((J)=>{let $=Q.join(G,...J.map(String)),Z=Y.readFileString($).pipe(E((K)=>DG(K.trim()))),H=Y.readDirectory($).pipe(E((K)=>{let B=K.map((V)=>typeof V==="string"?Q.basename(V):u(V?.name??""));return X_(new Set(B))}));return Z.pipe(M4(()=>H),X3((K)=>new eA({message:`Failed to read file at ${Q.join(G,...J.map(String))}`,cause:K})))})});var Fp={};k(Fp,{values:()=>QM,isLessThanOrEqualTo:()=>fz0,isLessThan:()=>uz0,isGreaterThanOrEqualTo:()=>cz0,isGreaterThan:()=>Rp,isEnabled:()=>lz0,getOrdinal:()=>pz0,Order:()=>Y_,Equivalence:()=>dz0});var QM=["All","Fatal","Error","Warn","Info","Debug","Trace","None"],Y_=eU,dz0=TG(),pz0=(X)=>tU(X),Rp=uH,cz0=O6(Y_),uz0=a8(Y_),fz0=q6(Y_),lz0=(X)=>n((Q)=>T(!Rp(Q.getRef(qq),X)));var VN0={};k(VN0,{withDefault:()=>Mp,url:()=>KN0,unwrap:()=>Pp,succeed:()=>vp,string:()=>sz0,schema:()=>E6,redacted:()=>HN0,port:()=>$N0,orElse:()=>Ap,option:()=>rz0,number:()=>ez0,nonEmptyString:()=>tz0,nested:()=>BN0,mapOrFail:()=>iz0,map:()=>wp,make:()=>w9,logLevel:()=>ZN0,literal:()=>YN0,isConfig:()=>Lp,int:()=>QN0,finite:()=>XN0,fail:()=>xp,duration:()=>JN0,date:()=>WN0,boolean:()=>GN0,all:()=>nz0,TrueValues:()=>Tp,Record:()=>az0,Port:()=>Ep,LogLevel:()=>Sp,FalseValues:()=>Ip,Duration:()=>jp,ConfigError:()=>J_,Boolean:()=>Cp});var YM="~effect/Config",Lp=(X)=>P(X,YM);class J_{_tag="ConfigError";name="ConfigError";cause;constructor(X){this.cause=X}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}var oz0={...z8,...ZX,[YM]:YM,asEffect(){return R(XY.asEffect(),(X)=>this.parse(X))},toJSON(){return{_id:"Config"}}};function w9(X){let Q=Object.create(oz0);return Q.parse=X,Q}var wp=W(2,(X,Q)=>{return w9((Y)=>E(X.parse(Y),Q))}),iz0=W(2,(X,Q)=>{return w9((Y)=>R(X.parse(Y),Q))}),Ap=W(2,(X,Q)=>{return w9((Y)=>M4(X.parse(Y),(G)=>Q(G).parse(Y)))});function nz0(X){let Q=Array.isArray(X)?X:(Symbol.iterator in X)?[...X]:X;if(Array.isArray(Q))return w9((Y)=>aJ(Q.map((G)=>G.parse(Y))));else return w9((Y)=>aJ(VX(Q,(G)=>G.parse(Y))))}function G_(X){switch(X._tag){case"MissingKey":return!0;case"InvalidType":case"InvalidValue":return d(X.actual)||$0(X.actual)&&X.actual.value===void 0;case"OneOf":return X.actual===void 0;case"Encoding":return d(X.actual)||$0(X.actual)&&X.actual.value===void 0?!0:G_(X.issue);case"Pointer":case"Filter":return G_(X.issue);case"UnexpectedKey":return!1;case"Forbidden":return!1;case"Composite":case"AnyOf":return X.issues.every(G_)}}var Mp=W(2,(X,Q)=>{return Ap(X,(Y)=>{if(mA(Y.cause)){let G=Y.cause.issue;if(G_(G))return vp(Q)}return xp(Y.cause)})}),rz0=(X)=>X.pipe(wp(q),Mp(w())),Pp=(X)=>{if(Lp(X))return X;return w9((Q)=>{let G=Object.entries(X).map(([J,$])=>Pp($).parse(Q).pipe(E((Z)=>[J,Z])));return aJ(G).pipe(E(Object.fromEntries))})},GM=Z0(function*(X,Q){let Y=yield*X.load(Q);if(Y===void 0)return;switch(Y._tag){case"Value":return Y.value;case"Record":{if(Y.value!==void 0)return Y.value;let G={};for(let J of Y.keys){let $=yield*GM(X,[...Q,J]);if($!==void 0)G[J]=$}return G}case"Array":{if(Y.value!==void 0)return Y.value;let G=[];for(let J=0;J<Y.length;J++)G.push(yield*GM(X,[...Q,J]));return G}}}),LZ=Z0(function*(X,Q,Y){switch(X._tag){case"Objects":{let G={};for(let J of X.propertySignatures){let $=J.name;if(typeof $==="string"){let Z=yield*LZ(J.type,Q,[...Y,$]);if(Z!==void 0)G[$]=Z}}if(X.indexSignatures.length>0){let J=yield*Q.load(Y);if(J&&J._tag==="Record")for(let $ of X.indexSignatures){let Z=Y7($.parameter);for(let H of J.keys)if(!Object.hasOwn(G,H)&&Z(H)){let K=yield*LZ($.type,Q,[...Y,H]);if(K!==void 0)G[H]=K}}}return G}case"Arrays":{let G=yield*Q.load(Y);if(G&&G._tag==="Value")return G.value;let J=[];for(let $=0;$<X.elements.length;$++)J.push(yield*LZ(X.elements[$],Q,[...Y,$]));return J}case"Union":return yield*GM(Q,Y);case"Suspend":return yield*LZ(X.thunk(),Q,Y);default:{let G=yield*Q.load(Y);if(G===void 0)return;if(G._tag==="Value")return G.value;if(G._tag==="Record"&&G.value!==void 0)return G.value;if(G._tag==="Array"&&G.value!==void 0)return G.value;return}}});function E6(X,Q){let Y=eV(X),G=U1(Y),J=Y8(Y.ast),$=typeof Q==="string"?[Q]:Q??[];return w9((Z)=>{let H=Z.prefix?[...Z.prefix,...$]:$;return LZ(J,Z,$).pipe(o8((K)=>G(K).pipe(l8((B)=>new N9(H.length>0?new j0(H,B):B)))),l8((K)=>new J_(K)))})}var Tp=D7(["true","yes","on","1","y"]),Ip=D7(["false","no","off","0","n"]),Cp=D7([...Tp.literals,...Ip.literals]).pipe(X0(pV,Z1({decode:(X)=>X==="true"||X==="yes"||X==="on"||X==="1"||X==="y",encode:(X)=>X?"true":"false"}))),jp=W0.pipe(X0(RZ,{decode:E8((X)=>{let Q=gD(X);return t8(Q,{onNone:()=>I(new P0(q(X))),onSome:O})}),encode:D2(()=>"Encoding Duration is not supported")})),Ep=FZ.check(NZ({minimum:1,maximum:65535})),Sp=D7(QM),az0=(X,Q,Y)=>{let G=VZ(X,Q),J=W0.pipe(X0(VZ(W0,W0),sz(Y)),X0(G));return i1([G,J])};function xp(X){return w9(()=>I(new J_(X)))}function vp(X){return w9(()=>O(X))}function sz0(X){return E6(W0,X)}function tz0(X){return E6(iA,X)}function ez0(X){return E6(e9,X)}function XN0(X){return E6(_G,X)}function QN0(X){return E6(FZ,X)}function YN0(X,Q){return E6(J8(X),Q)}function GN0(X){return E6(Cp,X)}function JN0(X){return E6(jp,X)}function $N0(X){return E6(Ep,X)}function ZN0(X){return E6(Sp,X)}function HN0(X){return E6(oV(W0),X)}function KN0(X){return E6(nV,X)}function WN0(X){return E6(rV,X)}var BN0=W(2,(X,Q)=>w9((Y)=>X.parse(XM(Y,Q))));var CN0={};k(CN0,{withLeveledConsole:()=>qN0,withConsoleLog:()=>$_,withConsoleError:()=>UN0,tracerLogger:()=>PN0,toFile:()=>IN0,map:()=>bp,make:()=>NN0,layer:()=>TN0,isLogger:()=>kp,formatStructured:()=>JM,formatSimple:()=>FN0,formatLogFmt:()=>mp,formatJson:()=>dp,defaultLogger:()=>RN0,consoleStructured:()=>AN0,consolePretty:()=>LN0,consoleLogFmt:()=>wN0,consoleJson:()=>MN0,batched:()=>pp,LogToStderr:()=>DN0,CurrentLoggers:()=>yp});var _N0="~effect/Logger",kp=(X)=>P(X,_N0),yp=M5,DN0=oY,bp=W(2,(X,Q)=>F6((Y)=>Q(X.log(Y)))),$_=(X)=>F6((Q)=>{return Q.fiber.getRef(u7).log(X.log(Q))}),UN0=(X)=>F6((Q)=>{return Q.fiber.getRef(u7).error(X.log(Q))}),qN0=(X)=>F6((Q)=>{let Y=Q.fiber.getRef(u7),G=X.log(Q);switch(Q.logLevel){case"Debug":return Y.debug(G);case"Info":return Y.info(G);case"Trace":return Y.trace(G);case"Warn":return Y.warn(G);case"Error":case"Fatal":return Y.error(G);default:return Y.log(G)}}),ON0=/^[^\s"=]*$/,zN0=(X)=>`"${X.replace(/\\([\s\S])|(")/g,"\\$1$2")}"`,gp=(X)=>`#${X}`,hp=(X,Q)=>({cause:Y,date:G,fiber:J,logLevel:$,message:Z})=>{let H=(N)=>N.match(ON0)?N:X(N),K=(N,L)=>`${Xq(N)}=${H(L)}`,B=(N,L)=>" "+K(N,L),V=K("timestamp",G.toISOString());V+=B("level",$),V+=B("fiber",gp(J.id));let _=MY(Z);for(let N=0;N<_.length;N++)V+=B("message",u(_[N],{space:Q}));if(Y.reasons.length>0)V+=B("cause",OX(Y));let D=G.getTime(),U=J.getRef(rY);for(let N of U)V+=" "+FJ(N,D);let z=J.getRef(nY);for(let[N,L]of Object.entries(z))V+=B(N,u(L,{space:Q}));return V},NN0=F6,RN0=Qq,FN0=F6(hp(zN0)),mp=F6(hp(JSON.stringify,0)),JM=F6(({cause:X,date:Q,fiber:Y,logLevel:G,message:J})=>{let $={},Z={},H=Y.getRef(nY);for(let[_,D]of Object.entries(H))$[_]=iY(D);let K=Q.getTime(),B=Y.getRef(rY);for(let[_,D]of B)Z[_]=K-D;let V=MY(J);return{message:V.length===1?iY(V[0]):V.map(iY),level:G.toUpperCase(),timestamp:Q.toISOString(),cause:X.reasons.length>0?OX(X):void 0,annotations:$,spans:Z,fiberId:gp(Y.id)}}),dp=bp(JM,ZY),pp=W(2,(X,Q)=>g(d7,(Y)=>{let G=[],J=f(()=>{if(G.length===0)return U0;let $=G;return G=[],Q.flush($)});return g6(($)=>$(wX(Q.window).pipe(t1(J),cY)).pipe(yH,g((Z)=>O4(Y,()=>gY(Z))),t1(A5(()=>J)),F8(F6((Z)=>{G.push(X.log(Z))}))))})),LN0=kC,wN0=$_(mp),AN0=$_(JM),MN0=$_(dp),PN0=Yq,TN0=(X,Q)=>G9(yp,n(DJ(function*(Y){let G=new Set(Q?.mergeWithExisting===!0?Y.getRef(M5):[]);for(let J of X)G.add(Y0(J)?yield*J:J);return G}))),IN0=W((X)=>kp(X[0]),(X,Q,Y)=>LH(function*(){let J=yield*(yield*oX).open(Q,{flag:"a+",...Y}),$=new TextEncoder;return yield*pp(X,{window:Y?.batchWindow??1000,flush:(Z)=>jH(J.write($.encode(Z.join(`
|
|
75
75
|
`)+`
|
|
76
76
|
`)))})}));
|
|
77
|
-
export{o as
|
|
77
|
+
export{o as Cz,GY as Dz,W as Ez,C as Fz,ZM as Gz,I0 as Hz,r1 as Iz,U7 as Jz,D6 as Kz,y8 as Lz,np as Mz,HM as Nz,U6 as Oz,QX as Pz,sp as Qz,H_ as Rz,b8 as Sz,M9 as Tz,P9 as Uz,OG as Vz,JY as Wz,B_ as Xz,M1 as Yz,Gc as Zz,Jc as _z,h1 as $z,P as aA,__ as bA,Oc as cA,s0 as dA,L0 as eA,H0 as fA,t0 as gA,I9 as hA,Y1 as iA,PZ as jA,S6 as kA,g8 as lA,w0 as mA,Q0 as nA,G1 as oA,MG as pA,G4 as qA,BM as rA,u as sA,YX as tA,_M as uA,q1 as vA,T1 as wA,L_ as xA,mc as yA,UM as zA,qM as AA,cc as BA,z8 as CA,ZX as DA,Y0 as EA,v_ as FA,q0 as GA,a1 as HA,n as IA,w_ as JA,A_ as KA,KY as LA,b0 as MA,x6 as NA,n0 as OA,TG as PA,rc as QA,P8 as RA,p4 as SA,a8 as TA,s8 as UA,q6 as VA,O6 as WA,J4 as XA,$4 as YA,GX as ZA,JX as _A,m8 as $A,w as aB,q as bB,d as cB,$0 as dB,t8 as eB,yG as fB,qu as gB,bG as hB,C9 as iB,f4 as jB,O1 as kB,I7 as lB,S0 as mB,d1 as nB,W4 as oB,RY as pB,R8 as qB,W8 as rB,u_ as sB,ru as tB,l4 as uB,l0 as vB,l_ as wB,FY as xB,tu as yB,O0 as zB,F1 as AB,S as BB,y as CB,i_ as DB,Yf as EB,lZ as FB,b as GB,M0 as HB,e8 as IB,k6 as JB,I1 as KB,Sf as LB,e_ as MB,cf as NB,YD as OB,Yl as PB,JD as QB,sM as RB,ZD as SB,cG as TB,o4 as UB,i4 as VB,VX as WB,WD as XB,BD as YB,El as ZB,bl as _B,wY as $B,oZ as aC,x as bC,MY as cC,j7 as dC,PY as eC,V1 as fC,B0 as gC,OD as hC,sZ as iC,J1 as jC,D0 as kC,j1 as lC,S7 as mC,CD as nC,mo as oC,s1 as pC,x0 as qC,x7 as rC,v7 as sC,e0 as tC,p1 as uC,c1 as vC,xP as wC,$1 as xC,Qi as yC,dD as zC,gP as AC,y6 as BC,Ai as CC,Ti as DC,di as EC,fD as FC,lD as GC,x9 as HC,oP as IC,ci as JC,y7 as KC,b7 as LC,iD as MC,nP as NC,rD as OC,F5 as PC,bY as QC,T as RC,m as SC,f as TC,BU as UC,mY as VC,U0 as WC,DJ as XC,F8 as YC,dY as ZC,ST as _C,g as $C,r as aD,L5 as bD,qU as cD,b6 as dD,qJ as eD,w5 as fD,N6 as gD,R6 as hD,RJ as iD,CI as jD,c8 as kD,xI as lD,kI as mD,p7 as nD,g6 as oD,c7 as pD,nU as qD,Q6 as rD,u7 as sD,In as tD,yC as uD,Cn as vD,LJ as wD,yn as xD,bn as yD,AJ as zD,gn as AD,f7 as BD,ln as CD,rn as DD,an as ED,Hq as FD,sn as GD,Kq as HD,v as ID,Yr as JD,Dr as KD,gC as LD,z4 as MD,h6 as ND,Q9 as OD,Bq as PD,T8 as QD,u8 as RD,l7 as SD,N4 as TD,AX as UD,P5 as VD,T5 as WD,pr as XD,o7 as YD,fC as ZD,oH as _D,nY as $D,rY as aE,or as bE,rr as cE,lC as dE,L6 as eE,tr as fE,m6 as gE,w6 as hE,Y9 as iE,B8 as jE,er as kE,V8 as lE,d0 as mE,Xa as nE,I5 as oE,j5 as pE,aY as qE,r7 as rE,tC as sE,CJ as tE,A6 as uE,i7 as vE,Ja as wE,G9 as xE,Lq as yE,$a as zE,Nq as AE,aH as BE,sY as CE,Ka as DE,b9 as EE,Aq as FE,tH as GE,Mq as HE,g9 as IE,tY as JE,eY as KE,Tq as LE,sa as ME,XK as NE,Q2 as OE,qE as PE,zE as QE,K0 as RE,w4 as SE,At as TE,e7 as UE,MK as VE,It as WE,cJ as XE,Z2 as YE,uJ as ZE,_e as _E,fE as $E,VO as aF,bE as bF,d9 as cF,aJ as dF,CX as eF,M6 as fF,sJ as gF,GQ as hF,O as iF,h as jF,i as kF,p as lF,se as mF,NO as nF,$Q as oF,w8 as pF,I as qF,_1 as rF,G6 as sF,H9 as tF,RO as uF,d6 as vF,R as wF,FO as xF,p6 as yF,J6 as zF,H00 as AF,f8 as BF,E as CF,Q8 as DF,LO as EF,v5 as FF,M4 as GF,AO as HF,V00 as IF,_8 as JF,R00 as KF,X3 as LF,L00 as MF,kK as NF,aE as OF,T00 as PF,j00 as QF,x00 as RF,y00 as SF,b00 as TF,PO as UF,ZQ as VF,yK as WF,p00 as XF,u00 as YF,jO as ZF,l00 as _F,i00 as $F,K2 as aG,n00 as bG,HQ as cG,W2 as dG,c6 as eG,SO as fG,xO as gG,t00 as hG,P4 as iG,k5 as jG,hK as kG,KQ as lG,Q10 as mG,Y10 as nG,y5 as oG,kO as pG,p9 as qG,H10 as rG,u6 as sG,B10 as tG,WQ as uG,W9 as vG,jX as wG,g0 as xG,V10 as yG,U10 as zG,N10 as AG,C10 as BG,j10 as CG,S10 as DG,E1 as EG,Y3 as FG,k10 as GG,G3 as HG,b5 as IG,h10 as JG,m10 as KG,J3 as LG,gO as MG,d10 as NG,hO as OG,$3 as PG,p10 as QG,mK as RG,c10 as SG,Z0 as TG,u10 as UG,dK as VG,f10 as WG,i10 as XG,r10 as YG,t10 as ZG,X80 as _G,rJ as $G,Z80 as aH,B80 as bH,V80 as cH,B2 as dH,o8 as eH,D8 as fH,gF0 as gH,mO as hH,fK as iH,Qz as jH,Kz as kH,vF0 as lH,c9 as mH,Vz as nH,j0 as oH,vX as pH,P0 as qH,OQ as rH,zQ as sH,U8 as tH,F3 as uH,M3 as vH,nz as wH,E4 as xH,Z1 as yH,RW as zH,v4 as AH,N40 as BH,ON as CH,L2 as DH,Z6 as EH,I2 as FH,H1 as GH,Y8 as HH,c40 as IH,u40 as JH,l40 as KH,_9 as LH,kW as MH,Gx as NH,IQ as OH,QR as PH,bW as QH,r40 as RH,JR as SH,v2 as TH,Q90 as UH,J90 as VH,$90 as WH,S2 as XH,mX as YH,K90 as ZH,gX as _H,B90 as $H,O90 as aI,z90 as bI,N90 as cI,w90 as dI,ZR as eI,HR as fI,QX0 as gI,dX as hI,GX0 as iI,JX0 as jI,$X0 as kI,s3 as lI,i5 as mI,t3 as nI,I6 as oI,hW as pI,cW as qI,uW as rI,Y$ as sI,wx as tI,OR as uI,xX0 as vI,MR as wI,n8 as xI,TR as yI,K6 as zI,IR as AI,f1 as BI,n9 as CI,b2 as DI,r5 as EI,y4 as FI,$50 as GI,XB as HI,jQ as II,vR as JI,fx as KI,V0 as LI,K1 as MI,S50 as NI,VB as OI,n6 as PI,r9 as QI,vF as RI,V70 as SI,Hv as TI,Wv as UI,cF as VI,kQ as WI,HQ0 as XI,Rv as YI,U9 as ZI,fF as _I,KQ0 as $I,TB as aJ,s5 as bJ,t5 as cJ,w$ as dJ,lF as eJ,oF as fJ,iF as gJ,IB as hJ,zQ0 as iJ,wv as jJ,Iv as kJ,T0 as lJ,j as mJ,Sv as nJ,xv as oJ,bQ as pJ,u2 as qJ,q9 as rJ,yQ as sJ,gQ as tJ,mQ0 as uJ,dQ0 as vJ,pQ0 as wJ,hQ as xJ,rQ0 as yJ,t6 as zJ,M$ as AJ,gv as BJ,eF as CJ,SY0 as DJ,lv as EJ,X20 as FJ,ov as GJ,I20 as HJ,E20 as IJ,S20 as JJ,g20 as KJ,m20 as LJ,f20 as MJ,n20 as NJ,r20 as OJ,Wk as PJ,Bk as QJ,BG0 as RJ,Vk as SJ,yB as TJ,DG0 as UJ,UG0 as VJ,$L as WJ,OG0 as XJ,Dk as YJ,e5 as ZJ,oX as _J,jG0 as $J,EG0 as aK,qk as bK,xG0 as cK,Ok as dK,HL as eK,KL as fK,T$ as gK,uG0 as hK,Rk as iK,Lk as jK,KJ0 as kK,WJ0 as lK,x$ as mK,BJ0 as nK,VJ0 as oK,_J0 as pK,UJ0 as qK,qJ0 as rK,OJ0 as sK,zJ0 as tK,NJ0 as uK,RJ0 as vK,v$ as wK,FL as xK,TJ0 as yK,IJ0 as zK,CJ0 as AK,jJ0 as BK,EJ0 as CK,vJ0 as DK,kJ0 as EK,yJ0 as FK,bJ0 as GK,gJ0 as HK,hJ0 as IK,mJ0 as JK,nk as KK,cJ0 as LK,uJ0 as MK,y$ as NK,fJ0 as OK,lJ0 as PK,oJ0 as QK,PL as RK,iJ0 as SK,nJ0 as TK,rJ0 as UK,aJ0 as VK,sJ0 as WK,tJ0 as XK,eJ0 as YK,X30 as ZK,Q30 as _K,Y30 as $K,Wy as aL,oB as bL,q30 as cL,O30 as dL,_y as eL,rX as fL,p$ as gL,c$ as hL,s2 as iL,A30 as jL,ny as kL,J$0 as lL,$$0 as mL,ry as nL,Z$0 as oL,cL as pL,Ny as qL,S30 as rL,Py as sL,Cy as tL,rL as uL,hy as vL,Y5 as wL,KU0 as xL,mA as yL,Gd as zL,Jd as AL,qU0 as BL,Zd as CL,Hd as DL,mV as EL,sQ as FL,BG as GL,gU0 as HL,_6 as IL,J8 as JL,dU0 as KL,cU0 as LL,uU0 as ML,BZ as NL,dV as OL,dA as PL,pA as QL,W0 as RL,e9 as SL,pV as TL,Bd as UL,cV as VL,fU0 as WL,lU0 as XL,oU0 as YL,Q1 as ZL,VZ as _L,aU0 as $L,WG as aM,sU0 as bM,$8 as cM,tU0 as dM,i1 as eM,D7 as fM,uV as gM,Ud as hM,X0 as iM,lA as jM,tQ as kM,XX as lM,f0 as mM,Uq0 as nM,wd as oM,_Z as pM,qq0 as qM,Oq0 as rM,zq0 as sM,Rq0 as tM,Fq0 as uM,Ad as vM,Lq0 as wM,wq0 as xM,Aq0 as yM,Mq0 as zM,Pq0 as AM,Tq0 as BM,Iq0 as CM,Cq0 as DM,Md as EM,jq0 as FM,Td as GM,Eq0 as HM,Sq0 as IM,NZ as JM,xq0 as KM,lV as LM,Id as MM,yq0 as NM,bq0 as OM,gq0 as PM,hq0 as QM,mq0 as RM,dq0 as SM,Cd as TM,pq0 as UM,cq0 as VM,uq0 as WM,jd as XM,rq0 as YM,Sd as ZM,aq0 as _M,sq0 as $M,tq0 as aN,eq0 as bN,XO0 as cN,QO0 as dN,YO0 as eN,xd as fN,eQ as gN,BO0 as hN,oV as iN,yA as jN,bA as kN,md as lN,dd as mN,_O0 as nN,UO0 as oN,qO0 as pN,OO0 as qN,zO0 as rN,NO0 as sN,RO0 as tN,FO0 as uN,nV as vN,rA as wN,RZ as xN,fd as yN,TO0 as zN,ld as AN,od as BN,id as CN,nd as DN,_G as EN,FZ as FN,gA as GN,aV as HN,sV as IN,lO0 as JN,td as KN,Xp as LN,Yp as MN,$p as NN,eO0 as ON,Wp as PN,eV as QN,Nz0 as RN,Rz0 as SN,Fz0 as TN,Up as UN,Np as VN,QM as WN,pz0 as XN,Fp as YN,wp as ZN,Mp as _N,rz0 as $N,E6 as aO,az0 as bO,sz0 as cO,VN0 as dO,NN0 as eO,TN0 as fO,CN0 as gO};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Fe as Qb}from"./chunk-n4qxj391.js";import{Je as Sb}from"./chunk-twd6r7nf.js";import{Ke as Rb}from"./chunk-3xdmxm5t.js";import{Le as Nb,Me as Ob,Ne as Pb}from"./chunk-9xxnwb33.js";import{Oe as Mb}from"./chunk-qdvnscxm.js";import{Gf as Eb,Hf as Hb,If as Jb,Jf as Kb,Kf as Lb}from"./chunk-yxttz5z5.js";import"./chunk-f2pv705d.js";var x=Pb(),U=Ob(),u=Hb(),v=Jb(),L=Kb(),V=Mb(),P=Nb(),Z=Eb(),_=Qb(),M=Lb(),i=Rb(),Tb=Sb(),Ub=async(b,h,j)=>{return{operation:u.getSmithyContext(h).operation,region:await u.normalizeProvider(b.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function Vb(b){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"cognito-identity",region:b.region},propertiesExtractor:(h,j)=>({signingProperties:{config:h,context:j}})}}function e(b){return{schemeId:"smithy.api#noAuth"}}var Wb=(b)=>{let h=[];switch(b.operation){case"GetCredentialsForIdentity":{h.push(e());break}case"GetId":{h.push(e());break}default:h.push(Vb(b))}return h},Xb=(b)=>{let h=_.resolveAwsSdkSigV4Config(b);return Object.assign(h,{authSchemePreference:u.normalizeProvider(b.authSchemePreference??[])})},Yb=(b)=>{return Object.assign(b,{useDualstackEndpoint:b.useDualstackEndpoint??!1,useFipsEndpoint:b.useFipsEndpoint??!1,defaultSigningName:"cognito-identity"})},n={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Zb="3.997.14",_b={version:Zb},Q="ref",K=-1,S=!0,m="isSet",bb="PartitionResult",T="booleanEquals",X="getAttr",N="stringEquals",d={[Q]:"Endpoint"},Y={[Q]:bb},O={[Q]:"Region"},A={},o=[O],t={conditions:[[m,[d]],[m,o],["aws.partition",o,bb],[T,[{[Q]:"UseFIPS"},S]],[T,[{fn:X,argv:[Y,"supportsFIPS"]},S]],[T,[{[Q]:"UseDualStack"},S]],[T,[{fn:X,argv:[Y,"supportsDualStack"]},S]],[N,[{fn:X,argv:[Y,"name"]},"aws"]],[N,[O,"us-east-1"]],[N,[O,"us-east-2"]],[N,[O,"us-west-1"]],[N,[O,"us-west-2"]]],results:[[K],[K,"Invalid Configuration: FIPS and custom endpoint are not supported"],[K,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[d,A],["https://cognito-identity-fips.us-east-1.amazonaws.com",A],["https://cognito-identity-fips.us-east-2.amazonaws.com",A],["https://cognito-identity-fips.us-west-1.amazonaws.com",A],["https://cognito-identity-fips.us-west-2.amazonaws.com",A],["https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",A],[K,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}",A],[K,"FIPS is enabled but this partition does not support FIPS"],["https://cognito-identity.{Region}.amazonaws.com",A],["https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}",A],[K,"DualStack is enabled but this partition does not support DualStack"],["https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}",A],[K,"Invalid Configuration: Missing Region"]]},$b=2,p=1e8,sb=new Int32Array([-1,1,-1,0,17,3,1,4,p+16,2,5,p+16,3,9,6,5,7,p+15,6,8,p+14,7,p+12,p+13,4,11,10,5,p+9,p+11,5,12,p+10,6,13,p+9,8,p+4,14,9,p+5,15,10,p+6,16,11,p+7,p+8,3,p+1,18,5,p+2,p+3]),Fb=L.BinaryDecisionDiagram.from(sb,$b,t.conditions,t.results),cb=new L.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),fb=(b,h={})=>{return cb.get(b,()=>L.decideEndpoint(Fb,{endpointParams:b,logger:h.logger}))};L.customEndpointFunctions.aws=x.awsEndpointFunctions;class z extends u.ServiceException{constructor(b){super(b);Object.setPrototypeOf(this,z.prototype)}}class $ extends z{name="ExternalServiceException";$fault="client";constructor(b){super({name:"ExternalServiceException",$fault:"client",...b});Object.setPrototypeOf(this,$.prototype)}}class s extends z{name="InternalErrorException";$fault="server";constructor(b){super({name:"InternalErrorException",$fault:"server",...b});Object.setPrototypeOf(this,s.prototype)}}class F extends z{name="InvalidIdentityPoolConfigurationException";$fault="client";constructor(b){super({name:"InvalidIdentityPoolConfigurationException",$fault:"client",...b});Object.setPrototypeOf(this,F.prototype)}}class c extends z{name="InvalidParameterException";$fault="client";constructor(b){super({name:"InvalidParameterException",$fault:"client",...b});Object.setPrototypeOf(this,c.prototype)}}class f extends z{name="NotAuthorizedException";$fault="client";constructor(b){super({name:"NotAuthorizedException",$fault:"client",...b});Object.setPrototypeOf(this,f.prototype)}}class l extends z{name="ResourceConflictException";$fault="client";constructor(b){super({name:"ResourceConflictException",$fault:"client",...b});Object.setPrototypeOf(this,l.prototype)}}class G extends z{name="ResourceNotFoundException";$fault="client";constructor(b){super({name:"ResourceNotFoundException",$fault:"client",...b});Object.setPrototypeOf(this,G.prototype)}}class r extends z{name="TooManyRequestsException";$fault="client";constructor(b){super({name:"TooManyRequestsException",$fault:"client",...b});Object.setPrototypeOf(this,r.prototype)}}class y extends z{name="LimitExceededException";$fault="client";constructor(b){super({name:"LimitExceededException",$fault:"client",...b});Object.setPrototypeOf(this,y.prototype)}}var lb="AccountId",Gb="AccessKeyId",hb="Credentials",rb="CustomRoleArn",yb="Expiration",gb="ExternalServiceException",Ib="GetCredentialsForIdentity",ab="GetCredentialsForIdentityInput",Cb="GetCredentialsForIdentityResponse",ib="GetId",eb="GetIdInput",mb="GetIdResponse",db="InternalErrorException",g="IdentityId",ob="InvalidIdentityPoolConfigurationException",tb="InvalidParameterException",nb="IdentityPoolId",bh="IdentityProviderToken",jb="Logins",hh="LimitExceededException",jh="LoginsMap",kh="NotAuthorizedException",ph="ResourceConflictException",qh="ResourceNotFoundException",uh="SecretKey",vh="SecretKeyString",wh="SessionToken",xh="TooManyRequestsException",H="client",D="error",J="httpError",E="message",kb="smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity",zh="server",k="com.amazonaws.cognitoidentity",pb=Z.TypeRegistry.for(kb),Ah=[-3,kb,"CognitoIdentityServiceException",0,[],[]];pb.registerError(Ah,z);var B=Z.TypeRegistry.for(k),Bh=[-3,k,gb,{[D]:H,[J]:400},[E],[0]];B.registerError(Bh,$);var Dh=[-3,k,db,{[D]:zh},[E],[0]];B.registerError(Dh,s);var Eh=[-3,k,ob,{[D]:H,[J]:400},[E],[0]];B.registerError(Eh,F);var Hh=[-3,k,tb,{[D]:H,[J]:400},[E],[0]];B.registerError(Hh,c);var Jh=[-3,k,hh,{[D]:H,[J]:400},[E],[0]];B.registerError(Jh,y);var Kh=[-3,k,kh,{[D]:H,[J]:403},[E],[0]];B.registerError(Kh,f);var Lh=[-3,k,ph,{[D]:H,[J]:409},[E],[0]];B.registerError(Lh,l);var Mh=[-3,k,qh,{[D]:H,[J]:404},[E],[0]];B.registerError(Mh,G);var Nh=[-3,k,xh,{[D]:H,[J]:429},[E],[0]];B.registerError(Nh,r);var Oh=[pb,B],Ph=[0,k,bh,8,0],Qh=[0,k,vh,8,0],Rh=[3,k,hb,0,[Gb,uh,wh,yb],[0,[()=>Qh,0],0,4]],Sh=[3,k,ab,0,[g,jb,rb],[0,[()=>qb,0],0],1],Th=[3,k,Cb,0,[g,hb],[0,[()=>Rh,0]]],Uh=[3,k,eb,0,[nb,lb,jb],[0,0,[()=>qb,0]],1],Vh=[3,k,mb,0,[g],[0]],qb=[2,k,jh,0,[0,0],[()=>Ph,0]],Wh=[9,k,Ib,0,()=>Sh,()=>Th],Xh=[9,k,ib,0,()=>Uh,()=>Vh],Yh=(b)=>{return{apiVersion:"2014-06-30",base64Decoder:b?.base64Decoder??M.fromBase64,base64Encoder:b?.base64Encoder??M.toBase64,disableHostPrefix:b?.disableHostPrefix??!1,endpointProvider:b?.endpointProvider??fb,extensions:b?.extensions??[],httpAuthSchemeProvider:b?.httpAuthSchemeProvider??Wb,httpAuthSchemes:b?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4"),signer:new _.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(h)=>h.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new U.NoAuthSigner}],logger:b?.logger??new u.NoOpLogger,protocol:b?.protocol??Tb.AwsJson1_1Protocol,protocolSettings:b?.protocolSettings??{defaultNamespace:"com.amazonaws.cognitoidentity",errorTypeRegistries:Oh,xmlNamespace:"http://cognito-identity.amazonaws.com/doc/2014-06-30/",version:"2014-06-30",serviceTarget:"AWSCognitoIdentityService"},serviceId:b?.serviceId??"Cognito Identity",urlParser:b?.urlParser??V.parseUrl,utf8Decoder:b?.utf8Decoder??M.fromUtf8,utf8Encoder:b?.utf8Encoder??M.toUtf8}},Zh=(b)=>{u.emitWarningIfUnsupportedVersion(process.version);let h=v.resolveDefaultsModeConfig(b),j=()=>h().then(u.loadConfigsForDefaultMode),w=Yh(b);x.emitWarningIfUnsupportedVersion(process.version);let q={profile:b?.profile,logger:w.logger};return{...w,...b,runtime:"node",defaultsMode:h,authSchemePreference:b?.authSchemePreference??v.loadConfig(_.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,q),bodyLengthChecker:b?.bodyLengthChecker??M.calculateBodyLength,defaultUserAgentProvider:b?.defaultUserAgentProvider??x.createDefaultUserAgentProvider({serviceId:w.serviceId,clientVersion:_b.version}),maxAttempts:b?.maxAttempts??v.loadConfig(P.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,b),region:b?.region??v.loadConfig(v.NODE_REGION_CONFIG_OPTIONS,{...v.NODE_REGION_CONFIG_FILE_OPTIONS,...q}),requestHandler:i.NodeHttpHandler.create(b?.requestHandler??j),retryMode:b?.retryMode??v.loadConfig({...P.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await j()).retryMode||P.DEFAULT_RETRY_MODE},b),sha256:b?.sha256??M.Hash.bind(null,"sha256"),streamCollector:b?.streamCollector??i.streamCollector,useDualstackEndpoint:b?.useDualstackEndpoint??v.loadConfig(v.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,q),useFipsEndpoint:b?.useFipsEndpoint??v.loadConfig(v.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,q),userAgentAppId:b?.userAgentAppId??v.loadConfig(x.NODE_APP_ID_CONFIG_OPTIONS,q)}},_h=(b)=>{let{httpAuthSchemes:h,httpAuthSchemeProvider:j,credentials:w}=b;return{setHttpAuthScheme(q){let R=h.findIndex((W)=>W.schemeId===q.schemeId);if(R===-1)h.push(q);else h.splice(R,1,q)},httpAuthSchemes(){return h},setHttpAuthSchemeProvider(q){j=q},httpAuthSchemeProvider(){return j},setCredentials(q){w=q},credentials(){return w}}},$h=(b)=>{return{httpAuthSchemes:b.httpAuthSchemes(),httpAuthSchemeProvider:b.httpAuthSchemeProvider(),credentials:b.credentials()}},sh=(b,h)=>{let j=Object.assign(x.getAwsRegionExtensionConfiguration(b),u.getDefaultExtensionConfiguration(b),V.getHttpHandlerExtensionConfiguration(b),_h(b));return h.forEach((w)=>w.configure(j)),Object.assign(b,x.resolveAwsRegionExtensionConfiguration(j),u.resolveDefaultRuntimeConfig(j),V.resolveHttpHandlerRuntimeConfig(j),$h(j))};class I extends u.Client{config;constructor(...[b]){let h=Zh(b||{});super(h);this.initConfig=h;let j=Yb(h),w=x.resolveUserAgentConfig(j),q=P.resolveRetryConfig(w),R=v.resolveRegionConfig(q),W=x.resolveHostHeaderConfig(R),zb=L.resolveEndpointConfig(W),Ab=Xb(zb),Bb=sh(Ab,b?.extensions||[]);this.config=Bb,this.middlewareStack.use(Z.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(x.getUserAgentPlugin(this.config)),this.middlewareStack.use(P.getRetryPlugin(this.config)),this.middlewareStack.use(V.getContentLengthPlugin(this.config)),this.middlewareStack.use(x.getHostHeaderPlugin(this.config)),this.middlewareStack.use(x.getLoggerPlugin(this.config)),this.middlewareStack.use(x.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(U.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Ub,identityProviderConfigProvider:async(Db)=>new U.DefaultIdentityProviderConfig({"aws.auth#sigv4":Db.credentials})})),this.middlewareStack.use(U.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class a extends u.Command.classBuilder().ep(n).m(function(b,h,j,w){return[L.getEndpointPlugin(j,b.getEndpointParameterInstructions())]}).s("AWSCognitoIdentityService","GetCredentialsForIdentity",{}).n("CognitoIdentityClient","GetCredentialsForIdentityCommand").sc(Wh).build(){}class C extends u.Command.classBuilder().ep(n).m(function(b,h,j,w){return[L.getEndpointPlugin(j,b.getEndpointParameterInstructions())]}).s("AWSCognitoIdentityService","GetId",{}).n("CognitoIdentityClient","GetIdCommand").sc(Xh).build(){}var Fh={GetCredentialsForIdentityCommand:a,GetIdCommand:C};class ub extends I{}u.createAggregatedClient(Fh,ub);var{Command:ch,Client:fh}=u;var vb=I;var wb=a;var xb=C;export{xb as GetIdCommand,wb as GetCredentialsForIdentityCommand,vb as CognitoIdentityClient};
|
|
2
|
+
import{Fe as Qb}from"./chunk-6ps30qax.js";import{Je as Sb}from"./chunk-fjftb2sz.js";import{Ke as Rb}from"./chunk-j10a984e.js";import{Le as Nb,Me as Ob,Ne as Pb}from"./chunk-ejhhrece.js";import{Oe as Mb}from"./chunk-0a4pmkc9.js";import{Gf as Eb,Hf as Hb,If as Jb,Jf as Kb,Kf as Lb}from"./chunk-35fj1sfm.js";import"./chunk-e0vrxetq.js";var x=Pb(),U=Ob(),u=Hb(),v=Jb(),L=Kb(),V=Mb(),P=Nb(),Z=Eb(),_=Qb(),M=Lb(),i=Rb(),Tb=Sb(),Ub=async(b,h,j)=>{return{operation:u.getSmithyContext(h).operation,region:await u.normalizeProvider(b.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function Vb(b){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"cognito-identity",region:b.region},propertiesExtractor:(h,j)=>({signingProperties:{config:h,context:j}})}}function e(b){return{schemeId:"smithy.api#noAuth"}}var Wb=(b)=>{let h=[];switch(b.operation){case"GetCredentialsForIdentity":{h.push(e());break}case"GetId":{h.push(e());break}default:h.push(Vb(b))}return h},Xb=(b)=>{let h=_.resolveAwsSdkSigV4Config(b);return Object.assign(h,{authSchemePreference:u.normalizeProvider(b.authSchemePreference??[])})},Yb=(b)=>{return Object.assign(b,{useDualstackEndpoint:b.useDualstackEndpoint??!1,useFipsEndpoint:b.useFipsEndpoint??!1,defaultSigningName:"cognito-identity"})},n={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Zb="3.997.14",_b={version:Zb},Q="ref",K=-1,S=!0,m="isSet",bb="PartitionResult",T="booleanEquals",X="getAttr",N="stringEquals",d={[Q]:"Endpoint"},Y={[Q]:bb},O={[Q]:"Region"},A={},o=[O],t={conditions:[[m,[d]],[m,o],["aws.partition",o,bb],[T,[{[Q]:"UseFIPS"},S]],[T,[{fn:X,argv:[Y,"supportsFIPS"]},S]],[T,[{[Q]:"UseDualStack"},S]],[T,[{fn:X,argv:[Y,"supportsDualStack"]},S]],[N,[{fn:X,argv:[Y,"name"]},"aws"]],[N,[O,"us-east-1"]],[N,[O,"us-east-2"]],[N,[O,"us-west-1"]],[N,[O,"us-west-2"]]],results:[[K],[K,"Invalid Configuration: FIPS and custom endpoint are not supported"],[K,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[d,A],["https://cognito-identity-fips.us-east-1.amazonaws.com",A],["https://cognito-identity-fips.us-east-2.amazonaws.com",A],["https://cognito-identity-fips.us-west-1.amazonaws.com",A],["https://cognito-identity-fips.us-west-2.amazonaws.com",A],["https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",A],[K,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}",A],[K,"FIPS is enabled but this partition does not support FIPS"],["https://cognito-identity.{Region}.amazonaws.com",A],["https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}",A],[K,"DualStack is enabled but this partition does not support DualStack"],["https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}",A],[K,"Invalid Configuration: Missing Region"]]},$b=2,p=1e8,sb=new Int32Array([-1,1,-1,0,17,3,1,4,p+16,2,5,p+16,3,9,6,5,7,p+15,6,8,p+14,7,p+12,p+13,4,11,10,5,p+9,p+11,5,12,p+10,6,13,p+9,8,p+4,14,9,p+5,15,10,p+6,16,11,p+7,p+8,3,p+1,18,5,p+2,p+3]),Fb=L.BinaryDecisionDiagram.from(sb,$b,t.conditions,t.results),cb=new L.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),fb=(b,h={})=>{return cb.get(b,()=>L.decideEndpoint(Fb,{endpointParams:b,logger:h.logger}))};L.customEndpointFunctions.aws=x.awsEndpointFunctions;class z extends u.ServiceException{constructor(b){super(b);Object.setPrototypeOf(this,z.prototype)}}class $ extends z{name="ExternalServiceException";$fault="client";constructor(b){super({name:"ExternalServiceException",$fault:"client",...b});Object.setPrototypeOf(this,$.prototype)}}class s extends z{name="InternalErrorException";$fault="server";constructor(b){super({name:"InternalErrorException",$fault:"server",...b});Object.setPrototypeOf(this,s.prototype)}}class F extends z{name="InvalidIdentityPoolConfigurationException";$fault="client";constructor(b){super({name:"InvalidIdentityPoolConfigurationException",$fault:"client",...b});Object.setPrototypeOf(this,F.prototype)}}class c extends z{name="InvalidParameterException";$fault="client";constructor(b){super({name:"InvalidParameterException",$fault:"client",...b});Object.setPrototypeOf(this,c.prototype)}}class f extends z{name="NotAuthorizedException";$fault="client";constructor(b){super({name:"NotAuthorizedException",$fault:"client",...b});Object.setPrototypeOf(this,f.prototype)}}class l extends z{name="ResourceConflictException";$fault="client";constructor(b){super({name:"ResourceConflictException",$fault:"client",...b});Object.setPrototypeOf(this,l.prototype)}}class G extends z{name="ResourceNotFoundException";$fault="client";constructor(b){super({name:"ResourceNotFoundException",$fault:"client",...b});Object.setPrototypeOf(this,G.prototype)}}class r extends z{name="TooManyRequestsException";$fault="client";constructor(b){super({name:"TooManyRequestsException",$fault:"client",...b});Object.setPrototypeOf(this,r.prototype)}}class y extends z{name="LimitExceededException";$fault="client";constructor(b){super({name:"LimitExceededException",$fault:"client",...b});Object.setPrototypeOf(this,y.prototype)}}var lb="AccountId",Gb="AccessKeyId",hb="Credentials",rb="CustomRoleArn",yb="Expiration",gb="ExternalServiceException",Ib="GetCredentialsForIdentity",ab="GetCredentialsForIdentityInput",Cb="GetCredentialsForIdentityResponse",ib="GetId",eb="GetIdInput",mb="GetIdResponse",db="InternalErrorException",g="IdentityId",ob="InvalidIdentityPoolConfigurationException",tb="InvalidParameterException",nb="IdentityPoolId",bh="IdentityProviderToken",jb="Logins",hh="LimitExceededException",jh="LoginsMap",kh="NotAuthorizedException",ph="ResourceConflictException",qh="ResourceNotFoundException",uh="SecretKey",vh="SecretKeyString",wh="SessionToken",xh="TooManyRequestsException",H="client",D="error",J="httpError",E="message",kb="smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity",zh="server",k="com.amazonaws.cognitoidentity",pb=Z.TypeRegistry.for(kb),Ah=[-3,kb,"CognitoIdentityServiceException",0,[],[]];pb.registerError(Ah,z);var B=Z.TypeRegistry.for(k),Bh=[-3,k,gb,{[D]:H,[J]:400},[E],[0]];B.registerError(Bh,$);var Dh=[-3,k,db,{[D]:zh},[E],[0]];B.registerError(Dh,s);var Eh=[-3,k,ob,{[D]:H,[J]:400},[E],[0]];B.registerError(Eh,F);var Hh=[-3,k,tb,{[D]:H,[J]:400},[E],[0]];B.registerError(Hh,c);var Jh=[-3,k,hh,{[D]:H,[J]:400},[E],[0]];B.registerError(Jh,y);var Kh=[-3,k,kh,{[D]:H,[J]:403},[E],[0]];B.registerError(Kh,f);var Lh=[-3,k,ph,{[D]:H,[J]:409},[E],[0]];B.registerError(Lh,l);var Mh=[-3,k,qh,{[D]:H,[J]:404},[E],[0]];B.registerError(Mh,G);var Nh=[-3,k,xh,{[D]:H,[J]:429},[E],[0]];B.registerError(Nh,r);var Oh=[pb,B],Ph=[0,k,bh,8,0],Qh=[0,k,vh,8,0],Rh=[3,k,hb,0,[Gb,uh,wh,yb],[0,[()=>Qh,0],0,4]],Sh=[3,k,ab,0,[g,jb,rb],[0,[()=>qb,0],0],1],Th=[3,k,Cb,0,[g,hb],[0,[()=>Rh,0]]],Uh=[3,k,eb,0,[nb,lb,jb],[0,0,[()=>qb,0]],1],Vh=[3,k,mb,0,[g],[0]],qb=[2,k,jh,0,[0,0],[()=>Ph,0]],Wh=[9,k,Ib,0,()=>Sh,()=>Th],Xh=[9,k,ib,0,()=>Uh,()=>Vh],Yh=(b)=>{return{apiVersion:"2014-06-30",base64Decoder:b?.base64Decoder??M.fromBase64,base64Encoder:b?.base64Encoder??M.toBase64,disableHostPrefix:b?.disableHostPrefix??!1,endpointProvider:b?.endpointProvider??fb,extensions:b?.extensions??[],httpAuthSchemeProvider:b?.httpAuthSchemeProvider??Wb,httpAuthSchemes:b?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4"),signer:new _.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(h)=>h.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new U.NoAuthSigner}],logger:b?.logger??new u.NoOpLogger,protocol:b?.protocol??Tb.AwsJson1_1Protocol,protocolSettings:b?.protocolSettings??{defaultNamespace:"com.amazonaws.cognitoidentity",errorTypeRegistries:Oh,xmlNamespace:"http://cognito-identity.amazonaws.com/doc/2014-06-30/",version:"2014-06-30",serviceTarget:"AWSCognitoIdentityService"},serviceId:b?.serviceId??"Cognito Identity",urlParser:b?.urlParser??V.parseUrl,utf8Decoder:b?.utf8Decoder??M.fromUtf8,utf8Encoder:b?.utf8Encoder??M.toUtf8}},Zh=(b)=>{u.emitWarningIfUnsupportedVersion(process.version);let h=v.resolveDefaultsModeConfig(b),j=()=>h().then(u.loadConfigsForDefaultMode),w=Yh(b);x.emitWarningIfUnsupportedVersion(process.version);let q={profile:b?.profile,logger:w.logger};return{...w,...b,runtime:"node",defaultsMode:h,authSchemePreference:b?.authSchemePreference??v.loadConfig(_.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,q),bodyLengthChecker:b?.bodyLengthChecker??M.calculateBodyLength,defaultUserAgentProvider:b?.defaultUserAgentProvider??x.createDefaultUserAgentProvider({serviceId:w.serviceId,clientVersion:_b.version}),maxAttempts:b?.maxAttempts??v.loadConfig(P.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,b),region:b?.region??v.loadConfig(v.NODE_REGION_CONFIG_OPTIONS,{...v.NODE_REGION_CONFIG_FILE_OPTIONS,...q}),requestHandler:i.NodeHttpHandler.create(b?.requestHandler??j),retryMode:b?.retryMode??v.loadConfig({...P.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await j()).retryMode||P.DEFAULT_RETRY_MODE},b),sha256:b?.sha256??M.Hash.bind(null,"sha256"),streamCollector:b?.streamCollector??i.streamCollector,useDualstackEndpoint:b?.useDualstackEndpoint??v.loadConfig(v.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,q),useFipsEndpoint:b?.useFipsEndpoint??v.loadConfig(v.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,q),userAgentAppId:b?.userAgentAppId??v.loadConfig(x.NODE_APP_ID_CONFIG_OPTIONS,q)}},_h=(b)=>{let{httpAuthSchemes:h,httpAuthSchemeProvider:j,credentials:w}=b;return{setHttpAuthScheme(q){let R=h.findIndex((W)=>W.schemeId===q.schemeId);if(R===-1)h.push(q);else h.splice(R,1,q)},httpAuthSchemes(){return h},setHttpAuthSchemeProvider(q){j=q},httpAuthSchemeProvider(){return j},setCredentials(q){w=q},credentials(){return w}}},$h=(b)=>{return{httpAuthSchemes:b.httpAuthSchemes(),httpAuthSchemeProvider:b.httpAuthSchemeProvider(),credentials:b.credentials()}},sh=(b,h)=>{let j=Object.assign(x.getAwsRegionExtensionConfiguration(b),u.getDefaultExtensionConfiguration(b),V.getHttpHandlerExtensionConfiguration(b),_h(b));return h.forEach((w)=>w.configure(j)),Object.assign(b,x.resolveAwsRegionExtensionConfiguration(j),u.resolveDefaultRuntimeConfig(j),V.resolveHttpHandlerRuntimeConfig(j),$h(j))};class I extends u.Client{config;constructor(...[b]){let h=Zh(b||{});super(h);this.initConfig=h;let j=Yb(h),w=x.resolveUserAgentConfig(j),q=P.resolveRetryConfig(w),R=v.resolveRegionConfig(q),W=x.resolveHostHeaderConfig(R),zb=L.resolveEndpointConfig(W),Ab=Xb(zb),Bb=sh(Ab,b?.extensions||[]);this.config=Bb,this.middlewareStack.use(Z.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(x.getUserAgentPlugin(this.config)),this.middlewareStack.use(P.getRetryPlugin(this.config)),this.middlewareStack.use(V.getContentLengthPlugin(this.config)),this.middlewareStack.use(x.getHostHeaderPlugin(this.config)),this.middlewareStack.use(x.getLoggerPlugin(this.config)),this.middlewareStack.use(x.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(U.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Ub,identityProviderConfigProvider:async(Db)=>new U.DefaultIdentityProviderConfig({"aws.auth#sigv4":Db.credentials})})),this.middlewareStack.use(U.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class a extends u.Command.classBuilder().ep(n).m(function(b,h,j,w){return[L.getEndpointPlugin(j,b.getEndpointParameterInstructions())]}).s("AWSCognitoIdentityService","GetCredentialsForIdentity",{}).n("CognitoIdentityClient","GetCredentialsForIdentityCommand").sc(Wh).build(){}class C extends u.Command.classBuilder().ep(n).m(function(b,h,j,w){return[L.getEndpointPlugin(j,b.getEndpointParameterInstructions())]}).s("AWSCognitoIdentityService","GetId",{}).n("CognitoIdentityClient","GetIdCommand").sc(Xh).build(){}var Fh={GetCredentialsForIdentityCommand:a,GetIdCommand:C};class ub extends I{}u.createAggregatedClient(Fh,ub);var{Command:ch,Client:fh}=u;var vb=I;var wb=a;var xb=C;export{xb as GetIdCommand,wb as GetCredentialsForIdentityCommand,vb as CognitoIdentityClient};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-zrhw1szj.js";import"./chunk-
|
|
2
|
+
import"./chunk-zrhw1szj.js";import"./chunk-e0vrxetq.js";var q=class{constructor(b){this.module=b,this.DEBUG=!1,this.QTS_Throw=this.module.cwrap("QTS_Throw","number",["number","number"]),this.QTS_NewError=this.module.cwrap("QTS_NewError","number",["number"]),this.QTS_RuntimeSetMemoryLimit=this.module.cwrap("QTS_RuntimeSetMemoryLimit",null,["number","number"]),this.QTS_RuntimeComputeMemoryUsage=this.module.cwrap("QTS_RuntimeComputeMemoryUsage","number",["number","number"]),this.QTS_RuntimeDumpMemoryUsage=this.module.cwrap("QTS_RuntimeDumpMemoryUsage","number",["number"]),this.QTS_RecoverableLeakCheck=this.module.cwrap("QTS_RecoverableLeakCheck","number",[]),this.QTS_BuildIsSanitizeLeak=this.module.cwrap("QTS_BuildIsSanitizeLeak","number",[]),this.QTS_RuntimeSetMaxStackSize=this.module.cwrap("QTS_RuntimeSetMaxStackSize",null,["number","number"]),this.QTS_GetUndefined=this.module.cwrap("QTS_GetUndefined","number",[]),this.QTS_GetNull=this.module.cwrap("QTS_GetNull","number",[]),this.QTS_GetFalse=this.module.cwrap("QTS_GetFalse","number",[]),this.QTS_GetTrue=this.module.cwrap("QTS_GetTrue","number",[]),this.QTS_NewHostRef=this.module.cwrap("QTS_NewHostRef","number",["number","number"]),this.QTS_GetHostRefId=this.module.cwrap("QTS_GetHostRefId","number",["number"]),this.QTS_NewRuntime=this.module.cwrap("QTS_NewRuntime","number",[]),this.QTS_FreeRuntime=this.module.cwrap("QTS_FreeRuntime",null,["number"]),this.QTS_NewContext=this.module.cwrap("QTS_NewContext","number",["number","number"]),this.QTS_FreeContext=this.module.cwrap("QTS_FreeContext",null,["number"]),this.QTS_FreeValuePointer=this.module.cwrap("QTS_FreeValuePointer",null,["number","number"]),this.QTS_FreeValuePointerRuntime=this.module.cwrap("QTS_FreeValuePointerRuntime",null,["number","number"]),this.QTS_FreeVoidPointer=this.module.cwrap("QTS_FreeVoidPointer",null,["number","number"]),this.QTS_FreeCString=this.module.cwrap("QTS_FreeCString",null,["number","number"]),this.QTS_DupValuePointer=this.module.cwrap("QTS_DupValuePointer","number",["number","number"]),this.QTS_NewObject=this.module.cwrap("QTS_NewObject","number",["number"]),this.QTS_NewObjectProto=this.module.cwrap("QTS_NewObjectProto","number",["number","number"]),this.QTS_NewArray=this.module.cwrap("QTS_NewArray","number",["number"]),this.QTS_NewArrayBuffer=this.module.cwrap("QTS_NewArrayBuffer","number",["number","number","number"]),this.QTS_NewFloat64=this.module.cwrap("QTS_NewFloat64","number",["number","number"]),this.QTS_GetFloat64=this.module.cwrap("QTS_GetFloat64","number",["number","number"]),this.QTS_NewString=this.module.cwrap("QTS_NewString","number",["number","number"]),this.QTS_GetString=this.module.cwrap("QTS_GetString","number",["number","number"]),this.QTS_GetArrayBuffer=this.module.cwrap("QTS_GetArrayBuffer","number",["number","number"]),this.QTS_GetArrayBufferLength=this.module.cwrap("QTS_GetArrayBufferLength","number",["number","number"]),this.QTS_NewSymbol=this.module.cwrap("QTS_NewSymbol","number",["number","number","number"]),this.QTS_GetSymbolDescriptionOrKey=this.module.cwrap("QTS_GetSymbolDescriptionOrKey","number",["number","number"]),this.QTS_IsGlobalSymbol=this.module.cwrap("QTS_IsGlobalSymbol","number",["number","number"]),this.QTS_IsJobPending=this.module.cwrap("QTS_IsJobPending","number",["number"]),this.QTS_ExecutePendingJob=this.module.cwrap("QTS_ExecutePendingJob","number",["number","number","number"]),this.QTS_GetProp=this.module.cwrap("QTS_GetProp","number",["number","number","number"]),this.QTS_GetPropNumber=this.module.cwrap("QTS_GetPropNumber","number",["number","number","number"]),this.QTS_SetProp=this.module.cwrap("QTS_SetProp",null,["number","number","number","number"]),this.QTS_DefineProp=this.module.cwrap("QTS_DefineProp",null,["number","number","number","number","number","number","boolean","boolean","boolean"]),this.QTS_GetOwnPropertyNames=this.module.cwrap("QTS_GetOwnPropertyNames","number",["number","number","number","number","number"]),this.QTS_Call=this.module.cwrap("QTS_Call","number",["number","number","number","number","number"]),this.QTS_ResolveException=this.module.cwrap("QTS_ResolveException","number",["number","number"]),this.QTS_Dump=this.module.cwrap("QTS_Dump","number",["number","number"]),this.QTS_Eval=this.module.cwrap("QTS_Eval","number",["number","number","number","string","number","number"]),this.QTS_GetModuleNamespace=this.module.cwrap("QTS_GetModuleNamespace","number",["number","number"]),this.QTS_Typeof=this.module.cwrap("QTS_Typeof","number",["number","number"]),this.QTS_GetLength=this.module.cwrap("QTS_GetLength","number",["number","number","number"]),this.QTS_IsEqual=this.module.cwrap("QTS_IsEqual","number",["number","number","number","number"]),this.QTS_GetGlobalObject=this.module.cwrap("QTS_GetGlobalObject","number",["number"]),this.QTS_NewPromiseCapability=this.module.cwrap("QTS_NewPromiseCapability","number",["number","number"]),this.QTS_PromiseState=this.module.cwrap("QTS_PromiseState","number",["number","number"]),this.QTS_PromiseResult=this.module.cwrap("QTS_PromiseResult","number",["number","number"]),this.QTS_TestStringArg=this.module.cwrap("QTS_TestStringArg",null,["string"]),this.QTS_GetDebugLogEnabled=this.module.cwrap("QTS_GetDebugLogEnabled","number",["number"]),this.QTS_SetDebugLogEnabled=this.module.cwrap("QTS_SetDebugLogEnabled",null,["number","number"]),this.QTS_BuildIsDebug=this.module.cwrap("QTS_BuildIsDebug","number",[]),this.QTS_BuildIsAsyncify=this.module.cwrap("QTS_BuildIsAsyncify","number",[]),this.QTS_NewFunction=this.module.cwrap("QTS_NewFunction","number",["number","string","number","boolean","number"]),this.QTS_ArgvGetJSValueConstPointer=this.module.cwrap("QTS_ArgvGetJSValueConstPointer","number",["number","number"]),this.QTS_RuntimeEnableInterruptHandler=this.module.cwrap("QTS_RuntimeEnableInterruptHandler",null,["number"]),this.QTS_RuntimeDisableInterruptHandler=this.module.cwrap("QTS_RuntimeDisableInterruptHandler",null,["number"]),this.QTS_RuntimeEnableModuleLoader=this.module.cwrap("QTS_RuntimeEnableModuleLoader",null,["number","number"]),this.QTS_RuntimeDisableModuleLoader=this.module.cwrap("QTS_RuntimeDisableModuleLoader",null,["number"]),this.QTS_bjson_encode=this.module.cwrap("QTS_bjson_encode","number",["number","number"]),this.QTS_bjson_decode=this.module.cwrap("QTS_bjson_decode","number",["number","number"])}};export{q as QuickJSFFI};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import P from"fs";import B from"fs";var x;function K(){try{return B.statSync("/.dockerenv"),!0}catch{return!1}}function M(){try{return B.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}function y(){if(x===void 0)x=K()||M();return x}var z,Q=()=>{try{return P.statSync("/run/.containerenv"),!0}catch{return!1}};function q(){if(z===void 0)z=Q()||y();return z}import J from"process";import V from"os";import A from"fs";var H=()=>{if(J.platform!=="linux")return!1;if(V.release().toLowerCase().includes("microsoft")){if(q())return!1;return!0}try{if(A.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft"))return!q()}catch{}if(A.existsSync("/proc/sys/fs/binfmt_misc/WSLInterop")||A.existsSync("/run/WSL"))return!q();return!1},L=J.env.__IS_WSL_TEST__?H:H();
|
|
3
|
-
export{q as
|
|
3
|
+
export{q as gq,L as hq};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{a,b,c,d,e,f,g}from"./chunk-k3m7jfdh.js";import"./chunk-vd8cmdpv.js";import"./chunk-0z1keh2w.js";import"./chunk-vgt3artc.js";import"./chunk-2kh0tg92.js";import"./chunk-52xvhxek.js";import"./chunk-f4mnp6xd.js";import"./chunk-bwadggys.js";import"./chunk-nsp1za8t.js";import"./chunk-1acn5me8.js";import"./chunk-vs3s49jw.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-t8fjgkp8.js";import"./chunk-0egrckx0.js";import"./chunk-k1qd8ecm.js";import"./chunk-bhg69t69.js";import"./chunk-fv5mrdyc.js";import"./chunk-rdreeyv0.js";import"./chunk-rmsqb6r4.js";import"./chunk-7pckez5z.js";import"./chunk-k6981ysw.js";import"./chunk-sa0rrreh.js";import"./chunk-ydgst3h8.js";import"./chunk-6tqbnxar.js";import"./chunk-0w19vmd7.js";import"./chunk-eewe7tx1.js";import"./chunk-4y9wbfd2.js";import"./chunk-wm9nh9nb.js";import"./chunk-scnbt714.js";import"./chunk-cqtkxwd8.js";import"./chunk-y3gy62q5.js";import"./chunk-az3nss5m.js";import"./chunk-p2fte9vz.js";import"./chunk-ggncq8w8.js";import"./chunk-t3w43rft.js";import"./chunk-eacpc64g.js";import"./chunk-27saej0r.js";import"./chunk-b5ym419d.js";import"./chunk-29q89bge.js";import"./chunk-wqk1v8t0.js";import"./chunk-rwwvy89t.js";import"./chunk-z0kbyr00.js";import"./chunk-sbjymf20.js";import"./chunk-dt3bsmfe.js";import"./chunk-vbfej8ds.js";import"./chunk-0tm6589k.js";import"./chunk-fveaq0pb.js";import"./chunk-gswhjd1h.js";import"./chunk-wgkcyqn1.js";import"./chunk-59csnjc3.js";import"./chunk-1bxfzd6r.js";import"./chunk-6p6m5956.js";import"./chunk-a48mx917.js";import"./chunk-3va85mbe.js";import"./chunk-w7a33cwa.js";import"./chunk-g7v6sp3c.js";import"./chunk-s2tc3qs0.js";import"./chunk-n6tqtk6h.js";import"./chunk-e0vrxetq.js";export{f as statusEffect,a as resolveApiKeyFlag,e as logoutEffect,d as loginEffect,c as interactiveLogin,b as apiKeyLoginEffect,g as AuthCommand};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Od as H,Pd as I}from"./chunk-
|
|
2
|
+
import{Od as H,Pd as I}from"./chunk-bkfafcbw.js";import{be as G}from"./chunk-f4mnp6xd.js";import{Zf as B}from"./chunk-qsme16gk.js";import{lg as E}from"./chunk-7r92d7v9.js";import"./chunk-0s4cp6q2.js";import"./chunk-mrq35ftw.js";import"./chunk-nsp1za8t.js";import"./chunk-brk6bge4.js";import"./chunk-nfg7nt13.js";import"./chunk-qgkb6n8k.js";import"./chunk-dcv6wj9x.js";import"./chunk-1acn5me8.js";import"./chunk-vs3s49jw.js";import"./chunk-kre93a89.js";import"./chunk-060wbpz4.js";import"./chunk-zrhw1szj.js";import"./chunk-t8fjgkp8.js";import"./chunk-0egrckx0.js";import"./chunk-k1qd8ecm.js";import"./chunk-bhg69t69.js";import"./chunk-fv5mrdyc.js";import"./chunk-rdreeyv0.js";import"./chunk-rmsqb6r4.js";import"./chunk-7pckez5z.js";import"./chunk-k6981ysw.js";import"./chunk-sa0rrreh.js";import"./chunk-ydgst3h8.js";import"./chunk-6tqbnxar.js";import"./chunk-0w19vmd7.js";import"./chunk-eewe7tx1.js";import{ho as D}from"./chunk-4y9wbfd2.js";import"./chunk-wm9nh9nb.js";import"./chunk-scnbt714.js";import"./chunk-cqtkxwd8.js";import"./chunk-y3gy62q5.js";import"./chunk-az3nss5m.js";import"./chunk-p2fte9vz.js";import"./chunk-ggncq8w8.js";import"./chunk-t3w43rft.js";import"./chunk-eacpc64g.js";import"./chunk-27saej0r.js";import"./chunk-b5ym419d.js";import"./chunk-29q89bge.js";import"./chunk-wqk1v8t0.js";import"./chunk-rwwvy89t.js";import"./chunk-z0kbyr00.js";import"./chunk-sbjymf20.js";import"./chunk-dt3bsmfe.js";import"./chunk-vbfej8ds.js";import"./chunk-0tm6589k.js";import"./chunk-fveaq0pb.js";import"./chunk-gswhjd1h.js";import"./chunk-wgkcyqn1.js";import{Os as f}from"./chunk-59csnjc3.js";import"./chunk-1bxfzd6r.js";import"./chunk-6p6m5956.js";import"./chunk-a48mx917.js";import"./chunk-3va85mbe.js";import"./chunk-w7a33cwa.js";import"./chunk-g7v6sp3c.js";import"./chunk-s2tc3qs0.js";import"./chunk-n6tqtk6h.js";import"./chunk-e0vrxetq.js";var T=G({command:"serve",builder:(b)=>B(b).option("auto-password",{type:"boolean",default:!1,describe:"generate a random ephemeral QITQODE_SERVER_PASSWORD for this run and print it"}),describe:"starts a headless qitqode server",handler:async(b)=>{let A=await H(b);if(b["auto-password"]&&!f.QITQODE_SERVER_PASSWORD){let z=crypto.randomUUID();process.env.QITQODE_SERVER_PASSWORD=z,console.log('Generated ephemeral server password (basic auth, username "qitqode"):'),console.log(` ${z}`)}if(I(A,f.QITQODE_SERVER_PASSWORD))console.error("ERROR: Binding to non-loopback address without QITQODE_SERVER_PASSWORD is not allowed."),console.error("Set QITQODE_SERVER_PASSWORD, pass --auto-password, or pass --no-auth to override (DANGEROUS)."),process.exit(1);if(!f.QITQODE_SERVER_PASSWORD)console.error(""),console.error("\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557"),console.error("\u2551 WARNING: server is running WITHOUT authentication. \u2551"),console.error("\u2551 \u2551"),console.error("\u2551 Any process or browser page that can reach this address can read \u2551"),console.error("\u2551 project files, run shell commands, and open terminals as you. \u2551"),console.error("\u2551 \u2551"),console.error("\u2551 Set QITQODE_SERVER_PASSWORD, or restart with --auto-password to \u2551"),console.error("\u2551 generate an ephemeral password for this run. \u2551"),console.error("\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D"),console.error("");if(process.env.QITQODE_KEY)console.log("Using QITQODE_KEY for authentication.");else if(!await D())console.error("Warning: no QitQode credential found. AI features will not work until you sign in (`qitqode auth login`) or set QITQODE_KEY.");let j=await E.listen(A);console.log(`qitqode server listening on http://${j.hostname}:${j.port}`),await new Promise(()=>{}),await j.stop()}});export{T as ServeCommand};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Jp as j,Kp as M,Lp as f,Np as N,Qp as H,Rp as z,Sp as A,Vp as I,_p as t}from"./chunk-scnbt714.js";import{$p as U}from"./chunk-y3gy62q5.js";import{ot as n}from"./chunk-a48mx917.js";import{yy as d}from"./chunk-3va85mbe.js";function NJ(...F){return F.reduce((J,Q)=>({...J,...Q!=null?Q:{}}),{})}function VJ({tools:F=[],providerToolNames:J,resolveProviderToolName:Q}){var W;let X={},Y={};for(let Z of F)if(Z.type==="provider"){let $=(W=Q==null?void 0:Q(Z))!=null?W:(Z.id in J)?J[Z.id]:void 0;if($==null)continue;X[Z.name]=$,Y[$]=Z.name}return{toProviderToolName:(Z)=>{var $;return($=X[Z])!=null?$:Z},toCustomToolName:(Z)=>{var $;return($=Y[Z])!=null?$:Z}}}function B(F){return Object.fromEntries([...F.headers])}var{btoa:$F,atob:LF}=globalThis;function TJ(F){let J=F.replace(/-/g,"+").replace(/_/g,"/"),Q=LF(J);return Uint8Array.from(Q,(W)=>W.codePointAt(0))}function o(F){let J="";for(let Q=0;Q<F.length;Q++)J+=String.fromCodePoint(F[Q]);return $F(J)}function _J(F){return F instanceof Uint8Array?o(F):F}function jJ(F){if(F.type==="url")return F.url;return`data:${F.mediaType};base64,${typeof F.data==="string"?F.data:o(F.data)}`}function kJ(F,J={}){let{useArrayBrackets:Q=!0}=J,W=new FormData;for(let[X,Y]of Object.entries(F)){if(Y==null)continue;if(Array.isArray(Y)){if(Y.length===1){W.append(X,Y[0]);continue}let Z=Q?`${X}[]`:X;for(let $ of Y)W.append(Z,$);continue}W.append(X,Y)}return W}var a="AI_DownloadError",s=`vercel.ai.error.${a}`,UF=Symbol.for(s),m,u,O=class extends(u=j,m=UF,u){constructor({url:F,statusCode:J,statusText:Q,cause:W,message:X=W==null?`Failed to download ${F}: ${J} ${Q}`:`Failed to download ${F}: ${W}`}){super({name:a,message:X,cause:W});this[m]=!0,this.url=F,this.statusCode=J,this.statusText=Q}static isInstance(F){return j.hasMarker(F,s)}},r=2147483648;async function wF({response:F,url:J,maxBytes:Q=r}){let W=F.headers.get("content-length");if(W!=null){let G=parseInt(W,10);if(!isNaN(G)&&G>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes (Content-Length: ${G}).`})}let X=F.body;if(X==null)return new Uint8Array(0);let Y=X.getReader(),Z=[],$=0;try{while(!0){let{done:G,value:R}=await Y.read();if(G)break;if($+=R.length,$>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes.`});Z.push(R)}}finally{try{await Y.cancel()}finally{Y.releaseLock()}}let w=new Uint8Array($),L=0;for(let G of Z)w.set(G,L),L+=G.length;return w}function i(F){let J;try{J=new URL(F)}catch(W){throw new O({url:F,message:`Invalid URL: ${F}`})}if(J.protocol!=="http:"&&J.protocol!=="https:")throw new O({url:F,message:`URL scheme must be http or https, got ${J.protocol}`});let Q=J.hostname;if(!Q)throw new O({url:F,message:"URL must have a hostname"});if(Q==="localhost"||Q.endsWith(".local")||Q.endsWith(".localhost"))throw new O({url:F,message:`URL with hostname ${Q} is not allowed`});if(Q.startsWith("[")&&Q.endsWith("]")){let W=Q.slice(1,-1);if(EF(W))throw new O({url:F,message:`URL with IPv6 address ${Q} is not allowed`});return}if(e(Q)){if(k(Q))throw new O({url:F,message:`URL with IP address ${Q} is not allowed`});return}}function e(F){let J=F.split(".");if(J.length!==4)return!1;return J.every((Q)=>{let W=Number(Q);return Number.isInteger(W)&&W>=0&&W<=255&&String(W)===Q})}function k(F){let J=F.split(".").map(Number),[Q,W]=J;if(Q===0)return!0;if(Q===10)return!0;if(Q===127)return!0;if(Q===169&&W===254)return!0;if(Q===172&&W>=16&&W<=31)return!0;if(Q===192&&W===168)return!0;return!1}function EF(F){let J=F.toLowerCase();if(J==="::1")return!0;if(J==="::")return!0;if(J.startsWith("::ffff:")){let Q=J.slice(7);if(e(Q))return k(Q);let W=Q.split(":");if(W.length===2){let X=parseInt(W[0],16),Y=parseInt(W[1],16);if(!isNaN(X)&&!isNaN(Y)){let Z=X>>8&255,$=X&255,w=Y>>8&255,L=Y&255;return k(`${Z}.${$}.${w}.${L}`)}}}if(J.startsWith("fc")||J.startsWith("fd"))return!0;if(J.startsWith("fe80"))return!0;return!1}async function SJ(F,J){var Q,W;i(F);try{let X=await fetch(F,{signal:J==null?void 0:J.abortSignal});if(X.redirected)i(X.url);if(!X.ok)throw new O({url:F,statusCode:X.status,statusText:X.statusText});let Y=await wF({response:X,url:F,maxBytes:(Q=J==null?void 0:J.maxBytes)!=null?Q:r}),Z=(W=X.headers.get("content-type"))!=null?W:void 0;return new Blob([Y],Z?{type:Z}:void 0)}catch(X){if(O.isInstance(X))throw X;throw new O({url:F,cause:X})}}var GF=({prefix:F,size:J=16,alphabet:Q="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:W="-"}={})=>{let X=()=>{let Y=Q.length,Z=Array(J);for(let $=0;$<J;$++)Z[$]=Q[Math.random()*Y|0];return Z.join("")};if(F==null)return X;if(Q.includes(W))throw new N({argument:"separator",message:`The separator "${W}" must not be part of the alphabet "${Q}".`});return()=>`${F}${W}${X()}`},xJ=GF();function b(F){return(F instanceof Error||F instanceof DOMException)&&(F.name==="AbortError"||F.name==="ResponseAborted"||F.name==="TimeoutError")}var CF=["fetch failed","failed to fetch"],MF=["ConnectionRefused","ConnectionClosed","FailedToOpenSocket","ECONNRESET","ECONNREFUSED","ETIMEDOUT","EPIPE"];function KF(F){if(!(F instanceof Error))return!1;let J=F.code;if(typeof J==="string"&&MF.includes(J))return!0;return!1}function qF({error:F,url:J,requestBodyValues:Q}){if(b(F))return F;if(F instanceof TypeError&&CF.includes(F.message.toLowerCase())){let W=F.cause;if(W!=null)return new M({message:`Cannot connect to API: ${W.message}`,cause:W,url:J,requestBodyValues:Q,isRetryable:!0})}if(KF(F))return new M({message:`Cannot connect to API: ${F.message}`,cause:F,url:J,requestBodyValues:Q,isRetryable:!0});return F}function DF(F=globalThis){var J,Q,W;if(F.window)return"runtime/browser";if((J=F.navigator)==null?void 0:J.userAgent)return`runtime/${F.navigator.userAgent.toLowerCase()}`;if((W=(Q=F.process)==null?void 0:Q.versions)==null?void 0:W.node)return`runtime/node.js/${F.process.version.substring(0)}`;if(F.EdgeRuntime)return"runtime/vercel-edge";return"runtime/unknown"}function OF(F){if(F==null)return{};let J={};if(F instanceof Headers)F.forEach((Q,W)=>{J[W.toLowerCase()]=Q});else{if(!Array.isArray(F))F=Object.entries(F);for(let[Q,W]of F)if(W!=null)J[Q.toLowerCase()]=W}return J}function IF(F,...J){let Q=new Headers(OF(F)),W=Q.get("user-agent")||"";return Q.set("user-agent",[W,...J].filter(Boolean).join(" ")),Object.fromEntries(Q.entries())}var PF="4.0.21";var zF="JSON schema:",AF="You MUST answer with a JSON object that matches the JSON schema above.",HF="You MUST answer with JSON.";function BF({prompt:F,schema:J,schemaPrefix:Q=J!=null?zF:void 0,schemaSuffix:W=J!=null?AF:HF}){return[F!=null&&F.length>0?F:void 0,F!=null&&F.length>0?"":void 0,Q,J!=null?JSON.stringify(J):void 0,W].filter((X)=>X!=null).join(`
|
|
3
3
|
`)}function yJ({messages:F,schema:J,schemaPrefix:Q,schemaSuffix:W}){var X,Y;let Z=((X=F[0])==null?void 0:X.role)==="system"?{...F[0]}:{role:"system",content:""};return Z.content=BF({prompt:Z.content,schema:J,schemaPrefix:Q,schemaSuffix:W}),[Z,...((Y=F[0])==null?void 0:Y.role)==="system"?F.slice(1):F]}function hJ(F){return F!=null}function uJ({apiKey:F,environmentVariableName:J,apiKeyParameterName:Q="apiKey",description:W}){if(typeof F==="string")return F;if(F!=null)throw new z({message:`${W} API key must be a string.`});if(typeof process>"u")throw new z({message:`${W} API key is missing. Pass it using the '${Q}' parameter. Environment variables is not supported in this environment.`});if(F=process.env[J],F==null)throw new z({message:`${W} API key is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new z({message:`${W} API key must be a string. The value of the ${J} environment variable is not a string.`});return F}function pJ({settingValue:F,environmentVariableName:J,settingName:Q,description:W}){if(typeof F==="string")return F;if(F!=null)throw new A({message:`${W} setting must be a string.`});if(typeof process>"u")throw new A({message:`${W} setting is missing. Pass it using the '${Q}' parameter. Environment variables is not supported in this environment.`});if(F=process.env[J],F==null)throw new A({message:`${W} setting is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new A({message:`${W} setting must be a string. The value of the ${J} environment variable is not a string.`});return F}function lJ(F){var J;let[Q,W=""]=F.toLowerCase().split("/");return(J={mpeg:"mp3","x-wav":"wav",opus:"ogg",mp4:"m4a","x-m4a":"m4a"}[W])!=null?J:W}var RF=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,NF=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function p(F){let J=JSON.parse(F);if(J===null||typeof J!=="object")return J;if(RF.test(F)===!1&&NF.test(F)===!1)return J;return VF(J)}function VF(F){let J=[F];while(J.length){let Q=J;J=[];for(let W of Q){if(Object.prototype.hasOwnProperty.call(W,"__proto__"))throw SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(W,"constructor")&&W.constructor!==null&&typeof W.constructor==="object"&&Object.prototype.hasOwnProperty.call(W.constructor,"prototype"))throw SyntaxError("Object contains forbidden prototype property");for(let X in W){let Y=W[X];if(Y&&typeof Y==="object")J.push(Y)}}}return F}function x(F){let{stackTraceLimit:J}=Error;try{Error.stackTraceLimit=0}catch(Q){return p(F)}try{return p(F)}finally{Error.stackTraceLimit=J}}function v(F){if(F.type==="object"||Array.isArray(F.type)&&F.type.includes("object")){F.additionalProperties=!1;let{properties:Q}=F;if(Q!=null)for(let W of Object.keys(Q))Q[W]=P(Q[W])}if(F.items!=null)F.items=Array.isArray(F.items)?F.items.map(P):P(F.items);if(F.anyOf!=null)F.anyOf=F.anyOf.map(P);if(F.allOf!=null)F.allOf=F.allOf.map(P);if(F.oneOf!=null)F.oneOf=F.oneOf.map(P);let{definitions:J}=F;if(J!=null)for(let Q of Object.keys(J))J[Q]=P(J[Q]);return F}function P(F){if(typeof F==="boolean")return F;return v(F)}var TF=Symbol("Let zodToJsonSchema decide on which parser to use"),l={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},_F=(F)=>typeof F==="string"?{...l,name:F}:{...l,...F};function K(){return{}}function jF(F,J){var Q,W,X;let Y={type:"array"};if(((Q=F.type)==null?void 0:Q._def)&&((X=(W=F.type)==null?void 0:W._def)==null?void 0:X.typeName)!==U.ZodAny)Y.items=E(F.type._def,{...J,currentPath:[...J.currentPath,"items"]});if(F.minLength)Y.minItems=F.minLength.value;if(F.maxLength)Y.maxItems=F.maxLength.value;if(F.exactLength)Y.minItems=F.exactLength.value,Y.maxItems=F.exactLength.value;return Y}function kF(F){let J={type:"integer",format:"int64"};if(!F.checks)return J;for(let Q of F.checks)switch(Q.kind){case"min":if(Q.inclusive)J.minimum=Q.value;else J.exclusiveMinimum=Q.value;break;case"max":if(Q.inclusive)J.maximum=Q.value;else J.exclusiveMaximum=Q.value;break;case"multipleOf":J.multipleOf=Q.value;break}return J}function bF(){return{type:"boolean"}}function FF(F,J){return E(F.type._def,J)}var SF=(F,J)=>{return E(F.innerType._def,J)};function JF(F,J,Q){let W=Q!=null?Q:J.dateStrategy;if(Array.isArray(W))return{anyOf:W.map((X,Y)=>JF(F,J,X))};switch(W){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return gF(F)}}var gF=(F)=>{let J={type:"integer",format:"unix-time"};for(let Q of F.checks)switch(Q.kind){case"min":J.minimum=Q.value;break;case"max":J.maximum=Q.value;break}return J};function xF(F,J){return{...E(F.innerType._def,J),default:F.defaultValue()}}function vF(F,J){return J.effectStrategy==="input"?E(F.schema._def,J):K()}function yF(F){return{type:"string",enum:Array.from(F.values)}}var hF=(F)=>{if("type"in F&&F.type==="string")return!1;return"allOf"in F};function mF(F,J){let Q=[E(F.left._def,{...J,currentPath:[...J.currentPath,"allOf","0"]}),E(F.right._def,{...J,currentPath:[...J.currentPath,"allOf","1"]})].filter((X)=>!!X),W=[];return Q.forEach((X)=>{if(hF(X))W.push(...X.allOf);else{let Y=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Z,...$}=X;Y=$}W.push(Y)}}),W.length?{allOf:W}:void 0}function uF(F){let J=typeof F.value;if(J!=="bigint"&&J!=="number"&&J!=="boolean"&&J!=="string")return{type:Array.isArray(F.value)?"array":"object"};return{type:J==="bigint"?"integer":J,const:F.value}}var T=void 0,q={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(T===void 0)T=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return T},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function QF(F,J){let Q={type:"string"};if(F.checks)for(let W of F.checks)switch(W.kind){case"min":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value;break;case"max":Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"email":switch(J.emailStrategy){case"format:email":D(Q,"email",W.message,J);break;case"format:idn-email":D(Q,"idn-email",W.message,J);break;case"pattern:zod":C(Q,q.email,W.message,J);break}break;case"url":D(Q,"uri",W.message,J);break;case"uuid":D(Q,"uuid",W.message,J);break;case"regex":C(Q,W.regex,W.message,J);break;case"cuid":C(Q,q.cuid,W.message,J);break;case"cuid2":C(Q,q.cuid2,W.message,J);break;case"startsWith":C(Q,RegExp(`^${_(W.value,J)}`),W.message,J);break;case"endsWith":C(Q,RegExp(`${_(W.value,J)}$`),W.message,J);break;case"datetime":D(Q,"date-time",W.message,J);break;case"date":D(Q,"date",W.message,J);break;case"time":D(Q,"time",W.message,J);break;case"duration":D(Q,"duration",W.message,J);break;case"length":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value,Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"includes":{C(Q,RegExp(_(W.value,J)),W.message,J);break}case"ip":{if(W.version!=="v6")D(Q,"ipv4",W.message,J);if(W.version!=="v4")D(Q,"ipv6",W.message,J);break}case"base64url":C(Q,q.base64url,W.message,J);break;case"jwt":C(Q,q.jwt,W.message,J);break;case"cidr":{if(W.version!=="v6")C(Q,q.ipv4Cidr,W.message,J);if(W.version!=="v4")C(Q,q.ipv6Cidr,W.message,J);break}case"emoji":C(Q,q.emoji(),W.message,J);break;case"ulid":{C(Q,q.ulid,W.message,J);break}case"base64":{switch(J.base64Strategy){case"format:binary":{D(Q,"binary",W.message,J);break}case"contentEncoding:base64":{Q.contentEncoding="base64";break}case"pattern:zod":{C(Q,q.base64,W.message,J);break}}break}case"nanoid":C(Q,q.nanoid,W.message,J);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return Q}function _(F,J){return J.patternStrategy==="escape"?pF(F):F}var iF=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function pF(F){let J="";for(let Q=0;Q<F.length;Q++){if(!iF.has(F[Q]))J+="\\";J+=F[Q]}return J}function D(F,J,Q,W){var X;if(F.format||((X=F.anyOf)==null?void 0:X.some((Y)=>Y.format))){if(!F.anyOf)F.anyOf=[];if(F.format)F.anyOf.push({format:F.format}),delete F.format;F.anyOf.push({format:J,...Q&&W.errorMessages&&{errorMessage:{format:Q}}})}else F.format=J}function C(F,J,Q,W){var X;if(F.pattern||((X=F.allOf)==null?void 0:X.some((Y)=>Y.pattern))){if(!F.allOf)F.allOf=[];if(F.pattern)F.allOf.push({pattern:F.pattern}),delete F.pattern;F.allOf.push({pattern:c(J,W),...Q&&W.errorMessages&&{errorMessage:{pattern:Q}}})}else F.pattern=c(J,W)}function c(F,J){var Q;if(!J.applyRegexFlags||!F.flags)return F.source;let W={i:F.flags.includes("i"),m:F.flags.includes("m"),s:F.flags.includes("s")},X=W.i?F.source.toLowerCase():F.source,Y="",Z=!1,$=!1,w=!1;for(let L=0;L<X.length;L++){if(Z){Y+=X[L],Z=!1;continue}if(W.i){if($){if(X[L].match(/[a-z]/)){if(w)Y+=X[L],Y+=`${X[L-2]}-${X[L]}`.toUpperCase(),w=!1;else if(X[L+1]==="-"&&((Q=X[L+2])==null?void 0:Q.match(/[a-z]/)))Y+=X[L],w=!0;else Y+=`${X[L]}${X[L].toUpperCase()}`;continue}}else if(X[L].match(/[a-z]/)){Y+=`[${X[L]}${X[L].toUpperCase()}]`;continue}}if(W.m){if(X[L]==="^"){Y+=`(^|(?<=[\r
|
|
4
4
|
]))`;continue}else if(X[L]==="$"){Y+=`($|(?=[\r
|
|
5
5
|
]))`;continue}}if(W.s&&X[L]==="."){Y+=$?`${X[L]}\r
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{gr as
|
|
2
|
+
import{vO as fr}from"./chunk-e0vrxetq.js";var gr="0.2.9",xr="latest",yr="8284f145df29a8e1c819b1293f0b727a08d4f4af",hr=!1;var u={done:!1,hasNext:!1};function l(r,...a){let o=r,t=a.map((i)=>("lazy"in i)?v(i):void 0),s=0;for(;s<a.length;){if(t[s]===void 0||!S(o)){let n=a[s];o=n(o),s+=1;continue}let i=[];for(let n=s;n<a.length;n++){let f=t[n];if(f===void 0||(i.push(f),f.isSingle))break}let e=[];for(let n of o)if(j(n,e,i))break;let{isSingle:p}=i.at(-1);o=p?e[0]:e,s+=i.length}return o}function j(r,a,o){if(o.length===0)return a.push(r),!1;let t=r,s=u,i=!1;for(let[e,p]of o.entries()){let{index:n,items:f}=p;if(f.push(t),s=p(t,n,f),p.index+=1,s.hasNext){if(s.hasMany??!1){for(let g of s.next)if(j(g,a,o.slice(e+1)))return!0;return i}t=s.next}if(!s.hasNext)break;s.done&&(i=!0)}return s.hasNext&&a.push(t),i}function v(r){let{lazy:a,lazyArgs:o}=r,t=a(...o);return Object.assign(t,{isSingle:a.single??!1,index:0,items:[]})}function S(r){return typeof r=="string"||typeof r=="object"&&r!==null&&Symbol.iterator in r}function x(r,a){let o=a.length-r.length;if(o===1){let[t,...s]=a;return l(t,{lazy:r,lazyArgs:s})}if(o===0){let t={lazy:r,lazyArgs:a};return Object.assign((s)=>l(s,t),t)}throw Error("Wrong number of arguments")}function B(...r){return x(_,r)}function _(){let r=new Set;return(a)=>r.has(a)?u:(r.add(a),{done:!1,hasNext:!0,next:a})}function N(r,a,o){let t=(s)=>r(s,...a);return o===void 0?t:Object.assign(t,{lazy:o,lazyArgs:a})}function m(r,a,o){let t=r.length-a.length;if(t===0)return r(...a);if(t===1)return N(r,a,o);throw Error("Wrong number of arguments")}function C(...r){return m(Object.values,r)}var D={asc:(r,a)=>r>a,desc:(r,a)=>r<a};function y(r,a){let[o,...t]=a;if(!P(o)){let i=b(...t);return r(o,i)}let s=b(o,...t);return(i)=>r(i,s)}function b(r,a,...o){let t=typeof r=="function"?r:r[0],s=typeof r=="function"?"asc":r[1],{[s]:i}=D,e=a===void 0?void 0:b(a,...o);return(p,n)=>{let f=t(p),g=t(n);return i(f,g)?1:i(g,f)?-1:e?.(p,n)??0}}function P(r){if(Q(r))return!0;if(typeof r!="object"||!Array.isArray(r))return!1;let[a,o,...t]=r;return Q(a)&&typeof o=="string"&&o in D&&t.length===0}var Q=(r)=>typeof r=="function"&&r.length===1;function h(...r){return y(z,r)}var z=(r,a)=>[...r].sort(a);function I(r){if(typeof r!="object"||r===null)return!1;let a=Object.getPrototypeOf(r);return a===null||a===Object.prototype}function A(...r){return m(T,r)}function T(r,a){let o={...r,...a};for(let t in a){if(!(t in r))continue;let{[t]:s}=r;if(!I(s))continue;let{[t]:i}=a;I(i)&&(o[t]=T(s,i))}return o}function L(...r){return m(R,r,W)}var R=(r,a)=>r.map(a),W=(r)=>(a,o,t)=>({done:!1,hasNext:!0,next:r(a,o,t)});function k(...r){return x(M,r)}function M(r){let a=r,o=new Set;return(t,s,i)=>{let e=a(t,s,i);return o.has(e)?u:(o.add(e),{done:!1,hasNext:!0,next:t})}}function w(...r){return m(U,r)}function U(r,a){let o={};for(let[t,s]of Object.entries(r))a(s,t,r)&&(o[t]=s);return o}function c(...r){return m(V,r)}var V=(r,a)=>r.length>=a;function F(...r){return m(q,r)}function q(r,a){if(!c(a,1))return{...r};if(!c(a,2)){let{[a[0]]:t,...s}=r;return s}let o={...r};for(let t of a)delete o[t];return o}function H(...r){return m(K,r)}function K(r,a){let o={};for(let[t,s]of Object.entries(r)){let i=a(s,t,r);o[t]=i}return o}function G(...r){return m(J,r)}var J=(r,a)=>{let o=Object.create(null);for(let t=0;t<r.length;t++){let s=r[t],i=a(s,t,r);if(i!==void 0){let e=o[i];e===void 0?o[i]=[s]:e.push(s)}}return Object.setPrototypeOf(o,Object.prototype),o};function X(...r){return m(d,r)}function d(r,a){if(r===a||Object.is(r,a))return!0;if(typeof r!="object"||typeof a!="object"||r===null||a===null||Object.getPrototypeOf(r)!==Object.getPrototypeOf(a))return!1;if(Array.isArray(r))return Y(r,a);if(r instanceof Map)return Z(r,a);if(r instanceof Set)return $(r,a);if(r instanceof Date)return r.getTime()===a.getTime();if(r instanceof RegExp)return r.toString()===a.toString();if(Object.keys(r).length!==Object.keys(a).length)return!1;for(let[o,t]of Object.entries(r))if(!(o in a)||!d(t,a[o]))return!1;return!0}function Y(r,a){if(r.length!==a.length)return!1;for(let[o,t]of r.entries())if(!d(t,a[o]))return!1;return!0}function Z(r,a){if(r.size!==a.size)return!1;for(let[o,t]of r.entries())if(!a.has(o)||!d(t,a.get(o)))return!1;return!0}function $(r,a){if(r.size!==a.size)return!1;let o=[...a];for(let t of r){let s=!1;for(let[i,e]of o.entries())if(d(t,e)){s=!0,o.splice(i,1);break}if(!s)return!1}return!0}function rr(...r){return y(ar,r)}function ar(r,a){if(!c(r,2))return r[0];let[o]=r,[,...t]=r;for(let s of t)a(s,o)<0&&(o=s);return o}function or(...r){return m(tr,r,sr)}var tr=(r,a)=>r.flatMap(a),sr=(r)=>(a,o,t)=>{let s=r(a,o,t);return Array.isArray(s)?{done:!1,hasNext:!0,hasMany:!0,next:s}:{done:!1,hasNext:!0,next:s}};function ir(...r){return m(Object.entries,r)}function mr(...r){return m(er,r,nr)}var er=(r,a)=>r.filter(a),nr=(r)=>(a,o,t)=>r(a,o,t)?{done:!1,hasNext:!0,next:a}:u;var lr={};fr(lr,{match:()=>O,allStructured:()=>ur,all:()=>pr});function O(r,a){if(r)r=r.replaceAll("\\","/");if(a)a=a.replaceAll("\\","/");let o=a.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/\?/g,".");if(o.endsWith(" .*"))o=o.slice(0,-3)+"( .*)?";let t=process.platform==="win32"?"si":"s";return new RegExp("^"+o+"$",t).test(r)}function pr(r,a){let o=l(a,Object.entries,h([([s])=>s.length,"asc"],[([s])=>s,"asc"])),t=void 0;for(let[s,i]of o)if(O(r,s)){t=i;continue}return t}function ur(r,a){let o=l(a,Object.entries,h([([s])=>s.length,"asc"],[([s])=>s,"asc"])),t=void 0;for(let[s,i]of o){let e=s.split(/\s+/);if(!O(r.head,e[0]))continue;if(e.length===1||E(r.tail,e.slice(1))){t=i;continue}}return t}function E(r,a){if(a.length===0)return!0;let[o,...t]=a;if(o==="*")return E(r,t);for(let s=0;s<r.length;s++)if(O(r[s],o)&&E(r.slice(s+1),t))return!0;return!1}var Jm="QITQODE_RUN_ID",Xm="QITQODE_PROCESS_ROLE";function cr(){return process.env.QITQODE_RUN_ID??=crypto.randomUUID()}function dr(r){return process.env.QITQODE_PROCESS_ROLE??=r}function Ym(r){return{runID:cr(),processRole:dr(r)}}function Zm(r){let a=Object.fromEntries(Object.entries(process.env).filter((o)=>o[1]!==void 0));return r?Object.assign(a,r):a}
|
|
3
|
+
export{gr as es,xr as fs,yr as gs,hr as hs,l as is,B as js,k as ks,C as ls,h as ms,w as ns,A as os,F as ps,H as qs,L as rs,G as ss,X as ts,rr as us,or as vs,ir as ws,mr as xs,O as ys,lr as zs,Jm as As,Xm as Bs,cr as Cs,Ym as Ds,Zm as Es};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Fe as Qb}from"./chunk-
|
|
2
|
+
import{Fe as Qb}from"./chunk-6ps30qax.js";import{Je as Xb}from"./chunk-fjftb2sz.js";import{Ke as Wb}from"./chunk-j10a984e.js";import{Le as Jb,Me as Kb,Ne as Lb}from"./chunk-ejhhrece.js";import{Oe as Db}from"./chunk-0a4pmkc9.js";import{Gf as bb,Hf as jb,If as kb,Jf as wb,Kf as Bb}from"./chunk-35fj1sfm.js";import"./chunk-e0vrxetq.js";var K=Lb(),V=Kb(),D=jb(),J=kb(),H=wb(),M=Db(),G=Jb(),P=bb(),E=Qb(),Z=Bb(),m=Wb(),Yb=Xb(),Zb=async(b,j,k)=>{return{operation:D.getSmithyContext(j).operation,region:await D.normalizeProvider(b.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function Hb(b){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:b.region},propertiesExtractor:(j,k)=>({signingProperties:{config:j,context:k}})}}function Gb(b){return{schemeId:"smithy.api#noAuth"}}var zb=(b)=>{let j=[];switch(b.operation){case"GetRoleCredentials":{j.push(Gb());break}default:j.push(Hb(b))}return j},Fb=(b)=>{let j=E.resolveAwsSdkSigV4Config(b);return Object.assign(j,{authSchemePreference:D.normalizeProvider(b.authSchemePreference??[])})},Ib=(b)=>{return Object.assign(b,{useDualstackEndpoint:b.useDualstackEndpoint??!1,useFipsEndpoint:b.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},Nb={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Ub="3.997.14",Vb={version:Ub},z="ref",W=-1,N=!0,S="isSet",a="PartitionResult",U="booleanEquals",A="getAttr",h={[z]:"Endpoint"},v={[z]:a},Y={},p=[{[z]:"Region"}],u={conditions:[[S,[h]],[S,p],["aws.partition",p,a],[U,[{[z]:"UseFIPS"},N]],[U,[{[z]:"UseDualStack"},N]],[U,[{fn:A,argv:[v,"supportsDualStack"]},N]],[U,[{fn:A,argv:[v,"supportsFIPS"]},N]],["stringEquals",[{fn:A,argv:[v,"name"]},"aws-us-gov"]]],results:[[W],[W,"Invalid Configuration: FIPS and custom endpoint are not supported"],[W,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[h,Y],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",Y],[W,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",Y],["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",Y],[W,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",Y],[W,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",Y],[W,"Invalid Configuration: Missing Region"]]},Mb=2,B=1e8,qb=new Int32Array([-1,1,-1,0,13,3,1,4,B+12,2,5,B+12,3,8,6,4,7,B+11,5,B+9,B+10,4,11,9,6,10,B+8,7,B+6,B+7,5,12,B+5,6,B+4,B+5,3,B+1,14,4,B+2,B+3]),Tb=H.BinaryDecisionDiagram.from(qb,Mb,u.conditions,u.results),yb=new H.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Ob=(b,j={})=>{return yb.get(b,()=>H.decideEndpoint(Tb,{endpointParams:b,logger:j.logger}))};H.customEndpointFunctions.aws=K.awsEndpointFunctions;class X extends D.ServiceException{constructor(b){super(b);Object.setPrototypeOf(this,X.prototype)}}class l extends X{name="InvalidRequestException";$fault="client";constructor(b){super({name:"InvalidRequestException",$fault:"client",...b});Object.setPrototypeOf(this,l.prototype)}}class x extends X{name="ResourceNotFoundException";$fault="client";constructor(b){super({name:"ResourceNotFoundException",$fault:"client",...b});Object.setPrototypeOf(this,x.prototype)}}class C extends X{name="TooManyRequestsException";$fault="client";constructor(b){super({name:"TooManyRequestsException",$fault:"client",...b});Object.setPrototypeOf(this,C.prototype)}}class $ extends X{name="UnauthorizedException";$fault="client";constructor(b){super({name:"UnauthorizedException",$fault:"client",...b});Object.setPrototypeOf(this,$.prototype)}}var Rb="AccessTokenType",Ab="GetRoleCredentials",vb="GetRoleCredentialsRequest",Pb="GetRoleCredentialsResponse",Eb="InvalidRequestException",lb="RoleCredentials",xb="ResourceNotFoundException",Cb="SecretAccessKeyType",$b="SessionTokenType",_b="TooManyRequestsException",db="UnauthorizedException",mb="accountId",Sb="accessKeyId",hb="accessToken",pb="account_id",q="client",T="error",ub="expiration",sb="http",y="httpError",ab="httpHeader",s="httpQuery",O="message",rb="roleCredentials",gb="roleName",fb="role_name",r="smithy.ts.sdk.synthetic.com.amazonaws.sso",cb="secretAccessKey",tb="sessionToken",eb="x-amz-sso_bearer_token",L="com.amazonaws.sso",g=P.TypeRegistry.for(r),ib=[-3,r,"SSOServiceException",0,[],[]];g.registerError(ib,X);var F=P.TypeRegistry.for(L),nb=[-3,L,Eb,{[T]:q,[y]:400},[O],[0]];F.registerError(nb,l);var ob=[-3,L,xb,{[T]:q,[y]:404},[O],[0]];F.registerError(ob,x);var bj=[-3,L,_b,{[T]:q,[y]:429},[O],[0]];F.registerError(bj,C);var jj=[-3,L,db,{[T]:q,[y]:401},[O],[0]];F.registerError(jj,$);var kj=[g,F],wj=[0,L,Rb,8,0],Bj=[0,L,Cb,8,0],Dj=[0,L,$b,8,0],Jj=[3,L,vb,0,[gb,mb,hb],[[0,{[s]:fb}],[0,{[s]:pb}],[()=>wj,{[ab]:eb}]],3],Kj=[3,L,Pb,0,[rb],[[()=>Lj,0]]],Lj=[3,L,lb,0,[Sb,cb,tb,ub],[0,[()=>Bj,0],[()=>Dj,0],1]],Qj=[9,L,Ab,{[sb]:["GET","/federation/credentials",200]},()=>Jj,()=>Kj],Wj=(b)=>{return{apiVersion:"2019-06-10",base64Decoder:b?.base64Decoder??Z.fromBase64,base64Encoder:b?.base64Encoder??Z.toBase64,disableHostPrefix:b?.disableHostPrefix??!1,endpointProvider:b?.endpointProvider??Ob,extensions:b?.extensions??[],httpAuthSchemeProvider:b?.httpAuthSchemeProvider??zb,httpAuthSchemes:b?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(j)=>j.getIdentityProvider("aws.auth#sigv4"),signer:new E.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(j)=>j.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new V.NoAuthSigner}],logger:b?.logger??new D.NoOpLogger,protocol:b?.protocol??Yb.AwsRestJsonProtocol,protocolSettings:b?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:kj,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:b?.serviceId??"SSO",urlParser:b?.urlParser??M.parseUrl,utf8Decoder:b?.utf8Decoder??Z.fromUtf8,utf8Encoder:b?.utf8Encoder??Z.toUtf8}},Xj=(b)=>{D.emitWarningIfUnsupportedVersion(process.version);let j=J.resolveDefaultsModeConfig(b),k=()=>j().then(D.loadConfigsForDefaultMode),Q=Wj(b);K.emitWarningIfUnsupportedVersion(process.version);let w={profile:b?.profile,logger:Q.logger};return{...Q,...b,runtime:"node",defaultsMode:j,authSchemePreference:b?.authSchemePreference??J.loadConfig(E.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,w),bodyLengthChecker:b?.bodyLengthChecker??Z.calculateBodyLength,defaultUserAgentProvider:b?.defaultUserAgentProvider??K.createDefaultUserAgentProvider({serviceId:Q.serviceId,clientVersion:Vb.version}),maxAttempts:b?.maxAttempts??J.loadConfig(G.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,b),region:b?.region??J.loadConfig(J.NODE_REGION_CONFIG_OPTIONS,{...J.NODE_REGION_CONFIG_FILE_OPTIONS,...w}),requestHandler:m.NodeHttpHandler.create(b?.requestHandler??k),retryMode:b?.retryMode??J.loadConfig({...G.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await k()).retryMode||G.DEFAULT_RETRY_MODE},b),sha256:b?.sha256??Z.Hash.bind(null,"sha256"),streamCollector:b?.streamCollector??m.streamCollector,useDualstackEndpoint:b?.useDualstackEndpoint??J.loadConfig(J.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,w),useFipsEndpoint:b?.useFipsEndpoint??J.loadConfig(J.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,w),userAgentAppId:b?.userAgentAppId??J.loadConfig(K.NODE_APP_ID_CONFIG_OPTIONS,w)}},Yj=(b)=>{let{httpAuthSchemes:j,httpAuthSchemeProvider:k,credentials:Q}=b;return{setHttpAuthScheme(w){let I=j.findIndex((R)=>R.schemeId===w.schemeId);if(I===-1)j.push(w);else j.splice(I,1,w)},httpAuthSchemes(){return j},setHttpAuthSchemeProvider(w){k=w},httpAuthSchemeProvider(){return k},setCredentials(w){Q=w},credentials(){return Q}}},Zj=(b)=>{return{httpAuthSchemes:b.httpAuthSchemes(),httpAuthSchemeProvider:b.httpAuthSchemeProvider(),credentials:b.credentials()}},Hj=(b,j)=>{let k=Object.assign(K.getAwsRegionExtensionConfiguration(b),D.getDefaultExtensionConfiguration(b),M.getHttpHandlerExtensionConfiguration(b),Yj(b));return j.forEach((Q)=>Q.configure(k)),Object.assign(b,K.resolveAwsRegionExtensionConfiguration(k),D.resolveDefaultRuntimeConfig(k),M.resolveHttpHandlerRuntimeConfig(k),Zj(k))};class _ extends D.Client{config;constructor(...[b]){let j=Xj(b||{});super(j);this.initConfig=j;let k=Ib(j),Q=K.resolveUserAgentConfig(k),w=G.resolveRetryConfig(Q),I=J.resolveRegionConfig(w),R=K.resolveHostHeaderConfig(I),e=H.resolveEndpointConfig(R),i=Fb(e),n=Hj(i,b?.extensions||[]);this.config=n,this.middlewareStack.use(P.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(K.getUserAgentPlugin(this.config)),this.middlewareStack.use(G.getRetryPlugin(this.config)),this.middlewareStack.use(M.getContentLengthPlugin(this.config)),this.middlewareStack.use(K.getHostHeaderPlugin(this.config)),this.middlewareStack.use(K.getLoggerPlugin(this.config)),this.middlewareStack.use(K.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(V.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Zb,identityProviderConfigProvider:async(o)=>new V.DefaultIdentityProviderConfig({"aws.auth#sigv4":o.credentials})})),this.middlewareStack.use(V.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class d extends D.Command.classBuilder().ep(Nb).m(function(b,j,k,Q){return[H.getEndpointPlugin(k,b.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(Qj).build(){}var Gj={GetRoleCredentialsCommand:d};class f extends _{}D.createAggregatedClient(Gj,f);var{Command:zj,Client:Fj}=D;var c=d;var t=_;export{t as SSOClient,c as GetRoleCredentialsCommand};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Bf as Lh}from"./chunk-
|
|
2
|
+
import{Bf as Lh}from"./chunk-ccf4pgkr.js";import{Cf as Mt}from"./chunk-dwkrqtbc.js";import"./chunk-rwnwjm82.js";import{Kf as eh}from"./chunk-35fj1sfm.js";import{Lf as hh,Nf as gt}from"./chunk-d839fr0w.js";import{$o as Lt,Ap as E,Bp as k,Dp as _,Gp as th,Hp as Ct,Io as Y,Mo as vt,Oo as lt,Po as bt,Yo as _t,ap as ft,bp as wt,gp as jt,hp as o,jp as St,lp as dt,mp as et,op as pt,qp as ot,tp as v,up as r}from"./chunk-wm9nh9nb.js";import{Lp as rt,Up as kt,Wp as I}from"./chunk-scnbt714.js";import"./chunk-cqtkxwd8.js";import"./chunk-y3gy62q5.js";import{Kt as h}from"./chunk-a48mx917.js";import"./chunk-3va85mbe.js";import{tO as ut}from"./chunk-e0vrxetq.js";var Ft=ut(Mt(),1);var J=ut(eh(),1);class ht{bytes;constructor(t){if(this.bytes=t,t.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(t){if(t>9223372036854776000||t<-9223372036854776000)throw Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);let s=new Uint8Array(8);for(let a=7,y=Math.abs(Math.round(t));a>-1&&y>0;a--,y/=256)s[a]=y;if(t<0)Qt(s);return new ht(s)}valueOf(){let t=this.bytes.slice(0),s=t[0]&128;if(s)Qt(t);return parseInt(J.toHex(t),16)*(s?-1:1)}toString(){return String(this.valueOf())}}function Qt(t){for(let s=0;s<8;s++)t[s]^=255;for(let s=7;s>-1;s--)if(t[s]++,t[s]!==0)break}class Ut{toUtf8;fromUtf8;constructor(t,s){this.toUtf8=t,this.fromUtf8=s}format(t){let s=[];for(let w of Object.keys(t)){let f=this.fromUtf8(w);s.push(Uint8Array.from([f.byteLength]),f,this.formatHeaderValue(t[w]))}let a=new Uint8Array(s.reduce((w,f)=>w+f.byteLength,0)),y=0;for(let w of s)a.set(w,y),y+=w.byteLength;return a}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":let s=new DataView(new ArrayBuffer(3));return s.setUint8(0,3),s.setInt16(1,t.value,!1),new Uint8Array(s.buffer);case"integer":let a=new DataView(new ArrayBuffer(5));return a.setUint8(0,4),a.setInt32(1,t.value,!1),new Uint8Array(a.buffer);case"long":let y=new Uint8Array(9);return y[0]=5,y.set(t.value.bytes,1),y;case"binary":let w=new DataView(new ArrayBuffer(3+t.value.byteLength));w.setUint8(0,6),w.setUint16(1,t.value.byteLength,!1);let f=new Uint8Array(w.buffer);return f.set(t.value,3),f;case"string":let S=this.fromUtf8(t.value),g=new DataView(new ArrayBuffer(3+S.byteLength));g.setUint8(0,7),g.setUint16(1,S.byteLength,!1);let c=new Uint8Array(g.buffer);return c.set(S,3),c;case"timestamp":let T=new Uint8Array(9);return T[0]=8,T.set(ht.fromNumber(t.value.valueOf()).bytes,1),T;case"uuid":if(!Gh.test(t.value))throw Error(`Invalid UUID received: ${t.value}`);let N=new Uint8Array(17);return N[0]=9,N.set(J.fromHex(t.value.replace(/\-/g,"")),1),N}}parse(t){let s={},a=0;while(a<t.byteLength){let y=t.getUint8(a++),w=this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+a,y));switch(a+=y,t.getUint8(a++)){case 0:s[w]={type:Zt,value:!0};break;case 1:s[w]={type:Zt,value:!1};break;case 2:s[w]={type:gh,value:t.getInt8(a++)};break;case 3:s[w]={type:Ah,value:t.getInt16(a,!1)},a+=2;break;case 4:s[w]={type:mh,value:t.getInt32(a,!1)},a+=4;break;case 5:s[w]={type:Uh,value:new ht(new Uint8Array(t.buffer,t.byteOffset+a,8))},a+=8;break;case 6:let f=t.getUint16(a,!1);a+=2,s[w]={type:zh,value:new Uint8Array(t.buffer,t.byteOffset+a,f)},a+=f;break;case 7:let S=t.getUint16(a,!1);a+=2,s[w]={type:Nh,value:this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+a,S))},a+=S;break;case 8:s[w]={type:Th,value:new Date(new ht(new Uint8Array(t.buffer,t.byteOffset+a,8)).valueOf())},a+=8;break;case 9:let g=new Uint8Array(t.buffer,t.byteOffset+a,16);a+=16,s[w]={type:$h,value:`${J.toHex(g.subarray(0,4))}-${J.toHex(g.subarray(4,6))}-${J.toHex(g.subarray(6,8))}-${J.toHex(g.subarray(8,10))}-${J.toHex(g.subarray(10))}`};break;default:throw Error("Unrecognized header type tag")}}return s}}var xt;(function(t){t[t.boolTrue=0]="boolTrue",t[t.boolFalse=1]="boolFalse",t[t.byte=2]="byte",t[t.short=3]="short",t[t.integer=4]="integer",t[t.long=5]="long",t[t.byteArray=6]="byteArray",t[t.string=7]="string",t[t.timestamp=8]="timestamp",t[t.uuid=9]="uuid"})(xt||(xt={}));var Zt="boolean",gh="byte",Ah="short",mh="integer",Uh="long",zh="binary",Nh="string",Th="timestamp",$h="uuid",Gh=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var Dt=ut(Mt(),1),Vt=4,l=Vt*2,p=4,Xh=l+p*2;function qt({byteLength:t,byteOffset:s,buffer:a}){if(t<Xh)throw Error("Provided message too short to accommodate event stream message overhead");let y=new DataView(a,s,t),w=y.getUint32(0,!1);if(t!==w)throw Error("Reported message length does not match received message length");let f=y.getUint32(Vt,!1),S=y.getUint32(l,!1),g=y.getUint32(t-p,!1),c=new Dt.Crc32().update(new Uint8Array(a,s,l));if(S!==c.digest())throw Error(`The prelude checksum specified in the message (${S}) does not match the calculated CRC32 checksum (${c.digest()})`);if(c.update(new Uint8Array(a,s+l,t-(l+p))),g!==c.digest())throw Error(`The message checksum (${c.digest()}) did not match the expected value of ${g}`);return{headers:new DataView(a,s+l+p,f),body:new Uint8Array(a,s+l+p+f,w-f-(l+p+p))}}class zt{headerMarshaller;messageBuffer;isEndOfStream;constructor(t,s){this.headerMarshaller=new Ut(t,s),this.messageBuffer=[],this.isEndOfStream=!1}feed(t){this.messageBuffer.push(this.decode(t))}endOfStream(){this.isEndOfStream=!0}getMessage(){let t=this.messageBuffer.pop(),s=this.isEndOfStream;return{getMessage(){return t},isEndOfStream(){return s}}}getAvailableMessages(){let t=this.messageBuffer;this.messageBuffer=[];let s=this.isEndOfStream;return{getMessages(){return t},isEndOfStream(){return s}}}encode({headers:t,body:s}){let a=this.headerMarshaller.format(t),y=a.byteLength+s.byteLength+16,w=new Uint8Array(y),f=new DataView(w.buffer,w.byteOffset,w.byteLength),S=new Ft.Crc32;return f.setUint32(0,y,!1),f.setUint32(4,a.byteLength,!1),f.setUint32(8,S.update(w.subarray(0,8)).digest(),!1),w.set(a,12),w.set(s,a.byteLength+12),f.setUint32(y-4,S.update(w.subarray(8,y-4)).digest(),!1),w}decode(t){let{headers:s,body:a}=qt(t);return{headers:this.headerMarshaller.parse(s),body:a}}formatHeaders(t){return this.headerMarshaller.format(t)}}var At=ut(Lh(),1);var Tt=new TextEncoder,bh={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},jh=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]);class $t{constructor({method:t,url:s,headers:a,body:y,accessKeyId:w,secretAccessKey:f,sessionToken:S,service:g,region:c,cache:T,datetime:N,signQuery:j,appendSessionToken:e,allHeaders:A,singleEncode:m}){if(s==null)throw TypeError("url is a required option");if(w==null)throw TypeError("accessKeyId is a required option");if(f==null)throw TypeError("secretAccessKey is a required option");this.method=t||(y?"POST":"GET"),this.url=new URL(s),this.headers=new Headers(a||{}),this.body=y,this.accessKeyId=w,this.secretAccessKey=f,this.sessionToken=S;let $,i;if(!g||!c)[$,i]=Ch(this.url,this.headers);if(this.service=g||$||"",this.region=c||i||"us-east-1",this.cache=T||new Map,this.datetime=N||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=j,this.appendSessionToken=e||this.service==="iotdevicegateway",this.headers.delete("Host"),this.service==="s3"&&!this.signQuery&&!this.headers.has("X-Amz-Content-Sha256"))this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");let H=this.signQuery?this.url.searchParams:this.headers;if(H.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken)H.set("X-Amz-Security-Token",this.sessionToken);if(this.signableHeaders=["host",...this.headers.keys()].filter((u)=>A||!jh.has(u)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map((u)=>u+":"+(u==="host"?this.url.host:(this.headers.get(u)||"").replace(/\s+/g," "))).join(`
|
|
3
3
|
`),this.credentialString=[this.datetime.slice(0,8),this.region,this.service,"aws4_request"].join("/"),this.signQuery){if(this.service==="s3"&&!H.has("X-Amz-Expires"))H.set("X-Amz-Expires","86400");H.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),H.set("X-Amz-Credential",this.accessKeyId+"/"+this.credentialString),H.set("X-Amz-SignedHeaders",this.signedHeaders)}if(this.service==="s3")try{this.encodedPath=decodeURIComponent(this.url.pathname.replace(/\+/g," "))}catch(u){this.encodedPath=this.url.pathname}else this.encodedPath=this.url.pathname.replace(/\/+/g,"/");if(!m)this.encodedPath=encodeURIComponent(this.encodedPath).replace(/%2F/g,"/");this.encodedPath=Yt(this.encodedPath);let C=new Set;this.encodedSearch=[...this.url.searchParams].filter(([u])=>{if(!u)return!1;if(this.service==="s3"){if(C.has(u))return!1;C.add(u)}return!0}).map((u)=>u.map((X)=>Yt(encodeURIComponent(X)))).sort(([u,X],[L,W])=>u<L?-1:u>L?1:X<W?-1:X>W?1:0).map((u)=>u.join("=")).join("&")}async sign(){if(this.signQuery){if(this.url.searchParams.set("X-Amz-Signature",await this.signature()),this.sessionToken&&this.appendSessionToken)this.url.searchParams.set("X-Amz-Security-Token",this.sessionToken)}else this.headers.set("Authorization",await this.authHeader());return{method:this.method,url:this.url,headers:this.headers,body:this.body}}async authHeader(){return["AWS4-HMAC-SHA256 Credential="+this.accessKeyId+"/"+this.credentialString,"SignedHeaders="+this.signedHeaders,"Signature="+await this.signature()].join(", ")}async signature(){let t=this.datetime.slice(0,8),s=[this.secretAccessKey,t,this.region,this.service].join(),a=this.cache.get(s);if(!a){let y=await at("AWS4"+this.secretAccessKey,t),w=await at(y,this.region),f=await at(w,this.service);a=await at(f,"aws4_request"),this.cache.set(s,a)}return Nt(await at(a,await this.stringToSign()))}async stringToSign(){return["AWS4-HMAC-SHA256",this.datetime,this.credentialString,Nt(await Pt(await this.canonicalString()))].join(`
|
|
4
4
|
`)}async canonicalString(){return[this.method.toUpperCase(),this.encodedPath,this.encodedSearch,this.canonicalHeaders+`
|
|
5
5
|
`,this.signedHeaders,await this.hexBodyHash()].join(`
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{hO as a,iO as b,jO as c,kO as d,lO as e,mO as f,nO as g,oO as h,pO as i,qO as j}from"./chunk-s2tc3qs0.js";import"./chunk-e0vrxetq.js";export{c as TreeCursor,b as Tree,f as Query,j as Parser,d as Node,i as MIN_COMPATIBLE_VERSION,a as LookaheadIterator,g as Language,h as LANGUAGE_VERSION,e as CaptureQuantifier};
|