jialing-code 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +97 -0
- package/dist/chunk-065m026w.js +97 -0
- package/dist/chunk-06saje2v.js +39 -0
- package/dist/chunk-0731m51q.js +8 -0
- package/dist/chunk-0975ccyw.js +265 -0
- package/dist/chunk-09n3fjx5.js +67 -0
- package/dist/chunk-0bdjdzew.js +41 -0
- package/dist/chunk-0ce6kd7y.js +212 -0
- package/dist/chunk-0e1xsncc.js +969 -0
- package/dist/chunk-0m2861gw.js +154 -0
- package/dist/chunk-0paqc2yw.js +15 -0
- package/dist/chunk-0rg6yrhy.js +99 -0
- package/dist/chunk-0sakxrcf.js +643 -0
- package/dist/chunk-0v9hwxvz.js +105 -0
- package/dist/chunk-0vkfrmqm.js +690 -0
- package/dist/chunk-0vvfnhhv.js +248 -0
- package/dist/chunk-0w4rsycj.js +145 -0
- package/dist/chunk-0x9b2nmd.js +63 -0
- package/dist/chunk-0xjaqda8.js +1124 -0
- package/dist/chunk-1141xmr4.js +8 -0
- package/dist/chunk-13d1842d.js +154 -0
- package/dist/chunk-1921a6yb.js +32 -0
- package/dist/chunk-1ad8mk9g.js +527 -0
- package/dist/chunk-1ax41pws.js +28 -0
- package/dist/chunk-1c8z1b5v.js +16 -0
- package/dist/chunk-1cbn5kxf.js +7 -0
- package/dist/chunk-1eapde8a.js +726 -0
- package/dist/chunk-1h2famwb.js +49 -0
- package/dist/chunk-1jggnf7z.js +85 -0
- package/dist/chunk-1k92pn9c.js +32 -0
- package/dist/chunk-1qakq4sn.js +802 -0
- package/dist/chunk-1rvz0433.js +722 -0
- package/dist/chunk-1xkekb9y.js +19 -0
- package/dist/chunk-238g70xa.js +36 -0
- package/dist/chunk-24ge0eqa.js +106 -0
- package/dist/chunk-278vghwm.js +5395 -0
- package/dist/chunk-27xc1csx.js +104 -0
- package/dist/chunk-2a42s11t.js +412 -0
- package/dist/chunk-2aa02aw6.js +438 -0
- package/dist/chunk-2eykm0j0.js +20 -0
- package/dist/chunk-2gzv8nrw.js +205 -0
- package/dist/chunk-2k995y2x.js +880 -0
- package/dist/chunk-2nayx6q1.js +63 -0
- package/dist/chunk-2sd2w2h4.js +44 -0
- package/dist/chunk-2tw2ve8h.js +145 -0
- package/dist/chunk-30rst83v.js +168 -0
- package/dist/chunk-3aavh06g.js +1581 -0
- package/dist/chunk-3b0yvt2h.js +469 -0
- package/dist/chunk-3be7ka25.js +56 -0
- package/dist/chunk-3c25bcsw.js +17 -0
- package/dist/chunk-3dyxka97.js +584 -0
- package/dist/chunk-3f7rypmf.js +16544 -0
- package/dist/chunk-3fsd7f51.js +93 -0
- package/dist/chunk-3gqdqmzb.js +75 -0
- package/dist/chunk-3h8a89gy.js +46 -0
- package/dist/chunk-3m84sret.js +71 -0
- package/dist/chunk-3nb7j3js.js +96 -0
- package/dist/chunk-3p08nvn2.js +98 -0
- package/dist/chunk-3r09htpc.js +318 -0
- package/dist/chunk-3r24h7t6.js +113 -0
- package/dist/chunk-3rkfxjtq.js +80 -0
- package/dist/chunk-3tmk7dc2.js +604 -0
- package/dist/chunk-3w6s9m5w.js +16 -0
- package/dist/chunk-43qjymy5.js +92 -0
- package/dist/chunk-44fpr6jq.js +434 -0
- package/dist/chunk-45kxdsp8.js +444 -0
- package/dist/chunk-495d85x1.js +8066 -0
- package/dist/chunk-4ba796se.js +1095 -0
- package/dist/chunk-4g3v8y12.js +23 -0
- package/dist/chunk-4h53xj8n.js +3445 -0
- package/dist/chunk-4jm600zv.js +13 -0
- package/dist/chunk-4jy9dtwk.js +116 -0
- package/dist/chunk-4p60dd45.js +55 -0
- package/dist/chunk-4z0jsrqg.js +81 -0
- package/dist/chunk-4zfkzkt6.js +37 -0
- package/dist/chunk-55wgxwa9.js +13877 -0
- package/dist/chunk-5dbk24zg.js +890 -0
- package/dist/chunk-5hzvp4va.js +115 -0
- package/dist/chunk-5kbt1mbt.js +500 -0
- package/dist/chunk-5pen7vr8.js +176 -0
- package/dist/chunk-5r280eng.js +198 -0
- package/dist/chunk-5srym52s.js +88 -0
- package/dist/chunk-600kg7k6.js +41 -0
- package/dist/chunk-616w0qj3.js +160 -0
- package/dist/chunk-62jw1t8c.js +94 -0
- package/dist/chunk-62xmt9mk.js +372 -0
- package/dist/chunk-64bvg7c3.js +229 -0
- package/dist/chunk-65yhe4s0.js +281 -0
- package/dist/chunk-6aewh27m.js +102 -0
- package/dist/chunk-6bd8brc4.js +48 -0
- package/dist/chunk-6dj5t602.js +341 -0
- package/dist/chunk-6exxdk1p.js +6956 -0
- package/dist/chunk-6f5j8fs0.js +752 -0
- package/dist/chunk-6g62sjpf.js +328 -0
- package/dist/chunk-6gecq2ta.js +1493 -0
- package/dist/chunk-6gr3c3w9.js +378 -0
- package/dist/chunk-6kpbgc5w.js +23 -0
- package/dist/chunk-6kseqw79.js +154 -0
- package/dist/chunk-6mxm1qd0.js +40764 -0
- package/dist/chunk-6n2qgm9v.js +8 -0
- package/dist/chunk-6tq2v3rk.js +186 -0
- package/dist/chunk-6wsdhj3v.js +93 -0
- package/dist/chunk-6zw9fhgb.js +4389 -0
- package/dist/chunk-71grc1mw.js +111 -0
- package/dist/chunk-73rpbt04.js +1947 -0
- package/dist/chunk-748feghg.js +604 -0
- package/dist/chunk-75e8gtg9.js +84 -0
- package/dist/chunk-75th4717.js +780 -0
- package/dist/chunk-760252na.js +101 -0
- package/dist/chunk-7739pg2c.js +4261 -0
- package/dist/chunk-778fnx46.js +472 -0
- package/dist/chunk-77g09znh.js +391 -0
- package/dist/chunk-7aw745vx.js +40175 -0
- package/dist/chunk-7m2nd8da.js +110 -0
- package/dist/chunk-7n35vjtw.js +444 -0
- package/dist/chunk-7n5ss4sh.js +144 -0
- package/dist/chunk-7rjnxcfe.js +107 -0
- package/dist/chunk-7sb5axvf.js +122 -0
- package/dist/chunk-7wm5s02e.js +216 -0
- package/dist/chunk-7ymfj7m3.js +151 -0
- package/dist/chunk-7z8j9qfn.js +121 -0
- package/dist/chunk-7zsapntc.js +216 -0
- package/dist/chunk-805fhkfh.js +908 -0
- package/dist/chunk-80k1nj24.js +253 -0
- package/dist/chunk-83hfzbx3.js +10 -0
- package/dist/chunk-85cypsdd.js +92 -0
- package/dist/chunk-8760caxf.js +2644 -0
- package/dist/chunk-88f6egg6.js +387 -0
- package/dist/chunk-88r7kwgj.js +22 -0
- package/dist/chunk-89e1v45e.js +463 -0
- package/dist/chunk-8bedvdm1.js +32 -0
- package/dist/chunk-8c4x4vdz.js +177 -0
- package/dist/chunk-8hq5kk3y.js +44 -0
- package/dist/chunk-8ngxagxq.js +18 -0
- package/dist/chunk-8tnsngw2.js +31 -0
- package/dist/chunk-8wjnca8h.js +307 -0
- package/dist/chunk-8y12jxg8.js +10 -0
- package/dist/chunk-8ymf4e6z.js +48 -0
- package/dist/chunk-90wp6wez.js +10510 -0
- package/dist/chunk-92bp5bnf.js +650 -0
- package/dist/chunk-92q8sx5z.js +90 -0
- package/dist/chunk-958rtmtx.js +10476 -0
- package/dist/chunk-9e2kqv5g.js +125 -0
- package/dist/chunk-9f4f1hy5.js +281 -0
- package/dist/chunk-9gbamk79.js +93 -0
- package/dist/chunk-9k5s3ryh.js +167 -0
- package/dist/chunk-9xzfqm15.js +97 -0
- package/dist/chunk-9zgdvbm6.js +110 -0
- package/dist/chunk-a0p3q8jw.js +24 -0
- package/dist/chunk-a22sayzp.js +220 -0
- package/dist/chunk-a8ejc632.js +3094 -0
- package/dist/chunk-a8gj9d9z.js +120 -0
- package/dist/chunk-a9vdeb6y.js +258 -0
- package/dist/chunk-a9yev47v.js +674 -0
- package/dist/chunk-a9zh40sj.js +48 -0
- package/dist/chunk-ack5mfba.js +105 -0
- package/dist/chunk-ae76ded0.js +30 -0
- package/dist/chunk-akjw4dh6.js +538 -0
- package/dist/chunk-asc6wz4q.js +1188 -0
- package/dist/chunk-atqejh3p.js +273 -0
- package/dist/chunk-atv2e6b7.js +61 -0
- package/dist/chunk-axvvkwz8.js +1551 -0
- package/dist/chunk-azgz7kj9.js +38 -0
- package/dist/chunk-b3zave8q.js +275 -0
- package/dist/chunk-b4wg70y1.js +54 -0
- package/dist/chunk-b8b13qn2.js +100 -0
- package/dist/chunk-bg3mt9bm.js +28 -0
- package/dist/chunk-bh4jvcjn.js +91 -0
- package/dist/chunk-bhdt6k7w.js +15 -0
- package/dist/chunk-bm1qb16p.js +17 -0
- package/dist/chunk-bpvsd1j1.js +266 -0
- package/dist/chunk-bqfnp99q.js +477 -0
- package/dist/chunk-bsbmmfyt.js +17 -0
- package/dist/chunk-bsbt34jm.js +42 -0
- package/dist/chunk-c78akdhr.js +458 -0
- package/dist/chunk-cdz5yb0r.js +57 -0
- package/dist/chunk-cfv996bs.js +22 -0
- package/dist/chunk-cgfdkzhb.js +12 -0
- package/dist/chunk-ckh4r5er.js +257 -0
- package/dist/chunk-cmgjnvn9.js +89 -0
- package/dist/chunk-cpjgvay8.js +687 -0
- package/dist/chunk-crfryjx9.js +276 -0
- package/dist/chunk-ctw5jwcd.js +213 -0
- package/dist/chunk-cvy3vntc.js +65 -0
- package/dist/chunk-cwbzz504.js +94 -0
- package/dist/chunk-cy2hswr1.js +15 -0
- package/dist/chunk-cyejkay3.js +222 -0
- package/dist/chunk-d18z9pna.js +106 -0
- package/dist/chunk-d5cq0n0v.js +162 -0
- package/dist/chunk-db45aryp.js +50 -0
- package/dist/chunk-de8nqh0z.js +790 -0
- package/dist/chunk-dfw6h350.js +2336 -0
- package/dist/chunk-dgqrcy74.js +48 -0
- package/dist/chunk-dn75ptgd.js +184 -0
- package/dist/chunk-dnh7jtpb.js +37 -0
- package/dist/chunk-dpshyv9m.js +90 -0
- package/dist/chunk-dt8cdvnm.js +642 -0
- package/dist/chunk-dtxby6fr.js +306 -0
- package/dist/chunk-dv1wfr85.js +6373 -0
- package/dist/chunk-dw363edx.js +1154 -0
- package/dist/chunk-dwrdacck.js +62 -0
- package/dist/chunk-dxnnv5e3.js +276 -0
- package/dist/chunk-e3g8q4cn.js +1646 -0
- package/dist/chunk-e3m9k9s2.js +542 -0
- package/dist/chunk-e4q49asn.js +155 -0
- package/dist/chunk-e5pntxye.js +37 -0
- package/dist/chunk-e7393td6.js +42 -0
- package/dist/chunk-ead42yrh.js +87 -0
- package/dist/chunk-eb90vwvr.js +152 -0
- package/dist/chunk-ecvwk9hg.js +250 -0
- package/dist/chunk-edjd6aay.js +173 -0
- package/dist/chunk-eg0h8mtm.js +130 -0
- package/dist/chunk-ehtwnxpg.js +1591 -0
- package/dist/chunk-ek686gx1.js +94 -0
- package/dist/chunk-eqp1rfft.js +17 -0
- package/dist/chunk-evhwt0ar.js +1015 -0
- package/dist/chunk-ewadzrm8.js +103 -0
- package/dist/chunk-ewsgsw9h.js +172291 -0
- package/dist/chunk-f0pa0r7e.js +3198 -0
- package/dist/chunk-f2mhrmww.js +62 -0
- package/dist/chunk-f39zxvwn.js +401 -0
- package/dist/chunk-f46z54tq.js +374 -0
- package/dist/chunk-f5ma3nh5.js +3436 -0
- package/dist/chunk-f60q23az.js +3038 -0
- package/dist/chunk-f6v2nz57.js +107 -0
- package/dist/chunk-f6yjan38.js +38 -0
- package/dist/chunk-fbv4apne.js +51 -0
- package/dist/chunk-fem4s778.js +70 -0
- package/dist/chunk-fezm1kn8.js +376 -0
- package/dist/chunk-fm1n3ysp.js +6108 -0
- package/dist/chunk-frg83bfw.js +225 -0
- package/dist/chunk-fscm8db0.js +692 -0
- package/dist/chunk-fyc5fepv.js +10 -0
- package/dist/chunk-g0j0t6qk.js +26 -0
- package/dist/chunk-g0nc1ftf.js +849 -0
- package/dist/chunk-g338npwr.js +1061 -0
- package/dist/chunk-g3t0act8.js +8 -0
- package/dist/chunk-g75w4hw3.js +26 -0
- package/dist/chunk-g8vp82en.js +1866 -0
- package/dist/chunk-gax0fcbx.js +182 -0
- package/dist/chunk-gsz4dh3y.js +606 -0
- package/dist/chunk-gtfffm7h.js +440 -0
- package/dist/chunk-gver9zb9.js +420 -0
- package/dist/chunk-gyj242zr.js +20 -0
- package/dist/chunk-h0qngp9w.js +157 -0
- package/dist/chunk-h14kemnk.js +123 -0
- package/dist/chunk-h8wj1a74.js +8960 -0
- package/dist/chunk-h9mcb2eg.js +87 -0
- package/dist/chunk-h9nh2980.js +91 -0
- package/dist/chunk-hakdhagh.js +16606 -0
- package/dist/chunk-hbc6ymdv.js +55 -0
- package/dist/chunk-hh7cmy4k.js +20 -0
- package/dist/chunk-hjhc4cpt.js +69 -0
- package/dist/chunk-hjwez8qc.js +5018 -0
- package/dist/chunk-hk9xz7gk.js +118 -0
- package/dist/chunk-hqmz36b3.js +552 -0
- package/dist/chunk-hrzerbfw.js +1299 -0
- package/dist/chunk-hs8ph4p8.js +8 -0
- package/dist/chunk-ht1xwrnd.js +716 -0
- package/dist/chunk-hvmfg2dc.js +338 -0
- package/dist/chunk-hx2tr4ep.js +7189 -0
- package/dist/chunk-hzhe8ygc.js +547 -0
- package/dist/chunk-j2k4p94p.js +55 -0
- package/dist/chunk-j3a4p81y.js +184 -0
- package/dist/chunk-j49g6g3s.js +57 -0
- package/dist/chunk-j5d5hp9h.js +71 -0
- package/dist/chunk-j64ga6ta.js +8035 -0
- package/dist/chunk-j7tyxan1.js +116 -0
- package/dist/chunk-j8v4774z.js +424 -0
- package/dist/chunk-jafes477.js +29 -0
- package/dist/chunk-jd32zbps.js +15 -0
- package/dist/chunk-jdgeec04.js +4249 -0
- package/dist/chunk-jftd4jq5.js +4521 -0
- package/dist/chunk-jkxqhv6y.js +812 -0
- package/dist/chunk-jmfr6h0n.js +120 -0
- package/dist/chunk-jn4aabmx.js +40 -0
- package/dist/chunk-jnhkref0.js +30 -0
- package/dist/chunk-jsbpm1gz.js +27 -0
- package/dist/chunk-jtcyjc3k.js +5802 -0
- package/dist/chunk-jx817w05.js +11 -0
- package/dist/chunk-jzmz18nn.js +65 -0
- package/dist/chunk-k0p9w03v.js +4957 -0
- package/dist/chunk-k3dcdnck.js +89 -0
- package/dist/chunk-k3wadzcd.js +88 -0
- package/dist/chunk-kaeshsk1.js +713 -0
- package/dist/chunk-kbkey9ed.js +522 -0
- package/dist/chunk-kcwfhqbb.js +196 -0
- package/dist/chunk-key6jr7p.js +224 -0
- package/dist/chunk-knay8cy9.js +173 -0
- package/dist/chunk-kr3rg2y1.js +95 -0
- package/dist/chunk-kwekc97v.js +18 -0
- package/dist/chunk-m06q12hg.js +61 -0
- package/dist/chunk-m2mcpbhk.js +43 -0
- package/dist/chunk-m8v220gz.js +71 -0
- package/dist/chunk-mgpqy78h.js +208 -0
- package/dist/chunk-mkejwh4t.js +16 -0
- package/dist/chunk-mptyw5n1.js +107 -0
- package/dist/chunk-mqajm0dp.js +66 -0
- package/dist/chunk-mrksbgxj.js +490 -0
- package/dist/chunk-msjfc5ba.js +246 -0
- package/dist/chunk-mt25echc.js +6157 -0
- package/dist/chunk-mt3jfnr8.js +277 -0
- package/dist/chunk-mtn242d4.js +9300 -0
- package/dist/chunk-mzfkvave.js +169 -0
- package/dist/chunk-n0qaeaa5.js +256 -0
- package/dist/chunk-n1erf6kh.js +22820 -0
- package/dist/chunk-n2avk1r2.js +61 -0
- package/dist/chunk-n6atnpcq.js +765 -0
- package/dist/chunk-n7ttdtk0.js +641 -0
- package/dist/chunk-ncnfzby5.js +822 -0
- package/dist/chunk-ncnr1jtf.js +2058 -0
- package/dist/chunk-nerv0jvx.js +74 -0
- package/dist/chunk-ngd2abep.js +90 -0
- package/dist/chunk-nka1g8f4.js +773 -0
- package/dist/chunk-nnaxkc2z.js +128 -0
- package/dist/chunk-npyrtj8j.js +691 -0
- package/dist/chunk-nq0fxyxh.js +752 -0
- package/dist/chunk-nrmffak7.js +114 -0
- package/dist/chunk-nsz546wq.js +1170 -0
- package/dist/chunk-nt837qt9.js +21 -0
- package/dist/chunk-nv64x1z5.js +86 -0
- package/dist/chunk-nxsh6de2.js +1711 -0
- package/dist/chunk-nz4getcr.js +40 -0
- package/dist/chunk-p1f607pa.js +83 -0
- package/dist/chunk-p2816w9z.js +1486 -0
- package/dist/chunk-p2d5nh3g.js +342 -0
- package/dist/chunk-p4r5y02t.js +90 -0
- package/dist/chunk-p7g7pf3f.js +336 -0
- package/dist/chunk-pb4ad8r2.js +110 -0
- package/dist/chunk-pbrhz0zr.js +716 -0
- package/dist/chunk-ps49ymvj.js +43 -0
- package/dist/chunk-pwnt3veb.js +103 -0
- package/dist/chunk-pwwa7s62.js +11 -0
- package/dist/chunk-px3w0kde.js +299 -0
- package/dist/chunk-pzn777jb.js +756 -0
- package/dist/chunk-q25bjaev.js +15 -0
- package/dist/chunk-q5by3da6.js +8 -0
- package/dist/chunk-q6av622g.js +38 -0
- package/dist/chunk-q6xkvtf2.js +1318 -0
- package/dist/chunk-q81jx1tq.js +476 -0
- package/dist/chunk-qehb6fk5.js +339 -0
- package/dist/chunk-qj1avx1q.js +87 -0
- package/dist/chunk-qn2dxr66.js +105 -0
- package/dist/chunk-qnfx3qtx.js +617 -0
- package/dist/chunk-qp18kd4h.js +48 -0
- package/dist/chunk-qp2qdcda.js +100 -0
- package/dist/chunk-qpjy9tcf.js +133 -0
- package/dist/chunk-qqfa0dqg.js +2343 -0
- package/dist/chunk-qwh3htcz.js +202 -0
- package/dist/chunk-qz2x630m.js +49145 -0
- package/dist/chunk-r3vakcs1.js +496 -0
- package/dist/chunk-r66hz8j6.js +34 -0
- package/dist/chunk-r6b58y3x.js +17 -0
- package/dist/chunk-rekp48rk.js +62 -0
- package/dist/chunk-rn0v1hk8.js +34 -0
- package/dist/chunk-rs1xrs6m.js +534 -0
- package/dist/chunk-rs45skes.js +123 -0
- package/dist/chunk-rzszqp82.js +524 -0
- package/dist/chunk-s274nv8k.js +8 -0
- package/dist/chunk-s3pzvdss.js +50 -0
- package/dist/chunk-s9mesaw0.js +26840 -0
- package/dist/chunk-sd36yzx8.js +954 -0
- package/dist/chunk-sdj9b9wh.js +782 -0
- package/dist/chunk-sdw2q69p.js +227 -0
- package/dist/chunk-sfgp9cc0.js +130 -0
- package/dist/chunk-spqaamnc.js +63 -0
- package/dist/chunk-spzrs4df.js +73 -0
- package/dist/chunk-sxkr7k43.js +55 -0
- package/dist/chunk-szj5wvdy.js +28 -0
- package/dist/chunk-t0rgmccj.js +39 -0
- package/dist/chunk-t1nnzjgg.js +17 -0
- package/dist/chunk-t94fcnt8.js +566 -0
- package/dist/chunk-tjaqa99q.js +125 -0
- package/dist/chunk-tjq2evtw.js +328 -0
- package/dist/chunk-ts2p6bv1.js +224 -0
- package/dist/chunk-ttk5dzz8.js +25 -0
- package/dist/chunk-tw0q7ynt.js +59 -0
- package/dist/chunk-v02jkvgy.js +131 -0
- package/dist/chunk-v084bqt3.js +1529 -0
- package/dist/chunk-v0amythm.js +164 -0
- package/dist/chunk-v1kzp02e.js +785 -0
- package/dist/chunk-v1mgv1et.js +15 -0
- package/dist/chunk-v399mzxk.js +58 -0
- package/dist/chunk-v3gm2day.js +8 -0
- package/dist/chunk-v43hrrxp.js +71 -0
- package/dist/chunk-v6aqb2aj.js +102 -0
- package/dist/chunk-v78fj8by.js +145 -0
- package/dist/chunk-v7qmhjdn.js +1921 -0
- package/dist/chunk-v9smspw2.js +4301 -0
- package/dist/chunk-vdw93s4h.js +2431 -0
- package/dist/chunk-vest0y6x.js +3830 -0
- package/dist/chunk-vf5sd1nq.js +12 -0
- package/dist/chunk-vratq94g.js +349 -0
- package/dist/chunk-vrz7t3m3.js +20 -0
- package/dist/chunk-vtb185z9.js +70 -0
- package/dist/chunk-vx01rvg8.js +654 -0
- package/dist/chunk-vyc0rjyx.js +31 -0
- package/dist/chunk-vyjeh50y.js +2149 -0
- package/dist/chunk-vzpffsza.js +269 -0
- package/dist/chunk-w2ef3kxk.js +3353 -0
- package/dist/chunk-w2z5pqd3.js +336 -0
- package/dist/chunk-w3whm4mn.js +432 -0
- package/dist/chunk-w7wgpqcp.js +157 -0
- package/dist/chunk-waa00cvb.js +301 -0
- package/dist/chunk-wb0qm4es.js +155 -0
- package/dist/chunk-wbkahkdc.js +27 -0
- package/dist/chunk-wfz0qffj.js +3939 -0
- package/dist/chunk-wn0cx0pt.js +283 -0
- package/dist/chunk-wv6gzt9c.js +726 -0
- package/dist/chunk-wx42ycm4.js +998 -0
- package/dist/chunk-wxkpgy05.js +268 -0
- package/dist/chunk-wzpdet3m.js +843 -0
- package/dist/chunk-x0mwzt38.js +714 -0
- package/dist/chunk-x592wbfh.js +244 -0
- package/dist/chunk-x5pqsp9r.js +100 -0
- package/dist/chunk-x679thag.js +825 -0
- package/dist/chunk-x8b7vft8.js +132 -0
- package/dist/chunk-x8cftch7.js +119 -0
- package/dist/chunk-x9q7r885.js +348 -0
- package/dist/chunk-xawkt0vb.js +1585 -0
- package/dist/chunk-xdw5dv00.js +8 -0
- package/dist/chunk-xe9cc860.js +287 -0
- package/dist/chunk-xjr9c3vt.js +101 -0
- package/dist/chunk-xk7zaqta.js +21933 -0
- package/dist/chunk-xktbmawc.js +678 -0
- package/dist/chunk-xn6yw46v.js +140 -0
- package/dist/chunk-xsq9ae7x.js +90 -0
- package/dist/chunk-xszk7n10.js +14358 -0
- package/dist/chunk-xt8a5r1t.js +84 -0
- package/dist/chunk-xydyndkv.js +195 -0
- package/dist/chunk-xzt10yc5.js +60 -0
- package/dist/chunk-y04y95dr.js +91 -0
- package/dist/chunk-y1784krc.js +19 -0
- package/dist/chunk-y1x32h3x.js +128 -0
- package/dist/chunk-y3s7aww5.js +99 -0
- package/dist/chunk-y47cg3kz.js +42 -0
- package/dist/chunk-y7kzvepn.js +469 -0
- package/dist/chunk-y89kbsyc.js +287 -0
- package/dist/chunk-yd87p1c3.js +159 -0
- package/dist/chunk-yf3yw8fw.js +105 -0
- package/dist/chunk-ygbf0ezx.js +1391 -0
- package/dist/chunk-yjbxnshv.js +208 -0
- package/dist/chunk-ynednmqd.js +192 -0
- package/dist/chunk-yvhez44y.js +259 -0
- package/dist/chunk-ywxd4qw4.js +22 -0
- package/dist/chunk-yzrmgpy4.js +117 -0
- package/dist/chunk-z0b2vb24.js +862 -0
- package/dist/chunk-z1zj044v.js +655 -0
- package/dist/chunk-z2dp53wn.js +17 -0
- package/dist/chunk-z3w0xasa.js +165 -0
- package/dist/chunk-z7ycmrb3.js +644 -0
- package/dist/chunk-zh11tdkb.js +347 -0
- package/dist/chunk-zk2wsm7d.js +15 -0
- package/dist/chunk-zqfqcf22.js +229 -0
- package/dist/chunk-zqk2j8px.js +699 -0
- package/dist/chunk-zqvsc10j.js +2833 -0
- package/dist/chunk-zsfxha74.js +17655 -0
- package/dist/chunk-zvc4snyb.js +117 -0
- package/dist/cli.js +194 -0
- package/package.json +173 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
require_httpAuthSchemes
|
|
4
|
+
} from "./chunk-wzpdet3m.js";
|
|
5
|
+
import {
|
|
6
|
+
require_dist_cjs as require_dist_cjs2
|
|
7
|
+
} from "./chunk-n0qaeaa5.js";
|
|
8
|
+
import {
|
|
9
|
+
require_client
|
|
10
|
+
} from "./chunk-b4wg70y1.js";
|
|
11
|
+
import {
|
|
12
|
+
require_dist_cjs
|
|
13
|
+
} from "./chunk-hk9xz7gk.js";
|
|
14
|
+
import {
|
|
15
|
+
__esm,
|
|
16
|
+
__require,
|
|
17
|
+
__toESM
|
|
18
|
+
} from "./chunk-qp2qdcda.js";
|
|
19
|
+
|
|
20
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js
|
|
21
|
+
var import_client, import_httpAuthSchemes, import_property_provider, fromEnvSigningName = ({ logger, signingName } = {}) => async () => {
|
|
22
|
+
logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
|
|
23
|
+
if (!signingName) {
|
|
24
|
+
throw new import_property_provider.TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger });
|
|
25
|
+
}
|
|
26
|
+
const bearerTokenKey = import_httpAuthSchemes.getBearerTokenEnvKey(signingName);
|
|
27
|
+
if (!(bearerTokenKey in process.env)) {
|
|
28
|
+
throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });
|
|
29
|
+
}
|
|
30
|
+
const token = { token: process.env[bearerTokenKey] };
|
|
31
|
+
import_client.setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3");
|
|
32
|
+
return token;
|
|
33
|
+
};
|
|
34
|
+
var init_fromEnvSigningName = __esm(() => {
|
|
35
|
+
import_client = __toESM(require_client(), 1);
|
|
36
|
+
import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
|
|
37
|
+
import_property_provider = __toESM(require_dist_cjs(), 1);
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
|
|
41
|
+
var EXPIRE_WINDOW_MS, REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
42
|
+
var init_constants = __esm(() => {
|
|
43
|
+
EXPIRE_WINDOW_MS = 5 * 60 * 1000;
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
47
|
+
var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
48
|
+
const { SSOOIDCClient } = await import("./chunk-805fhkfh.js").then((m)=>__toESM(m.default,1));
|
|
49
|
+
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
50
|
+
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
51
|
+
region: ssoRegion ?? init.clientConfig?.region,
|
|
52
|
+
logger: coalesce("logger"),
|
|
53
|
+
userAgentAppId: coalesce("userAgentAppId")
|
|
54
|
+
}));
|
|
55
|
+
return ssoOidcClient;
|
|
56
|
+
};
|
|
57
|
+
var init_getSsoOidcClient = () => {};
|
|
58
|
+
|
|
59
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
60
|
+
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
61
|
+
const { CreateTokenCommand } = await import("./chunk-805fhkfh.js").then((m)=>__toESM(m.default,1));
|
|
62
|
+
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
63
|
+
return ssoOidcClient.send(new CreateTokenCommand({
|
|
64
|
+
clientId: ssoToken.clientId,
|
|
65
|
+
clientSecret: ssoToken.clientSecret,
|
|
66
|
+
refreshToken: ssoToken.refreshToken,
|
|
67
|
+
grantType: "refresh_token"
|
|
68
|
+
}));
|
|
69
|
+
};
|
|
70
|
+
var init_getNewSsoOidcToken = __esm(() => {
|
|
71
|
+
init_getSsoOidcClient();
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
|
|
75
|
+
var import_property_provider2, validateTokenExpiry = (token) => {
|
|
76
|
+
if (token.expiration && token.expiration.getTime() < Date.now()) {
|
|
77
|
+
throw new import_property_provider2.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
var init_validateTokenExpiry = __esm(() => {
|
|
81
|
+
init_constants();
|
|
82
|
+
import_property_provider2 = __toESM(require_dist_cjs(), 1);
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
|
|
86
|
+
var import_property_provider3, validateTokenKey = (key, value, forRefresh = false) => {
|
|
87
|
+
if (typeof value === "undefined") {
|
|
88
|
+
throw new import_property_provider3.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
var init_validateTokenKey = __esm(() => {
|
|
92
|
+
init_constants();
|
|
93
|
+
import_property_provider3 = __toESM(require_dist_cjs(), 1);
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
|
|
97
|
+
import { promises as fsPromises } from "fs";
|
|
98
|
+
var import_shared_ini_file_loader, writeFile, writeSSOTokenToFile = (id, ssoToken) => {
|
|
99
|
+
const tokenFilepath = import_shared_ini_file_loader.getSSOTokenFilepath(id);
|
|
100
|
+
const tokenString = JSON.stringify(ssoToken, null, 2);
|
|
101
|
+
return writeFile(tokenFilepath, tokenString);
|
|
102
|
+
};
|
|
103
|
+
var init_writeSSOTokenToFile = __esm(() => {
|
|
104
|
+
import_shared_ini_file_loader = __toESM(require_dist_cjs2(), 1);
|
|
105
|
+
({ writeFile } = fsPromises);
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
|
|
109
|
+
var import_property_provider4, import_shared_ini_file_loader2, lastRefreshAttemptTime, fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
110
|
+
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
111
|
+
const profiles = await import_shared_ini_file_loader2.parseKnownFiles(init);
|
|
112
|
+
const profileName = import_shared_ini_file_loader2.getProfileName({
|
|
113
|
+
profile: init.profile ?? callerClientConfig?.profile
|
|
114
|
+
});
|
|
115
|
+
const profile = profiles[profileName];
|
|
116
|
+
if (!profile) {
|
|
117
|
+
throw new import_property_provider4.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);
|
|
118
|
+
} else if (!profile["sso_session"]) {
|
|
119
|
+
throw new import_property_provider4.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);
|
|
120
|
+
}
|
|
121
|
+
const ssoSessionName = profile["sso_session"];
|
|
122
|
+
const ssoSessions = await import_shared_ini_file_loader2.loadSsoSessionData(init);
|
|
123
|
+
const ssoSession = ssoSessions[ssoSessionName];
|
|
124
|
+
if (!ssoSession) {
|
|
125
|
+
throw new import_property_provider4.TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false);
|
|
126
|
+
}
|
|
127
|
+
for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) {
|
|
128
|
+
if (!ssoSession[ssoSessionRequiredKey]) {
|
|
129
|
+
throw new import_property_provider4.TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
const ssoStartUrl = ssoSession["sso_start_url"];
|
|
133
|
+
const ssoRegion = ssoSession["sso_region"];
|
|
134
|
+
let ssoToken;
|
|
135
|
+
try {
|
|
136
|
+
ssoToken = await import_shared_ini_file_loader2.getSSOTokenFromFile(ssoSessionName);
|
|
137
|
+
} catch (e) {
|
|
138
|
+
throw new import_property_provider4.TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false);
|
|
139
|
+
}
|
|
140
|
+
validateTokenKey("accessToken", ssoToken.accessToken);
|
|
141
|
+
validateTokenKey("expiresAt", ssoToken.expiresAt);
|
|
142
|
+
const { accessToken, expiresAt } = ssoToken;
|
|
143
|
+
const existingToken = { token: accessToken, expiration: new Date(expiresAt) };
|
|
144
|
+
if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
|
|
145
|
+
return existingToken;
|
|
146
|
+
}
|
|
147
|
+
if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1000) {
|
|
148
|
+
validateTokenExpiry(existingToken);
|
|
149
|
+
return existingToken;
|
|
150
|
+
}
|
|
151
|
+
validateTokenKey("clientId", ssoToken.clientId, true);
|
|
152
|
+
validateTokenKey("clientSecret", ssoToken.clientSecret, true);
|
|
153
|
+
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
|
154
|
+
try {
|
|
155
|
+
lastRefreshAttemptTime.setTime(Date.now());
|
|
156
|
+
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
|
|
157
|
+
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
|
158
|
+
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
|
159
|
+
const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000);
|
|
160
|
+
try {
|
|
161
|
+
await writeSSOTokenToFile(ssoSessionName, {
|
|
162
|
+
...ssoToken,
|
|
163
|
+
accessToken: newSsoOidcToken.accessToken,
|
|
164
|
+
expiresAt: newTokenExpiration.toISOString(),
|
|
165
|
+
refreshToken: newSsoOidcToken.refreshToken
|
|
166
|
+
});
|
|
167
|
+
} catch (error) {}
|
|
168
|
+
return {
|
|
169
|
+
token: newSsoOidcToken.accessToken,
|
|
170
|
+
expiration: newTokenExpiration
|
|
171
|
+
};
|
|
172
|
+
} catch (error) {
|
|
173
|
+
validateTokenExpiry(existingToken);
|
|
174
|
+
return existingToken;
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
var init_fromSso = __esm(() => {
|
|
178
|
+
init_constants();
|
|
179
|
+
init_getNewSsoOidcToken();
|
|
180
|
+
init_validateTokenExpiry();
|
|
181
|
+
init_validateTokenKey();
|
|
182
|
+
init_writeSSOTokenToFile();
|
|
183
|
+
import_property_provider4 = __toESM(require_dist_cjs(), 1);
|
|
184
|
+
import_shared_ini_file_loader2 = __toESM(require_dist_cjs2(), 1);
|
|
185
|
+
lastRefreshAttemptTime = new Date(0);
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js
|
|
189
|
+
var import_property_provider5, nodeProvider = (init = {}) => import_property_provider5.memoize(import_property_provider5.chain(fromSso(init), async () => {
|
|
190
|
+
throw new import_property_provider5.TokenProviderError("Could not load token from any providers", false);
|
|
191
|
+
}), (token) => token.expiration !== undefined && token.expiration.getTime() - Date.now() < 300000, (token) => token.expiration !== undefined);
|
|
192
|
+
var init_nodeProvider = __esm(() => {
|
|
193
|
+
init_fromSso();
|
|
194
|
+
import_property_provider5 = __toESM(require_dist_cjs(), 1);
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js
|
|
198
|
+
var init_fromStatic = () => {};
|
|
199
|
+
|
|
200
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1020.0/node_modules/@aws-sdk/token-providers/dist-es/index.js
|
|
201
|
+
var init_dist_es = __esm(() => {
|
|
202
|
+
init_fromEnvSigningName();
|
|
203
|
+
init_fromSso();
|
|
204
|
+
init_fromStatic();
|
|
205
|
+
init_nodeProvider();
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
export { fromEnvSigningName, fromSso, nodeProvider, init_dist_es };
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
formatGrantAmount,
|
|
4
|
+
getCachedOverageCreditGrant,
|
|
5
|
+
init_overageCreditGrant,
|
|
6
|
+
refreshOverageCreditGrantCache
|
|
7
|
+
} from "./chunk-jmfr6h0n.js";
|
|
8
|
+
import {
|
|
9
|
+
ThemedText,
|
|
10
|
+
init_ink,
|
|
11
|
+
require_compiler_runtime
|
|
12
|
+
} from "./chunk-s9mesaw0.js";
|
|
13
|
+
import {
|
|
14
|
+
require_jsx_dev_runtime,
|
|
15
|
+
require_react
|
|
16
|
+
} from "./chunk-g338npwr.js";
|
|
17
|
+
import {
|
|
18
|
+
getGlobalConfig,
|
|
19
|
+
init_config1 as init_config,
|
|
20
|
+
saveGlobalConfig
|
|
21
|
+
} from "./chunk-3f7rypmf.js";
|
|
22
|
+
import {
|
|
23
|
+
init_format,
|
|
24
|
+
truncate
|
|
25
|
+
} from "./chunk-1rvz0433.js";
|
|
26
|
+
import {
|
|
27
|
+
init_analytics,
|
|
28
|
+
logEvent
|
|
29
|
+
} from "./chunk-f2mhrmww.js";
|
|
30
|
+
import {
|
|
31
|
+
__esm,
|
|
32
|
+
__toESM
|
|
33
|
+
} from "./chunk-qp2qdcda.js";
|
|
34
|
+
|
|
35
|
+
// src/components/LogoV2/OverageCreditUpsell.tsx
|
|
36
|
+
function isEligibleForOverageCreditGrant() {
|
|
37
|
+
const info = getCachedOverageCreditGrant();
|
|
38
|
+
if (!info || !info.available || info.granted)
|
|
39
|
+
return false;
|
|
40
|
+
return formatGrantAmount(info) !== null;
|
|
41
|
+
}
|
|
42
|
+
function shouldShowOverageCreditUpsell() {
|
|
43
|
+
if (!isEligibleForOverageCreditGrant())
|
|
44
|
+
return false;
|
|
45
|
+
const config = getGlobalConfig();
|
|
46
|
+
if (config.hasVisitedExtraUsage)
|
|
47
|
+
return false;
|
|
48
|
+
if ((config.overageCreditUpsellSeenCount ?? 0) >= MAX_IMPRESSIONS)
|
|
49
|
+
return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function maybeRefreshOverageCreditCache() {
|
|
53
|
+
if (getCachedOverageCreditGrant() !== null)
|
|
54
|
+
return;
|
|
55
|
+
refreshOverageCreditGrantCache();
|
|
56
|
+
}
|
|
57
|
+
function useShowOverageCreditUpsell() {
|
|
58
|
+
const [show] = import_react.useState(_temp);
|
|
59
|
+
return show;
|
|
60
|
+
}
|
|
61
|
+
function _temp() {
|
|
62
|
+
maybeRefreshOverageCreditCache();
|
|
63
|
+
return shouldShowOverageCreditUpsell();
|
|
64
|
+
}
|
|
65
|
+
function incrementOverageCreditUpsellSeenCount() {
|
|
66
|
+
let newCount = 0;
|
|
67
|
+
saveGlobalConfig((prev) => {
|
|
68
|
+
newCount = (prev.overageCreditUpsellSeenCount ?? 0) + 1;
|
|
69
|
+
return {
|
|
70
|
+
...prev,
|
|
71
|
+
overageCreditUpsellSeenCount: newCount
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
logEvent("tengu_overage_credit_upsell_shown", {
|
|
75
|
+
seen_count: newCount
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function getUsageText(amount) {
|
|
79
|
+
return `${amount} in extra usage for third-party apps \xB7 /extra-usage`;
|
|
80
|
+
}
|
|
81
|
+
function getFeedTitle(amount) {
|
|
82
|
+
return `${amount} in extra usage`;
|
|
83
|
+
}
|
|
84
|
+
function OverageCreditUpsell(t0) {
|
|
85
|
+
const $ = import_compiler_runtime.c(8);
|
|
86
|
+
const {
|
|
87
|
+
maxWidth,
|
|
88
|
+
twoLine
|
|
89
|
+
} = t0;
|
|
90
|
+
let t1;
|
|
91
|
+
let t2;
|
|
92
|
+
if ($[0] !== maxWidth || $[1] !== twoLine) {
|
|
93
|
+
t2 = Symbol.for("react.early_return_sentinel");
|
|
94
|
+
bb0: {
|
|
95
|
+
const info = getCachedOverageCreditGrant();
|
|
96
|
+
if (!info) {
|
|
97
|
+
t2 = null;
|
|
98
|
+
break bb0;
|
|
99
|
+
}
|
|
100
|
+
const amount = formatGrantAmount(info);
|
|
101
|
+
if (!amount) {
|
|
102
|
+
t2 = null;
|
|
103
|
+
break bb0;
|
|
104
|
+
}
|
|
105
|
+
if (twoLine) {
|
|
106
|
+
const title = getFeedTitle(amount);
|
|
107
|
+
let t3;
|
|
108
|
+
if ($[4] !== maxWidth) {
|
|
109
|
+
t3 = maxWidth ? truncate(FEED_SUBTITLE, maxWidth) : FEED_SUBTITLE;
|
|
110
|
+
$[4] = maxWidth;
|
|
111
|
+
$[5] = t3;
|
|
112
|
+
} else {
|
|
113
|
+
t3 = $[5];
|
|
114
|
+
}
|
|
115
|
+
let t4;
|
|
116
|
+
if ($[6] !== t3) {
|
|
117
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
118
|
+
dimColor: true,
|
|
119
|
+
children: t3
|
|
120
|
+
}, undefined, false, undefined, this);
|
|
121
|
+
$[6] = t3;
|
|
122
|
+
$[7] = t4;
|
|
123
|
+
} else {
|
|
124
|
+
t4 = $[7];
|
|
125
|
+
}
|
|
126
|
+
t2 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(jsx_dev_runtime.Fragment, {
|
|
127
|
+
children: [
|
|
128
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
129
|
+
color: "claude",
|
|
130
|
+
children: maxWidth ? truncate(title, maxWidth) : title
|
|
131
|
+
}, undefined, false, undefined, this),
|
|
132
|
+
t4
|
|
133
|
+
]
|
|
134
|
+
}, undefined, true, undefined, this);
|
|
135
|
+
break bb0;
|
|
136
|
+
}
|
|
137
|
+
const text = getUsageText(amount);
|
|
138
|
+
const display = maxWidth ? truncate(text, maxWidth) : text;
|
|
139
|
+
const highlightLen = Math.min(getFeedTitle(amount).length, display.length);
|
|
140
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
141
|
+
dimColor: true,
|
|
142
|
+
children: [
|
|
143
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
144
|
+
color: "claude",
|
|
145
|
+
children: display.slice(0, highlightLen)
|
|
146
|
+
}, undefined, false, undefined, this),
|
|
147
|
+
display.slice(highlightLen)
|
|
148
|
+
]
|
|
149
|
+
}, undefined, true, undefined, this);
|
|
150
|
+
}
|
|
151
|
+
$[0] = maxWidth;
|
|
152
|
+
$[1] = twoLine;
|
|
153
|
+
$[2] = t1;
|
|
154
|
+
$[3] = t2;
|
|
155
|
+
} else {
|
|
156
|
+
t1 = $[2];
|
|
157
|
+
t2 = $[3];
|
|
158
|
+
}
|
|
159
|
+
if (t2 !== Symbol.for("react.early_return_sentinel")) {
|
|
160
|
+
return t2;
|
|
161
|
+
}
|
|
162
|
+
return t1;
|
|
163
|
+
}
|
|
164
|
+
function createOverageCreditFeed() {
|
|
165
|
+
const info = getCachedOverageCreditGrant();
|
|
166
|
+
const amount = info ? formatGrantAmount(info) : null;
|
|
167
|
+
const title = amount ? getFeedTitle(amount) : "extra usage credit";
|
|
168
|
+
return {
|
|
169
|
+
title,
|
|
170
|
+
lines: [],
|
|
171
|
+
customContent: {
|
|
172
|
+
content: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
173
|
+
dimColor: true,
|
|
174
|
+
children: FEED_SUBTITLE
|
|
175
|
+
}, undefined, false, undefined, this),
|
|
176
|
+
width: Math.max(title.length, FEED_SUBTITLE.length)
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
var import_compiler_runtime, import_react, jsx_dev_runtime, MAX_IMPRESSIONS = 3, FEED_SUBTITLE = "On us. Works on third-party apps \xB7 /extra-usage";
|
|
181
|
+
var init_OverageCreditUpsell = __esm(() => {
|
|
182
|
+
init_ink();
|
|
183
|
+
init_analytics();
|
|
184
|
+
init_overageCreditGrant();
|
|
185
|
+
init_config();
|
|
186
|
+
init_format();
|
|
187
|
+
import_compiler_runtime = __toESM(require_compiler_runtime(), 1);
|
|
188
|
+
import_react = __toESM(require_react(), 1);
|
|
189
|
+
jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
export { isEligibleForOverageCreditGrant, shouldShowOverageCreditUpsell, useShowOverageCreditUpsell, incrementOverageCreditUpsellSeenCount, OverageCreditUpsell, createOverageCreditFeed, init_OverageCreditUpsell };
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
init_setup,
|
|
4
|
+
isChromeExtensionInstalled
|
|
5
|
+
} from "./chunk-hvmfg2dc.js";
|
|
6
|
+
import"./chunk-gyj242zr.js";
|
|
7
|
+
import {
|
|
8
|
+
Dialog,
|
|
9
|
+
init_Dialog
|
|
10
|
+
} from "./chunk-89e1v45e.js";
|
|
11
|
+
import"./chunk-45kxdsp8.js";
|
|
12
|
+
import"./chunk-0rg6yrhy.js";
|
|
13
|
+
import"./chunk-1qakq4sn.js";
|
|
14
|
+
import {
|
|
15
|
+
Link,
|
|
16
|
+
Newline,
|
|
17
|
+
ThemedBox_default,
|
|
18
|
+
ThemedText,
|
|
19
|
+
init_ink,
|
|
20
|
+
require_compiler_runtime,
|
|
21
|
+
use_input_default
|
|
22
|
+
} from "./chunk-s9mesaw0.js";
|
|
23
|
+
import"./chunk-7m2nd8da.js";
|
|
24
|
+
import"./chunk-ps49ymvj.js";
|
|
25
|
+
import {
|
|
26
|
+
require_jsx_dev_runtime,
|
|
27
|
+
require_react
|
|
28
|
+
} from "./chunk-g338npwr.js";
|
|
29
|
+
import {
|
|
30
|
+
init_config1 as init_config,
|
|
31
|
+
saveGlobalConfig
|
|
32
|
+
} from "./chunk-3f7rypmf.js";
|
|
33
|
+
import"./chunk-e3g8q4cn.js";
|
|
34
|
+
import"./chunk-ctw5jwcd.js";
|
|
35
|
+
import"./chunk-0e1xsncc.js";
|
|
36
|
+
import"./chunk-vratq94g.js";
|
|
37
|
+
import"./chunk-g0j0t6qk.js";
|
|
38
|
+
import"./chunk-6kpbgc5w.js";
|
|
39
|
+
import"./chunk-3c25bcsw.js";
|
|
40
|
+
import"./chunk-tjaqa99q.js";
|
|
41
|
+
import"./chunk-55wgxwa9.js";
|
|
42
|
+
import"./chunk-w2z5pqd3.js";
|
|
43
|
+
import"./chunk-7ymfj7m3.js";
|
|
44
|
+
import"./chunk-f5ma3nh5.js";
|
|
45
|
+
import"./chunk-v1kzp02e.js";
|
|
46
|
+
import"./chunk-1eapde8a.js";
|
|
47
|
+
import"./chunk-p2816w9z.js";
|
|
48
|
+
import"./chunk-0vkfrmqm.js";
|
|
49
|
+
import"./chunk-0xjaqda8.js";
|
|
50
|
+
import"./chunk-1rvz0433.js";
|
|
51
|
+
import"./chunk-cdz5yb0r.js";
|
|
52
|
+
import {
|
|
53
|
+
init_analytics,
|
|
54
|
+
logEvent
|
|
55
|
+
} from "./chunk-f2mhrmww.js";
|
|
56
|
+
import"./chunk-hrzerbfw.js";
|
|
57
|
+
import"./chunk-d18z9pna.js";
|
|
58
|
+
import"./chunk-qnfx3qtx.js";
|
|
59
|
+
import"./chunk-hjhc4cpt.js";
|
|
60
|
+
import"./chunk-vyc0rjyx.js";
|
|
61
|
+
import"./chunk-hx2tr4ep.js";
|
|
62
|
+
import"./chunk-p7g7pf3f.js";
|
|
63
|
+
import"./chunk-8tnsngw2.js";
|
|
64
|
+
import"./chunk-8bedvdm1.js";
|
|
65
|
+
import"./chunk-7wm5s02e.js";
|
|
66
|
+
import"./chunk-nxsh6de2.js";
|
|
67
|
+
import"./chunk-fbv4apne.js";
|
|
68
|
+
import"./chunk-3r24h7t6.js";
|
|
69
|
+
import"./chunk-qqfa0dqg.js";
|
|
70
|
+
import"./chunk-hqmz36b3.js";
|
|
71
|
+
import"./chunk-4g3v8y12.js";
|
|
72
|
+
import"./chunk-7739pg2c.js";
|
|
73
|
+
import"./chunk-xszk7n10.js";
|
|
74
|
+
import"./chunk-sdj9b9wh.js";
|
|
75
|
+
import {
|
|
76
|
+
__toESM
|
|
77
|
+
} from "./chunk-qp2qdcda.js";
|
|
78
|
+
|
|
79
|
+
// src/components/ClaudeInChromeOnboarding.tsx
|
|
80
|
+
init_analytics();
|
|
81
|
+
init_ink();
|
|
82
|
+
init_setup();
|
|
83
|
+
init_config();
|
|
84
|
+
init_Dialog();
|
|
85
|
+
var import_compiler_runtime = __toESM(require_compiler_runtime(), 1);
|
|
86
|
+
var import_react = __toESM(require_react(), 1);
|
|
87
|
+
var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
88
|
+
var CHROME_EXTENSION_URL = "https://claude.ai/chrome";
|
|
89
|
+
var CHROME_PERMISSIONS_URL = "https://clau.de/chrome/permissions";
|
|
90
|
+
function ClaudeInChromeOnboarding(t0) {
|
|
91
|
+
const $ = import_compiler_runtime.c(20);
|
|
92
|
+
const {
|
|
93
|
+
onDone
|
|
94
|
+
} = t0;
|
|
95
|
+
const [isExtensionInstalled, setIsExtensionInstalled] = import_react.default.useState(false);
|
|
96
|
+
let t1;
|
|
97
|
+
let t2;
|
|
98
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
99
|
+
t1 = () => {
|
|
100
|
+
logEvent("tengu_claude_in_chrome_onboarding_shown", {});
|
|
101
|
+
isChromeExtensionInstalled().then(setIsExtensionInstalled);
|
|
102
|
+
saveGlobalConfig(_temp);
|
|
103
|
+
};
|
|
104
|
+
t2 = [];
|
|
105
|
+
$[0] = t1;
|
|
106
|
+
$[1] = t2;
|
|
107
|
+
} else {
|
|
108
|
+
t1 = $[0];
|
|
109
|
+
t2 = $[1];
|
|
110
|
+
}
|
|
111
|
+
import_react.default.useEffect(t1, t2);
|
|
112
|
+
let t3;
|
|
113
|
+
if ($[2] !== onDone) {
|
|
114
|
+
t3 = (_input, key) => {
|
|
115
|
+
if (key.return) {
|
|
116
|
+
onDone();
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
$[2] = onDone;
|
|
120
|
+
$[3] = t3;
|
|
121
|
+
} else {
|
|
122
|
+
t3 = $[3];
|
|
123
|
+
}
|
|
124
|
+
use_input_default(t3);
|
|
125
|
+
let t4;
|
|
126
|
+
if ($[4] !== isExtensionInstalled) {
|
|
127
|
+
t4 = !isExtensionInstalled && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(jsx_dev_runtime.Fragment, {
|
|
128
|
+
children: [
|
|
129
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
130
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
131
|
+
"Requires the Chrome extension. Get started at",
|
|
132
|
+
" ",
|
|
133
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Link, {
|
|
134
|
+
url: CHROME_EXTENSION_URL
|
|
135
|
+
}, undefined, false, undefined, this)
|
|
136
|
+
]
|
|
137
|
+
}, undefined, true, undefined, this);
|
|
138
|
+
$[4] = isExtensionInstalled;
|
|
139
|
+
$[5] = t4;
|
|
140
|
+
} else {
|
|
141
|
+
t4 = $[5];
|
|
142
|
+
}
|
|
143
|
+
let t5;
|
|
144
|
+
if ($[6] !== t4) {
|
|
145
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
146
|
+
children: [
|
|
147
|
+
"Claude in Chrome works with the Chrome extension to let you control your browser directly from Claude Code. You can navigate websites, fill forms, capture screenshots, record GIFs, and debug with console logs and network requests.",
|
|
148
|
+
t4
|
|
149
|
+
]
|
|
150
|
+
}, undefined, true, undefined, this);
|
|
151
|
+
$[6] = t4;
|
|
152
|
+
$[7] = t5;
|
|
153
|
+
} else {
|
|
154
|
+
t5 = $[7];
|
|
155
|
+
}
|
|
156
|
+
let t6;
|
|
157
|
+
if ($[8] !== isExtensionInstalled) {
|
|
158
|
+
t6 = isExtensionInstalled && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(jsx_dev_runtime.Fragment, {
|
|
159
|
+
children: [
|
|
160
|
+
" ",
|
|
161
|
+
"(",
|
|
162
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Link, {
|
|
163
|
+
url: CHROME_PERMISSIONS_URL
|
|
164
|
+
}, undefined, false, undefined, this),
|
|
165
|
+
")"
|
|
166
|
+
]
|
|
167
|
+
}, undefined, true, undefined, this);
|
|
168
|
+
$[8] = isExtensionInstalled;
|
|
169
|
+
$[9] = t6;
|
|
170
|
+
} else {
|
|
171
|
+
t6 = $[9];
|
|
172
|
+
}
|
|
173
|
+
let t7;
|
|
174
|
+
if ($[10] !== t6) {
|
|
175
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
176
|
+
dimColor: true,
|
|
177
|
+
children: [
|
|
178
|
+
"Site-level permissions are inherited from the Chrome extension. Manage permissions in the Chrome extension settings to control which sites Claude can browse, click, and type on",
|
|
179
|
+
t6,
|
|
180
|
+
"."
|
|
181
|
+
]
|
|
182
|
+
}, undefined, true, undefined, this);
|
|
183
|
+
$[10] = t6;
|
|
184
|
+
$[11] = t7;
|
|
185
|
+
} else {
|
|
186
|
+
t7 = $[11];
|
|
187
|
+
}
|
|
188
|
+
let t8;
|
|
189
|
+
if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
190
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
191
|
+
bold: true,
|
|
192
|
+
color: "chromeYellow",
|
|
193
|
+
children: "/chrome"
|
|
194
|
+
}, undefined, false, undefined, this);
|
|
195
|
+
$[12] = t8;
|
|
196
|
+
} else {
|
|
197
|
+
t8 = $[12];
|
|
198
|
+
}
|
|
199
|
+
let t9;
|
|
200
|
+
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
201
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
202
|
+
dimColor: true,
|
|
203
|
+
children: [
|
|
204
|
+
"For more info, use",
|
|
205
|
+
" ",
|
|
206
|
+
t8,
|
|
207
|
+
" ",
|
|
208
|
+
"or visit ",
|
|
209
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Link, {
|
|
210
|
+
url: "https://code.claude.com/docs/en/chrome"
|
|
211
|
+
}, undefined, false, undefined, this)
|
|
212
|
+
]
|
|
213
|
+
}, undefined, true, undefined, this);
|
|
214
|
+
$[13] = t9;
|
|
215
|
+
} else {
|
|
216
|
+
t9 = $[13];
|
|
217
|
+
}
|
|
218
|
+
let t10;
|
|
219
|
+
if ($[14] !== t5 || $[15] !== t7) {
|
|
220
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
221
|
+
flexDirection: "column",
|
|
222
|
+
gap: 1,
|
|
223
|
+
children: [
|
|
224
|
+
t5,
|
|
225
|
+
t7,
|
|
226
|
+
t9
|
|
227
|
+
]
|
|
228
|
+
}, undefined, true, undefined, this);
|
|
229
|
+
$[14] = t5;
|
|
230
|
+
$[15] = t7;
|
|
231
|
+
$[16] = t10;
|
|
232
|
+
} else {
|
|
233
|
+
t10 = $[16];
|
|
234
|
+
}
|
|
235
|
+
let t11;
|
|
236
|
+
if ($[17] !== onDone || $[18] !== t10) {
|
|
237
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(Dialog, {
|
|
238
|
+
title: "Claude in Chrome (Beta)",
|
|
239
|
+
onCancel: onDone,
|
|
240
|
+
color: "chromeYellow",
|
|
241
|
+
children: t10
|
|
242
|
+
}, undefined, false, undefined, this);
|
|
243
|
+
$[17] = onDone;
|
|
244
|
+
$[18] = t10;
|
|
245
|
+
$[19] = t11;
|
|
246
|
+
} else {
|
|
247
|
+
t11 = $[19];
|
|
248
|
+
}
|
|
249
|
+
return t11;
|
|
250
|
+
}
|
|
251
|
+
function _temp(current) {
|
|
252
|
+
return {
|
|
253
|
+
...current,
|
|
254
|
+
hasCompletedClaudeInChromeOnboarding: true
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
export {
|
|
258
|
+
ClaudeInChromeOnboarding
|
|
259
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
consumeEarlyInput,
|
|
4
|
+
hasEarlyInput,
|
|
5
|
+
init_earlyInput,
|
|
6
|
+
isCapturingEarlyInput,
|
|
7
|
+
seedEarlyInput,
|
|
8
|
+
startCapturingEarlyInput,
|
|
9
|
+
stopCapturingEarlyInput
|
|
10
|
+
} from "./chunk-7m2nd8da.js";
|
|
11
|
+
import"./chunk-cdz5yb0r.js";
|
|
12
|
+
import"./chunk-qp2qdcda.js";
|
|
13
|
+
init_earlyInput();
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
stopCapturingEarlyInput,
|
|
17
|
+
startCapturingEarlyInput,
|
|
18
|
+
seedEarlyInput,
|
|
19
|
+
isCapturingEarlyInput,
|
|
20
|
+
hasEarlyInput,
|
|
21
|
+
consumeEarlyInput
|
|
22
|
+
};
|