@vercel/cli-support 68.0.0 → 68.1.0-snapshot-f8c293166d1f
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/chunks/{add-RH3RQPGP.js → add-56T4ON6W.js} +1 -1
- package/dist/chunks/{add-4ZXS4RRN.js → add-CDHMIDYR.js} +1 -1
- package/dist/chunks/{add-G2LGF4HL.js → add-JC2KSFHX.js} +1 -1
- package/dist/chunks/{alerts-3352VWDL.js → alerts-TMFON3SU.js} +1 -1
- package/dist/chunks/{api-endpoints-2IYXPLEG.js → api-endpoints-EY2DO75S.js} +1 -1
- package/dist/chunks/auth-4A5CXZOA.js +7 -0
- package/dist/chunks/auth-ZJV6OHMS.js +7 -0
- package/dist/chunks/{build-3UFKTTS5.js → build-ALEGEJFV.js} +1 -1
- package/dist/chunks/{chunk-JDDPCL3K.js → chunk-245QYIHU.js} +1 -1
- package/dist/chunks/{chunk-SGNDE4YS.js → chunk-2ACABADL.js} +1 -1
- package/dist/chunks/{chunk-D6REP5QQ.js → chunk-2GXP676X.js} +1 -1
- package/dist/chunks/{chunk-MXTC4ZAQ.js → chunk-2ILZM77F.js} +1 -1
- package/dist/chunks/{chunk-OFDTADPQ.js → chunk-2K7U64CN.js} +1 -1
- package/dist/chunks/{chunk-DTCQWGHE.js → chunk-2KJIWBJQ.js} +2 -2
- package/dist/chunks/{chunk-T4DOV5S4.js → chunk-2V5IP6A5.js} +1 -1
- package/dist/chunks/{chunk-L46V6VL3.js → chunk-37SWAKIV.js} +1 -1
- package/dist/chunks/{chunk-ZXSZH7N5.js → chunk-3GKXXGSO.js} +1 -1
- package/dist/chunks/{chunk-QSL6AG2B.js → chunk-3HP6FOOL.js} +1 -1
- package/dist/chunks/{chunk-M32HBBPK.js → chunk-3WXQHKSS.js} +1 -1
- package/dist/chunks/{chunk-JELLVPCM.js → chunk-3XMKTJ5T.js} +1 -1
- package/dist/chunks/{chunk-KLBSCTLL.js → chunk-3YD5WA5R.js} +1 -1
- package/dist/chunks/{chunk-KIDGOY4F.js → chunk-3YNMC7FF.js} +1 -1
- package/dist/chunks/{chunk-YLXXGQQQ.js → chunk-42D3CPWB.js} +1 -1
- package/dist/chunks/{chunk-HRR57QNP.js → chunk-46R47IE5.js} +1 -1
- package/dist/chunks/{chunk-ZRFDZO7Y.js → chunk-4D4IP557.js} +1 -1
- package/dist/chunks/{chunk-OOPF73RV.js → chunk-4FPYV37P.js} +1 -1
- package/dist/chunks/{chunk-HR4ID3MU.js → chunk-4HNNFJLO.js} +1 -1
- package/dist/chunks/{chunk-5WYJSLCF.js → chunk-4HYZZASG.js} +1 -1
- package/dist/chunks/{chunk-AMZ7AUYX.js → chunk-4JPDCF2O.js} +1 -1
- package/dist/chunks/{chunk-CAJ2OUSR.js → chunk-4L7AKIX7.js} +1 -1
- package/dist/chunks/chunk-4SI66IFC.js +7 -0
- package/dist/chunks/{chunk-MCYG7CCE.js → chunk-4SIQE2W4.js} +1 -1
- package/dist/chunks/chunk-4WEKKDOL.js +8 -0
- package/dist/chunks/{chunk-Q6YPC3GK.js → chunk-57H5KQGN.js} +1 -1
- package/dist/chunks/{chunk-NWGBDBZI.js → chunk-5F4RJ32E.js} +1 -1
- package/dist/chunks/{chunk-GXWBL6YV.js → chunk-5KGALAC2.js} +1 -1
- package/dist/chunks/{chunk-KRPY5FHJ.js → chunk-5QC4IKRZ.js} +1 -1
- package/dist/chunks/{chunk-VBANKZWM.js → chunk-5RRSLENO.js} +1 -1
- package/dist/chunks/{chunk-2AMO2VMV.js → chunk-64GNDWWX.js} +1 -1
- package/dist/chunks/{chunk-J24BABG4.js → chunk-6G2AZBW5.js} +1 -1
- package/dist/chunks/{chunk-DY643UZ7.js → chunk-6JBKQ5LR.js} +2 -3
- package/dist/chunks/{chunk-X755TPX6.js → chunk-6O2LDFGJ.js} +1 -1
- package/dist/chunks/chunk-6OOJFAF5.js +20 -0
- package/dist/chunks/{chunk-T44RB754.js → chunk-6SX4TE7Y.js} +1 -1
- package/dist/chunks/{chunk-AW5KOUD7.js → chunk-6SYKGWTJ.js} +1 -1
- package/dist/chunks/chunk-6ZD6IARJ.js +33 -0
- package/dist/chunks/{chunk-O3YZLVC6.js → chunk-72CSJCJX.js} +3 -3
- package/dist/chunks/chunk-75TGTOZQ.js +8 -0
- package/dist/chunks/{chunk-GRRVPFSB.js → chunk-7JQBC2HB.js} +1 -1
- package/dist/chunks/{chunk-Y3V4JYK6.js → chunk-7MBJ4YIK.js} +1 -1
- package/dist/chunks/{chunk-PSOVLGHP.js → chunk-7O3D3XED.js} +1 -1
- package/dist/chunks/{chunk-FXLZM6Q7.js → chunk-7PK2JFEH.js} +1 -1
- package/dist/chunks/chunk-7Q5I3L37.js +68 -0
- package/dist/chunks/{chunk-24SIHFEW.js → chunk-7QHUMMBA.js} +1 -1
- package/dist/chunks/{chunk-4HR3I3ML.js → chunk-7TRHPXCG.js} +1 -1
- package/dist/chunks/{chunk-BLUPZPAS.js → chunk-7Y572CPZ.js} +1 -1
- package/dist/chunks/{chunk-ATSAMHUZ.js → chunk-A3WRF4AB.js} +1 -1
- package/dist/chunks/{chunk-6DBLXAJI.js → chunk-AGFG7WHE.js} +1 -1
- package/dist/chunks/{chunk-YFOBGEOW.js → chunk-AI32LWRL.js} +1 -1
- package/dist/chunks/chunk-AJ3KPZLM.js +18 -0
- package/dist/chunks/{chunk-MYVALJ4D.js → chunk-AJJIPBAG.js} +1 -1
- package/dist/chunks/{chunk-TGIIE2L3.js → chunk-AP2JY545.js} +1 -1
- package/dist/chunks/{chunk-Z73UJVGD.js → chunk-AU54JBLF.js} +1 -1
- package/dist/chunks/{chunk-SQ62IODX.js → chunk-AUCQKYL2.js} +1 -1
- package/dist/chunks/{chunk-ZBOTJT5S.js → chunk-AULX6RDR.js} +1 -1
- package/dist/chunks/{chunk-37P7O3AQ.js → chunk-AWB4IKVC.js} +1 -1
- package/dist/chunks/{chunk-SCV7XEEO.js → chunk-AX6UCTOC.js} +1 -1
- package/dist/chunks/{chunk-MDXG7T7M.js → chunk-B4IOZL3K.js} +1 -1
- package/dist/chunks/{chunk-Y4YBQUQM.js → chunk-B6QW2OXJ.js} +1 -1
- package/dist/chunks/{chunk-YBAGKQXC.js → chunk-BCD4TRQF.js} +1 -1
- package/dist/chunks/{chunk-OQXHBPPS.js → chunk-BCRZI5IM.js} +1 -1
- package/dist/chunks/chunk-BFS4K2RF.js +7 -0
- package/dist/chunks/chunk-BKJ4H6KK.js +8 -0
- package/dist/chunks/{chunk-O3GQG2ML.js → chunk-BLA6V5UN.js} +2 -2
- package/dist/chunks/{chunk-COD3WAUI.js → chunk-BNWEJZAC.js} +1 -1
- package/dist/chunks/{chunk-5MDNVAE6.js → chunk-BVFFSUG3.js} +1 -1
- package/dist/chunks/{chunk-X6JQI64G.js → chunk-C6AOL5RF.js} +1 -1
- package/dist/chunks/{chunk-F7L5SXJM.js → chunk-CDO5IECP.js} +1 -1
- package/dist/chunks/{chunk-XOETL6DB.js → chunk-CHY2NJU4.js} +1 -1
- package/dist/chunks/{chunk-H24KFNPB.js → chunk-CKPY7TAQ.js} +1 -1
- package/dist/chunks/chunk-COOA33HY.js +7 -0
- package/dist/chunks/{chunk-PVASGBEF.js → chunk-CSU46B7Q.js} +1 -1
- package/dist/chunks/{chunk-DDZEKNQR.js → chunk-CX4WJVNY.js} +1 -1
- package/dist/chunks/{chunk-AVCLYJNC.js → chunk-CX6QYE3Y.js} +1 -1
- package/dist/chunks/{chunk-4SAVH3H7.js → chunk-DCFCPAFQ.js} +1 -1
- package/dist/chunks/{chunk-2FUGD6J7.js → chunk-DTEWQLNP.js} +1 -1
- package/dist/chunks/chunk-DXFFWNK4.js +8 -0
- package/dist/chunks/{chunk-F4KY2TOK.js → chunk-EAQLOKZX.js} +1 -1
- package/dist/chunks/{chunk-ZGM4K3B5.js → chunk-ECQW2R5M.js} +1 -1
- package/dist/chunks/{chunk-B4KA3ZH2.js → chunk-EFGZK6OY.js} +1 -1
- package/dist/chunks/{chunk-N3ZNAMGR.js → chunk-EFQCGYZF.js} +1 -1
- package/dist/chunks/{chunk-ID663OJ7.js → chunk-EL65DTVZ.js} +1 -1
- package/dist/chunks/{chunk-PAHYNO73.js → chunk-ELQO7254.js} +1 -1
- package/dist/chunks/{chunk-3G3FQYMW.js → chunk-ERMHTPO4.js} +1 -1
- package/dist/chunks/chunk-EV2VKG2V.js +8 -0
- package/dist/chunks/{chunk-LDDXXDN5.js → chunk-EYCKXHL4.js} +1 -1
- package/dist/chunks/{chunk-5727HGA6.js → chunk-F2VXECRT.js} +1 -1
- package/dist/chunks/{chunk-NMY2YZ6M.js → chunk-F5FBLRH3.js} +1 -1
- package/dist/chunks/{chunk-TU54LHNW.js → chunk-F6BUBFV2.js} +1 -1
- package/dist/chunks/{chunk-VWKA6RKB.js → chunk-FHNHVEOX.js} +1 -1
- package/dist/chunks/{chunk-D3M2JG5C.js → chunk-FIICEEXO.js} +1 -1
- package/dist/chunks/{chunk-QPNTR3PA.js → chunk-FVMRKUWL.js} +1 -1
- package/dist/chunks/{chunk-H3ZSF2P3.js → chunk-FWYKEEQK.js} +1 -1
- package/dist/chunks/{chunk-ZHGKJCQ2.js → chunk-G7RQVFID.js} +5 -5
- package/dist/chunks/chunk-GB77JTTX.js +8 -0
- package/dist/chunks/{chunk-FTNLCQC6.js → chunk-GHZ4YQCI.js} +1 -1
- package/dist/chunks/{chunk-7RABG6HV.js → chunk-GOH7QCG3.js} +1 -1
- package/dist/chunks/{chunk-4NTBYNFR.js → chunk-GOXGA37R.js} +1 -1
- package/dist/chunks/{chunk-23FY4PR3.js → chunk-GTBPHJRJ.js} +1 -1
- package/dist/chunks/{chunk-YTSGFU5T.js → chunk-GUFRGEM5.js} +1 -1
- package/dist/chunks/{chunk-U43WXZBP.js → chunk-H2O53DAZ.js} +1 -1
- package/dist/chunks/chunk-HAM7ZPEC.js +7 -0
- package/dist/chunks/{chunk-4SWS7RKX.js → chunk-HG7NRFC5.js} +1 -1
- package/dist/chunks/{chunk-BTI5TG6Q.js → chunk-HGXM4UBQ.js} +1 -1
- package/dist/chunks/{chunk-PX3V7X3Q.js → chunk-HI5PLVKM.js} +1 -1
- package/dist/chunks/chunk-HIEFNLLO.js +7 -0
- package/dist/chunks/{chunk-NMIB4JYP.js → chunk-HJCMNBDK.js} +1 -1
- package/dist/chunks/{chunk-6WBEU34Y.js → chunk-HLJ2UIG6.js} +1 -1
- package/dist/chunks/{chunk-DH4A4QMD.js → chunk-HMNIFPU2.js} +1 -1
- package/dist/chunks/{chunk-2KXLL3DX.js → chunk-HSQPQ5RV.js} +1 -1
- package/dist/chunks/{chunk-6NC2JFUQ.js → chunk-I254SHTL.js} +1 -1
- package/dist/chunks/{chunk-YN3HZJXW.js → chunk-I3NEZRVW.js} +1 -1
- package/dist/chunks/{chunk-WHEA5VLX.js → chunk-ICPRMAKB.js} +1 -1
- package/dist/chunks/{chunk-OPORM35X.js → chunk-IFMPBA4K.js} +1 -1
- package/dist/chunks/{chunk-MCRKBVZA.js → chunk-IMLHRJ4K.js} +1 -1
- package/dist/chunks/{chunk-KA2KG3SY.js → chunk-IR3E37HD.js} +1 -1
- package/dist/chunks/chunk-IVJEYHF5.js +8 -0
- package/dist/chunks/{chunk-BPUANOGW.js → chunk-IZV6K7RR.js} +1 -1
- package/dist/chunks/{chunk-OZKP3WKT.js → chunk-J4WXRM2Y.js} +1 -1
- package/dist/chunks/chunk-J5MGMWRV.js +9 -0
- package/dist/chunks/{chunk-4FBOQLPZ.js → chunk-J7DIPT7M.js} +1 -1
- package/dist/chunks/{chunk-BOJDM3O7.js → chunk-JCDPMWKO.js} +1 -1
- package/dist/chunks/{chunk-FB37TFVF.js → chunk-JEACGNHI.js} +1 -1
- package/dist/chunks/{chunk-MGKNSTU4.js → chunk-JJNTYM7J.js} +1 -1
- package/dist/chunks/{chunk-76NL3ZRJ.js → chunk-K45TGFUJ.js} +1 -1
- package/dist/chunks/{chunk-LUX4PBJL.js → chunk-K5GE24PG.js} +1 -1
- package/dist/chunks/{chunk-25565AGS.js → chunk-K7YK4PZP.js} +1 -1
- package/dist/chunks/{chunk-D6NVKMRP.js → chunk-KEFF3BL3.js} +1 -1
- package/dist/chunks/{chunk-FBYA6LLM.js → chunk-KHJWQ4WP.js} +1 -1
- package/dist/chunks/{chunk-EHAS6SQB.js → chunk-KMTQYFJF.js} +1 -1
- package/dist/chunks/{chunk-JCHZRW4N.js → chunk-KVZR24QI.js} +1 -1
- package/dist/chunks/{chunk-BRQUZ5NC.js → chunk-L4CSJDG7.js} +1 -1
- package/dist/chunks/{chunk-ISWW3DKF.js → chunk-L6MWUMWZ.js} +1 -1
- package/dist/chunks/{chunk-KKYNEEM7.js → chunk-LKXPJLOP.js} +1 -1
- package/dist/chunks/{chunk-Q7D7RGXM.js → chunk-LLHXL3SV.js} +1 -1
- package/dist/chunks/{chunk-EYRBV6RM.js → chunk-LNRKGW7S.js} +1 -1
- package/dist/chunks/{chunk-BS32OUOC.js → chunk-LPYHYTYI.js} +1 -1
- package/dist/chunks/{chunk-A2RZZQEP.js → chunk-LY3EY2VG.js} +1 -1
- package/dist/chunks/chunk-M2XLLWK7.js +7 -0
- package/dist/chunks/{chunk-7WDSOKOY.js → chunk-MAAJGMXM.js} +1 -1
- package/dist/chunks/{chunk-DWZBL4NK.js → chunk-MAIZY5BV.js} +1 -1
- package/dist/chunks/{chunk-BUBVZ6SQ.js → chunk-MDWUJ7TA.js} +1 -1
- package/dist/chunks/{chunk-YHPPP3SF.js → chunk-MF43WTDT.js} +1 -1
- package/dist/chunks/{chunk-V3YNYCRV.js → chunk-MHVM4VKT.js} +2 -2
- package/dist/chunks/chunk-MJ2HLVVL.js +13 -0
- package/dist/chunks/{chunk-6Z5REGCM.js → chunk-MMMX3KE2.js} +1 -1
- package/dist/chunks/{chunk-ISSNEDG5.js → chunk-MN2F4NPH.js} +1 -1
- package/dist/chunks/{chunk-QFE3RPMA.js → chunk-MTPHHAPR.js} +1 -1
- package/dist/chunks/{slugify-NMMUASYK.js → chunk-N3COHC7T.js} +1 -1
- package/dist/chunks/{chunk-27FVSW45.js → chunk-N7IBUNFY.js} +1 -1
- package/dist/chunks/{chunk-BZENIQ7N.js → chunk-NBPLUP7C.js} +1 -1
- package/dist/chunks/chunk-NE5RTEMC.js +7 -0
- package/dist/chunks/{chunk-CTBSRTJW.js → chunk-NFPO75IP.js} +1 -1
- package/dist/chunks/{chunk-XE4SLG5H.js → chunk-NNPXYFMY.js} +1 -1
- package/dist/chunks/{chunk-D6O5O3CW.js → chunk-NQPQRYHS.js} +1 -1
- package/dist/chunks/{chunk-3SF3ILIT.js → chunk-NUS3WWST.js} +1 -1
- package/dist/chunks/chunk-NVU7XTNI.js +11 -0
- package/dist/chunks/{chunk-ZBZQEDZY.js → chunk-NXFYKZVZ.js} +1 -1
- package/dist/chunks/chunk-NXUDP37D.js +7 -0
- package/dist/chunks/chunk-O7AF7CLE.js +8 -0
- package/dist/chunks/{chunk-MWFHS4HV.js → chunk-O7FAYZU6.js} +1 -1
- package/dist/chunks/{chunk-MDRI27KN.js → chunk-OCX4QZ3X.js} +1 -1
- package/dist/chunks/{chunk-YOKTRWQX.js → chunk-OD4RCBDD.js} +1 -1
- package/dist/chunks/{chunk-OAM5NJCU.js → chunk-OK52DDU5.js} +1 -1
- package/dist/chunks/{chunk-PFD7LETF.js → chunk-OM6NML7C.js} +1 -1
- package/dist/chunks/{chunk-HYAIA5YC.js → chunk-OVIWCH3S.js} +2 -2
- package/dist/chunks/chunk-OVVHONX7.js +8 -0
- package/dist/chunks/{chunk-J5SINMVO.js → chunk-P5IKPNRJ.js} +1 -1
- package/dist/chunks/chunk-PG3WQGEK.js +181 -0
- package/dist/chunks/{chunk-AW33SRYY.js → chunk-PH2MLBQO.js} +1 -1
- package/dist/chunks/{chunk-XHBZITV4.js → chunk-PKECY4JZ.js} +1 -1
- package/dist/chunks/{chunk-DGLE44KA.js → chunk-PKWSWWVW.js} +1 -1
- package/dist/chunks/{chunk-RHFNVIFD.js → chunk-PNN2Y2ZQ.js} +1 -1
- package/dist/chunks/{chunk-5A3DDLQR.js → chunk-PNTKMD3A.js} +1 -1
- package/dist/chunks/{chunk-XC25DYA7.js → chunk-PQQRSUUG.js} +2 -2
- package/dist/chunks/{chunk-BKFRN6C2.js → chunk-PR4NNS3O.js} +1 -1
- package/dist/chunks/{chunk-QHGPFYWQ.js → chunk-PROENC6V.js} +1 -1
- package/dist/chunks/chunk-PW67ZNDU.js +8 -0
- package/dist/chunks/{chunk-Z436ZYLV.js → chunk-Q2FGBONA.js} +1 -1
- package/dist/chunks/{chunk-U5SZQUYO.js → chunk-QCYCLWNG.js} +1 -1
- package/dist/chunks/{chunk-6TEYSBCT.js → chunk-QDSDYOMV.js} +1 -1
- package/dist/chunks/{chunk-S3L2OHPO.js → chunk-QNMWYJQW.js} +1 -1
- package/dist/chunks/{chunk-MMMJO2M3.js → chunk-QOIG2FJP.js} +1 -1
- package/dist/chunks/{chunk-MTZYPCZ7.js → chunk-QRPBDCDH.js} +1 -1
- package/dist/chunks/{chunk-INIZJZ3O.js → chunk-RDTWDVFO.js} +1 -1
- package/dist/chunks/{chunk-GD7AV7BO.js → chunk-RFD7CEL6.js} +1 -1
- package/dist/chunks/{chunk-TSIKSHYG.js → chunk-RIVRPVTH.js} +1 -1
- package/dist/chunks/{chunk-RYSO5U3E.js → chunk-RIXTYUYN.js} +1 -1
- package/dist/chunks/{chunk-7HQZRU25.js → chunk-RRX2AMWY.js} +1 -1
- package/dist/chunks/{chunk-CEA5NDJC.js → chunk-RTIVLPN7.js} +1 -1
- package/dist/chunks/chunk-RWVYBRVF.js +13 -0
- package/dist/chunks/chunk-S4ARHJGW.js +9 -0
- package/dist/chunks/chunk-S7FMMAST.js +7 -0
- package/dist/chunks/{chunk-Q4R34AVE.js → chunk-SHLKM7EZ.js} +1 -1
- package/dist/chunks/chunk-SIWT2MBT.js +8 -0
- package/dist/chunks/{chunk-7SLMNM55.js → chunk-SPPOQ54P.js} +1 -1
- package/dist/chunks/{chunk-BIABM3FB.js → chunk-SSOWIDKG.js} +1 -1
- package/dist/chunks/{chunk-AZVSMIPP.js → chunk-STDRVWDW.js} +1 -1
- package/dist/chunks/{chunk-M2Q2DUHO.js → chunk-SUD5V67L.js} +1 -1
- package/dist/chunks/{chunk-7EJQLVWX.js → chunk-SUT2PTL3.js} +1 -1
- package/dist/chunks/chunk-SWWLPWX7.js +17 -0
- package/dist/chunks/chunk-SX2JJDHM.js +17 -0
- package/dist/chunks/{chunk-3RFQ2NXZ.js → chunk-T4257EDB.js} +1 -1
- package/dist/chunks/{chunk-G24EKATW.js → chunk-T5DQCNBC.js} +1 -1
- package/dist/chunks/chunk-TASNZYJU.js +14 -0
- package/dist/chunks/{chunk-YTSUDTAK.js → chunk-TNNCGRBK.js} +1 -1
- package/dist/chunks/{chunk-D5JQZXL7.js → chunk-TR3M42DX.js} +1 -1
- package/dist/chunks/chunk-TTM4VQ4T.js +7 -0
- package/dist/chunks/{chunk-BYBELFCP.js → chunk-UAPEASRH.js} +1 -1
- package/dist/chunks/{chunk-DXFP22OK.js → chunk-UE6M2VKP.js} +1 -1
- package/dist/chunks/chunk-UGJRAFRA.js +8 -0
- package/dist/chunks/{chunk-3AFEVHHY.js → chunk-UGVOMXYR.js} +1 -1
- package/dist/chunks/{chunk-NB2WLB3J.js → chunk-UJ7YUIEJ.js} +1 -1
- package/dist/chunks/{chunk-7OZ7OKPS.js → chunk-UJINL7VK.js} +1 -1
- package/dist/chunks/{chunk-6KNWKZR4.js → chunk-UVBRWYYJ.js} +1 -1
- package/dist/chunks/{chunk-KNNIA3PS.js → chunk-UXAPG6IX.js} +1 -1
- package/dist/chunks/{chunk-6FEMU5YF.js → chunk-V45KKYNK.js} +1 -1
- package/dist/chunks/{chunk-A6CMQOL7.js → chunk-V7EJ7O6E.js} +1 -1
- package/dist/chunks/chunk-VB6SQWSB.js +9 -0
- package/dist/chunks/{chunk-E5A7E7X6.js → chunk-VBCWRNS4.js} +1 -1
- package/dist/chunks/{chunk-5U2YLD56.js → chunk-VG44VJB5.js} +1 -1
- package/dist/chunks/{chunk-DOOBZO4W.js → chunk-VJM3WCEC.js} +1 -1
- package/dist/chunks/{chunk-BYYNR34Q.js → chunk-VNS4Z72T.js} +1 -1
- package/dist/chunks/{chunk-CTMTO2W4.js → chunk-VQAIH2X5.js} +1 -1
- package/dist/chunks/{chunk-D2JNI6UB.js → chunk-VSDLCOK3.js} +1 -1
- package/dist/chunks/chunk-VUB4NBD4.js +15 -0
- package/dist/chunks/{chunk-KXMFGDO4.js → chunk-VV5TYUAT.js} +1 -1
- package/dist/chunks/chunk-W2YAOE3Z.js +7 -0
- package/dist/chunks/{chunk-JALVF3C2.js → chunk-WMIZ6Y4E.js} +1 -1
- package/dist/chunks/{chunk-R43H4T4L.js → chunk-WPWGH5CA.js} +1 -1
- package/dist/chunks/{chunk-22ZRVWYP.js → chunk-WU22X5RO.js} +2 -2
- package/dist/chunks/{chunk-TLKBGAOL.js → chunk-WWEUGL6W.js} +1 -1
- package/dist/chunks/{chunk-S6TAO4MD.js → chunk-X3A324UF.js} +1 -1
- package/dist/chunks/{chunk-JUAHDOL6.js → chunk-X5YKQ2RJ.js} +1 -1
- package/dist/chunks/{chunk-VJNTVPUV.js → chunk-X5ZBXCCY.js} +1 -1
- package/dist/chunks/{chunk-J3U2QD2L.js → chunk-X72FHJ6W.js} +1 -1
- package/dist/chunks/{chunk-E3AML3VR.js → chunk-XBT7X2Q4.js} +1 -1
- package/dist/chunks/{chunk-CDJ25IKC.js → chunk-XGCCTSBW.js} +1 -1
- package/dist/chunks/chunk-XHXWUAJE.js +32 -0
- package/dist/chunks/{chunk-U4Z2MMOF.js → chunk-XKVKG7CW.js} +1 -1
- package/dist/chunks/{chunk-4F73GVJZ.js → chunk-XO2CZXGA.js} +1 -1
- package/dist/chunks/{chunk-E3WP42P2.js → chunk-XPEWDJV6.js} +1 -1
- package/dist/chunks/{chunk-DNONVY2L.js → chunk-XXPUBGJZ.js} +2 -2
- package/dist/chunks/{chunk-UPDIZCP3.js → chunk-Y2J2ESAE.js} +1 -1
- package/dist/chunks/chunk-Y2KAVMM4.js +10 -0
- package/dist/chunks/{chunk-46ISU3XI.js → chunk-Y3ETQZSK.js} +2 -2
- package/dist/chunks/{chunk-5RMIM4S2.js → chunk-Y7SZI3JV.js} +1 -1
- package/dist/chunks/chunk-YBWLW6SW.js +7 -0
- package/dist/chunks/{chunk-B7IUFV5P.js → chunk-YDCILYRC.js} +1 -1
- package/dist/chunks/{chunk-67GZ5REA.js → chunk-YHZXIBS7.js} +1 -1
- package/dist/chunks/{chunk-5CVEW3HD.js → chunk-YLQCB6XY.js} +1 -1
- package/dist/chunks/{chunk-47E5IB3C.js → chunk-YNNU3GPR.js} +1 -1
- package/dist/chunks/{chunk-IVZNPSHU.js → chunk-YTBNOSND.js} +1 -1
- package/dist/chunks/{chunk-WAOS5OCB.js → chunk-YU33PPKX.js} +1 -1
- package/dist/chunks/{chunk-7JU5RJ3H.js → chunk-ZEBOIM34.js} +1 -1
- package/dist/chunks/{chunk-E7IN2DGU.js → chunk-ZEGUFI44.js} +1 -1
- package/dist/chunks/{chunk-NZ2TFADV.js → chunk-ZOJI7HYA.js} +1 -1
- package/dist/chunks/{clear-GL4SZ2XR.js → clear-FQ4L2ACT.js} +1 -1
- package/dist/chunks/{cli-embedded-NR5F35LW.js → cli-embedded-CZYKFQ6U.js} +2 -2
- package/dist/chunks/cli-truncate-CylqKOGj-WE5OLB6Q.js +7 -0
- package/dist/chunks/commands-Bx-lrmie-KJI5MSFW.js +10 -0
- package/dist/chunks/compile-vercel-config-GUTXMJOP.js +7 -0
- package/dist/chunks/{config-U4GLPYDY.js → config-4KECSIYK.js} +1 -1
- package/dist/chunks/{config-KSQQQMQQ.js → config-EEYAOPDR.js} +1 -1
- package/dist/chunks/config-HiWLfXRQ-G4JC3PIR.js +43 -0
- package/dist/chunks/connect-U3yG4EtI-KWEUMGCU.js +7 -0
- package/dist/chunks/connect-git-provider-MPYSAOTH.js +7 -0
- package/dist/chunks/cp-aFe-HVrK-JGQPCT5R.js +12 -0
- package/dist/chunks/create-ilHWvzSk-MPW7HE43.js +7 -0
- package/dist/chunks/create-project-FMUOSSNP.js +7 -0
- package/dist/chunks/{delete-D2WLQHVB.js → delete-JRMGVHFJ.js} +1 -1
- package/dist/chunks/{delete-O2VWRQC3.js → delete-LP4N4BXX.js} +1 -1
- package/dist/chunks/{describe-N36SISDN.js → describe-5M3XKRMV.js} +1 -1
- package/dist/chunks/detect-projects-DHS2E3N4.js +7 -0
- package/dist/chunks/detect-services-HCUFI3RJ.js +7 -0
- package/dist/chunks/{disable-EHRVY24G.js → disable-ZFDARZAF.js} +1 -1
- package/dist/chunks/{discard-QW5TMTXX.js → discard-PE5SSIDJ.js} +1 -1
- package/dist/chunks/dist-BGUQ47VG.js +7 -0
- package/dist/chunks/{dist-33WTJLVQ.js → dist-E4BMK7BO.js} +1 -1
- package/dist/chunks/{dist-RXYNZPEA.js → dist-S7GEJ656.js} +1 -1
- package/dist/chunks/domain-DGvr_U55-AZYOJW3J.js +8 -0
- package/dist/chunks/drives-Bi-Mnt2z-JAGBYE6W.js +14 -0
- package/dist/chunks/{edit-WM6KJPSI.js → edit-7S67WBSE.js} +1 -1
- package/dist/chunks/{edit-IZR537PS.js → edit-BATH6ETJ.js} +1 -1
- package/dist/chunks/{enable-5Z72O3NI.js → enable-JWLWXAZP.js} +1 -1
- package/dist/chunks/{engine-C8wCzkw--PYVABGU4.js → engine-C8wCzkw--72P7UD6T.js} +1 -1
- package/dist/chunks/{esm-IYH32MTQ.js → esm-B3P7PUFJ.js} +1 -1
- package/dist/chunks/{esm-5GQXHN7C.js → esm-CMSQLK7G.js} +1 -1
- package/dist/chunks/{esm-LEQXRLFV.js → esm-KWMRMP74.js} +1 -1
- package/dist/chunks/{esm-NHCCFW7Z.js → esm-LRBNA4QO.js} +1 -1
- package/dist/chunks/{esm-FJCIOBBV.js → esm-NVIK2MSG.js} +1 -1
- package/dist/chunks/{esm-T655CG6O.js → esm-RAS56M3I.js} +1 -1
- package/dist/chunks/{esm-QQ3MUOW4.js → esm-WU2ZS2IW.js} +1 -1
- package/dist/chunks/{exec-PCSP64LR.js → exec-6WGVP2E2.js} +1 -1
- package/dist/chunks/exec-Bwv4MDyN-SMCC4JHS.js +7 -0
- package/dist/chunks/{export-IWVMWM2H.js → export-DASZMUUD.js} +1 -1
- package/dist/chunks/extend-D9tq9Cot-Z4ORB3B2.js +8 -0
- package/dist/chunks/{fetch-proxy-MOKBS56A.js → fetch-proxy-ZIHXTNFP.js} +1 -1
- package/dist/chunks/fork-DQ6qfKqB-AJCZOGQR.js +9 -0
- package/dist/chunks/future-CNLTCF2D.js +7 -0
- package/dist/chunks/generate-cert-for-deploy-TCH3OY6G.js +7 -0
- package/dist/chunks/groups-B8JVEeKk-J5CCQYWU.js +10 -0
- package/dist/chunks/image-CDRXKTJG.js +7 -0
- package/dist/chunks/import-builders-XI6CYID6.js +7 -0
- package/dist/chunks/{inspect-6Y672OQ3.js → inspect-DSTHAT43.js} +1 -1
- package/dist/chunks/{inspect-SW2I7D6E.js → inspect-FCJC7XCN.js} +1 -1
- package/dist/chunks/{inspect-QT3QEFBW.js → inspect-FODCPYHT.js} +1 -1
- package/dist/chunks/{inspect-6J5DGZZ4.js → inspect-I7NZH44Z.js} +1 -1
- package/dist/chunks/{inspect-ALC2J4BF.js → inspect-JFRSCAAW.js} +1 -1
- package/dist/chunks/{inspect-47FM3OWG.js → inspect-RSSQ5YKF.js} +1 -1
- package/dist/chunks/{list-CXXDI5UV.js → list-7K3LEJXV.js} +1 -1
- package/dist/chunks/{list-BIFH4KO5.js → list-HWDVPR4V.js} +1 -1
- package/dist/chunks/{list-TGDHJKDT.js → list-NT2RHNIB.js} +1 -1
- package/dist/chunks/{list-2CMCXXP4.js → list-QDBAXYKL.js} +1 -1
- package/dist/chunks/list-iqQFvOHx-EWWTMITV.js +7 -0
- package/dist/chunks/log-update-DsqoChS1-DG7F5XJ4.js +11 -0
- package/dist/chunks/login-DGxA9ez--ZRIJ24TS.js +13 -0
- package/dist/chunks/login-RWXYD2CO.js +7 -0
- package/dist/chunks/{login-IUQDG334.js → login-WHXNCPDU.js} +1 -1
- package/dist/chunks/logout-OEbPJLu2-7NPM6ALK.js +8 -0
- package/dist/chunks/logs-RDOQVAER.js +7 -0
- package/dist/chunks/{ls-YTKJRKD3.js → ls-2OYMFZIB.js} +1 -1
- package/dist/chunks/{ls-7D73WVOF.js → ls-2PCKZKR7.js} +1 -1
- package/dist/chunks/{ls-GC5MX2HZ.js → ls-7DUE3OKC.js} +1 -1
- package/dist/chunks/{ls-C75Z5FBX.js → ls-ASWAYYAI.js} +1 -1
- package/dist/chunks/{ls-ERDQLUT2.js → ls-PEFQHSG3.js} +1 -1
- package/dist/chunks/{ls-4DNFF35I.js → ls-UQZB42CA.js} +1 -1
- package/dist/chunks/{ls-IQUZ6GWG.js → ls-XJZFHHWA.js} +1 -1
- package/dist/chunks/migrate-experimental-services-2E5TRQU6.js +7 -0
- package/dist/chunks/{mutate-YJNE2733.js → mutate-QXTPOGVD.js} +1 -1
- package/dist/chunks/{native-self-update-Q3EN6NZK.js → native-self-update-T75AUBHJ.js} +1 -1
- package/dist/chunks/{notifications-2HU4L7WA.js → notifications-F2BUWHH4.js} +1 -1
- package/dist/chunks/{open-MA7QGJKO.js → open-5FUW57NF.js} +1 -1
- package/dist/chunks/{openapi-POBVCXS3.js → openapi-NZLMBOMR.js} +1 -1
- package/dist/chunks/{permissions-AU5M5A6G.js → permissions-ABXSL4I4.js} +1 -1
- package/dist/chunks/{plugin-offer-E53UQXXX.js → plugin-offer-IMTYE365.js} +1 -1
- package/dist/chunks/prompt-missing-credentials-3MKVB7HN.js +7 -0
- package/dist/chunks/{publish-G7NQESCE.js → publish-5AE7VXIO.js} +1 -1
- package/dist/chunks/pull-MGQ2TMA3.js +7 -0
- package/dist/chunks/purchase-domain-if-available-MU5TGXLG.js +7 -0
- package/dist/chunks/{push-BG7UEIKY.js → push-SBTMPRZE.js} +1 -1
- package/dist/chunks/query-5Q6ZV2TP.js +7 -0
- package/dist/chunks/{raw-query-QHFSKN55.js → raw-query-OAYC3OTN.js} +1 -1
- package/dist/chunks/read-BTA5slYO-TGRGDUB5.js +8 -0
- package/dist/chunks/{reauthenticate-U2LOFDFP.js → reauthenticate-PXEYMV7G.js} +1 -1
- package/dist/chunks/remove-CCa99nz9-52C5X3OV.js +7 -0
- package/dist/chunks/{remove-IB7C6LII.js → remove-WSK5OYNV.js} +1 -1
- package/dist/chunks/{reorder-E5UYNMML.js → reorder-DT32UBAI.js} +1 -1
- package/dist/chunks/{reply-DSDFBUAX.js → reply-AMZ3Y3U5.js} +1 -1
- package/dist/chunks/{repo-info-to-url-XQSULSEO.js → repo-info-to-url-S2YOQIRM.js} +1 -1
- package/dist/chunks/{repo-root-DZ6WFHMP.js → repo-root-STNOAHCH.js} +1 -1
- package/dist/chunks/{resolve-VK5QTUII.js → resolve-NPE5HKCT.js} +1 -1
- package/dist/chunks/{resolve-agent-team-D7RFR6WL.js → resolve-agent-team-75WZ2VDR.js} +1 -1
- package/dist/chunks/{resolve-deployment-framework-preset-BLMQLCIN.js → resolve-deployment-framework-preset-SCQCWANF.js} +1 -1
- package/dist/chunks/{restore-IVNZOVU3.js → restore-IZHGW3NV.js} +1 -1
- package/dist/chunks/{rm-LWEITUDD.js → rm-G4U54YJT.js} +1 -1
- package/dist/chunks/{rm-GYS4DS2Z.js → rm-HVDZJXME.js} +1 -1
- package/dist/chunks/{rm-L2KCHMLS.js → rm-ILDCA66K.js} +1 -1
- package/dist/chunks/{rm-PDJE63VV.js → rm-JWMYMOKD.js} +1 -1
- package/dist/chunks/{rm-PAI3WZXJ.js → rm-MBWOLQZJ.js} +1 -1
- package/dist/chunks/routes-GTTTHCOL.js +7 -0
- package/dist/chunks/rule-inspect-KZ7FNV26.js +8 -0
- package/dist/chunks/run-D8obqfKw-VBME5UHC.js +7 -0
- package/dist/chunks/{schema-ZIK2W4AX.js → schema-5FNNQEU5.js} +1 -1
- package/dist/chunks/{schema-ZOPJJLJC.js → schema-SKHPOMD7.js} +1 -1
- package/dist/chunks/select-org-YRCPH5Z5.js +7 -0
- package/dist/chunks/{serving-C1mhZQqH-73TMEGEB.js → serving-C1mhZQqH-XEQUVQZK.js} +1 -1
- package/dist/chunks/sessions-cvWvPgzc-XIYLOGFI.js +7 -0
- package/dist/chunks/{set-MC2CLSA2.js → set-V6QX5AZQ.js} +1 -1
- package/dist/chunks/{set-B5MPNYXG.js → set-WWREM57F.js} +1 -1
- package/dist/chunks/setup-and-link-STBOP67J.js +7 -0
- package/dist/chunks/sh-7olsIyJh-PKP4FF4F.js +7 -0
- package/dist/chunks/{skills-X5MN3OH2.js → skills-5TXXGKN5.js} +1 -1
- package/dist/chunks/slugify-OEOEYGDL.js +7 -0
- package/dist/chunks/snapshot-D9MAspub-SROFKNVE.js +9 -0
- package/dist/chunks/snapshots-DQjvm6St-4DTYO2IQ.js +9 -0
- package/dist/chunks/stamp-THWCZ5IQ.js +7 -0
- package/dist/chunks/{statuspage-K5SC7KAQ.js → statuspage-NCYXH7DR.js} +1 -1
- package/dist/chunks/stop-SQX-uC-Q-MCMKSJVQ.js +10 -0
- package/dist/chunks/table-3DCL552W.js +7 -0
- package/dist/chunks/{tags-WRVKKRN7.js → tags-SVOY7QEN.js} +1 -1
- package/dist/chunks/telemetry-KLbte3YE-OAFHJTWE.js +13 -0
- package/dist/chunks/token-DGNBXqnR-37H4S563.js +7 -0
- package/dist/chunks/token-EYEJQ7AP.js +7 -0
- package/dist/chunks/token-LNLX4V5J.js +7 -0
- package/dist/chunks/token-MZBD3R2S.js +7 -0
- package/dist/chunks/token-util-4P4GUSTT.js +7 -0
- package/dist/chunks/token-util-DAhLJ1X4-NJBLJROT.js +7 -0
- package/dist/chunks/token-util-XC5K3DNT.js +7 -0
- package/dist/chunks/token-util-XO4H5VLL.js +7 -0
- package/dist/chunks/{types-PC3JIYPX.js → types-NX7G6YBW.js} +1 -1
- package/dist/chunks/{update-QDIZFM4T.js → update-AVWVPYK5.js} +1 -1
- package/dist/chunks/{update-route-version-KWK5S4UW.js → update-route-version-MKFTZPKQ.js} +1 -1
- package/dist/chunks/{usage-JUP36KHN.js → usage-RUCM3AMF.js} +1 -1
- package/dist/chunks/users-CGEsQ4G8-BEKXN56N.js +9 -0
- package/dist/chunks/{utils-IQZEE4DT.js → utils-XXR7KIRB.js} +1 -1
- package/dist/chunks/validate-config-MJQI5EMD.js +7 -0
- package/dist/chunks/{vercel-cli-3UQLDU2S.js → vercel-cli-RW4WHHOS.js} +1 -1
- package/dist/chunks/{vlt-builder-graph-XL2XRO4V.js → vlt-builder-graph-EU5EX7KY.js} +1 -1
- package/dist/chunks/{vlt-builder-importer-RBUPAB6J.js → vlt-builder-importer-2YSRGPFC.js} +1 -1
- package/dist/chunks/wrap-ansi-CaN_P_HT-MAPHF26X.js +7 -0
- package/dist/chunks/write-DixEhGqz-D34NI34B.js +10 -0
- package/dist/chunks/{zod-Y3ZBY67C.js → zod-H7KW2D5Z.js} +1 -1
- package/dist/commands/build/index.js +1 -1
- package/dist/commands/deploy/index.js +11 -11
- package/dist/commands/dev/index.js +5 -9
- package/dist/commands/env/index.js +1 -1
- package/dist/commands/link/index.js +1 -1
- package/dist/commands/list/index.js +1 -1
- package/dist/commands/project/index.js +102 -80
- package/dist/commands/tunnel/index.js +1 -1
- package/dist/commands-account.js +5 -5
- package/dist/commands-ai.js +6 -6
- package/dist/commands-blob.js +3 -3
- package/dist/commands-core.js +9 -9
- package/dist/commands-deployments.js +1 -1
- package/dist/commands-flags.js +1 -1
- package/dist/commands-integrations.js +11 -11
- package/dist/commands-observability.js +2 -2
- package/dist/commands-routing.js +9 -9
- package/dist/help.js +1 -1
- package/dist/index.js +5 -5
- package/dist/internal-build-worker.js +1 -1
- package/dist/internal-build.js +2 -2
- package/dist/package.json +8 -8
- package/dist/version.mjs +1 -1
- package/package.json +16 -16
- package/dist/chunks/chunk-3ARTWVQV.js +0 -11
- package/dist/chunks/chunk-6UJIJLQC.js +0 -13
- package/dist/chunks/chunk-EMTZZXMH.js +0 -13
- package/dist/chunks/chunk-XKPB27SC.js +0 -8
- package/dist/chunks/chunk-Z3XKNZDP.js +0 -9
- package/dist/chunks/compile-vercel-config-HMKEDWC4.js +0 -7
- package/dist/chunks/connect-git-provider-WGKVFXW2.js +0 -7
- package/dist/chunks/create-project-BTOHPKZB.js +0 -7
- package/dist/chunks/detect-projects-I7NEHWSM.js +0 -7
- package/dist/chunks/detect-services-4ONC2DH3.js +0 -7
- package/dist/chunks/future-3AUPMPY7.js +0 -7
- package/dist/chunks/generate-cert-for-deploy-OZWVIWOO.js +0 -7
- package/dist/chunks/image-EFBQXTAP.js +0 -7
- package/dist/chunks/import-builders-2G4KVI4T.js +0 -7
- package/dist/chunks/login-WYDX5KZN.js +0 -7
- package/dist/chunks/logs-E3RZLAT2.js +0 -7
- package/dist/chunks/migrate-experimental-services-GPGYPN66.js +0 -7
- package/dist/chunks/prompt-missing-credentials-7F7MUAWK.js +0 -7
- package/dist/chunks/pull-4LISUHDN.js +0 -7
- package/dist/chunks/purchase-domain-if-available-QH2OHRLZ.js +0 -7
- package/dist/chunks/query-QCIU5IB4.js +0 -7
- package/dist/chunks/routes-SBMN6SDF.js +0 -7
- package/dist/chunks/rule-inspect-LQISNCBT.js +0 -8
- package/dist/chunks/select-org-EKDOS2CQ.js +0 -7
- package/dist/chunks/setup-and-link-FHHZAU65.js +0 -7
- package/dist/chunks/stamp-TKONNIJ5.js +0 -7
- package/dist/chunks/table-SCLK33K7.js +0 -7
- package/dist/chunks/token-MYYNOUIT.js +0 -7
- package/dist/chunks/token-util-OJHS52JP.js +0 -7
- package/dist/chunks/validate-config-K42CVRCZ.js +0 -7
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{__commonJS}from"./chunk-BZENIQ7N.js";var require_escape_string_regexp=__commonJS({"../../node_modules/.pnpm/escape-string-regexp@2.0.0/node_modules/escape-string-regexp/index.js"(exports,module){"use strict";var matchOperatorsRegex=/[|\\{}()[\]^$+*?.-]/g;module.exports=string=>{if(typeof string!="string")throw new TypeError("Expected a string");return string.replace(matchOperatorsRegex,"\\$&")}}});var require_lodash=__commonJS({"../../node_modules/.pnpm/lodash.deburr@4.1.0/node_modules/lodash.deburr/index.js"(exports,module){var INFINITY=1/0,symbolTag="[object Symbol]",reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange="\\u0300-\\u036f\\ufe20-\\ufe23",rsComboSymbolsRange="\\u20d0-\\u20f0",rsCombo="["+rsComboMarksRange+rsComboSymbolsRange+"]",reComboMark=RegExp(rsCombo,"g"),deburredLetters={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();function basePropertyOf(object){return function(key){return object?.[key]}}var deburrLetter=basePropertyOf(deburredLetters),objectProto=Object.prototype,objectToString=objectProto.toString,Symbol=root.Symbol,symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(value){if(typeof value=="string")return value;if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function isObjectLike(value){return!!value&&typeof value=="object"}function isSymbol(value){return typeof value=="symbol"||isObjectLike(value)&&objectToString.call(value)==symbolTag}function toString(value){return value==null?"":baseToString(value)}function deburr(string){return string=toString(string),string&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}module.exports=deburr}});var require_replacements=__commonJS({"../../node_modules/.pnpm/@sindresorhus+transliterate@0.1.2/node_modules/@sindresorhus/transliterate/replacements.js"(exports,module){"use strict";module.exports=[["\xDF","ss"],["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xC0","A"],["\xC1","A"],["\xC2","A"],["\xC3","A"],["\xC4","Ae"],["\xC5","A"],["\xC6","AE"],["\xC7","C"],["\xC8","E"],["\xC9","E"],["\xCA","E"],["\xCB","E"],["\xCC","I"],["\xCD","I"],["\xCE","I"],["\xCF","I"],["\xD0","D"],["\xD1","N"],["\xD2","O"],["\xD3","O"],["\xD4","O"],["\xD5","O"],["\xD6","Oe"],["\u0150","O"],["\xD8","O"],["\xD9","U"],["\xDA","U"],["\xDB","U"],["\xDC","Ue"],["\u0170","U"],["\xDD","Y"],["\xDE","TH"],["\xDF","ss"],["\xE0","a"],["\xE1","a"],["\xE2","a"],["\xE3","a"],["\xE4","ae"],["\xE5","a"],["\xE6","ae"],["\xE7","c"],["\xE8","e"],["\xE9","e"],["\xEA","e"],["\xEB","e"],["\xEC","i"],["\xED","i"],["\xEE","i"],["\xEF","i"],["\xF0","d"],["\xF1","n"],["\xF2","o"],["\xF3","o"],["\xF4","o"],["\xF5","o"],["\xF6","oe"],["\u0151","o"],["\xF8","o"],["\xF9","u"],["\xFA","u"],["\xFB","u"],["\xFC","ue"],["\u0171","u"],["\xFD","y"],["\xFE","th"],["\xFF","y"],["\u1E9E","SS"],["\xE0","a"],["\xC0","A"],["\xE1","a"],["\xC1","A"],["\xE2","a"],["\xC2","A"],["\xE3","a"],["\xC3","A"],["\xE8","e"],["\xC8","E"],["\xE9","e"],["\xC9","E"],["\xEA","e"],["\xCA","E"],["\xEC","i"],["\xCC","I"],["\xED","i"],["\xCD","I"],["\xF2","o"],["\xD2","O"],["\xF3","o"],["\xD3","O"],["\xF4","o"],["\xD4","O"],["\xF5","o"],["\xD5","O"],["\xF9","u"],["\xD9","U"],["\xFA","u"],["\xDA","U"],["\xFD","y"],["\xDD","Y"],["\u0103","a"],["\u0102","A"],["\u0110","D"],["\u0111","d"],["\u0129","i"],["\u0128","I"],["\u0169","u"],["\u0168","U"],["\u01A1","o"],["\u01A0","O"],["\u01B0","u"],["\u01AF","U"],["\u1EA1","a"],["\u1EA0","A"],["\u1EA3","a"],["\u1EA2","A"],["\u1EA5","a"],["\u1EA4","A"],["\u1EA7","a"],["\u1EA6","A"],["\u1EA9","a"],["\u1EA8","A"],["\u1EAB","a"],["\u1EAA","A"],["\u1EAD","a"],["\u1EAC","A"],["\u1EAF","a"],["\u1EAE","A"],["\u1EB1","a"],["\u1EB0","A"],["\u1EB3","a"],["\u1EB2","A"],["\u1EB5","a"],["\u1EB4","A"],["\u1EB7","a"],["\u1EB6","A"],["\u1EB9","e"],["\u1EB8","E"],["\u1EBB","e"],["\u1EBA","E"],["\u1EBD","e"],["\u1EBC","E"],["\u1EBF","e"],["\u1EBE","E"],["\u1EC1","e"],["\u1EC0","E"],["\u1EC3","e"],["\u1EC2","E"],["\u1EC5","e"],["\u1EC4","E"],["\u1EC7","e"],["\u1EC6","E"],["\u1EC9","i"],["\u1EC8","I"],["\u1ECB","i"],["\u1ECA","I"],["\u1ECD","o"],["\u1ECC","O"],["\u1ECF","o"],["\u1ECE","O"],["\u1ED1","o"],["\u1ED0","O"],["\u1ED3","o"],["\u1ED2","O"],["\u1ED5","o"],["\u1ED4","O"],["\u1ED7","o"],["\u1ED6","O"],["\u1ED9","o"],["\u1ED8","O"],["\u1EDB","o"],["\u1EDA","O"],["\u1EDD","o"],["\u1EDC","O"],["\u1EDF","o"],["\u1EDE","O"],["\u1EE1","o"],["\u1EE0","O"],["\u1EE3","o"],["\u1EE2","O"],["\u1EE5","u"],["\u1EE4","U"],["\u1EE7","u"],["\u1EE6","U"],["\u1EE9","u"],["\u1EE8","U"],["\u1EEB","u"],["\u1EEA","U"],["\u1EED","u"],["\u1EEC","U"],["\u1EEF","u"],["\u1EEE","U"],["\u1EF1","u"],["\u1EF0","U"],["\u1EF3","y"],["\u1EF2","Y"],["\u1EF5","y"],["\u1EF4","Y"],["\u1EF7","y"],["\u1EF6","Y"],["\u1EF9","y"],["\u1EF8","Y"],["\u0621","e"],["\u0622","a"],["\u0623","a"],["\u0624","w"],["\u0625","i"],["\u0626","y"],["\u0627","a"],["\u0628","b"],["\u0629","t"],["\u062A","t"],["\u062B","th"],["\u062C","j"],["\u062D","h"],["\u062E","kh"],["\u062F","d"],["\u0630","dh"],["\u0631","r"],["\u0632","z"],["\u0633","s"],["\u0634","sh"],["\u0635","s"],["\u0636","d"],["\u0637","t"],["\u0638","z"],["\u0639","e"],["\u063A","gh"],["\u0640","_"],["\u0641","f"],["\u0642","q"],["\u0643","k"],["\u0644","l"],["\u0645","m"],["\u0646","n"],["\u0647","h"],["\u0648","w"],["\u0649","a"],["\u064A","y"],["\u064E\u200E","a"],["\u064F","u"],["\u0650\u200E","i"],["\u0660","0"],["\u0661","1"],["\u0662","2"],["\u0663","3"],["\u0664","4"],["\u0665","5"],["\u0666","6"],["\u0667","7"],["\u0668","8"],["\u0669","9"],["\u0686","ch"],["\u06A9","k"],["\u06AF","g"],["\u067E","p"],["\u0698","zh"],["\u06CC","y"],["\u06F0","0"],["\u06F1","1"],["\u06F2","2"],["\u06F3","3"],["\u06F4","4"],["\u06F5","5"],["\u06F6","6"],["\u06F7","7"],["\u06F8","8"],["\u06F9","9"],["\u067C","p"],["\u0681","z"],["\u0685","c"],["\u0689","d"],["\uFEAB","d"],["\uFEAD","r"],["\u0693","r"],["\uFEAF","z"],["\u0696","g"],["\u069A","x"],["\u06AB","g"],["\u06BC","n"],["\u06C0","e"],["\u06D0","e"],["\u06CD","ai"],["\u0679","t"],["\u0688","d"],["\u0691","r"],["\u06BA","n"],["\u06C1","h"],["\u06BE","h"],["\u06D2","e"],["\u0410","A"],["\u0430","a"],["\u0411","B"],["\u0431","b"],["\u0412","V"],["\u0432","v"],["\u0413","G"],["\u0433","g"],["\u0414","D"],["\u0434","d"],["\u0415","E"],["\u0435","e"],["\u0416","Zh"],["\u0436","zh"],["\u0417","Z"],["\u0437","z"],["\u0418","I"],["\u0438","i"],["\u0419","J"],["\u0439","j"],["\u041A","K"],["\u043A","k"],["\u041B","L"],["\u043B","l"],["\u041C","M"],["\u043C","m"],["\u041D","N"],["\u043D","n"],["\u041E","O"],["\u043E","o"],["\u041F","P"],["\u043F","p"],["\u0420","R"],["\u0440","r"],["\u0421","S"],["\u0441","s"],["\u0422","T"],["\u0442","t"],["\u0423","U"],["\u0443","u"],["\u0424","F"],["\u0444","f"],["\u0425","H"],["\u0445","h"],["\u0426","Cz"],["\u0446","cz"],["\u0427","Ch"],["\u0447","ch"],["\u0428","Sh"],["\u0448","sh"],["\u0429","Shh"],["\u0449","shh"],["\u042A",""],["\u044A",""],["\u042B","Y"],["\u044B","y"],["\u042C",""],["\u044C",""],["\u042D","E"],["\u044D","e"],["\u042E","Yu"],["\u044E","yu"],["\u042F","Ya"],["\u044F","ya"],["\u0401","Yo"],["\u0451","yo"],["\u0103","a"],["\u0102","A"],["\u0219","s"],["\u0218","S"],["\u021B","t"],["\u021A","T"],["\u0163","t"],["\u0162","T"],["\u015F","s"],["\u015E","S"],["\xE7","c"],["\xC7","C"],["\u011F","g"],["\u011E","G"],["\u0131","i"],["\u0130","I"],["\u0561","a"],["\u0531","A"],["\u0562","b"],["\u0532","B"],["\u0563","g"],["\u0533","G"],["\u0564","d"],["\u0534","D"],["\u0565","ye"],["\u0535","Ye"],["\u0566","z"],["\u0536","Z"],["\u0567","e"],["\u0537","E"],["\u0568","y"],["\u0538","Y"],["\u0569","t"],["\u0539","T"],["\u056A","zh"],["\u053A","Zh"],["\u056B","i"],["\u053B","I"],["\u056C","l"],["\u053C","L"],["\u056D","kh"],["\u053D","Kh"],["\u056E","ts"],["\u053E","Ts"],["\u056F","k"],["\u053F","K"],["\u0570","h"],["\u0540","H"],["\u0571","dz"],["\u0541","Dz"],["\u0572","gh"],["\u0542","Gh"],["\u0573","tch"],["\u0543","Tch"],["\u0574","m"],["\u0544","M"],["\u0575","y"],["\u0545","Y"],["\u0576","n"],["\u0546","N"],["\u0577","sh"],["\u0547","Sh"],["\u0578","vo"],["\u0548","Vo"],["\u0579","ch"],["\u0549","Ch"],["\u057A","p"],["\u054A","P"],["\u057B","j"],["\u054B","J"],["\u057C","r"],["\u054C","R"],["\u057D","s"],["\u054D","S"],["\u057E","v"],["\u054E","V"],["\u057F","t"],["\u054F","T"],["\u0580","r"],["\u0550","R"],["\u0581","c"],["\u0551","C"],["\u0578\u0582","u"],["\u0548\u0552","U"],["\u0548\u0582","U"],["\u0583","p"],["\u0553","P"],["\u0584","q"],["\u0554","Q"],["\u0585","o"],["\u0555","O"],["\u0586","f"],["\u0556","F"],["\u0587","yev"],["\u10D0","a"],["\u10D1","b"],["\u10D2","g"],["\u10D3","d"],["\u10D4","e"],["\u10D5","v"],["\u10D6","z"],["\u10D7","t"],["\u10D8","i"],["\u10D9","k"],["\u10DA","l"],["\u10DB","m"],["\u10DC","n"],["\u10DD","o"],["\u10DE","p"],["\u10DF","zh"],["\u10E0","r"],["\u10E1","s"],["\u10E2","t"],["\u10E3","u"],["\u10E4","ph"],["\u10E5","q"],["\u10E6","gh"],["\u10E7","k"],["\u10E8","sh"],["\u10E9","ch"],["\u10EA","ts"],["\u10EB","dz"],["\u10EC","ts"],["\u10ED","tch"],["\u10EE","kh"],["\u10EF","j"],["\u10F0","h"],["\u010D","c"],["\u010F","d"],["\u011B","e"],["\u0148","n"],["\u0159","r"],["\u0161","s"],["\u0165","t"],["\u016F","u"],["\u017E","z"],["\u010C","C"],["\u010E","D"],["\u011A","E"],["\u0147","N"],["\u0158","R"],["\u0160","S"],["\u0164","T"],["\u016E","U"],["\u017D","Z"],["\u0780","h"],["\u0781","sh"],["\u0782","n"],["\u0783","r"],["\u0784","b"],["\u0785","lh"],["\u0786","k"],["\u0787","a"],["\u0788","v"],["\u0789","m"],["\u078A","f"],["\u078B","dh"],["\u078C","th"],["\u078D","l"],["\u078E","g"],["\u078F","gn"],["\u0790","s"],["\u0791","d"],["\u0792","z"],["\u0793","t"],["\u0794","y"],["\u0795","p"],["\u0796","j"],["\u0797","ch"],["\u0798","tt"],["\u0799","hh"],["\u079A","kh"],["\u079B","th"],["\u079C","z"],["\u079D","sh"],["\u079E","s"],["\u079F","d"],["\u07A0","t"],["\u07A1","z"],["\u07A2","a"],["\u07A3","gh"],["\u07A4","q"],["\u07A5","w"],["\u07A6","a"],["\u07A7","aa"],["\u07A8","i"],["\u07A9","ee"],["\u07AA","u"],["\u07AB","oo"],["\u07AC","e"],["\u07AD","ey"],["\u07AE","o"],["\u07AF","oa"],["\u07B0",""],["\u03B1","a"],["\u03B2","v"],["\u03B3","g"],["\u03B4","d"],["\u03B5","e"],["\u03B6","z"],["\u03B7","i"],["\u03B8","th"],["\u03B9","i"],["\u03BA","k"],["\u03BB","l"],["\u03BC","m"],["\u03BD","n"],["\u03BE","ks"],["\u03BF","o"],["\u03C0","p"],["\u03C1","r"],["\u03C3","s"],["\u03C4","t"],["\u03C5","y"],["\u03C6","f"],["\u03C7","x"],["\u03C8","ps"],["\u03C9","o"],["\u03AC","a"],["\u03AD","e"],["\u03AF","i"],["\u03CC","o"],["\u03CD","y"],["\u03AE","i"],["\u03CE","o"],["\u03C2","s"],["\u03CA","i"],["\u03B0","y"],["\u03CB","y"],["\u0390","i"],["\u0391","A"],["\u0392","B"],["\u0393","G"],["\u0394","D"],["\u0395","E"],["\u0396","Z"],["\u0397","I"],["\u0398","TH"],["\u0399","I"],["\u039A","K"],["\u039B","L"],["\u039C","M"],["\u039D","N"],["\u039E","KS"],["\u039F","O"],["\u03A0","P"],["\u03A1","R"],["\u03A3","S"],["\u03A4","T"],["\u03A5","Y"],["\u03A6","F"],["\u03A7","X"],["\u03A8","PS"],["\u03A9","O"],["\u0386","A"],["\u0388","E"],["\u038A","I"],["\u038C","O"],["\u038E","Y"],["\u0389","I"],["\u038F","O"],["\u03AA","I"],["\u03AB","Y"],["\u0101","a"],["\u0113","e"],["\u0123","g"],["\u012B","i"],["\u0137","k"],["\u013C","l"],["\u0146","n"],["\u016B","u"],["\u0100","A"],["\u0112","E"],["\u0122","G"],["\u012A","I"],["\u0136","K"],["\u013B","L"],["\u0145","N"],["\u016A","U"],["\u010D","c"],["\u0161","s"],["\u017E","z"],["\u010C","C"],["\u0160","S"],["\u017D","Z"],["\u0105","a"],["\u010D","c"],["\u0119","e"],["\u0117","e"],["\u012F","i"],["\u0161","s"],["\u0173","u"],["\u016B","u"],["\u017E","z"],["\u0104","A"],["\u010C","C"],["\u0118","E"],["\u0116","E"],["\u012E","I"],["\u0160","S"],["\u0172","U"],["\u016A","U"],["\u040C","Kj"],["\u045C","kj"],["\u0409","Lj"],["\u0459","lj"],["\u040A","Nj"],["\u045A","nj"],["\u0422\u0441","Ts"],["\u0442\u0441","ts"],["\u0105","a"],["\u0107","c"],["\u0119","e"],["\u0142","l"],["\u0144","n"],["\u015B","s"],["\u017A","z"],["\u017C","z"],["\u0104","A"],["\u0106","C"],["\u0118","E"],["\u0141","L"],["\u0143","N"],["\u015A","S"],["\u0179","Z"],["\u017B","Z"],["\u0404","Ye"],["\u0406","I"],["\u0407","Yi"],["\u0490","G"],["\u0454","ye"],["\u0456","i"],["\u0457","yi"],["\u0491","g"]]}});var require_transliterate=__commonJS({"../../node_modules/.pnpm/@sindresorhus+transliterate@0.1.2/node_modules/@sindresorhus/transliterate/index.js"(exports,module){"use strict";var deburr=require_lodash(),escapeStringRegexp=require_escape_string_regexp(),builtinReplacements=require_replacements(),doCustomReplacements=(string,replacements)=>{for(let[key,value]of replacements)string=string.replace(new RegExp(escapeStringRegexp(key),"g"),value);return string};module.exports=(string,options)=>{if(typeof string!="string")throw new TypeError(`Expected a string, got \`${typeof string}\``);options={customReplacements:[],...options};let customReplacements=new Map([...builtinReplacements,...options.customReplacements]);return string=string.normalize(),string=doCustomReplacements(string,customReplacements),string=deburr(string),string}}});var require_overridable_replacements=__commonJS({"../../node_modules/.pnpm/@sindresorhus+slugify@0.11.0/node_modules/@sindresorhus/slugify/overridable-replacements.js"(exports,module){"use strict";module.exports=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]]}});var require_slugify=__commonJS({"../../node_modules/.pnpm/@sindresorhus+slugify@0.11.0/node_modules/@sindresorhus/slugify/index.js"(exports,module){var escapeStringRegexp=require_escape_string_regexp(),transliterate=require_transliterate(),builtinOverridableReplacements=require_overridable_replacements(),decamelize=string=>string.replace(/([A-Z]{2,})([a-z\d]+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1 $2"),removeMootSeparators=(string,separator)=>{let escapedSeparator=escapeStringRegexp(separator);return string.replace(new RegExp(`${escapedSeparator}{2,}`,"g"),separator).replace(new RegExp(`^${escapedSeparator}|${escapedSeparator}$`,"g"),"")};module.exports=(string,options)=>{if(typeof string!="string")throw new TypeError(`Expected a string, got \`${typeof string}\``);options={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,...options};let shouldPrependUnderscore=options.preserveLeadingUnderscore&&string.startsWith("_"),customReplacements=new Map([...builtinOverridableReplacements,...options.customReplacements]);string=transliterate(string,{customReplacements}),options.decamelize&&(string=decamelize(string));let patternSlug=/[^a-zA-Z\d]+/g;return options.lowercase&&(string=string.toLowerCase(),patternSlug=/[^a-z\d]+/g),string=string.replace(patternSlug,options.separator),string=string.replace(/\\/g,""),string=removeMootSeparators(string,options.separator),shouldPrependUnderscore&&(string=`_${string}`),string}}});export{require_slugify};
|
|
7
|
+
import{__commonJS}from"./chunk-NBPLUP7C.js";var require_escape_string_regexp=__commonJS({"../../node_modules/.pnpm/escape-string-regexp@2.0.0/node_modules/escape-string-regexp/index.js"(exports,module){"use strict";var matchOperatorsRegex=/[|\\{}()[\]^$+*?.-]/g;module.exports=string=>{if(typeof string!="string")throw new TypeError("Expected a string");return string.replace(matchOperatorsRegex,"\\$&")}}});var require_lodash=__commonJS({"../../node_modules/.pnpm/lodash.deburr@4.1.0/node_modules/lodash.deburr/index.js"(exports,module){var INFINITY=1/0,symbolTag="[object Symbol]",reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange="\\u0300-\\u036f\\ufe20-\\ufe23",rsComboSymbolsRange="\\u20d0-\\u20f0",rsCombo="["+rsComboMarksRange+rsComboSymbolsRange+"]",reComboMark=RegExp(rsCombo,"g"),deburredLetters={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();function basePropertyOf(object){return function(key){return object?.[key]}}var deburrLetter=basePropertyOf(deburredLetters),objectProto=Object.prototype,objectToString=objectProto.toString,Symbol=root.Symbol,symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(value){if(typeof value=="string")return value;if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function isObjectLike(value){return!!value&&typeof value=="object"}function isSymbol(value){return typeof value=="symbol"||isObjectLike(value)&&objectToString.call(value)==symbolTag}function toString(value){return value==null?"":baseToString(value)}function deburr(string){return string=toString(string),string&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}module.exports=deburr}});var require_replacements=__commonJS({"../../node_modules/.pnpm/@sindresorhus+transliterate@0.1.2/node_modules/@sindresorhus/transliterate/replacements.js"(exports,module){"use strict";module.exports=[["\xDF","ss"],["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xC0","A"],["\xC1","A"],["\xC2","A"],["\xC3","A"],["\xC4","Ae"],["\xC5","A"],["\xC6","AE"],["\xC7","C"],["\xC8","E"],["\xC9","E"],["\xCA","E"],["\xCB","E"],["\xCC","I"],["\xCD","I"],["\xCE","I"],["\xCF","I"],["\xD0","D"],["\xD1","N"],["\xD2","O"],["\xD3","O"],["\xD4","O"],["\xD5","O"],["\xD6","Oe"],["\u0150","O"],["\xD8","O"],["\xD9","U"],["\xDA","U"],["\xDB","U"],["\xDC","Ue"],["\u0170","U"],["\xDD","Y"],["\xDE","TH"],["\xDF","ss"],["\xE0","a"],["\xE1","a"],["\xE2","a"],["\xE3","a"],["\xE4","ae"],["\xE5","a"],["\xE6","ae"],["\xE7","c"],["\xE8","e"],["\xE9","e"],["\xEA","e"],["\xEB","e"],["\xEC","i"],["\xED","i"],["\xEE","i"],["\xEF","i"],["\xF0","d"],["\xF1","n"],["\xF2","o"],["\xF3","o"],["\xF4","o"],["\xF5","o"],["\xF6","oe"],["\u0151","o"],["\xF8","o"],["\xF9","u"],["\xFA","u"],["\xFB","u"],["\xFC","ue"],["\u0171","u"],["\xFD","y"],["\xFE","th"],["\xFF","y"],["\u1E9E","SS"],["\xE0","a"],["\xC0","A"],["\xE1","a"],["\xC1","A"],["\xE2","a"],["\xC2","A"],["\xE3","a"],["\xC3","A"],["\xE8","e"],["\xC8","E"],["\xE9","e"],["\xC9","E"],["\xEA","e"],["\xCA","E"],["\xEC","i"],["\xCC","I"],["\xED","i"],["\xCD","I"],["\xF2","o"],["\xD2","O"],["\xF3","o"],["\xD3","O"],["\xF4","o"],["\xD4","O"],["\xF5","o"],["\xD5","O"],["\xF9","u"],["\xD9","U"],["\xFA","u"],["\xDA","U"],["\xFD","y"],["\xDD","Y"],["\u0103","a"],["\u0102","A"],["\u0110","D"],["\u0111","d"],["\u0129","i"],["\u0128","I"],["\u0169","u"],["\u0168","U"],["\u01A1","o"],["\u01A0","O"],["\u01B0","u"],["\u01AF","U"],["\u1EA1","a"],["\u1EA0","A"],["\u1EA3","a"],["\u1EA2","A"],["\u1EA5","a"],["\u1EA4","A"],["\u1EA7","a"],["\u1EA6","A"],["\u1EA9","a"],["\u1EA8","A"],["\u1EAB","a"],["\u1EAA","A"],["\u1EAD","a"],["\u1EAC","A"],["\u1EAF","a"],["\u1EAE","A"],["\u1EB1","a"],["\u1EB0","A"],["\u1EB3","a"],["\u1EB2","A"],["\u1EB5","a"],["\u1EB4","A"],["\u1EB7","a"],["\u1EB6","A"],["\u1EB9","e"],["\u1EB8","E"],["\u1EBB","e"],["\u1EBA","E"],["\u1EBD","e"],["\u1EBC","E"],["\u1EBF","e"],["\u1EBE","E"],["\u1EC1","e"],["\u1EC0","E"],["\u1EC3","e"],["\u1EC2","E"],["\u1EC5","e"],["\u1EC4","E"],["\u1EC7","e"],["\u1EC6","E"],["\u1EC9","i"],["\u1EC8","I"],["\u1ECB","i"],["\u1ECA","I"],["\u1ECD","o"],["\u1ECC","O"],["\u1ECF","o"],["\u1ECE","O"],["\u1ED1","o"],["\u1ED0","O"],["\u1ED3","o"],["\u1ED2","O"],["\u1ED5","o"],["\u1ED4","O"],["\u1ED7","o"],["\u1ED6","O"],["\u1ED9","o"],["\u1ED8","O"],["\u1EDB","o"],["\u1EDA","O"],["\u1EDD","o"],["\u1EDC","O"],["\u1EDF","o"],["\u1EDE","O"],["\u1EE1","o"],["\u1EE0","O"],["\u1EE3","o"],["\u1EE2","O"],["\u1EE5","u"],["\u1EE4","U"],["\u1EE7","u"],["\u1EE6","U"],["\u1EE9","u"],["\u1EE8","U"],["\u1EEB","u"],["\u1EEA","U"],["\u1EED","u"],["\u1EEC","U"],["\u1EEF","u"],["\u1EEE","U"],["\u1EF1","u"],["\u1EF0","U"],["\u1EF3","y"],["\u1EF2","Y"],["\u1EF5","y"],["\u1EF4","Y"],["\u1EF7","y"],["\u1EF6","Y"],["\u1EF9","y"],["\u1EF8","Y"],["\u0621","e"],["\u0622","a"],["\u0623","a"],["\u0624","w"],["\u0625","i"],["\u0626","y"],["\u0627","a"],["\u0628","b"],["\u0629","t"],["\u062A","t"],["\u062B","th"],["\u062C","j"],["\u062D","h"],["\u062E","kh"],["\u062F","d"],["\u0630","dh"],["\u0631","r"],["\u0632","z"],["\u0633","s"],["\u0634","sh"],["\u0635","s"],["\u0636","d"],["\u0637","t"],["\u0638","z"],["\u0639","e"],["\u063A","gh"],["\u0640","_"],["\u0641","f"],["\u0642","q"],["\u0643","k"],["\u0644","l"],["\u0645","m"],["\u0646","n"],["\u0647","h"],["\u0648","w"],["\u0649","a"],["\u064A","y"],["\u064E\u200E","a"],["\u064F","u"],["\u0650\u200E","i"],["\u0660","0"],["\u0661","1"],["\u0662","2"],["\u0663","3"],["\u0664","4"],["\u0665","5"],["\u0666","6"],["\u0667","7"],["\u0668","8"],["\u0669","9"],["\u0686","ch"],["\u06A9","k"],["\u06AF","g"],["\u067E","p"],["\u0698","zh"],["\u06CC","y"],["\u06F0","0"],["\u06F1","1"],["\u06F2","2"],["\u06F3","3"],["\u06F4","4"],["\u06F5","5"],["\u06F6","6"],["\u06F7","7"],["\u06F8","8"],["\u06F9","9"],["\u067C","p"],["\u0681","z"],["\u0685","c"],["\u0689","d"],["\uFEAB","d"],["\uFEAD","r"],["\u0693","r"],["\uFEAF","z"],["\u0696","g"],["\u069A","x"],["\u06AB","g"],["\u06BC","n"],["\u06C0","e"],["\u06D0","e"],["\u06CD","ai"],["\u0679","t"],["\u0688","d"],["\u0691","r"],["\u06BA","n"],["\u06C1","h"],["\u06BE","h"],["\u06D2","e"],["\u0410","A"],["\u0430","a"],["\u0411","B"],["\u0431","b"],["\u0412","V"],["\u0432","v"],["\u0413","G"],["\u0433","g"],["\u0414","D"],["\u0434","d"],["\u0415","E"],["\u0435","e"],["\u0416","Zh"],["\u0436","zh"],["\u0417","Z"],["\u0437","z"],["\u0418","I"],["\u0438","i"],["\u0419","J"],["\u0439","j"],["\u041A","K"],["\u043A","k"],["\u041B","L"],["\u043B","l"],["\u041C","M"],["\u043C","m"],["\u041D","N"],["\u043D","n"],["\u041E","O"],["\u043E","o"],["\u041F","P"],["\u043F","p"],["\u0420","R"],["\u0440","r"],["\u0421","S"],["\u0441","s"],["\u0422","T"],["\u0442","t"],["\u0423","U"],["\u0443","u"],["\u0424","F"],["\u0444","f"],["\u0425","H"],["\u0445","h"],["\u0426","Cz"],["\u0446","cz"],["\u0427","Ch"],["\u0447","ch"],["\u0428","Sh"],["\u0448","sh"],["\u0429","Shh"],["\u0449","shh"],["\u042A",""],["\u044A",""],["\u042B","Y"],["\u044B","y"],["\u042C",""],["\u044C",""],["\u042D","E"],["\u044D","e"],["\u042E","Yu"],["\u044E","yu"],["\u042F","Ya"],["\u044F","ya"],["\u0401","Yo"],["\u0451","yo"],["\u0103","a"],["\u0102","A"],["\u0219","s"],["\u0218","S"],["\u021B","t"],["\u021A","T"],["\u0163","t"],["\u0162","T"],["\u015F","s"],["\u015E","S"],["\xE7","c"],["\xC7","C"],["\u011F","g"],["\u011E","G"],["\u0131","i"],["\u0130","I"],["\u0561","a"],["\u0531","A"],["\u0562","b"],["\u0532","B"],["\u0563","g"],["\u0533","G"],["\u0564","d"],["\u0534","D"],["\u0565","ye"],["\u0535","Ye"],["\u0566","z"],["\u0536","Z"],["\u0567","e"],["\u0537","E"],["\u0568","y"],["\u0538","Y"],["\u0569","t"],["\u0539","T"],["\u056A","zh"],["\u053A","Zh"],["\u056B","i"],["\u053B","I"],["\u056C","l"],["\u053C","L"],["\u056D","kh"],["\u053D","Kh"],["\u056E","ts"],["\u053E","Ts"],["\u056F","k"],["\u053F","K"],["\u0570","h"],["\u0540","H"],["\u0571","dz"],["\u0541","Dz"],["\u0572","gh"],["\u0542","Gh"],["\u0573","tch"],["\u0543","Tch"],["\u0574","m"],["\u0544","M"],["\u0575","y"],["\u0545","Y"],["\u0576","n"],["\u0546","N"],["\u0577","sh"],["\u0547","Sh"],["\u0578","vo"],["\u0548","Vo"],["\u0579","ch"],["\u0549","Ch"],["\u057A","p"],["\u054A","P"],["\u057B","j"],["\u054B","J"],["\u057C","r"],["\u054C","R"],["\u057D","s"],["\u054D","S"],["\u057E","v"],["\u054E","V"],["\u057F","t"],["\u054F","T"],["\u0580","r"],["\u0550","R"],["\u0581","c"],["\u0551","C"],["\u0578\u0582","u"],["\u0548\u0552","U"],["\u0548\u0582","U"],["\u0583","p"],["\u0553","P"],["\u0584","q"],["\u0554","Q"],["\u0585","o"],["\u0555","O"],["\u0586","f"],["\u0556","F"],["\u0587","yev"],["\u10D0","a"],["\u10D1","b"],["\u10D2","g"],["\u10D3","d"],["\u10D4","e"],["\u10D5","v"],["\u10D6","z"],["\u10D7","t"],["\u10D8","i"],["\u10D9","k"],["\u10DA","l"],["\u10DB","m"],["\u10DC","n"],["\u10DD","o"],["\u10DE","p"],["\u10DF","zh"],["\u10E0","r"],["\u10E1","s"],["\u10E2","t"],["\u10E3","u"],["\u10E4","ph"],["\u10E5","q"],["\u10E6","gh"],["\u10E7","k"],["\u10E8","sh"],["\u10E9","ch"],["\u10EA","ts"],["\u10EB","dz"],["\u10EC","ts"],["\u10ED","tch"],["\u10EE","kh"],["\u10EF","j"],["\u10F0","h"],["\u010D","c"],["\u010F","d"],["\u011B","e"],["\u0148","n"],["\u0159","r"],["\u0161","s"],["\u0165","t"],["\u016F","u"],["\u017E","z"],["\u010C","C"],["\u010E","D"],["\u011A","E"],["\u0147","N"],["\u0158","R"],["\u0160","S"],["\u0164","T"],["\u016E","U"],["\u017D","Z"],["\u0780","h"],["\u0781","sh"],["\u0782","n"],["\u0783","r"],["\u0784","b"],["\u0785","lh"],["\u0786","k"],["\u0787","a"],["\u0788","v"],["\u0789","m"],["\u078A","f"],["\u078B","dh"],["\u078C","th"],["\u078D","l"],["\u078E","g"],["\u078F","gn"],["\u0790","s"],["\u0791","d"],["\u0792","z"],["\u0793","t"],["\u0794","y"],["\u0795","p"],["\u0796","j"],["\u0797","ch"],["\u0798","tt"],["\u0799","hh"],["\u079A","kh"],["\u079B","th"],["\u079C","z"],["\u079D","sh"],["\u079E","s"],["\u079F","d"],["\u07A0","t"],["\u07A1","z"],["\u07A2","a"],["\u07A3","gh"],["\u07A4","q"],["\u07A5","w"],["\u07A6","a"],["\u07A7","aa"],["\u07A8","i"],["\u07A9","ee"],["\u07AA","u"],["\u07AB","oo"],["\u07AC","e"],["\u07AD","ey"],["\u07AE","o"],["\u07AF","oa"],["\u07B0",""],["\u03B1","a"],["\u03B2","v"],["\u03B3","g"],["\u03B4","d"],["\u03B5","e"],["\u03B6","z"],["\u03B7","i"],["\u03B8","th"],["\u03B9","i"],["\u03BA","k"],["\u03BB","l"],["\u03BC","m"],["\u03BD","n"],["\u03BE","ks"],["\u03BF","o"],["\u03C0","p"],["\u03C1","r"],["\u03C3","s"],["\u03C4","t"],["\u03C5","y"],["\u03C6","f"],["\u03C7","x"],["\u03C8","ps"],["\u03C9","o"],["\u03AC","a"],["\u03AD","e"],["\u03AF","i"],["\u03CC","o"],["\u03CD","y"],["\u03AE","i"],["\u03CE","o"],["\u03C2","s"],["\u03CA","i"],["\u03B0","y"],["\u03CB","y"],["\u0390","i"],["\u0391","A"],["\u0392","B"],["\u0393","G"],["\u0394","D"],["\u0395","E"],["\u0396","Z"],["\u0397","I"],["\u0398","TH"],["\u0399","I"],["\u039A","K"],["\u039B","L"],["\u039C","M"],["\u039D","N"],["\u039E","KS"],["\u039F","O"],["\u03A0","P"],["\u03A1","R"],["\u03A3","S"],["\u03A4","T"],["\u03A5","Y"],["\u03A6","F"],["\u03A7","X"],["\u03A8","PS"],["\u03A9","O"],["\u0386","A"],["\u0388","E"],["\u038A","I"],["\u038C","O"],["\u038E","Y"],["\u0389","I"],["\u038F","O"],["\u03AA","I"],["\u03AB","Y"],["\u0101","a"],["\u0113","e"],["\u0123","g"],["\u012B","i"],["\u0137","k"],["\u013C","l"],["\u0146","n"],["\u016B","u"],["\u0100","A"],["\u0112","E"],["\u0122","G"],["\u012A","I"],["\u0136","K"],["\u013B","L"],["\u0145","N"],["\u016A","U"],["\u010D","c"],["\u0161","s"],["\u017E","z"],["\u010C","C"],["\u0160","S"],["\u017D","Z"],["\u0105","a"],["\u010D","c"],["\u0119","e"],["\u0117","e"],["\u012F","i"],["\u0161","s"],["\u0173","u"],["\u016B","u"],["\u017E","z"],["\u0104","A"],["\u010C","C"],["\u0118","E"],["\u0116","E"],["\u012E","I"],["\u0160","S"],["\u0172","U"],["\u016A","U"],["\u040C","Kj"],["\u045C","kj"],["\u0409","Lj"],["\u0459","lj"],["\u040A","Nj"],["\u045A","nj"],["\u0422\u0441","Ts"],["\u0442\u0441","ts"],["\u0105","a"],["\u0107","c"],["\u0119","e"],["\u0142","l"],["\u0144","n"],["\u015B","s"],["\u017A","z"],["\u017C","z"],["\u0104","A"],["\u0106","C"],["\u0118","E"],["\u0141","L"],["\u0143","N"],["\u015A","S"],["\u0179","Z"],["\u017B","Z"],["\u0404","Ye"],["\u0406","I"],["\u0407","Yi"],["\u0490","G"],["\u0454","ye"],["\u0456","i"],["\u0457","yi"],["\u0491","g"]]}});var require_transliterate=__commonJS({"../../node_modules/.pnpm/@sindresorhus+transliterate@0.1.2/node_modules/@sindresorhus/transliterate/index.js"(exports,module){"use strict";var deburr=require_lodash(),escapeStringRegexp=require_escape_string_regexp(),builtinReplacements=require_replacements(),doCustomReplacements=(string,replacements)=>{for(let[key,value]of replacements)string=string.replace(new RegExp(escapeStringRegexp(key),"g"),value);return string};module.exports=(string,options)=>{if(typeof string!="string")throw new TypeError(`Expected a string, got \`${typeof string}\``);options={customReplacements:[],...options};let customReplacements=new Map([...builtinReplacements,...options.customReplacements]);return string=string.normalize(),string=doCustomReplacements(string,customReplacements),string=deburr(string),string}}});var require_overridable_replacements=__commonJS({"../../node_modules/.pnpm/@sindresorhus+slugify@0.11.0/node_modules/@sindresorhus/slugify/overridable-replacements.js"(exports,module){"use strict";module.exports=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]]}});var require_slugify=__commonJS({"../../node_modules/.pnpm/@sindresorhus+slugify@0.11.0/node_modules/@sindresorhus/slugify/index.js"(exports,module){var escapeStringRegexp=require_escape_string_regexp(),transliterate=require_transliterate(),builtinOverridableReplacements=require_overridable_replacements(),decamelize=string=>string.replace(/([A-Z]{2,})([a-z\d]+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1 $2"),removeMootSeparators=(string,separator)=>{let escapedSeparator=escapeStringRegexp(separator);return string.replace(new RegExp(`${escapedSeparator}{2,}`,"g"),separator).replace(new RegExp(`^${escapedSeparator}|${escapedSeparator}$`,"g"),"")};module.exports=(string,options)=>{if(typeof string!="string")throw new TypeError(`Expected a string, got \`${typeof string}\``);options={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,...options};let shouldPrependUnderscore=options.preserveLeadingUnderscore&&string.startsWith("_"),customReplacements=new Map([...builtinOverridableReplacements,...options.customReplacements]);string=transliterate(string,{customReplacements}),options.decamelize&&(string=decamelize(string));let patternSlug=/[^a-zA-Z\d]+/g;return options.lowercase&&(string=string.toLowerCase(),patternSlug=/[^a-z\d]+/g),string=string.replace(patternSlug,options.separator),string=string.replace(/\\/g,""),string=removeMootSeparators(string,options.separator),shouldPrependUnderscore&&(string=`_${string}`),string}}});export{require_slugify};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{__commonJS,__require}from"./chunk-
|
|
7
|
+
import{__commonJS,__require}from"./chunk-NBPLUP7C.js";var require_build_utils=__commonJS({"cjs-dependency:@vercel/build-utils"(exports,module){module.exports=__require("@vercel/build-utils")}});export{require_build_utils};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{packageName}from"./chunk-
|
|
7
|
+
import{packageName}from"./chunk-EFGZK6OY.js";import{formatOption,jsonOption,limitOption,projectOption,sinceOption,untilOption}from"./chunk-DORCX7UB.js";var listSubcommand={name:"ls",aliases:["list"],description:"",default:!0,hidden:!0,arguments:[],options:[],examples:[]},inspectSubcommand={name:"inspect",aliases:[],description:"Show details for a single alert group",arguments:[{name:"groupId",required:!0}],options:[formatOption,jsonOption,{...projectOption,shorthand:"p",description:"Filter by project (overrides auto-detected linked project)."},{name:"all",shorthand:"a",type:Boolean,deprecated:!1,description:"Use team-wide scope (ignore linked project auto-scoping)."}],examples:[{name:"Inspect a group in the linked project",value:`${packageName} alerts inspect grp_abc123`},{name:"Inspect as JSON",value:`${packageName} alerts inspect grp_abc123 --json`}]},alertsCommand={name:"alerts",aliases:[],description:"List alert groups or inspect a group. To manage alert rules, see `vercel monitors`.",arguments:[],subcommands:[listSubcommand,inspectSubcommand],options:[{name:"type",shorthand:null,type:[String],argument:"TYPE",deprecated:!1,description:"Filter by alert type. Repeatable and comma-separated (for example --type usage_anomaly,error_anomaly)."},{...projectOption,shorthand:"p",description:"Filter by project (overrides auto-detected linked project)."},{name:"all",shorthand:"a",type:Boolean,deprecated:!1,description:"Show team-wide alerts (ignore linked project auto-scoping)."},{name:"ai",shorthand:null,type:Boolean,deprecated:!1,description:"Print AI-focused sections (title, resolved time, summary, key findings) instead of table output."},{...sinceOption,description:`${sinceOption.description} (default: 24h ago)`},untilOption,limitOption,formatOption,jsonOption],examples:[{name:"List alerts for the linked project",value:`${packageName} alerts`},{name:"List team-wide alerts",value:`${packageName} alerts --all`},{name:"Filter by type",value:`${packageName} alerts --type usage_anomaly --type error_anomaly`},{name:"Output JSON",value:`${packageName} alerts --json`},{name:"Custom time range",value:`${packageName} alerts --since 2026-03-01T00:00:00.000Z --until 2026-03-02T00:00:00.000Z`}]};export{listSubcommand,inspectSubcommand,alertsCommand};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{packageName}from"./chunk-
|
|
7
|
+
import{packageName}from"./chunk-EFGZK6OY.js";var loginCommand={name:"login",aliases:[],description:"Sign in to your Vercel account.",arguments:[],options:[{name:"github",description:"Log in with GitHub",shorthand:null,type:Boolean,deprecated:!0},{name:"oob",description:'Log in with "out of band" authentication',shorthand:null,type:Boolean,deprecated:!0},{name:"gitlab",shorthand:null,type:Boolean,deprecated:!0},{name:"bitbucket",shorthand:null,type:Boolean,deprecated:!0},{name:"future",description:"Sign in using OAuth Device Authorization",shorthand:null,type:Boolean,deprecated:!0}],examples:[{name:"Sign in to your Vercel account.",value:`${packageName} login`}],disabledGlobalOptions:["token"]};export{loginCommand};
|
|
@@ -4,7 +4,7 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{require_inherits}from"./chunk-
|
|
7
|
+
import{require_inherits}from"./chunk-SUT2PTL3.js";import{__commonJS,__require}from"./chunk-NBPLUP7C.js";var require_bytes=__commonJS({"../../node_modules/.pnpm/bytes@3.1.0/node_modules/bytes/index.js"(exports2,module2){"use strict";module2.exports=bytes;module2.exports.format=format;module2.exports.parse=parse;var formatThousandsRegExp=/\B(?=(\d{3})+(?!\d))/g,formatDecimalsRegExp=/(?:\.0*|(\.[^0]+)0+)$/,map={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},parseRegExp=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function bytes(value,options){return typeof value=="string"?parse(value):typeof value=="number"?format(value,options):null}function format(value,options){if(!Number.isFinite(value))return null;var mag=Math.abs(value),thousandsSeparator=options&&options.thousandsSeparator||"",unitSeparator=options&&options.unitSeparator||"",decimalPlaces=options&&options.decimalPlaces!==void 0?options.decimalPlaces:2,fixedDecimals=!!(options&&options.fixedDecimals),unit=options&&options.unit||"";(!unit||!map[unit.toLowerCase()])&&(mag>=map.pb?unit="PB":mag>=map.tb?unit="TB":mag>=map.gb?unit="GB":mag>=map.mb?unit="MB":mag>=map.kb?unit="KB":unit="B");var val=value/map[unit.toLowerCase()],str=val.toFixed(decimalPlaces);return fixedDecimals||(str=str.replace(formatDecimalsRegExp,"$1")),thousandsSeparator&&(str=str.replace(formatThousandsRegExp,thousandsSeparator)),str+unitSeparator+unit}function parse(val){if(typeof val=="number"&&!isNaN(val))return val;if(typeof val!="string")return null;var results=parseRegExp.exec(val),floatValue,unit="b";return results?(floatValue=parseFloat(results[1]),unit=results[4].toLowerCase()):(floatValue=parseInt(val,10),unit="b"),Math.floor(map[unit]*floatValue)}}});var require_callsite_tostring=__commonJS({"../../node_modules/.pnpm/depd@1.1.2/node_modules/depd/lib/compat/callsite-tostring.js"(exports2,module2){"use strict";module2.exports=callSiteToString2;function callSiteFileLocation(callSite){var fileName,fileLocation="";if(callSite.isNative()?fileLocation="native":callSite.isEval()?(fileName=callSite.getScriptNameOrSourceURL(),fileName||(fileLocation=callSite.getEvalOrigin())):fileName=callSite.getFileName(),fileName){fileLocation+=fileName;var lineNumber=callSite.getLineNumber();if(lineNumber!=null){fileLocation+=":"+lineNumber;var columnNumber=callSite.getColumnNumber();columnNumber&&(fileLocation+=":"+columnNumber)}}return fileLocation||"unknown source"}function callSiteToString2(callSite){var addSuffix=!0,fileLocation=callSiteFileLocation(callSite),functionName=callSite.getFunctionName(),isConstructor=callSite.isConstructor(),isMethodCall=!(callSite.isToplevel()||isConstructor),line="";if(isMethodCall){var methodName=callSite.getMethodName(),typeName=getConstructorName(callSite);functionName?(typeName&&functionName.indexOf(typeName)!==0&&(line+=typeName+"."),line+=functionName,methodName&&functionName.lastIndexOf("."+methodName)!==functionName.length-methodName.length-1&&(line+=" [as "+methodName+"]")):line+=typeName+"."+(methodName||"<anonymous>")}else isConstructor?line+="new "+(functionName||"<anonymous>"):functionName?line+=functionName:(addSuffix=!1,line+=fileLocation);return addSuffix&&(line+=" ("+fileLocation+")"),line}function getConstructorName(obj){var receiver=obj.receiver;return receiver.constructor&&receiver.constructor.name||null}}});var require_event_listener_count=__commonJS({"../../node_modules/.pnpm/depd@1.1.2/node_modules/depd/lib/compat/event-listener-count.js"(exports2,module2){"use strict";module2.exports=eventListenerCount2;function eventListenerCount2(emitter,type){return emitter.listeners(type).length}}});var require_compat=__commonJS({"../../node_modules/.pnpm/depd@1.1.2/node_modules/depd/lib/compat/index.js"(exports2,module2){"use strict";var EventEmitter=__require("events").EventEmitter;lazyProperty(module2.exports,"callSiteToString",function(){var limit=Error.stackTraceLimit,obj={},prep=Error.prepareStackTrace;function prepareObjectStackTrace2(obj2,stack3){return stack3}Error.prepareStackTrace=prepareObjectStackTrace2,Error.stackTraceLimit=2,Error.captureStackTrace(obj);var stack2=obj.stack.slice();return Error.prepareStackTrace=prep,Error.stackTraceLimit=limit,stack2[0].toString?toString:require_callsite_tostring()});lazyProperty(module2.exports,"eventListenerCount",function(){return EventEmitter.listenerCount||require_event_listener_count()});function lazyProperty(obj,prop,getter){function get(){var val=getter();return Object.defineProperty(obj,prop,{configurable:!0,enumerable:!0,value:val}),val}Object.defineProperty(obj,prop,{configurable:!0,enumerable:!0,get})}function toString(obj){return obj.toString()}}});var require_depd=__commonJS({"../../node_modules/.pnpm/depd@1.1.2/node_modules/depd/index.js"(exports,module){var callSiteToString=require_compat().callSiteToString,eventListenerCount=require_compat().eventListenerCount,relative=__require("path").relative;module.exports=depd;var basePath=process.cwd();function containsNamespace(str,namespace){for(var vals=str.split(/[ ,]+/),ns=String(namespace).toLowerCase(),i=0;i<vals.length;i++){var val=vals[i];if(val&&(val==="*"||val.toLowerCase()===ns))return!0}return!1}function convertDataDescriptorToAccessor(obj,prop,message2){var descriptor=Object.getOwnPropertyDescriptor(obj,prop),value=descriptor.value;return descriptor.get=function(){return value},descriptor.writable&&(descriptor.set=function(val){return value=val}),delete descriptor.value,delete descriptor.writable,Object.defineProperty(obj,prop,descriptor),descriptor}function createArgumentsString(arity){for(var str="",i=0;i<arity;i++)str+=", arg"+i;return str.substr(2)}function createStackString(stack2){var str=this.name+": "+this.namespace;this.message&&(str+=" deprecated "+this.message);for(var i=0;i<stack2.length;i++)str+=`
|
|
8
8
|
at `+callSiteToString(stack2[i]);return str}function depd(namespace){if(!namespace)throw new TypeError("argument namespace is required");var stack2=getStack(),site2=callSiteLocation(stack2[1]),file=site2[0];function deprecate2(message2){log.call(deprecate2,message2)}return deprecate2._file=file,deprecate2._ignored=isignored(namespace),deprecate2._namespace=namespace,deprecate2._traced=istraced(namespace),deprecate2._warned=Object.create(null),deprecate2.function=wrapfunction,deprecate2.property=wrapproperty,deprecate2}function isignored(namespace){if(process.noDeprecation)return!0;var str=process.env.NO_DEPRECATION||"";return containsNamespace(str,namespace)}function istraced(namespace){if(process.traceDeprecation)return!0;var str=process.env.TRACE_DEPRECATION||"";return containsNamespace(str,namespace)}function log(message2,site2){var haslisteners=eventListenerCount(process,"deprecation")!==0;if(!(!haslisteners&&this._ignored)){var caller,callFile,callSite,depSite,i=0,seen=!1,stack2=getStack(),file=this._file;for(site2?(depSite=site2,callSite=callSiteLocation(stack2[1]),callSite.name=depSite.name,file=callSite[0]):(i=2,depSite=callSiteLocation(stack2[i]),callSite=depSite);i<stack2.length;i++)if(caller=callSiteLocation(stack2[i]),callFile=caller[0],callFile===file)seen=!0;else if(callFile===this._file)file=this._file;else if(seen)break;var key=caller?depSite.join(":")+"__"+caller.join(":"):void 0;if(!(key!==void 0&&key in this._warned)){this._warned[key]=!0;var msg=message2;if(msg||(msg=callSite===depSite||!callSite.name?defaultMessage(depSite):defaultMessage(callSite)),haslisteners){var err=DeprecationError(this._namespace,msg,stack2.slice(i));process.emit("deprecation",err);return}var format=process.stderr.isTTY?formatColor:formatPlain,output=format.call(this,msg,caller,stack2.slice(i));process.stderr.write(output+`
|
|
9
9
|
`,"utf8")}}}function callSiteLocation(callSite){var file=callSite.getFileName()||"<anonymous>",line=callSite.getLineNumber(),colm=callSite.getColumnNumber();callSite.isEval()&&(file=callSite.getEvalOrigin()+", "+file);var site2=[file,line,colm];return site2.callSite=callSite,site2.name=callSite.getFunctionName(),site2}function defaultMessage(site2){var callSite=site2.callSite,funcName=site2.name;funcName||(funcName="<anonymous@"+formatLocation(site2)+">");var context=callSite.getThis(),typeName=context&&callSite.getTypeName();return typeName==="Object"&&(typeName=void 0),typeName==="Function"&&(typeName=context.name||typeName),typeName&&callSite.getMethodName()?typeName+"."+funcName:funcName}function formatPlain(msg,caller,stack2){var timestamp=new Date().toUTCString(),formatted=timestamp+" "+this._namespace+" deprecated "+msg;if(this._traced){for(var i=0;i<stack2.length;i++)formatted+=`
|
|
10
10
|
at `+callSiteToString(stack2[i]);return formatted}return caller&&(formatted+=" at "+formatLocation(caller)),formatted}function formatColor(msg,caller,stack2){var formatted="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated\x1B[22;39m \x1B[0m"+msg+"\x1B[39m";if(this._traced){for(var i=0;i<stack2.length;i++)formatted+=`
|
|
@@ -4,7 +4,7 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{sleep}from"./chunk-
|
|
7
|
+
import{sleep}from"./chunk-G7RQVFID.js";import{fetch}from"./chunk-MY4MONOH.js";import{getCommandNamePlain}from"./chunk-EFGZK6OY.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);var BYPASS_READY_DELAYS_MS=[250,500,1e3,2e3,2e3,2e3,2e3,2e3],BYPASS_READY_TIMEOUT_MS=12e3,BYPASS_READY_REQUEST_TIMEOUT_MS=3e3,PROTECTION_BODY_MAX_BYTES=16*1024;async function createDeploymentProtectionToken(client,projectId,orgId){if(!client.authConfig.token)throw output_manager_default.debug("No auth token available, skipping deployment protection token"),new Error("Authentication required to create protection bypass token");try{let response=await client.fetch(`/v1/projects/${projectId}/protection-bypass`,{method:"PATCH",body:"{}",headers:{"Content-Type":"application/json"},accountId:orgId}),{protectionBypass}=response,token=getAutomationBypassToken(protectionBypass);return output_manager_default.log(`Added a Protection Bypass for Automation secret to project ${import_chalk.default.bold(projectId)}. It stays on the project until you revoke it.`),output_manager_default.print(` To revoke it, open Deployment Protection in the project settings, or run:
|
|
8
8
|
${getCommandNamePlain(`project protection disable ${projectId} --protection-bypass --protection-bypass-secret <secret>`)}
|
|
9
9
|
|
|
10
10
|
`),token}catch(error){throw output_manager_default.debug(`Failed to generate deployment protection bypass token: ${error}`),output_manager_default.note('To bypass deployment protection, create a "Protection Bypass for Automation" secret in your project settings:'),output_manager_default.log(` 1. Visit ${import_chalk.default.cyan("https://vercel.com/dashboard")}`),output_manager_default.log(" 2. Go to your project settings \u2192 Deployment Protection"),output_manager_default.log(' 3. Generate a "Protection Bypass for Automation" secret'),output_manager_default.log(` 4. Use it with ${import_chalk.default.cyan("--protection-bypass")} option or set ${import_chalk.default.cyan("VERCEL_AUTOMATION_BYPASS_SECRET")} env var`),output_manager_default.log(""),new Error("Failed to create deployment protection bypass token")}}function getAutomationBypassToken(protectionBypass){if(!protectionBypass)throw new Error("No protection bypass tokens found");let token=Object.keys(protectionBypass).find(key=>protectionBypass[key].scope==="automation-bypass");if(!token)throw new Error("No automation bypass token found in protection bypass settings");return token}async function getOrCreateDeploymentProtectionToken(client,{project,org},{createIfMissing=!0,readinessUrl}={}){if(process.env.VERCEL_AUTOMATION_BYPASS_SECRET)return output_manager_default.debug("Using protection bypass secret from environment variable"),process.env.VERCEL_AUTOMATION_BYPASS_SECRET;if(project.protectionBypass&&Object.values(project.protectionBypass).length){let protectionBypass;try{protectionBypass=getAutomationBypassToken(project.protectionBypass)}catch(error){if(!createIfMissing)return output_manager_default.debug(`No existing automation bypass token found for project ${project.id}`),null;throw error}if(protectionBypass)return output_manager_default.debug("Using existing protection bypass token from project settings"),protectionBypass}if(!createIfMissing)return output_manager_default.debug(`Not creating an automation bypass token for project ${project.id}`),null;let token=await createDeploymentProtectionToken(client,project.id,org.id);return readinessUrl?(await waitForProtectionBypass(readinessUrl,token)||output_manager_default.warning("The new bypass secret is not active yet, so this request can return the Deployment Protection page. If it does, run the command again in a few seconds."),token):(await sleep(1e3),token)}async function waitForProtectionBypass(url,token){let origin=new URL(url).origin,deadline=Date.now()+BYPASS_READY_TIMEOUT_MS;output_manager_default.spinner("Waiting for the new bypass secret to become active\u2026");try{for(let attempt=0;;attempt++){let remaining=deadline-Date.now(),protectedResponse;try{protectedResponse=await isProtected(origin,token,Math.max(1,Math.min(BYPASS_READY_REQUEST_TIMEOUT_MS,remaining)))}catch(err){return output_manager_default.debug(`Could not check the new bypass secret: ${err}`),!0}if(!protectedResponse)return output_manager_default.debug(`The new bypass secret works after ${attempt+1} checks`),!0;let delay=BYPASS_READY_DELAYS_MS[attempt];if(delay===void 0||Date.now()+delay>=deadline)return output_manager_default.debug(`The new bypass secret did not work after ${attempt+1} checks`),!1;await sleep(delay)}}finally{output_manager_default.stopSpinner()}}async function isProtected(origin,token,timeoutMs){let res=await fetch(`${origin}/`,{headers:{accept:"application/json",...token?{"x-vercel-protection-bypass":token}:{}},redirect:"manual",signal:AbortSignal.timeout(timeoutMs)});try{return await isProtectionResponse(res,origin)}finally{await res.body?.cancel().catch(()=>{})}}async function isProtectionResponse(res,origin){let location=res.headers.get("location");if(res.status>=300&&res.status<400&&location){let target=new URL(location,origin);return target.host==="vercel.com"&&target.pathname==="/sso-api"}let contentType=res.headers.get("content-type")??"";if(res.status!==401||!contentType.includes("application/json"))return!1;try{let text=await readBodyUpTo(res,PROTECTION_BODY_MAX_BYTES);return text===null?!1:JSON.parse(text)?.error?.message==="Protected deployment"}catch{return!1}}async function readBodyUpTo(res,maxBytes){let reader=res.body?.getReader();if(!reader)return"";let chunks=[],size=0;try{for(;;){let{done,value}=await reader.read();if(done)break;if(size+=value.byteLength,size>maxBytes)return await reader.cancel(),null;chunks.push(value)}}finally{reader.releaseLock()}return Buffer.concat(chunks).toString("utf8")}export{getOrCreateDeploymentProtectionToken,isProtected};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
+
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
+
const require = __createRequire(import.meta.url);
|
|
5
|
+
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = __dirname_(__filename);
|
|
7
|
+
import{c,d}from"./chunk-YBWLW6SW.js";import{EOL as n}from"os";import{randomUUID as r}from"crypto";import{Writable as i}from"stream";import{format as a}from"util";import*as o from"tty";import{StringDecoder as s}from"string_decoder";var c2=d(c((e5,t)=>{var n2=Object.prototype.hasOwnProperty,r2="~";function i2(){}Object.create&&(i2.prototype=Object.create(null),new i2().__proto__||(r2=!1));function a2(e6,t2,n3){this.fn=e6,this.context=t2,this.once=n3||!1}function o2(e6,t2,n3,i3,o3){if(typeof n3!="function")throw TypeError("The listener must be a function");var s3=new a2(n3,i3||e6,o3),c4=r2?r2+t2:t2;return e6._events[c4]?e6._events[c4].fn?e6._events[c4]=[e6._events[c4],s3]:e6._events[c4].push(s3):(e6._events[c4]=s3,e6._eventsCount++),e6}function s2(e6,t2){--e6._eventsCount===0?e6._events=new i2:delete e6._events[t2]}function c3(){this._events=new i2,this._eventsCount=0}c3.prototype.eventNames=function(){var e6=[],t2,i3;if(this._eventsCount===0)return e6;for(i3 in t2=this._events)n2.call(t2,i3)&&e6.push(r2?i3.slice(1):i3);return Object.getOwnPropertySymbols?e6.concat(Object.getOwnPropertySymbols(t2)):e6},c3.prototype.listeners=function(e6){var t2=r2?r2+e6:e6,n3=this._events[t2];if(!n3)return[];if(n3.fn)return[n3.fn];for(var i3=0,a3=n3.length,o3=Array(a3);i3<a3;i3++)o3[i3]=n3[i3].fn;return o3},c3.prototype.listenerCount=function(e6){var t2=r2?r2+e6:e6,n3=this._events[t2];return n3?n3.fn?1:n3.length:0},c3.prototype.emit=function(e6,t2,n3,i3,a3,o3){var s3=r2?r2+e6:e6;if(!this._events[s3])return!1;var c4=this._events[s3],l2=arguments.length,u2,d3;if(c4.fn){switch(c4.once&&this.removeListener(e6,c4.fn,void 0,!0),l2){case 1:return c4.fn.call(c4.context),!0;case 2:return c4.fn.call(c4.context,t2),!0;case 3:return c4.fn.call(c4.context,t2,n3),!0;case 4:return c4.fn.call(c4.context,t2,n3,i3),!0;case 5:return c4.fn.call(c4.context,t2,n3,i3,a3),!0;case 6:return c4.fn.call(c4.context,t2,n3,i3,a3,o3),!0}for(d3=1,u2=Array(l2-1);d3<l2;d3++)u2[d3-1]=arguments[d3];c4.fn.apply(c4.context,u2)}else{var f2=c4.length,p2;for(d3=0;d3<f2;d3++)switch(c4[d3].once&&this.removeListener(e6,c4[d3].fn,void 0,!0),l2){case 1:c4[d3].fn.call(c4[d3].context);break;case 2:c4[d3].fn.call(c4[d3].context,t2);break;case 3:c4[d3].fn.call(c4[d3].context,t2,n3);break;case 4:c4[d3].fn.call(c4[d3].context,t2,n3,i3);break;default:if(!u2)for(p2=1,u2=Array(l2-1);p2<l2;p2++)u2[p2-1]=arguments[p2];c4[d3].fn.apply(c4[d3].context,u2)}}return!0},c3.prototype.on=function(e6,t2,n3){return o2(this,e6,t2,n3,!1)},c3.prototype.once=function(e6,t2,n3){return o2(this,e6,t2,n3,!0)},c3.prototype.removeListener=function(e6,t2,n3,i3){var a3=r2?r2+e6:e6;if(!this._events[a3])return this;if(!t2)return s2(this,a3),this;var o3=this._events[a3];if(o3.fn)o3.fn===t2&&(!i3||o3.once)&&(!n3||o3.context===n3)&&s2(this,a3);else{for(var c4=0,l2=[],u2=o3.length;c4<u2;c4++)(o3[c4].fn!==t2||i3&&!o3[c4].once||n3&&o3[c4].context!==n3)&&l2.push(o3[c4]);l2.length?this._events[a3]=l2.length===1?l2[0]:l2:s2(this,a3)}return this},c3.prototype.removeAllListeners=function(e6){var t2;return e6?(t2=r2?r2+e6:e6,this._events[t2]&&s2(this,t2)):(this._events=new i2,this._eventsCount=0),this},c3.prototype.off=c3.prototype.removeListener,c3.prototype.addListener=c3.prototype.on,c3.prefixed=r2,c3.EventEmitter=c3,t!==void 0&&(t.exports=c3)})(),1).default,{env:l={},argv:u=[],platform:d2=""}=typeof process>"u"?{}:process,f="NO_COLOR"in l||u.includes("--no-color"),p="FORCE_COLOR"in l||u.includes("--color"),ee=d2==="win32",m=l.TERM==="dumb",te=o&&o.isatty&&o.isatty(1)&&l.TERM&&!m,ne="CI"in l&&("GITHUB_ACTIONS"in l||"GITLAB_CI"in l||"CIRCLECI"in l),re=!f&&(p||ee&&!m||te||ne),h=(e5,t,n2,r2,i2=t.substring(0,e5)+r2,a2=t.substring(e5+n2.length),o2=a2.indexOf(n2))=>i2+(o2<0?a2:h(o2,a2,n2,r2)),ie=(e5,t,n2,r2,i2)=>e5<0?n2+t+r2:n2+h(e5,t,r2,i2)+r2,ae=(e5,t,n2=e5,r2=e5.length+1)=>i2=>i2||!(i2===""||i2===void 0)?ie((""+i2).indexOf(t,r2),i2,e5,t,n2):"",g=(e5,t,n2)=>ae(`\x1B[${e5}m`,`\x1B[${t}m`,n2),_={reset:g(0,0),bold:g(1,22,"\x1B[22m\x1B[1m"),dim:g(2,22,"\x1B[22m\x1B[2m"),italic:g(3,23),underline:g(4,24),inverse:g(7,27),hidden:g(8,28),strikethrough:g(9,29),black:g(30,39),red:g(31,39),green:g(32,39),yellow:g(33,39),blue:g(34,39),magenta:g(35,39),cyan:g(36,39),white:g(37,39),gray:g(90,39),bgBlack:g(40,49),bgRed:g(41,49),bgGreen:g(42,49),bgYellow:g(43,49),bgBlue:g(44,49),bgMagenta:g(45,49),bgCyan:g(46,49),bgWhite:g(47,49),blackBright:g(90,39),redBright:g(91,39),greenBright:g(92,39),yellowBright:g(93,39),blueBright:g(94,39),magentaBright:g(95,39),cyanBright:g(96,39),whiteBright:g(97,39),bgBlackBright:g(100,49),bgRedBright:g(101,49),bgGreenBright:g(102,49),bgYellowBright:g(103,49),bgBlueBright:g(104,49),bgMagentaBright:g(105,49),bgCyanBright:g(106,49),bgWhiteBright:g(107,49)},v=({useColor:e5=re}={})=>e5?_:Object.keys(_).reduce((e6,t)=>({...e6,[t]:String}),{}),{reset:oe,bold:se,dim:ce,italic:le,underline:ue,inverse:de,hidden:fe,strikethrough:pe,black:me,red:he,green:ge,yellow:_e,blue:ve,magenta:ye,cyan:be,white:xe,gray:Se,bgBlack:Ce,bgRed:we,bgGreen:Te,bgYellow:Ee,bgBlue:De,bgMagenta:Oe,bgCyan:ke,bgWhite:Ae,blackBright:je,redBright:Me,greenBright:Ne,yellowBright:Pe,blueBright:Fe,magentaBright:Ie,cyanBright:Le,whiteBright:Re,bgBlackBright:ze,bgRedBright:Be,bgGreenBright:Ve,bgYellowBright:He,bgBlueBright:Ue,bgMagentaBright:We,bgCyanBright:Ge,bgWhiteBright:Ke}=v(),qe=d(c((e5,t)=>{t.exports=r2;function n2(e6){return e6 instanceof Buffer?Buffer.from(e6):new e6.constructor(e6.buffer.slice(),e6.byteOffset,e6.length)}function r2(e6){if(e6=e6||{},e6.circles)return i2(e6);let t2=new Map;if(t2.set(Date,e7=>new Date(e7)),t2.set(Map,(e7,t3)=>new Map(a2(Array.from(e7),t3))),t2.set(Set,(e7,t3)=>new Set(a2(Array.from(e7),t3))),e6.constructorHandlers)for(let n3 of e6.constructorHandlers)t2.set(n3[0],n3[1]);let r3=null;return e6.proto?s2:o2;function a2(e7,i3){let a3=Object.keys(e7),o3=Array(a3.length);for(let s3=0;s3<a3.length;s3++){let c3=a3[s3],l2=e7[c3];typeof l2!="object"||!l2?o3[c3]=l2:l2.constructor!==Object&&(r3=t2.get(l2.constructor))?o3[c3]=r3(l2,i3):ArrayBuffer.isView(l2)?o3[c3]=n2(l2):o3[c3]=i3(l2)}return o3}function o2(e7){if(typeof e7!="object"||!e7)return e7;if(Array.isArray(e7))return a2(e7,o2);if(e7.constructor!==Object&&(r3=t2.get(e7.constructor)))return r3(e7,o2);let i3={};for(let a3 in e7){if(Object.hasOwnProperty.call(e7,a3)===!1)continue;let s3=e7[a3];typeof s3!="object"||!s3?i3[a3]=s3:s3.constructor!==Object&&(r3=t2.get(s3.constructor))?i3[a3]=r3(s3,o2):ArrayBuffer.isView(s3)?i3[a3]=n2(s3):i3[a3]=o2(s3)}return i3}function s2(e7){if(typeof e7!="object"||!e7)return e7;if(Array.isArray(e7))return a2(e7,s2);if(e7.constructor!==Object&&(r3=t2.get(e7.constructor)))return r3(e7,s2);let i3={};for(let a3 in e7){let o3=e7[a3];typeof o3!="object"||!o3?i3[a3]=o3:o3.constructor!==Object&&(r3=t2.get(o3.constructor))?i3[a3]=r3(o3,s2):ArrayBuffer.isView(o3)?i3[a3]=n2(o3):i3[a3]=s2(o3)}return i3}}function i2(e6){let t2=[],r3=[],i3=new Map;if(i3.set(Date,e7=>new Date(e7)),i3.set(Map,(e7,t3)=>new Map(o2(Array.from(e7),t3))),i3.set(Set,(e7,t3)=>new Set(o2(Array.from(e7),t3))),e6.constructorHandlers)for(let t3 of e6.constructorHandlers)i3.set(t3[0],t3[1]);let a2=null;return e6.proto?c3:s2;function o2(e7,o3){let s3=Object.keys(e7),c4=Array(s3.length);for(let l2=0;l2<s3.length;l2++){let u2=s3[l2],d3=e7[u2];if(typeof d3!="object"||!d3)c4[u2]=d3;else if(d3.constructor!==Object&&(a2=i3.get(d3.constructor)))c4[u2]=a2(d3,o3);else if(ArrayBuffer.isView(d3))c4[u2]=n2(d3);else{let e8=t2.indexOf(d3);e8===-1?c4[u2]=o3(d3):c4[u2]=r3[e8]}}return c4}function s2(e7){if(typeof e7!="object"||!e7)return e7;if(Array.isArray(e7))return o2(e7,s2);if(e7.constructor!==Object&&(a2=i3.get(e7.constructor)))return a2(e7,s2);let c4={};for(let o3 in t2.push(e7),r3.push(c4),e7){if(Object.hasOwnProperty.call(e7,o3)===!1)continue;let l2=e7[o3];if(typeof l2!="object"||!l2)c4[o3]=l2;else if(l2.constructor!==Object&&(a2=i3.get(l2.constructor)))c4[o3]=a2(l2,s2);else if(ArrayBuffer.isView(l2))c4[o3]=n2(l2);else{let e8=t2.indexOf(l2);e8===-1?c4[o3]=s2(l2):c4[o3]=r3[e8]}}return t2.pop(),r3.pop(),c4}function c3(e7){if(typeof e7!="object"||!e7)return e7;if(Array.isArray(e7))return o2(e7,c3);if(e7.constructor!==Object&&(a2=i3.get(e7.constructor)))return a2(e7,c3);let s3={};for(let o3 in t2.push(e7),r3.push(s3),e7){let l2=e7[o3];if(typeof l2!="object"||!l2)s3[o3]=l2;else if(l2.constructor!==Object&&(a2=i3.get(l2.constructor)))s3[o3]=a2(l2,c3);else if(ArrayBuffer.isView(l2))s3[o3]=n2(l2);else{let e8=t2.indexOf(l2);e8===-1?s3[o3]=c3(l2):s3[o3]=r3[e8]}}return t2.pop(),r3.pop(),s3}}})(),1),y,b,x,S,C,w={CURSOR_HIDE:"\x1B[?25l",CURSOR_SHOW:"\x1B[?25h"},T=function(e5){return e5.FORCE_UNICODE="LISTR_FORCE_UNICODE",e5.FORCE_TTY="LISTR_FORCE_TTY",e5.DISABLE_COLOR="NO_COLOR",e5.FORCE_COLOR="FORCE_COLOR",e5}({}),E=function(e5){return e5.WILL_RETRY="WILL_RETRY",e5.WILL_ROLLBACK="WILL_ROLLBACK",e5.HAS_FAILED_TO_ROLLBACK="HAS_FAILED_TO_ROLLBACK",e5.HAS_FAILED="HAS_FAILED",e5.HAS_FAILED_WITHOUT_ERROR="HAS_FAILED_WITHOUT_ERROR",e5}({}),D=function(e5){return e5.SHOULD_REFRESH_RENDER="SHOUD_REFRESH_RENDER",e5}({}),O=function(e5){return e5.PRIMARY="PRIMARY",e5.SECONDARY="SECONDARY",e5.SILENT="SILENT",e5}({}),k=function(e5){return e5.TITLE="TITLE",e5.STATE="STATE",e5.ENABLED="ENABLED",e5.SUBTASK="SUBTASK",e5.PROMPT="PROMPT",e5.OUTPUT="OUTPUT",e5.MESSAGE="MESSAGE",e5.CLOSED="CLOSED",e5}({}),A=function(e5){return e5.WAITING="WAITING",e5.STARTED="STARTED",e5.COMPLETED="COMPLETED",e5.FAILED="FAILED",e5.SKIPPED="SKIPPED",e5.ROLLING_BACK="ROLLING_BACK",e5.ROLLED_BACK="ROLLED_BACK",e5.RETRY="RETRY",e5.PAUSED="PAUSED",e5.PROMPT="PROMPT",e5.PROMPT_COMPLETED="PROMPT_COMPLETED",e5.PROMPT_FAILED="PROMPT_FAILED",e5}({}),j=class{constructor(){this.emitter=new c2}emit(e5,t){this.emitter.emit(e5,t)}on(e5,t){this.emitter.addListener(e5,t)}once(e5,t){this.emitter.once(e5,t)}off(e5,t){this.emitter.off(e5,t)}complete(){this.emitter.removeAllListeners()}};function Je(e5){return!!e5&&typeof e5=="object"&&typeof e5.subscribe=="function"}function Ye(e5){return!!e5&&typeof e5=="object"&&e5.readable===!0&&typeof e5.read=="function"&&typeof e5.on=="function"}function M(){return!!process.env[T.FORCE_UNICODE]||process.platform!=="win32"||!!process.env.CI||!!process.env.WT_SESSION||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty"}var Xe=/\u0007/;function N(e5){return String(e5).replace(RegExp("(?:\\u001b|\\u009b)\\[[\\=><~/#&.:=?%@~_-]*[0-9]*[\\a-ln-tqyz=><~/#&.:=?%@~_-]+","gmi"),"").replace(new RegExp(Xe,"gmi"),"").trim()}var P=v();function F(e5,t){return e5.replace(/^(?!\s*$)/gm," ".repeat(t))}var I={warning:"\u26A0",cross:"\u2716",arrowDown:"\u2193",tick:"\u2714",arrowRight:"\u2192",pointer:"\u276F",checkboxOn:"\u2612",arrowLeft:"\u2190",squareSmallFilled:"\u25FC",pointerSmall:"\u203A"},Ze={...I,warning:"\u203C",cross:"\xD7",tick:"\u221A",pointer:">",checkboxOn:"[\xD7]",squareSmallFilled:"\u25A0"},L=M()?I:Ze;function R(e5,...t){return a(String(e5),...t)}var z=function(e5){return e5.STARTED="STARTED",e5.COMPLETED="COMPLETED",e5.FAILED="FAILED",e5.SKIPPED="SKIPPED",e5.OUTPUT="OUTPUT",e5.TITLE="TITLE",e5.ROLLBACK="ROLLBACK",e5.RETRY="RETRY",e5.PROMPT="PROMPT",e5.PAUSED="PAUSED",e5}({}),B={icon:{[z.STARTED]:L.pointer,[z.FAILED]:L.cross,[z.SKIPPED]:L.arrowDown,[z.COMPLETED]:L.tick,[z.OUTPUT]:L.pointerSmall,[z.TITLE]:L.arrowRight,[z.RETRY]:L.warning,[z.ROLLBACK]:L.arrowLeft,[z.PAUSED]:L.squareSmallFilled},color:{[z.STARTED]:P.yellow,[z.FAILED]:P.red,[z.SKIPPED]:P.yellow,[z.COMPLETED]:P.green,[z.RETRY]:P.yellowBright,[z.ROLLBACK]:P.redBright,[z.PAUSED]:P.yellowBright}},V=[z.RETRY,z.ROLLBACK,z.FAILED],H=class{constructor(e5){var t,n2,r2;this.options=e5,this.options={useIcons:!0,toStderr:[],...e5??{}},(t=this.options).fields??(t.fields={}),(n2=this.options.fields).prefix??(n2.prefix=[]),(r2=this.options.fields).suffix??(r2.suffix=[]),this.process=this.options.processOutput??new Qe}log(e5,t,n2){let r2=this.format(e5,t,n2);if(this.options.toStderr.includes(e5)){this.process.toStderr(r2);return}this.process.toStdout(r2)}toStdout(e5,t,n2=!0){this.process.toStdout(this.format(null,e5,t),n2)}toStderr(e5,t,n2=!0){this.process.toStderr(this.format(null,e5,t),n2)}wrap(e5,t){return e5&&this.applyFormat(`[${e5}]`,t)}splat(...e5){let t=e5.shift()??"";return e5.length===0?t:R(t,e5)}suffix(e5,...t){return t.filter(Boolean).forEach(t2=>{if(e5+=this.spacing(e5),typeof t2=="string")e5+=this.wrap(t2);else if(typeof t2=="object"){if(t2.args??(t2.args=[]),typeof t2.condition=="function"?!t2.condition(...t2.args):!(t2.condition??!0))return e5;e5+=this.wrap(typeof t2.field=="function"?t2.field(...t2.args):t2.field,{format:t2?.format(...t2.args)})}}),e5}prefix(e5,...t){return t.filter(Boolean).forEach(t2=>{if(e5=this.spacing(e5)+e5,typeof t2=="string")e5=this.wrap(t2)+e5;else if(typeof t2=="object"){if(t2.args??(t2.args=[]),typeof t2.condition=="function"?!t2.condition(...t2.args):!(t2.condition??!0))return e5;e5=this.wrap(typeof t2.field=="function"?t2.field(...t2.args):t2.field,{format:t2?.format()})+e5}}),e5}fields(e5,t){return this.options?.fields?.prefix&&(e5=this.prefix(e5,...this.options.fields.prefix)),t?.prefix&&(e5=this.prefix(e5,...t.prefix)),t?.suffix&&(e5=this.suffix(e5,...t.suffix)),this.options?.fields?.suffix&&(e5=this.suffix(e5,...this.options.fields.suffix)),e5}icon(e5,t){if(!e5)return null;if(!t){let n3=this.options.icon?.[e5];t=typeof n3=="function"?n3():n3}let n2=this.options.color?.[e5];return t&&n2&&(t=n2(t)),t}format(e5,t,r2){return Array.isArray(t)||(t=[t]),t=this.splat(t.shift(),...t).toString().split(n).filter(e6=>!e6||e6.trim()!=="").map(t2=>this.style(e5,this.fields(t2,{prefix:Array.isArray(r2?.prefix)?r2.prefix:[r2?.prefix],suffix:Array.isArray(r2?.suffix)?r2.suffix:[r2?.suffix]}))).join(n),t}style(e5,t){if(!e5||!t)return t;let n2=this.icon(e5,!this.options.useIcons&&this.wrap(e5));return n2&&(t=n2+" "+t),t}applyFormat(e5,t){return t?.format?t.format(e5):e5}spacing(e5){return e5===void 0||e5.trim()===""?"":" "}},U=class{constructor(e5){this.buffer=[],this.decoder=new s,this.options=e5}get all(){return this.buffer}get last(){return this.buffer.at(-1)}get length(){return this.buffer.length}write(e5,...t){let n2=t[t.length-1];return this.buffer.push({time:Date.now(),stream:this.options?.stream,entry:this.decoder.write(typeof e5=="string"?Buffer.from(e5,typeof t[0]=="string"?t[0]:void 0):Buffer.from(e5))}),this.options?.limit&&(this.buffer=this.buffer.slice(-this.options.limit)),typeof n2=="function"&&n2(),!0}reset(){this.buffer=[]}},W=class{constructor(e5){this.stream=e5,this.method=e5.write,this.buffer=new U({stream:e5})}get out(){return Object.assign({},this.stream,{write:this.write.bind(this)})}hijack(){this.stream.write=this.buffer.write.bind(this.buffer)}release(){this.stream.write=this.method;let e5=[...this.buffer.all];return this.buffer.reset(),e5}write(...e5){return this.method.apply(this.stream,e5)}},Qe=class{constructor(e5,t,n2){this.options=n2,this.stream={stdout:new W(e5??process.stdout),stderr:new W(t??process.stderr)},this.options={dump:["stdout","stderr"],leaveEmptyLine:!0,...n2}}get stdout(){return this.stream.stdout.out}get stderr(){return this.stream.stderr.out}hijack(){if(this.active)throw Error("ProcessOutput has been already hijacked!");this.stream.stdout.write(w.CURSOR_HIDE),Object.values(this.stream).forEach(e5=>e5.hijack()),this.active=!0}release(){let e5=Object.entries(this.stream).map(([e6,t])=>({name:e6,buffer:t.release()})).filter(e6=>this.options.dump.includes(e6.name)).flatMap(e6=>e6.buffer).sort((e6,t)=>e6.time-t.time).map(e6=>({...e6,entry:N(e6.entry)})).filter(e6=>e6.entry);e5.length>0&&(this.options.leaveEmptyLine&&this.stdout.write(n),e5.forEach(e6=>{(e6.stream??this.stdout).write(e6.entry+n)})),this.stream.stdout.write(w.CURSOR_SHOW),this.active=!1}toStdout(e5,t=!0){return t&&(e5+=n),this.stream.stdout.write(e5)}toStderr(e5,t=!0){return t&&(e5+=n),this.stream.stderr.write(e5)}};function $e(e5){let t=new i;return t.rows=1/0,t.columns=1/0,t.write=t2=>(e5(t2.toString()),!0),t}var et=class{constructor(){this.spinner=M()?["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]:["-","\\","|","/"],this.spinnerPosition=0}spin(){this.spinnerPosition=++this.spinnerPosition%this.spinner.length}fetch(){return this.spinner[this.spinnerPosition]}isRunning(){return!!this.id}start(e5,t=100){this.id=setInterval(()=>{this.spin(),e5&&e5()},t)}stop(){clearInterval(this.id)}},G=function(e5){return e5.SKIPPED_WITH_COLLAPSE="SKIPPED_WITH_COLLAPSE",e5.SKIPPED_WITHOUT_COLLAPSE="SKIPPED_WITHOUT_COLLAPSE",e5.OUTPUT="OUTPUT",e5.OUTPUT_WITH_BOTTOMBAR="OUTPUT_WITH_BOTTOMBAR",e5.PENDING="PENDING",e5.COMPLETED="COMPLETED",e5.COMPLETED_WITH_FAILED_SUBTASKS="COMPLETED_WITH_FAILED_SUBTASKS",e5.COMPLETED_WITH_FAILED_SISTER_TASKS="COMPLETED_WITH_SISTER_TASKS_FAILED",e5.RETRY="RETRY",e5.ROLLING_BACK="ROLLING_BACK",e5.ROLLED_BACK="ROLLED_BACK",e5.FAILED="FAILED",e5.FAILED_WITH_FAILED_SUBTASKS="FAILED_WITH_SUBTASKS",e5.WAITING="WAITING",e5.PAUSED="PAUSED",e5}({}),K={icon:{[G.SKIPPED_WITH_COLLAPSE]:L.arrowDown,[G.SKIPPED_WITHOUT_COLLAPSE]:L.warning,[G.OUTPUT]:L.pointerSmall,[G.OUTPUT_WITH_BOTTOMBAR]:L.pointerSmall,[G.PENDING]:L.pointer,[G.COMPLETED]:L.tick,[G.COMPLETED_WITH_FAILED_SUBTASKS]:L.warning,[G.COMPLETED_WITH_FAILED_SISTER_TASKS]:L.squareSmallFilled,[G.RETRY]:L.warning,[G.ROLLING_BACK]:L.warning,[G.ROLLED_BACK]:L.arrowLeft,[G.FAILED]:L.cross,[G.FAILED_WITH_FAILED_SUBTASKS]:L.pointer,[G.WAITING]:L.squareSmallFilled,[G.PAUSED]:L.squareSmallFilled},color:{[G.SKIPPED_WITH_COLLAPSE]:P.yellow,[G.SKIPPED_WITHOUT_COLLAPSE]:P.yellow,[G.PENDING]:P.yellow,[G.COMPLETED]:P.green,[G.COMPLETED_WITH_FAILED_SUBTASKS]:P.yellow,[G.COMPLETED_WITH_FAILED_SISTER_TASKS]:P.red,[G.RETRY]:P.yellowBright,[G.ROLLING_BACK]:P.redBright,[G.ROLLED_BACK]:P.redBright,[G.FAILED]:P.red,[G.FAILED_WITH_FAILED_SUBTASKS]:P.red,[G.WAITING]:P.dim,[G.PAUSED]:P.yellowBright}};function tt(e5){let t=Math.floor(e5/1e3),n2=Math.floor(t/60),r2;return t===0&&n2===0&&(r2=`0.${Math.floor(e5/100)}s`),t>0&&(r2=`${t%60}s`),n2>0&&(r2=`${n2}m${r2}`),r2}var q={condition:!0,field:tt,format:()=>P.dim},nt=(y=class e{constructor(t,n2,r2){this.buffer={output:new Map,bottom:new Map},this.cache={render:new Map,rendererOptions:new Map,rendererTaskOptions:new Map},this.tasks=t,this.options=n2,this.events=r2,this.options={...e.rendererOptions,...this.options,icon:{...K.icon,...n2?.icon??{}},color:{...K.color,...n2?.color??{}}},this.spinner=this.options.spinner??new et,this.logger=this.options.logger??new H({useIcons:!0,toStderr:[]}),this.logger.options.icon=this.options.icon,this.logger.options.color=this.options.color}async render(){let{createLogUpdate:e5}=await import("./log-update-DsqoChS1-DG7F5XJ4.js"),{default:t}=await import("./cli-truncate-CylqKOGj-WE5OLB6Q.js"),{default:n2}=await import("./wrap-ansi-CaN_P_HT-MAPHF26X.js");this.updater=e5(this.logger.process.stdout),this.truncate=t,this.wrap=n2,this.logger.process.hijack(),this.options?.lazy||this.spinner.start(()=>{this.update()}),this.events.on(D.SHOULD_REFRESH_RENDER,()=>{this.update()})}update(){this.updater(this.create())}end(){this.spinner.stop(),this.updater.clear(),this.updater.done(),this.options.clearOutput||this.logger.process.toStdout(this.create({prompt:!1})),this.logger.process.release()}create(e5){e5={tasks:!0,bottomBar:!0,prompt:!0,...e5};let t=[],r2=this.renderer(this.tasks),i2=this.renderBottomBar(),a2=this.renderPrompt();return e5.tasks&&r2.length>0&&t.push(...r2),e5.bottomBar&&i2.length>0&&(t.length>0&&t.push(""),t.push(...i2)),e5.prompt&&a2.length>0&&(t.length>0&&t.push(""),t.push(...a2)),t.join(n)}style(e5,t=!1){let n2=this.cache.rendererOptions.get(e5.id);if(e5.isSkipped()){if(t||n2.collapseSkips)return this.logger.icon(G.SKIPPED_WITH_COLLAPSE);if(n2.collapseSkips===!1)return this.logger.icon(G.SKIPPED_WITHOUT_COLLAPSE)}if(t)return this.shouldOutputToBottomBar(e5)?this.logger.icon(G.OUTPUT_WITH_BOTTOMBAR):this.logger.icon(G.OUTPUT);if(e5.hasSubtasks()){if(e5.isStarted()||e5.isPrompt()&&n2.showSubtasks!==!1&&!e5.subtasks.every(e6=>!e6.hasTitle()))return this.logger.icon(G.PENDING);if(e5.isCompleted()&&e5.subtasks.some(e6=>e6.hasFailed()))return this.logger.icon(G.COMPLETED_WITH_FAILED_SUBTASKS);if(e5.hasFailed())return this.logger.icon(G.FAILED_WITH_FAILED_SUBTASKS)}return e5.isStarted()||e5.isPrompt()?this.logger.icon(G.PENDING,!this.options?.lazy&&this.spinner.fetch()):e5.isCompleted()?this.logger.icon(G.COMPLETED):e5.isRetrying()?this.logger.icon(G.RETRY,!this.options?.lazy&&this.spinner.fetch()):e5.isRollingBack()?this.logger.icon(G.ROLLING_BACK,!this.options?.lazy&&this.spinner.fetch()):e5.hasRolledBack()?this.logger.icon(G.ROLLED_BACK):e5.hasFailed()?this.logger.icon(G.FAILED):e5.isPaused()?this.logger.icon(G.PAUSED):this.logger.icon(G.WAITING)}format(e5,t,r2){if(e5.trim()==="")return[];t&&(e5=t+" "+e5);let i2,a2=(process.stdout.columns??80)-r2*this.options.indentation-2;switch(this.options.formatOutput){case"truncate":i2=e5.split(n).map((e6,t2)=>this.truncate(this.indent(e6,t2),a2));break;case"wrap":i2=this.wrap(e5,a2,{hard:!0,trim:!1}).split(n).map((e6,t2)=>this.indent(e6,t2));break;default:throw new Q("Format option for the renderer is wrong.")}return this.options.removeEmptyLines&&(i2=i2.filter(Boolean)),i2.map(e6=>F(e6,r2*this.options.indentation))}shouldOutputToOutputBar(e5){let t=this.cache.rendererTaskOptions.get(e5.id).outputBar;return typeof t=="number"&&t!==0||typeof t=="boolean"&&t!==!1}shouldOutputToBottomBar(e5){let t=this.cache.rendererTaskOptions.get(e5.id).bottomBar;return typeof t=="number"&&t!==0||typeof t=="boolean"&&t!==!1||!e5.hasTitle()}renderer(e5,t=0){return e5.flatMap(n2=>{if(!n2.isEnabled())return[];if(this.cache.render.has(n2.id))return this.cache.render.get(n2.id);this.calculate(n2),this.setupBuffer(n2);let r2=this.cache.rendererOptions.get(n2.id),i2=this.cache.rendererTaskOptions.get(n2.id),a2=[];if(n2.isPrompt()){if(this.activePrompt&&this.activePrompt!==n2.id)throw new Q("Only one prompt can be active at the given time, please re-evaluate your task design.");this.activePrompt||(n2.on(k.PROMPT,e6=>{let t2=N(e6);t2&&(this.prompt=t2)}),n2.on(k.STATE,e6=>{(e6===A.PROMPT_COMPLETED||n2.hasFinalized()||n2.hasReset())&&(this.prompt=null,this.activePrompt=null,n2.off(k.PROMPT))}),this.activePrompt=n2.id)}if(n2.hasTitle()&&(e5.some(e6=>e6.hasFailed())&&!n2.hasFailed()&&n2.options.exitOnError!==!1&&!(n2.isCompleted()||n2.isSkipped())?a2.push(...this.format(n2.title,this.logger.icon(G.COMPLETED_WITH_FAILED_SISTER_TASKS),t)):n2.hasFailed()&&r2.collapseErrors?a2.push(...this.format(!n2.hasSubtasks()&&n2.message.error&&r2.showErrorMessage?n2.message.error:n2.title,this.style(n2),t)):n2.isSkipped()&&r2.collapseSkips?a2.push(...this.format(this.logger.suffix(n2.message.skip&&r2.showSkipMessage?n2.message.skip:n2.title,{field:z.SKIPPED,condition:r2.suffixSkips,format:()=>P.dim}),this.style(n2),t)):n2.isRetrying()?a2.push(...this.format(this.logger.suffix(n2.title,{field:`${z.RETRY}:${n2.message.retry.count}`,format:()=>P.yellow,condition:r2.suffixRetries}),this.style(n2),t)):n2.isCompleted()&&n2.hasTitle()&&X(i2.timer?.condition,n2.message.duration)?a2.push(...this.format(this.logger.suffix(n2?.title,{...i2.timer,args:[n2.message.duration]}),this.style(n2),t)):n2.isPaused()?a2.push(...this.format(this.logger.suffix(n2.title,{...r2.pausedTimer,args:[n2.message.paused-Date.now()]}),this.style(n2),t)):a2.push(...this.format(n2.title,this.style(n2),t))),(!n2.hasSubtasks()||!r2.showSubtasks)&&(n2.hasFailed()&&r2.collapseErrors===!1&&(r2.showErrorMessage||!r2.showSubtasks)?a2.push(...this.dump(n2,t,z.FAILED)):n2.isSkipped()&&r2.collapseSkips===!1&&(r2.showSkipMessage||!r2.showSubtasks)&&a2.push(...this.dump(n2,t,z.SKIPPED))),(n2.isPending()||i2.persistentOutput)&&a2.push(...this.renderOutputBar(n2,t)),r2.showSubtasks!==!1&&n2.hasSubtasks()&&(n2.isPending()||n2.hasFinalized()&&!n2.hasTitle()||n2.isCompleted()&&r2.collapseSubtasks===!1&&!n2.subtasks.some(e6=>this.cache.rendererOptions.get(e6.id)?.collapseSubtasks===!0)||n2.subtasks.some(e6=>this.cache.rendererOptions.get(e6.id)?.collapseSubtasks===!1)||n2.subtasks.some(e6=>e6.hasFailed())||n2.subtasks.some(e6=>e6.hasRolledBack()))){let e6=n2.hasTitle()?t+1:t,r3=this.renderer(n2.subtasks,e6);a2.push(...r3)}return n2.hasFinalized()&&(i2.persistentOutput||(this.buffer.bottom.delete(n2.id),this.buffer.output.delete(n2.id))),n2.isClosed()&&(this.cache.render.set(n2.id,a2),this.reset(n2)),a2})}renderOutputBar(e5,t){let n2=this.buffer.output.get(e5.id);return n2?n2.all.flatMap(n3=>this.dump(e5,t,z.OUTPUT,n3.entry)):[]}renderBottomBar(){return this.buffer.bottom.size===0?[]:Array.from(this.buffer.bottom.values()).flatMap(e5=>e5.all).sort((e5,t)=>e5.time-t.time).map(e5=>e5.entry)}renderPrompt(){return this.prompt?[this.prompt]:[]}calculate(t){if(this.cache.rendererOptions.has(t.id)&&this.cache.rendererTaskOptions.has(t.id))return;let n2={...this.options,...t.rendererOptions};this.cache.rendererOptions.set(t.id,n2),this.cache.rendererTaskOptions.set(t.id,{...e.rendererTaskOptions,timer:n2.timer,...t.rendererTaskOptions})}setupBuffer(e5){if(this.buffer.bottom.has(e5.id)||this.buffer.output.has(e5.id))return;let t=this.cache.rendererTaskOptions.get(e5.id);this.shouldOutputToBottomBar(e5)&&!this.buffer.bottom.has(e5.id)?(this.buffer.bottom.set(e5.id,new U({limit:typeof t.bottomBar=="number"?t.bottomBar:1})),e5.on(k.OUTPUT,t2=>{let r2=this.dump(e5,-1,z.OUTPUT,t2);this.buffer.bottom.get(e5.id).write(r2.join(n))}),e5.on(k.STATE,t2=>{switch(t2){case(A.RETRY||A.ROLLING_BACK):this.buffer.bottom.delete(e5.id);break}})):this.shouldOutputToOutputBar(e5)&&!this.buffer.output.has(e5.id)&&(this.buffer.output.set(e5.id,new U({limit:typeof t.outputBar=="number"?t.outputBar:1})),e5.on(k.OUTPUT,t2=>{this.buffer.output.get(e5.id).write(t2)}),e5.on(k.STATE,t2=>{switch(t2){case(A.RETRY||A.ROLLING_BACK):this.buffer.output.delete(e5.id);break}}))}reset(e5){this.cache.rendererOptions.delete(e5.id),this.cache.rendererTaskOptions.delete(e5.id),this.buffer.output.delete(e5.id)}dump(e5,t,n2=z.OUTPUT,r2){if(!r2)switch(n2){case z.OUTPUT:r2=e5.output;break;case z.SKIPPED:r2=e5.message.skip;break;case z.FAILED:r2=e5.message.error;break}return e5.hasTitle()&&n2===z.FAILED&&r2===e5.title||typeof r2!="string"?[]:(n2===z.OUTPUT&&(r2=N(r2)),this.format(r2,this.style(e5,!0),t+1))}indent(e5,t){return t>0?F(e5.trimEnd(),this.options.indentation):e5.trimEnd()}},y.nonTTY=!1,y.rendererOptions={indentation:2,clearOutput:!1,showSubtasks:!0,collapseSubtasks:!0,collapseSkips:!0,showSkipMessage:!0,suffixSkips:!1,collapseErrors:!0,showErrorMessage:!0,suffixRetries:!0,lazy:!1,removeEmptyLines:!0,formatOutput:"wrap",pausedTimer:{...q,format:()=>P.yellowBright}},y.rendererTaskOptions={outputBar:!0},y),rt=(b=class{constructor(e5,t){this.tasks=e5,this.options=t}render(){}end(){}},b.nonTTY=!0,b),it=(x=class e2{constructor(t,n2){this.cache={rendererOptions:new Map,rendererTaskOptions:new Map},this.tasks=t,this.options=n2,this.options={...e2.rendererOptions,...n2,icon:{...B.icon,...n2?.icon??{}},color:{...B.color,...n2?.color??{}}},this.logger=this.options.logger??new H({useIcons:!0,toStderr:V}),this.logger.options.icon=this.options.icon,this.logger.options.color=this.options.color,this.options.timestamp&&this.logger.options.fields.prefix.unshift(this.options.timestamp)}end(){}render(){this.renderer(this.tasks)}renderer(e5){e5.forEach(e6=>{this.calculate(e6),e6.once(k.CLOSED,()=>{this.reset(e6)});let t=this.cache.rendererOptions.get(e6.id),n2=this.cache.rendererTaskOptions.get(e6.id);e6.on(k.SUBTASK,e7=>{this.renderer(e7)}),e6.on(k.STATE,t2=>{if(e6.hasTitle())if(t2===A.STARTED)this.logger.log(z.STARTED,e6.title);else if(t2===A.COMPLETED){let t3=n2?.timer;this.logger.log(z.COMPLETED,e6.title,t3&&{suffix:{...t3,condition:!!e6.message?.duration&&t3.condition,args:[e6.message.duration]}})}else t2===A.PROMPT?(this.logger.process.hijack(),e6.on(k.PROMPT,e7=>{this.logger.process.toStderr(e7,!1)})):t2===A.PROMPT_COMPLETED&&(e6.off(k.PROMPT),this.logger.process.release())}),e6.on(k.OUTPUT,e7=>{this.logger.log(z.OUTPUT,e7)}),e6.on(k.MESSAGE,n3=>{if(n3.error)this.logger.log(z.FAILED,e6.title,{suffix:{field:`${z.FAILED}: ${n3.error}`,format:()=>P.red}});else if(n3.skip)this.logger.log(z.SKIPPED,e6.title,{suffix:{field:`${z.SKIPPED}: ${n3.skip}`,format:()=>P.yellow}});else if(n3.rollback)this.logger.log(z.ROLLBACK,e6.title,{suffix:{field:`${z.ROLLBACK}: ${n3.rollback}`,format:()=>P.red}});else if(n3.retry)this.logger.log(z.RETRY,e6.title,{suffix:{field:`${z.RETRY}:${n3.retry.count}`,format:()=>P.red}});else if(n3.paused){let r2=t?.pausedTimer;this.logger.log(z.PAUSED,e6.title,r2&&{suffix:{...r2,condition:!!n3?.paused&&r2.condition,args:[n3.paused-Date.now()]}})}})})}calculate(t){if(this.cache.rendererOptions.has(t.id)&&this.cache.rendererTaskOptions.has(t.id))return;let n2={...this.options,...t.rendererOptions};this.cache.rendererOptions.set(t.id,n2),this.cache.rendererTaskOptions.set(t.id,{...e2.rendererTaskOptions,timer:n2.timer,...t.rendererTaskOptions})}reset(e5){this.cache.rendererOptions.delete(e5.id),this.cache.rendererTaskOptions.delete(e5.id)}},x.nonTTY=!0,x.rendererOptions={pausedTimer:{...q,field:e5=>`${z.PAUSED}:${e5}`,format:()=>P.yellowBright}},x.rendererTaskOptions={},x),at=class{constructor(e5){this.options=e5}serialize(e5,t,n2){return JSON.stringify(this.generate(e5,t,n2))}generate(e5,t,n2){let r2={event:e5,data:t};if(typeof this.options?.task!="boolean"){let e6=Object.fromEntries(this.options.task.map(e7=>{let t2=n2[e7];return typeof t2=="function"?[e7,t2.call(n2)]:[e7,t2]}));Object.keys(n2).length>0&&(r2.task=e6)}return r2}},ot=(S=class e3{constructor(t,n2){this.tasks=t,this.options=n2,this.options={...e3.rendererOptions,...this.options},this.logger=this.options.logger??new H({useIcons:!1}),this.serializer=new at(this.options)}render(){this.renderer(this.tasks)}end(){}renderer(e5){e5.forEach(e6=>{this.options.subtasks&&e6.on(k.SUBTASK,e7=>{this.renderer(e7)}),this.options.state&&e6.on(k.STATE,t=>{this.logger.toStdout(this.serializer.serialize(k.STATE,t,e6))}),this.options.output&&e6.on(k.OUTPUT,t=>{this.logger.toStdout(this.serializer.serialize(k.OUTPUT,t,e6))}),this.options.prompt&&e6.on(k.PROMPT,t=>{this.logger.toStdout(this.serializer.serialize(k.PROMPT,t,e6))}),this.options.title&&e6.on(k.TITLE,t=>{this.logger.toStdout(this.serializer.serialize(k.TITLE,t,e6))}),e6.on(k.MESSAGE,t=>{let n2=Object.fromEntries(Object.entries(t).map(([e7,t2])=>{if(this.options.messages.includes(e7))return[e7,t2]}).filter(Boolean));if(Object.keys(n2).length>0){let t2=this.serializer.serialize(k.MESSAGE,n2,e6);this.options.messagesToStderr.some(e7=>Object.keys(n2).includes(e7))?this.logger.toStderr(t2):this.logger.toStdout(t2)}})})}},S.nonTTY=!0,S.rendererOptions={subtasks:!0,state:Object.values(A),output:!0,prompt:!0,title:!0,messages:["skip","error","retry","rollback","paused"],messagesToStderr:["error","rollback","retry"],task:["hasRolledBack","isRollingBack","isCompleted","isSkipped","hasFinalized","hasSubtasks","title","hasReset","hasTitle","isPrompt","isPaused","isPending","isSkipped","isStarted","hasFailed","isEnabled","isRetrying","path"]},S),J={default:nt,simple:it,verbose:(C=class e4{constructor(t,n2){this.cache={rendererOptions:new Map,rendererTaskOptions:new Map},this.tasks=t,this.options=n2,this.options={...e4.rendererOptions,...this.options,icon:{...B.icon,...n2?.icon??{}},color:{...B.color,...n2?.color??{}}},this.logger=this.options.logger??new H({useIcons:!1,toStderr:V}),this.logger.options.icon=this.options.icon,this.logger.options.color=this.options.color,this.options.timestamp&&this.logger.options.fields.prefix.unshift(this.options.timestamp)}render(){this.renderer(this.tasks)}end(){}renderer(e5){e5.forEach(e6=>{this.calculate(e6),e6.once(k.CLOSED,()=>{this.reset(e6)});let t=this.cache.rendererOptions.get(e6.id),n2=this.cache.rendererTaskOptions.get(e6.id);e6.on(k.SUBTASK,e7=>{this.renderer(e7)}),e6.on(k.STATE,t2=>{if(e6.hasTitle()){if(t2===A.STARTED)this.logger.log(z.STARTED,e6.title);else if(t2===A.COMPLETED){let t3=n2.timer;this.logger.log(z.COMPLETED,e6.title,t3&&{suffix:{...t3,condition:!!e6.message?.duration&&t3.condition,args:[e6.message.duration]}})}}}),e6.on(k.OUTPUT,e7=>{this.logger.log(z.OUTPUT,e7)}),e6.on(k.PROMPT,e7=>{let t2=N(e7);t2&&this.logger.log(z.PROMPT,t2)}),this.options?.logTitleChange!==!1&&e6.on(k.TITLE,e7=>{this.logger.log(z.TITLE,e7)}),e6.on(k.MESSAGE,n3=>{if(n3?.error)this.logger.log(z.FAILED,n3.error);else if(n3?.skip)this.logger.log(z.SKIPPED,n3.skip);else if(n3?.rollback)this.logger.log(z.ROLLBACK,n3.rollback);else if(n3?.retry)this.logger.log(z.RETRY,e6.title,{suffix:n3.retry.count.toString()});else if(n3?.paused){let r2=t?.pausedTimer;this.logger.log(z.PAUSED,e6.title,r2&&{suffix:{...r2,condition:!!n3?.paused&&r2.condition,args:[n3.paused-Date.now()]}})}})})}calculate(t){if(this.cache.rendererOptions.has(t.id)&&this.cache.rendererTaskOptions.has(t.id))return;let n2={...this.options,...t.rendererOptions};this.cache.rendererOptions.set(t.id,n2),this.cache.rendererTaskOptions.set(t.id,{...e4.rendererTaskOptions,timer:n2.timer,...t.rendererTaskOptions})}reset(e5){this.cache.rendererOptions.delete(e5.id),this.cache.rendererTaskOptions.delete(e5.id)}},C.nonTTY=!0,C.rendererOptions={logTitleChange:!1,pausedTimer:{...q,format:()=>P.yellowBright}},C),test:ot,silent:rt};function st(e5){return process.stdout.isTTY===!0||e5.nonTTY===!0}function Y(e5){return typeof e5=="string"?J[e5]??J.default:typeof e5=="function"?e5:J.default}function ct(e5){if(X(e5?.silentRendererCondition))return{renderer:Y("silent"),selection:O.SILENT};let t={renderer:Y(e5.renderer),options:e5.rendererOptions,selection:O.PRIMARY};return!st(t.renderer)||X(e5?.fallbackRendererCondition)?{renderer:Y(e5.fallbackRenderer),options:e5.fallbackRendererOptions,selection:O.SECONDARY}:t}function X(e5,...t){return typeof e5=="function"?e5(...t):e5}var lt=(0,qe.default)({circles:!0});function Z(e5){return lt(e5)}var ut=class{constructor(e5){this.concurrency=e5.concurrency,this.count=0,this.queue=new Set}add(e5){return this.count<this.concurrency?this.run(e5):new Promise(t=>{this.queue.add(()=>t(this.run(e5)))})}flush(){for(let e5 of this.queue){if(this.count>=this.concurrency)break;this.queue.delete(e5),e5()}}run(e5){this.count++;let t=e5();return t.then(()=>{this.count--,this.flush()},()=>{this.queue.clear()}),t}};function dt(e5){return new Promise(t=>{setTimeout(t,e5)})}var ft=class extends Error{constructor(e5,t,n2){super(e5.message),this.error=e5,this.type=t,this.task=n2,this.name="ListrError",this.path=n2.path,n2?.options.collectErrors==="full"&&(this.task=Z(n2),this.ctx=Z(n2.listr.ctx)),this.stack=e5?.stack}},Q=class extends Error{},pt=class extends Error{},mt=class{constructor(e5){this.task=e5}get title(){return this.task.title}set title(e5){e5=Array.isArray(e5)?e5:[e5],this.task.title$=R(e5.shift(),...e5)}get output(){return this.task.output}set output(e5){e5=Array.isArray(e5)?e5:[e5],this.task.output$=R(e5.shift(),...e5)}set promptOutput(e5){this.task.promptOutput$=e5}newListr(e5,t){let n2;return n2=typeof e5=="function"?e5(this):e5,new $(n2,t,this.task)}report(e5,t){this.task.options.collectErrors!==!1&&this.task.listr.errors.push(new ft(e5,t,this.task)),this.task.message$={error:e5.message??this.task?.title}}skip(e5,...t){this.task.state$=A.SKIPPED,e5&&(this.task.message$={skip:e5?R(e5,...t):this.task?.title})}isRetrying(){return this.task.isRetrying()?this.task.retry:{count:0}}prompt(e5){return this.task.prompt?this.task.prompt:new e5(this.task,this)}stdout(e5){return $e(t=>{switch(e5){case k.PROMPT:this.promptOutput=t;break;default:this.output=t}})}run(e5){return this.task.run(e5,this)}},ht=class extends j{},gt=class extends ht{constructor(e5,t,n2,i2,a2){if(super(),this.id=r(),this.state=A.WAITING,this.message={},this.listr=e5,this.task=t,this.options=n2,this.rendererOptions=i2,this.rendererTaskOptions=a2,t.title){let e6=Array.isArray(t?.title)?t.title:[t.title];this.title=R(e6.shift(),...e6),this.initialTitle=this.title}this.taskFn=t.task,this.parent=e5.parentTask}set state$(e5){if(this.state=e5,this.emit(k.STATE,e5),this.hasSubtasks()&&this.hasFailed())for(let e6 of this.subtasks)e6.state===A.STARTED&&(e6.state$=A.FAILED);this.listr.events.emit(D.SHOULD_REFRESH_RENDER)}set output$(e5){this.output=e5,this.emit(k.OUTPUT,e5),this.listr.events.emit(D.SHOULD_REFRESH_RENDER)}set promptOutput$(e5){this.emit(k.PROMPT,e5),N(e5)&&this.listr.events.emit(D.SHOULD_REFRESH_RENDER)}set message$(e5){this.message={...this.message,...e5},this.emit(k.MESSAGE,e5),this.listr.events.emit(D.SHOULD_REFRESH_RENDER)}set title$(e5){this.title=e5,this.emit(k.TITLE,e5),this.listr.events.emit(D.SHOULD_REFRESH_RENDER)}get path(){return[...this.listr.path,this.initialTitle]}async check(e5){return this.state===A.WAITING&&(this.enabled=await X(this.task?.enabled??!0,e5),this.emit(k.ENABLED,this.enabled),this.listr.events.emit(D.SHOULD_REFRESH_RENDER)),this.enabled}hasSubtasks(){return this.subtasks?.length>0}hasFinalized(){return this.isCompleted()||this.hasFailed()||this.isSkipped()||this.hasRolledBack()}isPending(){return this.isStarted()||this.isPrompt()||this.hasReset()}isStarted(){return this.state===A.STARTED}isSkipped(){return this.state===A.SKIPPED}isCompleted(){return this.state===A.COMPLETED}hasFailed(){return this.state===A.FAILED}isRollingBack(){return this.state===A.ROLLING_BACK}hasRolledBack(){return this.state===A.ROLLED_BACK}isRetrying(){return this.state===A.RETRY}hasReset(){return this.state===A.RETRY||this.state===A.ROLLING_BACK}isEnabled(){return this.enabled}hasTitle(){return typeof this?.title=="string"}isPrompt(){return this.state===A.PROMPT}isPaused(){return this.state===A.PAUSED}isClosed(){return this.closed}async pause(e5){let t=this.state;this.state$=A.PAUSED,this.message$={paused:Date.now()+e5},await dt(e5),this.state$=t,this.message$={paused:null}}async run(e5,t){let n2=t2=>(t2 instanceof $?(t2.options={...this.options,...t2.options},t2.rendererClass=Y("silent"),this.subtasks=t2.tasks,t2.errors=this.listr.errors,this.emit(k.SUBTASK,this.subtasks),t2=t2.run(e5)):t2 instanceof Promise?t2=t2.then(n2):Ye(t2)?t2=new Promise((e6,n3)=>{t2.on("data",e7=>{this.output$=e7.toString()}),t2.on("error",e7=>n3(e7)),t2.on("end",()=>e6(null))}):Je(t2)&&(t2=new Promise((e6,n3)=>{t2.subscribe({next:e7=>{this.output$=e7},error:n3,complete:e6})})),t2),r2=Date.now();this.state$=A.STARTED;let i2=await X(this.task?.skip??!1,e5);if(i2){typeof i2=="string"?this.message$={skip:i2}:this.hasTitle()?this.message$={skip:this.title}:this.message$={skip:"Skipped task without a title."},this.state$=A.SKIPPED;return}try{let i3=typeof this.task?.retry=="number"&&this.task.retry>0?this.task.retry+1:typeof this.task?.retry=="object"&&this.task.retry.tries>0?this.task.retry.tries+1:1,a2=typeof this.task.retry=="object"&&this.task.retry.delay;for(let r3=1;r3<=i3;r3++)try{await n2(this.taskFn(e5,t));break}catch(e6){if(r3!==i3)this.retry={count:r3,error:e6},this.message$={retry:this.retry},this.title$=this.initialTitle,this.output=void 0,t.report(e6,E.WILL_RETRY),this.state$=A.RETRY,a2&&await this.pause(a2);else throw e6}(this.isStarted()||this.isRetrying())&&(this.message$={duration:Date.now()-r2},this.state$=A.COMPLETED)}catch(n3){if(this.prompt instanceof pt&&(n3=this.prompt),this.task?.rollback){t.report(n3,E.WILL_ROLLBACK);try{this.state$=A.ROLLING_BACK,await this.task.rollback(e5,t),this.message$={rollback:this.title},this.state$=A.ROLLED_BACK}catch(e6){throw this.state$=A.FAILED,t.report(e6,E.HAS_FAILED_TO_ROLLBACK),this.close(),e6}if(this.listr.options?.exitAfterRollback!==!1)throw this.close(),n3}else{if(this.state$=A.FAILED,this.listr.options.exitOnError!==!1&&await X(this.task?.exitOnError,e5)!==!1)throw t.report(n3,E.HAS_FAILED),this.close(),n3;this.hasSubtasks()||t.report(n3,E.HAS_FAILED_WITHOUT_ERROR)}}finally{this.close()}}close(){this.emit(k.CLOSED),this.listr.events.emit(D.SHOULD_REFRESH_RENDER),this.complete()}},_t=class extends j{},$=class{constructor(e5,t,n2){this.tasks=[],this.errors=[],this.path=[],this.task=e5,this.options=t,this.parentTask=n2,this.options={concurrent:!1,renderer:"default",fallbackRenderer:"simple",exitOnError:!0,exitAfterRollback:!0,collectErrors:!1,registerSignalListeners:!0,...this.parentTask?.options??{},...t},this.options.concurrent===!0?this.options.concurrent=1/0:typeof this.options.concurrent!="number"&&(this.options.concurrent=1),this.concurrency=new ut({concurrency:this.options.concurrent}),n2&&(this.path=[...n2.listr.path,n2.title],this.errors=n2.listr.errors),this.parentTask?.listr.events instanceof _t?this.events=this.parentTask.listr.events:this.events=new _t,(this.options?.forceTTY||process.env[T.FORCE_TTY])&&(process.stdout.isTTY=!0,process.stderr.isTTY=!0),this.options?.forceUnicode&&(process.env[T.FORCE_UNICODE]="1");let r2=ct({renderer:this.options.renderer,rendererOptions:this.options.rendererOptions,fallbackRenderer:this.options.fallbackRenderer,fallbackRendererOptions:this.options.fallbackRendererOptions,fallbackRendererCondition:this.options?.fallbackRendererCondition,silentRendererCondition:this.options?.silentRendererCondition});this.rendererClass=r2.renderer,this.rendererClassOptions=r2.options,this.rendererSelection=r2.selection,this.add(e5??[]),this.options.registerSignalListeners&&(this.boundSignalHandler=this.signalHandler.bind(this),process.once("SIGINT",this.boundSignalHandler).setMaxListeners(0))}isRoot(){return!this.parentTask}isSubtask(){return!!this.parentTask}add(e5){this.tasks.push(...this.generate(e5))}async run(e5){this.renderer||(this.renderer=new this.rendererClass(this.tasks,this.rendererClassOptions,this.events)),await this.renderer.render(),this.ctx=this.options?.ctx??e5??{},await Promise.all(this.tasks.map(e6=>e6.check(this.ctx)));try{await Promise.all(this.tasks.map(e6=>this.concurrency.add(()=>this.runTask(e6)))),this.renderer.end(),this.removeSignalHandler()}catch(e6){if(this.options.exitOnError!==!1)throw this.renderer.end(e6),this.removeSignalHandler(),e6}return this.ctx}generate(e5){return e5=Array.isArray(e5)?e5:[e5],e5.map(e6=>{let t;return this.rendererSelection===O.PRIMARY?t=e6.rendererOptions:this.rendererSelection===O.SECONDARY&&(t=e6.fallbackRendererOptions),new gt(this,e6,this.options,this.rendererClassOptions,t)})}async runTask(e5){if(await e5.check(this.ctx))return new mt(e5).run(this.ctx)}signalHandler(){this.tasks?.forEach(async e5=>{e5.isPending()&&(e5.state$=A.FAILED)}),this.isRoot()&&(this.renderer?.end(Error("Interrupted.")),process.exit(127))}removeSignalHandler(){this.boundSignalHandler&&process.removeListener("SIGINT",this.boundSignalHandler)}};export{$};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{__commonJS,__require}from"./chunk-
|
|
7
|
+
import{__commonJS,__require}from"./chunk-NBPLUP7C.js";var require_is_docker=__commonJS({"../../node_modules/.pnpm/is-docker@2.2.1/node_modules/is-docker/index.js"(exports,module){"use strict";var fs=__require("fs"),isDocker;function hasDockerEnv(){try{return fs.statSync("/.dockerenv"),!0}catch{return!1}}function hasDockerCGroup(){try{return fs.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}module.exports=()=>(isDocker===void 0&&(isDocker=hasDockerEnv()||hasDockerCGroup()),isDocker)}});var require_is_wsl=__commonJS({"../../node_modules/.pnpm/is-wsl@2.2.0/node_modules/is-wsl/index.js"(exports,module){"use strict";var os=__require("os"),fs=__require("fs"),isDocker=require_is_docker(),isWsl=()=>{if(process.platform!=="linux")return!1;if(os.release().toLowerCase().includes("microsoft"))return!isDocker();try{return fs.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!isDocker():!1}catch{return!1}};process.env.__IS_WSL_TEST__?module.exports=isWsl:module.exports=isWsl()}});var require_define_lazy_prop=__commonJS({"../../node_modules/.pnpm/define-lazy-prop@2.0.0/node_modules/define-lazy-prop/index.js"(exports,module){"use strict";module.exports=(object,propertyName,fn)=>{let define=value=>Object.defineProperty(object,propertyName,{value,enumerable:!0,writable:!0});return Object.defineProperty(object,propertyName,{configurable:!0,enumerable:!0,get(){let result=fn();return define(result),result},set(value){define(value)}}),object}}});var require_open=__commonJS({"../../node_modules/.pnpm/open@8.4.0/node_modules/open/index.js"(exports,module){var path=__require("path"),childProcess=__require("child_process"),{promises:fs,constants:fsConstants}=__require("fs"),isWsl=require_is_wsl(),isDocker=require_is_docker(),defineLazyProperty=require_define_lazy_prop(),localXdgOpenPath=path.join(__dirname,"xdg-open"),{platform,arch}=process,getWslDrivesMountPoint=(()=>{let defaultMountPoint="/mnt/",mountPoint;return async function(){if(mountPoint)return mountPoint;let configFilePath="/etc/wsl.conf",isConfigFileExists=!1;try{await fs.access(configFilePath,fsConstants.F_OK),isConfigFileExists=!0}catch{}if(!isConfigFileExists)return defaultMountPoint;let configContent=await fs.readFile(configFilePath,{encoding:"utf8"}),configMountPoint=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(configContent);return configMountPoint?(mountPoint=configMountPoint.groups.mountPoint.trim(),mountPoint=mountPoint.endsWith("/")?mountPoint:`${mountPoint}/`,mountPoint):defaultMountPoint}})(),pTryEach=async(array,mapper)=>{let latestError;for(let item of array)try{return await mapper(item)}catch(error){latestError=error}throw latestError},baseOpen=async options=>{if(options={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...options},Array.isArray(options.app))return pTryEach(options.app,singleApp=>baseOpen({...options,app:singleApp}));let{name:app,arguments:appArguments=[]}=options.app||{};if(appArguments=[...appArguments],Array.isArray(app))return pTryEach(app,appName=>baseOpen({...options,app:{name:appName,arguments:appArguments}}));let command,cliArguments=[],childProcessOptions={};if(platform==="darwin")command="open",options.wait&&cliArguments.push("--wait-apps"),options.background&&cliArguments.push("--background"),options.newInstance&&cliArguments.push("--new"),app&&cliArguments.push("-a",app);else if(platform==="win32"||isWsl&&!isDocker()){let mountPoint=await getWslDrivesMountPoint();command=isWsl?`${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,cliArguments.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),isWsl||(childProcessOptions.windowsVerbatimArguments=!0);let encodedArguments=["Start"];options.wait&&encodedArguments.push("-Wait"),app?(encodedArguments.push(`"\`"${app}\`""`,"-ArgumentList"),options.target&&appArguments.unshift(options.target)):options.target&&encodedArguments.push(`"${options.target}"`),appArguments.length>0&&(appArguments=appArguments.map(arg=>`"\`"${arg}\`""`),encodedArguments.push(appArguments.join(","))),options.target=Buffer.from(encodedArguments.join(" "),"utf16le").toString("base64")}else{if(app)command=app;else{let isBundled=!__dirname||__dirname==="/",exeLocalXdgOpen=!1;try{await fs.access(localXdgOpenPath,fsConstants.X_OK),exeLocalXdgOpen=!0}catch{}command=process.versions.electron||platform==="android"||isBundled||!exeLocalXdgOpen?"xdg-open":localXdgOpenPath}appArguments.length>0&&cliArguments.push(...appArguments),options.wait||(childProcessOptions.stdio="ignore",childProcessOptions.detached=!0)}options.target&&cliArguments.push(options.target),platform==="darwin"&&appArguments.length>0&&cliArguments.push("--args",...appArguments);let subprocess=childProcess.spawn(command,cliArguments,childProcessOptions);return options.wait?new Promise((resolve,reject)=>{subprocess.once("error",reject),subprocess.once("close",exitCode=>{if(options.allowNonzeroExitCode&&exitCode>0){reject(new Error(`Exited with code ${exitCode}`));return}resolve(subprocess)})}):(subprocess.unref(),subprocess)},open=(target,options)=>{if(typeof target!="string")throw new TypeError("Expected a `target`");return baseOpen({...options,target})},openApp=(name,options)=>{if(typeof name!="string")throw new TypeError("Expected a `name`");let{arguments:appArguments=[]}=options||{};if(appArguments!=null&&!Array.isArray(appArguments))throw new TypeError("Expected `appArguments` as Array type");return baseOpen({...options,app:{name,arguments:appArguments}})};function detectArchBinary(binary){if(typeof binary=="string"||Array.isArray(binary))return binary;let{[arch]:archBinary}=binary;if(!archBinary)throw new Error(`${arch} is not supported`);return archBinary}function detectPlatformBinary({[platform]:platformBinary},{wsl}){if(wsl&&isWsl)return detectArchBinary(wsl);if(!platformBinary)throw new Error(`${platform} is not supported`);return detectArchBinary(platformBinary)}var apps={};defineLazyProperty(apps,"chrome",()=>detectPlatformBinary({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));defineLazyProperty(apps,"firefox",()=>detectPlatformBinary({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));defineLazyProperty(apps,"edge",()=>detectPlatformBinary({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));open.apps=apps;open.openApp=openApp;module.exports=open}});export{require_open};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{getConfigFilePath}from"./chunk-
|
|
7
|
+
import{getConfigFilePath}from"./chunk-G7RQVFID.js";import{require_cli_config}from"./chunk-DCFCPAFQ.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_cli_config=__toESM(require_cli_config(),1);function markOnboardingSeen(client,key){client.config[key]=!0;try{let path=getConfigFilePath();(0,import_cli_config.writeGlobalConfigFile)(path,{...(0,import_cli_config.readGlobalConfigFile)(path),[key]:!0})}catch{output_manager_default.debug(`Could not save ${key}.`)}}export{markOnboardingSeen};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{isNativeBinaryInstall}from"./chunk-NWGBDBZI.js";import{require_lib}from"./chunk-ZHGKJCQ2.js";import{packageName}from"./chunk-B4KA3ZH2.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_fs_extra=__toESM(require_lib(),1);import{access as access2}from"fs/promises";import{basename,dirname as dirname2,join as join2,sep}from"path";import{execFile,spawnSync}from"child_process";import{win32}from"path";var SAFE_ARGUMENT=/^[\w@./:=+-]+$/,UNSAFE_EXECUTABLE_PATH=/["%!^&|<>\x00-\x1f]/;function envValue(env,name){let key=Object.keys(env).find(key2=>key2.toLowerCase()===name.toLowerCase());return key?env[key]:void 0}function packageManagerInvocation(command,args,env=process.env,platform=process.platform){if(platform!=="win32")return{file:command,args};let absolute=win32.isAbsolute(command);for(let arg of[command,...args])if(!(absolute&&arg===command?!UNSAFE_EXECUTABLE_PATH.test(arg):SAFE_ARGUMENT.test(arg)))throw new Error(`Refusing to pass ${JSON.stringify(arg)} to cmd.exe for ${command}`);let systemRoot=envValue(env,"SystemRoot");return{file:envValue(env,"ComSpec")||(systemRoot?`${systemRoot}\\System32\\cmd.exe`:"cmd.exe"),args:["/d","/s","/c",`"${[absolute?`"${command}"`:command,...args].join(" ")}"`],windowsVerbatimArguments:!0}}function execPackageManager(command,args,{cwd,env,timeout,signal},platform=process.platform){return new Promise((resolve,reject)=>{let invocation=packageManagerInvocation(command,args,env,platform),windows=platform==="win32",timer,stop=()=>stopProcessTree(child,env),child=execFile(invocation.file,invocation.args,{encoding:"utf8",windowsHide:!0,windowsVerbatimArguments:invocation.windowsVerbatimArguments,cwd,env:{...env},...windows?{}:{timeout,signal}},(error,stdout)=>{clearTimeout(timer),signal?.removeEventListener("abort",stop),error?reject(error):resolve(String(stdout))});windows&&(timer=setTimeout(stop,timeout),signal?.aborted?stop():signal?.addEventListener("abort",stop,{once:!0}))})}function stopProcessTree(child,env){if(!child?.pid)return;let systemRoot=envValue(env,"SystemRoot");spawnSync(systemRoot?`${systemRoot}\\System32\\taskkill.exe`:"taskkill.exe",["/pid",String(child.pid),"/T","/F"],{stdio:"ignore",windowsHide:!0})}import{constants}from"node:fs";import{access,stat}from"node:fs/promises";import path from"node:path";var DEFAULT_WINDOWS_EXTENSIONS=".COM;.EXE;.BAT;.CMD",WINDOWS_ABSOLUTE=/^(?:[a-zA-Z]:[\\/]|[\\/]{2}[^\\/])/;async function isExecutableFile(file){try{return(await stat(file)).isFile()?(process.platform!=="win32"&&await access(file,constants.X_OK),!0):!1}catch{return!1}}function envValue2(env,name,platform){if(platform!=="win32")return env[name];let key=Object.keys(env).find(key2=>key2.toLowerCase()===name.toLowerCase());return key?env[key]:void 0}async function findTrustedExecutable(name,env,platform=process.platform,isExecutable=isExecutableFile){let windows=platform==="win32",{delimiter,join:join3}=windows?path.win32:path.posix,isAbsolute=windows?directory=>WINDOWS_ABSOLUTE.test(directory):path.posix.isAbsolute,extensions=windows?(envValue2(env,"PATHEXT",platform)||DEFAULT_WINDOWS_EXTENSIONS).split(";").filter(Boolean):[""];for(let directory of(envValue2(env,"PATH",platform)??"").split(delimiter))if(isAbsolute(directory))for(let extension of extensions){let file=join3(directory,`${name}${extension}`);if(await isExecutable(file))return file}return null}import{lstatSync,realpathSync}from"node:fs";import{homedir,tmpdir,userInfo}from"node:os";import path2 from"node:path";var temporaryDirectories=resolveTemporaryDirectories(),fallbackPath=["/usr/local/bin","/usr/bin","/bin"].join(path2.delimiter),trustedUpgradeEnvironment=Object.freeze(withTrustedPath({...process.env}));function trustedUpgradePath(searchPath){let entries=(searchPath??"").split(path2.delimiter).filter(entry=>path2.isAbsolute(entry)&&!entry.split(path2.sep).includes("node_modules")&&!temporaryDirectories.some(base=>isWithin(base,entry)));return entries.length>0?entries.join(path2.delimiter):fallbackPath}function resolveTemporaryDirectories(){let directory=path2.resolve(tmpdir());try{return[directory,realpathSync.native(tmpdir())]}catch{return[directory]}}function isWithin(base,entry){let inside=path2.relative(base,path2.resolve(entry));return inside===""||!inside.startsWith("..")&&!path2.isAbsolute(inside)}function withTrustedPath(env){for(let key of Object.keys(env))key.toLowerCase()==="path"&&(env[key]=trustedUpgradePath(env[key]));return env}function read(directory){try{return directory()}catch{return}}var startupDirectories={temporary:read(tmpdir),runtime:process.env.XDG_RUNTIME_DIR,home:read(homedir),accountHome:()=>read(()=>userInfo().homedir)},fileSystem={realpath:realpathSync.native,stat:lstatSync},SHARED_WRITE=18;function isPrivateDirectory(directory,uid,stat2){let own=stat2(directory);if(!own.isDirectory()||own.uid!==uid)return!1;for(let current=directory;;){let{uid:owner,mode}=stat2(current);if(owner!==uid&&owner!==0||mode&SHARED_WRITE)return!1;let parent=path2.dirname(current);if(parent===current)return!0;current=parent}}function findPrivateDirectory(candidates,uid,{realpath:realpath2,stat:stat2}=fileSystem){for(let candidate of candidates)if(!(!candidate||!path2.isAbsolute(candidate)))try{let directory=realpath2(candidate);if(isPrivateDirectory(directory,uid,stat2))return directory}catch{}}function findWindowsDirectory({temporary,home},{realpath:realpath2}){let{isAbsolute,relative}=path2.win32;if(!(!home||!isAbsolute(home))){try{if(temporary&&isAbsolute(temporary)){let inside=relative(realpath2(home),realpath2(temporary));if(inside&&!inside.startsWith("..")&&!isAbsolute(inside))return temporary}}catch{}return home}}function resolveTrustedUpgradeDirectory(candidates,uid,reader=fileSystem){if(uid===void 0)return findWindowsDirectory(candidates,reader);let{temporary,runtime,home,accountHome}=candidates;return findPrivateDirectory([temporary,runtime,home],uid,reader)??findPrivateDirectory([accountHome?.()],uid,reader)}var trustedUpgradeDirectory;function getTrustedUpgradeDirectory(){return trustedUpgradeDirectory??={path:resolveTrustedUpgradeDirectory(startupDirectories,process.getuid?.())},trustedUpgradeDirectory.path}function withEnvironmentOverrides(env,overrides){let names=new Set(Object.keys(overrides).map(name=>name.toLowerCase())),result={};for(let[name,value]of Object.entries(env))names.has(name.toLowerCase())||(result[name]=value);return Object.assign(result,overrides)}import{dirname,join}from"path";var sharedEnv={COREPACK_ENABLE_PROJECT_SPEC:"0",NODE_DISABLE_COMPILE_CACHE:"1",DISABLE_V8_COMPILE_CACHE:"1"},packageManagers={npm:{metadataArgs:specifier=>["view",specifier,"version","--json","--global"],installArgs:specifier=>["i","-g",specifier],releaseAgeBypassArgs:["--min-release-age=0"],env:sharedEnv,globalDetection:{args:["root","-g"],packageDir:(root,pkg)=>join(root,pkg),installMarkers:nodeModules=>[join(nodeModules,".package-lock.json")]}},pnpm:{metadataArgs:specifier=>["view",specifier,"version","--json"],installArgs:specifier=>["i","-g",specifier],releaseAgeBypassArgs:["--config.minimumReleaseAge=0"],env:{...sharedEnv,npm_config_manage_package_manager_versions:"false",pnpm_config_pm_on_fail:"ignore"},globalDetection:{args:pkg=>["list","-g",pkg,"--depth=0","--json"],packageDir:(output,pkg)=>{try{let projects=JSON.parse(output),path3=(Array.isArray(projects)?projects[0]:projects)?.dependencies?.[pkg]?.path;return typeof path3=="string"?path3:void 0}catch{return}},installMarkers:nodeModules=>[join(nodeModules,".modules.yaml")]}},yarn:{metadataArgs:specifier=>["info",specifier.endsWith("@latest")?specifier.slice(0,-7):specifier,"version","--json"],installArgs:specifier=>["global","add",specifier],releaseAgeBypassArgs:[],env:{...sharedEnv,YARN_IGNORE_PATH:"1",SKIP_YARN_COREPACK_CHECK:"1"},globalDetection:{args:["--silent","global","dir"],packageDir:(root,pkg)=>join(root,"node_modules",pkg),installMarkers:nodeModules=>[join(nodeModules,".yarn-integrity")]}},bun:{metadataArgs:specifier=>["info",specifier,"version","--json","--global"],installArgs:specifier=>["add","-g",specifier],releaseAgeBypassArgs:[],env:sharedEnv,globalDetection:{args:["pm","bin","-g"],binaryNames:["vercel","vc"],installMarkers:nodeModules=>[join(dirname(nodeModules),"bun.lock"),join(dirname(nodeModules),"bun.lockb")]}}};function getUpgradePackageManager(name){return packageManagers[name]}var UnsupportedUpgradeInstallError=class extends Error{constructor(){super(...arguments);this.code="unsupported_install"}},HOMEBREW_UPGRADE_COMMAND="brew upgrade vercel",HomebrewInstallError=class extends UnsupportedUpgradeInstallError{constructor(){super(`This Vercel CLI was installed with Homebrew. Update it with \`${HOMEBREW_UPGRADE_COMMAND}\`.`);this.code="homebrew_install"}};async function isHomebrewInstall(){return isNativeBinaryInstall()?(await(0,import_fs_extra.realpath)(process.execPath).catch(()=>process.execPath)).includes(`${sep}Caskroom${sep}vercel${sep}`):!1}var globalCliTypes=["npm","pnpm","yarn","bun"];function requireTrustedUpgradeDirectory(){let directory=getTrustedUpgradeDirectory();if(!directory)throw new UnsupportedUpgradeInstallError("Can't run a package manager to check or update Vercel CLI. Other users can write to the temporary directory and to your home directory. Update Vercel CLI with the package manager that installed it.");return directory}async function exists(file){try{return await access2(file),!0}catch{return!1}}async function findInstallMarkers(installPaths,cliTypes=globalCliTypes){let found=[];for(let installPath of new Set(installPaths))for(let dir=dirname2(installPath);;){if(basename(dir)==="node_modules")for(let cliType of cliTypes){let{installMarkers}=getUpgradePackageManager(cliType).globalDetection;if(!found.includes(cliType)){for(let marker of installMarkers(dir))if(await exists(marker)){found.push(cliType);break}}}let parent=dirname2(dir);if(parent===dir)break;dir=parent}return found}function throwIfAborted(signal){if(signal?.aborted)throw signal.reason instanceof Error?signal.reason:new Error("Package manager detection was aborted")}async function getPackageManagerGlobalRoot(cliType,pkg,env=trustedUpgradeEnvironment,signal){try{let manager=getUpgradePackageManager(cliType),detection=manager.globalDetection,cwd=getTrustedUpgradeDirectory(),executable=await findTrustedExecutable(cliType,env);return!cwd||!executable?null:(await execPackageManager(executable,typeof detection.args=="function"?detection.args(pkg):detection.args,{cwd,env:withEnvironmentOverrides(env,manager.env),timeout:15e3,signal})).trim()||null}catch{return throwIfAborted(signal),null}}async function detectGlobalPackageManager(installPath,pkg,cliTypes=globalCliTypes,env=trustedUpgradeEnvironment,signal){for(let cliType of cliTypes){throwIfAborted(signal);let root=await getPackageManagerGlobalRoot(cliType,pkg,env,signal);if(!root)continue;let detection=getUpgradePackageManager(cliType).globalDetection;if(detection.packageDir)try{let packageDir=detection.packageDir(root,pkg);if(!packageDir)continue;let resolvedPackageDir=await(0,import_fs_extra.realpath)(packageDir);if(installPath===resolvedPackageDir||installPath.startsWith(resolvedPackageDir+sep))return cliType}catch{}for(let binary of detection.binaryNames||[])try{let target=await(0,import_fs_extra.realpath)(join2(root,binary));if(target===installPath||target.startsWith(installPath+sep)||installPath.startsWith(target+sep))return cliType;let entrypoint=await(0,import_fs_extra.realpath)(process.argv[1]);if(!isNativeBinaryInstall()&&target===entrypoint)return cliType}catch{}}return null}async function resolveInstall(env=trustedUpgradeEnvironment,signal){if(throwIfAborted(signal),await isHomebrewInstall())throw new HomebrewInstallError;let nativeExecutable=isNativeBinaryInstall()&&env.VERCEL_CLI_PACKAGE_EXECUTABLE,resolvedNativeExecutable=nativeExecutable&&await(0,import_fs_extra.realpath)(nativeExecutable).catch(()=>null),entrypoint=resolvedNativeExecutable&&resolvedNativeExecutable===await(0,import_fs_extra.realpath)(process.execPath).catch(()=>null)?env.VERCEL_CLI_PACKAGE_ENTRYPOINT:process.argv[1],installPath=entrypoint&&await(0,import_fs_extra.realpath)(entrypoint).catch(()=>null);if(!installPath)throw new UnsupportedUpgradeInstallError("Could not resolve this Vercel CLI installation. Update it with the package manager that installed it.");requireTrustedUpgradeDirectory();let marked=await findInstallMarkers([entrypoint,installPath]),packageManager=await detectGlobalPackageManager(installPath,packageName,marked.length>0?marked:globalCliTypes,env,signal);if(!packageManager)throw new UnsupportedUpgradeInstallError("Could not detect a supported global npm, pnpm, Yarn, or Bun installation of Vercel CLI. Update it with the package manager that installed it.");return{packageManager,global:!0,assumed:!1}}async function isGlobal(){if(await isHomebrewInstall())return!0;try{return await resolveInstall(),!0}catch{return!1}}async function getUpdateCommandInfo(env=trustedUpgradeEnvironment,signal){let{packageManager}=await resolveInstall(env,signal),args=getUpgradePackageManager(packageManager).installArgs(`${packageName}@latest`),allowBuild=pnpmAllowBuildFlag(packageManager,"esbuild");return{command:`${packageManager} ${args.join(" ")}${allowBuild}`,global:!0,packageManager,assumed:!1}}function pnpmAllowBuildFlag(cliType,pkg){return cliType==="pnpm"?` --allow-build=${pkg}`:""}async function getUpdateCommand(){return await isHomebrewInstall()?HOMEBREW_UPGRADE_COMMAND:(await getUpdateCommandInfo()).command}export{packageManagerInvocation,execPackageManager,findTrustedExecutable,trustedUpgradeEnvironment,withEnvironmentOverrides,getUpgradePackageManager,HOMEBREW_UPGRADE_COMMAND,isHomebrewInstall,requireTrustedUpgradeDirectory,isGlobal,getUpdateCommandInfo,getUpdateCommand};
|
|
7
|
+
import{isNativeBinaryInstall}from"./chunk-5F4RJ32E.js";import{require_lib}from"./chunk-G7RQVFID.js";import{packageName}from"./chunk-EFGZK6OY.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_fs_extra=__toESM(require_lib(),1);import{access as access2}from"fs/promises";import{basename,dirname as dirname2,join as join2,sep}from"path";import{execFile,spawnSync}from"child_process";import{win32}from"path";var SAFE_ARGUMENT=/^[\w@./:=+-]+$/,UNSAFE_EXECUTABLE_PATH=/["%!^&|<>\x00-\x1f]/;function envValue(env,name){let key=Object.keys(env).find(key2=>key2.toLowerCase()===name.toLowerCase());return key?env[key]:void 0}function packageManagerInvocation(command,args,env=process.env,platform=process.platform){if(platform!=="win32")return{file:command,args};let absolute=win32.isAbsolute(command);for(let arg of[command,...args])if(!(absolute&&arg===command?!UNSAFE_EXECUTABLE_PATH.test(arg):SAFE_ARGUMENT.test(arg)))throw new Error(`Refusing to pass ${JSON.stringify(arg)} to cmd.exe for ${command}`);let systemRoot=envValue(env,"SystemRoot");return{file:envValue(env,"ComSpec")||(systemRoot?`${systemRoot}\\System32\\cmd.exe`:"cmd.exe"),args:["/d","/s","/c",`"${[absolute?`"${command}"`:command,...args].join(" ")}"`],windowsVerbatimArguments:!0}}function execPackageManager(command,args,{cwd,env,timeout,signal},platform=process.platform){return new Promise((resolve,reject)=>{let invocation=packageManagerInvocation(command,args,env,platform),windows=platform==="win32",timer,stop=()=>stopProcessTree(child,env),child=execFile(invocation.file,invocation.args,{encoding:"utf8",windowsHide:!0,windowsVerbatimArguments:invocation.windowsVerbatimArguments,cwd,env:{...env},...windows?{}:{timeout,signal}},(error,stdout)=>{clearTimeout(timer),signal?.removeEventListener("abort",stop),error?reject(error):resolve(String(stdout))});windows&&(timer=setTimeout(stop,timeout),signal?.aborted?stop():signal?.addEventListener("abort",stop,{once:!0}))})}function stopProcessTree(child,env){if(!child?.pid)return;let systemRoot=envValue(env,"SystemRoot");spawnSync(systemRoot?`${systemRoot}\\System32\\taskkill.exe`:"taskkill.exe",["/pid",String(child.pid),"/T","/F"],{stdio:"ignore",windowsHide:!0})}import{constants}from"node:fs";import{access,stat}from"node:fs/promises";import path from"node:path";var DEFAULT_WINDOWS_EXTENSIONS=".COM;.EXE;.BAT;.CMD",WINDOWS_ABSOLUTE=/^(?:[a-zA-Z]:[\\/]|[\\/]{2}[^\\/])/;async function isExecutableFile(file){try{return(await stat(file)).isFile()?(process.platform!=="win32"&&await access(file,constants.X_OK),!0):!1}catch{return!1}}function envValue2(env,name,platform){if(platform!=="win32")return env[name];let key=Object.keys(env).find(key2=>key2.toLowerCase()===name.toLowerCase());return key?env[key]:void 0}async function findTrustedExecutable(name,env,platform=process.platform,isExecutable=isExecutableFile){let windows=platform==="win32",{delimiter,join:join3}=windows?path.win32:path.posix,isAbsolute=windows?directory=>WINDOWS_ABSOLUTE.test(directory):path.posix.isAbsolute,extensions=windows?(envValue2(env,"PATHEXT",platform)||DEFAULT_WINDOWS_EXTENSIONS).split(";").filter(Boolean):[""];for(let directory of(envValue2(env,"PATH",platform)??"").split(delimiter))if(isAbsolute(directory))for(let extension of extensions){let file=join3(directory,`${name}${extension}`);if(await isExecutable(file))return file}return null}import{lstatSync,realpathSync}from"node:fs";import{homedir,tmpdir,userInfo}from"node:os";import path2 from"node:path";var temporaryDirectories=resolveTemporaryDirectories(),fallbackPath=["/usr/local/bin","/usr/bin","/bin"].join(path2.delimiter),trustedUpgradeEnvironment=Object.freeze(withTrustedPath({...process.env}));function trustedUpgradePath(searchPath){let entries=(searchPath??"").split(path2.delimiter).filter(entry=>path2.isAbsolute(entry)&&!entry.split(path2.sep).includes("node_modules")&&!temporaryDirectories.some(base=>isWithin(base,entry)));return entries.length>0?entries.join(path2.delimiter):fallbackPath}function resolveTemporaryDirectories(){let directory=path2.resolve(tmpdir());try{return[directory,realpathSync.native(tmpdir())]}catch{return[directory]}}function isWithin(base,entry){let inside=path2.relative(base,path2.resolve(entry));return inside===""||!inside.startsWith("..")&&!path2.isAbsolute(inside)}function withTrustedPath(env){for(let key of Object.keys(env))key.toLowerCase()==="path"&&(env[key]=trustedUpgradePath(env[key]));return env}function read(directory){try{return directory()}catch{return}}var startupDirectories={temporary:read(tmpdir),runtime:process.env.XDG_RUNTIME_DIR,home:read(homedir),accountHome:()=>read(()=>userInfo().homedir)},fileSystem={realpath:realpathSync.native,stat:lstatSync},SHARED_WRITE=18;function isPrivateDirectory(directory,uid,stat2){let own=stat2(directory);if(!own.isDirectory()||own.uid!==uid)return!1;for(let current=directory;;){let{uid:owner,mode}=stat2(current);if(owner!==uid&&owner!==0||mode&SHARED_WRITE)return!1;let parent=path2.dirname(current);if(parent===current)return!0;current=parent}}function findPrivateDirectory(candidates,uid,{realpath:realpath2,stat:stat2}=fileSystem){for(let candidate of candidates)if(!(!candidate||!path2.isAbsolute(candidate)))try{let directory=realpath2(candidate);if(isPrivateDirectory(directory,uid,stat2))return directory}catch{}}function findWindowsDirectory({temporary,home},{realpath:realpath2}){let{isAbsolute,relative}=path2.win32;if(!(!home||!isAbsolute(home))){try{if(temporary&&isAbsolute(temporary)){let inside=relative(realpath2(home),realpath2(temporary));if(inside&&!inside.startsWith("..")&&!isAbsolute(inside))return temporary}}catch{}return home}}function resolveTrustedUpgradeDirectory(candidates,uid,reader=fileSystem){if(uid===void 0)return findWindowsDirectory(candidates,reader);let{temporary,runtime,home,accountHome}=candidates;return findPrivateDirectory([temporary,runtime,home],uid,reader)??findPrivateDirectory([accountHome?.()],uid,reader)}var trustedUpgradeDirectory;function getTrustedUpgradeDirectory(){return trustedUpgradeDirectory??={path:resolveTrustedUpgradeDirectory(startupDirectories,process.getuid?.())},trustedUpgradeDirectory.path}function withEnvironmentOverrides(env,overrides){let names=new Set(Object.keys(overrides).map(name=>name.toLowerCase())),result={};for(let[name,value]of Object.entries(env))names.has(name.toLowerCase())||(result[name]=value);return Object.assign(result,overrides)}import{dirname,join}from"path";var sharedEnv={COREPACK_ENABLE_PROJECT_SPEC:"0",NODE_DISABLE_COMPILE_CACHE:"1",DISABLE_V8_COMPILE_CACHE:"1"},packageManagers={npm:{metadataArgs:specifier=>["view",specifier,"version","--json","--global"],installArgs:specifier=>["i","-g",specifier],releaseAgeBypassArgs:["--min-release-age=0"],env:sharedEnv,globalDetection:{args:["root","-g"],packageDir:(root,pkg)=>join(root,pkg),installMarkers:nodeModules=>[join(nodeModules,".package-lock.json")]}},pnpm:{metadataArgs:specifier=>["view",specifier,"version","--json"],installArgs:specifier=>["i","-g",specifier],releaseAgeBypassArgs:["--config.minimumReleaseAge=0"],env:{...sharedEnv,npm_config_manage_package_manager_versions:"false",pnpm_config_pm_on_fail:"ignore"},globalDetection:{args:pkg=>["list","-g",pkg,"--depth=0","--json"],packageDir:(output,pkg)=>{try{let projects=JSON.parse(output),path3=(Array.isArray(projects)?projects[0]:projects)?.dependencies?.[pkg]?.path;return typeof path3=="string"?path3:void 0}catch{return}},installMarkers:nodeModules=>[join(nodeModules,".modules.yaml")]}},yarn:{metadataArgs:specifier=>["info",specifier.endsWith("@latest")?specifier.slice(0,-7):specifier,"version","--json"],installArgs:specifier=>["global","add",specifier],releaseAgeBypassArgs:[],env:{...sharedEnv,YARN_IGNORE_PATH:"1",SKIP_YARN_COREPACK_CHECK:"1"},globalDetection:{args:["--silent","global","dir"],packageDir:(root,pkg)=>join(root,"node_modules",pkg),installMarkers:nodeModules=>[join(nodeModules,".yarn-integrity")]}},bun:{metadataArgs:specifier=>["info",specifier,"version","--json","--global"],installArgs:specifier=>["add","-g",specifier],releaseAgeBypassArgs:[],env:sharedEnv,globalDetection:{args:["pm","bin","-g"],binaryNames:["vercel","vc"],installMarkers:nodeModules=>[join(dirname(nodeModules),"bun.lock"),join(dirname(nodeModules),"bun.lockb")]}}};function getUpgradePackageManager(name){return packageManagers[name]}var UnsupportedUpgradeInstallError=class extends Error{constructor(){super(...arguments);this.code="unsupported_install"}},HOMEBREW_UPGRADE_COMMAND="brew upgrade vercel",HomebrewInstallError=class extends UnsupportedUpgradeInstallError{constructor(){super(`This Vercel CLI was installed with Homebrew. Update it with \`${HOMEBREW_UPGRADE_COMMAND}\`.`);this.code="homebrew_install"}};async function isHomebrewInstall(){return isNativeBinaryInstall()?(await(0,import_fs_extra.realpath)(process.execPath).catch(()=>process.execPath)).includes(`${sep}Caskroom${sep}vercel${sep}`):!1}var globalCliTypes=["npm","pnpm","yarn","bun"];function requireTrustedUpgradeDirectory(){let directory=getTrustedUpgradeDirectory();if(!directory)throw new UnsupportedUpgradeInstallError("Can't run a package manager to check or update Vercel CLI. Other users can write to the temporary directory and to your home directory. Update Vercel CLI with the package manager that installed it.");return directory}async function exists(file){try{return await access2(file),!0}catch{return!1}}async function findInstallMarkers(installPaths,cliTypes=globalCliTypes){let found=[];for(let installPath of new Set(installPaths))for(let dir=dirname2(installPath);;){if(basename(dir)==="node_modules")for(let cliType of cliTypes){let{installMarkers}=getUpgradePackageManager(cliType).globalDetection;if(!found.includes(cliType)){for(let marker of installMarkers(dir))if(await exists(marker)){found.push(cliType);break}}}let parent=dirname2(dir);if(parent===dir)break;dir=parent}return found}function throwIfAborted(signal){if(signal?.aborted)throw signal.reason instanceof Error?signal.reason:new Error("Package manager detection was aborted")}async function getPackageManagerGlobalRoot(cliType,pkg,env=trustedUpgradeEnvironment,signal){try{let manager=getUpgradePackageManager(cliType),detection=manager.globalDetection,cwd=getTrustedUpgradeDirectory(),executable=await findTrustedExecutable(cliType,env);return!cwd||!executable?null:(await execPackageManager(executable,typeof detection.args=="function"?detection.args(pkg):detection.args,{cwd,env:withEnvironmentOverrides(env,manager.env),timeout:15e3,signal})).trim()||null}catch{return throwIfAborted(signal),null}}async function detectGlobalPackageManager(installPath,pkg,cliTypes=globalCliTypes,env=trustedUpgradeEnvironment,signal){for(let cliType of cliTypes){throwIfAborted(signal);let root=await getPackageManagerGlobalRoot(cliType,pkg,env,signal);if(!root)continue;let detection=getUpgradePackageManager(cliType).globalDetection;if(detection.packageDir)try{let packageDir=detection.packageDir(root,pkg);if(!packageDir)continue;let resolvedPackageDir=await(0,import_fs_extra.realpath)(packageDir);if(installPath===resolvedPackageDir||installPath.startsWith(resolvedPackageDir+sep))return cliType}catch{}for(let binary of detection.binaryNames||[])try{let target=await(0,import_fs_extra.realpath)(join2(root,binary));if(target===installPath||target.startsWith(installPath+sep)||installPath.startsWith(target+sep))return cliType;let entrypoint=await(0,import_fs_extra.realpath)(process.argv[1]);if(!isNativeBinaryInstall()&&target===entrypoint)return cliType}catch{}}return null}async function resolveInstall(env=trustedUpgradeEnvironment,signal){if(throwIfAborted(signal),await isHomebrewInstall())throw new HomebrewInstallError;let nativeExecutable=isNativeBinaryInstall()&&env.VERCEL_CLI_PACKAGE_EXECUTABLE,resolvedNativeExecutable=nativeExecutable&&await(0,import_fs_extra.realpath)(nativeExecutable).catch(()=>null),entrypoint=resolvedNativeExecutable&&resolvedNativeExecutable===await(0,import_fs_extra.realpath)(process.execPath).catch(()=>null)?env.VERCEL_CLI_PACKAGE_ENTRYPOINT:process.argv[1],installPath=entrypoint&&await(0,import_fs_extra.realpath)(entrypoint).catch(()=>null);if(!installPath)throw new UnsupportedUpgradeInstallError("Could not resolve this Vercel CLI installation. Update it with the package manager that installed it.");requireTrustedUpgradeDirectory();let marked=await findInstallMarkers([entrypoint,installPath]),packageManager=await detectGlobalPackageManager(installPath,packageName,marked.length>0?marked:globalCliTypes,env,signal);if(!packageManager)throw new UnsupportedUpgradeInstallError("Could not detect a supported global npm, pnpm, Yarn, or Bun installation of Vercel CLI. Update it with the package manager that installed it.");return{packageManager,global:!0,assumed:!1}}async function isGlobal(){if(await isHomebrewInstall())return!0;try{return await resolveInstall(),!0}catch{return!1}}async function getUpdateCommandInfo(env=trustedUpgradeEnvironment,signal){let{packageManager}=await resolveInstall(env,signal),args=getUpgradePackageManager(packageManager).installArgs(`${packageName}@latest`),allowBuild=pnpmAllowBuildFlag(packageManager,"esbuild");return{command:`${packageManager} ${args.join(" ")}${allowBuild}`,global:!0,packageManager,assumed:!1}}function pnpmAllowBuildFlag(cliType,pkg){return cliType==="pnpm"?` --allow-build=${pkg}`:""}async function getUpdateCommand(){return await isHomebrewInstall()?HOMEBREW_UPGRADE_COMMAND:(await getUpdateCommandInfo()).command}export{packageManagerInvocation,execPackageManager,findTrustedExecutable,trustedUpgradeEnvironment,withEnvironmentOverrides,getUpgradePackageManager,HOMEBREW_UPGRADE_COMMAND,isHomebrewInstall,requireTrustedUpgradeDirectory,isGlobal,getUpdateCommandInfo,getUpdateCommand};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{__commonJS,__require}from"./chunk-
|
|
7
|
+
import{__commonJS,__require}from"./chunk-NBPLUP7C.js";var require_cli_config=__commonJS({"cjs-dependency:@vercel/cli-config"(exports,module){module.exports=__require("@vercel/cli-config")}});export{require_cli_config};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{require_json_parse_better_errors}from"./chunk-
|
|
7
|
+
import{require_json_parse_better_errors}from"./chunk-K7YK4PZP.js";import{require_lib}from"./chunk-G7RQVFID.js";import{CantParseJSONFile}from"./chunk-MTPHHAPR.js";import{require_dist}from"./chunk-4SIQE2W4.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_fs_extra=__toESM(require_lib(),1);var import_json_parse_better_errors=__toESM(require_json_parse_better_errors(),1),import_error_utils=__toESM(require_dist(),1);async function readJSONFile(file){let content=await readFileSafe(file);if(content===null)return content;try{return(0,import_json_parse_better_errors.default)(content)}catch(error){return new CantParseJSONFile(file,(0,import_error_utils.errorToString)(error))}}async function readFileSafe(file){try{return await import_fs_extra.default.readFile(file,"utf8")}catch{return null}}export{readJSONFile};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
+
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
+
const require = __createRequire(import.meta.url);
|
|
5
|
+
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = __dirname_(__filename);
|
|
7
|
+
import{c,d,m}from"./chunk-YBWLW6SW.js";import r from"node:os";import i from"debug";import{randomUUID as a}from"node:crypto";import{mkdirSync as o,readFileSync as s,writeFileSync as c2}from"node:fs";import{join as l}from"node:path";var u="5.0.0",d2=c((t,n)=>{let r2=m("os"),i2=m("path"),a2=/^win/i.test(process.platform);function o2(e){return i2.normalize(i2.join(e,"."))}let s2=()=>{let{env:e}=process,t2={};return t2.home=()=>o2(r2.homedir?r2.homedir():e.HOME),t2.temp=()=>o2(r2.tmpdir?r2.tmpdir():e.TMPDIR||e.TEMP||e.TMP),t2},c3=()=>{let{env:e}=process,t2={};return t2.home=()=>o2(r2.homedir?r2.homedir():e.USERPROFILE||i2.join(e.HOMEDRIVE,e.HOMEPATH)||e.HOME),t2.temp=()=>o2(r2.tmpdir?r2.tmpdir():e.TEMP||e.TMP||i2.join(e.LOCALAPPDATA||e.SystemRoot||e.windir,"Temp")),t2};n.exports=new class e{constructor(){this._fn=function(){return new e};let t2=a2?c3():s2();return Object.keys(t2).forEach(e2=>{this._fn[e2]=t2[e2]}),this._fn}}}),f=c((t,n)=>{let r2=m("path"),i2=d2(),a2=()=>{let e={};return e.cache=()=>process.env.XDG_CACHE_HOME||r2.join(i2.home()||i2.temp(),".cache"),e.config=()=>process.env.XDG_CONFIG_HOME||r2.join(i2.home()||i2.temp(),".config"),e.data=()=>process.env.XDG_DATA_HOME||r2.join(i2.home()||i2.temp(),".local","share"),e.runtime=()=>process.env.XDG_RUNTIME_DIR||void 0,e.state=()=>process.env.XDG_STATE_HOME||r2.join(i2.home()||i2.temp(),".local","state"),e},o2=()=>{let e={};return e.cache=()=>process.env.XDG_CACHE_HOME||r2.join(r2.join(i2.home()||i2.temp(),"Library"),"Caches"),e.config=()=>process.env.XDG_CONFIG_HOME||r2.join(r2.join(i2.home()||i2.temp(),"Library"),"Preferences"),e.data=()=>process.env.XDG_DATA_HOME||r2.join(r2.join(i2.home()||i2.temp(),"Library"),"Application Support"),e.runtime=()=>process.env.XDG_RUNTIME_DIR||void 0,e.state=()=>process.env.XDG_STATE_HOME||r2.join(r2.join(i2.home()||i2.temp(),"Library"),"State"),e},s2=()=>{let e={};return e.cache=()=>{let e2=process.env.LOCALAPPDATA||r2.join(i2.home()||i2.temp(),"AppData","Local");return process.env.XDG_CACHE_HOME||r2.join(e2,"xdg.cache")},e.config=()=>{let e2=process.env.APPDATA||r2.join(i2.home()||i2.temp(),"AppData","Roaming");return process.env.XDG_CONFIG_HOME||r2.join(e2,"xdg.config")},e.data=()=>{let e2=process.env.APPDATA||r2.join(i2.home()||i2.temp(),"AppData","Roaming");return process.env.XDG_DATA_HOME||r2.join(e2,"xdg.data")},e.runtime=()=>process.env.XDG_RUNTIME_DIR||void 0,e.state=()=>{let e2=process.env.LOCALAPPDATA||r2.join(i2.home()||i2.temp(),"AppData","Local");return process.env.XDG_STATE_HOME||r2.join(e2,"xdg.state")},e},c3=()=>{let e=function(){return c3()},t2={};return t2=/^darwin$/i.test(process.platform)?o2():/^win/i.test(process.platform)?s2():a2(),t2.configDirs=()=>{let e2=[];return e2.push(t2.config()),process.env.XDG_CONFIG_DIRS&&e2.push(...process.env.XDG_CONFIG_DIRS.split(r2.delimiter)),e2},t2.dataDirs=()=>{let e2=[];return e2.push(t2.data()),process.env.XDG_DATA_DIRS&&e2.push(...process.env.XDG_DATA_DIRS.split(r2.delimiter)),e2},Object.keys(t2).forEach(n2=>{e[n2]=t2[n2]}),e};n.exports=c3()}),p=c((t,n)=>{let r2=m("path"),i2=m("os"),a2=f(),o2=/^win/i.test(process.platform);function s2(e,t2){if(e=e||{},typeof e!="object"&&(e={isolated:e}),e.isolated=e.isolated===void 0||e.isolated===null?t2:e.isolated,typeof e.isolated!="boolean")throw TypeError(`Expected boolean for "isolated" argument, got ${typeof e.isolated}`);return e}let c3=(e,t2)=>{let n2={};return n2.cache=(n3={isolated:null})=>(n3=s2(n3,t2),r2.join(a2.cache(),n3.isolated?e:"")),n2.config=(n3={isolated:null})=>(n3=s2(n3,t2),r2.join(a2.config(),n3.isolated?e:"")),n2.data=(n3={isolated:null})=>(n3=s2(n3,t2),r2.join(a2.data(),n3.isolated?e:"")),n2.runtime=(n3={isolated:null})=>(n3=s2(n3,t2),a2.runtime()?r2.join(a2.runtime(),n3.isolated?e:""):void 0),n2.state=(n3={isolated:null})=>(n3=s2(n3,t2),r2.join(a2.state(),n3.isolated?e:"")),n2.configDirs=(n3={isolated:null})=>(n3=s2(n3,t2),a2.configDirs().map(t3=>r2.join(t3,n3.isolated?e:""))),n2.dataDirs=(n3={isolated:null})=>(n3=s2(n3,t2),a2.dataDirs().map(t3=>r2.join(t3,n3.isolated?e:""))),n2},l2=(e,t2)=>{let{env:n2}=process,o3=i2.homedir(),c4=i2.tmpdir(),l3=n2.APPDATA||r2.join(o3||c4,"AppData","Roaming"),u2=n2.LOCALAPPDATA||r2.join(o3||c4,"AppData","Local"),d3={};return d3.cache=(i3={isolated:null})=>(i3=s2(i3,t2),!i3.isolated||n2.XDG_CACHE_HOME?r2.join(a2.cache(),i3.isolated?e:""):r2.join(u2,i3.isolated?e:"","Cache")),d3.config=(i3={isolated:null})=>(i3=s2(i3,t2),!i3.isolated||n2.XDG_CONFIG_HOME?r2.join(a2.config(),i3.isolated?e:""):r2.join(l3,i3.isolated?e:"","Config")),d3.data=(i3={isolated:null})=>(i3=s2(i3,t2),!i3.isolated||n2.XDG_DATA_HOME?r2.join(a2.data(),i3.isolated?e:""):r2.join(l3,i3.isolated?e:"","Data")),d3.runtime=(n3={isolated:null})=>(n3=s2(n3,t2),a2.runtime()?r2.join(a2.runtime(),n3.isolated?e:""):void 0),d3.state=(i3={isolated:null})=>(i3=s2(i3,t2),!i3.isolated||n2.XDG_STATE_HOME?r2.join(a2.state(),i3.isolated?e:""):r2.join(u2,i3.isolated?e:"","State")),d3.configDirs=(i3={isolated:null})=>{i3=s2(i3,t2);let a3=[d3.config(i3)];return n2.XDG_CONFIG_DIRS&&a3.push(...n2.XDG_CONFIG_DIRS.split(r2.delimiter).map(t3=>r2.join(t3,i3.isolated?e:""))),a3},d3.dataDirs=(i3={isolated:null})=>{i3=s2(i3,t2);let a3=[d3.data(i3)];return n2.XDG_DATA_DIRS&&a3.push(...n2.XDG_DATA_DIRS.split(r2.delimiter).map(t3=>r2.join(t3,i3.isolated?e:""))),a3},d3};n.exports=new class t2{constructor(n2={name:null,suffix:null,isolated:!0}){this._fn=function(e={name:null,suffix:null,isolated:!0}){return new t2(e)},n2=n2||{},typeof n2!="object"&&(n2={name:n2});let i3=n2.name||"";if(typeof i3!="string")throw TypeError(`Expected string for "name" argument, got ${typeof i3}`);let a3=n2.suffix||"";if(typeof a3!="string")throw TypeError(`Expected string for "suffix" argument, got ${typeof a3}`);let s3=n2.isolated===void 0||n2.isolated===null?!0:n2.isolated;if(typeof s3!="boolean")throw TypeError(`Expected boolean for "isolated" argument, got ${typeof s3}`);i3||(i3=r2.parse(process.pkg?process.execPath:m.main?m.main.filename:process.argv[0]).name),a3&&(i3+=a3),this._fn.$name=()=>i3,this._fn.$isolated=()=>s3;let u2=o2?l2(i3,s3):c3(i3,s3);return Object.keys(u2).forEach(e=>{this._fn[e]=u2[e]}),this._fn}}}),m2=c(t=>{var n=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobalPathConfig=c3,t.getConfigFilePath=l2;let r2=n(m("node:fs")),i2=n(m("node:path")),a2=m("node:os");function o2(e){try{return r2.default.lstatSync(e).isDirectory()}catch{return!1}}function s2(e){return p()(e).dataDirs()}function c3(){let e=s2("com.vercel.cli");return[...e,i2.default.join((0,a2.homedir)(),".now"),...s2("now")].find(e2=>o2(e2))||e[0]}function l2(e){return i2.default.join(e,"config.json")}}),h=c((t,n)=>{var r2=Object.defineProperty,i2=Object.getOwnPropertyDescriptor,a2=Object.getOwnPropertyNames,o2=Object.prototype.hasOwnProperty,s2=(e,t2)=>{for(var n2 in t2)r2(e,n2,{get:t2[n2],enumerable:!0})},c3=(e,t2,n2,s3)=>{if(t2&&typeof t2=="object"||typeof t2=="function")for(let c4 of a2(t2))!o2.call(e,c4)&&c4!==n2&&r2(e,c4,{get:()=>t2[c4],enumerable:!(s3=i2(t2,c4))||s3.enumerable});return e},l2=e=>c3(r2({},"__esModule",{value:!0}),e),u2={};s2(u2,{KNOWN_AGENTS:()=>T2,determineAgent:()=>E2}),n.exports=l2(u2);var d3=m("node:fs/promises"),f2=m("node:fs");let p2="cursor",m3="cursor-cli",h2="claude",g2="cowork",_2="devin",v2="replit",y2="gemini",b2="codex",x2="antigravity",S2="augment-cli",C2="opencode",w2="github-copilot",T2={CURSOR:p2,CURSOR_CLI:m3,CLAUDE:h2,COWORK:g2,DEVIN:_2,REPLIT:v2,GEMINI:y2,CODEX:b2,ANTIGRAVITY:x2,AUGMENT_CLI:S2,OPENCODE:C2,GITHUB_COPILOT:w2,V0:"v0"};async function E2(){if(process.env.AI_AGENT){let e=process.env.AI_AGENT.trim();if(e)return e===w2||e==="github-copilot-cli"?{isAgent:!0,agent:{name:w2}}:e==="v0"?{isAgent:!0,agent:{name:"v0"}}:{isAgent:!0,agent:{name:e}}}if(process.env.CURSOR_TRACE_ID)return{isAgent:!0,agent:{name:p2}};if(process.env.CURSOR_AGENT||process.env.CURSOR_EXTENSION_HOST_ROLE==="agent-exec")return{isAgent:!0,agent:{name:m3}};if(process.env.GEMINI_CLI)return{isAgent:!0,agent:{name:y2}};if(process.env.CODEX_SANDBOX||process.env.CODEX_CI||process.env.CODEX_THREAD_ID)return{isAgent:!0,agent:{name:b2}};if(process.env.ANTIGRAVITY_AGENT)return{isAgent:!0,agent:{name:x2}};if(process.env.AUGMENT_AGENT)return{isAgent:!0,agent:{name:S2}};if(process.env.OPENCODE_CLIENT)return{isAgent:!0,agent:{name:C2}};if(process.env.CLAUDECODE||process.env.CLAUDE_CODE)return process.env.CLAUDE_CODE_IS_COWORK?{isAgent:!0,agent:{name:g2}}:{isAgent:!0,agent:{name:h2}};if(process.env.REPL_ID)return{isAgent:!0,agent:{name:v2}};if(process.env.COPILOT_MODEL||process.env.COPILOT_ALLOW_ALL||process.env.COPILOT_GITHUB_TOKEN)return{isAgent:!0,agent:{name:w2}};try{return await(0,d3.access)("/opt/.devin",f2.constants.F_OK),{isAgent:!0,agent:{name:_2}}}catch{}return{isAgent:!1,agent:void 0}}})(),g;function _(){return g||(g=(0,h.determineAgent)().then(e=>e.isAgent?e.agent.name:void 0,()=>{})),g}var v=d(p()),y=m2(),b=i("sandbox:telemetry");function x(){return l((0,v.default)("sandbox-cli").config(),"telemetry.json")}function S(e){try{return JSON.parse(s(e,"utf8"))}catch{return}}function C(){return S(x())}function w(e){o((0,v.default)("sandbox-cli").config(),{recursive:!0}),c2(x(),JSON.stringify({enabled:e},null,2))}function T(){try{return S((0,y.getConfigFilePath)((0,y.getGlobalPathConfig)()))?.telemetry?.enabled===!1}catch{return!1}}var E=new Set(["list","ls","create","sh","fork","config","copy","cp","exec","connect","ssh","shell","stop","remove","rm","run","snapshot","snapshots","sessions","login","logout","telemetry"]),D=new class{constructor(){this.events=[],this.sessionId=a(),this.teamId="NO_TEAM_ID",this.lookups=new Map,this.embedded=!1}get enabled(){return process.env.VERCEL_SANDBOX_TELEMETRY_DISABLED||process.env.VERCEL_TELEMETRY_DISABLED||this.embedded&&T()?!1:C()?.enabled??!0}get isDebug(){return!!process.env.VERCEL_TELEMETRY_DEBUG}track(e,t){t&&this.events.push({id:a(),event_time:Date.now(),key:e,value:t})}updateTeamId(e){e&&(e.startsWith("team_")?this.teamId=e:e!==this.teamSlug&&(this.teamSlug=e,this.track("team_slug",e)))}updateProjectId(e){e&&(e.startsWith("prj_")?this.projectId=e:e!==this.projectSlug&&(this.projectSlug=e,this.track("project_slug",e)))}resolveScopeIds(e){if(!this.teamSlug&&!this.projectSlug)return;let t=this.projectSlug??this.projectId,n=this.teamSlug?`slug=${encodeURIComponent(this.teamSlug)}`:`teamId=${encodeURIComponent(this.teamId)}`;t&&this.lookup("scope",e,`/v9/projects/${encodeURIComponent(t)}?${n}`,e2=>{e2.id?.startsWith("prj_")&&(this.projectId=e2.id),e2.accountId?.startsWith("team_")&&(this.teamId=e2.accountId)})}resolveUserId(e){this.lookup("user",e,"/v2/user",e2=>{this.userId=e2.user?.id})}lookup(e,t,n,r2){!t||this.lookups.has(e)||!this.enabled&&!this.isDebug||this.lookups.set(e,fetch(`https://vercel.com/api${n}`,{headers:{authorization:`Bearer ${t}`},signal:AbortSignal.timeout(500)}).then(async t2=>{if(!t2.ok){b("%s lookup responded with %d",e,t2.status);return}r2(await t2.json())}).catch(t2=>b("%s lookup failed: %o",e,t2)))}trackSandboxSession(e,t){this.track("sandbox_session_id",e),e&&this.track("sandbox_session_origin",t)}trackExitCode(e){this.track("exit_code",String(e))}async trackInvocation(e){this.embedded=e.appName!=="sandbox";let t=e.argv[0],n=t&&E.has(t)?t:void 0;this.track("subcommand",n),this.track("agent",await _()),this.track("version",u),this.track("platform",r.platform()),this.track("arch",r.arch()),this.track("ci",process.env.CI?"TRUE":void 0),this.track("embedded",this.embedded?e.appName:void 0)}async flush(){if(this.events.length===0)return;let e=AbortSignal.timeout(1500);if(this.lookups.size>0){let e2;await Promise.race([Promise.all(this.lookups.values()),new Promise(t2=>{e2=setTimeout(t2,500)})]),clearTimeout(e2)}let t=this.events.map(e2=>({...e2,team_id:this.teamId,session_id:this.sessionId,project_id:this.projectId??null,user_id:this.userId??null,vercel_cli_invocation_id:process.env.VERCEL_CLI_INVOCATION_ID??null}));if(this.events=[],this.isDebug){for(let e2 of t)process.stderr.write(`[telemetry] ${JSON.stringify(e2)}
|
|
8
|
+
`);return}if(this.enabled)try{b("telemetry bridge responded with %d",(await fetch(process.env.VERCEL_SANDBOX_TELEMETRY_BRIDGE_URL||"https://telemetry.vercel.com/api/sandbox-cli/v1/events",{method:"POST",headers:{"content-type":"application/json","client-id":"sandbox-cli","x-sandbox-cli-topic-id":"generic","x-sandbox-cli-session-id":this.sessionId},body:JSON.stringify(t),signal:e})).status)}catch(e2){b("failed to send telemetry events: %o",e2)}}};export{u,p,_,w,D};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{truncateEnd}from"./chunk-
|
|
7
|
+
import{truncateEnd}from"./chunk-EL65DTVZ.js";function ellipsis(str,length){return truncateEnd(str,length,{omission:"\u2026"})}export{ellipsis};
|