@dylanpiercey/work 0.2.47 → 0.2.49
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/{_ChGA-Y19.js → _BVxo8CnP.js} +72 -72
- package/dist/_BnWG6rtQ.js +2 -0
- package/dist/{_zCoTsfRF.js → _COh2mFI4.js} +67 -29
- package/dist/{_6uHpLALm.js → _C_X3CIMQ.js} +6 -3
- package/dist/_Xb4YHZBO.js +2 -0
- package/dist/index.mjs +799 -783
- package/dist/public/assets/_1z2-iL5Z.js +1 -0
- package/dist/public/assets/{_BaS4SYJT.js → _3emlJGWP.js} +1 -1
- package/dist/public/assets/_3emlJGWP.js.br +0 -0
- package/dist/public/assets/_5N39W_E8.js +1 -0
- package/dist/public/assets/{_CmODUDmS.js → _5amQ7cfb.js} +1 -1
- package/dist/public/assets/{_D5lnfFYl.js → _8tcXPNgY.js} +1 -1
- package/dist/public/assets/_8tcXPNgY.js.br +0 -0
- package/dist/public/assets/{_DXcDMVT5.js → _B0c6AzJ1.js} +1 -1
- package/dist/public/assets/_B0c6AzJ1.js.br +0 -0
- package/dist/public/assets/_B2M-S4H5.js +1 -0
- package/dist/public/assets/{_sJQ5AMJz.js → _B2rr-EUw.js} +1 -1
- package/dist/public/assets/_B2rr-EUw.js.br +0 -0
- package/dist/public/assets/_B3Rih4WN.js +1 -0
- package/dist/public/assets/{_ninG8V1Z.js → _B6fe6gs2.js} +1 -1
- package/dist/public/assets/_B6fe6gs2.js.br +0 -0
- package/dist/public/assets/{_DKhuVc0B.js → _B9nFDeUl.js} +1 -1
- package/dist/public/assets/_B9nFDeUl.js.br +0 -0
- package/dist/public/assets/{_D8ZroJQm.js → _BAXQh-do.js} +1 -1
- package/dist/public/assets/_BAXQh-do.js.br +0 -0
- package/dist/public/assets/{_Cvzm141q.js → _BBjF9HhR.js} +1 -1
- package/dist/public/assets/_BBjF9HhR.js.br +0 -0
- package/dist/public/assets/_BCVFhsBw.js +1 -0
- package/dist/public/assets/_BD4dDSwg.js +1 -0
- package/dist/public/assets/_BDS3KHNT.js +1 -0
- package/dist/public/assets/_BE1HXnba.js +1 -0
- package/dist/public/assets/{_dIaXEB43.js → _BFHFjK9E.js} +1 -1
- package/dist/public/assets/_BFHFjK9E.js.br +0 -0
- package/dist/public/assets/_BNaQPpD2.js +1 -0
- package/dist/public/assets/{_DBffuUFs.js → _BNx-hqba.js} +1 -1
- package/dist/public/assets/_BNx-hqba.js.br +0 -0
- package/dist/public/assets/_BQWJqhoU.js +1 -0
- package/dist/public/assets/{_CD_na-js.js → _BRgYIAAS.js} +1 -1
- package/dist/public/assets/_BRgYIAAS.js.br +0 -0
- package/dist/public/assets/_BSAjsRj6.js +1 -0
- package/dist/public/assets/_BS_ayoFP.js +1 -0
- package/dist/public/assets/_BT2YeLHF.js +1 -0
- package/dist/public/assets/_BV0ywbyt.js +1 -0
- package/dist/public/assets/{_DW9y8nGt.js → _BV5tOasc.js} +1 -1
- package/dist/public/assets/_BV5tOasc.js.br +0 -0
- package/dist/public/assets/{_fSGAYH-l.js → _BW_bt5_R.js} +1 -1
- package/dist/public/assets/_BW_bt5_R.js.br +0 -0
- package/dist/public/assets/{_Ckk7mxRf.js → _BWgfWBQY.js} +1 -1
- package/dist/public/assets/_BWgfWBQY.js.br +0 -0
- package/dist/public/assets/_BXcRI7KW.js +1 -0
- package/dist/public/assets/{_D-FVl8aP.js → _BZi_bSvW.js} +1 -1
- package/dist/public/assets/_BZi_bSvW.js.br +0 -0
- package/dist/public/assets/_Ba2SeqUW.js +1 -0
- package/dist/public/assets/{_BDVTWLrn.js → _BbPnvx9I.js} +1 -1
- package/dist/public/assets/_BbPnvx9I.js.br +0 -0
- package/dist/public/assets/{_BHczdDXH.js → _BbrRWzs_.js} +1 -1
- package/dist/public/assets/_BbrRWzs_.js.br +0 -0
- package/dist/public/assets/{_CgXLztkB.js → _BeNTBjq2.js} +1 -1
- package/dist/public/assets/_BeNTBjq2.js.br +0 -0
- package/dist/public/assets/_Bg6FN_F-.js +1 -0
- package/dist/public/assets/{_CnfWKU_V.js → _BgtgOxLF.js} +1 -1
- package/dist/public/assets/_BgtgOxLF.js.br +0 -0
- package/dist/public/assets/{_72vWlE_7.js → _BiZ5JMx_.js} +1 -1
- package/dist/public/assets/{_DJbVhwfG.js → _Bk1xjwxl.js} +1 -1
- package/dist/public/assets/_Bk1xjwxl.js.br +0 -0
- package/dist/public/assets/_Bl4X7hI-.js +1 -0
- package/dist/public/assets/_BnzaOTsf.js +1 -0
- package/dist/public/assets/{_C5g8dT2d.js → _Bo0jSt4a.js} +1 -1
- package/dist/public/assets/_Bo0jSt4a.js.br +0 -0
- package/dist/public/assets/_BoQrvtxI.js +1 -0
- package/dist/public/assets/{_B50wMoqz.js → _BrP0KGgJ.js} +1 -1
- package/dist/public/assets/_BrP0KGgJ.js.br +0 -0
- package/dist/public/assets/_BrbRf1ea.js +1 -0
- package/dist/public/assets/_BsWnbgST.js +1 -0
- package/dist/public/assets/{_I_Sely5R.js → _BtH1Ogsg.js} +1 -1
- package/dist/public/assets/_BtH1Ogsg.js.br +0 -0
- package/dist/public/assets/{_DsXlAUxt.js → _BxqN0nog.js} +1 -1
- package/dist/public/assets/_BxqN0nog.js.br +0 -0
- package/dist/public/assets/{_tNiNv_tk.js → _C-N7dMV3.js} +1 -1
- package/dist/public/assets/_C0I6GpB-.js +1 -0
- package/dist/public/assets/{_CIsNbiHX.js → _C3eRn6xE.js} +1 -1
- package/dist/public/assets/_C3eRn6xE.js.br +0 -0
- package/dist/public/assets/{_BUDCkb-P.js → _C4TSdcNR.js} +2 -2
- package/dist/public/assets/_C4TSdcNR.js.br +0 -0
- package/dist/public/assets/{_DkPgUxZZ.js → _C4bP3-Xd.js} +1 -1
- package/dist/public/assets/_C4bP3-Xd.js.br +0 -0
- package/dist/public/assets/{_juj0ykZ_.js → _C6BVPB9F.js} +1 -1
- package/dist/public/assets/_C6BVPB9F.js.br +0 -0
- package/dist/public/assets/_C6RytXsE.js +1 -0
- package/dist/public/assets/{_BMxXO-uf.js → _C7NW-inT.js} +1 -1
- package/dist/public/assets/_C7NW-inT.js.br +0 -0
- package/dist/public/assets/{_Dw1Qtxpb.js → _C7SbFOD0.js} +1 -1
- package/dist/public/assets/_C7SbFOD0.js.br +0 -0
- package/dist/public/assets/_C7ywhU9n.js +1 -0
- package/dist/public/assets/{_BJ3vs8Ag.js → _CACJF4d1.js} +1 -1
- package/dist/public/assets/_CACJF4d1.js.br +0 -0
- package/dist/public/assets/{_CltHV3kD.js → _CAVuh3_b.js} +1 -1
- package/dist/public/assets/_CAVuh3_b.js.br +0 -0
- package/dist/public/assets/_CBtqmUZj.js +1 -0
- package/dist/public/assets/_CDNRMRMf.js +1 -0
- package/dist/public/assets/{_hlczI1pw.js → _CEjHHowc.js} +1 -1
- package/dist/public/assets/_CEjHHowc.js.br +0 -0
- package/dist/public/assets/{_BP1aVz0z.js → _CGF0X63U.js} +1 -1
- package/dist/public/assets/_CGF0X63U.js.br +0 -0
- package/dist/public/assets/_CGJg8MMP.js +1 -0
- package/dist/public/assets/{_CB6ZWLk7.js → _CKozisGs.js} +1 -1
- package/dist/public/assets/_CKozisGs.js.br +0 -0
- package/dist/public/assets/{_D_-Hqjcs.js → _CLu-CniV.js} +1 -1
- package/dist/public/assets/_CLu-CniV.js.br +0 -0
- package/dist/public/assets/{_Cr0AwZJ9.js → _CMzMlA_o.js} +1 -1
- package/dist/public/assets/_CMzMlA_o.js.br +0 -0
- package/dist/public/assets/{_LIzddwP5.js → _CQ6O_Nb1.js} +1 -1
- package/dist/public/assets/_CQ6O_Nb1.js.br +0 -0
- package/dist/public/assets/{_DFdL8ods.js → _CS2QhAoC.js} +3 -3
- package/dist/public/assets/_CS2QhAoC.js.br +0 -0
- package/dist/public/assets/_CSIYpD5N.js +1 -0
- package/dist/public/assets/_CTDEkjdU.js +1 -0
- package/dist/public/assets/_CThIFYwp.js +1 -0
- package/dist/public/assets/_C_IX4b2W.js +1 -0
- package/dist/public/assets/{_CgJujOTO.js → _CaHptU9r.js} +1 -1
- package/dist/public/assets/_CaHptU9r.js.br +0 -0
- package/dist/public/assets/{_DoPQAlVq.js → _CcqbP_l7.js} +1 -1
- package/dist/public/assets/{_DI2mCmJo.js → _Cd2qprUC.js} +1 -1
- package/dist/public/assets/_Cd2qprUC.js.br +0 -0
- package/dist/public/assets/{_CdUjULpW.js → _CfLFc8Un.js} +1 -1
- package/dist/public/assets/_CfLFc8Un.js.br +0 -0
- package/dist/public/assets/_ChERLo-s.js +1 -0
- package/dist/public/assets/{_CWd0eURu.js → _Cj6SEB8c.js} +1 -1
- package/dist/public/assets/_Cj6SEB8c.js.br +0 -0
- package/dist/public/assets/_CjHkH0L3.js +1 -0
- package/dist/public/assets/{_BPncqBDW.js → _CjVI_edE.js} +1 -1
- package/dist/public/assets/_CjVI_edE.js.br +0 -0
- package/dist/public/assets/_Ckhk3z_U.js +1 -0
- package/dist/public/assets/{_DmeWYXqg.js → _ClOfmz8Z.js} +1 -1
- package/dist/public/assets/_ClOfmz8Z.js.br +0 -0
- package/dist/public/assets/_Cq-gvvqr.js +1 -0
- package/dist/public/assets/_CtJxOdxu.js +7 -0
- package/dist/public/assets/_CtJxOdxu.js.br +0 -0
- package/dist/public/assets/_CuN4vcEQ.js +1 -0
- package/dist/public/assets/{_CShUSV0P.js → _CuV9oVP-.js} +1 -1
- package/dist/public/assets/_CuV9oVP-.js.br +0 -0
- package/dist/public/assets/{_CJhsffCd.js → _CwivKHW_.js} +2 -2
- package/dist/public/assets/_CwivKHW_.js.br +0 -0
- package/dist/public/assets/{_BFJYeAnR.js → _CyJ0drJ_.js} +1 -1
- package/dist/public/assets/_CyJ0drJ_.js.br +0 -0
- package/dist/public/assets/{_DBgWQjPw.js → _CzfSIiXq.js} +1 -1
- package/dist/public/assets/_CzfSIiXq.js.br +0 -0
- package/dist/public/assets/_D11S6UcI.js +1 -0
- package/dist/public/assets/_D1DjshLq.js +1 -0
- package/dist/public/assets/{_SGNXcDg8.js → _D1toUk2-.js} +1 -1
- package/dist/public/assets/_D1toUk2-.js.br +0 -0
- package/dist/public/assets/{_DBTSSIRB.js → _D2JF-4Nd.js} +1 -1
- package/dist/public/assets/_D2JF-4Nd.js.br +0 -0
- package/dist/public/assets/_D2bLKedm.js +1 -0
- package/dist/public/assets/_D5oFG9wt.js +1 -0
- package/dist/public/assets/_D7-B0CuT.js +1 -0
- package/dist/public/assets/_D7wthGbV.js +1 -0
- package/dist/public/assets/{_oJBSVjOI.js → _D89CyLSd.js} +1 -1
- package/dist/public/assets/_D89CyLSd.js.br +0 -0
- package/dist/public/assets/_D9NVr7rx.js +1 -0
- package/dist/public/assets/_DB0s6AJH.js +1 -0
- package/dist/public/assets/{_IQWpC4d2.js → _DCAqomRE.js} +9 -9
- package/dist/public/assets/_DCAqomRE.js.br +0 -0
- package/dist/public/assets/{_CLk6FLvr.js → _DDN6Rd_E.js} +1 -1
- package/dist/public/assets/_DDN6Rd_E.js.br +0 -0
- package/dist/public/assets/{_BXlzNMkZ.js → _DDTjrK2-.js} +1 -1
- package/dist/public/assets/_DDTjrK2-.js.br +0 -0
- package/dist/public/assets/{_B90DgKSG.js → _DEXfKL6f.js} +1 -1
- package/dist/public/assets/_DEXfKL6f.js.br +0 -0
- package/dist/public/assets/{_B1FpsIO2.js → _DEzbgqKR.js} +1 -1
- package/dist/public/assets/_DEzbgqKR.js.br +0 -0
- package/dist/public/assets/_DG0RJ5vy.js +1 -0
- package/dist/public/assets/{_kSP5bsQ4.js → _DG2zLheb.js} +1 -1
- package/dist/public/assets/_DG2zLheb.js.br +0 -0
- package/dist/public/assets/{_Cac0WRNh.js → _DI7R16QX.js} +1 -1
- package/dist/public/assets/_DI7R16QX.js.br +0 -0
- package/dist/public/assets/_DJLn3HhH.js +1 -0
- package/dist/public/assets/{_BDHb9XiG.js → _DM3gPAvW.js} +1 -1
- package/dist/public/assets/_DM3gPAvW.js.br +0 -0
- package/dist/public/assets/_DMAsi_Bg.js +1 -0
- package/dist/public/assets/{_C6jwrUr8.js → _DR2a4wlP.js} +1 -1
- package/dist/public/assets/_DR2a4wlP.js.br +0 -0
- package/dist/public/assets/{_DslFeh75.js → _DRE1DSRw.js} +1 -1
- package/dist/public/assets/_DRE1DSRw.js.br +0 -0
- package/dist/public/assets/{_bueY0pq5.js → _DRoK_6_S.js} +1 -1
- package/dist/public/assets/_DRoK_6_S.js.br +0 -0
- package/dist/public/assets/_DSY6ChHM.js +1 -0
- package/dist/public/assets/_DSaLOqlN.js +1 -0
- package/dist/public/assets/_DSlEOG3H.js +1 -0
- package/dist/public/assets/{_9V8IGlr9.js → _DTLowvUz.js} +4 -4
- package/dist/public/assets/_DTLowvUz.js.br +0 -0
- package/dist/public/assets/_DW4WpGh_.js +1 -0
- package/dist/public/assets/{_CLt6WTD8.js → _DXtsyE5y.js} +1 -1
- package/dist/public/assets/_DXtsyE5y.js.br +0 -0
- package/dist/public/assets/_DY2khN_b.js +1 -0
- package/dist/public/assets/_DZAf_H3l.js +1 -0
- package/dist/public/assets/_D_HGYiCK.js +1 -0
- package/dist/public/assets/{_CK1JNFPh.js → _D_QiENqj.js} +1 -1
- package/dist/public/assets/_D_QiENqj.js.br +0 -0
- package/dist/public/assets/_DcU6GTXI.js +1 -0
- package/dist/public/assets/_DcrO52et.js +1 -0
- package/dist/public/assets/{_CdUkw3m9.js → _DcyL5rlt.js} +1 -1
- package/dist/public/assets/_DcyL5rlt.js.br +0 -0
- package/dist/public/assets/{_Cah8NRS6.js → _DdfXa4yR.js} +1 -1
- package/dist/public/assets/_DdfXa4yR.js.br +0 -0
- package/dist/public/assets/{_Ctbwtl8q.js → _De2t6cM5.js} +1 -1
- package/dist/public/assets/{_D64hjoLQ.js → _Dh__smpK.js} +1 -1
- package/dist/public/assets/_Dh__smpK.js.br +0 -0
- package/dist/public/assets/_DhxMan9N.js +1 -0
- package/dist/public/assets/{_CfPukyxH.js → _DjoH33bd.js} +1 -1
- package/dist/public/assets/_DjoH33bd.js.br +6 -0
- package/dist/public/assets/_DkjySSOj.js +1 -0
- package/dist/public/assets/_DkxDrKnI.js +1 -0
- package/dist/public/assets/_DoqK4Cws.js +1 -0
- package/dist/public/assets/{_1YOEnF59.js → _DpJPjr73.js} +1 -1
- package/dist/public/assets/_DpJPjr73.js.br +0 -0
- package/dist/public/assets/{_CBHZGos3.js → _Ds4ncvjZ.js} +1 -1
- package/dist/public/assets/_Ds4ncvjZ.js.br +0 -0
- package/dist/public/assets/{_DK1OFtmU.js → _Ds9_gqJL.js} +1 -1
- package/dist/public/assets/_Ds9_gqJL.js.br +0 -0
- package/dist/public/assets/_DsTKZFvC.js +1 -0
- package/dist/public/assets/_DtKBfK0o.js +1 -0
- package/dist/public/assets/{_DY3WUZYO.js → _Dv7aXRdy.js} +1 -1
- package/dist/public/assets/_Dv7aXRdy.js.br +0 -0
- package/dist/public/assets/_Dw24FkCV.js +1 -0
- package/dist/public/assets/{_B9vg-Kgv.js → _DwR9qeL1.js} +1 -1
- package/dist/public/assets/_DwR9qeL1.js.br +0 -0
- package/dist/public/assets/_E4mAd0Xw.js +1 -0
- package/dist/public/assets/{_qZKAFtiz.js → _JlETeLNe.js} +1 -1
- package/dist/public/assets/_JlETeLNe.js.br +0 -0
- package/dist/public/assets/{_DXW3vvQz.js → _MIzJ6fp8.js} +1 -1
- package/dist/public/assets/_MIzJ6fp8.js.br +0 -0
- package/dist/public/assets/_MMLY21jM.js +1 -0
- package/dist/public/assets/_NBoB7SGv.js +1 -0
- package/dist/public/assets/{_DkocgA5z.js → _NDTucrVG.js} +1 -1
- package/dist/public/assets/_NDTucrVG.js.br +0 -0
- package/dist/public/assets/{_BkDjk7aL.js → _NeNgJqf1.js} +1 -1
- package/dist/public/assets/_NeNgJqf1.js.br +0 -0
- package/dist/public/assets/_PNGbCjoA.js +1 -0
- package/dist/public/assets/_RIuYZOnn.js +1 -0
- package/dist/public/assets/{_DOvHYOVy.js → _RNR6ytnK.js} +1 -1
- package/dist/public/assets/_RNR6ytnK.js.br +0 -0
- package/dist/public/assets/_RRmZvEik.js +1 -0
- package/dist/public/assets/{_Dab9kcQQ.js → _SYBSyW2K.js} +1 -1
- package/dist/public/assets/_SYBSyW2K.js.br +0 -0
- package/dist/public/assets/{_OHaKaFg3.js → _TGL13Gfw.js} +1 -1
- package/dist/public/assets/_TGL13Gfw.js.br +0 -0
- package/dist/public/assets/{_BW4y7Ewg.js → _Tr1KOyF_.js} +1 -1
- package/dist/public/assets/_Tr1KOyF_.js.br +0 -0
- package/dist/public/assets/_UdjpqPE0.js +1 -0
- package/dist/public/assets/_UkO5zVUV.js +1 -0
- package/dist/public/assets/{_BtxMpsGJ.js → _VU88nHcV.js} +1 -1
- package/dist/public/assets/_VU88nHcV.js.br +0 -0
- package/dist/public/assets/_Y862TIZ9.js +1 -0
- package/dist/public/assets/_YUFL83f3.js +1 -0
- package/dist/public/assets/{_D4VcQjtT.js → _ZrPby9WV.js} +2 -2
- package/dist/public/assets/_ZrPby9WV.js.br +0 -0
- package/dist/public/assets/{_Bbp2QO7t.js → __MqdIpmq.js} +1 -1
- package/dist/public/assets/__MqdIpmq.js.br +0 -0
- package/dist/public/assets/{_ByROjFoO.js → __UkxE9lk.js} +1 -1
- package/dist/public/assets/__UkxE9lk.js.br +0 -0
- package/dist/public/assets/_cRCPbWjd.js +1 -0
- package/dist/public/assets/{_DUpmK373.js → _df2-rmC-.js} +1 -1
- package/dist/public/assets/_df2-rmC-.js.br +0 -0
- package/dist/public/assets/{_B5tT050Z.js → _feZupn0L.js} +1 -1
- package/dist/public/assets/_feZupn0L.js.br +0 -0
- package/dist/public/assets/{_DieW6CfK.js → _ffv-zgIG.js} +1 -1
- package/dist/public/assets/_ffv-zgIG.js.br +0 -0
- package/dist/public/assets/_gu-WneNr.js +1 -0
- package/dist/public/assets/_guUMsfVx.js +1 -0
- package/dist/public/assets/{_CuyBWr6_.js → _jolU98Yk.js} +1 -1
- package/dist/public/assets/_jolU98Yk.js.br +0 -0
- package/dist/public/assets/{_CpRqzx-s.js → _kF_kYUFu.js} +1 -1
- package/dist/public/assets/_kF_kYUFu.js.br +0 -0
- package/dist/public/assets/_kr5fGp6E.js +1 -0
- package/dist/public/assets/{_B4gCTZBr.js → _ll49IVbu.js} +1 -1
- package/dist/public/assets/_ll49IVbu.js.br +0 -0
- package/dist/public/assets/{_BCuN17Qc.js → _pgQzUEgO.js} +1 -1
- package/dist/public/assets/_pgQzUEgO.js.br +0 -0
- package/dist/public/assets/_sZX82zlR.js +1 -0
- package/dist/public/assets/_xdwLgWOs.js +1 -0
- package/dist/public/assets/{_qCWjpU5_.js → _zhHmR8TS.js} +1 -1
- package/dist/public/assets/files-view-BxcuAzVh.js +2 -0
- package/dist/public/assets/manage-workspace-DqQ1b9fe.js +2 -0
- package/dist/public/assets/new-BO3GuM_R.js +1 -0
- package/dist/public/assets/new-workspace-B7Alup1I.js +2 -0
- package/dist/public/assets/review-view-RZaU_Lby.js +2 -0
- package/dist/public/assets/settings-BO3GuM_R.js +1 -0
- package/dist/public/assets/settings-page-CXOgbKp6.js +2 -0
- package/dist/public/assets/{styles-DVXyJhkJ.css → styles-pNqSMRyA.css} +1 -1
- package/dist/public/assets/styles-pNqSMRyA.css.br +0 -0
- package/dist/public/assets/w-BO3GuM_R.js +1 -0
- package/dist/public/assets/w._-BO3GuM_R.js +1 -0
- package/dist/public/assets/w._-BTOaxr-0.js +1 -0
- package/dist/public/assets/w._-DnvJbi0t.js +1 -0
- package/package.json +1 -1
- package/dist/_BykUtWUu.js +0 -2
- package/dist/_ioxR2vcT.js +0 -2
- package/dist/public/assets/_1YOEnF59.js.br +0 -0
- package/dist/public/assets/_4dZRitic.js +0 -1
- package/dist/public/assets/_9V8IGlr9.js.br +0 -0
- package/dist/public/assets/_B-QTRQtN.js +0 -1
- package/dist/public/assets/_B1FpsIO2.js.br +0 -0
- package/dist/public/assets/_B1Ue4uo_.js +0 -1
- package/dist/public/assets/_B24MABI5.js +0 -1
- package/dist/public/assets/_B4gCTZBr.js.br +0 -0
- package/dist/public/assets/_B4rgOlTa.js +0 -1
- package/dist/public/assets/_B50wMoqz.js.br +0 -0
- package/dist/public/assets/_B5tT050Z.js.br +0 -0
- package/dist/public/assets/_B90DgKSG.js.br +0 -0
- package/dist/public/assets/_B9vg-Kgv.js.br +0 -0
- package/dist/public/assets/_BCuN17Qc.js.br +0 -0
- package/dist/public/assets/_BDHb9XiG.js.br +0 -0
- package/dist/public/assets/_BDVTWLrn.js.br +0 -0
- package/dist/public/assets/_BFJYeAnR.js.br +0 -0
- package/dist/public/assets/_BGLFCtrF.js +0 -1
- package/dist/public/assets/_BHczdDXH.js.br +0 -0
- package/dist/public/assets/_BJ3vs8Ag.js.br +0 -0
- package/dist/public/assets/_BMxXO-uf.js.br +0 -0
- package/dist/public/assets/_BP1aVz0z.js.br +0 -0
- package/dist/public/assets/_BPncqBDW.js.br +0 -0
- package/dist/public/assets/_BQtQXQ-r.js +0 -1
- package/dist/public/assets/_BUDCkb-P.js.br +0 -0
- package/dist/public/assets/_BW4y7Ewg.js.br +0 -0
- package/dist/public/assets/_BWOxA7as.js +0 -1
- package/dist/public/assets/_BXlzNMkZ.js.br +0 -0
- package/dist/public/assets/_BaMFouMr.js +0 -1
- package/dist/public/assets/_BaS4SYJT.js.br +0 -0
- package/dist/public/assets/_BbJhnrUp.js +0 -1
- package/dist/public/assets/_Bbp2QO7t.js.br +0 -0
- package/dist/public/assets/_Bi-F3u0q.js +0 -1
- package/dist/public/assets/_BjOoUmPE.js +0 -1
- package/dist/public/assets/_BkDjk7aL.js.br +0 -0
- package/dist/public/assets/_BkqjweMq.js +0 -1
- package/dist/public/assets/_Bo87qOnD.js +0 -1
- package/dist/public/assets/_BpvqCoM_.js +0 -1
- package/dist/public/assets/_Btegnee8.js +0 -1
- package/dist/public/assets/_BtxMpsGJ.js.br +0 -0
- package/dist/public/assets/_BxyMCRSl.js +0 -1
- package/dist/public/assets/_By4hkEaB.js +0 -7
- package/dist/public/assets/_By4hkEaB.js.br +0 -0
- package/dist/public/assets/_ByROjFoO.js.br +0 -0
- package/dist/public/assets/_C-keFyk0.js +0 -1
- package/dist/public/assets/_C0BUIaKr.js +0 -1
- package/dist/public/assets/_C23eTR6u.js +0 -1
- package/dist/public/assets/_C34fHtL3.js +0 -1
- package/dist/public/assets/_C58Em73K.js +0 -1
- package/dist/public/assets/_C5g8dT2d.js.br +0 -0
- package/dist/public/assets/_C6jwrUr8.js.br +0 -0
- package/dist/public/assets/_CB6ZWLk7.js.br +0 -0
- package/dist/public/assets/_CBHZGos3.js.br +0 -0
- package/dist/public/assets/_CBz04FtH.js +0 -1
- package/dist/public/assets/_CD_na-js.js.br +0 -0
- package/dist/public/assets/_CE89hLnO.js +0 -1
- package/dist/public/assets/_CFKPlGR8.js +0 -1
- package/dist/public/assets/_CF_yKFgu.js +0 -1
- package/dist/public/assets/_CHVTLljv.js +0 -1
- package/dist/public/assets/_CIsNbiHX.js.br +0 -0
- package/dist/public/assets/_CJhsffCd.js.br +0 -0
- package/dist/public/assets/_CK1JNFPh.js.br +0 -0
- package/dist/public/assets/_CLk6FLvr.js.br +0 -0
- package/dist/public/assets/_CLt6WTD8.js.br +0 -0
- package/dist/public/assets/_CM-nhKQj.js +0 -1
- package/dist/public/assets/_CM3yVp5R.js +0 -1
- package/dist/public/assets/_CShUSV0P.js.br +0 -0
- package/dist/public/assets/_CTZh30Wl.js +0 -1
- package/dist/public/assets/_CTtNmc7C.js +0 -1
- package/dist/public/assets/_CUVoXcbR.js +0 -1
- package/dist/public/assets/_CWd0eURu.js.br +0 -0
- package/dist/public/assets/_C_xEbggZ.js +0 -1
- package/dist/public/assets/_Cac0WRNh.js.br +0 -0
- package/dist/public/assets/_Cah8NRS6.js.br +0 -0
- package/dist/public/assets/_CdUjULpW.js.br +0 -0
- package/dist/public/assets/_CdUkw3m9.js.br +0 -0
- package/dist/public/assets/_CecTh7dx.js +0 -1
- package/dist/public/assets/_CfPukyxH.js.br +0 -0
- package/dist/public/assets/_CgJujOTO.js.br +0 -0
- package/dist/public/assets/_CgJyFvR5.js +0 -1
- package/dist/public/assets/_CgXLztkB.js.br +0 -0
- package/dist/public/assets/_Ckk7mxRf.js.br +0 -0
- package/dist/public/assets/_CltHV3kD.js.br +0 -0
- package/dist/public/assets/_CnfWKU_V.js.br +0 -0
- package/dist/public/assets/_CpRqzx-s.js.br +0 -0
- package/dist/public/assets/_CqSP-Req.js +0 -1
- package/dist/public/assets/_Cr0AwZJ9.js.br +0 -0
- package/dist/public/assets/_Cr0i-QUt.js +0 -1
- package/dist/public/assets/_CsF6YKEK.js +0 -1
- package/dist/public/assets/_CuyBWr6_.js.br +0 -0
- package/dist/public/assets/_Cvzm141q.js.br +0 -0
- package/dist/public/assets/_CwXa2nTL.js +0 -1
- package/dist/public/assets/_D-FVl8aP.js.br +0 -0
- package/dist/public/assets/_D2IihDDa.js +0 -1
- package/dist/public/assets/_D4VcQjtT.js.br +0 -0
- package/dist/public/assets/_D4zBG9Bi.js +0 -1
- package/dist/public/assets/_D5lnfFYl.js.br +0 -0
- package/dist/public/assets/_D64hjoLQ.js.br +0 -0
- package/dist/public/assets/_D8ZroJQm.js.br +0 -0
- package/dist/public/assets/_DBTSSIRB.js.br +0 -0
- package/dist/public/assets/_DBffuUFs.js.br +0 -0
- package/dist/public/assets/_DBgWQjPw.js.br +0 -0
- package/dist/public/assets/_DF_CTY0a.js +0 -1
- package/dist/public/assets/_DFdL8ods.js.br +0 -0
- package/dist/public/assets/_DGAbazRO.js +0 -1
- package/dist/public/assets/_DI2mCmJo.js.br +0 -0
- package/dist/public/assets/_DJbVhwfG.js.br +0 -0
- package/dist/public/assets/_DK1OFtmU.js.br +0 -0
- package/dist/public/assets/_DKhuVc0B.js.br +0 -0
- package/dist/public/assets/_DLL0wFUx.js +0 -1
- package/dist/public/assets/_DLm7YW42.js +0 -1
- package/dist/public/assets/_DNvqEnyx.js +0 -1
- package/dist/public/assets/_DOvHYOVy.js.br +0 -0
- package/dist/public/assets/_DPgK4UGs.js +0 -1
- package/dist/public/assets/_DRGRagFa.js +0 -1
- package/dist/public/assets/_DRcLPBqy.js +0 -1
- package/dist/public/assets/_DU9pe5Sp.js +0 -1
- package/dist/public/assets/_DUXqZ9L2.js +0 -1
- package/dist/public/assets/_DUorL53t.js +0 -1
- package/dist/public/assets/_DUpmK373.js.br +0 -0
- package/dist/public/assets/_DW9y8nGt.js.br +0 -0
- package/dist/public/assets/_DXW3vvQz.js.br +0 -0
- package/dist/public/assets/_DXcDMVT5.js.br +0 -0
- package/dist/public/assets/_DY3WUZYO.js.br +0 -0
- package/dist/public/assets/_D_-Hqjcs.js.br +0 -0
- package/dist/public/assets/_DaJCeVuO.js +0 -1
- package/dist/public/assets/_Dab9kcQQ.js.br +0 -0
- package/dist/public/assets/_DieW6CfK.js.br +0 -0
- package/dist/public/assets/_DkPgUxZZ.js.br +0 -0
- package/dist/public/assets/_DkocgA5z.js.br +0 -0
- package/dist/public/assets/_DlanlfJP.js +0 -1
- package/dist/public/assets/_DmeWYXqg.js.br +0 -0
- package/dist/public/assets/_DpeEVEkp.js +0 -1
- package/dist/public/assets/_DqOqsoaL.js +0 -1
- package/dist/public/assets/_DqY0lZDM.js +0 -1
- package/dist/public/assets/_DsXlAUxt.js.br +0 -0
- package/dist/public/assets/_DslFeh75.js.br +0 -0
- package/dist/public/assets/_DuPXmGZN.js +0 -1
- package/dist/public/assets/_DvnnmKR_.js +0 -1
- package/dist/public/assets/_Dw1Qtxpb.js.br +0 -0
- package/dist/public/assets/_DwVFav0A.js +0 -1
- package/dist/public/assets/_DwwtDP_c.js +0 -1
- package/dist/public/assets/_Dy-mJHEp.js +0 -1
- package/dist/public/assets/_F2ZD73nU.js +0 -1
- package/dist/public/assets/_IQWpC4d2.js.br +0 -0
- package/dist/public/assets/_I_Sely5R.js.br +0 -0
- package/dist/public/assets/_Ktz7Hjmo.js +0 -1
- package/dist/public/assets/_LIzddwP5.js.br +0 -0
- package/dist/public/assets/_Ni-xQN0I.js +0 -1
- package/dist/public/assets/_OHaKaFg3.js.br +0 -0
- package/dist/public/assets/_R1ryyPFZ.js +0 -1
- package/dist/public/assets/_SGNXcDg8.js.br +0 -0
- package/dist/public/assets/_Sv4JGhjW.js +0 -1
- package/dist/public/assets/_TBUIs77L.js +0 -1
- package/dist/public/assets/_Vr5tnWMh.js +0 -1
- package/dist/public/assets/_WHUzIvN_.js +0 -1
- package/dist/public/assets/__0h3idDl.js +0 -1
- package/dist/public/assets/_bueY0pq5.js.br +0 -0
- package/dist/public/assets/_dIaXEB43.js.br +0 -0
- package/dist/public/assets/_dS3POvEB.js +0 -1
- package/dist/public/assets/_fSGAYH-l.js.br +0 -0
- package/dist/public/assets/_hlczI1pw.js.br +0 -0
- package/dist/public/assets/_jOU5zRdx.js +0 -1
- package/dist/public/assets/_juj0ykZ_.js.br +0 -0
- package/dist/public/assets/_kSP5bsQ4.js.br +0 -0
- package/dist/public/assets/_khoKybaJ.js +0 -1
- package/dist/public/assets/_l5oyTZQQ.js +0 -1
- package/dist/public/assets/_lDveQCjN.js +0 -1
- package/dist/public/assets/_lUZvnnd0.js +0 -1
- package/dist/public/assets/_mWRpfvXY.js +0 -1
- package/dist/public/assets/_ninG8V1Z.js.br +0 -0
- package/dist/public/assets/_nyTuSz7y.js +0 -1
- package/dist/public/assets/_oJBSVjOI.js.br +0 -0
- package/dist/public/assets/_qZKAFtiz.js.br +0 -0
- package/dist/public/assets/_qmsjhfQP.js +0 -1
- package/dist/public/assets/_sJQ5AMJz.js.br +0 -0
- package/dist/public/assets/files-view-B_GhQ1BL.js +0 -2
- package/dist/public/assets/manage-workspace-BkZqLHzq.js +0 -2
- package/dist/public/assets/new-b8PZl5Pk.js +0 -1
- package/dist/public/assets/new-workspace-6HmnH4Lv.js +0 -2
- package/dist/public/assets/review-view-CGRtb0Di.js +0 -2
- package/dist/public/assets/settings-b8PZl5Pk.js +0 -1
- package/dist/public/assets/settings-page-BGQtAfFe.js +0 -2
- package/dist/public/assets/styles-DVXyJhkJ.css.br +0 -0
- package/dist/public/assets/w-b8PZl5Pk.js +0 -1
- package/dist/public/assets/w._-C8vPzV68.js +0 -1
- package/dist/public/assets/w._-DWLwDrFj.js +0 -1
- package/dist/public/assets/w._-b8PZl5Pk.js +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_C4TSdcNR.js","assets/_DCAqomRE.js","assets/_BRgYIAAS.js","assets/styles-pNqSMRyA.css","assets/_CyXOHGY9.js","assets/_ZrPby9WV.js","assets/_BNx-hqba.js","assets/_C7NW-inT.js","assets/_Dv7aXRdy.js","assets/_D2pdXUO3.js","assets/_DM3gPAvW.js","assets/_CcFCI5Av.js","assets/_DG2zLheb.js","assets/_5amQ7cfb.js","assets/_BCVFhsBw.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{$ as e,$t as t,A as n,At as r,Bt as i,Ct as a,D as o,Dt as s,E as c,Et as l,F as u,Gt as d,I as f,It as p,J as m,L as h,Lt as ee,Mt as te,Nt as g,O as _,Ot as ne,P as re,Pt as v,Q as ie,Qt as ae,Rt as oe,T as y,Tt as se,Ut as ce,Vt as b,Wt as le,X as x,Xt as ue,Y as de,Yt as fe,Z as S,Zt as pe,_ as me,a as he,an as ge,at as _e,bt as ve,c as ye,ct as be,d as xe,dt as Se,en as Ce,et as we,f as Te,g as Ee,h as De,ht as Oe,i as ke,j as Ae,jt as je,k as Me,kt as Ne,l as Pe,lt as Fe,m as Ie,mt as Le,n as Re,nn as ze,nt as Be,o as Ve,ot as He,p as Ue,qt as We,r as Ge,rn as Ke,rt as qe,s as Je,sn as Ye,st as Xe,t as Ze,tn as Qe,u as $e,v as et,w as tt,wt as nt,xt as rt,zt as it}from"./_DCAqomRE.js";import{F as at,I as ot,L as st,P as ct,k as lt}from"./_BRgYIAAS.js";import{B as C,D as w,E as ut,F as T,H as dt,I as E,J as ft,K as pt,L as D,M as mt,P as O,R as ht,U as k,V as A,W as j,_ as gt,a as M,b as N,i as P,j as _t,n as vt,r as yt,t as bt,v as F,x as xt,y as I,z as L}from"./_CyXOHGY9.js";import{$t as St,A as Ct,Ct as wt,D as Tt,Dt as Et,Hn as Dt,Ht as Ot,Kn as kt,Mt as At,Nt as jt,O as Mt,U as Nt,Un as Pt,Vn as R,Wn as z,Wt as Ft,Yt as It,_ as Lt,a as Rt,an as zt,b as Bt,d as Vt,en as Ht,f as Ut,g as Wt,h as Gt,i as Kt,j as qt,k as Jt,m as Yt,n as Xt,nn as Zt,p as Qt,r as $t,rn as en,t as tn,tr as nn,un as rn,v as an,wn as on,x as sn,xn as cn,xt as ln,y as un}from"./_ZrPby9WV.js";import{H as dn,K as fn,U as pn,V as mn,_ as hn,a as gn,at as _n,b as vn,c as yn,d as bn,dt as xn,f as Sn,g as Cn,h as wn,i as Tn,l as En,m as Dn,n as On,o as kn,p as An,r as jn,s as Mn,t as Nn,u as Pn,v as Fn,w as In,x as Ln,y as Rn}from"./_C7NW-inT.js";import{a as zn,i as Bn,n as Vn,r as Hn,s as Un,t as Wn}from"./_BiZ5JMx_.js";import{B as Gn,I as Kn,L as qn,P as Jn,z as Yn}from"./_Dv7aXRdy.js";import{c as Xn,i as Zn,n as Qn,r as $n,s as er,t as tr,u as nr}from"./_DG2zLheb.js";import{i as rr,n as ir,r as ar,t as or}from"./_BFHFjK9E.js";function sr(e){let t=null,n=e=>Kn()?e.metaKey:e.ctrlKey,r=e=>e instanceof HTMLElement&&(e.isContentEditable||!!e.closest(`input, textarea, select`));window.addEventListener(`keydown`,i=>{if([`Meta`,`Control`,`Shift`,`Alt`].includes(i.key))return;let a=i.key.toLowerCase();n(i)&&!i.altKey&&!i.shiftKey&&a===`a`?t=(e.active()&&!r(i.target)?e.text():null)?.key??null:n(i)&&a===`c`||(t=null)},{capture:!0,signal:e.signal}),window.addEventListener(`pointerdown`,()=>t=null,{capture:!0,signal:e.signal}),document.addEventListener(`copy`,n=>{if(!t||!e.active()||r(n.target))return;let i=e.text();i&&i.key===t&&n.clipboardData&&(n.clipboardData.setData(`text/plain`,i.text),n.preventDefault())},{signal:e.signal})}var cr=Ct,lr=(e=>`/${e}&`)(qt);function ur(e){Mt(e.a,Nt)}var dr=(e,t)=>Jt(e.a,t),fr=(e,t)=>Tt(e.a,t),pr=`<div></div>`,mr=k(`l0`,e=>ht(e,{comment:e.d,sessions:e.e,remove:e.f,edit:e.g,send:e.h,onMount:function(){let t={drawn:``,sessionsKey:``,draw:()=>{let n=`${this.comment.id}:${this.comment.text}`;if(n!==t.drawn){t.drawn=n,t.sessionsKey=i(this.sessions),e.a.replaceChildren(ee(this.comment,{sessions:()=>this.sessions,reveal:()=>{}},{onDelete:e=>this.remove(e),onEdit:(e,t)=>this.edit(e,t),onSend:(e,t)=>this.send(e,t),drifted:!1}));return}let r=i(this.sessions);if(r===t.sessionsKey)return;t.sessionsKey=r;let a=e.a.firstElementChild;a instanceof HTMLElement&&p(a)}};return t.draw(),t},onUpdate:function(){this.draw()}})),hr=C(8,mr,4),gr=N(3,hr),_r=N(4,hr),vr=N(5,hr),yr=N(6,hr),br=N(7,hr),xr=`<div><div title="Drag to resize"></div><!><div></div></div>`,Sr=` D b%b l`,Cr={M:`modified`,A:`added`,"?":`untracked`,R:`renamed`};function wr(e){let t=new Set(e.filter(e=>!e.startsWith(`.share/`)).map(e=>e.slice(0,e.indexOf(`/`)+1)));return t.size===1?[...t][0]:null}var Tr=e=>M(e.a,lt),Er=(e,t)=>j(e.b,t),Dr=(e,t)=>Er(e,t[0]),Or=E(17,e=>M(e.b,[`_cV`,{_cU:e.r}])),kr=N(18),Ar=k(`w1`,e=>{L(e.b,`pointerdown`,function(t){pn(e.s,t,e.b)&&Or(e,!0)}),L(e.b,`pointermove`,function(t){dn(e.s,t,e.a)}),L(e.b,`pointerup`,function(t){mn(e.s,t,e.a)&&Or(e,!1)}),L(e.b,`pointercancel`,function(t){mn(e.s,t,e.a)&&Or(e,!1)}),L(e.d,`click`,function(t){if(!e.h)return;let n=t.composedPath().find(e=>e instanceof HTMLElement&&e.dataset.itemType===`file`)?.dataset.itemPath;n&&n===e.k&&e.l(n)})});function jr(e){M(e.d,`_cT`),Or(e,!1),kr(e,{id:-1,w:0}),Ar(e)}var Mr=C(8,e=>M(e.a,[`_cM`,`_nD`,{_cL:e.g===!1,_nC:!!e.h}])),Nr=N(6,Mr),Pr=N(7,Mr),Fr=w(2,`<p> </p>`,` D `,Tr,Dr),Ir=(e,t)=>Fr(e,[t||[]]),Lr=k(`w0`,e=>ht(e,{paths:e.m,filter:e.n?.trim()||``,status:e.o,selected:e.k,revealNonce:e.p,onMount:function(){let t=e=>[...e].map(([e,t])=>({path:e,status:Cr[t]})),n={paths:[...e.m],filter:e.n?.trim()||``,status:e.o,nonce:e.p??0,selected:e.k??null,quiet:!1,icons:$n(e.m),iconPaths:null},r=wr(n.paths),i={paths:n.paths,gitStatus:t(e.o),initialExpansion:`closed`,initialExpandedPaths:r?[r]:[],density:.85,icons:Qn(``,n.paths),flattenEmptyDirectories:!0,stickyFolders:!0,search:!1,onSelectionChange(t){if(n.quiet||t.length!==1)return;let r=a.getItem(t[0]);r&&!r.isDirectory()&&t[0]!==n.selected&&e.l(t[0])}},a=new xe(i);return a.render({containerWrapper:e.d}),{t:a,state:n,gitStatus:t}},onUpdate:function(){let{t:e,state:t}=this,n=this.paths;if(this.filter!==t.filter){t.filter=this.filter,t.paths=[...n];let r=[...He(n)],i=t.selected,a=wr(n),o=new Set(this.filter&&r.length<=400?r:a?[a]:[]);if(i&&n.includes(i))for(let e=i.indexOf(`/`);e!==-1;e=i.indexOf(`/`,e+1))o.add(i.slice(0,e+1));e.resetPaths(t.paths,{initialExpandedPaths:[...o]}),i&&e.getItem(i)?.select()}else if(n!==t.paths&&n.join(`
|
|
3
|
+
`)!==t.paths.join(`
|
|
4
|
+
`)){let r=!t.paths.length,i=Xe(t.paths,n);i.length&&e.batch(i),t.paths=[...n];let a=wr(n);if(r&&a){let t=e.getItem(a);t&&`expand`in t&&t.expand()}r&&t.selected&&(t.nonce=-1)}if(t.iconPaths!==t.paths){t.iconPaths=t.paths;let n=$n(t.paths);n!==t.icons&&(t.icons=n,e.setIcons(Qn(``,t.paths)))}this.status!==t.status&&(t.status=this.status,e.setGitStatus(this.gitStatus(this.status)));let r=this.selected??null,i=this.revealNonce??0;if(r!==t.selected||i!==t.nonce){t.selected=r;let n=i!==t.nonce;t.nonce=i,t.quiet=!0;for(let t of e.getSelectedPaths())t!==r&&e.getItem(t)?.deselect();if(r){if(n)for(let t=r.indexOf(`/`);t!==-1;t=r.indexOf(`/`,t+1)){let n=e.getItem(r.slice(0,t+1));n&&`expand`in n&&!n.isExpanded()&&n.expand()}e.getItem(r)?.select(),n&&e.scrollToPath(r,{offset:`center`})}t.quiet=!1}},onDestroy:function(){this.t.cleanUp()}})),B=C(16,Lr,5),Rr=N(10,B),zr=N(11,B),Br=N(12,B),Vr=N(13,B),Hr=N(14,B),Ur=N(15,B),Wr=(e=>` E%b D n/${e}&%b%b%b%c`)(rr),Gr=(e=>`<span><bdi><!><span> </span></bdi></span>${e}<!><!><!><!><!>`)(ar),Kr=((e,t,n,r,i,a)=>`<div><div><div>${e}${t}<!><!><!><span>${n}</span><div></div><!><button type=button aria-label="Go to file">${r}</button></div><!><div><!><!><!><div></div><div></div><div></div><!><!></div></div>${i}${a}</div>`)(e,f,me,Bn,xr,Pe),qr=((e,t,n,r,i,a)=>` D D D/${e}&/${t}&%b%b%b D/${n}&l b%b D/${r}&m%b D%b%b%b b b b%b%m/${i}&/${a}&l`)(we,h,et,zn,Sr,$e),Jr=`This file is binary, over 500 KB, or no longer there.`,Yr=5e5,Xr=new Intl.Collator(void 0,{numeric:!0,sensitivity:`base`}),V=`.share`;function Zr(e,t){return t.contents==null?H(e).worktree===V&&t.size!=null?{key:e,kind:`binary`,size:t.size}:{key:e,kind:`none`,why:Jr}:{key:e,kind:`text`,contents:t.contents}}var Qr=2e4;function H(e){let t=e.indexOf(`/`);return{worktree:e.slice(0,t),path:e.slice(t+1)}}function $r(e){let{worktree:t}=H(e);return t.includes(`@`)||t===V}function ei(e){return/\.(md|markdown|mdown|mkdn?)$/i.test(e)}function ti(e){return/\.(diff|patch)$/i.test(e)}var ni={change:`M`,"rename-pure":`R`,"rename-changed":`R`,new:`A`,deleted:`D`},ri=900;function ii(e,t,n){let{worktree:r,path:i}=H(t),a=e=>{let t=e.search(/[?#]/),n=t<0?e:e.slice(0,t);if(!n)return null;let a=n;try{a=decodeURIComponent(n)}catch{}let o=a.startsWith(`/`)?`${r}${a}`:`${r}/${ai(i)}${a}`,s=[];for(let e of o.split(`/`))if(e!==``&&e!==`.`){if(e!==`..`)s.push(e);else if(!s.pop())return null}if(!s.length)return null;let c=a.endsWith(`/`)||s.length===1,l=t<0?null:/^#L(\d+)/.exec(e.slice(t));return{file:`${s.join(`/`)}${c?`/`:``}`,line:l?Number(l[1]):void 0}};return{link(e){let t=a(e);return t?{...t,href:`${n(t.file)}${t.line?`&line=${t.line}`:``}`}:null},media(t){let n=a(t);if(!n||n.file.endsWith(`/`))return null;let r=H(n.file);return`/api/workspaces/${e}/diff/blob?${new URLSearchParams({worktree:r.worktree,path:r.path,rev:`worktree`})}`}}}function ai(e){return e.slice(0,e.lastIndexOf(`/`)+1)}function U(e){return e.slice(e.lastIndexOf(`/`)+1)}function oi(e){let t=e.endsWith(`/`),n=t?e.slice(0,-1):e,r=n.lastIndexOf(`/`)+1,i=[];for(let e=0;e<r;){let t=n.indexOf(`/`,e)+1;i.push({key:n.slice(0,t),label:n.slice(e,t)}),e=t}return{folders:i,name:`${n.slice(r)}${t?`/`:``}`}}function si(e,t){let n=new Set,r=[],i=[];for(let a of t){if(!a.startsWith(e))continue;let t=a.indexOf(`/`,e.length);if(t>=0){n.add(a.slice(0,t+1));continue}let o=Ln(a)?.kind;o===`image`||o===`video`?i.push({key:a,kind:o}):r.push(a)}return{dirs:[...n].sort(Xr.compare),files:r.sort(Xr.compare),media:i.sort((e,t)=>Xr.compare(e.key,t.key))}}function ci(e){let t=(e||``).split(`
|
|
5
|
+
`).map(e=>({removed:e[0]===`-`,text:e.slice(1)})),n=t.findIndex(e=>e.removed),r=t.findLastIndex(e=>e.removed);return n<0?t:t.slice(Math.max(0,n-1),r+2)}var li=e=>M(e.a,`_hR`),ui=T(1,1,e=>P(e.a,`src`,`${e._.k}#t=0.1`)),di=e=>{ui._(e),M(e.a,`_hP`)},fi=T(1,0,e=>P(e.a,`src`,e._.k)),pi=e=>{fi._(e),M(e.a,`_hP`)},mi=e=>{M(e.a,`_h2`),M(e.b,`_bi`)},hi=(e,t)=>M(e.a,t&&`_hZ`),gi=(e,t)=>j(e.b,t),_i=w(0,`<span><!>
|
|
6
|
+
</span>`,` D%`,0,(e,t)=>{hi(e,t[0]?.removed),gi(e,t[0]?.text)}),vi=T(1,0,e=>_i(e,[ci(e._.f)])),yi=e=>{vi._(e),M(e.a,`_hY`)},bi=e=>M(e.a,`_hv`),xi=I(276,e=>j(e.b,e._._._.fp),e=>e._._._,`x47`),Si=e=>{xi(e),Ci(e),M(e.a,`_hr`),M(e.c,`_hs`)},Ci=I(277,e=>j(e.d,e._._._.fq),e=>e._._._,`x48`),wi=I(274,e=>mt(e,e._._.fl,`a`),e=>e._._,`x72`),Ti=wi,Ei=O(0,`changed`,0,0,`<span>+<!></span><span>−<!></span>`,` Db%l Db%`,Si),Di=C(1,e=>P(e.a,`title`,`${e._._.fo?`Changed (binary)`:`+${e._._.fp} −${e._._.fq}`} in its branch: show the change`),2),Oi=I(275,e=>{Ei(e,+!e._._.fo),Di(e)},e=>e._._,`x50`),ki=k(`x49`,e=>L(e.a,`click`,function(){e._._.fm()})),Ai=e=>{Oi(e),ji(e),Mi(e),M(e.a,ct),ki(e)},ji=I(276,Di,e=>e._._,`x51`),Mi=I(277,Di,e=>e._._,`x52`),Ni=C(6,e=>P(e.a,`href`,e._._._.f2(e.f))),Pi=I(264,Ni,e=>e._._._,`x82`),Fi=k(`x81`,e=>L(e.a,`click`,function(t){t.preventDefault(),e._._._.f0(e.f)})),Ii=e=>{Pi(e),M(e.a,`_hT`),M(e.c,`_hU`),Fi(e)},Li=N(5,e=>{j(e.b,U(e.f)),j(e.d,ai(e.f)),Ni(e)}),Ri=w(0,`<li><a> <span> </span></a></li>`,`D D b D `,Ii,(e,t)=>Li(e,t[0])),zi=I(266,e=>Ri(e,[e._._.fa.slice(0,8)]),e=>e._._,`x83`),Bi=e=>{zi(e),M(e.a,`_hS`)},Vi=N(10,e=>{fi(e),ui(e)}),Hi=I(263,e=>Vi(e,e._._._.f1(e.M)),e=>e._._._,`x78`),Ui=k(`x77`,e=>L(e.a,`click`,function(t){t.preventDefault(),e._._._.f0(e.M)})),Wi=e=>{Hi(e),Gi(e),M(e.a,`_hO`),P(e.a,`title`,U(e.M)),M(e.c,`_hQ`),j(e.d,U(e.M)),Ui(e)},Gi=I(264,e=>P(e.a,`href`,e._._._.f2(e.M)),e=>e._._._,`x79`),Ki=O(1,`<img alt loading=lazy decoding=async>`,` `,pi,`<video muted playsinline preload=metadata></video>`,` `,di),qi=(e,t)=>Ki(e,t===`image`?0:1),Ji=ut(0,`<li><a><!><span> </span></a></li>`,`D D%b D `,Wi,(e,t)=>qi(e,t[0]?.kind)),Yi=I(270,e=>Ji(e,[e._._.fh,`key`]),e=>e._._,`x80`),Xi=e=>{Yi(e),M(e.a,`_hN`)},Zi=C(6,e=>P(e.a,`href`,e._._.f2(e.f))),Qi=I(264,Zi,e=>e._._,`x76`),$i=k(`x75`,e=>L(e.a,`click`,function(t){t.preventDefault(),e._._.f0(e.f)})),ea=e=>{Qi(e),M(e.a,`_hK`),M(e.b,`_hL`),$i(e)},ta=N(5,e=>{P(e.c,`href`,`#${tr(e.f)}`),j(e.d,U(e.f)),Zi(e)}),na=(e,t)=>ta(e,t[0]),ra=C(5,e=>P(e.a,`href`,e._._.f2(e.e))),ia=I(264,ra,e=>e._._,`x74`),aa=k(`x73`,e=>L(e.a,`click`,function(t){t.preventDefault(),e._._.f0(e.e)})),oa=e=>{ia(e),M(e.a,`_hK`),jn(e.b),Nn(e.b,`_hM`),On(e.b,16),aa(e)},sa=N(4,e=>{j(e.c,U(e.e.slice(0,-1))),ra(e)}),ca=(e,t)=>sa(e,t[0]),la=C(5,e=>P(e.a,`href`,e._._.f2(e.e))),ua=I(264,la,e=>e._._,`x45`),da=k(`x44`,e=>L(e.a,`click`,function(t){t.preventDefault(),e._._.f0(e.e)})),fa=e=>{ua(e),M(e.a,`_hl`),da(e)},pa=N(4,la),ma=(e,t)=>j(e.b,t),ha=(e,t)=>{pa(e,t[0]?.key),ma(e,t[0]?.label)},ga=C(2,e=>j(e.b,e._._.di.get(e._.l)===`?`?`untracked`:e._._.di.get(e._.l)===`A`?`added`:`modified`)),_a=I(255,ga,e=>e._._,`x46`),va=e=>{_a(e),ya._(e),M(e.a,[`_bp`,`_3`])},ya=T(5,0,ga),ba=T(5,0,e=>o(e.a,e._.d4)),xa=e=>{ba._(e),Sa._(e),Ca._(e),Me(e.a),tt(e.a,[`_fJ`,`_hm`]),_(e.a)},Sa=T(5,0,e=>y(e.a,e._.d7)),Ca=T(5,0,e=>c(e.a,e._.dp)),wa=C(4,e=>{M(e.a,[`_bT`,e._._._.c2===e.d&&`_bS`]),P(e.a,`aria-pressed`,e._._._.c2===e.d?`true`:`false`)}),Ta=I(250,wa,e=>e._._._,`x56`),Ea=k(`x55`,e=>L(e.a,`click`,function(){e._._._.c2!==e.d&&(ll(e._._._,e.d),on(e.d))})),Da=e=>{Ta(e),Ea(e)},Oa=N(3,e=>{j(e.b,e.d===`diff`?`Diff`:`Source`),wa(e)}),ka=w(0,`<button type=button> </button>`,` D `,Da,(e,t)=>Oa(e,t[0])),Aa=e=>{M(e.a,[`_bR`,`_ho`]),ka(e,[[`diff`,`source`]])},ja=C(4,e=>{M(e.a,[`_bT`,e._._._.by===e.d&&`_bS`]),P(e.a,`aria-pressed`,e._._._.by===e.d?`true`:`false`)}),Ma=I(249,ja,e=>e._._._,`x54`),Na=k(`x53`,e=>L(e.a,`click`,function(){e._._._.by!==e.d&&(nl(e._._._,e.d),cn(e.d))})),Pa=e=>{Ma(e),Na(e)},Fa=N(3,e=>{j(e.b,e.d===`preview`?`Preview`:`Source`),ja(e)}),Ia=w(0,`<button type=button> </button>`,` D `,Pa,(e,t)=>Fa(e,t[0])),La=e=>{M(e.a,[`_bR`,`_ho`]),Ia(e,[[`preview`,`source`]])},Ra=_t(`x43`,4,`Ak`),za=T(10,0,e=>Sn(e.a,e._.bq)),Ba=e=>{za._(e),Va._(e),Ha._(e),Ga._(e),Ka._(e),qa._(e),Ja._(e),pt(e,0,Ya),Fn(e.a),yn(e.a,`Find in file`),An(e.a,rf(e)),En(e.a,nf(e)),Dn(e.a)},Va=T(10,0,e=>hn(e.a,e._.bs)),Ha=T(10,0,e=>Cn(e.a,e._.bu)),Ua=C(2,e=>Mn(e.a,e._.ek?`${e._.bx+1}/${e._.ek}`:`0/0`)),Wa=C(3,e=>bn(e.a,af(e))),Ga=T(10,0,e=>{Ua(e),Wa(e)}),Ka=T(10,0,e=>{kn(e.a,e._.ek>0),Ua(e)}),qa=T(10,0,e=>{Pn(e.a,of(e)),Wa(e)}),Ja=T(10,0,e=>wn(e.a,e._.en?`keybar`:`row`)),Ya=ft(`x64`,N(4)),Xa=I(244,e=>j(e.a,e._._.bo),e=>e._._,`x66`),Za=xt(`x67`,` `,` `,Xa),Qa=e=>{an(e.a),Ut(e.a,Za(e)),Wt(e.a,`inline`),Lt(e.a,sf(e)),Vt(e.a),Yt(e.a),Gt(e.a),Bt(e.a),Qt(e.a,{})},$a=T(23,7,e=>j(e.b,e._.bk)),eo=e=>{$a._(e),M(e.a,`_hH`)},to=T(23,4,e=>P(e.b,`src`,e._.bi)),no=e=>{to._(e),M(e.a,`_hC`),M(e.b,`_hF`)},ro=T(23,3,e=>P(e.b,`src`,e._.bi)),io=k(`x86`,e=>L(e.b,`loadedmetadata`,function(){let t=e.b,n=Math.round(t.duration);Dl(e._,`${t.videoWidth} × ${t.videoHeight}${Number.isFinite(n)?` · ${Math.floor(n/60)}:${String(n%60).padStart(2,`0`)}`:``}`)})),ao=e=>{ro._(e),oo._(e),M(e.a,`_hC`),M(e.b,`_hE`),M(e.c,`_hD`),io(e)},oo=T(23,3,e=>j(e.d,e._.cn)),so=O(7,`<span role=group aria-label="Show as"></span>`,` `,La),co=C(14,e=>so(e,e._.bf===`text`&&e._.bg===e.l&&ei(e.l)?0:1),2),lo=O(8,`<span role=group aria-label="Show as"></span>`,` `,Aa),uo=C(15,e=>lo(e,e._.bf===`text`&&e._.bg===e.l&&e._.c5?0:1),3),fo=I(239,e=>{co(e),uo(e)},0,`x58`),po=gt(e=>{fo(e),mo(e),ho(e),vo(e),xo(e),M(e.a,`_hk`),M(e.c,`_hu`),ir(e.e)}),mo=I(240,e=>{co(e),uo(e)},0,`x59`),ho=I(251,uo,0,`x60`),go=O(5,`<span title=Uncommitted> </span>`,` D `,va),_o=C(12,e=>go(e,+!e._.di.get(e.l))),vo=I(255,_o,0,`x61`),yo=O(6,`<button type=button></button>`,` `,Ai),bo=C(13,e=>yo(e,e._.f7&&e._.f7?.file===e.l?0:1)),xo=I(265,bo,0,`x62`),So=(e,t)=>{wo(e,t?.folders),To(e,t?.name)},Co=w(1,`<a> </a>`,` D `,fa,ha),wo=(e,t)=>Co(e,[t]),To=(e,t)=>j(e.d,t),Eo=N(11,e=>{P(e.a,`title`,e.l),or(e.e,{text:e.l,label:`Copy path`}),So(e,oi(e.l)),_o(e),bo(e),co(e),uo(e),ya(e)}),Do=O(6,`<p>Nothing here is listed.</p>`,` `,li),Oo=C(7,e=>Do(e,e._.b9&&!e._.fj&&!e._.fk&&!e._.fi?0:1),3),ko=T(23,0,Oo),Ao=e=>{ko._(e),Mo._(e),Po._(e),Io._(e),Lo._(e),Ro._(e),Bo._(e),M(e.a,`_hI`),M(e.c,`_hJ`)},jo=w(4,`<li><a><svg viewBox="0 0 16 16" aria-hidden=true><use></use></svg> </a></li>`,`D D D l `,ea,na),Mo=T(23,0,e=>jo(e,[e._.ff])),No=w(3,(e=>`<li><a>${e}<!>/</a></li>`)(Tn),(e=>`D D/${e}&%m`)(gn),oa,ca),Po=T(23,0,e=>No(e,[e._.fg])),Fo=O(5,`<ul></ul>`,` `,Xi),Io=T(23,0,e=>{Fo(e,+!e._.fi),Oo(e)}),Lo=T(23,0,Oo),Ro=T(23,0,Oo),zo=O(1,`<div hidden> </div>`,`D `,Ti),Bo=T(23,0,e=>zo(e,+!e._.fl)),Vo=T(23,5,e=>P(e.b,`title`,e._.az)),Ho=e=>{Vo._(e),Uo._(e),M(e.a,`_hC`),M(e.b,`_hG`)},Uo=T(23,5,e=>P(e.b,`src`,e._.bi)),Wo=T(23,2,e=>P(e.b,`alt`,e._.az)),Go=k(`x85`,e=>L(e.b,`load`,function(){let t=e.b;Dl(e._,`${t.naturalWidth} × ${t.naturalHeight}`)})),Ko=e=>{Wo._(e),Jo._(e),Yo._(e),Xo._(e),M(e.a,`_hC`),M(e.b,`_hE`),M(e.c,`_hD`),Go(e)},qo=k(`x84`,e=>L(e.b,`error`,function(){e._.du(e._.bg)})),Jo=T(23,2,qo),Yo=T(23,2,e=>P(e.b,`src`,e._.bi)),Xo=T(23,2,e=>j(e.d,e._.cn)),Zo=T(16,0,e=>Eo(e.b,e._.ax)),Qo=e=>{Zo._(e),M(e.a,`_hp`),po._(e.b,e._)},$o=T(6,0,e=>Eo(e.d,e._.ax)),es=k(`x63`,e=>L(e.b,`click`,function(){Sl(e._,!0),gl(e._,+e._.cf+1)})),ts=e=>{$o._(e),M(e.a,[`_fJ`,`_hn`]),M(e.b,st),ur(e.c),dr(e.c,16),fr(e.c),po._(e.d,e._),es(e)},ns=T(23,1,e=>j(e.b,Jn(`goToFile`,e._.aw))),rs=e=>{ns._(e),as._(e),M(e.a,`_hH`)},is=O(2,`<ul></ul>`,` `,Bi),as=T(23,1,e=>is(e,+!e._.fb)),os=T(11,0,e=>P(e.a,`title`,`Find in file${Jn(`find`,e._.aw)}`)),ss=k(`x65`,e=>L(e.a,`click`,function(){$(e._,!0),Bc(e._,+e._.bs+1),Ra(e._)()})),cs=e=>{os._(e),ls._(e),M(e.a,at),$t(e.b),Xt(e.b,14),tn(e.b),ss(e)},ls=T(11,0,e=>P(e.a,`hidden`,e._.bq)),us=C(6,e=>P(e.d,`href`,`/api/workspaces/${e._.ab}/diff/blob?${new URLSearchParams({worktree:V,path:e.f,rev:`worktree`,download:`1`})}`)),ds=T(23,6,us),fs=e=>{ds._(e),ms._(e),hs._(e),M(e.a,`_hH`),M(e.d,[`_I`,`_J`])},ps=(e,t)=>gs(e,t.path),ms=T(23,6,e=>ps(e,H(e._.bg))),hs=T(23,6,e=>{j(e.b,e._.bj>Yr?`Too large to show`:`Binary`),j(e.c,er(e._.bj))}),gs=N(5,e=>{P(e.d,`download`,U(e.f)),us(e)}),_s=I(234,e=>_r(e.c,e._._.at||[]),e=>e._._,`x70`),vs=e=>{_s(e),ys(e),M(e.a,`_hX`),e.c},ys=I(257,e=>{vr(e.c,uf(e)),yr(e.c,lf(e)),br(e.c,cf(e))},e=>e._._,`x71`),bs=O(1,`<pre></pre>`,` `,yi),xs=N(5,e=>{bs(e,+!e.f),vi(e)}),Ss=(e,t)=>{gr(e.c,t),xs(e,t?.snippet)},Cs=(e,t)=>Ss(e,t[0]),ws=C(4,e=>P(e.c,`href`,_n({workspaceId:e._.ab,view:`diff`,file:e._.az,all:!0}))),Ts=T(18,0,ws),Es=e=>{Ts._(e),Ds._(e),ks._(e),M(e.a,`_hV`),M(e.b,`_hW`),M(e.c,`_bm`)},Ds=T(18,0,ws),Os=ut(3,(e=>`<div><!>${e}</div>`)(pr),(e=>` D%b/${e}&l`)(` b`),vs,Cs),ks=T(18,0,e=>Os(e,[e._.e3,`id`])),As=I(234,e=>_r(e.a,e._._.at||[]),e=>e._._,`x68`),js=e=>{As(e),Ms(e),e.a},Ms=I(257,e=>{vr(e.a,pf(e)),yr(e.a,ff(e)),br(e.a,df(e))},e=>e._._,`x69`),Ns=(e,t)=>gr(e.a,t),Ps=ut(2,pr,(e=>`/${e}&`)(` b`),js,(e,t)=>Ns(e,t[0])),Fs=T(17,0,e=>Ps(e,[e._.e6,`id`])),Is=e=>{Fs._(e),M(e.a,`_hV`),M(e.b,`_hW`)},Ls=_t(`x42`,10),Rs=E(58,e=>{P(e.m,`title`,`Go to file${Jn(`goToFile`,e.aw)}`),os(e),ns(e)}),zs=k(`x89`,e=>{{let t=e.f7,n=t&&e.az&&t.file===e.az?{section:t.section,key:`${t.section}/${t.file.slice(t.file.indexOf(`/`)+1)}`,line:e.b8||e.b1||null}:null;(n?.key!==e.b5||n?.line!==e.b6||n?.section!==e.b7)&&Bu(e,n)}}),W=C(215,zs,6),Bs=E(70,W),Vs=(e,t)=>Ze(e.z,t),Hs=(e,t)=>{Br(e.y,t),wd(e,t?.length)},Us=C(146,e=>Hs(e,e.cd.trim()?e.da.filter(be(e.cd)):e.da)),Ws=F(zi),Gs=N(216,e=>{zd(e,e.fa?.length),Ws(e)}),Ks=C(201,e=>Gs(e,e.eu.filter(t=>e.da.includes(t)))),qs=F(wi),Js=N(227,e=>{Bo(e),qs(e)}),Ys=O(23,`<div><!><ul><!><!></ul><!><!></div>`,` D%b D%b%l%b%`,Ao,`<div><p>Open a file from the tree, or go to one by name<!>.</p><!></div>`,` Eb%l%`,rs,`<div><img><span> </span></div>`,` D b D `,Ko,`<div><video controls playsinline preload=metadata></video><span> </span></div>`,` D b D `,ao,`<div><audio controls preload=metadata></audio></div>`,` D `,no,`<div><iframe></iframe></div>`,` D `,Ho,`<div><p><!> · <!></p><a>Download</a></div>`,` E%c%l `,fs,`<div><p> </p></div>`,` E `,eo),Xs=C(220,e=>Ys(e,e.fd?0:e.az?e.bf===`image`?2:e.bf===`video`?3:e.bf===`audio`?4:e.bf===`pdf`?5:e.bf===`binary`?6:e.bf===`none`?7:8:1),2),Zs=N(219,e=>{Bd(e,e.fd?.files),Hd(e,e.fd?.dirs),Gd(e,e.fd?.media),Js(e,e.fd?Zn(new Set((e.fd?.files).map(tr))):``),Xs(e)}),Qs=C(145,e=>Zs(e,e.b0?si(e.b0,e.da):null)),$s=N(144,e=>{Cd(e,e.da?.length),Vs(e,[...e.da,...He(e.da)].map(e=>({key:e,path:e}))),Us(e),Ks(e),Qs(e)}),ec=(e,t)=>Ir(e.y,t),tc=k(`x90`,e=>(()=>{let t=e.az,n=t?e.di.get(t)===`?`:!1;if(e.b9,e.ba,!t||!t.includes(`/`)){yu(e,null);return}let r=t.indexOf(`/`),i=new URLSearchParams({section:t.slice(0,r),path:t.slice(r+1),...n&&{untracked:`1`}}),a=setTimeout(async()=>{try{let n=await z(`/api/workspaces/${e.ab}/file-changes?${i}`,{signal:vt(e,2)});yu(e,n&&(n.additions||n.deletions||n.binary)?{file:t,...n}:null)}catch{}},150);vt(e,2).addEventListener(`abort`,()=>clearTimeout(a))})()),nc=C(153,e=>{yt(e,2),tc(e)},4),rc=F(vo,_a),ic=N(152,e=>{Hr(e.y,e.di),nc(e),rc(e)}),ac=(e,t)=>{$s(e,t.flatMap(e=>e.files.map(t=>`${e.worktree}/${t}`))),ec(e,[...t.some(e=>e.truncated&&e.worktree!==V)?[`A repo has too many files: only its first ${Xn(1e5)} are listed.`]:[],...t.filter(e=>e.truncated&&e.worktree===V).map(e=>`${V} has more files than are listed: only its newest ${Xn(e.files.length)} are.`)]),ic(e,(()=>{let e=new Map;for(let n of t)for(let[t,r]of Object.entries(n.status))e.set(`${n.worktree}/${t}`,r);return e})())},oc=C(142,e=>ac(e,e.d7?(e.b9||[]).filter(t=>b(t.worktree)===b(e.d7)):e.b9||[])),sc=k(`x97`,e=>{if(e.b9!==e.dq&&(au(e,e.b9),e.az&&e.b9)){let{worktree:t,path:n}=H(e.az),r=e.b9.find(e=>b(e.worktree)===b(t));r&&r.worktree!==t&&r.files.includes(n)&&Mu(e,`${r.worktree}/${n}`)}}),cc=C(161,sc,2),lc=E(71,e=>{Re(e.z,!e.b9),oc(e),cc(e),nc(e),ko(e)}),uc=N(141,e=>{oc(e),Sa(e)}),dc=C(139,e=>uc(e,e.bb&&e.bb!==`*`&&e.d4.some(t=>t.id===e.bb)?e.bb:null)),fc=N(138,e=>{bd(e,e.d4?.length),dc(e),ba(e)}),pc=C(137,e=>fc(e,(e.ba||[]).filter(Be).map(t=>_e(t,e.ah||``,e.ai||``,e.d2))),3),mc=N(136,pc),hc=k(`x98`,e=>{e.ba&&!e.bc&&e.bb&&e.bb!==`*`&&!e.ba.some(t=>t.id===e.bb)&&(qu(e,le(e.ba,e.bb)??`*`),rn(e.ab,e.bb))}),gc=C(75,hc,3),_c=k(`x91`,e=>ht(e,{active:e.an,onMount:function(){let t=new AbortController,n=t.signal,r=0,i=()=>{r&&clearTimeout(r),r=setTimeout(()=>{r=0,e.dm(),e.do(),e.ed()},300)};Zt(`diff-focus:${e.ab}`,()=>{let t=Ot(e.ab);t!==e.bb&&(t&&t!==`*`&&e.ba&&!le(e.ba,t)&&(yc(e,!0),e.do()),qu(e,t),e.dm())},n);let a=``;return Et().addEventListener(`status.changed`,t=>{if(!e.an)return;let n=t.data?.[e.ab];if(!n)return;let r=`${n.working}|${n.repos.map(e=>`${e.localHead||``}:${(e.prs||[]).map(e=>`${e.number}${e.state}`).join(`.`)}`).join(`,`)}`,o=a;a=r,o&&r!==o&&i()},{signal:n}),document.addEventListener(`visibilitychange`,()=>{e.an&&document.visibilityState===`visible`&&i()},{signal:n}),window.addEventListener(`focus`,()=>{e.an&&i()},{signal:n}),Et().addEventListener(`review.changed`,t=>{e.an&&t.data?.workspaceId===e.ab&&e.dw()},{signal:n}),window.addEventListener(`keydown`,t=>{if(e.an){if(Yn(t,`goToFile`))t.preventDefault(),t.stopPropagation(),Lc(e,!0);else if(Yn(t,`find`)&&e.bf===`text`){if(t.target instanceof HTMLTextAreaElement)return;t.preventDefault(),t.stopPropagation(),Vc(e,In()),$(e,!0),Bc(e,+e.bs+1),Ra(e)()}}},{capture:!0,signal:n}),sr({active:()=>!!e.an,text:()=>e.bf===`text`?{key:e.bg,text:e.bh}:null,signal:n}),e.an&&e.f4(),{abort:t,wasActive:!!e.an}},onUpdate:function(){this.active&&!this.wasActive&&e.f4(),this.wasActive=!!this.active},onDestroy:function(){this.abort.abort()}})),G=C(211,_c,12),vc=E(72,e=>{mc(e,qe(e.ba||[])),pc(e),gc(e),G(e),nc(e)}),yc=E(74,gc),bc=k(`x87`,e=>ht(e,{doc:e.be,docChecked:e.bl,active:e.an,line:e.b1,back:e.av??null,comments:e.e2,draft:e.cy,revealNonce:e.ce+(e.af??0),findQuery:e.bv.trim(),findLine:e.ef[e.bx]??0,findAt:e.bx,findJump:e.cc,mdOn:e.c0,patch:e.c7?e.c3:null,patchHits:e.eh,patchHit:e.c7?e.eh[e.bx]??null:null,onMdFind:t=>{rl(e,t)},sessions:e.at,onMount:function(){let n=()=>e.at||[],r=(t,n)=>it(h.patch?e.v:e.t,t,n),o=new Map,s=new WeakMap,c=0,u=t=>{if(t.draft){let i=s.get(t.draft);i??s.set(t.draft,i=c++);let a=`draft:${i}`,l=o.get(a);return l||(l=oe({sessions:n,reveal:r},{onSave:t=>e.eb(t),onSend:(t,n)=>e.ec(t,n),onCancel:()=>{Z(e,null)}}),o.set(a,l)),l}let i=t.comment,a=`c:${i.id}:${i.text}`,l=o.get(a);if(!l){let t=this.doc,s=i.snippet!=null&&t?.kind===`text`&&ce(d(t.contents,i.line_start,i.line_end,i.side))!==ce(i.snippet);l=ee(i,{sessions:n,reveal:r},{onDelete:t=>je(e.dz,t),onEdit:(t,n)=>ne(e.dz,t,n),onSend:(t,n)=>te(e.dz,t,n),drifted:s}),o.set(a,l)}return l},f={list:[],key:``,sig:``,hosts:new Set,ctl:null,retry:0,abort:new AbortController},p=Qe({workspaceId:()=>e.ab,problems:(e,n,r,i)=>e.itemId===h.itemId?t(f.list,n,r,i):[],source:e=>{let t=h.doc;return t?.kind!==`text`||e.itemId!==h.itemId||$r(t.key)?null:{...H(t.key),rev:`worktree`}},open:t=>e.f0(`${t.worktree}/${t.path}`,t.line)}),m={theme:ge,themeType:At(),disableFileHeader:!0,onTokenEnter:p.onTokenEnter,onTokenLeave:p.onTokenLeave,onTokenClick:p.onTokenClick,stickyHeaders:!1,enableLineSelection:!0,onLineSelectionEnd(t){let n=h.doc?.key;if(!t||!n)return;let r=Math.min(t.start,t.end),i=Math.max(t.start,t.end),a=h.draft;(a?.key!==n||a.start!==r||a.end!==i)&&Z(e,{key:n,start:r,end:i})},renderAnnotation(e){return e.metadata?u(e.metadata):void 0},unsafeCSS:a+We,onPostRender(e,t,n,r){let i=e;if(n===`unmount`){g.get(i)?.(),g.delete(i),f.hosts.delete(i),ue(i);return}g.has(i)?nt(i):g.set(i,se(i,r.item.id)),f.hosts.add(i),pe(i,f.list,`file`)},overflow:wt()?`wrap`:`scroll`,layout:{paddingTop:0,paddingBottom:24,gap:0}},h=this,g=new Map,_=new Ye(m,Ke());_.setup(e.t);let re=()=>{let t=e.t.getBoundingClientRect(),n=(t.top+t.bottom)/2,r=0,i=1/0;for(let e of f.hosts)for(let a of e.shadowRoot?.querySelectorAll(`[data-code] [data-line]`)??[]){let e=a.getBoundingClientRect();if(e.bottom<=t.top||e.top>=t.bottom)continue;let o=Math.abs((e.top+e.bottom)/2-n);o<i&&(i=o,r=Number(a.getAttribute(`data-line`))||0)}return r},v={timer:0},ie=_.subscribeToScroll(()=>{p.close(),v.timer||=setTimeout(()=>{v.timer=0,Bs(e,re())},200);let t=h.doc;h.active&&t?.kind===`text`&&xn(e.ab,{view:`files`,file:t.key,top:_.getScrollTop()})}),y={view:null,loading:!1,shown:null,sig:``,nonce:-1,backDone:null,jumped:-1,wasOn:!1,carry:0},b=()=>h.mdOn&&y.view?y.view.midLine():re(),le=t=>{let n=!!h.mdOn,r=h.doc;if(n!==y.wasOn){if(y.wasOn=n,n)y.carry=t===r&&_.getScrollTop()>0?re():0;else if(y.view&&r?.kind===`text`&&y.shown===r){let e=y.view.top()>0?y.view.midLine():0,t=h.itemId;requestAnimationFrame(()=>{h.itemId===t&&_.scrollTo(e?{type:`line`,id:t,lineNumber:e,align:`center`,behavior:`instant`}:{type:`position`,position:0,behavior:`instant`})})}}if(!n||r?.kind!==`text`)return;if(!y.view){if(y.loading)return;y.loading=!0,bt(()=>import(`./_C4TSdcNR.js`).then(t=>{y.view=new t.MarkdownView(e.u,{onComment:(t,n)=>{let r=h.doc?.key;r&&Z(e,{key:r,start:t,end:n})},onOpen:(t,n)=>e.f0(t,n),onScroll:()=>{v.timer||=setTimeout(()=>{v.timer=0,Bs(e,b())},200);let t=h.doc;h.active&&t?.kind===`text`&&y.view&&xn(e.ab,{view:`files`,file:t.key,top:y.view.top()})}}),le(h.doc)}),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]));return}let i=y.view,a=r!==y.shown;if(a){let t=r.reload&&y.shown?.key===r.key?i.top():null;y.shown=r,y.sig=``,i.show(r.contents,ii(e.ab,r.key,e.f2),t)}let o=h.comments||[],s=h.draft,c=s&&s.key===r.key?s:null,l=o.map(e=>`${e.id}:${e.line_end}:${e.text}`).join(`|`)+(c?`|d${c.start}-${c.end}`:``);l!==y.sig&&(y.sig=l,i.setNotes([...o.map(e=>({line:e.line_end,node:u({comment:e})})),...c?[{line:c.end,node:u({draft:c})}]:[]],c));let d=h.line??null,f=h.back;if(y.carry){let e=y.carry;y.carry=0,y.nonce=h.revealNonce,requestAnimationFrame(()=>i.reveal(e,!1))}else(a&&!r.reload||h.revealNonce!==y.nonce)&&(y.nonce=h.revealNonce,f&&f!==y.backDone&&f.file===r.key?(y.backDone=f,requestAnimationFrame(()=>i.setTop(f.top))):d?requestAnimationFrame(()=>i.reveal(d)):a&&i.setTop(0));if(a||h.findJump!==y.jumped){let e=h.findJump!==y.jumped;y.jumped=h.findJump,h.onMdFind(i.search(h.findQuery,h.findAt,e))}};_u(e,{top:()=>h.mdOn&&y.view?y.view.top():_.getScrollTop(),line:b});let x={viewer:null,shown:null,items:[],heads:new Map,jumped:-1,annSig:``},de=(e,t)=>{let n=x.items.find(t=>t.id===e);if(!x.viewer||!n)return;let r=!n.collapsed;for(let e of t?x.items:[n])!!e.collapsed!==r&&(e.collapsed=r,e.version=(e.version??0)+1,x.viewer.updateItem(e))},S={theme:ge,themeType:At(),diffStyle:`split`,stickyHeaders:!0,itemMetrics:{diffHeaderHeight:44},layout:{paddingTop:0,paddingBottom:24,gap:12},unsafeCSS:a,overflow:wt()?`wrap`:`scroll`,enableLineSelection:!0,onLineSelectionEnd(t,n){let r=h.patch,i=h.doc?.key;if(!t||!r||!i)return;let a=t.side??`additions`,o=[rt(r,n.item.id,a,t.start),rt(r,n.item.id,t.endSide??a,t.end)].filter(e=>e!=null);if(!o.length)return;let s=Math.min(...o),c=Math.max(...o),l=h.draft;(l?.key!==i||l.start!==s||l.end!==c)&&Z(e,{key:i,start:s,end:c})},renderAnnotation(e){return e.metadata?u(e.metadata):void 0},renderCustomHeader(e,t){let n=t.item;if(n.type!==`diff`)return document.createElement(`div`);let r=n.fileDiff,i=0,a=0;for(let e of r.hunks)i+=e.additionLines,a+=e.deletionLines;let o={label:r.prevName&&r.prevName!==r.name?`${r.prevName} → ${r.name}`:r.name,status:ni[r.type],collapsed:!!n.collapsed,notes:0,errors:0,additions:i,deletions:a,patchless:!1,open:!1},s=Fe(o),c=x.heads.get(n.id);if(c?.sig===s)return c.el;let l=Se(o,{fold:e=>de(n.id,e),comment(){},errors(){},open(){}});return x.heads.set(n.id,{sig:s,el:l}),l},onPostRender(e,t,n,r){let i=e;if(n===`unmount`){g.get(i)?.(),g.delete(i);return}g.has(i)?nt(i):g.set(i,se(i,r.item.id))}},me=()=>{let t=e.v.clientWidth;if(!x.viewer||!t)return;let n=Ft(),r=n===`auto`?t<ri?`unified`:`split`:n;r!==S.diffStyle&&(S.diffStyle=r,x.viewer.setOptions({...S}))},he=new ResizeObserver(me);Zt(`diff-layout`,me,f.abort.signal);let _e=e=>{let t=h.comments||[],n=h.draft,r=n&&n.key===h.doc?.key?n:null,i=new Map,a=(t,n)=>{let r=e.rows[Math.min(t,e.rows.length-1)];if(!r)return;let a=i.get(r.id)??[];i.set(r.id,a),a.push({side:r.side,lineNumber:r.line,metadata:n})};for(let e of t)a(e.line_end,{comment:e});return r&&a(r.end,{draft:r}),{by:i,sig:t.map(e=>`${e.id}:${e.line_end}:${e.text}`).join(`|`)+(r?`|d${r.start}-${r.end}`:``),drafting:!!r}},ve=()=>{let t=h.patch;if(!t){x.shown&&(x.shown=null,x.items=[],x.heads.clear(),x.viewer?.setItems([]),l(``,null));return}let n=x.viewer;n||(n=x.viewer=new Ye(S,Ke()),n.setup(e.v),he.observe(e.v)),me();let r=t!==x.shown,i=_e(t);if(r)x.shown=t,x.heads.clear(),x.annSig=i.sig,x.items=t.files.map(e=>({id:e.id,type:`diff`,fileDiff:e.fileDiff,annotations:i.by.get(e.id)??[],version:1})),n.setItems(x.items),n.scrollTo({type:`position`,position:0,behavior:`instant`});else if(i.sig!==x.annSig){x.annSig=i.sig;for(let e of x.items){let t=i.by.get(e.id)??[];(t.length||e.annotations?.length)&&(e.annotations=t,e.version=(e.version??0)+1,n.updateItem(e))}i.drafting||n.clearSelectedLines()}if(r||h.findJump!==x.jumped){x.jumped=h.findJump;let e=h.patchHit;l(h.findQuery,e,Le(h.patchHits)??void 0),e&&(x.items.find(t=>t.id===e.key)?.collapsed&&de(e.key,!1),n.scrollTo(e.line?{type:`line`,id:e.key,lineNumber:e.line,side:e.side||`additions`,align:`center`,behavior:`instant`}:{type:`item`,id:e.key,behavior:`instant`}))}},ye=jt(e=>{m.themeType=e,_.setOptions({...m}),S.themeType=e,x.viewer?.setOptions({...S})}),be=new WeakMap,xe=0,Ce=e=>{let t=be.get(e);return t||be.set(e,t=++xe),t},we=()=>{for(let e of f.hosts)pe(e,f.list,`file`)},Te=(t,n=!1)=>{let r=t?.kind===`text`&&St()&&!$r(t.key)?{...H(t.key),rev:`worktree`}:null,i=r?`${Ce(t)}|${h.docChecked}`:``;if(i===f.sig&&!n)return;let a=!!r&&t.key===f.key;if(f.sig=i,f.key=r?t.key:``,f.ctl?.abort(),f.ctl=null,f.retry&&clearTimeout(f.retry),f.retry=0,!a&&f.list.length&&(f.list=[],we()),!r)return;let o=f.ctl=new AbortController;fe(e.ab,[r],(e,t)=>{if(i===f.sig){if(t.length){f.retry=setTimeout(()=>{f.retry=0,h.active&&i===f.sig&&Te(h.doc,!0)},Qr);return}f.list=e.get(ae(r))??[],we()}},o.signal)},Ee=()=>{h.active&&Te(h.doc,!0)};return Zt(`lsp`,Ee,f.abort.signal),Zt(`lsp-off`,Ee,f.abort.signal),nr(Ee,f.abort.signal),{viewer:_,intel:p,mdBox:y,syncMd:le,patchBox:x,patchRo:he,syncPatch:ve,loadProblems:Te,probBox:f,unsubScroll:ie,lineBox:v,unregTheme:ye,hostUnregs:g,cards:o,sessionsKey:i(n()),shown:null,item:null,itemId:``,annSig:``,n:0,nonce:-1,backDone:null,jumped:e.cc,warmKey:``,warmTimer:0}},onUpdate:function(){let t=i(this.sessions||[]);if(t!==this.sessionsKey){this.sessionsKey=t;for(let e of this.cards.values())p(e)}let n=this.doc;this.active&&this.loadProblems(n);let r=this.active&&n?.kind===`text`&&!$r(n.key)?n.key:``;r!==this.warmKey&&(this.warmKey=r,this.warmTimer&&clearTimeout(this.warmTimer),r&&(this.warmTimer=setTimeout(()=>{this.warmKey===r&&ze(e.ab,[H(r)])},1e3)));let a=this.shown,o=n!==this.shown;if(o){let e=n?.kind===`text`&&n.reload&&this.shown?.key===n.key?this.viewer.getScrollTop():null;this.shown=n,this.intel.close(),this.itemId=n?.kind===`text`?`${n.key}#${++this.n}`:``,this.item=n?.kind===`text`?{id:this.itemId,type:`file`,file:{name:H(n.key).path,contents:n.contents},annotations:[],version:1}:null,this.annSig=``,this.cards.clear(),this.viewer.setItems(this.item?[this.item]:[]),e!=null&&this.viewer.scrollTo({type:`position`,position:e,behavior:`instant`})}let s=this.comments||[],c=this.draft,u=c&&n?.kind===`text`&&c.key===n.key?c:null,d=this.mdOn||!!this.patch,f=d?`elsewhere`:s.map(e=>`${e.id}:${e.line_end}:${e.text}`).join(`|`)+(u?`|d${u.start}-${u.end}`:``);this.item&&f!==this.annSig&&(this.annSig=f,this.item.annotations=d?[]:[...s.map(e=>({lineNumber:e.line_end,metadata:{comment:e}})),...u?[{lineNumber:u.end,metadata:{draft:u}}]:[]],this.item.version=(this.item.version??0)+1,this.viewer.updateItem(this.item),u||this.viewer.clearSelectedLines());let m=this.line??null;if(n?.kind===`text`&&(o&&!n.reload||this.revealNonce!==this.nonce)){this.nonce=this.revealNonce;let e=this.itemId,t=this.back;t&&t!==this.backDone&&t.file===n.key?(this.backDone=t,requestAnimationFrame(()=>{this.itemId===e&&this.viewer.scrollTo({type:`position`,position:t.top,behavior:`instant`})})):m?requestAnimationFrame(()=>{this.itemId===e&&(this.viewer.scrollTo({type:`line`,id:e,lineNumber:m,align:`center`,behavior:`instant`}),this.viewer.setSelectedLines({id:e,range:{start:m,end:m}}))}):o&&this.viewer.scrollTo({type:`position`,position:0,behavior:`instant`})}if(this.findJump!==this.jumped&&!this.patch){this.jumped=this.findJump;let e=this.findQuery,t=this.findLine,r=this.itemId;if(!e||!t||n?.kind!==`text`)l(e,null,r?[r]:[]);else{let i={key:r,path:n.key,repo:H(n.key).worktree,line:t,side:`additions`,preview:``};l(e,i,[r]),this.viewer.scrollTo({type:`line`,id:r,lineNumber:t,align:`center`,behavior:`instant`})}}this.syncMd(a),this.syncPatch()},onDestroy:function(){this.mdBox.view?.destroy(),this.patchRo.disconnect(),this.patchBox.viewer?.cleanUp();for(let e of this.hostUnregs.values())e();l(``,null),this.warmTimer&&clearTimeout(this.warmTimer),this.probBox.abort.abort(),this.probBox.ctl?.abort(),this.probBox.retry&&clearTimeout(this.probBox.retry);for(let e of this.probBox.hosts)ue(e);this.probBox.hosts.clear(),this.intel.destroy(),this.unsubScroll(),clearTimeout(this.lineBox.timer),this.unregTheme(),this.viewer.cleanUp();let e=window;(e.__INSTANCE===this.viewer||e.__INSTANCE===this.patchBox.viewer)&&(delete e.__INSTANCE,delete e.__TOGGLE)}},1)),K=C(209,bc,23),xc=N(101,e=>{fd(e,e.c3?.files),K(e)}),Sc=e=>{xc(e,e.bf===`text`&&ti(e.bg)?ve(e.bh,e.bg):null)},Cc=N(210,G),wc=C(184,e=>Cc(e,mf(e)),3),Tc=N(183,e=>{wc(e),G(e)}),Ec=C(133,e=>Tc(e,hf(e)),4),Dc=k(`x93`,e=>{e.az&&e.az!==e.be?.key?e.ds(e.az):!e.az&&e.be&&q(e,null)}),Oc=C(163,Dc,2),q=E(76,e=>{nd(e,e.be?.kind),id(e,e.be?.key),ad(e,e.be?.contents),od(e,e.be?.src),sd(e,e.be?.size),cd(e,e.be?.why),Sc(e),Ec(e),Oc(e),K(e)}),kc=E(83,e=>{Ec(e),K(e)}),Ac=O(22,`<div aria-hidden=true><span></span></div>`,` D `,mi),jc=(e,t)=>{M(e.t,[`_hB`,t&&`_h0`]),M(e.u,[`_fC`,t&&`_h0`]),M(e.v,[`_hB`,t&&`_h0`]),Ac(e,+!t)},Mc=C(85,e=>jc(e,e.bm&&!!e.az&&e.bg!==e.az),2),Nc=E(84,Mc),Pc=O(14,un,(e=>`/${e}&`)(sn),Qa),Fc=F(Xa),Ic=E(86,e=>{Pc(e,+!e.bo),Fc(e)}),Lc=E(87,e=>he(e.z,e.bp)),Rc=N(197,e=>dt(e,e.er)),zc=C(91,e=>Rc(e,gf(e))),Bc=E(90,e=>{zc(e),G(e),Va(e)}),Vc=E(92,Ha),Hc=N(185,e=>{Od(e,e.ef?.length),K(e)}),Uc=C(94,e=>Hc(e,(()=>{let t=e.bv.trim();if(!t||e.bf!==`text`)return[];let n=/[A-Z]/.test(t),r=n?t:t.toLowerCase(),i=[],a=e.bh.split(`
|
|
7
|
+
`);for(let e=0;e<a.length&&i.length<1e3;e++)(n?a[e]:a[e].toLowerCase()).includes(r)&&i.push(e+1);return i})()),2),Wc=N(187,e=>{kd(e,e.eh?.length),K(e)}),Gc=C(109,e=>Wc(e,e.c7?Oe(e.ca,e.bv):[]),2),Kc=E(93,e=>{Uc(e),Gc(e),K(e)}),qc=E(95,e=>{K(e),Ga(e)}),Jc=N(192,qa),Yc=C(191,e=>Jc(e,_f(e))),Xc=N(190,e=>{Yc(e),Ka(e)}),Zc=C(189,e=>Xc(e,e.c0?e.c1:e.c7?e.ei:e.eg),4),Qc=C(107,e=>P(e.t,`hidden`,e.bf!==`text`||e.c0||e.c7),2),$c=N(98,e=>{P(e.u,`hidden`,!e.c0),Zc(e),Qc(e),K(e)}),el=C(97,e=>$c(e,e.bf===`text`&&ei(e.bg)&&e.by===`preview`),2),tl=F(Ma),nl=E(96,e=>{el(e),tl(e)}),rl=E(99,Zc),il=N(108,Gc),al=C(106,e=>il(e,e.c7?e.c4.map(e=>({key:e.id,path:e.fileDiff.name,repo:``,patch:[...e.fileDiff.deletionLines,...e.fileDiff.additionLines].join(``),fileDiff:e.fileDiff})):[])),ol=N(105,e=>{P(e.v,`hidden`,!e.c7),al(e),Gc(e),Zc(e),Qc(e),K(e)}),sl=C(104,e=>ol(e,!!e.c5&&e.c2===`diff`)),cl=F(Ta),ll=E(100,e=>{sl(e),cl(e)}),ul=E(110,e=>{Yc(e),K(e)}),J=C(151,e=>re(e.e,{filter:e.cd,filterChange:yf(e),shown:e.dg,total:e.dd,onOpen:vf(e)}),5),dl=E(111,e=>{Vr(e.y,e.cd),Us(e),J(e)}),fl=N(206,e=>{zr(e.y,xf(e)),ke(e.z,bf(e)),K(e)}),pl=C(205,e=>fl(e,Sf(e)),3),ml=C(114,e=>Ur(e.y,e.ce+(e.af??0)+e.cf),2),hl=E(112,e=>{pl(e),ml(e),K(e)}),gl=E(113,e=>{J(e),ml(e)}),_l=k(`x96`,e=>Ad(e,e.bf===`text`&&!e.ch)),vl=C(117,_l),yl=k(`x95`,e=>{e.bq&&(e.bf!==`text`||e.en&&(!e.an||e.ch))&&$(e,!1)}),bl=C(194,yl,4),xl=C(116,e=>{M(e.a,[`_hh`,{_hi:e.ch||!e.ax}]),Pr(e.y,e.ch||!e.ax)}),Sl=E(115,e=>{vl(e),bl(e),xl(e),J(e)}),Cl=k(`x100`,e=>{{let t=e.af??0;t!==e.ck&&(Tl(e,t),(e.ax!==e.cl||e.b1)&&Sl(e,!1)),El(e,e.ax??null)}}),wl=C(120,Cl,4),Tl=E(118,wl),El=E(119,wl),Dl=E(121,e=>{Xo(e),oo(e)}),Ol=N(159,Ca),kl=C(157,e=>Ol(e,Cf(e)),2),Al=k(`x92`,e=>{e.dm(),e.do(),e.dw()}),jl=C(167,Al,2),Ml=N(156,e=>{kl(e),jl(e),wc(e),G(e)}),Nl=C(155,e=>Ml(e,wf(e)),2),Pl=N(122,Nl),Fl=N(158,e=>{jl(e),wc(e),G(e)}),Il=C(124,e=>Fl(e,Tf(e))),Ll=N(123,Il),Rl=N(162,Oc),zl=C(126,e=>Rl(e,Ef(e))),Bl=N(164),Vl=C(127,e=>Bl(e,Df(e)),2),Hl=N(125,e=>{zl(e),Vl(e),Ec(e)}),Ul=N(181,K),Wl=N(182,K),Y=C(180,e=>{Ul(e,Of(e)),Wl(e,kf(e))},5),Gl=F(Ms,ys),Kl=N(169,e=>{Ue(e.j,jf(e)),Ie(e.j,Af(e)),Y(e),K(e),Gl(e)}),X=C(168,e=>Kl(e,{workspaceId:e.ab,seq:e.cw,list:Lf(e),set:If(e),sections:Ff(e),reload:Pf(e),handed:Nf(e),fail:Mf(e)}),5),ql=N(172,K),Jl=N(173,e=>{Ed(e,e.e3?.length),ks(e)}),Yl=N(176,e=>{Dd(e,e.e6?.length),Fs(e)}),Xl=C(171,e=>{ql(e,e.az?e.cu.filter(t=>`${b(t.worktree)}/${t.path}`===e.e0&&(t.side===`file`||t.side===`additions`)&&t.line_end>0):[]),Jl(e,e.az?e.cu.filter(t=>`${b(t.worktree)}/${t.path}`===e.e0&&t.side===`deletions`):[]),Yl(e,e.az?e.cu.filter(t=>`${b(t.worktree)}/${t.path}`===e.e0&&t.side!==`deletions`&&t.line_end<=0):[])},2),Zl=E(128,e=>{gd(e,e.cu?.length),X(e),Xl(e)}),Ql=N(166,e=>{X(e),jl(e),wc(e),G(e)}),$l=C(131,e=>Ql(e,Rf(e))),eu=N(130,e=>{$l(e),X(e)}),Z=E(132,e=>{Y(e),Ec(e),K(e)}),tu=k(`x99`,e=>{(e.ag??0)!==e.d0&&(ru(e,e.ag??0),Lc(e,!0))}),nu=C(135,tu),ru=E(134,nu),iu=N(154,Nl),au=E(160,cc),ou=E(165,X),su=N(179,Y),cu=k(`x94`,e=>Ce(e.es,Ls(e),!!e.bq,e.en,Ra(e))),lu=C(199,cu,2),uu=E(193,e=>{bl(e),lu(e),Ja(e)}),du=N(198,lu),fu=k(`x88`,e=>{e.an&&window.addEventListener(`keydown`,t=>{Yn(t,`openInFiles`)&&e.fm()&&(t.preventDefault(),t.stopPropagation())},{capture:!0,signal:vt(e,3)})}),pu=C(229,e=>{yt(e,3),fu(e)}),mu=N(228,pu),Q=C(214,e=>mu(e,Bf(e)),6),hu=N(204,e=>{pl(e),Q(e)}),gu=C(203,e=>hu(e,Vf(e)),3),_u=E(202,e=>{gu(e),Q(e)}),vu=F(xo),yu=E(213,e=>{Id(e,e.f7?.binary),Ld(e,e.f7?.additions),Rd(e,e.f7?.deletions),W(e),Q(e),vu(e)}),bu=k(`x102`,e=>{Rs(e,qn()),Gn(()=>{Rs(e,qn())},vt(e,0));{let t=matchMedia(ln);t.addEventListener(`change`,()=>{uu(e,t.matches)},{signal:vt(e,1)})}L(e.m,`click`,function(){Lc(e,!0)})});function xu(e){yt(e,0),yt(e,1),M(e.b,`_hj`),M(e.c,`_fH`),ie(e.d),S(e.d,`files`),u(e.e),M(e.i,[`_fK`,`_hz`]),Ee(e.j),M(e.k,`_hw`),M(e.m,ot),Hn(e.n),Vn(e.n,14),Wn(e.n),M(e.p,`_hA`),jr(e.y),ye(e.z),Ve(e.z,Hf(e)),Ge(e.z),Rs(e,0),Bs(e,0),lc(e,null),vc(e,null),yc(e,!1),q(e,null),kc(e,0),Nc(e,!1),Ic(e,null),Lc(e,!1),Bc(e,0),Vc(e,``),Kc(e,``),qc(e,0),nl(e,Ht()),rl(e,0),ll(e,en()),ul(e,0),dl(e,``),hl(e,0),gl(e,0),Sl(e,!1),Tl(e,0),El(e,null),Dl(e,``),Pl(e,{issued:0,applied:0}),Ll(e,{issued:0,applied:0}),Hl(e,{issued:0,applied:0}),Zl(e,[]),eu(e,{issued:0,applied:0}),Z(e,null),ru(e,0),iu(e,{running:null,joinable:!1,again:!1}),au(e,null),ou(e,null),su(e,zf),uu(e,wt()),du(e,{home:null,raf:0,open:!1,docked:!1,lost:null}),_u(e,null),yu(e,null),bu(e)}var Su=N(170,Xl),Cu=O(17,`<section aria-label="Comments on the file"><div><span>Comments on the file</span></div><!></section>`,` D b%`,Is),wu=C(178,e=>Cu(e,e.az&&e.bg===e.az&&e.e7?0:1),2),Tu=O(18,`<section aria-label="Comments on removed lines"><div><span>Comments on removed lines</span><a>Show in Diff</a></div><!></section>`,` D Db l%`,Es),Eu=C(175,e=>Tu(e,e.az&&e.bg===e.az&&e.e4?0:1),2),Du=k(`x101`,e=>{e.az,Bs(e,0)}),Ou=N(61,e=>{Su(e,e.az?`${b(H(e.az).worktree)}/${H(e.az).path}`:null),cc(e),Xl(e),Oc(e),Mc(e),nc(e),W(e),Q(e),wu(e),Eu(e),Xs(e),Ds(e),Wo(e),Vo(e),Du(e)}),ku=N(62,Qs),Au=O(6,((e,t)=>`<span><button type=button title="File tree" aria-label="Back to the file tree">${e}</button>${t}</span>`)(cr,Gr),((e,t)=>` D D/${e}&l/${t}&l`)(lr,Wr),ts),ju=O(16,(e=>`<div>${e}</div>`)(Gr),(e=>` D/${e}&l`)(Wr),Qo),Mu=D(59,e=>{Rr(e.y,e.ax),Ou(e,e.ax&&!e.ax.endsWith(`/`)?e.ax:null),ku(e,e.ax?.endsWith(`/`)?e.ax:null),Au(e,+!e.ax),ju(e,+!e.ax),wl(e),gu(e),xl(e),J(e),$o(e),Zo(e)}),Nu=C(30,e=>Mu(e,e.a2,e.a3)),Pu=N(28,Nu),Fu=N(29,Nu),Iu=D(63,e=>{wl(e),W(e),Q(e),K(e)}),Lu=C(33,e=>Iu(e,e.a5,e.a6)),Ru=N(31,Lu),zu=N(32,Lu),Bu=D(65,e=>{Vu(e,e.b3?.key),Hu(e,e.b3?.line),Uu(e,e.b3?.section)}),Vu=N(67,W),Hu=N(68,W),Uu=N(69,W),Wu=C(36,e=>Bu(e,e.a8,e.a9)),Gu=N(34,Wu),Ku=N(35,Wu),qu=E(73,e=>{gc(e),dc(e),kl(e),G(e)}),Ju=E(200,e=>{Je(e.z,e.eu),Ks(e)}),Yu=N(207,F(Hi)),Xu=F(ua,ia,Qi,Gi,Pi),Zu=N(208,e=>{K(e),Xu(e)}),Qu=N(37,e=>{qu(e,Ot(e.ab)),Ju(e,It(e.ab)),Yu(e,Uf(e)),Zu(e,Wf(e)),gc(e),Nl(e),Il(e),kl(e),zl(e),Vl(e),$l(e),X(e),Ec(e),pl(e),G(e),nc(e),K(e),Ts(e),ds(e)}),$u=O(10,Rn,(e=>`0${e}&`)(vn),Ba),ed=O(11,(e=>`<button type=button aria-label="Find in file">${e}</button>`)(Kt),(e=>` D/${e}&l`)(Rt),cs),td=F(fo),nd=N(77,e=>{$u(e,e.bf===`text`?0:1),ed(e,e.bf===`text`?0:1),el(e),Y(e),Uc(e),vl(e),bl(e),zc(e),gu(e),G(e),Qc(e),Xs(e),td(e)}),rd=F(mo),id=N(78,e=>{el(e),Vl(e),Y(e),gu(e),G(e),Mc(e),wu(e),Eu(e),ms(e),Jo(e),rd(e)}),ad=N(79,e=>{Y(e),Uc(e),G(e)}),od=N(80,e=>{Yo(e),Uo(e),ro(e),to(e)}),sd=N(81,hs),cd=N(82,$a),$=D(88,e=>{bl(e),lu(e),ls(e),za(e)}),ld=C(40,e=>$(e,e.ac,e.ad)),ud=N(38,ld),dd=N(39,ld),fd=N(102,e=>{md(e,e.c4?.length),al(e)}),pd=F(ho),md=N(103,e=>{sl(e),pd(e)}),hd=N(41,e=>{wl(e),ml(e),K(e)}),gd=N(129,e=>Te(e.j,e.cv)),_d=N(42,nu),vd=O(5,n,(e=>`/${e}&`)(Ae),xa),yd=O(7,`<span></span>`,` `,bi),bd=(e,t)=>{vd(e,t>1?0:1),yd(e,+(t>1))},xd=N(43,pc),Sd=N(44,pc),Cd=N(147,J),wd=N(150,J),Td=N(45,X),Ed=N(174,Eu),Dd=N(177,wu),Od=N(186,Zc),kd=N(188,Zc),Ad=D(195),jd=C(48,e=>Ad(e,e.ak,e.al)),Md=N(46,jd),Nd=N(47,jd),Pd=N(49,e=>{bl(e),G(e),pu(e),K(e)}),Fd=N(50,e=>{pl(e),Q(e)}),Id=N(230,F(Oi)),Ld=N(231,F(ji,xi)),Rd=N(232,F(Mi,Ci)),zd=N(217,as),Bd=N(221,e=>{Vd(e,e.ff?.length),Mo(e)}),Vd=N(226,Ro),Hd=N(222,e=>{Ud(e,e.fg?.length),Po(e)}),Ud=N(225,Lo),Wd=F(Yi),Gd=N(223,e=>{Kd(e,e.fh?.length),Wd(e)}),Kd=N(224,Io),qd=N(51,Q),Jd=(e,t)=>de(e.d,t),Yd=(e,t)=>m(e.d,t),Xd=(e,t)=>x(e.d,t),Zd=F(As,_s),Qd=N(55,e=>{De(e.j,e.at),K(e),Zd(e)}),$d=(e,t)=>Nr(e.y,t??!0),ef=N(57,K),tf=(e,t)=>{Pu(e,t.file),Fu(e,t.fileChange),Ru(e,t.line),zu(e,t.lineChange),Gu(e,t.diffAt),Ku(e,t.diffAtChange),Qu(e,t.workspaceId),ud(e,t.findOpen),dd(e,t.findOpenChange),hd(e,t.revealNonce),_d(e,t.goNonce),xd(e,t.workspaceBranch),Sd(e,t.workspaceName),Td(e,t.onSent),Md(e,t.findable),Nd(e,t.findableChange),Pd(e,t.active),Fd(e,t.onJump),qd(e,t.onOpenDiff),Jd(e,t.changesHref),Yd(e,t.allHref),Xd(e,t.filesHref),Qd(e,t.sessions),$d(e,t.treeOpen),ef(e,t.back)},nf=e=>function(){Kc(e._,``),l(``,null)},rf=e=>t=>{$(e._,t)},af=e=>function(t){e._.em(e._.bx+t)},of=e=>function(t){Kc(e._,t),e._.em(0)},sf=e=>function(){Ic(e._,null)},cf=e=>(t,n)=>te(e._._.dz,t,n),lf=e=>(t,n)=>ne(e._._.dz,t,n),uf=e=>t=>je(e._._.dz,t),df=e=>(t,n)=>te(e._._.dz,t,n),ff=e=>(t,n)=>ne(e._._.dz,t,n),pf=e=>t=>je(e._._.dz,t),mf=e=>()=>{e.dm(),e.do(),e.ed(),e.dw()},hf=e=>async()=>{let t=e.be;if(t?.kind!==`text`&&t?.kind!==`none`&&t?.kind!==`binary`||e.cy)return;let n=Pt(e.cr),{worktree:r,path:i}=H(t.key);try{let a=await z(`/api/workspaces/${e.ab}/diff/contents?worktree=${encodeURIComponent(r)}&path=${encodeURIComponent(i)}&rev=worktree`);if(!R(e.cr,n)||e.be!==t||e.cy)return;let o=Zr(t.key,a);o.kind===`text`&&t.kind===`text`?o.contents===t.contents?kc(e,+e.bl+1):q(e,{...o,reload:!0}):(o.kind!==t.kind||o.kind===`binary`&&t.kind===`binary`&&o.size!==t.size)&&q(e,o)}catch{}},gf=e=>()=>{e.bf===`text`&&($(e,!0),Bc(e,+e.bs+1),Ra(e)())},_f=e=>t=>{let n=e.ek;qc(e,n?(t%n+n)%n:0),ul(e,+e.cc+1)},vf=e=>function(){e.ax&&!e.ch&&wt()&&(Sl(e,!0),gl(e,+e.cf+1))},yf=e=>t=>{dl(e,t)},bf=e=>function(t,n){e.f0(t,n)},xf=e=>function(t){e.f0(t)},Sf=e=>(t,n)=>{e.ao?.(e.ey()),Mu(e,t),Iu(e,n||null),Sl(e,!1),hl(e,+e.ce+1),!t.endsWith(`/`)&&(zt(e.ab,t),Ju(e,It(e.ab)))},Cf=e=>t=>{let n=t??`*`;n!==e.bb&&(qu(e,n),rn(e.ab,n),e.dm())},wf=e=>()=>Un(e.dk,async()=>{let t=Dt(e.co),n=Ot(e.ab),r=n&&/[@#]/.test(n)?`?section=${encodeURIComponent(n)}`:``;try{let n=await z(`/api/workspaces/${e.ab}/files${r}`);R(e.co,t)&&lc(e,n)}catch(n){R(e.co,t)&&Ic(e,`Loading files failed: ${kt(n)}`)}}),Tf=e=>async()=>{let t=Dt(e.cp);try{let n=await z(`/api/workspaces/${e.ab}/sections`);R(e.cp,t)&&(vc(e,n),yc(e,!1))}catch{}},Ef=e=>async t=>{let n=Dt(e.cr),{worktree:r,path:i}=H(t),a=`worktree=${encodeURIComponent(r)}&path=${encodeURIComponent(i)}&rev=worktree`,o=Ln(i);if(Dl(e,``),o){q(e,{key:t,kind:o.kind,src:`/api/workspaces/${e.ab}/diff/blob?${a}&t=${n}`});return}Nc(e,!0);try{let r=await z(`/api/workspaces/${e.ab}/diff/contents?${a}`);if(!R(e.cr,n))return;q(e,Zr(t,r))}catch(r){R(e.cr,n)&&q(e,{key:t,kind:`none`,why:`Open failed: ${kt(r)}`})}finally{R(e.cr,n)&&Nc(e,!1)}},Df=e=>async t=>{let n=Pt(e.cr),{worktree:r,path:i}=H(t),a;try{({size:a}=await z(`/api/workspaces/${e.ab}/diff/contents?worktree=${encodeURIComponent(r)}&path=${encodeURIComponent(i)}&rev=worktree`))}catch{}R(e.cr,n)&&e.bg===t&&q(e,r===V&&a!=null?{key:t,kind:`binary`,size:a}:{key:t,kind:`none`,why:`This image can't be shown here.`})},Of=e=>async t=>{let n=e.cy;Z(e,null),n&&e.bf===`text`&&e.bg===n.key&&!await s(e.dz,e.e9(n,e.bh,t))&&!e.cy&&Z(e,n)},kf=e=>(t,n)=>{let r=e.cy;return!r||!t.trim()||e.bf!==`text`||e.bg!==r.key?Promise.resolve(!1):g(e.dz,e.e9(r,e.bh,t),n)},Af=e=>t=>Ne(e.dz,{session:t}),jf=e=>()=>Ne(e.dz,{clipboard:!0}),Mf=e=>t=>{Ic(e,t)},Nf=e=>t=>{`session`in t&&e.aj?.(t.session),Z(e,null)},Pf=e=>()=>void e.dw(),Ff=e=>()=>e.dv,If=e=>t=>{Zl(e,t)},Lf=e=>()=>e.cu,Rf=e=>async()=>{try{let t=await r(e.ab,e.cw);if(!t)return;Zl(e,t),ou(e,await v(e.ab,t))}catch{}};function zf(e,t,n){return{...H(e.key),side:`file`,line_start:e.start,line_end:e.end,text:n.trim(),snippet:d(t,e.start,e.end,`file`)}}var Bf=e=>()=>{let t=e.f7;if(!t||t.file!==e.az)return!1;let n=t.file.slice(t.file.indexOf(`/`)+1);return e.ao?.(e.ey()),e.ap?.(`${t.section}/${n}`,e.ew?.line()||e.b1||null),!0},Vf=e=>()=>e.bf===`text`?{view:`files`,file:e.bg,top:e.ew?.top()??0}:e.ax?{view:`files`,file:e.ax,top:0}:null,Hf=e=>t=>{Lc(e,t)},Uf=e=>t=>{let{worktree:n,path:r}=H(t);return`/api/workspaces/${e.ab}/diff/blob?${new URLSearchParams({worktree:n,path:r,rev:`worktree`})}`},Wf=e=>t=>fn`${{search:{file:t}}}/w/${e.ab}/files`;A.x31=nf,A.x28=rf,A.x30=af,A.x29=of,A.x32=sf,A.x38=cf,A.x37=lf,A.x36=uf,A.x35=df,A.x34=ff,A.x33=pf,A.x22=mf,A.x15=hf,A.x17=gf,A.x16=_f,A.x25=vf,A.x24=yf,A.x41=bf,A.x39=xf,A.x19=Sf,A.x2=Cf,A.x0=wf,A.x1=Tf,A.x3=Ef,A.x4=Df,A.x13=Of,A.x14=kf,A.x27=Af,A.x26=jf,A.x11=Mf,A.x10=Nf,A.x9=Pf,A.x8=Ff,A.x7=If,A.x6=Lf,A.x5=Rf,A.x12=zf,A.x23=Bf,A.x18=Vf,A.x40=Hf,A.x20=Uf,A.x21=Wf;var Gf=nn(`x`,Kr,qr,xu,tf);export{tf as $input,Pd as $input_active,Yd as $input_allHref,ef as $input_back,Jd as $input_changesHref,Gu as $input_diffAt,Ku as $input_diffAtChange,Pu as $input_file,Fu as $input_fileChange,Xd as $input_filesHref,ud as $input_findOpen,dd as $input_findOpenChange,Md as $input_findable,Nd as $input_findableChange,_d as $input_goNonce,Ru as $input_line,zu as $input_lineChange,Fd as $input_onJump,qd as $input_onOpenDiff,Td as $input_onSent,hd as $input_revealNonce,Qd as $input_sessions,$d as $input_treeOpen,xd as $input_workspaceBranch,Qu as $input_workspaceId,Sd as $input_workspaceName,xu as $setup,Kr as $template,qr as $walks,Gf as default};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_allHref as e}from"./_CtJxOdxu.js";export{e as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ln as e}from"./_IQWpC4d2.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"')}])([^\\\\t\\\\n\\\\r \\"\\\\&');->\`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|('))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*(('))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=\`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;\`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\['\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}`))];export{t as n,n as t};
|
|
1
|
+
import{ln as e}from"./_DCAqomRE.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"')}])([^\\\\t\\\\n\\\\r \\"\\\\&');->\`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|('))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*(('))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=\`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;\`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\['\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}`))];export{t as n,n as t};
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{C as e,Mt as t,S as n,T as r,U as i,W as a,it as ee,kt as te,w as o,x as ne,y as re}from"./
|
|
2
|
-
`}function lt(e){let t=String(e??``).trim();if(!t)throw Error(`paste a workspace invite`);let n;try{n=JSON.parse(t)}catch{throw Error(`not an invite (expected JSON)`)}if(!n||typeof n!=`object`)throw Error(`not an invite`);if(Array.isArray(n.workspaces)){if(n.workspaces.length!==1)throw Error(n.workspaces.length?`this is a whole backup — restore it from Settings → Backup, or paste one workspace entry`:`this backup holds no workspaces`);if(n=n.workspaces[0],!n||typeof n!=`object`)throw Error(`not an invite`)}let r=String(n.branch??``).trim();if(!r)throw Error(`the invite has no branch`);if(!it.test(r))throw Error(`not a branch name: ${r}`);let i=Array.isArray(n.repos)?n.repos:[],a=[];for(let e of i){let t=st(e);if(!t)throw Error(`not a repo: ${JSON.stringify(e)}`);a.includes(t.full_name)||a.push(t.full_name)}if(!a.length)throw Error(`the invite lists no repos`);return{name:String(n.name??``).trim()||r,branch:r,repos:a}}var ut=de,dt=(e=>`/${e}&`)(Te);function ft(e){_e(e.a,`M1 20V19C1 15.134 4.13401 12 8 12C11.866 12 15 15.134 15 19V20 M13 14C13 11.2386 15.2386 9 18 9C20.7614 9 23 11.2386 23 14V14.5 M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z`)}var pt=(e,t)=>Ee(e.a,t),mt=(e,t)=>me(e.a,t),M=`<div></div>`,ht=e=>h(e.a,`_dk`),gt=e=>h(e.a,`_bp`),_t=s(2,e=>m(e.b,e._.m-e._.o)),vt=l(6,1,_t),yt=e=>{vt._(e),bt._(e),h(e.a,`_dk`)},bt=l(6,1,_t),xt=e=>{h(e.a,`_dk`),h(e.b,`_bi`)},St=y(18,e=>se(e,`a`,e._._.k,on(e)),e=>e._._,`j2`),Ct=f(`j1`,e=>ue(e,`a`)),wt=e=>{St(e),h(e.a,n),Ct(e)},Tt=d(3,`<span>default</span>`,` `,gt),N=y(17,e=>Tt(e,e.M===e._._.j?0:1),e=>e._._,`j4`),Et=f(`j3`,e=>b(e.a,`click`,function(){e._._.g(e.M,e.M===e._._.j)})),Dt=e=>{N(e),Ot._(e),h(e.a,[o,`_kZ`]),m(e.c,e.M),Et(e)},Ot=ie(5,16,`M`,e=>h(e.b,[`_kV`,`_3`,{_kW:e.M===e._.q}])),kt=g(16,Ot),At=s(7,e=>kt(e,e._.f??e._.j)),jt=l(0,1,At),Mt=f(`j5`,e=>b(e.c,`click`,function(){F(e._,!0),an(e._,+e._.l+1)})),Nt=e=>{jt._(e),Bt._(e),Ht._(e),Ut._(e),Wt._(e),Gt._(e),h(e.a,`_kX`),h(e.c,t),Be(e.d),ze(e.d,14),h(e.e,`_kT`),Mt(e)},Pt=c(5,`<li><button><span> </span><!></button></li>`,`D D D l%`,Dt),Ft=(e,t)=>{Yt(e,t?.length),Pt(e,[t,e=>e])},It=(e,t)=>{Jt(e,t?.length),Ft(e,t.slice(0,12))},Lt=s(10,e=>It(e,He(e._.k,e.j))),Rt=g(9,Lt),zt=s(8,e=>Rt(e,e._.j&&e._.h.includes(e._.j)?[e._.j,...e._.h.filter(t=>t!==e._.j)]:e._.h)),Bt=l(0,1,zt),Vt=d(1,`<input placeholder="Filter branches…" aria-label="Filter branches" autofocus>`,` `,wt),Ht=l(0,1,e=>Vt(e,e._.i>8?0:1)),Ut=l(0,1,e=>{zt(e),At(e)}),Wt=l(0,1,Lt),Gt=l(0,1,e=>{_(e.c,`disabled`,e._.n),Ve(e.d,e._.n&&`_bh`)}),Kt=d(6,`<li><p>No branches match.</p></li>`,`D `,ht,`<li><p><!> more — keep typing to narrow.</p></li>`,`D D%`,yt),qt=s(15,e=>Kt(e,e.o?e.m>e.o?1:2:0)),Jt=g(12,e=>{qt(e),vt(e)}),Yt=g(14,e=>{qt(e),bt(e)}),Xt=d(0,`<p><span></span> Loading branches…</p>`,` D `,xt,(e=>`<div><!><button title="Refresh branches" aria-label="Refresh branches">${e}</button></div><ul><!><!></ul>`)(Re),(e=>` D%b D/${e}&m D%b%l`)(Le),Nt),Zt=u(7,e=>{Qt(e,e.h?.length),Xt(e,+!!e.h),Bt(e)}),Qt=g(8,Ht),$t=v(N),en=u(9,e=>{Ut(e),$t(e)}),tn=v(St),nn=u(10,e=>{Wt(e),tn(e)}),rn=f(`j6`,e=>{{let t=e.l>0;be(`/api/repos/branches?repo=${encodeURIComponent(e.d)}${t?`&refresh`:``}`,{signal:ce(e,0)}).then(t=>{Zt(e,t.branches),en(e,t.defaultBranch),F(e,!1)},t=>{ce(e,0).aborted||(F(e,!1),e.e?.(ge(t)))})}}),P=s(12,e=>{le(e,0),rn(e)},2),an=u(11,P),F=u(13,Gt);function I(e){h(e.a,`_kS`),Zt(e,null),en(e,null),nn(e,``),an(e,0),F(e,!1)}var L=g(3,P),R=g(4,P),z=g(5,jt),B=g(6),on=e=>t=>{nn(e._._,t)};p.j0=on;var sn=(e=>`/${e}&`)(Qe),cn=Xe,ln=((e,t,n,r)=>`<button type=button title="Add a repo" aria-label="Add a repo">${e} Add a repo</button><div><label>${t}<input placeholder="Add a repo by name or clone URL" aria-label="Add a repo"></label><button type=button title="Refresh repo list" aria-label="Refresh repo list">${n}</button><button type=button title="Close search" aria-label="Close search">${r}</button><div data-add-pop><!><!><!><!><!></div></div>`)(S,we,Re,ye),un=((e,t,n,r)=>` D/${e}&l D D/${t}& l D/${n}&l D/${r}&l D%b%b%b%b%m`)(x,Se,Le,he),V=null,dn=e=>h(e.a,`_bi`),fn=e=>{qe(e.a),Ke(e.a,12),Je(e.a,`_kU`)},pn=e=>h(e.a,`_bi`),mn=l(4,0,e=>m(e.c,e._.j)),hn=e=>{mn._(e),h(e.a,[a,`_3`]),A(e.b),k(e.b,12),j(e.b)},gn=d(1,`<span></span>`,` `,pn,Ge,(e=>`/${e}&`)(We),fn),_n=(e,t)=>{h(e.a,[ne,{_d0:t}]),gn(e,+!t)},vn=e=>{h(e.c,`_kV`),m(e.d,C(e.M))},yn=d(4,(e=>`<span title="Base branch">${e} <!></span>`)(O),(e=>` D/${e}&b%l`)(D),hn),bn=g(9,e=>{yn(e,+!e.j),mn(e)}),xn=(e,t)=>{_n(e,t[0]?.pending),bn(e,t[0]?.baseBranch)},Sn=e=>{qe(e.a),Ke(e.a,12),Je(e.a)},Cn=e=>h(e.a,`_dk`),wn=e=>{h(e.a,`_kK`),Ce(e.b),Me(e.b,12),Ae(e.b,`_kL`)},Tn=(e,t)=>m(e.c,t),En=(e,t)=>Tn(e,t[0]?.message),Dn=e=>{h(e.a,`_kJ`),Fn._(e.b,e._)},On=s(1,e=>_(e.a,`title`,e._._.ao?`Will fork to your account; click to clone as-is instead`:`Fork ${e._._.ah} to your account and clone the fork`)),kn=y(72,On,e=>e._._,`Q17`),An=f(`Q16`,e=>b(e.a,`click`,function(){e._._.am===e._._.ah?Q(e._._,!e._._.ao):e._._.ap(e._._.ah,void 0,!0)})),jn=e=>{kn(e),Nn(e),An(e)},Mn=d(0,(e=>`${e} fork`)(Ge),(e=>`/${e}&b`)(We),Sn,`Fork`),Nn=y(75,e=>{h(e.a,[r,{_d1:e._._.ao}]),_(e.a,`aria-pressed`,e._._.ao?`true`:`false`),Mn(e,+!e._._.ao),On(e)},e=>e._._,`Q18`),Pn=y(70,e=>Ye(e.a,gi(e)),0,`Q14`),Fn=oe(e=>{Pn(e),In(e),nt(e.a),et(e.a),rt(e.a),Ze(e.a),$e(e.a)}),In=y(76,e=>tt(e.a,e._.aw),0,`Q15`),Ln=l(14,1,e=>m(e.b,e._.a4)),Rn=e=>{Ln._(e),h(e.a,`_dk`)},zn=d(0,`No repos yet`,0,0,`<span></span>Loading repos…`,` `,dn),Bn=y(67,e=>zn(e,+!e._._.z),e=>e._._,`Q26`),Vn=e=>{Bn(e),h(e.a,[ne,`_d0`])},Hn=c(6,`<li><!><span> </span><!></li>`,` D%b D l%`,vn,xn),Un=l(15,0,e=>Hn(e,[e._.ay,`name`])),Wn=e=>{Un._(e),Kn._(e),h(e.a,`_k0`),h(e.b,[`_da`,`_k1`]),h(e.c,`_dm`),h(e.d,ee),h(e.f,i)},Gn=d(7,`<li></li>`,` `,Vn),Kn=l(15,0,e=>{m(e.e,e._.az),Gn(e,+!!e._.az)}),qn=y(66,e=>R(e.a,_i(e)),e=>e._._._,`Q22`),Jn=e=>{qn(e),I(e.a),L(e.a,e._.M),B(e.a,vi(e)),z(e.a)},Yn=s(12,e=>h(e.a,[`_kO`,{_kN:e.l===e._._.a6}])),Xn=y(69,Yn,e=>e._._,`Q24`),Zn=f(`Q23`,e=>{b(e.a,`mouseenter`,function(){X(e._._,e.l)}),b(e.b,`click`,function(){e._._.ap(e.M)}),b(e.f,`click`,function(){e._._.ar(e.M)})}),Qn=e=>{Xn(e),er(e),h(e.b,o),T(e.c),w(e.c,12),E(e.c,`_kU`),h(e.d,`_kV`),m(e.e,C(e.M)),_(e.f,`title`,`Pick a base branch for ${e.M}`),_(e.f,`aria-label`,`Pick a base branch for ${e.M}`),A(e.g),k(e.g,12),j(e.g),Zn(e)},$n=d(7,M,(e=>`/${e}&`)(` b`),Jn),er=y(74,t=>{h(t.f,[e,{_d1:t._._.am===t.M}]),$n(t,t._._.am===t.M?0:1)},e=>e._._,`Q25`),tr=g(11,Yn),nr=c(0,((e,t)=>`<li><div><button>${e}<span> </span></button><button>${t}</button></div><!></li>`)(S,O),((e,t)=>`D D D/${e}& D m D/${t}&m%l`)(x,D),Qn,(e,t)=>tr(e,t[1])),rr=l(14,0,e=>nr(e,[e._.af,`nameWithOwner`])),ir=e=>{rr._(e),h(e.a,`_kM`)},ar=y(66,e=>R(e.a,yi(e)),e=>e._._,`Q19`),or=e=>{ar(e),sr(e),I(e.a),B(e.a,bi(e)),z(e.a)},sr=y(72,e=>L(e.a,e._._.ah),e=>e._._,`Q20`),cr=s(11,e=>_(e.c,`title`,e._.ao?`Fork ${e._.ah} to your account and add the fork`:`Add ${e._.ah} as-is (pushes go to that repo)`)),lr=d(9,M,(e=>`/${e}&`)(` b`),or),ur=s(10,t=>{h(t.h,[e,{_d1:t._.am===t._.ah}]),lr(t,t._.am===t._.ah?0:1)}),dr=l(13,0,e=>{m(e.f,C(e._.ah)),_(e.h,`title`,`Pick a base branch for ${e._.ah}`),_(e.h,`aria-label`,`Pick a base branch for ${e._.ah}`),cr(e),ur(e)}),fr=f(`Q21`,e=>{b(e.c,`click`,function(){e._.ap(e._.ah,void 0,e._.aq(e._.ao))}),b(e.h,`click`,function(){e._.ar(e._.ah)})}),pr=e=>{dr._(e),hr._(e),gr._(e),_r._(e),h(e.a,`_kM`),h(e.b,[`_kO`,`_kN`]),h(e.c,o),T(e.d),w(e.d,12),E(e.d,`_kU`),h(e.e,`_kV`),A(e.i),k(e.i,12),j(e.i),fr(e)},mr=d(6,`<button></button>`,` `,jn),hr=l(13,0,e=>mr(e,+!e._.al)),gr=l(13,0,ur),_r=l(13,0,cr),H=u(23,e=>{_(e.g,`disabled`,e.x),Ve(e.h,e.x&&`_bh`)}),vr=s(56,e=>_(e.f,`tabindex`,e.as&&!e.y?-1:void 0)),U=u(24,e=>{_(e.a,`hidden`,e.y),h(e.c,[`_fe`,`_fg`,`_fp`,!e.y&&`_ff`]),_(e.i,`hidden`,!e.y),vr(e)}),yr=g(41,e=>{si(e,e.af?.length),rr(e)}),W=s(40,e=>yr(e,e.z&&e.a4?Ue(e.a4,e.z?.repos,t=>e.ac(t)):[]),2),br=(e,t)=>_(e.k,`hidden`,!t),G=s(64,e=>br(e,!!(e.ah||e.ag||e.a4&&(!e.z||!e.ah)||e.ax||e.b1||e.as&&e.v)),7),xr=d(13,((e,t)=>`<ul><li><div><button>${e}<span> </span></button><!><button>${t}</button></div><!></li></ul>`)(S,O),((e,t)=>` E D D/${e}& D m%b D/${t}&m%m`)(x,D),pr,`<p>Loading repos…</p>`,` `,Cn),K=s(45,e=>xr(e,e.ah?0:e.a4&&!e.z?1:2),2),Sr=d(14,`<ul></ul>`,` `,ir,`<p>No repos match "<!>". Paste a clone URL to add any repo.</p>`,` Db%`,Rn),q=s(46,e=>Sr(e,e.ag?0:e.a4&&e.z&&!e.ah?1:2),3),Cr=v(Bn),J=u(25,e=>{$r(e,e.z?.repos),ei(e,e.z?.sso),ti(e,e.z?.unreachable),W(e),G(e),K(e),q(e),Cr(e)}),wr=g(52),Tr=g(47,e=>{wr(e,xi(e)),hr(e)}),Er=s(44,e=>Tr(e,!!e.ah&&!e.a0.some(t=>t.nameWithOwner===e.ah))),Dr=g(53),Or=s(49,e=>Dr(e,Si(e))),kr=v(sr,kn),Ar=g(43,e=>{Er(e),Or(e),G(e),K(e),q(e),dr(e),kr(e)}),jr=s(39,e=>Ar(e,(()=>{let t=Ie(e.a4);return t&&!e.ac(t)?t:null})())),Mr=c(12,(e=>`<p role=status>${e}<span><!> to add its repos.</span></p>`)(De),(e=>` D/${e}&D%m`)(Pe),wn,En),Nr=(e,t)=>{mi(e,t.length),Mr(e,[t,`host`])},Pr=s(31,e=>Nr(e,e.a4&&e.a3||[])),Y=u(30,e=>{se(e,`f`,e.a4,Ci(e)),W(e),jr(e),Pr(e),G(e),K(e),q(e),Ln(e)}),X=u(32,v(Xn)),Fr=v(In),Ir=g(58,e=>{di(e,e.aw?.length),Fr(e)}),Lr=s(35,e=>Ir(e,(e.a2||[]).filter(t=>!e.a8.has(t.org)))),Rr=u(34,Lr),zr=f(`Q28`,e=>ae(e,{onMount:function(){V&&J(e,V),e.a7(!1),e.aa();let t=new AbortController;return ke(`sso-ignored`,e.aa,t.signal),{abort:t}},onDestroy:function(){this.abort.abort()}})),Br=s(37,zr),Vr=g(36,Br),Hr=v(er),Z=u(48,e=>{Or(e),gr(e),Hr(e)}),Ur=v(Nn),Q=u(50,e=>{_r(e),Ur(e)}),Wr=g(60,e=>{fi(e,e.ay.length),Un(e)}),Gr=d(15,`<div><div><h2>Repos</h2><span> </span></div><ul><!><!></ul></div>`,` D D b D m D%b%`,Wn),Kr=s(55,e=>{Wr(e,e.as&&e.v||[]),Gr(e,e.as&&e.v?0:1)}),qr=u(54,e=>{Kr(e),G(e),vr(e)}),Jr=g(57),Yr=f(`Q27`,e=>{qr(e,pe()),b(e.a,`click`,function(){e.f.focus({preventScroll:!0}),U(e,!0)}),ue(e,`f`),b(e.f,`keydown`,function(t){t.key===`ArrowDown`?(t.preventDefault(),X(e,Math.min(e.a6+1,e.af?.length-1))):t.key===`ArrowUp`?(t.preventDefault(),X(e,Math.max(e.a6-1,0))):t.key===`Enter`?(t.preventDefault(),e.ah?e.ap(e.ah,void 0,e.aq(e.ao)):e.af[e.a6]&&e.ap(e.af[e.a6].nameWithOwner)):t.key===`Escape`&&e.a4?(t.preventDefault(),Y(e,``)):t.key===`Escape`&&(t.preventDefault(),e.av())}),b(e.g,`click`,function(){e.a7(!0)}),b(e.i,`click`,function(){e.av()})});function Xr(e){h(e.a,`_fs`),T(e.b),w(e.b,14),E(e.b),h(e.d,[`_bC`,`_fh`,`_fq`]),je(e.e),Oe(e.e,14),Ne(e.e,`_bD`),h(e.f,[`_bA`,`_bE`,`_fi`,`_fr`]),h(e.g,[te,`_k3`]),Be(e.h),ze(e.h,12),h(e.i,[t,`_fk`]),Fe(e.j),fe(e.j,14),ve(e.j),h(e.k,re),H(e,!1),U(e,!1),J(e,null),Y(e,``),X(e,0),Rr(e,new Set(xe())),Vr(e,$(e)),Z(e,null),Q(e,!1),qr(e,!1),Jr(e,wi(e)),Yr(e)}var Zr=g(38,e=>{W(e),jr(e)}),Qr=s(27,e=>Zr(e,Ti(e))),$r=g(26,e=>{Qr(e),Er(e)}),ei=g(28,Lr),ti=g(29,Pr),ni=v(Pn),ri=g(33,e=>{Br(e),ni(e)}),ii=v(ar,qn),ai=g(18,e=>{ri(e,Ei(e)),ii(e)}),oi=g(19,Qr),si=g(42,e=>{G(e),q(e)}),ci=g(51),li=g(20,e=>ci(e,Di(e))),ui=d(11,(e=>`<div>${e}</div>`)(cn),(e=>` D/${e}&l`)(sn),Dn),di=g(59,e=>{ui(e,+!e.ax),G(e)}),fi=g(61,Kn),pi=g(21,e=>{Kr(e),G(e)}),mi=g(63,G),hi=(e,t)=>{_(e.a,`disabled`,t),_(e.f,`disabled`,t)},gi=e=>function(){e._.a7(!0)},_i=e=>function(t){Z(e._._._,null),e._._._.s?.(t)},vi=e=>function(t,n){e._._._.ap(e._.M,n?void 0:t)},yi=e=>function(t){Z(e._._,null),e._._.s?.(t)},bi=e=>function(t,n){e._._.ap(e._._.ah,n?void 0:t,e._._.aq(e._._.ao))},xi=e=>t=>e.al?t:void 0,Si=e=>t=>{Z(e,e.am===t?null:t),t!==e.ah&&Q(e,!1)},Ci=e=>function(t){Y(e,t),X(e,0),Q(e,!1)},$=e=>()=>{Rr(e,new Set(xe()))},wi=e=>()=>{Y(e,``),U(e,!1),e.f.blur()},Ti=e=>t=>{if(e.t.has(t))return!0;let n=e.a0||[];if(n.some(n=>e.t.has(n.nameWithOwner)&&n.parent===t))return!0;let r=n.find(e=>e.nameWithOwner===t);return!!(r?.parent&&e.t.has(r.parent))},Ei=e=>async t=>{t&&H(e,!0);try{let n=await be(`/api/repos${t?`?refresh`:``}`);V=n,J(e,n)}catch(t){e.s?.(ge(t))}t&&H(e,!1)},Di=e=>(t,n,r)=>{Y(e,``),Z(e,null),Q(e,!1),e.u(t,n,r)};p.Q7=gi,p.Q12=_i,p.Q11=vi,p.Q10=yi,p.Q9=bi,p.Q4=xi,p.Q5=Si,p.Q8=Ci,p.Q1=$,p.Q6=wi,p.Q2=Ti,p.Q0=Ei,p.Q3=Di;export{ft as _,li as a,ct as b,un as c,B as d,L as f,pt as g,mt as h,ai as i,z as l,M as m,hi as n,Xr as o,I as p,oi as r,ln as s,pi as t,R as u,ut as v,lt as x,dt as y};
|
|
1
|
+
import{C as e,Mt as t,S as n,T as r,U as i,W as a,it as ee,kt as te,w as o,x as ne,y as re}from"./_BRgYIAAS.js";import{B as s,E as c,F as l,I as u,O as ie,P as d,R as ae,U as f,V as p,W as m,_ as oe,a as h,b as g,i as _,l as se,n as ce,r as le,u as ue,v,y,z as b}from"./_CyXOHGY9.js";import{A as de,C as fe,Ct as pe,D as me,E as he,Kn as ge,O as _e,S as ve,T as ye,Wn as be,Zt as xe,a as Se,c as Ce,i as we,j as Te,k as Ee,l as De,n as Oe,nn as ke,o as Ae,r as je,s as Me,t as Ne,u as Pe,w as Fe}from"./_ZrPby9WV.js";import{a as x,i as S,m as C,n as w,p as Ie,r as T,t as E}from"./__UkxE9lk.js";import{a as Le,i as Re,n as ze,r as Be,t as Ve}from"./_DMAsi_Bg.js";import{n as He,r as Ue}from"./_CcFCI5Av.js";import{a as We,i as Ge,n as Ke,r as qe,t as Je}from"./_5amQ7cfb.js";import{a as Ye,c as Xe,i as Ze,l as Qe,n as $e,o as et,r as tt,s as nt,t as rt}from"./_Bk1xjwxl.js";import{a as D,i as O,n as k,r as A,t as j}from"./_BT2YeLHF.js";var it=/^(?!-)[\w./+@-]+$/,at=/^(?:[\w-]+(?:\.[\w-]+)+\/)?[\w.-]+\/[\w.-]+$/,ot=/^(?!\.{1,2}$)[\w.-]+$/;function st(e){let t=``,n,r;if(typeof e==`string`){let n=e.lastIndexOf(`@`);t=n>0?e.slice(0,n):e,r=n>0?e.slice(n+1):void 0}else if(e&&typeof e==`object`){let i=e;t=String(i.repo??i.full_name??i.fullName??``),n=typeof i.dir==`string`?i.dir:void 0,typeof i.worktree==`string`&&(n=i.worktree),r=typeof i.base==`string`?i.base:void 0,typeof i.base_branch==`string`&&(r=i.base_branch)}else return null;if(t=t.trim(),!at.test(t))return null;let i=t.split(`/`);if(i.length===3){let e=i[0].toLowerCase(),n=`${i[1]}/${i[2]}`;t=e===`github.com`?n:`${e}/${n}`}return r!==void 0&&!it.test(r)||n!==void 0&&!ot.test(n)?null:{full_name:t,worktree:n||t.split(`/`).at(-1),base_branch:r||``,default_branch:e&&typeof e==`object`&&typeof e.default_branch==`string`?e.default_branch:r||``}}function ct(e){return JSON.stringify({name:e.name,branch:e.branch,repos:e.repos},null,1)+`
|
|
2
|
+
`}function lt(e){let t=String(e??``).trim();if(!t)throw Error(`paste a workspace invite`);let n;try{n=JSON.parse(t)}catch{throw Error(`not an invite (expected JSON)`)}if(!n||typeof n!=`object`)throw Error(`not an invite`);if(Array.isArray(n.workspaces)){if(n.workspaces.length!==1)throw Error(n.workspaces.length?`this is a whole backup — restore it from Settings → Backup, or paste one workspace entry`:`this backup holds no workspaces`);if(n=n.workspaces[0],!n||typeof n!=`object`)throw Error(`not an invite`)}let r=String(n.branch??``).trim();if(!r)throw Error(`the invite has no branch`);if(!it.test(r))throw Error(`not a branch name: ${r}`);let i=Array.isArray(n.repos)?n.repos:[],a=[];for(let e of i){let t=st(e);if(!t)throw Error(`not a repo: ${JSON.stringify(e)}`);a.includes(t.full_name)||a.push(t.full_name)}if(!a.length)throw Error(`the invite lists no repos`);return{name:String(n.name??``).trim()||r,branch:r,repos:a}}var ut=de,dt=(e=>`/${e}&`)(Te);function ft(e){_e(e.a,`M1 20V19C1 15.134 4.13401 12 8 12C11.866 12 15 15.134 15 19V20 M13 14C13 11.2386 15.2386 9 18 9C20.7614 9 23 11.2386 23 14V14.5 M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z`)}var pt=(e,t)=>Ee(e.a,t),mt=(e,t)=>me(e.a,t),M=`<div></div>`,ht=e=>h(e.a,`_c8`),gt=e=>h(e.a,`_bp`),_t=s(2,e=>m(e.b,e._.m-e._.o)),vt=l(6,1,_t),yt=e=>{vt._(e),bt._(e),h(e.a,`_c8`)},bt=l(6,1,_t),xt=e=>{h(e.a,`_c8`),h(e.b,`_bi`)},St=y(18,e=>se(e,`a`,e._._.k,on(e)),e=>e._._,`j2`),Ct=f(`j1`,e=>ue(e,`a`)),wt=e=>{St(e),h(e.a,n),Ct(e)},Tt=d(3,`<span>default</span>`,` `,gt),N=y(17,e=>Tt(e,e.M===e._._.j?0:1),e=>e._._,`j4`),Et=f(`j3`,e=>b(e.a,`click`,function(){e._._.g(e.M,e.M===e._._.j)})),Dt=e=>{N(e),Ot._(e),h(e.a,[o,`_kl`]),m(e.c,e.M),Et(e)},Ot=ie(5,16,`M`,e=>h(e.b,[`_kh`,`_3`,{_ki:e.M===e._.q}])),kt=g(16,Ot),At=s(7,e=>kt(e,e._.f??e._.j)),jt=l(0,1,At),Mt=f(`j5`,e=>b(e.c,`click`,function(){F(e._,!0),an(e._,+e._.l+1)})),Nt=e=>{jt._(e),Bt._(e),Ht._(e),Ut._(e),Wt._(e),Gt._(e),h(e.a,`_kj`),h(e.c,t),Be(e.d),ze(e.d,14),h(e.e,`_kf`),Mt(e)},Pt=c(5,`<li><button><span> </span><!></button></li>`,`D D D l%`,Dt),Ft=(e,t)=>{Yt(e,t?.length),Pt(e,[t,e=>e])},It=(e,t)=>{Jt(e,t?.length),Ft(e,t.slice(0,12))},Lt=s(10,e=>It(e,He(e._.k,e.j))),Rt=g(9,Lt),zt=s(8,e=>Rt(e,e._.j&&e._.h.includes(e._.j)?[e._.j,...e._.h.filter(t=>t!==e._.j)]:e._.h)),Bt=l(0,1,zt),Vt=d(1,`<input placeholder="Filter branches…" aria-label="Filter branches" autofocus>`,` `,wt),Ht=l(0,1,e=>Vt(e,e._.i>8?0:1)),Ut=l(0,1,e=>{zt(e),At(e)}),Wt=l(0,1,Lt),Gt=l(0,1,e=>{_(e.c,`disabled`,e._.n),Ve(e.d,e._.n&&`_bh`)}),Kt=d(6,`<li><p>No branches match.</p></li>`,`D `,ht,`<li><p><!> more — keep typing to narrow.</p></li>`,`D D%`,yt),qt=s(15,e=>Kt(e,e.o?e.m>e.o?1:2:0)),Jt=g(12,e=>{qt(e),vt(e)}),Yt=g(14,e=>{qt(e),bt(e)}),Xt=d(0,`<p><span></span> Loading branches…</p>`,` D `,xt,(e=>`<div><!><button title="Refresh branches" aria-label="Refresh branches">${e}</button></div><ul><!><!></ul>`)(Re),(e=>` D%b D/${e}&m D%b%l`)(Le),Nt),Zt=u(7,e=>{Qt(e,e.h?.length),Xt(e,+!!e.h),Bt(e)}),Qt=g(8,Ht),$t=v(N),en=u(9,e=>{Ut(e),$t(e)}),tn=v(St),nn=u(10,e=>{Wt(e),tn(e)}),rn=f(`j6`,e=>{{let t=e.l>0;be(`/api/repos/branches?repo=${encodeURIComponent(e.d)}${t?`&refresh`:``}`,{signal:ce(e,0)}).then(t=>{Zt(e,t.branches),en(e,t.defaultBranch),F(e,!1)},t=>{ce(e,0).aborted||(F(e,!1),e.e?.(ge(t)))})}}),P=s(12,e=>{le(e,0),rn(e)},2),an=u(11,P),F=u(13,Gt);function I(e){h(e.a,`_ke`),Zt(e,null),en(e,null),nn(e,``),an(e,0),F(e,!1)}var L=g(3,P),R=g(4,P),z=g(5,jt),B=g(6),on=e=>t=>{nn(e._._,t)};p.j0=on;var sn=(e=>`/${e}&`)(Qe),cn=Xe,ln=((e,t,n,r)=>`<button type=button title="Add a repo" aria-label="Add a repo">${e} Add a repo</button><div><label>${t}<input placeholder="Add a repo by name or clone URL" aria-label="Add a repo"></label><button type=button title="Refresh repo list" aria-label="Refresh repo list">${n}</button><button type=button title="Close search" aria-label="Close search">${r}</button><div data-add-pop><!><!><!><!><!></div></div>`)(S,we,Re,ye),un=((e,t,n,r)=>` D/${e}&l D D/${t}& l D/${n}&l D/${r}&l D%b%b%b%b%m`)(x,Se,Le,he),V=null,dn=e=>h(e.a,`_bi`),fn=e=>{qe(e.a),Ke(e.a,12),Je(e.a,`_kg`)},pn=e=>h(e.a,`_bi`),mn=l(4,0,e=>m(e.c,e._.j)),hn=e=>{mn._(e),h(e.a,[a,`_3`]),A(e.b),k(e.b,12),j(e.b)},gn=d(1,`<span></span>`,` `,pn,Ge,(e=>`/${e}&`)(We),fn),_n=(e,t)=>{h(e.a,[ne,{_ex:t}]),gn(e,+!t)},vn=e=>{h(e.c,`_kh`),m(e.d,C(e.M))},yn=d(4,(e=>`<span title="Base branch">${e} <!></span>`)(O),(e=>` D/${e}&b%l`)(D),hn),bn=g(9,e=>{yn(e,+!e.j),mn(e)}),xn=(e,t)=>{_n(e,t[0]?.pending),bn(e,t[0]?.baseBranch)},Sn=e=>{qe(e.a),Ke(e.a,12),Je(e.a)},Cn=e=>h(e.a,`_c8`),wn=e=>{h(e.a,`_j7`),Ce(e.b),Me(e.b,12),Ae(e.b,`_j8`)},Tn=(e,t)=>m(e.c,t),En=(e,t)=>Tn(e,t[0]?.message),Dn=e=>{h(e.a,`_j6`),Fn._(e.b,e._)},On=s(1,e=>_(e.a,`title`,e._._.ao?`Will fork to your account; click to clone as-is instead`:`Fork ${e._._.ah} to your account and clone the fork`)),kn=y(72,On,e=>e._._,`Q17`),An=f(`Q16`,e=>b(e.a,`click`,function(){e._._.am===e._._.ah?Q(e._._,!e._._.ao):e._._.ap(e._._.ah,void 0,!0)})),jn=e=>{kn(e),Nn(e),An(e)},Mn=d(0,(e=>`${e} fork`)(Ge),(e=>`/${e}&b`)(We),Sn,`Fork`),Nn=y(75,e=>{h(e.a,[r,{_ey:e._._.ao}]),_(e.a,`aria-pressed`,e._._.ao?`true`:`false`),Mn(e,+!e._._.ao),On(e)},e=>e._._,`Q18`),Pn=y(70,e=>Ye(e.a,gi(e)),0,`Q14`),Fn=oe(e=>{Pn(e),In(e),nt(e.a),et(e.a),rt(e.a),Ze(e.a),$e(e.a)}),In=y(76,e=>tt(e.a,e._.aw),0,`Q15`),Ln=l(14,1,e=>m(e.b,e._.a4)),Rn=e=>{Ln._(e),h(e.a,`_c8`)},zn=d(0,`No repos yet`,0,0,`<span></span>Loading repos…`,` `,dn),Bn=y(67,e=>zn(e,+!e._._.z),e=>e._._,`Q26`),Vn=e=>{Bn(e),h(e.a,[ne,`_ex`])},Hn=c(6,`<li><!><span> </span><!></li>`,` D%b D l%`,vn,xn),Un=l(15,0,e=>Hn(e,[e._.ay,`name`])),Wn=e=>{Un._(e),Kn._(e),h(e.a,`_km`),h(e.b,[`_cY`,`_kn`]),h(e.c,`_c_`),h(e.d,ee),h(e.f,i)},Gn=d(7,`<li></li>`,` `,Vn),Kn=l(15,0,e=>{m(e.e,e._.az),Gn(e,+!!e._.az)}),qn=y(66,e=>R(e.a,_i(e)),e=>e._._._,`Q22`),Jn=e=>{qn(e),I(e.a),L(e.a,e._.M),B(e.a,vi(e)),z(e.a)},Yn=s(12,e=>h(e.a,[`_ka`,{_j_:e.l===e._._.a6}])),Xn=y(69,Yn,e=>e._._,`Q24`),Zn=f(`Q23`,e=>{b(e.a,`mouseenter`,function(){X(e._._,e.l)}),b(e.b,`click`,function(){e._._.ap(e.M)}),b(e.f,`click`,function(){e._._.ar(e.M)})}),Qn=e=>{Xn(e),er(e),h(e.b,o),T(e.c),w(e.c,12),E(e.c,`_kg`),h(e.d,`_kh`),m(e.e,C(e.M)),_(e.f,`title`,`Pick a base branch for ${e.M}`),_(e.f,`aria-label`,`Pick a base branch for ${e.M}`),A(e.g),k(e.g,12),j(e.g),Zn(e)},$n=d(7,M,(e=>`/${e}&`)(` b`),Jn),er=y(74,t=>{h(t.f,[e,{_ey:t._._.am===t.M}]),$n(t,t._._.am===t.M?0:1)},e=>e._._,`Q25`),tr=g(11,Yn),nr=c(0,((e,t)=>`<li><div><button>${e}<span> </span></button><button>${t}</button></div><!></li>`)(S,O),((e,t)=>`D D D/${e}& D m D/${t}&m%l`)(x,D),Qn,(e,t)=>tr(e,t[1])),rr=l(14,0,e=>nr(e,[e._.af,`nameWithOwner`])),ir=e=>{rr._(e),h(e.a,`_j9`)},ar=y(66,e=>R(e.a,yi(e)),e=>e._._,`Q19`),or=e=>{ar(e),sr(e),I(e.a),B(e.a,bi(e)),z(e.a)},sr=y(72,e=>L(e.a,e._._.ah),e=>e._._,`Q20`),cr=s(11,e=>_(e.c,`title`,e._.ao?`Fork ${e._.ah} to your account and add the fork`:`Add ${e._.ah} as-is (pushes go to that repo)`)),lr=d(9,M,(e=>`/${e}&`)(` b`),or),ur=s(10,t=>{h(t.h,[e,{_ey:t._.am===t._.ah}]),lr(t,t._.am===t._.ah?0:1)}),dr=l(13,0,e=>{m(e.f,C(e._.ah)),_(e.h,`title`,`Pick a base branch for ${e._.ah}`),_(e.h,`aria-label`,`Pick a base branch for ${e._.ah}`),cr(e),ur(e)}),fr=f(`Q21`,e=>{b(e.c,`click`,function(){e._.ap(e._.ah,void 0,e._.aq(e._.ao))}),b(e.h,`click`,function(){e._.ar(e._.ah)})}),pr=e=>{dr._(e),hr._(e),gr._(e),_r._(e),h(e.a,`_j9`),h(e.b,[`_ka`,`_j_`]),h(e.c,o),T(e.d),w(e.d,12),E(e.d,`_kg`),h(e.e,`_kh`),A(e.i),k(e.i,12),j(e.i),fr(e)},mr=d(6,`<button></button>`,` `,jn),hr=l(13,0,e=>mr(e,+!e._.al)),gr=l(13,0,ur),_r=l(13,0,cr),H=u(23,e=>{_(e.g,`disabled`,e.x),Ve(e.h,e.x&&`_bh`)}),vr=s(56,e=>_(e.f,`tabindex`,e.as&&!e.y?-1:void 0)),U=u(24,e=>{_(e.a,`hidden`,e.y),h(e.c,[`_e9`,`_fa`,`_fj`,!e.y&&`_e_`]),_(e.i,`hidden`,!e.y),vr(e)}),yr=g(41,e=>{si(e,e.af?.length),rr(e)}),W=s(40,e=>yr(e,e.z&&e.a4?Ue(e.a4,e.z?.repos,t=>e.ac(t)):[]),2),br=(e,t)=>_(e.k,`hidden`,!t),G=s(64,e=>br(e,!!(e.ah||e.ag||e.a4&&(!e.z||!e.ah)||e.ax||e.b1||e.as&&e.v)),7),xr=d(13,((e,t)=>`<ul><li><div><button>${e}<span> </span></button><!><button>${t}</button></div><!></li></ul>`)(S,O),((e,t)=>` E D D/${e}& D m%b D/${t}&m%m`)(x,D),pr,`<p>Loading repos…</p>`,` `,Cn),K=s(45,e=>xr(e,e.ah?0:e.a4&&!e.z?1:2),2),Sr=d(14,`<ul></ul>`,` `,ir,`<p>No repos match "<!>". Paste a clone URL to add any repo.</p>`,` Db%`,Rn),q=s(46,e=>Sr(e,e.ag?0:e.a4&&e.z&&!e.ah?1:2),3),Cr=v(Bn),J=u(25,e=>{$r(e,e.z?.repos),ei(e,e.z?.sso),ti(e,e.z?.unreachable),W(e),G(e),K(e),q(e),Cr(e)}),wr=g(52),Tr=g(47,e=>{wr(e,xi(e)),hr(e)}),Er=s(44,e=>Tr(e,!!e.ah&&!e.a0.some(t=>t.nameWithOwner===e.ah))),Dr=g(53),Or=s(49,e=>Dr(e,Si(e))),kr=v(sr,kn),Ar=g(43,e=>{Er(e),Or(e),G(e),K(e),q(e),dr(e),kr(e)}),jr=s(39,e=>Ar(e,(()=>{let t=Ie(e.a4);return t&&!e.ac(t)?t:null})())),Mr=c(12,(e=>`<p role=status>${e}<span><!> to add its repos.</span></p>`)(De),(e=>` D/${e}&D%m`)(Pe),wn,En),Nr=(e,t)=>{mi(e,t.length),Mr(e,[t,`host`])},Pr=s(31,e=>Nr(e,e.a4&&e.a3||[])),Y=u(30,e=>{se(e,`f`,e.a4,Ci(e)),W(e),jr(e),Pr(e),G(e),K(e),q(e),Ln(e)}),X=u(32,v(Xn)),Fr=v(In),Ir=g(58,e=>{di(e,e.aw?.length),Fr(e)}),Lr=s(35,e=>Ir(e,(e.a2||[]).filter(t=>!e.a8.has(t.org)))),Rr=u(34,Lr),zr=f(`Q28`,e=>ae(e,{onMount:function(){V&&J(e,V),e.a7(!1),e.aa();let t=new AbortController;return ke(`sso-ignored`,e.aa,t.signal),{abort:t}},onDestroy:function(){this.abort.abort()}})),Br=s(37,zr),Vr=g(36,Br),Hr=v(er),Z=u(48,e=>{Or(e),gr(e),Hr(e)}),Ur=v(Nn),Q=u(50,e=>{_r(e),Ur(e)}),Wr=g(60,e=>{fi(e,e.ay.length),Un(e)}),Gr=d(15,`<div><div><h2>Repos</h2><span> </span></div><ul><!><!></ul></div>`,` D D b D m D%b%`,Wn),Kr=s(55,e=>{Wr(e,e.as&&e.v||[]),Gr(e,e.as&&e.v?0:1)}),qr=u(54,e=>{Kr(e),G(e),vr(e)}),Jr=g(57),Yr=f(`Q27`,e=>{qr(e,pe()),b(e.a,`click`,function(){e.f.focus({preventScroll:!0}),U(e,!0)}),ue(e,`f`),b(e.f,`keydown`,function(t){t.key===`ArrowDown`?(t.preventDefault(),X(e,Math.min(e.a6+1,e.af?.length-1))):t.key===`ArrowUp`?(t.preventDefault(),X(e,Math.max(e.a6-1,0))):t.key===`Enter`?(t.preventDefault(),e.ah?e.ap(e.ah,void 0,e.aq(e.ao)):e.af[e.a6]&&e.ap(e.af[e.a6].nameWithOwner)):t.key===`Escape`&&e.a4?(t.preventDefault(),Y(e,``)):t.key===`Escape`&&(t.preventDefault(),e.av())}),b(e.g,`click`,function(){e.a7(!0)}),b(e.i,`click`,function(){e.av()})});function Xr(e){h(e.a,`_fm`),T(e.b),w(e.b,14),E(e.b),h(e.d,[`_bC`,`_fb`,`_fk`]),je(e.e),Oe(e.e,14),Ne(e.e,`_bD`),h(e.f,[`_bA`,`_bE`,`_fc`,`_fl`]),h(e.g,[te,`_kp`]),Be(e.h),ze(e.h,12),h(e.i,[t,`_fe`]),Fe(e.j),fe(e.j,14),ve(e.j),h(e.k,re),H(e,!1),U(e,!1),J(e,null),Y(e,``),X(e,0),Rr(e,new Set(xe())),Vr(e,$(e)),Z(e,null),Q(e,!1),qr(e,!1),Jr(e,wi(e)),Yr(e)}var Zr=g(38,e=>{W(e),jr(e)}),Qr=s(27,e=>Zr(e,Ti(e))),$r=g(26,e=>{Qr(e),Er(e)}),ei=g(28,Lr),ti=g(29,Pr),ni=v(Pn),ri=g(33,e=>{Br(e),ni(e)}),ii=v(ar,qn),ai=g(18,e=>{ri(e,Ei(e)),ii(e)}),oi=g(19,Qr),si=g(42,e=>{G(e),q(e)}),ci=g(51),li=g(20,e=>ci(e,Di(e))),ui=d(11,(e=>`<div>${e}</div>`)(cn),(e=>` D/${e}&l`)(sn),Dn),di=g(59,e=>{ui(e,+!e.ax),G(e)}),fi=g(61,Kn),pi=g(21,e=>{Kr(e),G(e)}),mi=g(63,G),hi=(e,t)=>{_(e.a,`disabled`,t),_(e.f,`disabled`,t)},gi=e=>function(){e._.a7(!0)},_i=e=>function(t){Z(e._._._,null),e._._._.s?.(t)},vi=e=>function(t,n){e._._._.ap(e._.M,n?void 0:t)},yi=e=>function(t){Z(e._._,null),e._._.s?.(t)},bi=e=>function(t,n){e._._.ap(e._._.ah,n?void 0:t,e._._.aq(e._._.ao))},xi=e=>t=>e.al?t:void 0,Si=e=>t=>{Z(e,e.am===t?null:t),t!==e.ah&&Q(e,!1)},Ci=e=>function(t){Y(e,t),X(e,0),Q(e,!1)},$=e=>()=>{Rr(e,new Set(xe()))},wi=e=>()=>{Y(e,``),U(e,!1),e.f.blur()},Ti=e=>t=>{if(e.t.has(t))return!0;let n=e.a0||[];if(n.some(n=>e.t.has(n.nameWithOwner)&&n.parent===t))return!0;let r=n.find(e=>e.nameWithOwner===t);return!!(r?.parent&&e.t.has(r.parent))},Ei=e=>async t=>{t&&H(e,!0);try{let n=await be(`/api/repos${t?`?refresh`:``}`);V=n,J(e,n)}catch(t){e.s?.(ge(t))}t&&H(e,!1)},Di=e=>(t,n,r)=>{Y(e,``),Z(e,null),Q(e,!1),e.u(t,n,r)};p.Q7=gi,p.Q12=_i,p.Q11=vi,p.Q10=yi,p.Q9=bi,p.Q4=xi,p.Q5=Si,p.Q8=Ci,p.Q1=$,p.Q6=wi,p.Q2=Ti,p.Q0=Ei,p.Q3=Di;export{ft as _,li as a,ct as b,un as c,B as d,L as f,pt as g,mt as h,ai as i,z as l,M as m,hi as n,Xr as o,I as p,oi as r,ln as s,pi as t,R as u,ut as v,lt as x,dt as y};
|
|
Binary file
|