@dylanpiercey/work 0.0.127 → 0.0.129
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/{_CiRMn9AO.js → _10g8qIc8.js} +2 -2
- package/dist/{_DxyCe0aR.js → _J7sexRRq.js} +47 -46
- package/dist/index.mjs +213 -217
- package/dist/public/assets/{_CsRJlP6E.js → _3wLlkED9.js} +1 -1
- package/dist/public/assets/_3wLlkED9.js.br +0 -0
- package/dist/public/assets/{_BMrUCfDB2.js → _52zEfCjO2.js} +1 -1
- package/dist/public/assets/_52zEfCjO2.js.br +0 -0
- package/dist/public/assets/{_CBJgkhp4.js → _6aRnPVav.js} +1 -1
- package/dist/public/assets/_6aRnPVav.js.br +0 -0
- package/dist/public/assets/{_1l4GNsSP2.js → _99YJcMUn2.js} +1 -1
- package/dist/public/assets/_99YJcMUn2.js.br +0 -0
- package/dist/public/assets/{_RBSjxlpg2.js → _B1fFsQy22.js} +1 -1
- package/dist/public/assets/_B1fFsQy22.js.br +0 -0
- package/dist/public/assets/{_LFb7Eooe.js → _B2se_pgz.js} +1 -1
- package/dist/public/assets/_B2se_pgz.js.br +0 -0
- package/dist/public/assets/{_DGwnanjW.js → _B65X4nQm.js} +1 -1
- package/dist/public/assets/_B65X4nQm.js.br +0 -0
- package/dist/public/assets/{_BAYLyxTF.js → _B9eUrsj2.js} +1 -1
- package/dist/public/assets/_B9eUrsj2.js.br +0 -0
- package/dist/public/assets/{_BuDL8K-B2.js → _BH2HC92Z2.js} +1 -1
- package/dist/public/assets/_BH2HC92Z2.js.br +0 -0
- package/dist/public/assets/{_BMicSlM7.js → _BM4Es6Tb.js} +1 -1
- package/dist/public/assets/_BM4Es6Tb.js.br +0 -0
- package/dist/public/assets/{_CQwAYP8H.js → _BNxSZ6aK.js} +1 -1
- package/dist/public/assets/_BNxSZ6aK.js.br +0 -0
- package/dist/public/assets/{_rmB_eng0.js → _BTgDIi1K.js} +1 -1
- package/dist/public/assets/_BTgDIi1K.js.br +0 -0
- package/dist/public/assets/{_d2apwwMm2.js → _BW8ORKSv2.js} +1 -1
- package/dist/public/assets/{_rGnGy01d.js → _BX15bWY7.js} +1 -1
- package/dist/public/assets/_BX15bWY7.js.br +0 -0
- package/dist/public/assets/{_D0GM5bjt.js → _BXp17g_k.js} +1 -1
- package/dist/public/assets/_BXp17g_k.js.br +0 -0
- package/dist/public/assets/{_CKnhEM_s.js → _Bb-Pv5bu.js} +1 -1
- package/dist/public/assets/_Bb-Pv5bu.js.br +0 -0
- package/dist/public/assets/{_BuLVH2X-.js → _BcggQ3YH.js} +1 -1
- package/dist/public/assets/_BcggQ3YH.js.br +0 -0
- package/dist/public/assets/{_0UBcCdXI2.js → _BdoN1bos2.js} +1 -1
- package/dist/public/assets/_BdoN1bos2.js.br +0 -0
- package/dist/public/assets/{_COwh9xd62.js → _BlhUhOHU2.js} +1 -1
- package/dist/public/assets/_BlhUhOHU2.js.br +0 -0
- package/dist/public/assets/{_ZhayJ-qQ.js → _Bn_o5JCS.js} +1 -1
- package/dist/public/assets/_Bn_o5JCS.js.br +0 -0
- package/dist/public/assets/{_QesvKbOa2.js → _BoyAzBpG2.js} +1 -1
- package/dist/public/assets/_BoyAzBpG2.js.br +0 -0
- package/dist/public/assets/{_DipGujtJ.js → _BqWyT01p.js} +1 -1
- package/dist/public/assets/_BqWyT01p.js.br +0 -0
- package/dist/public/assets/{_C15_hmIx.js → _Bqh8jXAu.js} +1 -1
- package/dist/public/assets/_Bqh8jXAu.js.br +0 -0
- package/dist/public/assets/{_CSktm2e_.js → _BqkcNNjo.js} +1 -1
- package/dist/public/assets/_BqkcNNjo.js.br +0 -0
- package/dist/public/assets/{_CVJwjn-3.js → _Bvv1d3oN.js} +1 -1
- package/dist/public/assets/_Bvv1d3oN.js.br +0 -0
- package/dist/public/assets/{_CLrm4PKi2.js → _C-FQ0ys32.js} +1 -1
- package/dist/public/assets/_C-FQ0ys32.js.br +0 -0
- package/dist/public/assets/{_CWdF1x9U.js → _C1nJm6lQ.js} +1 -1
- package/dist/public/assets/_C1nJm6lQ.js.br +0 -0
- package/dist/public/assets/{_DF2_1kBg2.js → _C2c3QAjk2.js} +1 -1
- package/dist/public/assets/_C2c3QAjk2.js.br +0 -0
- package/dist/public/assets/{_Dj94fa3U.js → _CCcX7xr2.js} +1 -1
- package/dist/public/assets/_CCcX7xr2.js.br +0 -0
- package/dist/public/assets/{_C7mf5JlF2.js → _CMx248mK2.js} +1 -1
- package/dist/public/assets/_CMx248mK2.js.br +0 -0
- package/dist/public/assets/{_DkQYY8r62.js → _CO1qXE9g2.js} +1 -1
- package/dist/public/assets/_CO1qXE9g2.js.br +0 -0
- package/dist/public/assets/{_Bb4SPfXq2.js → _CSVsdz0e2.js} +1 -1
- package/dist/public/assets/_CSVsdz0e2.js.br +0 -0
- package/dist/public/assets/{_Bz47SoPw.js → _CUo4ijVA.js} +1 -1
- package/dist/public/assets/_CUo4ijVA.js.br +0 -0
- package/dist/public/assets/{_B7ABFrdL.js → _CdLAoE0b.js} +1 -1
- package/dist/public/assets/_CdLAoE0b.js.br +0 -0
- package/dist/public/assets/{_CS5NJN5T.js → _CeXRQ6n1.js} +24 -24
- package/dist/public/assets/_CeXRQ6n1.js.br +0 -0
- package/dist/public/assets/{_C70vMp9x.js → _CgW3fZUl.js} +1 -1
- package/dist/public/assets/_CgW3fZUl.js.br +0 -0
- package/dist/public/assets/{_D8LywV07.js → _Ci7xQD_V.js} +1 -1
- package/dist/public/assets/_Ci7xQD_V.js.br +0 -0
- package/dist/public/assets/{_CV1b_-qF.js → _CkKsdaoM.js} +1 -1
- package/dist/public/assets/_CkKsdaoM.js.br +0 -0
- package/dist/public/assets/{_DFCkDvE32.js → _Cq_YJDmy2.js} +1 -1
- package/dist/public/assets/_Cq_YJDmy2.js.br +0 -0
- package/dist/public/assets/{_cqG6c_wj.js → _CzOCWtg-.js} +1 -1
- package/dist/public/assets/_CzOCWtg-.js.br +0 -0
- package/dist/public/assets/{_BW_6s178.js → _D4LIQ6Lx.js} +1 -1
- package/dist/public/assets/{_C0h0wi_E.js → _D57xG7fN.js} +1 -1
- package/dist/public/assets/_D57xG7fN.js.br +0 -0
- package/dist/public/assets/{_DgNTtTl42.js → _D7uZiIGw2.js} +1 -1
- package/dist/public/assets/_D7uZiIGw2.js.br +0 -0
- package/dist/public/assets/{_SyFIuzj92.js → _DA0-ySSI2.js} +1 -1
- package/dist/public/assets/_DA0-ySSI2.js.br +0 -0
- package/dist/public/assets/{_C4U6CgHl2.js → _DBgwUGM42.js} +1 -1
- package/dist/public/assets/_DBgwUGM42.js.br +0 -0
- package/dist/public/assets/{_uay_kEL4.js → _DBzQI7Fc.js} +1 -1
- package/dist/public/assets/_DBzQI7Fc.js.br +0 -0
- package/dist/public/assets/{_DKujArVl.js → _DHagfBBR.js} +1 -1
- package/dist/public/assets/_DHagfBBR.js.br +0 -0
- package/dist/public/assets/{_BLfwHTyW.js → _DK_NIQ8y.js} +1 -1
- package/dist/public/assets/_DK_NIQ8y.js.br +0 -0
- package/dist/public/assets/{_B7cutdHQ.js → _DP53olnm.js} +1 -1
- package/dist/public/assets/_DP53olnm.js.br +0 -0
- package/dist/public/assets/{_BosyJtbl.js → _DTQVG2Yr.js} +4 -4
- package/dist/public/assets/_DTQVG2Yr.js.br +0 -0
- package/dist/public/assets/{_CvTvccCO.js → _DU_pZQOg.js} +1 -1
- package/dist/public/assets/_DU_pZQOg.js.br +0 -0
- package/dist/public/assets/{_sn5IO56l.js → _DXNiGMGD.js} +1 -1
- package/dist/public/assets/_DXNiGMGD.js.br +0 -0
- package/dist/public/assets/{_BOEAFiNc.js → _Db8KpOKn.js} +1 -1
- package/dist/public/assets/_Db8KpOKn.js.br +0 -0
- package/dist/public/assets/{_DkbZtm4H2.js → _DbGcfVbZ2.js} +1 -1
- package/dist/public/assets/_DbGcfVbZ2.js.br +0 -0
- package/dist/public/assets/{_D_ZV8LlG.js → _DdKiKAPk.js} +1 -1
- package/dist/public/assets/_DdKiKAPk.js.br +0 -0
- package/dist/public/assets/{_nk9Ndt8F.js → _Deslis1o.js} +1 -1
- package/dist/public/assets/_Deslis1o.js.br +0 -0
- package/dist/public/assets/{_ETRp4Dkx.js → _Dg6ejz2B.js} +1 -1
- package/dist/public/assets/_Dg6ejz2B.js.br +0 -0
- package/dist/public/assets/{_DPj2YHTk.js → _Di-EX1b7.js} +1 -1
- package/dist/public/assets/_Di-EX1b7.js.br +0 -0
- package/dist/public/assets/{_C3JHGzvW.js → _Dlf-M1S1.js} +1 -1
- package/dist/public/assets/_Dlf-M1S1.js.br +0 -0
- package/dist/public/assets/{_0OqIY_oa.js → _DsUixNKe.js} +1 -1
- package/dist/public/assets/_DsUixNKe.js.br +0 -0
- package/dist/public/assets/{_CIp0kFpa.js → _DuRUMaPn.js} +1 -1
- package/dist/public/assets/_DuRUMaPn.js.br +0 -0
- package/dist/public/assets/{_t1zPIDHD2.js → _DwgoyKXR2.js} +1 -1
- package/dist/public/assets/_DwgoyKXR2.js.br +0 -0
- package/dist/public/assets/{_CXoYOoC6.js → _IsYsu85_.js} +1 -1
- package/dist/public/assets/_IsYsu85_.js.br +0 -0
- package/dist/public/assets/{_JKJV30m7.js → _Qkrq4E4X.js} +1 -1
- package/dist/public/assets/_Qkrq4E4X.js.br +0 -0
- package/dist/public/assets/{_mkwsaBCP.js → _SUciI1Gv.js} +1 -1
- package/dist/public/assets/_SUciI1Gv.js.br +0 -0
- package/dist/public/assets/{_BihwC5tS.js → _TjBJUuMd.js} +1 -1
- package/dist/public/assets/_TjBJUuMd.js.br +0 -0
- package/dist/public/assets/{_jwhRT4Zh.js → _U6OVDCJb.js} +1 -1
- package/dist/public/assets/_U6OVDCJb.js.br +0 -0
- package/dist/public/assets/{_BSgpkWeG2.js → _Uh-uh7hT2.js} +1 -1
- package/dist/public/assets/_Uh-uh7hT2.js.br +0 -0
- package/dist/public/assets/{_RfbisAlu.js → _ZZU6MAiV.js} +1 -1
- package/dist/public/assets/_ZZU6MAiV.js.br +0 -0
- package/dist/public/assets/{_C2bz1iNl2.js → _aBZuh8zn2.js} +1 -1
- package/dist/public/assets/_aBZuh8zn2.js.br +0 -0
- package/dist/public/assets/{_Bx5VaawO2.js → _bT_VJYie2.js} +1 -1
- package/dist/public/assets/{_iQyMxbuN2.js → _esB_KJm-2.js} +1 -1
- package/dist/public/assets/_esB_KJm-2.js.br +0 -0
- package/dist/public/assets/{_DM8LWYEr2.js → _i6BjIXhK2.js} +1 -1
- package/dist/public/assets/_i6BjIXhK2.js.br +0 -0
- package/dist/public/assets/{_CQLqXTuP.js → _mOHl-qLw.js} +1 -1
- package/dist/public/assets/_mOHl-qLw.js.br +0 -0
- package/dist/public/assets/{_E6Kzddef.js → _qPGSB6gw.js} +1 -1
- package/dist/public/assets/_qPGSB6gw.js.br +0 -0
- package/dist/public/assets/{_wogBSoP_.js → _ubp3Lzd4.js} +1 -1
- package/dist/public/assets/_ubp3Lzd4.js.br +0 -0
- package/dist/public/assets/{app-page-CY5YskjL.css → app-page-BKTdqk6I.css} +1 -1
- package/dist/public/assets/app-page-BKTdqk6I.css.br +0 -0
- package/dist/public/assets/{diff-view-Bgr-jkmA.css → diff-view-Cz4Tj-Xi.css} +1 -1
- package/dist/public/assets/diff-view-Cz4Tj-Xi.css.br +0 -0
- package/dist/public/assets/new-CMRMU1vs.js +1 -0
- package/dist/public/assets/settings-CMRMU1vs.js +1 -0
- package/dist/public/assets/w-CMRMU1vs.js +1 -0
- package/dist/public/assets/w._-CMEpH_9a.js +1 -0
- package/dist/public/assets/w._-CMRMU1vs.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_0OqIY_oa.js.br +0 -0
- package/dist/public/assets/_0UBcCdXI2.js.br +0 -0
- package/dist/public/assets/_1l4GNsSP2.js.br +0 -0
- package/dist/public/assets/_B7ABFrdL.js.br +0 -0
- package/dist/public/assets/_B7cutdHQ.js.br +0 -0
- package/dist/public/assets/_BAYLyxTF.js.br +0 -0
- package/dist/public/assets/_BLfwHTyW.js.br +0 -0
- package/dist/public/assets/_BMicSlM7.js.br +0 -0
- package/dist/public/assets/_BMrUCfDB2.js.br +0 -0
- package/dist/public/assets/_BOEAFiNc.js.br +0 -0
- package/dist/public/assets/_BSgpkWeG2.js.br +0 -0
- package/dist/public/assets/_Bb4SPfXq2.js.br +0 -0
- package/dist/public/assets/_BihwC5tS.js.br +0 -0
- package/dist/public/assets/_BosyJtbl.js.br +0 -0
- package/dist/public/assets/_BuDL8K-B2.js.br +0 -0
- package/dist/public/assets/_BuLVH2X-.js.br +0 -0
- package/dist/public/assets/_Bz47SoPw.js.br +0 -0
- package/dist/public/assets/_C0h0wi_E.js.br +0 -0
- package/dist/public/assets/_C15_hmIx.js.br +0 -0
- package/dist/public/assets/_C2bz1iNl2.js.br +0 -0
- package/dist/public/assets/_C3JHGzvW.js.br +0 -0
- package/dist/public/assets/_C4U6CgHl2.js.br +0 -0
- package/dist/public/assets/_C70vMp9x.js.br +0 -0
- package/dist/public/assets/_C7mf5JlF2.js.br +0 -0
- package/dist/public/assets/_CBJgkhp4.js.br +0 -0
- package/dist/public/assets/_CIp0kFpa.js.br +0 -0
- package/dist/public/assets/_CKnhEM_s.js.br +0 -0
- package/dist/public/assets/_CLrm4PKi2.js.br +0 -0
- package/dist/public/assets/_COwh9xd62.js.br +0 -0
- package/dist/public/assets/_CQLqXTuP.js.br +0 -0
- package/dist/public/assets/_CQwAYP8H.js.br +0 -0
- package/dist/public/assets/_CS5NJN5T.js.br +0 -0
- package/dist/public/assets/_CSktm2e_.js.br +0 -0
- package/dist/public/assets/_CV1b_-qF.js.br +0 -0
- package/dist/public/assets/_CVJwjn-3.js.br +0 -0
- package/dist/public/assets/_CWdF1x9U.js.br +0 -0
- package/dist/public/assets/_CXoYOoC6.js.br +0 -0
- package/dist/public/assets/_CsRJlP6E.js.br +0 -0
- package/dist/public/assets/_CvTvccCO.js.br +0 -0
- package/dist/public/assets/_D0GM5bjt.js.br +0 -0
- package/dist/public/assets/_D8LywV07.js.br +0 -0
- package/dist/public/assets/_DF2_1kBg2.js.br +0 -0
- package/dist/public/assets/_DFCkDvE32.js.br +0 -0
- package/dist/public/assets/_DGwnanjW.js.br +0 -0
- package/dist/public/assets/_DKujArVl.js.br +0 -0
- package/dist/public/assets/_DM8LWYEr2.js.br +0 -0
- package/dist/public/assets/_DPj2YHTk.js.br +0 -0
- package/dist/public/assets/_D_ZV8LlG.js.br +0 -0
- package/dist/public/assets/_DgNTtTl42.js.br +0 -0
- package/dist/public/assets/_DipGujtJ.js.br +0 -0
- package/dist/public/assets/_Dj94fa3U.js.br +0 -0
- package/dist/public/assets/_DkQYY8r62.js.br +0 -0
- package/dist/public/assets/_DkbZtm4H2.js.br +0 -0
- package/dist/public/assets/_E6Kzddef.js.br +0 -0
- package/dist/public/assets/_ETRp4Dkx.js.br +0 -0
- package/dist/public/assets/_JKJV30m7.js.br +0 -0
- package/dist/public/assets/_LFb7Eooe.js.br +0 -0
- package/dist/public/assets/_QesvKbOa2.js.br +0 -0
- package/dist/public/assets/_RBSjxlpg2.js.br +0 -0
- package/dist/public/assets/_RfbisAlu.js.br +0 -0
- package/dist/public/assets/_SyFIuzj92.js.br +0 -0
- package/dist/public/assets/_ZhayJ-qQ.js.br +0 -0
- package/dist/public/assets/_cqG6c_wj.js.br +0 -0
- package/dist/public/assets/_iQyMxbuN2.js.br +0 -0
- package/dist/public/assets/_jwhRT4Zh.js.br +0 -0
- package/dist/public/assets/_mkwsaBCP.js.br +0 -0
- package/dist/public/assets/_nk9Ndt8F.js.br +0 -0
- package/dist/public/assets/_rGnGy01d.js.br +0 -0
- package/dist/public/assets/_rmB_eng0.js.br +0 -0
- package/dist/public/assets/_sn5IO56l.js.br +0 -0
- package/dist/public/assets/_t1zPIDHD2.js.br +0 -0
- package/dist/public/assets/_uay_kEL4.js.br +0 -0
- package/dist/public/assets/_wogBSoP_.js.br +0 -0
- package/dist/public/assets/app-page-CY5YskjL.css.br +0 -0
- package/dist/public/assets/diff-view-Bgr-jkmA.css.br +0 -0
- package/dist/public/assets/new-ClSnajcQ.js +0 -1
- package/dist/public/assets/settings-ClSnajcQ.js +0 -1
- package/dist/public/assets/w-ClSnajcQ.js +0 -1
- package/dist/public/assets/w._-ClSnajcQ.js +0 -1
- package/dist/public/assets/w._-DnNpxcOV.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __
|
|
|
2
2
|
import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./_BerH0QBf.js";
|
|
3
3
|
import { B as withLock, C as revParse, D as ensureAllPushHooks, E as workspaceBranches, F as repoBranches, G as ensureGitCredentials, H as addHost, I as repoCatalog, K as forgetToken, L as repoDefaultBranch, M as headOid, N as remoteHasHeads, O as hookToken, P as pendingSsoOrgs, Q as ownsBranch, S as resumePendingWorkspaces, T as withProgressOp, U as cloneUrl, V as DEFAULT_HOST, W as configuredHosts, X as removeHost, Z as splitRepo, _ as progress$1, b as queueMaterialize, c as setAutoPush, d as createWorkspace, f as deleteWorkspace, g as otherWorkspaceBranches, h as listWorkspaces, i as noteRemoteRef, j as workspaceProcs, k as killWorkspaceProc, l as addRepo$1, m as insertPendingWorkspace, p as getWorkspace, r as noteLocalRefs, s as pushWorkspaceRepo, t as autoPushEnabled, u as barePath, v as progressSince, w as setWorkspaceStatus, x as removeRepo, y as pruneLaneBranch, z as swr } from "./_ClRtSKMs.js";
|
|
4
4
|
import { a as statusForAllFresh, c as refreshPrsBatch, i as statusForAll, l as workspacePrs, n as pokeStatusWatch, o as dismissPr, r as startStatusWatch, s as notePushActivity, t as activeRepoTargets } from "./_B30PhyQg.js";
|
|
5
|
-
import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./
|
|
5
|
+
import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./_10g8qIc8.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { createServer } from "node:http";
|
|
8
8
|
import path from "node:path";
|
|
@@ -2323,18 +2323,18 @@ function applyInstance(inst) {
|
|
|
2323
2323
|
}
|
|
2324
2324
|
//#endregion
|
|
2325
2325
|
//#region src/tags/settings-page.css.ts
|
|
2326
|
-
var content$2 = "_cc
|
|
2327
|
-
var agentGrid = "_ci
|
|
2328
|
-
var toolGrid = "_cs
|
|
2326
|
+
var content$2 = "_cc _bF _bG";
|
|
2327
|
+
var agentGrid = "_ci _br";
|
|
2328
|
+
var toolGrid = "_cs _br";
|
|
2329
2329
|
var themeSeg = "_cH _6";
|
|
2330
2330
|
var swatches = "_cP _6";
|
|
2331
|
-
var checkList = "_de
|
|
2331
|
+
var checkList = "_de _br";
|
|
2332
2332
|
//#endregion
|
|
2333
2333
|
//#region src/tags/page-head.marko
|
|
2334
2334
|
var page_head_default = _template("t", (input) => {
|
|
2335
2335
|
const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
|
|
2336
2336
|
const $scope0_id = _scope_id();
|
|
2337
|
-
_html(`<header${_attr_class("
|
|
2337
|
+
_html(`<header${_attr_class("_bH")}>`);
|
|
2338
2338
|
_if(() => {
|
|
2339
2339
|
if (input.backHref) {
|
|
2340
2340
|
const $scope1_id = _scope_id();
|
|
@@ -2353,11 +2353,11 @@ var page_head_default = _template("t", (input) => {
|
|
|
2353
2353
|
return 1;
|
|
2354
2354
|
}
|
|
2355
2355
|
}, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
|
|
2356
|
-
_html(`<div${_attr_class("
|
|
2356
|
+
_html(`<div${_attr_class("_bJ")}><h1${_attr("id", input.titleId)}${_attr_class("_bI")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
2357
2357
|
_if(() => {
|
|
2358
2358
|
if (input.meta) {
|
|
2359
2359
|
const $scope3_id = _scope_id();
|
|
2360
|
-
_html(`<p${_attr_class("
|
|
2360
|
+
_html(`<p${_attr_class("_bK")}>`);
|
|
2361
2361
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
2362
2362
|
_html("</p>");
|
|
2363
2363
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2368,7 +2368,7 @@ var page_head_default = _template("t", (input) => {
|
|
|
2368
2368
|
_if(() => {
|
|
2369
2369
|
if (input.actions) {
|
|
2370
2370
|
const $scope4_id = _scope_id();
|
|
2371
|
-
_html(`<div${_attr_class("
|
|
2371
|
+
_html(`<div${_attr_class("_bL")}>`);
|
|
2372
2372
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
2373
2373
|
_html("</div>");
|
|
2374
2374
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2436,7 +2436,7 @@ var icon_agent_default = _template("I", (input) => {
|
|
|
2436
2436
|
n: $badge__closures
|
|
2437
2437
|
});
|
|
2438
2438
|
});
|
|
2439
|
-
var usageNote = "
|
|
2439
|
+
var usageNote = "_fH _R";
|
|
2440
2440
|
//#endregion
|
|
2441
2441
|
//#region src/tags/icons/icon-warning.marko
|
|
2442
2442
|
var icon_warning_default = _template("mb", (input) => {
|
|
@@ -2466,11 +2466,11 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2466
2466
|
const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
|
|
2467
2467
|
const $scope0_id = _scope_id();
|
|
2468
2468
|
const agent = input.agent;
|
|
2469
|
-
_html(`<div${_attr_class(["
|
|
2469
|
+
_html(`<div${_attr_class(["_fB", { ["_fC"]: input.hideName }])}><div${_attr_class("_fD")}>`);
|
|
2470
2470
|
_if(() => {
|
|
2471
2471
|
if (!input.hideName) {
|
|
2472
2472
|
const $scope1_id = _scope_id();
|
|
2473
|
-
_html(`<strong${_attr_class("
|
|
2473
|
+
_html(`<strong${_attr_class("_fW")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
2474
2474
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
2475
2475
|
return 0;
|
|
2476
2476
|
}
|
|
@@ -2478,7 +2478,7 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2478
2478
|
_if(() => {
|
|
2479
2479
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
2480
2480
|
const $scope2_id = _scope_id();
|
|
2481
|
-
_html(`<span${_attr_class("
|
|
2481
|
+
_html(`<span${_attr_class("_fE")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
2482
2482
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
2483
2483
|
return 0;
|
|
2484
2484
|
}
|
|
@@ -2486,21 +2486,21 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2486
2486
|
_if(() => {
|
|
2487
2487
|
if (agent.stale_seconds != null) {
|
|
2488
2488
|
const $scope3_id = _scope_id();
|
|
2489
|
-
_html(`<span${_attr_class("
|
|
2489
|
+
_html(`<span${_attr_class("_fF")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
2490
2490
|
icon_warning_default({ size: 12 });
|
|
2491
2491
|
_html(` ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "c", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
2492
2492
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
2493
2493
|
return 0;
|
|
2494
2494
|
}
|
|
2495
2495
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
2496
|
-
_html(`</div><div${_attr_class(["
|
|
2496
|
+
_html(`</div><div${_attr_class(["_fG", { ["_fX"]: agent.stale_seconds != null }])}>`);
|
|
2497
2497
|
_for_of(agent.windows || [], (win) => {
|
|
2498
2498
|
const $scope4_id = _scope_id();
|
|
2499
2499
|
const pct = pctText(win.used_percent);
|
|
2500
2500
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
2501
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
2502
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
2503
|
-
_html(`<div${_attr_class("
|
|
2501
|
+
const fillClass = win.used_percent >= 90 ? "_fP" : win.used_percent >= 70 ? "_fO" : win.used_percent >= 40 ? "_fN" : "_fM";
|
|
2502
|
+
const pctClass = win.used_percent >= 90 ? "_fU" : win.used_percent >= 70 ? "_fT" : win.used_percent >= 40 ? "_fS" : "_fR";
|
|
2503
|
+
_html(`<div${_attr_class("_fI")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fJ")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fK")}><span${_attr_class(["_fL", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_fQ", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fV")}>`);
|
|
2504
2504
|
_if(() => {
|
|
2505
2505
|
if (label) {
|
|
2506
2506
|
const $scope6_id = _scope_id();
|
|
@@ -2532,7 +2532,7 @@ var usage_meters_default = _template("F", (input) => {
|
|
|
2532
2532
|
q: $si__input_agent && agent?.note
|
|
2533
2533
|
});
|
|
2534
2534
|
});
|
|
2535
|
-
var orgSkip = "
|
|
2535
|
+
var orgSkip = "_fs _1 _j";
|
|
2536
2536
|
//#endregion
|
|
2537
2537
|
//#region src/tags/sso-auth.marko
|
|
2538
2538
|
var api$7;
|
|
@@ -2542,7 +2542,7 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2542
2542
|
const $scope0_id = _scope_id();
|
|
2543
2543
|
const $busy__closures = /* @__PURE__ */ new Set();
|
|
2544
2544
|
const $host__closures = /* @__PURE__ */ new Set();
|
|
2545
|
-
const $
|
|
2545
|
+
const $localCode__closures = /* @__PURE__ */ new Set();
|
|
2546
2546
|
const $localError__closures = /* @__PURE__ */ new Set();
|
|
2547
2547
|
const skipped$1 = input.skipped || [];
|
|
2548
2548
|
const host = input.items[0]?.host || "github.com";
|
|
@@ -2550,7 +2550,6 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2550
2550
|
let localCode = null;
|
|
2551
2551
|
let localError = null;
|
|
2552
2552
|
const busy = input.busy || localBusy;
|
|
2553
|
-
const authCode$2 = input.authCode || localCode;
|
|
2554
2553
|
const authorize = _resume(async () => {
|
|
2555
2554
|
if (busy) return;
|
|
2556
2555
|
localError = null;
|
|
@@ -2580,14 +2579,14 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2580
2579
|
localCode = null;
|
|
2581
2580
|
}
|
|
2582
2581
|
}, "B0", $scope0_id);
|
|
2583
|
-
_html(`<div${_attr_class("
|
|
2582
|
+
_html(`<div${_attr_class("_fp")}>`);
|
|
2584
2583
|
_if(() => {
|
|
2585
2584
|
if (input.items.length) {
|
|
2586
2585
|
const $scope1_id = _scope_id();
|
|
2587
|
-
_html(`<p${_attr_class("
|
|
2586
|
+
_html(`<p${_attr_class("_fA")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope1_id, "b", $sg__input_items)}.</p><ul${_attr_class("_fq")}>`);
|
|
2588
2587
|
_for_of(input.items, (s) => {
|
|
2589
2588
|
const $scope2_id = _scope_id();
|
|
2590
|
-
_html(`<li${_attr_class("
|
|
2589
|
+
_html(`<li${_attr_class("_fr")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class(orgSkip)}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
|
|
2591
2590
|
icon_xmark_default({ size: 11 });
|
|
2592
2591
|
_html(`</button>${_el_resume($scope2_id, "c")}</li>`);
|
|
2593
2592
|
_script($scope2_id, "B1");
|
|
@@ -2596,20 +2595,20 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2596
2595
|
_: _scope_with_id($scope1_id)
|
|
2597
2596
|
}));
|
|
2598
2597
|
}, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
|
|
2599
|
-
_html(`<div${_attr_class("
|
|
2598
|
+
_html(`<div${_attr_class("_ft")}>`);
|
|
2600
2599
|
_if(() => {
|
|
2601
|
-
if (
|
|
2600
|
+
if (localBusy && localCode) {
|
|
2602
2601
|
const $scope5_id = _scope_id();
|
|
2603
|
-
_html(`<span${_attr_class("
|
|
2602
|
+
_html(`<span${_attr_class("_fu")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_fv")}>${_escape(localCode)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fw")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
|
|
2604
2603
|
_script($scope5_id, "B2");
|
|
2605
|
-
_subscribe($
|
|
2604
|
+
_subscribe($localCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
|
|
2606
2605
|
return 0;
|
|
2607
|
-
} else if (
|
|
2606
|
+
} else if (localBusy) {
|
|
2608
2607
|
const $scope8_id = _scope_id();
|
|
2609
|
-
_html(`<span${_attr_class("
|
|
2608
|
+
_html(`<span${_attr_class("_fu")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
|
|
2610
2609
|
writeScope($scope8_id, {});
|
|
2611
2610
|
return 1;
|
|
2612
|
-
} else {
|
|
2611
|
+
} else if (!busy) {
|
|
2613
2612
|
const $scope7_id = _scope_id();
|
|
2614
2613
|
_html(`<button type=button${_attr_class(btnSm)} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize SSO</button>${_el_resume($scope7_id, "a")}`);
|
|
2615
2614
|
_script($scope7_id, "B3");
|
|
@@ -2620,7 +2619,7 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2620
2619
|
_if(() => {
|
|
2621
2620
|
if (localError) {
|
|
2622
2621
|
const $scope6_id = _scope_id();
|
|
2623
|
-
_html(`<p${_attr_class("
|
|
2622
|
+
_html(`<p${_attr_class("_fA")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
|
|
2624
2623
|
_subscribe($localError__closures, writeScope($scope6_id, {}));
|
|
2625
2624
|
return 0;
|
|
2626
2625
|
}
|
|
@@ -2628,14 +2627,14 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2628
2627
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
2629
2628
|
return 0;
|
|
2630
2629
|
}
|
|
2631
|
-
}, $scope0_id, "b", 1, _serialize_guard($scope0_reason,
|
|
2630
|
+
}, $scope0_id, "b", 1, _serialize_guard($scope0_reason, 4), $sg__input_skipped__OR__input_items_length);
|
|
2632
2631
|
_if(() => {
|
|
2633
2632
|
if (skipped$1.length) {
|
|
2634
2633
|
const $scope3_id = _scope_id();
|
|
2635
|
-
_html(`<p${_attr_class("
|
|
2634
|
+
_html(`<p${_attr_class("_fx")}>Skipped SSO for `);
|
|
2636
2635
|
_for_of(skipped$1, (s) => {
|
|
2637
2636
|
const $scope4_id = _scope_id();
|
|
2638
|
-
_html(`<span${_attr_class("
|
|
2637
|
+
_html(`<span${_attr_class("_fy")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fz")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
|
|
2639
2638
|
_script($scope4_id, "B4");
|
|
2640
2639
|
writeScope($scope4_id, {
|
|
2641
2640
|
f: s?.org,
|
|
@@ -2649,24 +2648,22 @@ var sso_auth_default = _template("B", (input) => {
|
|
|
2649
2648
|
}, $scope0_id, "c", $sg__input_skipped, $sg__input_skipped, $sg__input_skipped__OR__input_items_length, 0, 1);
|
|
2650
2649
|
_html("</div>");
|
|
2651
2650
|
writeScope($scope0_id, {
|
|
2652
|
-
g: _serialize_if($scope0_reason,
|
|
2651
|
+
g: _serialize_if($scope0_reason, 4) && input.items,
|
|
2653
2652
|
j: input.busy,
|
|
2654
|
-
k: input.
|
|
2655
|
-
l: input.
|
|
2656
|
-
|
|
2657
|
-
o:
|
|
2658
|
-
|
|
2659
|
-
r:
|
|
2660
|
-
|
|
2661
|
-
u:
|
|
2662
|
-
|
|
2663
|
-
x:
|
|
2664
|
-
|
|
2665
|
-
a0:
|
|
2666
|
-
|
|
2667
|
-
a3: $
|
|
2668
|
-
a6: $authCode__closures,
|
|
2669
|
-
a4: $localError__closures
|
|
2653
|
+
k: input.onAuthorize,
|
|
2654
|
+
l: input.onDone,
|
|
2655
|
+
n: input.onChange,
|
|
2656
|
+
o: _serialize_if($scope0_reason, 1) && skipped$1,
|
|
2657
|
+
q: host,
|
|
2658
|
+
r: localBusy,
|
|
2659
|
+
t: localCode,
|
|
2660
|
+
u: localError,
|
|
2661
|
+
v: busy,
|
|
2662
|
+
x: authorize,
|
|
2663
|
+
a4: $busy__closures,
|
|
2664
|
+
a0: $si__input_items_0_host && $host__closures,
|
|
2665
|
+
a2: $localCode__closures,
|
|
2666
|
+
a3: $localError__closures
|
|
2670
2667
|
});
|
|
2671
2668
|
_resume_branch($scope0_id);
|
|
2672
2669
|
});
|
|
@@ -3349,7 +3346,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3349
3346
|
const backupId = _id();
|
|
3350
3347
|
const machineId = _id();
|
|
3351
3348
|
const skillsId = _id();
|
|
3352
|
-
_html(`<div${_attr_class("
|
|
3349
|
+
_html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content$2)}>`);
|
|
3353
3350
|
_set_serialize_reason({
|
|
3354
3351
|
0: _serialize_guard($scope0_reason, 4),
|
|
3355
3352
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -3442,7 +3439,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3442
3439
|
return 0;
|
|
3443
3440
|
}
|
|
3444
3441
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
3445
|
-
_html(`<section${_attr_class("
|
|
3442
|
+
_html(`<section${_attr_class("_bo")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bp")}><h2${_attr("id", agentsId)}${_attr_class("_bC")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_ck")}><span${_attr_class("_R")}>Default</span><span${_attr_class("_m")}>`);
|
|
3446
3443
|
_attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
|
|
3447
3444
|
setPreferred(v);
|
|
3448
3445
|
}, "x2", $scope0_id), () => {
|
|
@@ -3467,14 +3464,14 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3467
3464
|
const rows = lone ? [] : a.instances;
|
|
3468
3465
|
const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
|
|
3469
3466
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
3470
|
-
_html(`<li${_attr_class(["
|
|
3467
|
+
_html(`<li${_attr_class(["_bt", "_cj"])}><div${_attr_class(["_cm", { ["_cp"]: lone && !lone.enabled }])}>`);
|
|
3471
3468
|
_set_serialize_reason(12);
|
|
3472
3469
|
const $childScope4 = _peek_scope_id();
|
|
3473
3470
|
icon_agent_default({
|
|
3474
3471
|
agent: a.id,
|
|
3475
3472
|
size: 18
|
|
3476
3473
|
});
|
|
3477
|
-
_html(`<div${_attr_class("
|
|
3474
|
+
_html(`<div${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class("_bv")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
|
|
3478
3475
|
_if(() => {
|
|
3479
3476
|
if (lone && input.preferred === lone.id) {
|
|
3480
3477
|
const $scope84_id = _scope_id();
|
|
@@ -3492,7 +3489,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3492
3489
|
return 0;
|
|
3493
3490
|
} else if (!a.installed) {
|
|
3494
3491
|
const $scope85_id = _scope_id();
|
|
3495
|
-
_html(`<span${_attr_class("
|
|
3492
|
+
_html(`<span${_attr_class("_bx")}>Not installed</span>`);
|
|
3496
3493
|
writeScope($scope85_id, {});
|
|
3497
3494
|
return 1;
|
|
3498
3495
|
}
|
|
@@ -3610,7 +3607,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3610
3607
|
}, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
3611
3608
|
_for_of(otherUsage, (u) => {
|
|
3612
3609
|
const $scope90_id = _scope_id();
|
|
3613
|
-
_html(`<li${_attr_class(["
|
|
3610
|
+
_html(`<li${_attr_class(["_bt", "_cj"])}>`);
|
|
3614
3611
|
_set_serialize_reason(6);
|
|
3615
3612
|
const $childScope9 = _peek_scope_id();
|
|
3616
3613
|
usage_meters_default({ agent: u });
|
|
@@ -3621,17 +3618,17 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3621
3618
|
_if(() => {
|
|
3622
3619
|
if (!usage && families.length) {
|
|
3623
3620
|
const $scope91_id = _scope_id();
|
|
3624
|
-
_html(`<p${_attr_class("
|
|
3621
|
+
_html(`<p${_attr_class("_bz")}><span${_attr_class("_E")}></span> Loading usage…</p>`);
|
|
3625
3622
|
writeScope($scope91_id, {});
|
|
3626
3623
|
return 0;
|
|
3627
3624
|
} else if (usage?.error) {
|
|
3628
3625
|
const $scope7_id = _scope_id();
|
|
3629
|
-
_html(`<p${_attr_class("
|
|
3626
|
+
_html(`<p${_attr_class("_bz")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
|
|
3630
3627
|
writeScope($scope7_id, {});
|
|
3631
3628
|
return 1;
|
|
3632
3629
|
}
|
|
3633
3630
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
3634
|
-
_html(`</section><section${_attr_class("
|
|
3631
|
+
_html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bp")}><h2${_attr("id", githubId)}${_attr_class("_bC")}>GitHub</h2></div><ul${_attr_class("_br")}>`);
|
|
3635
3632
|
_for_of(setup?.github || [], (h) => {
|
|
3636
3633
|
const $scope12_id = _scope_id();
|
|
3637
3634
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
@@ -3645,7 +3642,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3645
3642
|
const skippedSso = (() => {
|
|
3646
3643
|
return (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
3647
3644
|
})();
|
|
3648
|
-
_html(`<li${_attr_class(["
|
|
3645
|
+
_html(`<li${_attr_class(["_bt", "_cB"])}><div${_attr_class("_cC")}><div${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class(["_bv", "_w"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
|
|
3649
3646
|
_if(() => {
|
|
3650
3647
|
if (h.isEnterprise) {
|
|
3651
3648
|
const $scope94_id = _scope_id();
|
|
@@ -3659,7 +3656,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3659
3656
|
if (active.has(h.host) && authCodes.has(h.host)) {
|
|
3660
3657
|
const $scope33_id = _scope_id();
|
|
3661
3658
|
_html(`<span${_attr_class("_cd")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_cz")}>${_escape(authCodes.get(h.host))}${_el_resume($scope33_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cA")}>${_escape(h.host)}${_el_resume($scope33_id, "f")}/login/device</a>${_el_resume($scope33_id, "e")}</span>`);
|
|
3662
|
-
_subscribe($authCodes__closures, writeScope($scope33_id, {
|
|
3659
|
+
_subscribe($authCodes__closures, writeScope($scope33_id, {}));
|
|
3663
3660
|
return 0;
|
|
3664
3661
|
} else if (active.has(h.host)) {
|
|
3665
3662
|
const $scope13_id = _scope_id();
|
|
@@ -3668,12 +3665,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3668
3665
|
return 1;
|
|
3669
3666
|
} else if (h.authed) {
|
|
3670
3667
|
const $scope92_id = _scope_id();
|
|
3671
|
-
_html(`<span${_attr_class("
|
|
3668
|
+
_html(`<span${_attr_class("_bx")}>Signed in <!>${h.user ? `${_escape(`${_to_text(" ")}`)}as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope92_id, "b")}</span>`);
|
|
3672
3669
|
writeScope($scope92_id, {});
|
|
3673
3670
|
return 2;
|
|
3674
3671
|
} else {
|
|
3675
3672
|
const $scope93_id = _scope_id();
|
|
3676
|
-
_html(`<span${_attr_class("
|
|
3673
|
+
_html(`<span${_attr_class("_bx")}>${_escape(h.error || "Not signed in")}${_el_resume($scope93_id, "b")}</span>`);
|
|
3677
3674
|
writeScope($scope93_id, {});
|
|
3678
3675
|
return 3;
|
|
3679
3676
|
}
|
|
@@ -3704,7 +3701,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3704
3701
|
if (h.isEnterprise) {
|
|
3705
3702
|
const $scope36_id = _scope_id();
|
|
3706
3703
|
_html(`<button${_attr_class([
|
|
3707
|
-
"
|
|
3704
|
+
"_by",
|
|
3708
3705
|
"_2",
|
|
3709
3706
|
"_3",
|
|
3710
3707
|
{ ["_q"]: confirmingRemove === h.host }
|
|
@@ -3744,7 +3741,6 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3744
3741
|
items: hostSso,
|
|
3745
3742
|
skipped: skippedSso,
|
|
3746
3743
|
busy: active.has(h.host),
|
|
3747
|
-
authCode: authCodes.get(h.host),
|
|
3748
3744
|
onChange: _resume(function() {
|
|
3749
3745
|
ssoIgnoreTick++;
|
|
3750
3746
|
}, "x39", $scope14_id),
|
|
@@ -3755,10 +3751,10 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3755
3751
|
refresh();
|
|
3756
3752
|
}, "x41", $scope14_id)
|
|
3757
3753
|
});
|
|
3758
|
-
_subscribe($run2__closures, _subscribe($si__input_setupChange && $refresh2__closures, _subscribe($
|
|
3754
|
+
_subscribe($run2__closures, _subscribe($si__input_setupChange && $refresh2__closures, _subscribe($active__closures, writeScope($scope14_id, {
|
|
3759
3755
|
a: _existing_scope($childScope10),
|
|
3760
3756
|
Cgi: 2
|
|
3761
|
-
}))))
|
|
3757
|
+
}))));
|
|
3762
3758
|
return 0;
|
|
3763
3759
|
}
|
|
3764
3760
|
}, $scope12_id, "j", 1, 1, 1, 0, 1);
|
|
@@ -3780,7 +3776,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3780
3776
|
_if(() => {
|
|
3781
3777
|
if (setup && !setup.github.length) {
|
|
3782
3778
|
const $scope97_id = _scope_id();
|
|
3783
|
-
_html(`<p${_attr_class("
|
|
3779
|
+
_html(`<p${_attr_class("_bz")}>Install the GitHub CLI below to sign in.</p>`);
|
|
3784
3780
|
writeScope($scope97_id, {});
|
|
3785
3781
|
return 0;
|
|
3786
3782
|
}
|
|
@@ -3788,7 +3784,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3788
3784
|
_if(() => {
|
|
3789
3785
|
if (autoPush !== null) {
|
|
3790
3786
|
const $scope65_id = _scope_id();
|
|
3791
|
-
_html(`<div${_attr_class(row)}><div${_attr_class("
|
|
3787
|
+
_html(`<div${_attr_class(row)}><div${_attr_class("_bu")}><span${_attr_class("_cu")}>Auto-push</span><span${_attr_class("_bx")}>Every commit on a workspace branch goes to origin. A push that fails shows on the workspace.</span></div><button${_attr_class([
|
|
3792
3788
|
"_H",
|
|
3793
3789
|
"_J",
|
|
3794
3790
|
{ [tone.ok]: autoPush }
|
|
@@ -3814,7 +3810,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3814
3810
|
return 0;
|
|
3815
3811
|
}
|
|
3816
3812
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
3817
|
-
_html(`</section><section${_attr_class("
|
|
3813
|
+
_html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bp")}><h2${_attr("id", machineId)}${_attr_class("_bC")}><button${_attr_class("_cf")} aria-expanded=${machineOpen ? "true" : "false"}>`);
|
|
3818
3814
|
_set_serialize_reason(1);
|
|
3819
3815
|
const $childScope11 = _peek_scope_id();
|
|
3820
3816
|
icon_chevron_right_default({
|
|
@@ -3864,7 +3860,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
3864
3860
|
_if(() => {
|
|
3865
3861
|
if (setup && !setup.mise.installed) {
|
|
3866
3862
|
const $scope17_id = _scope_id();
|
|
3867
|
-
_html(`<p${_attr_class("
|
|
3863
|
+
_html(`<p${_attr_class("_bz")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope17_id, "c")}</button>${_el_resume($scope17_id, "b")}</p>`);
|
|
3868
3864
|
_script($scope17_id, "x59");
|
|
3869
3865
|
_subscribe($active__closures, writeScope($scope17_id, { Cgi: 3 }));
|
|
3870
3866
|
return 0;
|
|
@@ -4065,7 +4061,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4065
4061
|
_html(`<ul${_attr_class([toolGrid, "_cx"])}>`);
|
|
4066
4062
|
_for_of(hits, (h) => {
|
|
4067
4063
|
const $scope22_id = _scope_id();
|
|
4068
|
-
_html(`<li${_attr_class(row)}><div${_attr_class("
|
|
4064
|
+
_html(`<li${_attr_class(row)}><div${_attr_class("_bu")}><span${_attr_class(["_cu", "_w"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
|
|
4069
4065
|
_if(() => {
|
|
4070
4066
|
if (active.has(h.name)) {
|
|
4071
4067
|
const $scope23_id = _scope_id();
|
|
@@ -4074,7 +4070,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4074
4070
|
return 0;
|
|
4075
4071
|
} else if (h.description) {
|
|
4076
4072
|
const $scope108_id = _scope_id();
|
|
4077
|
-
_html(`<span${_attr_class("
|
|
4073
|
+
_html(`<span${_attr_class("_bx")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope108_id, "b")}</span>${_el_resume($scope108_id, "a")}`);
|
|
4078
4074
|
writeScope($scope108_id, {});
|
|
4079
4075
|
return 1;
|
|
4080
4076
|
}
|
|
@@ -4113,7 +4109,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4113
4109
|
return 0;
|
|
4114
4110
|
} else if (hits && !searching) {
|
|
4115
4111
|
const $scope45_id = _scope_id();
|
|
4116
|
-
_html(`<p${_attr_class("
|
|
4112
|
+
_html(`<p${_attr_class("_bz")}>No tools match "<!>${_escape(query)}${_el_resume($scope45_id, "b")}".</p>`);
|
|
4117
4113
|
_subscribe($query__closures, writeScope($scope45_id, { Cgr: 1 }));
|
|
4118
4114
|
return 1;
|
|
4119
4115
|
}
|
|
@@ -4128,7 +4124,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4128
4124
|
return 0;
|
|
4129
4125
|
}
|
|
4130
4126
|
}, $scope0_id, "ab");
|
|
4131
|
-
_html(`</section><section${_attr_class("
|
|
4127
|
+
_html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", skillsId)}><div${_attr_class("_bp")}><h2${_attr("id", skillsId)}${_attr_class("_bC")}><button${_attr_class("_cf")} aria-expanded=false>`);
|
|
4132
4128
|
_set_serialize_reason(1);
|
|
4133
4129
|
const $childScope12 = _peek_scope_id();
|
|
4134
4130
|
icon_chevron_right_default({
|
|
@@ -4160,7 +4156,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4160
4156
|
label: "Dark"
|
|
4161
4157
|
}
|
|
4162
4158
|
];
|
|
4163
|
-
_html(`</section><section${_attr_class("
|
|
4159
|
+
_html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bp")}><h2${_attr("id", appearanceId)}${_attr_class("_bC")}>Appearance</h2></div><div${_attr_class(["_bt", "_cD"])}><label${_attr_class("_cE")}><span${_attr_class("_cF")}>Name</span><input${_attr_input_value($scope0_id, "ap", input.instance.name, _resume(function(v) {
|
|
4164
4160
|
setInstance({ name: v });
|
|
4165
4161
|
}, "x4", $scope0_id))}${_attr_class(["_T", "_cG"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "ap")}</label><div${_attr_class("_cE")}><span${_attr_class("_cF")}>Theme</span><span${_attr_class("_cI")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
|
|
4166
4162
|
_for_of(themeOpts, (opt) => {
|
|
@@ -4204,7 +4200,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4204
4200
|
{ ["_cR"]: customOn }
|
|
4205
4201
|
])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "b2", input.instance.accent || "#3556d8", _resume(function(v) {
|
|
4206
4202
|
setInstance({ accent: v });
|
|
4207
|
-
}, "x6", $scope0_id))}${_attr_class("_cU")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b2")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b1", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("
|
|
4203
|
+
}, "x6", $scope0_id))}${_attr_class("_cU")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b2")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b1", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bo")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bp")}><h2${_attr("id", backupId)}${_attr_class("_bC")}>Backup</h2></div><ul${_attr_class("_br")}><li${_attr_class(["_bt", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>Export</span>`);
|
|
4208
4204
|
_if(() => {
|
|
4209
4205
|
if (backupBusy === "preflight" || backupBusy === "push") {
|
|
4210
4206
|
const $scope66_id = _scope_id();
|
|
@@ -4213,7 +4209,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4213
4209
|
return 0;
|
|
4214
4210
|
} else {
|
|
4215
4211
|
const $scope124_id = _scope_id();
|
|
4216
|
-
_html(`<span${_attr_class("
|
|
4212
|
+
_html(`<span${_attr_class("_bx")}>Workspaces and their branches, settings, skills and tool pins in one file. Code stays on GitHub.</span>`);
|
|
4217
4213
|
writeScope($scope124_id, {});
|
|
4218
4214
|
return 1;
|
|
4219
4215
|
}
|
|
@@ -4253,7 +4249,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4253
4249
|
_for_of(preflight.workspaces, (w) => {
|
|
4254
4250
|
const $scope126_id = _scope_id();
|
|
4255
4251
|
const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
|
|
4256
|
-
_html(`<li${_attr_class("_c8")}><span${_attr_class("
|
|
4252
|
+
_html(`<li${_attr_class("_c8")}><span${_attr_class("_bv")}>${_escape(w.name)}${_el_resume($scope126_id, "c")}</span><ul${_attr_class("_c7")}>`);
|
|
4257
4253
|
_for_of(w.repos, (r) => {
|
|
4258
4254
|
const $scope127_id = _scope_id();
|
|
4259
4255
|
const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
|
|
@@ -4340,7 +4336,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4340
4336
|
return 0;
|
|
4341
4337
|
}
|
|
4342
4338
|
}, $scope0_id, "bd", 1, 1, 1, 0, 1);
|
|
4343
|
-
_html(`</li><li${_attr_class(["
|
|
4339
|
+
_html(`</li><li${_attr_class(["_bt", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>Restore</span>`);
|
|
4344
4340
|
_if(() => {
|
|
4345
4341
|
if (backupBusy === "restore") {
|
|
4346
4342
|
const $scope67_id = _scope_id();
|
|
@@ -4349,12 +4345,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4349
4345
|
return 0;
|
|
4350
4346
|
} else if (restoreDone) {
|
|
4351
4347
|
const $scope75_id = _scope_id();
|
|
4352
|
-
_html(`<span${_attr_class("
|
|
4348
|
+
_html(`<span${_attr_class("_bx")}>${_escape(restoreDone)}${_el_resume($scope75_id, "b")}</span>`);
|
|
4353
4349
|
writeScope($scope75_id, {});
|
|
4354
4350
|
return 1;
|
|
4355
4351
|
} else {
|
|
4356
4352
|
const $scope135_id = _scope_id();
|
|
4357
|
-
_html(`<span${_attr_class("
|
|
4353
|
+
_html(`<span${_attr_class("_bx")}>From a file exported here or on another machine. Workspaces come back as they were; their repos clone in the background.</span>`);
|
|
4358
4354
|
writeScope($scope135_id, {});
|
|
4359
4355
|
return 2;
|
|
4360
4356
|
}
|
|
@@ -4381,7 +4377,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4381
4377
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
4382
4378
|
_for_of(preview.workspaces, (w) => {
|
|
4383
4379
|
const $scope72_id = _scope_id();
|
|
4384
|
-
_html(`<li><label${_attr_class(["_df", { ["_dh"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dg")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("
|
|
4380
|
+
_html(`<li><label${_attr_class(["_df", { ["_dh"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dg")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class("_bv")}>${_escape(w.name)}${_el_resume($scope72_id, "f")}</span>`);
|
|
4385
4381
|
_if(() => {
|
|
4386
4382
|
if (w.status === "archived") {
|
|
4387
4383
|
const $scope139_id = _scope_id();
|
|
@@ -4403,7 +4399,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4403
4399
|
return 1;
|
|
4404
4400
|
}
|
|
4405
4401
|
}, $scope72_id, "h", 1, 1, 1, 0, 1);
|
|
4406
|
-
_html(`</span><span${_attr_class("
|
|
4402
|
+
_html(`</span><span${_attr_class("_bx")}>${_escape(w.repos.join(", ") || "no repos")}${_el_resume($scope72_id, "j")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
|
|
4407
4403
|
_script($scope72_id, "x80");
|
|
4408
4404
|
_subscribe($restoreWs__closures, writeScope($scope72_id, {
|
|
4409
4405
|
n: w?.unknownHost,
|
|
@@ -4414,7 +4410,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4414
4410
|
return 0;
|
|
4415
4411
|
} else {
|
|
4416
4412
|
const $scope137_id = _scope_id();
|
|
4417
|
-
_html(`<p${_attr_class("
|
|
4413
|
+
_html(`<p${_attr_class("_bz")}>No workspaces in this file.</p>`);
|
|
4418
4414
|
writeScope($scope137_id, {});
|
|
4419
4415
|
return 1;
|
|
4420
4416
|
}
|
|
@@ -4454,7 +4450,7 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4454
4450
|
_if(() => {
|
|
4455
4451
|
if (p.total) {
|
|
4456
4452
|
const $scope74_id = _scope_id();
|
|
4457
|
-
_html(`<li><label${_attr_class(["_df", { ["_dh"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dg")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("
|
|
4453
|
+
_html(`<li><label${_attr_class(["_df", { ["_dh"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dg")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_bu")}><span${_attr_class("_bv")}>${_escape(p.label)}${_el_resume($scope74_id, "e")}</span><span${_attr_class("_bx")}>`);
|
|
4458
4454
|
_if(() => {
|
|
4459
4455
|
if (p.key === "settings") {
|
|
4460
4456
|
const $scope136_id = _scope_id();
|
|
@@ -4691,12 +4687,12 @@ var settings_page_default = _template("x", (input) => {
|
|
|
4691
4687
|
});
|
|
4692
4688
|
//#endregion
|
|
4693
4689
|
//#region src/tags/new-workspace.css.ts
|
|
4694
|
-
var content$1 = "_bM
|
|
4695
|
-
var section$1 = "_bQ
|
|
4690
|
+
var content$1 = "_bM _bF";
|
|
4691
|
+
var section$1 = "_bQ _bo";
|
|
4696
4692
|
var curBase = "_bV _S _R";
|
|
4697
|
-
var archived = "_b0
|
|
4693
|
+
var archived = "_b0 _bo";
|
|
4698
4694
|
var archivedHint = "_b1 _R";
|
|
4699
|
-
var archivedCard = "_b2
|
|
4695
|
+
var archivedCard = "_b2 _bt";
|
|
4700
4696
|
//#endregion
|
|
4701
4697
|
//#region src/tags/icons/icon-group.marko
|
|
4702
4698
|
var icon_group_default = _template("cb", (input) => {
|
|
@@ -4748,7 +4744,7 @@ var icon_branch_default = _template("Q", (input) => {
|
|
|
4748
4744
|
});
|
|
4749
4745
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
4750
4746
|
});
|
|
4751
|
-
var resultBranch = "
|
|
4747
|
+
var resultBranch = "_dD _Y _j";
|
|
4752
4748
|
//#endregion
|
|
4753
4749
|
//#region src/tags/branch-pick.marko
|
|
4754
4750
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -4761,11 +4757,11 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
4761
4757
|
let branchFilter = "";
|
|
4762
4758
|
let reloadTick = 0;
|
|
4763
4759
|
let refreshing = false;
|
|
4764
|
-
_html(`<div${_attr_class("
|
|
4760
|
+
_html(`<div${_attr_class("_dF")}>`);
|
|
4765
4761
|
_if(() => {
|
|
4766
4762
|
{
|
|
4767
4763
|
const $scope4_id = _scope_id();
|
|
4768
|
-
_html(`<p${_attr_class("
|
|
4764
|
+
_html(`<p${_attr_class("_bz")}><span${_attr_class("_E")}></span> Loading branches…</p>`);
|
|
4769
4765
|
writeScope($scope4_id, {});
|
|
4770
4766
|
return 0;
|
|
4771
4767
|
}
|
|
@@ -4843,12 +4839,12 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4843
4839
|
const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
|
|
4844
4840
|
return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
|
|
4845
4841
|
})();
|
|
4846
|
-
_html(`<div${_attr_class("
|
|
4842
|
+
_html(`<div${_attr_class("_dw")}>`);
|
|
4847
4843
|
_if(() => {
|
|
4848
4844
|
if (ssoPending.length) {
|
|
4849
4845
|
const $scope7_id = _scope_id();
|
|
4850
|
-
_html(`<div${_attr_class("
|
|
4851
|
-
_set_serialize_reason(
|
|
4846
|
+
_html(`<div${_attr_class("_dx")}>`);
|
|
4847
|
+
_set_serialize_reason(58);
|
|
4852
4848
|
const $childScope = _peek_scope_id();
|
|
4853
4849
|
sso_auth_default({
|
|
4854
4850
|
items: ssoPending,
|
|
@@ -4877,16 +4873,16 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4877
4873
|
_if(() => {
|
|
4878
4874
|
if (pasted) {
|
|
4879
4875
|
const $scope1_id = _scope_id();
|
|
4880
|
-
_html(`<ul${_attr_class("
|
|
4876
|
+
_html(`<ul${_attr_class("_dy")}><li><div${_attr_class(["_dA", "_dz"])}><button${_attr_class("_dB")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
4881
4877
|
icon_plus_default({
|
|
4882
4878
|
size: 12,
|
|
4883
|
-
class: "
|
|
4879
|
+
class: "_dH"
|
|
4884
4880
|
});
|
|
4885
|
-
_html(`<span${_attr_class("
|
|
4881
|
+
_html(`<span${_attr_class("_dI")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
4886
4882
|
_if(() => {
|
|
4887
4883
|
if (pastedForkable) {
|
|
4888
4884
|
const $scope8_id = _scope_id();
|
|
4889
|
-
_html(`<button${_attr_class(["
|
|
4885
|
+
_html(`<button${_attr_class(["_dE", { ["_dC"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
|
|
4890
4886
|
_if(() => {
|
|
4891
4887
|
if (pasteWillFork) {
|
|
4892
4888
|
const $scope10_id = _scope_id();
|
|
@@ -4906,7 +4902,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4906
4902
|
return 0;
|
|
4907
4903
|
}
|
|
4908
4904
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
4909
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
4905
|
+
_html(`<button${_attr_class([resultBranch, { ["_dC"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
4910
4906
|
icon_branch_default({ size: 12 });
|
|
4911
4907
|
_html(`</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
4912
4908
|
_if(() => {
|
|
@@ -4933,7 +4929,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4933
4929
|
return 0;
|
|
4934
4930
|
} else if (filter && !catalog) {
|
|
4935
4931
|
const $scope9_id = _scope_id();
|
|
4936
|
-
_html(`<p${_attr_class("
|
|
4932
|
+
_html(`<p${_attr_class("_bz")}>Loading repos…</p>`);
|
|
4937
4933
|
writeScope($scope9_id, {});
|
|
4938
4934
|
return 1;
|
|
4939
4935
|
}
|
|
@@ -4941,15 +4937,15 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4941
4937
|
_if(() => {
|
|
4942
4938
|
if (results.length) {
|
|
4943
4939
|
const $scope3_id = _scope_id();
|
|
4944
|
-
_html(`<ul${_attr_class("
|
|
4940
|
+
_html(`<ul${_attr_class("_dy")}>`);
|
|
4945
4941
|
_for_of(results, (repo, i) => {
|
|
4946
4942
|
const $scope4_id = _scope_id();
|
|
4947
|
-
_html(`<li><div${_attr_class(["
|
|
4943
|
+
_html(`<li><div${_attr_class(["_dA", { ["_dz"]: i === highlight }])}><button${_attr_class("_dB")}>`);
|
|
4948
4944
|
icon_plus_default({
|
|
4949
4945
|
size: 12,
|
|
4950
|
-
class: "
|
|
4946
|
+
class: "_dH"
|
|
4951
4947
|
});
|
|
4952
|
-
_html(`<span${_attr_class("
|
|
4948
|
+
_html(`<span${_attr_class("_dI")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_dC"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
4953
4949
|
icon_branch_default({ size: 12 });
|
|
4954
4950
|
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
4955
4951
|
_if(() => {
|
|
@@ -4984,7 +4980,7 @@ var repo_picker_default = _template("v", (input) => {
|
|
|
4984
4980
|
return 0;
|
|
4985
4981
|
} else if (filter && catalog && !pasted) {
|
|
4986
4982
|
const $scope6_id = _scope_id();
|
|
4987
|
-
_html(`<p${_attr_class("
|
|
4983
|
+
_html(`<p${_attr_class("_bz")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
|
|
4988
4984
|
writeScope($scope6_id, {});
|
|
4989
4985
|
return 1;
|
|
4990
4986
|
}
|
|
@@ -5136,7 +5132,7 @@ function parseInvite(text) {
|
|
|
5136
5132
|
repos
|
|
5137
5133
|
};
|
|
5138
5134
|
}
|
|
5139
|
-
var hint = "
|
|
5135
|
+
var hint = "_dl _R";
|
|
5140
5136
|
//#endregion
|
|
5141
5137
|
//#region src/tags/join-dialog.marko
|
|
5142
5138
|
var api$4;
|
|
@@ -5246,7 +5242,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5246
5242
|
const $childScope = _peek_scope_id();
|
|
5247
5243
|
modal_view_default({
|
|
5248
5244
|
label: "Join a workspace",
|
|
5249
|
-
class: "
|
|
5245
|
+
class: "_dj",
|
|
5250
5246
|
open: input.open,
|
|
5251
5247
|
openChange: _resume(function(next) {
|
|
5252
5248
|
if (!next) reset();
|
|
@@ -5269,26 +5265,26 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5269
5265
|
content: _content("o12", () => {
|
|
5270
5266
|
_scope_reason();
|
|
5271
5267
|
const $scope1_id = _scope_id();
|
|
5272
|
-
_html(`<h2${_attr_class("
|
|
5268
|
+
_html(`<h2${_attr_class("_dk")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
|
|
5273
5269
|
"_T",
|
|
5274
5270
|
"_w",
|
|
5275
|
-
"
|
|
5271
|
+
"_dn"
|
|
5276
5272
|
])} placeholder="{ "name": …, "branch": …, "repos": ["owner/name", …] }" aria-label="Workspace invite" rows=6 autocomplete=off spellcheck=false${_attr("disabled", busy)} autofocus>${_attr_textarea_value($scope1_id, "c", invite, setInvite)}</textarea>${_el_resume($scope1_id, "c")}`);
|
|
5277
5273
|
_if(() => {
|
|
5278
5274
|
if (parsed.error) {
|
|
5279
5275
|
const $scope8_id = _scope_id();
|
|
5280
|
-
_html(`<p${_attr_class([hint, "
|
|
5276
|
+
_html(`<p${_attr_class([hint, "_dm"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
|
|
5281
5277
|
_subscribe($parsed_error__closures, writeScope($scope8_id, { Cae: 1 }));
|
|
5282
5278
|
return 0;
|
|
5283
5279
|
} else if (parsed.ok) {
|
|
5284
5280
|
const $scope3_id = _scope_id();
|
|
5285
|
-
_html(`<ul${_attr_class("
|
|
5281
|
+
_html(`<ul${_attr_class("_do")}>`);
|
|
5286
5282
|
_for_of(parsed.ok.repos, (fullName) => {
|
|
5287
5283
|
const $scope9_id = _scope_id();
|
|
5288
|
-
_html(`<li${_attr_class("
|
|
5284
|
+
_html(`<li${_attr_class("_dp")}><span${_attr_class("_dq")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
|
|
5289
5285
|
writeScope($scope9_id, {});
|
|
5290
5286
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
5291
|
-
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("
|
|
5287
|
+
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("_dr")}><span${_attr_class("_bC")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
5292
5288
|
name = _new_name;
|
|
5293
5289
|
}, "o1", $scope3_id))}${_attr_class("_T")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
5294
5290
|
_script($scope3_id, "o8");
|
|
@@ -5325,10 +5321,10 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5325
5321
|
_if(() => {
|
|
5326
5322
|
if (busy && steps$2.length) {
|
|
5327
5323
|
const $scope6_id = _scope_id();
|
|
5328
|
-
_html(`<ul${_attr_class("
|
|
5324
|
+
_html(`<ul${_attr_class("_ds")}>`);
|
|
5329
5325
|
_for_of(steps$2, (step$2, i) => {
|
|
5330
5326
|
const $scope7_id = _scope_id();
|
|
5331
|
-
_html(`<li${_attr_class(["
|
|
5327
|
+
_html(`<li${_attr_class(["_du", { ["_dt"]: i === steps$2.length - 1 }])}>`);
|
|
5332
5328
|
_if(() => {
|
|
5333
5329
|
if (i === steps$2.length - 1) {
|
|
5334
5330
|
const $scope10_id = _scope_id();
|
|
@@ -5337,7 +5333,7 @@ var join_dialog_default = _template("o", (input) => {
|
|
|
5337
5333
|
return 0;
|
|
5338
5334
|
} else {
|
|
5339
5335
|
const $scope11_id = _scope_id();
|
|
5340
|
-
_html(`<span${_attr_class("
|
|
5336
|
+
_html(`<span${_attr_class("_dv")}>`);
|
|
5341
5337
|
icon_check_default({ size: 14 });
|
|
5342
5338
|
_html("</span>");
|
|
5343
5339
|
writeScope($scope11_id, {});
|
|
@@ -5492,7 +5488,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5492
5488
|
}
|
|
5493
5489
|
}, "s6", $scope0_id);
|
|
5494
5490
|
const titleId = _id();
|
|
5495
|
-
_html(`<div${_attr_class("
|
|
5491
|
+
_html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content$1)}>`);
|
|
5496
5492
|
_set_serialize_reason({
|
|
5497
5493
|
0: _serialize_guard($scope0_reason, 2),
|
|
5498
5494
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -5541,9 +5537,9 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5541
5537
|
return 0;
|
|
5542
5538
|
}
|
|
5543
5539
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
5544
|
-
_html(`<label${_attr_class("_bP")}><span${_attr_class("
|
|
5540
|
+
_html(`<label${_attr_class("_bP")}><span${_attr_class("_bC")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
5545
5541
|
name = _new_name;
|
|
5546
|
-
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bR")}><h2${_attr_class("
|
|
5542
|
+
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bR")}><h2${_attr_class("_bC")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
5547
5543
|
_set_serialize_reason(1);
|
|
5548
5544
|
const $childScope2 = _peek_scope_id();
|
|
5549
5545
|
icon_refresh_default({
|
|
@@ -5616,7 +5612,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5616
5612
|
_if(() => {
|
|
5617
5613
|
if (!selected.length) {
|
|
5618
5614
|
const $scope16_id = _scope_id();
|
|
5619
|
-
_html(`<li${_attr_class("
|
|
5615
|
+
_html(`<li${_attr_class("_bz")}>No repos yet. Search below to add one, or create it empty.</li>`);
|
|
5620
5616
|
writeScope($scope16_id, {});
|
|
5621
5617
|
return 0;
|
|
5622
5618
|
}
|
|
@@ -5685,10 +5681,10 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
5685
5681
|
_if(() => {
|
|
5686
5682
|
if (archived$1.length) {
|
|
5687
5683
|
const $scope6_id = _scope_id();
|
|
5688
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("
|
|
5684
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("_bC")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope6_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_br")}>`);
|
|
5689
5685
|
_for_of(archived$1, (ws) => {
|
|
5690
5686
|
const $scope7_id = _scope_id();
|
|
5691
|
-
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("
|
|
5687
|
+
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>${_escape(ws.name)}${_el_resume($scope7_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_w"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope7_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
5692
5688
|
_if(() => {
|
|
5693
5689
|
if (restoring === ws.id) {
|
|
5694
5690
|
const $scope19_id = _scope_id();
|
|
@@ -5812,8 +5808,8 @@ function vapidKey(base64) {
|
|
|
5812
5808
|
const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
|
|
5813
5809
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
5814
5810
|
}
|
|
5815
|
-
var iconBtn$1 = "
|
|
5816
|
-
var navToggle = "
|
|
5811
|
+
var iconBtn$1 = "_d7 _j";
|
|
5812
|
+
var navToggle = "_eb _j";
|
|
5817
5813
|
_template("P", (input) => {
|
|
5818
5814
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
5819
5815
|
const $scope0_id = _scope_id();
|
|
@@ -5943,7 +5939,7 @@ var usage_pcts_default = _template("G", (input) => {
|
|
|
5943
5939
|
return 0;
|
|
5944
5940
|
}
|
|
5945
5941
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
5946
|
-
_html(`<span${_attr_class("_f4")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f5", win$1.used_percent >= 90 ? "
|
|
5942
|
+
_html(`<span${_attr_class("_f4")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f5", win$1.used_percent >= 90 ? "_fU" : win$1.used_percent >= 70 ? "_fT" : win$1.used_percent >= 40 ? "_fS" : "_fR"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
5947
5943
|
$si__input_agent && writeScope($scope2_id, {});
|
|
5948
5944
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
5949
5945
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -5974,12 +5970,12 @@ var icon_edit_default = _template("Z", (input) => {
|
|
|
5974
5970
|
});
|
|
5975
5971
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
5976
5972
|
});
|
|
5977
|
-
var prChip = "
|
|
5978
|
-
var portChip = "
|
|
5973
|
+
var prChip = "_h7 _s _h6";
|
|
5974
|
+
var portChip = "_h8 _s _h6";
|
|
5979
5975
|
var prState = {
|
|
5980
|
-
open: "
|
|
5981
|
-
merged: "
|
|
5982
|
-
closed: "
|
|
5976
|
+
open: "_ib",
|
|
5977
|
+
merged: "_ic",
|
|
5978
|
+
closed: "_id"
|
|
5983
5979
|
};
|
|
5984
5980
|
//#endregion
|
|
5985
5981
|
//#region src/tags/side-nav-chips.marko
|
|
@@ -6052,7 +6048,7 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6052
6048
|
const name = repo.full_name.split("/").at(-1);
|
|
6053
6049
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
6054
6050
|
}, "y4", $scope1_id);
|
|
6055
|
-
_html(`<div${_attr_class("
|
|
6051
|
+
_html(`<div${_attr_class("_h5")}>`);
|
|
6056
6052
|
_for_of(unpushed, (repo) => {
|
|
6057
6053
|
const $scope7_id = _scope_id();
|
|
6058
6054
|
_html(`<span${_attr_class(["_s", tone.warn])}${_attr("title", `${repo.worktree}: ${repo.unpushed}`)}>${_escape(repoLabel$1(repo))}${_el_resume($scope7_id, "b")}<!>${repoLabel$1(repo) ? _escape(`${_to_text(" ")}`) : ""}${_el_resume($scope7_id, "c")} unpushed</span>${_el_resume($scope7_id, "a")}`);
|
|
@@ -6073,11 +6069,11 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6073
6069
|
[prState.merged]: pr.state === "MERGED",
|
|
6074
6070
|
[prState.closed]: pr.state === "CLOSED"
|
|
6075
6071
|
}
|
|
6076
|
-
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["
|
|
6072
|
+
])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_h9", { ["_if"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c")}#<!>${_escape(pr.number)}${_el_resume($scope3_id, "d")}</a>${_el_resume($scope3_id, "b")}`);
|
|
6077
6073
|
_if(() => {
|
|
6078
6074
|
if (open) {
|
|
6079
6075
|
const $scope4_id = _scope_id();
|
|
6080
|
-
_html(`<a${_attr_class(["
|
|
6076
|
+
_html(`<a${_attr_class(["_h9", "_h_"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
|
|
6081
6077
|
icon_diff_default({ size: 12 });
|
|
6082
6078
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
6083
6079
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -6085,9 +6081,9 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6085
6081
|
} else {
|
|
6086
6082
|
const $scope6_id = _scope_id();
|
|
6087
6083
|
_html(`<button type=button${_attr_class([
|
|
6088
|
-
"_h8",
|
|
6089
6084
|
"_h9",
|
|
6090
|
-
"_h_"
|
|
6085
|
+
"_h_",
|
|
6086
|
+
"_ia"
|
|
6091
6087
|
])}${_attr("title", `Dismiss #${pr.number}`)}>`);
|
|
6092
6088
|
icon_xmark_default({ size: 12 });
|
|
6093
6089
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -6111,10 +6107,10 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
6111
6107
|
}, "full_name", $scope1_id, "c");
|
|
6112
6108
|
_for_of(ports, (p) => {
|
|
6113
6109
|
const $scope5_id = _scope_id();
|
|
6114
|
-
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["
|
|
6115
|
-
"_h8",
|
|
6110
|
+
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_h9", "_ie"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:<!>${_escape(p.port)}${_el_resume($scope5_id, "c")}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
|
|
6116
6111
|
"_h9",
|
|
6117
6112
|
"_h_",
|
|
6113
|
+
"_ia",
|
|
6118
6114
|
{ ["_q"]: armedPid === p.pid }
|
|
6119
6115
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
6120
6116
|
icon_xmark_default({ size: 12 });
|
|
@@ -6664,34 +6660,34 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6664
6660
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
6665
6661
|
_html(`<script${_attr_nonce()}>${_escape_script(`
|
|
6666
6662
|
${_to_text(`if (matchMedia("(max-width: 899px)").matches) document.documentElement.classList.add("work-no-rail");`)};
|
|
6667
|
-
`)}<\/script><aside${_attr_class(["
|
|
6668
|
-
["
|
|
6669
|
-
["
|
|
6663
|
+
`)}<\/script><aside${_attr_class(["_ea", {
|
|
6664
|
+
["_d9"]: !navOpen,
|
|
6665
|
+
["_d_"]: isPage
|
|
6670
6666
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
6671
6667
|
_if(() => {
|
|
6672
6668
|
if (isPage) {
|
|
6673
6669
|
const $scope1_id = _scope_id();
|
|
6674
|
-
_html(`<header${_attr_class("
|
|
6670
|
+
_html(`<header${_attr_class("_ed")}><div${_attr_class("_em")}>`);
|
|
6675
6671
|
_if(() => {
|
|
6676
6672
|
if (input.instanceName) {
|
|
6677
6673
|
const $scope2_id = _scope_id();
|
|
6678
|
-
_html(`<div${_attr_class("
|
|
6674
|
+
_html(`<div${_attr_class("_ej")} title="This work server (Settings → Appearance)"><img${_attr_class("_ek")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_el")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6679
6675
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
6680
6676
|
return 0;
|
|
6681
6677
|
}
|
|
6682
6678
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
6683
|
-
_html(`<h1${_attr_class("
|
|
6679
|
+
_html(`<h1${_attr_class("_ee")}>Workspaces</h1></div><div${_attr_class("_ef")}>`);
|
|
6684
6680
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
6685
6681
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
6686
6682
|
iconBtn$1,
|
|
6687
|
-
"
|
|
6688
|
-
{ ["
|
|
6683
|
+
"_eg",
|
|
6684
|
+
{ ["_d6"]: view === "settings" }
|
|
6689
6685
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6690
6686
|
icon_settings_default({ size: 16 });
|
|
6691
6687
|
_if(() => {
|
|
6692
6688
|
if (input.setupReady === false) {
|
|
6693
6689
|
const $scope12_id = _scope_id();
|
|
6694
|
-
_html(`<span${_attr_class(["_y", "
|
|
6690
|
+
_html(`<span${_attr_class(["_y", "_d8"])} title="Machine setup incomplete"></span>`);
|
|
6695
6691
|
$si__input_setupReady && writeScope($scope12_id, {});
|
|
6696
6692
|
return 0;
|
|
6697
6693
|
}
|
|
@@ -6704,18 +6700,18 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6704
6700
|
_if(() => {
|
|
6705
6701
|
if (!isPage && input.instanceName) {
|
|
6706
6702
|
const $scope3_id = _scope_id();
|
|
6707
|
-
_html(`<div${_attr_class("
|
|
6703
|
+
_html(`<div${_attr_class("_ej")} title="This work server (Settings → Appearance)"><img${_attr_class("_ek")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_el")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
|
|
6708
6704
|
writeScope($scope3_id, {});
|
|
6709
6705
|
return 0;
|
|
6710
6706
|
}
|
|
6711
6707
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
6712
|
-
_html(`<div${_attr_class("
|
|
6708
|
+
_html(`<div${_attr_class("_en")}>`);
|
|
6713
6709
|
_for_of(listIds, (wsId) => {
|
|
6714
6710
|
const $scope4_id = _scope_id();
|
|
6715
6711
|
_if(() => {
|
|
6716
6712
|
if (isPage && wsId === ws.id) {
|
|
6717
6713
|
const $scope13_id = _scope_id();
|
|
6718
|
-
_html(`<h2${_attr_class(["
|
|
6714
|
+
_html(`<h2${_attr_class(["_bC", "_eh"])}>Current</h2>`);
|
|
6719
6715
|
writeScope($scope13_id, {});
|
|
6720
6716
|
return 0;
|
|
6721
6717
|
}
|
|
@@ -6723,7 +6719,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6723
6719
|
_if(() => {
|
|
6724
6720
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
6725
6721
|
const $scope14_id = _scope_id();
|
|
6726
|
-
_html(`<h2${_attr_class(["
|
|
6722
|
+
_html(`<h2${_attr_class(["_bC", "_eh"])}>Other workspaces</h2>`);
|
|
6727
6723
|
writeScope($scope14_id, {});
|
|
6728
6724
|
return 0;
|
|
6729
6725
|
}
|
|
@@ -6807,7 +6803,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6807
6803
|
railHover = null;
|
|
6808
6804
|
}, 150);
|
|
6809
6805
|
}, "A6", $scope5_id);
|
|
6810
|
-
_html(`<div${_attr_class("
|
|
6806
|
+
_html(`<div${_attr_class("_eo")} data-rail>`);
|
|
6811
6807
|
_for_of(itemIds, (wsId, i) => {
|
|
6812
6808
|
const $scope6_id = _scope_id();
|
|
6813
6809
|
_html("<span>");
|
|
@@ -6861,7 +6857,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6861
6857
|
if (railHover) {
|
|
6862
6858
|
const $scope7_id = _scope_id();
|
|
6863
6859
|
const hoverId = railHover.id;
|
|
6864
|
-
_html(`<div${_attr_class(["_4", "
|
|
6860
|
+
_html(`<div${_attr_class(["_4", "_er"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
6865
6861
|
_set_serialize_reason({
|
|
6866
6862
|
0: 1,
|
|
6867
6863
|
1: 1,
|
|
@@ -6946,7 +6942,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6946
6942
|
return 0;
|
|
6947
6943
|
}
|
|
6948
6944
|
}, $scope0_id, "f");
|
|
6949
|
-
_html(`<div${_attr_class("
|
|
6945
|
+
_html(`<div${_attr_class("_ep")}>`);
|
|
6950
6946
|
_if(() => {
|
|
6951
6947
|
if (isPage) {
|
|
6952
6948
|
const $scope9_id = _scope_id();
|
|
@@ -6954,7 +6950,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6954
6950
|
"_o",
|
|
6955
6951
|
"_p",
|
|
6956
6952
|
btnLg,
|
|
6957
|
-
"
|
|
6953
|
+
"_ei"
|
|
6958
6954
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6959
6955
|
icon_folder_plus_default({ size: 16 });
|
|
6960
6956
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -6976,19 +6972,19 @@ var side_nav_default = _template("A", (input) => {
|
|
|
6976
6972
|
return 1;
|
|
6977
6973
|
}
|
|
6978
6974
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
6979
|
-
_html(`<div${_attr_class(["_x", "
|
|
6975
|
+
_html(`<div${_attr_class(["_x", "_eq"])}></div>`);
|
|
6980
6976
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
6981
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["
|
|
6977
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_d6"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
6982
6978
|
icon_settings_default({ size: 15 });
|
|
6983
6979
|
_if(() => {
|
|
6984
6980
|
if (input.setupReady === false) {
|
|
6985
6981
|
const $scope17_id = _scope_id();
|
|
6986
|
-
_html(`<span${_attr_class(["_y", "
|
|
6982
|
+
_html(`<span${_attr_class(["_y", "_d8"])} title="Machine setup incomplete"></span>`);
|
|
6987
6983
|
$si__input_setupReady && writeScope($scope17_id, {});
|
|
6988
6984
|
return 0;
|
|
6989
6985
|
}
|
|
6990
6986
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
6991
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["
|
|
6987
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_d6"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
6992
6988
|
icon_folder_plus_default({ size: 16 });
|
|
6993
6989
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
6994
6990
|
_script($scope8_id, "A15");
|
|
@@ -7057,11 +7053,11 @@ var side_nav_default = _template("A", (input) => {
|
|
|
7057
7053
|
_resume_branch($scope0_id);
|
|
7058
7054
|
});
|
|
7059
7055
|
var iconBtn = "_Z _j";
|
|
7060
|
-
var sectionCount = "
|
|
7061
|
-
var content = "
|
|
7062
|
-
var pageMeta = "
|
|
7063
|
-
var pathMeta = "
|
|
7064
|
-
var dangerHint = "
|
|
7056
|
+
var sectionCount = "_bq _H _I";
|
|
7057
|
+
var content = "_dW _bF";
|
|
7058
|
+
var pageMeta = "_dX _bK";
|
|
7059
|
+
var pathMeta = "_d0 _w";
|
|
7060
|
+
var dangerHint = "_d5 _R";
|
|
7065
7061
|
//#endregion
|
|
7066
7062
|
//#region src/tags/icons/icon-clipboard.marko
|
|
7067
7063
|
var icon_clipboard_default = _template("U", (input) => {
|
|
@@ -7227,7 +7223,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7227
7223
|
setTimeout(() => loadProcs(void 0), 500);
|
|
7228
7224
|
}, "q8", $scope0_id);
|
|
7229
7225
|
const titleId = _id();
|
|
7230
|
-
_html(`<div${_attr_class("
|
|
7226
|
+
_html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content)}>`);
|
|
7231
7227
|
_set_serialize_reason(286);
|
|
7232
7228
|
let $actions;
|
|
7233
7229
|
if (ws.repos.length) $actions = attrTag({ content: _content_resume("q16", () => {
|
|
@@ -7263,7 +7259,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7263
7259
|
meta: attrTag({ content: _content_resume("q15", () => {
|
|
7264
7260
|
_scope_reason();
|
|
7265
7261
|
const $scope14_id = _scope_id();
|
|
7266
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
7262
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_dY")}>${_escape(ws.name)}${_el_resume($scope14_id, "c")}</span>`);
|
|
7267
7263
|
_if(() => {
|
|
7268
7264
|
if (ws.status !== "active") {
|
|
7269
7265
|
const $scope18_id = _scope_id();
|
|
@@ -7272,7 +7268,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7272
7268
|
return 0;
|
|
7273
7269
|
}
|
|
7274
7270
|
}, $scope14_id, "d", 1, 1, 1, 0, 1);
|
|
7275
|
-
_html(`<span${_attr_class("
|
|
7271
|
+
_html(`<span${_attr_class("_dZ")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope14_id, "g")}</span></span>${_el_resume($scope14_id, "a")}`);
|
|
7276
7272
|
_subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope14_id, { _: _scope_with_id($scope0_id) })))));
|
|
7277
7273
|
_resume_branch($scope14_id);
|
|
7278
7274
|
}, $scope0_id) })
|
|
@@ -7300,12 +7296,12 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7300
7296
|
_if(() => {
|
|
7301
7297
|
if (pendingAction && actionStep) {
|
|
7302
7298
|
const $scope11_id = _scope_id();
|
|
7303
|
-
_html(`<p${_attr_class("
|
|
7299
|
+
_html(`<p${_attr_class("_bn")}><span${_attr_class("_E")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
|
|
7304
7300
|
writeScope($scope11_id, {});
|
|
7305
7301
|
return 0;
|
|
7306
7302
|
}
|
|
7307
7303
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
7308
|
-
_html(`<section${_attr_class("
|
|
7304
|
+
_html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Workspace</h2></div><div${_attr_class("_d4")}>`);
|
|
7309
7305
|
_if(() => {
|
|
7310
7306
|
if (ws.status === "active") {
|
|
7311
7307
|
const $scope8_id = _scope_id();
|
|
@@ -7325,17 +7321,17 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7325
7321
|
btnLg,
|
|
7326
7322
|
"_r",
|
|
7327
7323
|
{ ["_q"]: confirmingDelete }
|
|
7328
|
-
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "m")}</button>${_el_resume($scope0_id, "l")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section><section${_attr_class("
|
|
7324
|
+
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "m")}</button>${_el_resume($scope0_id, "l")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section><section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class("_x")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
7329
7325
|
_set_serialize_reason(1);
|
|
7330
7326
|
const $childScope2 = _peek_scope_id();
|
|
7331
7327
|
icon_refresh_default({
|
|
7332
7328
|
size: 14,
|
|
7333
7329
|
class: catalogRefreshing && "_D"
|
|
7334
7330
|
});
|
|
7335
|
-
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("
|
|
7331
|
+
_html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_br")}>`);
|
|
7336
7332
|
_for_of(ws.repos, (row) => {
|
|
7337
7333
|
const $scope1_id = _scope_id();
|
|
7338
|
-
_html(`<li${_attr_class("
|
|
7334
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bw")}><a${_attr_class(["_bx", "_d2"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
|
|
7339
7335
|
_if(() => {
|
|
7340
7336
|
if (row.base_branch !== row.default_branch) {
|
|
7341
7337
|
const $scope21_id = _scope_id();
|
|
@@ -7356,7 +7352,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7356
7352
|
} else {
|
|
7357
7353
|
const $scope10_id = _scope_id();
|
|
7358
7354
|
_html(`<button${_attr_class([
|
|
7359
|
-
"
|
|
7355
|
+
"_by",
|
|
7360
7356
|
"_2",
|
|
7361
7357
|
"_3",
|
|
7362
7358
|
{ ["_q"]: confirmingRemove === row.full_name }
|
|
@@ -7389,19 +7385,19 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7389
7385
|
}, "full_name", $scope0_id, "x", 1, 1, 1, 0, 1);
|
|
7390
7386
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
7391
7387
|
const $scope25_id = _scope_id();
|
|
7392
|
-
_html(`<li${_attr_class(["
|
|
7388
|
+
_html(`<li${_attr_class(["_bt", "_bs"])}><span${_attr_class("_E")}></span><div${_attr_class("_bu")}><span${_attr_class("_bx")}>Adding <!>${_escape(name)}${_el_resume($scope25_id, "e")}…</span></div></li>`);
|
|
7393
7389
|
writeScope($scope25_id, {});
|
|
7394
7390
|
}, (n) => n, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
7395
7391
|
_html("</ul>");
|
|
7396
7392
|
_if(() => {
|
|
7397
7393
|
if (!ws.repos.length && !busy.size) {
|
|
7398
7394
|
const $scope26_id = _scope_id();
|
|
7399
|
-
_html(`<p${_attr_class("
|
|
7395
|
+
_html(`<p${_attr_class("_bz")}>No repos yet. Search below to add one.</p>`);
|
|
7400
7396
|
writeScope($scope26_id, {});
|
|
7401
7397
|
return 0;
|
|
7402
7398
|
}
|
|
7403
7399
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
7404
|
-
_html(`<div${_attr_class("
|
|
7400
|
+
_html(`<div${_attr_class("_d1")}>`);
|
|
7405
7401
|
const $childScope3 = _peek_scope_id();
|
|
7406
7402
|
let refreshCatalog = repo_picker_default({
|
|
7407
7403
|
exclude: inWorkspace,
|
|
@@ -7422,7 +7418,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7422
7418
|
_if(() => {
|
|
7423
7419
|
if (wsSkills.length || repoSkills.length) {
|
|
7424
7420
|
const $scope2_id = _scope_id();
|
|
7425
|
-
_html(`<section${_attr_class("
|
|
7421
|
+
_html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Skills</h2>`);
|
|
7426
7422
|
_if(() => {
|
|
7427
7423
|
if (wsSkills.length) {
|
|
7428
7424
|
const $scope27_id = _scope_id();
|
|
@@ -7431,10 +7427,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7431
7427
|
return 0;
|
|
7432
7428
|
}
|
|
7433
7429
|
}, $scope2_id, "d", 1, 1, 1, 0, 1);
|
|
7434
|
-
_html(`</div><ul${_attr_class("
|
|
7430
|
+
_html(`</div><ul${_attr_class("_br")}>`);
|
|
7435
7431
|
_for_of(wsSkills, (s) => {
|
|
7436
7432
|
const $scope3_id = _scope_id();
|
|
7437
|
-
_html(`<li${_attr_class("
|
|
7433
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bw")}>`);
|
|
7438
7434
|
_if(() => {
|
|
7439
7435
|
if (s.broken) {
|
|
7440
7436
|
const $scope28_id = _scope_id();
|
|
@@ -7472,7 +7468,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7472
7468
|
_if(() => {
|
|
7473
7469
|
if (s.description) {
|
|
7474
7470
|
const $scope31_id = _scope_id();
|
|
7475
|
-
_html(`<span${_attr_class("
|
|
7471
|
+
_html(`<span${_attr_class("_bx")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope31_id, "b")}</span>${_el_resume($scope31_id, "a")}`);
|
|
7476
7472
|
writeScope($scope31_id, {});
|
|
7477
7473
|
return 0;
|
|
7478
7474
|
}
|
|
@@ -7480,7 +7476,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7480
7476
|
_if(() => {
|
|
7481
7477
|
if (s.sourceUrl) {
|
|
7482
7478
|
const $scope32_id = _scope_id();
|
|
7483
|
-
_html(`<a${_attr_class(["
|
|
7479
|
+
_html(`<a${_attr_class(["_bx", "_d2"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}`);
|
|
7484
7480
|
writeScope($scope32_id, {});
|
|
7485
7481
|
return 0;
|
|
7486
7482
|
}
|
|
@@ -7495,7 +7491,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7495
7491
|
} else {
|
|
7496
7492
|
const $scope12_id = _scope_id();
|
|
7497
7493
|
_html(`<button${_attr_class([
|
|
7498
|
-
"
|
|
7494
|
+
"_by",
|
|
7499
7495
|
"_2",
|
|
7500
7496
|
"_3",
|
|
7501
7497
|
{ ["_q"]: confirmingSkill === s.id }
|
|
@@ -7533,10 +7529,10 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7533
7529
|
_if(() => {
|
|
7534
7530
|
if (repoSkills.length) {
|
|
7535
7531
|
const $scope4_id = _scope_id();
|
|
7536
|
-
_html(`<ul${_attr_class("
|
|
7532
|
+
_html(`<ul${_attr_class("_br")}>`);
|
|
7537
7533
|
_for_of(repoSkills, (s) => {
|
|
7538
7534
|
const $scope5_id = _scope_id();
|
|
7539
|
-
_html(`<li${_attr_class("
|
|
7535
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bw")}><span${_attr_class(["_bx", "_w"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
|
|
7540
7536
|
_if(() => {
|
|
7541
7537
|
if (s.shadows) {
|
|
7542
7538
|
const $scope37_id = _scope_id();
|
|
@@ -7549,7 +7545,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7549
7545
|
_if(() => {
|
|
7550
7546
|
if (s.description) {
|
|
7551
7547
|
const $scope38_id = _scope_id();
|
|
7552
|
-
_html(`<span${_attr_class("
|
|
7548
|
+
_html(`<span${_attr_class("_bx")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope38_id, "b")}</span>${_el_resume($scope38_id, "a")}`);
|
|
7553
7549
|
writeScope($scope38_id, {});
|
|
7554
7550
|
return 0;
|
|
7555
7551
|
}
|
|
@@ -7592,17 +7588,17 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7592
7588
|
_if(() => {
|
|
7593
7589
|
if (running.length) {
|
|
7594
7590
|
const $scope16_id = _scope_id();
|
|
7595
|
-
_html(`<section${_attr_class("
|
|
7591
|
+
_html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope16_id, "e")}</span></div><ul${_attr_class("_br")}>`);
|
|
7596
7592
|
_for_of(running, (p) => {
|
|
7597
7593
|
const $scope17_id = _scope_id();
|
|
7598
|
-
_html(`<li${_attr_class("
|
|
7594
|
+
_html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}${_attr("title", p.args)}><span${_attr_class(["_bv", "_w"])}>${_escape(p.cmd)}${_el_resume($scope17_id, "d")}</span>`);
|
|
7599
7595
|
_if(() => {
|
|
7600
7596
|
if (p.ports.length) {
|
|
7601
7597
|
const $scope40_id = _scope_id();
|
|
7602
|
-
_html(`<span${_attr_class("
|
|
7598
|
+
_html(`<span${_attr_class("_bw")}>`);
|
|
7603
7599
|
_for_of(p.ports, (port) => {
|
|
7604
7600
|
const $scope41_id = _scope_id();
|
|
7605
|
-
_html(`<button${_attr_class(["_s", "
|
|
7601
|
+
_html(`<button${_attr_class(["_s", "_d3"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
|
|
7606
7602
|
_script($scope41_id, "q24");
|
|
7607
7603
|
writeScope($scope41_id, { d: port });
|
|
7608
7604
|
}, (x) => String(x), $scope40_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -7610,7 +7606,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7610
7606
|
return 0;
|
|
7611
7607
|
}
|
|
7612
7608
|
}, $scope17_id, "e", 1, 1, 1, 0, 1);
|
|
7613
|
-
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["
|
|
7609
|
+
_html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["_by", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
7614
7610
|
icon_xmark_default({ size: 14 });
|
|
7615
7611
|
_html(`</button>${_el_resume($scope17_id, "f")}</li>`);
|
|
7616
7612
|
_script($scope17_id, "q25");
|
|
@@ -7692,9 +7688,9 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
7692
7688
|
_resume_branch($scope0_id);
|
|
7693
7689
|
});
|
|
7694
7690
|
var kbtn = "_dV _0 _j";
|
|
7695
|
-
var dpadPaste = "
|
|
7696
|
-
var repeat = "
|
|
7697
|
-
var dpadEsc = "
|
|
7691
|
+
var dpadPaste = "_eS _eR";
|
|
7692
|
+
var repeat = "_eT _eR";
|
|
7693
|
+
var dpadEsc = "_eV _eR";
|
|
7698
7694
|
//#endregion
|
|
7699
7695
|
//#region src/tags/term-find.marko
|
|
7700
7696
|
var term_find_default = _template("C", (input) => {
|
|
@@ -8156,7 +8152,7 @@ var term_default = _template("D", (input) => {
|
|
|
8156
8152
|
trapOpen = true;
|
|
8157
8153
|
}
|
|
8158
8154
|
}, "D14", $scope0_id);
|
|
8159
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
8155
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_es")}><div${_attr_class("_et")}></div>${_el_resume($scope0_id, "b")}`);
|
|
8160
8156
|
_if(() => {
|
|
8161
8157
|
if (findOpen) {
|
|
8162
8158
|
const $scope12_id = _scope_id();
|
|
@@ -8183,7 +8179,7 @@ var term_default = _template("D", (input) => {
|
|
|
8183
8179
|
_if(() => {
|
|
8184
8180
|
if (uploading) {
|
|
8185
8181
|
const $scope21_id = _scope_id();
|
|
8186
|
-
_html(`<div${_attr_class("
|
|
8182
|
+
_html(`<div${_attr_class("_ez")}>uploading…</div>`);
|
|
8187
8183
|
writeScope($scope21_id, {});
|
|
8188
8184
|
return 0;
|
|
8189
8185
|
}
|
|
@@ -8191,7 +8187,7 @@ var term_default = _template("D", (input) => {
|
|
|
8191
8187
|
_if(() => {
|
|
8192
8188
|
if (copiedFlash) {
|
|
8193
8189
|
const $scope22_id = _scope_id();
|
|
8194
|
-
_html(`<div${_attr_class("
|
|
8190
|
+
_html(`<div${_attr_class("_ey")}>Copied</div>`);
|
|
8195
8191
|
writeScope($scope22_id, {});
|
|
8196
8192
|
return 0;
|
|
8197
8193
|
}
|
|
@@ -8200,7 +8196,7 @@ var term_default = _template("D", (input) => {
|
|
|
8200
8196
|
_if(() => {
|
|
8201
8197
|
if (trapOpen) {
|
|
8202
8198
|
const $scope11_id = _scope_id();
|
|
8203
|
-
_html(`<div${_attr_class("
|
|
8199
|
+
_html(`<div${_attr_class("_eA")}><div${_attr_class("_eB")}><p${_attr_class("_eW")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
8204
8200
|
_script($scope11_id, "D26");
|
|
8205
8201
|
_script($scope11_id, "D27");
|
|
8206
8202
|
writeScope($scope11_id, {});
|
|
@@ -8274,7 +8270,7 @@ var term_default = _template("D", (input) => {
|
|
|
8274
8270
|
popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
|
|
8275
8271
|
popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
|
|
8276
8272
|
}, "D20", $scope4_id);
|
|
8277
|
-
_html(`<button${_attr_class([kbtn, "
|
|
8273
|
+
_html(`<button${_attr_class([kbtn, "_eC"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
|
|
8278
8274
|
_set_serialize_reason({
|
|
8279
8275
|
1: $sg__input_agent__OR__input_sessionState,
|
|
8280
8276
|
2: $sg__input_agent__OR__input_sessionState
|
|
@@ -8286,9 +8282,9 @@ var term_default = _template("D", (input) => {
|
|
|
8286
8282
|
});
|
|
8287
8283
|
_html(`<span${_attr_class([
|
|
8288
8284
|
"_y",
|
|
8289
|
-
"
|
|
8285
|
+
"_eD",
|
|
8290
8286
|
phase[sessionPhase(input.sessionState)]
|
|
8291
|
-
])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_4", "
|
|
8287
|
+
])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_4", "_eE"])}>`);
|
|
8292
8288
|
_if(() => {
|
|
8293
8289
|
if ((input.sessions || []).length > 0) {
|
|
8294
8290
|
const $scope5_id = _scope_id();
|
|
@@ -8304,7 +8300,7 @@ var term_default = _template("D", (input) => {
|
|
|
8304
8300
|
const $scope6_id = _scope_id();
|
|
8305
8301
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
8306
8302
|
const $for_content__s_id__closures = /* @__PURE__ */ new Set();
|
|
8307
|
-
_html(`<div${_attr_class(["
|
|
8303
|
+
_html(`<div${_attr_class(["_eG", { ["_eF"]: s.id === input.sessionId }])}>`);
|
|
8308
8304
|
_if(() => {
|
|
8309
8305
|
if (renamingId === s.id) {
|
|
8310
8306
|
const $scope24_id = _scope_id();
|
|
@@ -8320,13 +8316,13 @@ var term_default = _template("D", (input) => {
|
|
|
8320
8316
|
});
|
|
8321
8317
|
_html(`<input${_attr_input_value($scope24_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
8322
8318
|
renameValue = _new_renameValue;
|
|
8323
|
-
}, "D0", $scope24_id))}${_attr_class(["_T", "
|
|
8319
|
+
}, "D0", $scope24_id))}${_attr_class(["_T", "_eL"])} aria-label="Session name">${_el_resume($scope24_id, "c")}`);
|
|
8324
8320
|
_script($scope24_id, "D28");
|
|
8325
8321
|
_subscribe($if_content4__renameValue__closures, writeScope($scope24_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
|
|
8326
8322
|
return 0;
|
|
8327
8323
|
} else {
|
|
8328
8324
|
const $scope7_id = _scope_id();
|
|
8329
|
-
_html(`<button${_attr_class("
|
|
8325
|
+
_html(`<button${_attr_class("_eH")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope7_id, "b", $sg__input_sessions)}`);
|
|
8330
8326
|
_set_serialize_reason({
|
|
8331
8327
|
1: $sg__input_sessions,
|
|
8332
8328
|
2: $sg__input_sessions
|
|
@@ -8336,7 +8332,7 @@ var term_default = _template("D", (input) => {
|
|
|
8336
8332
|
agent: activeAgent(s),
|
|
8337
8333
|
size: 14
|
|
8338
8334
|
});
|
|
8339
|
-
_html(`<span${_attr_class("
|
|
8335
|
+
_html(`<span${_attr_class("_eI")}><span${_attr_class("_eK")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope7_id, "f", $sg__input_sessions)}</span>`);
|
|
8340
8336
|
_if(() => {
|
|
8341
8337
|
if (s.id === input.sessionId) {
|
|
8342
8338
|
const $scope23_id = _scope_id();
|
|
@@ -8348,7 +8344,7 @@ var term_default = _template("D", (input) => {
|
|
|
8348
8344
|
const $childScope6 = _peek_scope_id();
|
|
8349
8345
|
usage_pcts_default({
|
|
8350
8346
|
agent: plan,
|
|
8351
|
-
class: "
|
|
8347
|
+
class: "_eJ"
|
|
8352
8348
|
});
|
|
8353
8349
|
writeScope($scope26_id, { a: _existing_scope($childScope6) });
|
|
8354
8350
|
return 0;
|
|
@@ -8365,7 +8361,7 @@ var term_default = _template("D", (input) => {
|
|
|
8365
8361
|
_if(() => {
|
|
8366
8362
|
if (input.onRenameSession) {
|
|
8367
8363
|
const $scope25_id = _scope_id();
|
|
8368
|
-
_html(`<button${_attr_class(["
|
|
8364
|
+
_html(`<button${_attr_class(["_eM", "_eN"])} title="Rename session">`);
|
|
8369
8365
|
icon_edit_default({ size: 12 });
|
|
8370
8366
|
_html(`</button>${_el_resume($scope25_id, "a")}`);
|
|
8371
8367
|
_script($scope25_id, "D29");
|
|
@@ -8377,7 +8373,7 @@ var term_default = _template("D", (input) => {
|
|
|
8377
8373
|
if (input.onCloseSession) {
|
|
8378
8374
|
const $scope8_id = _scope_id();
|
|
8379
8375
|
_html(`<button${_attr_class([
|
|
8380
|
-
"
|
|
8376
|
+
"_eM",
|
|
8381
8377
|
"_2",
|
|
8382
8378
|
{ ["_q"]: armedClose === s.id }
|
|
8383
8379
|
])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
|
|
@@ -8419,7 +8415,7 @@ var term_default = _template("D", (input) => {
|
|
|
8419
8415
|
return 0;
|
|
8420
8416
|
}
|
|
8421
8417
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions);
|
|
8422
|
-
_html(`<div${_attr_class("
|
|
8418
|
+
_html(`<div${_attr_class("_eO")}><span${_attr_class("_eP")}>New session</span>`);
|
|
8423
8419
|
_for_of([...input.agents || [], "shell"], (agent) => {
|
|
8424
8420
|
const $scope9_id = _scope_id();
|
|
8425
8421
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
@@ -8484,7 +8480,7 @@ var term_default = _template("D", (input) => {
|
|
|
8484
8480
|
overlay: attrTag({ content: _content_resume("D46", () => {
|
|
8485
8481
|
_scope_reason();
|
|
8486
8482
|
const $scope15_id = _scope_id();
|
|
8487
|
-
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("
|
|
8483
|
+
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_eQ")}>`);
|
|
8488
8484
|
forOf(DPAD, (row) => {
|
|
8489
8485
|
const $scope16_id = _scope_id();
|
|
8490
8486
|
forOf(row, (cell) => {
|
|
@@ -8504,7 +8500,7 @@ var term_default = _template("D", (input) => {
|
|
|
8504
8500
|
writeScope($scope18_id, { _: _scope_with_id($scope17_id) });
|
|
8505
8501
|
} else {
|
|
8506
8502
|
const $scope19_id = _scope_id();
|
|
8507
|
-
_html(`<button${_attr_class([repeat, { ["
|
|
8503
|
+
_html(`<button${_attr_class([repeat, { ["_eU"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
|
|
8508
8504
|
if (cell.icon === "arrow-up") {
|
|
8509
8505
|
_scope_id();
|
|
8510
8506
|
icon_arrow_up_default({ size: 18 });
|
|
@@ -8644,7 +8640,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
8644
8640
|
let DiffView = null;
|
|
8645
8641
|
const loadDiffView = _resume(() => {
|
|
8646
8642
|
if (DiffView) return;
|
|
8647
|
-
import("./
|
|
8643
|
+
import("./_J7sexRRq.js").then((m) => {
|
|
8648
8644
|
DiffView = m.default;
|
|
8649
8645
|
});
|
|
8650
8646
|
}, "H6", $scope0_id);
|
|
@@ -9123,7 +9119,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9123
9119
|
_if(() => {
|
|
9124
9120
|
if (!shownSessions.length && view === "term") {
|
|
9125
9121
|
const $scope7_id = _scope_id();
|
|
9126
|
-
_html(`<div${_attr_class("
|
|
9122
|
+
_html(`<div${_attr_class("_bA")}><span>No sessions in this workspace.</span><button${_attr_class(["_o", "_p"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
9127
9123
|
_script($scope7_id, "H51");
|
|
9128
9124
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
9129
9125
|
return 0;
|
|
@@ -9133,7 +9129,7 @@ var work_view_default = _template("H", (input) => {
|
|
|
9133
9129
|
return 0;
|
|
9134
9130
|
} else {
|
|
9135
9131
|
const $scope11_id = _scope_id();
|
|
9136
|
-
_html(`<p${_attr_class("
|
|
9132
|
+
_html(`<p${_attr_class("_bA")}>Loading sessions…</p>`);
|
|
9137
9133
|
writeScope($scope11_id, {});
|
|
9138
9134
|
return 1;
|
|
9139
9135
|
}
|
|
@@ -18369,4 +18365,4 @@ server.listen(port, () => {
|
|
|
18369
18365
|
//#endregion
|
|
18370
18366
|
export {};
|
|
18371
18367
|
|
|
18372
|
-
;var __MARKO_MANIFEST__={"
|
|
18368
|
+
;var __MARKO_MANIFEST__={"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/w._-CMRMU1vs.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CMRMU1vs.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/w-CMRMU1vs.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CMRMU1vs.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/new-CMRMU1vs.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CMRMU1vs.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/w._-CMEpH_9a.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CMEpH_9a.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/settings-CMRMU1vs.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CMRMU1vs.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]}};
|