@dylanpiercey/work 0.0.173 → 0.0.175
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/index.mjs +766 -667
- package/dist/public/assets/_254DK7qc.js +1 -0
- package/dist/public/assets/_BFwxEy2s.js +1 -0
- package/dist/public/assets/_BNNx6MWi.js +1 -0
- package/dist/public/assets/_BNUdzZGa.js +1 -0
- package/dist/public/assets/_BV5JV5Qu.js +1 -0
- package/dist/public/assets/_Bch84TXV.js +1 -0
- package/dist/public/assets/{_C6212Nw9.js → _BgfPWRrb.js} +1 -1
- package/dist/public/assets/_BgfPWRrb.js.br +0 -0
- package/dist/public/assets/_BkSFYwZZ.js +1 -0
- package/dist/public/assets/_BmLDA2Qt.js +1 -0
- package/dist/public/assets/_Bpy2jb4Z.js +1 -0
- package/dist/public/assets/{_DE2tMcj8.js → _CMrlloZF.js} +20 -20
- package/dist/public/assets/_CMrlloZF.js.br +0 -0
- package/dist/public/assets/_CTuLUPyS.js +1 -0
- package/dist/public/assets/_CXIhZSSd.js +1 -0
- package/dist/public/assets/_CeCue_To.js +1 -0
- package/dist/public/assets/_Cv0ZXoZ_.js +1 -0
- package/dist/public/assets/_DGJcq5c3.js +1 -0
- package/dist/public/assets/_DGgQDlSI.js +1 -0
- package/dist/public/assets/_DQBTa1hC.js +2802 -0
- package/dist/public/assets/_DQBTa1hC.js.br +0 -0
- package/dist/public/assets/_DZ-fp6X3.js +1 -0
- package/dist/public/assets/_Dj1D8B4I.js +1 -0
- package/dist/public/assets/_Dnh_kiiv.js +1 -0
- package/dist/public/assets/_DvuqHQhD.js +1 -0
- package/dist/public/assets/_FZV6MhKj.js +1 -0
- package/dist/public/assets/_Z324W941.js +1 -0
- package/dist/public/assets/{app-page-DvUDS-Nm.css → app-page-DD1o4wiM.css} +1 -1
- package/dist/public/assets/app-page-DD1o4wiM.css.br +0 -0
- package/dist/public/assets/{icon-arrow-down-BMHAhFnh.css → icon-arrow-down-LhbgqR29.css} +1 -1
- package/dist/public/assets/icon-arrow-down-LhbgqR29.css.br +0 -0
- package/dist/public/assets/new-CH0Bl-x1.js +1 -0
- package/dist/public/assets/review-view-BdjClIWy.js +2 -0
- package/dist/public/assets/review-view-Bv3xencn.css +1 -0
- package/dist/public/assets/review-view-Bv3xencn.css.br +0 -0
- package/dist/public/assets/settings-CH0Bl-x1.js +1 -0
- package/dist/public/assets/w-CH0Bl-x1.js +1 -0
- package/dist/public/assets/w._-CH0Bl-x1.js +1 -0
- package/dist/public/assets/w._-Xgh-0hWo.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_3n2ogBAR.js +0 -1
- package/dist/public/assets/_B36oIMyL.js +0 -1
- package/dist/public/assets/_BTdS3t6B.js +0 -1
- package/dist/public/assets/_BrxaBi5v.js +0 -1
- package/dist/public/assets/_BvzfcvHb.js +0 -1
- package/dist/public/assets/_C6212Nw9.js.br +0 -0
- package/dist/public/assets/_CEfQjKCU.js +0 -1
- package/dist/public/assets/_CKaS6zgB.js +0 -1
- package/dist/public/assets/_COfqxkMQ.js +0 -1
- package/dist/public/assets/_CR3RfXGW.js +0 -1
- package/dist/public/assets/_CTKS1qLd.js +0 -1
- package/dist/public/assets/_CV4Qtrv6.js +0 -1
- package/dist/public/assets/_Cgl4MwL0.js +0 -1
- package/dist/public/assets/_Cq0DZQYq.js +0 -1
- package/dist/public/assets/_Cr6ffFXP.js +0 -1
- package/dist/public/assets/_CsvO8z9Q.js +0 -1
- package/dist/public/assets/_D0nvIP8_.js +0 -1
- package/dist/public/assets/_DE2tMcj8.js.br +0 -0
- package/dist/public/assets/_DZDLZLWx.js +0 -1
- package/dist/public/assets/_DplOnpvs.js +0 -1
- package/dist/public/assets/_RLsRJrdF.js +0 -1
- package/dist/public/assets/_a5YxxndF.js +0 -2801
- package/dist/public/assets/_a5YxxndF.js.br +0 -0
- package/dist/public/assets/_aSEYsOdu.js +0 -1
- package/dist/public/assets/_hHpOsbBR.js +0 -1
- package/dist/public/assets/app-page-DvUDS-Nm.css.br +0 -0
- package/dist/public/assets/icon-arrow-down-BMHAhFnh.css.br +0 -0
- package/dist/public/assets/new-Bkg60hwf.js +0 -1
- package/dist/public/assets/review-view-BY1aZ_F6.css +0 -1
- package/dist/public/assets/review-view-BY1aZ_F6.css.br +0 -0
- package/dist/public/assets/review-view-By-sVWe_.js +0 -2
- package/dist/public/assets/settings-Bkg60hwf.js +0 -1
- package/dist/public/assets/w-Bkg60hwf.js +0 -1
- package/dist/public/assets/w._-Bkg60hwf.js +0 -1
- package/dist/public/assets/w._-CFyjiteu.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -7027,7 +7027,7 @@ var icon_base_default = _template("W", (input) => {
|
|
|
7027
7027
|
});
|
|
7028
7028
|
//#endregion
|
|
7029
7029
|
//#region src/tags/icons/icon-xmark.marko
|
|
7030
|
-
var icon_xmark_default = _template("
|
|
7030
|
+
var icon_xmark_default = _template("zb", (input) => {
|
|
7031
7031
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7032
7032
|
const $scope0_id = _scope_id();
|
|
7033
7033
|
_set_serialize_reason({
|
|
@@ -7318,22 +7318,22 @@ function applyInstance(inst) {
|
|
|
7318
7318
|
if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
|
|
7319
7319
|
syncThemeColorMetas(theme(), inst.accent || "");
|
|
7320
7320
|
}
|
|
7321
|
-
var agentRow = "
|
|
7322
|
-
var toolGrid = "
|
|
7323
|
-
var toolRow = "
|
|
7324
|
-
var themeSeg = "
|
|
7325
|
-
var checkList = "
|
|
7326
|
-
var list$2 = "
|
|
7327
|
-
var flatCardRow = "
|
|
7328
|
-
var chip$1 = "
|
|
7329
|
-
var pop$1 = "
|
|
7330
|
-
var spinner = "
|
|
7331
|
-
var busy = "
|
|
7332
|
-
var pop = "
|
|
7333
|
-
var sectionCount$1 = "
|
|
7321
|
+
var agentRow = "_cS _ct";
|
|
7322
|
+
var toolGrid = "_c0 _cD";
|
|
7323
|
+
var toolRow = "_c1 _cE";
|
|
7324
|
+
var themeSeg = "_dn _bd";
|
|
7325
|
+
var checkList = "_dT _cg";
|
|
7326
|
+
var list$2 = "_cF _ci _cs _cD";
|
|
7327
|
+
var flatCardRow = "_cG _cE";
|
|
7328
|
+
var chip$1 = "_cP _X _W";
|
|
7329
|
+
var pop$1 = "_ec _9";
|
|
7330
|
+
var spinner = "_ef _1 _G";
|
|
7331
|
+
var busy = "_ej _ei";
|
|
7332
|
+
var pop = "_el _9";
|
|
7333
|
+
var sectionCount$1 = "_cf _N _O";
|
|
7334
7334
|
//#endregion
|
|
7335
7335
|
//#region src/tags/icons/icon-refresh.marko
|
|
7336
|
-
var icon_refresh_default = _template("
|
|
7336
|
+
var icon_refresh_default = _template("pb", (input) => {
|
|
7337
7337
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7338
7338
|
const $scope0_id = _scope_id();
|
|
7339
7339
|
_set_serialize_reason({
|
|
@@ -7370,18 +7370,18 @@ var icon_back_default = _template("V", (input) => {
|
|
|
7370
7370
|
var page_head_default = _template("t", (input) => {
|
|
7371
7371
|
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);
|
|
7372
7372
|
const $scope0_id = _scope_id();
|
|
7373
|
-
_html(`<header${_attr_class("
|
|
7373
|
+
_html(`<header${_attr_class("_d1")}>`);
|
|
7374
7374
|
_if(() => {
|
|
7375
7375
|
if (input.backHref) {
|
|
7376
7376
|
const $scope1_id = _scope_id();
|
|
7377
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
7377
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_en"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
7378
7378
|
icon_back_default({ size: 14 });
|
|
7379
7379
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
7380
7380
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
7381
7381
|
return 0;
|
|
7382
7382
|
} else if (input.onBack) {
|
|
7383
7383
|
const $scope2_id = _scope_id();
|
|
7384
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
7384
|
+
_html(`<button${_attr_class([iconBtnRow, "_en"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
7385
7385
|
icon_back_default({ size: 14 });
|
|
7386
7386
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
7387
7387
|
_script($scope2_id, "t0");
|
|
@@ -7389,11 +7389,11 @@ var page_head_default = _template("t", (input) => {
|
|
|
7389
7389
|
return 1;
|
|
7390
7390
|
}
|
|
7391
7391
|
}, $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);
|
|
7392
|
-
_html(`<div${_attr_class("
|
|
7392
|
+
_html(`<div${_attr_class("_d3")}><h1${_attr("id", input.titleId)}${_attr_class("_d2")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
7393
7393
|
_if(() => {
|
|
7394
7394
|
if (input.meta) {
|
|
7395
7395
|
const $scope3_id = _scope_id();
|
|
7396
|
-
_html(`<p${_attr_class("
|
|
7396
|
+
_html(`<p${_attr_class("_d4")}>`);
|
|
7397
7397
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
7398
7398
|
_html("</p>");
|
|
7399
7399
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7404,7 +7404,7 @@ var page_head_default = _template("t", (input) => {
|
|
|
7404
7404
|
_if(() => {
|
|
7405
7405
|
if (input.actions) {
|
|
7406
7406
|
const $scope4_id = _scope_id();
|
|
7407
|
-
_html(`<div${_attr_class("
|
|
7407
|
+
_html(`<div${_attr_class("_d5")}>`);
|
|
7408
7408
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7409
7409
|
_html("</div>");
|
|
7410
7410
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7472,10 +7472,10 @@ var icon_agent_default = _template("P", (input) => {
|
|
|
7472
7472
|
n: $badge__closures
|
|
7473
7473
|
});
|
|
7474
7474
|
});
|
|
7475
|
-
var usageNote = "
|
|
7475
|
+
var usageNote = "_hn _W";
|
|
7476
7476
|
//#endregion
|
|
7477
7477
|
//#region src/tags/icons/icon-warning.marko
|
|
7478
|
-
var icon_warning_default = _template("
|
|
7478
|
+
var icon_warning_default = _template("xb", (input) => {
|
|
7479
7479
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7480
7480
|
const $scope0_id = _scope_id();
|
|
7481
7481
|
_set_serialize_reason({
|
|
@@ -7502,11 +7502,11 @@ var usage_meters_default = _template("L", (input) => {
|
|
|
7502
7502
|
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);
|
|
7503
7503
|
const $scope0_id = _scope_id();
|
|
7504
7504
|
const agent = input.agent;
|
|
7505
|
-
_html(`<div${_attr_class(["
|
|
7505
|
+
_html(`<div${_attr_class(["_hh", { ["_hi"]: input.hideName }])}><div${_attr_class("_hj")}>`);
|
|
7506
7506
|
_if(() => {
|
|
7507
7507
|
if (!input.hideName) {
|
|
7508
7508
|
const $scope1_id = _scope_id();
|
|
7509
|
-
_html(`<strong${_attr_class("
|
|
7509
|
+
_html(`<strong${_attr_class("_hC")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
|
|
7510
7510
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
7511
7511
|
return 0;
|
|
7512
7512
|
}
|
|
@@ -7514,7 +7514,7 @@ var usage_meters_default = _template("L", (input) => {
|
|
|
7514
7514
|
_if(() => {
|
|
7515
7515
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
7516
7516
|
const $scope2_id = _scope_id();
|
|
7517
|
-
_html(`<span${_attr_class("
|
|
7517
|
+
_html(`<span${_attr_class("_hk")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
|
|
7518
7518
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
7519
7519
|
return 0;
|
|
7520
7520
|
}
|
|
@@ -7522,21 +7522,21 @@ var usage_meters_default = _template("L", (input) => {
|
|
|
7522
7522
|
_if(() => {
|
|
7523
7523
|
if (agent.stale_seconds != null) {
|
|
7524
7524
|
const $scope3_id = _scope_id();
|
|
7525
|
-
_html(`<span${_attr_class("
|
|
7525
|
+
_html(`<span${_attr_class("_hl")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
7526
7526
|
icon_warning_default({ size: 12 });
|
|
7527
7527
|
_html(` ${_text_resume($scope3_id, "c", duration(agent.stale_seconds * 1e3), $sg__input_agent * 2)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
7528
7528
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
7529
7529
|
return 0;
|
|
7530
7530
|
}
|
|
7531
7531
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
7532
|
-
_html(`</div><div${_attr_class(["
|
|
7532
|
+
_html(`</div><div${_attr_class(["_hm", { ["_hD"]: agent.stale_seconds != null }])}>`);
|
|
7533
7533
|
_for_of(agent.windows || [], (win) => {
|
|
7534
7534
|
const $scope4_id = _scope_id();
|
|
7535
7535
|
const pct = pctText(win.used_percent);
|
|
7536
7536
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
7537
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
7538
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
7539
|
-
_html(`<div${_attr_class("
|
|
7537
|
+
const fillClass = win.used_percent >= 90 ? "_hv" : win.used_percent >= 70 ? "_hu" : win.used_percent >= 40 ? "_ht" : "_hs";
|
|
7538
|
+
const pctClass = win.used_percent >= 90 ? "_hA" : win.used_percent >= 70 ? "_hz" : win.used_percent >= 40 ? "_hy" : "_hx";
|
|
7539
|
+
_html(`<div${_attr_class("_ho")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hp")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hq")}><span${_attr_class(["_hr", 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(["_hw", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hB")}>`);
|
|
7540
7540
|
_if(() => {
|
|
7541
7541
|
if (label) {
|
|
7542
7542
|
const $scope6_id = _scope_id();
|
|
@@ -7570,7 +7570,7 @@ var usage_meters_default = _template("L", (input) => {
|
|
|
7570
7570
|
});
|
|
7571
7571
|
//#endregion
|
|
7572
7572
|
//#region src/tags/icons/icon-github.marko
|
|
7573
|
-
var icon_github_default = _template("
|
|
7573
|
+
var icon_github_default = _template("ib", (input) => {
|
|
7574
7574
|
const $scope0_reason = _scope_reason();
|
|
7575
7575
|
const $scope0_id = _scope_id();
|
|
7576
7576
|
const size = input.size ?? iconSize.md;
|
|
@@ -7579,7 +7579,7 @@ var icon_github_default = _template("hb", (input) => {
|
|
|
7579
7579
|
});
|
|
7580
7580
|
//#endregion
|
|
7581
7581
|
//#region src/tags/icons/icon-plus.marko
|
|
7582
|
-
var icon_plus_default = _template("
|
|
7582
|
+
var icon_plus_default = _template("ob", (input) => {
|
|
7583
7583
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7584
7584
|
const $scope0_id = _scope_id();
|
|
7585
7585
|
_set_serialize_reason({
|
|
@@ -7596,7 +7596,7 @@ var icon_plus_default = _template("nb", (input) => {
|
|
|
7596
7596
|
});
|
|
7597
7597
|
//#endregion
|
|
7598
7598
|
//#region src/tags/icons/icon-search.marko
|
|
7599
|
-
var icon_search_default = _template("
|
|
7599
|
+
var icon_search_default = _template("qb", (input) => {
|
|
7600
7600
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
7601
7601
|
const $scope0_id = _scope_id();
|
|
7602
7602
|
_set_serialize_reason({
|
|
@@ -7635,10 +7635,10 @@ var add_field_default = _template("b", (input$3) => {
|
|
|
7635
7635
|
}
|
|
7636
7636
|
}, $scope0_id, "a", 1, 1, 1, 0, 1);
|
|
7637
7637
|
_html(`<form${_attr_class([
|
|
7638
|
-
"
|
|
7638
|
+
"_d6",
|
|
7639
7639
|
input$3.class,
|
|
7640
|
-
{ ["
|
|
7641
|
-
])}><label${_attr_class(["_0", "
|
|
7640
|
+
{ ["_d7"]: !open }
|
|
7641
|
+
])}><label${_attr_class(["_0", "_d9"])}>`);
|
|
7642
7642
|
_if(() => {
|
|
7643
7643
|
if (input$3.searching) {
|
|
7644
7644
|
const $scope5_id = _scope_id();
|
|
@@ -7665,7 +7665,7 @@ var add_field_default = _template("b", (input$3) => {
|
|
|
7665
7665
|
}, "b0", $scope0_id))}${_attr_class([
|
|
7666
7666
|
"_Y",
|
|
7667
7667
|
"_2",
|
|
7668
|
-
"
|
|
7668
|
+
"_d_"
|
|
7669
7669
|
])} type=text${_attr("placeholder", input$3.placeholder)}${_attr("aria-label", input$3.ariaLabel)} autocomplete=off spellcheck=false>${_el_resume($scope0_id, "e")}</label>`);
|
|
7670
7670
|
_if(() => {
|
|
7671
7671
|
if (input$3.submitLabel) {
|
|
@@ -7673,19 +7673,19 @@ var add_field_default = _template("b", (input$3) => {
|
|
|
7673
7673
|
_html(`<button${_attr_class([
|
|
7674
7674
|
btnSm,
|
|
7675
7675
|
"_r",
|
|
7676
|
-
"
|
|
7676
|
+
"_ea"
|
|
7677
7677
|
])} type=submit${_attr("hidden", !open)}${_attr("disabled", !value.trim() || input$3.busy)}>${_text_resume($scope3_id, "b", input$3.busy ? "Adding…" : input$3.submitLabel, _serialize_guard($scope0_reason, 1))}</button>${_el_resume($scope3_id, "a")}`);
|
|
7678
7678
|
writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
7679
7679
|
return 0;
|
|
7680
7680
|
}
|
|
7681
7681
|
}, $scope0_id, "f", 1, _serialize_guard($scope0_reason, 7), 1, 0, 1);
|
|
7682
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
7682
|
+
_html(`<button${_attr_class([iconBtnRow, "_eb"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
|
|
7683
7683
|
icon_xmark_default({ size: 14 });
|
|
7684
7684
|
_html(`</button>${_el_resume($scope0_id, "g")}`);
|
|
7685
7685
|
_if(() => {
|
|
7686
7686
|
if (input$3.content) {
|
|
7687
7687
|
const $scope4_id = _scope_id();
|
|
7688
|
-
_html(`<ul${_attr_class([pop$1, "
|
|
7688
|
+
_html(`<ul${_attr_class([pop$1, "_ed"])}${_attr("hidden", !open || !value.trim())}>`);
|
|
7689
7689
|
_dynamic_tag($scope4_id, "b", input$3.content, {}, 0, 0, $sg__input_content);
|
|
7690
7690
|
_html(`</ul>${_el_resume($scope4_id, "a")}`);
|
|
7691
7691
|
writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7812,14 +7812,14 @@ var sso_auth_default = _template("G", (input) => {
|
|
|
7812
7812
|
localCode = null;
|
|
7813
7813
|
}
|
|
7814
7814
|
}, "G0", $scope0_id);
|
|
7815
|
-
_html(`<div${_attr_class(["
|
|
7815
|
+
_html(`<div${_attr_class(["_g6", input.class])}>`);
|
|
7816
7816
|
_for_of(input.items, (s) => {
|
|
7817
7817
|
const $scope1_id = _scope_id();
|
|
7818
|
-
_html(`<div${_attr_class("
|
|
7818
|
+
_html(`<div${_attr_class("_g7")}><span${_attr_class("_g9")}><span${_attr_class("_g_")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_ha", "_hb"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
|
|
7819
7819
|
_if(() => {
|
|
7820
7820
|
if (!busy) {
|
|
7821
7821
|
const $scope2_id = _scope_id();
|
|
7822
|
-
_html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "
|
|
7822
|
+
_html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_hc"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
|
|
7823
7823
|
_script($scope2_id, "G1");
|
|
7824
7824
|
writeScope($scope2_id, {});
|
|
7825
7825
|
return 0;
|
|
@@ -7834,13 +7834,13 @@ var sso_auth_default = _template("G", (input) => {
|
|
|
7834
7834
|
_if(() => {
|
|
7835
7835
|
if (localBusy && localCode) {
|
|
7836
7836
|
const $scope4_id = _scope_id();
|
|
7837
|
-
_html(`<div${_attr_class(["
|
|
7837
|
+
_html(`<div${_attr_class(["_g7", "_hd"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_he")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hf")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
|
|
7838
7838
|
_script($scope4_id, "G2");
|
|
7839
7839
|
writeScope($scope4_id, {});
|
|
7840
7840
|
return 0;
|
|
7841
7841
|
} else if (localBusy) {
|
|
7842
7842
|
const $scope6_id = _scope_id();
|
|
7843
|
-
_html(`<div${_attr_class(["
|
|
7843
|
+
_html(`<div${_attr_class(["_g7", "_hd"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
|
|
7844
7844
|
writeScope($scope6_id, {});
|
|
7845
7845
|
return 1;
|
|
7846
7846
|
}
|
|
@@ -7848,14 +7848,14 @@ var sso_auth_default = _template("G", (input) => {
|
|
|
7848
7848
|
_if(() => {
|
|
7849
7849
|
if (localError) {
|
|
7850
7850
|
const $scope5_id = _scope_id();
|
|
7851
|
-
_html(`<p${_attr_class(["
|
|
7851
|
+
_html(`<p${_attr_class(["_g7", "_hg"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
|
|
7852
7852
|
writeScope($scope5_id, {});
|
|
7853
7853
|
return 0;
|
|
7854
7854
|
}
|
|
7855
7855
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
7856
7856
|
_for_of(skipped, (s) => {
|
|
7857
7857
|
const $scope3_id = _scope_id();
|
|
7858
|
-
_html(`<div${_attr_class(["
|
|
7858
|
+
_html(`<div${_attr_class(["_g7", "_g8"])}><span${_attr_class("_g9")}><span${_attr_class("_g_")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_ha")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hc"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
|
|
7859
7859
|
_script($scope3_id, "G3");
|
|
7860
7860
|
writeScope($scope3_id, {
|
|
7861
7861
|
i: s?.org,
|
|
@@ -7906,7 +7906,7 @@ var skill_chip_default = _template("F", (input) => {
|
|
|
7906
7906
|
const $input_tags__closures = /* @__PURE__ */ new Set();
|
|
7907
7907
|
const $input_actions__closures = /* @__PURE__ */ new Set();
|
|
7908
7908
|
const $input_trailing__closures = /* @__PURE__ */ new Set();
|
|
7909
|
-
_html(`<li${_attr_class("
|
|
7909
|
+
_html(`<li${_attr_class("_eh")}>`);
|
|
7910
7910
|
_if(() => {
|
|
7911
7911
|
if (input.busy != null) {
|
|
7912
7912
|
const $scope1_id = _scope_id();
|
|
@@ -7916,20 +7916,20 @@ var skill_chip_default = _template("F", (input) => {
|
|
|
7916
7916
|
} else {
|
|
7917
7917
|
const $scope2_id = _scope_id();
|
|
7918
7918
|
const popId = _id();
|
|
7919
|
-
_html(`<button${_attr_class("
|
|
7919
|
+
_html(`<button${_attr_class("_ei")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
|
|
7920
7920
|
_if(() => {
|
|
7921
7921
|
if (input.hint) {
|
|
7922
7922
|
const $scope3_id = _scope_id();
|
|
7923
|
-
_html(`<span${_attr_class("
|
|
7923
|
+
_html(`<span${_attr_class("_ek")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
|
|
7924
7924
|
$si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
|
|
7925
7925
|
return 0;
|
|
7926
7926
|
}
|
|
7927
7927
|
}, $scope2_id, "c", $sg__input_hint, $sg__input_hint, $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing, 0, 1);
|
|
7928
|
-
_html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["
|
|
7928
|
+
_html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_ck", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
|
|
7929
7929
|
_if(() => {
|
|
7930
7930
|
if (input.description) {
|
|
7931
7931
|
const $scope4_id = _scope_id();
|
|
7932
|
-
_html(`<span${_attr_class("
|
|
7932
|
+
_html(`<span${_attr_class("_cm")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
|
|
7933
7933
|
$si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
|
|
7934
7934
|
return 0;
|
|
7935
7935
|
}
|
|
@@ -7937,12 +7937,12 @@ var skill_chip_default = _template("F", (input) => {
|
|
|
7937
7937
|
_if(() => {
|
|
7938
7938
|
if (input.sourceUrl) {
|
|
7939
7939
|
const $scope5_id = _scope_id();
|
|
7940
|
-
_html(`<a${_attr_class(["
|
|
7940
|
+
_html(`<a${_attr_class(["_cm", "_K"])}${_attr("href", input.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${input.source} on GitHub`)}>${_text_resume($scope5_id, "b", input.source, $sg__input_source)}</a>${_el_resume($scope5_id, "a", _serialize_guard($scope0_reason, 6))}`);
|
|
7941
7941
|
$si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, _subscribe($si__input_sourceUrl && $input_sourceUrl__closures, writeScope($scope5_id, { _: _scope_with_id($scope2_id) })));
|
|
7942
7942
|
return 0;
|
|
7943
7943
|
} else if (input.source) {
|
|
7944
7944
|
const $scope6_id = _scope_id();
|
|
7945
|
-
_html(`<span${_attr_class("
|
|
7945
|
+
_html(`<span${_attr_class("_cm")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
|
|
7946
7946
|
$si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
|
|
7947
7947
|
_: _scope_with_id($scope2_id),
|
|
7948
7948
|
Cs: $si__input_source && 1
|
|
@@ -7950,7 +7950,7 @@ var skill_chip_default = _template("F", (input) => {
|
|
|
7950
7950
|
return 1;
|
|
7951
7951
|
} else if (input.noteLocal) {
|
|
7952
7952
|
const $scope10_id = _scope_id();
|
|
7953
|
-
_html(`<span${_attr_class(["
|
|
7953
|
+
_html(`<span${_attr_class(["_cm", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
|
|
7954
7954
|
_serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
|
|
7955
7955
|
return 2;
|
|
7956
7956
|
}
|
|
@@ -7958,7 +7958,7 @@ var skill_chip_default = _template("F", (input) => {
|
|
|
7958
7958
|
_if(() => {
|
|
7959
7959
|
if (input.tags) {
|
|
7960
7960
|
const $scope7_id = _scope_id();
|
|
7961
|
-
_html(`<span${_attr_class("
|
|
7961
|
+
_html(`<span${_attr_class("_cl")}>`);
|
|
7962
7962
|
_dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
|
|
7963
7963
|
_html("</span>");
|
|
7964
7964
|
$si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
|
|
@@ -7968,7 +7968,7 @@ var skill_chip_default = _template("F", (input) => {
|
|
|
7968
7968
|
_if(() => {
|
|
7969
7969
|
if (input.actions) {
|
|
7970
7970
|
const $scope8_id = _scope_id();
|
|
7971
|
-
_html(`<div${_attr_class("
|
|
7971
|
+
_html(`<div${_attr_class("_em")}>`);
|
|
7972
7972
|
_dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7973
7973
|
_html("</div>");
|
|
7974
7974
|
$si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
|
|
@@ -8028,7 +8028,7 @@ var icon_arrow_up_default = _template("U", (input) => {
|
|
|
8028
8028
|
});
|
|
8029
8029
|
//#endregion
|
|
8030
8030
|
//#region src/tags/icons/icon-monitor.marko
|
|
8031
|
-
var icon_monitor_default = _template("
|
|
8031
|
+
var icon_monitor_default = _template("mb", (input) => {
|
|
8032
8032
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
8033
8033
|
const $scope0_id = _scope_id();
|
|
8034
8034
|
_set_serialize_reason({
|
|
@@ -8045,7 +8045,7 @@ var icon_monitor_default = _template("lb", (input) => {
|
|
|
8045
8045
|
});
|
|
8046
8046
|
//#endregion
|
|
8047
8047
|
//#region src/tags/icons/icon-sun.marko
|
|
8048
|
-
var icon_sun_default = _template("
|
|
8048
|
+
var icon_sun_default = _template("ub", (input) => {
|
|
8049
8049
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
8050
8050
|
const $scope0_id = _scope_id();
|
|
8051
8051
|
_set_serialize_reason({
|
|
@@ -8062,7 +8062,7 @@ var icon_sun_default = _template("tb", (input) => {
|
|
|
8062
8062
|
});
|
|
8063
8063
|
//#endregion
|
|
8064
8064
|
//#region src/tags/icons/icon-moon.marko
|
|
8065
|
-
var icon_moon_default = _template("
|
|
8065
|
+
var icon_moon_default = _template("nb", (input) => {
|
|
8066
8066
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
8067
8067
|
const $scope0_id = _scope_id();
|
|
8068
8068
|
_set_serialize_reason({
|
|
@@ -8079,7 +8079,7 @@ var icon_moon_default = _template("mb", (input) => {
|
|
|
8079
8079
|
});
|
|
8080
8080
|
//#endregion
|
|
8081
8081
|
//#region src/tags/prompt-dialog.css.ts
|
|
8082
|
-
var promptDlg = "
|
|
8082
|
+
var promptDlg = "_g5 _g1";
|
|
8083
8083
|
//#endregion
|
|
8084
8084
|
//#region src/tags/dialog-close.marko
|
|
8085
8085
|
var dialog_close_default = _template("h", (input) => {
|
|
@@ -8103,7 +8103,7 @@ var modal_view_default = _template("q", (input) => {
|
|
|
8103
8103
|
const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
|
|
8104
8104
|
const dismissable = input.dismissable !== false;
|
|
8105
8105
|
let open = input.open;
|
|
8106
|
-
_html(`<dialog${_attr_class(["
|
|
8106
|
+
_html(`<dialog${_attr_class(["_g0", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
8107
8107
|
...htmlInput,
|
|
8108
8108
|
open: null
|
|
8109
8109
|
}, {
|
|
@@ -8113,20 +8113,20 @@ var modal_view_default = _template("q", (input) => {
|
|
|
8113
8113
|
closedby: 1,
|
|
8114
8114
|
"on-cancel": 1,
|
|
8115
8115
|
"on-close": 1
|
|
8116
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
8116
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_g3")}>`);
|
|
8117
8117
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
8118
8118
|
_html("</div>");
|
|
8119
8119
|
_if(() => {
|
|
8120
8120
|
if (footer) {
|
|
8121
8121
|
const $scope1_id = _scope_id();
|
|
8122
|
-
_html(`<form method=dialog${_attr_class("
|
|
8122
|
+
_html(`<form method=dialog${_attr_class("_g4")}>`);
|
|
8123
8123
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
8124
8124
|
_html("</form>");
|
|
8125
8125
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
8126
8126
|
return 0;
|
|
8127
8127
|
} else if (input.openChange) {
|
|
8128
8128
|
const $scope2_id = _scope_id();
|
|
8129
|
-
_html(`<form method=dialog${_attr_class("
|
|
8129
|
+
_html(`<form method=dialog${_attr_class("_g4")}>`);
|
|
8130
8130
|
dialog_close_default({
|
|
8131
8131
|
class: ["_q", "_r"],
|
|
8132
8132
|
content: _content("q0", () => {
|
|
@@ -8210,7 +8210,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
8210
8210
|
content: _content("u7", () => {
|
|
8211
8211
|
_scope_reason();
|
|
8212
8212
|
const $scope2_id = _scope_id();
|
|
8213
|
-
_html(`<h2${_attr_class("
|
|
8213
|
+
_html(`<h2${_attr_class("_g2")}${_attr("id", titleId)}>${_text_resume($scope2_id, "b", input.label, $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
|
|
8214
8214
|
value = _new_value;
|
|
8215
8215
|
}, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
8216
8216
|
_script($scope2_id, "u5");
|
|
@@ -8754,7 +8754,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
8754
8754
|
const githubId = _id();
|
|
8755
8755
|
const backupId = _id();
|
|
8756
8756
|
const machineId = _id();
|
|
8757
|
-
_html(`<div${_attr_class("
|
|
8757
|
+
_html(`<div${_attr_class("_dX")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dY")}><div${_attr_class("_dZ")}>`);
|
|
8758
8758
|
_set_serialize_reason({
|
|
8759
8759
|
0: _serialize_guard($scope0_reason, 4),
|
|
8760
8760
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -8786,7 +8786,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
8786
8786
|
_resume_branch($scope12_id);
|
|
8787
8787
|
}, $scope0_id) })
|
|
8788
8788
|
});
|
|
8789
|
-
_html(`<div${_attr_class("
|
|
8789
|
+
_html(`<div${_attr_class("_d0")}>`);
|
|
8790
8790
|
_if(() => {
|
|
8791
8791
|
if (setup && !setup.ready) {
|
|
8792
8792
|
const $scope4_id = _scope_id();
|
|
@@ -8829,16 +8829,16 @@ var settings_page_default = _template("B", (input) => {
|
|
|
8829
8829
|
_if(() => {
|
|
8830
8830
|
if (selfUpdatePending || selfUpdating) {
|
|
8831
8831
|
const $scope43_id = _scope_id();
|
|
8832
|
-
_html(`<div${_attr_class("
|
|
8832
|
+
_html(`<div${_attr_class("_dr")} role=status><div${_attr_class("_ds")}>`);
|
|
8833
8833
|
_if(() => {
|
|
8834
8834
|
if (selfUpdating) {
|
|
8835
8835
|
const $scope81_id = _scope_id();
|
|
8836
|
-
_html(`<span${_attr_class("
|
|
8836
|
+
_html(`<span${_attr_class("_dt")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_du")}>The app restarts and reloads when it is done.</span>`);
|
|
8837
8837
|
writeScope($scope81_id, {});
|
|
8838
8838
|
return 0;
|
|
8839
8839
|
} else {
|
|
8840
8840
|
const $scope44_id = _scope_id();
|
|
8841
|
-
_html(`<span${_attr_class("
|
|
8841
|
+
_html(`<span${_attr_class("_dt")}>Update available</span><span${_attr_class("_du")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
|
|
8842
8842
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope44_id, {})));
|
|
8843
8843
|
return 1;
|
|
8844
8844
|
}
|
|
@@ -8868,11 +8868,11 @@ var settings_page_default = _template("B", (input) => {
|
|
|
8868
8868
|
_: _scope_with_id($scope0_id)
|
|
8869
8869
|
});
|
|
8870
8870
|
}, $scope0_id) };
|
|
8871
|
-
_html(`<section${_attr_class("
|
|
8871
|
+
_html(`<section${_attr_class("_cd")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_ce")}><h2${_attr("id", agentsId)}${_attr_class("_cr")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_cT")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
|
|
8872
8872
|
_attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
|
|
8873
8873
|
setPreferred(v);
|
|
8874
8874
|
}, "B0", $scope0_id), () => {
|
|
8875
|
-
_html(`<select${_attr_class(["_p", "
|
|
8875
|
+
_html(`<select${_attr_class(["_p", "_cU"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
8876
8876
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
8877
8877
|
const $scope83_id = _scope_id();
|
|
8878
8878
|
_html(`<option${_attr_option_value(id)}>${_text_resume($scope83_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope83_id, "a", $sg__input_agents)}`);
|
|
@@ -8887,14 +8887,14 @@ var settings_page_default = _template("B", (input) => {
|
|
|
8887
8887
|
const rows = lone ? [] : a.instances;
|
|
8888
8888
|
const loneAccounts = lone ? accountsFor(lone.id) : [];
|
|
8889
8889
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
8890
|
-
_html(`<li${_attr_class(agentRow)}><div${_attr_class(["
|
|
8890
|
+
_html(`<li${_attr_class(agentRow)}><div${_attr_class(["_cV", { ["_cX"]: lone && !lone.enabled }])}>`);
|
|
8891
8891
|
_set_serialize_reason(12);
|
|
8892
8892
|
const $childScope3 = _peek_scope_id();
|
|
8893
8893
|
icon_agent_default({
|
|
8894
8894
|
agent: a.id,
|
|
8895
8895
|
size: 18
|
|
8896
8896
|
});
|
|
8897
|
-
_html(`<div${_attr_class("
|
|
8897
|
+
_html(`<div${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
|
|
8898
8898
|
_if(() => {
|
|
8899
8899
|
if (lone && input.preferred === lone.id) {
|
|
8900
8900
|
const $scope85_id = _scope_id();
|
|
@@ -8907,12 +8907,12 @@ var settings_page_default = _template("B", (input) => {
|
|
|
8907
8907
|
_if(() => {
|
|
8908
8908
|
if (active.has(a.id)) {
|
|
8909
8909
|
const $scope13_id = _scope_id();
|
|
8910
|
-
_html(`<span${_attr_class("
|
|
8910
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
|
|
8911
8911
|
_subscribe($active__closures, writeScope($scope13_id, {}));
|
|
8912
8912
|
return 0;
|
|
8913
8913
|
} else if (!a.installed) {
|
|
8914
8914
|
const $scope86_id = _scope_id();
|
|
8915
|
-
_html(`<span${_attr_class("
|
|
8915
|
+
_html(`<span${_attr_class("_cm")}>Not installed</span>`);
|
|
8916
8916
|
writeScope($scope86_id, {});
|
|
8917
8917
|
return 1;
|
|
8918
8918
|
}
|
|
@@ -8943,15 +8943,15 @@ var settings_page_default = _template("B", (input) => {
|
|
|
8943
8943
|
_if(() => {
|
|
8944
8944
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
8945
8945
|
const $scope2_id = _scope_id();
|
|
8946
|
-
_html(`<ul${_attr_class(["
|
|
8946
|
+
_html(`<ul${_attr_class(["_cZ", { ["_cX"]: lone && !lone.enabled }])}>`);
|
|
8947
8947
|
_for_of(rows, (inst) => {
|
|
8948
8948
|
const $scope3_id = _scope_id();
|
|
8949
8949
|
const accounts = accountsFor(inst.id);
|
|
8950
|
-
_html(`<li${_attr_class(["
|
|
8950
|
+
_html(`<li${_attr_class(["_cW", { ["_cX"]: !inst.enabled }])}><div${_attr_class("_cV")}>`);
|
|
8951
8951
|
_set_serialize_reason(12);
|
|
8952
8952
|
const $childScope5 = _peek_scope_id();
|
|
8953
8953
|
icon_agent_default({ agent: inst.id });
|
|
8954
|
-
_html(`<span${_attr_class(["
|
|
8954
|
+
_html(`<span${_attr_class(["_cY", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
|
|
8955
8955
|
_if(() => {
|
|
8956
8956
|
if (input.preferred === inst.id) {
|
|
8957
8957
|
const $scope87_id = _scope_id();
|
|
@@ -9030,24 +9030,24 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9030
9030
|
_if(() => {
|
|
9031
9031
|
if (!usage && families.length) {
|
|
9032
9032
|
const $scope90_id = _scope_id();
|
|
9033
|
-
_html(`<p${_attr_class("
|
|
9033
|
+
_html(`<p${_attr_class("_co")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
|
|
9034
9034
|
writeScope($scope90_id, {});
|
|
9035
9035
|
return 0;
|
|
9036
9036
|
} else if (usage?.error) {
|
|
9037
9037
|
const $scope9_id = _scope_id();
|
|
9038
|
-
_html(`<p${_attr_class("
|
|
9038
|
+
_html(`<p${_attr_class("_co")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
|
|
9039
9039
|
writeScope($scope9_id, {});
|
|
9040
9040
|
return 1;
|
|
9041
9041
|
}
|
|
9042
9042
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
9043
|
-
_html(`</section></div><div${_attr_class("
|
|
9043
|
+
_html(`</section></div><div${_attr_class("_d0")}><section${_attr_class("_cd")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_ce")}><h2${_attr("id", githubId)}${_attr_class("_cr")}>GitHub</h2>`);
|
|
9044
9044
|
_if(() => {
|
|
9045
9045
|
if (setup) {
|
|
9046
9046
|
const $scope41_id = _scope_id();
|
|
9047
9047
|
_set_serialize_reason(44);
|
|
9048
9048
|
const $childScope10 = _peek_scope_id();
|
|
9049
9049
|
add_field_default({
|
|
9050
|
-
class: "
|
|
9050
|
+
class: "_c7",
|
|
9051
9051
|
open: addingHost,
|
|
9052
9052
|
openChange: _resume((_new_addingHost) => {
|
|
9053
9053
|
addingHost = _new_addingHost;
|
|
@@ -9077,19 +9077,19 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9077
9077
|
return 0;
|
|
9078
9078
|
}
|
|
9079
9079
|
}, $scope0_id, "y");
|
|
9080
|
-
_html(`</div><div${_attr_class(["
|
|
9080
|
+
_html(`</div><div${_attr_class(["_ci", "_cs"])}>`);
|
|
9081
9081
|
_for_of(setup?.github || [], (h) => {
|
|
9082
9082
|
const $scope7_id = _scope_id();
|
|
9083
9083
|
const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
|
|
9084
9084
|
const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
|
|
9085
9085
|
const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
9086
9086
|
const busy = active.has(h.host);
|
|
9087
|
-
_html(`<div${_attr_class(["
|
|
9087
|
+
_html(`<div${_attr_class(["_ct", "_c8"])}><div${_attr_class("_c9")}>`);
|
|
9088
9088
|
icon_github_default({
|
|
9089
9089
|
size: 18,
|
|
9090
|
-
class: "
|
|
9090
|
+
class: "_c_"
|
|
9091
9091
|
});
|
|
9092
|
-
_html(`<div${_attr_class("
|
|
9092
|
+
_html(`<div${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
|
|
9093
9093
|
_if(() => {
|
|
9094
9094
|
if (h.isEnterprise) {
|
|
9095
9095
|
const $scope94_id = _scope_id();
|
|
@@ -9102,25 +9102,25 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9102
9102
|
_if(() => {
|
|
9103
9103
|
if (busy) {
|
|
9104
9104
|
const $scope14_id = _scope_id();
|
|
9105
|
-
_html(`<span${_attr_class(["
|
|
9105
|
+
_html(`<span${_attr_class(["_cm", "_da"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
|
|
9106
9106
|
_subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch1: 1 })));
|
|
9107
9107
|
return 0;
|
|
9108
9108
|
} else if (h.authed) {
|
|
9109
9109
|
const $scope92_id = _scope_id();
|
|
9110
|
-
_html(`<span${_attr_class(["
|
|
9110
|
+
_html(`<span${_attr_class(["_cm", "_da"])}>`);
|
|
9111
9111
|
icon_check_default({
|
|
9112
9112
|
size: 12,
|
|
9113
|
-
class: "
|
|
9113
|
+
class: "_db"
|
|
9114
9114
|
});
|
|
9115
|
-
_html(` Signed in as <strong${_attr_class("
|
|
9115
|
+
_html(` Signed in as <strong${_attr_class("_dd")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
|
|
9116
9116
|
writeScope($scope92_id, {});
|
|
9117
9117
|
return 1;
|
|
9118
9118
|
} else if (h.error) {
|
|
9119
9119
|
const $scope93_id = _scope_id();
|
|
9120
9120
|
_html(`<span${_attr_class([
|
|
9121
|
-
"
|
|
9122
|
-
"
|
|
9123
|
-
"
|
|
9121
|
+
"_cm",
|
|
9122
|
+
"_da",
|
|
9123
|
+
"_dc"
|
|
9124
9124
|
])}>`);
|
|
9125
9125
|
icon_warning_default({ size: 12 });
|
|
9126
9126
|
_html(`${_text_resume($scope93_id, "c", h.error)}</span>`);
|
|
@@ -9128,7 +9128,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9128
9128
|
return 2;
|
|
9129
9129
|
} else {
|
|
9130
9130
|
const $scope95_id = _scope_id();
|
|
9131
|
-
_html(`<span${_attr_class(["
|
|
9131
|
+
_html(`<span${_attr_class(["_cm", "_da"])}>Not signed in</span>`);
|
|
9132
9132
|
writeScope($scope95_id, {});
|
|
9133
9133
|
return 3;
|
|
9134
9134
|
}
|
|
@@ -9171,7 +9171,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9171
9171
|
const $childScope12 = _peek_scope_id();
|
|
9172
9172
|
arm_button_default({
|
|
9173
9173
|
class: [
|
|
9174
|
-
"
|
|
9174
|
+
"_cn",
|
|
9175
9175
|
"_7",
|
|
9176
9176
|
"_8"
|
|
9177
9177
|
],
|
|
@@ -9202,7 +9202,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9202
9202
|
_if(() => {
|
|
9203
9203
|
if (busy && authCodes.has(h.host)) {
|
|
9204
9204
|
const $scope35_id = _scope_id();
|
|
9205
|
-
_html(`<div${_attr_class("
|
|
9205
|
+
_html(`<div${_attr_class("_de")}><span${_attr_class("_df")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dh")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dg")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
|
|
9206
9206
|
_subscribe($authCodes__closures, writeScope($scope35_id, { Ch6: 1 }));
|
|
9207
9207
|
return 0;
|
|
9208
9208
|
}
|
|
@@ -9214,7 +9214,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9214
9214
|
_set_serialize_reason(30);
|
|
9215
9215
|
const $childScope13 = _peek_scope_id();
|
|
9216
9216
|
sso_auth_default({
|
|
9217
|
-
class: ["
|
|
9217
|
+
class: ["_ct", "_di"],
|
|
9218
9218
|
items: hostSso$1,
|
|
9219
9219
|
skipped: skippedSso,
|
|
9220
9220
|
busy,
|
|
@@ -9248,23 +9248,23 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9248
9248
|
_if(() => {
|
|
9249
9249
|
if (setup && !setup.github.length) {
|
|
9250
9250
|
const $scope98_id = _scope_id();
|
|
9251
|
-
_html(`<p${_attr_class("
|
|
9251
|
+
_html(`<p${_attr_class("_co")}>Install the GitHub CLI below to sign in.</p>`);
|
|
9252
9252
|
writeScope($scope98_id, {});
|
|
9253
9253
|
return 0;
|
|
9254
9254
|
}
|
|
9255
9255
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
9256
|
-
_html(`</section><section${_attr_class("
|
|
9256
|
+
_html(`</section><section${_attr_class("_cd")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_ce")}><h2${_attr("id", machineId)}${_attr_class("_cr")}>Machine</h2></div><div${_attr_class(["_ci", "_cs"])}><div${_attr_class(["_ct", "_cu"])}><div${_attr_class(["_cv", { ["_cw"]: skillsOpen }])}><button${_attr_class("_cx")} aria-expanded=true>`);
|
|
9257
9257
|
_set_serialize_reason(1);
|
|
9258
9258
|
const $childScope14 = _peek_scope_id();
|
|
9259
9259
|
icon_chevron_right_default({
|
|
9260
9260
|
size: 12,
|
|
9261
|
-
class: ["
|
|
9261
|
+
class: ["_cB", { ["_cC"]: skillsOpen }]
|
|
9262
9262
|
});
|
|
9263
|
-
_html(`<span${_attr_class("
|
|
9263
|
+
_html(`<span${_attr_class("_cy")}>Skills</span>`);
|
|
9264
9264
|
_if(() => {
|
|
9265
9265
|
if (skills?.global.length) {
|
|
9266
9266
|
const $scope50_id = _scope_id();
|
|
9267
|
-
_html(`<span${_attr_class("
|
|
9267
|
+
_html(`<span${_attr_class("_cz")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
|
|
9268
9268
|
writeScope($scope50_id, {});
|
|
9269
9269
|
return 0;
|
|
9270
9270
|
}
|
|
@@ -9292,7 +9292,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9292
9292
|
_if(() => {
|
|
9293
9293
|
if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
|
|
9294
9294
|
const $scope99_id = _scope_id();
|
|
9295
|
-
_html(`<li${_attr_class("
|
|
9295
|
+
_html(`<li${_attr_class("_ee")}>Searching skills.sh…</li>`);
|
|
9296
9296
|
writeScope($scope99_id, {});
|
|
9297
9297
|
return 0;
|
|
9298
9298
|
}
|
|
@@ -9300,11 +9300,11 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9300
9300
|
_if(() => {
|
|
9301
9301
|
if (looksLikeSource(skillQuery)) {
|
|
9302
9302
|
const $scope17_id = _scope_id();
|
|
9303
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9303
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
|
|
9304
9304
|
_if(() => {
|
|
9305
9305
|
if (active.has(skillQuery.trim())) {
|
|
9306
9306
|
const $scope18_id = _scope_id();
|
|
9307
|
-
_html(`<span${_attr_class("
|
|
9307
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
|
|
9308
9308
|
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
|
|
9309
9309
|
Ch1: 3,
|
|
9310
9310
|
Chs: 2
|
|
@@ -9312,7 +9312,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9312
9312
|
return 0;
|
|
9313
9313
|
} else {
|
|
9314
9314
|
const $scope100_id = _scope_id();
|
|
9315
|
-
_html(`<span${_attr_class("
|
|
9315
|
+
_html(`<span${_attr_class("_cm")}>Add straight from this source</span>`);
|
|
9316
9316
|
writeScope($scope100_id, {});
|
|
9317
9317
|
return 1;
|
|
9318
9318
|
}
|
|
@@ -9338,16 +9338,16 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9338
9338
|
_for_of(skillHits || [], (h) => {
|
|
9339
9339
|
const $scope19_id = _scope_id();
|
|
9340
9340
|
const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
|
|
9341
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9341
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
|
|
9342
9342
|
_if(() => {
|
|
9343
9343
|
if (active.has(h.skillId)) {
|
|
9344
9344
|
const $scope20_id = _scope_id();
|
|
9345
|
-
_html(`<span${_attr_class("
|
|
9345
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
|
|
9346
9346
|
_subscribe($active__closures, writeScope($scope20_id, { Ch1: 5 }));
|
|
9347
9347
|
return 0;
|
|
9348
9348
|
} else {
|
|
9349
9349
|
const $scope101_id = _scope_id();
|
|
9350
|
-
_html(`<span${_attr_class("
|
|
9350
|
+
_html(`<span${_attr_class("_cm")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
|
|
9351
9351
|
writeScope($scope101_id, {});
|
|
9352
9352
|
return 1;
|
|
9353
9353
|
}
|
|
@@ -9395,7 +9395,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9395
9395
|
_if(() => {
|
|
9396
9396
|
if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
|
|
9397
9397
|
const $scope52_id = _scope_id();
|
|
9398
|
-
_html(`<li${_attr_class("
|
|
9398
|
+
_html(`<li${_attr_class("_ee")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
|
|
9399
9399
|
_subscribe($skillQuery__closures, writeScope($scope52_id, { Chs: 3 }));
|
|
9400
9400
|
return 0;
|
|
9401
9401
|
}
|
|
@@ -9412,22 +9412,22 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9412
9412
|
_if(() => {
|
|
9413
9413
|
{
|
|
9414
9414
|
const $scope21_id = _scope_id();
|
|
9415
|
-
_html(`<div${_attr_class("
|
|
9415
|
+
_html(`<div${_attr_class("_cA")}>`);
|
|
9416
9416
|
_if(() => {
|
|
9417
9417
|
if (skills && !skills.agents.length) {
|
|
9418
9418
|
const $scope104_id = _scope_id();
|
|
9419
|
-
_html(`<p${_attr_class("
|
|
9419
|
+
_html(`<p${_attr_class("_co")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
|
|
9420
9420
|
writeScope($scope104_id, {});
|
|
9421
9421
|
return 0;
|
|
9422
9422
|
} else if (skills && !skills.available) {
|
|
9423
9423
|
const $scope22_id = _scope_id();
|
|
9424
|
-
_html(`<p${_attr_class("
|
|
9424
|
+
_html(`<p${_attr_class("_co")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope22_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope22_id, "b")}</p>`);
|
|
9425
9425
|
_script($scope22_id, "B66");
|
|
9426
9426
|
_subscribe($active__closures, writeScope($scope22_id, { Ch1: 6 }));
|
|
9427
9427
|
return 1;
|
|
9428
9428
|
}
|
|
9429
9429
|
}, $scope21_id, "b", 1, 1, 1, 0, 1);
|
|
9430
|
-
_html(`<ul${_attr_class("
|
|
9430
|
+
_html(`<ul${_attr_class("_eg")}>`);
|
|
9431
9431
|
_for_of(skills?.global || [], (s) => {
|
|
9432
9432
|
const $scope23_id = _scope_id();
|
|
9433
9433
|
const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
|
|
@@ -9505,7 +9505,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9505
9505
|
_if(() => {
|
|
9506
9506
|
if (skills && !skills.global.length && skills.available && skills.agents.length) {
|
|
9507
9507
|
const $scope108_id = _scope_id();
|
|
9508
|
-
_html(`<p${_attr_class("
|
|
9508
|
+
_html(`<p${_attr_class("_co")}>No skills installed. Search below, or paste an owner/repo.</p>`);
|
|
9509
9509
|
writeScope($scope108_id, {});
|
|
9510
9510
|
return 0;
|
|
9511
9511
|
}
|
|
@@ -9515,18 +9515,18 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9515
9515
|
return 0;
|
|
9516
9516
|
}
|
|
9517
9517
|
}, $scope0_id, "ac", 1, 1, 1, 0, 1);
|
|
9518
|
-
_html(`</div><div${_attr_class(["
|
|
9518
|
+
_html(`</div><div${_attr_class(["_ct", "_cu"])}><div${_attr_class(["_cv", { ["_cw"]: machineOpen }])}><button${_attr_class("_cx")} aria-expanded=${machineOpen ? "true" : "false"}>`);
|
|
9519
9519
|
_set_serialize_reason(1);
|
|
9520
9520
|
const $childScope18 = _peek_scope_id();
|
|
9521
9521
|
icon_chevron_right_default({
|
|
9522
9522
|
size: 12,
|
|
9523
|
-
class: ["
|
|
9523
|
+
class: ["_cB", { ["_cC"]: machineOpen }]
|
|
9524
9524
|
});
|
|
9525
|
-
_html(`<span${_attr_class("
|
|
9525
|
+
_html(`<span${_attr_class("_cy")}>Tools</span><span${_attr_class("_cz")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
|
|
9526
9526
|
_if(() => {
|
|
9527
9527
|
if (bulk) {
|
|
9528
9528
|
const $scope34_id = _scope_id();
|
|
9529
|
-
_html(`<span${_attr_class("
|
|
9529
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
|
|
9530
9530
|
writeScope($scope34_id, {});
|
|
9531
9531
|
return 0;
|
|
9532
9532
|
} else {
|
|
@@ -9575,7 +9575,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9575
9575
|
_if(() => {
|
|
9576
9576
|
if (searching && !hits?.length) {
|
|
9577
9577
|
const $scope109_id = _scope_id();
|
|
9578
|
-
_html(`<li${_attr_class("
|
|
9578
|
+
_html(`<li${_attr_class("_ee")}>Searching the mise registry…</li>`);
|
|
9579
9579
|
writeScope($scope109_id, {});
|
|
9580
9580
|
return 0;
|
|
9581
9581
|
}
|
|
@@ -9583,23 +9583,23 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9583
9583
|
_if(() => {
|
|
9584
9584
|
if (hits && !hits.length && !searching) {
|
|
9585
9585
|
const $scope42_id = _scope_id();
|
|
9586
|
-
_html(`<li${_attr_class("
|
|
9586
|
+
_html(`<li${_attr_class("_ee")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
|
|
9587
9587
|
_subscribe($query__closures, writeScope($scope42_id, {}));
|
|
9588
9588
|
return 0;
|
|
9589
9589
|
}
|
|
9590
9590
|
}, $scope28_id, "b", 1, 1, 1, 0, 1);
|
|
9591
9591
|
_for_of(hits || [], (h) => {
|
|
9592
9592
|
const $scope29_id = _scope_id();
|
|
9593
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9593
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
|
|
9594
9594
|
_if(() => {
|
|
9595
9595
|
if (active.has(h.name)) {
|
|
9596
9596
|
const $scope30_id = _scope_id();
|
|
9597
|
-
_html(`<span${_attr_class("
|
|
9597
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
|
|
9598
9598
|
_subscribe($active__closures, writeScope($scope30_id, { Ch1: 9 }));
|
|
9599
9599
|
return 0;
|
|
9600
9600
|
} else if (h.description) {
|
|
9601
9601
|
const $scope110_id = _scope_id();
|
|
9602
|
-
_html(`<span${_attr_class("
|
|
9602
|
+
_html(`<span${_attr_class("_cm")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
|
|
9603
9603
|
writeScope($scope110_id, {});
|
|
9604
9604
|
return 1;
|
|
9605
9605
|
}
|
|
@@ -9646,11 +9646,11 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9646
9646
|
_if(() => {
|
|
9647
9647
|
if (machineOpen) {
|
|
9648
9648
|
const $scope6_id = _scope_id();
|
|
9649
|
-
_html(`<div${_attr_class("
|
|
9649
|
+
_html(`<div${_attr_class("_cA")}>`);
|
|
9650
9650
|
_if(() => {
|
|
9651
9651
|
if (setup && !setup.mise.installed) {
|
|
9652
9652
|
const $scope31_id = _scope_id();
|
|
9653
|
-
_html(`<p${_attr_class("
|
|
9653
|
+
_html(`<p${_attr_class("_co")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope31_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope31_id, "b")}</p>`);
|
|
9654
9654
|
_script($scope31_id, "B76");
|
|
9655
9655
|
_subscribe($active__closures, writeScope($scope31_id, { Ch1: 10 }));
|
|
9656
9656
|
return 0;
|
|
@@ -9660,11 +9660,11 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9660
9660
|
_if(() => {
|
|
9661
9661
|
if (self) {
|
|
9662
9662
|
const $scope46_id = _scope_id();
|
|
9663
|
-
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["
|
|
9663
|
+
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c3", "_y"])}>work</span>`);
|
|
9664
9664
|
_if(() => {
|
|
9665
9665
|
if (selfUpdating) {
|
|
9666
9666
|
const $scope112_id = _scope_id();
|
|
9667
|
-
_html(`<span${_attr_class("
|
|
9667
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
9668
9668
|
writeScope($scope112_id, {});
|
|
9669
9669
|
return 0;
|
|
9670
9670
|
} else {
|
|
@@ -9678,7 +9678,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9678
9678
|
return 0;
|
|
9679
9679
|
} else if (self.latest && self.latest !== self.version) {
|
|
9680
9680
|
const $scope48_id = _scope_id();
|
|
9681
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9681
|
+
_html(`<button${_attr_class([btnSm, "_c6"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
9682
9682
|
icon_arrow_up_default({ size: 12 });
|
|
9683
9683
|
_html(` ${_text_resume($scope48_id, "c", self.latest, 2)}</button>${_el_resume($scope48_id, "a")}`);
|
|
9684
9684
|
_script($scope48_id, "B77");
|
|
@@ -9721,11 +9721,11 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9721
9721
|
const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
|
|
9722
9722
|
const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
|
|
9723
9723
|
const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
|
|
9724
|
-
_html(`<li${_attr_class([toolRow, { ["
|
|
9724
|
+
_html(`<li${_attr_class([toolRow, { ["_c2"]: !t.installed }])}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
|
|
9725
9725
|
_if(() => {
|
|
9726
9726
|
if (active.has(t.id)) {
|
|
9727
9727
|
const $scope33_id = _scope_id();
|
|
9728
|
-
_html(`<span${_attr_class("
|
|
9728
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
|
|
9729
9729
|
_subscribe($active__closures, writeScope($scope33_id, { Ch1: 12 }));
|
|
9730
9730
|
return 0;
|
|
9731
9731
|
} else if (t.installed) {
|
|
@@ -9733,11 +9733,11 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9733
9733
|
_if(() => {
|
|
9734
9734
|
if (t.version) {
|
|
9735
9735
|
const $scope40_id = _scope_id();
|
|
9736
|
-
_html(`<button${_attr_class(["
|
|
9736
|
+
_html(`<button${_attr_class(["_c5", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
|
|
9737
9737
|
_if(() => {
|
|
9738
9738
|
if (aliasPin(t)) {
|
|
9739
9739
|
const $scope116_id = _scope_id();
|
|
9740
|
-
_html(`<span${_attr_class("
|
|
9740
|
+
_html(`<span${_attr_class("_c4")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
|
|
9741
9741
|
_subscribe($for_content7__t_pin__closures, writeScope($scope116_id, { Ca0: 1 }));
|
|
9742
9742
|
return 0;
|
|
9743
9743
|
}
|
|
@@ -9756,7 +9756,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9756
9756
|
_if(() => {
|
|
9757
9757
|
if (outdated(t)) {
|
|
9758
9758
|
const $scope57_id = _scope_id();
|
|
9759
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9759
|
+
_html(`<button${_attr_class([btnSm, "_c6"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
9760
9760
|
icon_arrow_up_default({ size: 12 });
|
|
9761
9761
|
_html(` ${_text_resume($scope57_id, "c", t.latest, 2)}</button>${_el_resume($scope57_id, "a")}`);
|
|
9762
9762
|
_script($scope57_id, "B79");
|
|
@@ -9764,7 +9764,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9764
9764
|
return 0;
|
|
9765
9765
|
} else if (t.newest) {
|
|
9766
9766
|
const $scope58_id = _scope_id();
|
|
9767
|
-
_html(`<button${_attr_class(["
|
|
9767
|
+
_html(`<button${_attr_class(["_c5", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
|
|
9768
9768
|
_script($scope58_id, "B80");
|
|
9769
9769
|
_subscribe($for_content7__t_newest__closures, _subscribe($for_content7__t_pin__closures, _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t_label__closures, writeScope($scope58_id, { Cy: 1 })))));
|
|
9770
9770
|
return 1;
|
|
@@ -9877,14 +9877,14 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9877
9877
|
label: "Dark"
|
|
9878
9878
|
}
|
|
9879
9879
|
];
|
|
9880
|
-
_html(`</div></div></section><section${_attr_class("
|
|
9880
|
+
_html(`</div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_ce")}><h2${_attr("id", appearanceId)}${_attr_class("_cr")}>Appearance</h2></div><div${_attr_class(["_ci", "_dj"])}><div${_attr_class("_dv")}><img${_attr_class("_dw")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dx")}><span${_attr_class("_dy")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dz")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dk")}><span${_attr_class("_dl")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
|
|
9881
9881
|
setInstance({ name: v });
|
|
9882
|
-
}, "B1", $scope0_id))}${_attr_class(["_Y", "
|
|
9882
|
+
}, "B1", $scope0_id))}${_attr_class(["_Y", "_dm"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dk")}><span${_attr_class("_dl")}>Theme</span><span${_attr_class("_do")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
|
|
9883
9883
|
_for_of(themeOpts, (opt) => {
|
|
9884
9884
|
const $scope49_id = _scope_id();
|
|
9885
9885
|
_html(`<button type=button${_attr_class([
|
|
9886
9886
|
"_bf",
|
|
9887
|
-
"
|
|
9887
|
+
"_dA",
|
|
9888
9888
|
{ ["_be"]: themeMode === opt.id }
|
|
9889
9889
|
])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
|
|
9890
9890
|
if (opt.id === "system") {
|
|
@@ -9904,28 +9904,28 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9904
9904
|
_: _scope_with_id($scope0_id)
|
|
9905
9905
|
});
|
|
9906
9906
|
}, "id", $scope0_id, "b5", 1, 0, 1, 0, 1);
|
|
9907
|
-
_html(`</span><span${_attr_class(["_o", "
|
|
9907
|
+
_html(`</span><span${_attr_class(["_o", "_dp"])}>`);
|
|
9908
9908
|
_attr_select_value($scope0_id, "b7", themeMode, _resume(function(v) {
|
|
9909
9909
|
setThemeMode(v);
|
|
9910
9910
|
}, "B2", $scope0_id), () => {
|
|
9911
|
-
_html(`<select${_attr_class(["_p", "
|
|
9911
|
+
_html(`<select${_attr_class(["_p", "_dq"])} aria-label="Color theme">`);
|
|
9912
9912
|
forOf(themeOpts, (opt) => {
|
|
9913
9913
|
_scope_id();
|
|
9914
9914
|
_html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
|
|
9915
9915
|
});
|
|
9916
9916
|
_html("</select>");
|
|
9917
9917
|
});
|
|
9918
|
-
_html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("
|
|
9919
|
-
"
|
|
9920
|
-
"
|
|
9921
|
-
{ ["
|
|
9918
|
+
_html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dk")}><span${_attr_class("_dl")}>Accent</span><span${_attr_class("_dB")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
|
|
9919
|
+
"_dC",
|
|
9920
|
+
"_dF",
|
|
9921
|
+
{ ["_dD"]: !accent }
|
|
9922
9922
|
])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
|
|
9923
9923
|
_if(() => {
|
|
9924
9924
|
if (!accent) {
|
|
9925
9925
|
const $scope126_id = _scope_id();
|
|
9926
9926
|
icon_check_default({
|
|
9927
9927
|
size: 12,
|
|
9928
|
-
class: "
|
|
9928
|
+
class: "_dE"
|
|
9929
9929
|
});
|
|
9930
9930
|
$si__input_instance_accent && writeScope($scope126_id, {});
|
|
9931
9931
|
return 0;
|
|
@@ -9933,13 +9933,13 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9933
9933
|
}, $scope0_id, "bb", $sg__input_instance_accent, 1, 1, "</button>", 1);
|
|
9934
9934
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
9935
9935
|
const $scope79_id = _scope_id();
|
|
9936
|
-
_html(`<button type=button${_attr_class(["
|
|
9936
|
+
_html(`<button type=button${_attr_class(["_dC", { ["_dD"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
|
|
9937
9937
|
_if(() => {
|
|
9938
9938
|
if (accent === p.value) {
|
|
9939
9939
|
const $scope127_id = _scope_id();
|
|
9940
9940
|
icon_check_default({
|
|
9941
9941
|
size: 12,
|
|
9942
|
-
class: "
|
|
9942
|
+
class: "_dE"
|
|
9943
9943
|
});
|
|
9944
9944
|
$si__input_instance_accent && writeScope($scope127_id, {});
|
|
9945
9945
|
return 0;
|
|
@@ -9953,18 +9953,18 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9953
9953
|
}, "value", $scope0_id, "bc", $sg__input_instance_accent, 0, 1, 0, 1);
|
|
9954
9954
|
const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
|
|
9955
9955
|
_html(`<label${_attr_class([
|
|
9956
|
-
"
|
|
9957
|
-
"
|
|
9958
|
-
{ ["
|
|
9956
|
+
"_dC",
|
|
9957
|
+
"_dG",
|
|
9958
|
+
{ ["_dD"]: customOn }
|
|
9959
9959
|
])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "be", accent || "#3556d8", _resume(function(v) {
|
|
9960
9960
|
setInstance({ accent: v });
|
|
9961
|
-
}, "B3", $scope0_id))}${_attr_class("
|
|
9961
|
+
}, "B3", $scope0_id))}${_attr_class("_dH")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
|
|
9962
9962
|
_if(() => {
|
|
9963
9963
|
if (customOn) {
|
|
9964
9964
|
const $scope128_id = _scope_id();
|
|
9965
9965
|
icon_check_default({
|
|
9966
9966
|
size: 12,
|
|
9967
|
-
class: "
|
|
9967
|
+
class: "_dE"
|
|
9968
9968
|
});
|
|
9969
9969
|
$si__input_instance_accent && writeScope($scope128_id, {});
|
|
9970
9970
|
return 0;
|
|
@@ -9975,16 +9975,16 @@ var settings_page_default = _template("B", (input) => {
|
|
|
9975
9975
|
return 1;
|
|
9976
9976
|
}
|
|
9977
9977
|
}, $scope0_id, "bf", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
|
|
9978
|
-
_html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("
|
|
9978
|
+
_html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_ce")}><h2${_attr("id", backupId)}${_attr_class("_cr")}>Backup</h2></div><div${_attr_class(["_ci", "_cs"])}><div${_attr_class("_ct")}><div${_attr_class("_dI")}><div${_attr_class("_cj")}>`);
|
|
9979
9979
|
_if(() => {
|
|
9980
9980
|
if (backupBusy === "preflight") {
|
|
9981
9981
|
const $scope66_id = _scope_id();
|
|
9982
|
-
_html(`<span${_attr_class("
|
|
9982
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
|
|
9983
9983
|
writeScope($scope66_id, {});
|
|
9984
9984
|
return 0;
|
|
9985
9985
|
} else {
|
|
9986
9986
|
const $scope130_id = _scope_id();
|
|
9987
|
-
_html(`<span${_attr_class("
|
|
9987
|
+
_html(`<span${_attr_class("_cm")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
|
|
9988
9988
|
writeScope($scope130_id, {});
|
|
9989
9989
|
return 1;
|
|
9990
9990
|
}
|
|
@@ -10002,7 +10002,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10002
10002
|
_if(() => {
|
|
10003
10003
|
if (preflight && !backupBusy) {
|
|
10004
10004
|
const $scope68_id = _scope_id();
|
|
10005
|
-
_html(`<div${_attr_class("
|
|
10005
|
+
_html(`<div${_attr_class("_dK")}><p${_attr_class("_dL")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dL")}>Not in the file: `);
|
|
10006
10006
|
_if(() => {
|
|
10007
10007
|
if (preflight.unpushed) {
|
|
10008
10008
|
const $scope69_id = _scope_id();
|
|
@@ -10019,15 +10019,15 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10019
10019
|
return 0;
|
|
10020
10020
|
}
|
|
10021
10021
|
}, $scope68_id, "m");
|
|
10022
|
-
_html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("
|
|
10022
|
+
_html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dM")}>`);
|
|
10023
10023
|
_for_of(preflight.workspaces, (w) => {
|
|
10024
10024
|
const $scope132_id = _scope_id();
|
|
10025
10025
|
const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
|
|
10026
|
-
_html(`<li${_attr_class("
|
|
10026
|
+
_html(`<li${_attr_class("_dN")}><span${_attr_class("_ck")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dM")}>`);
|
|
10027
10027
|
_for_of(w.repos, (r) => {
|
|
10028
10028
|
const $scope133_id = _scope_id();
|
|
10029
10029
|
const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
|
|
10030
|
-
_html(`<li${_attr_class("
|
|
10030
|
+
_html(`<li${_attr_class("_dO")}><span${_attr_class("_dP")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
|
|
10031
10031
|
_for_of(r.unpushed, (b) => {
|
|
10032
10032
|
const $scope134_id = _scope_id();
|
|
10033
10033
|
_html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope134_id, "b", b.count)} unpushed `);
|
|
@@ -10046,10 +10046,10 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10046
10046
|
_if(() => {
|
|
10047
10047
|
if (r.modified.length || r.untracked.length || r.ignored.length) {
|
|
10048
10048
|
const $scope135_id = _scope_id();
|
|
10049
|
-
_html(`<ul${_attr_class("
|
|
10049
|
+
_html(`<ul${_attr_class("_dQ")}>`);
|
|
10050
10050
|
_for_of(r.modified, (f) => {
|
|
10051
10051
|
const $scope138_id = _scope_id();
|
|
10052
|
-
_html(`<li${_attr_class("
|
|
10052
|
+
_html(`<li${_attr_class("_dR")}><span${_attr_class([
|
|
10053
10053
|
"_N",
|
|
10054
10054
|
"_P",
|
|
10055
10055
|
tone.warn
|
|
@@ -10058,18 +10058,18 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10058
10058
|
}, (f) => f, $scope135_id, "b", 1, 1, 1, 0, 1);
|
|
10059
10059
|
_for_of(r.untracked, (f) => {
|
|
10060
10060
|
const $scope139_id = _scope_id();
|
|
10061
|
-
_html(`<li${_attr_class("
|
|
10061
|
+
_html(`<li${_attr_class("_dR")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
|
|
10062
10062
|
writeScope($scope139_id, {});
|
|
10063
10063
|
}, (f) => f, $scope135_id, "c", 1, 1, 1, 0, 1);
|
|
10064
10064
|
_for_of(r.ignored, (f) => {
|
|
10065
10065
|
const $scope140_id = _scope_id();
|
|
10066
|
-
_html(`<li${_attr_class("
|
|
10066
|
+
_html(`<li${_attr_class("_dR")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
|
|
10067
10067
|
writeScope($scope140_id, {});
|
|
10068
10068
|
}, (f) => f, $scope135_id, "d", 1, 1, 1, 0, 1);
|
|
10069
10069
|
_if(() => {
|
|
10070
10070
|
if (r.more) {
|
|
10071
10071
|
const $scope136_id = _scope_id();
|
|
10072
|
-
_html(`<li${_attr_class(["
|
|
10072
|
+
_html(`<li${_attr_class(["_dR", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
|
|
10073
10073
|
_subscribe($for_content18__r_more__closures, writeScope($scope136_id, {}));
|
|
10074
10074
|
return 0;
|
|
10075
10075
|
}
|
|
@@ -10094,27 +10094,27 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10094
10094
|
i: $for_content17__w_name__closures
|
|
10095
10095
|
});
|
|
10096
10096
|
}, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
|
|
10097
|
-
_html(`<div${_attr_class("
|
|
10097
|
+
_html(`<div${_attr_class("_dS")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
|
|
10098
10098
|
_script($scope68_id, "B86");
|
|
10099
10099
|
writeScope($scope68_id, {});
|
|
10100
10100
|
return 0;
|
|
10101
10101
|
}
|
|
10102
10102
|
}, $scope0_id, "bo", 1, 1, 1, 0, 1);
|
|
10103
|
-
_html(`</div><div${_attr_class("
|
|
10103
|
+
_html(`</div><div${_attr_class("_ct")}><div${_attr_class("_dI")}><div${_attr_class("_cj")}>`);
|
|
10104
10104
|
_if(() => {
|
|
10105
10105
|
if (backupBusy === "restore") {
|
|
10106
10106
|
const $scope67_id = _scope_id();
|
|
10107
|
-
_html(`<span${_attr_class("
|
|
10107
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
|
|
10108
10108
|
writeScope($scope67_id, {});
|
|
10109
10109
|
return 0;
|
|
10110
10110
|
} else if (restoreDone) {
|
|
10111
10111
|
const $scope75_id = _scope_id();
|
|
10112
|
-
_html(`<span${_attr_class("
|
|
10112
|
+
_html(`<span${_attr_class("_cm")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
|
|
10113
10113
|
writeScope($scope75_id, {});
|
|
10114
10114
|
return 1;
|
|
10115
10115
|
} else {
|
|
10116
10116
|
const $scope141_id = _scope_id();
|
|
10117
|
-
_html(`<span${_attr_class("
|
|
10117
|
+
_html(`<span${_attr_class("_cm")}>Load a backup file. Repos clone in the background.</span>`);
|
|
10118
10118
|
writeScope($scope141_id, {});
|
|
10119
10119
|
return 2;
|
|
10120
10120
|
}
|
|
@@ -10122,7 +10122,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10122
10122
|
_if(() => {
|
|
10123
10123
|
if (!restorePreview && backupBusy !== "restore") {
|
|
10124
10124
|
const $scope77_id = _scope_id();
|
|
10125
|
-
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("
|
|
10125
|
+
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dJ")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
|
|
10126
10126
|
_script($scope77_id, "B87");
|
|
10127
10127
|
writeScope($scope77_id, {});
|
|
10128
10128
|
return 0;
|
|
@@ -10133,14 +10133,14 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10133
10133
|
if (restorePreview && backupBusy !== "restore") {
|
|
10134
10134
|
const $scope70_id = _scope_id();
|
|
10135
10135
|
const { preview } = restorePreview;
|
|
10136
|
-
_html(`<div${_attr_class("
|
|
10136
|
+
_html(`<div${_attr_class("_dK")}><p${_attr_class("_dL")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
|
|
10137
10137
|
_if(() => {
|
|
10138
10138
|
if (preview.workspaces.length) {
|
|
10139
10139
|
const $scope71_id = _scope_id();
|
|
10140
10140
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
10141
10141
|
_for_of(preview.workspaces, (w) => {
|
|
10142
10142
|
const $scope72_id = _scope_id();
|
|
10143
|
-
_html(`<li><label${_attr_class(["
|
|
10143
|
+
_html(`<li><label${_attr_class(["_dU", { ["_dW"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dV")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
|
|
10144
10144
|
_if(() => {
|
|
10145
10145
|
if (w.status === "archived") {
|
|
10146
10146
|
const $scope145_id = _scope_id();
|
|
@@ -10162,7 +10162,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10162
10162
|
return 1;
|
|
10163
10163
|
}
|
|
10164
10164
|
}, $scope72_id, "h", 1, 1, 1, 0, 1);
|
|
10165
|
-
_html(`</span><span${_attr_class("
|
|
10165
|
+
_html(`</span><span${_attr_class("_cm")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
|
|
10166
10166
|
_script($scope72_id, "B88");
|
|
10167
10167
|
_subscribe($restoreWs__closures, writeScope($scope72_id, {
|
|
10168
10168
|
n: w?.unknownHost,
|
|
@@ -10173,7 +10173,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10173
10173
|
return 0;
|
|
10174
10174
|
} else {
|
|
10175
10175
|
const $scope143_id = _scope_id();
|
|
10176
|
-
_html(`<p${_attr_class("
|
|
10176
|
+
_html(`<p${_attr_class("_co")}>No workspaces in this file.</p>`);
|
|
10177
10177
|
writeScope($scope143_id, {});
|
|
10178
10178
|
return 1;
|
|
10179
10179
|
}
|
|
@@ -10213,7 +10213,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10213
10213
|
_if(() => {
|
|
10214
10214
|
if (p.total) {
|
|
10215
10215
|
const $scope74_id = _scope_id();
|
|
10216
|
-
_html(`<li><label${_attr_class(["
|
|
10216
|
+
_html(`<li><label${_attr_class(["_dU", { ["_dW"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dV")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cm")}>`);
|
|
10217
10217
|
_if(() => {
|
|
10218
10218
|
if (p.key === "settings") {
|
|
10219
10219
|
const $scope142_id = _scope_id();
|
|
@@ -10260,7 +10260,7 @@ var settings_page_default = _template("B", (input) => {
|
|
|
10260
10260
|
i: $for_content10__p_total__closures
|
|
10261
10261
|
});
|
|
10262
10262
|
}, "key", $scope70_id, "h");
|
|
10263
|
-
_html(`</ul><div${_attr_class("
|
|
10263
|
+
_html(`</ul><div${_attr_class("_dS")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
|
|
10264
10264
|
_script($scope70_id, "B90");
|
|
10265
10265
|
writeScope($scope70_id, {});
|
|
10266
10266
|
return 0;
|
|
@@ -10497,13 +10497,13 @@ function vapidKey(base64) {
|
|
|
10497
10497
|
const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
|
|
10498
10498
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
10499
10499
|
}
|
|
10500
|
-
var iconBtn = "
|
|
10501
|
-
var settingsDot = "
|
|
10502
|
-
var navToggle = "
|
|
10500
|
+
var iconBtn = "_bz _l";
|
|
10501
|
+
var settingsDot = "_bA _bb";
|
|
10502
|
+
var navToggle = "_bE _l";
|
|
10503
10503
|
//#endregion
|
|
10504
10504
|
//#region src/styles/session-pop.css.ts
|
|
10505
|
-
var sessionPop = "
|
|
10506
|
-
var sessionPopBtn = "
|
|
10505
|
+
var sessionPop = "_bw _9";
|
|
10506
|
+
var sessionPopBtn = "_bx _I";
|
|
10507
10507
|
_template("X", (input) => {
|
|
10508
10508
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
10509
10509
|
const $scope0_id = _scope_id();
|
|
@@ -10521,7 +10521,7 @@ _template("X", (input) => {
|
|
|
10521
10521
|
});
|
|
10522
10522
|
//#endregion
|
|
10523
10523
|
//#region src/tags/icons/icon-settings.marko
|
|
10524
|
-
var icon_settings_default = _template("
|
|
10524
|
+
var icon_settings_default = _template("rb", (input) => {
|
|
10525
10525
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
10526
10526
|
const $scope0_id = _scope_id();
|
|
10527
10527
|
_set_serialize_reason({
|
|
@@ -10557,14 +10557,14 @@ function activeAgent(session) {
|
|
|
10557
10557
|
const command = session.state?.command?.trim();
|
|
10558
10558
|
return command && agentFromCommand(command) || session.agent;
|
|
10559
10559
|
}
|
|
10560
|
-
var heroTag = "
|
|
10561
|
-
var rowState = "
|
|
10562
|
-
var prChip$1 = "
|
|
10563
|
-
var portChip = "
|
|
10560
|
+
var heroTag = "_eC _N _Q";
|
|
10561
|
+
var rowState = "_eO _N";
|
|
10562
|
+
var prChip$1 = "_h5 _u _h4";
|
|
10563
|
+
var portChip = "_h6 _u _h4";
|
|
10564
10564
|
var prState = {
|
|
10565
|
-
open: "
|
|
10566
|
-
merged: "
|
|
10567
|
-
closed: "
|
|
10565
|
+
open: "_h_",
|
|
10566
|
+
merged: "_ia",
|
|
10567
|
+
closed: "_ib"
|
|
10568
10568
|
};
|
|
10569
10569
|
//#endregion
|
|
10570
10570
|
//#region src/tags/icons/icon-diff.marko
|
|
@@ -10645,7 +10645,7 @@ var side_nav_chips_default = _template("C", (input) => {
|
|
|
10645
10645
|
const name = repo.full_name.split("/").at(-1);
|
|
10646
10646
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
|
|
10647
10647
|
}, "C3", $scope1_id);
|
|
10648
|
-
_html(`<div${_attr_class("
|
|
10648
|
+
_html(`<div${_attr_class("_h3")}>`);
|
|
10649
10649
|
_for_of(repos, (repo) => {
|
|
10650
10650
|
const $scope2_id = _scope_id();
|
|
10651
10651
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -10661,11 +10661,11 @@ var side_nav_chips_default = _template("C", (input) => {
|
|
|
10661
10661
|
[prState.merged]: pr$1.state === "MERGED",
|
|
10662
10662
|
[prState.closed]: pr$1.state === "CLOSED"
|
|
10663
10663
|
}
|
|
10664
|
-
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["
|
|
10664
|
+
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_h7", { ["_ie"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
|
|
10665
10665
|
_if(() => {
|
|
10666
10666
|
if (open) {
|
|
10667
10667
|
const $scope4_id = _scope_id();
|
|
10668
|
-
_html(`<a${_attr_class(["
|
|
10668
|
+
_html(`<a${_attr_class(["_h7", "_h8"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
|
|
10669
10669
|
icon_diff_default({ size: 12 });
|
|
10670
10670
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
10671
10671
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -10673,9 +10673,9 @@ var side_nav_chips_default = _template("C", (input) => {
|
|
|
10673
10673
|
} else {
|
|
10674
10674
|
const $scope5_id = _scope_id();
|
|
10675
10675
|
_html(`<button type=button${_attr_class([
|
|
10676
|
-
"
|
|
10677
|
-
"
|
|
10678
|
-
"
|
|
10676
|
+
"_h7",
|
|
10677
|
+
"_h8",
|
|
10678
|
+
"_h9"
|
|
10679
10679
|
])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
|
|
10680
10680
|
icon_xmark_default({ size: 12 });
|
|
10681
10681
|
_html(`</button>${_el_resume($scope5_id, "a")}`);
|
|
@@ -10703,12 +10703,12 @@ var side_nav_chips_default = _template("C", (input) => {
|
|
|
10703
10703
|
_if(() => {
|
|
10704
10704
|
if (dead.has(p.port)) {
|
|
10705
10705
|
const $scope7_id = _scope_id();
|
|
10706
|
-
_html(`<span${_attr_class(["
|
|
10706
|
+
_html(`<span${_attr_class(["_h7", "_ic"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
|
|
10707
10707
|
_subscribe($dead__closures, writeScope($scope7_id, { Cy: 1 }));
|
|
10708
10708
|
return 0;
|
|
10709
10709
|
} else {
|
|
10710
10710
|
const $scope8_id = _scope_id();
|
|
10711
|
-
_html(`<button type=button${_attr_class(["
|
|
10711
|
+
_html(`<button type=button${_attr_class(["_h7", "_id"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
|
|
10712
10712
|
_script($scope8_id, "C6");
|
|
10713
10713
|
writeScope($scope8_id, {});
|
|
10714
10714
|
return 1;
|
|
@@ -10717,9 +10717,9 @@ var side_nav_chips_default = _template("C", (input) => {
|
|
|
10717
10717
|
const $childScope = _peek_scope_id();
|
|
10718
10718
|
arm_button_default({
|
|
10719
10719
|
class: [
|
|
10720
|
-
"
|
|
10721
|
-
"
|
|
10722
|
-
"
|
|
10720
|
+
"_h7",
|
|
10721
|
+
"_h8",
|
|
10722
|
+
"_h9"
|
|
10723
10723
|
],
|
|
10724
10724
|
title: `Kill ${p.cmd} (pid ${p.pid})`,
|
|
10725
10725
|
armedTitle: "Kill?",
|
|
@@ -10766,15 +10766,15 @@ var side_nav_chips_default = _template("C", (input) => {
|
|
|
10766
10766
|
});
|
|
10767
10767
|
_resume_branch($scope0_id);
|
|
10768
10768
|
});
|
|
10769
|
-
var railBtn = "
|
|
10770
|
-
var wsBtn = "
|
|
10771
|
-
var rowIcon = "
|
|
10772
|
-
var close = "
|
|
10773
|
-
var sessRename$1 = "
|
|
10774
|
-
var sessBtn$1 = "
|
|
10769
|
+
var railBtn = "_fh _l";
|
|
10770
|
+
var wsBtn = "_fl _I";
|
|
10771
|
+
var rowIcon = "_fo _3 _l";
|
|
10772
|
+
var close = "_fp _6 _l _7";
|
|
10773
|
+
var sessRename$1 = "_fv _J";
|
|
10774
|
+
var sessBtn$1 = "_fx _I";
|
|
10775
10775
|
//#endregion
|
|
10776
10776
|
//#region src/tags/icons/icon-manage.marko
|
|
10777
|
-
var icon_manage_default = _template("
|
|
10777
|
+
var icon_manage_default = _template("lb", (input) => {
|
|
10778
10778
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
10779
10779
|
const $scope0_id = _scope_id();
|
|
10780
10780
|
_set_serialize_reason({
|
|
@@ -10886,7 +10886,7 @@ var side_nav_item_default = _template("D", (input) => {
|
|
|
10886
10886
|
_if(() => {
|
|
10887
10887
|
if (input.rail) {
|
|
10888
10888
|
const $scope2_id = _scope_id();
|
|
10889
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
10889
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fe"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${_text_resume($scope2_id, "b", input.index === void 0 ? "·" : input.index + 1, _serialize_guard($scope0_reason, 18))}<span${_attr_class([
|
|
10890
10890
|
"_A",
|
|
10891
10891
|
phase[dot$1],
|
|
10892
10892
|
"_bb"
|
|
@@ -10896,31 +10896,31 @@ var side_nav_item_default = _template("D", (input) => {
|
|
|
10896
10896
|
} else if (ws$1.pending) {
|
|
10897
10897
|
const $scope3_id = _scope_id();
|
|
10898
10898
|
_html(`<section${_attr_class([
|
|
10899
|
-
"
|
|
10900
|
-
"
|
|
10901
|
-
{ ["
|
|
10902
|
-
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("
|
|
10899
|
+
"_fj",
|
|
10900
|
+
"_fz",
|
|
10901
|
+
{ ["_fi"]: input.page }
|
|
10902
|
+
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fk")}><div${_attr_class(wsBtn)}>`);
|
|
10903
10903
|
_if(() => {
|
|
10904
10904
|
if (ws$1.pending_error) {
|
|
10905
10905
|
const $scope11_id = _scope_id();
|
|
10906
10906
|
icon_warning_default({
|
|
10907
10907
|
size: 12,
|
|
10908
|
-
class: "
|
|
10908
|
+
class: "_fB"
|
|
10909
10909
|
});
|
|
10910
10910
|
$si__input_workspace && writeScope($scope11_id, {});
|
|
10911
10911
|
return 0;
|
|
10912
10912
|
} else {
|
|
10913
10913
|
const $scope12_id = _scope_id();
|
|
10914
|
-
_html(`<span${_attr_class(["_G", "
|
|
10914
|
+
_html(`<span${_attr_class(["_G", "_fA"])}></span>`);
|
|
10915
10915
|
$si__input_workspace && writeScope($scope12_id, {});
|
|
10916
10916
|
return 1;
|
|
10917
10917
|
}
|
|
10918
10918
|
}, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
|
|
10919
|
-
_html(`<span${_attr_class("
|
|
10919
|
+
_html(`<span${_attr_class("_fr")}><span${_attr_class("_fs")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_fD")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : restoreLine || "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div>`);
|
|
10920
10920
|
_if(() => {
|
|
10921
10921
|
if (ws$1.pending_error && !retrying) {
|
|
10922
10922
|
const $scope10_id = _scope_id();
|
|
10923
|
-
_html(`<div${_attr_class("
|
|
10923
|
+
_html(`<div${_attr_class("_fC")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
|
|
10924
10924
|
arm_button_default({
|
|
10925
10925
|
class: ["_q", btnSm],
|
|
10926
10926
|
title: "Delete workspace",
|
|
@@ -10951,11 +10951,11 @@ var side_nav_item_default = _template("D", (input) => {
|
|
|
10951
10951
|
const $scope4_id = _scope_id();
|
|
10952
10952
|
const sessions$1 = input.sessions || [];
|
|
10953
10953
|
const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
|
|
10954
|
-
_html(`<section${_attr_class(["
|
|
10955
|
-
["
|
|
10954
|
+
_html(`<section${_attr_class(["_fj", {
|
|
10955
|
+
["_fe"]: input.current,
|
|
10956
10956
|
["_bc"]: input.current,
|
|
10957
|
-
["
|
|
10958
|
-
}])}><div${_attr_class("
|
|
10957
|
+
["_fg"]: input.menuOpen
|
|
10958
|
+
}])}><div${_attr_class("_fk")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class(["_A", phase[dot$1]])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
|
|
10959
10959
|
_if(() => {
|
|
10960
10960
|
if (sessions$1.length === 1) {
|
|
10961
10961
|
const $scope14_id = _scope_id();
|
|
@@ -10967,7 +10967,7 @@ var side_nav_item_default = _template("D", (input) => {
|
|
|
10967
10967
|
icon_agent_default({
|
|
10968
10968
|
agent: activeAgent(sessions$1[0]),
|
|
10969
10969
|
size: 12,
|
|
10970
|
-
class: "
|
|
10970
|
+
class: "_fq"
|
|
10971
10971
|
});
|
|
10972
10972
|
$si__input_sessions && writeScope($scope14_id, {
|
|
10973
10973
|
_: _scope_with_id($scope4_id),
|
|
@@ -10976,7 +10976,7 @@ var side_nav_item_default = _template("D", (input) => {
|
|
|
10976
10976
|
return 0;
|
|
10977
10977
|
}
|
|
10978
10978
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview);
|
|
10979
|
-
_html(`<span${_attr_class("
|
|
10979
|
+
_html(`<span${_attr_class("_fr")}><span${_attr_class("_fs")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span></span> </a>${_el_resume($scope4_id, "c", $sg__input_workspace)}<div${_attr_class("_fm")}>`);
|
|
10980
10980
|
_if(() => {
|
|
10981
10981
|
if (input.onNewSession) {
|
|
10982
10982
|
const $scope5_id = _scope_id();
|
|
@@ -11004,19 +11004,19 @@ var side_nav_item_default = _template("D", (input) => {
|
|
|
11004
11004
|
return 0;
|
|
11005
11005
|
}
|
|
11006
11006
|
}, $scope4_id, "k", $sg__input_onReview, $sg__input_onReview, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview, 0, 1);
|
|
11007
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
11007
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_ff"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
11008
11008
|
icon_manage_default({ size: 12 });
|
|
11009
|
-
_html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("
|
|
11009
|
+
_html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_fw")}>`);
|
|
11010
11010
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
11011
11011
|
const $scope6_id = _scope_id();
|
|
11012
|
-
_html(`<div${_attr_class(["
|
|
11012
|
+
_html(`<div${_attr_class(["_fn", { ["_fe"]: s.id === input.currentTab }])}>`);
|
|
11013
11013
|
_if(() => {
|
|
11014
11014
|
if (renamingId === s.id) {
|
|
11015
11015
|
const $scope7_id = _scope_id();
|
|
11016
11016
|
_html(`<span${_attr_class([
|
|
11017
11017
|
"_A",
|
|
11018
11018
|
phase[sessionPhase(s.state)],
|
|
11019
|
-
"
|
|
11019
|
+
"_fu"
|
|
11020
11020
|
])}></span>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
|
|
11021
11021
|
_set_serialize_reason({
|
|
11022
11022
|
1: $sg__input_sessions,
|
|
@@ -11026,7 +11026,7 @@ var side_nav_item_default = _template("D", (input) => {
|
|
|
11026
11026
|
icon_agent_default({
|
|
11027
11027
|
agent: activeAgent(s),
|
|
11028
11028
|
size: 12,
|
|
11029
|
-
class: "
|
|
11029
|
+
class: "_fy"
|
|
11030
11030
|
});
|
|
11031
11031
|
const $childScope3 = _peek_scope_id();
|
|
11032
11032
|
rename_input_default({
|
|
@@ -11057,9 +11057,9 @@ var side_nav_item_default = _template("D", (input) => {
|
|
|
11057
11057
|
icon_agent_default({
|
|
11058
11058
|
agent: activeAgent(s),
|
|
11059
11059
|
size: 12,
|
|
11060
|
-
class: "
|
|
11060
|
+
class: "_fy"
|
|
11061
11061
|
});
|
|
11062
|
-
_html(`<span${_attr_class("
|
|
11062
|
+
_html(`<span${_attr_class("_ft")}>${_text_resume($scope8_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope8_id, "a", _serialize_guard($scope0_reason, 3))}<button${_attr_class(rowIcon)} title="Rename session">`);
|
|
11063
11063
|
icon_edit_default({ size: 12 });
|
|
11064
11064
|
_html(`</button>${_el_resume($scope8_id, "f")}`);
|
|
11065
11065
|
arm_button_default({
|
|
@@ -11182,11 +11182,11 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11182
11182
|
const sessions = input.sessions || st?.sessions || [];
|
|
11183
11183
|
const manySessions = sessions.length > 1;
|
|
11184
11184
|
const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
|
|
11185
|
-
_html(`<div${_attr_class("
|
|
11185
|
+
_html(`<div${_attr_class("_ey")}>`);
|
|
11186
11186
|
_if(() => {
|
|
11187
11187
|
if (ws) {
|
|
11188
11188
|
const $scope1_id = _scope_id();
|
|
11189
|
-
_html(`<section${_attr_class("
|
|
11189
|
+
_html(`<section${_attr_class("_ez")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_eA")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
|
|
11190
11190
|
_if(() => {
|
|
11191
11191
|
if (sessions.length === 1) {
|
|
11192
11192
|
const $scope8_id = _scope_id();
|
|
@@ -11198,7 +11198,7 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11198
11198
|
icon_agent_default({
|
|
11199
11199
|
agent: activeAgent(sessions[0]),
|
|
11200
11200
|
size: 16,
|
|
11201
|
-
class: "
|
|
11201
|
+
class: "_eE"
|
|
11202
11202
|
});
|
|
11203
11203
|
$si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
|
|
11204
11204
|
_: _scope_with_id($scope1_id),
|
|
@@ -11207,14 +11207,14 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11207
11207
|
return 0;
|
|
11208
11208
|
}
|
|
11209
11209
|
}, $scope1_id, "d", $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions);
|
|
11210
|
-
_html(`<span${_attr_class("
|
|
11210
|
+
_html(`<span${_attr_class("_eB")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_eD")}>${_text_resume($scope1_id, "i", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
|
|
11211
11211
|
_if(() => {
|
|
11212
11212
|
if (manySessions) {
|
|
11213
11213
|
const $scope2_id = _scope_id();
|
|
11214
|
-
_html(`<div${_attr_class("
|
|
11214
|
+
_html(`<div${_attr_class("_eF")}>`);
|
|
11215
11215
|
_for_of(sessions, (s) => {
|
|
11216
11216
|
const $scope3_id = _scope_id();
|
|
11217
|
-
_html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["
|
|
11217
|
+
_html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_eH", { ["_eG"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
|
|
11218
11218
|
_set_serialize_reason({
|
|
11219
11219
|
1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
|
|
11220
11220
|
2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
|
|
@@ -11224,7 +11224,7 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11224
11224
|
agent: activeAgent(s),
|
|
11225
11225
|
size: 14
|
|
11226
11226
|
});
|
|
11227
|
-
_html(`<span${_attr_class("
|
|
11227
|
+
_html(`<span${_attr_class("_eI")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 7))}`);
|
|
11228
11228
|
$si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab && _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_tab && $input_tab__closures, writeScope($scope3_id, {
|
|
11229
11229
|
h: $si__input_tab && s?.id,
|
|
11230
11230
|
_: _scope_with_id($scope2_id),
|
|
@@ -11253,7 +11253,7 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11253
11253
|
_if(() => {
|
|
11254
11254
|
if (input.ids.length) {
|
|
11255
11255
|
const $scope4_id = _scope_id();
|
|
11256
|
-
_html(`<div${_attr_class("
|
|
11256
|
+
_html(`<div${_attr_class("_eJ")}>`);
|
|
11257
11257
|
_for_of(input.ids, (id) => {
|
|
11258
11258
|
const $scope5_id = _scope_id();
|
|
11259
11259
|
const w = input.byId.get(id);
|
|
@@ -11297,7 +11297,7 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11297
11297
|
const rp = phaseOf(rs);
|
|
11298
11298
|
const rowSessions = rs?.sessions || [];
|
|
11299
11299
|
const many = rowSessions.length > 1;
|
|
11300
|
-
_html(`<div${_attr_class("
|
|
11300
|
+
_html(`<div${_attr_class("_eK")}><a${_attr("href", `/w/${id}`)}${_attr_class("_eL")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
|
|
11301
11301
|
_if(() => {
|
|
11302
11302
|
if (rowSessions.length === 1) {
|
|
11303
11303
|
const $scope9_id = _scope_id();
|
|
@@ -11309,7 +11309,7 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11309
11309
|
icon_agent_default({
|
|
11310
11310
|
agent: activeAgent(rowSessions[0]),
|
|
11311
11311
|
size: 16,
|
|
11312
|
-
class: "
|
|
11312
|
+
class: "_eN"
|
|
11313
11313
|
});
|
|
11314
11314
|
$si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
|
|
11315
11315
|
_: _scope_with_id($scope7_id),
|
|
@@ -11318,7 +11318,7 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11318
11318
|
return 0;
|
|
11319
11319
|
}
|
|
11320
11320
|
}, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
|
|
11321
|
-
_html(`<span${_attr_class("
|
|
11321
|
+
_html(`<span${_attr_class("_eM")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
|
|
11322
11322
|
_if(() => {
|
|
11323
11323
|
if (many) {
|
|
11324
11324
|
const $scope10_id = _scope_id();
|
|
@@ -11329,7 +11329,7 @@ var workspace_switcher_default = _template("O", (input) => {
|
|
|
11329
11329
|
}, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
|
|
11330
11330
|
icon_chevron_right_default({
|
|
11331
11331
|
size: 14,
|
|
11332
|
-
class: "
|
|
11332
|
+
class: "_eP"
|
|
11333
11333
|
});
|
|
11334
11334
|
_html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
|
|
11335
11335
|
_set_serialize_reason($sg__input_ids);
|
|
@@ -11405,7 +11405,7 @@ var icon_folder_plus_default = _template("gb", (input) => {
|
|
|
11405
11405
|
});
|
|
11406
11406
|
//#endregion
|
|
11407
11407
|
//#region src/tags/icons/icon-sidebar-collapse.marko
|
|
11408
|
-
var icon_sidebar_collapse_default = _template("
|
|
11408
|
+
var icon_sidebar_collapse_default = _template("sb", (input) => {
|
|
11409
11409
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
11410
11410
|
const $scope0_id = _scope_id();
|
|
11411
11411
|
_set_serialize_reason({
|
|
@@ -11422,7 +11422,7 @@ var icon_sidebar_collapse_default = _template("rb", (input) => {
|
|
|
11422
11422
|
});
|
|
11423
11423
|
//#endregion
|
|
11424
11424
|
//#region src/tags/icons/icon-sidebar.marko
|
|
11425
|
-
var icon_sidebar_default = _template("
|
|
11425
|
+
var icon_sidebar_default = _template("tb", (input) => {
|
|
11426
11426
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
11427
11427
|
const $scope0_id = _scope_id();
|
|
11428
11428
|
_set_serialize_reason({
|
|
@@ -11449,13 +11449,13 @@ var usage_bars_default = _template("K", (input) => {
|
|
|
11449
11449
|
if (windows.length) {
|
|
11450
11450
|
const $scope1_id = _scope_id();
|
|
11451
11451
|
_html(`<span${_attr_class([
|
|
11452
|
-
"
|
|
11452
|
+
"_hE",
|
|
11453
11453
|
input.class,
|
|
11454
|
-
{ ["
|
|
11454
|
+
{ ["_hF"]: agent.stale_seconds != null }
|
|
11455
11455
|
])} role=img${_attr("aria-label", `Plan usage: ${summary}`)}${agent.stale_seconds != null ? _attr("title", `${summary} — ${agent.note || "provider unreachable"}; last cached numbers`) : _attr("title", summary)}>`);
|
|
11456
11456
|
_for_of(windows, (win) => {
|
|
11457
11457
|
const $scope2_id = _scope_id();
|
|
11458
|
-
_html(`<span${_attr_class(["
|
|
11458
|
+
_html(`<span${_attr_class(["_hG", win.used_percent >= 90 ? "_hK" : win.used_percent >= 70 ? "_hJ" : win.used_percent >= 40 ? "_hI" : "_hH"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
|
|
11459
11459
|
$si__input_agent && writeScope($scope2_id, {});
|
|
11460
11460
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
11461
11461
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -11487,7 +11487,7 @@ var nav_usage_default = _template("r", (input) => {
|
|
|
11487
11487
|
const plan = openSess ? usageFor$1(openSess.agent, usage) : null;
|
|
11488
11488
|
const all = usage?.agents || [];
|
|
11489
11489
|
const peak = Math.max(0, ...(plan?.windows || []).map((w) => w.used_percent));
|
|
11490
|
-
const ringTone = _resume((pct) => pct >= 90 ? "
|
|
11490
|
+
const ringTone = _resume((pct) => pct >= 90 ? "_ex" : pct >= 70 ? "_ew" : pct >= 40 ? "_ev" : "_eu", "r0");
|
|
11491
11491
|
let card$2 = null;
|
|
11492
11492
|
const showCard = _resume((el) => {
|
|
11493
11493
|
const r = el.getBoundingClientRect();
|
|
@@ -11499,18 +11499,18 @@ var nav_usage_default = _template("r", (input) => {
|
|
|
11499
11499
|
_if(() => {
|
|
11500
11500
|
if (plan) {
|
|
11501
11501
|
const $scope1_id = _scope_id();
|
|
11502
|
-
_html(`<span${_attr_class("
|
|
11502
|
+
_html(`<span${_attr_class("_eo")} tabindex=0>`);
|
|
11503
11503
|
_set_serialize_reason(1);
|
|
11504
11504
|
const $childScope = _peek_scope_id();
|
|
11505
11505
|
usage_bars_default({
|
|
11506
|
-
class: "
|
|
11506
|
+
class: "_eq",
|
|
11507
11507
|
agent: plan
|
|
11508
11508
|
});
|
|
11509
|
-
_html(`<svg${_attr_class(["
|
|
11509
|
+
_html(`<svg${_attr_class(["_er", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_es")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_et")} cx=8 cy=8 r=6.5${_attr_style(`stroke-dasharray:${Math.max(2, Math.min(100, peak)) / 100 * 40.84} 40.84`)}></circle>${_el_resume($scope1_id, "e")}</svg>${_el_resume($scope1_id, "c")}</span>${_el_resume($scope1_id, "a")}`);
|
|
11510
11510
|
_if(() => {
|
|
11511
11511
|
if (card$2) {
|
|
11512
11512
|
const $scope2_id = _scope_id();
|
|
11513
|
-
_html(`<div${_attr_class(["_9", "
|
|
11513
|
+
_html(`<div${_attr_class(["_9", "_ep"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
|
|
11514
11514
|
_for_of(all, (a) => {
|
|
11515
11515
|
const $scope3_id = _scope_id();
|
|
11516
11516
|
_set_serialize_reason(6);
|
|
@@ -11607,14 +11607,14 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11607
11607
|
const backHref = ws ? `/w/${ws.id}` : "/new";
|
|
11608
11608
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
11609
11609
|
const pageIds = orderedIds.filter((id) => id !== ws?.id);
|
|
11610
|
-
_html(`<aside${_attr_class(["
|
|
11611
|
-
["
|
|
11612
|
-
["
|
|
11610
|
+
_html(`<aside${_attr_class(["_bD", {
|
|
11611
|
+
["_bB"]: !navOpen,
|
|
11612
|
+
["_bC"]: isPage
|
|
11613
11613
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
11614
11614
|
_if(() => {
|
|
11615
11615
|
if (isPage) {
|
|
11616
11616
|
const $scope1_id = _scope_id();
|
|
11617
|
-
_html(`<div${_attr_class("
|
|
11617
|
+
_html(`<div${_attr_class("_bG")}>`);
|
|
11618
11618
|
_set_serialize_reason({
|
|
11619
11619
|
3: $sg__input_instanceName,
|
|
11620
11620
|
6: $sg__input_instanceName
|
|
@@ -11623,7 +11623,7 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11623
11623
|
if (input.instanceName) $meta = attrTag({ content: _content_resume("E8", () => {
|
|
11624
11624
|
_scope_reason();
|
|
11625
11625
|
const $scope2_id = _scope_id();
|
|
11626
|
-
_html(`<span${_attr_class("
|
|
11626
|
+
_html(`<span${_attr_class("_bH")} title="This work server (Settings → Appearance)"><img${_attr_class("_bK")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}${_text_resume($scope2_id, "c", input.instanceName, $sg__input_instanceName)}</span>`);
|
|
11627
11627
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
11628
11628
|
_resume_branch($scope2_id);
|
|
11629
11629
|
}, $scope1_id) });
|
|
@@ -11638,7 +11638,7 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11638
11638
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
11639
11639
|
iconBtnRow,
|
|
11640
11640
|
iconBtn,
|
|
11641
|
-
{ ["
|
|
11641
|
+
{ ["_by"]: view === "settings" }
|
|
11642
11642
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
11643
11643
|
icon_settings_default({ size: 16 });
|
|
11644
11644
|
_if(() => {
|
|
@@ -11662,7 +11662,7 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11662
11662
|
_if(() => {
|
|
11663
11663
|
if (!isPage && input.instanceName) {
|
|
11664
11664
|
const $scope4_id = _scope_id();
|
|
11665
|
-
_html(`<div${_attr_class("
|
|
11665
|
+
_html(`<div${_attr_class("_bJ")} title="This work server (Settings → Appearance)"><img${_attr_class("_bK")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_bL")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
|
|
11666
11666
|
writeScope($scope4_id, {});
|
|
11667
11667
|
return 0;
|
|
11668
11668
|
}
|
|
@@ -11730,7 +11730,7 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11730
11730
|
b: _serialize_if($scope0_reason, 21) && _existing_scope($childScope3)
|
|
11731
11731
|
});
|
|
11732
11732
|
}, (a) => a, $scope6_id, "a", $sg__input_agents, 1, $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents, "</div>", 1);
|
|
11733
|
-
_html(`<div${_attr_class("
|
|
11733
|
+
_html(`<div${_attr_class("_bM")}>`);
|
|
11734
11734
|
_for_of(orderedIds, (wsId) => {
|
|
11735
11735
|
const $scope8_id = _scope_id();
|
|
11736
11736
|
_set_serialize_reason({
|
|
@@ -11807,7 +11807,7 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11807
11807
|
_if(() => {
|
|
11808
11808
|
if (!navOpen) {
|
|
11809
11809
|
const $scope9_id = _scope_id();
|
|
11810
|
-
_html(`<div${_attr_class("
|
|
11810
|
+
_html(`<div${_attr_class("_bN")}>`);
|
|
11811
11811
|
_for_of(orderedIds, (wsId, i) => {
|
|
11812
11812
|
const $scope10_id = _scope_id();
|
|
11813
11813
|
_set_serialize_reason({
|
|
@@ -11855,14 +11855,14 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11855
11855
|
return 0;
|
|
11856
11856
|
}
|
|
11857
11857
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
11858
|
-
_html(`<div${_attr_class("
|
|
11858
|
+
_html(`<div${_attr_class("_bO")}>`);
|
|
11859
11859
|
_if(() => {
|
|
11860
11860
|
if (isPage) {
|
|
11861
11861
|
const $scope12_id = _scope_id();
|
|
11862
11862
|
_html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
|
|
11863
11863
|
"_q",
|
|
11864
11864
|
btnLg,
|
|
11865
|
-
"
|
|
11865
|
+
"_bI"
|
|
11866
11866
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
11867
11867
|
icon_folder_plus_default({ size: 16 });
|
|
11868
11868
|
_html(` New workspace</a>${_el_resume($scope12_id, "a")}`);
|
|
@@ -11894,9 +11894,9 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11894
11894
|
sessions: input.sessions,
|
|
11895
11895
|
tab: view === "term" ? tab : null
|
|
11896
11896
|
});
|
|
11897
|
-
_html(`<div${_attr_class(["_z", "
|
|
11897
|
+
_html(`<div${_attr_class(["_z", "_bP"])}></div>`);
|
|
11898
11898
|
_if(() => {}, $scope11_id, "d", 1, 1, 1, 0, 1);
|
|
11899
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["
|
|
11899
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_by"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
11900
11900
|
icon_settings_default({});
|
|
11901
11901
|
_if(() => {
|
|
11902
11902
|
if (input.setupReady === false) {
|
|
@@ -11906,7 +11906,7 @@ var side_nav_default = _template("E", (input) => {
|
|
|
11906
11906
|
return 0;
|
|
11907
11907
|
}
|
|
11908
11908
|
}, $scope11_id, "g", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
11909
|
-
_html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["
|
|
11909
|
+
_html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_by"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
11910
11910
|
icon_folder_plus_default({ size: 16 });
|
|
11911
11911
|
_html(`</a>${_el_resume($scope11_id, "h")}`);
|
|
11912
11912
|
_script($scope11_id, "E13");
|
|
@@ -12989,59 +12989,191 @@ function shortBranch(name, wsBranch = "", wsName = "") {
|
|
|
12989
12989
|
return shortHeadFallback(head);
|
|
12990
12990
|
}
|
|
12991
12991
|
var treeToggle = "_go _4 _l";
|
|
12992
|
-
var pageTitle = "
|
|
12992
|
+
var pageTitle = "_gu _d2";
|
|
12993
|
+
//#endregion
|
|
12994
|
+
//#region src/tags/icons/icon-comment.marko
|
|
12995
|
+
var icon_comment_default = _template("bb", (input) => {
|
|
12996
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
12997
|
+
const $scope0_id = _scope_id();
|
|
12998
|
+
_set_serialize_reason({
|
|
12999
|
+
0: $sg__input_size__OR__input_class,
|
|
13000
|
+
1: $sg__input_size__OR__input_class
|
|
13001
|
+
});
|
|
13002
|
+
const $childScope = _peek_scope_id();
|
|
13003
|
+
icon_base_default({
|
|
13004
|
+
d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 13.8214 2.48697 15.5291 3.33782 17L2.5 21.5L7 20.6622C8.47087 21.513 10.1786 22 12 22Z",
|
|
13005
|
+
size: input.size,
|
|
13006
|
+
class: input.class
|
|
13007
|
+
});
|
|
13008
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
13009
|
+
});
|
|
13010
|
+
//#endregion
|
|
13011
|
+
//#region src/tags/icons/icon-clipboard.marko
|
|
13012
|
+
var icon_clipboard_default = _template("ab", (input) => {
|
|
13013
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
13014
|
+
const $scope0_id = _scope_id();
|
|
13015
|
+
_set_serialize_reason({
|
|
13016
|
+
0: $sg__input_size__OR__input_class,
|
|
13017
|
+
1: $sg__input_size__OR__input_class
|
|
13018
|
+
});
|
|
13019
|
+
const $childScope = _peek_scope_id();
|
|
13020
|
+
icon_base_default({
|
|
13021
|
+
d: "M8.5 4H6C4.89543 4 4 4.89543 4 6V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V6C20 4.89543 19.1046 4 18 4H15.5 M8 6.4V4.5C8 4.22386 8.22386 4 8.5 4C8.77614 4 9.00422 3.77604 9.05152 3.50398C9.19968 2.65171 9.77399 1 12 1C14.226 1 14.8003 2.65171 14.9485 3.50398C14.9958 3.77604 15.2239 4 15.5 4C15.7761 4 16 4.22386 16 4.5V6.4C16 6.73137 15.7314 7 15.4 7H8.6C8.26863 7 8 6.73137 8 6.4Z",
|
|
13022
|
+
size: input.size,
|
|
13023
|
+
class: input.class
|
|
13024
|
+
});
|
|
13025
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
13026
|
+
});
|
|
12993
13027
|
//#endregion
|
|
12994
13028
|
//#region src/tags/diff-send.marko
|
|
12995
13029
|
var diff_send_default = _template("k", (input) => {
|
|
12996
|
-
const $scope0_reason = _scope_reason(), $sg__input_sessions = _serialize_guard($scope0_reason, 0), $si__input_sessions = _serialize_if($scope0_reason, 0);
|
|
13030
|
+
const $scope0_reason = _scope_reason(), $sg__input_count = _serialize_guard($scope0_reason, 1), $sg__input_sessions = _serialize_guard($scope0_reason, 0), $si__input_sessions = _serialize_if($scope0_reason, 0);
|
|
12997
13031
|
const $scope0_id = _scope_id();
|
|
13032
|
+
const $sending__closures = /* @__PURE__ */ new Set();
|
|
13033
|
+
const $target_title__closures = /* @__PURE__ */ new Set();
|
|
13034
|
+
const $target_agent__closures = /* @__PURE__ */ new Set();
|
|
13035
|
+
const $sessions__closures = /* @__PURE__ */ new Set();
|
|
13036
|
+
const $target_id__closures = /* @__PURE__ */ new Set();
|
|
12998
13037
|
let sending = false;
|
|
12999
13038
|
let sendTarget = null;
|
|
13000
13039
|
const sessions = input.sessions || [];
|
|
13001
|
-
const
|
|
13002
|
-
|
|
13040
|
+
const target = sessions.find((s) => s.id === sendTarget) ?? sessions[0] ?? null;
|
|
13041
|
+
const label = `${input.count} comment${input.count === 1 ? "" : "s"}`;
|
|
13042
|
+
const send = _resume(() => {
|
|
13043
|
+
(async () => {
|
|
13044
|
+
if (!target || sending) return;
|
|
13045
|
+
sending = true;
|
|
13046
|
+
try {
|
|
13047
|
+
await input.onSend(target.id);
|
|
13048
|
+
} finally {
|
|
13049
|
+
sending = false;
|
|
13050
|
+
}
|
|
13051
|
+
})();
|
|
13052
|
+
}, "k1", $scope0_id);
|
|
13053
|
+
_html(`<div${_attr_class("_i9")} role=group${_attr("aria-label", label)}><span${_attr_class("_i_")}${_attr("title", label)}>`);
|
|
13054
|
+
icon_comment_default({
|
|
13055
|
+
size: 18,
|
|
13056
|
+
class: "_ja"
|
|
13057
|
+
});
|
|
13058
|
+
_html(`<span${_attr_class("_jb")} aria-hidden=true>${_text_resume($scope0_id, "e", input.count > 99 ? "99+" : input.count, $sg__input_count)}</span></span>${_el_resume($scope0_id, "b", $sg__input_count)}<button type=button${_attr_class("_jc")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
|
|
13003
13059
|
_if(() => {
|
|
13004
|
-
|
|
13060
|
+
{
|
|
13061
|
+
const $scope6_id = _scope_id();
|
|
13062
|
+
icon_clipboard_default({ size: 14 });
|
|
13063
|
+
writeScope($scope6_id, {});
|
|
13064
|
+
return 1;
|
|
13065
|
+
}
|
|
13066
|
+
}, $scope0_id, "f", 1, 1, 1, "</button>", 1);
|
|
13067
|
+
_if(() => {
|
|
13068
|
+
if (target) {
|
|
13005
13069
|
const $scope1_id = _scope_id();
|
|
13006
|
-
_html(`<button type=button${_attr_class(["
|
|
13007
|
-
|
|
13008
|
-
|
|
13009
|
-
|
|
13010
|
-
|
|
13011
|
-
|
|
13012
|
-
|
|
13013
|
-
|
|
13014
|
-
sendTarget = _new_sendTarget;
|
|
13015
|
-
}, "k0", $scope2_id), () => {
|
|
13016
|
-
_html(`<select${_attr_class("_iB")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
13017
|
-
_for_of(sessions, (s) => {
|
|
13070
|
+
_html(`<button type=button${_attr_class(["_jc", "_jd"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
|
|
13071
|
+
_if(() => {
|
|
13072
|
+
if (sessions.length > 1) {
|
|
13073
|
+
const $scope2_id = _scope_id();
|
|
13074
|
+
_html(`<span${_attr_class(["_jg", "_jf"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_je")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
|
|
13075
|
+
_subscribe($target_agent__closures, _subscribe($target_title__closures, _subscribe($sending__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
|
|
13076
|
+
return 0;
|
|
13077
|
+
} else {
|
|
13018
13078
|
const $scope3_id = _scope_id();
|
|
13019
|
-
_html(
|
|
13020
|
-
$
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
13079
|
+
_html(_text_resume($scope3_id, "a", sending ? "Sending…" : "Send"));
|
|
13080
|
+
_subscribe($sending__closures, writeScope($scope3_id, {
|
|
13081
|
+
_: _scope_with_id($scope1_id),
|
|
13082
|
+
Ca0: 1
|
|
13083
|
+
}));
|
|
13084
|
+
return 1;
|
|
13085
|
+
}
|
|
13086
|
+
}, $scope1_id, "a", $sg__input_sessions, 1, $sg__input_sessions, "</button>");
|
|
13087
|
+
_if(() => {
|
|
13088
|
+
if (sessions.length > 1) {
|
|
13089
|
+
const $scope4_id = _scope_id();
|
|
13090
|
+
_html(`<span${_attr_class("_jh")}><button type=button${_attr_class([
|
|
13091
|
+
"_jc",
|
|
13092
|
+
"_jd",
|
|
13093
|
+
"_ji"
|
|
13094
|
+
])} aria-label="Choose session to send to"${_attr("disabled", sending)}></button>${_el_resume($scope4_id, "b")}`);
|
|
13095
|
+
_attr_select_value($scope4_id, "c", target.id, _resume(function(v) {
|
|
13096
|
+
sendTarget = v;
|
|
13097
|
+
}, "k0", $scope4_id), () => {
|
|
13098
|
+
_html(`<select${_attr_class("_jj")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
|
|
13099
|
+
_for_of(sessions, (s) => {
|
|
13100
|
+
const $scope7_id = _scope_id();
|
|
13101
|
+
_html(`<option${_attr_option_value(s.id)}>${_text_resume($scope7_id, "b", s.title || s.agent, $sg__input_sessions)}</option>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
|
|
13102
|
+
$si__input_sessions && writeScope($scope7_id, {});
|
|
13103
|
+
}, "id", $scope4_id, "c", $sg__input_sessions, 1, $sg__input_sessions, "</select>", 1);
|
|
13104
|
+
});
|
|
13105
|
+
_html("</span>");
|
|
13106
|
+
_script($scope4_id, "k2");
|
|
13107
|
+
_subscribe($target_id__closures, _subscribe($si__input_sessions && $sessions__closures, _subscribe($sending__closures, writeScope($scope4_id, {
|
|
13108
|
+
_: _scope_with_id($scope1_id),
|
|
13109
|
+
Ca0: 2
|
|
13110
|
+
}))));
|
|
13111
|
+
return 0;
|
|
13112
|
+
}
|
|
13113
|
+
}, $scope1_id, "b", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions, 0, 1);
|
|
13114
|
+
_script($scope1_id, "k3");
|
|
13115
|
+
writeScope($scope1_id, {});
|
|
13116
|
+
return 0;
|
|
13027
13117
|
}
|
|
13028
|
-
}, $scope0_id, "
|
|
13029
|
-
_html("
|
|
13030
|
-
_script($scope0_id, "
|
|
13118
|
+
}, $scope0_id, "g");
|
|
13119
|
+
_html(`</div>${_el_resume($scope0_id, "a", $sg__input_count)}`);
|
|
13120
|
+
_script($scope0_id, "k4");
|
|
13031
13121
|
writeScope($scope0_id, {
|
|
13032
|
-
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
|
|
13036
|
-
|
|
13037
|
-
|
|
13038
|
-
|
|
13039
|
-
|
|
13122
|
+
l: input.onSend,
|
|
13123
|
+
m: input.onCopy,
|
|
13124
|
+
o: sending,
|
|
13125
|
+
p: $si__input_sessions && sendTarget,
|
|
13126
|
+
q: sessions,
|
|
13127
|
+
s: sessions.length,
|
|
13128
|
+
t: target,
|
|
13129
|
+
v: target?.id,
|
|
13130
|
+
w: target?.title,
|
|
13131
|
+
x: target?.agent,
|
|
13132
|
+
z: send,
|
|
13133
|
+
a0: $sending__closures,
|
|
13134
|
+
a4: $target_title__closures,
|
|
13135
|
+
a5: $target_agent__closures,
|
|
13136
|
+
a1: $si__input_sessions && $sessions__closures,
|
|
13137
|
+
a3: $target_id__closures
|
|
13040
13138
|
});
|
|
13041
13139
|
_resume_branch($scope0_id);
|
|
13042
13140
|
});
|
|
13043
|
-
|
|
13044
|
-
|
|
13141
|
+
//#endregion
|
|
13142
|
+
//#region src/tags/icons/icon-folder.marko
|
|
13143
|
+
var icon_folder_default = _template("hb", (input) => {
|
|
13144
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
13145
|
+
const $scope0_id = _scope_id();
|
|
13146
|
+
_set_serialize_reason({
|
|
13147
|
+
0: $sg__input_size__OR__input_class,
|
|
13148
|
+
1: $sg__input_size__OR__input_class
|
|
13149
|
+
});
|
|
13150
|
+
const $childScope = _peek_scope_id();
|
|
13151
|
+
icon_base_default({
|
|
13152
|
+
d: "M2 11V4.6C2 4.26863 2.26863 4 2.6 4H8.77805C8.92127 4 9.05977 4.05124 9.16852 4.14445L12.3315 6.85555C12.4402 6.94876 12.5787 7 12.722 7H21.4C21.7314 7 22 7.26863 22 7.6V11M2 11V19.4C2 19.7314 2.26863 20 2.6 20H21.4C21.7314 20 22 19.7314 22 19.4V11M2 11H22",
|
|
13153
|
+
size: input.size,
|
|
13154
|
+
class: input.class
|
|
13155
|
+
});
|
|
13156
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
13157
|
+
});
|
|
13158
|
+
//#endregion
|
|
13159
|
+
//#region src/tags/icons/icon-branch.marko
|
|
13160
|
+
var icon_branch_default = _template("Y", (input) => {
|
|
13161
|
+
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
13162
|
+
const $scope0_id = _scope_id();
|
|
13163
|
+
_set_serialize_reason({
|
|
13164
|
+
0: $sg__input_size__OR__input_class,
|
|
13165
|
+
1: $sg__input_size__OR__input_class
|
|
13166
|
+
});
|
|
13167
|
+
const $childScope = _peek_scope_id();
|
|
13168
|
+
icon_base_default({
|
|
13169
|
+
d: "M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z M6 20C7.10457 20 8 19.1046 8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20Z M6 16V3 M8 18H9C12.5 18 18 15.9 18 9.5V8",
|
|
13170
|
+
size: input.size,
|
|
13171
|
+
class: input.class
|
|
13172
|
+
});
|
|
13173
|
+
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
13174
|
+
});
|
|
13175
|
+
var findInput = "_e4 _n";
|
|
13176
|
+
var findIconBtn = "_e7 _l";
|
|
13045
13177
|
//#endregion
|
|
13046
13178
|
//#region src/tags/icons/icon-arrow-down.marko
|
|
13047
13179
|
var icon_arrow_down_default = _template("R", (input) => {
|
|
@@ -13133,18 +13265,18 @@ var diff_find_default = _template("j", (input) => {
|
|
|
13133
13265
|
}, 0);
|
|
13134
13266
|
}, "j0", $scope0_id);
|
|
13135
13267
|
_html(`<div${_attr_class([
|
|
13136
|
-
"
|
|
13137
|
-
input.keybar && "
|
|
13138
|
-
!open && "
|
|
13139
|
-
])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("
|
|
13268
|
+
"_e2",
|
|
13269
|
+
input.keybar && "_fa",
|
|
13270
|
+
!open && "_e1"
|
|
13271
|
+
])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_e3")} aria-hidden=true>`);
|
|
13140
13272
|
icon_search_default({ size: 13 });
|
|
13141
13273
|
_html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
|
|
13142
13274
|
type(v);
|
|
13143
|
-
}, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "
|
|
13275
|
+
}, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_fc"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_e6")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_fd"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13144
13276
|
icon_arrow_up_default({ size: 14 });
|
|
13145
|
-
_html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "
|
|
13277
|
+
_html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_fd"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13146
13278
|
icon_arrow_down_default({ size: 14 });
|
|
13147
|
-
_html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "
|
|
13279
|
+
_html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_fd"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
|
|
13148
13280
|
icon_xmark_default({ size: 14 });
|
|
13149
13281
|
_html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
|
|
13150
13282
|
const $return = focusInput;
|
|
@@ -13183,8 +13315,8 @@ var diff_find_default = _template("j", (input) => {
|
|
|
13183
13315
|
_resume_branch($scope0_id);
|
|
13184
13316
|
return $return;
|
|
13185
13317
|
});
|
|
13186
|
-
var worktree = "
|
|
13187
|
-
var repoTitle = "
|
|
13318
|
+
var worktree = "_i0 _y";
|
|
13319
|
+
var repoTitle = "_jK _x";
|
|
13188
13320
|
//#endregion
|
|
13189
13321
|
//#region src/tags/review-head.marko
|
|
13190
13322
|
var review_head_default = _template("x", (input) => {
|
|
@@ -13196,7 +13328,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13196
13328
|
const baseRef = (repo.pr?.baseRefName || repo.base).replace(/^origin\//, "");
|
|
13197
13329
|
const headRef = (repo.pr?.headRefName || repo.branch).replace(/^origin\//, "");
|
|
13198
13330
|
const unusual = !!compare$1.topic || !!input.workspaceBranch && headRef !== input.workspaceBranch || !!repo.default_branch && baseRef !== repo.default_branch;
|
|
13199
|
-
_html(`<div${_attr_class("
|
|
13331
|
+
_html(`<div${_attr_class("_jE")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}>`);
|
|
13200
13332
|
_if(() => {
|
|
13201
13333
|
if (repo.pr) {
|
|
13202
13334
|
const $scope6_id = _scope_id();
|
|
@@ -13205,7 +13337,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13205
13337
|
return 0;
|
|
13206
13338
|
} else {
|
|
13207
13339
|
const $scope7_id = _scope_id();
|
|
13208
|
-
_html(`<span${_attr_class([repoTitle, "
|
|
13340
|
+
_html(`<span${_attr_class([repoTitle, "_jL"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
|
|
13209
13341
|
$si__input_repo && writeScope($scope7_id, { _: _scope_with_id($scope0_id) });
|
|
13210
13342
|
return 1;
|
|
13211
13343
|
}
|
|
@@ -13213,14 +13345,14 @@ var review_head_default = _template("x", (input) => {
|
|
|
13213
13345
|
_if(() => {
|
|
13214
13346
|
if (unusual) {
|
|
13215
13347
|
const $scope8_id = _scope_id();
|
|
13216
|
-
_html(`<span${_attr_class("
|
|
13348
|
+
_html(`<span${_attr_class("_jM")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jN"])}>${_text_resume($scope8_id, "c", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jP"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jO"])}>${_text_resume($scope8_id, "f", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
13217
13349
|
_if(() => {
|
|
13218
13350
|
if (compare$1.topic) {
|
|
13219
13351
|
const $scope11_id = _scope_id();
|
|
13220
13352
|
_html(`<span${_attr_class([
|
|
13221
13353
|
"_N",
|
|
13222
13354
|
tone.accent,
|
|
13223
|
-
"
|
|
13355
|
+
"_jQ"
|
|
13224
13356
|
])}>${_text_resume($scope11_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
13225
13357
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _subscribe($compare_topic__closures, writeScope($scope11_id, { _: _scope_with_id($scope8_id) }));
|
|
13226
13358
|
return 0;
|
|
@@ -13234,7 +13366,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13234
13366
|
_if(() => {
|
|
13235
13367
|
if (repo.rev) {
|
|
13236
13368
|
const $scope9_id = _scope_id();
|
|
13237
|
-
_html(`<span${_attr_class(["_N", "
|
|
13369
|
+
_html(`<span${_attr_class(["_N", "_jR"])} title="One commit against its parent">commit ${_text_resume($scope9_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
|
|
13238
13370
|
$si__input_repo && writeScope($scope9_id, { _: _scope_with_id($scope0_id) });
|
|
13239
13371
|
return 0;
|
|
13240
13372
|
}
|
|
@@ -13245,7 +13377,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13245
13377
|
_html(`<button type=button${_attr_class([
|
|
13246
13378
|
"_N",
|
|
13247
13379
|
tone.warn,
|
|
13248
|
-
"
|
|
13380
|
+
"_jR"
|
|
13249
13381
|
])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_text_resume($scope1_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope1_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope1_id, "a")}`);
|
|
13250
13382
|
_script($scope1_id, "x0");
|
|
13251
13383
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -13255,7 +13387,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13255
13387
|
_if(() => {
|
|
13256
13388
|
if (repo.contained && input.fileCount) {
|
|
13257
13389
|
const $scope10_id = _scope_id();
|
|
13258
|
-
_html(`<span${_attr_class(["_N", "
|
|
13390
|
+
_html(`<span${_attr_class(["_N", "_jR"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope10_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope10_id, "a", $sg__input_repo)}`);
|
|
13259
13391
|
$si__input_repo__OR__input_fileCount && writeScope($scope10_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
|
|
13260
13392
|
return 0;
|
|
13261
13393
|
}
|
|
@@ -13263,16 +13395,16 @@ var review_head_default = _template("x", (input) => {
|
|
|
13263
13395
|
_if(() => {
|
|
13264
13396
|
if (input.localDiffers) {
|
|
13265
13397
|
const $scope2_id = _scope_id();
|
|
13266
|
-
_html(`<span${_attr_class(["_N", "
|
|
13398
|
+
_html(`<span${_attr_class(["_N", "_jR"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope2_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope2_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope2_id, "a", $sg__input_repo)}`);
|
|
13267
13399
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope2_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
|
|
13268
13400
|
return 0;
|
|
13269
13401
|
}
|
|
13270
13402
|
}, $scope0_id, "g", _serialize_guard($scope0_reason, 8), _serialize_guard($scope0_reason, 13), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew, 0, 1);
|
|
13271
|
-
_html(`<span${_attr_class("
|
|
13403
|
+
_html(`<span${_attr_class("_jF")}><span>${_text_resume($scope0_id, "i", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "j", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
|
|
13272
13404
|
_if(() => {
|
|
13273
13405
|
if (input.additions || input.deletions) {
|
|
13274
13406
|
const $scope3_id = _scope_id();
|
|
13275
|
-
_html(`<span${_attr_class("
|
|
13407
|
+
_html(`<span${_attr_class("_jG")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 14) * 2)}</span><span${_attr_class("_jH")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 15) * 2)}</span>`);
|
|
13276
13408
|
$si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
13277
13409
|
return 0;
|
|
13278
13410
|
}
|
|
@@ -13280,7 +13412,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13280
13412
|
_if(() => {
|
|
13281
13413
|
if (input.hiddenCount) {
|
|
13282
13414
|
const $scope4_id = _scope_id();
|
|
13283
|
-
_html(`<button type=button${_attr_class("
|
|
13415
|
+
_html(`<button type=button${_attr_class("_jJ")} title="Filtered out of the list — show every file">${_text_resume($scope4_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope4_id, "a")}`);
|
|
13284
13416
|
_script($scope4_id, "x1");
|
|
13285
13417
|
writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
13286
13418
|
return 0;
|
|
@@ -13289,7 +13421,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13289
13421
|
_if(() => {
|
|
13290
13422
|
if (input.newCount || input.onlyNew) {
|
|
13291
13423
|
const $scope5_id = _scope_id();
|
|
13292
|
-
_html(`<button type=button${_attr_class(["
|
|
13424
|
+
_html(`<button type=button${_attr_class(["_jJ", { ["_jI"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope5_id, "b", input.newCount, _serialize_guard($scope0_reason, 17))} new</button>${_el_resume($scope5_id, "a")}`);
|
|
13293
13425
|
_script($scope5_id, "x2");
|
|
13294
13426
|
writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
|
|
13295
13427
|
return 0;
|
|
@@ -13378,30 +13510,30 @@ var review_repos_default = _template("y", (input) => {
|
|
|
13378
13510
|
_if(() => {
|
|
13379
13511
|
if (input.tabs.length) {
|
|
13380
13512
|
const $scope1_id = _scope_id();
|
|
13381
|
-
_html(`<div${_attr_class(["
|
|
13513
|
+
_html(`<div${_attr_class(["_iP", { ["_iO"]: many }])}>`);
|
|
13382
13514
|
_if(() => {
|
|
13383
13515
|
if (many) {
|
|
13384
13516
|
const $scope2_id = _scope_id();
|
|
13385
|
-
_html(`<div${_attr_class(["
|
|
13386
|
-
["
|
|
13387
|
-
["
|
|
13517
|
+
_html(`<div${_attr_class(["_iS", {
|
|
13518
|
+
["_iR"]: edges.end,
|
|
13519
|
+
["_iQ"]: edges.start
|
|
13388
13520
|
}])} role=tablist>`);
|
|
13389
13521
|
_for_of(input.tabs, (tab$1) => {
|
|
13390
13522
|
const $scope3_id = _scope_id();
|
|
13391
13523
|
const repo = tab$1.repo;
|
|
13392
13524
|
const isOn = current?.repo.id === repo.id;
|
|
13393
13525
|
const isFolded = input.folded.has(repo.id);
|
|
13394
|
-
_html(`<div${_attr_class(["
|
|
13395
|
-
["
|
|
13396
|
-
["
|
|
13397
|
-
}])} role=tab aria-selected=${isOn ? "true" : "false"}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("
|
|
13526
|
+
_html(`<div${_attr_class(["_iV", {
|
|
13527
|
+
["_iT"]: isOn,
|
|
13528
|
+
["_iU"]: isFolded
|
|
13529
|
+
}])} role=tab aria-selected=${isOn ? "true" : "false"}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_iY")} title=${isFolded ? "\"Show this section's files\"" : "\"Hide this section's files\""} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_iZ")}>▾</span></button>${_el_resume($scope3_id, "b")}<button type=button${_attr_class("_iX")} title="Scroll to this section"><span${_attr_class(worktree)}>${_text_resume($scope3_id, "f", repo.worktree, $sg__input_tabs)}</span>`);
|
|
13398
13530
|
_if(() => {
|
|
13399
13531
|
if (repo.pr) {
|
|
13400
13532
|
const $scope5_id = _scope_id();
|
|
13401
13533
|
_html(`<span${_attr_class([
|
|
13402
13534
|
"_u",
|
|
13403
13535
|
"_v",
|
|
13404
|
-
"
|
|
13536
|
+
"_i1"
|
|
13405
13537
|
])}>#${_text_resume($scope5_id, "b", repo.pr.number, $sg__input_tabs * 2)}</span>`);
|
|
13406
13538
|
$si__input_tabs && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
|
|
13407
13539
|
return 0;
|
|
@@ -13427,11 +13559,11 @@ var review_repos_default = _template("y", (input) => {
|
|
|
13427
13559
|
if (current) {
|
|
13428
13560
|
const $scope4_id = _scope_id();
|
|
13429
13561
|
const one = current.repo;
|
|
13430
|
-
_html(`<div${_attr_class("
|
|
13562
|
+
_html(`<div${_attr_class("_i2")}>`);
|
|
13431
13563
|
_if(() => {
|
|
13432
13564
|
if (!many) {
|
|
13433
13565
|
const $scope6_id = _scope_id();
|
|
13434
|
-
_html(`<span${_attr_class([worktree, "
|
|
13566
|
+
_html(`<span${_attr_class([worktree, "_iW"])}>${_text_resume($scope6_id, "b", one.worktree, $sg__input_tabs__OR__input_active)}</span>`);
|
|
13435
13567
|
$si__input_tabs__OR__input_active && writeScope($scope6_id, { _: _scope_with_id($scope4_id) });
|
|
13436
13568
|
return 0;
|
|
13437
13569
|
}
|
|
@@ -13540,7 +13672,7 @@ var review_repos_default = _template("y", (input) => {
|
|
|
13540
13672
|
});
|
|
13541
13673
|
_resume_branch($scope0_id);
|
|
13542
13674
|
});
|
|
13543
|
-
var fileFilter = "
|
|
13675
|
+
var fileFilter = "_jD _n";
|
|
13544
13676
|
//#endregion
|
|
13545
13677
|
//#region src/tags/file-filter.marko
|
|
13546
13678
|
var file_filter_default = _template("l", (input) => {
|
|
@@ -13570,7 +13702,7 @@ var file_filter_default = _template("l", (input) => {
|
|
|
13570
13702
|
pending = v;
|
|
13571
13703
|
box.timer = setTimeout(flush, 150);
|
|
13572
13704
|
}, "l2", $scope0_id);
|
|
13573
|
-
_html(`<div${_attr_class("
|
|
13705
|
+
_html(`<div${_attr_class("_jC")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
13574
13706
|
type(v);
|
|
13575
13707
|
}, "l0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
13576
13708
|
_script($scope0_id, "l3");
|
|
@@ -13616,7 +13748,7 @@ var review_tree_default = _template("z", (input) => {
|
|
|
13616
13748
|
dragging$1 = false;
|
|
13617
13749
|
if (width != null) setDiffTreeWidth(width);
|
|
13618
13750
|
}, "z2", $scope0_id);
|
|
13619
|
-
_html(`<div${_attr_class(["
|
|
13751
|
+
_html(`<div${_attr_class(["_jo", { ["_jn"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_jB", { ["_jA"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_jp")}>`);
|
|
13620
13752
|
_set_serialize_reason(2);
|
|
13621
13753
|
const $childScope = _peek_scope_id();
|
|
13622
13754
|
file_filter_default({
|
|
@@ -13625,22 +13757,22 @@ var review_tree_default = _template("z", (input) => {
|
|
|
13625
13757
|
filter$1 = _new_filter;
|
|
13626
13758
|
}, "z3", $scope0_id)
|
|
13627
13759
|
});
|
|
13628
|
-
_html(`</div><div${_attr_class("
|
|
13760
|
+
_html(`</div><div${_attr_class("_jq")}>`);
|
|
13629
13761
|
_for_of(input.sections, (section$2) => {
|
|
13630
13762
|
const $scope1_id = _scope_id();
|
|
13631
|
-
_html(`<div${_attr_class(["
|
|
13763
|
+
_html(`<div${_attr_class(["_js", { ["_jr"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
|
|
13632
13764
|
_if(() => {
|
|
13633
13765
|
if (input.sections.length > 1) {
|
|
13634
13766
|
const $scope2_id = _scope_id();
|
|
13635
|
-
_html(`<button type=button${_attr_class("
|
|
13767
|
+
_html(`<button type=button${_attr_class("_jt")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_ju", { ["_jv"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
|
|
13636
13768
|
icon_chevron_right_default({ size: 12 });
|
|
13637
|
-
_html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("
|
|
13769
|
+
_html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_jw")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_jx")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
|
|
13638
13770
|
_script($scope2_id, "z4");
|
|
13639
13771
|
_subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
|
|
13640
13772
|
return 0;
|
|
13641
13773
|
}
|
|
13642
13774
|
}, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
|
|
13643
|
-
_html(`<div${_attr_class(["
|
|
13775
|
+
_html(`<div${_attr_class(["_jz", { ["_jy"]: input.sections.length === 1 }])}${_attr("data-tree", section$2.id)}${_attr("hidden", closed$4.has(section$2.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
|
|
13644
13776
|
writeScope($scope1_id, {
|
|
13645
13777
|
f: section$2?.id,
|
|
13646
13778
|
h: $si__input_sections_length && section$2?.label,
|
|
@@ -13672,24 +13804,7 @@ var review_tree_default = _template("z", (input) => {
|
|
|
13672
13804
|
});
|
|
13673
13805
|
_resume_branch($scope0_id);
|
|
13674
13806
|
});
|
|
13675
|
-
var sheetDir = "
|
|
13676
|
-
//#endregion
|
|
13677
|
-
//#region src/tags/icons/icon-comment.marko
|
|
13678
|
-
var icon_comment_default = _template("bb", (input) => {
|
|
13679
|
-
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
13680
|
-
const $scope0_id = _scope_id();
|
|
13681
|
-
_set_serialize_reason({
|
|
13682
|
-
0: $sg__input_size__OR__input_class,
|
|
13683
|
-
1: $sg__input_size__OR__input_class
|
|
13684
|
-
});
|
|
13685
|
-
const $childScope = _peek_scope_id();
|
|
13686
|
-
icon_base_default({
|
|
13687
|
-
d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 13.8214 2.48697 15.5291 3.33782 17L2.5 21.5L7 20.6622C8.47087 21.513 10.1786 22 12 22Z",
|
|
13688
|
-
size: input.size,
|
|
13689
|
-
class: input.class
|
|
13690
|
-
});
|
|
13691
|
-
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
13692
|
-
});
|
|
13807
|
+
var sheetDir = "_iI _ba";
|
|
13693
13808
|
//#endregion
|
|
13694
13809
|
//#region src/tags/diff-file-sheet.marko
|
|
13695
13810
|
var diff_file_sheet_default = _template("i", (input) => {
|
|
@@ -13745,9 +13860,9 @@ var diff_file_sheet_default = _template("i", (input) => {
|
|
|
13745
13860
|
_if(() => {
|
|
13746
13861
|
if (open) {
|
|
13747
13862
|
const $scope1_id = _scope_id();
|
|
13748
|
-
_html(`<div${_attr_class("
|
|
13863
|
+
_html(`<div${_attr_class("_iz")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_iA")} role=dialog aria-label="Jump to file"><div${_attr_class("_iB")}><strong${_attr_class("_iy")}>Files</strong><span${_attr_class("_iC")}>${_text_resume($scope1_id, "f", input.files.length, $sg__input_files_length)}${_text_resume($scope1_id, "g", input.files.length !== total ? ` / ${total}` : "", _serialize_guard($scope0_reason, 2) * 2)}</span><button type=button${_attr_class([iconBtnLg, "_ix"])} title=Close aria-label=Close>`);
|
|
13749
13864
|
icon_xmark_default({ size: 16 });
|
|
13750
|
-
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("
|
|
13865
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_iK")}>`);
|
|
13751
13866
|
_set_serialize_reason(2);
|
|
13752
13867
|
const $childScope = _peek_scope_id();
|
|
13753
13868
|
file_filter_default({
|
|
@@ -13756,13 +13871,13 @@ var diff_file_sheet_default = _template("i", (input) => {
|
|
|
13756
13871
|
filter = _new_filter;
|
|
13757
13872
|
}, "i1", $scope1_id)
|
|
13758
13873
|
});
|
|
13759
|
-
_html(`</div><div${_attr_class("
|
|
13874
|
+
_html(`</div><div${_attr_class("_iD")}>`);
|
|
13760
13875
|
_for_of(groups, (group) => {
|
|
13761
13876
|
const $scope2_id = _scope_id();
|
|
13762
|
-
_html(`<div${_attr_class("
|
|
13877
|
+
_html(`<div${_attr_class("_iE")}><div${_attr_class("_iF")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
|
|
13763
13878
|
_for_of(group.dirs, ({ dir, files }) => {
|
|
13764
13879
|
const $scope3_id = _scope_id();
|
|
13765
|
-
_html(`<div${_attr_class("
|
|
13880
|
+
_html(`<div${_attr_class("_iG")}>`);
|
|
13766
13881
|
_if(() => {
|
|
13767
13882
|
if (dir) {
|
|
13768
13883
|
const $scope5_id = _scope_id();
|
|
@@ -13773,11 +13888,11 @@ var diff_file_sheet_default = _template("i", (input) => {
|
|
|
13773
13888
|
}, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
|
|
13774
13889
|
_for_of(files, ({ file, name }) => {
|
|
13775
13890
|
const $scope4_id = _scope_id();
|
|
13776
|
-
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["
|
|
13891
|
+
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_iH", "_y"])}><span${_attr_class("__")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_iJ")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
|
|
13777
13892
|
_if(() => {
|
|
13778
13893
|
if (newKeys.has(file.key)) {
|
|
13779
13894
|
const $scope6_id = _scope_id();
|
|
13780
|
-
_html(`<span${_attr_class(["_A", "
|
|
13895
|
+
_html(`<span${_attr_class(["_A", "_iM"])} title="Changed since your last visit"></span>`);
|
|
13781
13896
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
13782
13897
|
return 0;
|
|
13783
13898
|
}
|
|
@@ -13787,7 +13902,7 @@ var diff_file_sheet_default = _template("i", (input) => {
|
|
|
13787
13902
|
const $scope7_id = _scope_id();
|
|
13788
13903
|
icon_comment_default({
|
|
13789
13904
|
size: 12,
|
|
13790
|
-
class: "
|
|
13905
|
+
class: "_iN"
|
|
13791
13906
|
});
|
|
13792
13907
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
13793
13908
|
return 0;
|
|
@@ -13812,7 +13927,7 @@ var diff_file_sheet_default = _template("i", (input) => {
|
|
|
13812
13927
|
_if(() => {
|
|
13813
13928
|
if (!input.files.length) {
|
|
13814
13929
|
const $scope8_id = _scope_id();
|
|
13815
|
-
_html(`<p${_attr_class("
|
|
13930
|
+
_html(`<p${_attr_class("_iL")}>No files match.</p>`);
|
|
13816
13931
|
$si__input_files_length && writeScope($scope8_id, {});
|
|
13817
13932
|
return 0;
|
|
13818
13933
|
}
|
|
@@ -14065,6 +14180,11 @@ var review_view_default = _template("A", (input) => {
|
|
|
14065
14180
|
});
|
|
14066
14181
|
return out;
|
|
14067
14182
|
})();
|
|
14183
|
+
const compareLabel = rev ? commitOptions.find((c) => c.sha === rev)?.label ?? shortSha(rev, 7) : {
|
|
14184
|
+
committed: "Committed",
|
|
14185
|
+
working: "Working tree",
|
|
14186
|
+
dirty: "Uncommitted"
|
|
14187
|
+
}[scope];
|
|
14068
14188
|
const treeSections = shownRepos.map((r) => ({
|
|
14069
14189
|
id: r.id,
|
|
14070
14190
|
label: r.worktree,
|
|
@@ -14248,7 +14368,7 @@ var review_view_default = _template("A", (input) => {
|
|
|
14248
14368
|
else viewBox.scrollToLine(hit.key, hit.line, hit.side);
|
|
14249
14369
|
}, 0);
|
|
14250
14370
|
};
|
|
14251
|
-
_html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("
|
|
14371
|
+
_html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_gZ")}><div${_attr_class("_gr")}><div${_attr_class("_gy")}>`);
|
|
14252
14372
|
_if(() => {
|
|
14253
14373
|
if (input.onExit) {
|
|
14254
14374
|
const $scope1_id = _scope_id();
|
|
@@ -14263,20 +14383,24 @@ var review_view_default = _template("A", (input) => {
|
|
|
14263
14383
|
_if(() => {
|
|
14264
14384
|
if (comments.length) {
|
|
14265
14385
|
const $scope2_id = _scope_id();
|
|
14266
|
-
_html(`<span${_attr_class("
|
|
14267
|
-
_set_serialize_reason(
|
|
14386
|
+
_html(`<span${_attr_class("_gt")}>`);
|
|
14387
|
+
_set_serialize_reason({
|
|
14388
|
+
0: _serialize_guard($scope0_reason, 10),
|
|
14389
|
+
1: 1
|
|
14390
|
+
});
|
|
14268
14391
|
const $childScope = _peek_scope_id();
|
|
14269
14392
|
diff_send_default({
|
|
14393
|
+
count: comments.length,
|
|
14270
14394
|
sessions: input.sessions,
|
|
14271
14395
|
onCopy: copyMarkdown,
|
|
14272
14396
|
onSend: sendTo
|
|
14273
14397
|
});
|
|
14274
14398
|
_html("</span>");
|
|
14275
|
-
writeScope($scope2_id, {
|
|
14399
|
+
writeScope($scope2_id, { b: _existing_scope($childScope) });
|
|
14276
14400
|
return 0;
|
|
14277
14401
|
}
|
|
14278
|
-
}, $scope0_id, "h");
|
|
14279
|
-
_html(`</div
|
|
14402
|
+
}, $scope0_id, "h", 1, 1, 1, 0, 1);
|
|
14403
|
+
_html(`</div><div${_attr_class(["_gp", "_gY"])}>`);
|
|
14280
14404
|
_if(() => {
|
|
14281
14405
|
if (hasFiles) {
|
|
14282
14406
|
const $scope9_id = _scope_id();
|
|
@@ -14303,25 +14427,32 @@ var review_view_default = _template("A", (input) => {
|
|
|
14303
14427
|
_if(() => {
|
|
14304
14428
|
if (hasFiles) {
|
|
14305
14429
|
const $scope10_id = _scope_id();
|
|
14306
|
-
_html(`<button${_attr_class([
|
|
14430
|
+
_html(`<button${_attr_class([
|
|
14431
|
+
iconBtnRow,
|
|
14432
|
+
"_gn",
|
|
14433
|
+
"_gK"
|
|
14434
|
+
])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_gL")} aria-hidden=true>`);
|
|
14435
|
+
icon_folder_default({
|
|
14436
|
+
size: 20,
|
|
14437
|
+
class: "_gM"
|
|
14438
|
+
});
|
|
14439
|
+
_html(`<span${_attr_class("_gN")}>${_text_resume($scope10_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope10_id, "a")}`);
|
|
14307
14440
|
_script($scope10_id, "A41");
|
|
14308
14441
|
writeScope($scope10_id, {});
|
|
14309
14442
|
return 0;
|
|
14310
14443
|
}
|
|
14311
14444
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
14312
|
-
_html(`<span${_attr_class([
|
|
14313
|
-
|
|
14314
|
-
"
|
|
14315
|
-
"
|
|
14316
|
-
])}>`);
|
|
14317
|
-
|
|
14445
|
+
_html(`<span${_attr_class("_gz")}><button${_attr_class([
|
|
14446
|
+
iconBtnRow,
|
|
14447
|
+
"_gn",
|
|
14448
|
+
{ ["_gm"]: !!rev }
|
|
14449
|
+
])}${_attr("title", `${compareLabel}\n${compareTitle}`)} aria-label=Compare${_attr("disabled", loading)}>`);
|
|
14450
|
+
icon_branch_default({ size: 14 });
|
|
14451
|
+
_html(`</button>${_el_resume($scope0_id, "o")}`);
|
|
14452
|
+
_attr_select_value($scope0_id, "q", rev ? `rev:${rev}` : scope, _resume(function(v) {
|
|
14318
14453
|
pickCompare(v);
|
|
14319
14454
|
}, "A0", $scope0_id), () => {
|
|
14320
|
-
_html(`<select${_attr_class(
|
|
14321
|
-
"_p",
|
|
14322
|
-
"_gC",
|
|
14323
|
-
"_gZ"
|
|
14324
|
-
])} aria-label=Compare${_attr("title", compareTitle)}${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option>`);
|
|
14455
|
+
_html(`<select${_attr_class("_gA")} aria-label=Compare tabindex=-1${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option>`);
|
|
14325
14456
|
_if(() => {
|
|
14326
14457
|
if (commitOptions.length) {
|
|
14327
14458
|
const $scope12_id = _scope_id();
|
|
@@ -14334,10 +14465,10 @@ var review_view_default = _template("A", (input) => {
|
|
|
14334
14465
|
writeScope($scope12_id, {});
|
|
14335
14466
|
return 0;
|
|
14336
14467
|
}
|
|
14337
|
-
}, $scope0_id, "
|
|
14468
|
+
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
14338
14469
|
_html("</select>");
|
|
14339
14470
|
});
|
|
14340
|
-
_html(`${_el_resume($scope0_id, "
|
|
14471
|
+
_html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_gx", { ["_gw"]: !findOpen }])}>`);
|
|
14341
14472
|
_set_serialize_reason(2);
|
|
14342
14473
|
const $childScope3 = _peek_scope_id();
|
|
14343
14474
|
let findFocus = diff_find_default({
|
|
@@ -14353,14 +14484,14 @@ var review_view_default = _template("A", (input) => {
|
|
|
14353
14484
|
onFindState(s);
|
|
14354
14485
|
}
|
|
14355
14486
|
});
|
|
14356
|
-
_var($scope0_id, "
|
|
14357
|
-
_html(`</div>${_el_resume($scope0_id, "
|
|
14487
|
+
_var($scope0_id, "u", $childScope3, "A42");
|
|
14488
|
+
_html(`</div>${_el_resume($scope0_id, "s")}`);
|
|
14358
14489
|
_if(() => {
|
|
14359
14490
|
if (hasFiles && !pinnedFind) {
|
|
14360
14491
|
const $scope11_id = _scope_id();
|
|
14361
14492
|
_html(`<button${_attr_class([
|
|
14362
14493
|
iconBtnRow,
|
|
14363
|
-
"
|
|
14494
|
+
"_gv",
|
|
14364
14495
|
"_gn"
|
|
14365
14496
|
])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
14366
14497
|
icon_search_default({ size: 14 });
|
|
@@ -14369,16 +14500,16 @@ var review_view_default = _template("A", (input) => {
|
|
|
14369
14500
|
writeScope($scope11_id, {});
|
|
14370
14501
|
return 0;
|
|
14371
14502
|
}
|
|
14372
|
-
}, $scope0_id, "
|
|
14503
|
+
}, $scope0_id, "v", 1, 1, 1, 0, 1);
|
|
14373
14504
|
_html("</div>");
|
|
14374
14505
|
_if(() => {
|
|
14375
14506
|
if (!repos && loading) {
|
|
14376
14507
|
const $scope14_id = _scope_id();
|
|
14377
|
-
_html(`<div${_attr_class("
|
|
14508
|
+
_html(`<div${_attr_class("_gH")} aria-hidden=true><div${_attr_class(["_gD", "_gI"])}></div><div${_attr_class(["_gD", "_gJ"])}></div></div>`);
|
|
14378
14509
|
writeScope($scope14_id, {});
|
|
14379
14510
|
return 0;
|
|
14380
14511
|
}
|
|
14381
|
-
}, $scope0_id, "
|
|
14512
|
+
}, $scope0_id, "w", 1, 1, 1, 0, 1);
|
|
14382
14513
|
_set_serialize_reason({
|
|
14383
14514
|
0: 1,
|
|
14384
14515
|
1: 1,
|
|
@@ -14447,7 +14578,7 @@ var review_view_default = _template("A", (input) => {
|
|
|
14447
14578
|
onReload: reload,
|
|
14448
14579
|
loading
|
|
14449
14580
|
});
|
|
14450
|
-
_html(`</div><div${_attr_class("
|
|
14581
|
+
_html(`</div><div${_attr_class("_gO")}>`);
|
|
14451
14582
|
_if(() => {
|
|
14452
14583
|
if (error) {
|
|
14453
14584
|
const $scope3_id = _scope_id();
|
|
@@ -14466,7 +14597,7 @@ var review_view_default = _template("A", (input) => {
|
|
|
14466
14597
|
writeScope($scope3_id, {});
|
|
14467
14598
|
return 0;
|
|
14468
14599
|
}
|
|
14469
|
-
}, $scope0_id, "
|
|
14600
|
+
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
14470
14601
|
_for_of(repoList.filter((r) => r.baseMissing), (repo) => {
|
|
14471
14602
|
const $scope6_id = _scope_id();
|
|
14472
14603
|
const $for_content__repo_base__closures = /* @__PURE__ */ new Set();
|
|
@@ -14488,34 +14619,34 @@ var review_view_default = _template("A", (input) => {
|
|
|
14488
14619
|
f: $for_content__repo_base__closures,
|
|
14489
14620
|
a: _existing_scope($childScope5)
|
|
14490
14621
|
});
|
|
14491
|
-
}, "id", $scope0_id, "
|
|
14622
|
+
}, "id", $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
14492
14623
|
_if(() => {
|
|
14493
14624
|
if (!repos && loading) {
|
|
14494
14625
|
const $scope15_id = _scope_id();
|
|
14495
|
-
_html(`<div${_attr_class("
|
|
14626
|
+
_html(`<div${_attr_class("_gC")} aria-hidden=true>`);
|
|
14496
14627
|
forTo(2, 0, 1, () => {
|
|
14497
14628
|
_scope_id();
|
|
14498
|
-
_html(`<div${_attr_class("
|
|
14629
|
+
_html(`<div${_attr_class("_gE")}><div${_attr_class(["_gD", "_gF"])}></div><div${_attr_class(["_gD", "_gG"])}></div></div>`);
|
|
14499
14630
|
});
|
|
14500
14631
|
_html("</div>");
|
|
14501
14632
|
writeScope($scope15_id, {});
|
|
14502
14633
|
return 0;
|
|
14503
14634
|
}
|
|
14504
|
-
}, $scope0_id, "
|
|
14635
|
+
}, $scope0_id, "a1", 1, 1, 1, 0, 1);
|
|
14505
14636
|
_if(() => {
|
|
14506
14637
|
if (repos && !allFiles.length) {
|
|
14507
14638
|
const $scope8_id = _scope_id();
|
|
14508
|
-
_html(`<p${_attr_class("
|
|
14639
|
+
_html(`<p${_attr_class("_cp")}>${_text_resume($scope8_id, "b", rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
|
|
14509
14640
|
writeScope($scope8_id, {});
|
|
14510
14641
|
return 0;
|
|
14511
14642
|
} else if (repos && !listFiles.length && !findState.hit) {
|
|
14512
14643
|
const $scope5_id = _scope_id();
|
|
14513
|
-
_html(`<p${_attr_class("
|
|
14644
|
+
_html(`<p${_attr_class("_cp")}>${_text_resume($scope5_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
|
|
14514
14645
|
writeScope($scope5_id, {});
|
|
14515
14646
|
return 1;
|
|
14516
14647
|
}
|
|
14517
|
-
}, $scope0_id, "
|
|
14518
|
-
_html(`</div></div><div${_attr_class("
|
|
14648
|
+
}, $scope0_id, "a2", 1, 1, 1, 0, 1);
|
|
14649
|
+
_html(`</div></div><div${_attr_class("_gP")} data-diff-main></div>${_el_resume($scope0_id, "a3")}</div>`);
|
|
14519
14650
|
_set_serialize_reason(26);
|
|
14520
14651
|
const $childScope6 = _peek_scope_id();
|
|
14521
14652
|
review_tree_default({
|
|
@@ -14578,105 +14709,107 @@ var review_view_default = _template("A", (input) => {
|
|
|
14578
14709
|
_script($scope0_id, "A49");
|
|
14579
14710
|
_script($scope0_id, "A50");
|
|
14580
14711
|
writeScope($scope0_id, {
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
|
|
14587
|
-
|
|
14588
|
-
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14595
|
-
|
|
14596
|
-
|
|
14597
|
-
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
|
|
14603
|
-
|
|
14604
|
-
|
|
14605
|
-
|
|
14606
|
-
|
|
14607
|
-
|
|
14608
|
-
|
|
14609
|
-
|
|
14610
|
-
|
|
14611
|
-
|
|
14612
|
-
|
|
14613
|
-
|
|
14614
|
-
|
|
14615
|
-
|
|
14616
|
-
|
|
14617
|
-
|
|
14618
|
-
|
|
14619
|
-
|
|
14620
|
-
|
|
14621
|
-
|
|
14622
|
-
|
|
14623
|
-
|
|
14624
|
-
|
|
14625
|
-
|
|
14626
|
-
|
|
14627
|
-
|
|
14628
|
-
|
|
14629
|
-
|
|
14630
|
-
|
|
14631
|
-
|
|
14632
|
-
|
|
14633
|
-
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
|
-
|
|
14641
|
-
|
|
14642
|
-
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
dg:
|
|
14652
|
-
|
|
14653
|
-
|
|
14654
|
-
|
|
14655
|
-
|
|
14656
|
-
|
|
14657
|
-
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
14661
|
-
|
|
14662
|
-
dz:
|
|
14663
|
-
|
|
14664
|
-
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
e8:
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
|
|
14672
|
-
|
|
14712
|
+
a8: input.workspaceId,
|
|
14713
|
+
a9: input.scope,
|
|
14714
|
+
aa: input.rev,
|
|
14715
|
+
ab: _serialize_if($scope0_reason, 4) && input.findOpen,
|
|
14716
|
+
ac: _serialize_if($scope0_reason, 3) && input.findOpenChange,
|
|
14717
|
+
ae: _serialize_if($scope0_reason, 6) && input.findTick,
|
|
14718
|
+
af: _serialize_if($scope0_reason, 5) && input.findTickChange,
|
|
14719
|
+
ah: input.onFileChange,
|
|
14720
|
+
ai: input.focusPr,
|
|
14721
|
+
aj: input.focusFile,
|
|
14722
|
+
ak: input.active,
|
|
14723
|
+
al: input.onScopeChange,
|
|
14724
|
+
am: input.onRevChange,
|
|
14725
|
+
an: input.workspaceBranch,
|
|
14726
|
+
ao: input.workspaceName,
|
|
14727
|
+
ap: input.onSent,
|
|
14728
|
+
ar: input.sessions,
|
|
14729
|
+
as: input.focusNonce,
|
|
14730
|
+
at: input.focusFileNonce,
|
|
14731
|
+
au: repos,
|
|
14732
|
+
aw: comments,
|
|
14733
|
+
ay: comments?.length,
|
|
14734
|
+
az: draft,
|
|
14735
|
+
b0: error,
|
|
14736
|
+
b1: loading,
|
|
14737
|
+
b3: fileFilter,
|
|
14738
|
+
b6: onlyNew,
|
|
14739
|
+
b7: scope,
|
|
14740
|
+
b8: rev,
|
|
14741
|
+
b9: treeOpen,
|
|
14742
|
+
bb: findOpen,
|
|
14743
|
+
bd: pinnedFind,
|
|
14744
|
+
bf: findTick,
|
|
14745
|
+
bi: findState?.query,
|
|
14746
|
+
bk: findState?.hit,
|
|
14747
|
+
bl: findState?.hit?.key,
|
|
14748
|
+
bm: collapsedFiles,
|
|
14749
|
+
bn: activeRepo,
|
|
14750
|
+
bo: foldedRepos,
|
|
14751
|
+
bq: headBox.sig,
|
|
14752
|
+
br: headBox.timer,
|
|
14753
|
+
bt: loadBox.seq,
|
|
14754
|
+
bu: viewBox,
|
|
14755
|
+
bw: posBox.anchor,
|
|
14756
|
+
by: posBox.raf,
|
|
14757
|
+
c0: restoreBox.pos,
|
|
14758
|
+
c2: restoreBox.jump,
|
|
14759
|
+
c5: restorePos,
|
|
14760
|
+
c6: savePos,
|
|
14761
|
+
c7: jumpTo,
|
|
14762
|
+
c8: focusPrSection,
|
|
14763
|
+
ca: load,
|
|
14764
|
+
cf: reload,
|
|
14765
|
+
cg: reloadSoon,
|
|
14766
|
+
ch: loadReview,
|
|
14767
|
+
ci: setScope,
|
|
14768
|
+
cj: setRev,
|
|
14769
|
+
cl: pickCompare,
|
|
14770
|
+
cn: markSeen,
|
|
14771
|
+
co: repoList,
|
|
14772
|
+
cq: shownRepos,
|
|
14773
|
+
cr: allFiles,
|
|
14774
|
+
ct: allFiles?.length,
|
|
14775
|
+
cv: fileFiltered,
|
|
14776
|
+
cw: findKeys,
|
|
14777
|
+
cy: listFiles,
|
|
14778
|
+
d2: shownFiles,
|
|
14779
|
+
d4: shownFiles?.length,
|
|
14780
|
+
d6: commentsByFile,
|
|
14781
|
+
dd: commitOptions,
|
|
14782
|
+
dg: compareLabel,
|
|
14783
|
+
dk: _serialize_if($scope0_reason, 1) && repoTabs,
|
|
14784
|
+
dm: compareTitle,
|
|
14785
|
+
do: fileWorktree,
|
|
14786
|
+
dp: anchorFor,
|
|
14787
|
+
dq: filesByKey,
|
|
14788
|
+
dr: fileByKey,
|
|
14789
|
+
dt: saveComment,
|
|
14790
|
+
du: deleteRemote,
|
|
14791
|
+
dw: removeComment,
|
|
14792
|
+
dx: editComment,
|
|
14793
|
+
dz: sendGate.busy,
|
|
14794
|
+
e1: dispatch,
|
|
14795
|
+
e4: copyMarkdown,
|
|
14796
|
+
e5: sendTo,
|
|
14797
|
+
e6: sendOneComment,
|
|
14798
|
+
e7: sendDraftComment,
|
|
14799
|
+
e8: openFind,
|
|
14800
|
+
eb: findFocus,
|
|
14801
|
+
ed: dockBox.home,
|
|
14802
|
+
ee: dockBox.raf,
|
|
14803
|
+
eg: dockFind,
|
|
14804
|
+
bc: input.findOpenChange || void 0,
|
|
14805
|
+
bg: input.findTickChange || void 0,
|
|
14673
14806
|
l: _existing_scope($childScope2),
|
|
14674
|
-
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
|
|
14679
|
-
|
|
14807
|
+
t: _existing_scope($childScope3),
|
|
14808
|
+
x: _existing_scope($childScope4),
|
|
14809
|
+
el: $error__closures,
|
|
14810
|
+
eo: $scope__closures,
|
|
14811
|
+
a4: _existing_scope($childScope6),
|
|
14812
|
+
a5: _existing_scope($childScope7)
|
|
14680
14813
|
});
|
|
14681
14814
|
_resume_branch($scope0_id);
|
|
14682
14815
|
return $return;
|
|
@@ -14793,27 +14926,10 @@ function parseInvite(text) {
|
|
|
14793
14926
|
}
|
|
14794
14927
|
//#endregion
|
|
14795
14928
|
//#region src/tags/manage-workspace.css.ts
|
|
14796
|
-
var procCmd = "_f8
|
|
14797
|
-
var skillRow = "_f_
|
|
14798
|
-
var skillName = "_gb _f8
|
|
14799
|
-
var skillDesc = "_ge
|
|
14800
|
-
//#endregion
|
|
14801
|
-
//#region src/tags/icons/icon-clipboard.marko
|
|
14802
|
-
var icon_clipboard_default = _template("ab", (input) => {
|
|
14803
|
-
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
14804
|
-
const $scope0_id = _scope_id();
|
|
14805
|
-
_set_serialize_reason({
|
|
14806
|
-
0: $sg__input_size__OR__input_class,
|
|
14807
|
-
1: $sg__input_size__OR__input_class
|
|
14808
|
-
});
|
|
14809
|
-
const $childScope = _peek_scope_id();
|
|
14810
|
-
icon_base_default({
|
|
14811
|
-
d: "M8.5 4H6C4.89543 4 4 4.89543 4 6V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V6C20 4.89543 19.1046 4 18 4H15.5 M8 6.4V4.5C8 4.22386 8.22386 4 8.5 4C8.77614 4 9.00422 3.77604 9.05152 3.50398C9.19968 2.65171 9.77399 1 12 1C14.226 1 14.8003 2.65171 14.9485 3.50398C14.9958 3.77604 15.2239 4 15.5 4C15.7761 4 16 4.22386 16 4.5V6.4C16 6.73137 15.7314 7 15.4 7H8.6C8.26863 7 8 6.73137 8 6.4Z",
|
|
14812
|
-
size: input.size,
|
|
14813
|
-
class: input.class
|
|
14814
|
-
});
|
|
14815
|
-
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
14816
|
-
});
|
|
14929
|
+
var procCmd = "_f8 _cK";
|
|
14930
|
+
var skillRow = "_f_ _cI";
|
|
14931
|
+
var skillName = "_gb _f8 _cK";
|
|
14932
|
+
var skillDesc = "_ge _cL";
|
|
14817
14933
|
//#endregion
|
|
14818
14934
|
//#region src/tags/icons/icon-archive.marko
|
|
14819
14935
|
var icon_archive_default = _template("Q", (input) => {
|
|
@@ -14833,7 +14949,7 @@ var icon_archive_default = _template("Q", (input) => {
|
|
|
14833
14949
|
});
|
|
14834
14950
|
//#endregion
|
|
14835
14951
|
//#region src/tags/icons/icon-trash.marko
|
|
14836
|
-
var icon_trash_default = _template("
|
|
14952
|
+
var icon_trash_default = _template("wb", (input) => {
|
|
14837
14953
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
14838
14954
|
const $scope0_id = _scope_id();
|
|
14839
14955
|
_set_serialize_reason({
|
|
@@ -14848,27 +14964,10 @@ var icon_trash_default = _template("vb", (input) => {
|
|
|
14848
14964
|
});
|
|
14849
14965
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
14850
14966
|
});
|
|
14851
|
-
var resultRow = "
|
|
14852
|
-
var resultBranch = "
|
|
14853
|
-
var urlAction = "
|
|
14854
|
-
var addedRow = "
|
|
14855
|
-
//#endregion
|
|
14856
|
-
//#region src/tags/icons/icon-branch.marko
|
|
14857
|
-
var icon_branch_default = _template("Y", (input) => {
|
|
14858
|
-
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
14859
|
-
const $scope0_id = _scope_id();
|
|
14860
|
-
_set_serialize_reason({
|
|
14861
|
-
0: $sg__input_size__OR__input_class,
|
|
14862
|
-
1: $sg__input_size__OR__input_class
|
|
14863
|
-
});
|
|
14864
|
-
const $childScope = _peek_scope_id();
|
|
14865
|
-
icon_base_default({
|
|
14866
|
-
d: "M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z M6 20C7.10457 20 8 19.1046 8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20Z M6 16V3 M8 18H9C12.5 18 18 15.9 18 9.5V8",
|
|
14867
|
-
size: input.size,
|
|
14868
|
-
class: input.class
|
|
14869
|
-
});
|
|
14870
|
-
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
14871
|
-
});
|
|
14967
|
+
var resultRow = "_ij _I";
|
|
14968
|
+
var resultBranch = "_ik _cP _X _W _3 _l";
|
|
14969
|
+
var urlAction = "_il _cP _X _W _cQ";
|
|
14970
|
+
var addedRow = "_iw _cI";
|
|
14872
14971
|
//#endregion
|
|
14873
14972
|
//#region src/tags/branch-pick.marko
|
|
14874
14973
|
var branch_pick_default = _template("f", (input) => {
|
|
@@ -14881,11 +14980,11 @@ var branch_pick_default = _template("f", (input) => {
|
|
|
14881
14980
|
let branchFilter = "";
|
|
14882
14981
|
let reloadTick = 0;
|
|
14883
14982
|
let refreshing = false;
|
|
14884
|
-
_html(`<div${_attr_class("
|
|
14983
|
+
_html(`<div${_attr_class("_im")}>`);
|
|
14885
14984
|
_if(() => {
|
|
14886
14985
|
{
|
|
14887
14986
|
const $scope4_id = _scope_id();
|
|
14888
|
-
_html(`<p${_attr_class("
|
|
14987
|
+
_html(`<p${_attr_class("_co")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
|
|
14889
14988
|
writeScope($scope4_id, {});
|
|
14890
14989
|
return 0;
|
|
14891
14990
|
}
|
|
@@ -14988,10 +15087,10 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
14988
15087
|
}, $scope0_id) };
|
|
14989
15088
|
const addedList = sheet ? input$2.added || [] : [];
|
|
14990
15089
|
const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet && !!input$2.added);
|
|
14991
|
-
_html(`<div${_attr_class(["
|
|
14992
|
-
["
|
|
14993
|
-
["
|
|
14994
|
-
}])}><label${_attr_class(["_0", "
|
|
15090
|
+
_html(`<div${_attr_class(["_d6", {
|
|
15091
|
+
["_d7"]: !input$2.open,
|
|
15092
|
+
["_d8"]: input$2.pinned
|
|
15093
|
+
}])}><label${_attr_class(["_0", "_d9"])}>`);
|
|
14995
15094
|
icon_search_default({
|
|
14996
15095
|
size: 14,
|
|
14997
15096
|
class: "_1"
|
|
@@ -15003,14 +15102,14 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15003
15102
|
}, "w0", $scope0_id))}${_attr_class([
|
|
15004
15103
|
"_Y",
|
|
15005
15104
|
"_2",
|
|
15006
|
-
"
|
|
15007
|
-
])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "
|
|
15105
|
+
"_d_"
|
|
15106
|
+
])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_eb"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
|
|
15008
15107
|
icon_xmark_default({ size: 14 });
|
|
15009
15108
|
_html(`</button>${_el_resume($scope0_id, "e")}<div${_attr_class(pop$1)}${_attr("hidden", !hasBody || !input$2.open && !input$2.pinned)}>`);
|
|
15010
15109
|
_if(() => {
|
|
15011
15110
|
if (ssoPending.length) {
|
|
15012
15111
|
const $scope11_id = _scope_id();
|
|
15013
|
-
_html(`<div${_attr_class("
|
|
15112
|
+
_html(`<div${_attr_class("_if")}>`);
|
|
15014
15113
|
ssoBlock.content({});
|
|
15015
15114
|
_html("</div>");
|
|
15016
15115
|
writeScope($scope11_id, {});
|
|
@@ -15020,16 +15119,16 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15020
15119
|
_if(() => {
|
|
15021
15120
|
if (pasted) {
|
|
15022
15121
|
const $scope1_id = _scope_id();
|
|
15023
|
-
_html(`<ul${_attr_class("
|
|
15122
|
+
_html(`<ul${_attr_class("_ig")}><li><div${_attr_class(["_ii", "_ih"])}><button${_attr_class(resultRow)}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
15024
15123
|
icon_plus_default({
|
|
15025
15124
|
size: 12,
|
|
15026
|
-
class: "
|
|
15125
|
+
class: "_io"
|
|
15027
15126
|
});
|
|
15028
|
-
_html(`<span${_attr_class("
|
|
15127
|
+
_html(`<span${_attr_class("_ip")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
|
|
15029
15128
|
_if(() => {
|
|
15030
15129
|
if (pastedForkable) {
|
|
15031
15130
|
const $scope10_id = _scope_id();
|
|
15032
|
-
_html(`<button${_attr_class([urlAction, { ["
|
|
15131
|
+
_html(`<button${_attr_class([urlAction, { ["_cO"]: 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"}>`);
|
|
15033
15132
|
_if(() => {
|
|
15034
15133
|
if (pasteWillFork) {
|
|
15035
15134
|
const $scope13_id = _scope_id();
|
|
@@ -15049,7 +15148,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15049
15148
|
return 0;
|
|
15050
15149
|
}
|
|
15051
15150
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
15052
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
15151
|
+
_html(`<button${_attr_class([resultBranch, { ["_cO"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
15053
15152
|
icon_branch_default({ size: 12 });
|
|
15054
15153
|
_html(`</button>${_el_resume($scope1_id, "h")}</div>`);
|
|
15055
15154
|
_if(() => {
|
|
@@ -15076,7 +15175,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15076
15175
|
return 0;
|
|
15077
15176
|
} else if (filter && !catalog) {
|
|
15078
15177
|
const $scope12_id = _scope_id();
|
|
15079
|
-
_html(`<p${_attr_class("
|
|
15178
|
+
_html(`<p${_attr_class("_co")}>Loading repos…</p>`);
|
|
15080
15179
|
writeScope($scope12_id, {});
|
|
15081
15180
|
return 1;
|
|
15082
15181
|
}
|
|
@@ -15084,15 +15183,15 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15084
15183
|
_if(() => {
|
|
15085
15184
|
if (results.length) {
|
|
15086
15185
|
const $scope3_id = _scope_id();
|
|
15087
|
-
_html(`<ul${_attr_class("
|
|
15186
|
+
_html(`<ul${_attr_class("_ig")}>`);
|
|
15088
15187
|
_for_of(results, (repo, i) => {
|
|
15089
15188
|
const $scope4_id = _scope_id();
|
|
15090
|
-
_html(`<li><div${_attr_class(["
|
|
15189
|
+
_html(`<li><div${_attr_class(["_ii", { ["_ih"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
|
|
15091
15190
|
icon_plus_default({
|
|
15092
15191
|
size: 12,
|
|
15093
|
-
class: "
|
|
15192
|
+
class: "_io"
|
|
15094
15193
|
});
|
|
15095
|
-
_html(`<span${_attr_class("
|
|
15194
|
+
_html(`<span${_attr_class("_ip")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cO"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
15096
15195
|
icon_branch_default({ size: 12 });
|
|
15097
15196
|
_html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
|
|
15098
15197
|
_if(() => {
|
|
@@ -15127,7 +15226,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15127
15226
|
return 0;
|
|
15128
15227
|
} else if (filter && catalog && !pasted) {
|
|
15129
15228
|
const $scope8_id = _scope_id();
|
|
15130
|
-
_html(`<p${_attr_class("
|
|
15229
|
+
_html(`<p${_attr_class("_co")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
|
|
15131
15230
|
writeScope($scope8_id, {});
|
|
15132
15231
|
return 1;
|
|
15133
15232
|
}
|
|
@@ -15135,10 +15234,10 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15135
15234
|
_if(() => {
|
|
15136
15235
|
if (sheet && input$2.added) {
|
|
15137
15236
|
const $scope6_id = _scope_id();
|
|
15138
|
-
_html(`<div${_attr_class("
|
|
15237
|
+
_html(`<div${_attr_class("_iu")}><p${_attr_class("_iv")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
|
|
15139
15238
|
_for_of(addedList, (repo) => {
|
|
15140
15239
|
const $scope15_id = _scope_id();
|
|
15141
|
-
_html(`<li${_attr_class([addedRow, { ["
|
|
15240
|
+
_html(`<li${_attr_class([addedRow, { ["_cN"]: repo.pending }])}>`);
|
|
15142
15241
|
_if(() => {
|
|
15143
15242
|
if (repo.pending) {
|
|
15144
15243
|
const $scope17_id = _scope_id();
|
|
@@ -15149,13 +15248,13 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15149
15248
|
const $scope18_id = _scope_id();
|
|
15150
15249
|
icon_check_default({
|
|
15151
15250
|
size: 12,
|
|
15152
|
-
class: "
|
|
15251
|
+
class: "_io"
|
|
15153
15252
|
});
|
|
15154
15253
|
$si__input_added && writeScope($scope18_id, {});
|
|
15155
15254
|
return 1;
|
|
15156
15255
|
}
|
|
15157
15256
|
}, $scope15_id, "b", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
|
|
15158
|
-
_html(`<span${_attr_class("
|
|
15257
|
+
_html(`<span${_attr_class("_ip")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
|
|
15159
15258
|
_if(() => {
|
|
15160
15259
|
if (repo.baseBranch) {
|
|
15161
15260
|
const $scope16_id = _scope_id();
|
|
@@ -15172,7 +15271,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
15172
15271
|
_if(() => {
|
|
15173
15272
|
if (!addedList.length) {
|
|
15174
15273
|
const $scope7_id = _scope_id();
|
|
15175
|
-
_html(`<li${_attr_class([addedRow, "
|
|
15274
|
+
_html(`<li${_attr_class([addedRow, "_cN"])}>`);
|
|
15176
15275
|
_if(() => {
|
|
15177
15276
|
if (catalog) {
|
|
15178
15277
|
const $scope19_id = _scope_id();
|
|
@@ -15410,7 +15509,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15410
15509
|
setTimeout(() => loadProcs(void 0), 500);
|
|
15411
15510
|
}, "p11", $scope0_id);
|
|
15412
15511
|
const titleId = _id();
|
|
15413
|
-
_html(`<div${_attr_class("
|
|
15512
|
+
_html(`<div${_attr_class("_dX")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dY")}><div${_attr_class("_dZ")}>`);
|
|
15414
15513
|
_set_serialize_reason(30);
|
|
15415
15514
|
const $childScope2 = _peek_scope_id();
|
|
15416
15515
|
page_head_default({
|
|
@@ -15518,7 +15617,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15518
15617
|
_resume_branch($scope6_id);
|
|
15519
15618
|
}, $scope0_id) })
|
|
15520
15619
|
});
|
|
15521
|
-
_html(`<div${_attr_class("
|
|
15620
|
+
_html(`<div${_attr_class("_d0")}><section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Name</span><span${_attr_class(["_gj", "_gk"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
|
|
15522
15621
|
_if(() => {
|
|
15523
15622
|
if (ws.status !== "active") {
|
|
15524
15623
|
const $scope23_id = _scope_id();
|
|
@@ -15583,12 +15682,12 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15583
15682
|
_if(() => {
|
|
15584
15683
|
if (pendingAction && actionStep) {
|
|
15585
15684
|
const $scope10_id = _scope_id();
|
|
15586
|
-
_html(`<p${_attr_class("
|
|
15685
|
+
_html(`<p${_attr_class("_cc")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
|
|
15587
15686
|
writeScope($scope10_id, {});
|
|
15588
15687
|
return 0;
|
|
15589
15688
|
}
|
|
15590
15689
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
15591
|
-
_html(`<section${_attr_class("
|
|
15690
|
+
_html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gh"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
|
|
15592
15691
|
icon_plus_default({ size: 16 });
|
|
15593
15692
|
_html(`</button>${_el_resume($scope0_id, "a6")}`);
|
|
15594
15693
|
_set_serialize_reason(34);
|
|
@@ -15625,10 +15724,10 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15625
15724
|
size: 14,
|
|
15626
15725
|
class: catalogRefreshing && "_F"
|
|
15627
15726
|
});
|
|
15628
|
-
_html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "
|
|
15727
|
+
_html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_cH"])}>`);
|
|
15629
15728
|
_for_of(ws.repos, (row) => {
|
|
15630
15729
|
const $scope1_id = _scope_id();
|
|
15631
|
-
_html(`<li${_attr_class("
|
|
15730
|
+
_html(`<li${_attr_class("_cI")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_cL")}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel$1(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
|
|
15632
15731
|
_if(() => {
|
|
15633
15732
|
if (row.base_branch !== row.default_branch) {
|
|
15634
15733
|
const $scope28_id = _scope_id();
|
|
@@ -15639,7 +15738,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15639
15738
|
return 0;
|
|
15640
15739
|
}
|
|
15641
15740
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
15642
|
-
_html(`</span><span${_attr_class("
|
|
15741
|
+
_html(`</span><span${_attr_class("_cM")}>`);
|
|
15643
15742
|
_if(() => {
|
|
15644
15743
|
if (busy.has(row.full_name)) {
|
|
15645
15744
|
const $scope29_id = _scope_id();
|
|
@@ -15651,7 +15750,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15651
15750
|
const $childScope5 = _peek_scope_id();
|
|
15652
15751
|
arm_button_default({
|
|
15653
15752
|
class: [
|
|
15654
|
-
"
|
|
15753
|
+
"_cn",
|
|
15655
15754
|
"_7",
|
|
15656
15755
|
"_8"
|
|
15657
15756
|
],
|
|
@@ -15682,16 +15781,16 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15682
15781
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
15683
15782
|
const $scope31_id = _scope_id();
|
|
15684
15783
|
_html(`<li${_attr_class([
|
|
15685
|
-
"
|
|
15686
|
-
"
|
|
15687
|
-
"
|
|
15688
|
-
])}><span${_attr_class("_G")}></span><span${_attr_class("
|
|
15784
|
+
"_cI",
|
|
15785
|
+
"_cJ",
|
|
15786
|
+
"_ch"
|
|
15787
|
+
])}><span${_attr_class("_G")}></span><span${_attr_class("_cm")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
|
|
15689
15788
|
writeScope($scope31_id, {});
|
|
15690
15789
|
}, (n) => n, $scope0_id, "ae", 1, 1, 1, 0, 1);
|
|
15691
15790
|
_if(() => {
|
|
15692
15791
|
if (!ws.repos.length && !busy.size) {
|
|
15693
15792
|
const $scope32_id = _scope_id();
|
|
15694
|
-
_html(`<li${_attr_class(["
|
|
15793
|
+
_html(`<li${_attr_class(["_cI", "_cJ"])}><span${_attr_class("_cm")}>No repos yet. Add one to start.</span></li>`);
|
|
15695
15794
|
writeScope($scope32_id, {});
|
|
15696
15795
|
return 0;
|
|
15697
15796
|
}
|
|
@@ -15701,10 +15800,10 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15701
15800
|
_if(() => {
|
|
15702
15801
|
if (running.length) {
|
|
15703
15802
|
const $scope15_id = _scope_id();
|
|
15704
|
-
_html(`<section${_attr_class("
|
|
15803
|
+
_html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
|
|
15705
15804
|
_for_of(running, (p) => {
|
|
15706
15805
|
const $scope16_id = _scope_id();
|
|
15707
|
-
_html(`<li${_attr_class("
|
|
15806
|
+
_html(`<li${_attr_class("_cI")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_cL"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_cM")}>`);
|
|
15708
15807
|
_for_of(p.ports, (port) => {
|
|
15709
15808
|
const $scope33_id = _scope_id();
|
|
15710
15809
|
_html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope33_id, "b", port, 2)}</button>${_el_resume($scope33_id, "a")}`);
|
|
@@ -15712,7 +15811,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15712
15811
|
writeScope($scope33_id, { d: port });
|
|
15713
15812
|
}, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
|
|
15714
15813
|
_html(`<span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
|
|
15715
|
-
"
|
|
15814
|
+
"_cn",
|
|
15716
15815
|
"_7",
|
|
15717
15816
|
"_gg"
|
|
15718
15817
|
])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
@@ -15735,11 +15834,11 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15735
15834
|
s,
|
|
15736
15835
|
linked: false
|
|
15737
15836
|
}))].sort((a, b) => a.s.name.localeCompare(b.s.name));
|
|
15738
|
-
_html(`</div><div${_attr_class("
|
|
15837
|
+
_html(`</div><div${_attr_class("_d0")}>`);
|
|
15739
15838
|
_if(() => {
|
|
15740
15839
|
if (allSkills.length) {
|
|
15741
15840
|
const $scope2_id = _scope_id();
|
|
15742
|
-
_html(`<section${_attr_class("
|
|
15841
|
+
_html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_cH"])}>`);
|
|
15743
15842
|
_for_of(allSkills, ({ s, linked }) => {
|
|
15744
15843
|
const $scope3_id = _scope_id();
|
|
15745
15844
|
const isBusy = skillBusy.has(s.id);
|
|
@@ -15756,7 +15855,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15756
15855
|
return 0;
|
|
15757
15856
|
}
|
|
15758
15857
|
}, $scope3_id, "e", 1, 1, 1, 0, 1);
|
|
15759
|
-
_html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class("
|
|
15858
|
+
_html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class("_cM")}>`);
|
|
15760
15859
|
_if(() => {
|
|
15761
15860
|
if (s.broken) {
|
|
15762
15861
|
const $scope35_id = _scope_id();
|
|
@@ -15804,7 +15903,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15804
15903
|
const $childScope6 = _peek_scope_id();
|
|
15805
15904
|
arm_button_default({
|
|
15806
15905
|
class: [
|
|
15807
|
-
"
|
|
15906
|
+
"_cn",
|
|
15808
15907
|
"_7",
|
|
15809
15908
|
"_8",
|
|
15810
15909
|
"_gf"
|
|
@@ -15917,13 +16016,13 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15917
16016
|
});
|
|
15918
16017
|
_resume_branch($scope0_id);
|
|
15919
16018
|
});
|
|
15920
|
-
var curRow = "_fZ
|
|
15921
|
-
var archived = "_f4
|
|
16019
|
+
var curRow = "_fZ _cI";
|
|
16020
|
+
var archived = "_f4 _cd";
|
|
15922
16021
|
var archivedHint = "_f5 _W";
|
|
15923
|
-
var archivedRow = "_f6
|
|
16022
|
+
var archivedRow = "_f6 _cG _cE";
|
|
15924
16023
|
//#endregion
|
|
15925
16024
|
//#region src/tags/icons/icon-group.marko
|
|
15926
|
-
var icon_group_default = _template("
|
|
16025
|
+
var icon_group_default = _template("jb", (input) => {
|
|
15927
16026
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
15928
16027
|
const $scope0_id = _scope_id();
|
|
15929
16028
|
_set_serialize_reason({
|
|
@@ -15940,8 +16039,8 @@ var icon_group_default = _template("ib", (input) => {
|
|
|
15940
16039
|
});
|
|
15941
16040
|
//#endregion
|
|
15942
16041
|
//#region src/tags/join-dialog.css.ts
|
|
15943
|
-
var dlg = "
|
|
15944
|
-
var hint = "
|
|
16042
|
+
var dlg = "_hR _g1";
|
|
16043
|
+
var hint = "_hS _W";
|
|
15945
16044
|
//#endregion
|
|
15946
16045
|
//#region src/tags/join-dialog.marko
|
|
15947
16046
|
var api$3;
|
|
@@ -16070,26 +16169,26 @@ var join_dialog_default = _template("m", (input) => {
|
|
|
16070
16169
|
content: _content("m12", () => {
|
|
16071
16170
|
_scope_reason();
|
|
16072
16171
|
const $scope1_id = _scope_id();
|
|
16073
|
-
_html(`<h2${_attr_class("
|
|
16172
|
+
_html(`<h2${_attr_class("_g2")}${_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([
|
|
16074
16173
|
"_Y",
|
|
16075
16174
|
"_y",
|
|
16076
|
-
"
|
|
16175
|
+
"_hU"
|
|
16077
16176
|
])} 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")}`);
|
|
16078
16177
|
_if(() => {
|
|
16079
16178
|
if (parsed.error) {
|
|
16080
16179
|
const $scope8_id = _scope_id();
|
|
16081
|
-
_html(`<p${_attr_class([hint, "
|
|
16180
|
+
_html(`<p${_attr_class([hint, "_hT"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
|
|
16082
16181
|
_subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
|
|
16083
16182
|
return 0;
|
|
16084
16183
|
} else if (parsed.ok) {
|
|
16085
16184
|
const $scope3_id = _scope_id();
|
|
16086
|
-
_html(`<ul${_attr_class("
|
|
16185
|
+
_html(`<ul${_attr_class("_hV")}>`);
|
|
16087
16186
|
_for_of(parsed.ok.repos, (fullName) => {
|
|
16088
16187
|
const $scope9_id = _scope_id();
|
|
16089
|
-
_html(`<li${_attr_class("
|
|
16188
|
+
_html(`<li${_attr_class("_hW")}><span${_attr_class("_hX")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
|
|
16090
16189
|
writeScope($scope9_id, {});
|
|
16091
16190
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
16092
|
-
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("
|
|
16191
|
+
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("_hY")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
16093
16192
|
name = _new_name;
|
|
16094
16193
|
}, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
16095
16194
|
_script($scope3_id, "m8");
|
|
@@ -16126,10 +16225,10 @@ var join_dialog_default = _template("m", (input) => {
|
|
|
16126
16225
|
_if(() => {
|
|
16127
16226
|
if (busy && steps$2.length) {
|
|
16128
16227
|
const $scope6_id = _scope_id();
|
|
16129
|
-
_html(`<ul${_attr_class("
|
|
16228
|
+
_html(`<ul${_attr_class("_hZ")}>`);
|
|
16130
16229
|
_for_of(steps$2, (step$2, i) => {
|
|
16131
16230
|
const $scope7_id = _scope_id();
|
|
16132
|
-
_html(`<li${_attr_class(["
|
|
16231
|
+
_html(`<li${_attr_class(["_h1", { ["_h0"]: i === steps$2.length - 1 }])}>`);
|
|
16133
16232
|
_if(() => {
|
|
16134
16233
|
if (i === steps$2.length - 1) {
|
|
16135
16234
|
const $scope10_id = _scope_id();
|
|
@@ -16138,7 +16237,7 @@ var join_dialog_default = _template("m", (input) => {
|
|
|
16138
16237
|
return 0;
|
|
16139
16238
|
} else {
|
|
16140
16239
|
const $scope11_id = _scope_id();
|
|
16141
|
-
_html(`<span${_attr_class("
|
|
16240
|
+
_html(`<span${_attr_class("_h2")}>`);
|
|
16142
16241
|
icon_check_default({ size: 14 });
|
|
16143
16242
|
_html("</span>");
|
|
16144
16243
|
writeScope($scope11_id, {});
|
|
@@ -16296,7 +16395,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16296
16395
|
}
|
|
16297
16396
|
}, "s6", $scope0_id);
|
|
16298
16397
|
const titleId = _id();
|
|
16299
|
-
_html(`<div${_attr_class("
|
|
16398
|
+
_html(`<div${_attr_class("_dX")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dY")}><div${_attr_class("_dZ")}>`);
|
|
16300
16399
|
_set_serialize_reason({
|
|
16301
16400
|
0: _serialize_guard($scope0_reason, 2),
|
|
16302
16401
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -16320,7 +16419,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16320
16419
|
_resume_branch($scope2_id);
|
|
16321
16420
|
}, $scope0_id) })
|
|
16322
16421
|
});
|
|
16323
|
-
_html(`<div${_attr_class("
|
|
16422
|
+
_html(`<div${_attr_class("_d0")}>`);
|
|
16324
16423
|
_if(() => {
|
|
16325
16424
|
if (error) {
|
|
16326
16425
|
const $scope7_id = _scope_id();
|
|
@@ -16341,9 +16440,9 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16341
16440
|
return 0;
|
|
16342
16441
|
}
|
|
16343
16442
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
16344
|
-
_html(`<label${_attr_class("_fU")}><span${_attr_class("
|
|
16443
|
+
_html(`<label${_attr_class("_fU")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
|
|
16345
16444
|
name = _new_name;
|
|
16346
|
-
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("
|
|
16445
|
+
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_cd")}><div${_attr_class("_fX")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "n", selected.length)}</span><div${_attr_class("_z")}></div><button type=button${_attr_class([iconBtnRow, "_fW"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
|
|
16347
16446
|
icon_plus_default({ size: 16 });
|
|
16348
16447
|
_html(`</button>${_el_resume($scope0_id, "p")}`);
|
|
16349
16448
|
_set_serialize_reason(34);
|
|
@@ -16381,14 +16480,14 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16381
16480
|
_html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(list$2)}>`);
|
|
16382
16481
|
_for_of(selected, (repo) => {
|
|
16383
16482
|
const $scope3_id = _scope_id();
|
|
16384
|
-
_html(`<li${_attr_class("_fY")}><div${_attr_class(curRow)}><span${_attr_class("
|
|
16483
|
+
_html(`<li${_attr_class("_fY")}><div${_attr_class(curRow)}><span${_attr_class("_cK")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cM")}>`);
|
|
16385
16484
|
_if(() => {
|
|
16386
16485
|
if (repo.fork !== void 0) {
|
|
16387
16486
|
const $scope4_id = _scope_id();
|
|
16388
16487
|
_html(`<button${_attr_class([
|
|
16389
16488
|
chip$1,
|
|
16390
|
-
"
|
|
16391
|
-
{ ["
|
|
16489
|
+
"_cQ",
|
|
16490
|
+
{ ["_cO"]: repo.fork }
|
|
16392
16491
|
])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
|
|
16393
16492
|
_if(() => {
|
|
16394
16493
|
if (repo.fork) {
|
|
@@ -16412,7 +16511,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16412
16511
|
_html(`<button${_attr_class([
|
|
16413
16512
|
chip$1,
|
|
16414
16513
|
"_y",
|
|
16415
|
-
{ ["
|
|
16514
|
+
{ ["_cO"]: branchesFor === repo.fullName }
|
|
16416
16515
|
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
16417
16516
|
icon_branch_default({ size: 12 });
|
|
16418
16517
|
_html(`${_text_resume($scope3_id, "i", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope3_id, "g")}<button${_attr_class([iconBtnXs, "_7"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
@@ -16450,7 +16549,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16450
16549
|
_if(() => {
|
|
16451
16550
|
if (!selected.length) {
|
|
16452
16551
|
const $scope14_id = _scope_id();
|
|
16453
|
-
_html(`<li${_attr_class(["
|
|
16552
|
+
_html(`<li${_attr_class(["_cI", "_cN"])}>No repos yet. Add one above, or create it empty.</li>`);
|
|
16454
16553
|
writeScope($scope14_id, {});
|
|
16455
16554
|
return 0;
|
|
16456
16555
|
}
|
|
@@ -16489,14 +16588,14 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16489
16588
|
btnLg,
|
|
16490
16589
|
"_r",
|
|
16491
16590
|
"_fT"
|
|
16492
|
-
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "a1", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "a0")}</div></div><div${_attr_class("
|
|
16591
|
+
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "a1", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "a0")}</div></div><div${_attr_class("_d0")}>`);
|
|
16493
16592
|
_if(() => {
|
|
16494
16593
|
if (archived$1.length) {
|
|
16495
16594
|
const $scope5_id = _scope_id();
|
|
16496
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("_fX")}><h2${_attr_class("
|
|
16595
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_fX")}><h2${_attr_class("_cr")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope5_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class(list$2)}>`);
|
|
16497
16596
|
_for_of(archived$1, (ws) => {
|
|
16498
16597
|
const $scope6_id = _scope_id();
|
|
16499
|
-
_html(`<li${_attr_class(archivedRow)}><div${_attr_class("
|
|
16598
|
+
_html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope6_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope6_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope6_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
|
|
16500
16599
|
_if(() => {
|
|
16501
16600
|
if (restoring === ws.id) {
|
|
16502
16601
|
const $scope17_id = _scope_id();
|
|
@@ -16613,19 +16712,19 @@ var term_find_default = _template("H", (input) => {
|
|
|
16613
16712
|
const canStep = hasQuery && open;
|
|
16614
16713
|
const keybar = input.placement === "keybar";
|
|
16615
16714
|
_html(`<div${_attr_class([
|
|
16616
|
-
"
|
|
16617
|
-
keybar ? "
|
|
16618
|
-
!open && "
|
|
16619
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
16715
|
+
"_e8",
|
|
16716
|
+
keybar ? "_e_" : "_e9",
|
|
16717
|
+
!open && "_fb"
|
|
16718
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_e2", keybar ? "_fa" : "_e5"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
16620
16719
|
if (!open) return;
|
|
16621
16720
|
query = v;
|
|
16622
16721
|
live.query = v;
|
|
16623
16722
|
run(0);
|
|
16624
|
-
}, "H1", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
16723
|
+
}, "H1", $scope0_id))}${_attr_class([findInput, keybar && "_fc"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_fd"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
16625
16724
|
icon_arrow_up_default({ size: 14 });
|
|
16626
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
16725
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fd"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
16627
16726
|
icon_arrow_down_default({ size: 14 });
|
|
16628
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
16727
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_fd"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
16629
16728
|
icon_xmark_default({ size: 14 });
|
|
16630
16729
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
16631
16730
|
const $return = focusInput;
|
|
@@ -16776,7 +16875,7 @@ var term_default = _template("I", (input) => {
|
|
|
16776
16875
|
}
|
|
16777
16876
|
}, "I9", $scope0_id);
|
|
16778
16877
|
input.keys;
|
|
16779
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
16878
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_eQ")}><div${_attr_class("_eR")}></div>${_el_resume($scope0_id, "b")}`);
|
|
16780
16879
|
_if(() => {
|
|
16781
16880
|
if (findOpen) {
|
|
16782
16881
|
const $scope4_id = _scope_id();
|
|
@@ -16803,7 +16902,7 @@ var term_default = _template("I", (input) => {
|
|
|
16803
16902
|
_if(() => {
|
|
16804
16903
|
if (uploading) {
|
|
16805
16904
|
const $scope5_id = _scope_id();
|
|
16806
|
-
_html(`<div${_attr_class("
|
|
16905
|
+
_html(`<div${_attr_class("_eX")}>uploading…</div>`);
|
|
16807
16906
|
writeScope($scope5_id, {});
|
|
16808
16907
|
return 0;
|
|
16809
16908
|
}
|
|
@@ -16811,7 +16910,7 @@ var term_default = _template("I", (input) => {
|
|
|
16811
16910
|
_if(() => {
|
|
16812
16911
|
if (copiedFlash) {
|
|
16813
16912
|
const $scope6_id = _scope_id();
|
|
16814
|
-
_html(`<div${_attr_class("
|
|
16913
|
+
_html(`<div${_attr_class("_eW")}>Copied</div>`);
|
|
16815
16914
|
writeScope($scope6_id, {});
|
|
16816
16915
|
return 0;
|
|
16817
16916
|
}
|
|
@@ -16820,7 +16919,7 @@ var term_default = _template("I", (input) => {
|
|
|
16820
16919
|
_if(() => {
|
|
16821
16920
|
if (trapOpen) {
|
|
16822
16921
|
const $scope3_id = _scope_id();
|
|
16823
|
-
_html(`<div${_attr_class("
|
|
16922
|
+
_html(`<div${_attr_class("_eY")}><div${_attr_class("_eZ")}><p${_attr_class("_e0")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope3_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope3_id, "e")}</div>${_el_resume($scope3_id, "b")}</div>${_el_resume($scope3_id, "a")}`);
|
|
16824
16923
|
_script($scope3_id, "I16");
|
|
16825
16924
|
_script($scope3_id, "I17");
|
|
16826
16925
|
writeScope($scope3_id, {});
|
|
@@ -17082,7 +17181,7 @@ var work_view_default = _template("N", (input) => {
|
|
|
17082
17181
|
toggleDiff();
|
|
17083
17182
|
}
|
|
17084
17183
|
}, "N14", $scope0_id);
|
|
17085
|
-
_html(`<div${_attr_class(["
|
|
17184
|
+
_html(`<div${_attr_class(["_bR", { ["_bQ"]: !input.active }])}><div${_attr_class("_bS")}>`);
|
|
17086
17185
|
_if(() => {
|
|
17087
17186
|
if (error) {
|
|
17088
17187
|
const $scope8_id = _scope_id();
|
|
@@ -17105,7 +17204,7 @@ var work_view_default = _template("N", (input) => {
|
|
|
17105
17204
|
_if(() => {
|
|
17106
17205
|
if (diffMounted && ws) {
|
|
17107
17206
|
const $scope1_id = _scope_id();
|
|
17108
|
-
_html(`<div${_attr_class("
|
|
17207
|
+
_html(`<div${_attr_class("_bT")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
|
|
17109
17208
|
_set_serialize_reason({
|
|
17110
17209
|
0: $sg__input_workspace,
|
|
17111
17210
|
1: $sg__input_workspace,
|
|
@@ -17167,7 +17266,7 @@ var work_view_default = _template("N", (input) => {
|
|
|
17167
17266
|
_if(() => {
|
|
17168
17267
|
if (manageMounted && ws) {
|
|
17169
17268
|
const $scope2_id = _scope_id();
|
|
17170
|
-
_html(`<div${_attr_class("
|
|
17269
|
+
_html(`<div${_attr_class("_bT")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
|
|
17171
17270
|
_set_serialize_reason({
|
|
17172
17271
|
0: $sg__input_workspace,
|
|
17173
17272
|
1: _serialize_guard($scope0_reason, 9)
|
|
@@ -17193,7 +17292,7 @@ var work_view_default = _template("N", (input) => {
|
|
|
17193
17292
|
_if(() => {
|
|
17194
17293
|
if (settingsMounted) {
|
|
17195
17294
|
const $scope3_id = _scope_id();
|
|
17196
|
-
_html(`<div${_attr_class("
|
|
17295
|
+
_html(`<div${_attr_class("_bT")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
|
|
17197
17296
|
_set_serialize_reason({
|
|
17198
17297
|
0: _serialize_guard($scope0_reason, 0),
|
|
17199
17298
|
1: $sg__input_workspace,
|
|
@@ -17235,7 +17334,7 @@ var work_view_default = _template("N", (input) => {
|
|
|
17235
17334
|
_if(() => {
|
|
17236
17335
|
if (newMounted) {
|
|
17237
17336
|
const $scope4_id = _scope_id();
|
|
17238
|
-
_html(`<div${_attr_class("
|
|
17337
|
+
_html(`<div${_attr_class("_bT")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
|
|
17239
17338
|
_set_serialize_reason({
|
|
17240
17339
|
0: 1,
|
|
17241
17340
|
1: _serialize_guard($scope0_reason, 13),
|
|
@@ -17260,13 +17359,13 @@ var work_view_default = _template("N", (input) => {
|
|
|
17260
17359
|
return 0;
|
|
17261
17360
|
}
|
|
17262
17361
|
}, $scope0_id, "g", 1, 1, 1, 0, 1);
|
|
17263
|
-
_html(`<div${_attr_class("
|
|
17362
|
+
_html(`<div${_attr_class("_bU")}${_attr("inert", view !== "term")}>`);
|
|
17264
17363
|
_if(() => {
|
|
17265
17364
|
if (ws && shownSessions) {
|
|
17266
17365
|
const $scope5_id = _scope_id();
|
|
17267
17366
|
_for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
|
|
17268
17367
|
const $scope6_id = _scope_id();
|
|
17269
|
-
_html(`<div${_attr_class("
|
|
17368
|
+
_html(`<div${_attr_class("_bV")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
|
|
17270
17369
|
_set_serialize_reason(2);
|
|
17271
17370
|
const $childScope5 = _peek_scope_id();
|
|
17272
17371
|
term_default({
|
|
@@ -17292,7 +17391,7 @@ var work_view_default = _template("N", (input) => {
|
|
|
17292
17391
|
_if(() => {
|
|
17293
17392
|
if (!shownSessions.length && view === "term") {
|
|
17294
17393
|
const $scope7_id = _scope_id();
|
|
17295
|
-
_html(`<div${_attr_class("
|
|
17394
|
+
_html(`<div${_attr_class("_cp")}><span>No sessions in this workspace.</span><button${_attr_class(["_q", "_r"])}${_attr("disabled", spawning)}>${_text_resume($scope7_id, "c", spawning ? "Starting…" : `Start ${input.preferred || "shell"}`)}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
17296
17395
|
_script($scope7_id, "N39");
|
|
17297
17396
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
17298
17397
|
return 0;
|
|
@@ -17302,7 +17401,7 @@ var work_view_default = _template("N", (input) => {
|
|
|
17302
17401
|
return 0;
|
|
17303
17402
|
} else if (ws) {
|
|
17304
17403
|
const $scope10_id = _scope_id();
|
|
17305
|
-
_html(`<p${_attr_class("
|
|
17404
|
+
_html(`<p${_attr_class("_cp")}>Loading sessions…</p>`);
|
|
17306
17405
|
writeScope($scope10_id, {});
|
|
17307
17406
|
return 1;
|
|
17308
17407
|
}
|
|
@@ -17405,8 +17504,8 @@ var work_view_default = _template("N", (input) => {
|
|
|
17405
17504
|
});
|
|
17406
17505
|
//#endregion
|
|
17407
17506
|
//#region src/tags/key-bar.css.ts
|
|
17408
|
-
var kbtn = "
|
|
17409
|
-
_template("
|
|
17507
|
+
var kbtn = "_b6 _5 _l";
|
|
17508
|
+
_template("yb", (input) => {
|
|
17410
17509
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
17411
17510
|
const $scope0_id = _scope_id();
|
|
17412
17511
|
_set_serialize_reason({
|
|
@@ -17421,8 +17520,8 @@ _template("xb", (input) => {
|
|
|
17421
17520
|
});
|
|
17422
17521
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
17423
17522
|
});
|
|
17424
|
-
var sessOpen = "
|
|
17425
|
-
var sessRename = "
|
|
17523
|
+
var sessOpen = "_fI _I";
|
|
17524
|
+
var sessRename = "_fM _J";
|
|
17426
17525
|
//#endregion
|
|
17427
17526
|
//#region src/tags/usage-pcts.marko
|
|
17428
17527
|
var usage_pcts_default = _template("M", (input) => {
|
|
@@ -17434,22 +17533,22 @@ var usage_pcts_default = _template("M", (input) => {
|
|
|
17434
17533
|
if (windows.length) {
|
|
17435
17534
|
const $scope1_id = _scope_id();
|
|
17436
17535
|
_html(`<span${_attr_class([
|
|
17437
|
-
"
|
|
17536
|
+
"_hL",
|
|
17438
17537
|
input.class,
|
|
17439
|
-
{ ["
|
|
17538
|
+
{ ["_hM"]: agent.stale_seconds != null }
|
|
17440
17539
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
17441
17540
|
_for_of(windows, (win$1, i) => {
|
|
17442
17541
|
const $scope2_id = _scope_id();
|
|
17443
|
-
_html(`<span${_attr_class("
|
|
17542
|
+
_html(`<span${_attr_class("_hN")}>`);
|
|
17444
17543
|
_if(() => {
|
|
17445
17544
|
if (i) {
|
|
17446
17545
|
const $scope3_id = _scope_id();
|
|
17447
|
-
_html(`<span${_attr_class("
|
|
17546
|
+
_html(`<span${_attr_class("_hQ")} aria-hidden=true>·</span>`);
|
|
17448
17547
|
$si__input_agent && writeScope($scope3_id, {});
|
|
17449
17548
|
return 0;
|
|
17450
17549
|
}
|
|
17451
17550
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
17452
|
-
_html(`<span${_attr_class("
|
|
17551
|
+
_html(`<span${_attr_class("_hO")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hP", win$1.used_percent >= 90 ? "_hA" : win$1.used_percent >= 70 ? "_hz" : win$1.used_percent >= 40 ? "_hy" : "_hx"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
17453
17552
|
$si__input_agent && writeScope($scope2_id, {});
|
|
17454
17553
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
17455
17554
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -17491,7 +17590,7 @@ _template("n", (input) => {
|
|
|
17491
17590
|
align: "center",
|
|
17492
17591
|
gap: 8
|
|
17493
17592
|
}), "n2", $scope0_id);
|
|
17494
|
-
_html(`<button${_attr_class([kbtn, "
|
|
17593
|
+
_html(`<button${_attr_class([kbtn, "_fE"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
|
|
17495
17594
|
_set_serialize_reason({
|
|
17496
17595
|
1: $sg__input_sessions__OR__input_sessionId,
|
|
17497
17596
|
2: $sg__input_sessions__OR__input_sessionId
|
|
@@ -17505,11 +17604,11 @@ _template("n", (input) => {
|
|
|
17505
17604
|
"_A",
|
|
17506
17605
|
"_bb",
|
|
17507
17606
|
phase[sessionPhase(current$2?.state)]
|
|
17508
|
-
])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_9", "
|
|
17607
|
+
])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_9", "_fF"])}>`);
|
|
17509
17608
|
_for_of(input.sessions, (s) => {
|
|
17510
17609
|
const $scope1_id = _scope_id();
|
|
17511
17610
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
17512
|
-
_html(`<div${_attr_class(["
|
|
17611
|
+
_html(`<div${_attr_class(["_fH", { ["_fG"]: s.id === input.sessionId }])}>`);
|
|
17513
17612
|
_if(() => {
|
|
17514
17613
|
if (renamingId === s.id) {
|
|
17515
17614
|
const $scope5_id = _scope_id();
|
|
@@ -17541,7 +17640,7 @@ _template("n", (input) => {
|
|
|
17541
17640
|
agent: activeAgent(s),
|
|
17542
17641
|
size: 14
|
|
17543
17642
|
});
|
|
17544
|
-
_html(`<span${_attr_class("
|
|
17643
|
+
_html(`<span${_attr_class("_fJ")}><span${_attr_class("_fL")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
|
|
17545
17644
|
_if(() => {
|
|
17546
17645
|
if (s.id === input.sessionId) {
|
|
17547
17646
|
const $scope7_id = _scope_id();
|
|
@@ -17553,7 +17652,7 @@ _template("n", (input) => {
|
|
|
17553
17652
|
const $childScope4 = _peek_scope_id();
|
|
17554
17653
|
usage_pcts_default({
|
|
17555
17654
|
agent: plan,
|
|
17556
|
-
class: "
|
|
17655
|
+
class: "_fK"
|
|
17557
17656
|
});
|
|
17558
17657
|
writeScope($scope8_id, { a: _existing_scope($childScope4) });
|
|
17559
17658
|
return 0;
|
|
@@ -17570,7 +17669,7 @@ _template("n", (input) => {
|
|
|
17570
17669
|
_if(() => {
|
|
17571
17670
|
if (input.onRenameSession) {
|
|
17572
17671
|
const $scope6_id = _scope_id();
|
|
17573
|
-
_html(`<button${_attr_class(["
|
|
17672
|
+
_html(`<button${_attr_class(["_fN", "_fO"])} title="Rename session">`);
|
|
17574
17673
|
icon_edit_default({ size: 12 });
|
|
17575
17674
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
17576
17675
|
_script($scope6_id, "n5");
|
|
@@ -17582,7 +17681,7 @@ _template("n", (input) => {
|
|
|
17582
17681
|
if (input.onCloseSession) {
|
|
17583
17682
|
const $scope3_id = _scope_id();
|
|
17584
17683
|
arm_button_default({
|
|
17585
|
-
class: ["
|
|
17684
|
+
class: ["_fN", "_7"],
|
|
17586
17685
|
title: "Close session",
|
|
17587
17686
|
armedTitle: "Close?",
|
|
17588
17687
|
onFire: _resume(function() {
|
|
@@ -17614,7 +17713,7 @@ _template("n", (input) => {
|
|
|
17614
17713
|
m: $si__input_sessions && $for_content__s_agent__closures
|
|
17615
17714
|
});
|
|
17616
17715
|
}, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
|
|
17617
|
-
_html(`<div${_attr_class("
|
|
17716
|
+
_html(`<div${_attr_class("_fP")}><span${_attr_class("_fQ")}>New session</span><div${_attr_class("_fR")}>`);
|
|
17618
17717
|
_for_of(["shell", ...input.agents], (agent) => {
|
|
17619
17718
|
const $scope4_id = _scope_id();
|
|
17620
17719
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
@@ -17673,7 +17772,7 @@ _template("db", (input) => {
|
|
|
17673
17772
|
});
|
|
17674
17773
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
17675
17774
|
});
|
|
17676
|
-
_template("
|
|
17775
|
+
_template("kb", (input) => {
|
|
17677
17776
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
17678
17777
|
const $scope0_id = _scope_id();
|
|
17679
17778
|
_set_serialize_reason({
|
|
@@ -17733,7 +17832,7 @@ _template("fb", (input) => {
|
|
|
17733
17832
|
});
|
|
17734
17833
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
17735
17834
|
});
|
|
17736
|
-
_template("
|
|
17835
|
+
_template("vb", (input) => {
|
|
17737
17836
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
17738
17837
|
const $scope0_id = _scope_id();
|
|
17739
17838
|
_set_serialize_reason({
|
|
@@ -18377,7 +18476,7 @@ var app_page_default = _template("c", (input) => {
|
|
|
18377
18476
|
});
|
|
18378
18477
|
//#endregion
|
|
18379
18478
|
//#region src/routes/_app/new/+page.marko
|
|
18380
|
-
var _page_default$4 = _template("
|
|
18479
|
+
var _page_default$4 = _template("Ab", (input) => {
|
|
18381
18480
|
_scope_reason();
|
|
18382
18481
|
_scope_id();
|
|
18383
18482
|
app_page_default({ initial: {
|
|
@@ -18415,7 +18514,7 @@ var GET$26 = Run.GET(async (_ctx, next) => {
|
|
|
18415
18514
|
});
|
|
18416
18515
|
//#endregion
|
|
18417
18516
|
//#region src/routes/_app/settings/+page.marko
|
|
18418
|
-
var _page_default$3 = _template("
|
|
18517
|
+
var _page_default$3 = _template("Bb", (input) => {
|
|
18419
18518
|
_scope_reason();
|
|
18420
18519
|
_scope_id();
|
|
18421
18520
|
app_page_default({ initial: {
|
|
@@ -18448,7 +18547,7 @@ function head3(context) {
|
|
|
18448
18547
|
}
|
|
18449
18548
|
//#endregion
|
|
18450
18549
|
//#region src/routes/_app/w/$id/+page.marko
|
|
18451
|
-
var _page_default$2 = _template("
|
|
18550
|
+
var _page_default$2 = _template("Cb", (input) => {
|
|
18452
18551
|
_scope_reason();
|
|
18453
18552
|
_scope_id();
|
|
18454
18553
|
const $global$3 = $global();
|
|
@@ -18482,7 +18581,7 @@ function head4(context) {
|
|
|
18482
18581
|
}
|
|
18483
18582
|
//#endregion
|
|
18484
18583
|
//#region src/routes/_app/w/$id/manage/+page.marko
|
|
18485
|
-
var _page_default$1 = _template("
|
|
18584
|
+
var _page_default$1 = _template("Db", (input) => {
|
|
18486
18585
|
_scope_reason();
|
|
18487
18586
|
_scope_id();
|
|
18488
18587
|
app_page_default({ initial: {
|
|
@@ -18514,7 +18613,7 @@ function head5(context) {
|
|
|
18514
18613
|
}
|
|
18515
18614
|
//#endregion
|
|
18516
18615
|
//#region src/routes/_app/w/$id/review/+page.marko
|
|
18517
|
-
var _page_default = _template("
|
|
18616
|
+
var _page_default = _template("Eb", (input) => {
|
|
18518
18617
|
_scope_reason();
|
|
18519
18618
|
_scope_id();
|
|
18520
18619
|
const $global$1 = $global();
|
|
@@ -26783,4 +26882,4 @@ server.listen(port, () => {
|
|
|
26783
26882
|
//#endregion
|
|
26784
26883
|
export {};
|
|
26785
26884
|
|
|
26786
|
-
;var __MARKO_MANIFEST__={"
|
|
26885
|
+
;var __MARKO_MANIFEST__={"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-LhbgqR29.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-LhbgqR29.css\"",">",2,"stylesheet#/assets/app-page-DD1o4wiM.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1o4wiM.css\"",">"],"defer":[2,"/assets/w._-CH0Bl-x1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CH0Bl-x1.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BgfPWRrb.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BgfPWRrb.js\"",">",2,"modulepreload#/assets/_CMrlloZF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CMrlloZF.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-LhbgqR29.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-LhbgqR29.css\"",">",2,"stylesheet#/assets/app-page-DD1o4wiM.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1o4wiM.css\"",">"],"defer":[2,"/assets/w._-Xgh-0hWo.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Xgh-0hWo.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BgfPWRrb.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BgfPWRrb.js\"",">",2,"modulepreload#/assets/_CMrlloZF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CMrlloZF.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-LhbgqR29.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-LhbgqR29.css\"",">",2,"stylesheet#/assets/app-page-DD1o4wiM.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1o4wiM.css\"",">"],"defer":[2,"/assets/w-CH0Bl-x1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CH0Bl-x1.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BgfPWRrb.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BgfPWRrb.js\"",">",2,"modulepreload#/assets/_CMrlloZF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CMrlloZF.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-LhbgqR29.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-LhbgqR29.css\"",">",2,"stylesheet#/assets/app-page-DD1o4wiM.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1o4wiM.css\"",">"],"defer":[2,"/assets/new-CH0Bl-x1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CH0Bl-x1.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BgfPWRrb.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BgfPWRrb.js\"",">",2,"modulepreload#/assets/_CMrlloZF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CMrlloZF.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-LhbgqR29.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-LhbgqR29.css\"",">",2,"stylesheet#/assets/app-page-DD1o4wiM.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1o4wiM.css\"",">"],"defer":[2,"/assets/settings-CH0Bl-x1.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CH0Bl-x1.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BgfPWRrb.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BgfPWRrb.js\"",">",2,"modulepreload#/assets/_CMrlloZF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CMrlloZF.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-Bv3xencn.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-Bv3xencn.css\"",">",2,"stylesheet#/assets/icon-arrow-down-LhbgqR29.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-LhbgqR29.css\"",">"],"defer":[2,"/assets/review-view-BdjClIWy.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-BdjClIWy.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">"]}};
|