@qitqode/qitqode-android-arm64 0.2.1 → 0.2.3
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/bun +0 -0
- package/bundle/{chunk-2hv2c8d5.js → chunk-0428v6mw.js} +1 -1
- package/bundle/{chunk-0f3ft9dh.js → chunk-05ck7acg.js} +1 -1
- package/bundle/{chunk-p5mes2sh.js → chunk-083wpv6r.js} +1 -1
- package/bundle/{chunk-j5ymkhry.js → chunk-0cnwsf8p.js} +1 -1
- package/bundle/{chunk-6y4mwmn4.js → chunk-0nbteyb0.js} +2 -2
- package/bundle/chunk-0nqf1k20.js +2 -0
- package/bundle/chunk-0ppnq3a4.js +2 -0
- package/bundle/{chunk-6kf4vw2g.js → chunk-0qd3567w.js} +1 -1
- package/bundle/{chunk-jw114bbt.js → chunk-0smnwqk6.js} +2 -2
- package/bundle/chunk-0te0vcdn.js +2 -0
- package/bundle/{chunk-sh76e256.js → chunk-0vakk88p.js} +2 -2
- package/bundle/{chunk-wp3dpt6d.js → chunk-0vxnkstz.js} +2 -2
- package/bundle/{chunk-q4fn41ex.js → chunk-0xrb12s8.js} +2 -2
- package/bundle/chunk-11h06z17.js +2 -0
- package/bundle/chunk-16w710kf.js +3 -0
- package/bundle/{chunk-6dfjtzqb.js → chunk-21rq4592.js} +2 -2
- package/bundle/{chunk-y3dfk6n5.js → chunk-24rkf2gk.js} +1 -1
- package/bundle/{chunk-rdwma0de.js → chunk-24ygjbpf.js} +2 -2
- package/bundle/chunk-262s2yz2.js +2 -0
- package/bundle/chunk-28yv4fqe.js +2 -0
- package/bundle/{chunk-3tmq81kq.js → chunk-2drzgtv3.js} +2 -2
- package/bundle/{chunk-xd3xc1vv.js → chunk-2md6sx8d.js} +1 -1
- package/bundle/{chunk-v9rg0a8g.js → chunk-313zqzc1.js} +1 -1
- package/bundle/{chunk-zfd70p01.js → chunk-32j0q58h.js} +1 -1
- package/bundle/chunk-34a52hyr.js +2 -0
- package/bundle/{chunk-86jsqc7d.js → chunk-39z96pc6.js} +3 -3
- package/bundle/{chunk-g9end129.js → chunk-3atcc483.js} +1 -1
- package/bundle/{chunk-e6wp96vm.js → chunk-3jf3jhrs.js} +1 -1
- package/bundle/{chunk-4sxg9cgr.js → chunk-3kpse7zy.js} +1 -1
- package/bundle/chunk-3n3gb3vd.js +2 -0
- package/bundle/chunk-3sq60y9f.js +2 -0
- package/bundle/{chunk-2qwmrp16.js → chunk-3vvd7j14.js} +1 -1
- package/bundle/chunk-4086z5ys.js +2 -0
- package/bundle/{chunk-rcyzqa3g.js → chunk-450fef7h.js} +2 -2
- package/bundle/{chunk-kxjrrdj0.js → chunk-45a4n21f.js} +1 -1
- package/bundle/{chunk-xny5ecn0.js → chunk-47k5jy1p.js} +2 -2
- package/bundle/{chunk-dj3525nn.js → chunk-47z3x3dp.js} +189 -228
- package/bundle/{chunk-0gab4v98.js → chunk-48r70n4s.js} +1 -1
- package/bundle/chunk-49mbnqvc.js +2 -0
- package/bundle/{chunk-yerfyz4w.js → chunk-49xhybc2.js} +1 -1
- package/bundle/{chunk-t9zbp2qw.js → chunk-4agaj51z.js} +1 -1
- package/bundle/{chunk-faa0zxey.js → chunk-4dnntf9k.js} +2 -2
- package/bundle/chunk-4fr6kae9.js +2 -0
- package/bundle/chunk-4websxrs.js +2 -0
- package/bundle/chunk-516w1nc4.js +2 -0
- package/bundle/chunk-52w60e1f.js +2 -0
- package/bundle/chunk-535nm66j.js +2 -0
- package/bundle/{chunk-1p6jjrea.js → chunk-55fcmswd.js} +2 -2
- package/bundle/{chunk-n7kqdqkh.js → chunk-55ykn8nz.js} +4 -4
- package/bundle/chunk-565855py.js +2 -0
- package/bundle/chunk-56v352f8.js +2 -0
- package/bundle/chunk-5bjtq8t2.js +2 -0
- package/bundle/{chunk-as845ya4.js → chunk-5c2438af.js} +1 -1
- package/bundle/chunk-5kpxpm8e.js +2 -0
- package/bundle/chunk-5nm5s0h2.js +2 -0
- package/bundle/{chunk-07s30fpb.js → chunk-5nrc5rhh.js} +1 -1
- package/bundle/{chunk-jwph7tpc.js → chunk-5pwv2p3s.js} +1 -1
- package/bundle/{chunk-q5abwn50.js → chunk-5pzs51sp.js} +1 -1
- package/bundle/{chunk-r0s28gnb.js → chunk-5tky3csh.js} +1 -1
- package/bundle/{chunk-yajd975f.js → chunk-5w76kdjr.js} +1 -1
- package/bundle/{chunk-wcqfr8vr.js → chunk-5ysbwr4x.js} +1 -1
- package/bundle/{chunk-g5cgpvef.js → chunk-5zkj5xv9.js} +2 -2
- package/bundle/{chunk-fgn83bs7.js → chunk-65bmsp2t.js} +1 -1
- package/bundle/chunk-65t9b9eq.js +3 -0
- package/bundle/{chunk-9jrxrjzt.js → chunk-68v3b6ns.js} +2 -2
- package/bundle/{chunk-7ntw4rrn.js → chunk-6ar91jvd.js} +1 -1
- package/bundle/{chunk-bbbh69ys.js → chunk-6evh2ke8.js} +1 -1
- package/bundle/chunk-6gpf2bjs.js +2 -0
- package/bundle/{chunk-a2dz9nqh.js → chunk-6m9jb0s9.js} +2 -2
- package/bundle/{chunk-yvjke593.js → chunk-6scf311w.js} +1 -1
- package/bundle/{chunk-jjjs8p0t.js → chunk-6tstcwxp.js} +2 -2
- package/bundle/{chunk-5wwd40t3.js → chunk-70q8qcb2.js} +1 -1
- package/bundle/{chunk-pfkm3j8g.js → chunk-73r8bjjz.js} +2 -2
- package/bundle/{chunk-bzs2ep7s.js → chunk-78pt314g.js} +1 -1
- package/bundle/{chunk-hs3vfhar.js → chunk-7bcm7gg1.js} +1 -1
- package/bundle/chunk-7bgzcpdw.js +2 -0
- package/bundle/{chunk-ezfzb8qc.js → chunk-7g66qc1v.js} +2 -2
- package/bundle/{chunk-fd7fmvyw.js → chunk-7hvf9dgx.js} +1 -1
- package/bundle/chunk-7kjvcbwa.js +2 -0
- package/bundle/chunk-7knnz5f1.js +2 -0
- package/bundle/{chunk-6j339s7a.js → chunk-7mppvhv9.js} +2 -2
- package/bundle/{chunk-yqb6cfed.js → chunk-7vmx8bg9.js} +2 -2
- package/bundle/{chunk-7njz51r4.js → chunk-7x6yrtzn.js} +1 -1
- package/bundle/{chunk-skv9ww0s.js → chunk-804vmbcd.js} +1 -1
- package/bundle/{chunk-qeg0jnxq.js → chunk-88q0mtgp.js} +2 -2
- package/bundle/chunk-8jma2btf.js +2 -0
- package/bundle/{chunk-jgtcfw96.js → chunk-8mm92zn2.js} +2 -2
- package/bundle/{chunk-kdcnder5.js → chunk-8wwdrwf2.js} +1 -1
- package/bundle/{chunk-4fk46ngj.js → chunk-920z7g7j.js} +1 -1
- package/bundle/chunk-93e0w75z.js +2 -0
- package/bundle/{chunk-pzefsndd.js → chunk-953pqp3w.js} +1 -1
- package/bundle/chunk-96wwns35.js +2 -0
- package/bundle/chunk-97gp818s.js +2 -0
- package/bundle/chunk-9epf2zbh.js +2 -0
- package/bundle/chunk-9fyz4sxa.js +2 -0
- package/bundle/{chunk-4hd3v58j.js → chunk-9hz56z6a.js} +1 -1
- package/bundle/{chunk-rk2bk4s7.js → chunk-9zm6r55d.js} +2 -2
- package/bundle/chunk-a7wmadf1.js +2 -0
- package/bundle/{chunk-w7em72p8.js → chunk-ac7482n2.js} +2 -2
- package/bundle/chunk-agv04nt7.js +2 -0
- package/bundle/{chunk-cbmwhvxw.js → chunk-at22twxx.js} +2 -2
- package/bundle/{chunk-ahyqfbmq.js → chunk-avefgbjg.js} +2 -2
- package/bundle/chunk-azpnrnv9.js +8251 -0
- package/bundle/{chunk-z2h1gxyx.js → chunk-bbng1cea.js} +1 -1
- package/bundle/{chunk-5az84brc.js → chunk-bd21p9zz.js} +2 -2
- package/bundle/chunk-be7smmar.js +2 -0
- package/bundle/{chunk-y4e7e42x.js → chunk-bne5w117.js} +4 -4
- package/bundle/{chunk-j3jqk62r.js → chunk-bqn6bqws.js} +1 -1
- package/bundle/{chunk-f4zfk5ye.js → chunk-brws2aht.js} +1 -1
- package/bundle/chunk-bryx5cx9.js +2 -0
- package/bundle/{chunk-9eg2ytjd.js → chunk-bvf2dcq4.js} +3 -3
- package/bundle/{chunk-tge53d52.js → chunk-bwbqkfv0.js} +1 -1
- package/bundle/chunk-c13rrw41.js +2 -0
- package/bundle/chunk-c2kkv619.js +2 -0
- package/bundle/{chunk-64c8q9zg.js → chunk-c36p881g.js} +3 -3
- package/bundle/chunk-c5xj1y5v.js +2 -0
- package/bundle/chunk-c74cxhjb.js +2 -0
- package/bundle/chunk-cejyed1j.js +2 -0
- package/bundle/chunk-ckpm4dvv.js +2 -0
- package/bundle/{chunk-732yr6qq.js → chunk-cmb62jkt.js} +2 -2
- package/bundle/chunk-ct8twng1.js +2 -0
- package/bundle/{chunk-1q1cddy4.js → chunk-cz5vta94.js} +1 -1
- package/bundle/{chunk-fpm2vgz6.js → chunk-d0x5pbkm.js} +1 -1
- package/bundle/chunk-d38y7bvh.js +2 -0
- package/bundle/chunk-d6hxsfm6.js +2 -0
- package/bundle/{chunk-29zm623f.js → chunk-d6jhs818.js} +2 -2
- package/bundle/chunk-descb9jz.js +2 -0
- package/bundle/{chunk-mswx4k75.js → chunk-dnnkq5y4.js} +2 -2
- package/bundle/{chunk-6pcmv8vs.js → chunk-dnsh1v42.js} +2 -2
- package/bundle/{chunk-f7rj6fck.js → chunk-dqp4nmxs.js} +1 -1
- package/bundle/chunk-dvr2b9r1.js +2 -0
- package/bundle/{chunk-s0ty36qg.js → chunk-dxdggn90.js} +1 -1
- package/bundle/{chunk-vjx0064q.js → chunk-e8p92vz4.js} +2 -2
- package/bundle/chunk-ea5fktnn.js +2 -0
- package/bundle/{chunk-t1jgx17a.js → chunk-eg3syjtv.js} +2 -2
- package/bundle/{chunk-2a9rzgk6.js → chunk-ehb4hd9c.js} +1 -1
- package/bundle/{chunk-9jsgs71h.js → chunk-ejqzcdcx.js} +1 -1
- package/bundle/chunk-enmsp09e.js +3 -0
- package/bundle/chunk-epgcsjfp.js +2 -0
- package/bundle/{chunk-5t0w9ecw.js → chunk-et3804wr.js} +1 -1
- package/bundle/{chunk-yd8bzhv6.js → chunk-ezrqhqkp.js} +1 -1
- package/bundle/chunk-f0t7rryn.js +3 -0
- package/bundle/{chunk-p635phfw.js → chunk-f31yvp20.js} +1 -1
- package/bundle/chunk-f4mf6tpp.js +2 -0
- package/bundle/chunk-f97k17t8.js +2 -0
- package/bundle/{chunk-yx1h0b5v.js → chunk-faee8zgc.js} +1 -1
- package/bundle/{chunk-p9mj4zyk.js → chunk-ff548b0j.js} +2 -2
- package/bundle/{chunk-bgng3rdj.js → chunk-fhqfqd5v.js} +2 -2
- package/bundle/{chunk-zek5c15t.js → chunk-fjbv3jht.js} +1 -1
- package/bundle/{chunk-hpa7e9va.js → chunk-fsahzvd5.js} +3 -3
- package/bundle/chunk-g06a4chw.js +2 -0
- package/bundle/{chunk-hq9bgnqb.js → chunk-g22e4gw7.js} +1 -1
- package/bundle/{chunk-s0ptrw0z.js → chunk-g3wvtyw3.js} +1 -1
- package/bundle/{chunk-x4pdpka8.js → chunk-g42krp0z.js} +1 -1
- package/bundle/chunk-g4ehhdzp.js +2 -0
- package/bundle/{chunk-a9y27zd2.js → chunk-gbkz04ke.js} +1 -1
- package/bundle/chunk-gd6qpdjw.js +2 -0
- package/bundle/chunk-gehn9fd9.js +2 -0
- package/bundle/{chunk-0zxwjsvz.js → chunk-ggxzf22k.js} +1 -1
- package/bundle/{chunk-kzvvvj79.js → chunk-gszvgz76.js} +2 -2
- package/bundle/{chunk-g3kd4957.js → chunk-gy21fw82.js} +2 -2
- package/bundle/{chunk-cbf1y12x.js → chunk-h62chdmw.js} +1 -1
- package/bundle/{chunk-knh01n2r.js → chunk-h823m51m.js} +2 -2
- package/bundle/{chunk-zqkv8796.js → chunk-h99tj1e4.js} +1 -1
- package/bundle/{chunk-c1g8n10t.js → chunk-ha1w0xzh.js} +1 -1
- package/bundle/chunk-ha8b2n4x.js +2 -0
- package/bundle/{chunk-rpfhgncs.js → chunk-has2rz35.js} +1 -1
- package/bundle/chunk-hbyrwmne.js +2 -0
- package/bundle/chunk-hhax4mxw.js +2 -0
- package/bundle/{chunk-087tnr8a.js → chunk-hwrrrbqd.js} +1 -1
- package/bundle/chunk-hzrxmdqm.js +2 -0
- package/bundle/{chunk-yd2emszh.js → chunk-j0bwa5dk.js} +2 -2
- package/bundle/{chunk-9b4aqcde.js → chunk-j164q40b.js} +2 -2
- package/bundle/{chunk-qhnpq5gb.js → chunk-j8fcfhr2.js} +2 -2
- package/bundle/{chunk-9ea1n338.js → chunk-j9h1sp4g.js} +2 -2
- package/bundle/{chunk-yrfq22a5.js → chunk-jg1ccs3j.js} +1 -1
- package/bundle/{chunk-d307vb2d.js → chunk-jqk3v8d6.js} +1 -1
- package/bundle/chunk-jrwnz64e.js +3 -0
- package/bundle/chunk-jvkzdap1.js +2 -0
- package/bundle/chunk-jvybgsz5.js +5 -0
- package/bundle/{chunk-pp9neaaz.js → chunk-jww55nk9.js} +1 -1
- package/bundle/{chunk-fvy24yhq.js → chunk-k1nh5sd2.js} +1 -1
- package/bundle/{chunk-wfggztm4.js → chunk-k4gsktts.js} +1 -1
- package/bundle/{chunk-qaz100ht.js → chunk-k5q9px67.js} +1 -1
- package/bundle/chunk-kg8fcv91.js +2 -0
- package/bundle/chunk-kgptyf7n.js +3 -0
- package/bundle/{chunk-b50t4jc5.js → chunk-khzzmyk2.js} +1 -1
- package/bundle/chunk-kjjjrjnb.js +2 -0
- package/bundle/{chunk-jvjq554f.js → chunk-ksme3gj1.js} +1 -1
- package/bundle/chunk-m5cfmhwh.js +2 -0
- package/bundle/{chunk-4v61ysex.js → chunk-m5dm7a1t.js} +1 -1
- package/bundle/{chunk-yr35q7q1.js → chunk-m7ganre7.js} +1 -1
- package/bundle/chunk-m7qxxbns.js +2 -0
- package/bundle/{chunk-y287zwkr.js → chunk-mh19kwzw.js} +1 -1
- package/bundle/{chunk-7my2231h.js → chunk-mhhtf0v3.js} +1 -1
- package/bundle/{chunk-grw4gg9j.js → chunk-mjjaezwq.js} +2 -2
- package/bundle/{chunk-03mbn7nj.js → chunk-mmjgf680.js} +2 -2
- package/bundle/{chunk-jv4th87b.js → chunk-mn9end71.js} +1 -1
- package/bundle/{chunk-dknemkw2.js → chunk-msdypt5f.js} +2 -2
- package/bundle/chunk-n0b0dfqk.js +2 -0
- package/bundle/{chunk-3h49k2ck.js → chunk-n23d0q00.js} +1 -1
- package/bundle/{chunk-mpe8zxc0.js → chunk-n78f8hfk.js} +1 -1
- package/bundle/chunk-n8wg5h5p.js +2 -0
- package/bundle/chunk-nbd13scz.js +28 -0
- package/bundle/{chunk-r2qns6yc.js → chunk-nftgx6bz.js} +1 -1
- package/bundle/{chunk-gr4bctqj.js → chunk-nj1ntakd.js} +2 -2
- package/bundle/{chunk-wdaf713t.js → chunk-nrat6ncm.js} +1 -1
- package/bundle/{chunk-rm5ntsvn.js → chunk-nty5z2cj.js} +1 -1
- package/bundle/chunk-nvwzam7a.js +2 -0
- package/bundle/{chunk-rp8asmq7.js → chunk-p169ee92.js} +1 -1
- package/bundle/chunk-p27a88vp.js +7 -0
- package/bundle/{chunk-xjpvv3vp.js → chunk-p3rd2q47.js} +2 -2
- package/bundle/{chunk-fbm6qczy.js → chunk-p4027t94.js} +1 -1
- package/bundle/{chunk-94qhpkfx.js → chunk-p54bzjtv.js} +1 -1
- package/bundle/{chunk-cp39f96a.js → chunk-p5be5ddp.js} +1 -1
- package/bundle/{chunk-ngvp6zc2.js → chunk-p6crzjtf.js} +2 -2
- package/bundle/chunk-p6hcj3kv.js +2 -0
- package/bundle/{chunk-p4ewy9xh.js → chunk-pb30kkbs.js} +6 -6
- package/bundle/chunk-pexmns0j.js +2 -0
- package/bundle/{chunk-my3cswnp.js → chunk-ph8hn1wt.js} +2 -2
- package/bundle/{chunk-99148b1k.js → chunk-pmg53fdd.js} +1 -1
- package/bundle/{chunk-wf4x5cjc.js → chunk-pr7z5dj8.js} +1 -1
- package/bundle/chunk-pt603np4.js +2 -0
- package/bundle/{chunk-4mvg7jt1.js → chunk-ptqk1j2r.js} +1 -1
- package/bundle/{chunk-a92hh67a.js → chunk-pxm4qvqk.js} +2 -2
- package/bundle/{chunk-3qfpw8f6.js → chunk-qey1efpx.js} +1 -1
- package/bundle/chunk-qk5bfcv8.js +2 -0
- package/bundle/{chunk-mx3jd1p9.js → chunk-qktzz0sy.js} +1 -1
- package/bundle/{chunk-ks1cs80p.js → chunk-qnvsqnz5.js} +2 -2
- package/bundle/{chunk-bcx2vkv4.js → chunk-qp1n7kwe.js} +1 -1
- package/bundle/{chunk-xnhvt98g.js → chunk-qqrc1h5b.js} +2 -2
- package/bundle/{chunk-q148vndn.js → chunk-qqxrvyx0.js} +2 -2
- package/bundle/chunk-qr06byhp.js +2 -0
- package/bundle/{chunk-qg9bt0kx.js → chunk-qrxqfp59.js} +2 -2
- package/bundle/{chunk-gtjn3yc4.js → chunk-qxcyz5hc.js} +2 -2
- package/bundle/{chunk-kc1xmcc9.js → chunk-qznr1emx.js} +41 -39
- package/bundle/{chunk-0z1cxvk1.js → chunk-r5zy4za0.js} +2 -2
- package/bundle/chunk-r7sq3maz.js +2 -0
- package/bundle/{chunk-f83wv08n.js → chunk-r9w0thdk.js} +1 -1
- package/bundle/chunk-rmgs9nmj.js +2 -0
- package/bundle/{chunk-p887g1xj.js → chunk-rn83r0js.js} +1 -1
- package/bundle/{chunk-7myg8076.js → chunk-rp9r3cvt.js} +2 -2
- package/bundle/{chunk-n90eh3e7.js → chunk-rrv0n73b.js} +1 -1
- package/bundle/chunk-rscfes01.js +2 -0
- package/bundle/chunk-rytavefg.js +2 -0
- package/bundle/{chunk-ztn2jv26.js → chunk-s2gg38y0.js} +1 -1
- package/bundle/{chunk-yz0pwv2m.js → chunk-s4vx9x1v.js} +1 -1
- package/bundle/{chunk-x2cavpa9.js → chunk-sfw5qddj.js} +1 -1
- package/bundle/chunk-sh9vjnsh.js +2 -0
- package/bundle/{chunk-6avjq7my.js → chunk-smznrv7k.js} +1 -1
- package/bundle/chunk-snbw69t6.js +2 -0
- package/bundle/chunk-st0c5wwc.js +2 -0
- package/bundle/{chunk-vqss3e48.js → chunk-t0761rhq.js} +2 -2
- package/bundle/{chunk-vqpfpmha.js → chunk-t239rvej.js} +2 -2
- package/bundle/{chunk-bggybm9k.js → chunk-t8c4cs6z.js} +1 -1
- package/bundle/chunk-tdyvps17.js +35 -0
- package/bundle/chunk-teb3k2sf.js +2 -0
- package/bundle/{chunk-ve3np791.js → chunk-tg226j37.js} +1 -1
- package/bundle/{chunk-73fz0cf4.js → chunk-tkrwcjkr.js} +2 -2
- package/bundle/{chunk-v5z6sx6j.js → chunk-tm34qp8j.js} +1 -1
- package/bundle/chunk-tr6rdr6h.js +4 -0
- package/bundle/chunk-ts798jvf.js +2 -0
- package/bundle/chunk-tx5aj02v.js +2 -0
- package/bundle/{chunk-3aq70t26.js → chunk-tza09w2q.js} +1 -1
- package/bundle/chunk-v1t51rrq.js +2 -0
- package/bundle/{chunk-q9ft590w.js → chunk-v6h3nes1.js} +2 -2
- package/bundle/{chunk-e586sjb0.js → chunk-vcygx6hs.js} +2 -2
- package/bundle/{chunk-hmznf0ax.js → chunk-vdxar0ct.js} +1 -1
- package/bundle/{chunk-86yk21g4.js → chunk-venprxdp.js} +1 -1
- package/bundle/{chunk-ywkvq7zb.js → chunk-vf492zs6.js} +1 -1
- package/bundle/chunk-vh9ptqn0.js +2 -0
- package/bundle/{chunk-w79jzf8w.js → chunk-vnrjk2be.js} +1 -1
- package/bundle/{chunk-8q5ns61h.js → chunk-vshycswk.js} +1 -1
- package/bundle/{chunk-8e6gx3gg.js → chunk-vsz4s6zt.js} +1 -1
- package/bundle/{chunk-vhe92p7a.js → chunk-vygkwwjd.js} +2 -2
- package/bundle/{chunk-9rxyq6f9.js → chunk-w46g7kdq.js} +2 -2
- package/bundle/{chunk-q128vfc6.js → chunk-w4brava0.js} +1 -1
- package/bundle/{chunk-drwqag0f.js → chunk-w4synhfg.js} +1 -1
- package/bundle/chunk-w72rctxz.js +2 -0
- package/bundle/{chunk-mxhb5adq.js → chunk-w9gzfsy7.js} +2 -2
- package/bundle/chunk-wbw9zv3h.js +2 -0
- package/bundle/chunk-wg55bwqh.js +8 -0
- package/bundle/{chunk-1sfcxdbw.js → chunk-wkg3c643.js} +2 -2
- package/bundle/{chunk-2bgqy6z7.js → chunk-wwdpw27v.js} +1 -1
- package/bundle/{chunk-km1n4ttr.js → chunk-wy3a4cab.js} +1 -1
- package/bundle/{chunk-tczbhj0e.js → chunk-wyj8cpx5.js} +1 -1
- package/bundle/chunk-x6mw98c2.js +2 -0
- package/bundle/chunk-x9ptmxt7.js +2 -0
- package/bundle/{chunk-8rh0femq.js → chunk-xdd3553a.js} +1 -1
- package/bundle/{chunk-2jpmxt4v.js → chunk-xdteq9bd.js} +1 -1
- package/bundle/{chunk-9y15zjxa.js → chunk-xe69cnsk.js} +1 -1
- package/bundle/{chunk-qkh8697x.js → chunk-xq2kcar4.js} +2 -2
- package/bundle/{chunk-bk3z400e.js → chunk-y0527cg0.js} +1 -1
- package/bundle/{chunk-hrw5rmj1.js → chunk-y29ejqg2.js} +1 -1
- package/bundle/{chunk-42r7z6sq.js → chunk-y67kaj0b.js} +1 -1
- package/bundle/chunk-y6p57wgh.js +2 -0
- package/bundle/chunk-y6xs8v17.js +2 -0
- package/bundle/{chunk-zdzxsyxs.js → chunk-y7hgevfv.js} +2 -2
- package/bundle/{chunk-k1gddnkm.js → chunk-ybane1en.js} +1 -1
- package/bundle/{chunk-k6cbfrzc.js → chunk-yhj01dz9.js} +2 -2
- package/bundle/{chunk-2xqqkf86.js → chunk-ypdt9mmr.js} +2 -2
- package/bundle/chunk-yvn8dmah.js +2 -0
- package/bundle/{chunk-vm1ek7yf.js → chunk-yz25607t.js} +1 -1
- package/bundle/{chunk-ypcc3cnb.js → chunk-z1932c3f.js} +1 -1
- package/bundle/chunk-z3xsfpc6.js +2 -0
- package/bundle/chunk-z4kjxtjq.js +2 -0
- package/bundle/{chunk-6ypafpg8.js → chunk-z6sbjvtv.js} +1 -1
- package/bundle/chunk-z8mj4z6e.js +2 -0
- package/bundle/{chunk-ta7mfkms.js → chunk-zc0cdvcv.js} +2 -2
- package/bundle/chunk-zgv1e250.js +2 -0
- package/bundle/chunk-zn5pw733.js +2 -0
- package/bundle/{chunk-qf1dqzra.js → chunk-ztyy3ga3.js} +2 -2
- package/bundle/chunk-zxwvnmea.js +2 -0
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/qffi-compat.so +0 -0
- package/bundle/qffi.node +0 -0
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-073ydjmk.js +0 -2
- package/bundle/chunk-0xrr0k94.js +0 -2
- package/bundle/chunk-0yagj4ss.js +0 -2
- package/bundle/chunk-0ych0f5w.js +0 -2
- package/bundle/chunk-22hr3ndh.js +0 -2
- package/bundle/chunk-23tyxyyj.js +0 -2
- package/bundle/chunk-28g1ndpx.js +0 -2
- package/bundle/chunk-29v1v357.js +0 -2
- package/bundle/chunk-2avxtbv3.js +0 -2
- package/bundle/chunk-2qk0k2eb.js +0 -2
- package/bundle/chunk-3kn57y8d.js +0 -619
- package/bundle/chunk-3ktj87g4.js +0 -2
- package/bundle/chunk-3wxvpvg4.js +0 -3
- package/bundle/chunk-42wdfks8.js +0 -2
- package/bundle/chunk-4f19vqxf.js +0 -2
- package/bundle/chunk-4jq25vbc.js +0 -2
- package/bundle/chunk-4m3k1atq.js +0 -2
- package/bundle/chunk-4n2ytddp.js +0 -2
- package/bundle/chunk-4yg42p6y.js +0 -2
- package/bundle/chunk-4zx3ze68.js +0 -2
- package/bundle/chunk-57xbwzdn.js +0 -3
- package/bundle/chunk-637sjdzq.js +0 -2
- package/bundle/chunk-6bghztra.js +0 -2
- package/bundle/chunk-6h8f89tt.js +0 -2
- package/bundle/chunk-6sjj203r.js +0 -2
- package/bundle/chunk-79aka9xe.js +0 -2
- package/bundle/chunk-7nqdhe7x.js +0 -2
- package/bundle/chunk-7rhry8nv.js +0 -2
- package/bundle/chunk-7x88b2n2.js +0 -2
- package/bundle/chunk-7zvawpe1.js +0 -7
- package/bundle/chunk-8mthftwc.js +0 -2
- package/bundle/chunk-8wdara3b.js +0 -2
- package/bundle/chunk-8xhzpnph.js +0 -2
- package/bundle/chunk-9akz8w0d.js +0 -2
- package/bundle/chunk-9etpppyv.js +0 -3
- package/bundle/chunk-9nn4jpb7.js +0 -2
- package/bundle/chunk-9tk4wsn4.js +0 -2
- package/bundle/chunk-a0rjp24v.js +0 -2
- package/bundle/chunk-a7p0x4sw.js +0 -2
- package/bundle/chunk-ae0a496j.js +0 -2
- package/bundle/chunk-aq1j9y18.js +0 -2
- package/bundle/chunk-aq8nz9hp.js +0 -2
- package/bundle/chunk-b4zy78be.js +0 -2
- package/bundle/chunk-basjzwqp.js +0 -2
- package/bundle/chunk-bhetpmgq.js +0 -3
- package/bundle/chunk-bm7xpjh6.js +0 -2
- package/bundle/chunk-c2k556rk.js +0 -2
- package/bundle/chunk-d41mg7at.js +0 -2
- package/bundle/chunk-d50kpss6.js +0 -2
- package/bundle/chunk-day0rb5p.js +0 -2
- package/bundle/chunk-dp7cww4v.js +0 -2
- package/bundle/chunk-e89zjjmj.js +0 -2
- package/bundle/chunk-egae7vvg.js +0 -2
- package/bundle/chunk-erdjd9w3.js +0 -2
- package/bundle/chunk-ex93y6dw.js +0 -2
- package/bundle/chunk-eyr0vf92.js +0 -2
- package/bundle/chunk-f1bcz9yz.js +0 -2
- package/bundle/chunk-fghqr4x8.js +0 -8
- package/bundle/chunk-fvkwcx35.js +0 -2
- package/bundle/chunk-fymt1rym.js +0 -5
- package/bundle/chunk-gbmmbhy4.js +0 -2
- package/bundle/chunk-gp877cq5.js +0 -2
- package/bundle/chunk-hk8vvc10.js +0 -2
- package/bundle/chunk-hwavzxdm.js +0 -2
- package/bundle/chunk-hwnc2sa5.js +0 -2
- package/bundle/chunk-j2gvpa15.js +0 -2
- package/bundle/chunk-j7n8khk7.js +0 -2
- package/bundle/chunk-jkh98wby.js +0 -2
- package/bundle/chunk-k5a652s4.js +0 -2
- package/bundle/chunk-k6w32q2p.js +0 -2
- package/bundle/chunk-ke5rqv5b.js +0 -2
- package/bundle/chunk-kghwk0yh.js +0 -2
- package/bundle/chunk-mgadsp7r.js +0 -2
- package/bundle/chunk-mk2s9py8.js +0 -2
- package/bundle/chunk-mxf9p0p9.js +0 -2
- package/bundle/chunk-n0k0pp4k.js +0 -2
- package/bundle/chunk-n393nnh5.js +0 -2
- package/bundle/chunk-n5vyed7w.js +0 -2
- package/bundle/chunk-nb86kh94.js +0 -7612
- package/bundle/chunk-nh044sjn.js +0 -2
- package/bundle/chunk-nm6wnne9.js +0 -3
- package/bundle/chunk-pasm65wq.js +0 -2
- package/bundle/chunk-pfh34atn.js +0 -2
- package/bundle/chunk-phpmxjf8.js +0 -2
- package/bundle/chunk-qvzvxsjw.js +0 -2
- package/bundle/chunk-qzszrd0s.js +0 -2
- package/bundle/chunk-rnq5ezrt.js +0 -2
- package/bundle/chunk-s7yza695.js +0 -2
- package/bundle/chunk-s99cvvc9.js +0 -2
- package/bundle/chunk-skpkjnyy.js +0 -2
- package/bundle/chunk-snt4kwab.js +0 -2
- package/bundle/chunk-sq47t8f1.js +0 -2
- package/bundle/chunk-sqhgnvvs.js +0 -2
- package/bundle/chunk-t114r59h.js +0 -2
- package/bundle/chunk-t1f56k0j.js +0 -2
- package/bundle/chunk-t69jx6fz.js +0 -2
- package/bundle/chunk-tce12v85.js +0 -3
- package/bundle/chunk-tq1dqhes.js +0 -2
- package/bundle/chunk-tsb3jsx4.js +0 -2
- package/bundle/chunk-ttpbpzbh.js +0 -2
- package/bundle/chunk-v667egp5.js +0 -2
- package/bundle/chunk-v7mg632n.js +0 -3
- package/bundle/chunk-x3afqfww.js +0 -4
- package/bundle/chunk-xwgc2pw7.js +0 -28
- package/bundle/chunk-xxrtr6sd.js +0 -2
- package/bundle/chunk-y8eggnrr.js +0 -2
- package/bundle/chunk-yck5h49c.js +0 -2
- package/bundle/chunk-yg0pfngv.js +0 -2
- package/bundle/chunk-yxeja9kg.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Jn as z2}from"./chunk-9zm6r55d.js";import{Fq as i0,Hq as s0}from"./chunk-qrxqfp59.js";import{Xr as Q2}from"./chunk-nj1ntakd.js";import{as as E0}from"./chunk-tkrwcjkr.js";import{is as x0}from"./chunk-0vakk88p.js";import{Es as t}from"./chunk-r5zy4za0.js";import{Ns as e}from"./chunk-tr6rdr6h.js";import{Xs as $2,bt as f,ft as S,gt as a0,it as o,kt as j0}from"./chunk-at22twxx.js";import{lt as p}from"./chunk-kgptyf7n.js";import{Py as d0}from"./chunk-55fcmswd.js";import{DE as g,Qz as o0,TG as K0,TN as w,YE as c,dK as Z2,eH as J,lB as L,zB as V0}from"./chunk-qnvsqnz5.js";import{sO as W0,uO as e0,wO as L2}from"./chunk-r9w0thdk.js";function z0(Z,Q=!1){let z=Z.length,$=0,X="",Y=0,U=16,G=0,W=0,I=0,H=0,q=0;function R(j,_){let V=0,B=0;while(V<j||!_){let M=Z.charCodeAt($);if(M>=48&&M<=57)B=B*16+M-48;else if(M>=65&&M<=70)B=B*16+M-65+10;else if(M>=97&&M<=102)B=B*16+M-97+10;else break;$++,V++}if(V<j)B=-1;return B}function N(j){$=j,X="",Y=0,U=16,q=0}function A(){let j=$;if(Z.charCodeAt($)===48)$++;else{$++;while($<Z.length&&s(Z.charCodeAt($)))$++}if($<Z.length&&Z.charCodeAt($)===46)if($++,$<Z.length&&s(Z.charCodeAt($))){$++;while($<Z.length&&s(Z.charCodeAt($)))$++}else return q=3,Z.substring(j,$);let _=$;if($<Z.length&&(Z.charCodeAt($)===69||Z.charCodeAt($)===101)){if($++,$<Z.length&&Z.charCodeAt($)===43||Z.charCodeAt($)===45)$++;if($<Z.length&&s(Z.charCodeAt($))){$++;while($<Z.length&&s(Z.charCodeAt($)))$++;_=$}else q=3}return Z.substring(j,_)}function O(){let j="",_=$;while(!0){if($>=z){j+=Z.substring(_,$),q=2;break}let V=Z.charCodeAt($);if(V===34){j+=Z.substring(_,$),$++;break}if(V===92){if(j+=Z.substring(_,$),$++,$>=z){q=2;break}switch(Z.charCodeAt($++)){case 34:j+='"';break;case 92:j+="\\";break;case 47:j+="/";break;case 98:j+="\b";break;case 102:j+="\f";break;case 110:j+=`
|
|
3
3
|
`;break;case 114:j+="\r";break;case 116:j+="\t";break;case 117:let M=R(4,!0);if(M>=0)j+=String.fromCharCode(M);else q=4;break;default:q=5}_=$;continue}if(V>=0&&V<=31)if(Q0(V)){j+=Z.substring(_,$),q=2;break}else q=6;$++}return j}function K(){if(X="",q=0,Y=$,W=G,H=I,$>=z)return Y=z,U=17;let j=Z.charCodeAt($);if(b0(j)){do $++,X+=String.fromCharCode(j),j=Z.charCodeAt($);while(b0(j));return U=15}if(Q0(j)){if($++,X+=String.fromCharCode(j),j===13&&Z.charCodeAt($)===10)$++,X+=`
|
|
4
4
|
`;return G++,I=$,U=14}switch(j){case 123:return $++,U=1;case 125:return $++,U=2;case 91:return $++,U=3;case 93:return $++,U=4;case 58:return $++,U=6;case 44:return $++,U=5;case 34:return $++,X=O(),U=10;case 47:let _=$-1;if(Z.charCodeAt($+1)===47){$+=2;while($<z){if(Q0(Z.charCodeAt($)))break;$++}return X=Z.substring(_,$),U=12}if(Z.charCodeAt($+1)===42){$+=2;let V=z-1,B=!1;while($<V){let M=Z.charCodeAt($);if(M===42&&Z.charCodeAt($+1)===47){$+=2,B=!0;break}if($++,Q0(M)){if(M===13&&Z.charCodeAt($)===10)$++;G++,I=$}}if(!B)$++,q=1;return X=Z.substring(_,$),U=13}return X+=String.fromCharCode(j),$++,U=16;case 45:if(X+=String.fromCharCode(j),$++,$===z||!s(Z.charCodeAt($)))return U=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return X+=A(),U=11;default:while($<z&&y(j))$++,j=Z.charCodeAt($);if(Y!==$){switch(X=Z.substring(Y,$),X){case"true":return U=8;case"false":return U=9;case"null":return U=7}return U=16}return X+=String.fromCharCode(j),$++,U=16}}function y(j){if(b0(j)||Q0(j))return!1;switch(j){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function v(){let j;do j=K();while(j>=12&&j<=15);return j}return{setPosition:N,getPosition:()=>$,scan:Q?v:K,getToken:()=>U,getTokenValue:()=>X,getTokenOffset:()=>Y,getTokenLength:()=>$-Y,getTokenStartLine:()=>W,getTokenStartCharacter:()=>Y-H,getTokenError:()=>q}}function b0(Z){return Z===32||Z===9}function Q0(Z){return Z===10||Z===13}function s(Z){return Z>=48&&Z<=57}var u0;(function(Z){Z[Z.lineFeed=10]="lineFeed",Z[Z.carriageReturn=13]="carriageReturn",Z[Z.space=32]="space",Z[Z._0=48]="_0",Z[Z._1=49]="_1",Z[Z._2=50]="_2",Z[Z._3=51]="_3",Z[Z._4=52]="_4",Z[Z._5=53]="_5",Z[Z._6=54]="_6",Z[Z._7=55]="_7",Z[Z._8=56]="_8",Z[Z._9=57]="_9",Z[Z.a=97]="a",Z[Z.b=98]="b",Z[Z.c=99]="c",Z[Z.d=100]="d",Z[Z.e=101]="e",Z[Z.f=102]="f",Z[Z.g=103]="g",Z[Z.h=104]="h",Z[Z.i=105]="i",Z[Z.j=106]="j",Z[Z.k=107]="k",Z[Z.l=108]="l",Z[Z.m=109]="m",Z[Z.n=110]="n",Z[Z.o=111]="o",Z[Z.p=112]="p",Z[Z.q=113]="q",Z[Z.r=114]="r",Z[Z.s=115]="s",Z[Z.t=116]="t",Z[Z.u=117]="u",Z[Z.v=118]="v",Z[Z.w=119]="w",Z[Z.x=120]="x",Z[Z.y=121]="y",Z[Z.z=122]="z",Z[Z.A=65]="A",Z[Z.B=66]="B",Z[Z.C=67]="C",Z[Z.D=68]="D",Z[Z.E=69]="E",Z[Z.F=70]="F",Z[Z.G=71]="G",Z[Z.H=72]="H",Z[Z.I=73]="I",Z[Z.J=74]="J",Z[Z.K=75]="K",Z[Z.L=76]="L",Z[Z.M=77]="M",Z[Z.N=78]="N",Z[Z.O=79]="O",Z[Z.P=80]="P",Z[Z.Q=81]="Q",Z[Z.R=82]="R",Z[Z.S=83]="S",Z[Z.T=84]="T",Z[Z.U=85]="U",Z[Z.V=86]="V",Z[Z.W=87]="W",Z[Z.X=88]="X",Z[Z.Y=89]="Y",Z[Z.Z=90]="Z",Z[Z.asterisk=42]="asterisk",Z[Z.backslash=92]="backslash",Z[Z.closeBrace=125]="closeBrace",Z[Z.closeBracket=93]="closeBracket",Z[Z.colon=58]="colon",Z[Z.comma=44]="comma",Z[Z.dot=46]="dot",Z[Z.doubleQuote=34]="doubleQuote",Z[Z.minus=45]="minus",Z[Z.openBrace=123]="openBrace",Z[Z.openBracket=91]="openBracket",Z[Z.plus=43]="plus",Z[Z.slash=47]="slash",Z[Z.formFeed=12]="formFeed",Z[Z.tab=9]="tab"})(u0||(u0={}));var x=Array(20).fill(0).map((Z,Q)=>{return" ".repeat(Q)});var L0={" ":{"\n":Array(200).fill(0).map((Z,Q)=>{return`
|
|
5
5
|
`+" ".repeat(Q)}),"\r":Array(200).fill(0).map((Z,Q)=>{return"\r"+" ".repeat(Q)}),"\r\n":Array(200).fill(0).map((Z,Q)=>{return`\r
|
|
@@ -13,5 +13,5 @@ import{_n as z2}from"./chunk-rk2bk4s7.js";import{Wq as i0,Yq as s0}from"./chunk-
|
|
|
13
13
|
`)return`
|
|
14
14
|
`}return Z&&Z.eol||`
|
|
15
15
|
`}function X0(Z,Q){return`\r
|
|
16
|
-
`.indexOf(Z.charAt(Q))!==-1}var Y0;(function(Z){Z.DEFAULT={allowTrailingComma:!1}})(Y0||(Y0={}));function l0(Z,Q=[],z=Y0.DEFAULT){let $=null,X=[],Y=[];function U(W){if(Array.isArray(X))X.push(W);else if($!==null)X[$]=W}return P0(Z,{onObjectBegin:()=>{let W={};U(W),Y.push(X),X=W,$=null},onObjectProperty:(W)=>{$=W},onObjectEnd:()=>{X=Y.pop()},onArrayBegin:()=>{let W=[];U(W),Y.push(X),X=W,$=null},onArrayEnd:()=>{X=Y.pop()},onLiteralValue:U,onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z),X[0]}function y0(Z,Q=[],z=Y0.DEFAULT){let $={type:"array",offset:-1,length:-1,children:[],parent:void 0};function X(W){if($.type==="property")$.length=W-$.offset,$=$.parent}function Y(W){return $.children.push(W),W}P0(Z,{onObjectBegin:(W)=>{$=Y({type:"object",offset:W,length:-1,parent:$,children:[]})},onObjectProperty:(W,I,H)=>{$=Y({type:"property",offset:I,length:-1,parent:$,children:[]}),$.children.push({type:"string",value:W,offset:I,length:H,parent:$})},onObjectEnd:(W,I)=>{X(W+I),$.length=W+I-$.offset,$=$.parent,X(W+I)},onArrayBegin:(W,I)=>{$=Y({type:"array",offset:W,length:-1,parent:$,children:[]})},onArrayEnd:(W,I)=>{$.length=W+I-$.offset,$=$.parent,X(W+I)},onLiteralValue:(W,I,H)=>{Y({type:F2(W),offset:I,length:H,parent:$,value:W}),X(I+H)},onSeparator:(W,I,H)=>{if($.type==="property"){if(W===":")$.colonOffset=I;else if(W===",")X(I)}},onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z);let G=$.children[0];if(G)delete G.parent;return G}function I0(Z,Q){if(!Z)return;let z=Z;for(let $ of Q)if(typeof $==="string"){if(z.type!=="object"||!Array.isArray(z.children))return;let X=!1;for(let Y of z.children)if(Array.isArray(Y.children)&&Y.children[0].value===$&&Y.children.length===2){z=Y.children[1],X=!0;break}if(!X)return}else{let X=$;if(z.type!=="array"||X<0||!Array.isArray(z.children)||X>=z.children.length)return;z=z.children[X]}return z}function P0(Z,Q,z=Y0.DEFAULT){let $=z0(Z,!1),X=[],Y=0;function U(F){return F?()=>Y===0&&F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function G(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function W(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice()):()=>!0}function I(F){return F?()=>{if(Y>0)Y++;else if(F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice())===!1)Y=1}:()=>!0}function H(F){return F?()=>{if(Y>0)Y--;if(Y===0)F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter())}:()=>!0}let q=I(Q.onObjectBegin),R=W(Q.onObjectProperty),N=H(Q.onObjectEnd),A=I(Q.onArrayBegin),O=H(Q.onArrayEnd),K=W(Q.onLiteralValue),y=G(Q.onSeparator),v=U(Q.onComment),j=G(Q.onError),_=z&&z.disallowComments,V=z&&z.allowTrailingComma;function B(){while(!0){let F=$.scan();switch($.getTokenError()){case 4:M(14);break;case 5:M(15);break;case 3:M(13);break;case 1:if(!_)M(11);break;case 2:M(12);break;case 6:M(16);break}switch(F){case 12:case 13:if(_)M(10);else v();break;case 16:M(1);break;case 15:case 14:break;default:return F}}}function M(F,b=[],U0=[]){if(j(F),b.length+U0.length>0){let i=$.getToken();while(i!==17){if(b.indexOf(i)!==-1){B();break}else if(U0.indexOf(i)!==-1)break;i=B()}}}function m(F){let b=$.getTokenValue();if(F)K(b);else R(b),X.push(b);return B(),!0}function l(){switch($.getToken()){case 11:let F=$.getTokenValue(),b=Number(F);if(isNaN(b))M(2),b=0;K(b);break;case 7:K(null);break;case 8:K(!0);break;case 9:K(!1);break;default:return!1}return B(),!0}function d(){if($.getToken()!==10)return M(3,[],[2,5]),!1;if(m(!1),$.getToken()===6){if(y(":"),B(),!Z0())M(4,[],[2,5])}else M(5,[],[2,5]);return X.pop(),!0}function M0(){q(),B();let F=!1;while($.getToken()!==2&&$.getToken()!==17){if($.getToken()===5){if(!F)M(4,[],[]);if(y(","),B(),$.getToken()===2&&V)break}else if(F)M(6,[],[]);if(!d())M(4,[],[2,5]);F=!0}if(N(),$.getToken()!==2)M(7,[2],[]);else B();return!0}function w0(){A(),B();let F=!0,b=!1;while($.getToken()!==4&&$.getToken()!==17){if($.getToken()===5){if(!b)M(4,[],[]);if(y(","),B(),$.getToken()===4&&V)break}else if(b)M(6,[],[]);if(F)X.push(0),F=!1;else X[X.length-1]++;if(!Z0())M(4,[],[4,5]);b=!0}if(O(),!F)X.pop();if($.getToken()!==4)M(8,[4],[]);else B();return!0}function Z0(){switch($.getToken()){case 3:return w0();case 1:return M0();case 10:return m(!0);default:return l()}}if(B(),$.getToken()===17){if(z.allowEmptyContent)return!0;return M(4,[],[]),!1}if(!Z0())return M(4,[],[]),!1;if($.getToken()!==17)M(9,[],[]);return!0}function F2(Z){switch(typeof Z){case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"object":{if(!Z)return"null";else if(Array.isArray(Z))return"array";return"object"}default:return"null"}}function h0(Z,Q,z,$){let X=Q.slice(),U=y0(Z,[]),G=void 0,W=void 0;while(X.length>0)if(W=X.pop(),G=I0(U,X),G===void 0&&z!==void 0)if(typeof W==="string")z={[W]:z};else z=[z];else break;if(!G){if(z===void 0)throw Error("Can not delete in empty document");return C(Z,{offset:U?U.offset:0,length:U?U.length:0,content:JSON.stringify(z)},$)}else if(G.type==="object"&&typeof W==="string"&&Array.isArray(G.children)){let I=I0(G,[W]);if(I!==void 0)if(z===void 0){if(!I.parent)throw Error("Malformed AST");let H=G.children.indexOf(I.parent),q,R=I.parent.offset+I.parent.length;if(H>0){let N=G.children[H-1];q=N.offset+N.length}else if(q=G.offset+1,G.children.length>1)R=G.children[1].offset;return C(Z,{offset:q,length:R-q,content:""},$)}else return C(Z,{offset:I.offset,length:I.length,content:JSON.stringify(z)},$);else{if(z===void 0)return[];let H=`${JSON.stringify(W)}: ${JSON.stringify(z)}`,q=$.getInsertionIndex?$.getInsertionIndex(G.children.map((N)=>N.children[0].value)):G.children.length,R;if(q>0){let N=G.children[q-1];R={offset:N.offset+N.length,length:0,content:","+H}}else if(G.children.length===0)R={offset:G.offset+1,length:0,content:H};else R={offset:G.offset+1,length:0,content:H+","};return C(Z,R,$)}}else if(G.type==="array"&&typeof W==="number"&&Array.isArray(G.children)){let I=W;if(I===-1){let H=`${JSON.stringify(z)}`,q;if(G.children.length===0)q={offset:G.offset+1,length:0,content:H};else{let R=G.children[G.children.length-1];q={offset:R.offset+R.length,length:0,content:","+H}}return C(Z,q,$)}else if(z===void 0&&G.children.length>=0){let H=W,q=G.children[H],R;if(G.children.length===1)R={offset:G.offset+1,length:G.length-2,content:""};else if(G.children.length-1===H){let N=G.children[H-1],A=N.offset+N.length,O=G.offset+G.length;R={offset:A,length:O-2-A,content:""}}else R={offset:q.offset,length:G.children[H+1].offset-q.offset,content:""};return C(Z,R,$)}else if(z!==void 0){let H,q=`${JSON.stringify(z)}`;if(!$.isArrayInsertion&&G.children.length>W){let R=G.children[W];H={offset:R.offset,length:R.length,content:q}}else if(G.children.length===0||W===0)H={offset:G.offset+1,length:0,content:G.children.length===0?q:q+","};else{let R=W>G.children.length?G.children.length:W,N=G.children[R-1];H={offset:N.offset+N.length,length:0,content:","+q}}return C(Z,H,$)}else throw Error(`Can not ${z===void 0?"remove":$.isArrayInsertion?"insert":"modify"} Array index ${I} as length is not sufficient`)}else throw Error(`Can not add ${typeof W!=="number"?"index":"property"} to parent of type ${G.type}`)}function C(Z,Q,z){if(!z.formattingOptions)return[Q];let $=R0(Z,Q),X=Q.offset,Y=Q.offset+Q.content.length;if(Q.length===0||Q.content.length===0){while(X>0&&!X0($,X-1))X--;while(Y<$.length&&!X0($,Y))Y++}let U=T0($,{offset:X,length:Y-X},{...z.formattingOptions,keepLines:!1});for(let W=U.length-1;W>=0;W--){let I=U[W];$=R0($,I),X=Math.min(X,I.offset),Y=Math.max(Y,I.offset+I.length),Y+=I.content.length-I.length}let G=Z.length-($.length-Y)-X;return[{offset:X,length:G,content:$.substring(X,Y)}]}function R0(Z,Q){return Z.substring(0,Q.offset)+Q.content+Z.substring(Q.offset+Q.length)}var p0;(function(Z){Z[Z.None=0]="None",Z[Z.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=2]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=4]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=6]="InvalidCharacter"})(p0||(p0={}));var C0;(function(Z){Z[Z.OpenBraceToken=1]="OpenBraceToken",Z[Z.CloseBraceToken=2]="CloseBraceToken",Z[Z.OpenBracketToken=3]="OpenBracketToken",Z[Z.CloseBracketToken=4]="CloseBracketToken",Z[Z.CommaToken=5]="CommaToken",Z[Z.ColonToken=6]="ColonToken",Z[Z.NullKeyword=7]="NullKeyword",Z[Z.TrueKeyword=8]="TrueKeyword",Z[Z.FalseKeyword=9]="FalseKeyword",Z[Z.StringLiteral=10]="StringLiteral",Z[Z.NumericLiteral=11]="NumericLiteral",Z[Z.LineCommentTrivia=12]="LineCommentTrivia",Z[Z.BlockCommentTrivia=13]="BlockCommentTrivia",Z[Z.LineBreakTrivia=14]="LineBreakTrivia",Z[Z.Trivia=15]="Trivia",Z[Z.Unknown=16]="Unknown",Z[Z.EOF=17]="EOF"})(C0||(C0={}));var JZ=l0;var c0;(function(Z){Z[Z.InvalidSymbol=1]="InvalidSymbol",Z[Z.InvalidNumberFormat=2]="InvalidNumberFormat",Z[Z.PropertyNameExpected=3]="PropertyNameExpected",Z[Z.ValueExpected=4]="ValueExpected",Z[Z.ColonExpected=5]="ColonExpected",Z[Z.CommaExpected=6]="CommaExpected",Z[Z.CloseBraceExpected=7]="CloseBraceExpected",Z[Z.CloseBracketExpected=8]="CloseBracketExpected",Z[Z.EndOfFileExpected=9]="EndOfFileExpected",Z[Z.InvalidCommentToken=10]="InvalidCommentToken",Z[Z.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=12]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=14]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=16]="InvalidCharacter"})(c0||(c0={}));function WZ(Z){switch(Z){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}function GZ(Z,Q,z,$){return h0(Z,Q,z,$)}function jZ(Z,Q){let z=Q.slice(0).sort((X,Y)=>{let U=X.offset-Y.offset;if(U===0)return X.length-Y.length;return U}),$=Z.length;for(let X=z.length-1;X>=0;X--){let Y=z[X];if(Y.offset+Y.length<=$)Z=R0(Z,Y);else throw Error("Overlapping edit");$=Y.offset}return Z}function n0(Z,Q){let z,$=()=>z??=d0.make(g.provideMerge(Q,i0.layer),{memoMap:s0});return{runSync:(X)=>$().runSync(Z.use(X)),runPromiseExit:(X,Y)=>$().runPromiseExit(Z.use(X),Y),runPromise:(X,Y)=>$().runPromise(Z.use(X),Y),runFork:(X)=>$().runFork(Z.use(X)),runCallback:(X)=>$().runCallback(Z.use(X))}}var G0={};e0(G0,{which:()=>S2,sanitize:()=>Y2,outdated:()=>P2,layer:()=>H2,install:()=>T2,defaultLayer:()=>J2,add:()=>y2,Service:()=>J0,Npm:()=>G0,InstallFailedError:()=>D0});var X2=W0(Q2(),1),S0=W0(z2(),1);import k from"path";import B0 from"path";import O2 from"os";import{randomUUID as b2}from"crypto";var A0;((H0)=>{class Z extends w.TaggedErrorClass()("LockTimeoutError",{key:w.String}){}H0.LockTimeoutError=Z;class Q extends w.TaggedErrorClass()("LockCompromisedError",{detail:w.String}){}H0.LockCompromisedError=Q;class z extends w.TaggedErrorClass()("ReleaseError",{detail:w.String,cause:w.optional(w.Defect)}){get message(){return this.detail}}class $ extends w.TaggedErrorClass()("NotAcquired",{}){}let X=60000,Y=300000,U=100,G=2000,W=Math.max(100,Math.floor(X/3)),I=c.exponential(U,1.7).pipe(c.either(c.spaced(G)),c.jittered,c.while((j)=>j.elapsed<Y)),H=w.fromJsonString(w.Struct({token:w.String,pid:w.Number,hostname:w.String,createdAt:w.String})),q=w.decodeUnknownSync(H),R=w.encodeSync(H);class N extends V0.Service()("EffectFlock"){}H0.Service=N;function A(){return performance.timeOrigin+performance.now()}let O=(j)=>L.getOrElse(j.mtime,()=>new Date(0)).getTime(),K=(j)=>j.reason._tag==="NotFound"||j.reason._tag==="Unknown";H0.layer=g.effect(N,J.gen(function*(){let j=yield*o.Service,_=yield*f.Service,V=B0.join(j.state,"locks"),B=O2.hostname(),M=new Set,m=(D)=>_.stat(D).pipe(J.catchIf(K,()=>J.void),J.orDie),l=(D)=>_.remove(D,{recursive:!0}).pipe(J.ignore),d=(D)=>_.makeDirectory(D,{mode:448}).pipe(J.as(!0),J.catchIf((T)=>T.reason._tag==="AlreadyExists",()=>J.succeed(!1)),J.orDie),M0=(D,T,E,P)=>_.writeFileString(D,T,{flag:"wx"}).pipe(J.catch(()=>J.gen(function*(){return yield*l(E),yield*new Q({detail:P})}))),w0=J.fnUntraced(function*(D){let T=yield*m(D);if(T&&A()-O(T)>X)yield*l(D);return!1}),Z0=J.fnUntraced(function*(D){if(M.has(D))return;yield*_.makeDirectory(D,{recursive:!0}).pipe(J.orDie),M.add(D)}),F=J.fnUntraced(function*(D,T,E){let P=A(),h=yield*m(T);if(h)return P-O(h)>X;let $0=yield*m(E);if($0)return P-O($0)>X;let q0=yield*m(D);if(!q0)return!1;return P-O(q0)>X}),b=(D,T)=>J.gen(function*(){let E=b2(),P=B0.join(D,"meta.json"),h=B0.join(D,"heartbeat");if(!(yield*d(D))){if(!(yield*F(D,h,P)))return yield*new $;let O0=D+".breaker";if(!(yield*_.makeDirectory(O0,{mode:448}).pipe(J.as(!0),J.catchIf((V2)=>V2.reason._tag==="AlreadyExists",()=>w0(O0)),J.catchIf(K,()=>J.succeed(!1)),J.orDie)))return yield*new $;if(!(yield*J.gen(function*(){if(!(yield*F(D,h,P)))return!1;return yield*l(D),yield*d(D)}).pipe(J.ensuring(l(O0)))))return yield*new $}yield*M0(h,"",D,"heartbeat already existed");let q0=R({token:E,pid:process.pid,hostname:B,createdAt:new Date().toISOString()});return yield*M0(P,q0,D,"meta.json already existed"),{token:E,metaPath:P,heartbeatPath:h,lockDir:D}}).pipe(J.withSpan("EffectFlock.tryAcquire",{attributes:{key:T}})),U0=(D,T)=>b(D,T).pipe(J.retry({while:(E)=>E._tag==="NotAcquired",schedule:I}),J.catchTag("NotAcquired",()=>J.fail(new Z({key:T})))),i=(D)=>J.gen(function*(){let T=yield*_.readFileString(D.metaPath).pipe(J.catch((P)=>{if(K(P))return J.die(new z({detail:"metadata missing"}));return J.die(P)}));if((yield*J.try({try:()=>q(T),catch:(P)=>new z({detail:"metadata invalid",cause:P})}).pipe(J.orDie)).token!==D.token)return yield*J.die(new z({detail:"token mismatch"}));yield*l(D.lockDir)}),k0=J.fn("EffectFlock.acquire")(function*(D,T){let E=T??V;yield*Z0(E);let P=B0.join(E,a0.fast(D)+".lock"),h=yield*J.acquireRelease(U0(P,D),($0)=>i($0));yield*_.utimes(h.heartbeatPath,new Date,new Date).pipe(J.ignore,J.repeat(c.spaced(W)),J.forkScoped)}),B2=o0.dual((D)=>J.isEffect(D[0]),(D,T,E)=>J.scoped(J.gen(function*(){return yield*k0(T,E),yield*D})));return N.of({acquire:k0,withLock:B2})})),H0.defaultLayer=H0.layer.pipe(g.provide(f.defaultLayer),g.provide(o.layer))})(A0||={});class D0 extends w.TaggedErrorClass()("NpmInstallFailedError",{add:w.Array(w.String).pipe(w.optional),dir:w.String,cause:w.optional(w.Defect)}){}class J0 extends V0.Service()("@qitqode/Npm"){}var r0=process.platform==="win32"?new Set(["<",">",":",'"',"|","?","*"]):void 0;function Y2(Z){if(!r0)return Z;return Array.from(Z,(Q)=>r0.has(Q)||Q.charCodeAt(0)<32?"_":Q).join("")}var t0=(Z,Q)=>{let z;try{let $=typeof Bun<"u"?import.meta.resolve(Z,Q):import.meta.resolve(Q);z=L.some($)}catch{z=L.none()}return{directory:Q,entrypoint:z}},H2=g.effect(J0,J.gen(function*(){let Z=yield*f.Service,Q=yield*o.Service,z=yield*Z2.FileSystem,$=yield*A0.Service,X=(H)=>k.join(Q.cache,"packages",Y2(H)),Y=(H)=>J.gen(function*(){yield*$.acquire(`npm-install:${H.dir}`);let{Arborist:q}=yield*J.promise(()=>import("./chunk-p4ewy9xh.js").then((m)=>W0(m.default,1))),R=new q({path:H.dir,binLinks:!0,progress:!1,savePrefix:"",ignoreScripts:!0});return yield*J.tryPromise({try:()=>R.reify({add:H?.add||[],save:!0,saveType:"prod"}),catch:(N)=>new D0({cause:N,add:H?.add,dir:H.dir})})}).pipe(J.withSpan("Npm.reify",{attributes:H})),U=J.fn("Npm.outdated")(function*(H,q){let R=yield*J.tryPromise({try:()=>fetch(`https://registry.npmjs.org/${H}`),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return}));if(!R||!R.ok)return!1;let A=(yield*J.tryPromise({try:()=>R.json(),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return})))?.["dist-tags"]?.latest;if(!A)return!1;if(/[\s^~*xX<>|=]/.test(q))return!S0.default.satisfies(A,q);return S0.default.lt(q,A)}),G=J.fn("Npm.add")(function*(H){let q=X(H),R=(()=>{try{return X2.default(H).name??H}catch{return H}})();if(yield*Z.existsSafe(q))return t0(R,k.join(q,"node_modules",R));let A=(yield*Y({dir:q,add:[H]})).edgesOut.values().next().value?.to;if(!A)return yield*new D0({add:[H],dir:q});return t0(A.name,A.path)},J.scoped),W=J.fn("Npm.install")(function*(H,q){if(!(yield*Z.access(H,{writable:!0}).pipe(J.as(!0),J.orElseSucceed(()=>!1))))return;let N=q?.add.map((A)=>[A.name,A.version].filter(Boolean).join("@"))??[];if(yield*J.gen(function*(){if(!(yield*Z.existsSafe(k.join(H,"node_modules"))))return yield*Y({add:N,dir:H}),!0;return!1}).pipe(J.withSpan("Npm.checkNodeModules")))return;yield*J.gen(function*(){let A=yield*Z.readJson(k.join(H,"package.json")).pipe(J.orElseSucceed(()=>({}))),O=yield*Z.readJson(k.join(H,"package-lock.json")).pipe(J.orElseSucceed(()=>({}))),K=A,y=O,v=new Set([...Object.keys(K?.dependencies||{}),...Object.keys(K?.devDependencies||{}),...Object.keys(K?.peerDependencies||{}),...Object.keys(K?.optionalDependencies||{}),...(q?.add||[]).map((V)=>V.name)]),j=y?.packages?.[""]||{},_=new Set([...Object.keys(j?.dependencies||{}),...Object.keys(j?.devDependencies||{}),...Object.keys(j?.peerDependencies||{}),...Object.keys(j?.optionalDependencies||{})]);for(let V of v)if(!_.has(V)){yield*Y({dir:H,add:N});return}}).pipe(J.withSpan("Npm.checkDirty"));return},J.scoped),I=J.fn("Npm.which")(function*(H){let q=X(H),R=k.join(q,"node_modules",".bin"),N=J.fnUntraced(function*(){let A=yield*z.readDirectory(R).pipe(J.catch(()=>J.succeed([])));if(A.length===0)return L.none();if(A.length===1)return L.some(A[0]);let O=yield*Z.readJson(k.join(q,"node_modules",H,"package.json")).pipe(J.option);if(L.isSome(O)){let K=O.value;if(K?.bin){let y=H.startsWith("@")?H.split("/")[1]:H,v=K.bin;if(typeof v==="string")return L.some(y);let j=Object.keys(v);if(j.length===1)return L.some(j[0]);return v[y]?L.some(y):L.some(j[0])}}return L.some(A[0])});return yield*J.gen(function*(){let A=yield*N();if(L.isSome(A))return L.some(k.join(R,A.value));yield*z.remove(k.join(q,"package-lock.json")).pipe(J.orElseSucceed(()=>{})),yield*G(H);let O=yield*N();if(L.isNone(O))return L.none();return L.some(k.join(R,O.value))}).pipe(J.scoped,J.orElseSucceed(()=>L.none()))});return J0.of({add:G,install:W,outdated:U,which:I})})),J2=H2.pipe(g.provide(A0.layer),g.provide(f.layer),g.provide(o.layer),g.provide($2.layer)),{runPromise:_0}=n0(J0,J2);async function T2(...Z){return _0((Q)=>Q.install(...Z))}async function y2(...Z){let Q=await _0((z)=>z.add(...Z));return{directory:Q.directory,entrypoint:L.getOrUndefined(Q.entrypoint)}}async function P2(...Z){return _0((Q)=>Q.outdated(...Z))}async function S2(...Z){let Q=await _0((z)=>z.which(...Z));return L.getOrUndefined(Q)}var G2=W0(Q2(),1),N0=W0(z2(),1);import u from"path";import{fileURLToPath as F0,pathToFileURL as a}from"url";var m2=["opencode-openai-codex-auth","opencode-copilot-auth"];function gZ(Z){return m2.some((Q)=>Z.includes(Q))}function j2(Z){try{return G2.default(Z)}catch{}}function kZ(Z){let Q=j2(Z);if(Q?.type==="alias"&&!Q.name){let z=Q.subSpec;if(z?.name){let $=!z.rawSpec||z.rawSpec==="*"?"latest":z.rawSpec;return{pkg:z.name,version:$}}}if(!Q?.name)return{pkg:Z,version:""};if(Q.raw===Q.name)return{pkg:Q.name,version:"latest"};return{pkg:Q.name,version:Q.rawSpec}}var E2=["index.ts","index.tsx","index.js","index.mjs","index.cjs"];function M2(Z){if(I2(Z))return"file";return"npm"}function v2(Z,Q){if(Z.startsWith("file://"))return F0(Z);if(u.isAbsolute(Z))return Z;return u.resolve(Q,Z)}function U2(Z){return u.isAbsolute(Z)||/^[A-Za-z]:[\\/]/.test(Z)}function x2(Z){if(typeof Z==="string")return Z;if(!t(Z))return;for(let Q of["import","default"]){let z=Z[Q];if(typeof z==="string")return z}return}function g2(Z){let Q=Z.json.main;if(typeof Q!=="string")return;let z=Q.trim();if(!z)return;return z}function q2(Z,Q,z,$){let X=v2(Q,$.dir),Y=S.resolve($.dir),U=S.resolve(X);if(!S.contains(Y,U))throw Error(`Plugin ${Z} resolved ${z} entry outside plugin directory`);return U}function W2(Z,Q,z,$){return a(q2(Z,Q,z,$)).href}function k2(Z,Q,z){let $=z.json.exports;if(t($)){let Y=x2($[`./${Q}`]);if(Y)return W2(Z,Y,Q,z)}if(Q!=="server")return;let X=g2(z);if(!X)return;return W2(Z,X,Q,z)}function u2(Z){if(Z.startsWith("file://"))return F0(Z);if(u.isAbsolute(Z))return Z}async function m0(Z){for(let Q of E2){let z=u.join(Z,Q);if(await S.exists(z))return z}}async function f2(Z){let Q=u2(Z);if(!Q)return;if(!(await S.statAsync(Q))?.isDirectory())return;return Q}async function l2(Z,Q,z,$){let X=M2(Z),Y=$??(X==="npm"?await r(Q):await r(Q).catch(()=>{return}));if(!Y)return Q;let U=k2(Z,z,Y);if(U)return U;let G=await f2(Q);if(z==="tui"){if(X==="file"&&G){let W=await m0(G);if(W)return a(W).href}if(X==="npm")return;if(G)return;return Q}if(G&&t(Y.json.exports)){if(X==="file"){let W=await m0(G);if(W)return a(W).href}return}return Q}function I2(Z){return Z.startsWith("file://")||Z.startsWith(".")||U2(Z)}async function h2(Z){let Q=Z.startsWith("file://")?F0(Z):Z,z=u.isAbsolute(Q)||/^[A-Za-z]:[\\/]/.test(Q)?Q:u.resolve(Q);if(!(await S.statAsync(z))?.isDirectory()){if(Z.startsWith("file://"))return Z;return a(z).href}if(await S.exists(u.join(z,"package.json")))return a(z).href;let X=await m0(z);if(X)return a(X).href;throw Error(`Plugin directory ${z} is missing package.json or index file`)}async function uZ(Z,Q,z){if(!N0.default.valid(Q)||N0.default.major(Q)===0)return;let $=z??await r(Z).catch(()=>{return});if(!$)return;let X=$.json.engines;if(!t(X))return;let Y=X.qitqode??X.opencode;if(typeof Y!=="string")return;if(!N0.default.satisfies(Q,Y))throw Error(`Plugin requires qitqode ${Y} but running ${Q}`)}async function fZ(Z){if(I2(Z))return h2(Z);let Q=j2(Z),z=Q?.name&&Q.raw===Q.name?`${Q.name}@latest`:Z;return(await G0.add(z)).directory}async function r(Z){let Q=Z.startsWith("file://")?F0(Z):Z,$=(await S.statAsync(Q))?.isDirectory()?Q:u.dirname(Q),X=u.join($,"package.json"),Y=await S.readJson(X);return{dir:$,pkg:X,json:Y}}async function lZ(Z,Q,z){let $=M2(Z),X=$==="npm"?await r(Q):await r(Q).catch(()=>{return}),Y=await l2(Z,Q,z,X);return{spec:Z,source:$,target:Q,pkg:X,entry:Y}}function hZ(Z,Q){let z=Q.json["oc-themes"];if(z===void 0)return[];if(!Array.isArray(z))throw TypeError(`Plugin ${Z} has invalid oc-themes field`);let $=z.map((X)=>{if(typeof X!=="string")throw TypeError(`Plugin ${Z} has invalid oc-themes entry`);let Y=X.trim();if(!Y)throw TypeError(`Plugin ${Z} has empty oc-themes entry`);if(Y.startsWith("file://")||U2(Y))throw TypeError(`Plugin ${Z} oc-themes entry must be relative: ${X}`);return q2(Z,Y,"oc-themes",Q)});return Array.from(new Set($))}function pZ(Z,Q){if(Z===void 0)return;if(typeof Z!=="string")throw TypeError(`Plugin ${Q} has invalid id type ${typeof Z}`);let z=Z.trim();if(!z)throw TypeError(`Plugin ${Q} has an empty id`);return z}function CZ(Z,Q,z,$="strict"){let X=Z.default;if(!t(X)){if($==="detect")return;throw TypeError(`Plugin ${Q} must default export an object with ${z}()`)}if($==="detect"&&!("id"in X)&&!("server"in X)&&!("tui"in X))return;let Y="server"in X?X.server:void 0,U="tui"in X?X.tui:void 0;if(Y!==void 0&&typeof Y!=="function")throw TypeError(`Plugin ${Q} has invalid server export`);if(U!==void 0&&typeof U!=="function")throw TypeError(`Plugin ${Q} has invalid tui export`);if(Y!==void 0&&U!==void 0)throw TypeError(`Plugin ${Q} must default export either server() or tui(), not both`);if(z==="server"&&Y===void 0)throw TypeError(`Plugin ${Q} must default export an object with server()`);if(z==="tui"&&U===void 0)throw TypeError(`Plugin ${Q} must default export an object with tui()`);return X}async function cZ(Z,Q,z,$,X){if(Z==="file"){if($)return $;throw TypeError(`Path plugin ${Q} must export id`)}if($)return $;let Y=X??await r(z);if(typeof Y.json.name!=="string"||!Y.json.name.trim())throw TypeError(`Plugin package ${Y.pkg} is missing name`);return Y.json.name.trim()}var g0={};e0(g0,{readFile:()=>s2,files:()=>C2,fileInDirectory:()=>i2,directories:()=>c2,claudeCommandDirectories:()=>d2,ConfigPaths:()=>g0});import v0 from"path";var R2=E0.create("ConfigJsonError",p.object({path:p.string(),message:p.string().optional()})),nZ=E0.create("ConfigInvalidError",p.object({path:p.string(),issues:p.custom().optional(),message:p.string().optional()}));var C2=K0("ConfigPaths.projectFiles")(function*(Z,Q,z){return(yield*(yield*f.Service).up({targets:[`${Z}.jsonc`,`${Z}.json`],start:Q,stop:z})).toReversed()}),c2=K0("ConfigPaths.directories")(function*(Z,Q){let z=yield*f.Service;return x0([j0.Path.config,...!e.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".qitqode"],start:Z,stop:Q}):[],...yield*z.up({targets:[".qitqode"],start:j0.Path.home,stop:j0.Path.home}),...e.QITQODE_CONFIG_DIR?[e.QITQODE_CONFIG_DIR]:[]])}),d2=K0("ConfigPaths.claudeCommandDirectories")(function*(Z,Q){if(e.QITQODE_DISABLE_CLAUDE_CODE_COMMANDS)return[];let z=yield*f.Service;return x0([v0.join(j0.Path.home,".claude"),...!e.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".claude"],start:Z,stop:Q}):[]])});function i2(Z,Q){return[v0.join(Z,`${Q}.json`),v0.join(Z,`${Q}.jsonc`)]}async function s2(Z){return S.readText(Z).catch((Q)=>{if(Q.code==="ENOENT")return;throw new R2({path:Z},{cause:Q})})}
|
|
17
|
-
export{A0 as
|
|
16
|
+
`.indexOf(Z.charAt(Q))!==-1}var Y0;(function(Z){Z.DEFAULT={allowTrailingComma:!1}})(Y0||(Y0={}));function l0(Z,Q=[],z=Y0.DEFAULT){let $=null,X=[],Y=[];function U(W){if(Array.isArray(X))X.push(W);else if($!==null)X[$]=W}return P0(Z,{onObjectBegin:()=>{let W={};U(W),Y.push(X),X=W,$=null},onObjectProperty:(W)=>{$=W},onObjectEnd:()=>{X=Y.pop()},onArrayBegin:()=>{let W=[];U(W),Y.push(X),X=W,$=null},onArrayEnd:()=>{X=Y.pop()},onLiteralValue:U,onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z),X[0]}function y0(Z,Q=[],z=Y0.DEFAULT){let $={type:"array",offset:-1,length:-1,children:[],parent:void 0};function X(W){if($.type==="property")$.length=W-$.offset,$=$.parent}function Y(W){return $.children.push(W),W}P0(Z,{onObjectBegin:(W)=>{$=Y({type:"object",offset:W,length:-1,parent:$,children:[]})},onObjectProperty:(W,I,H)=>{$=Y({type:"property",offset:I,length:-1,parent:$,children:[]}),$.children.push({type:"string",value:W,offset:I,length:H,parent:$})},onObjectEnd:(W,I)=>{X(W+I),$.length=W+I-$.offset,$=$.parent,X(W+I)},onArrayBegin:(W,I)=>{$=Y({type:"array",offset:W,length:-1,parent:$,children:[]})},onArrayEnd:(W,I)=>{$.length=W+I-$.offset,$=$.parent,X(W+I)},onLiteralValue:(W,I,H)=>{Y({type:F2(W),offset:I,length:H,parent:$,value:W}),X(I+H)},onSeparator:(W,I,H)=>{if($.type==="property"){if(W===":")$.colonOffset=I;else if(W===",")X(I)}},onError:(W,I,H)=>{Q.push({error:W,offset:I,length:H})}},z);let G=$.children[0];if(G)delete G.parent;return G}function I0(Z,Q){if(!Z)return;let z=Z;for(let $ of Q)if(typeof $==="string"){if(z.type!=="object"||!Array.isArray(z.children))return;let X=!1;for(let Y of z.children)if(Array.isArray(Y.children)&&Y.children[0].value===$&&Y.children.length===2){z=Y.children[1],X=!0;break}if(!X)return}else{let X=$;if(z.type!=="array"||X<0||!Array.isArray(z.children)||X>=z.children.length)return;z=z.children[X]}return z}function P0(Z,Q,z=Y0.DEFAULT){let $=z0(Z,!1),X=[],Y=0;function U(F){return F?()=>Y===0&&F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function G(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter()):()=>!0}function W(F){return F?(b)=>Y===0&&F(b,$.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice()):()=>!0}function I(F){return F?()=>{if(Y>0)Y++;else if(F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter(),()=>X.slice())===!1)Y=1}:()=>!0}function H(F){return F?()=>{if(Y>0)Y--;if(Y===0)F($.getTokenOffset(),$.getTokenLength(),$.getTokenStartLine(),$.getTokenStartCharacter())}:()=>!0}let q=I(Q.onObjectBegin),R=W(Q.onObjectProperty),N=H(Q.onObjectEnd),A=I(Q.onArrayBegin),O=H(Q.onArrayEnd),K=W(Q.onLiteralValue),y=G(Q.onSeparator),v=U(Q.onComment),j=G(Q.onError),_=z&&z.disallowComments,V=z&&z.allowTrailingComma;function B(){while(!0){let F=$.scan();switch($.getTokenError()){case 4:M(14);break;case 5:M(15);break;case 3:M(13);break;case 1:if(!_)M(11);break;case 2:M(12);break;case 6:M(16);break}switch(F){case 12:case 13:if(_)M(10);else v();break;case 16:M(1);break;case 15:case 14:break;default:return F}}}function M(F,b=[],U0=[]){if(j(F),b.length+U0.length>0){let i=$.getToken();while(i!==17){if(b.indexOf(i)!==-1){B();break}else if(U0.indexOf(i)!==-1)break;i=B()}}}function m(F){let b=$.getTokenValue();if(F)K(b);else R(b),X.push(b);return B(),!0}function l(){switch($.getToken()){case 11:let F=$.getTokenValue(),b=Number(F);if(isNaN(b))M(2),b=0;K(b);break;case 7:K(null);break;case 8:K(!0);break;case 9:K(!1);break;default:return!1}return B(),!0}function d(){if($.getToken()!==10)return M(3,[],[2,5]),!1;if(m(!1),$.getToken()===6){if(y(":"),B(),!Z0())M(4,[],[2,5])}else M(5,[],[2,5]);return X.pop(),!0}function M0(){q(),B();let F=!1;while($.getToken()!==2&&$.getToken()!==17){if($.getToken()===5){if(!F)M(4,[],[]);if(y(","),B(),$.getToken()===2&&V)break}else if(F)M(6,[],[]);if(!d())M(4,[],[2,5]);F=!0}if(N(),$.getToken()!==2)M(7,[2],[]);else B();return!0}function w0(){A(),B();let F=!0,b=!1;while($.getToken()!==4&&$.getToken()!==17){if($.getToken()===5){if(!b)M(4,[],[]);if(y(","),B(),$.getToken()===4&&V)break}else if(b)M(6,[],[]);if(F)X.push(0),F=!1;else X[X.length-1]++;if(!Z0())M(4,[],[4,5]);b=!0}if(O(),!F)X.pop();if($.getToken()!==4)M(8,[4],[]);else B();return!0}function Z0(){switch($.getToken()){case 3:return w0();case 1:return M0();case 10:return m(!0);default:return l()}}if(B(),$.getToken()===17){if(z.allowEmptyContent)return!0;return M(4,[],[]),!1}if(!Z0())return M(4,[],[]),!1;if($.getToken()!==17)M(9,[],[]);return!0}function F2(Z){switch(typeof Z){case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"object":{if(!Z)return"null";else if(Array.isArray(Z))return"array";return"object"}default:return"null"}}function h0(Z,Q,z,$){let X=Q.slice(),U=y0(Z,[]),G=void 0,W=void 0;while(X.length>0)if(W=X.pop(),G=I0(U,X),G===void 0&&z!==void 0)if(typeof W==="string")z={[W]:z};else z=[z];else break;if(!G){if(z===void 0)throw Error("Can not delete in empty document");return C(Z,{offset:U?U.offset:0,length:U?U.length:0,content:JSON.stringify(z)},$)}else if(G.type==="object"&&typeof W==="string"&&Array.isArray(G.children)){let I=I0(G,[W]);if(I!==void 0)if(z===void 0){if(!I.parent)throw Error("Malformed AST");let H=G.children.indexOf(I.parent),q,R=I.parent.offset+I.parent.length;if(H>0){let N=G.children[H-1];q=N.offset+N.length}else if(q=G.offset+1,G.children.length>1)R=G.children[1].offset;return C(Z,{offset:q,length:R-q,content:""},$)}else return C(Z,{offset:I.offset,length:I.length,content:JSON.stringify(z)},$);else{if(z===void 0)return[];let H=`${JSON.stringify(W)}: ${JSON.stringify(z)}`,q=$.getInsertionIndex?$.getInsertionIndex(G.children.map((N)=>N.children[0].value)):G.children.length,R;if(q>0){let N=G.children[q-1];R={offset:N.offset+N.length,length:0,content:","+H}}else if(G.children.length===0)R={offset:G.offset+1,length:0,content:H};else R={offset:G.offset+1,length:0,content:H+","};return C(Z,R,$)}}else if(G.type==="array"&&typeof W==="number"&&Array.isArray(G.children)){let I=W;if(I===-1){let H=`${JSON.stringify(z)}`,q;if(G.children.length===0)q={offset:G.offset+1,length:0,content:H};else{let R=G.children[G.children.length-1];q={offset:R.offset+R.length,length:0,content:","+H}}return C(Z,q,$)}else if(z===void 0&&G.children.length>=0){let H=W,q=G.children[H],R;if(G.children.length===1)R={offset:G.offset+1,length:G.length-2,content:""};else if(G.children.length-1===H){let N=G.children[H-1],A=N.offset+N.length,O=G.offset+G.length;R={offset:A,length:O-2-A,content:""}}else R={offset:q.offset,length:G.children[H+1].offset-q.offset,content:""};return C(Z,R,$)}else if(z!==void 0){let H,q=`${JSON.stringify(z)}`;if(!$.isArrayInsertion&&G.children.length>W){let R=G.children[W];H={offset:R.offset,length:R.length,content:q}}else if(G.children.length===0||W===0)H={offset:G.offset+1,length:0,content:G.children.length===0?q:q+","};else{let R=W>G.children.length?G.children.length:W,N=G.children[R-1];H={offset:N.offset+N.length,length:0,content:","+q}}return C(Z,H,$)}else throw Error(`Can not ${z===void 0?"remove":$.isArrayInsertion?"insert":"modify"} Array index ${I} as length is not sufficient`)}else throw Error(`Can not add ${typeof W!=="number"?"index":"property"} to parent of type ${G.type}`)}function C(Z,Q,z){if(!z.formattingOptions)return[Q];let $=R0(Z,Q),X=Q.offset,Y=Q.offset+Q.content.length;if(Q.length===0||Q.content.length===0){while(X>0&&!X0($,X-1))X--;while(Y<$.length&&!X0($,Y))Y++}let U=T0($,{offset:X,length:Y-X},{...z.formattingOptions,keepLines:!1});for(let W=U.length-1;W>=0;W--){let I=U[W];$=R0($,I),X=Math.min(X,I.offset),Y=Math.max(Y,I.offset+I.length),Y+=I.content.length-I.length}let G=Z.length-($.length-Y)-X;return[{offset:X,length:G,content:$.substring(X,Y)}]}function R0(Z,Q){return Z.substring(0,Q.offset)+Q.content+Z.substring(Q.offset+Q.length)}var p0;(function(Z){Z[Z.None=0]="None",Z[Z.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=2]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=4]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=6]="InvalidCharacter"})(p0||(p0={}));var C0;(function(Z){Z[Z.OpenBraceToken=1]="OpenBraceToken",Z[Z.CloseBraceToken=2]="CloseBraceToken",Z[Z.OpenBracketToken=3]="OpenBracketToken",Z[Z.CloseBracketToken=4]="CloseBracketToken",Z[Z.CommaToken=5]="CommaToken",Z[Z.ColonToken=6]="ColonToken",Z[Z.NullKeyword=7]="NullKeyword",Z[Z.TrueKeyword=8]="TrueKeyword",Z[Z.FalseKeyword=9]="FalseKeyword",Z[Z.StringLiteral=10]="StringLiteral",Z[Z.NumericLiteral=11]="NumericLiteral",Z[Z.LineCommentTrivia=12]="LineCommentTrivia",Z[Z.BlockCommentTrivia=13]="BlockCommentTrivia",Z[Z.LineBreakTrivia=14]="LineBreakTrivia",Z[Z.Trivia=15]="Trivia",Z[Z.Unknown=16]="Unknown",Z[Z.EOF=17]="EOF"})(C0||(C0={}));var JZ=l0;var c0;(function(Z){Z[Z.InvalidSymbol=1]="InvalidSymbol",Z[Z.InvalidNumberFormat=2]="InvalidNumberFormat",Z[Z.PropertyNameExpected=3]="PropertyNameExpected",Z[Z.ValueExpected=4]="ValueExpected",Z[Z.ColonExpected=5]="ColonExpected",Z[Z.CommaExpected=6]="CommaExpected",Z[Z.CloseBraceExpected=7]="CloseBraceExpected",Z[Z.CloseBracketExpected=8]="CloseBracketExpected",Z[Z.EndOfFileExpected=9]="EndOfFileExpected",Z[Z.InvalidCommentToken=10]="InvalidCommentToken",Z[Z.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",Z[Z.UnexpectedEndOfString=12]="UnexpectedEndOfString",Z[Z.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",Z[Z.InvalidUnicode=14]="InvalidUnicode",Z[Z.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",Z[Z.InvalidCharacter=16]="InvalidCharacter"})(c0||(c0={}));function WZ(Z){switch(Z){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}function GZ(Z,Q,z,$){return h0(Z,Q,z,$)}function jZ(Z,Q){let z=Q.slice(0).sort((X,Y)=>{let U=X.offset-Y.offset;if(U===0)return X.length-Y.length;return U}),$=Z.length;for(let X=z.length-1;X>=0;X--){let Y=z[X];if(Y.offset+Y.length<=$)Z=R0(Z,Y);else throw Error("Overlapping edit");$=Y.offset}return Z}function n0(Z,Q){let z,$=()=>z??=d0.make(g.provideMerge(Q,i0.layer),{memoMap:s0});return{runSync:(X)=>$().runSync(Z.use(X)),runPromiseExit:(X,Y)=>$().runPromiseExit(Z.use(X),Y),runPromise:(X,Y)=>$().runPromise(Z.use(X),Y),runFork:(X)=>$().runFork(Z.use(X)),runCallback:(X)=>$().runCallback(Z.use(X))}}var G0={};e0(G0,{which:()=>S2,sanitize:()=>Y2,outdated:()=>P2,layer:()=>H2,install:()=>T2,defaultLayer:()=>J2,add:()=>y2,Service:()=>J0,Npm:()=>G0,InstallFailedError:()=>D0});var X2=W0(Q2(),1),S0=W0(z2(),1);import k from"path";import B0 from"path";import O2 from"os";import{randomUUID as b2}from"crypto";var A0;((H0)=>{class Z extends w.TaggedErrorClass()("LockTimeoutError",{key:w.String}){}H0.LockTimeoutError=Z;class Q extends w.TaggedErrorClass()("LockCompromisedError",{detail:w.String}){}H0.LockCompromisedError=Q;class z extends w.TaggedErrorClass()("ReleaseError",{detail:w.String,cause:w.optional(w.Defect)}){get message(){return this.detail}}class $ extends w.TaggedErrorClass()("NotAcquired",{}){}let X=60000,Y=300000,U=100,G=2000,W=Math.max(100,Math.floor(X/3)),I=c.exponential(U,1.7).pipe(c.either(c.spaced(G)),c.jittered,c.while((j)=>j.elapsed<Y)),H=w.fromJsonString(w.Struct({token:w.String,pid:w.Number,hostname:w.String,createdAt:w.String})),q=w.decodeUnknownSync(H),R=w.encodeSync(H);class N extends V0.Service()("EffectFlock"){}H0.Service=N;function A(){return performance.timeOrigin+performance.now()}let O=(j)=>L.getOrElse(j.mtime,()=>new Date(0)).getTime(),K=(j)=>j.reason._tag==="NotFound"||j.reason._tag==="Unknown";H0.layer=g.effect(N,J.gen(function*(){let j=yield*o.Service,_=yield*f.Service,V=B0.join(j.state,"locks"),B=O2.hostname(),M=new Set,m=(D)=>_.stat(D).pipe(J.catchIf(K,()=>J.void),J.orDie),l=(D)=>_.remove(D,{recursive:!0}).pipe(J.ignore),d=(D)=>_.makeDirectory(D,{mode:448}).pipe(J.as(!0),J.catchIf((T)=>T.reason._tag==="AlreadyExists",()=>J.succeed(!1)),J.orDie),M0=(D,T,E,P)=>_.writeFileString(D,T,{flag:"wx"}).pipe(J.catch(()=>J.gen(function*(){return yield*l(E),yield*new Q({detail:P})}))),w0=J.fnUntraced(function*(D){let T=yield*m(D);if(T&&A()-O(T)>X)yield*l(D);return!1}),Z0=J.fnUntraced(function*(D){if(M.has(D))return;yield*_.makeDirectory(D,{recursive:!0}).pipe(J.orDie),M.add(D)}),F=J.fnUntraced(function*(D,T,E){let P=A(),h=yield*m(T);if(h)return P-O(h)>X;let $0=yield*m(E);if($0)return P-O($0)>X;let q0=yield*m(D);if(!q0)return!1;return P-O(q0)>X}),b=(D,T)=>J.gen(function*(){let E=b2(),P=B0.join(D,"meta.json"),h=B0.join(D,"heartbeat");if(!(yield*d(D))){if(!(yield*F(D,h,P)))return yield*new $;let O0=D+".breaker";if(!(yield*_.makeDirectory(O0,{mode:448}).pipe(J.as(!0),J.catchIf((V2)=>V2.reason._tag==="AlreadyExists",()=>w0(O0)),J.catchIf(K,()=>J.succeed(!1)),J.orDie)))return yield*new $;if(!(yield*J.gen(function*(){if(!(yield*F(D,h,P)))return!1;return yield*l(D),yield*d(D)}).pipe(J.ensuring(l(O0)))))return yield*new $}yield*M0(h,"",D,"heartbeat already existed");let q0=R({token:E,pid:process.pid,hostname:B,createdAt:new Date().toISOString()});return yield*M0(P,q0,D,"meta.json already existed"),{token:E,metaPath:P,heartbeatPath:h,lockDir:D}}).pipe(J.withSpan("EffectFlock.tryAcquire",{attributes:{key:T}})),U0=(D,T)=>b(D,T).pipe(J.retry({while:(E)=>E._tag==="NotAcquired",schedule:I}),J.catchTag("NotAcquired",()=>J.fail(new Z({key:T})))),i=(D)=>J.gen(function*(){let T=yield*_.readFileString(D.metaPath).pipe(J.catch((P)=>{if(K(P))return J.die(new z({detail:"metadata missing"}));return J.die(P)}));if((yield*J.try({try:()=>q(T),catch:(P)=>new z({detail:"metadata invalid",cause:P})}).pipe(J.orDie)).token!==D.token)return yield*J.die(new z({detail:"token mismatch"}));yield*l(D.lockDir)}),k0=J.fn("EffectFlock.acquire")(function*(D,T){let E=T??V;yield*Z0(E);let P=B0.join(E,a0.fast(D)+".lock"),h=yield*J.acquireRelease(U0(P,D),($0)=>i($0));yield*_.utimes(h.heartbeatPath,new Date,new Date).pipe(J.ignore,J.repeat(c.spaced(W)),J.forkScoped)}),B2=o0.dual((D)=>J.isEffect(D[0]),(D,T,E)=>J.scoped(J.gen(function*(){return yield*k0(T,E),yield*D})));return N.of({acquire:k0,withLock:B2})})),H0.defaultLayer=H0.layer.pipe(g.provide(f.defaultLayer),g.provide(o.layer))})(A0||={});class D0 extends w.TaggedErrorClass()("NpmInstallFailedError",{add:w.Array(w.String).pipe(w.optional),dir:w.String,cause:w.optional(w.Defect)}){}class J0 extends V0.Service()("@qitqode/Npm"){}var r0=process.platform==="win32"?new Set(["<",">",":",'"',"|","?","*"]):void 0;function Y2(Z){if(!r0)return Z;return Array.from(Z,(Q)=>r0.has(Q)||Q.charCodeAt(0)<32?"_":Q).join("")}var t0=(Z,Q)=>{let z;try{let $=typeof Bun<"u"?import.meta.resolve(Z,Q):import.meta.resolve(Q);z=L.some($)}catch{z=L.none()}return{directory:Q,entrypoint:z}},H2=g.effect(J0,J.gen(function*(){let Z=yield*f.Service,Q=yield*o.Service,z=yield*Z2.FileSystem,$=yield*A0.Service,X=(H)=>k.join(Q.cache,"packages",Y2(H)),Y=(H)=>J.gen(function*(){yield*$.acquire(`npm-install:${H.dir}`);let{Arborist:q}=yield*J.promise(()=>import("./chunk-pb30kkbs.js").then((m)=>W0(m.default,1))),R=new q({path:H.dir,binLinks:!0,progress:!1,savePrefix:"",ignoreScripts:!0});return yield*J.tryPromise({try:()=>R.reify({add:H?.add||[],save:!0,saveType:"prod"}),catch:(N)=>new D0({cause:N,add:H?.add,dir:H.dir})})}).pipe(J.withSpan("Npm.reify",{attributes:H})),U=J.fn("Npm.outdated")(function*(H,q){let R=yield*J.tryPromise({try:()=>fetch(`https://registry.npmjs.org/${H}`),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return}));if(!R||!R.ok)return!1;let A=(yield*J.tryPromise({try:()=>R.json(),catch:()=>{return}}).pipe(J.orElseSucceed(()=>{return})))?.["dist-tags"]?.latest;if(!A)return!1;if(/[\s^~*xX<>|=]/.test(q))return!S0.default.satisfies(A,q);return S0.default.lt(q,A)}),G=J.fn("Npm.add")(function*(H){let q=X(H),R=(()=>{try{return X2.default(H).name??H}catch{return H}})();if(yield*Z.existsSafe(q))return t0(R,k.join(q,"node_modules",R));let A=(yield*Y({dir:q,add:[H]})).edgesOut.values().next().value?.to;if(!A)return yield*new D0({add:[H],dir:q});return t0(A.name,A.path)},J.scoped),W=J.fn("Npm.install")(function*(H,q){if(!(yield*Z.access(H,{writable:!0}).pipe(J.as(!0),J.orElseSucceed(()=>!1))))return;let N=q?.add.map((A)=>[A.name,A.version].filter(Boolean).join("@"))??[];if(yield*J.gen(function*(){if(!(yield*Z.existsSafe(k.join(H,"node_modules"))))return yield*Y({add:N,dir:H}),!0;return!1}).pipe(J.withSpan("Npm.checkNodeModules")))return;yield*J.gen(function*(){let A=yield*Z.readJson(k.join(H,"package.json")).pipe(J.orElseSucceed(()=>({}))),O=yield*Z.readJson(k.join(H,"package-lock.json")).pipe(J.orElseSucceed(()=>({}))),K=A,y=O,v=new Set([...Object.keys(K?.dependencies||{}),...Object.keys(K?.devDependencies||{}),...Object.keys(K?.peerDependencies||{}),...Object.keys(K?.optionalDependencies||{}),...(q?.add||[]).map((V)=>V.name)]),j=y?.packages?.[""]||{},_=new Set([...Object.keys(j?.dependencies||{}),...Object.keys(j?.devDependencies||{}),...Object.keys(j?.peerDependencies||{}),...Object.keys(j?.optionalDependencies||{})]);for(let V of v)if(!_.has(V)){yield*Y({dir:H,add:N});return}}).pipe(J.withSpan("Npm.checkDirty"));return},J.scoped),I=J.fn("Npm.which")(function*(H){let q=X(H),R=k.join(q,"node_modules",".bin"),N=J.fnUntraced(function*(){let A=yield*z.readDirectory(R).pipe(J.catch(()=>J.succeed([])));if(A.length===0)return L.none();if(A.length===1)return L.some(A[0]);let O=yield*Z.readJson(k.join(q,"node_modules",H,"package.json")).pipe(J.option);if(L.isSome(O)){let K=O.value;if(K?.bin){let y=H.startsWith("@")?H.split("/")[1]:H,v=K.bin;if(typeof v==="string")return L.some(y);let j=Object.keys(v);if(j.length===1)return L.some(j[0]);return v[y]?L.some(y):L.some(j[0])}}return L.some(A[0])});return yield*J.gen(function*(){let A=yield*N();if(L.isSome(A))return L.some(k.join(R,A.value));yield*z.remove(k.join(q,"package-lock.json")).pipe(J.orElseSucceed(()=>{})),yield*G(H);let O=yield*N();if(L.isNone(O))return L.none();return L.some(k.join(R,O.value))}).pipe(J.scoped,J.orElseSucceed(()=>L.none()))});return J0.of({add:G,install:W,outdated:U,which:I})})),J2=H2.pipe(g.provide(A0.layer),g.provide(f.layer),g.provide(o.layer),g.provide($2.layer)),{runPromise:_0}=n0(J0,J2);async function T2(...Z){return _0((Q)=>Q.install(...Z))}async function y2(...Z){let Q=await _0((z)=>z.add(...Z));return{directory:Q.directory,entrypoint:L.getOrUndefined(Q.entrypoint)}}async function P2(...Z){return _0((Q)=>Q.outdated(...Z))}async function S2(...Z){let Q=await _0((z)=>z.which(...Z));return L.getOrUndefined(Q)}var G2=W0(Q2(),1),N0=W0(z2(),1);import u from"path";import{fileURLToPath as F0,pathToFileURL as a}from"url";var m2=["opencode-openai-codex-auth","opencode-copilot-auth"];function gZ(Z){return m2.some((Q)=>Z.includes(Q))}function j2(Z){try{return G2.default(Z)}catch{}}function kZ(Z){let Q=j2(Z);if(Q?.type==="alias"&&!Q.name){let z=Q.subSpec;if(z?.name){let $=!z.rawSpec||z.rawSpec==="*"?"latest":z.rawSpec;return{pkg:z.name,version:$}}}if(!Q?.name)return{pkg:Z,version:""};if(Q.raw===Q.name)return{pkg:Q.name,version:"latest"};return{pkg:Q.name,version:Q.rawSpec}}var E2=["index.ts","index.tsx","index.js","index.mjs","index.cjs"];function M2(Z){if(I2(Z))return"file";return"npm"}function v2(Z,Q){if(Z.startsWith("file://"))return F0(Z);if(u.isAbsolute(Z))return Z;return u.resolve(Q,Z)}function U2(Z){return u.isAbsolute(Z)||/^[A-Za-z]:[\\/]/.test(Z)}function x2(Z){if(typeof Z==="string")return Z;if(!t(Z))return;for(let Q of["import","default"]){let z=Z[Q];if(typeof z==="string")return z}return}function g2(Z){let Q=Z.json.main;if(typeof Q!=="string")return;let z=Q.trim();if(!z)return;return z}function q2(Z,Q,z,$){let X=v2(Q,$.dir),Y=S.resolve($.dir),U=S.resolve(X);if(!S.contains(Y,U))throw Error(`Plugin ${Z} resolved ${z} entry outside plugin directory`);return U}function W2(Z,Q,z,$){return a(q2(Z,Q,z,$)).href}function k2(Z,Q,z){let $=z.json.exports;if(t($)){let Y=x2($[`./${Q}`]);if(Y)return W2(Z,Y,Q,z)}if(Q!=="server")return;let X=g2(z);if(!X)return;return W2(Z,X,Q,z)}function u2(Z){if(Z.startsWith("file://"))return F0(Z);if(u.isAbsolute(Z))return Z}async function m0(Z){for(let Q of E2){let z=u.join(Z,Q);if(await S.exists(z))return z}}async function f2(Z){let Q=u2(Z);if(!Q)return;if(!(await S.statAsync(Q))?.isDirectory())return;return Q}async function l2(Z,Q,z,$){let X=M2(Z),Y=$??(X==="npm"?await r(Q):await r(Q).catch(()=>{return}));if(!Y)return Q;let U=k2(Z,z,Y);if(U)return U;let G=await f2(Q);if(z==="tui"){if(X==="file"&&G){let W=await m0(G);if(W)return a(W).href}if(X==="npm")return;if(G)return;return Q}if(G&&t(Y.json.exports)){if(X==="file"){let W=await m0(G);if(W)return a(W).href}return}return Q}function I2(Z){return Z.startsWith("file://")||Z.startsWith(".")||U2(Z)}async function h2(Z){let Q=Z.startsWith("file://")?F0(Z):Z,z=u.isAbsolute(Q)||/^[A-Za-z]:[\\/]/.test(Q)?Q:u.resolve(Q);if(!(await S.statAsync(z))?.isDirectory()){if(Z.startsWith("file://"))return Z;return a(z).href}if(await S.exists(u.join(z,"package.json")))return a(z).href;let X=await m0(z);if(X)return a(X).href;throw Error(`Plugin directory ${z} is missing package.json or index file`)}async function uZ(Z,Q,z){if(!N0.default.valid(Q)||N0.default.major(Q)===0)return;let $=z??await r(Z).catch(()=>{return});if(!$)return;let X=$.json.engines;if(!t(X))return;let Y=X.qitqode??X.opencode;if(typeof Y!=="string")return;if(!N0.default.satisfies(Q,Y))throw Error(`Plugin requires qitqode ${Y} but running ${Q}`)}async function fZ(Z){if(I2(Z))return h2(Z);let Q=j2(Z),z=Q?.name&&Q.raw===Q.name?`${Q.name}@latest`:Z;return(await G0.add(z)).directory}async function r(Z){let Q=Z.startsWith("file://")?F0(Z):Z,$=(await S.statAsync(Q))?.isDirectory()?Q:u.dirname(Q),X=u.join($,"package.json"),Y=await S.readJson(X);return{dir:$,pkg:X,json:Y}}async function lZ(Z,Q,z){let $=M2(Z),X=$==="npm"?await r(Q):await r(Q).catch(()=>{return}),Y=await l2(Z,Q,z,X);return{spec:Z,source:$,target:Q,pkg:X,entry:Y}}function hZ(Z,Q){let z=Q.json["oc-themes"];if(z===void 0)return[];if(!Array.isArray(z))throw TypeError(`Plugin ${Z} has invalid oc-themes field`);let $=z.map((X)=>{if(typeof X!=="string")throw TypeError(`Plugin ${Z} has invalid oc-themes entry`);let Y=X.trim();if(!Y)throw TypeError(`Plugin ${Z} has empty oc-themes entry`);if(Y.startsWith("file://")||U2(Y))throw TypeError(`Plugin ${Z} oc-themes entry must be relative: ${X}`);return q2(Z,Y,"oc-themes",Q)});return Array.from(new Set($))}function pZ(Z,Q){if(Z===void 0)return;if(typeof Z!=="string")throw TypeError(`Plugin ${Q} has invalid id type ${typeof Z}`);let z=Z.trim();if(!z)throw TypeError(`Plugin ${Q} has an empty id`);return z}function CZ(Z,Q,z,$="strict"){let X=Z.default;if(!t(X)){if($==="detect")return;throw TypeError(`Plugin ${Q} must default export an object with ${z}()`)}if($==="detect"&&!("id"in X)&&!("server"in X)&&!("tui"in X))return;let Y="server"in X?X.server:void 0,U="tui"in X?X.tui:void 0;if(Y!==void 0&&typeof Y!=="function")throw TypeError(`Plugin ${Q} has invalid server export`);if(U!==void 0&&typeof U!=="function")throw TypeError(`Plugin ${Q} has invalid tui export`);if(Y!==void 0&&U!==void 0)throw TypeError(`Plugin ${Q} must default export either server() or tui(), not both`);if(z==="server"&&Y===void 0)throw TypeError(`Plugin ${Q} must default export an object with server()`);if(z==="tui"&&U===void 0)throw TypeError(`Plugin ${Q} must default export an object with tui()`);return X}async function cZ(Z,Q,z,$,X){if(Z==="file"){if($)return $;throw TypeError(`Path plugin ${Q} must export id`)}if($)return $;let Y=X??await r(z);if(typeof Y.json.name!=="string"||!Y.json.name.trim())throw TypeError(`Plugin package ${Y.pkg} is missing name`);return Y.json.name.trim()}var g0={};e0(g0,{readFile:()=>s2,files:()=>C2,fileInDirectory:()=>i2,directories:()=>c2,claudeCommandDirectories:()=>d2,ConfigPaths:()=>g0});import v0 from"path";var R2=E0.create("ConfigJsonError",p.object({path:p.string(),message:p.string().optional()})),nZ=E0.create("ConfigInvalidError",p.object({path:p.string(),issues:p.custom().optional(),message:p.string().optional()}));var C2=K0("ConfigPaths.projectFiles")(function*(Z,Q,z){return(yield*(yield*f.Service).up({targets:[`${Z}.jsonc`,`${Z}.json`],start:Q,stop:z})).toReversed()}),c2=K0("ConfigPaths.directories")(function*(Z,Q){let z=yield*f.Service;return x0([j0.Path.config,...!e.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".qitqode"],start:Z,stop:Q}):[],...yield*z.up({targets:[".qitqode"],start:j0.Path.home,stop:j0.Path.home}),...e.QITQODE_CONFIG_DIR?[e.QITQODE_CONFIG_DIR]:[]])}),d2=K0("ConfigPaths.claudeCommandDirectories")(function*(Z,Q){if(e.QITQODE_DISABLE_CLAUDE_CODE_COMMANDS)return[];let z=yield*f.Service;return x0([v0.join(j0.Path.home,".claude"),...!e.QITQODE_DISABLE_PROJECT_CONFIG?yield*z.up({targets:[".claude"],start:Z,stop:Q}):[]])});function i2(Z,Q){return[v0.join(Z,`${Q}.json`),v0.join(Z,`${Q}.jsonc`)]}async function s2(Z){return S.readText(Z).catch((Q)=>{if(Q.code==="ENOENT")return;throw new R2({path:Z},{cause:Q})})}
|
|
17
|
+
export{A0 as in,JZ as jn,WZ as kn,GZ as ln,jZ as mn,R2 as nn,nZ as on,n0 as pn,G0 as qn,gZ as rn,kZ as sn,M2 as tn,I2 as un,h2 as vn,uZ as wn,fZ as xn,r as yn,lZ as zn,hZ as An,pZ as Bn,CZ as Cn,cZ as Dn,C2 as En,c2 as Fn,i2 as Gn,s2 as Hn,g0 as In};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var f={"language.en":"English","language.zh":"\u7B80\u4F53\u4E2D\u6587","language.zht":"\u7E41\u9AD4\u4E2D\u6587","language.ko":"\uD55C\uAD6D\uC5B4","language.de":"Deutsch","language.es":"Espa\xF1ol","language.fr":"Fran\xE7ais","language.da":"Dansk","language.ja":"\u65E5\u672C\u8A9E","language.pl":"Polski","language.ru":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439","language.ar":"\u0627\u0644\u0639\u0631\u0628\u064A\u0629","language.no":"Norsk","language.br":"Portugu\xEAs (Brasil)","language.pt":"Portugu\xEAs","language.bs":"Bosanski","language.th":"\u0E44\u0E17\u0E22","language.tr":"T\xFCrk\xE7e","tui.prompt.placeholder.normal":'\u4F55\u3067\u3082\u805E\u3044\u3066\u304F\u3060\u3055\u3044... "{{example}}"',"tui.prompt.placeholder.shell":'\u30B3\u30DE\u30F3\u30C9\u3092\u5B9F\u884C... "{{example}}"',"tui.prompt.ghost":"{{prediction}} (Tab \u3067\u78BA\u5B9A)","tui.home.placeholder.example.todo":"\u30B3\u30FC\u30C9\u30D9\u30FC\u30B9\u5185\u306E TODO \u3092\u4FEE\u6B63","tui.home.placeholder.example.stack":"\u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u6280\u8853\u30B9\u30BF\u30C3\u30AF\u306F\uFF1F","tui.home.placeholder.example.tests":"\u58CA\u308C\u305F\u30C6\u30B9\u30C8\u3092\u4FEE\u6B63","tui.home.agreement.prefix":"QitQode \u3092\u3054\u5229\u7528\u3044\u305F\u3060\u304F\u3053\u3068\u3067\u3001","tui.home.agreement.terms":"\u5229\u7528\u898F\u7D04","tui.home.agreement.separator":"\u304A\u3088\u3073","tui.home.agreement.privacy":"\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC","tui.home.agreement.suffix":"\u306B\u540C\u610F\u3057\u305F\u3082\u306E\u3068\u307F\u306A\u3055\u308C\u307E\u3059","tui.prompt.hint.attach_file":"\u30D5\u30A1\u30A4\u30EB\u6DFB\u4ED8","tui.prompt.hint.subagent":"\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","tui.prompt.hint.commands":"\u30B3\u30DE\u30F3\u30C9","tui.prompt.hint.switch_mode":"\u30E2\u30FC\u30C9\u5207\u66FF","tui.prompt.hint.settings":"\u8A2D\u5B9A","tui.tips.label":"\u30D2\u30F3\u30C8","tui.tips.plain_terminal":"iTerm \u307E\u305F\u306F VS Code \u30BF\u30FC\u30DF\u30CA\u30EB\u306E\u4F7F\u7528\u3092\u304A\u3059\u3059\u3081\u3057\u307E\u3059","tui.tips.attach_file":"{highlight}@{/highlight} \u306E\u5F8C\u306B\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u5165\u529B\u3059\u308B\u3068\u30D5\u30A1\u30B8\u30FC\u691C\u7D22\u3067\u30D5\u30A1\u30A4\u30EB\u3092\u6DFB\u4ED8\u3067\u304D\u307E\u3059","tui.tips.shell_prefix":"\u30E1\u30C3\u30BB\u30FC\u30B8\u3092 {highlight}!{/highlight} \u3067\u59CB\u3081\u308B\u3068\u30B7\u30A7\u30EB\u30B3\u30DE\u30F3\u30C9\u3092\u76F4\u63A5\u5B9F\u884C\u3067\u304D\u307E\u3059\uFF08\u4F8B\uFF1A{highlight}!ls -la{/highlight}\uFF09","tui.tips.tab_agent":"{highlight}Tab{/highlight} \u307E\u305F\u306F {highlight}Shift+Tab{/highlight} \u3067 Build / Plan / Compose \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.theme_mode":"{highlight}/dark{/highlight} \u3067\u30C0\u30FC\u30AF\u30E2\u30FC\u30C9\u3001{highlight}/light{/highlight} \u3067\u30E9\u30A4\u30C8\u30E2\u30FC\u30C9\u306B\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.doc":"{highlight}/doc{/highlight} \u3092\u5B9F\u884C\u3057\u3066\u30E6\u30FC\u30B6\u30FC\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u958B\u304D\u307E\u3059","tui.tips.undo":"{highlight}/undo{/highlight} \u3067\u76F4\u524D\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u30D5\u30A1\u30A4\u30EB\u5909\u66F4\u3092\u53D6\u308A\u6D88\u3057\u307E\u3059","tui.tips.redo":"{highlight}/redo{/highlight} \u3067\u53D6\u308A\u6D88\u3057\u305F\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u30D5\u30A1\u30A4\u30EB\u5909\u66F4\u3092\u5FA9\u5143\u3057\u307E\u3059","tui.tips.drag_drop":"\u753B\u50CF\u3084 PDF \u3092\u30BF\u30FC\u30DF\u30CA\u30EB\u306B\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7\u3057\u3066\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u306B\u8FFD\u52A0\u3067\u304D\u307E\u3059","tui.tips.paste_image":"{highlight}Ctrl+V{/highlight} \u3067\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306E\u753B\u50CF\u3092\u30D7\u30ED\u30F3\u30D7\u30C8\u306B\u8CBC\u308A\u4ED8\u3051\u307E\u3059","tui.tips.editor":"{highlight}Ctrl+X E{/highlight} \u307E\u305F\u306F {highlight}/editor{/highlight} \u3067\u5916\u90E8\u30A8\u30C7\u30A3\u30BF\u304B\u3089\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u66F8\u3051\u307E\u3059","tui.tips.init":"{highlight}/init{/highlight} \u3092\u5B9F\u884C\u3059\u308B\u3068\u30B3\u30FC\u30C9\u30D9\u30FC\u30B9\u3092\u57FA\u306B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u30EB\u30FC\u30EB\u3092\u81EA\u52D5\u751F\u6210\u3057\u307E\u3059","tui.tips.models":"{highlight}/models{/highlight} \u307E\u305F\u306F {highlight}Ctrl+X M{/highlight} \u3067\u5229\u7528\u53EF\u80FD\u306A\u30E2\u30C7\u30EB\u3092\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.theme":'\u30BF\u30FC\u30DF\u30CA\u30EB\u306E\u80CC\u666F\u306B\u5408\u308F\u305B\u3066\u30C6\u30FC\u30DE\u30E2\u30FC\u30C9\u3092\u56FA\u5B9A\u3059\u308B\u306B\u306F\u3001\u30B3\u30DE\u30F3\u30C9\u30D1\u30EC\u30C3\u30C8\uFF08{highlight}Ctrl+P{/highlight}\uFF09\u3067 "lock" \u3092\u691C\u7D22\u3057\u307E\u3059',"tui.tips.new_session":"{highlight}Ctrl+X N{/highlight} \u307E\u305F\u306F {highlight}/new{/highlight} \u3067\u65B0\u3057\u3044\u4F1A\u8A71\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB\u3057\u307E\u3059","tui.tips.sessions":"{highlight}/sessions{/highlight} \u307E\u305F\u306F {highlight}Ctrl+X L{/highlight} \u3067\u904E\u53BB\u306E\u4F1A\u8A71\u3092\u4E00\u89A7\u8868\u793A\u30FB\u7D99\u7D9A\u3057\u307E\u3059","tui.tips.compact":"{highlight}/compact{/highlight} \u3067\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u4E0A\u9650\u8FD1\u304F\u306E\u9577\u3044\u4F1A\u8A71\u3092\u8981\u7D04\u3067\u304D\u307E\u3059","tui.tips.export":"{highlight}Ctrl+X X{/highlight} \u307E\u305F\u306F {highlight}/export{/highlight} \u3067\u4F1A\u8A71\u3092 Markdown \u3068\u3057\u3066\u4FDD\u5B58\u3057\u307E\u3059","tui.tips.copy_last":"{highlight}Ctrl+X Y{/highlight} \u3067\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u306E\u6700\u5F8C\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3059","tui.tips.command_palette":"{highlight}Ctrl+P{/highlight} \u3067\u5229\u7528\u53EF\u80FD\u306A\u3059\u3079\u3066\u306E\u30B3\u30DE\u30F3\u30C9\u3092\u8868\u793A\u3057\u307E\u3059","tui.tips.leader":"\u30EA\u30FC\u30C0\u30FC\u30AD\u30FC\u306F {highlight}Ctrl+X{/highlight}\u3002\u4ED6\u306E\u30AD\u30FC\u3068\u7D44\u307F\u5408\u308F\u305B\u3066\u30AF\u30A4\u30C3\u30AF\u64CD\u4F5C\u304C\u3067\u304D\u307E\u3059","tui.tips.f2":"{highlight}F2{/highlight} \u3067\u6700\u8FD1\u4F7F\u3063\u305F\u30E2\u30C7\u30EB\u3092\u7D20\u65E9\u304F\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.sidebar":"{highlight}Ctrl+X B{/highlight} \u3067\u30B5\u30A4\u30C9\u30D0\u30FC\u30D1\u30CD\u30EB\u306E\u8868\u793A/\u975E\u8868\u793A\u3092\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.history":"{highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} \u3067\u4F1A\u8A71\u5C65\u6B74\u3092\u79FB\u52D5\u3057\u307E\u3059","tui.tips.jump_first":"{highlight}Ctrl+G{/highlight} \u307E\u305F\u306F {highlight}Home{/highlight} \u3067\u4F1A\u8A71\u306E\u5148\u982D\u306B\u30B8\u30E3\u30F3\u30D7\u3057\u307E\u3059","tui.tips.jump_last":"{highlight}Ctrl+Alt+G{/highlight} \u307E\u305F\u306F {highlight}End{/highlight} \u3067\u6700\u65B0\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u30B8\u30E3\u30F3\u30D7\u3057\u307E\u3059","tui.tips.newline":"{highlight}Shift+Enter{/highlight} \u307E\u305F\u306F {highlight}Ctrl+J{/highlight} \u3067\u30D7\u30ED\u30F3\u30D7\u30C8\u306B\u6539\u884C\u3092\u5165\u308C\u307E\u3059","tui.tips.clear_input":"\u5165\u529B\u4E2D\u306B {highlight}Ctrl+C{/highlight} \u3092\u62BC\u3059\u3068\u5165\u529B\u6B04\u3092\u30AF\u30EA\u30A2\u3057\u307E\u3059","tui.tips.escape":"{highlight}Escape{/highlight} \u3067 AI \u306E\u5FDC\u7B54\u3092\u9014\u4E2D\u3067\u505C\u6B62\u3057\u307E\u3059","tui.tips.plan_agent":"{highlight}Plan{/highlight} \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u5207\u308A\u66FF\u3048\u308B\u3068\u5B9F\u969B\u306E\u5909\u66F4\u306A\u3057\u3067\u63D0\u6848\u3060\u3051\u5F97\u3089\u308C\u307E\u3059","tui.tips.subagent":"\u30D7\u30ED\u30F3\u30D7\u30C8\u5185\u3067 {highlight}@agent-name{/highlight} \u3092\u4F7F\u3046\u3068\u5C02\u7528\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u547C\u3073\u51FA\u3057\u307E\u3059","tui.tips.cycle_sessions":"{highlight}Ctrl+X Right/Left{/highlight} \u3067\u89AA\u5B50\u30BB\u30C3\u30B7\u30E7\u30F3\u9593\u3092\u79FB\u52D5\u3057\u307E\u3059","tui.tips.config_files":"\u30B5\u30FC\u30D0\u8A2D\u5B9A\u306F {highlight}qitqode.json{/highlight}\u3001TUI \u8A2D\u5B9A\u306F {highlight}tui.json{/highlight} \u3092\u4F5C\u6210\u3057\u307E\u3059","tui.tips.global_config":"TUI \u8A2D\u5B9A\u3092\u30B0\u30ED\u30FC\u30D0\u30EB\u306B\u7F6E\u304F\u306A\u3089 {highlight}~/.config/qitqode/tui.json{/highlight} \u3092\u4F7F\u3044\u307E\u3059","tui.tips.schema":"\u8A2D\u5B9A\u306B {highlight}$schema{/highlight} \u3092\u52A0\u3048\u308B\u3068\u30A8\u30C7\u30A3\u30BF\u3067\u81EA\u52D5\u88DC\u5B8C\u3055\u308C\u307E\u3059","tui.tips.default_model":"\u8A2D\u5B9A\u306E {highlight}model{/highlight} \u3067\u30C7\u30D5\u30A9\u30EB\u30C8\u30E2\u30C7\u30EB\u3092\u6307\u5B9A\u3057\u307E\u3059","tui.tips.keybinds":"{highlight}tui.json{/highlight} \u306E {highlight}keybinds{/highlight} \u30BB\u30AF\u30B7\u30E7\u30F3\u3067\u4EFB\u610F\u306E\u30AD\u30FC\u30D0\u30A4\u30F3\u30C9\u3092\u4E0A\u66F8\u304D\u3067\u304D\u307E\u3059","tui.tips.disable_keybind":"\u4EFB\u610F\u306E\u30AD\u30FC\u30D0\u30A4\u30F3\u30C9\u3092 {highlight}none{/highlight} \u306B\u3059\u308B\u3068\u5B8C\u5168\u306B\u7121\u52B9\u5316\u3067\u304D\u307E\u3059","tui.tips.mcp_config":"{highlight}mcp{/highlight} \u8A2D\u5B9A\u30BB\u30AF\u30B7\u30E7\u30F3\u3067\u30ED\u30FC\u30AB\u30EB/\u30EA\u30E2\u30FC\u30C8 MCP \u30B5\u30FC\u30D0\u3092\u8A2D\u5B9A\u3057\u307E\u3059","tui.tips.mcp_oauth":"QitQode \u306F\u8A8D\u8A3C\u304C\u5FC5\u8981\u306A\u30EA\u30E2\u30FC\u30C8 MCP \u30B5\u30FC\u30D0\u306E OAuth \u3092\u81EA\u52D5\u51E6\u7406\u3057\u307E\u3059","tui.tips.custom_command":"{highlight}.qitqode/command/{/highlight} \u306B {highlight}.md{/highlight} \u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0\u3059\u308B\u3068\u518D\u5229\u7528\u53EF\u80FD\u306A\u30AB\u30B9\u30BF\u30E0\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u5B9A\u7FA9\u3067\u304D\u307E\u3059","tui.tips.command_args":"\u30AB\u30B9\u30BF\u30E0\u30B3\u30DE\u30F3\u30C9\u3067 {highlight}$ARGUMENTS{/highlight}\u3001{highlight}$1{/highlight}\u3001{highlight}$2{/highlight} \u3092\u4F7F\u3046\u3068\u52D5\u7684\u306A\u5165\u529B\u3092\u53D7\u3051\u53D6\u308C\u307E\u3059","tui.tips.command_backticks":"\u30B3\u30DE\u30F3\u30C9\u5185\u3067\u30D0\u30C3\u30AF\u30AF\u30A9\u30FC\u30C8\u3092\u4F7F\u3046\u3068\u30B7\u30A7\u30EB\u51FA\u529B\u3092\u57CB\u3081\u8FBC\u3081\u307E\u3059\uFF08\u4F8B\uFF1A{highlight}`git status`{/highlight}\uFF09","tui.tips.custom_agent":"{highlight}.qitqode/agent/{/highlight} \u306B {highlight}.md{/highlight} \u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0\u3057\u3066\u5C02\u7528 AI \u30DA\u30EB\u30BD\u30CA\u3092\u4F5C\u308C\u307E\u3059","tui.tips.agent_perms":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3054\u3068\u306B {highlight}edit{/highlight}\u3001{highlight}bash{/highlight}\u3001{highlight}webfetch{/highlight} \u30C4\u30FC\u30EB\u306E\u6A29\u9650\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u3059","tui.tips.bash_allow":'{highlight}"git *": "allow"{/highlight} \u306E\u3088\u3046\u306A\u30D1\u30BF\u30FC\u30F3\u3067 bash \u6A29\u9650\u3092\u7D30\u304B\u304F\u5236\u5FA1\u3067\u304D\u307E\u3059',"tui.tips.bash_deny":'{highlight}"rm -rf *": "deny"{/highlight} \u3092\u8A2D\u5B9A\u3057\u3066\u7834\u58CA\u7684\u306A\u30B3\u30DE\u30F3\u30C9\u3092\u30D6\u30ED\u30C3\u30AF\u3057\u307E\u3059',"tui.tips.bash_ask":'{highlight}"git push": "ask"{/highlight} \u3092\u8A2D\u5B9A\u3059\u308B\u3068 push \u524D\u306B\u627F\u8A8D\u3092\u6C42\u3081\u307E\u3059',"tui.tips.formatter":"QitQode \u306F prettier\u3001gofmt\u3001ruff \u306A\u3069\u3067\u30D5\u30A1\u30A4\u30EB\u3092\u81EA\u52D5\u6574\u5F62\u3057\u307E\u3059","tui.tips.disable_formatter":'\u8A2D\u5B9A\u3067 {highlight}"formatter": false{/highlight} \u306B\u3059\u308B\u3068\u3059\u3079\u3066\u306E\u81EA\u52D5\u6574\u5F62\u3092\u7121\u52B9\u5316\u3067\u304D\u307E\u3059',"tui.tips.custom_formatter":"\u62E1\u5F35\u5B50\u3054\u3068\u306E\u30AB\u30B9\u30BF\u30E0\u6574\u5F62\u30B3\u30DE\u30F3\u30C9\u3092\u8A2D\u5B9A\u3067\u5B9A\u7FA9\u3067\u304D\u307E\u3059","tui.tips.lsp":"QitQode \u306F\u30A4\u30F3\u30C6\u30EA\u30B8\u30A7\u30F3\u30C8\u306A\u30B3\u30FC\u30C9\u89E3\u6790\u306B LSP \u30B5\u30FC\u30D0\u3092\u4F7F\u3044\u307E\u3059","tui.tips.custom_tool":"{highlight}.qitqode/tools/{/highlight} \u306B {highlight}.ts{/highlight} \u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u3063\u3066\u65B0\u3057\u3044 LLM \u30C4\u30FC\u30EB\u3092\u5B9A\u7FA9\u3057\u307E\u3059","tui.tips.tool_scripts":"\u30C4\u30FC\u30EB\u5B9A\u7FA9\u304B\u3089 Python\u3001Go \u306A\u3069\u306E\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u547C\u3073\u51FA\u305B\u307E\u3059","tui.tips.plugins":"{highlight}.qitqode/plugin/{/highlight} \u306B {highlight}.ts{/highlight} \u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0\u3057\u3066\u30A4\u30D9\u30F3\u30C8\u30D5\u30C3\u30AF\u3092\u5B9F\u88C5\u3067\u304D\u307E\u3059","tui.tips.plugin_notify":"\u30D7\u30E9\u30B0\u30A4\u30F3\u3067\u30BB\u30C3\u30B7\u30E7\u30F3\u5B8C\u4E86\u6642\u306B OS \u901A\u77E5\u3092\u9001\u308C\u307E\u3059","tui.tips.plugin_protect":"\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u66F8\u3044\u3066 QitQode \u304C\u6A5F\u5BC6\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307E\u306A\u3044\u3088\u3046\u306B\u3067\u304D\u307E\u3059","tui.tips.run":"{highlight}qitqode run{/highlight} \u3067\u975E\u5BFE\u8A71\u7684\u306A\u30B9\u30AF\u30EA\u30D7\u30C8\u5B9F\u884C\u304C\u3067\u304D\u307E\u3059","tui.tips.continue":"{highlight}qitqode --continue{/highlight} \u3067\u524D\u56DE\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u518D\u958B\u3057\u307E\u3059","tui.tips.attach_cli":"{highlight}qitqode run -f file.ts{/highlight} \u3067 CLI \u304B\u3089\u30D5\u30A1\u30A4\u30EB\u3092\u6DFB\u4ED8\u3067\u304D\u307E\u3059","tui.tips.format_json":"{highlight}--format json{/highlight} \u3092\u4F7F\u3046\u3068\u30B9\u30AF\u30EA\u30D7\u30C8\u3067\u6A5F\u68B0\u53EF\u8AAD\u306A\u51FA\u529B\u3092\u5F97\u3089\u308C\u307E\u3059","tui.tips.auth_list":"{highlight}qitqode auth status{/highlight} \u3067\u73FE\u5728\u306E\u30B5\u30A4\u30F3\u30A4\u30F3\u72B6\u614B\u3092\u78BA\u8A8D\u3057\u307E\u3059","tui.tips.agent_create":"{highlight}qitqode agent create{/highlight} \u3067\u30AC\u30A4\u30C9\u4ED8\u304D\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u4F5C\u6210\u3092\u884C\u3044\u307E\u3059","tui.tips.theme_system":'{highlight}"theme": "system"{/highlight} \u3067\u30BF\u30FC\u30DF\u30CA\u30EB\u306E\u914D\u8272\u306B\u5408\u308F\u305B\u307E\u3059',"tui.tips.theme_files":"{highlight}.qitqode/themes/{/highlight} \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B JSON \u30C6\u30FC\u30DE\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u307E\u3059","tui.tips.theme_variants":"\u30C6\u30FC\u30DE\u306F\u30C0\u30FC\u30AF/\u30E9\u30A4\u30C8\u306E\u30D0\u30EA\u30A2\u30F3\u30C8\u3092\u30B5\u30DD\u30FC\u30C8\u3057\u307E\u3059","tui.tips.theme_ansi":"\u30AB\u30B9\u30BF\u30E0\u30C6\u30FC\u30DE\u3067 ANSI \u30AB\u30E9\u30FC 0-255 \u3092\u53C2\u7167\u3067\u304D\u307E\u3059","tui.tips.env_var":"\u8A2D\u5B9A\u3067 {highlight}{env:VAR_NAME}{/highlight} \u69CB\u6587\u3092\u4F7F\u3046\u3068\u74B0\u5883\u5909\u6570\u3092\u53C2\u7167\u3067\u304D\u307E\u3059","tui.tips.file_var":"{highlight}{file:path}{/highlight} \u3067\u8A2D\u5B9A\u5024\u306B\u30D5\u30A1\u30A4\u30EB\u5185\u5BB9\u3092\u57CB\u3081\u8FBC\u3081\u307E\u3059","tui.tips.instructions":"\u8A2D\u5B9A\u306E {highlight}instructions{/highlight} \u3067\u8FFD\u52A0\u306E\u30EB\u30FC\u30EB\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u3059","tui.tips.temperature":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306E {highlight}temperature{/highlight} \u3092 0.0\uFF08\u53B3\u5BC6\uFF09\u304B\u3089 1.0\uFF08\u5275\u9020\u7684\uFF09\u307E\u3067\u8ABF\u6574\u3057\u307E\u3059","tui.tips.steps":"{highlight}steps{/highlight} \u3092\u8A2D\u5B9A\u3059\u308B\u3068\u30EA\u30AF\u30A8\u30B9\u30C8\u3054\u3068\u306E\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u53CD\u5FA9\u56DE\u6570\u3092\u5236\u9650\u3057\u307E\u3059","tui.tips.disable_tool":'{highlight}"tools": {"bash": false}{/highlight} \u3067\u7279\u5B9A\u306E\u30C4\u30FC\u30EB\u3092\u7121\u52B9\u5316\u3067\u304D\u307E\u3059',"tui.tips.disable_mcp_tools":'{highlight}"mcp_*": false{/highlight} \u3067 MCP \u30B5\u30FC\u30D0\u7531\u6765\u306E\u30C4\u30FC\u30EB\u3092\u3059\u3079\u3066\u7121\u52B9\u5316\u3067\u304D\u307E\u3059',"tui.tips.tool_override":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3054\u3068\u306E\u8A2D\u5B9A\u3067\u30B0\u30ED\u30FC\u30D0\u30EB\u306A\u30C4\u30FC\u30EB\u8A2D\u5B9A\u3092\u4E0A\u66F8\u304D\u3067\u304D\u307E\u3059","tui.tips.doom_loop":"\u6A29\u9650 {highlight}doom_loop{/highlight} \u304C\u30C4\u30FC\u30EB\u547C\u3073\u51FA\u3057\u306E\u7121\u9650\u30EB\u30FC\u30D7\u3092\u9632\u304E\u307E\u3059","tui.tips.external_dir":"\u6A29\u9650 {highlight}external_directory{/highlight} \u304C\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u5916\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u8B77\u3057\u307E\u3059","tui.tips.debug_config":"{highlight}qitqode debug config{/highlight} \u3067\u8A2D\u5B9A\u306E\u554F\u984C\u3092\u8ABF\u67FB\u3057\u307E\u3059","tui.tips.print_logs":"{highlight}--print-logs{/highlight} \u30D5\u30E9\u30B0\u3067 stderr \u306B\u8A73\u7D30\u30ED\u30B0\u3092\u51FA\u529B\u3057\u307E\u3059","tui.tips.timeline":"{highlight}Ctrl+X G{/highlight} \u307E\u305F\u306F {highlight}/timeline{/highlight} \u3067\u7279\u5B9A\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u30B8\u30E3\u30F3\u30D7\u3057\u307E\u3059","tui.tips.toggle_code":"{highlight}Ctrl+X H{/highlight} \u3067\u30E1\u30C3\u30BB\u30FC\u30B8\u5185\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF\u306E\u8868\u793A\u3092\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.status":"{highlight}Ctrl+X S{/highlight} \u307E\u305F\u306F {highlight}/status{/highlight} \u3067\u30B7\u30B9\u30C6\u30E0\u72B6\u614B\u3092\u8868\u793A\u3057\u307E\u3059","tui.tips.scroll_accel":"{highlight}tui.json{/highlight} \u306E {highlight}scroll_acceleration{/highlight} \u3092\u6709\u52B9\u306B\u3059\u308B\u3068 macOS \u98A8\u306E\u306A\u3081\u3089\u304B\u306A\u30B9\u30AF\u30ED\u30FC\u30EB\u306B\u306A\u308A\u307E\u3059","tui.tips.agents_md":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E {highlight}AGENTS.md{/highlight} \u3092 Git \u306B\u30B3\u30DF\u30C3\u30C8\u3057\u3066\u30C1\u30FC\u30E0\u3067\u5171\u6709\u3057\u307E\u3059","tui.tips.review":"{highlight}/review{/highlight} \u3067\u672A\u30B3\u30DF\u30C3\u30C8\u5909\u66F4\u3001\u30D6\u30E9\u30F3\u30C1\u3001PR \u3092\u30EC\u30D3\u30E5\u30FC\u3057\u307E\u3059","tui.tips.help":"{highlight}/help{/highlight} \u307E\u305F\u306F {highlight}Ctrl+X H{/highlight} \u3067\u30D8\u30EB\u30D7\u3092\u8868\u793A\u3057\u307E\u3059","tui.tips.rename":"{highlight}/rename{/highlight} \u3067\u73FE\u5728\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u30EA\u30CD\u30FC\u30E0\u3057\u307E\u3059","tui.tips.suspend.unix":"{highlight}Ctrl+Z{/highlight} \u3067\u30BF\u30FC\u30DF\u30CA\u30EB\u3092\u30B5\u30B9\u30DA\u30F3\u30C9\u3057\u30B7\u30A7\u30EB\u306B\u623B\u308A\u307E\u3059","tui.tips.suspend.win":"{highlight}Ctrl+Z{/highlight} \u3067\u30D7\u30ED\u30F3\u30D7\u30C8\u306E\u5165\u529B\u3092\u53D6\u308A\u6D88\u3057\u307E\u3059","tui.command.palette.title":"\u30B3\u30DE\u30F3\u30C9","tui.command.palette.suggested":"\u304A\u3059\u3059\u3081","tui.command.category.session":"\u30BB\u30C3\u30B7\u30E7\u30F3","tui.command.category.agent":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","tui.command.category.provider":"\u30D7\u30ED\u30D0\u30A4\u30C0","tui.command.category.system":"\u30B7\u30B9\u30C6\u30E0","tui.command.category.prompt":"\u30D7\u30ED\u30F3\u30D7\u30C8","tui.command.category.internal":"\u7D44\u307F\u8FBC\u307F","tui.command.category.external":"\u5916\u90E8","tui.slash.init.description":"AGENTS.md \u3092\u30AC\u30A4\u30C9\u4ED8\u304D\u3067\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","tui.slash.review.description":"\u5909\u66F4\u3092\u30EC\u30D3\u30E5\u30FC [commit|branch|pr]\u3001\u30C7\u30D5\u30A9\u30EB\u30C8\u306F\u672A\u30B3\u30DF\u30C3\u30C8","tui.slash.dream.description":"memory \u30D5\u30A1\u30A4\u30EB\u3068\u751F\u306E\u8ECC\u8DE1\u304B\u3089\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30E1\u30E2\u30EA\u3092\u624B\u52D5\u3067\u7D71\u5408","tui.slash.distill.description":"\u6700\u8FD1\u306E\u4F5C\u696D\u304B\u3089\u7E70\u308A\u8FD4\u3057\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u898B\u3064\u3051\u3001skill\u30FB\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30B3\u30DE\u30F3\u30C9\u306B\u30D1\u30C3\u30B1\u30FC\u30B8\u5316","tui.slash.goal.description":"\u505C\u6B62\u6761\u4EF6\u4ED8\u304D\u30B4\u30FC\u30EB\u3092\u8A2D\u5B9A\uFF1B\u5224\u5B9A\u304C\u9054\u6210\u3068\u8A00\u3046\u307E\u3067\u5B9F\u884C\u3002/goal clear \u3067\u4E2D\u6B62","tui.slash.deep-research.description":"\u6DF1\u3044\u591A\u30BD\u30FC\u30B9\u30FB\u30D5\u30A1\u30AF\u30C8\u30C1\u30A7\u30C3\u30AF\u6E08\u307F\u8ABF\u67FB\u30EC\u30DD\u30FC\u30C8\uFF08deep-research \u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u5B9F\u884C\uFF09","tui.command.language.switch.title":"\u8A00\u8A9E\u3092\u5207\u308A\u66FF\u3048","tui.command.language.switch.description":"\u8868\u793A\u8A00\u8A9E\u3092\u5909\u66F4\u3057\u307E\u3059","tui.command.language.dialog.title":"\u8A00\u8A9E\u3092\u5207\u308A\u66FF\u3048","tui.language.auto":"\u81EA\u52D5\uFF08\u30B7\u30B9\u30C6\u30E0\uFF09","tui.language.current":"\u73FE\u5728","tui.command.session.list.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5207\u308A\u66FF\u3048","tui.command.session.new.title":"\u65B0\u898F\u30BB\u30C3\u30B7\u30E7\u30F3","tui.command.workflow.list.title":"\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC","tui.command.model.list.title":"\u30E2\u30C7\u30EB\u3092\u5207\u308A\u66FF\u3048","tui.command.model.cycle_recent.title":"\u30E2\u30C7\u30EB\u3092\u5FAA\u74B0","tui.command.model.cycle_recent_reverse.title":"\u30E2\u30C7\u30EB\u3092\u9006\u5FAA\u74B0","tui.command.model.cycle_favorite.title":"\u304A\u6C17\u306B\u5165\u308A\u3092\u5FAA\u74B0","tui.command.model.cycle_favorite_reverse.title":"\u304A\u6C17\u306B\u5165\u308A\u3092\u9006\u5FAA\u74B0","tui.command.agent.list.title":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u5207\u308A\u66FF\u3048","tui.command.mcp.list.title":"MCP \u3092\u5207\u308A\u66FF\u3048","tui.command.never_ask.title_on":"\u8CEA\u554F\u3057\u306A\u3044\uFF1A\u30AA\u30F3\uFF08\u81EA\u52D5\u5224\u65AD\u3001\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u9664\u304F\uFF09 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u30AA\u30D5\u306B","tui.command.never_ask.title_off":"\u8CEA\u554F\u3057\u306A\u3044\uFF1A\u30AA\u30D5 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u30AA\u30F3\u306B\uFF08\u81EA\u52D5\u5224\u65AD\u3001\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u9664\u304F\uFF09","tui.command.never_ask.toast_on":"\u8CEA\u554F\u3057\u306A\u3044\u3092\u30AA\u30F3\u306B\u3057\u307E\u3057\u305F \u2014 \u3042\u306A\u305F\u306B\u8CEA\u554F\u305B\u305A\u3001\u30AA\u30D5\u306B\u3059\u308B\uFF08/never-ask\uFF09\u307E\u3067\u81EA\u5206\u3067\u6700\u9069\u306A\u9078\u629E\u80A2\u3092\u9078\u3073\u307E\u3059\u3002\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u5F15\u304D\u7D9A\u304D\u3042\u306A\u305F\u306E\u627F\u8A8D\u304C\u5FC5\u8981\u3067\u3059\u3002","tui.command.never_ask.toast_off":"\u8CEA\u554F\u3057\u306A\u3044\u3092\u30AA\u30D5\u306B\u3057\u307E\u3057\u305F \u2014 \u5224\u65AD\u30DD\u30A4\u30F3\u30C8\u3067\u518D\u3073\u3042\u306A\u305F\u306B\u8CEA\u554F\u3057\u307E\u3059\u3002","tui.command.never_ask.title_on_fullauto":"\u8CEA\u554F\u3057\u306A\u3044\uFF1A\u30AA\u30F3\uFF08\u81EA\u52D5\u5224\u65AD\u3002\u30D5\u30EB\u30AA\u30FC\u30C8\u306B\u3088\u308A\u6A29\u9650\u3082\u81EA\u52D5\u627F\u8A8D\u4E2D\uFF09 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u30AA\u30D5\u306B","tui.command.never_ask.title_off_fullauto":"\u8CEA\u554F\u3057\u306A\u3044\uFF1A\u30AA\u30D5 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u30AA\u30F3\u306B\uFF08\u81EA\u52D5\u5224\u65AD\u3002\u30D5\u30EB\u30AA\u30FC\u30C8\u306B\u3088\u308B\u6A29\u9650\u306E\u81EA\u52D5\u627F\u8A8D\u306F\u7D99\u7D9A\u4E2D\uFF09","tui.command.never_ask.toast_on_fullauto":"\u8CEA\u554F\u3057\u306A\u3044\u3092\u30AA\u30F3\u306B\u3057\u307E\u3057\u305F \u2014 \u3042\u306A\u305F\u306B\u8CEA\u554F\u305B\u305A\u3001\u30AA\u30D5\u306B\u3059\u308B\uFF08/never-ask\uFF09\u307E\u3067\u81EA\u5206\u3067\u6700\u9069\u306A\u9078\u629E\u80A2\u3092\u9078\u3073\u307E\u3059\u3002\u30D5\u30EB\u30AA\u30FC\u30C8\u304C\u6709\u52B9\u306A\u305F\u3081\u3001\u30C4\u30FC\u30EB\u306E\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u3082\u81EA\u52D5\u7684\u306B\u627F\u8A8D\u3055\u308C\u307E\u3059\u3002","tui.command.agent.cycle.title":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u5FAA\u74B0","tui.command.variant.cycle.title":"\u30D0\u30EA\u30A2\u30F3\u30C8\u3092\u5FAA\u74B0","tui.command.variant.list.title":"\u30E2\u30C7\u30EB\u30D0\u30EA\u30A2\u30F3\u30C8\u3092\u5207\u308A\u66FF\u3048","tui.command.agent.cycle.reverse.title":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u9006\u5FAA\u74B0","tui.command.provider.login.title":"\u30ED\u30B0\u30A4\u30F3","tui.command.provider.logout.title":"\u30ED\u30B0\u30A2\u30A6\u30C8","tui.command.console.org.switch.title":"\u7D44\u7E54\u3092\u5207\u308A\u66FF\u3048","tui.command.qitqode.status.title":"\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u8868\u793A","tui.command.theme.switch.title":"\u30C6\u30FC\u30DE\u3092\u5207\u308A\u66FF\u3048","tui.command.theme.switch_mode.to_light":"\u30E9\u30A4\u30C8\u30E2\u30FC\u30C9\u306B\u5207\u66FF","tui.command.theme.switch_mode.to_dark":"\u30C0\u30FC\u30AF\u30E2\u30FC\u30C9\u306B\u5207\u66FF","tui.command.theme.mode.unlock":"\u30C6\u30FC\u30DE\u30E2\u30FC\u30C9\u306E\u30ED\u30C3\u30AF\u89E3\u9664","tui.command.theme.mode.lock":"\u30C6\u30FC\u30DE\u30E2\u30FC\u30C9\u3092\u30ED\u30C3\u30AF","tui.command.help.show.title":"\u30D8\u30EB\u30D7","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3: \u30B3\u30DE\u30F3\u30C9\u30EA\u30B9\u30C8\u304B\u3089\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u3068\u30B5\u30A6\u30F3\u30C9\u3092\u5207\u308A\u66FF\u3048\u3089\u308C\u307E\u3059\u3002\u74B0\u5883\u5909\u6570: NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND\u3002","tui.dialog.help.announcements":"\u30A2\u30CA\u30A6\u30F3\u30B9: \u30A2\u30AF\u30BB\u30B7\u30D6\u30EB\u30E2\u30FC\u30C9\u3067\u306F\u3001\u30B9\u30AF\u30EA\u30FC\u30F3\u30EA\u30FC\u30C0\u30FC\u5411\u3051\u30A2\u30CA\u30A6\u30F3\u30B9\u306E\u8A73\u7D30\u5EA6(\u7C21\u6F54\u30FB\u6A19\u6E96\u30FB\u8A73\u7D30)\u3092\u30B3\u30DE\u30F3\u30C9\u30EA\u30B9\u30C8\u307E\u305F\u306F QITQODE_TUI_ANNOUNCEMENTS \u3067\u9078\u3079\u307E\u3059\u3002\u30A8\u30E9\u30FC\u306F\u5E38\u306B\u8AAD\u307F\u4E0A\u3052\u3089\u308C\u307E\u3059\u3002","tui.dialog.help.dialog_keys":"\u30C0\u30A4\u30A2\u30ED\u30B0: \u3059\u3079\u3066\u306E\u30C0\u30A4\u30A2\u30ED\u30B0\u306F\u30AD\u30FC\u30DC\u30FC\u30C9\u3060\u3051\u3067\u64CD\u4F5C\u3067\u304D\u307E\u3059 \u2014 Esc \u3067\u9589\u3058\u308B\u3001Tab \u3084\u77E2\u5370\u30AD\u30FC\u3067\u30D5\u30A9\u30FC\u30AB\u30B9\u79FB\u52D5\u3001Enter \u307E\u305F\u306F Space \u3067\u9078\u629E\u4E2D\u306E\u9805\u76EE\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002","tui.command.app.announcements.cycle":"\u30A2\u30CA\u30A6\u30F3\u30B9: {{level}}(\u9078\u629E\u3057\u3066\u5909\u66F4)","tui.announcements.level.quiet":"\u7C21\u6F54","tui.announcements.level.normal":"\u6A19\u6E96","tui.announcements.level.verbose":"\u8A73\u7D30","tui.app.terminal_too_small":"\u30BF\u30FC\u30DF\u30CA\u30EB\u304C\u5C0F\u3055\u3059\u304E\u307E\u3059 ({{width}}x{{height}})\u300240x8 \u4EE5\u4E0A\u306B\u30EA\u30B5\u30A4\u30BA\u3057\u3066\u304F\u3060\u3055\u3044\u3002","tui.dialog.help.command_list":"{{keybind}} \u3092\u62BC\u3059\u3068\u3001\u4EFB\u610F\u306E\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3067\u5229\u7528\u3067\u304D\u308B\u3059\u3079\u3066\u306E\u64CD\u4F5C\u3068\u30B3\u30DE\u30F3\u30C9\u3092\u8868\u793A\u3067\u304D\u307E\u3059\u3002","tui.dialog.help.ok":"OK","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 \u30B9\u30AF\u30ED\u30FC\u30EB \xB7 PgUp/PgDn \u30DA\u30FC\u30B8 \xB7 esc \u9589\u3058\u308B","tui.dialog.ok":"OK","tui.dialog.confirm.cancel":"\u30AD\u30E3\u30F3\u30BB\u30EB","tui.dialog.confirm.confirm":"\u78BA\u8A8D","tui.dialog.agreement.title":"\u5229\u7528\u898F\u7D04\u3068\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC","tui.dialog.agreement.message":"\u5185\u5BB9\u3092\u78BA\u8A8D\u3057\u3001\u540C\u610F\u306E\u3046\u3048\u3067\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002","tui.dialog.agreement.confirm":"\u540C\u610F\u3057\u3066\u7D9A\u884C","tui.command.docs.terms.title":"\u5229\u7528\u898F\u7D04\u3092\u8868\u793A","tui.command.docs.privacy.title":"\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u3092\u8868\u793A","tui.command.consent.revoke.title":"\u7121\u6599\u30E2\u30C7\u30EB\u306E\u540C\u610F\u3092\u53D6\u308A\u6D88\u3059","tui.consent.revoked":"\u7121\u6599\u30E2\u30C7\u30EB\u306E\u540C\u610F\u3092\u53D6\u308A\u6D88\u3057\u307E\u3057\u305F \u2014 \u6B21\u56DE\u5229\u7528\u6642\u306B\u518D\u5EA6\u540C\u610F\u3092\u6C42\u3081\u307E\u3059","tui.dialog.select.placeholder":"\u691C\u7D22","tui.dialog.select.no_results":"\u7D50\u679C\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","tui.dialog.prompt.placeholder":"\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B","tui.dialog.prompt.busy":"\u51E6\u7406\u4E2D...","tui.dialog.prompt.processing":"\u51E6\u7406\u4E2D...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"\u9001\u4FE1","tui.dialog.export.title":"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30AA\u30D7\u30B7\u30E7\u30F3","tui.dialog.export.filename":"\u30D5\u30A1\u30A4\u30EB\u540D:","tui.dialog.export.filename_placeholder":"\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u5165\u529B","tui.dialog.export.include_thinking":"\u601D\u8003\u904E\u7A0B\u3092\u542B\u3081\u308B","tui.dialog.export.include_tool_details":"\u30C4\u30FC\u30EB\u8A73\u7D30\u3092\u542B\u3081\u308B","tui.dialog.export.include_assistant_metadata":"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u30E1\u30BF\u30C7\u30FC\u30BF\u3092\u542B\u3081\u308B","tui.dialog.export.open_without_saving":"\u4FDD\u5B58\u305B\u305A\u306B\u958B\u304F","tui.dialog.export.hint.toggle_prefix":"\u62BC\u3059","tui.dialog.export.hint.toggle_action":"\u5207\u308A\u66FF\u3048","tui.dialog.export.hint.confirm_action":"\u78BA\u8A8D","tui.dialog.export.hint.options_action":"\u30AA\u30D7\u30B7\u30E7\u30F3","tui.toast.copied_to_clipboard":"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","tui.toast.instructions_loaded":"{{files}} \u3092\u8AAD\u307F\u8FBC\u307F\u307E\u3057\u305F","tui.toast.update_available.title":"\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u304C\u3042\u308A\u307E\u3059","tui.toast.update_available.confirm":"\u65B0\u3057\u3044\u30D0\u30FC\u30B8\u30E7\u30F3 v{{version}} \u304C\u5229\u7528\u53EF\u80FD\u3067\u3059\u3002\u4ECA\u3059\u3050\u66F4\u65B0\u3057\u307E\u3059\u304B\uFF1F","tui.toast.update_available.updating":"v{{version}} \u306B\u66F4\u65B0\u4E2D...","tui.toast.update_available.failed":"\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F","tui.toast.update_available.success":"QitQode v{{version}} \u306B\u66F4\u65B0\u3057\u307E\u3057\u305F\u3002\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3092\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002","tui.toast.updated.title":"\u81EA\u52D5\u66F4\u65B0\u6E08\u307F","tui.toast.updated.message":"\u30D1\u30C3\u30C1\u66F4\u65B0\u3092\u81EA\u52D5\u9069\u7528\u3057\u307E\u3057\u305F\uFF1Av{{version}}\u3002\u518D\u8D77\u52D5\u5F8C\u306B\u6709\u52B9\u306B\u306A\u308A\u307E\u3059\u3002\u8A2D\u5B9A\u3067 autoupdate: false \u3092\u6307\u5B9A\u3059\u308B\u3068\u7121\u52B9\u306B\u3067\u304D\u307E\u3059\u3002","tui.sidebar.instructions":"\u30A4\u30F3\u30B9\u30C8\u30E9\u30AF\u30B7\u30E7\u30F3","tui.sidebar.cwd":"\u4F5C\u696D\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA","tui.toast.unknown_error":"\u4E0D\u660E\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F","tui.command.docs.open.title":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u958B\u304F","tui.command.app.exit.title":"\u30A2\u30D7\u30EA\u3092\u7D42\u4E86","tui.command.app.debug.title":"\u30C7\u30D0\u30C3\u30B0\u30D1\u30CD\u30EB\u3092\u5207\u66FF","tui.command.app.console.title":"\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u5207\u66FF","tui.command.app.heap_snapshot.title":"\u30D2\u30FC\u30D7\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8\u3092\u66F8\u304D\u51FA\u3057","tui.command.terminal.suspend.title":"\u30BF\u30FC\u30DF\u30CA\u30EB\u3092\u30B5\u30B9\u30DA\u30F3\u30C9","tui.command.terminal.title.disable":"\u30BF\u30FC\u30DF\u30CA\u30EB\u30BF\u30A4\u30C8\u30EB\u3092\u7121\u52B9\u5316","tui.command.terminal.title.enable":"\u30BF\u30FC\u30DF\u30CA\u30EB\u30BF\u30A4\u30C8\u30EB\u3092\u6709\u52B9\u5316","tui.command.app.toggle.animations.disable":"\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u5316","tui.command.app.toggle.animations.enable":"\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u5316","tui.command.app.toggle.diffwrap.disable":"diff \u306E\u6298\u308A\u8FD4\u3057\u3092\u7121\u52B9\u5316","tui.command.app.toggle.diffwrap.enable":"diff \u306E\u6298\u308A\u8FD4\u3057\u3092\u6709\u52B9\u5316","tui.command.app.toggle.sound.disable":"\u30B5\u30A6\u30F3\u30C9\u3092\u7121\u52B9\u5316","tui.command.app.toggle.sound.enable":"\u30B5\u30A6\u30F3\u30C9\u3092\u6709\u52B9\u5316","tui.command.logout.toast":"\u30ED\u30B0\u30A2\u30A6\u30C8\u3057\u307E\u3057\u305F","tui.command.session.share.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5171\u6709","tui.command.session.share.copy_link":"\u5171\u6709\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC","tui.command.session.rename.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u30EA\u30CD\u30FC\u30E0","tui.command.session.timeline.title":"\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u30B8\u30E3\u30F3\u30D7","tui.command.session.fork.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5206\u5C90","tui.command.session.compact.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5727\u7E2E","tui.command.session.unshare.title":"\u5171\u6709\u3092\u89E3\u9664","tui.command.session.undo.title":"\u76F4\u524D\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D6\u308A\u6D88\u3059","tui.command.session.redo.title":"\u3084\u308A\u76F4\u3057","tui.command.session.sidebar.show":"\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u8868\u793A","tui.command.session.sidebar.hide":"\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u975E\u8868\u793A","tui.command.session.conceal.disable":"\u30B3\u30FC\u30C9\u96A0\u853D\u3092\u7121\u52B9\u5316","tui.command.session.conceal.enable":"\u30B3\u30FC\u30C9\u96A0\u853D\u3092\u6709\u52B9\u5316","tui.command.session.timestamps.show":"\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3092\u8868\u793A","tui.command.session.timestamps.hide":"\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3092\u975E\u8868\u793A","tui.command.session.thinking.expand":"\u601D\u8003\u904E\u7A0B\u3092\u5C55\u958B","tui.command.session.thinking.collapse":"\u601D\u8003\u904E\u7A0B\u3092\u6298\u308A\u305F\u305F\u3080","tui.command.session.tool_details.show":"\u30C4\u30FC\u30EB\u8A73\u7D30\u3092\u8868\u793A","tui.command.session.tool_details.hide":"\u30C4\u30FC\u30EB\u8A73\u7D30\u3092\u975E\u8868\u793A","tui.command.session.scrollbar.toggle":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u3092\u5207\u66FF","tui.command.session.generic_tool_output.show":"\u6C4E\u7528\u30C4\u30FC\u30EB\u51FA\u529B\u3092\u8868\u793A","tui.command.session.generic_tool_output.hide":"\u6C4E\u7528\u30C4\u30FC\u30EB\u51FA\u529B\u3092\u975E\u8868\u793A","tui.command.session.page_up.title":"1 \u30DA\u30FC\u30B8\u4E0A","tui.command.session.page_down.title":"1 \u30DA\u30FC\u30B8\u4E0B","tui.command.session.line_up.title":"1 \u884C\u4E0A","tui.command.session.line_down.title":"1 \u884C\u4E0B","tui.command.session.half_page_up.title":"\u534A\u30DA\u30FC\u30B8\u4E0A","tui.command.session.half_page_down.title":"\u534A\u30DA\u30FC\u30B8\u4E0B","tui.command.session.first.title":"\u6700\u521D\u306E\u30E1\u30C3\u30BB\u30FC\u30B8","tui.command.session.last.title":"\u6700\u5F8C\u306E\u30E1\u30C3\u30BB\u30FC\u30B8","tui.command.session.last_user.title":"\u6700\u5F8C\u306E\u30E6\u30FC\u30B6\u30FC\u30E1\u30C3\u30BB\u30FC\u30B8\u3078","tui.command.session.message_next.title":"\u6B21\u306E\u30E1\u30C3\u30BB\u30FC\u30B8","tui.command.session.message_previous.title":"\u524D\u306E\u30E1\u30C3\u30BB\u30FC\u30B8","tui.command.messages.copy.title":"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u306E\u6700\u5F8C\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u30B3\u30D4\u30FC","tui.command.session.copy.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u30C8\u30E9\u30F3\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u30B3\u30D4\u30FC","tui.command.session.export.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u30C8\u30E9\u30F3\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","tui.command.session.child_first.title":"\u5B50\u30BB\u30C3\u30B7\u30E7\u30F3\u3078\u79FB\u52D5","tui.command.session.parent.title":"\u89AA\u30BB\u30C3\u30B7\u30E7\u30F3\u3078\u623B\u308B","tui.command.session.child_next.title":"\u6B21\u306E\u5B50\u30BB\u30C3\u30B7\u30E7\u30F3","tui.command.session.child_previous.title":"\u524D\u306E\u5B50\u30BB\u30C3\u30B7\u30E7\u30F3","tui.command.prompt.clear.title":"\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u30AF\u30EA\u30A2","tui.command.prompt.submit.title":"\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u9001\u4FE1","tui.command.prompt.paste.title":"\u8CBC\u308A\u4ED8\u3051","tui.command.session.interrupt.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u4E2D\u65AD","tui.command.prompt.editor.title":"\u30A8\u30C7\u30A3\u30BF\u3092\u958B\u304F","tui.command.prompt.skills.title":"\u30B9\u30AD\u30EB","tui.command.voice.toggle.title":"\u97F3\u58F0\u5165\u529B\u306E\u5207\u308A\u66FF\u3048","tui.command.voice.toggle.title_on":"\u97F3\u58F0\u5165\u529B\uFF1A\u6709\u52B9 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u7121\u52B9\u5316","tui.command.voice.toggle.title_off":"\u97F3\u58F0\u5165\u529B\uFF1A\u7121\u52B9 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u6709\u52B9\u5316","tui.voice.enabled":"\u97F3\u58F0\u5165\u529B\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3057\u305F\uFF08\u4E2D\u56FD\u8A9E/\u82F1\u8A9E\uFF09\u2014 [Voice] \u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u9332\u97F3","tui.voice.disabled":"\u97F3\u58F0\u5165\u529B\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3057\u305F","tui.voice.send.enabled":'\u97F3\u58F0\u9001\u4FE1\u304C\u6709\u52B9 \u2014 \u300C\u53D1\u9001\u300D\u307E\u305F\u306F "send it" \u3067\u9001\u4FE1',"tui.voice.send.disabled":"\u97F3\u58F0\u9001\u4FE1\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3057\u305F","tui.command.voice.send.title":"\u97F3\u58F0\u9001\u4FE1\u3092\u5207\u308A\u66FF\u3048","tui.command.voice.send.title_on":"\u97F3\u58F0\u9001\u4FE1\uFF1A\u6709\u52B9 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u7121\u52B9\u5316","tui.command.voice.send.title_off":"\u97F3\u58F0\u9001\u4FE1\uFF1A\u7121\u52B9 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u6709\u52B9\u5316","tui.voice.control.enabled":"\u97F3\u58F0\u5236\u5FA1\u304C\u6709\u52B9 \u2014 \u30DE\u30EB\u30C1\u30E2\u30FC\u30C0\u30EB\u30E2\u30C7\u30EB\u306B\u3088\u308B\u30A4\u30F3\u30C6\u30EA\u30B8\u30A7\u30F3\u30C8\u7DE8\u96C6\uFF08\u9045\u3081\uFF09","tui.voice.control.disabled":"\u97F3\u58F0\u5236\u5FA1\u304C\u7121\u52B9 \u2014 \u9AD8\u901FASR\u8EE2\u5199\u3092\u4F7F\u7528","tui.command.voice.control.title":"\u97F3\u58F0\u5236\u5FA1\u3092\u5207\u308A\u66FF\u3048\uFF08\u30DE\u30EB\u30C1\u30E2\u30FC\u30C0\u30EB\uFF09","tui.command.voice.control.title_on":"\u97F3\u58F0\u5236\u5FA1\uFF1A\u6709\u52B9\uFF08\u30DE\u30EB\u30C1\u30E2\u30FC\u30C0\u30EB\uFF09 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u7121\u52B9\u5316","tui.command.voice.control.title_off":"\u97F3\u58F0\u5236\u5FA1\uFF1A\u7121\u52B9\uFF08\u9AD8\u901FASR\uFF09 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u6709\u52B9\u5316","tui.voice.error.no_auth":"/connect \u3067 QitQode \u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u63A5\u7D9A\u3059\u308B\u304B\u3001voice.asr_model \u3067\u5225\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.no_auth_provider":"\u97F3\u58F0\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u300C{{provider}}\u300D\u304C\u8A8D\u8A3C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002apiKey \u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.provider_not_found":"\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u300C{{provider}}\u300D\u304C\u5229\u7528\u3067\u304D\u307E\u305B\u3093 \u2014 /connect \u3067\u63A5\u7D9A\u3059\u308B\u304B\u3001\u30AB\u30B9\u30BF\u30E0\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306E\u5834\u5408\u306F\u8A2D\u5B9A\u3067 models \u3092\u5BA3\u8A00\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.no_url":"\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u300C{{provider}}\u300D\u306B baseURL \u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 \u2014 options.baseURL \u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.no_device":"\u30DE\u30A4\u30AF/\u30AA\u30FC\u30C7\u30A3\u30AA\u30C7\u30D0\u30A4\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 \u2014 \u30B7\u30B9\u30C6\u30E0\u306E\u30AA\u30FC\u30C7\u30A3\u30AA\u8A2D\u5B9A\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.recorder_failed":"\u9332\u97F3\u306B\u5931\u6557\u3057\u307E\u3057\u305F","tui.voice.error.no_recorder":"\u9332\u97F3\u30C4\u30FC\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002sox \u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.too_short":"\u9332\u97F3\u6642\u9593\u304C\u77ED\u3059\u304E\u307E\u3059","tui.voice.error.network":"\u6587\u5B57\u8D77\u3053\u3057\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","tui.command.prompt.stash.title":"\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u9000\u907F","tui.command.prompt.stash.pop.title":"\u9000\u907F\u304B\u3089\u5FA9\u5143","tui.command.prompt.stash.list.title":"\u9000\u907F\u4E00\u89A7","tui.command.tips.toggle.show":"\u30D2\u30F3\u30C8\u3092\u8868\u793A","tui.command.tips.toggle.hide":"\u30D2\u30F3\u30C8\u3092\u975E\u8868\u793A","tui.command.plugins.list.title":"\u30D7\u30E9\u30B0\u30A4\u30F3","tui.command.plugins.install.title":"\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB","cli.providers.select":"\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u9078\u629E","cli.providers.other":"\u305D\u306E\u4ED6\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC","tui.question.plan_enter.question":"\u69CB\u9020\u5316\u3055\u308C\u305F\u8A08\u753B\u306E\u305F\u3081\u306B plan \u30E2\u30FC\u30C9\u306B\u5207\u308A\u66FF\u3048\u307E\u3059\u304B\uFF1F","tui.question.plan_enter.header":"\u8A08\u753B\u958B\u59CB","tui.question.plan_enter.option.0.label":"\u306F\u3044","tui.question.plan_enter.option.0.description":"\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u306E\u8A08\u753B\u306E\u305F\u3081\u306B plan \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u5207\u308A\u66FF\u3048","tui.question.plan_enter.option.1.label":"\u3044\u3044\u3048","tui.question.plan_enter.option.1.description":"\u73FE\u5728\u306E\u30E2\u30FC\u30C9\u306B\u3068\u3069\u307E\u308B","tui.question.plan_exit.question":"{{plan}} \u306E\u8A08\u753B\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002build \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u5207\u308A\u66FF\u3048\u3066\u5B9F\u88C5\u3092\u958B\u59CB\u3057\u307E\u3059\u304B\uFF1F","tui.question.plan_exit.header":"\u8A08\u753B\u7D42\u4E86","tui.question.plan_exit.option.0.label":"\u306F\u3044","tui.question.plan_exit.option.0.description":"build \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u5207\u308A\u66FF\u3048\u3066\u8A08\u753B\u306E\u5B9F\u88C5\u3092\u958B\u59CB","tui.question.plan_exit.option.1.label":"\u3044\u3044\u3048","tui.question.plan_exit.option.1.description":"plan \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3067\u8A08\u753B\u306E\u6539\u5584\u3092\u7D9A\u3051\u308B","tui.session.badge.auto":"\u81EA\u52D5","trust.title":"\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u30A2\u30AF\u30BB\u30B9\u4E2D\uFF1A","trust.safety_check":"\u5B89\u5168\u78BA\u8A8D\uFF1A\u3053\u308C\u306F\u3042\u306A\u305F\u304C\u4F5C\u6210\u3057\u305F\u3001\u307E\u305F\u306F\u4FE1\u983C\u3057\u3066\u3044\u308B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3067\u3059\u304B\uFF1F\uFF08\u81EA\u5206\u306E\u30B3\u30FC\u30C9\u3001\u6709\u540D\u306A\u30AA\u30FC\u30D7\u30F3\u30BD\u30FC\u30B9\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3001\u30C1\u30FC\u30E0\u306E\u4F5C\u696D\u306A\u3069\uFF09\u3002\u305D\u3046\u3067\u306A\u3044\u5834\u5408\u306F\u3001\u307E\u305A\u3053\u306E\u30D5\u30A9\u30EB\u30C0\u306E\u5185\u5BB9\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002","trust.capabilities":"QitQode \u306F\u3053\u3053\u3067\u30D5\u30A1\u30A4\u30EB\u306E\u8AAD\u307F\u53D6\u308A\u3001\u7DE8\u96C6\u3001\u5B9F\u884C\u304C\u53EF\u80FD\u306B\u306A\u308A\u307E\u3059\u3002","trust.plugin_warn":"\u3053\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u60AA\u610F\u3042\u308B\u30D7\u30E9\u30B0\u30A4\u30F3\u304C\u5B58\u5728\u3059\u308B\u5834\u5408\u3001\u4EFB\u610F\u306E\u30B3\u30FC\u30C9\u3092\u5B9F\u884C\u3057\u3001\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307F\u53D6\u308A\u3001\u5909\u66F4\u3001\u307E\u305F\u306F\u6D41\u51FA\u3055\u305B\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002","trust.option.yes":"\u306F\u3044\u3001\u3053\u306E\u30D5\u30A9\u30EB\u30C0\u3092\u4FE1\u983C\u3057\u307E\u3059","trust.option.no":"\u3044\u3044\u3048\u3001\u7D42\u4E86","trust.dangerous.title_home":"\u8B66\u544A\uFF1A\u30DB\u30FC\u30E0\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u958B\u3053\u3046\u3068\u3057\u3066\u3044\u307E\u3059\u3002","trust.dangerous.title_root":"\u8B66\u544A\uFF1A\u30D5\u30A1\u30A4\u30EB\u30B7\u30B9\u30C6\u30E0\u306E\u30EB\u30FC\u30C8\u3092\u958B\u3053\u3046\u3068\u3057\u3066\u3044\u307E\u3059\u3002","trust.dangerous.body_home":"\u30E2\u30C7\u30EB\u304C\u30DB\u30FC\u30E0\u30D5\u30A9\u30EB\u30C0\u914D\u4E0B\u306E\u3059\u3079\u3066\u306E\u500B\u4EBA\u30D5\u30A1\u30A4\u30EB\uFF08SSH\u9375\u3001\u8A8D\u8A3C\u60C5\u5831\u3001\u30D6\u30E9\u30A6\u30B6\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u306A\u3069\uFF09\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\u3002","trust.dangerous.body_root":"\u30E2\u30C7\u30EB\u304C\u30D5\u30A1\u30A4\u30EB\u30B7\u30B9\u30C6\u30E0\u5168\u4F53\uFF08\u30B7\u30B9\u30C6\u30E0\u30D5\u30A1\u30A4\u30EB\u3001\u5168\u30E6\u30FC\u30B6\u30FC\u30C7\u30FC\u30BF\u3001\u8A8D\u8A3C\u60C5\u5831\u3001\u3053\u306E\u30DE\u30B7\u30F3\u4E0A\u306E\u3059\u3079\u3066\uFF09\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\u3002","trust.dangerous.advice_home":"\u660E\u78BA\u306A\u7406\u7531\u304C\u306A\u3044\u9650\u308A\u3001\u30DB\u30FC\u30E0\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u5168\u4F53\u3092\u4FE1\u983C\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002","trust.dangerous.advice_root":"\u660E\u78BA\u306A\u7406\u7531\u304C\u306A\u3044\u9650\u308A\u3001\u30D5\u30A1\u30A4\u30EB\u30B7\u30B9\u30C6\u30E0\u306E\u30EB\u30FC\u30C8\u3092\u4FE1\u983C\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002","trust.dangerous.option.yes":"\u30EA\u30B9\u30AF\u3092\u7406\u89E3\u3057\u305F\u4E0A\u3067\u3001\u4ECA\u56DE\u306E\u307F\u4FE1\u983C\u3059\u308B","trust.dangerous.option.no":"\u7D42\u4E86\uFF08\u63A8\u5968\uFF09"};
|
|
3
|
-
export{f as
|
|
3
|
+
export{f as Hd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{zf as h}from"./chunk-w9gzfsy7.js";import"./chunk-ph8hn1wt.js";import"./chunk-ptqk1j2r.js";import"./chunk-cqtkxwd8.js";import"./chunk-pr7z5dj8.js";import"./chunk-j9h1sp4g.js";import"./chunk-p6crzjtf.js";import"./chunk-r9w0thdk.js";var v=(q)=>{return h({baseURL:"https://gateway.ai.cloudflare.com/v1/compat",name:"Unified",...q||{}})},x=v();export{x as unified,v as createUnified};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{sO as vQ,tO as A,wO as _}from"./chunk-r9w0thdk.js";var U1=A((_5,e6)=>{var E8=Object.prototype.hasOwnProperty,t6=Object.prototype.toString,i6=Object.defineProperty,a6=Object.getOwnPropertyDescriptor,n6=function($){if(typeof Array.isArray==="function")return Array.isArray($);return t6.call($)==="[object Array]"},r6=function($){if(!$||t6.call($)!=="[object Object]")return!1;var Q=E8.call($,"constructor"),Y=$.constructor&&$.constructor.prototype&&E8.call($.constructor.prototype,"isPrototypeOf");if($.constructor&&!Q&&!Y)return!1;var V;for(V in $);return typeof V>"u"||E8.call($,V)},s6=function($,Q){if(i6&&Q.name==="__proto__")i6($,Q.name,{enumerable:!0,configurable:!0,value:Q.newValue,writable:!0});else $[Q.name]=Q.newValue},o6=function($,Q){if(Q==="__proto__"){if(!E8.call($,Q))return;else if(a6)return a6($,Q).value}return $[Q]};e6.exports=function Z(){var $,Q,Y,V,W,z,K=arguments[0],F=1,L=arguments.length,N=!1;if(typeof K==="boolean")N=K,K=arguments[1]||{},F=2;if(K==null||typeof K!=="object"&&typeof K!=="function")K={};for(;F<L;++F)if($=arguments[F],$!=null){for(Q in $)if(Y=o6(K,Q),V=o6($,Q),K!==V){if(N&&V&&(r6(V)||(W=n6(V)))){if(W)W=!1,z=Y&&n6(Y)?Y:[];else z=Y&&r6(Y)?Y:{};s6(K,{name:Q,newValue:Z(N,z,V)})}else if(typeof V<"u")s6(K,{name:Q,newValue:V})}}return K}});var ZZ=A((x5,LQ)=>{LQ.exports={name:"gaxios",version:"7.1.4",description:"A simple common HTTP client specifically for Google APIs and services.",main:"build/cjs/src/index.js",types:"build/cjs/src/index.d.ts",files:["build/"],exports:{".":{import:{types:"./build/esm/src/index.d.ts",default:"./build/esm/src/index.js"},require:{types:"./build/cjs/src/index.d.ts",default:"./build/cjs/src/index.js"}}},scripts:{lint:"gts check --no-inline-config",test:"c8 mocha build/esm/test","presystem-test":"npm run compile","system-test":"mocha build/esm/system-test --timeout 80000",compile:"tsc -b ./tsconfig.json ./tsconfig.cjs.json && node utils/enable-esm.mjs",fix:"gts fix",prepare:"npm run compile",pretest:"npm run compile",webpack:"webpack","prebrowser-test":"npm run compile","browser-test":"node build/browser-test/browser-test-runner.js",docs:"jsdoc -c .jsdoc.js","docs-test":"linkinator docs","predocs-test":"npm run docs","samples-test":"cd samples/ && npm link ../ && npm test && cd ../",prelint:"cd samples; npm link ../; npm install",clean:"gts clean"},repository:{type:"git",directory:"packages/gaxios",url:"https://github.com/googleapis/google-cloud-node-core.git"},keywords:["google"],engines:{node:">=18"},author:"Google, LLC",license:"Apache-2.0",devDependencies:{"@babel/plugin-proposal-private-methods":"^7.18.6","@types/cors":"^2.8.6","@types/express":"^5.0.0","@types/extend":"^3.0.1","@types/mocha":"^10.0.10","@types/multiparty":"4.2.1","@types/mv":"^2.1.0","@types/ncp":"^2.0.8","@types/node":"^22.13.1","@types/sinon":"^17.0.3","@types/tmp":"^0.2.6",assert:"^2.0.0",browserify:"^17.0.0",c8:"^10.1.3",cors:"^2.8.5",express:"^5.0.0",gts:"^6.0.2","is-docker":"^3.0.0",jsdoc:"^4.0.4","jsdoc-fresh":"^5.0.0","jsdoc-region-tag":"^4.0.0",karma:"^6.0.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-firefox-launcher":"^2.0.0","karma-mocha":"^2.0.0","karma-remap-coverage":"^0.1.5","karma-sourcemap-loader":"^0.4.0","karma-webpack":"^5.0.1",linkinator:"^6.1.2",mocha:"^11.1.0",multiparty:"^4.2.1",mv:"^2.1.1",ncp:"^2.0.0",nock:"^14.0.5","null-loader":"^4.0.1","pack-n-play":"^4.0.0",puppeteer:"^24.0.0",sinon:"^21.0.0","stream-browserify":"^3.0.0",tmp:"0.2.5","ts-loader":"^9.5.2",typescript:"5.8.3",webpack:"^5.97.1","webpack-cli":"^6.0.1"},dependencies:{extend:"^3.0.2","https-proxy-agent":"^7.0.1","node-fetch":"^3.3.2"},homepage:"https://github.com/googleapis/google-cloud-node-core/tree/main/packages/gaxios"}});var QZ=A((b5,$Z)=>{var SQ=ZZ();$Z.exports={pkg:SQ}});var G1=A((T0)=>{var VZ=T0&&T0.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(T0,"__esModule",{value:!0});T0.GaxiosError=T0.GAXIOS_ERROR_SYMBOL=void 0;T0.defaultErrorRedactor=WZ;var YZ=VZ(U1()),BQ=VZ(QZ()),D1=BQ.default.pkg;T0.GAXIOS_ERROR_SYMBOL=Symbol.for(`${D1.name}-gaxios-error`);class M1 extends Error{config;response;code;status;error;[T0.GAXIOS_ERROR_SYMBOL]=D1.version;static[Symbol.hasInstance](Z){if(Z&&typeof Z==="object"&&T0.GAXIOS_ERROR_SYMBOL in Z&&Z[T0.GAXIOS_ERROR_SYMBOL]===D1.version)return!0;return Function.prototype[Symbol.hasInstance].call(M1,Z)}constructor(Z,$,Q,Y){super(Z,{cause:Y});if(this.config=$,this.response=Q,this.error=Y instanceof Error?Y:void 0,this.config=(0,YZ.default)(!0,{},$),this.response)this.response.config=(0,YZ.default)(!0,{},this.response.config);if(this.response){try{this.response.data=OQ(this.config.responseType,this.response?.bodyUsed?this.response?.data:void 0)}catch{}this.status=this.response.status}if(Y instanceof DOMException)this.code=Y.name;else if(Y&&typeof Y==="object"&&"code"in Y&&(typeof Y.code==="string"||typeof Y.code==="number"))this.code=Y.code}static extractAPIErrorFromResponse(Z,$="The request failed"){let Q=$;if(typeof Z.data==="string")Q=Z.data;if(Z.data&&typeof Z.data==="object"&&"error"in Z.data&&Z.data.error&&!Z.ok){if(typeof Z.data.error==="string")return{message:Z.data.error,code:Z.status,status:Z.statusText};if(typeof Z.data.error==="object"){Q="message"in Z.data.error&&typeof Z.data.error.message==="string"?Z.data.error.message:Q;let Y="status"in Z.data.error&&typeof Z.data.error.status==="string"?Z.data.error.status:Z.statusText,V="code"in Z.data.error&&typeof Z.data.error.code==="number"?Z.data.error.code:Z.status;if("errors"in Z.data.error&&Array.isArray(Z.data.error.errors)){let W=[];for(let z of Z.data.error.errors)if(typeof z==="object"&&"message"in z&&typeof z.message==="string")W.push(z.message);return Object.assign({message:W.join(`
|
|
3
3
|
`)||Q,code:V,status:Y},Z.data.error)}return Object.assign({message:Q,code:V,status:Y},Z.data.error)}}return{message:Q,code:Z.status,status:Z.statusText}}}T0.GaxiosError=M1;function OQ(Z,$){switch(Z){case"stream":return $;case"json":return JSON.parse(JSON.stringify($));case"arraybuffer":return JSON.parse(Buffer.from($).toString("utf8"));case"blob":return JSON.parse($.text());default:return $}}function WZ(Z){function Q(W){if(!W)return;W.forEach((z,K)=>{if(/^authentication$/i.test(K)||/^authorization$/i.test(K)||/secret/i.test(K))W.set(K,"<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.")})}function Y(W,z){if(typeof W==="object"&&W!==null&&typeof W[z]==="string"){let K=W[z];if(/grant_type=/i.test(K)||/assertion=/i.test(K)||/secret/i.test(K))W[z]="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>."}}function V(W){if(!W||typeof W!=="object")return;else if(W instanceof FormData||W instanceof URLSearchParams||"forEach"in W&&"set"in W)W.forEach((z,K)=>{if(["grant_type","assertion"].includes(K)||/secret/.test(K))W.set(K,"<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.")});else{if("grant_type"in W)W.grant_type="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.";if("assertion"in W)W.assertion="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.";if("client_secret"in W)W.client_secret="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>."}}if(Z.config){if(Q(Z.config.headers),Y(Z.config,"data"),V(Z.config.data),Y(Z.config,"body"),V(Z.config.body),Z.config.url.searchParams.has("token"))Z.config.url.searchParams.set("token","<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.");if(Z.config.url.searchParams.has("client_secret"))Z.config.url.searchParams.set("client_secret","<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.")}if(Z.response){if(WZ({config:Z.response.config}),Q(Z.response.headers),Z.response.bodyUsed)Y(Z.response,"data"),V(Z.response.data)}return Z}});var HZ=A((XZ)=>{Object.defineProperty(XZ,"__esModule",{value:!0});XZ.getRetryConfig=PQ;async function PQ(Z){let $=JZ(Z);if(!Z||!Z.config||!$&&!Z.config.retry)return{shouldRetry:!1};$=$||{},$.currentRetryAttempt=$.currentRetryAttempt||0,$.retry=$.retry===void 0||$.retry===null?3:$.retry,$.httpMethodsToRetry=$.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],$.noResponseRetries=$.noResponseRetries===void 0||$.noResponseRetries===null?2:$.noResponseRetries,$.retryDelayMultiplier=$.retryDelayMultiplier?$.retryDelayMultiplier:2,$.timeOfFirstRequest=$.timeOfFirstRequest?$.timeOfFirstRequest:Date.now(),$.totalTimeout=$.totalTimeout?$.totalTimeout:Number.MAX_SAFE_INTEGER,$.maxRetryDelay=$.maxRetryDelay?$.maxRetryDelay:Number.MAX_SAFE_INTEGER;let Q=[[100,199],[408,408],[429,429],[500,599]];if($.statusCodesToRetry=$.statusCodesToRetry||Q,Z.config.retryConfig=$,!await($.shouldRetry||AQ)(Z))return{shouldRetry:!1,config:Z.config};let V=jQ($);Z.config.retryConfig.currentRetryAttempt+=1;let W=$.retryBackoff?$.retryBackoff(Z,V):new Promise((z)=>{setTimeout(z,V)});if($.onRetryAttempt)await $.onRetryAttempt(Z);return await W,{shouldRetry:!0,config:Z.config}}function AQ(Z){let $=JZ(Z);if(Z.config.signal?.aborted&&Z.code!=="TimeoutError"||Z.code==="AbortError")return!1;if(!$||$.retry===0)return!1;if(!Z.response&&($.currentRetryAttempt||0)>=$.noResponseRetries)return!1;if(!$.httpMethodsToRetry||!$.httpMethodsToRetry.includes(Z.config.method?.toUpperCase()||"GET"))return!1;if(Z.response&&Z.response.status){let Q=!1;for(let[Y,V]of $.statusCodesToRetry){let W=Z.response.status;if(W>=Y&&W<=V){Q=!0;break}}if(!Q)return!1}if($.currentRetryAttempt=$.currentRetryAttempt||0,$.currentRetryAttempt>=$.retry)return!1;return!0}function JZ(Z){if(Z&&Z.config&&Z.config.retryConfig)return Z.config.retryConfig;return}function jQ(Z){let Q=(Z.currentRetryAttempt?0:Z.retryDelay??100)+(Math.pow(Z.retryDelayMultiplier,Z.currentRetryAttempt)-1)/2*1000,Y=Z.totalTimeout-(Date.now()-Z.timeOfFirstRequest);return Math.min(Q,Y,Z.maxRetryDelay)}});var I1=A((KZ)=>{Object.defineProperty(KZ,"__esModule",{value:!0});KZ.GaxiosInterceptorManager=void 0;class zZ extends Set{}KZ.GaxiosInterceptorManager=zZ});var UZ=A((o0)=>{var EQ=o0&&o0.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}},s0;Object.defineProperty(o0,"__esModule",{value:!0});o0.Gaxios=void 0;var hQ=EQ(U1()),fQ=_("https"),p0=G1(),kQ=HZ(),wZ=_("stream"),FZ=I1(),yQ=async()=>globalThis.crypto?.randomUUID()||(await import("crypto")).randomUUID(),_Q=204;class R1{agentCache=new Map;defaults;interceptors;constructor(Z){this.defaults=Z||{},this.interceptors={request:new FZ.GaxiosInterceptorManager,response:new FZ.GaxiosInterceptorManager}}fetch(...Z){let $=Z[0],Q=Z[1],Y=void 0,V=new Headers;if(typeof $==="string")Y=new URL($);else if($ instanceof URL)Y=$;else if($&&$.url)Y=new URL($.url);if($&&typeof $==="object"&&"headers"in $)s0.mergeHeaders(V,$.headers);if(Q)s0.mergeHeaders(V,new Headers(Q.headers));if(typeof $==="object"&&!($ instanceof URL))return this.request({...Q,...$,headers:V,url:Y});else return this.request({...Q,headers:V,url:Y})}async request(Z={}){let $=await this.#Y(Z);return $=await this.#$($),this.#Q(this._request($))}async _defaultAdapter(Z){let $=Z.fetchImplementation||this.defaults.fetchImplementation||await s0.#H(),Q={...Z};delete Q.data;let Y=await $(Z.url,Q),V=await this.getResponseData(Z,Y);if(!Object.getOwnPropertyDescriptor(Y,"data")?.configurable)Object.defineProperties(Y,{data:{configurable:!0,writable:!0,enumerable:!0,value:V}});return Object.assign(Y,{config:Z,data:V})}async _request(Z){try{let $;if(Z.adapter)$=await Z.adapter(Z,this._defaultAdapter.bind(this));else $=await this._defaultAdapter(Z);if(!Z.validateStatus($.status)){if(Z.responseType==="stream"){let Y=[];for await(let V of $.data)Y.push(V);$.data=Y.toString()}let Q=p0.GaxiosError.extractAPIErrorFromResponse($,`Request failed with status code ${$.status}`);throw new p0.GaxiosError(Q?.message,Z,$,Q)}return $}catch($){let Q;if($ instanceof p0.GaxiosError)Q=$;else if($ instanceof Error)Q=new p0.GaxiosError($.message,Z,void 0,$);else Q=new p0.GaxiosError("Unexpected Gaxios Error",Z,void 0,$);let{shouldRetry:Y,config:V}=await(0,kQ.getRetryConfig)(Q);if(Y&&V)return Q.config.retryConfig.currentRetryAttempt=V.retryConfig.currentRetryAttempt,Z.retryConfig=Q.config?.retryConfig,this.#V(Z),this._request(Z);if(Z.errorRedactor)Z.errorRedactor(Q);throw Q}}async getResponseData(Z,$){if($.status===_Q)return"";if(Z.maxContentLength&&$.headers.has("content-length")&&Z.maxContentLength<Number.parseInt($.headers?.get("content-length")||""))throw new p0.GaxiosError("Response's `Content-Length` is over the limit.",Z,Object.assign($,{config:Z}));switch(Z.responseType){case"stream":return $.body;case"json":{let Q=await $.text();try{return JSON.parse(Q)}catch{return Q}}case"arraybuffer":return $.arrayBuffer();case"blob":return $.blob();case"text":return $.text();default:return this.getResponseDataFromContentType($)}}#Z(Z,$=[]){let Q=new URL(Z),Y=[...$],V=(process.env.NO_PROXY??process.env.no_proxy)?.split(",")||[];for(let W of V)Y.push(W.trim());for(let W of Y)if(W instanceof RegExp){if(W.test(Q.toString()))return!1}else if(W instanceof URL){if(W.origin===Q.origin)return!1}else if(W.startsWith("*.")||W.startsWith(".")){let z=W.replace(/^\*\./,".");if(Q.hostname.endsWith(z))return!1}else if(W===Q.origin||W===Q.hostname||W===Q.href)return!1;return!0}async#$(Z){let $=Promise.resolve(Z);for(let Q of this.interceptors.request.values())if(Q)$=$.then(Q.resolved,Q.rejected);return $}async#Q(Z){let $=Promise.resolve(Z);for(let Q of this.interceptors.response.values())if(Q)$=$.then(Q.resolved,Q.rejected);return $}async#Y(Z){let $=new Headers(this.defaults.headers);s0.mergeHeaders($,Z.headers);let Q=(0,hQ.default)(!0,{},this.defaults,Z);if(!Q.url)throw Error("URL is required.");if(Q.baseURL)Q.url=new URL(Q.url,Q.baseURL);if(Q.url=new URL(Q.url),Q.params)if(Q.paramsSerializer){let W=Q.paramsSerializer(Q.params);if(W.startsWith("?"))W=W.slice(1);let z=Q.url.toString().includes("?")?"&":"?";Q.url=Q.url+z+W}else{let W=Q.url instanceof URL?Q.url:new URL(Q.url);for(let[z,K]of new URLSearchParams(Q.params))W.searchParams.append(z,K);Q.url=W}if(typeof Z.maxContentLength==="number")Q.size=Z.maxContentLength;if(typeof Z.maxRedirects==="number")Q.follow=Z.maxRedirects;let Y=typeof Q.data==="string"||Q.data instanceof ArrayBuffer||Q.data instanceof Blob||globalThis.File&&Q.data instanceof File||Q.data instanceof FormData||Q.data instanceof wZ.Readable||Q.data instanceof ReadableStream||Q.data instanceof String||Q.data instanceof URLSearchParams||ArrayBuffer.isView(Q.data)||["Blob","File","FormData"].includes(Q.data?.constructor?.name||"");if(Q.multipart?.length){let W=await yQ();$.set("content-type",`multipart/related; boundary=${W}`),Q.body=wZ.Readable.from(this.getMultipartRequest(Q.multipart,W))}else if(Y)Q.body=Q.data;else if(typeof Q.data==="object")if($.get("Content-Type")==="application/x-www-form-urlencoded")Q.body=Q.paramsSerializer?Q.paramsSerializer(Q.data):new URLSearchParams(Q.data);else{if(!$.has("content-type"))$.set("content-type","application/json");Q.body=JSON.stringify(Q.data)}else if(Q.data)Q.body=Q.data;if(Q.validateStatus=Q.validateStatus||this.validateStatus,Q.responseType=Q.responseType||"unknown",!$.has("accept")&&Q.responseType==="json")$.set("accept","application/json");let V=Q.proxy||process?.env?.HTTPS_PROXY||process?.env?.https_proxy||process?.env?.HTTP_PROXY||process?.env?.http_proxy;if(Q.agent);else if(V&&this.#Z(Q.url,Q.noProxy)){let W=await s0.#X();if(this.agentCache.has(V))Q.agent=this.agentCache.get(V);else Q.agent=new W(V,{cert:Q.cert,key:Q.key}),this.agentCache.set(V,Q.agent)}else if(Q.cert&&Q.key)if(this.agentCache.has(Q.key))Q.agent=this.agentCache.get(Q.key);else Q.agent=new fQ.Agent({cert:Q.cert,key:Q.key}),this.agentCache.set(Q.key,Q.agent);if(typeof Q.errorRedactor!=="function"&&Q.errorRedactor!==!1)Q.errorRedactor=p0.defaultErrorRedactor;if(Q.body&&!("duplex"in Q))Q.duplex="half";return this.#V(Q),Object.assign(Q,{headers:$,url:Q.url instanceof URL?Q.url:new URL(Q.url)})}#V(Z){if(Z.timeout){let $=AbortSignal.timeout(Z.timeout);if(Z.signal&&!Z.signal.aborted)Z.signal=AbortSignal.any([Z.signal,$]);else Z.signal=$}}validateStatus(Z){return Z>=200&&Z<300}async getResponseDataFromContentType(Z){let $=Z.headers.get("Content-Type");if($===null)return Z.text();if($=$.toLowerCase(),$.includes("application/json")){let Q=await Z.text();try{Q=JSON.parse(Q)}catch{}return Q}else if($.match(/^text\//))return Z.text();else return Z.blob()}async*getMultipartRequest(Z,$){let Q=`--${$}--`;for(let Y of Z){let V=Y.headers.get("Content-Type")||"application/octet-stream";if(yield`--${$}\r
|
|
4
4
|
Content-Type: ${V}\r
|
|
5
5
|
\r
|
|
6
6
|
`,typeof Y.content==="string")yield Y.content;else yield*Y.content;yield`\r
|
|
7
|
-
`}yield Q}static#W;static#J;static async#X(){return this.#W||=(await import("./chunk-v667egp5.js").then((m)=>vQ(m.default))).HttpsProxyAgent,this.#W}static async#H(){let Z=typeof window<"u"&&!!window;return this.#J||=Z?window.fetch:(await import("node-fetch")).default,this.#J}static mergeHeaders(Z,...$){Z=Z instanceof Headers?Z:new Headers(Z);for(let Q of $)(Q instanceof Headers?Q:new Headers(Q)).forEach((V,W)=>{W==="set-cookie"?Z.append(W,V):Z.set(W,V)});return Z}}o0.Gaxios=R1;s0=R1});var X0=A((q0)=>{var xQ=q0&&q0.__createBinding||(Object.create?function(Z,$,Q,Y){if(Y===void 0)Y=Q;var V=Object.getOwnPropertyDescriptor($,Q);if(!V||("get"in V?!$.__esModule:V.writable||V.configurable))V={enumerable:!0,get:function(){return $[Q]}};Object.defineProperty(Z,Y,V)}:function(Z,$,Q,Y){if(Y===void 0)Y=Q;Z[Y]=$[Q]}),bQ=q0&&q0.__exportStar||function(Z,$){for(var Q in Z)if(Q!=="default"&&!Object.prototype.hasOwnProperty.call($,Q))xQ($,Z,Q)};Object.defineProperty(q0,"__esModule",{value:!0});q0.instance=q0.Gaxios=q0.GaxiosError=void 0;q0.request=gQ;var DZ=UZ();Object.defineProperty(q0,"Gaxios",{enumerable:!0,get:function(){return DZ.Gaxios}});var mQ=G1();Object.defineProperty(q0,"GaxiosError",{enumerable:!0,get:function(){return mQ.GaxiosError}});bQ(I1(),q0);q0.instance=new DZ.Gaxios;async function gQ(Z){return q0.instance.request(Z)}});var N1=A((MZ,h8)=>{(function(Z){var $,Q=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Y=Math.ceil,V=Math.floor,W="[BigNumber Error] ",z=W+"Number primitive has more than 15 significant digits: ",K=100000000000000,F=14,L=9007199254740991,N=[1,10,100,1000,1e4,1e5,1e6,1e7,1e8,1e9,10000000000,100000000000,1000000000000,10000000000000],S=1e7,P=1e9;function x(b){var v,k,m,O=B.prototype={constructor:B,toString:null,valueOf:null},t=new B(1),i=20,d=4,V0=-7,s=21,Q0=-1e7,e=1e7,Y0=!1,y0=1,w0=0,H1={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xA0",suffix:""},c0="0123456789abcdefghijklmnopqrstuvwxyz",z1=!0;function B(J,X){var H,G,w,D,R,q,U,I,M=this;if(!(M instanceof B))return new B(J,X);if(X==null){if(J&&J._isBigNumber===!0){if(M.s=J.s,!J.c||J.e>e)M.c=M.e=null;else if(J.e<Q0)M.c=[M.e=0];else M.e=J.e,M.c=J.c.slice();return}if((q=typeof J=="number")&&J*0==0){if(M.s=1/J<0?(J=-J,-1):1,J===~~J){for(D=0,R=J;R>=10;R/=10,D++);if(D>e)M.c=M.e=null;else M.e=D,M.c=[J];return}I=String(J)}else{if(!Q.test(I=String(J)))return m(M,I,q);M.s=I.charCodeAt(0)==45?(I=I.slice(1),-1):1}if((D=I.indexOf("."))>-1)I=I.replace(".","");if((R=I.search(/e/i))>0){if(D<0)D=R;D+=+I.slice(R+1),I=I.substring(0,R)}else if(D<0)D=I.length}else{if(j(X,2,c0.length,"Base"),X==10&&z1)return M=new B(J),R0(M,i+M.e+1,d);if(I=String(J),q=typeof J=="number"){if(J*0!=0)return m(M,I,q,X);if(M.s=1/J<0?(I=I.slice(1),-1):1,B.DEBUG&&I.replace(/^0\.0*|\./,"").length>15)throw Error(z+J)}else M.s=I.charCodeAt(0)===45?(I=I.slice(1),-1):1;H=c0.slice(0,X),D=R=0;for(U=I.length;R<U;R++)if(H.indexOf(G=I.charAt(R))<0){if(G=="."){if(R>D){D=U;continue}}else if(!w){if(I==I.toUpperCase()&&(I=I.toLowerCase())||I==I.toLowerCase()&&(I=I.toUpperCase())){w=!0,R=-1,D=0;continue}}return m(M,String(J),q,X)}if(q=!1,I=k(I,X,10,M.s),(D=I.indexOf("."))>-1)I=I.replace(".","");else D=I.length}for(R=0;I.charCodeAt(R)===48;R++);for(U=I.length;I.charCodeAt(--U)===48;);if(I=I.slice(R,++U)){if(U-=R,q&&B.DEBUG&&U>15&&(J>L||J!==V(J)))throw Error(z+M.s*J);if((D=D-R-1)>e)M.c=M.e=null;else if(D<Q0)M.c=[M.e=0];else{if(M.e=D,M.c=[],R=(D+1)%F,D<0)R+=F;if(R<U){if(R)M.c.push(+I.slice(0,R));for(U-=F;R<U;)M.c.push(+I.slice(R,R+=F));R=F-(I=I.slice(R)).length}else R-=U;for(;R--;I+="0");M.c.push(+I)}}else M.c=[M.e=0]}B.clone=x,B.ROUND_UP=0,B.ROUND_DOWN=1,B.ROUND_CEIL=2,B.ROUND_FLOOR=3,B.ROUND_HALF_UP=4,B.ROUND_HALF_DOWN=5,B.ROUND_HALF_EVEN=6,B.ROUND_HALF_CEIL=7,B.ROUND_HALF_FLOOR=8,B.EUCLID=9,B.config=B.set=function(J){var X,H;if(J!=null)if(typeof J=="object"){if(J.hasOwnProperty(X="DECIMAL_PLACES"))H=J[X],j(H,0,P,X),i=H;if(J.hasOwnProperty(X="ROUNDING_MODE"))H=J[X],j(H,0,8,X),d=H;if(J.hasOwnProperty(X="EXPONENTIAL_AT"))if(H=J[X],H&&H.pop)j(H[0],-P,0,X),j(H[1],0,P,X),V0=H[0],s=H[1];else j(H,-P,P,X),V0=-(s=H<0?-H:H);if(J.hasOwnProperty(X="RANGE"))if(H=J[X],H&&H.pop)j(H[0],-P,-1,X),j(H[1],1,P,X),Q0=H[0],e=H[1];else if(j(H,-P,P,X),H)Q0=-(e=H<0?-H:H);else throw Error(W+X+" cannot be zero: "+H);if(J.hasOwnProperty(X="CRYPTO"))if(H=J[X],H===!!H)if(H)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))Y0=H;else throw Y0=!H,Error(W+"crypto unavailable");else Y0=H;else throw Error(W+X+" not true or false: "+H);if(J.hasOwnProperty(X="MODULO_MODE"))H=J[X],j(H,0,9,X),y0=H;if(J.hasOwnProperty(X="POW_PRECISION"))H=J[X],j(H,0,P,X),w0=H;if(J.hasOwnProperty(X="FORMAT"))if(H=J[X],typeof H=="object")H1=H;else throw Error(W+X+" not an object: "+H);if(J.hasOwnProperty(X="ALPHABET"))if(H=J[X],typeof H=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(H))z1=H.slice(0,10)=="0123456789",c0=H;else throw Error(W+X+" invalid: "+H)}else throw Error(W+"Object expected: "+J);return{DECIMAL_PLACES:i,ROUNDING_MODE:d,EXPONENTIAL_AT:[V0,s],RANGE:[Q0,e],CRYPTO:Y0,MODULO_MODE:y0,POW_PRECISION:w0,FORMAT:H1,ALPHABET:c0}},B.isBigNumber=function(J){if(!J||J._isBigNumber!==!0)return!1;if(!B.DEBUG)return!0;var X,H,G=J.c,w=J.e,D=J.s;Z:if({}.toString.call(G)=="[object Array]"){if((D===1||D===-1)&&w>=-P&&w<=P&&w===V(w)){if(G[0]===0){if(w===0&&G.length===1)return!0;break Z}if(X=(w+1)%F,X<1)X+=F;if(String(G[0]).length==X){for(X=0;X<G.length;X++)if(H=G[X],H<0||H>=K||H!==V(H))break Z;if(H!==0)return!0}}}else if(G===null&&w===null&&(D===null||D===1||D===-1))return!0;throw Error(W+"Invalid BigNumber: "+J)},B.maximum=B.max=function(){return p6(arguments,-1)},B.minimum=B.min=function(){return p6(arguments,1)},B.random=function(){var J=9007199254740992,X=Math.random()*J&2097151?function(){return V(Math.random()*J)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(H){var G,w,D,R,q,U=0,I=[],M=new B(t);if(H==null)H=i;else j(H,0,P);if(R=Y(H/F),Y0)if(crypto.getRandomValues){G=crypto.getRandomValues(new Uint32Array(R*=2));for(;U<R;)if(q=G[U]*131072+(G[U+1]>>>11),q>=9000000000000000)w=crypto.getRandomValues(new Uint32Array(2)),G[U]=w[0],G[U+1]=w[1];else I.push(q%100000000000000),U+=2;U=R/2}else if(crypto.randomBytes){G=crypto.randomBytes(R*=7);for(;U<R;)if(q=(G[U]&31)*281474976710656+G[U+1]*1099511627776+G[U+2]*4294967296+G[U+3]*16777216+(G[U+4]<<16)+(G[U+5]<<8)+G[U+6],q>=9000000000000000)crypto.randomBytes(7).copy(G,U);else I.push(q%100000000000000),U+=7;U=R/7}else throw Y0=!1,Error(W+"crypto unavailable");if(!Y0){for(;U<R;)if(q=X(),q<9000000000000000)I[U++]=q%100000000000000}if(R=I[--U],H%=F,R&&H)q=N[F-H],I[U]=V(R/q)*q;for(;I[U]===0;I.pop(),U--);if(U<0)I=[D=0];else{for(D=-1;I[0]===0;I.splice(0,1),D-=F);for(U=1,q=I[0];q>=10;q/=10,U++);if(U<F)D-=F-U}return M.e=D,M.c=I,M}}(),B.sum=function(){var J=1,X=arguments,H=new B(X[0]);for(;J<X.length;)H=H.plus(X[J++]);return H},k=function(){var J="0123456789";function X(H,G,w,D){var R,q=[0],U,I=0,M=H.length;for(;I<M;){for(U=q.length;U--;q[U]*=G);q[0]+=D.indexOf(H.charAt(I++));for(R=0;R<q.length;R++)if(q[R]>w-1){if(q[R+1]==null)q[R+1]=0;q[R+1]+=q[R]/w|0,q[R]%=w}}return q.reverse()}return function(H,G,w,D,R){var q,U,I,M,T,E,h,c,Z0=H.indexOf("."),W0=i,l=d;if(Z0>=0)M=w0,w0=0,H=H.replace(".",""),c=new B(G),E=c.pow(H.length-Z0),w0=M,c.c=X(J0(C(E.c),E.e,"0"),10,w,J),c.e=c.c.length;h=X(H,G,w,R?(q=c0,J):(q=J,c0)),I=M=h.length;for(;h[--M]==0;h.pop());if(!h[0])return q.charAt(0);if(Z0<0)--I;else E.c=h,E.e=I,E.s=D,E=v(E,c,W0,l,w),h=E.c,T=E.r,I=E.e;if(U=I+W0+1,Z0=h[U],M=w/2,T=T||U<0||h[U+1]!=null,T=l<4?(Z0!=null||T)&&(l==0||l==(E.s<0?3:2)):Z0>M||Z0==M&&(l==4||T||l==6&&h[U-1]&1||l==(E.s<0?8:7)),U<1||!h[0])H=T?J0(q.charAt(1),-W0,q.charAt(0)):q.charAt(0);else{if(h.length=U,T){for(--w;++h[--U]>w;)if(h[U]=0,!U)++I,h=[1].concat(h)}for(M=h.length;!h[--M];);for(Z0=0,H="";Z0<=M;H+=q.charAt(h[Z0++]));H=J0(H,I,q.charAt(0))}return H}}(),v=function(){function J(G,w,D){var R,q,U,I,M=0,T=G.length,E=w%S,h=w/S|0;for(G=G.slice();T--;)U=G[T]%S,I=G[T]/S|0,R=h*U+I*E,q=E*U+R%S*S+M,M=(q/D|0)+(R/S|0)+h*I,G[T]=q%D;if(M)G=[M].concat(G);return G}function X(G,w,D,R){var q,U;if(D!=R)U=D>R?1:-1;else for(q=U=0;q<D;q++)if(G[q]!=w[q]){U=G[q]>w[q]?1:-1;break}return U}function H(G,w,D,R){var q=0;for(;D--;)G[D]-=q,q=G[D]<w[D]?1:0,G[D]=q*R+G[D]-w[D];for(;!G[0]&&G.length>1;G.splice(0,1));}return function(G,w,D,R,q){var U,I,M,T,E,h,c,Z0,W0,l,a,z0,v8,w1,F1,v0,K8,N0=G.s==w.s?1:-1,K0=G.c,$0=w.c;if(!K0||!K0[0]||!$0||!$0[0])return new B(!G.s||!w.s||(K0?$0&&K0[0]==$0[0]:!$0)?NaN:K0&&K0[0]==0||!$0?N0*0:N0/0);if(Z0=new B(N0),W0=Z0.c=[],I=G.e-w.e,N0=D+I+1,!q)q=K,I=u(G.e/F)-u(w.e/F),N0=N0/F|0;for(M=0;$0[M]==(K0[M]||0);M++);if($0[M]>(K0[M]||0))I--;if(N0<0)W0.push(1),T=!0;else{if(w1=K0.length,v0=$0.length,M=0,N0+=2,E=V(q/($0[0]+1)),E>1)$0=J($0,E,q),K0=J(K0,E,q),v0=$0.length,w1=K0.length;v8=v0,l=K0.slice(0,v0),a=l.length;for(;a<v0;l[a++]=0);if(K8=$0.slice(),K8=[0].concat(K8),F1=$0[0],$0[1]>=q/2)F1++;do{if(E=0,U=X($0,l,v0,a),U<0){if(z0=l[0],v0!=a)z0=z0*q+(l[1]||0);if(E=V(z0/F1),E>1){if(E>=q)E=q-1;h=J($0,E,q),c=h.length,a=l.length;while(X(h,l,c,a)==1)E--,H(h,v0<c?K8:$0,c,q),c=h.length,U=1}else{if(E==0)U=E=1;h=$0.slice(),c=h.length}if(c<a)h=[0].concat(h);if(H(l,h,a,q),a=l.length,U==-1)while(X($0,l,v0,a)<1)E++,H(l,v0<a?K8:$0,a,q),a=l.length}else if(U===0)E++,l=[0];if(W0[M++]=E,l[0])l[a++]=K0[v8]||0;else l=[K0[v8]],a=1}while((v8++<w1||l[0]!=null)&&N0--);if(T=l[0]!=null,!W0[0])W0.splice(0,1)}if(q==K){for(M=1,N0=W0[0];N0>=10;N0/=10,M++);R0(Z0,D+(Z0.e=M+I*F-1)+1,R,T)}else Z0.e=I,Z0.r=+T;return Z0}}();function K1(J,X,H,G){var w,D,R,q,U;if(H==null)H=d;else j(H,0,8);if(!J.c)return J.toString();if(w=J.c[0],R=J.e,X==null)U=C(J.c),U=G==1||G==2&&(R<=V0||R>=s)?o(U,R):J0(U,R,"0");else if(J=R0(new B(J),X,H),D=J.e,U=C(J.c),q=U.length,G==1||G==2&&(X<=D||D<=V0)){for(;q<X;U+="0",q++);U=o(U,D)}else if(X-=R+(G===2&&D>R),U=J0(U,D,"0"),D+1>q){if(--X>0)for(U+=".";X--;U+="0");}else if(X+=D-q,X>0){if(D+1==q)U+=".";for(;X--;U+="0");}return J.s<0&&w?"-"+U:U}function p6(J,X){var H,G,w=1,D=new B(J[0]);for(;w<J.length;w++)if(G=new B(J[w]),!G.s||(H=f(D,G))===X||H===0&&D.s===X)D=G;return D}function q1(J,X,H){var G=1,w=X.length;for(;!X[--w];X.pop());for(w=X[0];w>=10;w/=10,G++);if((H=G+H*F-1)>e)J.c=J.e=null;else if(H<Q0)J.c=[J.e=0];else J.e=H,J.c=X;return J}m=function(){var J=/^(-?)0([xbo])(?=\w[\w.]*$)/i,X=/^([^.]+)\.$/,H=/^\.([^.]+)$/,G=/^-?(Infinity|NaN)$/,w=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(D,R,q,U){var I,M=q?R:R.replace(w,"");if(G.test(M))D.s=isNaN(M)?null:M<0?-1:1;else{if(!q){if(M=M.replace(J,function(T,E,h){return I=(h=h.toLowerCase())=="x"?16:h=="b"?2:8,!U||U==I?E:T}),U)I=U,M=M.replace(X,"$1").replace(H,"0.$1");if(R!=M)return new B(M,I)}if(B.DEBUG)throw Error(W+"Not a"+(U?" base "+U:"")+" number: "+R);D.s=null}D.c=D.e=null}}();function R0(J,X,H,G){var w,D,R,q,U,I,M,T=J.c,E=N;if(T){Z:{for(w=1,q=T[0];q>=10;q/=10,w++);if(D=X-w,D<0)D+=F,R=X,U=T[I=0],M=V(U/E[w-R-1]%10);else if(I=Y((D+1)/F),I>=T.length)if(G){for(;T.length<=I;T.push(0));U=M=0,w=1,D%=F,R=D-F+1}else break Z;else{U=q=T[I];for(w=1;q>=10;q/=10,w++);D%=F,R=D-F+w,M=R<0?0:V(U/E[w-R-1]%10)}if(G=G||X<0||T[I+1]!=null||(R<0?U:U%E[w-R-1]),G=H<4?(M||G)&&(H==0||H==(J.s<0?3:2)):M>5||M==5&&(H==4||G||H==6&&(D>0?R>0?U/E[w-R]:0:T[I-1])%10&1||H==(J.s<0?8:7)),X<1||!T[0]){if(T.length=0,G)X-=J.e+1,T[0]=E[(F-X%F)%F],J.e=-X||0;else T[0]=J.e=0;return J}if(D==0)T.length=I,q=1,I--;else T.length=I+1,q=E[F-D],T[I]=R>0?V(U/E[w-R]%E[R])*q:0;if(G)for(;;)if(I==0){for(D=1,R=T[0];R>=10;R/=10,D++);R=T[0]+=q;for(q=1;R>=10;R/=10,q++);if(D!=q){if(J.e++,T[0]==K)T[0]=1}break}else{if(T[I]+=q,T[I]!=K)break;T[I--]=0,q=1}for(D=T.length;T[--D]===0;T.pop());}if(J.e>e)J.c=J.e=null;else if(J.e<Q0)J.c=[J.e=0]}return J}function _0(J){var X,H=J.e;if(H===null)return J.toString();return X=C(J.c),X=H<=V0||H>=s?o(X,H):J0(X,H,"0"),J.s<0?"-"+X:X}if(O.absoluteValue=O.abs=function(){var J=new B(this);if(J.s<0)J.s=1;return J},O.comparedTo=function(J,X){return f(this,new B(J,X))},O.decimalPlaces=O.dp=function(J,X){var H,G,w,D=this;if(J!=null){if(j(J,0,P),X==null)X=d;else j(X,0,8);return R0(new B(D),J+D.e+1,X)}if(!(H=D.c))return null;if(G=((w=H.length-1)-u(this.e/F))*F,w=H[w])for(;w%10==0;w/=10,G--);if(G<0)G=0;return G},O.dividedBy=O.div=function(J,X){return v(this,new B(J,X),i,d)},O.dividedToIntegerBy=O.idiv=function(J,X){return v(this,new B(J,X),0,1)},O.exponentiatedBy=O.pow=function(J,X){var H,G,w,D,R,q,U,I,M,T=this;if(J=new B(J),J.c&&!J.isInteger())throw Error(W+"Exponent not an integer: "+_0(J));if(X!=null)X=new B(X);if(q=J.e>14,!T.c||!T.c[0]||T.c[0]==1&&!T.e&&T.c.length==1||!J.c||!J.c[0])return M=new B(Math.pow(+_0(T),q?J.s*(2-p(J)):+_0(J))),X?M.mod(X):M;if(U=J.s<0,X){if(X.c?!X.c[0]:!X.s)return new B(NaN);if(G=!U&&T.isInteger()&&X.isInteger(),G)T=T.mod(X)}else if(J.e>9&&(T.e>0||T.e<-1||(T.e==0?T.c[0]>1||q&&T.c[1]>=240000000:T.c[0]<80000000000000||q&&T.c[0]<=99999750000000))){if(D=T.s<0&&p(J)?-0:0,T.e>-1)D=1/D;return new B(U?1/D:D)}else if(w0)D=Y(w0/F+2);if(q){if(H=new B(0.5),U)J.s=1;I=p(J)}else w=Math.abs(+_0(J)),I=w%2;M=new B(t);for(;;){if(I){if(M=M.times(T),!M.c)break;if(D){if(M.c.length>D)M.c.length=D}else if(G)M=M.mod(X)}if(w){if(w=V(w/2),w===0)break;I=w%2}else if(J=J.times(H),R0(J,J.e+1,1),J.e>14)I=p(J);else{if(w=+_0(J),w===0)break;I=w%2}if(T=T.times(T),D){if(T.c&&T.c.length>D)T.c.length=D}else if(G)T=T.mod(X)}if(G)return M;if(U)M=t.div(M);return X?M.mod(X):D?R0(M,w0,d,R):M},O.integerValue=function(J){var X=new B(this);if(J==null)J=d;else j(J,0,8);return R0(X,X.e+1,J)},O.isEqualTo=O.eq=function(J,X){return f(this,new B(J,X))===0},O.isFinite=function(){return!!this.c},O.isGreaterThan=O.gt=function(J,X){return f(this,new B(J,X))>0},O.isGreaterThanOrEqualTo=O.gte=function(J,X){return(X=f(this,new B(J,X)))===1||X===0},O.isInteger=function(){return!!this.c&&u(this.e/F)>this.c.length-2},O.isLessThan=O.lt=function(J,X){return f(this,new B(J,X))<0},O.isLessThanOrEqualTo=O.lte=function(J,X){return(X=f(this,new B(J,X)))===-1||X===0},O.isNaN=function(){return!this.s},O.isNegative=function(){return this.s<0},O.isPositive=function(){return this.s>0},O.isZero=function(){return!!this.c&&this.c[0]==0},O.minus=function(J,X){var H,G,w,D,R=this,q=R.s;if(J=new B(J,X),X=J.s,!q||!X)return new B(NaN);if(q!=X)return J.s=-X,R.plus(J);var U=R.e/F,I=J.e/F,M=R.c,T=J.c;if(!U||!I){if(!M||!T)return M?(J.s=-X,J):new B(T?R:NaN);if(!M[0]||!T[0])return T[0]?(J.s=-X,J):new B(M[0]?R:d==3?-0:0)}if(U=u(U),I=u(I),M=M.slice(),q=U-I){if(D=q<0)q=-q,w=M;else I=U,w=T;w.reverse();for(X=q;X--;w.push(0));w.reverse()}else{G=(D=(q=M.length)<(X=T.length))?q:X;for(q=X=0;X<G;X++)if(M[X]!=T[X]){D=M[X]<T[X];break}}if(D)w=M,M=T,T=w,J.s=-J.s;if(X=(G=T.length)-(H=M.length),X>0)for(;X--;M[H++]=0);X=K-1;for(;G>q;){if(M[--G]<T[G]){for(H=G;H&&!M[--H];M[H]=X);--M[H],M[G]+=K}M[G]-=T[G]}for(;M[0]==0;M.splice(0,1),--I);if(!M[0])return J.s=d==3?-1:1,J.c=[J.e=0],J;return q1(J,M,I)},O.modulo=O.mod=function(J,X){var H,G,w=this;if(J=new B(J,X),!w.c||!J.s||J.c&&!J.c[0])return new B(NaN);else if(!J.c||w.c&&!w.c[0])return new B(w);if(y0==9)G=J.s,J.s=1,H=v(w,J,0,3),J.s=G,H.s*=G;else H=v(w,J,0,y0);if(J=w.minus(H.times(J)),!J.c[0]&&y0==1)J.s=w.s;return J},O.multipliedBy=O.times=function(J,X){var H,G,w,D,R,q,U,I,M,T,E,h,c,Z0,W0,l=this,a=l.c,z0=(J=new B(J,X)).c;if(!a||!z0||!a[0]||!z0[0]){if(!l.s||!J.s||a&&!a[0]&&!z0||z0&&!z0[0]&&!a)J.c=J.e=J.s=null;else if(J.s*=l.s,!a||!z0)J.c=J.e=null;else J.c=[0],J.e=0;return J}if(G=u(l.e/F)+u(J.e/F),J.s*=l.s,U=a.length,T=z0.length,U<T)c=a,a=z0,z0=c,w=U,U=T,T=w;for(w=U+T,c=[];w--;c.push(0));Z0=K,W0=S;for(w=T;--w>=0;){H=0,E=z0[w]%W0,h=z0[w]/W0|0;for(R=U,D=w+R;D>w;)I=a[--R]%W0,M=a[R]/W0|0,q=h*I+M*E,I=E*I+q%W0*W0+c[D]+H,H=(I/Z0|0)+(q/W0|0)+h*M,c[D--]=I%Z0;c[D]=H}if(H)++G;else c.splice(0,1);return q1(J,c,G)},O.negated=function(){var J=new B(this);return J.s=-J.s||null,J},O.plus=function(J,X){var H,G=this,w=G.s;if(J=new B(J,X),X=J.s,!w||!X)return new B(NaN);if(w!=X)return J.s=-X,G.minus(J);var D=G.e/F,R=J.e/F,q=G.c,U=J.c;if(!D||!R){if(!q||!U)return new B(w/0);if(!q[0]||!U[0])return U[0]?J:new B(q[0]?G:w*0)}if(D=u(D),R=u(R),q=q.slice(),w=D-R){if(w>0)R=D,H=U;else w=-w,H=q;H.reverse();for(;w--;H.push(0));H.reverse()}if(w=q.length,X=U.length,w-X<0)H=U,U=q,q=H,X=w;for(w=0;X;)w=(q[--X]=q[X]+U[X]+w)/K|0,q[X]=K===q[X]?0:q[X]%K;if(w)q=[w].concat(q),++R;return q1(J,q,R)},O.precision=O.sd=function(J,X){var H,G,w,D=this;if(J!=null&&J!==!!J){if(j(J,1,P),X==null)X=d;else j(X,0,8);return R0(new B(D),J,X)}if(!(H=D.c))return null;if(w=H.length-1,G=w*F+1,w=H[w]){for(;w%10==0;w/=10,G--);for(w=H[0];w>=10;w/=10,G++);}if(J&&D.e+1>G)G=D.e+1;return G},O.shiftedBy=function(J){return j(J,-L,L),this.times("1e"+J)},O.squareRoot=O.sqrt=function(){var J,X,H,G,w,D=this,R=D.c,q=D.s,U=D.e,I=i+4,M=new B("0.5");if(q!==1||!R||!R[0])return new B(!q||q<0&&(!R||R[0])?NaN:R?D:1/0);if(q=Math.sqrt(+_0(D)),q==0||q==1/0){if(X=C(R),(X.length+U)%2==0)X+="0";if(q=Math.sqrt(+X),U=u((U+1)/2)-(U<0||U%2),q==1/0)X="5e"+U;else X=q.toExponential(),X=X.slice(0,X.indexOf("e")+1)+U;H=new B(X)}else H=new B(q+"");if(H.c[0]){if(U=H.e,q=U+I,q<3)q=0;for(;;)if(w=H,H=M.times(w.plus(v(D,w,I,1))),C(w.c).slice(0,q)===(X=C(H.c)).slice(0,q)){if(H.e<U)--q;if(X=X.slice(q-3,q+1),X=="9999"||!G&&X=="4999"){if(!G){if(R0(w,w.e+i+2,0),w.times(w).eq(D)){H=w;break}}I+=4,q+=4,G=1}else{if(!+X||!+X.slice(1)&&X.charAt(0)=="5")R0(H,H.e+i+2,1),J=!H.times(H).eq(D);break}}}return R0(H,H.e+i+1,d,J)},O.toExponential=function(J,X){if(J!=null)j(J,0,P),J++;return K1(this,J,X,1)},O.toFixed=function(J,X){if(J!=null)j(J,0,P),J=J+this.e+1;return K1(this,J,X)},O.toFormat=function(J,X,H){var G,w=this;if(H==null)if(J!=null&&X&&typeof X=="object")H=X,X=null;else if(J&&typeof J=="object")H=J,J=X=null;else H=H1;else if(typeof H!="object")throw Error(W+"Argument not an object: "+H);if(G=w.toFixed(J,X),w.c){var D,R=G.split("."),q=+H.groupSize,U=+H.secondaryGroupSize,I=H.groupSeparator||"",M=R[0],T=R[1],E=w.s<0,h=E?M.slice(1):M,c=h.length;if(U)D=q,q=U,U=D,c-=D;if(q>0&&c>0){D=c%q||q,M=h.substr(0,D);for(;D<c;D+=q)M+=I+h.substr(D,q);if(U>0)M+=I+h.slice(D);if(E)M="-"+M}G=T?M+(H.decimalSeparator||"")+((U=+H.fractionGroupSize)?T.replace(new RegExp("\\d{"+U+"}\\B","g"),"$&"+(H.fractionGroupSeparator||"")):T):M}return(H.prefix||"")+G+(H.suffix||"")},O.toFraction=function(J){var X,H,G,w,D,R,q,U,I,M,T,E,h=this,c=h.c;if(J!=null){if(q=new B(J),!q.isInteger()&&(q.c||q.s!==1)||q.lt(t))throw Error(W+"Argument "+(q.isInteger()?"out of range: ":"not an integer: ")+_0(q))}if(!c)return new B(h);X=new B(t),I=H=new B(t),G=U=new B(t),E=C(c),D=X.e=E.length-h.e-1,X.c[0]=N[(R=D%F)<0?F+R:R],J=!J||q.comparedTo(X)>0?D>0?X:I:q,R=e,e=1/0,q=new B(E),U.c[0]=0;for(;;){if(M=v(q,X,0,1),w=H.plus(M.times(G)),w.comparedTo(J)==1)break;H=G,G=w,I=U.plus(M.times(w=I)),U=w,X=q.minus(M.times(w=X)),q=w}return w=v(J.minus(H),G,0,1),U=U.plus(w.times(I)),H=H.plus(w.times(G)),U.s=I.s=h.s,D=D*2,T=v(I,G,D,d).minus(h).abs().comparedTo(v(U,H,D,d).minus(h).abs())<1?[I,G]:[U,H],e=R,T},O.toNumber=function(){return+_0(this)},O.toPrecision=function(J,X){if(J!=null)j(J,1,P);return K1(this,J,X,2)},O.toString=function(J){var X,H=this,G=H.s,w=H.e;if(w===null)if(G){if(X="Infinity",G<0)X="-"+X}else X="NaN";else{if(J==null)X=w<=V0||w>=s?o(C(H.c),w):J0(C(H.c),w,"0");else if(J===10&&z1)H=R0(new B(H),i+w+1,d),X=J0(C(H.c),H.e,"0");else j(J,2,c0.length,"Base"),X=k(J0(C(H.c),w,"0"),10,J,G,!0);if(G<0&&H.c[0])X="-"+X}return X},O.valueOf=O.toJSON=function(){return _0(this)},O._isBigNumber=!0,b!=null)B.set(b);return B}function u(b){var v=b|0;return b>0||b===v?v:v-1}function C(b){var v,k,m=1,O=b.length,t=b[0]+"";for(;m<O;){v=b[m++]+"",k=F-v.length;for(;k--;v="0"+v);t+=v}for(O=t.length;t.charCodeAt(--O)===48;);return t.slice(0,O+1||1)}function f(b,v){var k,m,O=b.c,t=v.c,i=b.s,d=v.s,V0=b.e,s=v.e;if(!i||!d)return null;if(k=O&&!O[0],m=t&&!t[0],k||m)return k?m?0:-d:i;if(i!=d)return i;if(k=i<0,m=V0==s,!O||!t)return m?0:!O^k?1:-1;if(!m)return V0>s^k?1:-1;d=(V0=O.length)<(s=t.length)?V0:s;for(i=0;i<d;i++)if(O[i]!=t[i])return O[i]>t[i]^k?1:-1;return V0==s?0:V0>s^k?1:-1}function j(b,v,k,m){if(b<v||b>k||b!==V(b))throw Error(W+(m||"Argument")+(typeof b=="number"?b<v||b>k?" out of range: ":" not an integer: ":" not a primitive number: ")+String(b))}function p(b){var v=b.c.length-1;return u(b.e/F)==v&&b.c[v]%2!=0}function o(b,v){return(b.length>1?b.charAt(0)+"."+b.slice(1):b)+(v<0?"e":"e+")+v}function J0(b,v,k){var m,O;if(v<0){for(O=k+".";++v;O+=k);b=O+b}else if(m=b.length,++v>m){for(O=k,v-=m;--v;O+=k);b+=O}else if(v<m)b=b.slice(0,v)+"."+b.slice(v);return b}if($=x(),$.default=$.BigNumber=$,typeof define=="function"&&define.amd)define(function(){return $});else if(typeof h8<"u"&&h8.exports)h8.exports=$;else{if(!Z)Z=typeof self<"u"&&self?self:window;Z.BigNumber=$}})(MZ)});var NZ=A((c5,RZ)=>{var GZ=N1(),IZ=c5;(function(){function Z(L){return L<10?"0"+L:L}var $=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,Q=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,Y,V,W={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':"\\\"","\\":"\\\\"},z;function K(L){return Q.lastIndex=0,Q.test(L)?'"'+L.replace(Q,function(N){var S=W[N];return typeof S==="string"?S:"\\u"+("0000"+N.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+L+'"'}function F(L,N){var S,P,x,u,C=Y,f,j=N[L],p=j!=null&&(j instanceof GZ||GZ.isBigNumber(j));if(j&&typeof j==="object"&&typeof j.toJSON==="function")j=j.toJSON(L);if(typeof z==="function")j=z.call(N,L,j);switch(typeof j){case"string":if(p)return j;else return K(j);case"number":return isFinite(j)?String(j):"null";case"boolean":case"null":case"bigint":return String(j);case"object":if(!j)return"null";if(Y+=V,f=[],Object.prototype.toString.apply(j)==="[object Array]"){u=j.length;for(S=0;S<u;S+=1)f[S]=F(S,j)||"null";return x=f.length===0?"[]":Y?`[
|
|
7
|
+
`}yield Q}static#W;static#J;static async#X(){return this.#W||=(await import("./chunk-5nm5s0h2.js").then((m)=>vQ(m.default))).HttpsProxyAgent,this.#W}static async#H(){let Z=typeof window<"u"&&!!window;return this.#J||=Z?window.fetch:(await import("node-fetch")).default,this.#J}static mergeHeaders(Z,...$){Z=Z instanceof Headers?Z:new Headers(Z);for(let Q of $)(Q instanceof Headers?Q:new Headers(Q)).forEach((V,W)=>{W==="set-cookie"?Z.append(W,V):Z.set(W,V)});return Z}}o0.Gaxios=R1;s0=R1});var X0=A((q0)=>{var xQ=q0&&q0.__createBinding||(Object.create?function(Z,$,Q,Y){if(Y===void 0)Y=Q;var V=Object.getOwnPropertyDescriptor($,Q);if(!V||("get"in V?!$.__esModule:V.writable||V.configurable))V={enumerable:!0,get:function(){return $[Q]}};Object.defineProperty(Z,Y,V)}:function(Z,$,Q,Y){if(Y===void 0)Y=Q;Z[Y]=$[Q]}),bQ=q0&&q0.__exportStar||function(Z,$){for(var Q in Z)if(Q!=="default"&&!Object.prototype.hasOwnProperty.call($,Q))xQ($,Z,Q)};Object.defineProperty(q0,"__esModule",{value:!0});q0.instance=q0.Gaxios=q0.GaxiosError=void 0;q0.request=gQ;var DZ=UZ();Object.defineProperty(q0,"Gaxios",{enumerable:!0,get:function(){return DZ.Gaxios}});var mQ=G1();Object.defineProperty(q0,"GaxiosError",{enumerable:!0,get:function(){return mQ.GaxiosError}});bQ(I1(),q0);q0.instance=new DZ.Gaxios;async function gQ(Z){return q0.instance.request(Z)}});var N1=A((MZ,h8)=>{(function(Z){var $,Q=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Y=Math.ceil,V=Math.floor,W="[BigNumber Error] ",z=W+"Number primitive has more than 15 significant digits: ",K=100000000000000,F=14,L=9007199254740991,N=[1,10,100,1000,1e4,1e5,1e6,1e7,1e8,1e9,10000000000,100000000000,1000000000000,10000000000000],S=1e7,P=1e9;function x(b){var v,k,m,O=B.prototype={constructor:B,toString:null,valueOf:null},t=new B(1),i=20,d=4,V0=-7,s=21,Q0=-1e7,e=1e7,Y0=!1,y0=1,w0=0,H1={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xA0",suffix:""},c0="0123456789abcdefghijklmnopqrstuvwxyz",z1=!0;function B(J,X){var H,G,w,D,R,q,U,I,M=this;if(!(M instanceof B))return new B(J,X);if(X==null){if(J&&J._isBigNumber===!0){if(M.s=J.s,!J.c||J.e>e)M.c=M.e=null;else if(J.e<Q0)M.c=[M.e=0];else M.e=J.e,M.c=J.c.slice();return}if((q=typeof J=="number")&&J*0==0){if(M.s=1/J<0?(J=-J,-1):1,J===~~J){for(D=0,R=J;R>=10;R/=10,D++);if(D>e)M.c=M.e=null;else M.e=D,M.c=[J];return}I=String(J)}else{if(!Q.test(I=String(J)))return m(M,I,q);M.s=I.charCodeAt(0)==45?(I=I.slice(1),-1):1}if((D=I.indexOf("."))>-1)I=I.replace(".","");if((R=I.search(/e/i))>0){if(D<0)D=R;D+=+I.slice(R+1),I=I.substring(0,R)}else if(D<0)D=I.length}else{if(j(X,2,c0.length,"Base"),X==10&&z1)return M=new B(J),R0(M,i+M.e+1,d);if(I=String(J),q=typeof J=="number"){if(J*0!=0)return m(M,I,q,X);if(M.s=1/J<0?(I=I.slice(1),-1):1,B.DEBUG&&I.replace(/^0\.0*|\./,"").length>15)throw Error(z+J)}else M.s=I.charCodeAt(0)===45?(I=I.slice(1),-1):1;H=c0.slice(0,X),D=R=0;for(U=I.length;R<U;R++)if(H.indexOf(G=I.charAt(R))<0){if(G=="."){if(R>D){D=U;continue}}else if(!w){if(I==I.toUpperCase()&&(I=I.toLowerCase())||I==I.toLowerCase()&&(I=I.toUpperCase())){w=!0,R=-1,D=0;continue}}return m(M,String(J),q,X)}if(q=!1,I=k(I,X,10,M.s),(D=I.indexOf("."))>-1)I=I.replace(".","");else D=I.length}for(R=0;I.charCodeAt(R)===48;R++);for(U=I.length;I.charCodeAt(--U)===48;);if(I=I.slice(R,++U)){if(U-=R,q&&B.DEBUG&&U>15&&(J>L||J!==V(J)))throw Error(z+M.s*J);if((D=D-R-1)>e)M.c=M.e=null;else if(D<Q0)M.c=[M.e=0];else{if(M.e=D,M.c=[],R=(D+1)%F,D<0)R+=F;if(R<U){if(R)M.c.push(+I.slice(0,R));for(U-=F;R<U;)M.c.push(+I.slice(R,R+=F));R=F-(I=I.slice(R)).length}else R-=U;for(;R--;I+="0");M.c.push(+I)}}else M.c=[M.e=0]}B.clone=x,B.ROUND_UP=0,B.ROUND_DOWN=1,B.ROUND_CEIL=2,B.ROUND_FLOOR=3,B.ROUND_HALF_UP=4,B.ROUND_HALF_DOWN=5,B.ROUND_HALF_EVEN=6,B.ROUND_HALF_CEIL=7,B.ROUND_HALF_FLOOR=8,B.EUCLID=9,B.config=B.set=function(J){var X,H;if(J!=null)if(typeof J=="object"){if(J.hasOwnProperty(X="DECIMAL_PLACES"))H=J[X],j(H,0,P,X),i=H;if(J.hasOwnProperty(X="ROUNDING_MODE"))H=J[X],j(H,0,8,X),d=H;if(J.hasOwnProperty(X="EXPONENTIAL_AT"))if(H=J[X],H&&H.pop)j(H[0],-P,0,X),j(H[1],0,P,X),V0=H[0],s=H[1];else j(H,-P,P,X),V0=-(s=H<0?-H:H);if(J.hasOwnProperty(X="RANGE"))if(H=J[X],H&&H.pop)j(H[0],-P,-1,X),j(H[1],1,P,X),Q0=H[0],e=H[1];else if(j(H,-P,P,X),H)Q0=-(e=H<0?-H:H);else throw Error(W+X+" cannot be zero: "+H);if(J.hasOwnProperty(X="CRYPTO"))if(H=J[X],H===!!H)if(H)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))Y0=H;else throw Y0=!H,Error(W+"crypto unavailable");else Y0=H;else throw Error(W+X+" not true or false: "+H);if(J.hasOwnProperty(X="MODULO_MODE"))H=J[X],j(H,0,9,X),y0=H;if(J.hasOwnProperty(X="POW_PRECISION"))H=J[X],j(H,0,P,X),w0=H;if(J.hasOwnProperty(X="FORMAT"))if(H=J[X],typeof H=="object")H1=H;else throw Error(W+X+" not an object: "+H);if(J.hasOwnProperty(X="ALPHABET"))if(H=J[X],typeof H=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(H))z1=H.slice(0,10)=="0123456789",c0=H;else throw Error(W+X+" invalid: "+H)}else throw Error(W+"Object expected: "+J);return{DECIMAL_PLACES:i,ROUNDING_MODE:d,EXPONENTIAL_AT:[V0,s],RANGE:[Q0,e],CRYPTO:Y0,MODULO_MODE:y0,POW_PRECISION:w0,FORMAT:H1,ALPHABET:c0}},B.isBigNumber=function(J){if(!J||J._isBigNumber!==!0)return!1;if(!B.DEBUG)return!0;var X,H,G=J.c,w=J.e,D=J.s;Z:if({}.toString.call(G)=="[object Array]"){if((D===1||D===-1)&&w>=-P&&w<=P&&w===V(w)){if(G[0]===0){if(w===0&&G.length===1)return!0;break Z}if(X=(w+1)%F,X<1)X+=F;if(String(G[0]).length==X){for(X=0;X<G.length;X++)if(H=G[X],H<0||H>=K||H!==V(H))break Z;if(H!==0)return!0}}}else if(G===null&&w===null&&(D===null||D===1||D===-1))return!0;throw Error(W+"Invalid BigNumber: "+J)},B.maximum=B.max=function(){return p6(arguments,-1)},B.minimum=B.min=function(){return p6(arguments,1)},B.random=function(){var J=9007199254740992,X=Math.random()*J&2097151?function(){return V(Math.random()*J)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(H){var G,w,D,R,q,U=0,I=[],M=new B(t);if(H==null)H=i;else j(H,0,P);if(R=Y(H/F),Y0)if(crypto.getRandomValues){G=crypto.getRandomValues(new Uint32Array(R*=2));for(;U<R;)if(q=G[U]*131072+(G[U+1]>>>11),q>=9000000000000000)w=crypto.getRandomValues(new Uint32Array(2)),G[U]=w[0],G[U+1]=w[1];else I.push(q%100000000000000),U+=2;U=R/2}else if(crypto.randomBytes){G=crypto.randomBytes(R*=7);for(;U<R;)if(q=(G[U]&31)*281474976710656+G[U+1]*1099511627776+G[U+2]*4294967296+G[U+3]*16777216+(G[U+4]<<16)+(G[U+5]<<8)+G[U+6],q>=9000000000000000)crypto.randomBytes(7).copy(G,U);else I.push(q%100000000000000),U+=7;U=R/7}else throw Y0=!1,Error(W+"crypto unavailable");if(!Y0){for(;U<R;)if(q=X(),q<9000000000000000)I[U++]=q%100000000000000}if(R=I[--U],H%=F,R&&H)q=N[F-H],I[U]=V(R/q)*q;for(;I[U]===0;I.pop(),U--);if(U<0)I=[D=0];else{for(D=-1;I[0]===0;I.splice(0,1),D-=F);for(U=1,q=I[0];q>=10;q/=10,U++);if(U<F)D-=F-U}return M.e=D,M.c=I,M}}(),B.sum=function(){var J=1,X=arguments,H=new B(X[0]);for(;J<X.length;)H=H.plus(X[J++]);return H},k=function(){var J="0123456789";function X(H,G,w,D){var R,q=[0],U,I=0,M=H.length;for(;I<M;){for(U=q.length;U--;q[U]*=G);q[0]+=D.indexOf(H.charAt(I++));for(R=0;R<q.length;R++)if(q[R]>w-1){if(q[R+1]==null)q[R+1]=0;q[R+1]+=q[R]/w|0,q[R]%=w}}return q.reverse()}return function(H,G,w,D,R){var q,U,I,M,T,E,h,c,Z0=H.indexOf("."),W0=i,l=d;if(Z0>=0)M=w0,w0=0,H=H.replace(".",""),c=new B(G),E=c.pow(H.length-Z0),w0=M,c.c=X(J0(C(E.c),E.e,"0"),10,w,J),c.e=c.c.length;h=X(H,G,w,R?(q=c0,J):(q=J,c0)),I=M=h.length;for(;h[--M]==0;h.pop());if(!h[0])return q.charAt(0);if(Z0<0)--I;else E.c=h,E.e=I,E.s=D,E=v(E,c,W0,l,w),h=E.c,T=E.r,I=E.e;if(U=I+W0+1,Z0=h[U],M=w/2,T=T||U<0||h[U+1]!=null,T=l<4?(Z0!=null||T)&&(l==0||l==(E.s<0?3:2)):Z0>M||Z0==M&&(l==4||T||l==6&&h[U-1]&1||l==(E.s<0?8:7)),U<1||!h[0])H=T?J0(q.charAt(1),-W0,q.charAt(0)):q.charAt(0);else{if(h.length=U,T){for(--w;++h[--U]>w;)if(h[U]=0,!U)++I,h=[1].concat(h)}for(M=h.length;!h[--M];);for(Z0=0,H="";Z0<=M;H+=q.charAt(h[Z0++]));H=J0(H,I,q.charAt(0))}return H}}(),v=function(){function J(G,w,D){var R,q,U,I,M=0,T=G.length,E=w%S,h=w/S|0;for(G=G.slice();T--;)U=G[T]%S,I=G[T]/S|0,R=h*U+I*E,q=E*U+R%S*S+M,M=(q/D|0)+(R/S|0)+h*I,G[T]=q%D;if(M)G=[M].concat(G);return G}function X(G,w,D,R){var q,U;if(D!=R)U=D>R?1:-1;else for(q=U=0;q<D;q++)if(G[q]!=w[q]){U=G[q]>w[q]?1:-1;break}return U}function H(G,w,D,R){var q=0;for(;D--;)G[D]-=q,q=G[D]<w[D]?1:0,G[D]=q*R+G[D]-w[D];for(;!G[0]&&G.length>1;G.splice(0,1));}return function(G,w,D,R,q){var U,I,M,T,E,h,c,Z0,W0,l,a,z0,v8,w1,F1,v0,K8,N0=G.s==w.s?1:-1,K0=G.c,$0=w.c;if(!K0||!K0[0]||!$0||!$0[0])return new B(!G.s||!w.s||(K0?$0&&K0[0]==$0[0]:!$0)?NaN:K0&&K0[0]==0||!$0?N0*0:N0/0);if(Z0=new B(N0),W0=Z0.c=[],I=G.e-w.e,N0=D+I+1,!q)q=K,I=u(G.e/F)-u(w.e/F),N0=N0/F|0;for(M=0;$0[M]==(K0[M]||0);M++);if($0[M]>(K0[M]||0))I--;if(N0<0)W0.push(1),T=!0;else{if(w1=K0.length,v0=$0.length,M=0,N0+=2,E=V(q/($0[0]+1)),E>1)$0=J($0,E,q),K0=J(K0,E,q),v0=$0.length,w1=K0.length;v8=v0,l=K0.slice(0,v0),a=l.length;for(;a<v0;l[a++]=0);if(K8=$0.slice(),K8=[0].concat(K8),F1=$0[0],$0[1]>=q/2)F1++;do{if(E=0,U=X($0,l,v0,a),U<0){if(z0=l[0],v0!=a)z0=z0*q+(l[1]||0);if(E=V(z0/F1),E>1){if(E>=q)E=q-1;h=J($0,E,q),c=h.length,a=l.length;while(X(h,l,c,a)==1)E--,H(h,v0<c?K8:$0,c,q),c=h.length,U=1}else{if(E==0)U=E=1;h=$0.slice(),c=h.length}if(c<a)h=[0].concat(h);if(H(l,h,a,q),a=l.length,U==-1)while(X($0,l,v0,a)<1)E++,H(l,v0<a?K8:$0,a,q),a=l.length}else if(U===0)E++,l=[0];if(W0[M++]=E,l[0])l[a++]=K0[v8]||0;else l=[K0[v8]],a=1}while((v8++<w1||l[0]!=null)&&N0--);if(T=l[0]!=null,!W0[0])W0.splice(0,1)}if(q==K){for(M=1,N0=W0[0];N0>=10;N0/=10,M++);R0(Z0,D+(Z0.e=M+I*F-1)+1,R,T)}else Z0.e=I,Z0.r=+T;return Z0}}();function K1(J,X,H,G){var w,D,R,q,U;if(H==null)H=d;else j(H,0,8);if(!J.c)return J.toString();if(w=J.c[0],R=J.e,X==null)U=C(J.c),U=G==1||G==2&&(R<=V0||R>=s)?o(U,R):J0(U,R,"0");else if(J=R0(new B(J),X,H),D=J.e,U=C(J.c),q=U.length,G==1||G==2&&(X<=D||D<=V0)){for(;q<X;U+="0",q++);U=o(U,D)}else if(X-=R+(G===2&&D>R),U=J0(U,D,"0"),D+1>q){if(--X>0)for(U+=".";X--;U+="0");}else if(X+=D-q,X>0){if(D+1==q)U+=".";for(;X--;U+="0");}return J.s<0&&w?"-"+U:U}function p6(J,X){var H,G,w=1,D=new B(J[0]);for(;w<J.length;w++)if(G=new B(J[w]),!G.s||(H=f(D,G))===X||H===0&&D.s===X)D=G;return D}function q1(J,X,H){var G=1,w=X.length;for(;!X[--w];X.pop());for(w=X[0];w>=10;w/=10,G++);if((H=G+H*F-1)>e)J.c=J.e=null;else if(H<Q0)J.c=[J.e=0];else J.e=H,J.c=X;return J}m=function(){var J=/^(-?)0([xbo])(?=\w[\w.]*$)/i,X=/^([^.]+)\.$/,H=/^\.([^.]+)$/,G=/^-?(Infinity|NaN)$/,w=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(D,R,q,U){var I,M=q?R:R.replace(w,"");if(G.test(M))D.s=isNaN(M)?null:M<0?-1:1;else{if(!q){if(M=M.replace(J,function(T,E,h){return I=(h=h.toLowerCase())=="x"?16:h=="b"?2:8,!U||U==I?E:T}),U)I=U,M=M.replace(X,"$1").replace(H,"0.$1");if(R!=M)return new B(M,I)}if(B.DEBUG)throw Error(W+"Not a"+(U?" base "+U:"")+" number: "+R);D.s=null}D.c=D.e=null}}();function R0(J,X,H,G){var w,D,R,q,U,I,M,T=J.c,E=N;if(T){Z:{for(w=1,q=T[0];q>=10;q/=10,w++);if(D=X-w,D<0)D+=F,R=X,U=T[I=0],M=V(U/E[w-R-1]%10);else if(I=Y((D+1)/F),I>=T.length)if(G){for(;T.length<=I;T.push(0));U=M=0,w=1,D%=F,R=D-F+1}else break Z;else{U=q=T[I];for(w=1;q>=10;q/=10,w++);D%=F,R=D-F+w,M=R<0?0:V(U/E[w-R-1]%10)}if(G=G||X<0||T[I+1]!=null||(R<0?U:U%E[w-R-1]),G=H<4?(M||G)&&(H==0||H==(J.s<0?3:2)):M>5||M==5&&(H==4||G||H==6&&(D>0?R>0?U/E[w-R]:0:T[I-1])%10&1||H==(J.s<0?8:7)),X<1||!T[0]){if(T.length=0,G)X-=J.e+1,T[0]=E[(F-X%F)%F],J.e=-X||0;else T[0]=J.e=0;return J}if(D==0)T.length=I,q=1,I--;else T.length=I+1,q=E[F-D],T[I]=R>0?V(U/E[w-R]%E[R])*q:0;if(G)for(;;)if(I==0){for(D=1,R=T[0];R>=10;R/=10,D++);R=T[0]+=q;for(q=1;R>=10;R/=10,q++);if(D!=q){if(J.e++,T[0]==K)T[0]=1}break}else{if(T[I]+=q,T[I]!=K)break;T[I--]=0,q=1}for(D=T.length;T[--D]===0;T.pop());}if(J.e>e)J.c=J.e=null;else if(J.e<Q0)J.c=[J.e=0]}return J}function _0(J){var X,H=J.e;if(H===null)return J.toString();return X=C(J.c),X=H<=V0||H>=s?o(X,H):J0(X,H,"0"),J.s<0?"-"+X:X}if(O.absoluteValue=O.abs=function(){var J=new B(this);if(J.s<0)J.s=1;return J},O.comparedTo=function(J,X){return f(this,new B(J,X))},O.decimalPlaces=O.dp=function(J,X){var H,G,w,D=this;if(J!=null){if(j(J,0,P),X==null)X=d;else j(X,0,8);return R0(new B(D),J+D.e+1,X)}if(!(H=D.c))return null;if(G=((w=H.length-1)-u(this.e/F))*F,w=H[w])for(;w%10==0;w/=10,G--);if(G<0)G=0;return G},O.dividedBy=O.div=function(J,X){return v(this,new B(J,X),i,d)},O.dividedToIntegerBy=O.idiv=function(J,X){return v(this,new B(J,X),0,1)},O.exponentiatedBy=O.pow=function(J,X){var H,G,w,D,R,q,U,I,M,T=this;if(J=new B(J),J.c&&!J.isInteger())throw Error(W+"Exponent not an integer: "+_0(J));if(X!=null)X=new B(X);if(q=J.e>14,!T.c||!T.c[0]||T.c[0]==1&&!T.e&&T.c.length==1||!J.c||!J.c[0])return M=new B(Math.pow(+_0(T),q?J.s*(2-p(J)):+_0(J))),X?M.mod(X):M;if(U=J.s<0,X){if(X.c?!X.c[0]:!X.s)return new B(NaN);if(G=!U&&T.isInteger()&&X.isInteger(),G)T=T.mod(X)}else if(J.e>9&&(T.e>0||T.e<-1||(T.e==0?T.c[0]>1||q&&T.c[1]>=240000000:T.c[0]<80000000000000||q&&T.c[0]<=99999750000000))){if(D=T.s<0&&p(J)?-0:0,T.e>-1)D=1/D;return new B(U?1/D:D)}else if(w0)D=Y(w0/F+2);if(q){if(H=new B(0.5),U)J.s=1;I=p(J)}else w=Math.abs(+_0(J)),I=w%2;M=new B(t);for(;;){if(I){if(M=M.times(T),!M.c)break;if(D){if(M.c.length>D)M.c.length=D}else if(G)M=M.mod(X)}if(w){if(w=V(w/2),w===0)break;I=w%2}else if(J=J.times(H),R0(J,J.e+1,1),J.e>14)I=p(J);else{if(w=+_0(J),w===0)break;I=w%2}if(T=T.times(T),D){if(T.c&&T.c.length>D)T.c.length=D}else if(G)T=T.mod(X)}if(G)return M;if(U)M=t.div(M);return X?M.mod(X):D?R0(M,w0,d,R):M},O.integerValue=function(J){var X=new B(this);if(J==null)J=d;else j(J,0,8);return R0(X,X.e+1,J)},O.isEqualTo=O.eq=function(J,X){return f(this,new B(J,X))===0},O.isFinite=function(){return!!this.c},O.isGreaterThan=O.gt=function(J,X){return f(this,new B(J,X))>0},O.isGreaterThanOrEqualTo=O.gte=function(J,X){return(X=f(this,new B(J,X)))===1||X===0},O.isInteger=function(){return!!this.c&&u(this.e/F)>this.c.length-2},O.isLessThan=O.lt=function(J,X){return f(this,new B(J,X))<0},O.isLessThanOrEqualTo=O.lte=function(J,X){return(X=f(this,new B(J,X)))===-1||X===0},O.isNaN=function(){return!this.s},O.isNegative=function(){return this.s<0},O.isPositive=function(){return this.s>0},O.isZero=function(){return!!this.c&&this.c[0]==0},O.minus=function(J,X){var H,G,w,D,R=this,q=R.s;if(J=new B(J,X),X=J.s,!q||!X)return new B(NaN);if(q!=X)return J.s=-X,R.plus(J);var U=R.e/F,I=J.e/F,M=R.c,T=J.c;if(!U||!I){if(!M||!T)return M?(J.s=-X,J):new B(T?R:NaN);if(!M[0]||!T[0])return T[0]?(J.s=-X,J):new B(M[0]?R:d==3?-0:0)}if(U=u(U),I=u(I),M=M.slice(),q=U-I){if(D=q<0)q=-q,w=M;else I=U,w=T;w.reverse();for(X=q;X--;w.push(0));w.reverse()}else{G=(D=(q=M.length)<(X=T.length))?q:X;for(q=X=0;X<G;X++)if(M[X]!=T[X]){D=M[X]<T[X];break}}if(D)w=M,M=T,T=w,J.s=-J.s;if(X=(G=T.length)-(H=M.length),X>0)for(;X--;M[H++]=0);X=K-1;for(;G>q;){if(M[--G]<T[G]){for(H=G;H&&!M[--H];M[H]=X);--M[H],M[G]+=K}M[G]-=T[G]}for(;M[0]==0;M.splice(0,1),--I);if(!M[0])return J.s=d==3?-1:1,J.c=[J.e=0],J;return q1(J,M,I)},O.modulo=O.mod=function(J,X){var H,G,w=this;if(J=new B(J,X),!w.c||!J.s||J.c&&!J.c[0])return new B(NaN);else if(!J.c||w.c&&!w.c[0])return new B(w);if(y0==9)G=J.s,J.s=1,H=v(w,J,0,3),J.s=G,H.s*=G;else H=v(w,J,0,y0);if(J=w.minus(H.times(J)),!J.c[0]&&y0==1)J.s=w.s;return J},O.multipliedBy=O.times=function(J,X){var H,G,w,D,R,q,U,I,M,T,E,h,c,Z0,W0,l=this,a=l.c,z0=(J=new B(J,X)).c;if(!a||!z0||!a[0]||!z0[0]){if(!l.s||!J.s||a&&!a[0]&&!z0||z0&&!z0[0]&&!a)J.c=J.e=J.s=null;else if(J.s*=l.s,!a||!z0)J.c=J.e=null;else J.c=[0],J.e=0;return J}if(G=u(l.e/F)+u(J.e/F),J.s*=l.s,U=a.length,T=z0.length,U<T)c=a,a=z0,z0=c,w=U,U=T,T=w;for(w=U+T,c=[];w--;c.push(0));Z0=K,W0=S;for(w=T;--w>=0;){H=0,E=z0[w]%W0,h=z0[w]/W0|0;for(R=U,D=w+R;D>w;)I=a[--R]%W0,M=a[R]/W0|0,q=h*I+M*E,I=E*I+q%W0*W0+c[D]+H,H=(I/Z0|0)+(q/W0|0)+h*M,c[D--]=I%Z0;c[D]=H}if(H)++G;else c.splice(0,1);return q1(J,c,G)},O.negated=function(){var J=new B(this);return J.s=-J.s||null,J},O.plus=function(J,X){var H,G=this,w=G.s;if(J=new B(J,X),X=J.s,!w||!X)return new B(NaN);if(w!=X)return J.s=-X,G.minus(J);var D=G.e/F,R=J.e/F,q=G.c,U=J.c;if(!D||!R){if(!q||!U)return new B(w/0);if(!q[0]||!U[0])return U[0]?J:new B(q[0]?G:w*0)}if(D=u(D),R=u(R),q=q.slice(),w=D-R){if(w>0)R=D,H=U;else w=-w,H=q;H.reverse();for(;w--;H.push(0));H.reverse()}if(w=q.length,X=U.length,w-X<0)H=U,U=q,q=H,X=w;for(w=0;X;)w=(q[--X]=q[X]+U[X]+w)/K|0,q[X]=K===q[X]?0:q[X]%K;if(w)q=[w].concat(q),++R;return q1(J,q,R)},O.precision=O.sd=function(J,X){var H,G,w,D=this;if(J!=null&&J!==!!J){if(j(J,1,P),X==null)X=d;else j(X,0,8);return R0(new B(D),J,X)}if(!(H=D.c))return null;if(w=H.length-1,G=w*F+1,w=H[w]){for(;w%10==0;w/=10,G--);for(w=H[0];w>=10;w/=10,G++);}if(J&&D.e+1>G)G=D.e+1;return G},O.shiftedBy=function(J){return j(J,-L,L),this.times("1e"+J)},O.squareRoot=O.sqrt=function(){var J,X,H,G,w,D=this,R=D.c,q=D.s,U=D.e,I=i+4,M=new B("0.5");if(q!==1||!R||!R[0])return new B(!q||q<0&&(!R||R[0])?NaN:R?D:1/0);if(q=Math.sqrt(+_0(D)),q==0||q==1/0){if(X=C(R),(X.length+U)%2==0)X+="0";if(q=Math.sqrt(+X),U=u((U+1)/2)-(U<0||U%2),q==1/0)X="5e"+U;else X=q.toExponential(),X=X.slice(0,X.indexOf("e")+1)+U;H=new B(X)}else H=new B(q+"");if(H.c[0]){if(U=H.e,q=U+I,q<3)q=0;for(;;)if(w=H,H=M.times(w.plus(v(D,w,I,1))),C(w.c).slice(0,q)===(X=C(H.c)).slice(0,q)){if(H.e<U)--q;if(X=X.slice(q-3,q+1),X=="9999"||!G&&X=="4999"){if(!G){if(R0(w,w.e+i+2,0),w.times(w).eq(D)){H=w;break}}I+=4,q+=4,G=1}else{if(!+X||!+X.slice(1)&&X.charAt(0)=="5")R0(H,H.e+i+2,1),J=!H.times(H).eq(D);break}}}return R0(H,H.e+i+1,d,J)},O.toExponential=function(J,X){if(J!=null)j(J,0,P),J++;return K1(this,J,X,1)},O.toFixed=function(J,X){if(J!=null)j(J,0,P),J=J+this.e+1;return K1(this,J,X)},O.toFormat=function(J,X,H){var G,w=this;if(H==null)if(J!=null&&X&&typeof X=="object")H=X,X=null;else if(J&&typeof J=="object")H=J,J=X=null;else H=H1;else if(typeof H!="object")throw Error(W+"Argument not an object: "+H);if(G=w.toFixed(J,X),w.c){var D,R=G.split("."),q=+H.groupSize,U=+H.secondaryGroupSize,I=H.groupSeparator||"",M=R[0],T=R[1],E=w.s<0,h=E?M.slice(1):M,c=h.length;if(U)D=q,q=U,U=D,c-=D;if(q>0&&c>0){D=c%q||q,M=h.substr(0,D);for(;D<c;D+=q)M+=I+h.substr(D,q);if(U>0)M+=I+h.slice(D);if(E)M="-"+M}G=T?M+(H.decimalSeparator||"")+((U=+H.fractionGroupSize)?T.replace(new RegExp("\\d{"+U+"}\\B","g"),"$&"+(H.fractionGroupSeparator||"")):T):M}return(H.prefix||"")+G+(H.suffix||"")},O.toFraction=function(J){var X,H,G,w,D,R,q,U,I,M,T,E,h=this,c=h.c;if(J!=null){if(q=new B(J),!q.isInteger()&&(q.c||q.s!==1)||q.lt(t))throw Error(W+"Argument "+(q.isInteger()?"out of range: ":"not an integer: ")+_0(q))}if(!c)return new B(h);X=new B(t),I=H=new B(t),G=U=new B(t),E=C(c),D=X.e=E.length-h.e-1,X.c[0]=N[(R=D%F)<0?F+R:R],J=!J||q.comparedTo(X)>0?D>0?X:I:q,R=e,e=1/0,q=new B(E),U.c[0]=0;for(;;){if(M=v(q,X,0,1),w=H.plus(M.times(G)),w.comparedTo(J)==1)break;H=G,G=w,I=U.plus(M.times(w=I)),U=w,X=q.minus(M.times(w=X)),q=w}return w=v(J.minus(H),G,0,1),U=U.plus(w.times(I)),H=H.plus(w.times(G)),U.s=I.s=h.s,D=D*2,T=v(I,G,D,d).minus(h).abs().comparedTo(v(U,H,D,d).minus(h).abs())<1?[I,G]:[U,H],e=R,T},O.toNumber=function(){return+_0(this)},O.toPrecision=function(J,X){if(J!=null)j(J,1,P);return K1(this,J,X,2)},O.toString=function(J){var X,H=this,G=H.s,w=H.e;if(w===null)if(G){if(X="Infinity",G<0)X="-"+X}else X="NaN";else{if(J==null)X=w<=V0||w>=s?o(C(H.c),w):J0(C(H.c),w,"0");else if(J===10&&z1)H=R0(new B(H),i+w+1,d),X=J0(C(H.c),H.e,"0");else j(J,2,c0.length,"Base"),X=k(J0(C(H.c),w,"0"),10,J,G,!0);if(G<0&&H.c[0])X="-"+X}return X},O.valueOf=O.toJSON=function(){return _0(this)},O._isBigNumber=!0,b!=null)B.set(b);return B}function u(b){var v=b|0;return b>0||b===v?v:v-1}function C(b){var v,k,m=1,O=b.length,t=b[0]+"";for(;m<O;){v=b[m++]+"",k=F-v.length;for(;k--;v="0"+v);t+=v}for(O=t.length;t.charCodeAt(--O)===48;);return t.slice(0,O+1||1)}function f(b,v){var k,m,O=b.c,t=v.c,i=b.s,d=v.s,V0=b.e,s=v.e;if(!i||!d)return null;if(k=O&&!O[0],m=t&&!t[0],k||m)return k?m?0:-d:i;if(i!=d)return i;if(k=i<0,m=V0==s,!O||!t)return m?0:!O^k?1:-1;if(!m)return V0>s^k?1:-1;d=(V0=O.length)<(s=t.length)?V0:s;for(i=0;i<d;i++)if(O[i]!=t[i])return O[i]>t[i]^k?1:-1;return V0==s?0:V0>s^k?1:-1}function j(b,v,k,m){if(b<v||b>k||b!==V(b))throw Error(W+(m||"Argument")+(typeof b=="number"?b<v||b>k?" out of range: ":" not an integer: ":" not a primitive number: ")+String(b))}function p(b){var v=b.c.length-1;return u(b.e/F)==v&&b.c[v]%2!=0}function o(b,v){return(b.length>1?b.charAt(0)+"."+b.slice(1):b)+(v<0?"e":"e+")+v}function J0(b,v,k){var m,O;if(v<0){for(O=k+".";++v;O+=k);b=O+b}else if(m=b.length,++v>m){for(O=k,v-=m;--v;O+=k);b+=O}else if(v<m)b=b.slice(0,v)+"."+b.slice(v);return b}if($=x(),$.default=$.BigNumber=$,typeof define=="function"&&define.amd)define(function(){return $});else if(typeof h8<"u"&&h8.exports)h8.exports=$;else{if(!Z)Z=typeof self<"u"&&self?self:window;Z.BigNumber=$}})(MZ)});var NZ=A((c5,RZ)=>{var GZ=N1(),IZ=c5;(function(){function Z(L){return L<10?"0"+L:L}var $=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,Q=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,Y,V,W={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':"\\\"","\\":"\\\\"},z;function K(L){return Q.lastIndex=0,Q.test(L)?'"'+L.replace(Q,function(N){var S=W[N];return typeof S==="string"?S:"\\u"+("0000"+N.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+L+'"'}function F(L,N){var S,P,x,u,C=Y,f,j=N[L],p=j!=null&&(j instanceof GZ||GZ.isBigNumber(j));if(j&&typeof j==="object"&&typeof j.toJSON==="function")j=j.toJSON(L);if(typeof z==="function")j=z.call(N,L,j);switch(typeof j){case"string":if(p)return j;else return K(j);case"number":return isFinite(j)?String(j):"null";case"boolean":case"null":case"bigint":return String(j);case"object":if(!j)return"null";if(Y+=V,f=[],Object.prototype.toString.apply(j)==="[object Array]"){u=j.length;for(S=0;S<u;S+=1)f[S]=F(S,j)||"null";return x=f.length===0?"[]":Y?`[
|
|
8
8
|
`+Y+f.join(`,
|
|
9
9
|
`+Y)+`
|
|
10
10
|
`+C+"]":"["+f.join(",")+"]",Y=C,x}if(z&&typeof z==="object"){u=z.length;for(S=0;S<u;S+=1)if(typeof z[S]==="string"){if(P=z[S],x=F(P,j),x)f.push(K(P)+(Y?": ":":")+x)}}else Object.keys(j).forEach(function(o){var J0=F(o,j);if(J0)f.push(K(o)+(Y?": ":":")+J0)});return x=f.length===0?"{}":Y?`{
|
|
@@ -29,4 +29,4 @@ To learn more about authentication and Google APIs, visit:
|
|
|
29
29
|
https://cloud.google.com/docs/authentication/getting-started`,NO_ADC_FOUND:"Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.",NO_UNIVERSE_DOMAIN_FOUND:`Unable to detect a Universe Domain in the current environment.
|
|
30
30
|
To learn more about Universe Domain retrieval, visit:
|
|
31
31
|
https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys`};class QQ{checkIsGCE=void 0;useJWTAccessWithScope;defaultServicePath;get isGCE(){return this.checkIsGCE}_findProjectIdPromise;_cachedProjectId;jsonContent=null;apiKey;cachedCredential=null;#Z=null;defaultScopes;keyFilename;scopes;clientOptions={};constructor(Z={}){if(this._cachedProjectId=Z.projectId||null,this.cachedCredential=Z.authClient||null,this.keyFilename=Z.keyFilename||Z.keyFile,this.scopes=Z.scopes,this.clientOptions=Z.clientOptions||{},this.jsonContent=Z.credentials||null,this.apiKey=Z.apiKey||this.clientOptions.apiKey||null,this.apiKey&&(this.jsonContent||this.clientOptions.credentials))throw RangeError(YQ.GoogleAuthExceptionMessages.API_KEY_WITH_CREDENTIALS);if(Z.universeDomain)this.clientOptions.universeDomain=Z.universeDomain}setGapicJWTValues(Z){Z.defaultServicePath=this.defaultServicePath,Z.useJWTAccessWithScope=this.useJWTAccessWithScope,Z.defaultScopes=this.defaultScopes}getProjectId(Z){if(Z)this.getProjectIdAsync().then(($)=>Z(null,$),Z);else return this.getProjectIdAsync()}async getProjectIdOptional(){try{return await this.getProjectId()}catch(Z){if(Z instanceof Error&&Z.message===YQ.GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND)return null;else throw Z}}async findAndCacheProjectId(){let Z=null;if(Z||=await this.getProductionProjectId(),Z||=await this.getFileProjectId(),Z||=await this.getDefaultServiceProjectId(),Z||=await this.getGCEProjectId(),Z||=await this.getExternalAccountClientProjectId(),Z)return this._cachedProjectId=Z,Z;else throw Error(YQ.GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND)}async getProjectIdAsync(){if(this._cachedProjectId)return this._cachedProjectId;if(!this._findProjectIdPromise)this._findProjectIdPromise=this.findAndCacheProjectId();return this._findProjectIdPromise}async getUniverseDomainFromMetadataServer(){let Z;try{Z=await j8.universe("universe-domain"),Z||=u6.DEFAULT_UNIVERSE}catch($){if($&&$?.response?.status===404)Z=u6.DEFAULT_UNIVERSE;else throw $}return Z}async getUniverseDomain(){let Z=(0,$Q.originalOrCamelOptions)(this.clientOptions).get("universe_domain");try{Z??=(await this.getClient()).universeDomain}catch{Z??=u6.DEFAULT_UNIVERSE}return Z}getAnyScopes(){return this.scopes||this.defaultScopes}getApplicationDefault(Z={},$){let Q;if(typeof Z==="function")$=Z;else Q=Z;if($)this.getApplicationDefaultAsync(Q).then((Y)=>$(null,Y.credential,Y.projectId),$);else return this.getApplicationDefaultAsync(Q)}async getApplicationDefaultAsync(Z={}){if(this.cachedCredential)return await this.#$(this.cachedCredential,null);let $;if($=await this._tryGetApplicationCredentialsFromEnvironmentVariable(Z),$){if($ instanceof X8.JWT)$.scopes=this.scopes;else if($ instanceof C8.BaseExternalAccountClient)$.scopes=this.getAnyScopes();return await this.#$($)}if($=await this._tryGetApplicationCredentialsFromWellKnownFile(Z),$){if($ instanceof X8.JWT)$.scopes=this.scopes;else if($ instanceof C8.BaseExternalAccountClient)$.scopes=this.getAnyScopes();return await this.#$($)}if(await this._checkIsGCE())return Z.scopes=this.getAnyScopes(),await this.#$(new Q5.Compute(Z));throw Error(YQ.GoogleAuthExceptionMessages.NO_ADC_FOUND)}async#$(Z,$=process.env.GOOGLE_CLOUD_QUOTA_PROJECT||null){let Q=await this.getProjectIdOptional();if($)Z.quotaProjectId=$;return this.cachedCredential=Z,{credential:Z,projectId:Q}}async _checkIsGCE(){if(this.checkIsGCE===void 0)this.checkIsGCE=j8.getGCPResidency()||await j8.isAvailable();return this.checkIsGCE}async _tryGetApplicationCredentialsFromEnvironmentVariable(Z){let $=process.env.GOOGLE_APPLICATION_CREDENTIALS||process.env.google_application_credentials;if(!$||$.length===0)return null;try{return this._getApplicationCredentialsFromFilePath($,Z)}catch(Q){if(Q instanceof Error)Q.message=`Unable to read the credential file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable: ${Q.message}`;throw Q}}async _tryGetApplicationCredentialsFromWellKnownFile(Z){let $=null;if(this._isWindows())$=process.env.APPDATA;else{let Y=process.env.HOME;if(Y)$=g6.join(Y,".config")}if($){if($=g6.join($,"gcloud","application_default_credentials.json"),!A8.existsSync($))$=null}if(!$)return null;return await this._getApplicationCredentialsFromFilePath($,Z)}async _getApplicationCredentialsFromFilePath(Z,$={}){if(!Z||Z.length===0)throw Error("The file path is invalid.");try{if(Z=A8.realpathSync(Z),!A8.lstatSync(Z).isFile())throw Error()}catch(Y){if(Y instanceof Error)Y.message=`The file at ${Z} does not exist, or it is not a file. ${Y.message}`;throw Y}let Q=A8.createReadStream(Z);return this.fromStream(Q,$)}fromImpersonatedJSON(Z){if(!Z)throw Error("Must pass in a JSON object containing an impersonated refresh token");if(Z.type!==H8.IMPERSONATED_ACCOUNT_TYPE)throw Error(`The incoming JSON object does not have the "${H8.IMPERSONATED_ACCOUNT_TYPE}" type`);if(!Z.source_credentials)throw Error("The incoming JSON object does not contain a source_credentials field");if(!Z.service_account_impersonation_url)throw Error("The incoming JSON object does not contain a service_account_impersonation_url field");let $=this.fromJSON(Z.source_credentials);if(Z.service_account_impersonation_url?.length>256)throw RangeError(`Target principal is too long: ${Z.service_account_impersonation_url}`);let Q=/(?<target>[^/]+):(generateAccessToken|generateIdToken)$/.exec(Z.service_account_impersonation_url)?.groups?.target;if(!Q)throw RangeError(`Cannot extract target principal from ${Z.service_account_impersonation_url}`);let Y=(this.scopes||Z.scopes||this.defaultScopes)??[];return new H8.Impersonated({...Z,sourceClient:$,targetPrincipal:Q,targetScopes:Array.isArray(Y)?Y:[Y]})}fromJSON(Z,$={}){let Q,Y=(0,$Q.originalOrCamelOptions)($).get("universe_domain");if(Z.type===e9.USER_REFRESH_ACCOUNT_TYPE)Q=new e9.UserRefreshClient($),Q.fromJSON(Z);else if(Z.type===H8.IMPERSONATED_ACCOUNT_TYPE)Q=this.fromImpersonatedJSON(Z);else if(Z.type===C8.EXTERNAL_ACCOUNT_TYPE)Q=W5.ExternalAccountClient.fromJSON({...Z,...$}),Q.scopes=this.getAnyScopes();else if(Z.type===ZQ.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE)Q=new ZQ.ExternalAccountAuthorizedUserClient({...Z,...$});else $.scopes=this.scopes,Q=new X8.JWT($),this.setGapicJWTValues(Q),Q.fromJSON(Z);if(Y)Q.universeDomain=Y;return Q}_cacheClientFromJSON(Z,$){let Q=this.fromJSON(Z,$);return this.jsonContent=Z,this.cachedCredential=Q,Q}fromStream(Z,$={},Q){let Y={};if(typeof $==="function")Q=$;else Y=$;if(Q)this.fromStreamAsync(Z,Y).then((V)=>Q(null,V),Q);else return this.fromStreamAsync(Z,Y)}fromStreamAsync(Z,$){return new Promise((Q,Y)=>{if(!Z)throw Error("Must pass in a stream containing the Google auth settings.");let V=[];Z.setEncoding("utf8").on("error",Y).on("data",(W)=>V.push(W)).on("end",()=>{try{try{let W=JSON.parse(V.join("")),z=this._cacheClientFromJSON(W,$);return Q(z)}catch(W){if(!this.keyFilename)throw W;let z=new X8.JWT({...this.clientOptions,keyFile:this.keyFilename});return this.cachedCredential=z,this.setGapicJWTValues(z),Q(z)}}catch(W){return Y(W)}})})}fromAPIKey(Z,$={}){return new X8.JWT({...$,apiKey:Z})}_isWindows(){let Z=Z5.platform();if(Z&&Z.length>=3){if(Z.substring(0,3).toLowerCase()==="win")return!0}return!1}async getDefaultServiceProjectId(){return new Promise((Z)=>{(0,tJ.exec)("gcloud config config-helper --format json",($,Q)=>{if(!$&&Q)try{let Y=JSON.parse(Q).configuration.properties.core.project;Z(Y);return}catch(Y){}Z(null)})})}getProductionProjectId(){return process.env.GCLOUD_PROJECT||process.env.GOOGLE_CLOUD_PROJECT||process.env.gcloud_project||process.env.google_cloud_project}async getFileProjectId(){if(this.cachedCredential)return this.cachedCredential.projectId;if(this.keyFilename){let $=await this.getClient();if($&&$.projectId)return $.projectId}let Z=await this._tryGetApplicationCredentialsFromEnvironmentVariable();if(Z)return Z.projectId;else return null}async getExternalAccountClientProjectId(){if(!this.jsonContent||this.jsonContent.type!==C8.EXTERNAL_ACCOUNT_TYPE)return null;return await(await this.getClient()).getProjectId()}async getGCEProjectId(){try{return await j8.project("project-id")}catch(Z){return null}}getCredentials(Z){if(Z)this.getCredentialsAsync().then(($)=>Z(null,$),Z);else return this.getCredentialsAsync()}async getCredentialsAsync(){let Z=await this.getClient();if(Z instanceof H8.Impersonated)return{client_email:Z.getTargetPrincipal()};if(Z instanceof C8.BaseExternalAccountClient){let $=Z.getServiceAccountEmail();if($)return{client_email:$,universe_domain:Z.universeDomain}}if(this.jsonContent)return{client_email:this.jsonContent.client_email,private_key:this.jsonContent.private_key,universe_domain:this.jsonContent.universe_domain};if(await this._checkIsGCE()){let[$,Q]=await Promise.all([j8.instance("service-accounts/default/email"),this.getUniverseDomain()]);return{client_email:$,universe_domain:Q}}throw Error(YQ.GoogleAuthExceptionMessages.NO_CREDENTIALS_FOUND)}async getClient(){if(this.cachedCredential)return this.cachedCredential;this.#Z=this.#Z||this.#Q();try{return await this.#Z}finally{this.#Z=null}}async#Q(){if(this.jsonContent)return this._cacheClientFromJSON(this.jsonContent,this.clientOptions);else if(this.keyFilename){let Z=g6.resolve(this.keyFilename),$=A8.createReadStream(Z);return await this.fromStreamAsync($,this.clientOptions)}else if(this.apiKey){let Z=await this.fromAPIKey(this.apiKey,this.clientOptions);Z.scopes=this.scopes;let{credential:$}=await this.#$(Z);return $}else{let{credential:Z}=await this.getApplicationDefaultAsync(this.clientOptions);return Z}}async getIdTokenClient(Z){let $=await this.getClient();if(!("fetchIdToken"in $))throw Error("Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.");return new Y5.IdTokenClient({targetAudience:Z,idTokenProvider:$})}async getAccessToken(){return(await(await this.getClient()).getAccessToken()).token}async getRequestHeaders(Z){return(await this.getClient()).getRequestHeaders(Z)}async authorizeRequest(Z={}){let $=Z.url,Y=await(await this.getClient()).getRequestHeaders($);return Z.headers=eJ.Gaxios.mergeHeaders(Z.headers,Y),Z}async fetch(...Z){return(await this.getClient()).fetch(...Z)}async request(Z){return(await this.getClient()).request(Z)}getEnv(){return(0,V5.getEnv)()}async sign(Z,$){let Q=await this.getClient(),Y=await this.getUniverseDomain();if($=$||`https://iamcredentials.${Y}/v1/projects/-/serviceAccounts/`,Q instanceof H8.Impersonated)return(await Q.sign(Z)).signedBlob;let V=(0,$5.createCrypto)();if(Q instanceof X8.JWT&&Q.key)return await V.sign(Q.key,Z);let W=await this.getCredentials();if(!W.client_email)throw Error("Cannot sign data without `client_email`.");return this.signBlob(V,W.client_email,Z,$)}async signBlob(Z,$,Q,Y){let V=new URL(Y+`${$}:signBlob`);return(await this.request({method:"POST",url:V.href,data:{payload:Z.encodeBase64StringUtf8(Q)},retry:!0,retryConfig:{httpMethodsToRetry:["POST"]}})).data.signedBlob}}YQ.GoogleAuth=QQ});var zQ=A((XQ)=>{Object.defineProperty(XQ,"__esModule",{value:!0});XQ.IAMAuth=void 0;class JQ{selector;token;constructor(Z,$){this.selector=Z,this.token=$,this.selector=Z,this.token=$}getRequestHeaders(){return{"x-goog-iam-authority-selector":this.selector,"x-goog-iam-authorization-token":this.token}}}XQ.IAMAuth=JQ});var FQ=A((qQ)=>{Object.defineProperty(qQ,"__esModule",{value:!0});qQ.DownscopedClient=qQ.EXPIRATION_TIME_OFFSET=qQ.MAX_ACCESS_BOUNDARY_RULES_COUNT=void 0;var J5=X0(),X5=_("stream"),d6=D0(),H5=o8(),z5="urn:ietf:params:oauth:grant-type:token-exchange",K5="urn:ietf:params:oauth:token-type:access_token",q5="urn:ietf:params:oauth:token-type:access_token";qQ.MAX_ACCESS_BOUNDARY_RULES_COUNT=10;qQ.EXPIRATION_TIME_OFFSET=300000;class KQ extends d6.AuthClient{authClient;credentialAccessBoundary;cachedDownscopedAccessToken;stsCredential;constructor(Z,$={accessBoundary:{accessBoundaryRules:[]}}){super(Z instanceof d6.AuthClient?{}:Z);if(Z instanceof d6.AuthClient)this.authClient=Z,this.credentialAccessBoundary=$;else this.authClient=Z.authClient,this.credentialAccessBoundary=Z.credentialAccessBoundary;if(this.credentialAccessBoundary.accessBoundary.accessBoundaryRules.length===0)throw Error("At least one access boundary rule needs to be defined.");else if(this.credentialAccessBoundary.accessBoundary.accessBoundaryRules.length>qQ.MAX_ACCESS_BOUNDARY_RULES_COUNT)throw Error(`The provided access boundary has more than ${qQ.MAX_ACCESS_BOUNDARY_RULES_COUNT} access boundary rules.`);for(let Q of this.credentialAccessBoundary.accessBoundary.accessBoundaryRules)if(Q.availablePermissions.length===0)throw Error("At least one permission should be defined in access boundary rules.");this.stsCredential=new H5.StsCredentials({tokenExchangeEndpoint:`https://sts.${this.universeDomain}/v1/token`}),this.cachedDownscopedAccessToken=null}setCredentials(Z){if(!Z.expiry_date)throw Error("The access token expiry_date field is missing in the provided credentials.");super.setCredentials(Z),this.cachedDownscopedAccessToken=Z}async getAccessToken(){if(!this.cachedDownscopedAccessToken||this.isExpired(this.cachedDownscopedAccessToken))await this.refreshAccessTokenAsync();return{token:this.cachedDownscopedAccessToken.access_token,expirationTime:this.cachedDownscopedAccessToken.expiry_date,res:this.cachedDownscopedAccessToken.res}}async getRequestHeaders(){let Z=await this.getAccessToken(),$=new Headers({authorization:`Bearer ${Z.token}`});return this.addSharedMetadataHeaders($)}request(Z,$){if($)this.requestAsync(Z).then((Q)=>$(null,Q),(Q)=>{return $(Q,Q.response)});else return this.requestAsync(Z)}async requestAsync(Z,$=!1){let Q;try{let Y=await this.getRequestHeaders();Z.headers=J5.Gaxios.mergeHeaders(Z.headers),this.addUserProjectAndAuthHeaders(Z.headers,Y),Q=await this.transporter.request(Z)}catch(Y){let V=Y.response;if(V){let W=V.status,z=V.config.data instanceof X5.Readable;if(!$&&(W===401||W===403)&&!z&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(Z,!0)}throw Y}return Q}async refreshAccessTokenAsync(){let Z=(await this.authClient.getAccessToken()).token,$={grantType:z5,requestedTokenType:K5,subjectToken:Z,subjectTokenType:q5},Q=await this.stsCredential.exchangeToken($,void 0,this.credentialAccessBoundary),Y=this.authClient.credentials?.expiry_date||null,V=Q.expires_in?new Date().getTime()+Q.expires_in*1000:Y;return this.cachedDownscopedAccessToken={access_token:Q.access_token,expiry_date:V,res:Q.res},this.credentials={},Object.assign(this.credentials,this.cachedDownscopedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedDownscopedAccessToken.expiry_date,access_token:this.cachedDownscopedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedDownscopedAccessToken}isExpired(Z){let $=new Date().getTime();return Z.expiry_date?$>=Z.expiry_date-this.eagerRefreshThresholdMillis:!1}}qQ.DownscopedClient=KQ});var GQ=A((DQ)=>{Object.defineProperty(DQ,"__esModule",{value:!0});DQ.PassThroughClient=void 0;var F5=D0();class UQ extends F5.AuthClient{async request(Z){return this.transporter.request(Z)}async getAccessToken(){return{}}async getRequestHeaders(){return new Headers}}DQ.PassThroughClient=UQ});var y5=A((r)=>{Object.defineProperty(r,"__esModule",{value:!0});r.GoogleAuth=r.auth=r.PassThroughClient=r.ExternalAccountAuthorizedUserClient=r.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE=r.ExecutableError=r.PluggableAuthClient=r.DownscopedClient=r.BaseExternalAccountClient=r.ExternalAccountClient=r.IdentityPoolClient=r.AwsRequestSigner=r.AwsClient=r.UserRefreshClient=r.LoginTicket=r.ClientAuthentication=r.OAuth2Client=r.CodeChallengeMethod=r.Impersonated=r.JWT=r.JWTAccess=r.IdTokenClient=r.IAMAuth=r.GCPEnv=r.Compute=r.DEFAULT_UNIVERSE=r.AuthClient=r.gaxios=r.gcpMetadata=void 0;var IQ=WQ();Object.defineProperty(r,"GoogleAuth",{enumerable:!0,get:function(){return IQ.GoogleAuth}});r.gcpMetadata=U8();r.gaxios=X0();var RQ=D0();Object.defineProperty(r,"AuthClient",{enumerable:!0,get:function(){return RQ.AuthClient}});Object.defineProperty(r,"DEFAULT_UNIVERSE",{enumerable:!0,get:function(){return RQ.DEFAULT_UNIVERSE}});var U5=u1();Object.defineProperty(r,"Compute",{enumerable:!0,get:function(){return U5.Compute}});var D5=l1();Object.defineProperty(r,"GCPEnv",{enumerable:!0,get:function(){return D5.GCPEnv}});var M5=zQ();Object.defineProperty(r,"IAMAuth",{enumerable:!0,get:function(){return M5.IAMAuth}});var G5=d1();Object.defineProperty(r,"IdTokenClient",{enumerable:!0,get:function(){return G5.IdTokenClient}});var I5=J6();Object.defineProperty(r,"JWTAccess",{enumerable:!0,get:function(){return I5.JWTAccess}});var R5=H6();Object.defineProperty(r,"JWT",{enumerable:!0,get:function(){return R5.JWT}});var N5=K6();Object.defineProperty(r,"Impersonated",{enumerable:!0,get:function(){return N5.Impersonated}});var c6=n0();Object.defineProperty(r,"CodeChallengeMethod",{enumerable:!0,get:function(){return c6.CodeChallengeMethod}});Object.defineProperty(r,"OAuth2Client",{enumerable:!0,get:function(){return c6.OAuth2Client}});Object.defineProperty(r,"ClientAuthentication",{enumerable:!0,get:function(){return c6.ClientAuthentication}});var T5=m1();Object.defineProperty(r,"LoginTicket",{enumerable:!0,get:function(){return T5.LoginTicket}});var L5=z6();Object.defineProperty(r,"UserRefreshClient",{enumerable:!0,get:function(){return L5.UserRefreshClient}});var S5=L6();Object.defineProperty(r,"AwsClient",{enumerable:!0,get:function(){return S5.AwsClient}});var B5=T6();Object.defineProperty(r,"AwsRequestSigner",{enumerable:!0,get:function(){return B5.AwsRequestSigner}});var O5=N6();Object.defineProperty(r,"IdentityPoolClient",{enumerable:!0,get:function(){return O5.IdentityPoolClient}});var P5=x6();Object.defineProperty(r,"ExternalAccountClient",{enumerable:!0,get:function(){return P5.ExternalAccountClient}});var A5=l0();Object.defineProperty(r,"BaseExternalAccountClient",{enumerable:!0,get:function(){return A5.BaseExternalAccountClient}});var j5=FQ();Object.defineProperty(r,"DownscopedClient",{enumerable:!0,get:function(){return j5.DownscopedClient}});var NQ=_6();Object.defineProperty(r,"PluggableAuthClient",{enumerable:!0,get:function(){return NQ.PluggableAuthClient}});Object.defineProperty(r,"ExecutableError",{enumerable:!0,get:function(){return NQ.ExecutableError}});var TQ=m6();Object.defineProperty(r,"EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE",{enumerable:!0,get:function(){return TQ.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE}});Object.defineProperty(r,"ExternalAccountAuthorizedUserClient",{enumerable:!0,get:function(){return TQ.ExternalAccountAuthorizedUserClient}});var C5=GQ();Object.defineProperty(r,"PassThroughClient",{enumerable:!0,get:function(){return C5.PassThroughClient}});var v5=new IQ.GoogleAuth;r.auth=v5});
|
|
32
|
-
export{y5 as
|
|
32
|
+
export{y5 as tf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{gl as a,hl as b,il as c,jl as d,kl as e,ll as f,ml as g,nl as h,ol as i}from"./chunk-6tstcwxp.js";import"./chunk-fsahzvd5.js";import"./chunk-9zm6r55d.js";import"./chunk-khzzmyk2.js";import"./chunk-73r8bjjz.js";import"./chunk-vdxar0ct.js";import"./chunk-ztyy3ga3.js";import"./chunk-mmjgf680.js";import"./chunk-0vakk88p.js";import"./chunk-r5zy4za0.js";import"./chunk-tr6rdr6h.js";import"./chunk-at22twxx.js";import"./chunk-kgptyf7n.js";import"./chunk-j9h1sp4g.js";import"./chunk-p6crzjtf.js";import"./chunk-55fcmswd.js";import"./chunk-qnvsqnz5.js";import"./chunk-r9w0thdk.js";export{i as stopRefresh,h as startRefresh,g as refresh,d as readModelCatalogResponse,f as get,c as Provider,b as Model,a as MODEL_CATALOG_MAX_BYTES,e as Data};
|