gemi 0.4.119 → 0.4.121
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/dist/app/index.js +2 -2
- package/dist/app/index.js.map +2 -2
- package/dist/broadcasting/index.js +1 -1
- package/dist/chunk-001ftwam.js +4 -0
- package/dist/chunk-001ftwam.js.map +10 -0
- package/dist/chunk-01td3x3h.js +4 -0
- package/dist/chunk-01td3x3h.js.map +10 -0
- package/dist/chunk-029k2gah.js +4 -0
- package/dist/chunk-029k2gah.js.map +10 -0
- package/dist/chunk-0662pv0m.js +4 -0
- package/dist/{chunk-a67a5vtk.js.map → chunk-0662pv0m.js.map} +2 -2
- package/dist/chunk-0cax9v4f.js +4 -0
- package/dist/chunk-0cax9v4f.js.map +10 -0
- package/dist/chunk-0d9amhty.js +4 -0
- package/dist/chunk-0d9amhty.js.map +10 -0
- package/dist/chunk-0e502hy4.js +4 -0
- package/dist/chunk-0e502hy4.js.map +10 -0
- package/dist/chunk-0gqrxkhr.js +4 -0
- package/dist/chunk-0gqrxkhr.js.map +10 -0
- package/dist/chunk-0kk73bxd.js +4 -0
- package/dist/chunk-0kk73bxd.js.map +10 -0
- package/dist/{chunk-x8wrqc4y.js → chunk-0nvzdwwv.js} +2 -2
- package/dist/{chunk-x8wrqc4y.js.map → chunk-0nvzdwwv.js.map} +1 -1
- package/dist/chunk-0t4b19w0.js +5 -0
- package/dist/chunk-0t4b19w0.js.map +10 -0
- package/dist/chunk-0xq80cr7.js +4 -0
- package/dist/chunk-0xq80cr7.js.map +10 -0
- package/dist/chunk-0zp3sbms.js +4 -0
- package/dist/chunk-0zp3sbms.js.map +10 -0
- package/dist/chunk-10897e1t.js +5 -0
- package/dist/chunk-10897e1t.js.map +10 -0
- package/dist/chunk-147gjb8j.js +4 -0
- package/dist/chunk-147gjb8j.js.map +10 -0
- package/dist/chunk-165evrks.js +4 -0
- package/dist/chunk-165evrks.js.map +10 -0
- package/dist/chunk-16pqbv30.js +4 -0
- package/dist/chunk-16pqbv30.js.map +10 -0
- package/dist/chunk-18akssnh.js +4 -0
- package/dist/chunk-18akssnh.js.map +10 -0
- package/dist/chunk-1d07epxn.js +4 -0
- package/dist/chunk-1d07epxn.js.map +10 -0
- package/dist/chunk-1d3brmyr.js +4 -0
- package/dist/{chunk-ef6dgp5k.js.map → chunk-1d3brmyr.js.map} +6 -6
- package/dist/chunk-1fenkptw.js +4 -0
- package/dist/chunk-1fenkptw.js.map +10 -0
- package/dist/chunk-1fpyfztm.js +4 -0
- package/dist/chunk-1fpyfztm.js.map +10 -0
- package/dist/chunk-1jr2awdv.js +4 -0
- package/dist/chunk-1jr2awdv.js.map +10 -0
- package/dist/chunk-1pjd7z7e.js +5 -0
- package/dist/chunk-1pjd7z7e.js.map +11 -0
- package/dist/chunk-1vxhaep8.js +4 -0
- package/dist/chunk-1vxhaep8.js.map +10 -0
- package/dist/chunk-1zje855e.js +4 -0
- package/dist/chunk-1zje855e.js.map +10 -0
- package/dist/chunk-2a6xtt8w.js +4 -0
- package/dist/chunk-2a6xtt8w.js.map +10 -0
- package/dist/chunk-2nbxbgja.js +4 -0
- package/dist/chunk-2nbxbgja.js.map +10 -0
- package/dist/chunk-2qek6vwk.js +5 -0
- package/dist/chunk-2qek6vwk.js.map +10 -0
- package/dist/chunk-2qs5hcvw.js +4 -0
- package/dist/chunk-2qs5hcvw.js.map +15 -0
- package/dist/chunk-2rpt28ng.js +4 -0
- package/dist/chunk-2rpt28ng.js.map +10 -0
- package/dist/chunk-2zbw9b4r.js +4 -0
- package/dist/chunk-2zbw9b4r.js.map +10 -0
- package/dist/chunk-3evg8b1k.js +4 -0
- package/dist/chunk-3evg8b1k.js.map +10 -0
- package/dist/chunk-3vasf2wf.js +4 -0
- package/dist/chunk-3vasf2wf.js.map +10 -0
- package/dist/chunk-3zmgkx0w.js +4 -0
- package/dist/chunk-3zmgkx0w.js.map +10 -0
- package/dist/chunk-44g267q3.js +77 -0
- package/dist/chunk-44g267q3.js.map +22 -0
- package/dist/chunk-4b5zjps1.js +4 -0
- package/dist/chunk-4b5zjps1.js.map +10 -0
- package/dist/chunk-4f60mvxv.js +4 -0
- package/dist/chunk-4f60mvxv.js.map +10 -0
- package/dist/chunk-4gam76xs.js +4 -0
- package/dist/chunk-4gam76xs.js.map +10 -0
- package/dist/chunk-4jzv24rt.js +4 -0
- package/dist/chunk-4jzv24rt.js.map +10 -0
- package/dist/chunk-4np6kjty.js +4 -0
- package/dist/chunk-4np6kjty.js.map +10 -0
- package/dist/chunk-4psr7qf1.js +4 -0
- package/dist/chunk-4psr7qf1.js.map +10 -0
- package/dist/chunk-4s350vgd.js +4 -0
- package/dist/chunk-4s350vgd.js.map +10 -0
- package/dist/chunk-4txy30je.js +4 -0
- package/dist/chunk-4txy30je.js.map +10 -0
- package/dist/chunk-4zq5qst4.js +4 -0
- package/dist/chunk-4zq5qst4.js.map +10 -0
- package/dist/chunk-54a103ah.js +4 -0
- package/dist/chunk-54a103ah.js.map +10 -0
- package/dist/chunk-58jyqcxt.js +4 -0
- package/dist/chunk-58jyqcxt.js.map +10 -0
- package/dist/chunk-59a4qnm6.js +4 -0
- package/dist/chunk-59a4qnm6.js.map +10 -0
- package/dist/chunk-5crks4mc.js +4 -0
- package/dist/chunk-5crks4mc.js.map +10 -0
- package/dist/chunk-5fs16qc2.js +4 -0
- package/dist/chunk-5fs16qc2.js.map +10 -0
- package/dist/chunk-5nb5v649.js +4 -0
- package/dist/chunk-5nb5v649.js.map +10 -0
- package/dist/chunk-5psj5g03.js +4 -0
- package/dist/chunk-5psj5g03.js.map +10 -0
- package/dist/chunk-5qa0wvgg.js +4 -0
- package/dist/chunk-5qa0wvgg.js.map +10 -0
- package/dist/chunk-5t6fd3qq.js +4 -0
- package/dist/chunk-5t6fd3qq.js.map +12 -0
- package/dist/chunk-5whsf328.js +4 -0
- package/dist/chunk-5whsf328.js.map +10 -0
- package/dist/chunk-612vvdg0.js +5 -0
- package/dist/chunk-612vvdg0.js.map +10 -0
- package/dist/chunk-61fr8e09.js +5 -0
- package/dist/chunk-61fr8e09.js.map +10 -0
- package/dist/chunk-629qemrx.js +4 -0
- package/dist/chunk-629qemrx.js.map +10 -0
- package/dist/chunk-65kp9t0w.js +4 -0
- package/dist/chunk-65kp9t0w.js.map +10 -0
- package/dist/chunk-66f14pqy.js +4 -0
- package/dist/chunk-66f14pqy.js.map +10 -0
- package/dist/chunk-69bs53j4.js +4 -0
- package/dist/chunk-69bs53j4.js.map +10 -0
- package/dist/chunk-6a16vs8y.js +4 -0
- package/dist/chunk-6a16vs8y.js.map +10 -0
- package/dist/chunk-6ant7bcg.js +5 -0
- package/dist/chunk-6ant7bcg.js.map +10 -0
- package/dist/chunk-6fvkzn8b.js +4 -0
- package/dist/chunk-6fvkzn8b.js.map +10 -0
- package/dist/chunk-6fvtad65.js +4 -0
- package/dist/chunk-6fvtad65.js.map +10 -0
- package/dist/chunk-6m11rfdt.js +4 -0
- package/dist/chunk-6m11rfdt.js.map +10 -0
- package/dist/chunk-6p5ty79g.js +4 -0
- package/dist/chunk-6p5ty79g.js.map +10 -0
- package/dist/chunk-6vzzwyt5.js +4 -0
- package/dist/chunk-6vzzwyt5.js.map +10 -0
- package/dist/chunk-6zfyy2sq.js +5 -0
- package/dist/chunk-6zfyy2sq.js.map +10 -0
- package/dist/chunk-73mtep9k.js +5 -0
- package/dist/chunk-73mtep9k.js.map +10 -0
- package/dist/chunk-76cxqdm5.js +4 -0
- package/dist/chunk-76cxqdm5.js.map +10 -0
- package/dist/chunk-76q7gcr7.js +4 -0
- package/dist/chunk-76q7gcr7.js.map +10 -0
- package/dist/chunk-77hx7jrk.js +4 -0
- package/dist/chunk-77hx7jrk.js.map +10 -0
- package/dist/chunk-7e7xv67y.js +4 -0
- package/dist/chunk-7e7xv67y.js.map +10 -0
- package/dist/chunk-7sj61wa1.js +4 -0
- package/dist/chunk-7sj61wa1.js.map +10 -0
- package/dist/chunk-7w7gd3mf.js +4 -0
- package/dist/chunk-7w7gd3mf.js.map +10 -0
- package/dist/chunk-7y71tyb6.js +4 -0
- package/dist/chunk-7y71tyb6.js.map +10 -0
- package/dist/chunk-7yw671gx.js +5 -0
- package/dist/chunk-7yw671gx.js.map +10 -0
- package/dist/chunk-81zgg7ah.js +4 -0
- package/dist/chunk-81zgg7ah.js.map +10 -0
- package/dist/chunk-82sj7aem.js +5 -0
- package/dist/chunk-82sj7aem.js.map +10 -0
- package/dist/chunk-83ngngpn.js +4 -0
- package/dist/chunk-83ngngpn.js.map +10 -0
- package/dist/chunk-88h3dfxg.js +4 -0
- package/dist/chunk-88h3dfxg.js.map +10 -0
- package/dist/chunk-88pbkfa6.js +4 -0
- package/dist/chunk-88pbkfa6.js.map +10 -0
- package/dist/chunk-8dj48k3f.js +4 -0
- package/dist/chunk-8dj48k3f.js.map +10 -0
- package/dist/chunk-8mmnj32j.js +4 -0
- package/dist/chunk-8mmnj32j.js.map +10 -0
- package/dist/chunk-8qf94hzv.js +4 -0
- package/dist/chunk-8qf94hzv.js.map +10 -0
- package/dist/chunk-8w9c6mxe.js +3 -0
- package/dist/chunk-8w9c6mxe.js.map +17 -0
- package/dist/chunk-93mkmwaj.js +4 -0
- package/dist/chunk-93mkmwaj.js.map +10 -0
- package/dist/chunk-96m5669w.js +4 -0
- package/dist/chunk-96m5669w.js.map +10 -0
- package/dist/chunk-9717ybek.js +4 -0
- package/dist/chunk-9717ybek.js.map +10 -0
- package/dist/chunk-997k48kg.js +4 -0
- package/dist/chunk-997k48kg.js.map +10 -0
- package/dist/chunk-9abm0pr9.js +4 -0
- package/dist/chunk-9abm0pr9.js.map +10 -0
- package/dist/chunk-9dz8xyy1.js +3 -0
- package/dist/{chunk-p9gc7ke6.js.map → chunk-9dz8xyy1.js.map} +4 -4
- package/dist/chunk-9f1r7zrg.js +4 -0
- package/dist/chunk-9f1r7zrg.js.map +10 -0
- package/dist/chunk-9fj0c4p1.js +4 -0
- package/dist/chunk-9fj0c4p1.js.map +10 -0
- package/dist/chunk-9mv0k6t0.js +4 -0
- package/dist/chunk-9mv0k6t0.js.map +11 -0
- package/dist/chunk-9q75e96q.js +4 -0
- package/dist/chunk-9q75e96q.js.map +10 -0
- package/dist/chunk-9s0w0gjc.js +4 -0
- package/dist/chunk-9s0w0gjc.js.map +10 -0
- package/dist/chunk-9seafyf3.js +4 -0
- package/dist/chunk-9seafyf3.js.map +10 -0
- package/dist/chunk-9tpfth1g.js +5 -0
- package/dist/chunk-9tpfth1g.js.map +10 -0
- package/dist/chunk-9vm0ck1e.js +4 -0
- package/dist/{chunk-kmfnx43s.js.map → chunk-9vm0ck1e.js.map} +2 -2
- package/dist/chunk-aanamgj7.js +4 -0
- package/dist/chunk-aanamgj7.js.map +10 -0
- package/dist/chunk-acfp8fm2.js +5 -0
- package/dist/chunk-acfp8fm2.js.map +10 -0
- package/dist/chunk-agf0k1k9.js +4 -0
- package/dist/chunk-agf0k1k9.js.map +10 -0
- package/dist/chunk-ajft9tzm.js +5 -0
- package/dist/chunk-ajft9tzm.js.map +10 -0
- package/dist/chunk-apgh9fht.js +4 -0
- package/dist/chunk-apgh9fht.js.map +10 -0
- package/dist/chunk-aq7h2jz2.js +4 -0
- package/dist/chunk-aq7h2jz2.js.map +10 -0
- package/dist/chunk-atx3b9qj.js +4 -0
- package/dist/chunk-atx3b9qj.js.map +10 -0
- package/dist/chunk-axa5gvjg.js +4 -0
- package/dist/chunk-axa5gvjg.js.map +10 -0
- package/dist/chunk-b44x5gst.js +4 -0
- package/dist/chunk-b44x5gst.js.map +10 -0
- package/dist/chunk-b7ap0z6v.js +4 -0
- package/dist/chunk-b7ap0z6v.js.map +10 -0
- package/dist/{chunk-35bsy26w.js → chunk-bajafpzj.js} +2 -2
- package/dist/{chunk-35bsy26w.js.map → chunk-bajafpzj.js.map} +1 -1
- package/dist/chunk-baxfcaes.js +5 -0
- package/dist/chunk-baxfcaes.js.map +10 -0
- package/dist/chunk-bbrwkw5y.js +4 -0
- package/dist/chunk-bbrwkw5y.js.map +13 -0
- package/dist/chunk-befwbt0h.js +5 -0
- package/dist/chunk-befwbt0h.js.map +14 -0
- package/dist/chunk-bej163fy.js +4 -0
- package/dist/chunk-bej163fy.js.map +10 -0
- package/dist/chunk-bfrzstr0.js +4 -0
- package/dist/chunk-bfrzstr0.js.map +10 -0
- package/dist/chunk-bgf2a50m.js +4 -0
- package/dist/chunk-bgf2a50m.js.map +10 -0
- package/dist/chunk-bk649aen.js +4 -0
- package/dist/chunk-bk649aen.js.map +10 -0
- package/dist/chunk-brsavvrn.js +4 -0
- package/dist/chunk-brsavvrn.js.map +10 -0
- package/dist/chunk-bwgwxgw8.js +4 -0
- package/dist/chunk-bwgwxgw8.js.map +10 -0
- package/dist/chunk-c7qx33ys.js +4 -0
- package/dist/chunk-c7qx33ys.js.map +10 -0
- package/dist/chunk-cb616xw5.js +4 -0
- package/dist/{chunk-ktwy9nyn.js.map → chunk-cb616xw5.js.map} +1 -1
- package/dist/chunk-ce7rcdsg.js +4 -0
- package/dist/chunk-ce7rcdsg.js.map +10 -0
- package/dist/chunk-ce89kst6.js +4 -0
- package/dist/chunk-ce89kst6.js.map +10 -0
- package/dist/chunk-cefrz6wd.js +4 -0
- package/dist/chunk-cefrz6wd.js.map +10 -0
- package/dist/chunk-cgfc4w0w.js +4 -0
- package/dist/chunk-cgfc4w0w.js.map +10 -0
- package/dist/chunk-chabgvmr.js +4 -0
- package/dist/chunk-chabgvmr.js.map +10 -0
- package/dist/chunk-cjsmqv12.js +4 -0
- package/dist/chunk-cjsmqv12.js.map +10 -0
- package/dist/chunk-d12swf8t.js +4 -0
- package/dist/chunk-d12swf8t.js.map +10 -0
- package/dist/chunk-d1vf91bx.js +5 -0
- package/dist/chunk-d1vf91bx.js.map +10 -0
- package/dist/chunk-d3vvh6x2.js +4 -0
- package/dist/chunk-d3vvh6x2.js.map +13 -0
- package/dist/chunk-d7zvjgvr.js +4 -0
- package/dist/{chunk-1gjhrqfe.js.map → chunk-d7zvjgvr.js.map} +5 -5
- package/dist/chunk-d87mx4t6.js +4 -0
- package/dist/chunk-d87mx4t6.js.map +13 -0
- package/dist/chunk-d8nm5ddh.js +7 -0
- package/dist/chunk-d8nm5ddh.js.map +65 -0
- package/dist/chunk-dgpcg2dh.js +5 -0
- package/dist/chunk-dgpcg2dh.js.map +10 -0
- package/dist/chunk-dhfkqc5x.js +4 -0
- package/dist/chunk-dhfkqc5x.js.map +10 -0
- package/dist/chunk-e5n4eyrc.js +4 -0
- package/dist/chunk-e5n4eyrc.js.map +10 -0
- package/dist/chunk-ec6tgefk.js +5 -0
- package/dist/chunk-ec6tgefk.js.map +10 -0
- package/dist/chunk-eddsdprs.js +5 -0
- package/dist/chunk-eddsdprs.js.map +10 -0
- package/dist/chunk-efkfryw1.js +4 -0
- package/dist/chunk-efkfryw1.js.map +10 -0
- package/dist/chunk-enbw3h06.js +4 -0
- package/dist/chunk-enbw3h06.js.map +10 -0
- package/dist/chunk-eqne9ppg.js +5 -0
- package/dist/chunk-eqne9ppg.js.map +10 -0
- package/dist/chunk-etcm6fh1.js +4 -0
- package/dist/chunk-etcm6fh1.js.map +10 -0
- package/dist/chunk-evmtw59h.js +4 -0
- package/dist/chunk-evmtw59h.js.map +10 -0
- package/dist/chunk-eytgtgtj.js +4 -0
- package/dist/chunk-eytgtgtj.js.map +10 -0
- package/dist/chunk-eza2c3t1.js +4 -0
- package/dist/chunk-eza2c3t1.js.map +10 -0
- package/dist/chunk-f08ksmq5.js +4 -0
- package/dist/chunk-f08ksmq5.js.map +10 -0
- package/dist/chunk-f48vajs9.js +4 -0
- package/dist/chunk-f48vajs9.js.map +10 -0
- package/dist/chunk-f6ypbp8s.js +4 -0
- package/dist/chunk-f6ypbp8s.js.map +10 -0
- package/dist/chunk-f867b961.js +4 -0
- package/dist/chunk-f867b961.js.map +10 -0
- package/dist/chunk-f9q2xx8j.js +4 -0
- package/dist/chunk-f9q2xx8j.js.map +10 -0
- package/dist/chunk-fb3xpd5h.js +4 -0
- package/dist/chunk-fb3xpd5h.js.map +10 -0
- package/dist/chunk-fc95wase.js +4 -0
- package/dist/chunk-fc95wase.js.map +10 -0
- package/dist/chunk-fqqhza9s.js +4 -0
- package/dist/chunk-fqqhza9s.js.map +10 -0
- package/dist/chunk-g28v2sg8.js +4 -0
- package/dist/chunk-g28v2sg8.js.map +10 -0
- package/dist/chunk-g3nnqcbw.js +5 -0
- package/dist/chunk-g3nnqcbw.js.map +10 -0
- package/dist/chunk-g5b9r81v.js +5 -0
- package/dist/chunk-g5b9r81v.js.map +10 -0
- package/dist/chunk-gj0zbz3g.js +4 -0
- package/dist/chunk-gj0zbz3g.js.map +10 -0
- package/dist/chunk-gn1cd35p.js +4 -0
- package/dist/chunk-gn1cd35p.js.map +10 -0
- package/dist/chunk-gprayftg.js +4 -0
- package/dist/chunk-gprayftg.js.map +10 -0
- package/dist/chunk-gr995e76.js +5 -0
- package/dist/chunk-gr995e76.js.map +10 -0
- package/dist/chunk-grva5cgq.js +4 -0
- package/dist/chunk-grva5cgq.js.map +10 -0
- package/dist/chunk-gtvgm63z.js +4 -0
- package/dist/chunk-gtvgm63z.js.map +10 -0
- package/dist/chunk-gwf5xs7m.js +18 -0
- package/dist/{chunk-qf6zg7nd.js.map → chunk-gwf5xs7m.js.map} +15 -34
- package/dist/chunk-gwnr2ycm.js +5 -0
- package/dist/chunk-gwnr2ycm.js.map +10 -0
- package/dist/chunk-gyxgxwcc.js +4 -0
- package/dist/chunk-gyxgxwcc.js.map +10 -0
- package/dist/chunk-h25tw54p.js +4 -0
- package/dist/chunk-h25tw54p.js.map +10 -0
- package/dist/chunk-h3tskj7j.js +4 -0
- package/dist/chunk-h3tskj7j.js.map +10 -0
- package/dist/chunk-hh62xvjr.js +4 -0
- package/dist/chunk-hh62xvjr.js.map +10 -0
- package/dist/chunk-hk1q1ep4.js +4 -0
- package/dist/chunk-hk1q1ep4.js.map +10 -0
- package/dist/chunk-hqhrt4re.js +5 -0
- package/dist/chunk-hqhrt4re.js.map +10 -0
- package/dist/chunk-hvk0d1ww.js +4 -0
- package/dist/chunk-hvk0d1ww.js.map +10 -0
- package/dist/chunk-j19xcy0f.js +4 -0
- package/dist/chunk-j19xcy0f.js.map +10 -0
- package/dist/chunk-j20akbzn.js +4 -0
- package/dist/chunk-j20akbzn.js.map +10 -0
- package/dist/chunk-j4xa9v2b.js +4 -0
- package/dist/chunk-j4xa9v2b.js.map +10 -0
- package/dist/chunk-jaywwzjq.js +4 -0
- package/dist/chunk-jaywwzjq.js.map +10 -0
- package/dist/chunk-jc7ftaka.js +4 -0
- package/dist/{chunk-ckds5kj4.js.map → chunk-jc7ftaka.js.map} +2 -2
- package/dist/chunk-jcs320db.js +4 -0
- package/dist/chunk-jcs320db.js.map +10 -0
- package/dist/chunk-jd1v2z6g.js +4 -0
- package/dist/chunk-jd1v2z6g.js.map +10 -0
- package/dist/chunk-jfrvg24q.js +4 -0
- package/dist/chunk-jfrvg24q.js.map +10 -0
- package/dist/chunk-jhxnydm7.js +5 -0
- package/dist/chunk-jhxnydm7.js.map +10 -0
- package/dist/chunk-jjt3mqyj.js +4 -0
- package/dist/chunk-jjt3mqyj.js.map +10 -0
- package/dist/chunk-jmv6j1ma.js +4 -0
- package/dist/chunk-jmv6j1ma.js.map +10 -0
- package/dist/chunk-jrg0k6fy.js +4 -0
- package/dist/chunk-jrg0k6fy.js.map +10 -0
- package/dist/chunk-k1gr1y2n.js +4 -0
- package/dist/chunk-k1gr1y2n.js.map +10 -0
- package/dist/chunk-k5903r56.js +4 -0
- package/dist/chunk-k5903r56.js.map +10 -0
- package/dist/chunk-k7er8zn9.js +5 -0
- package/dist/chunk-k7er8zn9.js.map +10 -0
- package/dist/chunk-k7seyqnj.js +5 -0
- package/dist/chunk-k7seyqnj.js.map +10 -0
- package/dist/chunk-keqxzdm8.js +4 -0
- package/dist/chunk-keqxzdm8.js.map +10 -0
- package/dist/chunk-kj73phvd.js +4 -0
- package/dist/chunk-kj73phvd.js.map +10 -0
- package/dist/chunk-kttqecab.js +4 -0
- package/dist/chunk-kttqecab.js.map +20 -0
- package/dist/chunk-kv6jab20.js +4 -0
- package/dist/chunk-kv6jab20.js.map +10 -0
- package/dist/chunk-m10rw8zf.js +4 -0
- package/dist/chunk-m10rw8zf.js.map +10 -0
- package/dist/chunk-m3x7ehjz.js +4 -0
- package/dist/chunk-m3x7ehjz.js.map +10 -0
- package/dist/chunk-m4ywwfhj.js +4 -0
- package/dist/chunk-m4ywwfhj.js.map +10 -0
- package/dist/chunk-m9xdm31a.js +5 -0
- package/dist/chunk-m9xdm31a.js.map +10 -0
- package/dist/chunk-mb5me03r.js +4 -0
- package/dist/chunk-mb5me03r.js.map +10 -0
- package/dist/chunk-mbhvesxn.js +4 -0
- package/dist/chunk-mbhvesxn.js.map +10 -0
- package/dist/chunk-md05dm8y.js +4 -0
- package/dist/{chunk-wfc30gdx.js.map → chunk-md05dm8y.js.map} +2 -2
- package/dist/chunk-mdwc3caf.js +4 -0
- package/dist/{chunk-en5bya0k.js.map → chunk-mdwc3caf.js.map} +2 -2
- package/dist/chunk-mq4xa8g0.js +4 -0
- package/dist/chunk-mq4xa8g0.js.map +10 -0
- package/dist/chunk-msarsnba.js +4 -0
- package/dist/chunk-msarsnba.js.map +10 -0
- package/dist/chunk-mtt5kfk0.js +4 -0
- package/dist/chunk-mtt5kfk0.js.map +10 -0
- package/dist/chunk-mtvvnps3.js +4 -0
- package/dist/chunk-mtvvnps3.js.map +10 -0
- package/dist/chunk-mww3xsh5.js +4 -0
- package/dist/chunk-mww3xsh5.js.map +10 -0
- package/dist/chunk-n0yg50tm.js +4 -0
- package/dist/chunk-n0yg50tm.js.map +10 -0
- package/dist/chunk-n15vbtzw.js +4 -0
- package/dist/chunk-n15vbtzw.js.map +10 -0
- package/dist/chunk-n1x0b75g.js +4 -0
- package/dist/chunk-n1x0b75g.js.map +10 -0
- package/dist/chunk-n6eekz6f.js +4 -0
- package/dist/chunk-n6eekz6f.js.map +10 -0
- package/dist/chunk-ng4pttb5.js +4 -0
- package/dist/chunk-ng4pttb5.js.map +10 -0
- package/dist/chunk-ngpkbmcy.js +4 -0
- package/dist/chunk-ngpkbmcy.js.map +10 -0
- package/dist/chunk-np64fgdg.js +4 -0
- package/dist/chunk-np64fgdg.js.map +10 -0
- package/dist/chunk-nshtq1ys.js +4 -0
- package/dist/chunk-nshtq1ys.js.map +10 -0
- package/dist/chunk-p2a7zrdj.js +4 -0
- package/dist/chunk-p2a7zrdj.js.map +10 -0
- package/dist/chunk-p7r1931r.js +4 -0
- package/dist/{chunk-hjr9ztvj.js.map → chunk-p7r1931r.js.map} +2 -2
- package/dist/chunk-pb70nyeg.js +4 -0
- package/dist/chunk-pb70nyeg.js.map +10 -0
- package/dist/chunk-pbgrf052.js +8 -0
- package/dist/chunk-pbgrf052.js.map +53 -0
- package/dist/chunk-pebk5hpa.js +4 -0
- package/dist/chunk-pebk5hpa.js.map +10 -0
- package/dist/chunk-pmtd0cc3.js +4 -0
- package/dist/chunk-pmtd0cc3.js.map +10 -0
- package/dist/chunk-q0fe3c44.js +4 -0
- package/dist/chunk-q0fe3c44.js.map +10 -0
- package/dist/chunk-q2btpck1.js +4 -0
- package/dist/chunk-q2btpck1.js.map +10 -0
- package/dist/chunk-q656e0z8.js +4 -0
- package/dist/chunk-q656e0z8.js.map +10 -0
- package/dist/chunk-q9q0m0fk.js +4 -0
- package/dist/chunk-q9q0m0fk.js.map +10 -0
- package/dist/chunk-qepjnnqp.js +4 -0
- package/dist/chunk-qepjnnqp.js.map +10 -0
- package/dist/chunk-qhxd2v41.js +4 -0
- package/dist/chunk-qhxd2v41.js.map +10 -0
- package/dist/chunk-qjepp6dz.js +4 -0
- package/dist/chunk-qjepp6dz.js.map +10 -0
- package/dist/chunk-r015e873.js +4 -0
- package/dist/chunk-r015e873.js.map +10 -0
- package/dist/chunk-r2wpm2d7.js +4 -0
- package/dist/chunk-r2wpm2d7.js.map +10 -0
- package/dist/chunk-r70xpzx4.js +4 -0
- package/dist/chunk-r70xpzx4.js.map +10 -0
- package/dist/chunk-r7qn7nya.js +4 -0
- package/dist/chunk-r7qn7nya.js.map +10 -0
- package/dist/chunk-r9fb428b.js +4 -0
- package/dist/chunk-r9fb428b.js.map +10 -0
- package/dist/chunk-raq3khzd.js +4 -0
- package/dist/chunk-raq3khzd.js.map +10 -0
- package/dist/chunk-rf60qjxw.js +5 -0
- package/dist/chunk-rf60qjxw.js.map +14 -0
- package/dist/chunk-rjjjt0eg.js +8 -0
- package/dist/{chunk-h1xm4rnm.js.map → chunk-rjjjt0eg.js.map} +2 -2
- package/dist/chunk-rjzrfj86.js +4 -0
- package/dist/chunk-rjzrfj86.js.map +10 -0
- package/dist/chunk-rm3pct07.js +4 -0
- package/dist/chunk-rm3pct07.js.map +10 -0
- package/dist/chunk-rmhs40sh.js +4 -0
- package/dist/chunk-rmhs40sh.js.map +10 -0
- package/dist/chunk-rqrezesz.js +4 -0
- package/dist/chunk-rqrezesz.js.map +10 -0
- package/dist/chunk-s0b5gyec.js +5 -0
- package/dist/chunk-s0b5gyec.js.map +10 -0
- package/dist/chunk-s0g6kddk.js +4 -0
- package/dist/chunk-s0g6kddk.js.map +10 -0
- package/dist/chunk-s4twrhpt.js +4 -0
- package/dist/chunk-s4twrhpt.js.map +10 -0
- package/dist/chunk-s5q7xgm7.js +4 -0
- package/dist/chunk-s5q7xgm7.js.map +10 -0
- package/dist/chunk-s6337cg6.js +4 -0
- package/dist/chunk-s6337cg6.js.map +10 -0
- package/dist/chunk-sarcnr78.js +5 -0
- package/dist/chunk-sarcnr78.js.map +10 -0
- package/dist/chunk-sgqzh2eh.js +4 -0
- package/dist/chunk-sgqzh2eh.js.map +10 -0
- package/dist/chunk-sh7q9p7c.js +4 -0
- package/dist/chunk-sh7q9p7c.js.map +10 -0
- package/dist/chunk-shvm8xpf.js +4 -0
- package/dist/chunk-shvm8xpf.js.map +10 -0
- package/dist/chunk-sm4gyh1f.js +4 -0
- package/dist/{chunk-dtkvdcf6.js.map → chunk-sm4gyh1f.js.map} +3 -7
- package/dist/chunk-sqdy9tjw.js +4 -0
- package/dist/chunk-sqdy9tjw.js.map +10 -0
- package/dist/chunk-stfzvxzh.js +5 -0
- package/dist/chunk-stfzvxzh.js.map +25 -0
- package/dist/chunk-sxt20n19.js +4 -0
- package/dist/chunk-sxt20n19.js.map +10 -0
- package/dist/chunk-t1mdzmvf.js +4 -0
- package/dist/{chunk-55xdqqbt.js.map → chunk-t1mdzmvf.js.map} +3 -14
- package/dist/chunk-t24w0gem.js +4 -0
- package/dist/chunk-t24w0gem.js.map +10 -0
- package/dist/chunk-t8pfwzwx.js +4 -0
- package/dist/chunk-t8pfwzwx.js.map +10 -0
- package/dist/chunk-t9fpc42w.js +4 -0
- package/dist/chunk-t9fpc42w.js.map +10 -0
- package/dist/chunk-ta1fz9d1.js +5 -0
- package/dist/chunk-ta1fz9d1.js.map +10 -0
- package/dist/chunk-thdwxt6w.js +4 -0
- package/dist/chunk-thdwxt6w.js.map +10 -0
- package/dist/chunk-tkgk80b9.js +4 -0
- package/dist/chunk-tkgk80b9.js.map +10 -0
- package/dist/chunk-twf1wr4h.js +4 -0
- package/dist/chunk-twf1wr4h.js.map +10 -0
- package/dist/chunk-v9kg2vy4.js +4 -0
- package/dist/{chunk-arbx49j6.js.map → chunk-v9kg2vy4.js.map} +5 -5
- package/dist/chunk-veamz5d0.js +4 -0
- package/dist/chunk-veamz5d0.js.map +10 -0
- package/dist/chunk-vf6yxr0r.js +4 -0
- package/dist/chunk-vf6yxr0r.js.map +10 -0
- package/dist/chunk-vh816yqy.js +4 -0
- package/dist/chunk-vh816yqy.js.map +10 -0
- package/dist/chunk-vnxja8xq.js +4 -0
- package/dist/chunk-vnxja8xq.js.map +10 -0
- package/dist/chunk-vpgsy207.js +4 -0
- package/dist/chunk-vpgsy207.js.map +10 -0
- package/dist/chunk-vqnvrsnc.js +4 -0
- package/dist/chunk-vqnvrsnc.js.map +10 -0
- package/dist/chunk-vx2ep3d6.js +5 -0
- package/dist/chunk-vx2ep3d6.js.map +10 -0
- package/dist/chunk-vybrcp16.js +4 -0
- package/dist/chunk-vybrcp16.js.map +10 -0
- package/dist/chunk-w100wbf2.js +11 -0
- package/dist/{chunk-r3qdswng.js.map → chunk-w100wbf2.js.map} +5 -5
- package/dist/chunk-w1d1dmx3.js +4 -0
- package/dist/chunk-w1d1dmx3.js.map +10 -0
- package/dist/chunk-w1nwkvbe.js +4 -0
- package/dist/chunk-w1nwkvbe.js.map +10 -0
- package/dist/chunk-w1zabjwt.js +4 -0
- package/dist/chunk-w1zabjwt.js.map +10 -0
- package/dist/chunk-w4hqdtab.js +4 -0
- package/dist/chunk-w4hqdtab.js.map +10 -0
- package/dist/chunk-w5tgtsfr.js +4 -0
- package/dist/chunk-w5tgtsfr.js.map +10 -0
- package/dist/chunk-w7ezjfcb.js +4 -0
- package/dist/chunk-w7ezjfcb.js.map +10 -0
- package/dist/chunk-w7mjxa9e.js +4 -0
- package/dist/chunk-w7mjxa9e.js.map +10 -0
- package/dist/chunk-w9h179q6.js +5 -0
- package/dist/chunk-w9h179q6.js.map +10 -0
- package/dist/chunk-wb75jnfp.js +4 -0
- package/dist/chunk-wb75jnfp.js.map +10 -0
- package/dist/chunk-wd9hmfa8.js +4 -0
- package/dist/chunk-wd9hmfa8.js.map +10 -0
- package/dist/chunk-wqmd1wv4.js +4 -0
- package/dist/chunk-wqmd1wv4.js.map +10 -0
- package/dist/chunk-wrz50ar3.js +4 -0
- package/dist/chunk-wrz50ar3.js.map +48 -0
- package/dist/chunk-wxgcwv7j.js +4 -0
- package/dist/chunk-wxgcwv7j.js.map +11 -0
- package/dist/chunk-wxw4254w.js +4 -0
- package/dist/{chunk-2n21sn7a.js.map → chunk-wxw4254w.js.map} +3 -4
- package/dist/chunk-wyc2ab1h.js +4 -0
- package/dist/chunk-wyc2ab1h.js.map +10 -0
- package/dist/chunk-wzbs51e4.js +4 -0
- package/dist/chunk-wzbs51e4.js.map +10 -0
- package/dist/chunk-x6248vkg.js +5 -0
- package/dist/chunk-x6248vkg.js.map +10 -0
- package/dist/{chunk-td079vg9.js → chunk-xajvm5dg.js} +3 -3
- package/dist/{chunk-td079vg9.js.map → chunk-xajvm5dg.js.map} +1 -1
- package/dist/chunk-xrteffkv.js +4 -0
- package/dist/chunk-xrteffkv.js.map +10 -0
- package/dist/chunk-xtc3sb35.js +5 -0
- package/dist/chunk-xtc3sb35.js.map +10 -0
- package/dist/chunk-xvfygk82.js +4 -0
- package/dist/{chunk-enc2835j.js.map → chunk-xvfygk82.js.map} +2 -2
- package/dist/chunk-xyagccth.js +4 -0
- package/dist/chunk-xyagccth.js.map +10 -0
- package/dist/chunk-y0msdehj.js +4 -0
- package/dist/chunk-y0msdehj.js.map +21 -0
- package/dist/chunk-y2zzprr2.js +4 -0
- package/dist/chunk-y2zzprr2.js.map +10 -0
- package/dist/chunk-y425gbw0.js +4 -0
- package/dist/{chunk-11by8vja.js.map → chunk-y425gbw0.js.map} +5 -5
- package/dist/chunk-y7q3vx60.js +4 -0
- package/dist/chunk-y7q3vx60.js.map +10 -0
- package/dist/chunk-y8vm6nhq.js +4 -0
- package/dist/chunk-y8vm6nhq.js.map +10 -0
- package/dist/chunk-ym3p77cw.js +4 -0
- package/dist/chunk-ym3p77cw.js.map +10 -0
- package/dist/chunk-yqq2hs5v.js +4 -0
- package/dist/chunk-yqq2hs5v.js.map +10 -0
- package/dist/chunk-ys2w3w3h.js +4 -0
- package/dist/chunk-ys2w3w3h.js.map +10 -0
- package/dist/chunk-yx2dstze.js +4 -0
- package/dist/chunk-yx2dstze.js.map +10 -0
- package/dist/chunk-yxb1tm10.js +5 -0
- package/dist/chunk-yxb1tm10.js.map +10 -0
- package/dist/chunk-yxngksdn.js +4 -0
- package/dist/chunk-yxngksdn.js.map +10 -0
- package/dist/chunk-yzf50f27.js +4 -0
- package/dist/chunk-yzf50f27.js.map +10 -0
- package/dist/chunk-z2536ve8.js +4 -0
- package/dist/chunk-z2536ve8.js.map +14 -0
- package/dist/chunk-z6d8dyj4.js +4 -0
- package/dist/{chunk-b6w0fgxz.js.map → chunk-z6d8dyj4.js.map} +2 -2
- package/dist/chunk-z73h9wcv.js +4 -0
- package/dist/chunk-z73h9wcv.js.map +10 -0
- package/dist/chunk-z744x29v.js +5 -0
- package/dist/chunk-z744x29v.js.map +10 -0
- package/dist/chunk-zajtvy67.js +4 -0
- package/dist/chunk-zajtvy67.js.map +10 -0
- package/dist/chunk-zgcwtt7q.js +4 -0
- package/dist/chunk-zgcwtt7q.js.map +10 -0
- package/dist/chunk-zt083h6w.js +4 -0
- package/dist/chunk-zt083h6w.js.map +10 -0
- package/dist/email/index.js +2 -2
- package/dist/email/index.js.map +26 -5
- package/dist/facades/index.js +2 -2
- package/dist/facades/index.js.map +2 -2
- package/dist/http/ApiRouter.d.ts +5 -0
- package/dist/http/ApiRouter.d.ts.map +1 -1
- package/dist/http/Controller.d.ts +0 -1
- package/dist/http/Controller.d.ts.map +1 -1
- package/dist/http/ViewRouter.d.ts.map +1 -1
- package/dist/http/index.js +2 -2
- package/dist/http/index.js.map +5 -5
- package/dist/kernel/index.js +2 -2
- package/dist/kernel/index.js.map +2 -2
- package/dist/server/index.js +2 -2
- package/dist/server/index.js.map +2 -2
- package/dist/services/index.js +2 -11
- package/dist/services/index.js.map +28 -15
- package/dist/vite/{index-Bu4AXBt9.mjs → index-C9AWJ7QP.mjs} +1 -1
- package/dist/vite/index.mjs +1 -1
- package/dist/vite/{typescript-D69Uqrn5.mjs → typescript-CKrglZ4F.mjs} +56 -48
- package/package.json +2 -2
- package/dist/chunk-11by8vja.js +0 -4
- package/dist/chunk-1gjhrqfe.js +0 -4
- package/dist/chunk-2n21sn7a.js +0 -4
- package/dist/chunk-55xdqqbt.js +0 -4
- package/dist/chunk-6vp2svxg.js +0 -4
- package/dist/chunk-6vp2svxg.js.map +0 -13
- package/dist/chunk-a67a5vtk.js +0 -4
- package/dist/chunk-arbx49j6.js +0 -4
- package/dist/chunk-b6w0fgxz.js +0 -4
- package/dist/chunk-ckds5kj4.js +0 -4
- package/dist/chunk-dtkvdcf6.js +0 -4
- package/dist/chunk-ef6dgp5k.js +0 -4
- package/dist/chunk-en5bya0k.js +0 -4
- package/dist/chunk-enc2835j.js +0 -4
- package/dist/chunk-gsrxf3xp.js +0 -5
- package/dist/chunk-gsrxf3xp.js.map +0 -64
- package/dist/chunk-h1xm4rnm.js +0 -8
- package/dist/chunk-hjr9ztvj.js +0 -4
- package/dist/chunk-kmfnx43s.js +0 -4
- package/dist/chunk-ktwy9nyn.js +0 -4
- package/dist/chunk-n7j3s0s0.js +0 -3
- package/dist/chunk-n7j3s0s0.js.map +0 -15
- package/dist/chunk-p9gc7ke6.js +0 -3
- package/dist/chunk-qf6zg7nd.js +0 -20
- package/dist/chunk-r3qdswng.js +0 -11
- package/dist/chunk-t3g9fdba.js +0 -5
- package/dist/chunk-t3g9fdba.js.map +0 -54
- package/dist/chunk-wfc30gdx.js +0 -4
- package/dist/chunk-z4ha0p3z.js +0 -4
- package/dist/chunk-z4ha0p3z.js.map +0 -10
package/dist/email/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"../chunk-35bsy26w.js";import{I as T}from"../chunk-td079vg9.js";import{N as W}from"../chunk-enc2835j.js";import{O as Y,P as V}from"../chunk-t3g9fdba.js";import{Writable as O}from"stream";var C=T(V(),1);var{defineProperty:D,getOwnPropertySymbols:$}=Object,M=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(F,q,z)=>(q in F)?D(F,q,{enumerable:!0,configurable:!0,writable:!0,value:z}):F[q]=z,U=(F,q)=>{for(var z in q||(q={}))if(M.call(q,z))A(F,z,q[z]);if($){for(var z of $(q))if(P.call(q,z))A(F,z,q[z])}return F},X=(F,q,z)=>{return new Promise((G,J)=>{var K=(H)=>{try{Q(z.next(H))}catch(L){J(L)}},R=(H)=>{try{Q(z.throw(H))}catch(L){J(L)}},Q=(H)=>H.done?G(H.value):Promise.resolve(H.value).then(K,R);Q((z=z.apply(F,q)).next())})},f={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},w=(F,q={})=>{return C.default.html(F,U(U({},f),q))},x=[{selector:"img",format:"skip"},{selector:"#__react-email-preview",format:"skip"},{selector:"a",options:{linkBrackets:!1}}],B=new TextDecoder("utf-8"),I=(F)=>X(void 0,null,function*(){let q="";if("pipeTo"in F){const z=new WritableStream({write(G){q+=B.decode(G)}});yield F.pipeTo(z)}else{const z=new O({write(G,J,K){q+=B.decode(G),K()}});return F.pipe(z),new Promise((G,J)=>{z.on("error",J),z.on("close",()=>{G(q)})})}return q}),E=(F,q)=>X(void 0,null,function*(){const{default:z}=yield import("react-dom/server");let G;if(Object.hasOwn(z,"renderToReadableStream"))G=yield I(yield z.renderToReadableStream(F));else yield new Promise((R,Q)=>{const H=z.renderToPipeableStream(F,{onAllReady(){return X(this,null,function*(){G=yield I(H),R()})},onError(L){Q(L)}})});if(q==null?void 0:q.plainText)return Y(G,U({selectors:x},q.htmlToTextOptions));const K=`${'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'}${G.replace(/<!DOCTYPE.*?>/,"")}`;if(q==null?void 0:q.pretty)return w(K);return K}),j=new TextDecoder("utf-8");import{jsxDEV as g}from"react/jsx-dev-runtime";class N{from="";to=[];subject="No Subject";cc=[];bcc=[];attachments=[];template;static async send(F){const q=new this,{to:z=q.to,from:G=q.from,subject:J=q.subject,cc:K=q.cc,bcc:R=q.bcc,attachments:Q=q.attachments,data:H}=F,L=await q.render(H);if(process.env.EMAIL_DEBUG==="true"){const Z=`${process.env.ROOT_DIR}/.debug/emails/${new Date().toISOString()}${J}.html`;await Bun.write(Z,L),Bun.spawnSync(["open",Z]);return}await W.use().service.driver.send({bcc:R,cc:K,from:G,subject:J,to:z,attachments:Q,html:L})}async render(F){const q=this.template;return await E(g(q,{...F},void 0,!1,void 0,this))}}export{N as Email};
|
|
2
|
+
import"../chunk-bajafpzj.js";import{Pa as d,Qa as w}from"../chunk-xajvm5dg.js";import{Va as V8}from"../chunk-d87mx4t6.js";import{cb as $B}from"../chunk-kttqecab.js";import{db as e0}from"../chunk-stfzvxzh.js";import{eb as Q8}from"../chunk-xvfygk82.js";import"../chunk-z2536ve8.js";var m1=w((CB,g1)=>{function $8(){const B=new Map,Q={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Q.color.gray=Q.color.blackBright,Q.bgColor.bgGray=Q.bgColor.bgBlackBright,Q.color.grey=Q.color.blackBright,Q.bgColor.bgGrey=Q.bgColor.bgBlackBright;for(let[W,Z]of Object.entries(Q)){for(let[V,$]of Object.entries(Z))Q[V]={open:`\x1B[${$[0]}m`,close:`\x1B[${$[1]}m`},Z[V]=Q[V],B.set($[0],$[1]);Object.defineProperty(Q,W,{value:Z,enumerable:!1})}return Object.defineProperty(Q,"codes",{value:B,enumerable:!1}),Q.color.close="\x1B[39m",Q.bgColor.close="\x1B[49m",S(Q.color,"ansi",()=>C(y1,"ansi16",s,!1)),S(Q.color,"ansi256",()=>C(d1,"ansi256",s,!1)),S(Q.color,"ansi16m",()=>C(u1,"rgb",h1,!1)),S(Q.bgColor,"ansi",()=>C(y1,"ansi16",s,!0)),S(Q.bgColor,"ansi256",()=>C(d1,"ansi256",s,!0)),S(Q.bgColor,"ansi16m",()=>C(u1,"rgb",h1,!0)),Q}var y1=(B,Q)=>(...W)=>{return`\x1B[${B(...W)+Q}m`},d1=(B,Q)=>(...W)=>{const Z=B(...W);return`\x1B[${38+Q};5;${Z}m`},u1=(B,Q)=>(...W)=>{const Z=B(...W);return`\x1B[${38+Q};2;${Z[0]};${Z[1]};${Z[2]}m`},s=(B)=>B,h1=(B,Q,W)=>[B,Q,W],S=(B,Q,W)=>{Object.defineProperty(B,Q,{get:()=>{const Z=W();return Object.defineProperty(B,Q,{value:Z,enumerable:!0,configurable:!0}),Z},enumerable:!0,configurable:!0})},$1,C=(B,Q,W,Z)=>{if($1===void 0)$1=V8();const V=Z?10:0,$={};for(let[J,K]of Object.entries($1)){const X=J==="ansi16"?"ansi":J;if(J===Q)$[X]=B(W,V);else if(typeof K==="object")$[X]=B(K[Q],V)}return $};Object.defineProperty(g1,"exports",{enumerable:!0,get:$8})});var p1=w((vB,c1)=>{c1.exports=(B,Q=process.argv)=>{const W=B.startsWith("-")?"":B.length===1?"-":"--",Z=Q.indexOf(W+B),V=Q.indexOf("--");return Z!==-1&&(V===-1||Z<V)}});var l1=w((fB,n1)=>{function J1(B){if(B===0)return!1;return{level:B,hasBasic:!0,has256:B>=2,has16m:B>=3}}function K1(B,Q){if(A===0)return 0;if(D("color=16m")||D("color=full")||D("color=truecolor"))return 3;if(D("color=256"))return 2;if(B&&!Q&&A===void 0)return 0;const W=A||0;if(G.TERM==="dumb")return W;if(process.platform==="win32"){const Z=J8.release().split(".");if(Number(Z[0])>=10&&Number(Z[2])>=10586)return Number(Z[2])>=14931?3:2;return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((Z)=>(Z in G))||G.CI_NAME==="codeship")return 1;return W}if("TEAMCITY_VERSION"in G)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0;if(G.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in G){const Z=parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return Z>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM))return 1;if("COLORTERM"in G)return 1;return W}function K8(B){const Q=K1(B,B&&B.isTTY);return J1(Q)}var J8=import.meta.require("os"),i1=import.meta.require("tty"),D=p1(),{env:G}=process,A;if(D("no-color")||D("no-colors")||D("color=false")||D("color=never"))A=0;else if(D("color")||D("colors")||D("color=true")||D("color=always"))A=1;if("FORCE_COLOR"in G)if(G.FORCE_COLOR==="true")A=1;else if(G.FORCE_COLOR==="false")A=0;else A=G.FORCE_COLOR.length===0?1:Math.min(parseInt(G.FORCE_COLOR,10),3);n1.exports={supportsColor:K8,stdout:J1(K1(!0,i1.isatty(1))),stderr:J1(K1(!0,i1.isatty(2)))}});var s1=w((yB,r1)=>{var Y8=(B,Q,W)=>{let Z=B.indexOf(Q);if(Z===-1)return B;const V=Q.length;let $=0,J="";do J+=B.substr($,Z-$)+Q+W,$=Z+V,Z=B.indexOf(Q,$);while(Z!==-1);return J+=B.substr($),J},X8=(B,Q,W,Z)=>{let V=0,$="";do{const J=B[Z-1]==="\r";$+=B.substr(V,(J?Z-1:Z)-V)+Q+(J?"\r\n":"\n")+W,V=Z+1,Z=B.indexOf("\n",V)}while(Z!==-1);return $+=B.substr(V),$};r1.exports={stringReplaceAll:Y8,stringEncaseCRLFWithFirstIndex:X8}});var B0=w((dB,e1)=>{function t1(B){const Q=B[0]==="u",W=B[1]==="{";if(Q&&!W&&B.length===5||B[0]==="x"&&B.length===3)return String.fromCharCode(parseInt(B.slice(1),16));if(Q&&W)return String.fromCodePoint(parseInt(B.slice(2,-1),16));return O8.get(B)||B}function U8(B,Q){const W=[],Z=Q.trim().split(/\s*,\s*/g);let V;for(let $ of Z){const J=Number($);if(!Number.isNaN(J))W.push(J);else if(V=$.match(q8))W.push(V[2].replace(G8,(K,X,Y)=>X?t1(X):Y));else throw new Error(`Invalid Chalk template style argument: ${$} (in style '${B}')`)}return W}function w8(B){a1.lastIndex=0;const Q=[];let W;while((W=a1.exec(B))!==null){const Z=W[1];if(W[2]){const V=U8(Z,W[2]);Q.push([Z].concat(V))}else Q.push([Z])}return Q}function o1(B,Q){const W={};for(let V of Q)for(let $ of V.styles)W[$[0]]=V.inverse?null:$.slice(1);let Z=B;for(let[V,$]of Object.entries(W)){if(!Array.isArray($))continue;if(!(V in Z))throw new Error(`Unknown Chalk style: ${V}`);Z=$.length>0?Z[V](...$):Z[V]}return Z}var z8=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,a1=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,q8=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,G8=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,O8=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);e1.exports=(B,Q)=>{const W=[],Z=[];let V=[];if(Q.replace(z8,($,J,K,X,Y,q)=>{if(J)V.push(t1(J));else if(X){const E=V.join("");V=[],Z.push(W.length===0?E:o1(B,W)(E)),W.push({inverse:K,styles:w8(X)})}else if(Y){if(W.length===0)throw new Error("Found extraneous } in Chalk template literal");Z.push(o1(B,W)(V.join(""))),V=[],W.pop()}else V.push(q)}),Z.push(V.join("")),W.length>0){const $=`Chalk template literal is missing ${W.length} closing bracket${W.length===1?"":"s"} (\`}\`)`;throw new Error($)}return Z.join("")}});var f=w((uB,K0)=>{function o(B){return V0(B)}var c=m1(),{stdout:X1,stderr:z1}=l1(),{stringReplaceAll:D8,stringEncaseCRLFWithFirstIndex:R8}=s1(),{isArray:a}=Array,W0=["ansi","ansi","ansi256","ansi16m"],v=Object.create(null),H8=(B,Q={})=>{if(Q.level&&!(Number.isInteger(Q.level)&&Q.level>=0&&Q.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const W=X1?X1.level:0;B.level=Q.level===void 0?W:Q.level};class Z0{constructor(B){return V0(B)}}var V0=(B)=>{const Q={};return H8(Q,B),Q.template=(...W)=>J0(Q.template,...W),Object.setPrototypeOf(Q,o.prototype),Object.setPrototypeOf(Q.template,Q),Q.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},Q.template.Instance=Z0,Q.template};for(let[B,Q]of Object.entries(c))v[B]={get(){const W=t(this,q1(Q.open,Q.close,this._styler),this._isEmpty);return Object.defineProperty(this,B,{value:W}),W}};v.visible={get(){const B=t(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:B}),B}};var $0=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let B of $0)v[B]={get(){const{level:Q}=this;return function(...W){const Z=q1(c.color[W0[Q]][B](...W),c.color.close,this._styler);return t(this,Z,this._isEmpty)}}};for(let B of $0){const Q="bg"+B[0].toUpperCase()+B.slice(1);v[Q]={get(){const{level:W}=this;return function(...Z){const V=q1(c.bgColor[W0[W]][B](...Z),c.bgColor.close,this._styler);return t(this,V,this._isEmpty)}}}}var T8=Object.defineProperties(()=>{},{...v,level:{enumerable:!0,get(){return this._generator.level},set(B){this._generator.level=B}}}),q1=(B,Q,W)=>{let Z,V;if(W===void 0)Z=B,V=Q;else Z=W.openAll+B,V=Q+W.closeAll;return{open:B,close:Q,openAll:Z,closeAll:V,parent:W}},t=(B,Q,W)=>{const Z=(...V)=>{if(a(V[0])&&a(V[0].raw))return Q0(Z,J0(Z,...V));return Q0(Z,V.length===1?""+V[0]:V.join(" "))};return Object.setPrototypeOf(Z,T8),Z._generator=B,Z._styler=Q,Z._isEmpty=W,Z},Q0=(B,Q)=>{if(B.level<=0||!Q)return B._isEmpty?"":Q;let W=B._styler;if(W===void 0)return Q;const{openAll:Z,closeAll:V}=W;if(Q.indexOf("\x1B")!==-1)while(W!==void 0)Q=D8(Q,W.close,W.open),W=W.parent;const $=Q.indexOf("\n");if($!==-1)Q=R8(Q,V,Z,$);return Z+Q+V},Y1,J0=(B,...Q)=>{const[W]=Q;if(!a(W)||!a(W.raw))return Q.join(" ");const Z=Q.slice(1),V=[W.raw[0]];for(let $=1;$<W.length;$++)V.push(String(Z[$-1]).replace(/[{}\\]/g,"\\$&"),String(W.raw[$]));if(Y1===void 0)Y1=B0();return Y1(B,V.join(""))};Object.defineProperties(o.prototype,v);var e=o();e.supportsColor=X1;e.stderr=o({level:z1?z1.level:0});e.stderr.supportsColor=z1;K0.exports=e});var D1=w((hB,O0)=>{var{defineProperty:U1,getOwnPropertyDescriptor:F8,getOwnPropertyNames:j8}=Object,E8=Object.prototype.hasOwnProperty,A8=(B,Q)=>{for(var W in Q)U1(B,W,{get:Q[W],enumerable:!0})},P8=(B,Q,W,Z)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let V of j8(Q))if(!E8.call(B,V)&&V!==W)U1(B,V,{get:()=>Q[V],enumerable:!(Z=F8(Q,V))||Z.enumerable})}return B},_8=(B)=>P8(U1({},"__esModule",{value:!0}),B),q0={};A8(q0,{LogLevel:()=>O1,MethodFactory:()=>B1,PrefixFactory:()=>w1,default:()=>M8,defaultLevels:()=>G0});O0.exports=_8(q0);var G0={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},Y0=Symbol("log-levels"),G1=Symbol("log-instance"),X0=()=>{},B1=class{constructor(B){this[G1]=B,this[Y0]=G0}get levels(){return this[Y0]}get logger(){return this[G1]}get methods(){return Object.keys(this.levels).map((B)=>B.toLowerCase()).filter((B)=>B!=="silent")}set logger(B){this[G1]=B}bindMethod(B,Q){const W=B[Q];if(typeof W.bind==="function")return W.bind(B);try{return Function.prototype.bind.call(W,B)}catch(Z){return function V(){return Function.prototype.apply.apply(W,[B,arguments])}}}distillLevel(B){let Q;if(typeof B==="string")Q=this.levels[B.toUpperCase()];else Q=B;if(this.levelValid(Q))return Q;return null}levelValid(B){const Q=Math.max(...Object.values(this.levels));if(typeof B==="number"&&B>=0&&B<=Q)return!0;return!1}make(B){const Q=console;if(typeof Q[B]!=="undefined")return this.bindMethod(Q,B);else if(typeof console.log!=="undefined")return this.bindMethod(Q,"log");return X0}replaceMethods(B){const Q=this.distillLevel(B);if(Q===null)throw new Error(`loglevelnext: replaceMethods() called with invalid level: ${B}`);if(!this.logger||this.logger.type!=="LogLevel")throw new TypeError("loglevelnext: Logger is undefined or invalid. Please specify a valid Logger instance.");this.methods.forEach((W)=>{const{[W.toUpperCase()]:Z}=this.levels;this.logger[W]=Z<Q?X0:this.make(W)}),this.logger.log=this.logger.debug}},I8={level:(B)=>`[${B.level}]`,name:(B)=>B.logger.name,template:"{{time}} {{level}} ",time:()=>new Date().toTimeString().split(" ")[0]},w1=class extends B1{constructor(B,Q){super(B);this.options=Object.assign({},I8,Q)}interpolate(B){return this.options.template.replace(/{{([^{}]*)}}/g,(Q,W)=>{const Z=this.options[W];if(typeof Z==="function")return Z({level:B,logger:this.logger});return Q})}make(B){const Q=super.make(B);return(...W)=>{const Z=this.interpolate(B),[V]=W;if(typeof V==="string")W[0]=Z+V;else W.unshift(Z);Q(...W)}}},N8={factory:void 0,level:"warn",name:(+new Date).toString(),prefix:void 0},O1=class{constructor(B){if(this.type="LogLevel",this.options=Object.assign({},N8,B),this.methodFactory=B.factory,!this.methodFactory){const Q=B.prefix?new w1(this,B.prefix):new B1(this);this.methodFactory=Q}if(!this.methodFactory.logger)this.methodFactory.logger=this;this.name=B.name||"<unknown>",this.level=this.options.level??"trace"}get level(){return this.currentLevel}get levels(){return this.methodFactory.levels}get factory(){return this.methodFactory}set factory(B){B.logger=this,this.methodFactory=B,this.methodFactory.replaceMethods(this.level)}set level(B){const Q=this.methodFactory.distillLevel(B);if(Q===!1||Q==null)throw new RangeError(`loglevelnext: setLevel() called with invalid level: ${B}`);this.currentLevel=Q,this.methodFactory.replaceMethods(Q);const W=Math.max(...Object.values(this.levels));if(typeof console==="undefined")process.stdout.write("loglevelnext: console is undefined. The log will produce no output.\n");else if(Q>W)console.warn("The log level has been set to a value greater than 'silent'. The log will produce no output.")}disable(){const B=this.levels;if(B.SILENT)this.level=B.SILENT;else console.warn("loglevelnext: no 'silent' level defined. The log cannot be disabled. You may want to override the 'disable' method.")}enable(){const B=this.levels;if(typeof B.TRACE!=="undefined")this.level=B.TRACE;else console.warn("loglevelnext: no 'trace' level defined. The log cannot be enabled. You may want to override the 'trace' method.")}},z0=Symbol("log-factories"),L8=class extends O1{constructor(){super({name:"default"});this.cache={default:this},this[z0]={MethodFactory:B1,PrefixFactory:w1}}get factories(){return this[z0]}get loggers(){return this.cache}create(B){let Q;if(typeof B==="string")Q={name:B};else Q=Object.assign({},B);if(!Q.id)Q.id=Q.name.toString();const{name:W,id:Z}=Q,V={level:this.level};if(typeof W!=="string"||!W||!W.length)throw new TypeError("You must supply a name when creating a logger.");let $=this.cache[Z];if(!$)$=new O1(Object.assign({},V,Q)),this.cache[Z]=$;return $}},M8=new L8});var w0=w((iB,U0)=>{var x8=()=>{const B={};return B.promise=new Promise((Q,W)=>{B.resolve=Q,B.reject=W}),B};U0.exports=x8});var T0=w((R0)=>{Object.defineProperty(R0,"__esModule",{value:!0});R0.LogFactory=void 0;var k8=D1();class D0 extends k8.PrefixFactory{constructor(B){super(void 0,B);this.ready=B.ready}replaceMethods(B){super.replaceMethods(B),this.ready?.resolve()}}R0.LogFactory=D0});var j0=w((R)=>{var R1=R&&R.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(R,"__esModule",{value:!0});R.log=R.getLog=R.LogFactory=void 0;var y=R1(f()),b8=R1(D1()),S8=R1(w0()),F0=T0();Object.defineProperty(R,"LogFactory",{enumerable:!0,get:function(){return F0.LogFactory}});var C8={DOT_LOG_LEVEL:"info"},v8=S8.default(),f8={debug:y.default`{magenta {inverse {bold debug }}}`,error:y.default`{red {inverse {bold error }}}`,info:y.default`{blue {inverse {bold info }}}`,trace:y.default`{green {inverse {bold trace }}}`,warn:y.default`{yellow {inverse {bold warn }}}`},y8={name:""},d8=(B)=>{const Q=Object.assign({},y8,B),W=Q.name?`${Q.name} `:"",V=`[{{time}}]${Q.brand?y.default` {blue ${Q.brand}} `:" "}${W}{{level}} `,$=new F0.LogFactory({level:({level:Y})=>f8[Y],ready:v8,template:V,time:()=>new Date().toTimeString().split(" ")[0]}),{DOT_LOG_LEVEL:J="info"}=typeof process==="undefined"?C8:process.env,K={factory:$,level:J,name:`dot-log:${Q.name}`};return b8.default.create(K)};R.getLog=d8;R.log=R.getLog()});var d0=w(($Q,y0)=>{function QB(B){return BB.call(B).slice(8,-1)==="ArrayBuffer"}function WB(B,Q,W){Q>>>=0;var Z=B.byteLength-Q;if(Z<0)throw new RangeError("'offset' is out of bounds");if(W===void 0)W=Z;else if(W>>>=0,W>Z)throw new RangeError("'length' is out of bounds");return E1?Buffer.from(B.slice(Q,Q+W)):new Buffer(new Uint8Array(B.slice(Q,Q+W)))}function ZB(B,Q){if(typeof Q!=="string"||Q==="")Q="utf8";if(!Buffer.isEncoding(Q))throw new TypeError('"encoding" must be a valid string encoding');return E1?Buffer.from(B,Q):new Buffer(B,Q)}function VB(B,Q,W){if(typeof B==="number")throw new TypeError('"value" argument must not be a number');if(QB(B))return WB(B,Q,W);if(typeof B==="string")return ZB(B,Q);return E1?Buffer.from(B):new Buffer(B)}var BB=Object.prototype.toString,E1=typeof Buffer!=="undefined"&&typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";y0.exports=VB});var n0=w((FB,I1)=>{function u0(B,Q){return B.require(Q)}function N1(){if(p==="browser")return!0;if(p==="node")return!1;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function XB(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function zB(){if(typeof process==="object"&&process!==null)return process.version;else return""}function qB(){if(typeof process==="object"&&process!==null)return process.stderr}function GB(B){if(typeof process==="object"&&process!==null&&typeof process.exit==="function")return process.exit(B)}function Q1(B){return function(Q){for(var W=0;W<B.length;W++){var Z=B[W](Q);if(Z)return Z}return null}}function _1(B,Q){if(!B)return Q;var W=A1.dirname(B),Z=/^\w+:\/\/[^\/]*/.exec(W),V=Z?Z[0]:"",$=W.slice(V.length);if(V&&/^\/\w\:/.test($))return V+="/",V+A1.resolve(W.slice(V.length),Q).replace(/\\/g,"/");return V+A1.resolve(W.slice(V.length),Q)}function OB(B){var Q;if(N1())try{var W=new XMLHttpRequest;W.open("GET",B,!1),W.send(null),Q=W.readyState===4?W.responseText:null;var Z=W.getResponseHeader("SourceMap")||W.getResponseHeader("X-SourceMap");if(Z)return Z}catch(K){}Q=L1(B);var V=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,$,J;while(J=V.exec(Q))$=J;if(!$)return null;return $[1]}function x1(B){var Q=i[B.source];if(!Q){var W=M1(B.source);if(W){if(Q=i[B.source]={url:W.url,map:new JB(W.map)},Q.map.sourcesContent)Q.map.sources.forEach(function(V,$){var J=Q.map.sourcesContent[$];if(J){var K=_1(Q.url,V);b[K]=J}})}else Q=i[B.source]={url:null,map:null}}if(Q&&Q.map&&typeof Q.map.originalPositionFor==="function"){var Z=Q.map.originalPositionFor(B);if(Z.source!==null)return Z.source=_1(Q.url,Z.source),Z}return B}function c0(B){var Q=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(B);if(Q){var W=x1({source:Q[2],line:+Q[3],column:Q[4]-1});return"eval at "+Q[1]+" ("+W.source+":"+W.line+":"+(W.column+1)+")"}if(Q=/^eval at ([^(]+) \((.+)\)$/.exec(B),Q)return"eval at "+Q[1]+" ("+c0(Q[2])+")";return B}function UB(){var B,Q="";if(this.isNative())Q="native";else{if(B=this.getScriptNameOrSourceURL(),!B&&this.isEval())Q=this.getEvalOrigin(),Q+=", ";if(B)Q+=B;else Q+="<anonymous>";var W=this.getLineNumber();if(W!=null){Q+=":"+W;var Z=this.getColumnNumber();if(Z)Q+=":"+Z}}var V="",$=this.getFunctionName(),J=!0,K=this.isConstructor(),X=!(this.isToplevel()||K);if(X){var Y=this.getTypeName();if(Y==="[object Object]")Y="null";var q=this.getMethodName();if($){if(Y&&$.indexOf(Y)!=0)V+=Y+".";if(V+=$,q&&$.indexOf("."+q)!=$.length-q.length-1)V+=" [as "+q+"]"}else V+=Y+"."+(q||"<anonymous>")}else if(K)V+="new "+($||"<anonymous>");else if($)V+=$;else V+=Q,J=!1;if(J)V+=" ("+Q+")";return V}function m0(B){var Q={};return Object.getOwnPropertyNames(Object.getPrototypeOf(B)).forEach(function(W){Q[W]=/^(?:is|get)/.test(W)?function(){return B[W].call(B)}:B[W]}),Q.toString=UB,Q}function p0(B,Q){if(Q===void 0)Q={nextPosition:null,curPosition:null};if(B.isNative())return Q.curPosition=null,B;var W=B.getFileName()||B.getScriptNameOrSourceURL();if(W){var Z=B.getLineNumber(),V=B.getColumnNumber()-1,$=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,J=$.test(zB())?0:62;if(Z===1&&V>J&&!N1()&&!B.isEval())V-=J;var K=x1({source:W,line:Z,column:V});Q.curPosition=K,B=m0(B);var X=B.getFunctionName;return B.getFunctionName=function(){if(Q.nextPosition==null)return X();return Q.nextPosition.name||X()},B.getFileName=function(){return K.source},B.getLineNumber=function(){return K.line},B.getColumnNumber=function(){return K.column+1},B.getScriptNameOrSourceURL=function(){return K.source},B}var Y=B.isEval()&&B.getEvalOrigin();if(Y)return Y=c0(Y),B=m0(B),B.getEvalOrigin=function(){return Y},B;return B}function wB(B,Q){if(P1)b={},i={};var W=B.name||"Error",Z=B.message||"",V=W+": "+Z,$={nextPosition:null,curPosition:null},J=[];for(var K=Q.length-1;K>=0;K--)J.push("\n at "+p0(Q[K],$)),$.nextPosition=$.curPosition;return $.curPosition=$.nextPosition=null,V+J.reverse().join("")}function i0(B){var Q=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(B.stack);if(Q){var W=Q[1],Z=+Q[2],V=+Q[3],$=b[W];if(!$&&j&&j.existsSync(W))try{$=j.readFileSync(W,"utf8")}catch(K){$=""}if($){var J=$.split(/(?:\r\n|\r|\n)/)[Z-1];if(J)return W+":"+Z+"\n"+J+"\n"+new Array(V).join(" ")+"^"}}return null}function DB(B){var Q=i0(B),W=qB();if(W&&W._handle&&W._handle.setBlocking)W._handle.setBlocking(!0);if(Q)console.error(),console.error(Q);console.error(B.stack),GB(1)}function RB(){var B=process.emit;process.emit=function(Q){if(Q==="uncaughtException"){var W=arguments[1]&&arguments[1].stack,Z=this.listeners(Q).length>0;if(W&&!Z)return DB(arguments[1])}return B.apply(this,arguments)}}var JB=$B().SourceMapConsumer,A1=import.meta.require("path"),j;try{if(j=import.meta.require("fs"),!j.existsSync||!j.readFileSync)j=null}catch(B){}var KB=d0(),h0=!1,g0=!1,P1=!1,p="auto",b={},i={},YB=/^data:application\/json[^,]+base64,/,P=[],_=[],L1=Q1(P);P.push(function(B){if(B=B.trim(),/^file:/.test(B))B=B.replace(/file:\/\/\/(\w:)?/,function(Z,V){return V?"":"/"});if(B in b)return b[B];var Q="";try{if(!j){var W=new XMLHttpRequest;if(W.open("GET",B,!1),W.send(null),W.readyState===4&&W.status===200)Q=W.responseText}else if(j.existsSync(B))Q=j.readFileSync(B,"utf8")}catch(Z){}return b[B]=Q});var M1=Q1(_);_.push(function(B){var Q=OB(B);if(!Q)return null;var W;if(YB.test(Q)){var Z=Q.slice(Q.indexOf(",")+1);W=KB(Z,"base64").toString(),Q=B}else Q=_1(B,Q),W=L1(Q);if(!W)return null;return{url:Q,map:W}});var HB=P.slice(0),TB=_.slice(0);FB.wrapCallSite=p0;FB.getErrorSource=i0;FB.mapSourcePosition=x1;FB.retrieveSourceMap=M1;FB.install=function(B){if(B=B||{},B.environment){if(p=B.environment,["node","browser","auto"].indexOf(p)===-1)throw new Error("environment "+p+" was unknown. Available options are {auto, browser, node}")}if(B.retrieveFile){if(B.overrideRetrieveFile)P.length=0;P.unshift(B.retrieveFile)}if(B.retrieveSourceMap){if(B.overrideRetrieveSourceMap)_.length=0;_.unshift(B.retrieveSourceMap)}if(B.hookRequire&&!N1()){var Q=u0(I1,"module"),W=Q.prototype._compile;if(!W.__sourceMapSupport)Q.prototype._compile=function($,J){return b[J]=$,i[J]=void 0,W.call(this,$,J)},Q.prototype._compile.__sourceMapSupport=!0}if(!P1)P1="emptyCacheBetweenOperations"in B?B.emptyCacheBetweenOperations:!1;if(!h0)h0=!0,Error.prepareStackTrace=wB;if(!g0){var Z="handleUncaughtExceptions"in B?B.handleUncaughtExceptions:!0;try{var V=u0(I1,"worker_threads");if(V.isMainThread===!1)Z=!1}catch($){}if(Z&&XB())g0=!0,RB()}};FB.resetRetrieveHandlers=function(){P.length=0,_.length=0,P=HB.slice(0),_=TB.slice(0),M1=Q1(_),L1=Q1(P)}});var T1=d(f(),1);var H1=d(j0(),1),E0=d(f(),1),A0=(B)=>H1.getLog({brand:"jsx-email",name:E0.default`{bold \u2235 ${B}}`}),T=H1.getLog({brand:"jsx-email"});var P0={acceptCharset:"acceptcharset",accessKey:"accesskey",allowFullScreen:"allowfullscreen",autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",charSet:"charset",className:"class",colSpan:"colspan",contentEditable:"contenteditable",crossOrigin:"crossorigin",dateTime:"datetime",defaultChecked:"checked",defaultSelected:"selected",defaultValue:"value",htmlFor:"for",httpEquiv:"http-equiv",longDesc:"longdesc",maxLength:"maxlength",minLength:"minlength",noModule:"nomodule",noValidate:"novalidate",readOnly:"readonly",referrerPolicy:"referrerpolicy",rowSpan:"rowspan",spellCheck:"spellcheck",tabIndex:"tabindex",useMap:"usemap"},_0=new Set(["async","allowfullscreen","allowpaymentrequest","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","multiple","muted","novalidate","nowrap","open","readonly","required","reversed","selected"]),I0=Object.freeze({}),N0=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function u(B){const Q=String(B),W=u8.exec(Q);if(!W)return Q;let Z,V="",$,J=0;for({index:$}=W;$<Q.length;$++){switch(Q.charCodeAt($)){case x.DOUBLE_QUOTE:Z=""";break;case x.AMPERSAND:Z="&";break;case x.SINGLE_QUOTE:Z="'";break;case x.LESS_THAN:Z="<";break;case x.GREATER_THAN:Z=">";break;default:continue}if(J!==$)V+=Q.slice(J,$);J=$+1,V+=Z}return J!==$?V+Q.slice(J,$):V}var u8=/["'&<>]/,x;(function(B){B[B.DOUBLE_QUOTE=34]="DOUBLE_QUOTE",B[B.AMPERSAND=38]="AMPERSAND",B[B.SINGLE_QUOTE=39]="SINGLE_QUOTE",B[B.LESS_THAN=60]="LESS_THAN",B[B.GREATER_THAN=62]="GREATER_THAN"})(x||(x={}));function c8(B){return`-${B.toLowerCase()}`}function p8(B){return B.replace(h8,c8).replace(g8,"-ms-")}function M0(B){const Q=[];for(let W of Object.keys(B)){const Z=B[W];if(Z!=null){const V=typeof Z==="number"&&Z!==0&&!m8.has(W)?"px":"",$=L0[W]||(L0[W]=p8(W));Q.push(`${$}:${typeof Z==="number"?Z:u(Z)}${V}`)}}return Q.join(";")}var h8=/([A-Z])/g,g8=/^ms-/,m8=new Set(["animationIterationCount","columns","columnCount","flex","flexGrow","flexShrink","fontWeight","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom"]),L0={};async function F(B){if(B==null)return"";if(typeof B==="string")return u(B);else if(typeof B==="number")return String(B);else if(typeof B==="boolean"||B==null)return"";else if(i8(B)){let Z="";for(let V of B)Z+=await F(V);return Z}if(typeof B.$$typeof!=="symbol")throw T.error(T1.default`{red Unsupported JSX element}:`,B),new Error("Unsupported JSX element");const{type:Q}=B,W=B.props||I0;if(typeof Q==="string"){let Z=`<${Q}`,V="";for(let $ of Object.keys(W)){const J=W[$];if($==="children"||$==="key"||$==="ref"||J==null);else if($==="class"||$==="className")Z+=J?` class="${u(J)}"`:"";else if($==="style")Z+=` style="${M0(J)}"`;else if($==="dangerouslySetInnerHTML")V=J.__html;else{const K=P0[$]||$;if(_0.has(K))Z+=J?` ${K}`:"";else if(typeof J==="string")Z+=` ${K}="${u(J)}"`;else if(typeof J==="number")Z+=` ${K}="${String(J)}"`;else if(typeof J==="boolean")Z+=` ${K}="${J}"`}}if(N0.has(Q))Z+="/>";else{if(Z+=">",V)Z+=V;else Z+=await F(W.children);Z+=`</${Q}>`}return Z}else if(Q){if(typeof Q==="function"){const Z=await F(Q(W)),V=Q.$$typeof;if(V&&Symbol.keyFor(V)==="react.provider")Q.context.pop();return Z}else if(typeof Q==="symbol"){const Z=Symbol.keyFor(Q);if(Z==="react.fragment")return F(W.children);else if(Z==="react.suspense")return await x0(W.children)}else if(n8(Q))return F(Q.render(W,W.ref));else if(Q.$$typeof){const Z=Symbol.keyFor(Q.$$typeof);if(Z==="react.provider")Q.context.pop();else if(Z==="react.context")return F(W.children)}throw T.error(T1.default`{red Unsupported JSX element}:`,Q),new Error(`Unsupported JSX element type ${JSON.stringify(Q)}`)}return""}function i8(B){return typeof B==="object"&&B!==null&&Symbol.iterator in B}function n8(B){return typeof B==="object"&&B!==null&&"render"in B&&"$$typeof"in B&&typeof B.$$typeof==="symbol"&&Symbol.keyFor(B.$$typeof)==="react.forward_ref"}var x0=async(B)=>{try{return await F(B)}catch(Q){if(Q instanceof Promise)return await Q,x0(B);throw Q}};var I=d(f(),1);import{AssertionError as NB}from"assert";function r8(B){return["package.json",`.${B}rc.json`,`.${B}rc.js`,`.${B}rc.cjs`,`.${B}rc.mjs`,`.config/${B}rc`,`.config/${B}rc.json`,`.config/${B}rc.js`,`.config/${B}rc.cjs`,`.config/${B}rc.mjs`,`${B}.config.js`,`${B}.config.cjs`,`${B}.config.mjs`]}function b0(B){return k.dirname(B)||k.sep}function a8(B,Q){const W={startDir:process.cwd(),stopDir:l8.homedir(),searchPlaces:r8(B),ignoreEmptySearchPlaces:!0,cache:!0,transform:(Z)=>Z,packageProp:[B],...Q,loaders:{...s8,...Q.loaders}};return W.searchPlaces.forEach((Z)=>{const V=k.extname(Z)||"noExt",$=W.loaders[V];if(!$)throw new Error(`Missing loader for extension "${Z}"`);if(typeof $!=="function")throw new Error(`Loader for extension "${Z}" is not a function: Received ${typeof $}.`)}),W}function C0(B,Q){if(typeof B==="string"&&B in Q)return Q[B];return(Array.isArray(B)?B:B.split(".")).reduce((W,Z)=>W===void 0?W:W[Z],Q)||null}function o8(B){if(!B)throw new Error("load must pass a non-empty string")}function v0(B,Q){if(!B)throw new Error(`No loader specified for extension "${Q}"`);if(typeof B!=="function")throw new Error("loader is not a function")}var k=import.meta.require("path"),f0=import.meta.require("fs"),l8=import.meta.require("os"),k0=f0.promises.readFile,S0=(B,Q)=>JSON.parse(Q),F1=async(B)=>{try{const Q=await import(B);return Q.default||Q}catch(Q){try{return import.meta.require(B)}catch(W){if(W.code==="ERR_REQUIRE_ESM"||W instanceof SyntaxError&&W.toString().includes("Cannot use import statement outside a module"))throw Q;throw W}}},s8=Object.freeze({".js":F1,".mjs":F1,".cjs":F1,".json":S0,noExt:S0});var t8=(B)=>(Q,W,Z)=>{if(B)Q.set(W,Z);return Z};var j1=function B(Q,W){const{ignoreEmptySearchPlaces:Z,loaders:V,packageProp:$,searchPlaces:J,startDir:K,stopDir:X,transform:Y,cache:q}=a8(Q,W??{}),E=new Map,N=new Map,V1=t8(q);return{async search(r=K){const z={config:null,filepath:""},h=new Set;let H=r;B:while(!0){if(q){const O=E.get(H);if(O!==void 0){for(let U of h)E.set(U,O);return O}h.add(H)}for(let O of J){const U=k.join(H,O);try{await f0.promises.access(U)}catch{continue}const L=String(await k0(U)),M=k.extname(O)||"noExt",m=V[M];if(O==="package.json"){const Z8=await m(U,L),f1=C0($,Z8);if(f1!=null){z.config=f1,z.filepath=U;break B}continue}const v1=L.trim()==="";if(v1&&Z)continue;if(v1)z.isEmpty=!0,z.config=void 0;else v0(m,M),z.config=await m(U,L);z.filepath=U;break B}if(H===X||H===b0(H))break B;H=b0(H)}const g=z.filepath===""&&z.config===null?Y(null):Y(z);if(q)for(let O of h)E.set(O,g);return g},async load(r){o8(r);const z=k.resolve(process.cwd(),r);if(q&&N.has(z))return N.get(z);const{base:h,ext:H}=k.parse(z),g=H||"noExt",O=V[g];v0(O,g);const U=String(await k0(z));if(h==="package.json"){const m=await O(z,U);return V1(N,z,Y({config:C0($,m),filepath:z}))}const L={config:null,filepath:z},M=U.trim()==="";if(M&&Z)return V1(N,z,Y({config:void 0,filepath:z,isEmpty:!0}));return L.config=M?void 0:await O(z,U),V1(N,z,Y(M?{...L,isEmpty:M,config:void 0}:L))},clearLoadCache(){if(q)N.clear()},clearSearchCache(){if(q)E.clear()},clearCaches(){if(q)N.clear(),E.clear()}}};var k1=d(f(),1),l0=d(n0(),1);l0.default.install();var r0=Symbol.for("jsx-email/plugin"),b1=async(B,Q)=>{const W=await n();for(let Z of W.plugins){const{log:V}=Z,$=Z[B];if($)Q=await $({chalk:k1.default,html:Q,log:V})}return Q},s0=async(B)=>{const Q=await n();for(let{log:W,process:Z}of Q.plugins)if(Z){const V=await Z({chalk:k1.default,log:W});B.use(V)}};var a0=Symbol.for("jsx-email/config"),o0={logLevel:"info",plugins:[],render:{disableDefaultStyle:!1,minify:!1,plainText:!1,pretty:!1}},W1=Symbol.for("jsx-email/global/config");var l={inline:"@jsx-email/plugin-inline",minify:"@jsx-email/plugin-minify",pretty:"@jsx-email/plugin-pretty"},LB=(B,Q)=>{if(!B)return;const W="did not have the required 'symbol' property set correctly, and it can't be verified as a valid plugin",Z=Q?I.default`{red jsx-email}: A plugin imported from '${Q}' ${W}`:I.default`{red jsx-email}: The plugin named '${B.name}' ${W}`;if(B.symbol!==r0)throw T.error(Z),new NB({message:Z})},MB=(B,Q)=>{if(!B)return;const W="did not have the required 'name' property",Z=Q?I.default`{red jsx-email}: A plugin imported from '${Q}' ${W}`:I.default`{red jsx-email}: A plugin added to the config ${W}`;if(!B.name)T.error(Z),process.exit(1)},S1=async(B)=>{try{const{plugin:Q}=await import(B);return LB(Q,B),MB(Q,B),Q}catch(Q){if(Q.code==="ERR_MODULE_NOT_FOUND")T.error(I.default`{red jsx-email}: Tried to import a plugin '${B}' but it wasn't found`);else T.error(Q)}return null},Z1=async(B={})=>{if(typeof B==="function"){const Z=await B();return Z1(Z)}const Q=structuredClone(o0);if(!B.render?.plainText){const Z=await S1(l.inline);if(Z)Q.plugins.push(Z);if(B.render?.minify){const V=await S1(l.minify);if(V)Q.plugins.push(V)}if(B.render?.pretty){const V=await S1(l.minify);if(V)Q.plugins.push(V)}if(B.render?.minify&&B.render.pretty)T.warn(I.default`{yellow jsx-email}: Both minify and pretty options are true. Please choose only one.`);if((B.render?.minify||B.render?.pretty)&&B.render?.plainText)T.warn(I.default`{yellow jsx-email}: plaintText has been enabled, minify and pretty will have no effect.`),Q.plugins=Q.plugins.filter(({name:V})=>V!==l.minify&&V!==l.pretty)}const W=await C1(B,Q);for(let Z of W.plugins||[])Z.log=A0(Z.name);return W.symbol=a0,W},n=async(B)=>{if(globalThis[W1])return globalThis[W1];const Q="jsx-email",Z=(await j1(Q,{searchPlaces:[`.config/${Q}rc.js`,`.config/${Q}rc.cjs`,`.config/${Q}rc.mjs`,`.config/${Q}.config.js`,`.config/${Q}.config.cjs`,`.config/${Q}.config.mjs`,`.${Q}rc.js`,`.${Q}rc.cjs`,`.${Q}rc.mjs`,`${Q}.config.js`,`${Q}.config.cjs`,`${Q}.config.mjs`],...B?{startDir:B}:{}}).search())?.config??{},$=(Z.config instanceof Promise?await Z.config:Z.config)??{...o0};if($.symbol===a0)return globalThis[W1]=$,$;const J=await Z1($);return process.env.DOT_LOG_LEVEL=J.logLevel||"info",globalThis[W1]=J,J},C1=async(B,Q)=>{const{default:W}=await import("../chunk-3vasf2wf.js"),Z=B.plugins||[],V=Q.plugins||[];return delete B.plugins,delete Q.plugins,{...W(B,Q),plugins:[...Z,...V]}};var t0=async()=>{const{visit:B}=await import("../chunk-d3vvh6x2.js");return function Q(){return function W(Z){const V=[];let $;if(B(Z,"element",(J,K,X)=>{if(J.tagName==="head")$=J;if(X&&J.tagName==="style"&&(X.type!=="element"||X.tagName!=="head")){const Y=J;Y.parent=X,Y.index=X.children.indexOf(J),V.push(Y)}}),$){$.children.push(...V);for(let J of V)J.parent.children.splice(J.index,1)}}}};var xB=["jsx-email-cond"],kB=async(B,Q)=>{const W=await F(B);return e0(W,{selectors:[{format:"skip",selector:"img"},{format:"skip",selector:'[data-skip="true"]'},{options:{linkBrackets:!1},selector:"a"}],...Q})},B8=async(B,Q)=>{let W=await n();if(W.render.plainText||Q?.plainText)return kB(B,typeof Q?.plainText==="object"?Q.plainText:{});const Z={render:Q};if(Q){const{symbol:$,...J}=W;W=await Z1(await C1(J,Z))}let V=await F(B);return V=await b1("beforeRender",V),V=await bB(V),V=await b1("afterRender",V),V},bB=async(B)=>{const{rehype:Q}=await import("../chunk-wrz50ar3.js"),{default:W}=await import("../chunk-grva5cgq.js"),V=await t0(),$={emitParseErrors:!0},J=new RegExp(`<[/]?(${xB.join("|")})>`,"g"),K=Q().data("settings",$);K.use(V),await s0(K);const X=await K.use(W,{allowDangerousCharacters:!0,allowDangerousHtml:!0,closeEmptyElements:!0,collapseEmptyAttributes:!0}).process(B);let Y='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'+String(X).replace("<!doctype html>","").replace("<head></head>","");return Y=Y.replace(J,""),Y};import{jsxDEV as SB}from"react/jsx-dev-runtime";class W8{from="";to=[];subject="No Subject";cc=[];bcc=[];attachments=[];template;static async send(B){const Q=new this,{to:W=Q.to,from:Z=Q.from,subject:V=Q.subject,cc:$=Q.cc,bcc:J=Q.bcc,attachments:K=Q.attachments,data:X}=B,Y=await Q.render(X);if(process.env.EMAIL_DEBUG==="true"){const q=`${process.env.ROOT_DIR}/.debug/emails/${new Date().toISOString()}${V}.html`;await Bun.write(q,Y),Bun.spawnSync(["open",q]);return}await Q8.use().service.driver.send({bcc:J,cc:$,from:Z,subject:V,to:W,attachments:K,html:Y})}async render(B){const Q=this.template;return await B8(SB(Q,{...B},void 0,!1,void 0,this))}}export{W8 as Email};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
4
|
+
//# debugId=EE0057DED8FC044964756E2164756E21
|
package/dist/email/index.js.map
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../node_modules/ansi-styles/index.js", "../../../node_modules/has-flag/index.js", "../../../node_modules/supports-color/index.js", "../../../node_modules/chalk/source/util.js", "../../../node_modules/chalk/source/templates.js", "../../../node_modules/chalk/source/index.js", "../../../node_modules/loglevelnext/dist/index.js", "../../../node_modules/p-defer/index.js", "../../../node_modules/@dot/log/dist/LogFactory.js", "../../../node_modules/@dot/log/dist/index.js", "../../../node_modules/buffer-from/index.js", "../../../node_modules/source-map-support/source-map-support.js", "../../../node_modules/jsx-email/dist/esm/renderer/jsx-to-string.js", "../../../node_modules/jsx-email/dist/esm/log.js", "../../../node_modules/jsx-email/dist/esm/renderer/constants.js", "../../../node_modules/jsx-email/dist/esm/renderer/escape-string.js", "../../../node_modules/jsx-email/dist/esm/renderer/stringify-styles.js", "../../../node_modules/jsx-email/dist/esm/config.js", "../../../node_modules/@shellscape/lilconfig/src/index.js", "../../../node_modules/jsx-email/dist/esm/plugins.js", "../../../node_modules/jsx-email/dist/esm/renderer/move-style.js", "../../../node_modules/jsx-email/dist/esm/renderer/render.js", "../email/Email.tsx"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"'use strict';\n\nconst wrapAnsi16 = (fn, offset) => (...args) => {\n\tconst code = fn(...args);\n\treturn `\\u001B[${code + offset}m`;\n};\n\nconst wrapAnsi256 = (fn, offset) => (...args) => {\n\tconst code = fn(...args);\n\treturn `\\u001B[${38 + offset};5;${code}m`;\n};\n\nconst wrapAnsi16m = (fn, offset) => (...args) => {\n\tconst rgb = fn(...args);\n\treturn `\\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;\n};\n\nconst ansi2ansi = n => n;\nconst rgb2rgb = (r, g, b) => [r, g, b];\n\nconst setLazyProperty = (object, property, get) => {\n\tObject.defineProperty(object, property, {\n\t\tget: () => {\n\t\t\tconst value = get();\n\n\t\t\tObject.defineProperty(object, property, {\n\t\t\t\tvalue,\n\t\t\t\tenumerable: true,\n\t\t\t\tconfigurable: true\n\t\t\t});\n\n\t\t\treturn value;\n\t\t},\n\t\tenumerable: true,\n\t\tconfigurable: true\n\t});\n};\n\n/** @type {typeof import('color-convert')} */\nlet colorConvert;\nconst makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => {\n\tif (colorConvert === undefined) {\n\t\tcolorConvert = require('color-convert');\n\t}\n\n\tconst offset = isBackground ? 10 : 0;\n\tconst styles = {};\n\n\tfor (const [sourceSpace, suite] of Object.entries(colorConvert)) {\n\t\tconst name = sourceSpace === 'ansi16' ? 'ansi' : sourceSpace;\n\t\tif (sourceSpace === targetSpace) {\n\t\t\tstyles[name] = wrap(identity, offset);\n\t\t} else if (typeof suite === 'object') {\n\t\t\tstyles[name] = wrap(suite[targetSpace], offset);\n\t\t}\n\t}\n\n\treturn styles;\n};\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\tconst styles = {\n\t\tmodifier: {\n\t\t\treset: [0, 0],\n\t\t\t// 21 isn't widely supported and 22 does the same thing\n\t\t\tbold: [1, 22],\n\t\t\tdim: [2, 22],\n\t\t\titalic: [3, 23],\n\t\t\tunderline: [4, 24],\n\t\t\tinverse: [7, 27],\n\t\t\thidden: [8, 28],\n\t\t\tstrikethrough: [9, 29]\n\t\t},\n\t\tcolor: {\n\t\t\tblack: [30, 39],\n\t\t\tred: [31, 39],\n\t\t\tgreen: [32, 39],\n\t\t\tyellow: [33, 39],\n\t\t\tblue: [34, 39],\n\t\t\tmagenta: [35, 39],\n\t\t\tcyan: [36, 39],\n\t\t\twhite: [37, 39],\n\n\t\t\t// Bright color\n\t\t\tblackBright: [90, 39],\n\t\t\tredBright: [91, 39],\n\t\t\tgreenBright: [92, 39],\n\t\t\tyellowBright: [93, 39],\n\t\t\tblueBright: [94, 39],\n\t\t\tmagentaBright: [95, 39],\n\t\t\tcyanBright: [96, 39],\n\t\t\twhiteBright: [97, 39]\n\t\t},\n\t\tbgColor: {\n\t\t\tbgBlack: [40, 49],\n\t\t\tbgRed: [41, 49],\n\t\t\tbgGreen: [42, 49],\n\t\t\tbgYellow: [43, 49],\n\t\t\tbgBlue: [44, 49],\n\t\t\tbgMagenta: [45, 49],\n\t\t\tbgCyan: [46, 49],\n\t\t\tbgWhite: [47, 49],\n\n\t\t\t// Bright color\n\t\t\tbgBlackBright: [100, 49],\n\t\t\tbgRedBright: [101, 49],\n\t\t\tbgGreenBright: [102, 49],\n\t\t\tbgYellowBright: [103, 49],\n\t\t\tbgBlueBright: [104, 49],\n\t\t\tbgMagentaBright: [105, 49],\n\t\t\tbgCyanBright: [106, 49],\n\t\t\tbgWhiteBright: [107, 49]\n\t\t}\n\t};\n\n\t// Alias bright black as gray (and grey)\n\tstyles.color.gray = styles.color.blackBright;\n\tstyles.bgColor.bgGray = styles.bgColor.bgBlackBright;\n\tstyles.color.grey = styles.color.blackBright;\n\tstyles.bgColor.bgGrey = styles.bgColor.bgBlackBright;\n\n\tfor (const [groupName, group] of Object.entries(styles)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\n\tObject.defineProperty(styles, 'codes', {\n\t\tvalue: codes,\n\t\tenumerable: false\n\t});\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tsetLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, false));\n\tsetLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, false));\n\tsetLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, false));\n\tsetLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, true));\n\tsetLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, true));\n\tsetLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, true));\n\n\treturn styles;\n}\n\n// Make the export immutable\nObject.defineProperty(module, 'exports', {\n\tenumerable: true,\n\tget: assembleStyles\n});\n",
|
|
6
|
+
"'use strict';\n\nmodule.exports = (flag, argv = process.argv) => {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n};\n",
|
|
7
|
+
"'use strict';\nconst os = require('os');\nconst tty = require('tty');\nconst hasFlag = require('has-flag');\n\nconst {env} = process;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false') ||\n\thasFlag('color=never')) {\n\tforceColor = 0;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = 1;\n}\n\nif ('FORCE_COLOR' in env) {\n\tif (env.FORCE_COLOR === 'true') {\n\t\tforceColor = 1;\n\t} else if (env.FORCE_COLOR === 'false') {\n\t\tforceColor = 0;\n\t} else {\n\t\tforceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(haveStream, streamIsTTY) {\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream, stream && stream.isTTY);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: translateLevel(supportsColor(true, tty.isatty(1))),\n\tstderr: translateLevel(supportsColor(true, tty.isatty(2)))\n};\n",
|
|
8
|
+
"'use strict';\n\nconst stringReplaceAll = (string, substring, replacer) => {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) {\n\t\treturn string;\n\t}\n\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\treturnValue += string.substr(endIndex, index - endIndex) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.substr(endIndex);\n\treturn returnValue;\n};\n\nconst stringEncaseCRLFWithFirstIndex = (string, prefix, postfix, index) => {\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\tconst gotCR = string[index - 1] === '\\r';\n\t\treturnValue += string.substr(endIndex, (gotCR ? index - 1 : index) - endIndex) + prefix + (gotCR ? '\\r\\n' : '\\n') + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf('\\n', endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.substr(endIndex);\n\treturn returnValue;\n};\n\nmodule.exports = {\n\tstringReplaceAll,\n\tstringEncaseCRLFWithFirstIndex\n};\n",
|
|
9
|
+
"'use strict';\nconst TEMPLATE_REGEX = /(?:\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.))|(?:\\{(~)?(\\w+(?:\\([^)]*\\))?(?:\\.\\w+(?:\\([^)]*\\))?)*)(?:[ \\t]|(?=\\r?\\n)))|(\\})|((?:.|[\\r\\n\\f])+?)/gi;\nconst STYLE_REGEX = /(?:^|\\.)(\\w+)(?:\\(([^)]*)\\))?/g;\nconst STRING_REGEX = /^(['\"])((?:\\\\.|(?!\\1)[^\\\\])*)\\1$/;\nconst ESCAPE_REGEX = /\\\\(u(?:[a-f\\d]{4}|{[a-f\\d]{1,6}})|x[a-f\\d]{2}|.)|([^\\\\])/gi;\n\nconst ESCAPES = new Map([\n\t['n', '\\n'],\n\t['r', '\\r'],\n\t['t', '\\t'],\n\t['b', '\\b'],\n\t['f', '\\f'],\n\t['v', '\\v'],\n\t['0', '\\0'],\n\t['\\\\', '\\\\'],\n\t['e', '\\u001B'],\n\t['a', '\\u0007']\n]);\n\nfunction unescape(c) {\n\tconst u = c[0] === 'u';\n\tconst bracket = c[1] === '{';\n\n\tif ((u && !bracket && c.length === 5) || (c[0] === 'x' && c.length === 3)) {\n\t\treturn String.fromCharCode(parseInt(c.slice(1), 16));\n\t}\n\n\tif (u && bracket) {\n\t\treturn String.fromCodePoint(parseInt(c.slice(2, -1), 16));\n\t}\n\n\treturn ESCAPES.get(c) || c;\n}\n\nfunction parseArguments(name, arguments_) {\n\tconst results = [];\n\tconst chunks = arguments_.trim().split(/\\s*,\\s*/g);\n\tlet matches;\n\n\tfor (const chunk of chunks) {\n\t\tconst number = Number(chunk);\n\t\tif (!Number.isNaN(number)) {\n\t\t\tresults.push(number);\n\t\t} else if ((matches = chunk.match(STRING_REGEX))) {\n\t\t\tresults.push(matches[2].replace(ESCAPE_REGEX, (m, escape, character) => escape ? unescape(escape) : character));\n\t\t} else {\n\t\t\tthrow new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);\n\t\t}\n\t}\n\n\treturn results;\n}\n\nfunction parseStyle(style) {\n\tSTYLE_REGEX.lastIndex = 0;\n\n\tconst results = [];\n\tlet matches;\n\n\twhile ((matches = STYLE_REGEX.exec(style)) !== null) {\n\t\tconst name = matches[1];\n\n\t\tif (matches[2]) {\n\t\t\tconst args = parseArguments(name, matches[2]);\n\t\t\tresults.push([name].concat(args));\n\t\t} else {\n\t\t\tresults.push([name]);\n\t\t}\n\t}\n\n\treturn results;\n}\n\nfunction buildStyle(chalk, styles) {\n\tconst enabled = {};\n\n\tfor (const layer of styles) {\n\t\tfor (const style of layer.styles) {\n\t\t\tenabled[style[0]] = layer.inverse ? null : style.slice(1);\n\t\t}\n\t}\n\n\tlet current = chalk;\n\tfor (const [styleName, styles] of Object.entries(enabled)) {\n\t\tif (!Array.isArray(styles)) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (!(styleName in current)) {\n\t\t\tthrow new Error(`Unknown Chalk style: ${styleName}`);\n\t\t}\n\n\t\tcurrent = styles.length > 0 ? current[styleName](...styles) : current[styleName];\n\t}\n\n\treturn current;\n}\n\nmodule.exports = (chalk, temporary) => {\n\tconst styles = [];\n\tconst chunks = [];\n\tlet chunk = [];\n\n\t// eslint-disable-next-line max-params\n\ttemporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {\n\t\tif (escapeCharacter) {\n\t\t\tchunk.push(unescape(escapeCharacter));\n\t\t} else if (style) {\n\t\t\tconst string = chunk.join('');\n\t\t\tchunk = [];\n\t\t\tchunks.push(styles.length === 0 ? string : buildStyle(chalk, styles)(string));\n\t\t\tstyles.push({inverse, styles: parseStyle(style)});\n\t\t} else if (close) {\n\t\t\tif (styles.length === 0) {\n\t\t\t\tthrow new Error('Found extraneous } in Chalk template literal');\n\t\t\t}\n\n\t\t\tchunks.push(buildStyle(chalk, styles)(chunk.join('')));\n\t\t\tchunk = [];\n\t\t\tstyles.pop();\n\t\t} else {\n\t\t\tchunk.push(character);\n\t\t}\n\t});\n\n\tchunks.push(chunk.join(''));\n\n\tif (styles.length > 0) {\n\t\tconst errMessage = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? '' : 's'} (\\`}\\`)`;\n\t\tthrow new Error(errMessage);\n\t}\n\n\treturn chunks.join('');\n};\n",
|
|
10
|
+
"'use strict';\nconst ansiStyles = require('ansi-styles');\nconst {stdout: stdoutColor, stderr: stderrColor} = require('supports-color');\nconst {\n\tstringReplaceAll,\n\tstringEncaseCRLFWithFirstIndex\n} = require('./util');\n\nconst {isArray} = Array;\n\n// `supportsColor.level` → `ansiStyles.color[name]` mapping\nconst levelMapping = [\n\t'ansi',\n\t'ansi',\n\t'ansi256',\n\t'ansi16m'\n];\n\nconst styles = Object.create(null);\n\nconst applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {\n\t\tthrow new Error('The `level` option should be an integer from 0 to 3');\n\t}\n\n\t// Detect level if not set manually\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === undefined ? colorLevel : options.level;\n};\n\nclass ChalkClass {\n\tconstructor(options) {\n\t\t// eslint-disable-next-line no-constructor-return\n\t\treturn chalkFactory(options);\n\t}\n}\n\nconst chalkFactory = options => {\n\tconst chalk = {};\n\tapplyOptions(chalk, options);\n\n\tchalk.template = (...arguments_) => chalkTag(chalk.template, ...arguments_);\n\n\tObject.setPrototypeOf(chalk, Chalk.prototype);\n\tObject.setPrototypeOf(chalk.template, chalk);\n\n\tchalk.template.constructor = () => {\n\t\tthrow new Error('`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.');\n\t};\n\n\tchalk.template.Instance = ChalkClass;\n\n\treturn chalk.template;\n};\n\nfunction Chalk(options) {\n\treturn chalkFactory(options);\n}\n\nfor (const [styleName, style] of Object.entries(ansiStyles)) {\n\tstyles[styleName] = {\n\t\tget() {\n\t\t\tconst builder = createBuilder(this, createStyler(style.open, style.close, this._styler), this._isEmpty);\n\t\t\tObject.defineProperty(this, styleName, {value: builder});\n\t\t\treturn builder;\n\t\t}\n\t};\n}\n\nstyles.visible = {\n\tget() {\n\t\tconst builder = createBuilder(this, this._styler, true);\n\t\tObject.defineProperty(this, 'visible', {value: builder});\n\t\treturn builder;\n\t}\n};\n\nconst usedModels = ['rgb', 'hex', 'keyword', 'hsl', 'hsv', 'hwb', 'ansi', 'ansi256'];\n\nfor (const model of usedModels) {\n\tstyles[model] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_), ansiStyles.color.close, this._styler);\n\t\t\t\treturn createBuilder(this, styler, this._isEmpty);\n\t\t\t};\n\t\t}\n\t};\n}\n\nfor (const model of usedModels) {\n\tconst bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_), ansiStyles.bgColor.close, this._styler);\n\t\t\t\treturn createBuilder(this, styler, this._isEmpty);\n\t\t\t};\n\t\t}\n\t};\n}\n\nconst proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this._generator.level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis._generator.level = level;\n\t\t}\n\t}\n});\n\nconst createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === undefined) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent\n\t};\n};\n\nconst createBuilder = (self, _styler, _isEmpty) => {\n\tconst builder = (...arguments_) => {\n\t\tif (isArray(arguments_[0]) && isArray(arguments_[0].raw)) {\n\t\t\t// Called as a template literal, for example: chalk.red`2 + 3 = {bold ${2+3}}`\n\t\t\treturn applyStyle(builder, chalkTag(builder, ...arguments_));\n\t\t}\n\n\t\t// Single argument is hot path, implicit coercion is faster than anything\n\t\t// eslint-disable-next-line no-implicit-coercion\n\t\treturn applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));\n\t};\n\n\t// We alter the prototype because we must return a function, but there is\n\t// no way to create a function with a different prototype\n\tObject.setPrototypeOf(builder, proto);\n\n\tbuilder._generator = self;\n\tbuilder._styler = _styler;\n\tbuilder._isEmpty = _isEmpty;\n\n\treturn builder;\n};\n\nconst applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) {\n\t\treturn self._isEmpty ? '' : string;\n\t}\n\n\tlet styler = self._styler;\n\n\tif (styler === undefined) {\n\t\treturn string;\n\t}\n\n\tconst {openAll, closeAll} = styler;\n\tif (string.indexOf('\\u001B') !== -1) {\n\t\twhile (styler !== undefined) {\n\t\t\t// Replace any instances already present with a re-opening code\n\t\t\t// otherwise only the part of the string until said closing code\n\t\t\t// will be colored, and the rest will simply be 'plain'.\n\t\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\n\t\t\tstyler = styler.parent;\n\t\t}\n\t}\n\n\t// We can move both next actions out of loop, because remaining actions in loop won't have\n\t// any/visible effect on parts we add here. Close the styling before a linebreak and reopen\n\t// after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92\n\tconst lfIndex = string.indexOf('\\n');\n\tif (lfIndex !== -1) {\n\t\tstring = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\t}\n\n\treturn openAll + string + closeAll;\n};\n\nlet template;\nconst chalkTag = (chalk, ...strings) => {\n\tconst [firstString] = strings;\n\n\tif (!isArray(firstString) || !isArray(firstString.raw)) {\n\t\t// If chalk() was called by itself or with a string,\n\t\t// return the string itself as a string.\n\t\treturn strings.join(' ');\n\t}\n\n\tconst arguments_ = strings.slice(1);\n\tconst parts = [firstString.raw[0]];\n\n\tfor (let i = 1; i < firstString.length; i++) {\n\t\tparts.push(\n\t\t\tString(arguments_[i - 1]).replace(/[{}\\\\]/g, '\\\\$&'),\n\t\t\tString(firstString.raw[i])\n\t\t);\n\t}\n\n\tif (template === undefined) {\n\t\ttemplate = require('./templates');\n\t}\n\n\treturn template(chalk, parts.join(''));\n};\n\nObject.defineProperties(Chalk.prototype, styles);\n\nconst chalk = Chalk(); // eslint-disable-line new-cap\nchalk.supportsColor = stdoutColor;\nchalk.stderr = Chalk({level: stderrColor ? stderrColor.level : 0}); // eslint-disable-line new-cap\nchalk.stderr.supportsColor = stderrColor;\n\nmodule.exports = chalk;\n",
|
|
11
|
+
"\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n LogLevel: () => LogLevel,\n MethodFactory: () => MethodFactory,\n PrefixFactory: () => PrefixFactory,\n default: () => src_default,\n defaultLevels: () => defaultLevels\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/MethodFactory.ts\nvar defaultLevels = {\n TRACE: 0,\n DEBUG: 1,\n INFO: 2,\n WARN: 3,\n ERROR: 4,\n SILENT: 5\n};\nvar levels = Symbol(\"log-levels\");\nvar instance = Symbol(\"log-instance\");\nvar noop = () => {\n};\nvar MethodFactory = class {\n constructor(logger) {\n this[instance] = logger;\n this[levels] = defaultLevels;\n }\n // @ts-ignore\n get levels() {\n return this[levels];\n }\n get logger() {\n return this[instance];\n }\n get methods() {\n return Object.keys(this.levels).map((key) => key.toLowerCase()).filter((key) => key !== \"silent\");\n }\n set logger(logger) {\n this[instance] = logger;\n }\n // eslint-disable-next-line class-methods-use-this\n bindMethod(obj, methodName) {\n const method = obj[methodName];\n if (typeof method.bind === \"function\") {\n return method.bind(obj);\n }\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n return function result() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n distillLevel(level) {\n let value;\n if (typeof level === \"string\") {\n const levels2 = this.levels;\n value = levels2[level.toUpperCase()];\n } else {\n value = level;\n }\n if (this.levelValid(value))\n return value;\n return null;\n }\n levelValid(level) {\n const max = Math.max(...Object.values(this.levels));\n if (typeof level === \"number\" && level >= 0 && level <= max) {\n return true;\n }\n return false;\n }\n /**\n * Build the best logging method possible for this env\n * Wherever possible we want to bind, not wrap, to preserve stack traces.\n * Since we're targeting modern browsers, there's no need to wait for the\n * console to become available.\n */\n // eslint-disable-next-line class-methods-use-this\n make(methodName) {\n const target = console;\n if (typeof target[methodName] !== \"undefined\") {\n return this.bindMethod(target, methodName);\n } else if (typeof console.log !== \"undefined\") {\n return this.bindMethod(target, \"log\");\n }\n return noop;\n }\n replaceMethods(logLevel) {\n const level = this.distillLevel(logLevel);\n if (level === null) {\n throw new Error(`loglevelnext: replaceMethods() called with invalid level: ${logLevel}`);\n }\n if (!this.logger || this.logger.type !== \"LogLevel\") {\n throw new TypeError(\n \"loglevelnext: Logger is undefined or invalid. Please specify a valid Logger instance.\"\n );\n }\n this.methods.forEach((methodName) => {\n const { [methodName.toUpperCase()]: methodLevel } = this.levels;\n this.logger[methodName] = methodLevel < level ? noop : this.make(methodName);\n });\n this.logger.log = this.logger.debug;\n }\n};\ninstance, levels;\n\n// src/PrefixFactory.ts\nvar defaults = {\n level: (opts) => `[${opts.level}]`,\n name: (opts) => opts.logger.name,\n template: \"{{time}} {{level}} \",\n time: () => (/* @__PURE__ */ new Date()).toTimeString().split(\" \")[0]\n};\nvar PrefixFactory = class extends MethodFactory {\n constructor(logger, options) {\n super(logger);\n this.options = Object.assign({}, defaults, options);\n }\n interpolate(level) {\n return this.options.template.replace(/{{([^{}]*)}}/g, (stache, prop) => {\n const fn = this.options[prop];\n if (typeof fn === \"function\") {\n return fn({ level, logger: this.logger });\n }\n return stache;\n });\n }\n make(methodName) {\n const og = super.make(methodName);\n return (...args) => {\n const output = this.interpolate(methodName);\n const [first] = args;\n if (typeof first === \"string\") {\n args[0] = output + first;\n } else {\n args.unshift(output);\n }\n og(...args);\n };\n }\n};\n\n// src/LogLevel.ts\nvar defaults2 = {\n factory: void 0,\n level: \"warn\",\n name: (+/* @__PURE__ */ new Date()).toString(),\n prefix: void 0\n};\nvar LogLevel = class {\n constructor(options) {\n this.type = \"LogLevel\";\n this.options = Object.assign({}, defaults2, options);\n this.methodFactory = options.factory;\n if (!this.methodFactory) {\n const factory = options.prefix ? new PrefixFactory(this, options.prefix) : new MethodFactory(this);\n this.methodFactory = factory;\n }\n if (!this.methodFactory.logger) {\n this.methodFactory.logger = this;\n }\n this.name = options.name || \"<unknown>\";\n this.level = this.options.level ?? \"trace\";\n }\n get level() {\n return this.currentLevel;\n }\n get levels() {\n return this.methodFactory.levels;\n }\n get factory() {\n return this.methodFactory;\n }\n set factory(factory) {\n factory.logger = this;\n this.methodFactory = factory;\n this.methodFactory.replaceMethods(this.level);\n }\n set level(logLevel) {\n const level = this.methodFactory.distillLevel(logLevel);\n if (level === false || level == null) {\n throw new RangeError(`loglevelnext: setLevel() called with invalid level: ${logLevel}`);\n }\n this.currentLevel = level;\n this.methodFactory.replaceMethods(level);\n const max = Math.max(...Object.values(this.levels));\n if (typeof console === \"undefined\") {\n process.stdout.write(\"loglevelnext: console is undefined. The log will produce no output.\\n\");\n } else if (level > max) {\n console.warn(\n `The log level has been set to a value greater than 'silent'. The log will produce no output.`\n );\n }\n }\n disable() {\n const levels2 = this.levels;\n if (levels2.SILENT) {\n this.level = levels2.SILENT;\n } else {\n console.warn(\n `loglevelnext: no 'silent' level defined. The log cannot be disabled. You may want to override the 'disable' method.`\n );\n }\n }\n enable() {\n const levels2 = this.levels;\n if (typeof levels2.TRACE !== \"undefined\") {\n this.level = levels2.TRACE;\n } else {\n console.warn(\n `loglevelnext: no 'trace' level defined. The log cannot be enabled. You may want to override the 'trace' method.`\n );\n }\n }\n};\n\n// src/index.ts\nvar factories = Symbol(\"log-factories\");\nvar DefaultLogger = class extends LogLevel {\n constructor() {\n super({ name: \"default\" });\n this.cache = { default: this };\n this[factories] = { MethodFactory, PrefixFactory };\n }\n get factories() {\n return this[factories];\n }\n get loggers() {\n return this.cache;\n }\n create(opts) {\n let options;\n if (typeof opts === \"string\") {\n options = { name: opts };\n } else {\n options = Object.assign({}, opts);\n }\n if (!options.id) {\n options.id = options.name.toString();\n }\n const { name, id } = options;\n const defaults3 = { level: this.level };\n if (typeof name !== \"string\" || !name || !name.length) {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n let logger = this.cache[id];\n if (!logger) {\n logger = new LogLevel(Object.assign({}, defaults3, options));\n this.cache[id] = logger;\n }\n return logger;\n }\n};\nvar src_default = new DefaultLogger();\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n LogLevel,\n MethodFactory,\n PrefixFactory,\n defaultLevels\n});\n",
|
|
12
|
+
"'use strict';\n\nconst pDefer = () => {\n\tconst deferred = {};\n\n\tdeferred.promise = new Promise((resolve, reject) => {\n\t\tdeferred.resolve = resolve;\n\t\tdeferred.reject = reject;\n\t});\n\n\treturn deferred;\n};\n\nmodule.exports = pDefer;\n",
|
|
13
|
+
"\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogFactory = void 0;\nconst loglevelnext_1 = require(\"loglevelnext\");\nclass LogFactory extends loglevelnext_1.PrefixFactory {\n constructor(options) {\n super(void 0, options);\n this.ready = options.ready;\n }\n replaceMethods(level) {\n super.replaceMethods(level);\n this.ready?.resolve();\n }\n}\nexports.LogFactory = LogFactory;\n//# sourceMappingURL=LogFactory.js.map",
|
|
14
|
+
"\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.log = exports.getLog = exports.LogFactory = void 0;\nconst chalk_1 = __importDefault(require(\"chalk\"));\nconst loglevelnext_1 = __importDefault(require(\"loglevelnext\"));\nconst p_defer_1 = __importDefault(require(\"p-defer\"));\nconst LogFactory_1 = require(\"./LogFactory\");\nObject.defineProperty(exports, \"LogFactory\", { enumerable: true, get: function () { return LogFactory_1.LogFactory; } });\nconst defaultEnv = { DOT_LOG_LEVEL: 'info' };\nconst ready = (0, p_defer_1.default)();\nconst colors = {\n debug: (0, chalk_1.default) `{magenta {inverse {bold debug }}}`,\n error: (0, chalk_1.default) `{red {inverse {bold error }}}`,\n info: (0, chalk_1.default) `{blue {inverse {bold info }}}`,\n trace: (0, chalk_1.default) `{green {inverse {bold trace }}}`,\n warn: (0, chalk_1.default) `{yellow {inverse {bold warn }}}`\n};\nconst defaults = {\n name: ''\n};\nconst getLog = (opts) => {\n const options = Object.assign({}, defaults, opts);\n const logName = options.name ? `${options.name} ` : '';\n const brand = options.brand ? (0, chalk_1.default) ` {blue ${options.brand}} ` : ' ';\n const template = `[{{time}}]${brand}${logName}{{level}} `;\n const factory = new LogFactory_1.LogFactory({\n level: ({ level }) => colors[level],\n ready,\n template,\n time: () => new Date().toTimeString().split(' ')[0]\n });\n const { DOT_LOG_LEVEL = 'info' } = typeof process === 'undefined' ? defaultEnv : process.env;\n const logOptions = {\n factory,\n level: DOT_LOG_LEVEL,\n name: `dot-log:${options.name}`\n };\n const log = loglevelnext_1.default.create(logOptions);\n return log;\n};\nexports.getLog = getLog;\nexports.log = (0, exports.getLog)();\n//# sourceMappingURL=index.js.map",
|
|
15
|
+
"/* eslint-disable node/no-deprecated-api */\n\nvar toString = Object.prototype.toString\n\nvar isModern = (\n typeof Buffer !== 'undefined' &&\n typeof Buffer.alloc === 'function' &&\n typeof Buffer.allocUnsafe === 'function' &&\n typeof Buffer.from === 'function'\n)\n\nfunction isArrayBuffer (input) {\n return toString.call(input).slice(8, -1) === 'ArrayBuffer'\n}\n\nfunction fromArrayBuffer (obj, byteOffset, length) {\n byteOffset >>>= 0\n\n var maxLength = obj.byteLength - byteOffset\n\n if (maxLength < 0) {\n throw new RangeError(\"'offset' is out of bounds\")\n }\n\n if (length === undefined) {\n length = maxLength\n } else {\n length >>>= 0\n\n if (length > maxLength) {\n throw new RangeError(\"'length' is out of bounds\")\n }\n }\n\n return isModern\n ? Buffer.from(obj.slice(byteOffset, byteOffset + length))\n : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length)))\n}\n\nfunction fromString (string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n return isModern\n ? Buffer.from(string, encoding)\n : new Buffer(string, encoding)\n}\n\nfunction bufferFrom (value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (isArrayBuffer(value)) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n return isModern\n ? Buffer.from(value)\n : new Buffer(value)\n}\n\nmodule.exports = bufferFrom\n",
|
|
16
|
+
"var SourceMapConsumer = require('source-map').SourceMapConsumer;\nvar path = require('path');\n\nvar fs;\ntry {\n fs = require('fs');\n if (!fs.existsSync || !fs.readFileSync) {\n // fs doesn't have all methods we need\n fs = null;\n }\n} catch (err) {\n /* nop */\n}\n\nvar bufferFrom = require('buffer-from');\n\n/**\n * Requires a module which is protected against bundler minification.\n *\n * @param {NodeModule} mod\n * @param {string} request\n */\nfunction dynamicRequire(mod, request) {\n return mod.require(request);\n}\n\n// Only install once if called multiple times\nvar errorFormatterInstalled = false;\nvar uncaughtShimInstalled = false;\n\n// If true, the caches are reset before a stack trace formatting operation\nvar emptyCacheBetweenOperations = false;\n\n// Supports {browser, node, auto}\nvar environment = \"auto\";\n\n// Maps a file path to a string containing the file contents\nvar fileContentsCache = {};\n\n// Maps a file path to a source map for that file\nvar sourceMapCache = {};\n\n// Regex for detecting source maps\nvar reSourceMap = /^data:application\\/json[^,]+base64,/;\n\n// Priority list of retrieve handlers\nvar retrieveFileHandlers = [];\nvar retrieveMapHandlers = [];\n\nfunction isInBrowser() {\n if (environment === \"browser\")\n return true;\n if (environment === \"node\")\n return false;\n return ((typeof window !== 'undefined') && (typeof XMLHttpRequest === 'function') && !(window.require && window.module && window.process && window.process.type === \"renderer\"));\n}\n\nfunction hasGlobalProcessEventEmitter() {\n return ((typeof process === 'object') && (process !== null) && (typeof process.on === 'function'));\n}\n\nfunction globalProcessVersion() {\n if ((typeof process === 'object') && (process !== null)) {\n return process.version;\n } else {\n return '';\n }\n}\n\nfunction globalProcessStderr() {\n if ((typeof process === 'object') && (process !== null)) {\n return process.stderr;\n }\n}\n\nfunction globalProcessExit(code) {\n if ((typeof process === 'object') && (process !== null) && (typeof process.exit === 'function')) {\n return process.exit(code);\n }\n}\n\nfunction handlerExec(list) {\n return function(arg) {\n for (var i = 0; i < list.length; i++) {\n var ret = list[i](arg);\n if (ret) {\n return ret;\n }\n }\n return null;\n };\n}\n\nvar retrieveFile = handlerExec(retrieveFileHandlers);\n\nretrieveFileHandlers.push(function(path) {\n // Trim the path to make sure there is no extra whitespace.\n path = path.trim();\n if (/^file:/.test(path)) {\n // existsSync/readFileSync can't handle file protocol, but once stripped, it works\n path = path.replace(/file:\\/\\/\\/(\\w:)?/, function(protocol, drive) {\n return drive ?\n '' : // file:///C:/dir/file -> C:/dir/file\n '/'; // file:///root-dir/file -> /root-dir/file\n });\n }\n if (path in fileContentsCache) {\n return fileContentsCache[path];\n }\n\n var contents = '';\n try {\n if (!fs) {\n // Use SJAX if we are in the browser\n var xhr = new XMLHttpRequest();\n xhr.open('GET', path, /** async */ false);\n xhr.send(null);\n if (xhr.readyState === 4 && xhr.status === 200) {\n contents = xhr.responseText;\n }\n } else if (fs.existsSync(path)) {\n // Otherwise, use the filesystem\n contents = fs.readFileSync(path, 'utf8');\n }\n } catch (er) {\n /* ignore any errors */\n }\n\n return fileContentsCache[path] = contents;\n});\n\n// Support URLs relative to a directory, but be careful about a protocol prefix\n// in case we are in the browser (i.e. directories may start with \"http://\" or \"file:///\")\nfunction supportRelativeURL(file, url) {\n if (!file) return url;\n var dir = path.dirname(file);\n var match = /^\\w+:\\/\\/[^\\/]*/.exec(dir);\n var protocol = match ? match[0] : '';\n var startPath = dir.slice(protocol.length);\n if (protocol && /^\\/\\w\\:/.test(startPath)) {\n // handle file:///C:/ paths\n protocol += '/';\n return protocol + path.resolve(dir.slice(protocol.length), url).replace(/\\\\/g, '/');\n }\n return protocol + path.resolve(dir.slice(protocol.length), url);\n}\n\nfunction retrieveSourceMapURL(source) {\n var fileData;\n\n if (isInBrowser()) {\n try {\n var xhr = new XMLHttpRequest();\n xhr.open('GET', source, false);\n xhr.send(null);\n fileData = xhr.readyState === 4 ? xhr.responseText : null;\n\n // Support providing a sourceMappingURL via the SourceMap header\n var sourceMapHeader = xhr.getResponseHeader(\"SourceMap\") ||\n xhr.getResponseHeader(\"X-SourceMap\");\n if (sourceMapHeader) {\n return sourceMapHeader;\n }\n } catch (e) {\n }\n }\n\n // Get the URL of the source map\n fileData = retrieveFile(source);\n var re = /(?:\\/\\/[@#][\\s]*sourceMappingURL=([^\\s'\"]+)[\\s]*$)|(?:\\/\\*[@#][\\s]*sourceMappingURL=([^\\s*'\"]+)[\\s]*(?:\\*\\/)[\\s]*$)/mg;\n // Keep executing the search to find the *last* sourceMappingURL to avoid\n // picking up sourceMappingURLs from comments, strings, etc.\n var lastMatch, match;\n while (match = re.exec(fileData)) lastMatch = match;\n if (!lastMatch) return null;\n return lastMatch[1];\n};\n\n// Can be overridden by the retrieveSourceMap option to install. Takes a\n// generated source filename; returns a {map, optional url} object, or null if\n// there is no source map. The map field may be either a string or the parsed\n// JSON object (ie, it must be a valid argument to the SourceMapConsumer\n// constructor).\nvar retrieveSourceMap = handlerExec(retrieveMapHandlers);\nretrieveMapHandlers.push(function(source) {\n var sourceMappingURL = retrieveSourceMapURL(source);\n if (!sourceMappingURL) return null;\n\n // Read the contents of the source map\n var sourceMapData;\n if (reSourceMap.test(sourceMappingURL)) {\n // Support source map URL as a data url\n var rawData = sourceMappingURL.slice(sourceMappingURL.indexOf(',') + 1);\n sourceMapData = bufferFrom(rawData, \"base64\").toString();\n sourceMappingURL = source;\n } else {\n // Support source map URLs relative to the source URL\n sourceMappingURL = supportRelativeURL(source, sourceMappingURL);\n sourceMapData = retrieveFile(sourceMappingURL);\n }\n\n if (!sourceMapData) {\n return null;\n }\n\n return {\n url: sourceMappingURL,\n map: sourceMapData\n };\n});\n\nfunction mapSourcePosition(position) {\n var sourceMap = sourceMapCache[position.source];\n if (!sourceMap) {\n // Call the (overrideable) retrieveSourceMap function to get the source map.\n var urlAndMap = retrieveSourceMap(position.source);\n if (urlAndMap) {\n sourceMap = sourceMapCache[position.source] = {\n url: urlAndMap.url,\n map: new SourceMapConsumer(urlAndMap.map)\n };\n\n // Load all sources stored inline with the source map into the file cache\n // to pretend like they are already loaded. They may not exist on disk.\n if (sourceMap.map.sourcesContent) {\n sourceMap.map.sources.forEach(function(source, i) {\n var contents = sourceMap.map.sourcesContent[i];\n if (contents) {\n var url = supportRelativeURL(sourceMap.url, source);\n fileContentsCache[url] = contents;\n }\n });\n }\n } else {\n sourceMap = sourceMapCache[position.source] = {\n url: null,\n map: null\n };\n }\n }\n\n // Resolve the source URL relative to the URL of the source map\n if (sourceMap && sourceMap.map && typeof sourceMap.map.originalPositionFor === 'function') {\n var originalPosition = sourceMap.map.originalPositionFor(position);\n\n // Only return the original position if a matching line was found. If no\n // matching line is found then we return position instead, which will cause\n // the stack trace to print the path and line for the compiled file. It is\n // better to give a precise location in the compiled file than a vague\n // location in the original file.\n if (originalPosition.source !== null) {\n originalPosition.source = supportRelativeURL(\n sourceMap.url, originalPosition.source);\n return originalPosition;\n }\n }\n\n return position;\n}\n\n// Parses code generated by FormatEvalOrigin(), a function inside V8:\n// https://code.google.com/p/v8/source/browse/trunk/src/messages.js\nfunction mapEvalOrigin(origin) {\n // Most eval() calls are in this format\n var match = /^eval at ([^(]+) \\((.+):(\\d+):(\\d+)\\)$/.exec(origin);\n if (match) {\n var position = mapSourcePosition({\n source: match[2],\n line: +match[3],\n column: match[4] - 1\n });\n return 'eval at ' + match[1] + ' (' + position.source + ':' +\n position.line + ':' + (position.column + 1) + ')';\n }\n\n // Parse nested eval() calls using recursion\n match = /^eval at ([^(]+) \\((.+)\\)$/.exec(origin);\n if (match) {\n return 'eval at ' + match[1] + ' (' + mapEvalOrigin(match[2]) + ')';\n }\n\n // Make sure we still return useful information if we didn't find anything\n return origin;\n}\n\n// This is copied almost verbatim from the V8 source code at\n// https://code.google.com/p/v8/source/browse/trunk/src/messages.js. The\n// implementation of wrapCallSite() used to just forward to the actual source\n// code of CallSite.prototype.toString but unfortunately a new release of V8\n// did something to the prototype chain and broke the shim. The only fix I\n// could find was copy/paste.\nfunction CallSiteToString() {\n var fileName;\n var fileLocation = \"\";\n if (this.isNative()) {\n fileLocation = \"native\";\n } else {\n fileName = this.getScriptNameOrSourceURL();\n if (!fileName && this.isEval()) {\n fileLocation = this.getEvalOrigin();\n fileLocation += \", \"; // Expecting source position to follow.\n }\n\n if (fileName) {\n fileLocation += fileName;\n } else {\n // Source code does not originate from a file and is not native, but we\n // can still get the source position inside the source string, e.g. in\n // an eval string.\n fileLocation += \"<anonymous>\";\n }\n var lineNumber = this.getLineNumber();\n if (lineNumber != null) {\n fileLocation += \":\" + lineNumber;\n var columnNumber = this.getColumnNumber();\n if (columnNumber) {\n fileLocation += \":\" + columnNumber;\n }\n }\n }\n\n var line = \"\";\n var functionName = this.getFunctionName();\n var addSuffix = true;\n var isConstructor = this.isConstructor();\n var isMethodCall = !(this.isToplevel() || isConstructor);\n if (isMethodCall) {\n var typeName = this.getTypeName();\n // Fixes shim to be backward compatable with Node v0 to v4\n if (typeName === \"[object Object]\") {\n typeName = \"null\";\n }\n var methodName = this.getMethodName();\n if (functionName) {\n if (typeName && functionName.indexOf(typeName) != 0) {\n line += typeName + \".\";\n }\n line += functionName;\n if (methodName && functionName.indexOf(\".\" + methodName) != functionName.length - methodName.length - 1) {\n line += \" [as \" + methodName + \"]\";\n }\n } else {\n line += typeName + \".\" + (methodName || \"<anonymous>\");\n }\n } else if (isConstructor) {\n line += \"new \" + (functionName || \"<anonymous>\");\n } else if (functionName) {\n line += functionName;\n } else {\n line += fileLocation;\n addSuffix = false;\n }\n if (addSuffix) {\n line += \" (\" + fileLocation + \")\";\n }\n return line;\n}\n\nfunction cloneCallSite(frame) {\n var object = {};\n Object.getOwnPropertyNames(Object.getPrototypeOf(frame)).forEach(function(name) {\n object[name] = /^(?:is|get)/.test(name) ? function() { return frame[name].call(frame); } : frame[name];\n });\n object.toString = CallSiteToString;\n return object;\n}\n\nfunction wrapCallSite(frame, state) {\n // provides interface backward compatibility\n if (state === undefined) {\n state = { nextPosition: null, curPosition: null }\n }\n if(frame.isNative()) {\n state.curPosition = null;\n return frame;\n }\n\n // Most call sites will return the source file from getFileName(), but code\n // passed to eval() ending in \"//# sourceURL=...\" will return the source file\n // from getScriptNameOrSourceURL() instead\n var source = frame.getFileName() || frame.getScriptNameOrSourceURL();\n if (source) {\n var line = frame.getLineNumber();\n var column = frame.getColumnNumber() - 1;\n\n // Fix position in Node where some (internal) code is prepended.\n // See https://github.com/evanw/node-source-map-support/issues/36\n // Header removed in node at ^10.16 || >=11.11.0\n // v11 is not an LTS candidate, we can just test the one version with it.\n // Test node versions for: 10.16-19, 10.20+, 12-19, 20-99, 100+, or 11.11\n var noHeader = /^v(10\\.1[6-9]|10\\.[2-9][0-9]|10\\.[0-9]{3,}|1[2-9]\\d*|[2-9]\\d|\\d{3,}|11\\.11)/;\n var headerLength = noHeader.test(globalProcessVersion()) ? 0 : 62;\n if (line === 1 && column > headerLength && !isInBrowser() && !frame.isEval()) {\n column -= headerLength;\n }\n\n var position = mapSourcePosition({\n source: source,\n line: line,\n column: column\n });\n state.curPosition = position;\n frame = cloneCallSite(frame);\n var originalFunctionName = frame.getFunctionName;\n frame.getFunctionName = function() {\n if (state.nextPosition == null) {\n return originalFunctionName();\n }\n return state.nextPosition.name || originalFunctionName();\n };\n frame.getFileName = function() { return position.source; };\n frame.getLineNumber = function() { return position.line; };\n frame.getColumnNumber = function() { return position.column + 1; };\n frame.getScriptNameOrSourceURL = function() { return position.source; };\n return frame;\n }\n\n // Code called using eval() needs special handling\n var origin = frame.isEval() && frame.getEvalOrigin();\n if (origin) {\n origin = mapEvalOrigin(origin);\n frame = cloneCallSite(frame);\n frame.getEvalOrigin = function() { return origin; };\n return frame;\n }\n\n // If we get here then we were unable to change the source position\n return frame;\n}\n\n// This function is part of the V8 stack trace API, for more info see:\n// https://v8.dev/docs/stack-trace-api\nfunction prepareStackTrace(error, stack) {\n if (emptyCacheBetweenOperations) {\n fileContentsCache = {};\n sourceMapCache = {};\n }\n\n var name = error.name || 'Error';\n var message = error.message || '';\n var errorString = name + \": \" + message;\n\n var state = { nextPosition: null, curPosition: null };\n var processedStack = [];\n for (var i = stack.length - 1; i >= 0; i--) {\n processedStack.push('\\n at ' + wrapCallSite(stack[i], state));\n state.nextPosition = state.curPosition;\n }\n state.curPosition = state.nextPosition = null;\n return errorString + processedStack.reverse().join('');\n}\n\n// Generate position and snippet of original source with pointer\nfunction getErrorSource(error) {\n var match = /\\n at [^(]+ \\((.*):(\\d+):(\\d+)\\)/.exec(error.stack);\n if (match) {\n var source = match[1];\n var line = +match[2];\n var column = +match[3];\n\n // Support the inline sourceContents inside the source map\n var contents = fileContentsCache[source];\n\n // Support files on disk\n if (!contents && fs && fs.existsSync(source)) {\n try {\n contents = fs.readFileSync(source, 'utf8');\n } catch (er) {\n contents = '';\n }\n }\n\n // Format the line from the original source code like node does\n if (contents) {\n var code = contents.split(/(?:\\r\\n|\\r|\\n)/)[line - 1];\n if (code) {\n return source + ':' + line + '\\n' + code + '\\n' +\n new Array(column).join(' ') + '^';\n }\n }\n }\n return null;\n}\n\nfunction printErrorAndExit (error) {\n var source = getErrorSource(error);\n\n // Ensure error is printed synchronously and not truncated\n var stderr = globalProcessStderr();\n if (stderr && stderr._handle && stderr._handle.setBlocking) {\n stderr._handle.setBlocking(true);\n }\n\n if (source) {\n console.error();\n console.error(source);\n }\n\n console.error(error.stack);\n globalProcessExit(1);\n}\n\nfunction shimEmitUncaughtException () {\n var origEmit = process.emit;\n\n process.emit = function (type) {\n if (type === 'uncaughtException') {\n var hasStack = (arguments[1] && arguments[1].stack);\n var hasListeners = (this.listeners(type).length > 0);\n\n if (hasStack && !hasListeners) {\n return printErrorAndExit(arguments[1]);\n }\n }\n\n return origEmit.apply(this, arguments);\n };\n}\n\nvar originalRetrieveFileHandlers = retrieveFileHandlers.slice(0);\nvar originalRetrieveMapHandlers = retrieveMapHandlers.slice(0);\n\nexports.wrapCallSite = wrapCallSite;\nexports.getErrorSource = getErrorSource;\nexports.mapSourcePosition = mapSourcePosition;\nexports.retrieveSourceMap = retrieveSourceMap;\n\nexports.install = function(options) {\n options = options || {};\n\n if (options.environment) {\n environment = options.environment;\n if ([\"node\", \"browser\", \"auto\"].indexOf(environment) === -1) {\n throw new Error(\"environment \" + environment + \" was unknown. Available options are {auto, browser, node}\")\n }\n }\n\n // Allow sources to be found by methods other than reading the files\n // directly from disk.\n if (options.retrieveFile) {\n if (options.overrideRetrieveFile) {\n retrieveFileHandlers.length = 0;\n }\n\n retrieveFileHandlers.unshift(options.retrieveFile);\n }\n\n // Allow source maps to be found by methods other than reading the files\n // directly from disk.\n if (options.retrieveSourceMap) {\n if (options.overrideRetrieveSourceMap) {\n retrieveMapHandlers.length = 0;\n }\n\n retrieveMapHandlers.unshift(options.retrieveSourceMap);\n }\n\n // Support runtime transpilers that include inline source maps\n if (options.hookRequire && !isInBrowser()) {\n // Use dynamicRequire to avoid including in browser bundles\n var Module = dynamicRequire(module, 'module');\n var $compile = Module.prototype._compile;\n\n if (!$compile.__sourceMapSupport) {\n Module.prototype._compile = function(content, filename) {\n fileContentsCache[filename] = content;\n sourceMapCache[filename] = undefined;\n return $compile.call(this, content, filename);\n };\n\n Module.prototype._compile.__sourceMapSupport = true;\n }\n }\n\n // Configure options\n if (!emptyCacheBetweenOperations) {\n emptyCacheBetweenOperations = 'emptyCacheBetweenOperations' in options ?\n options.emptyCacheBetweenOperations : false;\n }\n\n // Install the error reformatter\n if (!errorFormatterInstalled) {\n errorFormatterInstalled = true;\n Error.prepareStackTrace = prepareStackTrace;\n }\n\n if (!uncaughtShimInstalled) {\n var installHandler = 'handleUncaughtExceptions' in options ?\n options.handleUncaughtExceptions : true;\n\n // Do not override 'uncaughtException' with our own handler in Node.js\n // Worker threads. Workers pass the error to the main thread as an event,\n // rather than printing something to stderr and exiting.\n try {\n // We need to use `dynamicRequire` because `require` on it's own will be optimized by WebPack/Browserify.\n var worker_threads = dynamicRequire(module, 'worker_threads');\n if (worker_threads.isMainThread === false) {\n installHandler = false;\n }\n } catch(e) {}\n\n // Provide the option to not install the uncaught exception handler. This is\n // to support other uncaught exception handlers (in test frameworks, for\n // example). If this handler is not installed and there are no other uncaught\n // exception handlers, uncaught exceptions will be caught by node's built-in\n // exception handler and the process will still be terminated. However, the\n // generated JavaScript code will be shown above the stack trace instead of\n // the original source code.\n if (installHandler && hasGlobalProcessEventEmitter()) {\n uncaughtShimInstalled = true;\n shimEmitUncaughtException();\n }\n }\n};\n\nexports.resetRetrieveHandlers = function() {\n retrieveFileHandlers.length = 0;\n retrieveMapHandlers.length = 0;\n\n retrieveFileHandlers = originalRetrieveFileHandlers.slice(0);\n retrieveMapHandlers = originalRetrieveMapHandlers.slice(0);\n\n retrieveSourceMap = handlerExec(retrieveMapHandlers);\n retrieveFile = handlerExec(retrieveFileHandlers);\n}\n",
|
|
17
|
+
"/**\n * Note: Parts of this file are derived from [Hyperons](https://github.com/i-like-robots/hyperons).\n * @license MIT\n */\nimport chalk from 'chalk';\nimport { log } from '../log.js';\nimport { AttributeAliases, BooleanAttributes, EmptyObject, VoidElements } from './constants.js';\nimport { escapeString } from './escape-string.js';\nimport { stringifyStyles } from './stringify-styles.js';\nconst renderSuspense = async (children) => {\n try {\n const result = await jsxToString(children);\n return result;\n }\n catch (error) {\n if (error instanceof Promise) {\n await error;\n return renderSuspense(children);\n }\n throw error;\n }\n};\n/**\n * Convert a JSX element to a string.\n * This is a slightly modified version of Hyperons's\n * [`renderToString`](https://github.com/i-like-robots/hyperons/blob/main/src/render-to-string.js) function.\n *\n * @param element The JSX element to convert to a string\n * @returns The string representation of the JSX element\n */\nexport async function jsxToString(element) {\n if (element == null) {\n return '';\n }\n if (typeof element === 'string') {\n return escapeString(element);\n }\n else if (typeof element === 'number') {\n return String(element);\n }\n else if (typeof element === 'boolean' || element == null) {\n return '';\n }\n else if (isIterable(element)) {\n let html = '';\n for (const child of element) {\n // eslint-disable-next-line no-await-in-loop\n html += await jsxToString(child);\n }\n return html;\n }\n if (typeof element.$$typeof !== 'symbol') {\n log.error(chalk `{red Unsupported JSX element}:`, element);\n throw new Error(`Unsupported JSX element`);\n }\n const { type } = element;\n const props = element.props || EmptyObject;\n if (typeof type === 'string') {\n let html = `<${type}`;\n let innerHTML = '';\n for (const prop of Object.keys(props)) {\n const value = props[prop];\n if (prop === 'children' || prop === 'key' || prop === 'ref' || value == null) {\n // Why not use a continue statement? It's slower ¯\\_(ツ)_/¯\n }\n else if (prop === 'class' || prop === 'className') {\n // This condition is here because it is the most common attribute\n // and short-circuiting results in a ~5% performance boost.\n html += value ? ` class=\"${escapeString(value)}\"` : '';\n }\n else if (prop === 'style') {\n html += ` style=\"${stringifyStyles(value)}\"`;\n }\n else if (prop === 'dangerouslySetInnerHTML') {\n // eslint-disable-next-line no-underscore-dangle\n innerHTML = value.__html;\n }\n else {\n const name = AttributeAliases[prop] || prop;\n if (BooleanAttributes.has(name)) {\n html += value ? ` ${name}` : '';\n }\n else if (typeof value === 'string') {\n html += ` ${name}=\"${escapeString(value)}\"`;\n }\n else if (typeof value === 'number') {\n html += ` ${name}=\"${String(value)}\"`;\n }\n else if (typeof value === 'boolean') {\n html += ` ${name}=\"${value}\"`;\n }\n }\n }\n if (VoidElements.has(type)) {\n html += '/>';\n }\n else {\n html += '>';\n if (innerHTML) {\n html += innerHTML;\n }\n else {\n html += await jsxToString(props.children);\n }\n html += `</${type}>`;\n }\n return html;\n }\n else if (type) {\n if (typeof type === 'function') {\n const renderedFC = await jsxToString(type(props));\n const sym = type.$$typeof;\n if (sym && Symbol.keyFor(sym) === 'react.provider') {\n type.context.pop();\n }\n return renderedFC;\n }\n else if (typeof type === 'symbol') {\n const key = Symbol.keyFor(type);\n // is this react fragment?\n if (key === 'react.fragment') {\n return jsxToString(props.children);\n }\n else if (key === 'react.suspense') {\n const suspenseResult = await renderSuspense(props.children);\n return suspenseResult;\n }\n }\n else if (isReactForwardRef(type)) {\n return jsxToString(type.render(props, props.ref));\n }\n else if (type.$$typeof) {\n const key = Symbol.keyFor(type.$$typeof);\n if (key === 'react.provider') {\n type.context.pop();\n }\n else if (key === 'react.context') {\n return jsxToString(props.children);\n }\n }\n log.error(chalk `{red Unsupported JSX element}:`, type);\n throw new Error(`Unsupported JSX element type ${JSON.stringify(type)}`);\n }\n return '';\n}\nfunction isIterable(node) {\n return typeof node === 'object' && node !== null && Symbol.iterator in node;\n}\nfunction isReactForwardRef(type) {\n return (typeof type === 'object' &&\n type !== null &&\n 'render' in type &&\n '$$typeof' in type &&\n typeof type.$$typeof === 'symbol' &&\n Symbol.keyFor(type.$$typeof) === 'react.forward_ref');\n}\n",
|
|
18
|
+
"import { getLog } from '@dot/log';\nimport chalk from 'chalk';\nexport const getPluginLog = (name) => getLog({ brand: 'jsx-email', name: chalk `{bold ∵ ${name}}` });\nexport const log = getLog({ brand: 'jsx-email' });\n",
|
|
19
|
+
"export const AttributeAliases = {\n acceptCharset: 'acceptcharset',\n accessKey: 'accesskey',\n allowFullScreen: 'allowfullscreen',\n autoCapitalize: 'autocapitalize',\n autoComplete: 'autocomplete',\n autoCorrect: 'autocorrect',\n autoFocus: 'autofocus',\n autoPlay: 'autoplay',\n charSet: 'charset',\n className: 'class',\n colSpan: 'colspan',\n contentEditable: 'contenteditable',\n crossOrigin: 'crossorigin',\n dateTime: 'datetime',\n defaultChecked: 'checked',\n defaultSelected: 'selected',\n defaultValue: 'value',\n htmlFor: 'for',\n httpEquiv: 'http-equiv',\n longDesc: 'longdesc',\n maxLength: 'maxlength',\n minLength: 'minlength',\n noModule: 'nomodule',\n noValidate: 'novalidate',\n readOnly: 'readonly',\n referrerPolicy: 'referrerpolicy',\n rowSpan: 'rowspan',\n spellCheck: 'spellcheck',\n tabIndex: 'tabindex',\n useMap: 'usemap'\n};\n// <https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes>\nexport const BooleanAttributes = new Set([\n 'async',\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'multiple',\n 'muted',\n 'novalidate',\n 'nowrap',\n 'open',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\nexport const EmptyObject = Object.freeze({});\n// https://www.w3.org/TR/html/syntax.html#void-elements\nexport const VoidElements = new Set([\n 'area',\n 'base',\n 'br',\n 'col',\n 'embed',\n 'hr',\n 'img',\n 'input',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr'\n]);\n",
|
|
20
|
+
"/**\n * Note: Parts of this file are derived from [React](https://github.com/facebook/react).\n * @license MIT\n */\nconst matchHtmlRegExp = /[\"'&<>]/;\nvar ASCII;\n(function (ASCII) {\n ASCII[ASCII[\"DOUBLE_QUOTE\"] = 34] = \"DOUBLE_QUOTE\";\n ASCII[ASCII[\"AMPERSAND\"] = 38] = \"AMPERSAND\";\n ASCII[ASCII[\"SINGLE_QUOTE\"] = 39] = \"SINGLE_QUOTE\";\n ASCII[ASCII[\"LESS_THAN\"] = 60] = \"LESS_THAN\";\n ASCII[ASCII[\"GREATER_THAN\"] = 62] = \"GREATER_THAN\";\n})(ASCII || (ASCII = {}));\n/**\n * Escapes special characters and HTML entities in a given html string.\n *\n * This is a slightly modified version of React's\n * [`escapeHtml`](https://github.com/facebook/react/blob/dddfe688206dafa5646550d351eb9a8e9c53654a/packages/react-dom-bindings/src/server/escapeTextForBrowser.js#L53)\n *\n * @param string HTML string to escape for later insertion\n */\nexport function escapeString(string) {\n const str = String(string);\n const match = matchHtmlRegExp.exec(str);\n if (!match) {\n return str;\n }\n let escape;\n let html = '';\n let index;\n let lastIndex = 0;\n for ({ index } = match; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case ASCII.DOUBLE_QUOTE:\n escape = '"';\n break;\n case ASCII.AMPERSAND:\n escape = '&';\n break;\n case ASCII.SINGLE_QUOTE:\n escape = ''';\n break;\n case ASCII.LESS_THAN:\n escape = '<';\n break;\n case ASCII.GREATER_THAN:\n escape = '>';\n break;\n default:\n // eslint-disable-next-line no-continue\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escape;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\n",
|
|
21
|
+
"/**\n * Note: Parts of this file are derived from [Hyperons](https://github.com/i-like-robots/hyperons).\n * @license MIT\n */\nimport { escapeString } from './escape-string.js';\nconst UPPERCASE = /([A-Z])/g;\nconst MS = /^ms-/;\nconst UNITLESS_PROPS = new Set([\n 'animationIterationCount',\n 'columns',\n 'columnCount',\n 'flex',\n 'flexGrow',\n 'flexShrink',\n 'fontWeight',\n 'gridColumn',\n 'gridColumnEnd',\n 'gridColumnStart',\n 'gridRow',\n 'gridRowEnd',\n 'gridRowStart',\n 'lineHeight',\n 'opacity',\n 'order',\n 'orphans',\n 'tabSize',\n 'widows',\n 'zIndex',\n 'zoom'\n]);\nconst CACHE = {};\nfunction hyphenateChar(char) {\n return `-${char.toLowerCase()}`;\n}\nfunction hyphenateString(prop) {\n return prop.replace(UPPERCASE, hyphenateChar).replace(MS, '-ms-');\n}\n/**\n * Converts a React style object to a string.\n * This is based on Hyperon's\n * [`stringifyStyles`](https://github.com/i-like-robots/hyperons/blob/main/src/stringify-styles.js).\n * @param styles The styles to stringify.\n * @returns A string representation of the styles, suitable for use in a `style` attribute.\n */\nexport function stringifyStyles(styles) {\n const parts = [];\n for (const key of Object.keys(styles)) {\n const value = styles[key];\n if (value != null) {\n const unit = typeof value === 'number' && value !== 0 && !UNITLESS_PROPS.has(key) ? 'px' : '';\n const normalized = CACHE[key] || (CACHE[key] = hyphenateString(key));\n parts.push(`${normalized}:${typeof value === 'number' ? value : escapeString(value)}${unit}`);\n }\n }\n return parts.join(';');\n}\n",
|
|
22
|
+
"import { AssertionError } from 'assert';\nimport chalk from 'chalk';\nimport { lilconfig } from '@shellscape/lilconfig';\nimport { getPluginLog, log } from './log.js';\n// @ts-ignore\nimport { pluginSymbol } from './plugins.js';\nconst configSymbol = Symbol.for('jsx-email/config');\nexport const defaults = {\n logLevel: 'info',\n plugins: [],\n render: { disableDefaultStyle: false, minify: false, plainText: false, pretty: false }\n};\nexport const globalConfigSymbol = Symbol.for('jsx-email/global/config');\nexport const current = () => {\n let curr = globalThis[globalConfigSymbol];\n // eslint-disable-next-line no-multi-assign\n if (!curr)\n curr = globalThis[globalConfigSymbol] = { ...defaults };\n return curr;\n};\nconst plugins = {\n inline: '@jsx-email/plugin-inline',\n minify: '@jsx-email/plugin-minify',\n pretty: '@jsx-email/plugin-pretty'\n};\nconst checkSymbol = (plugin, source) => {\n if (!plugin)\n return;\n const oops = `did not have the required 'symbol' property set correctly, and it can't be verified as a valid plugin`;\n const message = source\n ? chalk `{red jsx-email}: A plugin imported from '${source}' ${oops}`\n : chalk `{red jsx-email}: The plugin named '${plugin.name}' ${oops}`;\n if (plugin.symbol !== pluginSymbol) {\n log.error(message);\n throw new AssertionError({ message });\n }\n};\nconst checkName = (plugin, source) => {\n if (!plugin)\n return;\n const oops = `did not have the required 'name' property`;\n const message = source\n ? chalk `{red jsx-email}: A plugin imported from '${source}' ${oops}`\n : chalk `{red jsx-email}: A plugin added to the config ${oops}`;\n if (!plugin.name) {\n log.error(message);\n process.exit(1);\n }\n};\nconst importPlugin = async (name) => {\n try {\n const { plugin } = (await import(name));\n checkSymbol(plugin, name);\n checkName(plugin, name);\n return plugin;\n }\n catch (error) {\n if (error.code === 'ERR_MODULE_NOT_FOUND') {\n log.error(chalk `{red jsx-email}: Tried to import a plugin '${name}' but it wasn't found`);\n }\n else {\n log.error(error);\n }\n }\n return null;\n};\nexport const defineConfig = async (config = {}) => {\n if (typeof config === 'function') {\n const intermediate = await config();\n return defineConfig(intermediate);\n }\n const mods = structuredClone(defaults);\n if (!config.render?.plainText) {\n // Note: The order of plugins here actually matters for how the doc gets\n // transformed. Changing this ordering may produce undesirable html\n const inline = await importPlugin(plugins.inline);\n if (inline)\n mods.plugins.push(inline);\n if (config.render?.minify) {\n const minify = await importPlugin(plugins.minify);\n if (minify)\n mods.plugins.push(minify);\n }\n if (config.render?.pretty) {\n const pretty = await importPlugin(plugins.minify);\n if (pretty)\n mods.plugins.push(pretty);\n }\n if (config.render?.minify && config.render.pretty) {\n log.warn(chalk `{yellow jsx-email}: Both minify and pretty options are true. Please choose only one.`);\n }\n if ((config.render?.minify || config.render?.pretty) && config.render?.plainText) {\n log.warn(chalk `{yellow jsx-email}: plaintText has been enabled, minify and pretty will have no effect.`);\n mods.plugins = mods.plugins.filter(({ name }) => name !== plugins.minify && name !== plugins.pretty);\n }\n }\n const result = await mergeConfig(config, mods);\n for (const plugin of result.plugins || []) {\n plugin.log = getPluginLog(plugin.name);\n }\n result.symbol = configSymbol;\n return result;\n};\nexport const loadConfig = async (startDir) => {\n if (globalThis[globalConfigSymbol])\n return globalThis[globalConfigSymbol];\n const name = 'jsx-email';\n const searchResult = await lilconfig(name, {\n searchPlaces: [\n `.config/${name}rc.js`,\n `.config/${name}rc.cjs`,\n `.config/${name}rc.mjs`,\n `.config/${name}.config.js`,\n `.config/${name}.config.cjs`,\n `.config/${name}.config.mjs`,\n `.${name}rc.js`,\n `.${name}rc.cjs`,\n `.${name}rc.mjs`,\n `${name}.config.js`,\n `${name}.config.cjs`,\n `${name}.config.mjs`\n ],\n ...(startDir ? { startDir } : {})\n }).search();\n const exports = searchResult?.config ?? {};\n const intermediate = exports.config instanceof Promise ? await exports.config : exports.config;\n const config = intermediate ?? { ...defaults };\n if (config.symbol === configSymbol) {\n globalThis[globalConfigSymbol] = config;\n return config;\n }\n const definedConfig = await defineConfig(config);\n process.env.DOT_LOG_LEVEL = definedConfig.logLevel || 'info';\n globalThis[globalConfigSymbol] = definedConfig;\n return definedConfig;\n};\n// Note: This helps avoid issues with `merge ` because it uses structuredClone and doesn't play nice\n// with complex objects'\nexport const mergeConfig = async (a, b) => {\n const { default: merge } = await import('defaults');\n const aPlugins = a.plugins || [];\n const bPlugins = b.plugins || [];\n /* eslint-disable no-param-reassign */\n delete a.plugins;\n delete b.plugins;\n const result = {\n ...merge(a, b),\n plugins: [...aPlugins, ...bPlugins]\n };\n return result;\n};\n",
|
|
23
|
+
"// @ts-check\nconst path = require('path');\nconst fs = require('fs');\nconst os = require('os');\n\nconst fsReadFileAsync = fs.promises.readFile;\n\n/** @type {(name: string) => string[]} */\nfunction getDefaultSearchPlaces(name) {\n\treturn [\n\t\t'package.json',\n\t\t`.${name}rc.json`,\n\t\t`.${name}rc.js`,\n\t\t`.${name}rc.cjs`,\n\t\t`.${name}rc.mjs`,\n\t\t`.config/${name}rc`,\n\t\t`.config/${name}rc.json`,\n\t\t`.config/${name}rc.js`,\n\t\t`.config/${name}rc.cjs`,\n\t\t`.config/${name}rc.mjs`,\n\t\t`${name}.config.js`,\n\t\t`${name}.config.cjs`,\n\t\t`${name}.config.mjs`,\n\t];\n}\n\n/**\n * @type {(p: string) => string}\n *\n * see #17\n * On *nix, if cwd is not under homedir,\n * the last path will be '', ('/build' -> '')\n * but it should be '/' actually.\n * And on Windows, this will never happen. ('C:\\build' -> 'C:')\n */\nfunction parentDir(p) {\n\treturn path.dirname(p) || path.sep;\n}\n\n/** @type {import('./index').LoaderSync} */\nconst jsonLoader = (_, content) => JSON.parse(content);\n\n/** @type {import('./index').Loader} */\nconst dynamicImport = async id => {\n\ttry {\n\t\tconst exports = await import(id);\n\n\t\treturn exports.default || exports;\n\t} catch (e) {\n\t\ttry {\n\t\t\treturn require(id);\n\t\t} catch (/** @type {any} */ requireE) {\n\t\t\tif (\n\t\t\t\trequireE.code === 'ERR_REQUIRE_ESM' ||\n\t\t\t\t(requireE instanceof SyntaxError &&\n\t\t\t\t\trequireE\n\t\t\t\t\t\t.toString()\n\t\t\t\t\t\t.includes('Cannot use import statement outside a module'))\n\t\t\t) {\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\tthrow requireE;\n\t\t}\n\t}\n};\n\n/** @type {import('./index').Loaders} */\nconst defaultLoaders = Object.freeze({\n\t'.js': dynamicImport,\n\t'.mjs': dynamicImport,\n\t'.cjs': dynamicImport,\n\t'.json': jsonLoader,\n\tnoExt: jsonLoader,\n});\nmodule.exports.defaultLoaders = defaultLoaders;\n\n/**\n * @param {string} name\n * @param {import('./index').Options | import('./index').OptionsSync} options\n * @returns {Required<import('./index').Options | import('./index').OptionsSync>}\n */\nfunction getOptions(name, options) {\n\t/** @type {Required<import('./index').Options>} */\n\tconst conf = {\n\t startDir: process.cwd(),\n\t\tstopDir: os.homedir(),\n\t\tsearchPlaces: getDefaultSearchPlaces(name),\n\t\tignoreEmptySearchPlaces: true,\n\t\tcache: true,\n\t\ttransform: x => x,\n\t\tpackageProp: [name],\n\t\t...options,\n\t\tloaders: {\n\t\t\t...(defaultLoaders),\n\t\t\t...options.loaders,\n\t\t},\n\t};\n\tconf.searchPlaces.forEach(place => {\n\t\tconst key = path.extname(place) || 'noExt';\n\t\tconst loader = conf.loaders[key];\n\t\tif (!loader) {\n\t\t\tthrow new Error(`Missing loader for extension \"${place}\"`);\n\t\t}\n\n\t\tif (typeof loader !== 'function') {\n\t\t\tthrow new Error(\n\t\t\t\t`Loader for extension \"${place}\" is not a function: Received ${typeof loader}.`,\n\t\t\t);\n\t\t}\n\t});\n\n\treturn conf;\n}\n\n/** @type {(props: string | string[], obj: Record<string, any>) => unknown} */\nfunction getPackageProp(props, obj) {\n\tif (typeof props === 'string' && props in obj) return obj[props];\n\treturn (\n\t\t(Array.isArray(props) ? props : props.split('.')).reduce(\n\t\t\t(acc, prop) => (acc === undefined ? acc : acc[prop]),\n\t\t\tobj,\n\t\t) || null\n\t);\n}\n\n/** @param {string} filepath */\nfunction validateFilePath(filepath) {\n\tif (!filepath) throw new Error('load must pass a non-empty string');\n}\n\n/** @type {(loader: import('./index').Loader, ext: string) => void} */\nfunction validateLoader(loader, ext) {\n\tif (!loader) throw new Error(`No loader specified for extension \"${ext}\"`);\n\tif (typeof loader !== 'function') throw new Error('loader is not a function');\n}\n\n/** @type {(enableCache: boolean) => <T>(c: Map<string, T>, filepath: string, res: T) => T} */\nconst makeEmplace = enableCache => (c, filepath, res) => {\n\tif (enableCache) c.set(filepath, res);\n\treturn res;\n};\n\n/** @type {import('./index').lilconfig} */\nmodule.exports.lilconfig = function lilconfig(name, options) {\n\tconst {\n\t\tignoreEmptySearchPlaces,\n\t\tloaders,\n\t\tpackageProp,\n\t\tsearchPlaces,\n\t\tstartDir,\n\t\tstopDir,\n\t\ttransform,\n\t\tcache,\n\t} = getOptions(name, options ?? {});\n\tconst searchCache = new Map();\n\tconst loadCache = new Map();\n\tconst emplace = makeEmplace(cache);\n\n\treturn {\n\t\tasync search(searchFrom = startDir) {\n\t\t\t/** @type {import('./index').LilconfigResult} */\n\t\t\tconst result = {\n\t\t\t\tconfig: null,\n\t\t\t\tfilepath: '',\n\t\t\t};\n\n\t\t\t/** @type {Set<string>} */\n\t\t\tconst visited = new Set();\n\t\t\tlet dir = searchFrom;\n\t\t\tdirLoop: while (true) {\n\t\t\t\tif (cache) {\n\t\t\t\t\tconst r = searchCache.get(dir);\n\t\t\t\t\tif (r !== undefined) {\n\t\t\t\t\t\tfor (const p of visited) searchCache.set(p, r);\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t}\n\t\t\t\t\tvisited.add(dir);\n\t\t\t\t}\n\n\t\t\t\tfor (const searchPlace of searchPlaces) {\n\t\t\t\t\tconst filepath = path.join(dir, searchPlace);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tawait fs.promises.access(filepath);\n\t\t\t\t\t} catch {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tconst content = String(await fsReadFileAsync(filepath));\n\t\t\t\t\tconst loaderKey = path.extname(searchPlace) || 'noExt';\n\t\t\t\t\tconst loader = loaders[loaderKey];\n\n\t\t\t\t\t// handle package.json\n\t\t\t\t\tif (searchPlace === 'package.json') {\n\t\t\t\t\t\tconst pkg = await loader(filepath, content);\n\t\t\t\t\t\tconst maybeConfig = getPackageProp(packageProp, pkg);\n\t\t\t\t\t\tif (maybeConfig != null) {\n\t\t\t\t\t\t\tresult.config = maybeConfig;\n\t\t\t\t\t\t\tresult.filepath = filepath;\n\t\t\t\t\t\t\tbreak dirLoop;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\t// handle other type of configs\n\t\t\t\t\tconst isEmpty = content.trim() === '';\n\t\t\t\t\tif (isEmpty && ignoreEmptySearchPlaces) continue;\n\n\t\t\t\t\tif (isEmpty) {\n\t\t\t\t\t\tresult.isEmpty = true;\n\t\t\t\t\t\tresult.config = undefined;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvalidateLoader(loader, loaderKey);\n\t\t\t\t\t\tresult.config = await loader(filepath, content);\n\t\t\t\t\t}\n\t\t\t\t\tresult.filepath = filepath;\n\t\t\t\t\tbreak dirLoop;\n\t\t\t\t}\n\t\t\t\tif (dir === stopDir || dir === parentDir(dir)) break dirLoop;\n\t\t\t\tdir = parentDir(dir);\n\t\t\t}\n\n\t\t\tconst transformed =\n\t\t\t\t// not found\n\t\t\t\tresult.filepath === '' && result.config === null\n\t\t\t\t\t? transform(null)\n\t\t\t\t\t: transform(result);\n\n\t\t\tif (cache) {\n\t\t\t\tfor (const p of visited) searchCache.set(p, transformed);\n\t\t\t}\n\n\t\t\treturn transformed;\n\t\t},\n\t\tasync load(filepath) {\n\t\t\tvalidateFilePath(filepath);\n\t\t\tconst absPath = path.resolve(process.cwd(), filepath);\n\t\t\tif (cache && loadCache.has(absPath)) {\n\t\t\t\treturn loadCache.get(absPath);\n\t\t\t}\n\t\t\tconst {base, ext} = path.parse(absPath);\n\t\t\tconst loaderKey = ext || 'noExt';\n\t\t\tconst loader = loaders[loaderKey];\n\t\t\tvalidateLoader(loader, loaderKey);\n\t\t\tconst content = String(await fsReadFileAsync(absPath));\n\n\t\t\tif (base === 'package.json') {\n\t\t\t\tconst pkg = await loader(absPath, content);\n\t\t\t\treturn emplace(\n\t\t\t\t\tloadCache,\n\t\t\t\t\tabsPath,\n\t\t\t\t\ttransform({\n\t\t\t\t\t\tconfig: getPackageProp(packageProp, pkg),\n\t\t\t\t\t\tfilepath: absPath,\n\t\t\t\t\t}),\n\t\t\t\t);\n\t\t\t}\n\t\t\t/** @type {import('./index').LilconfigResult} */\n\t\t\tconst result = {\n\t\t\t\tconfig: null,\n\t\t\t\tfilepath: absPath,\n\t\t\t};\n\t\t\t// handle other type of configs\n\t\t\tconst isEmpty = content.trim() === '';\n\t\t\tif (isEmpty && ignoreEmptySearchPlaces)\n\t\t\t\treturn emplace(\n\t\t\t\t\tloadCache,\n\t\t\t\t\tabsPath,\n\t\t\t\t\ttransform({\n\t\t\t\t\t\tconfig: undefined,\n\t\t\t\t\t\tfilepath: absPath,\n\t\t\t\t\t\tisEmpty: true,\n\t\t\t\t\t}),\n\t\t\t\t);\n\n\t\t\t// cosmiconfig returns undefined for empty files\n\t\t\tresult.config = isEmpty ? undefined : await loader(absPath, content);\n\n\t\t\treturn emplace(\n\t\t\t\tloadCache,\n\t\t\t\tabsPath,\n\t\t\t\ttransform(isEmpty ? {...result, isEmpty, config: undefined} : result),\n\t\t\t);\n\t\t},\n\t\tclearLoadCache() {\n\t\t\tif (cache) loadCache.clear();\n\t\t},\n\t\tclearSearchCache() {\n\t\t\tif (cache) searchCache.clear();\n\t\t},\n\t\tclearCaches() {\n\t\t\tif (cache) {\n\t\t\t\tloadCache.clear();\n\t\t\t\tsearchCache.clear();\n\t\t\t}\n\t\t},\n\t};\n};\n",
|
|
24
|
+
"import chalk from 'chalk';\nimport sourceMapSupport from 'source-map-support';\nimport { loadConfig } from './config.js';\nsourceMapSupport.install();\nexport const pluginSymbol = Symbol.for('jsx-email/plugin');\nexport const callHook = async (hookType, html) => {\n const config = await loadConfig();\n for (const plugin of config.plugins) {\n const { log } = plugin;\n const hookFn = plugin[hookType];\n // eslint-disable-next-line no-await-in-loop, no-param-reassign\n if (hookFn)\n html = await hookFn({ chalk, html, log });\n }\n return html;\n};\nexport const callProcessHook = async (processor) => {\n const config = await loadConfig();\n for (const { log, process } of config.plugins) {\n if (process) {\n // eslint-disable-next-line no-await-in-loop\n const pluggable = await process({ chalk, log });\n processor.use(pluggable);\n }\n }\n};\n",
|
|
25
|
+
"export const getMovePlugin = async () => {\n const { visit } = await import('unist-util-visit');\n return function moveStylePlugin() {\n return function move(tree) {\n const matches = [];\n let head;\n visit(tree, 'element', (node, _, parent) => {\n if (node.tagName === 'head') {\n head = node;\n }\n if (parent &&\n node.tagName === 'style' &&\n (parent.type !== 'element' || parent.tagName !== 'head')) {\n const found = node;\n found.parent = parent;\n found.index = parent.children.indexOf(node);\n matches.push(found);\n }\n });\n if (head) {\n head.children.push(...matches);\n for (const node of matches) {\n node.parent.children.splice(node.index, 1);\n }\n }\n };\n };\n};\n",
|
|
26
|
+
"import { htmlToText } from 'html-to-text';\nimport { defineConfig, loadConfig, mergeConfig } from '../config.js';\nimport { callHook, callProcessHook } from '../plugins.js';\nimport { jsxToString } from './jsx-to-string.js';\nimport { getMovePlugin } from './move-style.js';\nexport const jsxEmailTags = ['jsx-email-cond'];\nexport const renderPlainText = async (component, options) => {\n const result = await jsxToString(component);\n return htmlToText(result, {\n selectors: [\n { format: 'skip', selector: 'img' },\n { format: 'skip', selector: '[data-skip=\"true\"]' },\n { options: { linkBrackets: false }, selector: 'a' }\n ],\n ...options\n });\n};\nexport const render = async (component, options) => {\n let config = await loadConfig();\n if (config.render.plainText || options?.plainText)\n return renderPlainText(component, typeof options?.plainText === 'object' ? options.plainText : {});\n const renderOptions = { render: options };\n if (options) {\n // Note: structuredClone chokes on symbols\n const { symbol: _, ...cloneTarget } = config;\n config = await defineConfig(await mergeConfig(cloneTarget, renderOptions));\n }\n let html = await jsxToString(component);\n html = await callHook('beforeRender', html);\n html = await processHtml(html);\n html = await callHook('afterRender', html);\n return html;\n};\nexport const processHtml = async (html) => {\n const { rehype } = await import('rehype');\n const { default: stringify } = await import('rehype-stringify');\n const docType = '<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">';\n const movePlugin = await getMovePlugin();\n const settings = { emitParseErrors: true };\n const reJsxTags = new RegExp(`<[/]?(${jsxEmailTags.join('|')})>`, 'g');\n // @ts-ignore: This is perfectly valid, see here: https://www.npmjs.com/package/rehype#examples\n const processor = rehype().data('settings', settings);\n processor.use(movePlugin);\n await callProcessHook(processor);\n const doc = await processor\n .use(stringify, {\n allowDangerousCharacters: true,\n allowDangerousHtml: true,\n closeEmptyElements: true,\n collapseEmptyAttributes: true\n })\n .process(html);\n let result = docType + String(doc).replace('<!doctype html>', '').replace('<head></head>', '');\n result = result.replace(reJsxTags, '');\n return result;\n};\n",
|
|
27
|
+
"import { ComponentType } from \"react\";\nimport { render } from \"jsx-email\";\nimport { EmailServiceContainer } from \"../services/email/EmailServiceContainer\";\nimport { SendEmailParams } from \"../services/email/drivers/types\";\n\ninterface SendEmailArgs<T> extends Partial<Omit<SendEmailParams, \"html\">> {\n data: T;\n}\n\nexport class Email {\n from = \"\";\n to = [];\n subject = \"No Subject\";\n cc = [];\n bcc = [];\n attachments = [];\n template: ComponentType<any>;\n\n static async send<T extends Email>(\n this: new () => T,\n args: SendEmailArgs<\n T[\"template\"] extends (p: infer P) => JSX.Element ? P : never\n >,\n ) {\n const instance = new this();\n\n const {\n to = instance.to,\n from = instance.from,\n subject = instance.subject,\n cc = instance.cc,\n bcc = instance.bcc,\n attachments = instance.attachments,\n data,\n } = args;\n\n const html = await instance.render(data);\n\n if (process.env.EMAIL_DEBUG === \"true\") {\n const fileName = `${process.env.ROOT_DIR}/.debug/emails/${new Date().toISOString()}${subject}.html`;\n await Bun.write(fileName, html);\n Bun.spawnSync([\"open\", fileName]);\n return;\n }\n\n await EmailServiceContainer.use().service.driver.send({\n bcc,\n cc,\n from,\n subject,\n to,\n attachments,\n html,\n });\n }\n\n protected async render<T extends Record<string, any>>(props: T) {\n const Template = this.template;\n const markup = await render(<Template {...props} />);\n\n return markup;\n }\n}\n"
|
|
7
28
|
],
|
|
8
|
-
"mappings": ";8KAsCA,cAAS,UAIT,UA1CA,IAAuB,eAAnB,EAC6B,sBAA7B,GAAsB,OACtB,EAAe,OAAO,UAAU,eAChC,EAAe,OAAO,UAAU,qBAChC,EAAkB,CAAC,EAAK,EAAK,KAAU,KAAO,GAAM,EAAU,EAAK,EAAK,CAAE,WAAY,GAAM,aAAc,GAAM,SAAU,GAAM,OAAM,CAAC,EAAI,EAAI,GAAO,EACtJ,EAAiB,CAAC,EAAG,IAAM,CAC7B,QAAS,KAAQ,IAAM,EAAI,CAAC,GAC1B,GAAI,EAAa,KAAK,EAAG,CAAI,EAC3B,EAAgB,EAAG,EAAM,EAAE,EAAK,EACpC,GAAI,GACF,QAAS,KAAQ,EAAoB,CAAC,EACpC,GAAI,EAAa,KAAK,EAAG,CAAI,EAC3B,EAAgB,EAAG,EAAM,EAAE,EAAK,EAEtC,OAAO,GAEL,EAAU,CAAC,EAAQ,EAAa,IAAc,CAChD,OAAO,IAAI,QAAQ,CAAC,EAAS,IAAW,CACtC,IAAI,EAAY,CAAC,IAAU,CACzB,GAAI,CACF,EAAK,EAAU,KAAK,CAAK,CAAC,QACnB,EAAP,CACA,EAAO,CAAC,IAGR,EAAW,CAAC,IAAU,CACxB,GAAI,CACF,EAAK,EAAU,MAAM,CAAK,CAAC,QACpB,EAAP,CACA,EAAO,CAAC,IAGR,EAAO,CAAC,IAAM,EAAE,KAAO,EAAQ,EAAE,KAAK,EAAI,QAAQ,QAAQ,EAAE,KAAK,EAAE,KAAK,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