@dylanpiercey/work 0.2.67 → 0.2.69
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/_BkRvQO5r.js +2 -0
- package/dist/_C29NgtBI.js +2 -0
- package/dist/{_gKzyEKiq.js → _CilTmd3l.js} +290 -16
- package/dist/{_CtDE8Leo.js → _DDCmzS5h.js} +113 -113
- package/dist/{_BIK4Q8Ap.js → _Da7kjbAP.js} +1 -1
- package/dist/index.mjs +884 -868
- package/dist/public/assets/_-EmIcUKk.js +1 -0
- package/dist/public/assets/_-Zp0T_lO.js +1 -0
- package/dist/public/assets/{_B70kYzED.js → _0H09AGax.js} +1 -1
- package/dist/public/assets/_0H09AGax.js.br +0 -0
- package/dist/public/assets/{_C-M_kClx.js → _3jDFL-Cg.js} +1 -1
- package/dist/public/assets/_3jDFL-Cg.js.br +0 -0
- package/dist/public/assets/_42tHqFp1.js +1 -0
- package/dist/public/assets/_43jDY_uH.js +1 -0
- package/dist/public/assets/{_DgEX6kkV.js → _5pKDjgHs.js} +1 -1
- package/dist/public/assets/_5pKDjgHs.js.br +0 -0
- package/dist/public/assets/_73JN1my-.js +1 -0
- package/dist/public/assets/_7X0H8kL8.js +1 -0
- package/dist/public/assets/{_DEdUC-99.js → _9PIiwVmz.js} +1 -1
- package/dist/public/assets/_9PIiwVmz.js.br +0 -0
- package/dist/public/assets/_Ag37ZLrV.js +1 -0
- package/dist/public/assets/{_Dr000eW7.js → _B-cgAjqV.js} +1 -1
- package/dist/public/assets/_B-cgAjqV.js.br +0 -0
- package/dist/public/assets/_B0YQ-oFW.js +1 -0
- package/dist/public/assets/{_WlELMoKQ.js → _B0tb8Vgp.js} +1 -1
- package/dist/public/assets/_B0tb8Vgp.js.br +0 -0
- package/dist/public/assets/_B1fJukJK.js +1 -0
- package/dist/public/assets/{_Qauup-ns.js → _B1rg6S37.js} +1 -1
- package/dist/public/assets/_B1rg6S37.js.br +0 -0
- package/dist/public/assets/{_B0uBThg8.js → _B40fHLkj.js} +1 -1
- package/dist/public/assets/_B40fHLkj.js.br +0 -0
- package/dist/public/assets/_B4a1Ga-C.js +1 -0
- package/dist/public/assets/{_hDmRiKUw.js → _B5QrsHwd.js} +1 -1
- package/dist/public/assets/_B5QrsHwd.js.br +0 -0
- package/dist/public/assets/_B6Gi_-aO.js +1 -0
- package/dist/public/assets/{_TlisgNCJ.js → _B6Zw_zoM.js} +1 -1
- package/dist/public/assets/_B6Zw_zoM.js.br +0 -0
- package/dist/public/assets/_B7FUbkdd.js +1 -0
- package/dist/public/assets/{_Ct2onnrq.js → _B9OVFXEI.js} +1 -1
- package/dist/public/assets/_B9OVFXEI.js.br +0 -0
- package/dist/public/assets/_BAxxcUnT.js +1 -0
- package/dist/public/assets/_BBVcNRD6.js +1 -0
- package/dist/public/assets/_BCO2lKSr.js +1 -0
- package/dist/public/assets/{_Cxf_IUf4.js → _BF2_gMS8.js} +1 -1
- package/dist/public/assets/_BF2_gMS8.js.br +0 -0
- package/dist/public/assets/{_bq3cGUln.js → _BH9u6x7L.js} +1 -1
- package/dist/public/assets/_BH9u6x7L.js.br +0 -0
- package/dist/public/assets/_BHyPBbeA.js +1 -0
- package/dist/public/assets/{_QORYcpTd.js → _BICdCzpd.js} +1 -1
- package/dist/public/assets/_BICdCzpd.js.br +0 -0
- package/dist/public/assets/{_BsZOFgem.js → _BJcqxD6V.js} +1 -1
- package/dist/public/assets/_BJcqxD6V.js.br +0 -0
- package/dist/public/assets/_BKsJcK3w.js +1 -0
- package/dist/public/assets/{_DxSjwdlY.js → _BMXY56L9.js} +1 -1
- package/dist/public/assets/_BMXY56L9.js.br +0 -0
- package/dist/public/assets/{_jHMZ7_SS.js → _BORTVznS.js} +2 -2
- package/dist/public/assets/_BORTVznS.js.br +0 -0
- package/dist/public/assets/_BOr_i2db.js +1 -0
- package/dist/public/assets/_BSCc1FVi.js +1 -0
- package/dist/public/assets/_BSEhhZ07.js +1 -0
- package/dist/public/assets/{_BP3daLRF.js → _BSyW2RLw.js} +1 -1
- package/dist/public/assets/_BSyW2RLw.js.br +0 -0
- package/dist/public/assets/{_Cvmxsqbk.js → _BUPTpTYH.js} +1 -1
- package/dist/public/assets/_BUPTpTYH.js.br +0 -0
- package/dist/public/assets/_BUqHNT5-.js +1 -0
- package/dist/public/assets/{_CH4p6ja3.js → _BWwfOfMX.js} +1 -1
- package/dist/public/assets/_BWwfOfMX.js.br +0 -0
- package/dist/public/assets/_BZXQzilG.js +1 -0
- package/dist/public/assets/{_DqtM_bbr.js → _BZhRz8TB.js} +1 -1
- package/dist/public/assets/_BZhRz8TB.js.br +0 -0
- package/dist/public/assets/_B_1_7y_i.js +1 -0
- package/dist/public/assets/{_CI503IRR.js → _B_zlRrUP.js} +1 -1
- package/dist/public/assets/_B_zlRrUP.js.br +0 -0
- package/dist/public/assets/{_BmKHBiNs.js → _BciKbAaO.js} +1 -1
- package/dist/public/assets/_BciKbAaO.js.br +0 -0
- package/dist/public/assets/_BdNI84NG.js +1 -0
- package/dist/public/assets/{_BNZgCt2D.js → _Bdq41ArX.js} +1 -1
- package/dist/public/assets/_Bdq41ArX.js.br +0 -0
- package/dist/public/assets/_BfT9QWYM.js +1 -0
- package/dist/public/assets/_BflxkINP.js +1 -0
- package/dist/public/assets/{_D7-IKBVN.js → _BiIQdsrx.js} +1 -1
- package/dist/public/assets/{_lVS7e3_v.js → _BiIrl8ml.js} +1 -1
- package/dist/public/assets/_BiIrl8ml.js.br +0 -0
- package/dist/public/assets/_Bmgmfh64.js +1 -0
- package/dist/public/assets/{_UcX6VY7d.js → _BnDvb8rh.js} +1 -1
- package/dist/public/assets/_BnDvb8rh.js.br +0 -0
- package/dist/public/assets/{_X_3OGONn.js → _BoRNFqwj.js} +1 -1
- package/dist/public/assets/_BstVSsFN.js +1 -0
- package/dist/public/assets/_Bu1DxZly.js +1 -0
- package/dist/public/assets/_By3jAAQI.js +1 -0
- package/dist/public/assets/_By3jAAQI.js.br +0 -0
- package/dist/public/assets/{_BGMYJ1-b.js → _ByZbJftZ.js} +1 -1
- package/dist/public/assets/_ByZbJftZ.js.br +0 -0
- package/dist/public/assets/_BzU0dRn3.js +1 -0
- package/dist/public/assets/_C-IpRzUC.js +1 -0
- package/dist/public/assets/{_BO-NDKjv.js → _C0W4EC0Z.js} +1 -1
- package/dist/public/assets/_C0W4EC0Z.js.br +0 -0
- package/dist/public/assets/{_BRXPkWkz.js → _C1EEKbbh.js} +1 -1
- package/dist/public/assets/_C1EEKbbh.js.br +0 -0
- package/dist/public/assets/_C1I4axdk.js +1 -0
- package/dist/public/assets/{_9VzenYwR.js → _C23aBO0p.js} +1 -1
- package/dist/public/assets/_C23aBO0p.js.br +0 -0
- package/dist/public/assets/{_Dwsl_wKj.js → _C3La6EyV.js} +1 -1
- package/dist/public/assets/_C3La6EyV.js.br +0 -0
- package/dist/public/assets/{_DrChcZDh.js → _C3k75NG8.js} +1 -1
- package/dist/public/assets/_C3k75NG8.js.br +0 -0
- package/dist/public/assets/{_D5szhG6N.js → _C4Hln-a1.js} +1 -1
- package/dist/public/assets/_C4Hln-a1.js.br +0 -0
- package/dist/public/assets/_C7nRA4nl.js +1 -0
- package/dist/public/assets/{_Dwv8BEGB.js → _CAN3Gwlo.js} +1 -1
- package/dist/public/assets/_CAN3Gwlo.js.br +0 -0
- package/dist/public/assets/_CB6bJYj7.js +1 -0
- package/dist/public/assets/{_DlrFmXHy.js → _CDG0zRut.js} +1 -1
- package/dist/public/assets/_CDG0zRut.js.br +0 -0
- package/dist/public/assets/{_CebKs3BC.js → _CDPOV9zA.js} +1 -1
- package/dist/public/assets/_CDPOV9zA.js.br +0 -0
- package/dist/public/assets/{_CUcuo0OF.js → _CEzgbnFo.js} +1 -1
- package/dist/public/assets/_CEzgbnFo.js.br +0 -0
- package/dist/public/assets/_CH7j19or.js +1 -0
- package/dist/public/assets/_CH7j19or.js.br +0 -0
- package/dist/public/assets/{_BgOKQo-U.js → _CKNilRtP.js} +1 -1
- package/dist/public/assets/_CKNilRtP.js.br +0 -0
- package/dist/public/assets/{_CEms_Z-6.js → _CKvOm2QG.js} +1 -1
- package/dist/public/assets/_CKvOm2QG.js.br +0 -0
- package/dist/public/assets/{_BIZETXBI.js → _CLpJpkGL.js} +1 -1
- package/dist/public/assets/_CLpJpkGL.js.br +0 -0
- package/dist/public/assets/_CN4xiFtS.js +1 -0
- package/dist/public/assets/{_C33Ig972.js → _CRAhvbwb.js} +1 -1
- package/dist/public/assets/_CRAhvbwb.js.br +0 -0
- package/dist/public/assets/_CRkxKTgw.js +1 -0
- package/dist/public/assets/_CS08pKi4.js +1 -0
- package/dist/public/assets/_CSE16QHd.js +1 -0
- package/dist/public/assets/_CT4ei2Jg.js +1 -0
- package/dist/public/assets/{_CxneqhA-.js → _CUPYyx5O.js} +1 -1
- package/dist/public/assets/_CW5ES2vr.js +1 -0
- package/dist/public/assets/_CWhF-4OC.js +1 -0
- package/dist/public/assets/{__GQz4qRd.js → _CXhoovwf.js} +1 -1
- package/dist/public/assets/_CXhoovwf.js.br +0 -0
- package/dist/public/assets/{_BA_k06GS.js → _CY7Wr_6h.js} +1 -1
- package/dist/public/assets/_CY7Wr_6h.js.br +0 -0
- package/dist/public/assets/_C_-mBehU.js +1 -0
- package/dist/public/assets/_CazYpkki.js +1 -0
- package/dist/public/assets/{_DMIFpGTL.js → _CbAa5uAw.js} +1 -1
- package/dist/public/assets/_CbAa5uAw.js.br +0 -0
- package/dist/public/assets/_CcbwLXni.js +1 -0
- package/dist/public/assets/{_B4eacQhm.js → _CiYp9PxT.js} +1 -1
- package/dist/public/assets/_CiYp9PxT.js.br +0 -0
- package/dist/public/assets/_CmLGUmi9.js +1 -0
- package/dist/public/assets/_CmLGUmi9.js.br +0 -0
- package/dist/public/assets/{_D-_xeCD1.js → _Coj9l4W_.js} +1 -1
- package/dist/public/assets/_Coj9l4W_.js.br +0 -0
- package/dist/public/assets/_Cp1MBi_q.js +1 -0
- package/dist/public/assets/_CpXvQ4wL.js +1 -0
- package/dist/public/assets/{_DBi6AZp1.js → _CsNZdkZU.js} +1 -1
- package/dist/public/assets/_CsNZdkZU.js.br +0 -0
- package/dist/public/assets/_Ct8a3v8n.js +1 -0
- package/dist/public/assets/{_BtZ336jh.js → _CtYn_7Ld.js} +1 -1
- package/dist/public/assets/_CtYn_7Ld.js.br +0 -0
- package/dist/public/assets/_CthHHBjW.js +2 -0
- package/dist/public/assets/_CthHHBjW.js.br +0 -0
- package/dist/public/assets/_CtliFzZo.js +1 -0
- package/dist/public/assets/{_B0WAFbs8.js → _Cw3MnPjo.js} +1 -1
- package/dist/public/assets/_Cw3MnPjo.js.br +0 -0
- package/dist/public/assets/{_DRD9BWmW.js → _Cw9GxBkQ.js} +1 -1
- package/dist/public/assets/_Cw9GxBkQ.js.br +0 -0
- package/dist/public/assets/_CwLlOfhS.js +1 -0
- package/dist/public/assets/_Cz606f5R.js +7 -0
- package/dist/public/assets/_Cz606f5R.js.br +0 -0
- package/dist/public/assets/{_Ci_ERulo.js → _D-pAxlQ-.js} +4 -4
- package/dist/public/assets/_D-pAxlQ-.js.br +0 -0
- package/dist/public/assets/_D24Cf_aJ.js +1 -0
- package/dist/public/assets/_D2Bfy3Mq.js +1 -0
- package/dist/public/assets/_D3_-HE_e.js +1 -0
- package/dist/public/assets/{_DFY87HPv.js → _D4XHSL1o.js} +1 -1
- package/dist/public/assets/_D4XHSL1o.js.br +0 -0
- package/dist/public/assets/_D8WYrmFe.js +1 -0
- package/dist/public/assets/_D8WYrmFe.js.br +0 -0
- package/dist/public/assets/{_CvE-okFl.js → _D9-mnhpM.js} +1 -1
- package/dist/public/assets/_D9-mnhpM.js.br +0 -0
- package/dist/public/assets/_DBjp4Oaj.js +1 -0
- package/dist/public/assets/_DBzqRlRQ.js +1 -0
- package/dist/public/assets/_DC6M2qH2.js +1 -0
- package/dist/public/assets/{_Bp1Rz6F-.js → _DE5SUDS8.js} +1 -1
- package/dist/public/assets/_DE5SUDS8.js.br +0 -0
- package/dist/public/assets/_DEGMhwoO.js +1 -0
- package/dist/public/assets/{_CGhrSui5.js → _DIEqAzJB.js} +1 -1
- package/dist/public/assets/_DIEqAzJB.js.br +0 -0
- package/dist/public/assets/{_DMBxaUer.js → _DJVQZQI-.js} +1 -1
- package/dist/public/assets/_DJVQZQI-.js.br +0 -0
- package/dist/public/assets/_DL8YLICC.js +1 -0
- package/dist/public/assets/{_DbUkj7Cm.js → _DLoAVrbv.js} +1 -1
- package/dist/public/assets/_DLoAVrbv.js.br +0 -0
- package/dist/public/assets/_DLpha-BN.js +1 -0
- package/dist/public/assets/{_BIIXVFJS.js → _DPKcpw43.js} +1 -1
- package/dist/public/assets/_DPKcpw43.js.br +0 -0
- package/dist/public/assets/{_CE0xb-t1.js → _DUEm1sqD.js} +1 -1
- package/dist/public/assets/_DUEm1sqD.js.br +0 -0
- package/dist/public/assets/_DX8wVfyk.js +1 -0
- package/dist/public/assets/_DXEbBRHY.js +1 -0
- package/dist/public/assets/_DX_AAVan.js +1 -0
- package/dist/public/assets/_DXhgTM12.js +1 -0
- package/dist/public/assets/{_DxpmRvl2.js → _DcCeapFB.js} +1 -1
- package/dist/public/assets/_DcCeapFB.js.br +0 -0
- package/dist/public/assets/{_CRW1wfql.js → _DdWxi_D9.js} +2 -2
- package/dist/public/assets/_DdWxi_D9.js.br +0 -0
- package/dist/public/assets/{_Bc6bSDC7.js → _DeGJuali.js} +1 -1
- package/dist/public/assets/_DeGJuali.js.br +0 -0
- package/dist/public/assets/_Dge-T7VA.js +1 -0
- package/dist/public/assets/{_D_LJ8pmO.js → _Dh_fGh7B.js} +1 -1
- package/dist/public/assets/_Dh_fGh7B.js.br +0 -0
- package/dist/public/assets/_DlKCZs5m.js +1 -0
- package/dist/public/assets/_DmAY0SHM.js +1 -0
- package/dist/public/assets/{_CBZYZvX6.js → _DmBJQY0z.js} +1 -1
- package/dist/public/assets/_DmBJQY0z.js.br +0 -0
- package/dist/public/assets/{_Bg2QU4YL.js → _DmISa8wc.js} +1 -1
- package/dist/public/assets/_DmISa8wc.js.br +0 -0
- package/dist/public/assets/_DpUeYTvU.js +1 -0
- package/dist/public/assets/_DqcTAqJs.js +1 -0
- package/dist/public/assets/_DrntETw8.js +1 -0
- package/dist/public/assets/_Dsb-mJGm.js +1 -0
- package/dist/public/assets/{_BspJ2pqw.js → _DuKrnKV2.js} +1 -1
- package/dist/public/assets/_DuKrnKV2.js.br +0 -0
- package/dist/public/assets/{_Bz-XjNLZ.js → _Dv298HDL.js} +1 -1
- package/dist/public/assets/_Dv298HDL.js.br +0 -0
- package/dist/public/assets/{_CZjD55hp.js → _DxgeJa1G.js} +1 -1
- package/dist/public/assets/_DxgeJa1G.js.br +0 -0
- package/dist/public/assets/_DxpwwPqc.js +1 -0
- package/dist/public/assets/{_B61sbHCY.js → _G0Ur49hc.js} +1 -1
- package/dist/public/assets/_G0Ur49hc.js.br +0 -0
- package/dist/public/assets/_GRlZXT_k.js +1 -0
- package/dist/public/assets/{_Df9tDuQJ.js → _HnJD2Vzo.js} +1 -1
- package/dist/public/assets/_HnJD2Vzo.js.br +0 -0
- package/dist/public/assets/{_DSR-ekR6.js → _KtT9ovgB.js} +1 -1
- package/dist/public/assets/_KtT9ovgB.js.br +0 -0
- package/dist/public/assets/{_UQ7mzph0.js → _LsFmgSj_.js} +1 -1
- package/dist/public/assets/_LsFmgSj_.js.br +0 -0
- package/dist/public/assets/_M2eABJML.js +1 -0
- package/dist/public/assets/_N7_4E3sa.js +1 -0
- package/dist/public/assets/_SCQ7gzWP.js +1 -0
- package/dist/public/assets/{_BHWL6thp.js → _SkNT3g1t.js} +1 -1
- package/dist/public/assets/_SkNT3g1t.js.br +0 -0
- package/dist/public/assets/{_D8duRYg_.js → _T32b15Ve.js} +1 -1
- package/dist/public/assets/_T32b15Ve.js.br +0 -0
- package/dist/public/assets/{_BX6cHZRC.js → _TOwFHHoM.js} +1 -1
- package/dist/public/assets/_TOwFHHoM.js.br +0 -0
- package/dist/public/assets/_UUd1gazT.js +1 -0
- package/dist/public/assets/{_Do2K8-PP.js → _YTVYw9XV.js} +1 -1
- package/dist/public/assets/_YTVYw9XV.js.br +0 -0
- package/dist/public/assets/{_CrkyDA5s.js → _ZlbOPzr7.js} +1 -1
- package/dist/public/assets/_ZlbOPzr7.js.br +0 -0
- package/dist/public/assets/{_C9bVnGYg.js → _a3BQDAxj.js} +1 -1
- package/dist/public/assets/_a3BQDAxj.js.br +0 -0
- package/dist/public/assets/{_DqMNxlrt.js → _aVJfol8S.js} +1 -1
- package/dist/public/assets/_aVJfol8S.js.br +0 -0
- package/dist/public/assets/{_DSd4RC98.js → _ee3nMJZE.js} +5 -5
- package/dist/public/assets/_ee3nMJZE.js.br +0 -0
- package/dist/public/assets/{_BrQz9_1N.js → _fBJXUlyl.js} +1 -1
- package/dist/public/assets/_fBJXUlyl.js.br +0 -0
- package/dist/public/assets/{_DuDDRKYO.js → _gy0a9Cmp.js} +1 -1
- package/dist/public/assets/_gy0a9Cmp.js.br +0 -0
- package/dist/public/assets/_iTbVHO4b.js +1 -0
- package/dist/public/assets/_k79dEMkm.js +1 -0
- package/dist/public/assets/{_BLm52mIb.js → _kHV7j6Zv.js} +1 -1
- package/dist/public/assets/_kHV7j6Zv.js.br +0 -0
- package/dist/public/assets/{_CK1km0hv.js → _l9Ig5EJO.js} +1 -1
- package/dist/public/assets/_l9Ig5EJO.js.br +0 -0
- package/dist/public/assets/{_CcdwplWu.js → _lCk1CAYf.js} +1 -1
- package/dist/public/assets/_lYxkU02J.js +1 -0
- package/dist/public/assets/{_BrwA1d2e.js → _rizgJsHK.js} +1 -1
- package/dist/public/assets/_rizgJsHK.js.br +0 -0
- package/dist/public/assets/_rmo2BlTL.js +1 -0
- package/dist/public/assets/_sEygC0rY.js +1 -0
- package/dist/public/assets/_sEygC0rY.js.br +0 -0
- package/dist/public/assets/{_Cz1WbAmd.js → _ulL_yezz.js} +1 -1
- package/dist/public/assets/_ulL_yezz.js.br +0 -0
- package/dist/public/assets/_vWNf9U23.js +1 -0
- package/dist/public/assets/_vd2rHjSk.js +1 -0
- package/dist/public/assets/{_7VrGDfKO.js → _w3JsvUod.js} +1 -1
- package/dist/public/assets/{_5qNa1gUY.js → _wC0cYIUL.js} +10 -10
- package/dist/public/assets/_wC0cYIUL.js.br +0 -0
- package/dist/public/assets/{_CAzNnO2u.js → _zGawNqPU.js} +1 -1
- package/dist/public/assets/_zGawNqPU.js.br +0 -0
- package/dist/public/assets/files-view-D9y_w_28.js +2 -0
- package/dist/public/assets/manage-workspace-BCRACsUn.js +2 -0
- package/dist/public/assets/new-BdLH98ro.js +1 -0
- package/dist/public/assets/new-workspace-TMTnjdBC.js +2 -0
- package/dist/public/assets/review-view-CvIicWqZ.js +2 -0
- package/dist/public/assets/settings-BdLH98ro.js +1 -0
- package/dist/public/assets/settings-page-I3W3CL5p.js +2 -0
- package/dist/public/assets/styles-D39vLjzP.css +1 -0
- package/dist/public/assets/styles-D39vLjzP.css.br +0 -0
- package/dist/public/assets/w-BdLH98ro.js +1 -0
- package/dist/public/assets/w._-BD4s-fU6.js +1 -0
- package/dist/public/assets/w._-BdLH98ro.js +1 -0
- package/dist/public/assets/w._-DnOj6Zzs.js +1 -0
- package/package.json +1 -1
- package/dist/_B6qckFq1.js +0 -2
- package/dist/_CBOkek-4.js +0 -2
- package/dist/public/assets/_52DoEo8V.js +0 -1
- package/dist/public/assets/_5qNa1gUY.js.br +0 -0
- package/dist/public/assets/_5vLD4tJs.js +0 -1
- package/dist/public/assets/_6Sl2jvWD.js +0 -1
- package/dist/public/assets/_7zNXz1VW.js +0 -1
- package/dist/public/assets/_9VzenYwR.js.br +0 -0
- package/dist/public/assets/_B-Gxv-J2.js +0 -1
- package/dist/public/assets/_B0WAFbs8.js.br +0 -0
- package/dist/public/assets/_B0uBThg8.js.br +0 -0
- package/dist/public/assets/_B4eacQhm.js.br +0 -0
- package/dist/public/assets/_B61sbHCY.js.br +0 -0
- package/dist/public/assets/_B70kYzED.js.br +0 -0
- package/dist/public/assets/_BA_k06GS.js.br +0 -0
- package/dist/public/assets/_BBu_e8_X.js +0 -1
- package/dist/public/assets/_BBu_e8_X.js.br +0 -0
- package/dist/public/assets/_BCifgx0o.js +0 -1
- package/dist/public/assets/_BDYmhvhb.js +0 -1
- package/dist/public/assets/_BDc6HTci.js +0 -1
- package/dist/public/assets/_BDc6HTci.js.br +0 -0
- package/dist/public/assets/_BGMYJ1-b.js.br +0 -0
- package/dist/public/assets/_BHWL6thp.js.br +0 -0
- package/dist/public/assets/_BHmNKeaW.js +0 -1
- package/dist/public/assets/_BIIXVFJS.js.br +0 -0
- package/dist/public/assets/_BIPl5Jln.js +0 -1
- package/dist/public/assets/_BIUx68NF.js +0 -1
- package/dist/public/assets/_BIZETXBI.js.br +0 -0
- package/dist/public/assets/_BJBaL1kO.js +0 -1
- package/dist/public/assets/_BLm52mIb.js.br +0 -0
- package/dist/public/assets/_BNZgCt2D.js.br +0 -0
- package/dist/public/assets/_BO-NDKjv.js.br +0 -0
- package/dist/public/assets/_BP3daLRF.js.br +0 -0
- package/dist/public/assets/_BRXPkWkz.js.br +0 -0
- package/dist/public/assets/_BSnuFn6s.js +0 -1
- package/dist/public/assets/_BV-jCckF.js +0 -1
- package/dist/public/assets/_BW5KN-7X.js +0 -1
- package/dist/public/assets/_BWiyHfcY.js +0 -1
- package/dist/public/assets/_BWrNVFBT.js +0 -1
- package/dist/public/assets/_BX6cHZRC.js.br +0 -0
- package/dist/public/assets/_Bc6bSDC7.js.br +0 -0
- package/dist/public/assets/_BcnofYSF.js +0 -1
- package/dist/public/assets/_Bd54ZeV7.js +0 -1
- package/dist/public/assets/_BfPvaVwz.js +0 -1
- package/dist/public/assets/_Bg2QU4YL.js.br +0 -0
- package/dist/public/assets/_BgOKQo-U.js.br +0 -0
- package/dist/public/assets/_BjSq4BzQ.js +0 -1
- package/dist/public/assets/_BmKHBiNs.js.br +0 -0
- package/dist/public/assets/_Bp1Rz6F-.js.br +0 -0
- package/dist/public/assets/_BpvijjYe.js +0 -1
- package/dist/public/assets/_BpvijjYe.js.br +0 -0
- package/dist/public/assets/_BrQz9_1N.js.br +0 -0
- package/dist/public/assets/_BrwA1d2e.js.br +0 -0
- package/dist/public/assets/_BsSjoVSF.js +0 -1
- package/dist/public/assets/_BsZOFgem.js.br +0 -0
- package/dist/public/assets/_BsgMUS5v.js +0 -1
- package/dist/public/assets/_BspJ2pqw.js.br +0 -0
- package/dist/public/assets/_BtZ336jh.js.br +0 -0
- package/dist/public/assets/_BvCAp6ap.js +0 -1
- package/dist/public/assets/_BvOUeUZa.js +0 -1
- package/dist/public/assets/_Bva9S0Lp.js +0 -1
- package/dist/public/assets/_By8hC_3V.js +0 -1
- package/dist/public/assets/_ByjvEM2K.js +0 -1
- package/dist/public/assets/_Bz-XjNLZ.js.br +0 -0
- package/dist/public/assets/_C-M_kClx.js.br +0 -0
- package/dist/public/assets/_C0pj3hDu.js +0 -1
- package/dist/public/assets/_C33Ig972.js.br +0 -0
- package/dist/public/assets/_C9bVnGYg.js.br +0 -0
- package/dist/public/assets/_CAzNnO2u.js.br +0 -0
- package/dist/public/assets/_CBYhG-Jk.js +0 -1
- package/dist/public/assets/_CBZYZvX6.js.br +0 -0
- package/dist/public/assets/_CC-TbOxb.js +0 -1
- package/dist/public/assets/_CDRpwb4M.js +0 -1
- package/dist/public/assets/_CE0xb-t1.js.br +0 -0
- package/dist/public/assets/_CEms_Z-6.js.br +0 -0
- package/dist/public/assets/_CGhrSui5.js.br +0 -0
- package/dist/public/assets/_CGsMyVqh.js +0 -1
- package/dist/public/assets/_CGslQHw6.js +0 -2
- package/dist/public/assets/_CGslQHw6.js.br +0 -0
- package/dist/public/assets/_CH4p6ja3.js.br +0 -0
- package/dist/public/assets/_CI503IRR.js.br +0 -0
- package/dist/public/assets/_CK1km0hv.js.br +0 -0
- package/dist/public/assets/_CNLzm8LQ.js +0 -1
- package/dist/public/assets/_CO9uHpUR.js +0 -1
- package/dist/public/assets/_CRDS_Qnj.js +0 -1
- package/dist/public/assets/_CRW1wfql.js.br +0 -0
- package/dist/public/assets/_CRm4PdBT.js +0 -1
- package/dist/public/assets/_CTb8ws2D.js +0 -1
- package/dist/public/assets/_CUcuo0OF.js.br +0 -0
- package/dist/public/assets/_CZjD55hp.js.br +0 -0
- package/dist/public/assets/_C_zHPihH.js +0 -1
- package/dist/public/assets/_Cd8cJJ5d.js +0 -1
- package/dist/public/assets/_CebKs3BC.js.br +0 -0
- package/dist/public/assets/_ChLHPeVd.js +0 -1
- package/dist/public/assets/_ChPi7Qia.js +0 -1
- package/dist/public/assets/_Ci_ERulo.js.br +0 -0
- package/dist/public/assets/_CnA75RK-.js +0 -1
- package/dist/public/assets/_CrkyDA5s.js.br +0 -0
- package/dist/public/assets/_Crlc-QAY.js +0 -1
- package/dist/public/assets/_Ct2onnrq.js.br +0 -0
- package/dist/public/assets/_CvE-okFl.js.br +0 -0
- package/dist/public/assets/_CvFxFb7b.js +0 -1
- package/dist/public/assets/_Cvmxsqbk.js.br +0 -0
- package/dist/public/assets/_Cx0XNN9g.js +0 -1
- package/dist/public/assets/_Cx3eVwn1.js +0 -1
- package/dist/public/assets/_Cxf_IUf4.js.br +0 -0
- package/dist/public/assets/_Cz1WbAmd.js.br +0 -0
- package/dist/public/assets/_D-_xeCD1.js.br +0 -0
- package/dist/public/assets/_D2AWXbDz.js +0 -1
- package/dist/public/assets/_D4R7X41o.js +0 -1
- package/dist/public/assets/_D5SMLcbR.js +0 -1
- package/dist/public/assets/_D5szhG6N.js.br +0 -0
- package/dist/public/assets/_D8duRYg_.js.br +0 -0
- package/dist/public/assets/_DBi6AZp1.js.br +0 -0
- package/dist/public/assets/_DDF_obmV.js +0 -1
- package/dist/public/assets/_DEdUC-99.js.br +0 -0
- package/dist/public/assets/_DFY87HPv.js.br +0 -0
- package/dist/public/assets/_DMBxaUer.js.br +0 -0
- package/dist/public/assets/_DMCzgljm.js +0 -1
- package/dist/public/assets/_DMIFpGTL.js.br +0 -0
- package/dist/public/assets/_DNAALd01.js +0 -1
- package/dist/public/assets/_DOvWbnNI.js +0 -1
- package/dist/public/assets/_DRD9BWmW.js.br +0 -0
- package/dist/public/assets/_DSR-ekR6.js.br +0 -0
- package/dist/public/assets/_DSd4RC98.js.br +0 -0
- package/dist/public/assets/_DVWPCuX6.js +0 -1
- package/dist/public/assets/_DXW91wcG.js +0 -1
- package/dist/public/assets/_DYKYQ8m8.js +0 -1
- package/dist/public/assets/_D_LJ8pmO.js.br +0 -0
- package/dist/public/assets/_Db-Unv14.js +0 -1
- package/dist/public/assets/_DbUkj7Cm.js.br +0 -0
- package/dist/public/assets/_Dcfan7km.js +0 -1
- package/dist/public/assets/_Dcfe_1SB.js +0 -1
- package/dist/public/assets/_Dcfe_1SB.js.br +0 -0
- package/dist/public/assets/_DdIt6KC0.js +0 -1
- package/dist/public/assets/_Df9tDuQJ.js.br +0 -0
- package/dist/public/assets/_DgEX6kkV.js.br +0 -0
- package/dist/public/assets/_DiRP-nIf.js +0 -1
- package/dist/public/assets/_DlrFmXHy.js.br +0 -0
- package/dist/public/assets/_Do2K8-PP.js.br +0 -0
- package/dist/public/assets/_Dpeqvq2b.js +0 -1
- package/dist/public/assets/_DphFWoqW.js +0 -1
- package/dist/public/assets/_DqMNxlrt.js.br +0 -0
- package/dist/public/assets/_DqtM_bbr.js.br +0 -0
- package/dist/public/assets/_Dr000eW7.js.br +0 -0
- package/dist/public/assets/_DrChcZDh.js.br +0 -0
- package/dist/public/assets/_DuDDRKYO.js.br +0 -0
- package/dist/public/assets/_Dwsl_wKj.js.br +0 -0
- package/dist/public/assets/_Dwv8BEGB.js.br +0 -0
- package/dist/public/assets/_DxSjwdlY.js.br +0 -0
- package/dist/public/assets/_DxpmRvl2.js.br +0 -0
- package/dist/public/assets/_Dz88Dpub.js +0 -1
- package/dist/public/assets/_HauWfpUn.js +0 -1
- package/dist/public/assets/_Ijrn9E9G.js +0 -1
- package/dist/public/assets/_M4FQh9bC.js +0 -1
- package/dist/public/assets/_QORYcpTd.js.br +0 -0
- package/dist/public/assets/_Qauup-ns.js.br +0 -0
- package/dist/public/assets/_TlisgNCJ.js.br +0 -0
- package/dist/public/assets/_UQ7mzph0.js.br +0 -0
- package/dist/public/assets/_UcX6VY7d.js.br +0 -0
- package/dist/public/assets/_WlELMoKQ.js.br +0 -0
- package/dist/public/assets/_XoAXFntv.js +0 -1
- package/dist/public/assets/_ZGgC0r2G.js +0 -1
- package/dist/public/assets/__DiIExtT.js +0 -1
- package/dist/public/assets/__GQz4qRd.js.br +0 -0
- package/dist/public/assets/__dK-lv2S.js +0 -1
- package/dist/public/assets/__s7yh6D2.js +0 -1
- package/dist/public/assets/_bq3cGUln.js.br +0 -0
- package/dist/public/assets/_cqJmKjxj.js +0 -1
- package/dist/public/assets/_hDmRiKUw.js.br +0 -0
- package/dist/public/assets/_jHMZ7_SS.js.br +0 -0
- package/dist/public/assets/_lUUoHbkp.js +0 -1
- package/dist/public/assets/_lVS7e3_v.js.br +0 -0
- package/dist/public/assets/_lap_hed5.js +0 -1
- package/dist/public/assets/_lap_hed5.js.br +0 -0
- package/dist/public/assets/_oAmRs9Id.js +0 -1
- package/dist/public/assets/_r3ADao7e.js +0 -7
- package/dist/public/assets/_r3ADao7e.js.br +0 -0
- package/dist/public/assets/_saecw7-8.js +0 -1
- package/dist/public/assets/_tDQjJjsw.js +0 -1
- package/dist/public/assets/_v-b8Pv1D.js +0 -1
- package/dist/public/assets/_vnY6YQ72.js +0 -1
- package/dist/public/assets/_yG7fM3OX.js +0 -1
- package/dist/public/assets/_yGoKwpSc.js +0 -1
- package/dist/public/assets/_yzVrMpiX.js +0 -1
- package/dist/public/assets/files-view-CRP8mZ8A.js +0 -2
- package/dist/public/assets/manage-workspace-g9et8r1N.js +0 -2
- package/dist/public/assets/new-COiDKbdJ.js +0 -1
- package/dist/public/assets/new-workspace-BUibVLk7.js +0 -2
- package/dist/public/assets/review-view-AmmjoEDt.js +0 -2
- package/dist/public/assets/settings-COiDKbdJ.js +0 -1
- package/dist/public/assets/settings-page-CsNPZ11b.js +0 -2
- package/dist/public/assets/styles-D4_8DmOT.css +0 -1
- package/dist/public/assets/styles-D4_8DmOT.css.br +0 -0
- package/dist/public/assets/w-COiDKbdJ.js +0 -1
- package/dist/public/assets/w._-COiDKbdJ.js +0 -1
- package/dist/public/assets/w._-Tuxo-Ck_.js +0 -1
- package/dist/public/assets/w._-slbhbJCW.js +0 -1
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{dn as e}from"./_5qNa1gUY.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{dn as e}from"./_wC0cYIUL.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ot as e}from"./_By3jAAQI.js";import{B as t,D as n,E as r,F as i,G as a,H as ee,I as o,L as s,V as c,W as l,a as u,i as d,x as f}from"./_DYqcWHxx.js";import{Hn as p,Ot as m,Qn as h,Qt as g,Xn as _}from"./_DdWxi_D9.js";import{c as v}from"./_w3JsvUod.js";function y(e){return/one-time code:\s*([A-Z0-9]{4}-[A-Z0-9]{4})/i.exec(e)?.[1]??null}async function b(e,t,n){let r=v(`setup:${e}`,n);await r.ready;try{return await h(`/api/setup/${encodeURIComponent(e)}`,t)}finally{r.stop()}}var x=`<div><!><!><!><!></div>`,S=` D%b%b%b%l`,C=l(`pb3`,e=>t(e.f,`click`,function(){p(e.M)})),w=t=>{u(t.a,[`_k9`,`_k_`]),u(t.b,`_la`),u(t.c,`_lb`),a(t.d,t.M),u(t.e,`_lc`),u(t.f,[e,`_le`]),d(t.f,`title`,`Ask about ${t.M} again`),C(t)},T=e=>{u(e.a,[`_k9`,`_lf`]),u(e.b,`_T`)},E=o(5,0,e=>d(e.b,`title`,`Ignore ${e._.i} — stop asking about it`)),D=l(`pb1`,e=>{t(e.a,`click`,function(){e._._.w(e._.j)}),t(e.b,`click`,function(){g(e._.i)})}),te=i(5,`<button type=button title="Re-authorize the GitHub CLI">Authorize</button><button type=button>Ignore</button>`,` b `,t=>{E._(t),u(t.a,[e,`_j`]),u(t.b,[e,`_le`]),D(t)}),O=r(1,e=>te(e,+!!e._.u)),k=e=>{O._(e),u(e.a,`_k9`),u(e.b,`_la`),u(e.c,`_lb`),u(e.e,[`_lc`,`_ld`])},A=f(8,e=>{a(e.d,e.i),E(e)}),j=(e,t)=>{A(e,t[0]?.org),M(e,t[0]?.host)},M=f(9),N=o(3,0,e=>a(e.b,e._.s)),P=e=>{N._(e),u(e.a,[`_k9`,`_li`])},F=o(2,0,e=>a(e.d,e._.q)),I=l(`pb2`,e=>t(e.e,`click`,function(t){t.preventDefault(),m(`https://${e._.t}/login/device`,{system:!0})})),L=e=>{F._(e),R._(e),u(e.a,[`_k9`,`_lf`]),u(e.b,`_T`),u(e.c,`_lg`),u(e.e,`_lh`),I(e)},R=o(2,0,e=>{d(e.e,`href`,`https://${e._.t}/login/device`),a(e.f,e._.t)}),z=n(4,`<div><span><span> </span><span>Ignored</span></span><button type=button>Undo</button></div>`,` D D D l l `,w),B=(e,t)=>z(e,[t,`org`]),V=(e,t)=>B(e,t||[]),H=f(22),U=c(21,e=>H(e,$(e)),3),W=f(20,e=>{U(e),O(e)}),G=c(15,e=>W(e,e.i||e.o)),K=i(2,`<div><span></span> Enter code <strong> </strong> at <a><!>/login/device</a></div>`,` D c D lb D%`,L,`<div><span></span>Starting GitHub re-authorization…</div>`,` D `,T),q=c(17,e=>K(e,e.o&&e.q?0:e.o?1:2)),J=s(14,e=>{G(e),q(e)}),Y=s(16,e=>{U(e),q(e),F(e)}),X=i(3,`<p> </p>`,` D `,P),Z=s(18,e=>{X(e,+!e.s),N(e)}),Q=s(19,R);function ne(e){J(e,!1),Y(e,null),Z(e,null),Q(e,`github.com`)}var re=f(8,G),ie=f(9,U),ae=f(10,U),oe=(e,t)=>u(e.a,[`_k8`,t]),se=n(1,`<div><span><span> </span><span title="Repos and PRs in this org stay hidden until authorized">SSO not authorized</span></span><!></div>`,` D D D l l%`,k,j),ce=(e,t)=>se(e,[t,e=>`${e.host}/${e.org}`]),$=e=>async t=>{if(!e.u){if(Z(e,null),e.j){await e.j();return}J(e,!0),Y(e,null),Q(e,t);try{await b(t,{action:`auth-refresh`},t=>{Y(e,y(t)??e.q)}),await e.k?.()}catch(t){Z(e,_(t))}finally{J(e,!1),Y(e,null)}}};ee.pb0=$;export{ae as a,x as c,b as d,ie as i,S as l,oe as n,V as o,ce as r,ne as s,re as t,y as u};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Jt as e,Mt as t,Yt as n,er as r,jt as i,kt as a}from"./_CRW1wfql.js";import{n as o,o as ee,r as s,s as te}from"./_Cxuln-KJ.js";var c=0,l=1,u=2,d=3,ne=8e3,re=16384,f=class{queue=[];timer;delay;constructor(e){this.delay=e}run(e){let t=this.delay();if(t<=0&&!this.queue.length)return e();this.queue.push({due:performance.now()+t,fn:e}),this.arm()}arm(){if(this.timer!==void 0||!this.queue.length)return;let e=Math.max(0,this.queue[0].due-performance.now());this.timer=setTimeout(()=>{this.timer=void 0;let e=performance.now();for(;this.queue.length&&this.queue[0].due<=e+1;)this.queue.shift().fn();this.arm()},e)}};function ie(e,t){let n=new f(t),r=new f(t),i=[],a=c,o={get readyState(){return a},get binaryType(){return e.binaryType},set binaryType(t){e.binaryType=t},onopen:null,onmessage:null,onclose:null,send(t){n.run(()=>{e.readyState===l&&e.send(t)})},close(t){a<u&&(a=u),n.run(()=>e.close(t))},addEventListener(e,t){i.push(t)}};return e.onopen=e=>n.run(()=>r.run(()=>{if(a===c){a=l,o.onopen?.(e);for(let e of i)e()}})),e.onmessage=e=>r.run(()=>{a!==d&&o.onmessage?.(e)}),e.onclose=e=>r.run(()=>{a=d,o.onclose?.(e)}),o}var ae=class{readyState=c;binaryType=`arraybuffer`;onopen=null;onmessage=null;onclose=null;opens=[];code=null;timer;out;back;unpack=null;dc;gone;constructor(e,t,n,r,i){this.dc=e,this.gone=i,this.out=new f(r),this.back=new f(r),e.binaryType=`arraybuffer`,this.timer=setTimeout(()=>this.fail(),ne),n&&(this.unpack=new se(n,e=>this.receive(e),()=>this.fail()));let a=this.unpack;e.onopen=()=>this.out.run(()=>e.send(t)),e.onmessage=e=>this.back.run(()=>{a&&e.data instanceof ArrayBuffer?a.write(e.data):this.receive(e.data)}),e.onclose=()=>this.back.run(()=>{a?a.end().then(()=>this.closed()):this.closed()})}send(e){this.readyState===l&&this.out.run(()=>{if(this.dc.readyState===`open`){if(typeof e==`string`)this.dc.send(e);else for(let t of ue(e))this.dc.send(t)}})}close(e){if(this.readyState>=u)return;let t=this.readyState===l&&e!==void 0;this.readyState=u,clearTimeout(this.timer),this.out.run(()=>{t&&this.dc.readyState===`open`&&this.dc.send(JSON.stringify({bye:e})),this.dc.close()}),setTimeout(()=>this.closed(),ne)}addEventListener(e,t){this.opens.push(t)}goingAway(){this.readyState===l&&this.dc.readyState===`open`&&this.dc.send(JSON.stringify({bye:1001}))}fail(){if(this.readyState!==d){try{this.dc.close()}catch{}this.closed()}}receive(e){if(this.readyState!==d){if(e instanceof ArrayBuffer){let t=le(e);if(t!==null){this.code=t;return}}if(this.readyState===c){clearTimeout(this.timer),this.readyState=l,this.onopen?.(new Event(`open`));for(let e of this.opens)e()}this.onmessage?.(new MessageEvent(`message`,{data:e}))}}closed(){this.readyState!==d&&(this.readyState=d,clearTimeout(this.timer),this.unpack?.cancel(),this.gone(this),this.onclose?.(new CloseEvent(`close`,{code:this.code??1006})))}},oe=255,se=class{writer;reader;text=new TextDecoder;word=null;pumped;broken=!1;deliver;failed;constructor(e,t,n){this.deliver=t,this.failed=n;let r=new DecompressionStream(e);this.writer=r.writable.getWriter(),this.reader=r.readable.getReader(),this.pumped=this.pump()}write(e){this.writer.write(e).catch(()=>this.fail())}async end(){await this.writer.close().catch(()=>this.fail()),await this.pumped}cancel(){this.broken=!0,this.reader.cancel().catch(()=>{})}fail(){this.broken||(this.broken=!0,this.failed())}async pump(){try{for(;;){let{value:e,done:t}=await this.reader.read();if(t||this.broken)return;this.split(e)}}catch{this.fail()}}split(e){let t=0;for(;t<e.length;){let n=e.indexOf(oe,t),r=n<0?e.length:n;if(this.word)this.word.push(e.subarray(t,r));else if(r>t){let n=this.text.decode(e.subarray(t,r),{stream:!0});n&&this.deliver(n)}if(n<0)return;this.word?(this.deliver(ce(this.word)),this.word=null):this.word=[],t=n+1}}};function ce(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t.buffer}function le(e){if(e.byteLength>32)return null;try{let t=JSON.parse(new TextDecoder().decode(e))?.bye;return Number.isInteger(t)?t:null}catch{return null}}function*ue(e){if(e.length<=re){yield e;return}for(let t=0;t<e.length;){let n=Math.min(t+re,e.length);for(;n<e.length&&n>t+1&&(e[n]&192)==128;)n--;yield e.subarray(t,n),t=n}}var de=10,fe=3,pe=5e3,me=10,he=5,ge=.2,_e=3,ve=2e3,ye=12e3,be=1e4,xe=5e3,Se=5e3,Ce=[2e3,5e3,15e3,3e4,6e4],we=15,p=`off`,m=0,h=0,g=null,_=`ws`,v=null,y=null,b=``,x=null,S=`none`,C=null,w=!1,T=!1,E=!1,D=0,O=[],k=[],A=0,j=0,Te=0,M=!1,N=0,P=[],F=new Set,I=[],L,R,z,Ee,B=null,De=new f(()=>m/2),Oe=new f(()=>m/2),ke=new f(()=>h/2),Ae=new f(()=>h/2),V=new Map,je=0,H=Me();function Me(){let e=null;try{localStorage.getItem(`work:direct-checks`)&&(e=localStorage.getItem(`work:direct-codec`))}catch{}for(let t of e?[e]:[`brotli`,`deflate-raw`])try{return new DecompressionStream(t),t}catch{}return null}var Ne={open(e){if(_===`rtc`&&Ge()){let t=new ae(y.createDataChannel(`term`),H?`${e}${e.includes(`?`)?`&`:`?`}codec=${H}`:e,H,()=>h/2,e=>F.delete(e));return F.add(t),{conn:t,transport:`rtc`}}let t=location.protocol===`https:`?`wss`:`ws`;return{conn:ie(new WebSocket(`${t}://${location.host}${e}`),()=>m/2),transport:`ws`}}};r(()=>{(y||g)&&(X(`signed out: direct path closed`),g=null,clearTimeout(L),G())});function Pe(){let e=p;Ie(),e!==`off`&&p!==`off`&&Fe()}function Fe(){t({rtc:`hello`,peer:y?b:void 0})}function Ie(){let t=n();if(m=e(),t===p)return Z();let r=p;if(p=t,p===`off`)return Re();X(`mode ${p}`),r===`off`?Le():Be(),Z()}function Le(){te(Ne),B=new AbortController;let e=B.signal;a().addEventListener(`rtc`,e=>ze(e.data),{signal:e}),document.addEventListener(`visibilitychange`,()=>{if(document.visibilityState!==`visible`){N=Date.now();return}N&&Date.now()-N>Se&&(X(`visible again`),K()),N=0},{signal:e}),window.addEventListener(`online`,()=>{X(`online`),K()},{signal:e}),window.addEventListener(`offline`,()=>{X(`offline`),J(`ws`,`offline`,!1)},{signal:e}),navigator.connection?.addEventListener(`change`,()=>{X(`network change`),K()},{signal:e}),window.addEventListener(`pagehide`,()=>{for(let e of F)e.goingAway();y&&(t({rtc:`close`,id:b}),y.close())},{signal:e}),Ee=setInterval(()=>void Je(fe),pe),Fe(),Ze();for(let e of s())e.transport&&!e.routed&&e.move(!0)}function Re(){X(`off`),te(null);for(let e of s())e.routed&&e.move(!0);B?.abort(),B=null,clearInterval(Ee),clearTimeout(L),G(),g=null,_=`ws`,O=[],ee(null)}function ze(e){let t=e.data;switch(e.type){case`rtc.hello`:{let e=g;g=t,(e?.path!==g.path||e?.available!==g.available)&&X(`path ${g.path}${g.available?``:` · direct unavailable: ${g.error??`not loaded`}`}`),Be(e?.path!==g.path);break}case`rtc.echo`:{let e=Number(t?.n);Oe.run(()=>V.get(e)?.());break}case`rtc.pair`:t?.id===b&&(C={local:String(t.page),remote:String(t.server)},X(`pair: ${C.local} ↔ ${C.remote}`));break;case`rtc.answer`:if(t?.id===b&&y){let e=y;e.setRemoteDescription({type:`answer`,sdp:String(t.sdp)}).then(()=>{for(let t of P.splice(0))e.addIceCandidate(t).catch(()=>{})}).catch(e=>W(`answer refused: ${e.message}`))}break;case`rtc.candidate`:if(t?.id===b&&y){let e={candidate:String(t.candidate),sdpMid:String(t.mid)};y.remoteDescription?y.addIceCandidate(e).catch(()=>{}):P.push(e)}break;case`rtc.port`:{let e=g?.routerPort;g&&={...g,routerPort:t};let n=g?.routerPort;n&&(e?.state!==n.state||e?.allowed!==n.allowed)&&X(n.state===`mapped`?`router port ${n.external} → ${n.internal}`:n.state===`error`?`router port: ${n.error}`:n.allowed?`router port ${n.state}`:`router port not allowed`),T&&n?.allowed&&!e?.allowed&&!q()&&U();break}case`rtc.error`:if(t?.id!==b)break;t.unavailable&&g&&(g={...g,available:!1,error:String(t.error)}),W(`server: ${String(t.error)}`)}Z()}function Be(e=!0){if(p!==`off`&&g&&g.available){if(p===`auto`&&g.path!==`proxied`){(e||y)&&X(`Auto: the path is ${g.path}, not probing`),G();return}p===`always`&&q()&&!v&&J(`rtc`,`Always`),y||U()}}function Ve(){return p!==`off`&&!!g?.available&&(p===`always`||g.path===`proxied`)}function U(){if(clearTimeout(L),G(),!g||!Ve()||!i())return;let e=`p${Math.random().toString(36).slice(2,12)}`,n=new RTCPeerConnection({iceServers:g.stun.length?[{urls:g.stun}]:[]});y=n,b=e,P=[],S=n.iceConnectionState;let r=n.createDataChannel(`ctl`);x=r,X(T?`probe started (asking for the router port)`:`probe started`),r.onopen=()=>{y===n&&(clearTimeout(R),Te=0,j=0,w=!1,D=performance.now(),X(`direct path open`),Je(de,!0))},r.onmessage=e=>{let t=NaN;try{t=Number(JSON.parse(String(e.data)).p)}catch{}Ae.run(()=>{D=performance.now(),V.get(t)?.()})},r.onclose=()=>{y===n&&W(`control channel closed`)},n.onicecandidate=r=>{y===n&&r.candidate?.candidate&&t({rtc:`candidate`,id:e,candidate:r.candidate.candidate,mid:r.candidate.sdpMid??`0`})},n.oniceconnectionstatechange=()=>{y===n&&(S=n.iceConnectionState,X(`ICE ${S}`),We(n),Z())},R=setTimeout(()=>{y===n&&r.readyState!==`open`&&He()},be);let a=E;E=!1,n.setLocalDescription().then(()=>{y!==n||a||t({rtc:`offer`,id:e,sdp:n.localDescription.sdp,mode:p,needsPort:T})||W(`events socket closed`)}).catch(e=>W(e.message)),Z()}function He(){w=!0,(p===`always`||g?.path===`proxied`)&&(T=!0),W(`not connected`,!0)}function Ue(){if(!w||!g)return null;let e=g.routerPort,t=!!g.firewall?.likely,n=`Couldn't reach this machine directly from this network.`;return T?e?.allowed?e.state===`error`?{text:`${n} Its router's port failed: ${e.error}.`,needs:null,walled:t}:e.state===`mapped`?{text:`${n} Not even through its router's port ${e.external}.`,needs:null,walled:t}:{text:`Opening a port on this machine's router…`,needs:null,walled:!1}:{text:n,needs:`router-port`,walled:t}:{text:n,needs:null,walled:t}}function We(e){clearTimeout(z);let t=e.iceConnectionState;if(t!==`connected`&&t!==`completed`){if(t===`disconnected`){J(`ws`,`ICE disconnected`,!1),z=setTimeout(()=>{y===e&&e.iceConnectionState===`disconnected`&&W(`ICE stayed disconnected`)},xe);return}t===`failed`?C?W(`ICE failed`):He():t===`closed`&&W(`ICE closed`)}}function W(e,t=!1){if(!y||(X(`direct path lost: ${e}`),J(`ws`,e,!1),G(t),!Ve()))return;let n=Ce[Math.min(Te++,Ce.length-1)];L=setTimeout(()=>{document.visibilityState===`visible`?U():N||=Date.now()-Se-1},n)}function G(e=!1){clearTimeout(R),clearTimeout(z);let n=y;if(n){y=null,x=null,C=null,S=`none`,k=[],A=0,j=0,J(`ws`,`direct path closed`,!1),Y(!1),t({rtc:`close`,id:b,...e&&{unreached:e}});for(let e of[...F])e.fail();try{n.close()}catch{}Z()}}function K(){if(Ve()){if(!q()){let e=y?.iceConnectionState;(!y||e===`disconnected`||e===`failed`)&&U();return}qe().then(e=>{e===null?W(`no answer`):Je(fe)})}}function q(){return!!y&&x?.readyState===`open`&&(y.iceConnectionState===`connected`||y.iceConnectionState===`completed`)}function Ge(){return q()&&performance.now()-D<ye}function Ke(){let e=++je,n=performance.now();return new Promise(r=>{let i=setTimeout(a,ve,null);function a(t){clearTimeout(i),V.delete(e),r(t)}V.set(e,()=>a(performance.now()-n)),De.run(()=>{t({rtc:`echo`,n:e})||a(null)})})}function qe(){let e=x,t=++je,n=performance.now();return new Promise(r=>{let i=setTimeout(a,ve,null);function a(e){clearTimeout(i),V.delete(t),r(e)}V.set(t,()=>a(performance.now()-n)),ke.run(()=>{if(e?.readyState!==`open`)return a(null);e.send(JSON.stringify({p:t}))})})}async function Je(e,t=!1){if(!M&&p!==`off`&&q()){M=!0;try{for(let t=0;t<e;t++){let e=await Ke();if(e!==null&&Xe(O,e),!q())break;let t=await qe();if(t!==null)Xe(k,t),j=0;else if(++j>=2){W(`round trips unanswered`);break}}}finally{M=!1}t&&X(`samples: WS ${$(Q(O))} · direct ${$(Q(k))} (median of ${e})`),Ye(t),Y()}}function Ye(e){if(Z(),!q()||v)return;if(p===`always`)return J(`rtc`,`Always`);let t=Q(O),n=Q(k);if(t===null||n===null)return;let r=n<=t-he&&n<=t*.8,i=n>=t+he&&n>=t*1.2;if(_===`ws`){r?J(`rtc`,`direct ${$(n)} vs WS ${$(t)}`):e&&X(`staying on WS: direct ${$(n)} vs WS ${$(t)} (needs ${he} ms and ${ge*100}% faster)`);return}if(!i){A=0;return}A++,A>=_e?J(`ws`,`direct ${$(n)} slower than WS ${$(t)}, ${_e} windows`):X(`direct ${$(n)} slower than WS ${$(t)} (${A} of ${_e})`)}function J(e,t,n=!0){_!==e&&(_=e,A=0,X(e===`rtc`?`switched to direct: ${t}`:`switched to WS: ${t}`),Y(n),Z())}function Y(e=!0){let t=_===`rtc`&&Ge()?`rtc`:`ws`;for(let n of s())n.transport&&n.transport!==t&&n.move(e)}function X(e){I.push({at:Date.now(),text:e}),I.length>we&&I.splice(0,I.length-we),Z()}function Z(){p!==`off`&&ee({mode:p,path:g?.path??null,available:g?g.available:null,error:g?.error??null,chosen:_,wsMs:Q(O),rtcMs:q()?Q(k):null,ice:S,pair:C,codec:H,delay:m,trouble:Ue()?.text??null,needs:Ue()?.needs??null,walled:Ue()?.walled??!1,firewall:g?.firewall??null,routerPort:g?.routerPort??null,log:[...I]})}function Xe(e,t){e.push(t),e.length>me&&e.splice(0,e.length-me)}function Q(e){if(!e.length)return null;let t=[...e].sort((e,t)=>e-t),n=t.length>>1;return t.length%2?t[n]:(t[n-1]+t[n])/2}function $(e){return e===null?`–`:`${e<10?e.toFixed(1):Math.round(e)} ms`}function Ze(){try{if(!localStorage.getItem(`work:direct-checks`))return}catch{return}let e=new Map,n=e=>s().find(t=>t.sessionId===e);window.__workDirect={status:()=>o(),setRtcDelay(e){h=e},force(e){v=e,e?J(e,`forced`):Ye(!1)},serverClose(){t({rtc:`close`,id:b})},failNext(){E=!0},terms:()=>s().map(e=>({sessionId:e.sessionId,transport:e.transport})),screen:e=>n(e)?.screen()??null,record(t){let r={text:[],at:[]};e.set(t,r);let i=n(t);i&&(i.tap=e=>{r.text.push(e),r.at.push(performance.now())})},recorded:t=>e.get(t)?.text.join(``)??``,arrivals:t=>e.get(t)?.at??[],async wire(){let e=0;return(await y?.getStats())?.forEach(t=>{t.type===`candidate-pair`&&(e+=Number(t.bytesReceived)||0)}),e},async remoteCandidates(){let e=[];return(await y?.getStats())?.forEach(t=>{t.type===`remote-candidate`&&e.push(`${t.candidateType} ${t.address??t.ip}:${t.port}`)}),e}}}export{Pe as eventsHello,Ie as syncMode};
|
|
1
|
+
import{Jt as e,Mt as t,Yt as n,er as r,jt as i,kt as a}from"./_DdWxi_D9.js";import{n as o,o as ee,r as s,s as te}from"./_Cxuln-KJ.js";var c=0,l=1,u=2,d=3,ne=8e3,re=16384,f=class{queue=[];timer;delay;constructor(e){this.delay=e}run(e){let t=this.delay();if(t<=0&&!this.queue.length)return e();this.queue.push({due:performance.now()+t,fn:e}),this.arm()}arm(){if(this.timer!==void 0||!this.queue.length)return;let e=Math.max(0,this.queue[0].due-performance.now());this.timer=setTimeout(()=>{this.timer=void 0;let e=performance.now();for(;this.queue.length&&this.queue[0].due<=e+1;)this.queue.shift().fn();this.arm()},e)}};function ie(e,t){let n=new f(t),r=new f(t),i=[],a=c,o={get readyState(){return a},get binaryType(){return e.binaryType},set binaryType(t){e.binaryType=t},onopen:null,onmessage:null,onclose:null,send(t){n.run(()=>{e.readyState===l&&e.send(t)})},close(t){a<u&&(a=u),n.run(()=>e.close(t))},addEventListener(e,t){i.push(t)}};return e.onopen=e=>n.run(()=>r.run(()=>{if(a===c){a=l,o.onopen?.(e);for(let e of i)e()}})),e.onmessage=e=>r.run(()=>{a!==d&&o.onmessage?.(e)}),e.onclose=e=>r.run(()=>{a=d,o.onclose?.(e)}),o}var ae=class{readyState=c;binaryType=`arraybuffer`;onopen=null;onmessage=null;onclose=null;opens=[];code=null;timer;out;back;unpack=null;dc;gone;constructor(e,t,n,r,i){this.dc=e,this.gone=i,this.out=new f(r),this.back=new f(r),e.binaryType=`arraybuffer`,this.timer=setTimeout(()=>this.fail(),ne),n&&(this.unpack=new se(n,e=>this.receive(e),()=>this.fail()));let a=this.unpack;e.onopen=()=>this.out.run(()=>e.send(t)),e.onmessage=e=>this.back.run(()=>{a&&e.data instanceof ArrayBuffer?a.write(e.data):this.receive(e.data)}),e.onclose=()=>this.back.run(()=>{a?a.end().then(()=>this.closed()):this.closed()})}send(e){this.readyState===l&&this.out.run(()=>{if(this.dc.readyState===`open`){if(typeof e==`string`)this.dc.send(e);else for(let t of ue(e))this.dc.send(t)}})}close(e){if(this.readyState>=u)return;let t=this.readyState===l&&e!==void 0;this.readyState=u,clearTimeout(this.timer),this.out.run(()=>{t&&this.dc.readyState===`open`&&this.dc.send(JSON.stringify({bye:e})),this.dc.close()}),setTimeout(()=>this.closed(),ne)}addEventListener(e,t){this.opens.push(t)}goingAway(){this.readyState===l&&this.dc.readyState===`open`&&this.dc.send(JSON.stringify({bye:1001}))}fail(){if(this.readyState!==d){try{this.dc.close()}catch{}this.closed()}}receive(e){if(this.readyState!==d){if(e instanceof ArrayBuffer){let t=le(e);if(t!==null){this.code=t;return}}if(this.readyState===c){clearTimeout(this.timer),this.readyState=l,this.onopen?.(new Event(`open`));for(let e of this.opens)e()}this.onmessage?.(new MessageEvent(`message`,{data:e}))}}closed(){this.readyState!==d&&(this.readyState=d,clearTimeout(this.timer),this.unpack?.cancel(),this.gone(this),this.onclose?.(new CloseEvent(`close`,{code:this.code??1006})))}},oe=255,se=class{writer;reader;text=new TextDecoder;word=null;pumped;broken=!1;deliver;failed;constructor(e,t,n){this.deliver=t,this.failed=n;let r=new DecompressionStream(e);this.writer=r.writable.getWriter(),this.reader=r.readable.getReader(),this.pumped=this.pump()}write(e){this.writer.write(e).catch(()=>this.fail())}async end(){await this.writer.close().catch(()=>this.fail()),await this.pumped}cancel(){this.broken=!0,this.reader.cancel().catch(()=>{})}fail(){this.broken||(this.broken=!0,this.failed())}async pump(){try{for(;;){let{value:e,done:t}=await this.reader.read();if(t||this.broken)return;this.split(e)}}catch{this.fail()}}split(e){let t=0;for(;t<e.length;){let n=e.indexOf(oe,t),r=n<0?e.length:n;if(this.word)this.word.push(e.subarray(t,r));else if(r>t){let n=this.text.decode(e.subarray(t,r),{stream:!0});n&&this.deliver(n)}if(n<0)return;this.word?(this.deliver(ce(this.word)),this.word=null):this.word=[],t=n+1}}};function ce(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t.buffer}function le(e){if(e.byteLength>32)return null;try{let t=JSON.parse(new TextDecoder().decode(e))?.bye;return Number.isInteger(t)?t:null}catch{return null}}function*ue(e){if(e.length<=re){yield e;return}for(let t=0;t<e.length;){let n=Math.min(t+re,e.length);for(;n<e.length&&n>t+1&&(e[n]&192)==128;)n--;yield e.subarray(t,n),t=n}}var de=10,fe=3,pe=5e3,me=10,he=5,ge=.2,_e=3,ve=2e3,ye=12e3,be=1e4,xe=5e3,Se=5e3,Ce=[2e3,5e3,15e3,3e4,6e4],we=15,p=`off`,m=0,h=0,g=null,_=`ws`,v=null,y=null,b=``,x=null,S=`none`,C=null,w=!1,T=!1,E=!1,D=0,O=[],k=[],A=0,j=0,Te=0,M=!1,N=0,P=[],F=new Set,I=[],L,R,z,Ee,B=null,De=new f(()=>m/2),Oe=new f(()=>m/2),ke=new f(()=>h/2),Ae=new f(()=>h/2),V=new Map,je=0,H=Me();function Me(){let e=null;try{localStorage.getItem(`work:direct-checks`)&&(e=localStorage.getItem(`work:direct-codec`))}catch{}for(let t of e?[e]:[`brotli`,`deflate-raw`])try{return new DecompressionStream(t),t}catch{}return null}var Ne={open(e){if(_===`rtc`&&Ge()){let t=new ae(y.createDataChannel(`term`),H?`${e}${e.includes(`?`)?`&`:`?`}codec=${H}`:e,H,()=>h/2,e=>F.delete(e));return F.add(t),{conn:t,transport:`rtc`}}let t=location.protocol===`https:`?`wss`:`ws`;return{conn:ie(new WebSocket(`${t}://${location.host}${e}`),()=>m/2),transport:`ws`}}};r(()=>{(y||g)&&(X(`signed out: direct path closed`),g=null,clearTimeout(L),G())});function Pe(){let e=p;Ie(),e!==`off`&&p!==`off`&&Fe()}function Fe(){t({rtc:`hello`,peer:y?b:void 0})}function Ie(){let t=n();if(m=e(),t===p)return Z();let r=p;if(p=t,p===`off`)return Re();X(`mode ${p}`),r===`off`?Le():Be(),Z()}function Le(){te(Ne),B=new AbortController;let e=B.signal;a().addEventListener(`rtc`,e=>ze(e.data),{signal:e}),document.addEventListener(`visibilitychange`,()=>{if(document.visibilityState!==`visible`){N=Date.now();return}N&&Date.now()-N>Se&&(X(`visible again`),K()),N=0},{signal:e}),window.addEventListener(`online`,()=>{X(`online`),K()},{signal:e}),window.addEventListener(`offline`,()=>{X(`offline`),J(`ws`,`offline`,!1)},{signal:e}),navigator.connection?.addEventListener(`change`,()=>{X(`network change`),K()},{signal:e}),window.addEventListener(`pagehide`,()=>{for(let e of F)e.goingAway();y&&(t({rtc:`close`,id:b}),y.close())},{signal:e}),Ee=setInterval(()=>void Je(fe),pe),Fe(),Ze();for(let e of s())e.transport&&!e.routed&&e.move(!0)}function Re(){X(`off`),te(null);for(let e of s())e.routed&&e.move(!0);B?.abort(),B=null,clearInterval(Ee),clearTimeout(L),G(),g=null,_=`ws`,O=[],ee(null)}function ze(e){let t=e.data;switch(e.type){case`rtc.hello`:{let e=g;g=t,(e?.path!==g.path||e?.available!==g.available)&&X(`path ${g.path}${g.available?``:` · direct unavailable: ${g.error??`not loaded`}`}`),Be(e?.path!==g.path);break}case`rtc.echo`:{let e=Number(t?.n);Oe.run(()=>V.get(e)?.());break}case`rtc.pair`:t?.id===b&&(C={local:String(t.page),remote:String(t.server)},X(`pair: ${C.local} ↔ ${C.remote}`));break;case`rtc.answer`:if(t?.id===b&&y){let e=y;e.setRemoteDescription({type:`answer`,sdp:String(t.sdp)}).then(()=>{for(let t of P.splice(0))e.addIceCandidate(t).catch(()=>{})}).catch(e=>W(`answer refused: ${e.message}`))}break;case`rtc.candidate`:if(t?.id===b&&y){let e={candidate:String(t.candidate),sdpMid:String(t.mid)};y.remoteDescription?y.addIceCandidate(e).catch(()=>{}):P.push(e)}break;case`rtc.port`:{let e=g?.routerPort;g&&={...g,routerPort:t};let n=g?.routerPort;n&&(e?.state!==n.state||e?.allowed!==n.allowed)&&X(n.state===`mapped`?`router port ${n.external} → ${n.internal}`:n.state===`error`?`router port: ${n.error}`:n.allowed?`router port ${n.state}`:`router port not allowed`),T&&n?.allowed&&!e?.allowed&&!q()&&U();break}case`rtc.error`:if(t?.id!==b)break;t.unavailable&&g&&(g={...g,available:!1,error:String(t.error)}),W(`server: ${String(t.error)}`)}Z()}function Be(e=!0){if(p!==`off`&&g&&g.available){if(p===`auto`&&g.path!==`proxied`){(e||y)&&X(`Auto: the path is ${g.path}, not probing`),G();return}p===`always`&&q()&&!v&&J(`rtc`,`Always`),y||U()}}function Ve(){return p!==`off`&&!!g?.available&&(p===`always`||g.path===`proxied`)}function U(){if(clearTimeout(L),G(),!g||!Ve()||!i())return;let e=`p${Math.random().toString(36).slice(2,12)}`,n=new RTCPeerConnection({iceServers:g.stun.length?[{urls:g.stun}]:[]});y=n,b=e,P=[],S=n.iceConnectionState;let r=n.createDataChannel(`ctl`);x=r,X(T?`probe started (asking for the router port)`:`probe started`),r.onopen=()=>{y===n&&(clearTimeout(R),Te=0,j=0,w=!1,D=performance.now(),X(`direct path open`),Je(de,!0))},r.onmessage=e=>{let t=NaN;try{t=Number(JSON.parse(String(e.data)).p)}catch{}Ae.run(()=>{D=performance.now(),V.get(t)?.()})},r.onclose=()=>{y===n&&W(`control channel closed`)},n.onicecandidate=r=>{y===n&&r.candidate?.candidate&&t({rtc:`candidate`,id:e,candidate:r.candidate.candidate,mid:r.candidate.sdpMid??`0`})},n.oniceconnectionstatechange=()=>{y===n&&(S=n.iceConnectionState,X(`ICE ${S}`),We(n),Z())},R=setTimeout(()=>{y===n&&r.readyState!==`open`&&He()},be);let a=E;E=!1,n.setLocalDescription().then(()=>{y!==n||a||t({rtc:`offer`,id:e,sdp:n.localDescription.sdp,mode:p,needsPort:T})||W(`events socket closed`)}).catch(e=>W(e.message)),Z()}function He(){w=!0,(p===`always`||g?.path===`proxied`)&&(T=!0),W(`not connected`,!0)}function Ue(){if(!w||!g)return null;let e=g.routerPort,t=!!g.firewall?.likely,n=`Couldn't reach this machine directly from this network.`;return T?e?.allowed?e.state===`error`?{text:`${n} Its router's port failed: ${e.error}.`,needs:null,walled:t}:e.state===`mapped`?{text:`${n} Not even through its router's port ${e.external}.`,needs:null,walled:t}:{text:`Opening a port on this machine's router…`,needs:null,walled:!1}:{text:n,needs:`router-port`,walled:t}:{text:n,needs:null,walled:t}}function We(e){clearTimeout(z);let t=e.iceConnectionState;if(t!==`connected`&&t!==`completed`){if(t===`disconnected`){J(`ws`,`ICE disconnected`,!1),z=setTimeout(()=>{y===e&&e.iceConnectionState===`disconnected`&&W(`ICE stayed disconnected`)},xe);return}t===`failed`?C?W(`ICE failed`):He():t===`closed`&&W(`ICE closed`)}}function W(e,t=!1){if(!y||(X(`direct path lost: ${e}`),J(`ws`,e,!1),G(t),!Ve()))return;let n=Ce[Math.min(Te++,Ce.length-1)];L=setTimeout(()=>{document.visibilityState===`visible`?U():N||=Date.now()-Se-1},n)}function G(e=!1){clearTimeout(R),clearTimeout(z);let n=y;if(n){y=null,x=null,C=null,S=`none`,k=[],A=0,j=0,J(`ws`,`direct path closed`,!1),Y(!1),t({rtc:`close`,id:b,...e&&{unreached:e}});for(let e of[...F])e.fail();try{n.close()}catch{}Z()}}function K(){if(Ve()){if(!q()){let e=y?.iceConnectionState;(!y||e===`disconnected`||e===`failed`)&&U();return}qe().then(e=>{e===null?W(`no answer`):Je(fe)})}}function q(){return!!y&&x?.readyState===`open`&&(y.iceConnectionState===`connected`||y.iceConnectionState===`completed`)}function Ge(){return q()&&performance.now()-D<ye}function Ke(){let e=++je,n=performance.now();return new Promise(r=>{let i=setTimeout(a,ve,null);function a(t){clearTimeout(i),V.delete(e),r(t)}V.set(e,()=>a(performance.now()-n)),De.run(()=>{t({rtc:`echo`,n:e})||a(null)})})}function qe(){let e=x,t=++je,n=performance.now();return new Promise(r=>{let i=setTimeout(a,ve,null);function a(e){clearTimeout(i),V.delete(t),r(e)}V.set(t,()=>a(performance.now()-n)),ke.run(()=>{if(e?.readyState!==`open`)return a(null);e.send(JSON.stringify({p:t}))})})}async function Je(e,t=!1){if(!M&&p!==`off`&&q()){M=!0;try{for(let t=0;t<e;t++){let e=await Ke();if(e!==null&&Xe(O,e),!q())break;let t=await qe();if(t!==null)Xe(k,t),j=0;else if(++j>=2){W(`round trips unanswered`);break}}}finally{M=!1}t&&X(`samples: WS ${$(Q(O))} · direct ${$(Q(k))} (median of ${e})`),Ye(t),Y()}}function Ye(e){if(Z(),!q()||v)return;if(p===`always`)return J(`rtc`,`Always`);let t=Q(O),n=Q(k);if(t===null||n===null)return;let r=n<=t-he&&n<=t*.8,i=n>=t+he&&n>=t*1.2;if(_===`ws`){r?J(`rtc`,`direct ${$(n)} vs WS ${$(t)}`):e&&X(`staying on WS: direct ${$(n)} vs WS ${$(t)} (needs ${he} ms and ${ge*100}% faster)`);return}if(!i){A=0;return}A++,A>=_e?J(`ws`,`direct ${$(n)} slower than WS ${$(t)}, ${_e} windows`):X(`direct ${$(n)} slower than WS ${$(t)} (${A} of ${_e})`)}function J(e,t,n=!0){_!==e&&(_=e,A=0,X(e===`rtc`?`switched to direct: ${t}`:`switched to WS: ${t}`),Y(n),Z())}function Y(e=!0){let t=_===`rtc`&&Ge()?`rtc`:`ws`;for(let n of s())n.transport&&n.transport!==t&&n.move(e)}function X(e){I.push({at:Date.now(),text:e}),I.length>we&&I.splice(0,I.length-we),Z()}function Z(){p!==`off`&&ee({mode:p,path:g?.path??null,available:g?g.available:null,error:g?.error??null,chosen:_,wsMs:Q(O),rtcMs:q()?Q(k):null,ice:S,pair:C,codec:H,delay:m,trouble:Ue()?.text??null,needs:Ue()?.needs??null,walled:Ue()?.walled??!1,firewall:g?.firewall??null,routerPort:g?.routerPort??null,log:[...I]})}function Xe(e,t){e.push(t),e.length>me&&e.splice(0,e.length-me)}function Q(e){if(!e.length)return null;let t=[...e].sort((e,t)=>e-t),n=t.length>>1;return t.length%2?t[n]:(t[n-1]+t[n])/2}function $(e){return e===null?`–`:`${e<10?e.toFixed(1):Math.round(e)} ms`}function Ze(){try{if(!localStorage.getItem(`work:direct-checks`))return}catch{return}let e=new Map,n=e=>s().find(t=>t.sessionId===e);window.__workDirect={status:()=>o(),setRtcDelay(e){h=e},force(e){v=e,e?J(e,`forced`):Ye(!1)},serverClose(){t({rtc:`close`,id:b})},failNext(){E=!0},terms:()=>s().map(e=>({sessionId:e.sessionId,transport:e.transport})),screen:e=>n(e)?.screen()??null,record(t){let r={text:[],at:[]};e.set(t,r);let i=n(t);i&&(i.tap=e=>{r.text.push(e),r.at.push(performance.now())})},recorded:t=>e.get(t)?.text.join(``)??``,arrivals:t=>e.get(t)?.at??[],async wire(){let e=0;return(await y?.getStats())?.forEach(t=>{t.type===`candidate-pair`&&(e+=Number(t.bytesReceived)||0)}),e},async remoteCandidates(){let e=[];return(await y?.getStats())?.forEach(t=>{t.type===`remote-candidate`&&e.push(`${t.candidateType} ${t.address??t.ip}:${t.port}`)}),e}}}export{Pe as eventsHello,Ie as syncMode};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./_BtZ336jh.js";var t=Object.freeze(JSON.parse(`{"displayName":"CoffeeScript","name":"coffee","patterns":[{"include":"#jsx"},{"captures":{"1":{"name":"keyword.operator.new.coffee"},"2":{"name":"storage.type.class.coffee"},"3":{"name":"entity.name.type.instance.coffee"},"4":{"name":"entity.name.type.instance.coffee"}},"match":"(new)\\\\s+(?:(class)\\\\s+(\\\\w+(?:\\\\.\\\\w*)*)?|(\\\\w+(?:\\\\.\\\\w*)*))","name":"meta.class.instance.constructor.coffee"},{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"'''","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.single.heredoc.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\).","name":"constant.character.escape.backslash.coffee"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.double.heredoc.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\).","name":"constant.character.escape.backslash.coffee"},{"include":"#interpolated_coffee"}]},{"captures":{"1":{"name":"punctuation.definition.string.begin.coffee"},"2":{"name":"source.js.embedded.coffee","patterns":[{"include":"source.js"}]},"3":{"name":"punctuation.definition.string.end.coffee"}},"match":"(\`)(.*)(\`)","name":"string.quoted.script.coffee"},{"begin":"(?<!#)###(?!#)","beginCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"end":"###","endCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"name":"comment.block.coffee","patterns":[{"match":"(?<=^|\\\\s)@\\\\w*(?=\\\\s)","name":"storage.type.annotation.coffee"}]},{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"end":"$","name":"comment.line.number-sign.coffee"},{"begin":"///","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"(///)[gimuy]*","endCaptures":{"1":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.regexp.multiline.coffee","patterns":[{"include":"#heregexp"}]},{"begin":"(?<![$\\\\w])(/)(?=(?![*+/?])(.+)(/)[gimuy]*(?!\\\\s*[$(/\\\\w]))","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.coffee"}},"end":"(/)[gimuy]*(?!\\\\s*[$(/\\\\w])","endCaptures":{"1":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.regexp.coffee","patterns":[{"include":"source.js.regexp"}]},{"match":"\\\\b(?<![$.])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\\\\s+own)(?!\\\\s*:)\\\\b","name":"keyword.control.coffee"},{"match":"\\\\b(?<![$.])(delete|instanceof|new|typeof)(?!\\\\s*:)\\\\b","name":"keyword.operator.$1.coffee"},{"match":"\\\\b(?<![$.])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\\\\s*:)\\\\b","name":"keyword.reserved.coffee"},{"begin":"(?<=\\\\s|^)((@)?[$A-Z_a-z][$\\\\w]*)\\\\s*([:=])\\\\s*(?=(\\\\([^()]*\\\\)\\\\s*)?[-=]>)","beginCaptures":{"1":{"name":"entity.name.function.coffee"},"2":{"name":"variable.other.readwrite.instance.coffee"},"3":{"name":"keyword.operator.assignment.coffee"}},"end":"[-=]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?<=\\\\s|^)(?:((')([^']*?)('))|((\\")([^\\"]*?)(\\")))\\\\s*([:=])\\\\s*(?=(\\\\([^()]*\\\\)\\\\s*)?[-=]>)","beginCaptures":{"1":{"name":"string.quoted.single.coffee"},"2":{"name":"punctuation.definition.string.begin.coffee"},"3":{"name":"entity.name.function.coffee"},"4":{"name":"punctuation.definition.string.end.coffee"},"5":{"name":"string.quoted.double.coffee"},"6":{"name":"punctuation.definition.string.begin.coffee"},"7":{"name":"entity.name.function.coffee"},"8":{"name":"punctuation.definition.string.end.coffee"},"9":{"name":"keyword.operator.assignment.coffee"}},"end":"[-=]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?=(\\\\([^()]*\\\\)\\\\s*)?[-=]>)","end":"[-=]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.inline.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?<=\\\\s|^)(\\\\{)(?=[^\\"#']+?}[]}\\\\s]*=)","beginCaptures":{"1":{"name":"punctuation.definition.destructuring.begin.bracket.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.destructuring.end.bracket.curly.coffee"}},"name":"meta.variable.assignment.destructured.object.coffee","patterns":[{"include":"$self"},{"match":"[$A-Z_a-z]\\\\w*","name":"variable.assignment.coffee"}]},{"begin":"(?<=\\\\s|^)(\\\\[)(?=[^\\"#']+?][]}\\\\s]*=)","beginCaptures":{"1":{"name":"punctuation.definition.destructuring.begin.bracket.square.coffee"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.destructuring.end.bracket.square.coffee"}},"name":"meta.variable.assignment.destructured.array.coffee","patterns":[{"include":"$self"},{"match":"[$A-Z_a-z]\\\\w*","name":"variable.assignment.coffee"}]},{"match":"\\\\b(?<!\\\\.|::)(true|on|yes)(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.boolean.true.coffee"},{"match":"\\\\b(?<!\\\\.|::)(false|off|no)(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.boolean.false.coffee"},{"match":"\\\\b(?<!\\\\.|::)null(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.null.coffee"},{"match":"\\\\b(?<!\\\\.|::)extends(?!\\\\s*[:=])\\\\b","name":"variable.language.coffee"},{"match":"(?<!\\\\.)\\\\b(?<!\\\\$)(super|this|arguments)(?!\\\\s*[:=][^=]|\\\\$)\\\\b","name":"variable.language.$1.coffee"},{"captures":{"1":{"name":"storage.type.class.coffee"},"2":{"name":"keyword.control.inheritance.coffee"},"3":{"name":"entity.other.inherited-class.coffee"}},"match":"(?<=\\\\s|^|[(\\\\[])(class)\\\\s+(extends)\\\\s+(@?[$.A-Z_a-z][.\\\\w]*)","name":"meta.class.coffee"},{"captures":{"1":{"name":"storage.type.class.coffee"},"2":{"name":"entity.name.type.class.coffee"},"3":{"name":"keyword.control.inheritance.coffee"},"4":{"name":"entity.other.inherited-class.coffee"}},"match":"(?<=\\\\s|^|[(\\\\[])(class)\\\\b\\\\s+(@?[$A-Z_a-z][.\\\\w]*)?(?:\\\\s+(extends)\\\\s+(@?[$.A-Z_a-z][.\\\\w]*))?","name":"meta.class.coffee"},{"match":"\\\\b(debugger|\\\\\\\\)\\\\b","name":"keyword.other.coffee"},{"match":"\\\\b(Array|ArrayBuffer|Blob|Boolean|Date|document|Function|Int(8|16|32|64)Array|Math|Map|Number|Object|Proxy|RegExp|Set|String|WeakMap|window|Uint(8|16|32|64)Array|XMLHttpRequest)\\\\b","name":"support.class.coffee"},{"match":"\\\\b(console)\\\\b","name":"entity.name.type.object.coffee"},{"match":"((?<=console\\\\.)(debug|warn|info|log|error|time|timeEnd|assert))\\\\b","name":"support.function.console.coffee"},{"match":"((?<=\\\\.)(apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|unshift|valueOf))\\\\b","name":"support.function.method.array.coffee"},{"match":"((?<=Array\\\\.)(isArray))\\\\b","name":"support.function.static.array.coffee"},{"match":"((?<=Object\\\\.)(create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|isnt|keys|preventExtensions|seal))\\\\b","name":"support.function.static.object.coffee"},{"match":"((?<=Math\\\\.)(abs|acosh??|asinh??|atan2??|atanh|ceil|cosh??|exp|expm1|floor|hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sinh??|sqrt|tanh??|trunc))\\\\b","name":"support.function.static.math.coffee"},{"match":"((?<=Number\\\\.)(is(Finite|Integer|NaN)|toInteger))\\\\b","name":"support.function.static.number.coffee"},{"match":"(?<!\\\\.)\\\\b(module|exports|__filename|__dirname|global|process)(?!\\\\s*:)\\\\b","name":"support.variable.coffee"},{"match":"\\\\b(Infinity|NaN|undefined)\\\\b","name":"constant.language.coffee"},{"include":"#operators"},{"include":"#method_calls"},{"include":"#function_calls"},{"include":"#numbers"},{"include":"#objects"},{"include":"#properties"},{"match":"::","name":"keyword.operator.prototype.coffee"},{"match":"(?<!\\\\$)\\\\b[0-9]+[$\\\\w]*","name":"invalid.illegal.identifier.coffee"},{"match":";","name":"punctuation.terminator.statement.coffee"},{"match":",","name":"punctuation.separator.delimiter.coffee"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.bracket.square.coffee"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.bracket.square.coffee"}},"patterns":[{"match":"(?<!\\\\.)\\\\.{3}","name":"keyword.operator.slice.exclusive.coffee"},{"match":"(?<!\\\\.)\\\\.{2}","name":"keyword.operator.slice.inclusive.coffee"},{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.coffee"}},"patterns":[{"include":"$self"}]},{"include":"#instance_variable"},{"include":"#single_quoted_string"},{"include":"#double_quoted_string"}],"repository":{"arguments":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.arguments.begin.bracket.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.arguments.end.bracket.round.coffee"}},"name":"meta.arguments.coffee","patterns":[{"include":"$self"}]},{"begin":"(?=(@|@?[$\\\\w]+|[-=]>|-\\\\d|[\\"'\\\\[{]))","end":"(?=\\\\s*(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))|(?=\\\\s*([]#)}]|$))","name":"meta.arguments.coffee","patterns":[{"include":"$self"}]}]},"double_quoted_string":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.double.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\)(x\\\\h{2}|[012][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)","name":"constant.character.escape.backslash.coffee"},{"include":"#interpolated_coffee"}]}]},"embedded_comment":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.coffee"}},"match":"(?<!\\\\\\\\)(#).*$\\\\n?","name":"comment.line.number-sign.coffee"}]},"function_calls":{"patterns":[{"begin":"(@)?([$\\\\w]+)(?=\\\\()","beginCaptures":{"1":{"name":"variable.other.readwrite.instance.coffee"},"2":{"patterns":[{"include":"#function_names"}]}},"end":"(?<=\\\\))","name":"meta.function-call.coffee","patterns":[{"include":"#arguments"}]},{"begin":"(@)?([$\\\\w]+)\\\\s*(?=\\\\s+(?!(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))(?=(@?[$\\\\w]+|[-=]>|-\\\\d|[\\"'\\\\[{])))","beginCaptures":{"1":{"name":"variable.other.readwrite.instance.coffee"},"2":{"patterns":[{"include":"#function_names"}]}},"end":"(?=\\\\s*(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))|(?=\\\\s*([]#)}]|$))","name":"meta.function-call.coffee","patterns":[{"include":"#arguments"}]}]},"function_names":{"patterns":[{"match":"\\\\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|unescape|require|set(Interval|Timeout)|clear(Interval|Timeout))\\\\b","name":"support.function.coffee"},{"match":"[$A-Z_a-z][$\\\\w]*","name":"entity.name.function.coffee"},{"match":"\\\\d[$\\\\w]*","name":"invalid.illegal.identifier.coffee"}]},"function_params":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.coffee"}},"name":"meta.parameters.coffee","patterns":[{"captures":{"1":{"name":"variable.parameter.function.coffee"},"2":{"name":"keyword.operator.splat.coffee"}},"match":"([$A-Z_a-z][$\\\\w]*)(\\\\.\\\\.\\\\.)?"},{"captures":{"1":{"name":"variable.parameter.function.readwrite.instance.coffee"},"2":{"name":"keyword.operator.splat.coffee"}},"match":"(@(?:[$A-Z_a-z][$\\\\w]*)?)(\\\\.\\\\.\\\\.)?"},{"include":"$self"}]}]},"heregexp":{"patterns":[{"match":"\\\\\\\\[Bb]|[$^]","name":"keyword.control.anchor.regexp"},{"match":"\\\\\\\\[1-9]\\\\d*","name":"keyword.other.back-reference.regexp"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#heregexp"}]},{"begin":"\\\\((\\\\?:)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#heregexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"},{"include":"#interpolated_coffee"},{"include":"#embedded_comment"}]},"instance_variable":{"patterns":[{"match":"(@)([$A-Z_a-z]\\\\w*)?","name":"variable.other.readwrite.instance.coffee"}]},"interpolated_coffee":{"patterns":[{"begin":"#\\\\{","captures":{"0":{"name":"punctuation.section.embedded.coffee"}},"end":"}","name":"source.coffee.embedded.source","patterns":[{"include":"$self"}]}]},"jsx":{"patterns":[{"include":"#jsx-tag"},{"include":"#jsx-end-tag"}]},"jsx-attribute":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.coffee"},"2":{"name":"keyword.operator.assignment.coffee"}},"match":"(?:^|\\\\s+)([-.\\\\w]+)\\\\s*(=)"},{"include":"#double_quoted_string"},{"include":"#single_quoted_string"},{"include":"#jsx-expression"}]},"jsx-end-tag":{"patterns":[{"begin":"(</)([-.\\\\w]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.coffee"},"2":{"name":"entity.name.tag.coffee"}},"end":"(/?>)","name":"meta.tag.coffee"}]},"jsx-expression":{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"patterns":[{"include":"#double_quoted_string"},{"include":"$self"}]},"jsx-tag":{"patterns":[{"begin":"(<)([-.\\\\w]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.coffee"},"2":{"name":"entity.name.tag.coffee"}},"end":"(/?>)","name":"meta.tag.coffee","patterns":[{"include":"#jsx-attribute"}]}]},"method_calls":{"patterns":[{"begin":"(?:(\\\\.)|(::))\\\\s*([$\\\\w]+)\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.method.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"patterns":[{"include":"#method_names"}]}},"end":"(?<=\\\\))","name":"meta.method-call.coffee","patterns":[{"include":"#arguments"}]},{"begin":"(?:(\\\\.)|(::))\\\\s*([$\\\\w]+)\\\\s*(?=\\\\s+(?!(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))(?=(@|@?[$\\\\w]+|[-=]>|-\\\\d|[\\"'\\\\[{])))","beginCaptures":{"1":{"name":"punctuation.separator.method.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"patterns":[{"include":"#method_names"}]}},"end":"(?=\\\\s*(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))|(?=\\\\s*([]#)}]|$))","name":"meta.method-call.coffee","patterns":[{"include":"#arguments"}]}]},"method_names":{"patterns":[{"match":"\\\\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|Readystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|Before(cut|deactivate|unload|update|paste|print|editfocus|activate)|Blur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|Change|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|Datasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|Dragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|Errorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\\\\b","name":"support.function.event-handler.coffee"},{"match":"\\\\b(shift|showModelessDialog|showModalDialog|showHelp|scrollX??|scrollByPages|scrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|sup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours|Month|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|Time|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|savePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|contextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|createEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|test|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|untaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins.refresh|paddings|parse|print|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|fileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|forward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|abort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|releaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|Time|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|Attention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|moveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\\\\b","name":"support.function.coffee"},{"match":"\\\\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|appendChild|appendData|before|blur|canPlayType|captureStream|caretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|cloneContents|cloneNode|cloneRange|close|closest|collapse|compareBoundaryPoints|compareDocumentPosition|comparePoint|contains|convertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|createAttributeNS|createCaption|createCDATASection|createComment|createContextualFragment|createDocument|createDocumentFragment|createDocumentType|createElement|createElementNS|createEntityReference|createEvent|createExpression|createHTMLDocument|createNodeIterator|createNSResolver|createProcessingInstruction|createRange|createShadowRoot|createTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|deleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|deleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|enableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|exitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|getAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|getAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|getClientRects|getContext|getDestinationInsertionPoints|getElementById|getElementsByClassName|getElementsByName|getElementsByTagName|getElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|getVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|insertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|isPointInRange|isSameNode|item|keys??|lastChild|load|lookupNamespaceURI|lookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|moveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|parentNode|pause|play|postMessage|prepend|preventDefault|previousNode|previousSibling|probablySupportsContext|queryCommandEnabled|queryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|querySelector|querySelectorAll|registerContentHandler|registerElement|registerProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|removeAttributeNode|removeAttributeNS|removeChild|removeEventListener|removeItem|replace|replaceChild|replaceData|replaceWith|reportValidity|requestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|scrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|setAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|setCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|setRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|slice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|submit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|toDataURL|toggle|toString|values|write|writeln)\\\\b","name":"support.function.dom.coffee"},{"match":"[$A-Z_a-z][$\\\\w]*","name":"entity.name.function.coffee"},{"match":"\\\\d[$\\\\w]*","name":"invalid.illegal.identifier.coffee"}]},"numbers":{"patterns":[{"match":"\\\\b(?<!\\\\$)0([Xx])\\\\h+\\\\b(?!\\\\$)","name":"constant.numeric.hex.coffee"},{"match":"\\\\b(?<!\\\\$)0([Bb])[01]+\\\\b(?!\\\\$)","name":"constant.numeric.binary.coffee"},{"match":"\\\\b(?<!\\\\$)0([Oo])?[0-7]+\\\\b(?!\\\\$)","name":"constant.numeric.octal.coffee"},{"captures":{"0":{"name":"constant.numeric.decimal.coffee"},"1":{"name":"punctuation.separator.decimal.period.coffee"},"2":{"name":"punctuation.separator.decimal.period.coffee"},"3":{"name":"punctuation.separator.decimal.period.coffee"},"4":{"name":"punctuation.separator.decimal.period.coffee"},"5":{"name":"punctuation.separator.decimal.period.coffee"},"6":{"name":"punctuation.separator.decimal.period.coffee"}},"match":"(?<!\\\\$)(?:\\\\b[0-9]+(\\\\.)[0-9]+[Ee][-+]?[0-9]+\\\\b|\\\\b[0-9]+(\\\\.)[Ee][-+]?[0-9]+\\\\b|\\\\B(\\\\.)[0-9]+[Ee][-+]?[0-9]+\\\\b|\\\\b[0-9]+[Ee][-+]?[0-9]+\\\\b|\\\\b[0-9]+(\\\\.)[0-9]+\\\\b|\\\\b[0-9]+(?=\\\\.{2,3})|\\\\b[0-9]+(\\\\.)\\\\B|\\\\B(\\\\.)[0-9]+\\\\b|\\\\b[0-9]+\\\\b(?!\\\\.))(?!\\\\$)"}]},"objects":{"patterns":[{"match":"[A-Z][$0-9A-Z_]*(?=\\\\s*\\\\??(\\\\.\\\\s*[$A-Z_a-z]\\\\w*|::))","name":"constant.other.object.coffee"},{"match":"[$A-Z_a-z][$\\\\w]*(?=\\\\s*\\\\??(\\\\.\\\\s*[$A-Z_a-z]\\\\w*|::))","name":"variable.other.object.coffee"}]},"operators":{"patterns":[{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.coffee"}},"match":"(?:([$A-Z_a-z][$\\\\w]*)?\\\\s+|(?<![$\\\\w]))(and=|or=)"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.coffee"}},"match":"([$A-Z_a-z][$\\\\w]*)?\\\\s*((?:[-%*+]|&&|\\\\|\\\\||\\\\?|(?<!\\\\()/)=)"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.bitwise.coffee"}},"match":"([$A-Z_a-z][$\\\\w]*)?\\\\s*((?:[\\\\&^]|<<|>>>??|\\\\|)=)"},{"match":"<<|>>>?","name":"keyword.operator.bitwise.shift.coffee"},{"match":"!=|<=|>=|==|[<>]","name":"keyword.operator.comparison.coffee"},{"match":"&&|!|\\\\|\\\\|","name":"keyword.operator.logical.coffee"},{"match":"[\\\\&^|~]","name":"keyword.operator.bitwise.coffee"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.coffee"}},"match":"([$A-Z_a-z][$\\\\w]*)?\\\\s*(=|:(?!:))(?![=>])"},{"match":"--","name":"keyword.operator.decrement.coffee"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.coffee"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.splat.coffee"},{"match":"\\\\?","name":"keyword.operator.existential.coffee"},{"match":"[-%*+/]","name":"keyword.operator.coffee"},{"captures":{"1":{"name":"keyword.operator.logical.coffee"},"2":{"name":"keyword.operator.comparison.coffee"}},"match":"\\\\b(?<![$.])(?:(and|or|not)|(is(?:|nt)))(?!\\\\s*:)\\\\b"}]},"properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"constant.other.object.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*([A-Z][$0-9A-Z_]*\\\\b\\\\$*)(?=\\\\s*\\\\??(\\\\.\\\\s*[$A-Z_a-z]\\\\w*|::))"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"variable.other.object.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*(\\\\$*[$A-Z_a-z][$\\\\w]*)(?=\\\\s*\\\\??(\\\\.\\\\s*[$A-Z_a-z]\\\\w*|::))"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"constant.other.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*([A-Z][$0-9A-Z_]*\\\\b\\\\$*)"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"variable.other.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*(\\\\$*[$A-Z_a-z][$\\\\w]*)"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"invalid.illegal.identifier.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*([0-9][$\\\\w]*)"}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdsw]|\\\\.","name":"constant.character.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x\\\\h{2}|u\\\\h{4})","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"single_quoted_string":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.single.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\)(x\\\\h{2}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)","name":"constant.character.escape.backslash.coffee"}]}]}},"scopeName":"source.coffee","embeddedLangs":["javascript"],"aliases":["coffeescript"]}`)),n=[...e,t];export{n as default};
|
|
1
|
+
import{t as e}from"./_CtYn_7Ld.js";var t=Object.freeze(JSON.parse(`{"displayName":"CoffeeScript","name":"coffee","patterns":[{"include":"#jsx"},{"captures":{"1":{"name":"keyword.operator.new.coffee"},"2":{"name":"storage.type.class.coffee"},"3":{"name":"entity.name.type.instance.coffee"},"4":{"name":"entity.name.type.instance.coffee"}},"match":"(new)\\\\s+(?:(class)\\\\s+(\\\\w+(?:\\\\.\\\\w*)*)?|(\\\\w+(?:\\\\.\\\\w*)*))","name":"meta.class.instance.constructor.coffee"},{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"'''","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.single.heredoc.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\).","name":"constant.character.escape.backslash.coffee"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.double.heredoc.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\).","name":"constant.character.escape.backslash.coffee"},{"include":"#interpolated_coffee"}]},{"captures":{"1":{"name":"punctuation.definition.string.begin.coffee"},"2":{"name":"source.js.embedded.coffee","patterns":[{"include":"source.js"}]},"3":{"name":"punctuation.definition.string.end.coffee"}},"match":"(\`)(.*)(\`)","name":"string.quoted.script.coffee"},{"begin":"(?<!#)###(?!#)","beginCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"end":"###","endCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"name":"comment.block.coffee","patterns":[{"match":"(?<=^|\\\\s)@\\\\w*(?=\\\\s)","name":"storage.type.annotation.coffee"}]},{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"end":"$","name":"comment.line.number-sign.coffee"},{"begin":"///","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"(///)[gimuy]*","endCaptures":{"1":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.regexp.multiline.coffee","patterns":[{"include":"#heregexp"}]},{"begin":"(?<![$\\\\w])(/)(?=(?![*+/?])(.+)(/)[gimuy]*(?!\\\\s*[$(/\\\\w]))","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.coffee"}},"end":"(/)[gimuy]*(?!\\\\s*[$(/\\\\w])","endCaptures":{"1":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.regexp.coffee","patterns":[{"include":"source.js.regexp"}]},{"match":"\\\\b(?<![$.])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\\\\s+own)(?!\\\\s*:)\\\\b","name":"keyword.control.coffee"},{"match":"\\\\b(?<![$.])(delete|instanceof|new|typeof)(?!\\\\s*:)\\\\b","name":"keyword.operator.$1.coffee"},{"match":"\\\\b(?<![$.])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\\\\s*:)\\\\b","name":"keyword.reserved.coffee"},{"begin":"(?<=\\\\s|^)((@)?[$A-Z_a-z][$\\\\w]*)\\\\s*([:=])\\\\s*(?=(\\\\([^()]*\\\\)\\\\s*)?[-=]>)","beginCaptures":{"1":{"name":"entity.name.function.coffee"},"2":{"name":"variable.other.readwrite.instance.coffee"},"3":{"name":"keyword.operator.assignment.coffee"}},"end":"[-=]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?<=\\\\s|^)(?:((')([^']*?)('))|((\\")([^\\"]*?)(\\")))\\\\s*([:=])\\\\s*(?=(\\\\([^()]*\\\\)\\\\s*)?[-=]>)","beginCaptures":{"1":{"name":"string.quoted.single.coffee"},"2":{"name":"punctuation.definition.string.begin.coffee"},"3":{"name":"entity.name.function.coffee"},"4":{"name":"punctuation.definition.string.end.coffee"},"5":{"name":"string.quoted.double.coffee"},"6":{"name":"punctuation.definition.string.begin.coffee"},"7":{"name":"entity.name.function.coffee"},"8":{"name":"punctuation.definition.string.end.coffee"},"9":{"name":"keyword.operator.assignment.coffee"}},"end":"[-=]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?=(\\\\([^()]*\\\\)\\\\s*)?[-=]>)","end":"[-=]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.inline.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?<=\\\\s|^)(\\\\{)(?=[^\\"#']+?}[]}\\\\s]*=)","beginCaptures":{"1":{"name":"punctuation.definition.destructuring.begin.bracket.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.destructuring.end.bracket.curly.coffee"}},"name":"meta.variable.assignment.destructured.object.coffee","patterns":[{"include":"$self"},{"match":"[$A-Z_a-z]\\\\w*","name":"variable.assignment.coffee"}]},{"begin":"(?<=\\\\s|^)(\\\\[)(?=[^\\"#']+?][]}\\\\s]*=)","beginCaptures":{"1":{"name":"punctuation.definition.destructuring.begin.bracket.square.coffee"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.destructuring.end.bracket.square.coffee"}},"name":"meta.variable.assignment.destructured.array.coffee","patterns":[{"include":"$self"},{"match":"[$A-Z_a-z]\\\\w*","name":"variable.assignment.coffee"}]},{"match":"\\\\b(?<!\\\\.|::)(true|on|yes)(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.boolean.true.coffee"},{"match":"\\\\b(?<!\\\\.|::)(false|off|no)(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.boolean.false.coffee"},{"match":"\\\\b(?<!\\\\.|::)null(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.null.coffee"},{"match":"\\\\b(?<!\\\\.|::)extends(?!\\\\s*[:=])\\\\b","name":"variable.language.coffee"},{"match":"(?<!\\\\.)\\\\b(?<!\\\\$)(super|this|arguments)(?!\\\\s*[:=][^=]|\\\\$)\\\\b","name":"variable.language.$1.coffee"},{"captures":{"1":{"name":"storage.type.class.coffee"},"2":{"name":"keyword.control.inheritance.coffee"},"3":{"name":"entity.other.inherited-class.coffee"}},"match":"(?<=\\\\s|^|[(\\\\[])(class)\\\\s+(extends)\\\\s+(@?[$.A-Z_a-z][.\\\\w]*)","name":"meta.class.coffee"},{"captures":{"1":{"name":"storage.type.class.coffee"},"2":{"name":"entity.name.type.class.coffee"},"3":{"name":"keyword.control.inheritance.coffee"},"4":{"name":"entity.other.inherited-class.coffee"}},"match":"(?<=\\\\s|^|[(\\\\[])(class)\\\\b\\\\s+(@?[$A-Z_a-z][.\\\\w]*)?(?:\\\\s+(extends)\\\\s+(@?[$.A-Z_a-z][.\\\\w]*))?","name":"meta.class.coffee"},{"match":"\\\\b(debugger|\\\\\\\\)\\\\b","name":"keyword.other.coffee"},{"match":"\\\\b(Array|ArrayBuffer|Blob|Boolean|Date|document|Function|Int(8|16|32|64)Array|Math|Map|Number|Object|Proxy|RegExp|Set|String|WeakMap|window|Uint(8|16|32|64)Array|XMLHttpRequest)\\\\b","name":"support.class.coffee"},{"match":"\\\\b(console)\\\\b","name":"entity.name.type.object.coffee"},{"match":"((?<=console\\\\.)(debug|warn|info|log|error|time|timeEnd|assert))\\\\b","name":"support.function.console.coffee"},{"match":"((?<=\\\\.)(apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|unshift|valueOf))\\\\b","name":"support.function.method.array.coffee"},{"match":"((?<=Array\\\\.)(isArray))\\\\b","name":"support.function.static.array.coffee"},{"match":"((?<=Object\\\\.)(create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|isnt|keys|preventExtensions|seal))\\\\b","name":"support.function.static.object.coffee"},{"match":"((?<=Math\\\\.)(abs|acosh??|asinh??|atan2??|atanh|ceil|cosh??|exp|expm1|floor|hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sinh??|sqrt|tanh??|trunc))\\\\b","name":"support.function.static.math.coffee"},{"match":"((?<=Number\\\\.)(is(Finite|Integer|NaN)|toInteger))\\\\b","name":"support.function.static.number.coffee"},{"match":"(?<!\\\\.)\\\\b(module|exports|__filename|__dirname|global|process)(?!\\\\s*:)\\\\b","name":"support.variable.coffee"},{"match":"\\\\b(Infinity|NaN|undefined)\\\\b","name":"constant.language.coffee"},{"include":"#operators"},{"include":"#method_calls"},{"include":"#function_calls"},{"include":"#numbers"},{"include":"#objects"},{"include":"#properties"},{"match":"::","name":"keyword.operator.prototype.coffee"},{"match":"(?<!\\\\$)\\\\b[0-9]+[$\\\\w]*","name":"invalid.illegal.identifier.coffee"},{"match":";","name":"punctuation.terminator.statement.coffee"},{"match":",","name":"punctuation.separator.delimiter.coffee"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.bracket.square.coffee"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.bracket.square.coffee"}},"patterns":[{"match":"(?<!\\\\.)\\\\.{3}","name":"keyword.operator.slice.exclusive.coffee"},{"match":"(?<!\\\\.)\\\\.{2}","name":"keyword.operator.slice.inclusive.coffee"},{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.coffee"}},"patterns":[{"include":"$self"}]},{"include":"#instance_variable"},{"include":"#single_quoted_string"},{"include":"#double_quoted_string"}],"repository":{"arguments":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.arguments.begin.bracket.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.arguments.end.bracket.round.coffee"}},"name":"meta.arguments.coffee","patterns":[{"include":"$self"}]},{"begin":"(?=(@|@?[$\\\\w]+|[-=]>|-\\\\d|[\\"'\\\\[{]))","end":"(?=\\\\s*(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))|(?=\\\\s*([]#)}]|$))","name":"meta.arguments.coffee","patterns":[{"include":"$self"}]}]},"double_quoted_string":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.double.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\)(x\\\\h{2}|[012][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)","name":"constant.character.escape.backslash.coffee"},{"include":"#interpolated_coffee"}]}]},"embedded_comment":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.coffee"}},"match":"(?<!\\\\\\\\)(#).*$\\\\n?","name":"comment.line.number-sign.coffee"}]},"function_calls":{"patterns":[{"begin":"(@)?([$\\\\w]+)(?=\\\\()","beginCaptures":{"1":{"name":"variable.other.readwrite.instance.coffee"},"2":{"patterns":[{"include":"#function_names"}]}},"end":"(?<=\\\\))","name":"meta.function-call.coffee","patterns":[{"include":"#arguments"}]},{"begin":"(@)?([$\\\\w]+)\\\\s*(?=\\\\s+(?!(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))(?=(@?[$\\\\w]+|[-=]>|-\\\\d|[\\"'\\\\[{])))","beginCaptures":{"1":{"name":"variable.other.readwrite.instance.coffee"},"2":{"patterns":[{"include":"#function_names"}]}},"end":"(?=\\\\s*(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))|(?=\\\\s*([]#)}]|$))","name":"meta.function-call.coffee","patterns":[{"include":"#arguments"}]}]},"function_names":{"patterns":[{"match":"\\\\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|unescape|require|set(Interval|Timeout)|clear(Interval|Timeout))\\\\b","name":"support.function.coffee"},{"match":"[$A-Z_a-z][$\\\\w]*","name":"entity.name.function.coffee"},{"match":"\\\\d[$\\\\w]*","name":"invalid.illegal.identifier.coffee"}]},"function_params":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.coffee"}},"name":"meta.parameters.coffee","patterns":[{"captures":{"1":{"name":"variable.parameter.function.coffee"},"2":{"name":"keyword.operator.splat.coffee"}},"match":"([$A-Z_a-z][$\\\\w]*)(\\\\.\\\\.\\\\.)?"},{"captures":{"1":{"name":"variable.parameter.function.readwrite.instance.coffee"},"2":{"name":"keyword.operator.splat.coffee"}},"match":"(@(?:[$A-Z_a-z][$\\\\w]*)?)(\\\\.\\\\.\\\\.)?"},{"include":"$self"}]}]},"heregexp":{"patterns":[{"match":"\\\\\\\\[Bb]|[$^]","name":"keyword.control.anchor.regexp"},{"match":"\\\\\\\\[1-9]\\\\d*","name":"keyword.other.back-reference.regexp"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#heregexp"}]},{"begin":"\\\\((\\\\?:)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#heregexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"},{"include":"#interpolated_coffee"},{"include":"#embedded_comment"}]},"instance_variable":{"patterns":[{"match":"(@)([$A-Z_a-z]\\\\w*)?","name":"variable.other.readwrite.instance.coffee"}]},"interpolated_coffee":{"patterns":[{"begin":"#\\\\{","captures":{"0":{"name":"punctuation.section.embedded.coffee"}},"end":"}","name":"source.coffee.embedded.source","patterns":[{"include":"$self"}]}]},"jsx":{"patterns":[{"include":"#jsx-tag"},{"include":"#jsx-end-tag"}]},"jsx-attribute":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.coffee"},"2":{"name":"keyword.operator.assignment.coffee"}},"match":"(?:^|\\\\s+)([-.\\\\w]+)\\\\s*(=)"},{"include":"#double_quoted_string"},{"include":"#single_quoted_string"},{"include":"#jsx-expression"}]},"jsx-end-tag":{"patterns":[{"begin":"(</)([-.\\\\w]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.coffee"},"2":{"name":"entity.name.tag.coffee"}},"end":"(/?>)","name":"meta.tag.coffee"}]},"jsx-expression":{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"patterns":[{"include":"#double_quoted_string"},{"include":"$self"}]},"jsx-tag":{"patterns":[{"begin":"(<)([-.\\\\w]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.coffee"},"2":{"name":"entity.name.tag.coffee"}},"end":"(/?>)","name":"meta.tag.coffee","patterns":[{"include":"#jsx-attribute"}]}]},"method_calls":{"patterns":[{"begin":"(?:(\\\\.)|(::))\\\\s*([$\\\\w]+)\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.method.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"patterns":[{"include":"#method_names"}]}},"end":"(?<=\\\\))","name":"meta.method-call.coffee","patterns":[{"include":"#arguments"}]},{"begin":"(?:(\\\\.)|(::))\\\\s*([$\\\\w]+)\\\\s*(?=\\\\s+(?!(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))(?=(@|@?[$\\\\w]+|[-=]>|-\\\\d|[\\"'\\\\[{])))","beginCaptures":{"1":{"name":"punctuation.separator.method.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"patterns":[{"include":"#method_names"}]}},"end":"(?=\\\\s*(?<![$\\\\w])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![$\\\\w]))|(?=\\\\s*([]#)}]|$))","name":"meta.method-call.coffee","patterns":[{"include":"#arguments"}]}]},"method_names":{"patterns":[{"match":"\\\\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|Readystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|Before(cut|deactivate|unload|update|paste|print|editfocus|activate)|Blur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|Change|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|Datasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|Dragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|Errorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\\\\b","name":"support.function.event-handler.coffee"},{"match":"\\\\b(shift|showModelessDialog|showModalDialog|showHelp|scrollX??|scrollByPages|scrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|sup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours|Month|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|Time|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|savePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|contextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|createEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|test|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|untaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins.refresh|paddings|parse|print|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|fileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|forward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|abort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|releaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|Time|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|Attention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|moveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\\\\b","name":"support.function.coffee"},{"match":"\\\\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|appendChild|appendData|before|blur|canPlayType|captureStream|caretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|cloneContents|cloneNode|cloneRange|close|closest|collapse|compareBoundaryPoints|compareDocumentPosition|comparePoint|contains|convertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|createAttributeNS|createCaption|createCDATASection|createComment|createContextualFragment|createDocument|createDocumentFragment|createDocumentType|createElement|createElementNS|createEntityReference|createEvent|createExpression|createHTMLDocument|createNodeIterator|createNSResolver|createProcessingInstruction|createRange|createShadowRoot|createTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|deleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|deleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|enableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|exitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|getAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|getAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|getClientRects|getContext|getDestinationInsertionPoints|getElementById|getElementsByClassName|getElementsByName|getElementsByTagName|getElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|getVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|insertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|isPointInRange|isSameNode|item|keys??|lastChild|load|lookupNamespaceURI|lookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|moveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|parentNode|pause|play|postMessage|prepend|preventDefault|previousNode|previousSibling|probablySupportsContext|queryCommandEnabled|queryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|querySelector|querySelectorAll|registerContentHandler|registerElement|registerProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|removeAttributeNode|removeAttributeNS|removeChild|removeEventListener|removeItem|replace|replaceChild|replaceData|replaceWith|reportValidity|requestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|scrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|setAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|setCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|setRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|slice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|submit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|toDataURL|toggle|toString|values|write|writeln)\\\\b","name":"support.function.dom.coffee"},{"match":"[$A-Z_a-z][$\\\\w]*","name":"entity.name.function.coffee"},{"match":"\\\\d[$\\\\w]*","name":"invalid.illegal.identifier.coffee"}]},"numbers":{"patterns":[{"match":"\\\\b(?<!\\\\$)0([Xx])\\\\h+\\\\b(?!\\\\$)","name":"constant.numeric.hex.coffee"},{"match":"\\\\b(?<!\\\\$)0([Bb])[01]+\\\\b(?!\\\\$)","name":"constant.numeric.binary.coffee"},{"match":"\\\\b(?<!\\\\$)0([Oo])?[0-7]+\\\\b(?!\\\\$)","name":"constant.numeric.octal.coffee"},{"captures":{"0":{"name":"constant.numeric.decimal.coffee"},"1":{"name":"punctuation.separator.decimal.period.coffee"},"2":{"name":"punctuation.separator.decimal.period.coffee"},"3":{"name":"punctuation.separator.decimal.period.coffee"},"4":{"name":"punctuation.separator.decimal.period.coffee"},"5":{"name":"punctuation.separator.decimal.period.coffee"},"6":{"name":"punctuation.separator.decimal.period.coffee"}},"match":"(?<!\\\\$)(?:\\\\b[0-9]+(\\\\.)[0-9]+[Ee][-+]?[0-9]+\\\\b|\\\\b[0-9]+(\\\\.)[Ee][-+]?[0-9]+\\\\b|\\\\B(\\\\.)[0-9]+[Ee][-+]?[0-9]+\\\\b|\\\\b[0-9]+[Ee][-+]?[0-9]+\\\\b|\\\\b[0-9]+(\\\\.)[0-9]+\\\\b|\\\\b[0-9]+(?=\\\\.{2,3})|\\\\b[0-9]+(\\\\.)\\\\B|\\\\B(\\\\.)[0-9]+\\\\b|\\\\b[0-9]+\\\\b(?!\\\\.))(?!\\\\$)"}]},"objects":{"patterns":[{"match":"[A-Z][$0-9A-Z_]*(?=\\\\s*\\\\??(\\\\.\\\\s*[$A-Z_a-z]\\\\w*|::))","name":"constant.other.object.coffee"},{"match":"[$A-Z_a-z][$\\\\w]*(?=\\\\s*\\\\??(\\\\.\\\\s*[$A-Z_a-z]\\\\w*|::))","name":"variable.other.object.coffee"}]},"operators":{"patterns":[{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.coffee"}},"match":"(?:([$A-Z_a-z][$\\\\w]*)?\\\\s+|(?<![$\\\\w]))(and=|or=)"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.coffee"}},"match":"([$A-Z_a-z][$\\\\w]*)?\\\\s*((?:[-%*+]|&&|\\\\|\\\\||\\\\?|(?<!\\\\()/)=)"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.bitwise.coffee"}},"match":"([$A-Z_a-z][$\\\\w]*)?\\\\s*((?:[\\\\&^]|<<|>>>??|\\\\|)=)"},{"match":"<<|>>>?","name":"keyword.operator.bitwise.shift.coffee"},{"match":"!=|<=|>=|==|[<>]","name":"keyword.operator.comparison.coffee"},{"match":"&&|!|\\\\|\\\\|","name":"keyword.operator.logical.coffee"},{"match":"[\\\\&^|~]","name":"keyword.operator.bitwise.coffee"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.coffee"}},"match":"([$A-Z_a-z][$\\\\w]*)?\\\\s*(=|:(?!:))(?![=>])"},{"match":"--","name":"keyword.operator.decrement.coffee"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.coffee"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.splat.coffee"},{"match":"\\\\?","name":"keyword.operator.existential.coffee"},{"match":"[-%*+/]","name":"keyword.operator.coffee"},{"captures":{"1":{"name":"keyword.operator.logical.coffee"},"2":{"name":"keyword.operator.comparison.coffee"}},"match":"\\\\b(?<![$.])(?:(and|or|not)|(is(?:|nt)))(?!\\\\s*:)\\\\b"}]},"properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"constant.other.object.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*([A-Z][$0-9A-Z_]*\\\\b\\\\$*)(?=\\\\s*\\\\??(\\\\.\\\\s*[$A-Z_a-z]\\\\w*|::))"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"variable.other.object.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*(\\\\$*[$A-Z_a-z][$\\\\w]*)(?=\\\\s*\\\\??(\\\\.\\\\s*[$A-Z_a-z]\\\\w*|::))"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"constant.other.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*([A-Z][$0-9A-Z_]*\\\\b\\\\$*)"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"variable.other.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*(\\\\$*[$A-Z_a-z][$\\\\w]*)"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"invalid.illegal.identifier.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*([0-9][$\\\\w]*)"}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdsw]|\\\\.","name":"constant.character.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x\\\\h{2}|u\\\\h{4})","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"single_quoted_string":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.single.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\)(x\\\\h{2}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)","name":"constant.character.escape.backslash.coffee"}]}]}},"scopeName":"source.coffee","embeddedLangs":["javascript"],"aliases":["coffeescript"]}`)),n=[...e,t];export{n as default};
|
|
Binary file
|