@dylanpiercey/work 0.0.179 → 0.0.181

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.
Files changed (87) hide show
  1. package/dist/{_CT1XA_pS.js → _B9zhiogp.js} +2 -2
  2. package/dist/index.mjs +779 -650
  3. package/dist/public/assets/_4WrdbxBF.js +1 -0
  4. package/dist/public/assets/_4WrdbxBF.js.br +0 -0
  5. package/dist/public/assets/_AumMSBF2.js +1 -0
  6. package/dist/public/assets/_AumMSBF2.js.br +0 -0
  7. package/dist/public/assets/_B1lvs6Ed.js +1 -0
  8. package/dist/public/assets/_BA5VbKUa.js +1 -0
  9. package/dist/public/assets/_BPDdIbcA.js +1 -0
  10. package/dist/public/assets/_BYSg0kuh.js +2802 -0
  11. package/dist/public/assets/_BYSg0kuh.js.br +0 -0
  12. package/dist/public/assets/_BtZ4zRTM.js +1 -0
  13. package/dist/public/assets/_ByQLiMx_.js +1 -0
  14. package/dist/public/assets/_C4CoxFZz.js +1 -0
  15. package/dist/public/assets/_C5ZFVPL5.js +1 -0
  16. package/dist/public/assets/_CWnM9LZn.js +1 -0
  17. package/dist/public/assets/_CcoGj7EM.js +1 -0
  18. package/dist/public/assets/_CxYmq8Hy.js +1 -0
  19. package/dist/public/assets/_CyY7QD_u.js +1 -0
  20. package/dist/public/assets/_DFsKkyqX.js +1 -0
  21. package/dist/public/assets/_DgFAR5nL.js +1 -0
  22. package/dist/public/assets/_Dhh3TcvZ.js +1 -0
  23. package/dist/public/assets/_DnA4pQlQ.js +1 -0
  24. package/dist/public/assets/_DvU6qlgB.js +1 -0
  25. package/dist/public/assets/_PlstTQyD.js +1 -0
  26. package/dist/public/assets/_V9CGuKPW.js +1 -0
  27. package/dist/public/assets/_mdsq_N_U.js +1 -0
  28. package/dist/public/assets/_tJqGKffn.js +1 -0
  29. package/dist/public/assets/_x2jmrcuU.js +87 -0
  30. package/dist/public/assets/_x2jmrcuU.js.br +0 -0
  31. package/dist/public/assets/_zLv_aEps.js +1 -0
  32. package/dist/public/assets/app-page-D4Ysb67H.css +1 -0
  33. package/dist/public/assets/app-page-D4Ysb67H.css.br +0 -0
  34. package/dist/public/assets/{icon-arrow-down-B_tgvd3z.css → icon-arrow-down-CdTaci0h.css} +1 -1
  35. package/dist/public/assets/icon-arrow-down-CdTaci0h.css.br +0 -0
  36. package/dist/public/assets/new-CYrxR3YR.js +1 -0
  37. package/dist/public/assets/review-view-DGGzM59-.css +1 -0
  38. package/dist/public/assets/review-view-DGGzM59-.css.br +0 -0
  39. package/dist/public/assets/review-view-Da6jS0sN.js +2 -0
  40. package/dist/public/assets/settings-CYrxR3YR.js +1 -0
  41. package/dist/public/assets/w-CYrxR3YR.js +1 -0
  42. package/dist/public/assets/w._-CYrxR3YR.js +1 -0
  43. package/dist/public/assets/w._-D9QYuJ3z.js +1 -0
  44. package/dist/public/assets/{worker-BRm_gkJp.js → worker-C0KwUb8K.js} +3 -3
  45. package/dist/public/assets/worker-C0KwUb8K.js.br +0 -0
  46. package/package.json +1 -1
  47. package/dist/public/assets/_-igetr1k.js +0 -87
  48. package/dist/public/assets/_-igetr1k.js.br +0 -0
  49. package/dist/public/assets/_BDWRaHhB.js +0 -1
  50. package/dist/public/assets/_BDWRaHhB.js.br +0 -0
  51. package/dist/public/assets/_BNadakYr.js +0 -1
  52. package/dist/public/assets/_BRK2K3ed.js +0 -1
  53. package/dist/public/assets/_BRK2K3ed.js.br +0 -0
  54. package/dist/public/assets/_BXzw1p3o.js +0 -1
  55. package/dist/public/assets/_BvvLGQIh.js +0 -1
  56. package/dist/public/assets/_C9JuvGlK.js +0 -1
  57. package/dist/public/assets/_CN0CvJPp.js +0 -1
  58. package/dist/public/assets/_CYn4iSdr.js +0 -1
  59. package/dist/public/assets/_Cbs95QrP.js +0 -1
  60. package/dist/public/assets/_Cti1-2Pj.js +0 -1
  61. package/dist/public/assets/_D1-pYND-.js +0 -1
  62. package/dist/public/assets/_DH9_E-rQ.js +0 -1
  63. package/dist/public/assets/_DJPL6L5P.js +0 -1
  64. package/dist/public/assets/_DaHzxs4q.js +0 -1
  65. package/dist/public/assets/_DcR7jLIq.js +0 -2802
  66. package/dist/public/assets/_DcR7jLIq.js.br +0 -0
  67. package/dist/public/assets/_Dhq3yTn3.js +0 -1
  68. package/dist/public/assets/_FhpoOYKO.js +0 -1
  69. package/dist/public/assets/_USOgcb2G.js +0 -1
  70. package/dist/public/assets/_hL-CwTLk.js +0 -1
  71. package/dist/public/assets/_pUSDs8I1.js +0 -1
  72. package/dist/public/assets/_vCtApeJ4.js +0 -1
  73. package/dist/public/assets/_wM1MuM4A.js +0 -1
  74. package/dist/public/assets/_wk_nezEr.js +0 -1
  75. package/dist/public/assets/_zOsFf2Ho.js +0 -1
  76. package/dist/public/assets/app-page-Bttz6PCd.css +0 -1
  77. package/dist/public/assets/app-page-Bttz6PCd.css.br +0 -0
  78. package/dist/public/assets/icon-arrow-down-B_tgvd3z.css.br +0 -0
  79. package/dist/public/assets/new-Cu6jGozd.js +0 -1
  80. package/dist/public/assets/review-view-B8kS7P6x.css +0 -1
  81. package/dist/public/assets/review-view-B8kS7P6x.css.br +0 -0
  82. package/dist/public/assets/review-view-foAMMQMz.js +0 -2
  83. package/dist/public/assets/settings-Cu6jGozd.js +0 -1
  84. package/dist/public/assets/w-Cu6jGozd.js +0 -1
  85. package/dist/public/assets/w._-Cu6jGozd.js +0 -1
  86. package/dist/public/assets/w._-R7bTAfAQ.js +0 -1
  87. package/dist/public/assets/worker-BRm_gkJp.js.br +0 -0
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import fs$1 from "node:fs/promises";
13
13
  import crypto, { createHash } from "node:crypto";
14
14
  import net from "node:net";
15
15
  import pty from "node-pty";
16
- //#region node_modules/.pnpm/@marko+run@0.11.12_@types+node@26.5.0_esbuild@0.27.7_marko@6.3.49/node_modules/@marko/run/dist/adapter/middleware.js
16
+ //#region node_modules/.pnpm/@marko+run@0.11.12_@types+node@26.4.0_esbuild@0.27.7_marko@6.3.48/node_modules/@marko/run/dist/adapter/middleware.js
17
17
  function getOrigin(req, trustProxy) {
18
18
  const protocol = trustProxy && getForwardedHeader(req, "proto") || req.socket.encrypted && "https" || req.protocol || "http";
19
19
  let host = trustProxy && getForwardedHeader(req, "host") || req.headers.host;
@@ -973,7 +973,7 @@ async function parseFormData(request, optionsOrUploadHandler, uploadHandler) {
973
973
  return formData;
974
974
  }
975
975
  //#endregion
976
- //#region node_modules/.pnpm/@marko+run@0.11.12_@types+node@26.5.0_esbuild@0.27.7_marko@6.3.49/node_modules/@marko/run/dist/runtime/internal.js
976
+ //#region node_modules/.pnpm/@marko+run@0.11.12_@types+node@26.4.0_esbuild@0.27.7_marko@6.3.48/node_modules/@marko/run/dist/runtime/internal.js
977
977
  var httpVerbs = [
978
978
  "get",
979
979
  "head",
@@ -1535,20 +1535,28 @@ function _addIssue(context, label, dataset, config$1, other) {
1535
1535
  if (dataset.issues) dataset.issues.push(issue);
1536
1536
  else dataset.issues = [issue];
1537
1537
  }
1538
+ var _standardCache = /* @__PURE__ */ new WeakMap();
1538
1539
  /**
1539
- * Compares two values using the SameValueZero algorithm, which treats `NaN`
1540
- * as equal to itself unlike `===`.
1540
+ * Returns the Standard Schema properties.
1541
1541
  *
1542
- * @param value1 The first value.
1543
- * @param value2 The second value.
1542
+ * @param context The schema context.
1544
1543
  *
1545
- * @returns Whether the values are equal.
1546
- *
1547
- * @internal
1544
+ * @returns The Standard Schema properties.
1548
1545
  */
1549
1546
  /* @__NO_SIDE_EFFECTS__ */
1550
- function _isSameValueZero(value1, value2) {
1551
- return value1 === value2 || Number.isNaN(value1) && Number.isNaN(value2);
1547
+ function _getStandardProps(context) {
1548
+ let cached = _standardCache.get(context);
1549
+ if (!cached) {
1550
+ cached = {
1551
+ version: 1,
1552
+ vendor: "valibot",
1553
+ validate(value$1) {
1554
+ return context["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig());
1555
+ }
1556
+ };
1557
+ _standardCache.set(context, cached);
1558
+ }
1559
+ return cached;
1552
1560
  }
1553
1561
  /**
1554
1562
  * Disallows inherited object properties and prevents object prototype
@@ -1581,26 +1589,6 @@ function _joinExpects(values$1, separator) {
1581
1589
  if (list.length > 1) return `(${list.join(` ${separator} `)})`;
1582
1590
  return list[0] ?? "never";
1583
1591
  }
1584
- /**
1585
- * Eagerly creates and attaches the Standard Schema properties of a schema.
1586
- *
1587
- * Hint: The contextual `this` type includes the standard properties that are
1588
- * attached before the schema is returned.
1589
- *
1590
- * @param schema The schema to attach standard properties to.
1591
- *
1592
- * @returns The schema with standard properties attached.
1593
- *
1594
- * @internal
1595
- */
1596
- function _standardSchema(schema) {
1597
- schema["~standard"] = {
1598
- version: 1,
1599
- vendor: "valibot",
1600
- validate: (value$1) => schema["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig())
1601
- };
1602
- return schema;
1603
- }
1604
1592
  /* @__NO_SIDE_EFFECTS__ */
1605
1593
  function integer(message$1) {
1606
1594
  return {
@@ -1709,7 +1697,6 @@ function url(message$1) {
1709
1697
  expects: null,
1710
1698
  requirement(input) {
1711
1699
  try {
1712
- if (URL.canParse) return URL.canParse(input);
1713
1700
  new URL(input);
1714
1701
  return true;
1715
1702
  } catch {
@@ -1751,7 +1738,7 @@ function getDefault(schema, dataset, config$1) {
1751
1738
  }
1752
1739
  /* @__NO_SIDE_EFFECTS__ */
1753
1740
  function array(item, message$1) {
1754
- return _standardSchema({
1741
+ return {
1755
1742
  kind: "schema",
1756
1743
  type: "array",
1757
1744
  reference: array,
@@ -1759,6 +1746,9 @@ function array(item, message$1) {
1759
1746
  async: false,
1760
1747
  item,
1761
1748
  message: message$1,
1749
+ get "~standard"() {
1750
+ return /* @__PURE__ */ _getStandardProps(this);
1751
+ },
1762
1752
  "~run"(dataset, config$1) {
1763
1753
  const input = dataset.value;
1764
1754
  if (Array.isArray(input)) {
@@ -1792,27 +1782,30 @@ function array(item, message$1) {
1792
1782
  } else _addIssue(this, "type", dataset, config$1);
1793
1783
  return dataset;
1794
1784
  }
1795
- });
1785
+ };
1796
1786
  }
1797
1787
  /* @__NO_SIDE_EFFECTS__ */
1798
1788
  function boolean(message$1) {
1799
- return _standardSchema({
1789
+ return {
1800
1790
  kind: "schema",
1801
1791
  type: "boolean",
1802
1792
  reference: boolean,
1803
1793
  expects: "boolean",
1804
1794
  async: false,
1805
1795
  message: message$1,
1796
+ get "~standard"() {
1797
+ return /* @__PURE__ */ _getStandardProps(this);
1798
+ },
1806
1799
  "~run"(dataset, config$1) {
1807
1800
  if (typeof dataset.value === "boolean") dataset.typed = true;
1808
1801
  else _addIssue(this, "type", dataset, config$1);
1809
1802
  return dataset;
1810
1803
  }
1811
- });
1804
+ };
1812
1805
  }
1813
1806
  /* @__NO_SIDE_EFFECTS__ */
1814
1807
  function literal(literal_, message$1) {
1815
- return _standardSchema({
1808
+ return {
1816
1809
  kind: "schema",
1817
1810
  type: "literal",
1818
1811
  reference: literal,
@@ -1820,16 +1813,19 @@ function literal(literal_, message$1) {
1820
1813
  async: false,
1821
1814
  literal: literal_,
1822
1815
  message: message$1,
1816
+ get "~standard"() {
1817
+ return /* @__PURE__ */ _getStandardProps(this);
1818
+ },
1823
1819
  "~run"(dataset, config$1) {
1824
- if (/* @__PURE__ */ _isSameValueZero(dataset.value, this.literal)) dataset.typed = true;
1820
+ if (dataset.value === this.literal) dataset.typed = true;
1825
1821
  else _addIssue(this, "type", dataset, config$1);
1826
1822
  return dataset;
1827
1823
  }
1828
- });
1824
+ };
1829
1825
  }
1830
1826
  /* @__NO_SIDE_EFFECTS__ */
1831
1827
  function nullable(wrapped, default_) {
1832
- return _standardSchema({
1828
+ return {
1833
1829
  kind: "schema",
1834
1830
  type: "nullable",
1835
1831
  reference: nullable,
@@ -1837,6 +1833,9 @@ function nullable(wrapped, default_) {
1837
1833
  async: false,
1838
1834
  wrapped,
1839
1835
  default: default_,
1836
+ get "~standard"() {
1837
+ return /* @__PURE__ */ _getStandardProps(this);
1838
+ },
1840
1839
  "~run"(dataset, config$1) {
1841
1840
  if (dataset.value === null) {
1842
1841
  if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -1847,27 +1846,30 @@ function nullable(wrapped, default_) {
1847
1846
  }
1848
1847
  return this.wrapped["~run"](dataset, config$1);
1849
1848
  }
1850
- });
1849
+ };
1851
1850
  }
1852
1851
  /* @__NO_SIDE_EFFECTS__ */
1853
1852
  function number(message$1) {
1854
- return _standardSchema({
1853
+ return {
1855
1854
  kind: "schema",
1856
1855
  type: "number",
1857
1856
  reference: number,
1858
1857
  expects: "number",
1859
1858
  async: false,
1860
1859
  message: message$1,
1860
+ get "~standard"() {
1861
+ return /* @__PURE__ */ _getStandardProps(this);
1862
+ },
1861
1863
  "~run"(dataset, config$1) {
1862
1864
  if (typeof dataset.value === "number" && !isNaN(dataset.value)) dataset.typed = true;
1863
1865
  else _addIssue(this, "type", dataset, config$1);
1864
1866
  return dataset;
1865
1867
  }
1866
- });
1868
+ };
1867
1869
  }
1868
1870
  /* @__NO_SIDE_EFFECTS__ */
1869
1871
  function object(entries$1, message$1) {
1870
- return _standardSchema({
1872
+ return {
1871
1873
  kind: "schema",
1872
1874
  type: "object",
1873
1875
  reference: object,
@@ -1875,6 +1877,9 @@ function object(entries$1, message$1) {
1875
1877
  async: false,
1876
1878
  entries: entries$1,
1877
1879
  message: message$1,
1880
+ get "~standard"() {
1881
+ return /* @__PURE__ */ _getStandardProps(this);
1882
+ },
1878
1883
  "~run"(dataset, config$1) {
1879
1884
  const input = dataset.value;
1880
1885
  if (input && typeof input === "object") {
@@ -1925,11 +1930,11 @@ function object(entries$1, message$1) {
1925
1930
  } else _addIssue(this, "type", dataset, config$1);
1926
1931
  return dataset;
1927
1932
  }
1928
- });
1933
+ };
1929
1934
  }
1930
1935
  /* @__NO_SIDE_EFFECTS__ */
1931
1936
  function optional(wrapped, default_) {
1932
- return _standardSchema({
1937
+ return {
1933
1938
  kind: "schema",
1934
1939
  type: "optional",
1935
1940
  reference: optional,
@@ -1937,6 +1942,9 @@ function optional(wrapped, default_) {
1937
1942
  async: false,
1938
1943
  wrapped,
1939
1944
  default: default_,
1945
+ get "~standard"() {
1946
+ return /* @__PURE__ */ _getStandardProps(this);
1947
+ },
1940
1948
  "~run"(dataset, config$1) {
1941
1949
  if (dataset.value === void 0) {
1942
1950
  if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -1947,11 +1955,11 @@ function optional(wrapped, default_) {
1947
1955
  }
1948
1956
  return this.wrapped["~run"](dataset, config$1);
1949
1957
  }
1950
- });
1958
+ };
1951
1959
  }
1952
1960
  /* @__NO_SIDE_EFFECTS__ */
1953
1961
  function picklist(options, message$1) {
1954
- return _standardSchema({
1962
+ return {
1955
1963
  kind: "schema",
1956
1964
  type: "picklist",
1957
1965
  reference: picklist,
@@ -1959,16 +1967,19 @@ function picklist(options, message$1) {
1959
1967
  async: false,
1960
1968
  options,
1961
1969
  message: message$1,
1970
+ get "~standard"() {
1971
+ return /* @__PURE__ */ _getStandardProps(this);
1972
+ },
1962
1973
  "~run"(dataset, config$1) {
1963
1974
  if (this.options.includes(dataset.value)) dataset.typed = true;
1964
1975
  else _addIssue(this, "type", dataset, config$1);
1965
1976
  return dataset;
1966
1977
  }
1967
- });
1978
+ };
1968
1979
  }
1969
1980
  /* @__NO_SIDE_EFFECTS__ */
1970
1981
  function record(key, value$1, message$1) {
1971
- return _standardSchema({
1982
+ return {
1972
1983
  kind: "schema",
1973
1984
  type: "record",
1974
1985
  reference: record,
@@ -1977,6 +1988,9 @@ function record(key, value$1, message$1) {
1977
1988
  key,
1978
1989
  value: value$1,
1979
1990
  message: message$1,
1991
+ get "~standard"() {
1992
+ return /* @__PURE__ */ _getStandardProps(this);
1993
+ },
1980
1994
  "~run"(dataset, config$1) {
1981
1995
  const input = dataset.value;
1982
1996
  if (input && typeof input === "object") {
@@ -2029,23 +2043,26 @@ function record(key, value$1, message$1) {
2029
2043
  } else _addIssue(this, "type", dataset, config$1);
2030
2044
  return dataset;
2031
2045
  }
2032
- });
2046
+ };
2033
2047
  }
2034
2048
  /* @__NO_SIDE_EFFECTS__ */
2035
2049
  function string(message$1) {
2036
- return _standardSchema({
2050
+ return {
2037
2051
  kind: "schema",
2038
2052
  type: "string",
2039
2053
  reference: string,
2040
2054
  expects: "string",
2041
2055
  async: false,
2042
2056
  message: message$1,
2057
+ get "~standard"() {
2058
+ return /* @__PURE__ */ _getStandardProps(this);
2059
+ },
2043
2060
  "~run"(dataset, config$1) {
2044
2061
  if (typeof dataset.value === "string") dataset.typed = true;
2045
2062
  else _addIssue(this, "type", dataset, config$1);
2046
2063
  return dataset;
2047
2064
  }
2048
- });
2065
+ };
2049
2066
  }
2050
2067
  /**
2051
2068
  * Returns the sub issues of the provided datasets for the union issue.
@@ -2065,7 +2082,7 @@ function _subIssues(datasets) {
2065
2082
  }
2066
2083
  /* @__NO_SIDE_EFFECTS__ */
2067
2084
  function union(options, message$1) {
2068
- return _standardSchema({
2085
+ return {
2069
2086
  kind: "schema",
2070
2087
  type: "union",
2071
2088
  reference: union,
@@ -2073,6 +2090,9 @@ function union(options, message$1) {
2073
2090
  async: false,
2074
2091
  options,
2075
2092
  message: message$1,
2093
+ get "~standard"() {
2094
+ return /* @__PURE__ */ _getStandardProps(this);
2095
+ },
2076
2096
  "~run"(dataset, config$1) {
2077
2097
  let validDataset;
2078
2098
  let typedDatasets;
@@ -2097,7 +2117,7 @@ function union(options, message$1) {
2097
2117
  else _addIssue(this, "type", dataset, config$1, { issues: /* @__PURE__ */ _subIssues(untypedDatasets) });
2098
2118
  return dataset;
2099
2119
  }
2100
- });
2120
+ };
2101
2121
  }
2102
2122
  /**
2103
2123
  * Creates a unknown schema.
@@ -2106,23 +2126,29 @@ function union(options, message$1) {
2106
2126
  */
2107
2127
  /* @__NO_SIDE_EFFECTS__ */
2108
2128
  function unknown() {
2109
- return _standardSchema({
2129
+ return {
2110
2130
  kind: "schema",
2111
2131
  type: "unknown",
2112
2132
  reference: unknown,
2113
2133
  expects: "unknown",
2114
2134
  async: false,
2135
+ get "~standard"() {
2136
+ return /* @__PURE__ */ _getStandardProps(this);
2137
+ },
2115
2138
  "~run"(dataset) {
2116
2139
  dataset.typed = true;
2117
2140
  return dataset;
2118
2141
  }
2119
- });
2142
+ };
2120
2143
  }
2121
2144
  /* @__NO_SIDE_EFFECTS__ */
2122
2145
  function pipe(...pipe$1) {
2123
- return _standardSchema({
2146
+ return {
2124
2147
  ...pipe$1[0],
2125
2148
  pipe: pipe$1,
2149
+ get "~standard"() {
2150
+ return /* @__PURE__ */ _getStandardProps(this);
2151
+ },
2126
2152
  "~run"(dataset, config$1) {
2127
2153
  for (const item of pipe$1) if (item.kind !== "metadata") {
2128
2154
  if (dataset.issues && (item.kind === "schema" || item.kind === "transformation")) {
@@ -2133,7 +2159,7 @@ function pipe(...pipe$1) {
2133
2159
  }
2134
2160
  return dataset;
2135
2161
  }
2136
- });
2162
+ };
2137
2163
  }
2138
2164
  /**
2139
2165
  * Parses an unknown input based on a schema.
@@ -4744,7 +4770,7 @@ function renderParts(g, parts) {
4744
4770
  return html;
4745
4771
  }
4746
4772
  //#endregion
4747
- //#region node_modules/.pnpm/marko@6.3.49/node_modules/marko/dist/html.mjs
4773
+ //#region node_modules/.pnpm/marko@6.3.48/node_modules/marko/dist/html.mjs
4748
4774
  var empty = [], rest = Symbol(), unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "\\3B " : "\\\\", toDelimitedString = function toDelimitedString(val, delimiter, stringify) {
4749
4775
  let str = "", sep = "", part;
4750
4776
  if (val) if (typeof val != "object") str += val;
@@ -4993,7 +5019,7 @@ var empty = [], rest = Symbol(), unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeSty
4993
5019
  return code >= 55296 && code <= 57343 ? "\\u" + code.toString(16).padStart(4, "0") : match;
4994
5020
  }, unsafeQuoteReg = /["\\<\n\r\u2028\u2029\0\ud800-\udfff]/u, $chunk, kPendingContexts = Symbol("Pending Contexts"), kBranchId = Symbol("Branch Id"), kIsAsync = Symbol("Is Async"), writeScope = (scopeId, partialScope) => {
4995
5021
  let { state } = $chunk.boundary, target = $chunk.serializeState, scope = scopeWithId(state, scopeId), pending = target.writeScopes[scopeId];
4996
- return state.needsMainRuntime = !0, countResumeWrite($chunk.boundary), Object.assign(scope, partialScope), pending && pending !== partialScope ? Object.assign(pending, partialScope) : target.writeScopes[scopeId] = partialScope, target.flushScopes = !0, scope;
5022
+ return state.needsMainRuntime = !0, Object.assign(scope, partialScope), pending && pending !== partialScope ? Object.assign(pending, partialScope) : target.writeScopes[scopeId] = partialScope, target.flushScopes = !0, scope;
4997
5023
  }, NOOP$2 = () => {}, tick = globalThis.setImmediate || globalThis.setTimeout || globalThis.queueMicrotask || ((cb) => Promise.resolve().then(cb)), tickQueue, kSelectedValue = Symbol("selectedValue"), checkedValuesRefs = /* @__PURE__ */ new WeakMap(), singleQuoteAttrReplacements = /['\r]|&(?=[#a-zA-Z])/g, doubleQuoteAttrReplacements = /["\r]|&(?=[#a-zA-Z])/g, needsQuotedAttr = /["'>\s]|&[#a-zA-Z]|\/$/g, voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/, _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, serializeReason) => {
4998
5024
  let shouldResume = serializeReason !== 0, renderer = normalizeDynamicRenderer(tag), state = getState(), branchId = _peek_scope_id(), rendered, result;
4999
5025
  if (typeof renderer == "string") {
@@ -5871,8 +5897,8 @@ function withContext(key, value, cb, cbValue) {
5871
5897
  ctx[kPendingContexts]--, ctx[key] = prev;
5872
5898
  }
5873
5899
  }
5874
- function withBranchId(branchId, cb, cbValue) {
5875
- return withContext(kBranchId, branchId, cb, cbValue);
5900
+ function withBranchId(branchId, cb) {
5901
+ return withContext(kBranchId, branchId, cb);
5876
5902
  }
5877
5903
  function _html(html) {
5878
5904
  $chunk.writeHTML(html);
@@ -5880,8 +5906,8 @@ function _html(html) {
5880
5906
  function writeScript(script) {
5881
5907
  $chunk.writeScript(script);
5882
5908
  }
5883
- function _script(scopeId, registryId, serializeMarker) {
5884
- serializeMarker === 0 && ($chunk.serializeState.readyId || $chunk.context?.[kIsAsync]) && _resume_branch(scopeId), $chunk.boundary.state.needsMainRuntime = !0, $chunk.writeEffect(scopeId, registryId);
5909
+ function _script(scopeId, registryId) {
5910
+ ($chunk.serializeState.readyId || $chunk.context?.[kIsAsync]) && _resume_branch(scopeId), $chunk.boundary.state.needsMainRuntime = !0, $chunk.writeEffect(scopeId, registryId);
5885
5911
  }
5886
5912
  function _trailers(html) {
5887
5913
  $chunk.boundary.state.trailerHTML += html;
@@ -6005,9 +6031,6 @@ function writeWaitReady(readyId, renderer, input) {
6005
6031
  }), bodyEnd = body.render(renderer, input);
6006
6032
  body === bodyEnd ? (chunk.writeHTML(body.html), body.deferOwnReady(), chunk.deferredReady = push(chunk.deferredReady, body)) : (bodyEnd.next = $chunk = chunk.fork(boundary, chunk.next), chunk.next = body);
6007
6033
  }
6008
- function countResumeWrite(boundary) {
6009
- for (; boundary; boundary = boundary.parent) boundary.resumeWrites++;
6010
- }
6011
6034
  var State = class {
6012
6035
  tagId = 1;
6013
6036
  scopeId = 1;
@@ -6064,7 +6087,6 @@ var State = class {
6064
6087
  var Boundary = class extends AbortController {
6065
6088
  onNext = NOOP$2;
6066
6089
  count = 0;
6067
- resumeWrites = 0;
6068
6090
  state;
6069
6091
  parent;
6070
6092
  constructor(state, signal, parent) {
@@ -6109,7 +6131,7 @@ var Chunk = class Chunk {
6109
6131
  this.html += html;
6110
6132
  }
6111
6133
  writeEffect(scopeId, registryId) {
6112
- countResumeWrite(this.boundary), this.lastEffect === registryId ? this.effects += " " + scopeId : (this.lastEffect = registryId, this.effects = concatEffects(this.effects, registryId + " " + scopeId));
6134
+ this.lastEffect === registryId ? this.effects += " " + scopeId : (this.lastEffect = registryId, this.effects = concatEffects(this.effects, registryId + " " + scopeId));
6113
6135
  }
6114
6136
  writeScript(script) {
6115
6137
  this.scripts = concatScripts(this.scripts, script);
@@ -6186,9 +6208,7 @@ var Chunk = class Chunk {
6186
6208
  }
6187
6209
  readyResumeScripts && (needsWalk = !0);
6188
6210
  let effects = this.async ? "" : this.effects, { html, scripts } = this;
6189
- state.needsMainRuntime && !state.hasMainRuntime && (state.hasMainRuntime = !0, scripts = concatScripts(scripts, "(e=>(self[e]||=(l,f=e+l,s=f.length,a={},d=[],t=document,n=t.createTreeWalker(t,129))=>t=self[e][l]={i:f,d:t,l:a,v:d,x(){},w(e,l,r){for(;e=n.nextNode();)t.x(l=(l=e.data)&&!l.indexOf(f)&&(r=l.slice(s+1),(l=l[s])>\"#\"||(a[r]=e),l),r,e),l>\"#\"&&d.push(e)}},self[e]))(\"" + $global.runtimeId + "\")(\"" + $global.renderId + "\")")), scripts = concatScripts(scripts, readyResumeScripts), effects && (needsWalk = !0, state.resumes = state.resumes ? state.resumes + ",\"" + effects + "\"" : "\"" + effects + "\"");
6190
- let reordered = "", needsResumeArray = !1;
6191
- if (state.writeReorders) {
6211
+ if (state.needsMainRuntime && !state.hasMainRuntime && (state.hasMainRuntime = !0, scripts = concatScripts(scripts, "(e=>(self[e]||=(l,f=e+l,s=f.length,a={},d=[],t=document,n=t.createTreeWalker(t,129))=>t=self[e][l]={i:f,d:t,l:a,v:d,x(){},w(e,l,r){for(;e=n.nextNode();)t.x(l=(l=e.data)&&!l.indexOf(f)&&(a[r=l.slice(s+1)]=e,l[s]),r,e),l>\"#\"&&d.push(e)}},self[e]))(\"" + $global.runtimeId + "\")(\"" + $global.renderId + "\")")), scripts = concatScripts(scripts, readyResumeScripts), effects && (needsWalk = !0, state.resumes = state.resumes ? state.resumes + ",\"" + effects + "\"" : "\"" + effects + "\""), state.writeReorders) {
6192
6212
  let carried = null;
6193
6213
  for (let reorderedChunk of state.writeReorders) {
6194
6214
  if (reorderedChunk.async && reorderedChunk.consumed) {
@@ -6200,7 +6220,7 @@ var Chunk = class Chunk {
6200
6220
  }
6201
6221
  reorderedChunk.async = !1;
6202
6222
  }
6203
- needsWalk = !0, state.hasReorderRuntime || (state.hasReorderRuntime = !0, scripts = concatScripts(scripts, "(e=>{if(e.j)return;let i,l,r,t=e.p={},c=(i,l)=>e.l[i].replaceWith(...l.childNodes);e.j={},e.x=(n,a,d,o,g)=>{d==r&&i(),\"#\"==n?(t[a]=l).i++:\"!\"==n?e.l[a]&&t[a]&&(r=d.nextSibling,i=()=>t[a].c()):\"T\"==d.tagName&&(a=d.getAttribute(e.i))&&(r=d.nextSibling,i=()=>{d.remove(),o||c(a,d),l.c()},l=t[a]||(o=t[a]={i:e.l[a]?1:2,r:a,c(i=e.l[\"^\"+a],f=d.cloneNode()){if(--o.i)return 1;for(;f.prepend(r=e.l[a].previousSibling||i),i!=r;);c(a,d)}}),e.v.push({data:e.i+\"*\"+l.r}),(n=e.j[a])&&(g=l.c,l.c=()=>g()||n(e.r)))}})(" + runtimePrefix + ")"));
6223
+ needsWalk = !0, state.hasReorderRuntime || (state.hasReorderRuntime = !0, scripts = concatScripts(scripts, "(e=>{if(e.j)return;let i,l,r,t=e.p={},c=(i,l)=>e.l[i].replaceWith(...l.childNodes);e.j={},e.x=(n,a,d,o,g)=>{d==r&&i(),\"#\"==n?(t[a]=l).i++:\"!\"==n?e.l[a]&&t[a]&&(r=d.nextSibling,i=()=>t[a].c()):\"T\"==d.tagName&&(a=d.getAttribute(e.i))&&(r=d.nextSibling,i=()=>{d.remove(),o||c(a,d),l.c()},l=t[a]||(o=t[a]={i:e.l[a]?1:2,c(i=e.l[\"^\"+a],f=d.cloneNode()){if(--o.i)return 1;for(;f.prepend(r=e.l[a].previousSibling||i),i!=r;);c(a,d)}}),(n=e.j[a])&&(g=l.c,l.c=()=>g()||n(e.r)))}})(" + runtimePrefix + ")"));
6204
6224
  let { reorderId } = reorderedChunk, readyReservations = [], reorderHTML = "", reorderEffects = "", reorderScripts = "", cur = reorderedChunk;
6205
6225
  for (reorderedChunk.reorderId = null;;) {
6206
6226
  cur.flushPlaceholder(), cur.deferOwnReady();
@@ -6208,13 +6228,13 @@ var Chunk = class Chunk {
6208
6228
  if (cur.consumed = !0, reorderHTML += cur.html, reorderEffects = concatEffects(reorderEffects, cur.effects), reorderScripts = concatScripts(reorderScripts, concatScripts(readyResumeScripts, cur.scripts)), cur.async && (reorderHTML += state.mark("#", cur.reorderId = state.nextReorderId()), state.reorder(cur), cur.html = cur.effects = cur.scripts = cur.lastEffect = "", cur.next = null), next) cur = next;
6209
6229
  else break;
6210
6230
  }
6211
- reorderEffects && (needsResumeArray = !0, reorderScripts = concatScripts(reorderScripts, "_.push(\"" + reorderEffects + "\")"));
6212
- for (let reservation of readyReservations) reordered = concatScripts(reordered, reservation);
6213
- reordered = concatScripts(reordered, reorderScripts && runtimePrefix + ".j" + toAccess(reorderId) + "=_=>{" + reorderScripts + "}"), html += "<t hidden " + state.commentPrefix + "=" + reorderId + ">" + reorderHTML + "</t>";
6231
+ reorderEffects && (state.hasWrittenResume || (state.hasWrittenResume = !0, scripts = concatScripts(scripts, runtimePrefix + ".r=[]")), reorderScripts = concatScripts(reorderScripts, "_.push(\"" + reorderEffects + "\")"));
6232
+ for (let reservation of readyReservations) scripts = concatScripts(scripts, reservation);
6233
+ scripts = concatScripts(scripts, reorderScripts && runtimePrefix + ".j" + toAccess(reorderId) + "=_=>{" + reorderScripts + "}"), html += "<t hidden " + state.commentPrefix + "=" + reorderId + ">" + reorderHTML + "</t>";
6214
6234
  }
6215
6235
  state.writeReorders = carried;
6216
6236
  }
6217
- return flushSerializer(boundary, state), state.resumes ? state.hasWrittenResume ? scripts = concatScripts(scripts, runtimePrefix + ".r.push(" + state.resumes + ")") : (state.hasWrittenResume = !0, scripts = concatScripts(scripts, runtimePrefix + ".r=[" + state.resumes + "]")) : needsResumeArray && !state.hasWrittenResume && (state.hasWrittenResume = !0, scripts = concatScripts(scripts, runtimePrefix + ".r=[]")), scripts = concatScripts(scripts, reordered), needsWalk && (scripts = concatScripts(scripts, runtimePrefix + ".w()")), this.html = html, this.scripts = scripts, this.async || (this.effects = this.lastEffect = ""), state.resumes = "", this;
6237
+ return flushSerializer(boundary, state), state.resumes && (state.hasWrittenResume ? scripts = concatScripts(scripts, runtimePrefix + ".r.push(" + state.resumes + ")") : (state.hasWrittenResume = !0, scripts = concatScripts(scripts, runtimePrefix + ".r=[" + state.resumes + "]"))), needsWalk && (scripts = concatScripts(scripts, runtimePrefix + ".w()")), this.html = html, this.scripts = scripts, this.async || (this.effects = this.lastEffect = ""), state.resumes = "", this;
6218
6238
  }
6219
6239
  flushHTML() {
6220
6240
  let { boundary } = this, { state } = boundary;
@@ -6671,7 +6691,7 @@ function toObjectExpression(options) {
6671
6691
  //#endregion
6672
6692
  //#region src/routes/+layout.marko
6673
6693
  var _layout_default = _template("a", (input) => {
6674
- const $scope0_reason = _scope_reason(), $sg__input_content = _serialize_guard($scope0_reason, 0);
6694
+ const $scope0_reason = _scope_reason();
6675
6695
  const $scope0_id = _scope_id();
6676
6696
  const data = $global().data;
6677
6697
  const inst = data?.instance;
@@ -6694,7 +6714,7 @@ var _layout_default = _template("a", (input) => {
6694
6714
  _html(`<meta name=theme-color media="(prefers-color-scheme: light)"${_attr_or("content", accent, " content=#fafafa")}><meta name=theme-color media="(prefers-color-scheme: dark)"${_attr_or("content", accent, " content=#131316")}>`);
6695
6715
  }
6696
6716
  _html(`<link rel=manifest href=/api/instance/manifest crossorigin=use-credentials><link rel=icon${_attr("href", iconHref)} type=image/svg+xml><link rel=apple-touch-icon${_attr("href", touchIconHref)}><meta name=apple-mobile-web-app-title${_attr("content", name)}><title>${_escape(name)}</title>${_flush_head()}</head><body>`);
6697
- _dynamic_tag($scope0_id, "h", input.content, {}, 0, 0, $sg__input_content);
6717
+ _dynamic_tag($scope0_id, "h", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0));
6698
6718
  _trailers("</body></html>");
6699
6719
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
6700
6720
  }, 1);
@@ -6999,10 +7019,10 @@ var iconSize = {
6999
7019
  //#endregion
7000
7020
  //#region src/tags/icons/icon-base.marko
7001
7021
  var icon_base_default = _template("W", (input) => {
7002
- const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0), $sg__input_d = _serialize_guard($scope0_reason, 2);
7022
+ const $scope0_reason = _scope_reason();
7003
7023
  const $scope0_id = _scope_id();
7004
7024
  const size = input.size ?? iconSize.md;
7005
- _html(`<svg${_attr_class(["_m", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path${_attr("d", input.d)}></path>${_el_resume($scope0_id, "b", $sg__input_d)}</svg>${_el_resume($scope0_id, "a", $sg__input_size__OR__input_class)}`);
7025
+ _html(`<svg${_attr_class(["_m", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path${_attr("d", input.d)}></path>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</svg>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 0))}`);
7006
7026
  _serialize_if($scope0_reason, 1) && writeScope($scope0_id, {});
7007
7027
  });
7008
7028
  //#endregion
@@ -7025,7 +7045,7 @@ var icon_xmark_default = _template("zb", (input) => {
7025
7045
  //#endregion
7026
7046
  //#region src/tags/toast.marko
7027
7047
  var toast_default = _template("J", (input) => {
7028
- const $scope0_reason = _scope_reason(), $sg__input_kind = _serialize_guard($scope0_reason, 6), $sg__input_title = _serialize_guard($scope0_reason, 7), $sg__input_content = _serialize_guard($scope0_reason, 8), $sg__input_title__OR__input_content__OR__input_action__OR__input_onDismiss = _serialize_guard($scope0_reason, 5), $sg__input_action_content = _serialize_guard($scope0_reason, 10), $sg__input_action = _serialize_guard($scope0_reason, 9), $sg__input_action__OR__input_onDismiss = _serialize_guard($scope0_reason, 3), $sg__input_onDismiss = _serialize_guard($scope0_reason, 11), $si__input_content = _serialize_if($scope0_reason, 8), $si__input_action__OR__input_onDismiss = _serialize_if($scope0_reason, 3), $si__input_action_content = _serialize_if($scope0_reason, 10);
7048
+ const $scope0_reason = _scope_reason(), $sg__input_title = _serialize_guard($scope0_reason, 7), $sg__input_title__OR__input_content__OR__input_action__OR__input_onDismiss = _serialize_guard($scope0_reason, 5), $sg__input_content = _serialize_guard($scope0_reason, 8), $sg__input_action = _serialize_guard($scope0_reason, 9), $sg__input_action__OR__input_onDismiss = _serialize_guard($scope0_reason, 3), $sg__input_onDismiss = _serialize_guard($scope0_reason, 11), $si__input_content = _serialize_if($scope0_reason, 8), $si__input_action__OR__input_onDismiss = _serialize_if($scope0_reason, 3), $si__input_action_content = _serialize_if($scope0_reason, 10);
7029
7049
  const $scope0_id = _scope_id();
7030
7050
  const $input_action_content__closures = /* @__PURE__ */ new Set();
7031
7051
  const { kind: inputKind, placement: inputPlacement, title, class: inputClass, content, action, onDismiss, ...htmlInput } = input;
@@ -7047,7 +7067,7 @@ var toast_default = _template("J", (input) => {
7047
7067
  _if(() => {
7048
7068
  if (title) {
7049
7069
  const $scope1_id = _scope_id();
7050
- _html(`<strong${_attr_class(toastTitle[kind])}>${_text_resume($scope1_id, "b", title, $sg__input_title)}</strong>${_el_resume($scope1_id, "a", $sg__input_kind)}`);
7070
+ _html(`<strong${_attr_class(toastTitle[kind])}>${_text_resume($scope1_id, "b", title, $sg__input_title)}</strong>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 6))}`);
7051
7071
  _serialize_if($scope0_reason, 1) && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
7052
7072
  return 0;
7053
7073
  }
@@ -7070,7 +7090,7 @@ var toast_default = _template("J", (input) => {
7070
7090
  _if(() => {
7071
7091
  if (action) {
7072
7092
  const $scope4_id = _scope_id();
7073
- _dynamic_tag($scope4_id, "a", action.content, {}, 0, 0, $sg__input_action_content);
7093
+ _dynamic_tag($scope4_id, "a", action.content, {}, 0, 0, _serialize_guard($scope0_reason, 10));
7074
7094
  $si__input_action__OR__input_onDismiss && _subscribe($si__input_action_content && $input_action_content__closures, writeScope($scope4_id, { _: _scope_with_id($scope3_id) }));
7075
7095
  return 0;
7076
7096
  }
@@ -7106,6 +7126,7 @@ var toast_default = _template("J", (input) => {
7106
7126
  u: _serialize_if($scope0_reason, 2) && placementClass,
7107
7127
  z: $si__input_action_content && $input_action_content__closures
7108
7128
  });
7129
+ _resume_branch($scope0_id);
7109
7130
  });
7110
7131
  //#endregion
7111
7132
  //#region src/tags/connection-pill.marko
@@ -7115,6 +7136,7 @@ var connection_pill_default = _template("g", (input) => {
7115
7136
  _if(() => {}, $scope0_id, "a", 1, 1, 1, 0, 1);
7116
7137
  _script($scope0_id, "g0");
7117
7138
  writeScope($scope0_id, {});
7139
+ _resume_branch($scope0_id);
7118
7140
  });
7119
7141
  //#endregion
7120
7142
  //#region src/client/prefs.ts
@@ -7296,19 +7318,19 @@ function applyInstance(inst) {
7296
7318
  if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
7297
7319
  syncThemeColorMetas(theme(), inst.accent || "");
7298
7320
  }
7299
- var agentRow = "_c3 _cE";
7300
- var toolGrid = "_da _cO";
7301
- var toolRow = "_db _cP";
7302
- var themeSeg = "_dy _bd";
7303
- var checkList = "_d4 _bE";
7304
- var list$2 = "_cQ _bG _cD _cO";
7305
- var flatCardRow = "_cR _cP";
7306
- var chip$1 = "_c0 _X _W";
7307
- var pop$1 = "_cz _9";
7308
- var spinner = "_cC _1 _G";
7309
- var busy = "_ea _d_";
7310
- var pop = "_ec _9";
7311
- var sectionCount$1 = "_bD _N _O";
7321
+ var agentRow = "_fW _d7";
7322
+ var toolGrid = "_f4 _eg";
7323
+ var toolRow = "_f5 _eh";
7324
+ var themeSeg = "_gr _bd";
7325
+ var checkList = "_gX _bX";
7326
+ var list$2 = "_ei _bZ _d6 _eg";
7327
+ var flatCardRow = "_ej _eh";
7328
+ var chip$1 = "_es _X _W";
7329
+ var pop$1 = "_fR _9";
7330
+ var spinner = "_fU _1 _G";
7331
+ var busy = "_fG _fF";
7332
+ var pop = "_fI _9";
7333
+ var sectionCount$1 = "_bW _N _O";
7312
7334
  //#endregion
7313
7335
  //#region src/tags/icons/icon-refresh.marko
7314
7336
  var icon_refresh_default = _template("pb", (input) => {
@@ -7346,32 +7368,32 @@ var icon_back_default = _template("V", (input) => {
7346
7368
  //#endregion
7347
7369
  //#region src/tags/page-head.marko
7348
7370
  var page_head_default = _template("t", (input) => {
7349
- const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_backTitle = _serialize_guard($scope0_reason, 0), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_actions = _serialize_guard($scope0_reason, 7), $sg__input_backHref__OR__input_onBack = _serialize_guard($scope0_reason, 1), $sg__input_titleId = _serialize_guard($scope0_reason, 4), $sg__input_title = _serialize_guard($scope0_reason, 5), $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);
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);
7350
7372
  const $scope0_id = _scope_id();
7351
- _html(`<header${_attr_class("_ei")}>`);
7373
+ _html(`<header${_attr_class("_cZ")}>`);
7352
7374
  _if(() => {
7353
7375
  if (input.backHref) {
7354
7376
  const $scope1_id = _scope_id();
7355
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_fp"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7377
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_cU"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7356
7378
  icon_back_default({ size: 14 });
7357
- _html(`</a>${_el_resume($scope1_id, "a", $sg__input_backHref__OR__input_backTitle)}`);
7379
+ _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
7358
7380
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
7359
7381
  return 0;
7360
7382
  } else if (input.onBack) {
7361
7383
  const $scope2_id = _scope_id();
7362
- _html(`<button${_attr_class([iconBtnRow, "_fp"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7384
+ _html(`<button${_attr_class([iconBtnRow, "_cU"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7363
7385
  icon_back_default({ size: 14 });
7364
7386
  _html(`</button>${_el_resume($scope2_id, "a")}`);
7365
7387
  _script($scope2_id, "t0");
7366
7388
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7367
7389
  return 1;
7368
7390
  }
7369
- }, $scope0_id, "b", _serialize_guard($scope0_reason, 2), $sg__input_backHref__OR__input_onBack, $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
7370
- _html(`<div${_attr_class("_ek")}><h1${_attr("id", input.titleId)}${_attr_class("_ej")}>${_text_resume($scope0_id, "e", input.title, $sg__input_title)}</h1>${_el_resume($scope0_id, "d", $sg__input_titleId)}`);
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("_c1")}><h1${_attr("id", input.titleId)}${_attr_class("_c0")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7371
7393
  _if(() => {
7372
7394
  if (input.meta) {
7373
7395
  const $scope3_id = _scope_id();
7374
- _html(`<p${_attr_class("_el")}>`);
7396
+ _html(`<p${_attr_class("_c2")}>`);
7375
7397
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
7376
7398
  _html("</p>");
7377
7399
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -7382,7 +7404,7 @@ var page_head_default = _template("t", (input) => {
7382
7404
  _if(() => {
7383
7405
  if (input.actions) {
7384
7406
  const $scope4_id = _scope_id();
7385
- _html(`<div${_attr_class("_em")}>`);
7407
+ _html(`<div${_attr_class("_c3")}>`);
7386
7408
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7387
7409
  _html("</div>");
7388
7410
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7450,7 +7472,7 @@ var icon_agent_default = _template("P", (input) => {
7450
7472
  n: $badge__closures
7451
7473
  });
7452
7474
  });
7453
- var usageNote = "_hc _W";
7475
+ var usageNote = "_hj _W";
7454
7476
  //#endregion
7455
7477
  //#region src/tags/icons/icon-warning.marko
7456
7478
  var icon_warning_default = _template("xb", (input) => {
@@ -7477,14 +7499,14 @@ function resetLabel(iso, stale) {
7477
7499
  return duration(ms);
7478
7500
  }
7479
7501
  var usage_meters_default = _template("L", (input) => {
7480
- const $scope0_reason = _scope_reason(), $sg__input_agent = _serialize_guard($scope0_reason, 1), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $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);
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);
7481
7503
  const $scope0_id = _scope_id();
7482
7504
  const agent = input.agent;
7483
- _html(`<div${_attr_class(["_g7", { ["_g8"]: input.hideName }])}><div${_attr_class("_g9")}>`);
7505
+ _html(`<div${_attr_class(["_hd", { ["_he"]: input.hideName }])}><div${_attr_class("_hf")}>`);
7484
7506
  _if(() => {
7485
7507
  if (!input.hideName) {
7486
7508
  const $scope1_id = _scope_id();
7487
- _html(`<strong${_attr_class("_hr")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7509
+ _html(`<strong${_attr_class("_hy")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7488
7510
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
7489
7511
  return 0;
7490
7512
  }
@@ -7492,7 +7514,7 @@ var usage_meters_default = _template("L", (input) => {
7492
7514
  _if(() => {
7493
7515
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
7494
7516
  const $scope2_id = _scope_id();
7495
- _html(`<span${_attr_class("_g_")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7517
+ _html(`<span${_attr_class("_hg")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7496
7518
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7497
7519
  return 0;
7498
7520
  }
@@ -7500,21 +7522,21 @@ var usage_meters_default = _template("L", (input) => {
7500
7522
  _if(() => {
7501
7523
  if (agent.stale_seconds != null) {
7502
7524
  const $scope3_id = _scope_id();
7503
- _html(`<span${_attr_class("_ha")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7525
+ _html(`<span${_attr_class("_hh")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7504
7526
  icon_warning_default({ size: 12 });
7505
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)}`);
7506
7528
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7507
7529
  return 0;
7508
7530
  }
7509
7531
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
7510
- _html(`</div><div${_attr_class(["_hb", { ["_hs"]: agent.stale_seconds != null }])}>`);
7532
+ _html(`</div><div${_attr_class(["_hi", { ["_hz"]: agent.stale_seconds != null }])}>`);
7511
7533
  _for_of(agent.windows || [], (win) => {
7512
7534
  const $scope4_id = _scope_id();
7513
7535
  const pct = pctText(win.used_percent);
7514
7536
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
7515
- const fillClass = win.used_percent >= 90 ? "_hk" : win.used_percent >= 70 ? "_hj" : win.used_percent >= 40 ? "_hi" : "_hh";
7516
- const pctClass = win.used_percent >= 90 ? "_hp" : win.used_percent >= 70 ? "_ho" : win.used_percent >= 40 ? "_hn" : "_hm";
7517
- _html(`<div${_attr_class("_hd")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_he")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hf")}><span${_attr_class(["_hg", 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(["_hl", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hq")}>`);
7537
+ const fillClass = win.used_percent >= 90 ? "_hr" : win.used_percent >= 70 ? "_hq" : win.used_percent >= 40 ? "_hp" : "_ho";
7538
+ const pctClass = win.used_percent >= 90 ? "_hw" : win.used_percent >= 70 ? "_hv" : win.used_percent >= 40 ? "_hu" : "_ht";
7539
+ _html(`<div${_attr_class("_hk")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hl")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hm")}><span${_attr_class(["_hn", 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(["_hs", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hx")}>`);
7518
7540
  _if(() => {
7519
7541
  if (label) {
7520
7542
  const $scope6_id = _scope_id();
@@ -7549,10 +7571,10 @@ var usage_meters_default = _template("L", (input) => {
7549
7571
  //#endregion
7550
7572
  //#region src/tags/icons/icon-github.marko
7551
7573
  var icon_github_default = _template("ib", (input) => {
7552
- const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7574
+ const $scope0_reason = _scope_reason();
7553
7575
  const $scope0_id = _scope_id();
7554
7576
  const size = input.size ?? iconSize.md;
7555
- _html(`<svg${_attr_class(["_m", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor aria-hidden=true><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg>${_el_resume($scope0_id, "a", $sg__input_size__OR__input_class)}`);
7577
+ _html(`<svg${_attr_class(["_m", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor aria-hidden=true><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 0))}`);
7556
7578
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
7557
7579
  });
7558
7580
  //#endregion
@@ -7592,7 +7614,7 @@ var icon_search_default = _template("qb", (input) => {
7592
7614
  //#endregion
7593
7615
  //#region src/tags/add-field.marko
7594
7616
  var add_field_default = _template("b", (input$3) => {
7595
- const $scope0_reason = _scope_reason(), $sg__input_icon = _serialize_guard($scope0_reason, 6), $si__input_searching__OR__input_icon = _serialize_if($scope0_reason, 0), $sg__input_searching__OR__input_icon = _serialize_guard($scope0_reason, 0), $sg__input_submitLabel__OR__input_busy = _serialize_guard($scope0_reason, 1), $sg__input_content = _serialize_guard($scope0_reason, 8), $si__input_icon = _serialize_if($scope0_reason, 6);
7617
+ const $scope0_reason = _scope_reason(), $si__input_searching__OR__input_icon = _serialize_if($scope0_reason, 0), $sg__input_searching__OR__input_icon = _serialize_guard($scope0_reason, 0), $sg__input_content = _serialize_guard($scope0_reason, 8), $si__input_icon = _serialize_if($scope0_reason, 6);
7596
7618
  const $scope0_id = _scope_id();
7597
7619
  let open = input$3.open;
7598
7620
  let value = input$3.value;
@@ -7613,10 +7635,10 @@ var add_field_default = _template("b", (input$3) => {
7613
7635
  }
7614
7636
  }, $scope0_id, "a", 1, 1, 1, 0, 1);
7615
7637
  _html(`<form${_attr_class([
7616
- "_cs",
7638
+ "_fK",
7617
7639
  input$3.class,
7618
- { ["_ct"]: !open }
7619
- ])}><label${_attr_class(["_0", "_cv"])}>`);
7640
+ { ["_fL"]: !open }
7641
+ ])}><label${_attr_class(["_0", "_fN"])}>`);
7620
7642
  _if(() => {
7621
7643
  if (input$3.searching) {
7622
7644
  const $scope5_id = _scope_id();
@@ -7625,7 +7647,7 @@ var add_field_default = _template("b", (input$3) => {
7625
7647
  return 0;
7626
7648
  } else if (input$3.icon) {
7627
7649
  const $scope2_id = _scope_id();
7628
- _dynamic_tag($scope2_id, "a", input$3.icon, {}, 0, 0, $sg__input_icon);
7650
+ _dynamic_tag($scope2_id, "a", input$3.icon, {}, 0, 0, _serialize_guard($scope0_reason, 6));
7629
7651
  $si__input_searching__OR__input_icon && writeScope($scope2_id, { _: $si__input_icon && _scope_with_id($scope0_id) });
7630
7652
  return 1;
7631
7653
  } else {
@@ -7643,7 +7665,7 @@ var add_field_default = _template("b", (input$3) => {
7643
7665
  }, "b0", $scope0_id))}${_attr_class([
7644
7666
  "_Y",
7645
7667
  "_2",
7646
- "_cw"
7668
+ "_fO"
7647
7669
  ])} type=text${_attr("placeholder", input$3.placeholder)}${_attr("aria-label", input$3.ariaLabel)} autocomplete=off spellcheck=false>${_el_resume($scope0_id, "e")}</label>`);
7648
7670
  _if(() => {
7649
7671
  if (input$3.submitLabel) {
@@ -7651,19 +7673,19 @@ var add_field_default = _template("b", (input$3) => {
7651
7673
  _html(`<button${_attr_class([
7652
7674
  btnSm,
7653
7675
  "_r",
7654
- "_cx"
7655
- ])} type=submit${_attr("hidden", !open)}${_attr("disabled", !value.trim() || input$3.busy)}>${_text_resume($scope3_id, "b", input$3.busy ? "Adding…" : input$3.submitLabel, $sg__input_submitLabel__OR__input_busy)}</button>${_el_resume($scope3_id, "a")}`);
7676
+ "_fP"
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")}`);
7656
7678
  writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7657
7679
  return 0;
7658
7680
  }
7659
7681
  }, $scope0_id, "f", 1, _serialize_guard($scope0_reason, 7), 1, 0, 1);
7660
- _html(`<button${_attr_class([iconBtnRow, "_cy"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7682
+ _html(`<button${_attr_class([iconBtnRow, "_fQ"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7661
7683
  icon_xmark_default({ size: 14 });
7662
7684
  _html(`</button>${_el_resume($scope0_id, "g")}`);
7663
7685
  _if(() => {
7664
7686
  if (input$3.content) {
7665
7687
  const $scope4_id = _scope_id();
7666
- _html(`<ul${_attr_class([pop$1, "_cA"])}${_attr("hidden", !open || !value.trim())}>`);
7688
+ _html(`<ul${_attr_class([pop$1, "_fS"])} data-add-pop${_attr("hidden", !open || !value.trim())}>`);
7667
7689
  _dynamic_tag($scope4_id, "b", input$3.content, {}, 0, 0, $sg__input_content);
7668
7690
  _html(`</ul>${_el_resume($scope4_id, "a")}`);
7669
7691
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7691,6 +7713,7 @@ var add_field_default = _template("b", (input$3) => {
7691
7713
  a3: input$3.openChange || void 0,
7692
7714
  a6: input$3.valueChange || void 0
7693
7715
  });
7716
+ _resume_branch($scope0_id);
7694
7717
  });
7695
7718
  //#endregion
7696
7719
  //#region src/tags/icons/icon-check.marko
@@ -7712,7 +7735,7 @@ var icon_check_default = _template("Z", (input) => {
7712
7735
  //#endregion
7713
7736
  //#region src/tags/arm-button.marko
7714
7737
  var arm_button_default = _template("e", (input) => {
7715
- const $scope0_reason = _scope_reason(), $sg__input_armedLabel = _serialize_guard($scope0_reason, 2), $sg__input_content = _serialize_guard($scope0_reason, 3);
7738
+ const $scope0_reason = _scope_reason();
7716
7739
  const $scope0_id = _scope_id();
7717
7740
  let armed$1 = input.armed;
7718
7741
  const timer = { id: 0 };
@@ -7720,12 +7743,12 @@ var arm_button_default = _template("e", (input) => {
7720
7743
  _if(() => {
7721
7744
  if (armed$1 && input.armedLabel) {
7722
7745
  const $scope1_id = _scope_id();
7723
- _html(_text_resume($scope1_id, "a", input.armedLabel, $sg__input_armedLabel));
7746
+ _html(_text_resume($scope1_id, "a", input.armedLabel, _serialize_guard($scope0_reason, 2)));
7724
7747
  writeScope($scope1_id, {});
7725
7748
  return 0;
7726
7749
  } else {
7727
7750
  const $scope2_id = _scope_id();
7728
- _dynamic_tag($scope2_id, "a", input.content, {}, 0, 0, $sg__input_content);
7751
+ _dynamic_tag($scope2_id, "a", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 3));
7729
7752
  writeScope($scope2_id, {});
7730
7753
  return 1;
7731
7754
  }
@@ -7745,6 +7768,7 @@ var arm_button_default = _template("e", (input) => {
7745
7768
  w: timer.id,
7746
7769
  r: input.armedChange || void 0
7747
7770
  });
7771
+ _resume_branch($scope0_id);
7748
7772
  });
7749
7773
  //#endregion
7750
7774
  //#region src/tags/sso-auth.marko
@@ -7788,14 +7812,14 @@ var sso_auth_default = _template("G", (input) => {
7788
7812
  localCode = null;
7789
7813
  }
7790
7814
  }, "G0", $scope0_id);
7791
- _html(`<div${_attr_class(["_ht", input.class])}>`);
7815
+ _html(`<div${_attr_class(["_ji", input.class])}>`);
7792
7816
  _for_of(input.items, (s) => {
7793
7817
  const $scope1_id = _scope_id();
7794
- _html(`<div${_attr_class("_hu")}><span${_attr_class("_hw")}><span${_attr_class("_hx")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hy", "_hz"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7818
+ _html(`<div${_attr_class("_jj")}><span${_attr_class("_jl")}><span${_attr_class("_jm")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_jn", "_jo"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7795
7819
  _if(() => {
7796
7820
  if (!busy) {
7797
7821
  const $scope2_id = _scope_id();
7798
- _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, "_hA"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
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, "_jp"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7799
7823
  _script($scope2_id, "G1");
7800
7824
  writeScope($scope2_id, {});
7801
7825
  return 0;
@@ -7810,13 +7834,13 @@ var sso_auth_default = _template("G", (input) => {
7810
7834
  _if(() => {
7811
7835
  if (localBusy && localCode) {
7812
7836
  const $scope4_id = _scope_id();
7813
- _html(`<div${_attr_class(["_hu", "_hB"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hC")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hD")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7837
+ _html(`<div${_attr_class(["_jj", "_jq"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_jr")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_js")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7814
7838
  _script($scope4_id, "G2");
7815
7839
  writeScope($scope4_id, {});
7816
7840
  return 0;
7817
7841
  } else if (localBusy) {
7818
7842
  const $scope6_id = _scope_id();
7819
- _html(`<div${_attr_class(["_hu", "_hB"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7843
+ _html(`<div${_attr_class(["_jj", "_jq"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7820
7844
  writeScope($scope6_id, {});
7821
7845
  return 1;
7822
7846
  }
@@ -7824,14 +7848,14 @@ var sso_auth_default = _template("G", (input) => {
7824
7848
  _if(() => {
7825
7849
  if (localError) {
7826
7850
  const $scope5_id = _scope_id();
7827
- _html(`<p${_attr_class(["_hu", "_hE"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7851
+ _html(`<p${_attr_class(["_jj", "_jt"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7828
7852
  writeScope($scope5_id, {});
7829
7853
  return 0;
7830
7854
  }
7831
7855
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7832
7856
  _for_of(skipped, (s) => {
7833
7857
  const $scope3_id = _scope_id();
7834
- _html(`<div${_attr_class(["_hu", "_hv"])}><span${_attr_class("_hw")}><span${_attr_class("_hx")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hy")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hA"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7858
+ _html(`<div${_attr_class(["_jj", "_jk"])}><span${_attr_class("_jl")}><span${_attr_class("_jm")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_jn")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_jp"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7835
7859
  _script($scope3_id, "G3");
7836
7860
  writeScope($scope3_id, {
7837
7861
  i: s?.org,
@@ -7851,6 +7875,7 @@ var sso_auth_default = _template("G", (input) => {
7851
7875
  x: busy,
7852
7876
  z: authorize
7853
7877
  });
7878
+ _resume_branch($scope0_id);
7854
7879
  });
7855
7880
  //#endregion
7856
7881
  //#region src/tags/icons/icon-chevron-right.marko
@@ -7872,7 +7897,7 @@ var icon_chevron_right_default = _template("$", (input) => {
7872
7897
  //#endregion
7873
7898
  //#region src/tags/skill-chip.marko
7874
7899
  var skill_chip_default = _template("F", (input) => {
7875
- const $scope0_reason = _scope_reason(), $sg__input_busy = _serialize_guard($scope0_reason, 13), $sg__input_name = _serialize_guard($scope0_reason, 14), $sg__input_hint = _serialize_guard($scope0_reason, 15), $sg__input_description = _serialize_guard($scope0_reason, 16), $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing = _serialize_guard($scope0_reason, 10), $sg__input_sourceUrl__OR__input_source = _serialize_guard($scope0_reason, 6), $sg__input_source = _serialize_guard($scope0_reason, 18), $si__input_source = _serialize_if($scope0_reason, 18), $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal = _serialize_if($scope0_reason, 9), $sg__input_sourceUrl__OR__input_source__OR__input_noteLocal = _serialize_guard($scope0_reason, 8), $sg__input_tags = _serialize_guard($scope0_reason, 19), $sg__input_actions = _serialize_guard($scope0_reason, 20), $sg__input_trailing = _serialize_guard($scope0_reason, 21), $si__input_busy = _serialize_if($scope0_reason, 13), $si__input_busy__OR__input_hint = _serialize_if($scope0_reason, 1), $si__input_busy__OR__input_description = _serialize_if($scope0_reason, 2), $si__input_busy__OR__input_tags = _serialize_if($scope0_reason, 3), $si__input_busy__OR__input_actions = _serialize_if($scope0_reason, 4), $si__input_busy__OR__input_trailing = _serialize_if($scope0_reason, 5), $si__input_hint = _serialize_if($scope0_reason, 15), $si__input_description = _serialize_if($scope0_reason, 16), $si__input_sourceUrl = _serialize_if($scope0_reason, 17), $si__input_tags = _serialize_if($scope0_reason, 19), $si__input_actions = _serialize_if($scope0_reason, 20), $si__input_trailing = _serialize_if($scope0_reason, 21);
7900
+ const $scope0_reason = _scope_reason(), $sg__input_name = _serialize_guard($scope0_reason, 14), $sg__input_hint = _serialize_guard($scope0_reason, 15), $sg__input_description = _serialize_guard($scope0_reason, 16), $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing = _serialize_guard($scope0_reason, 10), $sg__input_source = _serialize_guard($scope0_reason, 18), $si__input_source = _serialize_if($scope0_reason, 18), $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal = _serialize_if($scope0_reason, 9), $sg__input_sourceUrl__OR__input_source__OR__input_noteLocal = _serialize_guard($scope0_reason, 8), $sg__input_tags = _serialize_guard($scope0_reason, 19), $sg__input_actions = _serialize_guard($scope0_reason, 20), $sg__input_trailing = _serialize_guard($scope0_reason, 21), $sg__input_busy = _serialize_guard($scope0_reason, 13), $si__input_busy = _serialize_if($scope0_reason, 13), $si__input_busy__OR__input_hint = _serialize_if($scope0_reason, 1), $si__input_busy__OR__input_description = _serialize_if($scope0_reason, 2), $si__input_busy__OR__input_tags = _serialize_if($scope0_reason, 3), $si__input_busy__OR__input_actions = _serialize_if($scope0_reason, 4), $si__input_busy__OR__input_trailing = _serialize_if($scope0_reason, 5), $si__input_hint = _serialize_if($scope0_reason, 15), $si__input_description = _serialize_if($scope0_reason, 16), $si__input_sourceUrl = _serialize_if($scope0_reason, 17), $si__input_tags = _serialize_if($scope0_reason, 19), $si__input_actions = _serialize_if($scope0_reason, 20), $si__input_trailing = _serialize_if($scope0_reason, 21);
7876
7901
  const $scope0_id = _scope_id();
7877
7902
  const $input_hint__closures = /* @__PURE__ */ new Set();
7878
7903
  const $input_description__closures = /* @__PURE__ */ new Set();
@@ -7881,7 +7906,7 @@ var skill_chip_default = _template("F", (input) => {
7881
7906
  const $input_tags__closures = /* @__PURE__ */ new Set();
7882
7907
  const $input_actions__closures = /* @__PURE__ */ new Set();
7883
7908
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7884
- _html(`<li${_attr_class("_d9")}>`);
7909
+ _html(`<li${_attr_class("_fE")}>`);
7885
7910
  _if(() => {
7886
7911
  if (input.busy != null) {
7887
7912
  const $scope1_id = _scope_id();
@@ -7891,20 +7916,20 @@ var skill_chip_default = _template("F", (input) => {
7891
7916
  } else {
7892
7917
  const $scope2_id = _scope_id();
7893
7918
  const popId = _id();
7894
- _html(`<button${_attr_class("_d_")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7919
+ _html(`<button${_attr_class("_fF")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7895
7920
  _if(() => {
7896
7921
  if (input.hint) {
7897
7922
  const $scope3_id = _scope_id();
7898
- _html(`<span${_attr_class("_eb")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7923
+ _html(`<span${_attr_class("_fH")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7899
7924
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7900
7925
  return 0;
7901
7926
  }
7902
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);
7903
- _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_bI", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7928
+ _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_b1", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7904
7929
  _if(() => {
7905
7930
  if (input.description) {
7906
7931
  const $scope4_id = _scope_id();
7907
- _html(`<span${_attr_class("_bK")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7932
+ _html(`<span${_attr_class("_b3")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7908
7933
  $si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
7909
7934
  return 0;
7910
7935
  }
@@ -7912,12 +7937,12 @@ var skill_chip_default = _template("F", (input) => {
7912
7937
  _if(() => {
7913
7938
  if (input.sourceUrl) {
7914
7939
  const $scope5_id = _scope_id();
7915
- _html(`<a${_attr_class(["_bK", "_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", $sg__input_sourceUrl__OR__input_source)}`);
7940
+ _html(`<a${_attr_class(["_b3", "_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))}`);
7916
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) })));
7917
7942
  return 0;
7918
7943
  } else if (input.source) {
7919
7944
  const $scope6_id = _scope_id();
7920
- _html(`<span${_attr_class("_bK")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7945
+ _html(`<span${_attr_class("_b3")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7921
7946
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
7922
7947
  _: _scope_with_id($scope2_id),
7923
7948
  Cs: $si__input_source && 1
@@ -7925,7 +7950,7 @@ var skill_chip_default = _template("F", (input) => {
7925
7950
  return 1;
7926
7951
  } else if (input.noteLocal) {
7927
7952
  const $scope10_id = _scope_id();
7928
- _html(`<span${_attr_class(["_bK", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7953
+ _html(`<span${_attr_class(["_b3", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7929
7954
  _serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
7930
7955
  return 2;
7931
7956
  }
@@ -7933,7 +7958,7 @@ var skill_chip_default = _template("F", (input) => {
7933
7958
  _if(() => {
7934
7959
  if (input.tags) {
7935
7960
  const $scope7_id = _scope_id();
7936
- _html(`<span${_attr_class("_bJ")}>`);
7961
+ _html(`<span${_attr_class("_b2")}>`);
7937
7962
  _dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
7938
7963
  _html("</span>");
7939
7964
  $si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
@@ -7943,7 +7968,7 @@ var skill_chip_default = _template("F", (input) => {
7943
7968
  _if(() => {
7944
7969
  if (input.actions) {
7945
7970
  const $scope8_id = _scope_id();
7946
- _html(`<div${_attr_class("_ed")}>`);
7971
+ _html(`<div${_attr_class("_fJ")}>`);
7947
7972
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7948
7973
  _html("</div>");
7949
7974
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -8054,7 +8079,7 @@ var icon_moon_default = _template("nb", (input) => {
8054
8079
  });
8055
8080
  //#endregion
8056
8081
  //#region src/tags/prompt-dialog.css.ts
8057
- var promptDlg = "_g6 _g2";
8082
+ var promptDlg = "_jh _hH";
8058
8083
  //#endregion
8059
8084
  //#region src/tags/dialog-close.marko
8060
8085
  var dialog_close_default = _template("h", (input) => {
@@ -8073,12 +8098,12 @@ var dialog_close_default = _template("h", (input) => {
8073
8098
  //#endregion
8074
8099
  //#region src/tags/modal-view.marko
8075
8100
  var modal_view_default = _template("q", (input) => {
8076
- const $scope0_reason = _scope_reason(), $sg__input_footer_content = _serialize_guard($scope0_reason, 7), $si__input_openChange__OR__input_footer = _serialize_if($scope0_reason, 1), $sg__input_openChange__OR__input_footer = _serialize_guard($scope0_reason, 1), $si__input_openChange = _serialize_if($scope0_reason, 5);
8101
+ const $scope0_reason = _scope_reason(), $si__input_openChange__OR__input_footer = _serialize_if($scope0_reason, 1), $sg__input_openChange__OR__input_footer = _serialize_guard($scope0_reason, 1), $si__input_openChange = _serialize_if($scope0_reason, 5);
8077
8102
  const $scope0_id = _scope_id();
8078
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;
8079
8104
  const dismissable = input.dismissable !== false;
8080
8105
  let open = input.open;
8081
- _html(`<dialog${_attr_class(["_g1", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8106
+ _html(`<dialog${_attr_class(["_hG", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8082
8107
  ...htmlInput,
8083
8108
  open: null
8084
8109
  }, {
@@ -8088,20 +8113,20 @@ var modal_view_default = _template("q", (input) => {
8088
8113
  closedby: 1,
8089
8114
  "on-cancel": 1,
8090
8115
  "on-close": 1
8091
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_g4")}>`);
8116
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_hJ")}>`);
8092
8117
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
8093
8118
  _html("</div>");
8094
8119
  _if(() => {
8095
8120
  if (footer) {
8096
8121
  const $scope1_id = _scope_id();
8097
- _html(`<form method=dialog${_attr_class("_g5")}>`);
8098
- _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, $sg__input_footer_content);
8122
+ _html(`<form method=dialog${_attr_class("_hK")}>`);
8123
+ _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
8099
8124
  _html("</form>");
8100
8125
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
8101
8126
  return 0;
8102
8127
  } else if (input.openChange) {
8103
8128
  const $scope2_id = _scope_id();
8104
- _html(`<form method=dialog${_attr_class("_g5")}>`);
8129
+ _html(`<form method=dialog${_attr_class("_hK")}>`);
8105
8130
  dialog_close_default({
8106
8131
  class: ["_q", "_r"],
8107
8132
  content: _content("q0", () => {
@@ -8132,6 +8157,7 @@ var modal_view_default = _template("q", (input) => {
8132
8157
  v: open,
8133
8158
  w: input.openChange || void 0
8134
8159
  });
8160
+ _resume_branch($scope0_id);
8135
8161
  });
8136
8162
  //#endregion
8137
8163
  //#region src/tags/prompt-dialog.marko
@@ -8179,11 +8205,12 @@ var prompt_dialog_default = _template("u", (input) => {
8179
8205
  _html(`<button type=button${_attr_class(["_q", "_r"])}${_attr("disabled", !value.trim())}>${_text_resume($scope1_id, "d", input.submitLabel || "OK", _serialize_guard($scope0_reason, 3))}</button>${_el_resume($scope1_id, "c")}`);
8180
8206
  _script($scope1_id, "u4");
8181
8207
  _subscribe($value__closures, _subscribe($si__input_submitLabel && $input_submitLabel__closures, writeScope($scope1_id, { _: _scope_with_id($scope0_id) })));
8208
+ _resume_branch($scope1_id);
8182
8209
  }, $scope0_id) }),
8183
8210
  content: _content("u7", () => {
8184
8211
  _scope_reason();
8185
8212
  const $scope2_id = _scope_id();
8186
- _html(`<h2${_attr_class("_g3")}${_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) => {
8213
+ _html(`<h2${_attr_class("_hI")}${_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) => {
8187
8214
  value = _new_value;
8188
8215
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8189
8216
  _script($scope2_id, "u5");
@@ -8191,6 +8218,7 @@ var prompt_dialog_default = _template("u", (input) => {
8191
8218
  _: _scope_with_id($scope0_id),
8192
8219
  Cu: 1
8193
8220
  })))));
8221
+ _resume_branch($scope2_id);
8194
8222
  }, $scope0_id)
8195
8223
  });
8196
8224
  _script($scope0_id, "u8");
@@ -8208,6 +8236,7 @@ var prompt_dialog_default = _template("u", (input) => {
8208
8236
  t: $si__input_placeholder && $input_placeholder__closures,
8209
8237
  a: _existing_scope($childScope)
8210
8238
  });
8239
+ _resume_branch($scope0_id);
8211
8240
  });
8212
8241
  //#endregion
8213
8242
  //#region src/tags/settings-page.marko
@@ -8725,7 +8754,7 @@ var settings_page_default = _template("B", (input) => {
8725
8754
  const githubId = _id();
8726
8755
  const backupId = _id();
8727
8756
  const machineId = _id();
8728
- _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
8757
+ _html(`<div${_attr_class("_cV")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cW")}><div${_attr_class("_cX")}>`);
8729
8758
  _set_serialize_reason({
8730
8759
  0: _serialize_guard($scope0_reason, 4),
8731
8760
  1: $sg__input_backHref__OR__input_onExit,
@@ -8754,9 +8783,10 @@ var settings_page_default = _template("B", (input) => {
8754
8783
  _: _scope_with_id($scope0_id),
8755
8784
  b: _existing_scope($childScope)
8756
8785
  }));
8786
+ _resume_branch($scope12_id);
8757
8787
  }, $scope0_id) })
8758
8788
  });
8759
- _html(`<div${_attr_class("_eh")}>`);
8789
+ _html(`<div${_attr_class("_cY")}>`);
8760
8790
  _if(() => {
8761
8791
  if (setup && !setup.ready) {
8762
8792
  const $scope4_id = _scope_id();
@@ -8769,6 +8799,7 @@ var settings_page_default = _template("B", (input) => {
8769
8799
  const $scope5_id = _scope_id();
8770
8800
  _html(`Missing ${_text_resume($scope5_id, "a", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
8771
8801
  _subscribe($setup_missing__closures, writeScope($scope5_id, { _: _scope_with_id($scope4_id) }));
8802
+ _resume_branch($scope5_id);
8772
8803
  }, $scope4_id)
8773
8804
  });
8774
8805
  writeScope($scope4_id, {});
@@ -8788,6 +8819,7 @@ var settings_page_default = _template("B", (input) => {
8788
8819
  const $scope11_id = _scope_id();
8789
8820
  _html(_text_resume($scope11_id, "a", error));
8790
8821
  _subscribe($error__closures, writeScope($scope11_id, { _: _scope_with_id($scope10_id) }));
8822
+ _resume_branch($scope11_id);
8791
8823
  }, $scope10_id)
8792
8824
  });
8793
8825
  writeScope($scope10_id, {});
@@ -8797,16 +8829,16 @@ var settings_page_default = _template("B", (input) => {
8797
8829
  _if(() => {
8798
8830
  if (selfUpdatePending || selfUpdating) {
8799
8831
  const $scope43_id = _scope_id();
8800
- _html(`<div${_attr_class("_dC")} role=status><div${_attr_class("_dD")}>`);
8832
+ _html(`<div${_attr_class("_gv")} role=status><div${_attr_class("_gw")}>`);
8801
8833
  _if(() => {
8802
8834
  if (selfUpdating) {
8803
8835
  const $scope81_id = _scope_id();
8804
- _html(`<span${_attr_class("_dE")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dF")}>The app restarts and reloads when it is done.</span>`);
8836
+ _html(`<span${_attr_class("_gx")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_gy")}>The app restarts and reloads when it is done.</span>`);
8805
8837
  writeScope($scope81_id, {});
8806
8838
  return 0;
8807
8839
  } else {
8808
8840
  const $scope44_id = _scope_id();
8809
- _html(`<span${_attr_class("_dE")}>Update available</span><span${_attr_class("_dF")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8841
+ _html(`<span${_attr_class("_gx")}>Update available</span><span${_attr_class("_gy")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8810
8842
  _subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope44_id, {})));
8811
8843
  return 1;
8812
8844
  }
@@ -8836,11 +8868,11 @@ var settings_page_default = _template("B", (input) => {
8836
8868
  _: _scope_with_id($scope0_id)
8837
8869
  });
8838
8870
  }, $scope0_id) };
8839
- _html(`<section${_attr_class("_bB")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bC")}><h2${_attr("id", agentsId)}${_attr_class("_bP")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c4")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8871
+ _html(`<section${_attr_class("_bU")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bV")}><h2${_attr("id", agentsId)}${_attr_class("_b8")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_fX")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8840
8872
  _attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
8841
8873
  setPreferred(v);
8842
8874
  }, "B0", $scope0_id), () => {
8843
- _html(`<select${_attr_class(["_p", "_c5"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8875
+ _html(`<select${_attr_class(["_p", "_fY"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8844
8876
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
8845
8877
  const $scope83_id = _scope_id();
8846
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)}`);
@@ -8855,14 +8887,14 @@ var settings_page_default = _template("B", (input) => {
8855
8887
  const rows = lone ? [] : a.instances;
8856
8888
  const loneAccounts = lone ? accountsFor(lone.id) : [];
8857
8889
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
8858
- _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_c6", { ["_c8"]: lone && !lone.enabled }])}>`);
8890
+ _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_fZ", { ["_f1"]: lone && !lone.enabled }])}>`);
8859
8891
  _set_serialize_reason(12);
8860
8892
  const $childScope3 = _peek_scope_id();
8861
8893
  icon_agent_default({
8862
8894
  agent: a.id,
8863
8895
  size: 18
8864
8896
  });
8865
- _html(`<div${_attr_class("_bH")}><span${_attr_class("_bJ")}><span${_attr_class("_bI")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8897
+ _html(`<div${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8866
8898
  _if(() => {
8867
8899
  if (lone && input.preferred === lone.id) {
8868
8900
  const $scope85_id = _scope_id();
@@ -8875,12 +8907,12 @@ var settings_page_default = _template("B", (input) => {
8875
8907
  _if(() => {
8876
8908
  if (active.has(a.id)) {
8877
8909
  const $scope13_id = _scope_id();
8878
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8910
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8879
8911
  _subscribe($active__closures, writeScope($scope13_id, {}));
8880
8912
  return 0;
8881
8913
  } else if (!a.installed) {
8882
8914
  const $scope86_id = _scope_id();
8883
- _html(`<span${_attr_class("_bK")}>Not installed</span>`);
8915
+ _html(`<span${_attr_class("_b3")}>Not installed</span>`);
8884
8916
  writeScope($scope86_id, {});
8885
8917
  return 1;
8886
8918
  }
@@ -8911,15 +8943,15 @@ var settings_page_default = _template("B", (input) => {
8911
8943
  _if(() => {
8912
8944
  if (rows.length || loneAccounts.length || extraAccounts.length) {
8913
8945
  const $scope2_id = _scope_id();
8914
- _html(`<ul${_attr_class(["_c_", { ["_c8"]: lone && !lone.enabled }])}>`);
8946
+ _html(`<ul${_attr_class(["_f3", { ["_f1"]: lone && !lone.enabled }])}>`);
8915
8947
  _for_of(rows, (inst) => {
8916
8948
  const $scope3_id = _scope_id();
8917
8949
  const accounts = accountsFor(inst.id);
8918
- _html(`<li${_attr_class(["_c7", { ["_c8"]: !inst.enabled }])}><div${_attr_class("_c6")}>`);
8950
+ _html(`<li${_attr_class(["_f0", { ["_f1"]: !inst.enabled }])}><div${_attr_class("_fZ")}>`);
8919
8951
  _set_serialize_reason(12);
8920
8952
  const $childScope5 = _peek_scope_id();
8921
8953
  icon_agent_default({ agent: inst.id });
8922
- _html(`<span${_attr_class(["_c9", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8954
+ _html(`<span${_attr_class(["_f2", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8923
8955
  _if(() => {
8924
8956
  if (input.preferred === inst.id) {
8925
8957
  const $scope87_id = _scope_id();
@@ -8998,24 +9030,24 @@ var settings_page_default = _template("B", (input) => {
8998
9030
  _if(() => {
8999
9031
  if (!usage && families.length) {
9000
9032
  const $scope90_id = _scope_id();
9001
- _html(`<p${_attr_class("_bM")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
9033
+ _html(`<p${_attr_class("_b5")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
9002
9034
  writeScope($scope90_id, {});
9003
9035
  return 0;
9004
9036
  } else if (usage?.error) {
9005
9037
  const $scope9_id = _scope_id();
9006
- _html(`<p${_attr_class("_bM")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
9038
+ _html(`<p${_attr_class("_b5")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
9007
9039
  writeScope($scope9_id, {});
9008
9040
  return 1;
9009
9041
  }
9010
9042
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
9011
- _html(`</section></div><div${_attr_class("_eh")}><section${_attr_class("_bB")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bC")}><h2${_attr("id", githubId)}${_attr_class("_bP")}>GitHub</h2>`);
9043
+ _html(`</section></div><div${_attr_class("_cY")}><section${_attr_class("_bU")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bV")}><h2${_attr("id", githubId)}${_attr_class("_b8")}>GitHub</h2>`);
9012
9044
  _if(() => {
9013
9045
  if (setup) {
9014
9046
  const $scope41_id = _scope_id();
9015
9047
  _set_serialize_reason(44);
9016
9048
  const $childScope10 = _peek_scope_id();
9017
9049
  add_field_default({
9018
- class: "_dh",
9050
+ class: "_ga",
9019
9051
  open: addingHost,
9020
9052
  openChange: _resume((_new_addingHost) => {
9021
9053
  addingHost = _new_addingHost;
@@ -9045,19 +9077,19 @@ var settings_page_default = _template("B", (input) => {
9045
9077
  return 0;
9046
9078
  }
9047
9079
  }, $scope0_id, "y");
9048
- _html(`</div><div${_attr_class(["_bG", "_cD"])}>`);
9080
+ _html(`</div><div${_attr_class(["_bZ", "_d6"])}>`);
9049
9081
  _for_of(setup?.github || [], (h) => {
9050
9082
  const $scope7_id = _scope_id();
9051
9083
  const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
9052
9084
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
9053
9085
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
9054
9086
  const busy = active.has(h.host);
9055
- _html(`<div${_attr_class(["_cE", "_di"])}><div${_attr_class("_dj")}>`);
9087
+ _html(`<div${_attr_class(["_d7", "_gb"])}><div${_attr_class("_gc")}>`);
9056
9088
  icon_github_default({
9057
9089
  size: 18,
9058
- class: "_dk"
9090
+ class: "_gd"
9059
9091
  });
9060
- _html(`<div${_attr_class("_bH")}><span${_attr_class("_bJ")}><span${_attr_class("_bI")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9092
+ _html(`<div${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9061
9093
  _if(() => {
9062
9094
  if (h.isEnterprise) {
9063
9095
  const $scope94_id = _scope_id();
@@ -9070,25 +9102,25 @@ var settings_page_default = _template("B", (input) => {
9070
9102
  _if(() => {
9071
9103
  if (busy) {
9072
9104
  const $scope14_id = _scope_id();
9073
- _html(`<span${_attr_class(["_bK", "_dl"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9105
+ _html(`<span${_attr_class(["_b3", "_ge"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9074
9106
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch1: 1 })));
9075
9107
  return 0;
9076
9108
  } else if (h.authed) {
9077
9109
  const $scope92_id = _scope_id();
9078
- _html(`<span${_attr_class(["_bK", "_dl"])}>`);
9110
+ _html(`<span${_attr_class(["_b3", "_ge"])}>`);
9079
9111
  icon_check_default({
9080
9112
  size: 12,
9081
- class: "_dm"
9113
+ class: "_gf"
9082
9114
  });
9083
- _html(` Signed in as <strong${_attr_class("_do")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9115
+ _html(` Signed in as <strong${_attr_class("_gh")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9084
9116
  writeScope($scope92_id, {});
9085
9117
  return 1;
9086
9118
  } else if (h.error) {
9087
9119
  const $scope93_id = _scope_id();
9088
9120
  _html(`<span${_attr_class([
9089
- "_bK",
9090
- "_dl",
9091
- "_dn"
9121
+ "_b3",
9122
+ "_ge",
9123
+ "_gg"
9092
9124
  ])}>`);
9093
9125
  icon_warning_default({ size: 12 });
9094
9126
  _html(`${_text_resume($scope93_id, "c", h.error)}</span>`);
@@ -9096,7 +9128,7 @@ var settings_page_default = _template("B", (input) => {
9096
9128
  return 2;
9097
9129
  } else {
9098
9130
  const $scope95_id = _scope_id();
9099
- _html(`<span${_attr_class(["_bK", "_dl"])}>Not signed in</span>`);
9131
+ _html(`<span${_attr_class(["_b3", "_ge"])}>Not signed in</span>`);
9100
9132
  writeScope($scope95_id, {});
9101
9133
  return 3;
9102
9134
  }
@@ -9139,7 +9171,7 @@ var settings_page_default = _template("B", (input) => {
9139
9171
  const $childScope12 = _peek_scope_id();
9140
9172
  arm_button_default({
9141
9173
  class: [
9142
- "_bL",
9174
+ "_b4",
9143
9175
  "_7",
9144
9176
  "_8"
9145
9177
  ],
@@ -9170,7 +9202,7 @@ var settings_page_default = _template("B", (input) => {
9170
9202
  _if(() => {
9171
9203
  if (busy && authCodes.has(h.host)) {
9172
9204
  const $scope35_id = _scope_id();
9173
- _html(`<div${_attr_class("_dp")}><span${_attr_class("_dq")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_ds")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dr")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9205
+ _html(`<div${_attr_class("_gi")}><span${_attr_class("_gj")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_gl")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_gk")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9174
9206
  _subscribe($authCodes__closures, writeScope($scope35_id, { Ch6: 1 }));
9175
9207
  return 0;
9176
9208
  }
@@ -9182,7 +9214,7 @@ var settings_page_default = _template("B", (input) => {
9182
9214
  _set_serialize_reason(30);
9183
9215
  const $childScope13 = _peek_scope_id();
9184
9216
  sso_auth_default({
9185
- class: ["_cE", "_dt"],
9217
+ class: ["_d7", "_gm"],
9186
9218
  items: hostSso$1,
9187
9219
  skipped: skippedSso,
9188
9220
  busy,
@@ -9216,23 +9248,23 @@ var settings_page_default = _template("B", (input) => {
9216
9248
  _if(() => {
9217
9249
  if (setup && !setup.github.length) {
9218
9250
  const $scope98_id = _scope_id();
9219
- _html(`<p${_attr_class("_bM")}>Install the GitHub CLI below to sign in.</p>`);
9251
+ _html(`<p${_attr_class("_b5")}>Install the GitHub CLI below to sign in.</p>`);
9220
9252
  writeScope($scope98_id, {});
9221
9253
  return 0;
9222
9254
  }
9223
9255
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
9224
- _html(`</section><section${_attr_class("_bB")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bC")}><h2${_attr("id", machineId)}${_attr_class("_bP")}>Machine</h2></div><div${_attr_class(["_bG", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
9256
+ _html(`</section><section${_attr_class("_bU")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bV")}><h2${_attr("id", machineId)}${_attr_class("_b8")}>Machine</h2></div><div${_attr_class(["_bZ", "_d6"])}><div${_attr_class(["_d7", "_d8"])}><div${_attr_class(["_d9", { ["_d_"]: skillsOpen }])}><button${_attr_class("_ea")} aria-expanded=true>`);
9225
9257
  _set_serialize_reason(1);
9226
9258
  const $childScope14 = _peek_scope_id();
9227
9259
  icon_chevron_right_default({
9228
9260
  size: 12,
9229
- class: ["_cM", { ["_cN"]: skillsOpen }]
9261
+ class: ["_ee", { ["_ef"]: skillsOpen }]
9230
9262
  });
9231
- _html(`<span${_attr_class("_cJ")}>Skills</span>`);
9263
+ _html(`<span${_attr_class("_eb")}>Skills</span>`);
9232
9264
  _if(() => {
9233
9265
  if (skills?.global.length) {
9234
9266
  const $scope50_id = _scope_id();
9235
- _html(`<span${_attr_class("_cK")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9267
+ _html(`<span${_attr_class("_ec")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9236
9268
  writeScope($scope50_id, {});
9237
9269
  return 0;
9238
9270
  }
@@ -9260,7 +9292,7 @@ var settings_page_default = _template("B", (input) => {
9260
9292
  _if(() => {
9261
9293
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
9262
9294
  const $scope99_id = _scope_id();
9263
- _html(`<li${_attr_class("_cB")}>Searching skills.sh…</li>`);
9295
+ _html(`<li${_attr_class("_fT")}>Searching skills.sh…</li>`);
9264
9296
  writeScope($scope99_id, {});
9265
9297
  return 0;
9266
9298
  }
@@ -9268,11 +9300,11 @@ var settings_page_default = _template("B", (input) => {
9268
9300
  _if(() => {
9269
9301
  if (looksLikeSource(skillQuery)) {
9270
9302
  const $scope17_id = _scope_id();
9271
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bH")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9303
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_f7", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9272
9304
  _if(() => {
9273
9305
  if (active.has(skillQuery.trim())) {
9274
9306
  const $scope18_id = _scope_id();
9275
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9307
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9276
9308
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
9277
9309
  Ch1: 3,
9278
9310
  Chs: 2
@@ -9280,7 +9312,7 @@ var settings_page_default = _template("B", (input) => {
9280
9312
  return 0;
9281
9313
  } else {
9282
9314
  const $scope100_id = _scope_id();
9283
- _html(`<span${_attr_class("_bK")}>Add straight from this source</span>`);
9315
+ _html(`<span${_attr_class("_b3")}>Add straight from this source</span>`);
9284
9316
  writeScope($scope100_id, {});
9285
9317
  return 1;
9286
9318
  }
@@ -9306,16 +9338,16 @@ var settings_page_default = _template("B", (input) => {
9306
9338
  _for_of(skillHits || [], (h) => {
9307
9339
  const $scope19_id = _scope_id();
9308
9340
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9309
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bH")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9341
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_f7", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9310
9342
  _if(() => {
9311
9343
  if (active.has(h.skillId)) {
9312
9344
  const $scope20_id = _scope_id();
9313
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9345
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9314
9346
  _subscribe($active__closures, writeScope($scope20_id, { Ch1: 5 }));
9315
9347
  return 0;
9316
9348
  } else {
9317
9349
  const $scope101_id = _scope_id();
9318
- _html(`<span${_attr_class("_bK")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
9350
+ _html(`<span${_attr_class("_b3")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
9319
9351
  writeScope($scope101_id, {});
9320
9352
  return 1;
9321
9353
  }
@@ -9363,12 +9395,13 @@ var settings_page_default = _template("B", (input) => {
9363
9395
  _if(() => {
9364
9396
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9365
9397
  const $scope52_id = _scope_id();
9366
- _html(`<li${_attr_class("_cB")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9398
+ _html(`<li${_attr_class("_fT")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9367
9399
  _subscribe($skillQuery__closures, writeScope($scope52_id, { Chs: 3 }));
9368
9400
  return 0;
9369
9401
  }
9370
9402
  }, $scope16_id, "d", 1, 1, 1, 0, 1);
9371
9403
  _subscribe($skillSearching__closures, _subscribe($skillHits_length__closures, _subscribe($skillHits__closures, _subscribe($skillQuery__closures, writeScope($scope16_id, { _: _scope_with_id($scope15_id) })))));
9404
+ _resume_branch($scope16_id);
9372
9405
  }, $scope15_id)
9373
9406
  });
9374
9407
  writeScope($scope15_id, { a: _existing_scope($childScope15) });
@@ -9379,22 +9412,22 @@ var settings_page_default = _template("B", (input) => {
9379
9412
  _if(() => {
9380
9413
  {
9381
9414
  const $scope21_id = _scope_id();
9382
- _html(`<div${_attr_class("_cL")}>`);
9415
+ _html(`<div${_attr_class("_ed")}>`);
9383
9416
  _if(() => {
9384
9417
  if (skills && !skills.agents.length) {
9385
9418
  const $scope104_id = _scope_id();
9386
- _html(`<p${_attr_class("_bM")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9419
+ _html(`<p${_attr_class("_b5")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9387
9420
  writeScope($scope104_id, {});
9388
9421
  return 0;
9389
9422
  } else if (skills && !skills.available) {
9390
9423
  const $scope22_id = _scope_id();
9391
- _html(`<p${_attr_class("_bM")}>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>`);
9424
+ _html(`<p${_attr_class("_b5")}>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>`);
9392
9425
  _script($scope22_id, "B66");
9393
9426
  _subscribe($active__closures, writeScope($scope22_id, { Ch1: 6 }));
9394
9427
  return 1;
9395
9428
  }
9396
9429
  }, $scope21_id, "b", 1, 1, 1, 0, 1);
9397
- _html(`<ul${_attr_class("_d8")}>`);
9430
+ _html(`<ul${_attr_class("_fD")}>`);
9398
9431
  _for_of(skills?.global || [], (s) => {
9399
9432
  const $scope23_id = _scope_id();
9400
9433
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9408,6 +9441,7 @@ var settings_page_default = _template("B", (input) => {
9408
9441
  const $scope105_id = _scope_id();
9409
9442
  _html(`<span${_attr_class("_N")}${_attr("title", `Only installed for ${s.agents.map(agentLabel).join(", ")}`)}>${_text_resume($scope105_id, "b", s.agents.map(agentLabel).join(", "))} only</span>${_el_resume($scope105_id, "a")}`);
9410
9443
  _subscribe($for_content5__s_agents__closures, writeScope($scope105_id, { _: _scope_with_id($scope23_id) }));
9444
+ _resume_branch($scope105_id);
9411
9445
  }, $scope23_id) });
9412
9446
  if (skills?.available && s.source) $actions = attrTag({ content: _content_resume("B70", () => {
9413
9447
  _scope_reason();
@@ -9444,6 +9478,7 @@ var settings_page_default = _template("B", (input) => {
9444
9478
  _: _scope_with_id($scope23_id),
9445
9479
  a: _existing_scope($childScope16)
9446
9480
  }));
9481
+ _resume_branch($scope65_id);
9447
9482
  }, $scope23_id) });
9448
9483
  const $childScope17 = _peek_scope_id();
9449
9484
  skill_chip_default({
@@ -9470,7 +9505,7 @@ var settings_page_default = _template("B", (input) => {
9470
9505
  _if(() => {
9471
9506
  if (skills && !skills.global.length && skills.available && skills.agents.length) {
9472
9507
  const $scope108_id = _scope_id();
9473
- _html(`<p${_attr_class("_bM")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9508
+ _html(`<p${_attr_class("_b5")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9474
9509
  writeScope($scope108_id, {});
9475
9510
  return 0;
9476
9511
  }
@@ -9480,18 +9515,18 @@ var settings_page_default = _template("B", (input) => {
9480
9515
  return 0;
9481
9516
  }
9482
9517
  }, $scope0_id, "ac", 1, 1, 1, 0, 1);
9483
- _html(`</div><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: machineOpen }])}><button${_attr_class("_cI")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9518
+ _html(`</div><div${_attr_class(["_d7", "_d8"])}><div${_attr_class(["_d9", { ["_d_"]: machineOpen }])}><button${_attr_class("_ea")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9484
9519
  _set_serialize_reason(1);
9485
9520
  const $childScope18 = _peek_scope_id();
9486
9521
  icon_chevron_right_default({
9487
9522
  size: 12,
9488
- class: ["_cM", { ["_cN"]: machineOpen }]
9523
+ class: ["_ee", { ["_ef"]: machineOpen }]
9489
9524
  });
9490
- _html(`<span${_attr_class("_cJ")}>Tools</span><span${_attr_class("_cK")}>${_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")}`);
9525
+ _html(`<span${_attr_class("_eb")}>Tools</span><span${_attr_class("_ec")}>${_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")}`);
9491
9526
  _if(() => {
9492
9527
  if (bulk) {
9493
9528
  const $scope34_id = _scope_id();
9494
- _html(`<span${_attr_class("_c2")}><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>`);
9529
+ _html(`<span${_attr_class("_fV")}><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>`);
9495
9530
  writeScope($scope34_id, {});
9496
9531
  return 0;
9497
9532
  } else {
@@ -9540,7 +9575,7 @@ var settings_page_default = _template("B", (input) => {
9540
9575
  _if(() => {
9541
9576
  if (searching && !hits?.length) {
9542
9577
  const $scope109_id = _scope_id();
9543
- _html(`<li${_attr_class("_cB")}>Searching the mise registry…</li>`);
9578
+ _html(`<li${_attr_class("_fT")}>Searching the mise registry…</li>`);
9544
9579
  writeScope($scope109_id, {});
9545
9580
  return 0;
9546
9581
  }
@@ -9548,23 +9583,23 @@ var settings_page_default = _template("B", (input) => {
9548
9583
  _if(() => {
9549
9584
  if (hits && !hits.length && !searching) {
9550
9585
  const $scope42_id = _scope_id();
9551
- _html(`<li${_attr_class("_cB")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9586
+ _html(`<li${_attr_class("_fT")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9552
9587
  _subscribe($query__closures, writeScope($scope42_id, {}));
9553
9588
  return 0;
9554
9589
  }
9555
9590
  }, $scope28_id, "b", 1, 1, 1, 0, 1);
9556
9591
  _for_of(hits || [], (h) => {
9557
9592
  const $scope29_id = _scope_id();
9558
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bH")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9593
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_f7", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9559
9594
  _if(() => {
9560
9595
  if (active.has(h.name)) {
9561
9596
  const $scope30_id = _scope_id();
9562
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9597
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9563
9598
  _subscribe($active__closures, writeScope($scope30_id, { Ch1: 9 }));
9564
9599
  return 0;
9565
9600
  } else if (h.description) {
9566
9601
  const $scope110_id = _scope_id();
9567
- _html(`<span${_attr_class("_bK")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
9602
+ _html(`<span${_attr_class("_b3")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
9568
9603
  writeScope($scope110_id, {});
9569
9604
  return 1;
9570
9605
  }
@@ -9600,6 +9635,7 @@ var settings_page_default = _template("B", (input) => {
9600
9635
  }));
9601
9636
  }, "name", $scope28_id, "c", 1, 1, 1, 0, 1);
9602
9637
  _subscribe($searching__closures, _subscribe($hits_length__closures, _subscribe($hits__closures, writeScope($scope28_id, { _: _scope_with_id($scope27_id) }))));
9638
+ _resume_branch($scope28_id);
9603
9639
  }, $scope27_id)
9604
9640
  });
9605
9641
  writeScope($scope27_id, { a: _existing_scope($childScope19) });
@@ -9610,11 +9646,11 @@ var settings_page_default = _template("B", (input) => {
9610
9646
  _if(() => {
9611
9647
  if (machineOpen) {
9612
9648
  const $scope6_id = _scope_id();
9613
- _html(`<div${_attr_class("_cL")}>`);
9649
+ _html(`<div${_attr_class("_ed")}>`);
9614
9650
  _if(() => {
9615
9651
  if (setup && !setup.mise.installed) {
9616
9652
  const $scope31_id = _scope_id();
9617
- _html(`<p${_attr_class("_bM")}>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>`);
9653
+ _html(`<p${_attr_class("_b5")}>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>`);
9618
9654
  _script($scope31_id, "B76");
9619
9655
  _subscribe($active__closures, writeScope($scope31_id, { Ch1: 10 }));
9620
9656
  return 0;
@@ -9624,11 +9660,11 @@ var settings_page_default = _template("B", (input) => {
9624
9660
  _if(() => {
9625
9661
  if (self) {
9626
9662
  const $scope46_id = _scope_id();
9627
- _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_dd", "_y"])}>work</span>`);
9663
+ _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_f7", "_y"])}>work</span>`);
9628
9664
  _if(() => {
9629
9665
  if (selfUpdating) {
9630
9666
  const $scope112_id = _scope_id();
9631
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9667
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9632
9668
  writeScope($scope112_id, {});
9633
9669
  return 0;
9634
9670
  } else {
@@ -9642,7 +9678,7 @@ var settings_page_default = _template("B", (input) => {
9642
9678
  return 0;
9643
9679
  } else if (self.latest && self.latest !== self.version) {
9644
9680
  const $scope48_id = _scope_id();
9645
- _html(`<button${_attr_class([btnSm, "_dg"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9681
+ _html(`<button${_attr_class([btnSm, "_f_"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9646
9682
  icon_arrow_up_default({ size: 12 });
9647
9683
  _html(` ${_text_resume($scope48_id, "c", self.latest, 2)}</button>${_el_resume($scope48_id, "a")}`);
9648
9684
  _script($scope48_id, "B77");
@@ -9685,11 +9721,11 @@ var settings_page_default = _template("B", (input) => {
9685
9721
  const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
9686
9722
  const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
9687
9723
  const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
9688
- _html(`<li${_attr_class([toolRow, { ["_dc"]: !t.installed }])}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9724
+ _html(`<li${_attr_class([toolRow, { ["_f6"]: !t.installed }])}><span${_attr_class(["_f7", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9689
9725
  _if(() => {
9690
9726
  if (active.has(t.id)) {
9691
9727
  const $scope33_id = _scope_id();
9692
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9728
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9693
9729
  _subscribe($active__closures, writeScope($scope33_id, { Ch1: 12 }));
9694
9730
  return 0;
9695
9731
  } else if (t.installed) {
@@ -9697,11 +9733,11 @@ var settings_page_default = _template("B", (input) => {
9697
9733
  _if(() => {
9698
9734
  if (t.version) {
9699
9735
  const $scope40_id = _scope_id();
9700
- _html(`<button${_attr_class(["_df", "_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)}`);
9736
+ _html(`<button${_attr_class(["_f9", "_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)}`);
9701
9737
  _if(() => {
9702
9738
  if (aliasPin(t)) {
9703
9739
  const $scope116_id = _scope_id();
9704
- _html(`<span${_attr_class("_de")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9740
+ _html(`<span${_attr_class("_f8")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9705
9741
  _subscribe($for_content7__t_pin__closures, writeScope($scope116_id, { Ca0: 1 }));
9706
9742
  return 0;
9707
9743
  }
@@ -9720,7 +9756,7 @@ var settings_page_default = _template("B", (input) => {
9720
9756
  _if(() => {
9721
9757
  if (outdated(t)) {
9722
9758
  const $scope57_id = _scope_id();
9723
- _html(`<button${_attr_class([btnSm, "_dg"])}${_attr("title", `Update to v${t.latest}`)}>`);
9759
+ _html(`<button${_attr_class([btnSm, "_f_"])}${_attr("title", `Update to v${t.latest}`)}>`);
9724
9760
  icon_arrow_up_default({ size: 12 });
9725
9761
  _html(` ${_text_resume($scope57_id, "c", t.latest, 2)}</button>${_el_resume($scope57_id, "a")}`);
9726
9762
  _script($scope57_id, "B79");
@@ -9728,7 +9764,7 @@ var settings_page_default = _template("B", (input) => {
9728
9764
  return 0;
9729
9765
  } else if (t.newest) {
9730
9766
  const $scope58_id = _scope_id();
9731
- _html(`<button${_attr_class(["_df", "_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")}`);
9767
+ _html(`<button${_attr_class(["_f9", "_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")}`);
9732
9768
  _script($scope58_id, "B80");
9733
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 })))));
9734
9770
  return 1;
@@ -9841,14 +9877,14 @@ var settings_page_default = _template("B", (input) => {
9841
9877
  label: "Dark"
9842
9878
  }
9843
9879
  ];
9844
- _html(`</div></div></section><section${_attr_class("_bB")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bC")}><h2${_attr("id", appearanceId)}${_attr_class("_bP")}>Appearance</h2></div><div${_attr_class(["_bG", "_du"])}><div${_attr_class("_dG")}><img${_attr_class("_dH")}${_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("_dI")}><span${_attr_class("_dJ")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dK")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dv")}><span${_attr_class("_dw")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9880
+ _html(`</div></div></section><section${_attr_class("_bU")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bV")}><h2${_attr("id", appearanceId)}${_attr_class("_b8")}>Appearance</h2></div><div${_attr_class(["_bZ", "_gn"])}><div${_attr_class("_gz")}><img${_attr_class("_gA")}${_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("_gB")}><span${_attr_class("_gC")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_gD")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_go")}><span${_attr_class("_gp")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9845
9881
  setInstance({ name: v });
9846
- }, "B1", $scope0_id))}${_attr_class(["_Y", "_dx"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Theme</span><span${_attr_class("_dz")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9882
+ }, "B1", $scope0_id))}${_attr_class(["_Y", "_gq"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_go")}><span${_attr_class("_gp")}>Theme</span><span${_attr_class("_gs")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9847
9883
  _for_of(themeOpts, (opt) => {
9848
9884
  const $scope49_id = _scope_id();
9849
9885
  _html(`<button type=button${_attr_class([
9850
9886
  "_bf",
9851
- "_dL",
9887
+ "_gE",
9852
9888
  { ["_be"]: themeMode === opt.id }
9853
9889
  ])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
9854
9890
  if (opt.id === "system") {
@@ -9868,28 +9904,28 @@ var settings_page_default = _template("B", (input) => {
9868
9904
  _: _scope_with_id($scope0_id)
9869
9905
  });
9870
9906
  }, "id", $scope0_id, "b5", 1, 0, 1, 0, 1);
9871
- _html(`</span><span${_attr_class(["_o", "_dA"])}>`);
9907
+ _html(`</span><span${_attr_class(["_o", "_gt"])}>`);
9872
9908
  _attr_select_value($scope0_id, "b7", themeMode, _resume(function(v) {
9873
9909
  setThemeMode(v);
9874
9910
  }, "B2", $scope0_id), () => {
9875
- _html(`<select${_attr_class(["_p", "_dB"])} aria-label="Color theme">`);
9911
+ _html(`<select${_attr_class(["_p", "_gu"])} aria-label="Color theme">`);
9876
9912
  forOf(themeOpts, (opt) => {
9877
9913
  _scope_id();
9878
9914
  _html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
9879
9915
  });
9880
9916
  _html("</select>");
9881
9917
  });
9882
- _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Accent</span><span${_attr_class("_dM")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9883
- "_dN",
9884
- "_dQ",
9885
- { ["_dO"]: !accent }
9918
+ _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_go")}><span${_attr_class("_gp")}>Accent</span><span${_attr_class("_gF")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9919
+ "_gG",
9920
+ "_gJ",
9921
+ { ["_gH"]: !accent }
9886
9922
  ])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
9887
9923
  _if(() => {
9888
9924
  if (!accent) {
9889
9925
  const $scope126_id = _scope_id();
9890
9926
  icon_check_default({
9891
9927
  size: 12,
9892
- class: "_dP"
9928
+ class: "_gI"
9893
9929
  });
9894
9930
  $si__input_instance_accent && writeScope($scope126_id, {});
9895
9931
  return 0;
@@ -9897,13 +9933,13 @@ var settings_page_default = _template("B", (input) => {
9897
9933
  }, $scope0_id, "bb", $sg__input_instance_accent, 1, 1, "</button>", 1);
9898
9934
  _for_of(ACCENT_PRESETS, (p) => {
9899
9935
  const $scope79_id = _scope_id();
9900
- _html(`<button type=button${_attr_class(["_dN", { ["_dO"]: 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)}>`);
9936
+ _html(`<button type=button${_attr_class(["_gG", { ["_gH"]: 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)}>`);
9901
9937
  _if(() => {
9902
9938
  if (accent === p.value) {
9903
9939
  const $scope127_id = _scope_id();
9904
9940
  icon_check_default({
9905
9941
  size: 12,
9906
- class: "_dP"
9942
+ class: "_gI"
9907
9943
  });
9908
9944
  $si__input_instance_accent && writeScope($scope127_id, {});
9909
9945
  return 0;
@@ -9917,18 +9953,18 @@ var settings_page_default = _template("B", (input) => {
9917
9953
  }, "value", $scope0_id, "bc", $sg__input_instance_accent, 0, 1, 0, 1);
9918
9954
  const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
9919
9955
  _html(`<label${_attr_class([
9920
- "_dN",
9921
- "_dR",
9922
- { ["_dO"]: customOn }
9956
+ "_gG",
9957
+ "_gK",
9958
+ { ["_gH"]: customOn }
9923
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) {
9924
9960
  setInstance({ accent: v });
9925
- }, "B3", $scope0_id))}${_attr_class("_dS")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9961
+ }, "B3", $scope0_id))}${_attr_class("_gL")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9926
9962
  _if(() => {
9927
9963
  if (customOn) {
9928
9964
  const $scope128_id = _scope_id();
9929
9965
  icon_check_default({
9930
9966
  size: 12,
9931
- class: "_dP"
9967
+ class: "_gI"
9932
9968
  });
9933
9969
  $si__input_instance_accent && writeScope($scope128_id, {});
9934
9970
  return 0;
@@ -9939,16 +9975,16 @@ var settings_page_default = _template("B", (input) => {
9939
9975
  return 1;
9940
9976
  }
9941
9977
  }, $scope0_id, "bf", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9942
- _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bB")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bC")}><h2${_attr("id", backupId)}${_attr_class("_bP")}>Backup</h2></div><div${_attr_class(["_bG", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_bH")}>`);
9978
+ _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bU")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bV")}><h2${_attr("id", backupId)}${_attr_class("_b8")}>Backup</h2></div><div${_attr_class(["_bZ", "_d6"])}><div${_attr_class("_d7")}><div${_attr_class("_gM")}><div${_attr_class("_b0")}>`);
9943
9979
  _if(() => {
9944
9980
  if (backupBusy === "preflight") {
9945
9981
  const $scope66_id = _scope_id();
9946
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9982
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9947
9983
  writeScope($scope66_id, {});
9948
9984
  return 0;
9949
9985
  } else {
9950
9986
  const $scope130_id = _scope_id();
9951
- _html(`<span${_attr_class("_bK")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9987
+ _html(`<span${_attr_class("_b3")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9952
9988
  writeScope($scope130_id, {});
9953
9989
  return 1;
9954
9990
  }
@@ -9966,7 +10002,7 @@ var settings_page_default = _template("B", (input) => {
9966
10002
  _if(() => {
9967
10003
  if (preflight && !backupBusy) {
9968
10004
  const $scope68_id = _scope_id();
9969
- _html(`<div${_attr_class("_dV")}><p${_attr_class("_dW")}>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("_dW")}>Not in the file: `);
10005
+ _html(`<div${_attr_class("_gO")}><p${_attr_class("_gP")}>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("_gP")}>Not in the file: `);
9970
10006
  _if(() => {
9971
10007
  if (preflight.unpushed) {
9972
10008
  const $scope69_id = _scope_id();
@@ -9983,15 +10019,15 @@ var settings_page_default = _template("B", (input) => {
9983
10019
  return 0;
9984
10020
  }
9985
10021
  }, $scope68_id, "m");
9986
- _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("_dX")}>`);
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("_gQ")}>`);
9987
10023
  _for_of(preflight.workspaces, (w) => {
9988
10024
  const $scope132_id = _scope_id();
9989
10025
  const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
9990
- _html(`<li${_attr_class("_dY")}><span${_attr_class("_bI")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dX")}>`);
10026
+ _html(`<li${_attr_class("_gR")}><span${_attr_class("_b1")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_gQ")}>`);
9991
10027
  _for_of(w.repos, (r) => {
9992
10028
  const $scope133_id = _scope_id();
9993
10029
  const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
9994
- _html(`<li${_attr_class("_dZ")}><span${_attr_class("_d0")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10030
+ _html(`<li${_attr_class("_gS")}><span${_attr_class("_gT")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
9995
10031
  _for_of(r.unpushed, (b) => {
9996
10032
  const $scope134_id = _scope_id();
9997
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 `);
@@ -10010,10 +10046,10 @@ var settings_page_default = _template("B", (input) => {
10010
10046
  _if(() => {
10011
10047
  if (r.modified.length || r.untracked.length || r.ignored.length) {
10012
10048
  const $scope135_id = _scope_id();
10013
- _html(`<ul${_attr_class("_d1")}>`);
10049
+ _html(`<ul${_attr_class("_gU")}>`);
10014
10050
  _for_of(r.modified, (f) => {
10015
10051
  const $scope138_id = _scope_id();
10016
- _html(`<li${_attr_class("_d2")}><span${_attr_class([
10052
+ _html(`<li${_attr_class("_gV")}><span${_attr_class([
10017
10053
  "_N",
10018
10054
  "_P",
10019
10055
  tone.warn
@@ -10022,18 +10058,18 @@ var settings_page_default = _template("B", (input) => {
10022
10058
  }, (f) => f, $scope135_id, "b", 1, 1, 1, 0, 1);
10023
10059
  _for_of(r.untracked, (f) => {
10024
10060
  const $scope139_id = _scope_id();
10025
- _html(`<li${_attr_class("_d2")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10061
+ _html(`<li${_attr_class("_gV")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10026
10062
  writeScope($scope139_id, {});
10027
10063
  }, (f) => f, $scope135_id, "c", 1, 1, 1, 0, 1);
10028
10064
  _for_of(r.ignored, (f) => {
10029
10065
  const $scope140_id = _scope_id();
10030
- _html(`<li${_attr_class("_d2")}><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>`);
10066
+ _html(`<li${_attr_class("_gV")}><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>`);
10031
10067
  writeScope($scope140_id, {});
10032
10068
  }, (f) => f, $scope135_id, "d", 1, 1, 1, 0, 1);
10033
10069
  _if(() => {
10034
10070
  if (r.more) {
10035
10071
  const $scope136_id = _scope_id();
10036
- _html(`<li${_attr_class(["_d2", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10072
+ _html(`<li${_attr_class(["_gV", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10037
10073
  _subscribe($for_content18__r_more__closures, writeScope($scope136_id, {}));
10038
10074
  return 0;
10039
10075
  }
@@ -10058,27 +10094,27 @@ var settings_page_default = _template("B", (input) => {
10058
10094
  i: $for_content17__w_name__closures
10059
10095
  });
10060
10096
  }, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
10061
- _html(`<div${_attr_class("_d3")}><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>`);
10097
+ _html(`<div${_attr_class("_gW")}><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>`);
10062
10098
  _script($scope68_id, "B86");
10063
10099
  writeScope($scope68_id, {});
10064
10100
  return 0;
10065
10101
  }
10066
10102
  }, $scope0_id, "bo", 1, 1, 1, 0, 1);
10067
- _html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_bH")}>`);
10103
+ _html(`</div><div${_attr_class("_d7")}><div${_attr_class("_gM")}><div${_attr_class("_b0")}>`);
10068
10104
  _if(() => {
10069
10105
  if (backupBusy === "restore") {
10070
10106
  const $scope67_id = _scope_id();
10071
- _html(`<span${_attr_class("_c2")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10107
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10072
10108
  writeScope($scope67_id, {});
10073
10109
  return 0;
10074
10110
  } else if (restoreDone) {
10075
10111
  const $scope75_id = _scope_id();
10076
- _html(`<span${_attr_class("_bK")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
10112
+ _html(`<span${_attr_class("_b3")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
10077
10113
  writeScope($scope75_id, {});
10078
10114
  return 1;
10079
10115
  } else {
10080
10116
  const $scope141_id = _scope_id();
10081
- _html(`<span${_attr_class("_bK")}>Load a backup file. Repos clone in the background.</span>`);
10117
+ _html(`<span${_attr_class("_b3")}>Load a backup file. Repos clone in the background.</span>`);
10082
10118
  writeScope($scope141_id, {});
10083
10119
  return 2;
10084
10120
  }
@@ -10086,7 +10122,7 @@ var settings_page_default = _template("B", (input) => {
10086
10122
  _if(() => {
10087
10123
  if (!restorePreview && backupBusy !== "restore") {
10088
10124
  const $scope77_id = _scope_id();
10089
- _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dU")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10125
+ _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_gN")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10090
10126
  _script($scope77_id, "B87");
10091
10127
  writeScope($scope77_id, {});
10092
10128
  return 0;
@@ -10097,14 +10133,14 @@ var settings_page_default = _template("B", (input) => {
10097
10133
  if (restorePreview && backupBusy !== "restore") {
10098
10134
  const $scope70_id = _scope_id();
10099
10135
  const { preview } = restorePreview;
10100
- _html(`<div${_attr_class("_dV")}><p${_attr_class("_dW")}>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>`);
10136
+ _html(`<div${_attr_class("_gO")}><p${_attr_class("_gP")}>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>`);
10101
10137
  _if(() => {
10102
10138
  if (preview.workspaces.length) {
10103
10139
  const $scope71_id = _scope_id();
10104
10140
  _html(`<ul${_attr_class(checkList)}>`);
10105
10141
  _for_of(preview.workspaces, (w) => {
10106
10142
  const $scope72_id = _scope_id();
10107
- _html(`<li><label${_attr_class(["_d5", { ["_d7"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_d6")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_bH")}><span${_attr_class("_bJ")}><span${_attr_class("_bI")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10143
+ _html(`<li><label${_attr_class(["_gY", { ["_g0"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_gZ")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10108
10144
  _if(() => {
10109
10145
  if (w.status === "archived") {
10110
10146
  const $scope145_id = _scope_id();
@@ -10126,7 +10162,7 @@ var settings_page_default = _template("B", (input) => {
10126
10162
  return 1;
10127
10163
  }
10128
10164
  }, $scope72_id, "h", 1, 1, 1, 0, 1);
10129
- _html(`</span><span${_attr_class("_bK")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
10165
+ _html(`</span><span${_attr_class("_b3")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
10130
10166
  _script($scope72_id, "B88");
10131
10167
  _subscribe($restoreWs__closures, writeScope($scope72_id, {
10132
10168
  n: w?.unknownHost,
@@ -10137,7 +10173,7 @@ var settings_page_default = _template("B", (input) => {
10137
10173
  return 0;
10138
10174
  } else {
10139
10175
  const $scope143_id = _scope_id();
10140
- _html(`<p${_attr_class("_bM")}>No workspaces in this file.</p>`);
10176
+ _html(`<p${_attr_class("_b5")}>No workspaces in this file.</p>`);
10141
10177
  writeScope($scope143_id, {});
10142
10178
  return 1;
10143
10179
  }
@@ -10177,7 +10213,7 @@ var settings_page_default = _template("B", (input) => {
10177
10213
  _if(() => {
10178
10214
  if (p.total) {
10179
10215
  const $scope74_id = _scope_id();
10180
- _html(`<li><label${_attr_class(["_d5", { ["_d7"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_d6")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_bH")}><span${_attr_class("_bI")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_bK")}>`);
10216
+ _html(`<li><label${_attr_class(["_gY", { ["_g0"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_gZ")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_b0")}><span${_attr_class("_b1")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_b3")}>`);
10181
10217
  _if(() => {
10182
10218
  if (p.key === "settings") {
10183
10219
  const $scope142_id = _scope_id();
@@ -10224,7 +10260,7 @@ var settings_page_default = _template("B", (input) => {
10224
10260
  i: $for_content10__p_total__closures
10225
10261
  });
10226
10262
  }, "key", $scope70_id, "h");
10227
- _html(`</ul><div${_attr_class("_d3")}><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>`);
10263
+ _html(`</ul><div${_attr_class("_gW")}><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>`);
10228
10264
  _script($scope70_id, "B90");
10229
10265
  writeScope($scope70_id, {});
10230
10266
  return 0;
@@ -10415,6 +10451,7 @@ var settings_page_default = _template("B", (input) => {
10415
10451
  ix: $preview_settings__closures,
10416
10452
  ib: $restoreParts__closures
10417
10453
  });
10454
+ _resume_branch($scope0_id);
10418
10455
  });
10419
10456
  //#endregion
10420
10457
  //#region src/client/push.ts
@@ -10460,13 +10497,13 @@ function vapidKey(base64) {
10460
10497
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
10461
10498
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
10462
10499
  }
10463
- var iconBtn = "_bR _l";
10464
- var settingsDot = "_bS _bb";
10465
- var navToggle = "_bW _l";
10500
+ var iconBtn = "_cb _l";
10501
+ var settingsDot = "_cc _bb";
10502
+ var navToggle = "_cg _l";
10466
10503
  //#endregion
10467
10504
  //#region src/styles/session-pop.css.ts
10468
- var sessionPop = "_b8 _9";
10469
- var sessionPopBtn = "_b9 _I";
10505
+ var sessionPop = "_b9 _9";
10506
+ var sessionPopBtn = "_b_ _I";
10470
10507
  _template("X", (input) => {
10471
10508
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10472
10509
  const $scope0_id = _scope_id();
@@ -10520,14 +10557,14 @@ function activeAgent(session) {
10520
10557
  const command = session.state?.command?.trim();
10521
10558
  return command && agentFromCommand(command) || session.agent;
10522
10559
  }
10523
- var heroTag = "_fu _N _Q";
10524
- var rowState = "_fG _N";
10525
- var prChip$1 = "_i5 _u _i4";
10526
- var portChip = "_i6 _u _i4";
10560
+ var heroTag = "_ds _N _Q";
10561
+ var rowState = "_dE _N";
10562
+ var prChip$1 = "_hN _u _hM";
10563
+ var portChip = "_hO _u _hM";
10527
10564
  var prState = {
10528
- open: "_i_",
10529
- merged: "_ja",
10530
- closed: "_jb"
10565
+ open: "_hS",
10566
+ merged: "_hT",
10567
+ closed: "_hU"
10531
10568
  };
10532
10569
  //#endregion
10533
10570
  //#region src/tags/icons/icon-diff.marko
@@ -10608,7 +10645,7 @@ var side_nav_chips_default = _template("C", (input) => {
10608
10645
  const name = repo.full_name.split("/").at(-1);
10609
10646
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
10610
10647
  }, "C3", $scope1_id);
10611
- _html(`<div${_attr_class("_i3")}>`);
10648
+ _html(`<div${_attr_class("_hL")}>`);
10612
10649
  _for_of(repos, (repo) => {
10613
10650
  const $scope2_id = _scope_id();
10614
10651
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10624,11 +10661,11 @@ var side_nav_chips_default = _template("C", (input) => {
10624
10661
  [prState.merged]: pr$1.state === "MERGED",
10625
10662
  [prState.closed]: pr$1.state === "CLOSED"
10626
10663
  }
10627
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_i7", { ["_je"]: !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")}`);
10664
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_hP", { ["_hX"]: !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")}`);
10628
10665
  _if(() => {
10629
10666
  if (open) {
10630
10667
  const $scope4_id = _scope_id();
10631
- _html(`<a${_attr_class(["_i7", "_i8"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10668
+ _html(`<a${_attr_class(["_hP", "_hQ"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10632
10669
  icon_diff_default({ size: 12 });
10633
10670
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10634
10671
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10636,9 +10673,9 @@ var side_nav_chips_default = _template("C", (input) => {
10636
10673
  } else {
10637
10674
  const $scope5_id = _scope_id();
10638
10675
  _html(`<button type=button${_attr_class([
10639
- "_i7",
10640
- "_i8",
10641
- "_i9"
10676
+ "_hP",
10677
+ "_hQ",
10678
+ "_hR"
10642
10679
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10643
10680
  icon_xmark_default({ size: 12 });
10644
10681
  _html(`</button>${_el_resume($scope5_id, "a")}`);
@@ -10666,12 +10703,12 @@ var side_nav_chips_default = _template("C", (input) => {
10666
10703
  _if(() => {
10667
10704
  if (dead.has(p.port)) {
10668
10705
  const $scope7_id = _scope_id();
10669
- _html(`<span${_attr_class(["_i7", "_jc"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10706
+ _html(`<span${_attr_class(["_hP", "_hV"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10670
10707
  _subscribe($dead__closures, writeScope($scope7_id, { Cy: 1 }));
10671
10708
  return 0;
10672
10709
  } else {
10673
10710
  const $scope8_id = _scope_id();
10674
- _html(`<button type=button${_attr_class(["_i7", "_jd"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10711
+ _html(`<button type=button${_attr_class(["_hP", "_hW"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10675
10712
  _script($scope8_id, "C6");
10676
10713
  writeScope($scope8_id, {});
10677
10714
  return 1;
@@ -10680,9 +10717,9 @@ var side_nav_chips_default = _template("C", (input) => {
10680
10717
  const $childScope = _peek_scope_id();
10681
10718
  arm_button_default({
10682
10719
  class: [
10683
- "_i7",
10684
- "_i8",
10685
- "_i9"
10720
+ "_hP",
10721
+ "_hQ",
10722
+ "_hR"
10686
10723
  ],
10687
10724
  title: `Kill ${p.cmd} (pid ${p.pid})`,
10688
10725
  armedTitle: "Kill?",
@@ -10727,13 +10764,14 @@ var side_nav_chips_default = _template("C", (input) => {
10727
10764
  v: $si__input_workspaceId && $input_workspaceId__closures,
10728
10765
  y: $dead__closures
10729
10766
  });
10767
+ _resume_branch($scope0_id);
10730
10768
  });
10731
- var railBtn = "_fL _l";
10732
- var wsBtn = "_fP _I";
10733
- var rowIcon = "_fS _3 _l";
10734
- var close = "_fT _6 _l _7";
10735
- var sessRename$1 = "_fZ _J";
10736
- var sessBtn$1 = "_f1 _I";
10769
+ var railBtn = "_dJ _l";
10770
+ var wsBtn = "_dN _I";
10771
+ var rowIcon = "_dQ _3 _l";
10772
+ var close = "_dR _6 _l _7";
10773
+ var sessRename$1 = "_dX _J";
10774
+ var sessBtn$1 = "_dZ _I";
10737
10775
  //#endregion
10738
10776
  //#region src/tags/icons/icon-manage.marko
10739
10777
  var icon_manage_default = _template("lb", (input) => {
@@ -10779,6 +10817,7 @@ var rename_input_default = _template("v", (input) => {
10779
10817
  k: done.reported,
10780
10818
  m: finish
10781
10819
  });
10820
+ _resume_branch($scope0_id);
10782
10821
  });
10783
10822
  //#endregion
10784
10823
  //#region src/tags/icons/icon-edit.marko
@@ -10801,7 +10840,7 @@ var icon_edit_default = _template("eb", (input) => {
10801
10840
  //#region src/tags/side-nav-item.marko
10802
10841
  var api$7;
10803
10842
  var side_nav_item_default = _template("D", (input) => {
10804
- const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_current = _serialize_guard($scope0_reason, 1), $sg__input_status = _serialize_guard($scope0_reason, 16), $sg__input_index = _serialize_guard($scope0_reason, 18), $si__input_workspace = _serialize_if($scope0_reason, 14), $sg__input_workspace = _serialize_guard($scope0_reason, 14), $sg__input_workspace__OR__input_page = _serialize_guard($scope0_reason, 2), $sg__input_sessions = _serialize_guard($scope0_reason, 20), $sg__input_sessions__OR__input_onNewSession__OR__input_onReview = _serialize_guard($scope0_reason, 12), $sg__input_onNewSession = _serialize_guard($scope0_reason, 22), $sg__input_onReview = _serialize_guard($scope0_reason, 23), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_current = _serialize_if($scope0_reason, 17), $sg__input_workspace__OR__input_rail = _serialize_guard($scope0_reason, 0), $si__input_workspace__OR__input_rail = _serialize_if($scope0_reason, 0), $sg__input_workspace__OR__input_status__OR__input_rail = _serialize_guard($scope0_reason, 7), $si__input_workspace__OR__input_rail__OR__input_sessions = _serialize_if($scope0_reason, 9), $si__input_index = _serialize_if($scope0_reason, 18), $si__input_page = _serialize_if($scope0_reason, 19), $si__input_onRenameSession = _serialize_if($scope0_reason, 26), $si__input_currentTab = _serialize_if($scope0_reason, 25), $si__input_workspaceId = _serialize_if($scope0_reason, 15), $si__input_menuOpen = _serialize_if($scope0_reason, 21), $si__input_onNewSession = _serialize_if($scope0_reason, 22), $si__input_onReview = _serialize_if($scope0_reason, 23), $si__input_managing = _serialize_if($scope0_reason, 24);
10843
+ const $scope0_reason = _scope_reason(), $si__input_workspace = _serialize_if($scope0_reason, 14), $sg__input_workspace = _serialize_guard($scope0_reason, 14), $sg__input_status = _serialize_guard($scope0_reason, 16), $sg__input_sessions = _serialize_guard($scope0_reason, 20), $sg__input_sessions__OR__input_onNewSession__OR__input_onReview = _serialize_guard($scope0_reason, 12), $sg__input_onNewSession = _serialize_guard($scope0_reason, 22), $sg__input_onReview = _serialize_guard($scope0_reason, 23), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_current = _serialize_if($scope0_reason, 17), $sg__input_workspace__OR__input_rail = _serialize_guard($scope0_reason, 0), $si__input_workspace__OR__input_rail = _serialize_if($scope0_reason, 0), $sg__input_workspace__OR__input_status__OR__input_rail = _serialize_guard($scope0_reason, 7), $si__input_workspace__OR__input_rail__OR__input_sessions = _serialize_if($scope0_reason, 9), $si__input_index = _serialize_if($scope0_reason, 18), $si__input_page = _serialize_if($scope0_reason, 19), $si__input_onRenameSession = _serialize_if($scope0_reason, 26), $si__input_currentTab = _serialize_if($scope0_reason, 25), $si__input_workspaceId = _serialize_if($scope0_reason, 15), $si__input_menuOpen = _serialize_if($scope0_reason, 21), $si__input_onNewSession = _serialize_if($scope0_reason, 22), $si__input_onReview = _serialize_if($scope0_reason, 23), $si__input_managing = _serialize_if($scope0_reason, 24);
10805
10844
  const $scope0_id = _scope_id();
10806
10845
  const $input_current__closures = /* @__PURE__ */ new Set();
10807
10846
  const $input_index__closures = /* @__PURE__ */ new Set();
@@ -10847,41 +10886,41 @@ var side_nav_item_default = _template("D", (input) => {
10847
10886
  _if(() => {
10848
10887
  if (input.rail) {
10849
10888
  const $scope2_id = _scope_id();
10850
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fI"]: 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, $sg__input_index)}<span${_attr_class([
10889
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_dG"]: 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([
10851
10890
  "_A",
10852
10891
  phase[dot$1],
10853
10892
  "_bb"
10854
- ])}></span>${_el_resume($scope2_id, "c", $sg__input_status)}</a>${_el_resume($scope2_id, "a", $sg__input_workspace__OR__input_current)}`);
10893
+ ])}></span>${_el_resume($scope2_id, "c", $sg__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 1))}`);
10855
10894
  _serialize_if($scope0_reason, 13) && _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_workspace && $ws_pending__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))))));
10856
10895
  return 0;
10857
10896
  } else if (ws$1.pending) {
10858
10897
  const $scope3_id = _scope_id();
10859
10898
  _html(`<section${_attr_class([
10860
- "_fN",
10861
- "_f3",
10862
- { ["_fM"]: input.page }
10863
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fO")}><div${_attr_class(wsBtn)}>`);
10899
+ "_dL",
10900
+ "_d1",
10901
+ { ["_dK"]: input.page }
10902
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_dM")}><div${_attr_class(wsBtn)}>`);
10864
10903
  _if(() => {
10865
10904
  if (ws$1.pending_error) {
10866
10905
  const $scope11_id = _scope_id();
10867
10906
  icon_warning_default({
10868
10907
  size: 12,
10869
- class: "_f5"
10908
+ class: "_d3"
10870
10909
  });
10871
10910
  $si__input_workspace && writeScope($scope11_id, {});
10872
10911
  return 0;
10873
10912
  } else {
10874
10913
  const $scope12_id = _scope_id();
10875
- _html(`<span${_attr_class(["_G", "_f4"])}></span>`);
10914
+ _html(`<span${_attr_class(["_G", "_d2"])}></span>`);
10876
10915
  $si__input_workspace && writeScope($scope12_id, {});
10877
10916
  return 1;
10878
10917
  }
10879
10918
  }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
10880
- _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_f7")}${_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>`);
10919
+ _html(`<span${_attr_class("_dT")}><span${_attr_class("_dU")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_d5")}${_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>`);
10881
10920
  _if(() => {
10882
10921
  if (ws$1.pending_error && !retrying) {
10883
10922
  const $scope10_id = _scope_id();
10884
- _html(`<div${_attr_class("_f6")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10923
+ _html(`<div${_attr_class("_d4")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10885
10924
  arm_button_default({
10886
10925
  class: ["_q", btnSm],
10887
10926
  title: "Delete workspace",
@@ -10902,7 +10941,7 @@ var side_nav_item_default = _template("D", (input) => {
10902
10941
  return 0;
10903
10942
  }
10904
10943
  }, $scope3_id, "j", 1, 1, 1, 0, 1);
10905
- _html(`</section>${_el_resume($scope3_id, "a", $sg__input_workspace__OR__input_page)}`);
10944
+ _html(`</section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 2))}`);
10906
10945
  _subscribe($retrying__closures, _subscribe($restoreLine__closures, _subscribe($si__input_workspace && $ws_pending_error__closures, _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
10907
10946
  _: _scope_with_id($scope1_id),
10908
10947
  Caj: $si__input_workspace && 1
@@ -10912,11 +10951,11 @@ var side_nav_item_default = _template("D", (input) => {
10912
10951
  const $scope4_id = _scope_id();
10913
10952
  const sessions$1 = input.sessions || [];
10914
10953
  const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
10915
- _html(`<section${_attr_class(["_fN", {
10916
- ["_fI"]: input.current,
10954
+ _html(`<section${_attr_class(["_dL", {
10955
+ ["_dG"]: input.current,
10917
10956
  ["_bc"]: input.current,
10918
- ["_fK"]: input.menuOpen
10919
- }])}><div${_attr_class("_fO")}><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)}`);
10957
+ ["_dI"]: input.menuOpen
10958
+ }])}><div${_attr_class("_dM")}><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)}`);
10920
10959
  _if(() => {
10921
10960
  if (sessions$1.length === 1) {
10922
10961
  const $scope14_id = _scope_id();
@@ -10928,7 +10967,7 @@ var side_nav_item_default = _template("D", (input) => {
10928
10967
  icon_agent_default({
10929
10968
  agent: activeAgent(sessions$1[0]),
10930
10969
  size: 12,
10931
- class: "_fU"
10970
+ class: "_dS"
10932
10971
  });
10933
10972
  $si__input_sessions && writeScope($scope14_id, {
10934
10973
  _: _scope_with_id($scope4_id),
@@ -10937,7 +10976,7 @@ var side_nav_item_default = _template("D", (input) => {
10937
10976
  return 0;
10938
10977
  }
10939
10978
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview);
10940
- _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_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("_fQ")}>`);
10979
+ _html(`<span${_attr_class("_dT")}><span${_attr_class("_dU")}>${_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("_dO")}>`);
10941
10980
  _if(() => {
10942
10981
  if (input.onNewSession) {
10943
10982
  const $scope5_id = _scope_id();
@@ -10965,19 +11004,19 @@ var side_nav_item_default = _template("D", (input) => {
10965
11004
  return 0;
10966
11005
  }
10967
11006
  }, $scope4_id, "k", $sg__input_onReview, $sg__input_onReview, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview, 0, 1);
10968
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fJ"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
11007
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_dH"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10969
11008
  icon_manage_default({ size: 12 });
10970
- _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_f0")}>`);
11009
+ _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_dY")}>`);
10971
11010
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
10972
11011
  const $scope6_id = _scope_id();
10973
- _html(`<div${_attr_class(["_fR", { ["_fI"]: s.id === input.currentTab }])}>`);
11012
+ _html(`<div${_attr_class(["_dP", { ["_dG"]: s.id === input.currentTab }])}>`);
10974
11013
  _if(() => {
10975
11014
  if (renamingId === s.id) {
10976
11015
  const $scope7_id = _scope_id();
10977
11016
  _html(`<span${_attr_class([
10978
11017
  "_A",
10979
11018
  phase[sessionPhase(s.state)],
10980
- "_fY"
11019
+ "_dW"
10981
11020
  ])}></span>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
10982
11021
  _set_serialize_reason({
10983
11022
  1: $sg__input_sessions,
@@ -10987,7 +11026,7 @@ var side_nav_item_default = _template("D", (input) => {
10987
11026
  icon_agent_default({
10988
11027
  agent: activeAgent(s),
10989
11028
  size: 12,
10990
- class: "_f2"
11029
+ class: "_d0"
10991
11030
  });
10992
11031
  const $childScope3 = _peek_scope_id();
10993
11032
  rename_input_default({
@@ -11018,9 +11057,9 @@ var side_nav_item_default = _template("D", (input) => {
11018
11057
  icon_agent_default({
11019
11058
  agent: activeAgent(s),
11020
11059
  size: 12,
11021
- class: "_f2"
11060
+ class: "_d0"
11022
11061
  });
11023
- _html(`<span${_attr_class("_fX")}>${_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">`);
11062
+ _html(`<span${_attr_class("_dV")}>${_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">`);
11024
11063
  icon_edit_default({ size: 12 });
11025
11064
  _html(`</button>${_el_resume($scope8_id, "f")}`);
11026
11065
  arm_button_default({
@@ -11080,7 +11119,7 @@ var side_nav_item_default = _template("D", (input) => {
11080
11119
  return 0;
11081
11120
  }
11082
11121
  }, $scope0_id, "a", $sg__input_workspace__OR__input_status__OR__input_rail, $sg__input_workspace, $sg__input_workspace);
11083
- _script($scope0_id, "D11", $sg__input_workspace);
11122
+ _script($scope0_id, "D11");
11084
11123
  writeScope($scope0_id, {
11085
11124
  e: input.workspaceId,
11086
11125
  f: $si__input_workspace && input.status,
@@ -11124,12 +11163,12 @@ var side_nav_item_default = _template("D", (input) => {
11124
11163
  ac: $si__input_onReview && $input_onReview__closures,
11125
11164
  ad: $si__input_managing && $input_managing__closures
11126
11165
  });
11127
- $sg__input_workspace || _resume_branch($scope0_id);
11166
+ _resume_branch($scope0_id);
11128
11167
  });
11129
11168
  //#endregion
11130
11169
  //#region src/tags/workspace-switcher.marko
11131
11170
  var workspace_switcher_default = _template("O", (input) => {
11132
- const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 4), $sg__input_workspace = _serialize_guard($scope0_reason, 10), $sg__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab = _serialize_guard($scope0_reason, 7), $si__input_tab = _serialize_if($scope0_reason, 13), $si__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_if($scope0_reason, 4), $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab = _serialize_if($scope0_reason, 7), $sg__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 3), $sg__input_allStatus__OR__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 6), $sg__input_allStatus__OR__input_ids = _serialize_guard($scope0_reason, 2), $si__input_allStatus__OR__input_ids = _serialize_if($scope0_reason, 2), $sg__input_ids = _serialize_guard($scope0_reason, 14), $si__input_allStatus = _serialize_if($scope0_reason, 11), $si__input_allStatus__OR__input_ids__OR__input_byId = _serialize_if($scope0_reason, 6), $si__input_ids__OR__input_byId = _serialize_if($scope0_reason, 3), $sg__input_workspace__OR__input_ids_length = _serialize_guard($scope0_reason, 1), $sg__input_ids_length = _serialize_guard($scope0_reason, 15), $si__input_workspace__OR__input_allStatus = _serialize_if($scope0_reason, 0), $si__input_workspace = _serialize_if($scope0_reason, 10), $si__input_byId = _serialize_if($scope0_reason, 16);
11171
+ const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 4), $sg__input_workspace = _serialize_guard($scope0_reason, 10), $si__input_tab = _serialize_if($scope0_reason, 13), $si__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_if($scope0_reason, 4), $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab = _serialize_if($scope0_reason, 7), $sg__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 3), $sg__input_allStatus__OR__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 6), $sg__input_allStatus__OR__input_ids = _serialize_guard($scope0_reason, 2), $si__input_allStatus__OR__input_ids = _serialize_if($scope0_reason, 2), $sg__input_ids = _serialize_guard($scope0_reason, 14), $si__input_allStatus = _serialize_if($scope0_reason, 11), $si__input_allStatus__OR__input_ids__OR__input_byId = _serialize_if($scope0_reason, 6), $si__input_ids__OR__input_byId = _serialize_if($scope0_reason, 3), $sg__input_workspace__OR__input_ids_length = _serialize_guard($scope0_reason, 1), $si__input_workspace__OR__input_allStatus = _serialize_if($scope0_reason, 0), $si__input_workspace = _serialize_if($scope0_reason, 10), $si__input_byId = _serialize_if($scope0_reason, 16);
11133
11172
  const $scope0_id = _scope_id();
11134
11173
  const $sessions___closures = /* @__PURE__ */ new Set();
11135
11174
  const $input_tab__closures = /* @__PURE__ */ new Set();
@@ -11143,11 +11182,11 @@ var workspace_switcher_default = _template("O", (input) => {
11143
11182
  const sessions = input.sessions || st?.sessions || [];
11144
11183
  const manySessions = sessions.length > 1;
11145
11184
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11146
- _html(`<div${_attr_class("_fq")}>`);
11185
+ _html(`<div${_attr_class("_do")}>`);
11147
11186
  _if(() => {
11148
11187
  if (ws) {
11149
11188
  const $scope1_id = _scope_id();
11150
- _html(`<section${_attr_class("_fr")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_fs")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11189
+ _html(`<section${_attr_class("_dp")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_dq")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11151
11190
  _if(() => {
11152
11191
  if (sessions.length === 1) {
11153
11192
  const $scope8_id = _scope_id();
@@ -11159,7 +11198,7 @@ var workspace_switcher_default = _template("O", (input) => {
11159
11198
  icon_agent_default({
11160
11199
  agent: activeAgent(sessions[0]),
11161
11200
  size: 16,
11162
- class: "_fw"
11201
+ class: "_du"
11163
11202
  });
11164
11203
  $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11165
11204
  _: _scope_with_id($scope1_id),
@@ -11168,14 +11207,14 @@ var workspace_switcher_default = _template("O", (input) => {
11168
11207
  return 0;
11169
11208
  }
11170
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);
11171
- _html(`<span${_attr_class("_ft")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_fv")}>${_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)}`);
11210
+ _html(`<span${_attr_class("_dr")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_dt")}>${_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)}`);
11172
11211
  _if(() => {
11173
11212
  if (manySessions) {
11174
11213
  const $scope2_id = _scope_id();
11175
- _html(`<div${_attr_class("_fx")}>`);
11214
+ _html(`<div${_attr_class("_dv")}>`);
11176
11215
  _for_of(sessions, (s) => {
11177
11216
  const $scope3_id = _scope_id();
11178
- _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_fz", { ["_fy"]: 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)}`);
11217
+ _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_dx", { ["_dw"]: 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)}`);
11179
11218
  _set_serialize_reason({
11180
11219
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11181
11220
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11185,7 +11224,7 @@ var workspace_switcher_default = _template("O", (input) => {
11185
11224
  agent: activeAgent(s),
11186
11225
  size: 14
11187
11226
  });
11188
- _html(`<span${_attr_class("_fA")}>${_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", $sg__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab)}`);
11227
+ _html(`<span${_attr_class("_dy")}>${_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))}`);
11189
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, {
11190
11229
  h: $si__input_tab && s?.id,
11191
11230
  _: _scope_with_id($scope2_id),
@@ -11214,7 +11253,7 @@ var workspace_switcher_default = _template("O", (input) => {
11214
11253
  _if(() => {
11215
11254
  if (input.ids.length) {
11216
11255
  const $scope4_id = _scope_id();
11217
- _html(`<div${_attr_class("_fB")}>`);
11256
+ _html(`<div${_attr_class("_dz")}>`);
11218
11257
  _for_of(input.ids, (id) => {
11219
11258
  const $scope5_id = _scope_id();
11220
11259
  const w = input.byId.get(id);
@@ -11258,7 +11297,7 @@ var workspace_switcher_default = _template("O", (input) => {
11258
11297
  const rp = phaseOf(rs);
11259
11298
  const rowSessions = rs?.sessions || [];
11260
11299
  const many = rowSessions.length > 1;
11261
- _html(`<div${_attr_class("_fC")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fD")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11300
+ _html(`<div${_attr_class("_dA")}><a${_attr("href", `/w/${id}`)}${_attr_class("_dB")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11262
11301
  _if(() => {
11263
11302
  if (rowSessions.length === 1) {
11264
11303
  const $scope9_id = _scope_id();
@@ -11270,7 +11309,7 @@ var workspace_switcher_default = _template("O", (input) => {
11270
11309
  icon_agent_default({
11271
11310
  agent: activeAgent(rowSessions[0]),
11272
11311
  size: 16,
11273
- class: "_fF"
11312
+ class: "_dD"
11274
11313
  });
11275
11314
  $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11276
11315
  _: _scope_with_id($scope7_id),
@@ -11279,7 +11318,7 @@ var workspace_switcher_default = _template("O", (input) => {
11279
11318
  return 0;
11280
11319
  }
11281
11320
  }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11282
- _html(`<span${_attr_class("_fE")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11321
+ _html(`<span${_attr_class("_dC")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11283
11322
  _if(() => {
11284
11323
  if (many) {
11285
11324
  const $scope10_id = _scope_id();
@@ -11290,7 +11329,7 @@ var workspace_switcher_default = _template("O", (input) => {
11290
11329
  }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11291
11330
  icon_chevron_right_default({
11292
11331
  size: 14,
11293
- class: "_fH"
11332
+ class: "_dF"
11294
11333
  });
11295
11334
  _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11296
11335
  _set_serialize_reason($sg__input_ids);
@@ -11320,7 +11359,7 @@ var workspace_switcher_default = _template("O", (input) => {
11320
11359
  $si__input_allStatus__OR__input_ids__OR__input_byId && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
11321
11360
  return 0;
11322
11361
  }
11323
- }, $scope0_id, "c", $sg__input_ids, $sg__input_ids_length, $sg__input_workspace__OR__input_ids_length, 0, 1);
11362
+ }, $scope0_id, "c", $sg__input_ids, _serialize_guard($scope0_reason, 15), $sg__input_workspace__OR__input_ids_length, 0, 1);
11324
11363
  _html("</div>");
11325
11364
  _serialize_if($scope0_reason, 9) && writeScope($scope0_id, {
11326
11365
  g: _serialize_if($scope0_reason, 5) && input.allStatus,
@@ -11410,13 +11449,13 @@ var usage_bars_default = _template("K", (input) => {
11410
11449
  if (windows.length) {
11411
11450
  const $scope1_id = _scope_id();
11412
11451
  _html(`<span${_attr_class([
11413
- "_hF",
11452
+ "_g7",
11414
11453
  input.class,
11415
- { ["_hG"]: agent.stale_seconds != null }
11454
+ { ["_g8"]: agent.stale_seconds != null }
11416
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)}>`);
11417
11456
  _for_of(windows, (win) => {
11418
11457
  const $scope2_id = _scope_id();
11419
- _html(`<span${_attr_class(["_hH", win.used_percent >= 90 ? "_hL" : win.used_percent >= 70 ? "_hK" : win.used_percent >= 40 ? "_hJ" : "_hI"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11458
+ _html(`<span${_attr_class(["_g9", win.used_percent >= 90 ? "_hc" : win.used_percent >= 70 ? "_hb" : win.used_percent >= 40 ? "_ha" : "_g_"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11420
11459
  $si__input_agent && writeScope($scope2_id, {});
11421
11460
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
11422
11461
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -11448,7 +11487,7 @@ var nav_usage_default = _template("r", (input) => {
11448
11487
  const plan = openSess ? usageFor$1(openSess.agent, usage) : null;
11449
11488
  const all = usage?.agents || [];
11450
11489
  const peak = Math.max(0, ...(plan?.windows || []).map((w) => w.used_percent));
11451
- const ringTone = _resume((pct) => pct >= 90 ? "_eK" : pct >= 70 ? "_eJ" : pct >= 40 ? "_eI" : "_eH", "r0");
11490
+ const ringTone = _resume((pct) => pct >= 90 ? "_dc" : pct >= 70 ? "_db" : pct >= 40 ? "_da" : "_c_", "r0");
11452
11491
  let card$2 = null;
11453
11492
  const showCard = _resume((el) => {
11454
11493
  const r = el.getBoundingClientRect();
@@ -11460,18 +11499,18 @@ var nav_usage_default = _template("r", (input) => {
11460
11499
  _if(() => {
11461
11500
  if (plan) {
11462
11501
  const $scope1_id = _scope_id();
11463
- _html(`<span${_attr_class("_eB")} tabindex=0>`);
11502
+ _html(`<span${_attr_class("_c4")} tabindex=0>`);
11464
11503
  _set_serialize_reason(1);
11465
11504
  const $childScope = _peek_scope_id();
11466
11505
  usage_bars_default({
11467
- class: "_eD",
11506
+ class: "_c6",
11468
11507
  agent: plan
11469
11508
  });
11470
- _html(`<svg${_attr_class(["_eE", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eF")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eG")} 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")}`);
11509
+ _html(`<svg${_attr_class(["_c7", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_c8")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_c9")} 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")}`);
11471
11510
  _if(() => {
11472
11511
  if (card$2) {
11473
11512
  const $scope2_id = _scope_id();
11474
- _html(`<div${_attr_class(["_9", "_eC"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11513
+ _html(`<div${_attr_class(["_9", "_c5"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11475
11514
  _for_of(all, (a) => {
11476
11515
  const $scope3_id = _scope_id();
11477
11516
  _set_serialize_reason(6);
@@ -11507,6 +11546,7 @@ var nav_usage_default = _template("r", (input) => {
11507
11546
  y: $card_left__closures,
11508
11547
  z: $card_bottom__closures
11509
11548
  });
11549
+ _resume_branch($scope0_id);
11510
11550
  });
11511
11551
  //#endregion
11512
11552
  //#region src/tags/side-nav.marko
@@ -11515,7 +11555,7 @@ function sortedIds(ids, byId) {
11515
11555
  return ids.filter((id) => byId.has(id)).sort((a, b) => byId.get(a).name.localeCompare(byId.get(b).name));
11516
11556
  }
11517
11557
  var side_nav_default = _template("E", (input) => {
11518
- const $scope0_reason = _scope_reason(), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 17), $sg__input_instanceName = _serialize_guard($scope0_reason, 18), $sg__input_setupReady = _serialize_guard($scope0_reason, 19), $si__input_setupReady = _serialize_if($scope0_reason, 19), $si__input_instanceName = _serialize_if($scope0_reason, 18), $sg__input_workspace__OR__input_allWorkspaces = _serialize_guard($scope0_reason, 0), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 4), $sg__input_workspace__OR__input_tab__OR__input_tabChange__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 10), $sg__input_agents = _serialize_guard($scope0_reason, 21), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 7), $si__input_workspace = _serialize_if($scope0_reason, 11), $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents = _serialize_guard($scope0_reason, 5), $si__input_workspace__OR__input_allWorkspaces = _serialize_if($scope0_reason, 0), $si__input_allStatus = _serialize_if($scope0_reason, 16), $sg__input_sessions = _serialize_guard($scope0_reason, 20), $si__input_instanceAccent = _serialize_if($scope0_reason, 17), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_onReviewOpened = _serialize_if($scope0_reason, 22), $si__input_onReviewOther = _serialize_if($scope0_reason, 23), $si__input_onRenameSession = _serialize_if($scope0_reason, 24), $si__input_onCloseSession = _serialize_if($scope0_reason, 25), $si__input_tab__OR__input_tabChange = _serialize_if($scope0_reason, 2);
11558
+ const $scope0_reason = _scope_reason(), $sg__input_setupReady = _serialize_guard($scope0_reason, 19), $si__input_setupReady = _serialize_if($scope0_reason, 19), $sg__input_instanceName = _serialize_guard($scope0_reason, 18), $si__input_instanceName = _serialize_if($scope0_reason, 18), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 17), $sg__input_workspace__OR__input_allWorkspaces = _serialize_guard($scope0_reason, 0), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 4), $sg__input_agents = _serialize_guard($scope0_reason, 21), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 7), $si__input_workspace = _serialize_if($scope0_reason, 11), $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents = _serialize_guard($scope0_reason, 5), $si__input_workspace__OR__input_allWorkspaces = _serialize_if($scope0_reason, 0), $si__input_allStatus = _serialize_if($scope0_reason, 16), $sg__input_sessions = _serialize_guard($scope0_reason, 20), $si__input_instanceAccent = _serialize_if($scope0_reason, 17), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_onReviewOpened = _serialize_if($scope0_reason, 22), $si__input_onReviewOther = _serialize_if($scope0_reason, 23), $si__input_onRenameSession = _serialize_if($scope0_reason, 24), $si__input_onCloseSession = _serialize_if($scope0_reason, 25), $si__input_tab__OR__input_tabChange = _serialize_if($scope0_reason, 2);
11519
11559
  const $scope0_id = _scope_id();
11520
11560
  const $input_instanceName__closures = /* @__PURE__ */ new Set();
11521
11561
  const $iconSrc__closures = /* @__PURE__ */ new Set();
@@ -11567,14 +11607,14 @@ var side_nav_default = _template("E", (input) => {
11567
11607
  const backHref = ws ? `/w/${ws.id}` : "/new";
11568
11608
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
11569
11609
  const pageIds = orderedIds.filter((id) => id !== ws?.id);
11570
- _html(`<aside${_attr_class(["_bV", {
11571
- ["_bT"]: !navOpen,
11572
- ["_bU"]: isPage
11610
+ _html(`<aside${_attr_class(["_cf", {
11611
+ ["_cd"]: !navOpen,
11612
+ ["_ce"]: isPage
11573
11613
  }])}${_attr("hidden", view === "diff")}>`);
11574
11614
  _if(() => {
11575
11615
  if (isPage) {
11576
11616
  const $scope1_id = _scope_id();
11577
- _html(`<div${_attr_class("_bY")}>`);
11617
+ _html(`<div${_attr_class("_ci")}>`);
11578
11618
  _set_serialize_reason({
11579
11619
  3: $sg__input_instanceName,
11580
11620
  6: $sg__input_instanceName
@@ -11583,9 +11623,9 @@ var side_nav_default = _template("E", (input) => {
11583
11623
  if (input.instanceName) $meta = attrTag({ content: _content_resume("E8", () => {
11584
11624
  _scope_reason();
11585
11625
  const $scope2_id = _scope_id();
11586
- _html(`<span${_attr_class("_bZ")} title="This work server (Settings → Appearance)"><img${_attr_class("_b2")}${_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>`);
11626
+ _html(`<span${_attr_class("_cj")} title="This work server (Settings → Appearance)"><img${_attr_class("_cm")}${_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>`);
11587
11627
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
11588
- $sg__input_instanceAccent || $sg__input_instanceName || _resume_branch($scope2_id);
11628
+ _resume_branch($scope2_id);
11589
11629
  }, $scope1_id) });
11590
11630
  const $childScope = _peek_scope_id();
11591
11631
  page_head_default({
@@ -11598,7 +11638,7 @@ var side_nav_default = _template("E", (input) => {
11598
11638
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
11599
11639
  iconBtnRow,
11600
11640
  iconBtn,
11601
- { ["_bQ"]: view === "settings" }
11641
+ { ["_ca"]: view === "settings" }
11602
11642
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11603
11643
  icon_settings_default({ size: 16 });
11604
11644
  _if(() => {
@@ -11611,6 +11651,7 @@ var side_nav_default = _template("E", (input) => {
11611
11651
  }, $scope3_id, "d", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11612
11652
  _html(`</a>${_el_resume($scope3_id, "b")}`);
11613
11653
  _subscribe($si__input_workspace && $backHref__closures, _subscribe($canPush__closures, _subscribe($view__closures, _subscribe($si__input_setupReady && $input_setupReady__closures, writeScope($scope3_id, { _: _scope_with_id($scope1_id) })))));
11654
+ _resume_branch($scope3_id);
11614
11655
  }, $scope1_id) })
11615
11656
  });
11616
11657
  _html("</div>");
@@ -11621,7 +11662,7 @@ var side_nav_default = _template("E", (input) => {
11621
11662
  _if(() => {
11622
11663
  if (!isPage && input.instanceName) {
11623
11664
  const $scope4_id = _scope_id();
11624
- _html(`<div${_attr_class("_b1")} title="This work server (Settings → Appearance)"><img${_attr_class("_b2")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b3")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11665
+ _html(`<div${_attr_class("_cl")} title="This work server (Settings → Appearance)"><img${_attr_class("_cm")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_cn")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11625
11666
  writeScope($scope4_id, {});
11626
11667
  return 0;
11627
11668
  }
@@ -11639,7 +11680,7 @@ var side_nav_default = _template("E", (input) => {
11639
11680
  6: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11640
11681
  7: _serialize_guard($scope0_reason, 8),
11641
11682
  8: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11642
- 9: $sg__input_workspace__OR__input_tab__OR__input_tabChange__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11683
+ 9: _serialize_guard($scope0_reason, 10),
11643
11684
  10: _serialize_guard($scope0_reason, 11),
11644
11685
  11: _serialize_guard($scope0_reason, 16),
11645
11686
  12: $sg__input_sessions,
@@ -11689,7 +11730,7 @@ var side_nav_default = _template("E", (input) => {
11689
11730
  b: _serialize_if($scope0_reason, 21) && _existing_scope($childScope3)
11690
11731
  });
11691
11732
  }, (a) => a, $scope6_id, "a", $sg__input_agents, 1, $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents, "</div>", 1);
11692
- _html(`<div${_attr_class("_b4")}>`);
11733
+ _html(`<div${_attr_class("_co")}>`);
11693
11734
  _for_of(orderedIds, (wsId) => {
11694
11735
  const $scope8_id = _scope_id();
11695
11736
  _set_serialize_reason({
@@ -11766,7 +11807,7 @@ var side_nav_default = _template("E", (input) => {
11766
11807
  _if(() => {
11767
11808
  if (!navOpen) {
11768
11809
  const $scope9_id = _scope_id();
11769
- _html(`<div${_attr_class("_b5")}>`);
11810
+ _html(`<div${_attr_class("_cp")}>`);
11770
11811
  _for_of(orderedIds, (wsId, i) => {
11771
11812
  const $scope10_id = _scope_id();
11772
11813
  _set_serialize_reason({
@@ -11814,14 +11855,14 @@ var side_nav_default = _template("E", (input) => {
11814
11855
  return 0;
11815
11856
  }
11816
11857
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
11817
- _html(`<div${_attr_class("_b6")}>`);
11858
+ _html(`<div${_attr_class("_cq")}>`);
11818
11859
  _if(() => {
11819
11860
  if (isPage) {
11820
11861
  const $scope12_id = _scope_id();
11821
11862
  _html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
11822
11863
  "_q",
11823
11864
  btnLg,
11824
- "_b0"
11865
+ "_ck"
11825
11866
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11826
11867
  icon_folder_plus_default({ size: 16 });
11827
11868
  _html(` New workspace</a>${_el_resume($scope12_id, "a")}`);
@@ -11853,9 +11894,9 @@ var side_nav_default = _template("E", (input) => {
11853
11894
  sessions: input.sessions,
11854
11895
  tab: view === "term" ? tab : null
11855
11896
  });
11856
- _html(`<div${_attr_class(["_z", "_b7"])}></div>`);
11897
+ _html(`<div${_attr_class(["_z", "_cr"])}></div>`);
11857
11898
  _if(() => {}, $scope11_id, "d", 1, 1, 1, 0, 1);
11858
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bQ"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11899
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_ca"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11859
11900
  icon_settings_default({});
11860
11901
  _if(() => {
11861
11902
  if (input.setupReady === false) {
@@ -11865,7 +11906,7 @@ var side_nav_default = _template("E", (input) => {
11865
11906
  return 0;
11866
11907
  }
11867
11908
  }, $scope11_id, "g", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11868
- _html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bQ"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11909
+ _html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_ca"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11869
11910
  icon_folder_plus_default({ size: 16 });
11870
11911
  _html(`</a>${_el_resume($scope11_id, "h")}`);
11871
11912
  _script($scope11_id, "E13");
@@ -11930,6 +11971,7 @@ var side_nav_default = _template("E", (input) => {
11930
11971
  bb: $si__input_allStatus && $allStatus__closures,
11931
11972
  bd: $si__input_workspace__OR__input_allWorkspaces && $keyIndex__closures
11932
11973
  });
11974
+ _resume_branch($scope0_id);
11933
11975
  });
11934
11976
  //#endregion
11935
11977
  //#region src/client/clipboard.ts
@@ -11968,7 +12010,7 @@ function prHeadSigFromDiff(repos) {
11968
12010
  }).sort().join("\0");
11969
12011
  }
11970
12012
  //#endregion
11971
- //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/constants.js
12013
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/constants.js
11972
12014
  var COMMIT_METADATA_SPLIT = /(?=^From [a-f0-9]+ .+$)/m;
11973
12015
  var GIT_DIFF_FILE_BREAK_REGEX = /(?=^diff --git)/gm;
11974
12016
  var FILENAME_HEADER_REGEX = /^(---|\+\+\+)\s+([^\t\r\n]+)/;
@@ -11980,7 +12022,7 @@ Object.freeze({
11980
12022
  fromEnd: 0
11981
12023
  });
11982
12024
  //#endregion
11983
- //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js
12025
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js
11984
12026
  /** Converts a unified hunk side's start/count into its consumed-file range. */
11985
12027
  function getHunkSideStartBoundary(start, count) {
11986
12028
  return start - (count === 0 ? 0 : 1);
@@ -11989,14 +12031,14 @@ function getHunkSideEndBoundary(start, count) {
11989
12031
  return getHunkSideStartBoundary(start, count) + count;
11990
12032
  }
11991
12033
  //#endregion
11992
- //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/composeCacheKey.js
12034
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/composeCacheKey.js
11993
12035
  var CACHE_KEY_VERSION = 1;
11994
12036
  /** Encodes caller-controlled segments without delimiter ambiguity. */
11995
12037
  function composeCacheKey(scope, ...segments) {
11996
12038
  return `ck${CACHE_KEY_VERSION}:${JSON.stringify([scope, ...segments])}`;
11997
12039
  }
11998
12040
  //#endregion
11999
- //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js
12041
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js
12000
12042
  function cleanLastNewline(contents) {
12001
12043
  let end = contents.length;
12002
12044
  if (contents.charCodeAt(end - 1) === 10) {
@@ -12006,7 +12048,7 @@ function cleanLastNewline(contents) {
12006
12048
  return contents.slice(0, end);
12007
12049
  }
12008
12050
  //#endregion
12009
- //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/detachString.js
12051
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/detachString.js
12010
12052
  var stringDetachEncoder = new TextEncoder();
12011
12053
  var stringDetachDecoder = new TextDecoder("utf-8", { ignoreBOM: true });
12012
12054
  var SURROGATE_CODE_UNIT_PATTERN = /[\uD800-\uDFFF]/;
@@ -12024,7 +12066,7 @@ function detachString(value) {
12024
12066
  return stringDetachDecoder.decode(stringDetachBuffer.subarray(0, written));
12025
12067
  }
12026
12068
  //#endregion
12027
- //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js
12069
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js
12028
12070
  var MAX_ALIGNMENT_COMPARISONS = 4096;
12029
12071
  var MIN_IMPROVEMENT_PER_PAIR = .5;
12030
12072
  /**
@@ -12169,7 +12211,7 @@ function lineSimilarity(a, b) {
12169
12211
  return (prefix + suffix) / maxLength;
12170
12212
  }
12171
12213
  //#endregion
12172
- //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js
12214
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js
12173
12215
  function _processPatch(data, cacheKeyPrefix, throwOnError = false, patchIndex) {
12174
12216
  const isGitDiff = isGitDiffPatch(data);
12175
12217
  const rawFiles = isGitDiff ? splitGitDiffFiles(data) : splitUnifiedDiffFiles(data);
@@ -12994,8 +13036,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
12994
13036
  }
12995
13037
  return shortHeadFallback(head);
12996
13038
  }
12997
- var treeToggle = "_go _4 _l";
12998
- var pageTitle = "_gu _ej";
13039
+ var treeToggle = "_e1 _4 _l";
13040
+ var pageTitle = "_e7 _c0";
12999
13041
  //#endregion
13000
13042
  //#region src/tags/icons/icon-comment.marko
13001
13043
  var icon_comment_default = _template("bb", (input) => {
@@ -13056,12 +13098,12 @@ var diff_send_default = _template("k", (input) => {
13056
13098
  }
13057
13099
  })();
13058
13100
  }, "k1", $scope0_id);
13059
- _html(`<div${_attr_class("_ju")} role=group${_attr("aria-label", label)}><span${_attr_class("_jv")}${_attr("title", label)}>`);
13101
+ _html(`<div${_attr_class("_iI")} role=group${_attr("aria-label", label)}><span${_attr_class("_iJ")}${_attr("title", label)}>`);
13060
13102
  icon_comment_default({
13061
13103
  size: 18,
13062
- class: "_jw"
13104
+ class: "_iK"
13063
13105
  });
13064
- _html(`<span${_attr_class("_jx")} 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("_jy")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13106
+ _html(`<span${_attr_class("_iL")} 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("_iM")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13065
13107
  _if(() => {
13066
13108
  {
13067
13109
  const $scope6_id = _scope_id();
@@ -13073,11 +13115,11 @@ var diff_send_default = _template("k", (input) => {
13073
13115
  _if(() => {
13074
13116
  if (target) {
13075
13117
  const $scope1_id = _scope_id();
13076
- _html(`<button type=button${_attr_class(["_jy", "_jz"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13118
+ _html(`<button type=button${_attr_class(["_iM", "_iN"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13077
13119
  _if(() => {
13078
13120
  if (sessions.length > 1) {
13079
13121
  const $scope2_id = _scope_id();
13080
- _html(`<span${_attr_class(["_jC", "_jB"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_jA")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13122
+ _html(`<span${_attr_class(["_iQ", "_iP"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_iO")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13081
13123
  _subscribe($target_agent__closures, _subscribe($target_title__closures, _subscribe($sending__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
13082
13124
  return 0;
13083
13125
  } else {
@@ -13093,15 +13135,15 @@ var diff_send_default = _template("k", (input) => {
13093
13135
  _if(() => {
13094
13136
  if (sessions.length > 1) {
13095
13137
  const $scope4_id = _scope_id();
13096
- _html(`<span${_attr_class("_jD")}><button type=button${_attr_class([
13097
- "_jy",
13098
- "_jz",
13099
- "_jE"
13138
+ _html(`<span${_attr_class("_iR")}><button type=button${_attr_class([
13139
+ "_iM",
13140
+ "_iN",
13141
+ "_iS"
13100
13142
  ])} aria-label="Choose session to send to"${_attr("disabled", sending)}></button>${_el_resume($scope4_id, "b")}`);
13101
13143
  _attr_select_value($scope4_id, "c", target.id, _resume(function(v) {
13102
13144
  sendTarget = v;
13103
13145
  }, "k0", $scope4_id), () => {
13104
- _html(`<select${_attr_class("_jF")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13146
+ _html(`<select${_attr_class("_iT")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13105
13147
  _for_of(sessions, (s) => {
13106
13148
  const $scope7_id = _scope_id();
13107
13149
  _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)}`);
@@ -13142,6 +13184,7 @@ var diff_send_default = _template("k", (input) => {
13142
13184
  a1: $si__input_sessions && $sessions__closures,
13143
13185
  a3: $target_id__closures
13144
13186
  });
13187
+ _resume_branch($scope0_id);
13145
13188
  });
13146
13189
  //#endregion
13147
13190
  //#region src/tags/icons/icon-folder.marko
@@ -13177,8 +13220,8 @@ var icon_branch_default = _template("Y", (input) => {
13177
13220
  });
13178
13221
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13179
13222
  });
13180
- var findInput = "_eq _n";
13181
- var findIconBtn = "_et _l";
13223
+ var findInput = "_cv _n";
13224
+ var findIconBtn = "_cy _l";
13182
13225
  //#endregion
13183
13226
  //#region src/tags/icons/icon-arrow-down.marko
13184
13227
  var icon_arrow_down_default = _template("R", (input) => {
@@ -13270,18 +13313,18 @@ var diff_find_default = _template("j", (input) => {
13270
13313
  }, 0);
13271
13314
  }, "j0", $scope0_id);
13272
13315
  _html(`<div${_attr_class([
13273
- "_eo",
13274
- input.keybar && "_ex",
13275
- !open && "_en"
13276
- ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_ep")} aria-hidden=true>`);
13316
+ "_ct",
13317
+ input.keybar && "_cC",
13318
+ !open && "_cs"
13319
+ ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_cu")} aria-hidden=true>`);
13277
13320
  icon_search_default({ size: 13 });
13278
13321
  _html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
13279
13322
  type(v);
13280
- }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_ez"])} 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("_es")}>${_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 && "_eA"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13323
+ }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_cE"])} 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("_cx")}>${_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 && "_cF"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13281
13324
  icon_arrow_up_default({ size: 14 });
13282
- _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13325
+ _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_cF"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13283
13326
  icon_arrow_down_default({ size: 14 });
13284
- _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13327
+ _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_cF"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13285
13328
  icon_xmark_default({ size: 14 });
13286
13329
  _html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
13287
13330
  const $return = focusInput;
@@ -13317,14 +13360,15 @@ var diff_find_default = _template("j", (input) => {
13317
13360
  a5: input.queryChange || void 0,
13318
13361
  a8: input.stateChange || void 0
13319
13362
  });
13363
+ _resume_branch($scope0_id);
13320
13364
  return $return;
13321
13365
  });
13322
- var worktree = "_jr _y";
13366
+ var worktree = "_jG _y";
13323
13367
  var repoTitle = "_jR _x";
13324
13368
  //#endregion
13325
13369
  //#region src/tags/review-head.marko
13326
13370
  var review_head_default = _template("x", (input) => {
13327
- const $scope0_reason = _scope_reason(), $sg__input_repo = _serialize_guard($scope0_reason, 11), $si__input_repo = _serialize_if($scope0_reason, 11), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 5), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 5), $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 = _serialize_guard($scope0_reason, 10), $sg__input_repo__OR__input_fileCount = _serialize_guard($scope0_reason, 1), $sg__input_fileCount = _serialize_guard($scope0_reason, 12), $sg__input_additions = _serialize_guard($scope0_reason, 14), $sg__input_deletions = _serialize_guard($scope0_reason, 15), $sg__input_additions__OR__input_deletions = _serialize_guard($scope0_reason, 3), $sg__input_hiddenCount = _serialize_guard($scope0_reason, 16), $sg__input_newCount__OR__input_onlyNew = _serialize_guard($scope0_reason, 4), $sg__input_localDiffers = _serialize_guard($scope0_reason, 13), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers = _serialize_if($scope0_reason, 8), $si__input_additions__OR__input_deletions = _serialize_if($scope0_reason, 3), $si__input_newCount__OR__input_onlyNew = _serialize_if($scope0_reason, 4), $si__input_repo__OR__input_fileCount = _serialize_if($scope0_reason, 1);
13371
+ const $scope0_reason = _scope_reason(), $sg__input_repo = _serialize_guard($scope0_reason, 11), $si__input_repo = _serialize_if($scope0_reason, 11), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 5), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 5), $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 = _serialize_guard($scope0_reason, 10), $sg__input_repo__OR__input_fileCount = _serialize_guard($scope0_reason, 1), $sg__input_fileCount = _serialize_guard($scope0_reason, 12), $sg__input_additions__OR__input_deletions = _serialize_guard($scope0_reason, 3), $sg__input_hiddenCount = _serialize_guard($scope0_reason, 16), $sg__input_newCount__OR__input_onlyNew = _serialize_guard($scope0_reason, 4), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers = _serialize_if($scope0_reason, 8), $si__input_additions__OR__input_deletions = _serialize_if($scope0_reason, 3), $si__input_newCount__OR__input_onlyNew = _serialize_if($scope0_reason, 4), $si__input_repo__OR__input_fileCount = _serialize_if($scope0_reason, 1);
13328
13372
  const $scope0_id = _scope_id();
13329
13373
  const $compare_topic__closures = /* @__PURE__ */ new Set();
13330
13374
  const repo = input.repo;
@@ -13403,12 +13447,12 @@ var review_head_default = _template("x", (input) => {
13403
13447
  $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) });
13404
13448
  return 0;
13405
13449
  }
13406
- }, $scope0_id, "g", _serialize_guard($scope0_reason, 8), $sg__input_localDiffers, $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);
13450
+ }, $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);
13407
13451
  _html(`<span${_attr_class("_jM")}><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>`);
13408
13452
  _if(() => {
13409
13453
  if (input.additions || input.deletions) {
13410
13454
  const $scope3_id = _scope_id();
13411
- _html(`<span${_attr_class("_jN")}>+${_text_resume($scope3_id, "b", input.additions, $sg__input_additions * 2)}</span><span${_attr_class("_jO")}>−${_text_resume($scope3_id, "d", input.deletions, $sg__input_deletions * 2)}</span>`);
13455
+ _html(`<span${_attr_class("_jN")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 14) * 2)}</span><span${_attr_class("_jO")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 15) * 2)}</span>`);
13412
13456
  $si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
13413
13457
  return 0;
13414
13458
  }
@@ -13514,30 +13558,30 @@ var review_repos_default = _template("y", (input) => {
13514
13558
  _if(() => {
13515
13559
  if (input.tabs.length) {
13516
13560
  const $scope1_id = _scope_id();
13517
- _html(`<div${_attr_class(["_jg", { ["_jf"]: many }])}>`);
13561
+ _html(`<div${_attr_class(["_jv", { ["_ju"]: many }])}>`);
13518
13562
  _if(() => {
13519
13563
  if (many) {
13520
13564
  const $scope2_id = _scope_id();
13521
- _html(`<div${_attr_class(["_jj", {
13522
- ["_ji"]: edges.end,
13523
- ["_jh"]: edges.start
13565
+ _html(`<div${_attr_class(["_jy", {
13566
+ ["_jx"]: edges.end,
13567
+ ["_jw"]: edges.start
13524
13568
  }])} role=tablist>`);
13525
13569
  _for_of(input.tabs, (tab$1) => {
13526
13570
  const $scope3_id = _scope_id();
13527
13571
  const repo = tab$1.repo;
13528
13572
  const isOn = current?.repo.id === repo.id;
13529
13573
  const isFolded = input.folded.has(repo.id);
13530
- _html(`<div${_attr_class(["_jm", {
13531
- ["_jk"]: isOn,
13532
- ["_jl"]: isFolded
13533
- }])} role=tab aria-selected=${isOn ? "true" : "false"}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_jp")} title=${isFolded ? "\"Show this section's files\"" : "\"Hide this section's files\""} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_jq")}>▾</span></button>${_el_resume($scope3_id, "b")}<button type=button${_attr_class("_jo")} title="Scroll to this section"><span${_attr_class(worktree)}>${_text_resume($scope3_id, "f", repo.worktree, $sg__input_tabs)}</span>`);
13574
+ _html(`<div${_attr_class(["_jB", {
13575
+ ["_jz"]: isOn,
13576
+ ["_jA"]: isFolded
13577
+ }])} role=tab aria-selected=${isOn ? "true" : "false"}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_jE")} title=${isFolded ? "\"Show this section's files\"" : "\"Hide this section's files\""} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_jF")}>▾</span></button>${_el_resume($scope3_id, "b")}<button type=button${_attr_class("_jD")} title="Scroll to this section"><span${_attr_class(worktree)}>${_text_resume($scope3_id, "f", repo.worktree, $sg__input_tabs)}</span>`);
13534
13578
  _if(() => {
13535
13579
  if (repo.pr) {
13536
13580
  const $scope5_id = _scope_id();
13537
13581
  _html(`<span${_attr_class([
13538
13582
  "_u",
13539
13583
  "_v",
13540
- "_js"
13584
+ "_jH"
13541
13585
  ])}>#${_text_resume($scope5_id, "b", repo.pr.number, $sg__input_tabs * 2)}</span>`);
13542
13586
  $si__input_tabs && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
13543
13587
  return 0;
@@ -13563,11 +13607,11 @@ var review_repos_default = _template("y", (input) => {
13563
13607
  if (current) {
13564
13608
  const $scope4_id = _scope_id();
13565
13609
  const one = current.repo;
13566
- _html(`<div${_attr_class("_jt")}>`);
13610
+ _html(`<div${_attr_class("_jI")}>`);
13567
13611
  _if(() => {
13568
13612
  if (!many) {
13569
13613
  const $scope6_id = _scope_id();
13570
- _html(`<span${_attr_class([worktree, "_jn"])}>${_text_resume($scope6_id, "b", one.worktree, $sg__input_tabs__OR__input_active)}</span>`);
13614
+ _html(`<span${_attr_class([worktree, "_jC"])}>${_text_resume($scope6_id, "b", one.worktree, $sg__input_tabs__OR__input_active)}</span>`);
13571
13615
  $si__input_tabs__OR__input_active && writeScope($scope6_id, { _: _scope_with_id($scope4_id) });
13572
13616
  return 0;
13573
13617
  }
@@ -13674,7 +13718,7 @@ var review_repos_default = _template("y", (input) => {
13674
13718
  an: $si__input_tabs__OR__input_active && $current_hidden__closures,
13675
13719
  ao: $si__input_tabs_length && $many__closures
13676
13720
  });
13677
- $sg__input_tabs_length || _resume_branch($scope0_id);
13721
+ _resume_branch($scope0_id);
13678
13722
  });
13679
13723
  var fileFilter = "_jK _n";
13680
13724
  //#endregion
@@ -13721,6 +13765,7 @@ var file_filter_default = _template("l", (input) => {
13721
13765
  r: type,
13722
13766
  i: input.valueChange || void 0
13723
13767
  });
13768
+ _resume_branch($scope0_id);
13724
13769
  });
13725
13770
  //#endregion
13726
13771
  //#region src/tags/review-tree.marko
@@ -13751,7 +13796,7 @@ var review_tree_default = _template("z", (input) => {
13751
13796
  dragging$1 = false;
13752
13797
  if (width != null) setDiffTreeWidth(width);
13753
13798
  }, "z2", $scope0_id);
13754
- _html(`<div${_attr_class(["_iP", { ["_iO"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_i2", { ["_i1"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iQ")}>`);
13799
+ _html(`<div${_attr_class(["_i4", { ["_i3"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_jg", { ["_jf"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_i5")}>`);
13755
13800
  _set_serialize_reason(2);
13756
13801
  const $childScope = _peek_scope_id();
13757
13802
  file_filter_default({
@@ -13760,22 +13805,22 @@ var review_tree_default = _template("z", (input) => {
13760
13805
  filter$1 = _new_filter;
13761
13806
  }, "z3", $scope0_id)
13762
13807
  });
13763
- _html(`</div><div${_attr_class("_iR")}>`);
13808
+ _html(`</div><div${_attr_class("_i6")}>`);
13764
13809
  _for_of(input.sections, (section$2) => {
13765
13810
  const $scope1_id = _scope_id();
13766
- _html(`<div${_attr_class(["_iT", { ["_iS"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13811
+ _html(`<div${_attr_class(["_i8", { ["_i7"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13767
13812
  _if(() => {
13768
13813
  if (input.sections.length > 1) {
13769
13814
  const $scope2_id = _scope_id();
13770
- _html(`<button type=button${_attr_class("_iU")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iV", { ["_iW"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13815
+ _html(`<button type=button${_attr_class("_i9")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_i_", { ["_ja"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13771
13816
  icon_chevron_right_default({ size: 12 });
13772
- _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iX")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_iY")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13817
+ _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_jb")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_jc")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13773
13818
  _script($scope2_id, "z4");
13774
13819
  _subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
13775
13820
  return 0;
13776
13821
  }
13777
13822
  }, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
13778
- _html(`<div${_attr_class(["_i0", { ["_iZ"]: 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)}`);
13823
+ _html(`<div${_attr_class(["_je", { ["_jd"]: 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)}`);
13779
13824
  writeScope($scope1_id, {
13780
13825
  f: section$2?.id,
13781
13826
  h: $si__input_sections_length && section$2?.label,
@@ -13794,19 +13839,19 @@ var review_tree_default = _template("z", (input) => {
13794
13839
  n: input.commentCounts,
13795
13840
  o: input.newKeys,
13796
13841
  p: input.onSelect,
13797
- q: filter$1,
13798
13842
  t: closed$4,
13799
13843
  u: width,
13800
13844
  x: dragBox.id,
13801
13845
  z: startDrag,
13802
13846
  a0: moveDrag,
13803
13847
  a1: endDrag,
13804
- r: input.filterChange || void 0,
13848
+ s: input.filterChange || void 0,
13805
13849
  d: _existing_scope($childScope),
13806
13850
  a3: $closed__closures
13807
13851
  });
13852
+ _resume_branch($scope0_id);
13808
13853
  });
13809
- var sheetDir = "_iw _ba";
13854
+ var sheetDir = "_iC _ba";
13810
13855
  //#endregion
13811
13856
  //#region src/tags/diff-file-sheet.marko
13812
13857
  var diff_file_sheet_default = _template("i", (input) => {
@@ -13830,9 +13875,8 @@ var diff_file_sheet_default = _template("i", (input) => {
13830
13875
  const out = [];
13831
13876
  const byRepo = /* @__PURE__ */ new Map();
13832
13877
  for (const file of input.files) {
13833
- const slash = file.key.indexOf("/");
13834
- const repo = file.key.slice(0, slash);
13835
- const path = file.key.slice(slash + 1);
13878
+ const repo = file.key.slice(0, file.key.indexOf("/")).replace("#", " #");
13879
+ const path = file.label.slice(file.label.indexOf("/") + 1);
13836
13880
  const at = path.lastIndexOf("/");
13837
13881
  const dir = at < 0 ? "" : path.slice(0, at);
13838
13882
  const name = at < 0 ? path : path.slice(at + 1);
@@ -13862,9 +13906,9 @@ var diff_file_sheet_default = _template("i", (input) => {
13862
13906
  _if(() => {
13863
13907
  if (open) {
13864
13908
  const $scope1_id = _scope_id();
13865
- _html(`<div${_attr_class("_in")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_io")} role=dialog aria-label="Jump to file"><div${_attr_class("_ip")}><strong${_attr_class("_im")}>Files</strong><span${_attr_class("_iq")}>${_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, "_il"])} title=Close aria-label=Close>`);
13909
+ _html(`<div${_attr_class("_it")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_iu")} role=dialog aria-label="Jump to file"><div${_attr_class("_iv")}><strong${_attr_class("_is")}>Files</strong><span${_attr_class("_iw")}>${_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, "_ir"])} title=Close aria-label=Close>`);
13866
13910
  icon_xmark_default({ size: 16 });
13867
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_iy")}>`);
13911
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_iE")}>`);
13868
13912
  _set_serialize_reason(2);
13869
13913
  const $childScope = _peek_scope_id();
13870
13914
  file_filter_default({
@@ -13873,13 +13917,13 @@ var diff_file_sheet_default = _template("i", (input) => {
13873
13917
  filter = _new_filter;
13874
13918
  }, "i1", $scope1_id)
13875
13919
  });
13876
- _html(`</div><div${_attr_class("_ir")}>`);
13920
+ _html(`</div><div${_attr_class("_ix")}>`);
13877
13921
  _for_of(groups, (group) => {
13878
13922
  const $scope2_id = _scope_id();
13879
- _html(`<div${_attr_class("_is")}><div${_attr_class("_it")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13923
+ _html(`<div${_attr_class("_iy")}><div${_attr_class("_iz")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13880
13924
  _for_of(group.dirs, ({ dir, files }) => {
13881
13925
  const $scope3_id = _scope_id();
13882
- _html(`<div${_attr_class("_iu")}>`);
13926
+ _html(`<div${_attr_class("_iA")}>`);
13883
13927
  _if(() => {
13884
13928
  if (dir) {
13885
13929
  const $scope5_id = _scope_id();
@@ -13890,11 +13934,11 @@ var diff_file_sheet_default = _template("i", (input) => {
13890
13934
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
13891
13935
  _for_of(files, ({ file, name }) => {
13892
13936
  const $scope4_id = _scope_id();
13893
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_iv", "_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("_ix")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13937
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_iB", "_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("_iD")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13894
13938
  _if(() => {
13895
13939
  if (newKeys.has(file.key)) {
13896
13940
  const $scope6_id = _scope_id();
13897
- _html(`<span${_attr_class(["_A", "_iA"])} title="Changed since your last visit"></span>`);
13941
+ _html(`<span${_attr_class(["_A", "_iG"])} title="Changed since your last visit"></span>`);
13898
13942
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
13899
13943
  return 0;
13900
13944
  }
@@ -13904,7 +13948,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13904
13948
  const $scope7_id = _scope_id();
13905
13949
  icon_comment_default({
13906
13950
  size: 12,
13907
- class: "_iB"
13951
+ class: "_iH"
13908
13952
  });
13909
13953
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
13910
13954
  return 0;
@@ -13929,7 +13973,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13929
13973
  _if(() => {
13930
13974
  if (!input.files.length) {
13931
13975
  const $scope8_id = _scope_id();
13932
- _html(`<p${_attr_class("_iz")}>No files match.</p>`);
13976
+ _html(`<p${_attr_class("_iF")}>No files match.</p>`);
13933
13977
  $si__input_files_length && writeScope($scope8_id, {});
13934
13978
  return 0;
13935
13979
  }
@@ -13961,13 +14005,14 @@ var diff_file_sheet_default = _template("i", (input) => {
13961
14005
  a4: $si__input_newKeys && $newKeys__closures,
13962
14006
  a6: $si__input_workspaceId__OR__input_scope && $hrefFor2__closures
13963
14007
  });
14008
+ _resume_branch($scope0_id);
13964
14009
  });
13965
14010
  //#endregion
13966
14011
  //#region src/tags/review-view.marko
13967
14012
  var api$6;
13968
14013
  var getTermDims;
13969
14014
  var review_view_default = _template("A", (input) => {
13970
- const $scope0_reason = _scope_reason(), $sg__input_workspaceId = _serialize_guard($scope0_reason, 2);
14015
+ const $scope0_reason = _scope_reason();
13971
14016
  const $scope0_id = _scope_id();
13972
14017
  const $findFocus_getter = _hoist($scope0_id, "A39");
13973
14018
  const $error__closures = /* @__PURE__ */ new Set();
@@ -14023,10 +14068,9 @@ var review_view_default = _template("A", (input) => {
14023
14068
  }, "A6", $scope0_id);
14024
14069
  const jumpTo = _resume((key) => {
14025
14070
  const owner = key.slice(0, key.indexOf("/"));
14026
- const foldedId = [...foldedRepos].find((id) => (repos || []).find((r) => r.id === id)?.worktree === owner);
14027
- if (foldedId) {
14071
+ if (foldedRepos.has(owner)) {
14028
14072
  const next = new Set(foldedRepos);
14029
- next.delete(foldedId);
14073
+ next.delete(owner);
14030
14074
  foldedRepos = next;
14031
14075
  }
14032
14076
  restoreBox.pos = null;
@@ -14039,7 +14083,7 @@ var review_view_default = _template("A", (input) => {
14039
14083
  const first = section?.files[0];
14040
14084
  if (section && first) {
14041
14085
  restoreBox.pos = null;
14042
- viewBox.scrollToItem(`${section.worktree}/${first.path}`);
14086
+ viewBox.scrollToItem(`${section.id}/${first.path}`);
14043
14087
  }
14044
14088
  }, "A8", $scope0_id);
14045
14089
  const load = _resume(async (which = scope, refresh = false) => {
@@ -14138,11 +14182,12 @@ var review_view_default = _template("A", (input) => {
14138
14182
  const allFiles = shownRepos.flatMap((r) => r.files.map((f) => ({
14139
14183
  ...f,
14140
14184
  repo: r.id,
14141
- key: `${r.worktree}/${f.path}`
14185
+ key: `${r.id}/${f.path}`,
14186
+ label: `${r.worktree}/${f.path}`
14142
14187
  })));
14143
14188
  const fileFiltered = (() => {
14144
14189
  const match = makeFileFilter(fileFilter);
14145
- return allFiles.filter((f) => match(f.key) && (!onlyNew || f.changedSince));
14190
+ return allFiles.filter((f) => match(f.label) && (!onlyNew || f.changedSince));
14146
14191
  })();
14147
14192
  const findKeys = findState.query.trim() ? new Set(findState.keys) : null;
14148
14193
  const listFiles = findKeys ? fileFiltered.filter((f) => findKeys.has(f.key) || f.key === findState.hit?.key) : fileFiltered;
@@ -14156,8 +14201,11 @@ var review_view_default = _template("A", (input) => {
14156
14201
  }
14157
14202
  return map;
14158
14203
  })();
14159
- const commentKeys = new Set(commentsByFile.keys());
14160
- const commentCounts = new Map([...commentsByFile].map(([key, list]) => [key, list.length]));
14204
+ const commentCounts = new Map(allFiles.flatMap((f) => {
14205
+ const n = commentsByFile.get(f.label)?.length;
14206
+ return n ? [[f.key, n]] : [];
14207
+ }));
14208
+ const commentKeys = new Set(commentCounts.keys());
14161
14209
  const findFiles = fileFiltered.map((f) => ({
14162
14210
  ...f,
14163
14211
  fileDiff: fileDiffFor(f, f.key)
@@ -14186,12 +14234,15 @@ var review_view_default = _template("A", (input) => {
14186
14234
  working: "Working tree",
14187
14235
  dirty: "Uncommitted"
14188
14236
  }[scope];
14189
- const treeSections = shownRepos.map((r) => ({
14190
- id: r.id,
14191
- label: r.worktree,
14192
- worktree: r.worktree,
14193
- files: shownFiles.filter((f) => f.repo === r.id)
14194
- })).filter((s) => s.files.length);
14237
+ const treeSections = (() => {
14238
+ const perWorktree = /* @__PURE__ */ new Map();
14239
+ for (const r of shownRepos) perWorktree.set(r.worktree, (perWorktree.get(r.worktree) || 0) + 1);
14240
+ return shownRepos.map((r) => ({
14241
+ id: r.id,
14242
+ label: r.pr && (perWorktree.get(r.worktree) || 0) > 1 ? `${r.worktree} #${r.pr.number}` : r.worktree,
14243
+ files: shownFiles.filter((f) => f.repo === r.id)
14244
+ })).filter((s) => s.files.length);
14245
+ })();
14195
14246
  const statsFor = _resume((repo) => {
14196
14247
  let additions = 0;
14197
14248
  let deletions = 0;
@@ -14369,13 +14420,13 @@ var review_view_default = _template("A", (input) => {
14369
14420
  else viewBox.scrollToLine(hit.key, hit.line, hit.side);
14370
14421
  }, 0);
14371
14422
  };
14372
- _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_g0")}><div${_attr_class("_gr")}><div${_attr_class("_gy")}>`);
14423
+ _html(`<div${_attr_class("_eY")}><div${_attr_class("_e3")}><div${_attr_class("_fC")}><div${_attr_class("_e4")}><div${_attr_class("_fa")}>`);
14373
14424
  _if(() => {
14374
14425
  if (input.onExit) {
14375
14426
  const $scope1_id = _scope_id();
14376
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gs"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14427
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_e5"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14377
14428
  icon_back_default({ size: 14 });
14378
- _html(`</a>${_el_resume($scope1_id, "a", $sg__input_workspaceId)}`);
14429
+ _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 2))}`);
14379
14430
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
14380
14431
  return 0;
14381
14432
  }
@@ -14384,7 +14435,7 @@ var review_view_default = _template("A", (input) => {
14384
14435
  _if(() => {
14385
14436
  if (comments.length) {
14386
14437
  const $scope2_id = _scope_id();
14387
- _html(`<span${_attr_class("_gt")}>`);
14438
+ _html(`<span${_attr_class("_e6")}>`);
14388
14439
  _set_serialize_reason({
14389
14440
  0: _serialize_guard($scope0_reason, 10),
14390
14441
  1: 1
@@ -14401,14 +14452,14 @@ var review_view_default = _template("A", (input) => {
14401
14452
  return 0;
14402
14453
  }
14403
14454
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
14404
- _html(`</div><div${_attr_class(["_gp", "_gZ"])}>`);
14455
+ _html(`</div><div${_attr_class(["_e2", "_fB"])}>`);
14405
14456
  _if(() => {
14406
14457
  if (hasFiles) {
14407
14458
  const $scope9_id = _scope_id();
14408
14459
  _html(`<button${_attr_class([
14409
14460
  treeToggle,
14410
- "_gn",
14411
- { ["_gm"]: treeOpen }
14461
+ "_e0",
14462
+ { ["_eZ"]: treeOpen }
14412
14463
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
14413
14464
  icon_sidebar_default({ size: 14 });
14414
14465
  _html(`</button>${_el_resume($scope9_id, "a")}`);
@@ -14417,7 +14468,7 @@ var review_view_default = _template("A", (input) => {
14417
14468
  return 0;
14418
14469
  }
14419
14470
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
14420
- _html(`<button${_attr_class([iconBtnRow, "_gn"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14471
+ _html(`<button${_attr_class([iconBtnRow, "_e0"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14421
14472
  _set_serialize_reason(1);
14422
14473
  const $childScope2 = _peek_scope_id();
14423
14474
  icon_refresh_default({
@@ -14430,30 +14481,30 @@ var review_view_default = _template("A", (input) => {
14430
14481
  const $scope10_id = _scope_id();
14431
14482
  _html(`<button${_attr_class([
14432
14483
  iconBtnRow,
14433
- "_gn",
14434
- "_gK"
14435
- ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_gL")} aria-hidden=true>`);
14484
+ "_e0",
14485
+ "_fm"
14486
+ ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_fn")} aria-hidden=true>`);
14436
14487
  icon_folder_default({
14437
14488
  size: 20,
14438
- class: "_gM"
14489
+ class: "_fo"
14439
14490
  });
14440
- _html(`<span${_attr_class("_gN")}>${_text_resume($scope10_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope10_id, "a")}`);
14491
+ _html(`<span${_attr_class("_fp")}>${_text_resume($scope10_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope10_id, "a")}`);
14441
14492
  _script($scope10_id, "A41");
14442
14493
  writeScope($scope10_id, {});
14443
14494
  return 0;
14444
14495
  }
14445
14496
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14446
- _html(`<span${_attr_class("_gz")}><button${_attr_class([
14497
+ _html(`<span${_attr_class("_fb")}><button${_attr_class([
14447
14498
  iconBtnRow,
14448
- "_gn",
14449
- { ["_gm"]: !!rev }
14499
+ "_e0",
14500
+ { ["_eZ"]: !!rev }
14450
14501
  ])}${_attr("title", `${compareLabel}\n${compareTitle}`)} aria-label=Compare${_attr("disabled", loading)}>`);
14451
14502
  icon_branch_default({ size: 14 });
14452
14503
  _html(`</button>${_el_resume($scope0_id, "o")}`);
14453
14504
  _attr_select_value($scope0_id, "q", rev ? `rev:${rev}` : scope, _resume(function(v) {
14454
14505
  pickCompare(v);
14455
14506
  }, "A0", $scope0_id), () => {
14456
- _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>`);
14507
+ _html(`<select${_attr_class("_fc")} 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>`);
14457
14508
  _if(() => {
14458
14509
  if (commitOptions.length) {
14459
14510
  const $scope12_id = _scope_id();
@@ -14469,7 +14520,7 @@ var review_view_default = _template("A", (input) => {
14469
14520
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
14470
14521
  _html("</select>");
14471
14522
  });
14472
- _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_gx", { ["_gw"]: !findOpen }])}>`);
14523
+ _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_e_", { ["_e9"]: !findOpen }])}>`);
14473
14524
  _set_serialize_reason(2);
14474
14525
  const $childScope3 = _peek_scope_id();
14475
14526
  let findFocus = diff_find_default({
@@ -14492,8 +14543,8 @@ var review_view_default = _template("A", (input) => {
14492
14543
  const $scope11_id = _scope_id();
14493
14544
  _html(`<button${_attr_class([
14494
14545
  iconBtnRow,
14495
- "_gv",
14496
- "_gn"
14546
+ "_e8",
14547
+ "_e0"
14497
14548
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14498
14549
  icon_search_default({ size: 14 });
14499
14550
  _html(`</button>${_el_resume($scope11_id, "a")}`);
@@ -14506,7 +14557,7 @@ var review_view_default = _template("A", (input) => {
14506
14557
  _if(() => {
14507
14558
  if (!repos && loading) {
14508
14559
  const $scope14_id = _scope_id();
14509
- _html(`<div${_attr_class("_gH")} aria-hidden=true><div${_attr_class(["_gD", "_gI"])}></div><div${_attr_class(["_gD", "_gJ"])}></div></div>`);
14560
+ _html(`<div${_attr_class("_fj")} aria-hidden=true><div${_attr_class(["_ff", "_fk"])}></div><div${_attr_class(["_ff", "_fl"])}></div></div>`);
14510
14561
  writeScope($scope14_id, {});
14511
14562
  return 0;
14512
14563
  }
@@ -14579,7 +14630,7 @@ var review_view_default = _template("A", (input) => {
14579
14630
  onReload: reload,
14580
14631
  loading
14581
14632
  });
14582
- _html(`</div><div${_attr_class("_gO")}>`);
14633
+ _html(`</div><div${_attr_class("_fq")}>`);
14583
14634
  _if(() => {
14584
14635
  if (error) {
14585
14636
  const $scope3_id = _scope_id();
@@ -14592,6 +14643,7 @@ var review_view_default = _template("A", (input) => {
14592
14643
  const $scope4_id = _scope_id();
14593
14644
  _html(_text_resume($scope4_id, "a", error));
14594
14645
  _subscribe($error__closures, writeScope($scope4_id, { _: _scope_with_id($scope3_id) }));
14646
+ _resume_branch($scope4_id);
14595
14647
  }, $scope3_id)
14596
14648
  });
14597
14649
  writeScope($scope3_id, {});
@@ -14612,6 +14664,7 @@ var review_view_default = _template("A", (input) => {
14612
14664
  const $scope7_id = _scope_id();
14613
14665
  _html(`${_text_resume($scope7_id, "a", repo.base)}${_text_resume($scope7_id, "b", scope !== "committed" ? ", showing uncommitted changes only" : "", 2)}.`);
14614
14666
  _subscribe($for_content__repo_base__closures, _subscribe($scope__closures, writeScope($scope7_id, { _: _scope_with_id($scope6_id) })));
14667
+ _resume_branch($scope7_id);
14615
14668
  }, $scope6_id)
14616
14669
  });
14617
14670
  writeScope($scope6_id, {
@@ -14622,10 +14675,10 @@ var review_view_default = _template("A", (input) => {
14622
14675
  _if(() => {
14623
14676
  if (!repos && loading) {
14624
14677
  const $scope15_id = _scope_id();
14625
- _html(`<div${_attr_class("_gC")} aria-hidden=true>`);
14678
+ _html(`<div${_attr_class("_fe")} aria-hidden=true>`);
14626
14679
  forTo(2, 0, 1, () => {
14627
14680
  _scope_id();
14628
- _html(`<div${_attr_class("_gE")}><div${_attr_class(["_gD", "_gF"])}></div><div${_attr_class(["_gD", "_gG"])}></div></div>`);
14681
+ _html(`<div${_attr_class("_fg")}><div${_attr_class(["_ff", "_fh"])}></div><div${_attr_class(["_ff", "_fi"])}></div></div>`);
14629
14682
  });
14630
14683
  _html("</div>");
14631
14684
  writeScope($scope15_id, {});
@@ -14635,17 +14688,17 @@ var review_view_default = _template("A", (input) => {
14635
14688
  _if(() => {
14636
14689
  if (repos && !allFiles.length) {
14637
14690
  const $scope8_id = _scope_id();
14638
- _html(`<p${_attr_class("_bN")}>${_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>`);
14691
+ _html(`<p${_attr_class("_b6")}>${_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>`);
14639
14692
  writeScope($scope8_id, {});
14640
14693
  return 0;
14641
14694
  } else if (repos && !listFiles.length && !findState.hit) {
14642
14695
  const $scope5_id = _scope_id();
14643
- _html(`<p${_attr_class("_bN")}>${_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>`);
14696
+ _html(`<p${_attr_class("_b6")}>${_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>`);
14644
14697
  writeScope($scope5_id, {});
14645
14698
  return 1;
14646
14699
  }
14647
14700
  }, $scope0_id, "a2", 1, 1, 1, 0, 1);
14648
- _html(`</div></div><div${_attr_class("_gP")} data-diff-main></div>${_el_resume($scope0_id, "a3")}</div>`);
14701
+ _html(`</div></div><div${_attr_class("_fr")} data-diff-main></div>${_el_resume($scope0_id, "a3")}</div>`);
14649
14702
  _set_serialize_reason(26);
14650
14703
  const $childScope6 = _peek_scope_id();
14651
14704
  review_tree_default({
@@ -14777,39 +14830,40 @@ var review_view_default = _template("A", (input) => {
14777
14830
  d2: shownFiles,
14778
14831
  d4: shownFiles?.length,
14779
14832
  d6: commentsByFile,
14780
- dd: commitOptions,
14781
- dg: compareLabel,
14782
- dk: _serialize_if($scope0_reason, 1) && repoTabs,
14783
- dm: compareTitle,
14784
- do: fileWorktree,
14785
- dp: anchorFor,
14786
- dq: filesByKey,
14787
- dr: fileByKey,
14788
- dt: saveComment,
14789
- du: deleteRemote,
14790
- dw: removeComment,
14791
- dx: editComment,
14792
- dz: sendGate.busy,
14793
- e1: dispatch,
14794
- e4: copyMarkdown,
14795
- e5: sendTo,
14796
- e6: sendOneComment,
14797
- e7: sendDraftComment,
14798
- e8: openFind,
14799
- eb: findFocus,
14800
- ed: dockBox.home,
14801
- ee: dockBox.raf,
14802
- eg: dockFind,
14833
+ de: commitOptions,
14834
+ dh: compareLabel,
14835
+ dl: _serialize_if($scope0_reason, 1) && repoTabs,
14836
+ dn: compareTitle,
14837
+ dp: fileWorktree,
14838
+ dq: anchorFor,
14839
+ dr: filesByKey,
14840
+ ds: fileByKey,
14841
+ du: saveComment,
14842
+ dv: deleteRemote,
14843
+ dx: removeComment,
14844
+ dy: editComment,
14845
+ e0: sendGate.busy,
14846
+ e2: dispatch,
14847
+ e5: copyMarkdown,
14848
+ e6: sendTo,
14849
+ e7: sendOneComment,
14850
+ e8: sendDraftComment,
14851
+ e9: openFind,
14852
+ ec: findFocus,
14853
+ ee: dockBox.home,
14854
+ ef: dockBox.raf,
14855
+ eh: dockFind,
14803
14856
  bc: input.findOpenChange || void 0,
14804
14857
  bg: input.findTickChange || void 0,
14805
14858
  l: _existing_scope($childScope2),
14806
14859
  t: _existing_scope($childScope3),
14807
14860
  x: _existing_scope($childScope4),
14808
- el: $error__closures,
14809
- eo: $scope__closures,
14861
+ em: $error__closures,
14862
+ ep: $scope__closures,
14810
14863
  a4: _existing_scope($childScope6),
14811
14864
  a5: _existing_scope($childScope7)
14812
14865
  });
14866
+ _resume_branch($scope0_id);
14813
14867
  return $return;
14814
14868
  });
14815
14869
  //#endregion
@@ -14924,10 +14978,10 @@ function parseInvite(text) {
14924
14978
  }
14925
14979
  //#endregion
14926
14980
  //#region src/tags/manage-workspace.css.ts
14927
- var procCmd = "_f8 _cV";
14928
- var skillRow = "_f_ _cT";
14929
- var skillName = "_gb _f8 _cV";
14930
- var skillDesc = "_ge _cW";
14981
+ var procCmd = "_eK _en";
14982
+ var skillRow = "_eM _el";
14983
+ var skillName = "_eO _eK _en";
14984
+ var skillDesc = "_eR _eo";
14931
14985
  //#endregion
14932
14986
  //#region src/tags/icons/icon-archive.marko
14933
14987
  var icon_archive_default = _template("Q", (input) => {
@@ -14962,10 +15016,10 @@ var icon_trash_default = _template("wb", (input) => {
14962
15016
  });
14963
15017
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14964
15018
  });
14965
- var resultRow = "_h8 _I";
14966
- var resultBranch = "_h9 _c0 _X _W _3 _l";
14967
- var urlAction = "_h_ _c0 _X _W _c1";
14968
- var addedRow = "_ik _cT";
15019
+ var resultRow = "_h2 _I";
15020
+ var resultBranch = "_h3 _es _X _W _3 _l";
15021
+ var urlAction = "_h4 _es _X _W _et";
15022
+ var addedRow = "_ie _el";
14969
15023
  //#endregion
14970
15024
  //#region src/tags/branch-pick.marko
14971
15025
  var branch_pick_default = _template("f", (input) => {
@@ -14978,11 +15032,11 @@ var branch_pick_default = _template("f", (input) => {
14978
15032
  let branchFilter = "";
14979
15033
  let reloadTick = 0;
14980
15034
  let refreshing = false;
14981
- _html(`<div${_attr_class("_ia")}>`);
15035
+ _html(`<div${_attr_class("_h5")}>`);
14982
15036
  _if(() => {
14983
15037
  {
14984
15038
  const $scope4_id = _scope_id();
14985
- _html(`<p${_attr_class("_bM")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
15039
+ _html(`<p${_attr_class("_b5")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
14986
15040
  writeScope($scope4_id, {});
14987
15041
  return 0;
14988
15042
  }
@@ -15002,6 +15056,7 @@ var branch_pick_default = _template("f", (input) => {
15002
15056
  s: $branchFilter__closures,
15003
15057
  r: $defaultBranch__closures
15004
15058
  });
15059
+ _resume_branch($scope0_id);
15005
15060
  });
15006
15061
  //#endregion
15007
15062
  //#region src/tags/repo-picker.marko
@@ -15080,13 +15135,14 @@ var repo_picker_default = _template("w", (input$2) => {
15080
15135
  _: _scope_with_id($scope0_id),
15081
15136
  a: _existing_scope($childScope)
15082
15137
  })));
15138
+ _resume_branch($scope9_id);
15083
15139
  }, $scope0_id) };
15084
15140
  const addedList = sheet ? input$2.added || [] : [];
15085
15141
  const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet && !!input$2.added);
15086
- _html(`<div${_attr_class(["_cs", {
15087
- ["_ct"]: !input$2.open,
15088
- ["_cu"]: input$2.pinned
15089
- }])}><label${_attr_class(["_0", "_cv"])}>`);
15142
+ _html(`<div${_attr_class(["_fK", {
15143
+ ["_fL"]: !input$2.open,
15144
+ ["_fM"]: input$2.pinned
15145
+ }])}><label${_attr_class(["_0", "_fN"])}>`);
15090
15146
  icon_search_default({
15091
15147
  size: 14,
15092
15148
  class: "_1"
@@ -15098,14 +15154,14 @@ var repo_picker_default = _template("w", (input$2) => {
15098
15154
  }, "w0", $scope0_id))}${_attr_class([
15099
15155
  "_Y",
15100
15156
  "_2",
15101
- "_cw"
15102
- ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_cy"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15157
+ "_fO"
15158
+ ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_fQ"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15103
15159
  icon_xmark_default({ size: 14 });
15104
- _html(`</button>${_el_resume($scope0_id, "e")}<div${_attr_class(pop$1)}${_attr("hidden", !hasBody || !input$2.open && !input$2.pinned)}>`);
15160
+ _html(`</button>${_el_resume($scope0_id, "e")}<div${_attr_class(pop$1)} data-add-pop${_attr("hidden", !hasBody || !input$2.open && !input$2.pinned)}>`);
15105
15161
  _if(() => {
15106
15162
  if (ssoPending.length) {
15107
15163
  const $scope11_id = _scope_id();
15108
- _html(`<div${_attr_class("_h4")}>`);
15164
+ _html(`<div${_attr_class("_hY")}>`);
15109
15165
  ssoBlock.content({});
15110
15166
  _html("</div>");
15111
15167
  writeScope($scope11_id, {});
@@ -15115,16 +15171,16 @@ var repo_picker_default = _template("w", (input$2) => {
15115
15171
  _if(() => {
15116
15172
  if (pasted) {
15117
15173
  const $scope1_id = _scope_id();
15118
- _html(`<ul${_attr_class("_h5")}><li><div${_attr_class(["_h7", "_h6"])}><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)`)}>`);
15174
+ _html(`<ul${_attr_class("_hZ")}><li><div${_attr_class(["_h1", "_h0"])}><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)`)}>`);
15119
15175
  icon_plus_default({
15120
15176
  size: 12,
15121
- class: "_ic"
15177
+ class: "_h7"
15122
15178
  });
15123
- _html(`<span${_attr_class("_id")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
15179
+ _html(`<span${_attr_class("_h8")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
15124
15180
  _if(() => {
15125
15181
  if (pastedForkable) {
15126
15182
  const $scope10_id = _scope_id();
15127
- _html(`<button${_attr_class([urlAction, { ["_cZ"]: 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"}>`);
15183
+ _html(`<button${_attr_class([urlAction, { ["_er"]: 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"}>`);
15128
15184
  _if(() => {
15129
15185
  if (pasteWillFork) {
15130
15186
  const $scope13_id = _scope_id();
@@ -15144,7 +15200,7 @@ var repo_picker_default = _template("w", (input$2) => {
15144
15200
  return 0;
15145
15201
  }
15146
15202
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
15147
- _html(`<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15203
+ _html(`<button${_attr_class([resultBranch, { ["_er"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15148
15204
  icon_branch_default({ size: 12 });
15149
15205
  _html(`</button>${_el_resume($scope1_id, "h")}</div>`);
15150
15206
  _if(() => {
@@ -15171,7 +15227,7 @@ var repo_picker_default = _template("w", (input$2) => {
15171
15227
  return 0;
15172
15228
  } else if (filter && !catalog) {
15173
15229
  const $scope12_id = _scope_id();
15174
- _html(`<p${_attr_class("_bM")}>Loading repos…</p>`);
15230
+ _html(`<p${_attr_class("_b5")}>Loading repos…</p>`);
15175
15231
  writeScope($scope12_id, {});
15176
15232
  return 1;
15177
15233
  }
@@ -15179,15 +15235,15 @@ var repo_picker_default = _template("w", (input$2) => {
15179
15235
  _if(() => {
15180
15236
  if (results.length) {
15181
15237
  const $scope3_id = _scope_id();
15182
- _html(`<ul${_attr_class("_h5")}>`);
15238
+ _html(`<ul${_attr_class("_hZ")}>`);
15183
15239
  _for_of(results, (repo, i) => {
15184
15240
  const $scope4_id = _scope_id();
15185
- _html(`<li><div${_attr_class(["_h7", { ["_h6"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15241
+ _html(`<li><div${_attr_class(["_h1", { ["_h0"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15186
15242
  icon_plus_default({
15187
15243
  size: 12,
15188
- class: "_ic"
15244
+ class: "_h7"
15189
15245
  });
15190
- _html(`<span${_attr_class("_id")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15246
+ _html(`<span${_attr_class("_h8")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_er"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15191
15247
  icon_branch_default({ size: 12 });
15192
15248
  _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
15193
15249
  _if(() => {
@@ -15222,7 +15278,7 @@ var repo_picker_default = _template("w", (input$2) => {
15222
15278
  return 0;
15223
15279
  } else if (filter && catalog && !pasted) {
15224
15280
  const $scope8_id = _scope_id();
15225
- _html(`<p${_attr_class("_bM")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
15281
+ _html(`<p${_attr_class("_b5")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
15226
15282
  writeScope($scope8_id, {});
15227
15283
  return 1;
15228
15284
  }
@@ -15230,10 +15286,10 @@ var repo_picker_default = _template("w", (input$2) => {
15230
15286
  _if(() => {
15231
15287
  if (sheet && input$2.added) {
15232
15288
  const $scope6_id = _scope_id();
15233
- _html(`<div${_attr_class("_ii")}><p${_attr_class("_ij")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15289
+ _html(`<div${_attr_class("_ic")}><p${_attr_class("_id")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15234
15290
  _for_of(addedList, (repo) => {
15235
15291
  const $scope15_id = _scope_id();
15236
- _html(`<li${_attr_class([addedRow, { ["_cY"]: repo.pending }])}>`);
15292
+ _html(`<li${_attr_class([addedRow, { ["_eq"]: repo.pending }])}>`);
15237
15293
  _if(() => {
15238
15294
  if (repo.pending) {
15239
15295
  const $scope17_id = _scope_id();
@@ -15244,13 +15300,13 @@ var repo_picker_default = _template("w", (input$2) => {
15244
15300
  const $scope18_id = _scope_id();
15245
15301
  icon_check_default({
15246
15302
  size: 12,
15247
- class: "_ic"
15303
+ class: "_h7"
15248
15304
  });
15249
15305
  $si__input_added && writeScope($scope18_id, {});
15250
15306
  return 1;
15251
15307
  }
15252
15308
  }, $scope15_id, "b", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
15253
- _html(`<span${_attr_class("_id")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
15309
+ _html(`<span${_attr_class("_h8")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
15254
15310
  _if(() => {
15255
15311
  if (repo.baseBranch) {
15256
15312
  const $scope16_id = _scope_id();
@@ -15267,7 +15323,7 @@ var repo_picker_default = _template("w", (input$2) => {
15267
15323
  _if(() => {
15268
15324
  if (!addedList.length) {
15269
15325
  const $scope7_id = _scope_id();
15270
- _html(`<li${_attr_class([addedRow, "_cY"])}>`);
15326
+ _html(`<li${_attr_class([addedRow, "_eq"])}>`);
15271
15327
  _if(() => {
15272
15328
  if (catalog) {
15273
15329
  const $scope19_id = _scope_id();
@@ -15340,6 +15396,7 @@ var repo_picker_default = _template("w", (input$2) => {
15340
15396
  b8: $branchesFor__closures,
15341
15397
  b1: $catalog__closures
15342
15398
  });
15399
+ _resume_branch($scope0_id);
15343
15400
  return $return;
15344
15401
  });
15345
15402
  //#endregion
@@ -15504,7 +15561,7 @@ var manage_workspace_default = _template("p", (input) => {
15504
15561
  setTimeout(() => loadProcs(void 0), 500);
15505
15562
  }, "p11", $scope0_id);
15506
15563
  const titleId = _id();
15507
- _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
15564
+ _html(`<div${_attr_class("_cV")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cW")}><div${_attr_class("_cX")}>`);
15508
15565
  _set_serialize_reason(30);
15509
15566
  const $childScope2 = _peek_scope_id();
15510
15567
  page_head_default({
@@ -15602,15 +15659,17 @@ var manage_workspace_default = _template("p", (input) => {
15602
15659
  _: _scope_with_id($scope6_id),
15603
15660
  Cco: 3
15604
15661
  }));
15662
+ _resume_branch($scope9_id);
15605
15663
  }, $scope6_id)
15606
15664
  });
15607
15665
  _subscribe($ws_status__closures, _subscribe($ws_repos_length__closures, _subscribe($pendingAction__closures, writeScope($scope6_id, {
15608
15666
  _: _scope_with_id($scope0_id),
15609
15667
  c: _existing_scope($childScope)
15610
15668
  }))));
15669
+ _resume_branch($scope6_id);
15611
15670
  }, $scope0_id) })
15612
15671
  });
15613
- _html(`<div${_attr_class("_eh")}><section${_attr_class("_bB")}><div${_attr_class("_bC")}><h2${_attr_class("_bP")}>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>`);
15672
+ _html(`<div${_attr_class("_cY")}><section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_eV")}>Name</span><span${_attr_class(["_eW", "_eX"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15614
15673
  _if(() => {
15615
15674
  if (ws.status !== "active") {
15616
15675
  const $scope23_id = _scope_id();
@@ -15619,8 +15678,8 @@ var manage_workspace_default = _template("p", (input) => {
15619
15678
  return 0;
15620
15679
  }
15621
15680
  }, $scope0_id, "n", 1, 1, 1, 0, 1);
15622
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Path</span><span${_attr_class([
15623
- "_gj",
15681
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_eV")}>Path</span><span${_attr_class([
15682
+ "_eW",
15624
15683
  "_y",
15625
15684
  "_ba"
15626
15685
  ])}${_attr("title", ws.display_path || ws.path)}><bdi>${_text_resume($scope0_id, "r", ws.display_path || ws.path)}</bdi></span>${_el_resume($scope0_id, "q")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "path" ? "Copied" : "\"Copy path\""} aria-label="Copy path">`);
@@ -15637,7 +15696,7 @@ var manage_workspace_default = _template("p", (input) => {
15637
15696
  return 1;
15638
15697
  }
15639
15698
  }, $scope0_id, "s", 1, 1, 1, "</button>", 1);
15640
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Branch</span><span${_attr_class(["_gj", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
15699
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_eV")}>Branch</span><span${_attr_class(["_eW", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
15641
15700
  _if(() => {
15642
15701
  if (copiedFact === "branch") {
15643
15702
  const $scope26_id = _scope_id();
@@ -15665,6 +15724,7 @@ var manage_workspace_default = _template("p", (input) => {
15665
15724
  const $scope5_id = _scope_id();
15666
15725
  _html(_text_resume($scope5_id, "a", error));
15667
15726
  _subscribe($error__closures, writeScope($scope5_id, { _: _scope_with_id($scope4_id) }));
15727
+ _resume_branch($scope5_id);
15668
15728
  }, $scope4_id)
15669
15729
  });
15670
15730
  writeScope($scope4_id, {});
@@ -15674,12 +15734,12 @@ var manage_workspace_default = _template("p", (input) => {
15674
15734
  _if(() => {
15675
15735
  if (pendingAction && actionStep) {
15676
15736
  const $scope10_id = _scope_id();
15677
- _html(`<p${_attr_class("_bA")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15737
+ _html(`<p${_attr_class("_bT")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15678
15738
  writeScope($scope10_id, {});
15679
15739
  return 0;
15680
15740
  }
15681
15741
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
15682
- _html(`<section${_attr_class("_bB")}><div${_attr_class("_bC")}><h2${_attr_class("_bP")}>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)}>`);
15742
+ _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>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, "_eU"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15683
15743
  icon_plus_default({ size: 16 });
15684
15744
  _html(`</button>${_el_resume($scope0_id, "a6")}`);
15685
15745
  _set_serialize_reason(34);
@@ -15716,10 +15776,10 @@ var manage_workspace_default = _template("p", (input) => {
15716
15776
  size: 14,
15717
15777
  class: catalogRefreshing && "_F"
15718
15778
  });
15719
- _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_cS"])}>`);
15779
+ _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_ek"])}>`);
15720
15780
  _for_of(ws.repos, (row) => {
15721
15781
  const $scope1_id = _scope_id();
15722
- _html(`<li${_attr_class("_cT")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_cW")}><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")}`);
15782
+ _html(`<li${_attr_class("_el")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_eo")}><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")}`);
15723
15783
  _if(() => {
15724
15784
  if (row.base_branch !== row.default_branch) {
15725
15785
  const $scope28_id = _scope_id();
@@ -15730,7 +15790,7 @@ var manage_workspace_default = _template("p", (input) => {
15730
15790
  return 0;
15731
15791
  }
15732
15792
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
15733
- _html(`</span><span${_attr_class("_cX")}>`);
15793
+ _html(`</span><span${_attr_class("_ep")}>`);
15734
15794
  _if(() => {
15735
15795
  if (busy.has(row.full_name)) {
15736
15796
  const $scope29_id = _scope_id();
@@ -15742,7 +15802,7 @@ var manage_workspace_default = _template("p", (input) => {
15742
15802
  const $childScope5 = _peek_scope_id();
15743
15803
  arm_button_default({
15744
15804
  class: [
15745
- "_bL",
15805
+ "_b4",
15746
15806
  "_7",
15747
15807
  "_8"
15748
15808
  ],
@@ -15773,16 +15833,16 @@ var manage_workspace_default = _template("p", (input) => {
15773
15833
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
15774
15834
  const $scope31_id = _scope_id();
15775
15835
  _html(`<li${_attr_class([
15776
- "_cT",
15777
- "_cU",
15778
- "_bF"
15779
- ])}><span${_attr_class("_G")}></span><span${_attr_class("_bK")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15836
+ "_el",
15837
+ "_em",
15838
+ "_bY"
15839
+ ])}><span${_attr_class("_G")}></span><span${_attr_class("_b3")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15780
15840
  writeScope($scope31_id, {});
15781
15841
  }, (n) => n, $scope0_id, "ae", 1, 1, 1, 0, 1);
15782
15842
  _if(() => {
15783
15843
  if (!ws.repos.length && !busy.size) {
15784
15844
  const $scope32_id = _scope_id();
15785
- _html(`<li${_attr_class(["_cT", "_cU"])}><span${_attr_class("_bK")}>No repos yet. Add one to start.</span></li>`);
15845
+ _html(`<li${_attr_class(["_el", "_em"])}><span${_attr_class("_b3")}>No repos yet. Add one to start.</span></li>`);
15786
15846
  writeScope($scope32_id, {});
15787
15847
  return 0;
15788
15848
  }
@@ -15792,20 +15852,20 @@ var manage_workspace_default = _template("p", (input) => {
15792
15852
  _if(() => {
15793
15853
  if (running.length) {
15794
15854
  const $scope15_id = _scope_id();
15795
- _html(`<section${_attr_class("_bB")}><div${_attr_class("_bC")}><h2${_attr_class("_bP")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15855
+ _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15796
15856
  _for_of(running, (p) => {
15797
15857
  const $scope16_id = _scope_id();
15798
- _html(`<li${_attr_class("_cT")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_cW"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_cX")}>`);
15858
+ _html(`<li${_attr_class("_el")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_eo"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_ep")}>`);
15799
15859
  _for_of(p.ports, (port) => {
15800
15860
  const $scope33_id = _scope_id();
15801
15861
  _html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope33_id, "b", port, 2)}</button>${_el_resume($scope33_id, "a")}`);
15802
15862
  _script($scope33_id, "p28");
15803
15863
  writeScope($scope33_id, { d: port });
15804
15864
  }, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
15805
- _html(`<span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15806
- "_bL",
15865
+ _html(`<span${_attr_class(["_y", "_eL"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15866
+ "_b4",
15807
15867
  "_7",
15808
- "_gg"
15868
+ "_eT"
15809
15869
  ])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
15810
15870
  icon_xmark_default({ size: 14 });
15811
15871
  _html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
@@ -15826,28 +15886,28 @@ var manage_workspace_default = _template("p", (input) => {
15826
15886
  s,
15827
15887
  linked: false
15828
15888
  }))].sort((a, b) => a.s.name.localeCompare(b.s.name));
15829
- _html(`</div><div${_attr_class("_eh")}>`);
15889
+ _html(`</div><div${_attr_class("_cY")}>`);
15830
15890
  _if(() => {
15831
15891
  if (allSkills.length) {
15832
15892
  const $scope2_id = _scope_id();
15833
- _html(`<section${_attr_class("_bB")}><div${_attr_class("_bC")}><h2${_attr_class("_bP")}>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, "_cS"])}>`);
15893
+ _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>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, "_ek"])}>`);
15834
15894
  _for_of(allSkills, ({ s, linked }) => {
15835
15895
  const $scope3_id = _scope_id();
15836
15896
  const isBusy = skillBusy.has(s.id);
15837
- _html(`<li${_attr_class([skillRow, { ["_ga"]: !linked }])}><span${_attr_class("_gc")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15897
+ _html(`<li${_attr_class([skillRow, { ["_eN"]: !linked }])}><span${_attr_class("_eP")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15838
15898
  _if(() => {
15839
15899
  if (s.worktree && !s.broken) {
15840
15900
  const $scope34_id = _scope_id();
15841
15901
  _html(`<span${_attr_class([
15842
15902
  "_N",
15843
15903
  "_y",
15844
- "_gd"
15904
+ "_eQ"
15845
15905
  ])}${linked ? _attr("title", `Linked from ${s.worktree}/ in this workspace`) : _attr("title", `Ships in ${s.worktree}/ — not linked into this workspace yet`)}>${_text_resume($scope34_id, "b", s.worktree)}/</span>${_el_resume($scope34_id, "a")}`);
15846
15906
  writeScope($scope34_id, {});
15847
15907
  return 0;
15848
15908
  }
15849
15909
  }, $scope3_id, "e", 1, 1, 1, 0, 1);
15850
- _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("_cX")}>`);
15910
+ _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("_ep")}>`);
15851
15911
  _if(() => {
15852
15912
  if (s.broken) {
15853
15913
  const $scope35_id = _scope_id();
@@ -15895,10 +15955,10 @@ var manage_workspace_default = _template("p", (input) => {
15895
15955
  const $childScope6 = _peek_scope_id();
15896
15956
  arm_button_default({
15897
15957
  class: [
15898
- "_bL",
15958
+ "_b4",
15899
15959
  "_7",
15900
15960
  "_8",
15901
- "_gf"
15961
+ "_eS"
15902
15962
  ],
15903
15963
  disabled: isBusy,
15904
15964
  busy: isBusy,
@@ -16006,11 +16066,12 @@ var manage_workspace_default = _template("p", (input) => {
16006
16066
  cm: $skillBusy__closures,
16007
16067
  cq: $skills__closures
16008
16068
  });
16069
+ _resume_branch($scope0_id);
16009
16070
  });
16010
- var curRow = "_fg _cT";
16011
- var archived = "_fl _bB";
16012
- var archivedHint = "_fm _W";
16013
- var archivedRow = "_fn _cR _cP";
16071
+ var curRow = "_eB _el";
16072
+ var archived = "_eG _bU";
16073
+ var archivedHint = "_eH _W";
16074
+ var archivedRow = "_eI _ej _eh";
16014
16075
  //#endregion
16015
16076
  //#region src/tags/icons/icon-group.marko
16016
16077
  var icon_group_default = _template("jb", (input) => {
@@ -16030,8 +16091,8 @@ var icon_group_default = _template("jb", (input) => {
16030
16091
  });
16031
16092
  //#endregion
16032
16093
  //#region src/tags/join-dialog.css.ts
16033
- var dlg = "_hS _g2";
16034
- var hint = "_hT _W";
16094
+ var dlg = "_if _hH";
16095
+ var hint = "_ig _W";
16035
16096
  //#endregion
16036
16097
  //#region src/tags/join-dialog.marko
16037
16098
  var api$3;
@@ -16155,30 +16216,31 @@ var join_dialog_default = _template("m", (input) => {
16155
16216
  Ca9: 1,
16156
16217
  Cad: 1
16157
16218
  }))));
16219
+ _resume_branch($scope2_id);
16158
16220
  }, $scope0_id) }),
16159
16221
  content: _content("m12", () => {
16160
16222
  _scope_reason();
16161
16223
  const $scope1_id = _scope_id();
16162
- _html(`<h2${_attr_class("_g3")}${_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([
16224
+ _html(`<h2${_attr_class("_hI")}${_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([
16163
16225
  "_Y",
16164
16226
  "_y",
16165
- "_hV"
16227
+ "_ii"
16166
16228
  ])} placeholder="{ &#34;name&#34;: …, &#34;branch&#34;: …, &#34;repos&#34;: [&#34;owner/name&#34;, …] }" 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")}`);
16167
16229
  _if(() => {
16168
16230
  if (parsed.error) {
16169
16231
  const $scope8_id = _scope_id();
16170
- _html(`<p${_attr_class([hint, "_hU"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16232
+ _html(`<p${_attr_class([hint, "_ih"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16171
16233
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
16172
16234
  return 0;
16173
16235
  } else if (parsed.ok) {
16174
16236
  const $scope3_id = _scope_id();
16175
- _html(`<ul${_attr_class("_hW")}>`);
16237
+ _html(`<ul${_attr_class("_ij")}>`);
16176
16238
  _for_of(parsed.ok.repos, (fullName) => {
16177
16239
  const $scope9_id = _scope_id();
16178
- _html(`<li${_attr_class("_hX")}><span${_attr_class("_hY")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
16240
+ _html(`<li${_attr_class("_ik")}><span${_attr_class("_il")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
16179
16241
  writeScope($scope9_id, {});
16180
16242
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
16181
- _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("_hZ")}><span${_attr_class("_bP")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16243
+ _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("_im")}><span${_attr_class("_b8")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16182
16244
  name = _new_name;
16183
16245
  }, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
16184
16246
  _script($scope3_id, "m8");
@@ -16205,6 +16267,7 @@ var join_dialog_default = _template("m", (input) => {
16205
16267
  _: _scope_with_id($scope4_id),
16206
16268
  Caa: 1
16207
16269
  }));
16270
+ _resume_branch($scope5_id);
16208
16271
  }, $scope4_id)
16209
16272
  });
16210
16273
  writeScope($scope4_id, {});
@@ -16214,10 +16277,10 @@ var join_dialog_default = _template("m", (input) => {
16214
16277
  _if(() => {
16215
16278
  if (busy && steps$2.length) {
16216
16279
  const $scope6_id = _scope_id();
16217
- _html(`<ul${_attr_class("_h0")}>`);
16280
+ _html(`<ul${_attr_class("_in")}>`);
16218
16281
  _for_of(steps$2, (step$2, i) => {
16219
16282
  const $scope7_id = _scope_id();
16220
- _html(`<li${_attr_class(["_h2", { ["_h1"]: i === steps$2.length - 1 }])}>`);
16283
+ _html(`<li${_attr_class(["_ip", { ["_io"]: i === steps$2.length - 1 }])}>`);
16221
16284
  _if(() => {
16222
16285
  if (i === steps$2.length - 1) {
16223
16286
  const $scope10_id = _scope_id();
@@ -16226,7 +16289,7 @@ var join_dialog_default = _template("m", (input) => {
16226
16289
  return 0;
16227
16290
  } else {
16228
16291
  const $scope11_id = _scope_id();
16229
- _html(`<span${_attr_class("_h3")}>`);
16292
+ _html(`<span${_attr_class("_iq")}>`);
16230
16293
  icon_check_default({ size: 14 });
16231
16294
  _html("</span>");
16232
16295
  writeScope($scope11_id, {});
@@ -16242,6 +16305,7 @@ var join_dialog_default = _template("m", (input) => {
16242
16305
  }, $scope1_id, "f", 1, 1, 1, 0, 1);
16243
16306
  _script($scope1_id, "m10");
16244
16307
  _subscribe($setInvite2__closures, _subscribe($parsed_error__closures, _subscribe($parsed_ok__closures, _subscribe($steps_length__closures, _subscribe($error__closures, _subscribe($busy__closures, _subscribe($invite__closures, writeScope($scope1_id, { _: _scope_with_id($scope0_id) }))))))));
16308
+ _resume_branch($scope1_id);
16245
16309
  }, $scope0_id)
16246
16310
  });
16247
16311
  writeScope($scope0_id, {
@@ -16280,6 +16344,7 @@ var join_dialog_default = _template("m", (input) => {
16280
16344
  ai: $setInvite2__closures,
16281
16345
  a: _existing_scope($childScope)
16282
16346
  });
16347
+ _resume_branch($scope0_id);
16283
16348
  });
16284
16349
  //#endregion
16285
16350
  //#region src/tags/new-workspace.marko
@@ -16382,7 +16447,7 @@ var new_workspace_default = _template("s", (input) => {
16382
16447
  }
16383
16448
  }, "s6", $scope0_id);
16384
16449
  const titleId = _id();
16385
- _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
16450
+ _html(`<div${_attr_class("_cV")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cW")}><div${_attr_class("_cX")}>`);
16386
16451
  _set_serialize_reason({
16387
16452
  0: _serialize_guard($scope0_reason, 2),
16388
16453
  1: $sg__input_backHref__OR__input_onExit,
@@ -16403,9 +16468,10 @@ var new_workspace_default = _template("s", (input) => {
16403
16468
  _html(`</button>${_el_resume($scope2_id, "a")}`);
16404
16469
  _script($scope2_id, "s15");
16405
16470
  _subscribe($busy__closures, writeScope($scope2_id, { _: _scope_with_id($scope0_id) }));
16471
+ _resume_branch($scope2_id);
16406
16472
  }, $scope0_id) })
16407
16473
  });
16408
- _html(`<div${_attr_class("_eh")}>`);
16474
+ _html(`<div${_attr_class("_cY")}>`);
16409
16475
  _if(() => {
16410
16476
  if (error) {
16411
16477
  const $scope7_id = _scope_id();
@@ -16419,15 +16485,16 @@ var new_workspace_default = _template("s", (input) => {
16419
16485
  const $scope8_id = _scope_id();
16420
16486
  _html(_text_resume($scope8_id, "a", error));
16421
16487
  _subscribe($error__closures, writeScope($scope8_id, { _: _scope_with_id($scope7_id) }));
16488
+ _resume_branch($scope8_id);
16422
16489
  }, $scope7_id)
16423
16490
  });
16424
16491
  writeScope($scope7_id, {});
16425
16492
  return 0;
16426
16493
  }
16427
16494
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
16428
- _html(`<label${_attr_class("_fb")}><span${_attr_class("_bP")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16495
+ _html(`<label${_attr_class("_ew")}><span${_attr_class("_b8")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16429
16496
  name = _new_name;
16430
- }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_bB")}><div${_attr_class("_fe")}><h2${_attr_class("_bP")}>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, "_fd"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16497
+ }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_bU")}><div${_attr_class("_ez")}><h2${_attr_class("_b8")}>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, "_ey"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16431
16498
  icon_plus_default({ size: 16 });
16432
16499
  _html(`</button>${_el_resume($scope0_id, "p")}`);
16433
16500
  _set_serialize_reason(34);
@@ -16465,14 +16532,14 @@ var new_workspace_default = _template("s", (input) => {
16465
16532
  _html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(list$2)}>`);
16466
16533
  _for_of(selected, (repo) => {
16467
16534
  const $scope3_id = _scope_id();
16468
- _html(`<li${_attr_class("_ff")}><div${_attr_class(curRow)}><span${_attr_class("_cV")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cX")}>`);
16535
+ _html(`<li${_attr_class("_eA")}><div${_attr_class(curRow)}><span${_attr_class("_en")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_ep")}>`);
16469
16536
  _if(() => {
16470
16537
  if (repo.fork !== void 0) {
16471
16538
  const $scope4_id = _scope_id();
16472
16539
  _html(`<button${_attr_class([
16473
16540
  chip$1,
16474
- "_c1",
16475
- { ["_cZ"]: repo.fork }
16541
+ "_et",
16542
+ { ["_er"]: repo.fork }
16476
16543
  ])}${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)}>`);
16477
16544
  _if(() => {
16478
16545
  if (repo.fork) {
@@ -16496,7 +16563,7 @@ var new_workspace_default = _template("s", (input) => {
16496
16563
  _html(`<button${_attr_class([
16497
16564
  chip$1,
16498
16565
  "_y",
16499
- { ["_cZ"]: branchesFor === repo.fullName }
16566
+ { ["_er"]: branchesFor === repo.fullName }
16500
16567
  ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16501
16568
  icon_branch_default({ size: 12 });
16502
16569
  _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)}>`);
@@ -16505,7 +16572,7 @@ var new_workspace_default = _template("s", (input) => {
16505
16572
  _if(() => {
16506
16573
  if (branchesFor === repo.fullName) {
16507
16574
  const $scope9_id = _scope_id();
16508
- _html(`<div${_attr_class("_fh")}>`);
16575
+ _html(`<div${_attr_class("_eC")}>`);
16509
16576
  const $childScope4 = _peek_scope_id();
16510
16577
  branch_pick_default({
16511
16578
  repo: repo.fullName,
@@ -16534,7 +16601,7 @@ var new_workspace_default = _template("s", (input) => {
16534
16601
  _if(() => {
16535
16602
  if (!selected.length) {
16536
16603
  const $scope14_id = _scope_id();
16537
- _html(`<li${_attr_class(["_cT", "_cY"])}>No repos yet. Add one above, or create it empty.</li>`);
16604
+ _html(`<li${_attr_class(["_el", "_eq"])}>No repos yet. Add one above, or create it empty.</li>`);
16538
16605
  writeScope($scope14_id, {});
16539
16606
  return 0;
16540
16607
  }
@@ -16543,10 +16610,10 @@ var new_workspace_default = _template("s", (input) => {
16543
16610
  _if(() => {
16544
16611
  if (busy && steps.length) {
16545
16612
  const $scope10_id = _scope_id();
16546
- _html(`<ul${_attr_class("_fi")}>`);
16613
+ _html(`<ul${_attr_class("_eD")}>`);
16547
16614
  _for_of(steps, (step, i) => {
16548
16615
  const $scope11_id = _scope_id();
16549
- _html(`<li${_attr_class(["_fo", { ["_fj"]: i === steps.length - 1 }])}>`);
16616
+ _html(`<li${_attr_class(["_eJ", { ["_eE"]: i === steps.length - 1 }])}>`);
16550
16617
  _if(() => {
16551
16618
  if (i === steps.length - 1) {
16552
16619
  const $scope15_id = _scope_id();
@@ -16555,7 +16622,7 @@ var new_workspace_default = _template("s", (input) => {
16555
16622
  return 0;
16556
16623
  } else {
16557
16624
  const $scope16_id = _scope_id();
16558
- _html(`<span${_attr_class("_fk")}>`);
16625
+ _html(`<span${_attr_class("_eF")}>`);
16559
16626
  icon_check_default({ size: 14 });
16560
16627
  _html("</span>");
16561
16628
  writeScope($scope16_id, {});
@@ -16569,18 +16636,18 @@ var new_workspace_default = _template("s", (input) => {
16569
16636
  return 0;
16570
16637
  }
16571
16638
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
16572
- _html(`<div${_attr_class("_e_")}><button type=button${_attr_class([
16639
+ _html(`<div${_attr_class("_eu")}><button type=button${_attr_class([
16573
16640
  btnLg,
16574
16641
  "_r",
16575
- "_fa"
16576
- ])}${_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("_eh")}>`);
16642
+ "_ev"
16643
+ ])}${_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("_cY")}>`);
16577
16644
  _if(() => {
16578
16645
  if (archived$1.length) {
16579
16646
  const $scope5_id = _scope_id();
16580
- _html(`<section${_attr_class(archived)}><div${_attr_class("_fe")}><h2${_attr_class("_bP")}>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)}>`);
16647
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_ez")}><h2${_attr_class("_b8")}>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)}>`);
16581
16648
  _for_of(archived$1, (ws) => {
16582
16649
  const $scope6_id = _scope_id();
16583
- _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_bH")}><span${_attr_class("_bI")}>${_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)}>`);
16650
+ _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_b0")}><span${_attr_class("_b1")}>${_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)}>`);
16584
16651
  _if(() => {
16585
16652
  if (restoring === ws.id) {
16586
16653
  const $scope17_id = _scope_id();
@@ -16658,6 +16725,7 @@ var new_workspace_default = _template("s", (input) => {
16658
16725
  ba: $steps_length__closures,
16659
16726
  b7: $restoring__closures
16660
16727
  });
16728
+ _resume_branch($scope0_id);
16661
16729
  });
16662
16730
  //#endregion
16663
16731
  //#region src/tags/term-find.marko
@@ -16696,19 +16764,19 @@ var term_find_default = _template("H", (input) => {
16696
16764
  const canStep = hasQuery && open;
16697
16765
  const keybar = input.placement === "keybar";
16698
16766
  _html(`<div${_attr_class([
16699
- "_eu",
16700
- keybar ? "_ew" : "_ev",
16701
- !open && "_ey"
16702
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eo", keybar ? "_ex" : "_er"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16767
+ "_cz",
16768
+ keybar ? "_cB" : "_cA",
16769
+ !open && "_cD"
16770
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_ct", keybar ? "_cC" : "_cw"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16703
16771
  if (!open) return;
16704
16772
  query = v;
16705
16773
  live.query = v;
16706
16774
  run(0);
16707
- }, "H1", $scope0_id))}${_attr_class([findInput, keybar && "_ez"])} 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 && "_eA"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16775
+ }, "H1", $scope0_id))}${_attr_class([findInput, keybar && "_cE"])} 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 && "_cF"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16708
16776
  icon_arrow_up_default({ size: 14 });
16709
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16777
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_cF"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16710
16778
  icon_arrow_down_default({ size: 14 });
16711
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16779
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_cF"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16712
16780
  icon_xmark_default({ size: 14 });
16713
16781
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
16714
16782
  const $return = focusInput;
@@ -16734,6 +16802,7 @@ var term_find_default = _template("H", (input) => {
16734
16802
  ac: keybar,
16735
16803
  t: input.openChange || void 0
16736
16804
  });
16805
+ _resume_branch($scope0_id);
16737
16806
  return $return;
16738
16807
  });
16739
16808
  //#endregion
@@ -16858,7 +16927,7 @@ var term_default = _template("I", (input) => {
16858
16927
  }
16859
16928
  }, "I9", $scope0_id);
16860
16929
  input.keys;
16861
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_eL")}><div${_attr_class("_eM")}></div>${_el_resume($scope0_id, "b")}`);
16930
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dd")}><div${_attr_class("_de")}></div>${_el_resume($scope0_id, "b")}`);
16862
16931
  _if(() => {
16863
16932
  if (findOpen) {
16864
16933
  const $scope4_id = _scope_id();
@@ -16885,7 +16954,7 @@ var term_default = _template("I", (input) => {
16885
16954
  _if(() => {
16886
16955
  if (uploading) {
16887
16956
  const $scope5_id = _scope_id();
16888
- _html(`<div${_attr_class("_eS")}>uploading…</div>`);
16957
+ _html(`<div${_attr_class("_dk")}>uploading…</div>`);
16889
16958
  writeScope($scope5_id, {});
16890
16959
  return 0;
16891
16960
  }
@@ -16893,7 +16962,7 @@ var term_default = _template("I", (input) => {
16893
16962
  _if(() => {
16894
16963
  if (copiedFlash) {
16895
16964
  const $scope6_id = _scope_id();
16896
- _html(`<div${_attr_class("_eR")}>Copied</div>`);
16965
+ _html(`<div${_attr_class("_dj")}>Copied</div>`);
16897
16966
  writeScope($scope6_id, {});
16898
16967
  return 0;
16899
16968
  }
@@ -16902,7 +16971,7 @@ var term_default = _template("I", (input) => {
16902
16971
  _if(() => {
16903
16972
  if (trapOpen) {
16904
16973
  const $scope3_id = _scope_id();
16905
- _html(`<div${_attr_class("_eT")}><div${_attr_class("_eU")}><p${_attr_class("_eV")}>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")}`);
16974
+ _html(`<div${_attr_class("_dl")}><div${_attr_class("_dm")}><p${_attr_class("_dn")}>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")}`);
16906
16975
  _script($scope3_id, "I16");
16907
16976
  _script($scope3_id, "I17");
16908
16977
  writeScope($scope3_id, {});
@@ -16948,6 +17017,7 @@ var term_default = _template("I", (input) => {
16948
17017
  ar: pasteClipboard,
16949
17018
  au: input.keysChange || void 0
16950
17019
  });
17020
+ _resume_branch($scope0_id);
16951
17021
  });
16952
17022
  //#endregion
16953
17023
  //#region src/tags/work-view.marko
@@ -17163,7 +17233,7 @@ var work_view_default = _template("N", (input) => {
17163
17233
  toggleDiff();
17164
17234
  }
17165
17235
  }, "N14", $scope0_id);
17166
- _html(`<div${_attr_class(["_bv", { ["_bu"]: !input.active }])}><div${_attr_class("_bw")}>`);
17236
+ _html(`<div${_attr_class(["_bO", { ["_bN"]: !input.active }])}><div${_attr_class("_bP")}>`);
17167
17237
  _if(() => {
17168
17238
  if (error) {
17169
17239
  const $scope8_id = _scope_id();
@@ -17176,6 +17246,7 @@ var work_view_default = _template("N", (input) => {
17176
17246
  const $scope9_id = _scope_id();
17177
17247
  _html(_text_resume($scope9_id, "a", error));
17178
17248
  _subscribe($error__closures, writeScope($scope9_id, { _: _scope_with_id($scope8_id) }));
17249
+ _resume_branch($scope9_id);
17179
17250
  }, $scope8_id)
17180
17251
  });
17181
17252
  writeScope($scope8_id, {});
@@ -17185,7 +17256,7 @@ var work_view_default = _template("N", (input) => {
17185
17256
  _if(() => {
17186
17257
  if (diffMounted && ws) {
17187
17258
  const $scope1_id = _scope_id();
17188
- _html(`<div${_attr_class("_bx")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
17259
+ _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
17189
17260
  _set_serialize_reason({
17190
17261
  0: $sg__input_workspace,
17191
17262
  1: $sg__input_workspace,
@@ -17247,7 +17318,7 @@ var work_view_default = _template("N", (input) => {
17247
17318
  _if(() => {
17248
17319
  if (manageMounted && ws) {
17249
17320
  const $scope2_id = _scope_id();
17250
- _html(`<div${_attr_class("_bx")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
17321
+ _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
17251
17322
  _set_serialize_reason({
17252
17323
  0: $sg__input_workspace,
17253
17324
  1: _serialize_guard($scope0_reason, 9)
@@ -17273,7 +17344,7 @@ var work_view_default = _template("N", (input) => {
17273
17344
  _if(() => {
17274
17345
  if (settingsMounted) {
17275
17346
  const $scope3_id = _scope_id();
17276
- _html(`<div${_attr_class("_bx")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
17347
+ _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
17277
17348
  _set_serialize_reason({
17278
17349
  0: _serialize_guard($scope0_reason, 0),
17279
17350
  1: $sg__input_workspace,
@@ -17315,7 +17386,7 @@ var work_view_default = _template("N", (input) => {
17315
17386
  _if(() => {
17316
17387
  if (newMounted) {
17317
17388
  const $scope4_id = _scope_id();
17318
- _html(`<div${_attr_class("_bx")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
17389
+ _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
17319
17390
  _set_serialize_reason({
17320
17391
  0: 1,
17321
17392
  1: _serialize_guard($scope0_reason, 13),
@@ -17340,13 +17411,13 @@ var work_view_default = _template("N", (input) => {
17340
17411
  return 0;
17341
17412
  }
17342
17413
  }, $scope0_id, "g", 1, 1, 1, 0, 1);
17343
- _html(`<div${_attr_class("_by")}${_attr("inert", view !== "term")}>`);
17414
+ _html(`<div${_attr_class("_bR")}${_attr("inert", view !== "term")}>`);
17344
17415
  _if(() => {
17345
17416
  if (ws && shownSessions) {
17346
17417
  const $scope5_id = _scope_id();
17347
17418
  _for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
17348
17419
  const $scope6_id = _scope_id();
17349
- _html(`<div${_attr_class("_bz")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
17420
+ _html(`<div${_attr_class("_bS")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
17350
17421
  _set_serialize_reason(2);
17351
17422
  const $childScope5 = _peek_scope_id();
17352
17423
  term_default({
@@ -17372,7 +17443,7 @@ var work_view_default = _template("N", (input) => {
17372
17443
  _if(() => {
17373
17444
  if (!shownSessions.length && view === "term") {
17374
17445
  const $scope7_id = _scope_id();
17375
- _html(`<div${_attr_class("_bN")}><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>`);
17446
+ _html(`<div${_attr_class("_b6")}><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>`);
17376
17447
  _script($scope7_id, "N39");
17377
17448
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
17378
17449
  return 0;
@@ -17382,7 +17453,7 @@ var work_view_default = _template("N", (input) => {
17382
17453
  return 0;
17383
17454
  } else if (ws) {
17384
17455
  const $scope10_id = _scope_id();
17385
- _html(`<p${_attr_class("_bN")}>Loading sessions…</p>`);
17456
+ _html(`<p${_attr_class("_b6")}>Loading sessions…</p>`);
17386
17457
  writeScope($scope10_id, {});
17387
17458
  return 1;
17388
17459
  }
@@ -17481,10 +17552,11 @@ var work_view_default = _template("N", (input) => {
17481
17552
  co: $si__input_preferred && $input_preferred__closures,
17482
17553
  db: $spawning__closures
17483
17554
  });
17555
+ _resume_branch($scope0_id);
17484
17556
  });
17485
17557
  //#endregion
17486
17558
  //#region src/tags/key-bar.css.ts
17487
- var kbtn = "_cj _5 _l";
17559
+ var kbtn = "_bG _5 _l";
17488
17560
  _template("yb", (input) => {
17489
17561
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
17490
17562
  const $scope0_id = _scope_id();
@@ -17500,8 +17572,8 @@ _template("yb", (input) => {
17500
17572
  });
17501
17573
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17502
17574
  });
17503
- var sessOpen = "_e0 _I";
17504
- var sessRename = "_e4 _J";
17575
+ var sessOpen = "_cK _I";
17576
+ var sessRename = "_cO _J";
17505
17577
  //#endregion
17506
17578
  //#region src/tags/usage-pcts.marko
17507
17579
  var usage_pcts_default = _template("M", (input) => {
@@ -17513,22 +17585,22 @@ var usage_pcts_default = _template("M", (input) => {
17513
17585
  if (windows.length) {
17514
17586
  const $scope1_id = _scope_id();
17515
17587
  _html(`<span${_attr_class([
17516
- "_hM",
17588
+ "_g1",
17517
17589
  input.class,
17518
- { ["_hN"]: agent.stale_seconds != null }
17590
+ { ["_g2"]: agent.stale_seconds != null }
17519
17591
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
17520
17592
  _for_of(windows, (win$1, i) => {
17521
17593
  const $scope2_id = _scope_id();
17522
- _html(`<span${_attr_class("_hO")}>`);
17594
+ _html(`<span${_attr_class("_g3")}>`);
17523
17595
  _if(() => {
17524
17596
  if (i) {
17525
17597
  const $scope3_id = _scope_id();
17526
- _html(`<span${_attr_class("_hR")} aria-hidden=true>·</span>`);
17598
+ _html(`<span${_attr_class("_g6")} aria-hidden=true>·</span>`);
17527
17599
  $si__input_agent && writeScope($scope3_id, {});
17528
17600
  return 0;
17529
17601
  }
17530
17602
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
17531
- _html(`<span${_attr_class("_hP")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hQ", win$1.used_percent >= 90 ? "_hp" : win$1.used_percent >= 70 ? "_ho" : win$1.used_percent >= 40 ? "_hn" : "_hm"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17603
+ _html(`<span${_attr_class("_g4")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_g5", win$1.used_percent >= 90 ? "_hw" : win$1.used_percent >= 70 ? "_hv" : win$1.used_percent >= 40 ? "_hu" : "_ht"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17532
17604
  $si__input_agent && writeScope($scope2_id, {});
17533
17605
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
17534
17606
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -17570,7 +17642,7 @@ _template("n", (input) => {
17570
17642
  align: "center",
17571
17643
  gap: 8
17572
17644
  }), "n2", $scope0_id);
17573
- _html(`<button${_attr_class([kbtn, "_eW"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17645
+ _html(`<button${_attr_class([kbtn, "_cG"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17574
17646
  _set_serialize_reason({
17575
17647
  1: $sg__input_sessions__OR__input_sessionId,
17576
17648
  2: $sg__input_sessions__OR__input_sessionId
@@ -17584,11 +17656,11 @@ _template("n", (input) => {
17584
17656
  "_A",
17585
17657
  "_bb",
17586
17658
  phase[sessionPhase(current$2?.state)]
17587
- ])}></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", "_eX"])}>`);
17659
+ ])}></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", "_cH"])}>`);
17588
17660
  _for_of(input.sessions, (s) => {
17589
17661
  const $scope1_id = _scope_id();
17590
17662
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
17591
- _html(`<div${_attr_class(["_eZ", { ["_eY"]: s.id === input.sessionId }])}>`);
17663
+ _html(`<div${_attr_class(["_cJ", { ["_cI"]: s.id === input.sessionId }])}>`);
17592
17664
  _if(() => {
17593
17665
  if (renamingId === s.id) {
17594
17666
  const $scope5_id = _scope_id();
@@ -17620,7 +17692,7 @@ _template("n", (input) => {
17620
17692
  agent: activeAgent(s),
17621
17693
  size: 14
17622
17694
  });
17623
- _html(`<span${_attr_class("_e1")}><span${_attr_class("_e3")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17695
+ _html(`<span${_attr_class("_cL")}><span${_attr_class("_cN")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17624
17696
  _if(() => {
17625
17697
  if (s.id === input.sessionId) {
17626
17698
  const $scope7_id = _scope_id();
@@ -17632,7 +17704,7 @@ _template("n", (input) => {
17632
17704
  const $childScope4 = _peek_scope_id();
17633
17705
  usage_pcts_default({
17634
17706
  agent: plan,
17635
- class: "_e2"
17707
+ class: "_cM"
17636
17708
  });
17637
17709
  writeScope($scope8_id, { a: _existing_scope($childScope4) });
17638
17710
  return 0;
@@ -17649,7 +17721,7 @@ _template("n", (input) => {
17649
17721
  _if(() => {
17650
17722
  if (input.onRenameSession) {
17651
17723
  const $scope6_id = _scope_id();
17652
- _html(`<button${_attr_class(["_e5", "_e6"])} title="Rename session">`);
17724
+ _html(`<button${_attr_class(["_cP", "_cQ"])} title="Rename session">`);
17653
17725
  icon_edit_default({ size: 12 });
17654
17726
  _html(`</button>${_el_resume($scope6_id, "a")}`);
17655
17727
  _script($scope6_id, "n5");
@@ -17661,7 +17733,7 @@ _template("n", (input) => {
17661
17733
  if (input.onCloseSession) {
17662
17734
  const $scope3_id = _scope_id();
17663
17735
  arm_button_default({
17664
- class: ["_e5", "_7"],
17736
+ class: ["_cP", "_7"],
17665
17737
  title: "Close session",
17666
17738
  armedTitle: "Close?",
17667
17739
  onFire: _resume(function() {
@@ -17693,7 +17765,7 @@ _template("n", (input) => {
17693
17765
  m: $si__input_sessions && $for_content__s_agent__closures
17694
17766
  });
17695
17767
  }, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
17696
- _html(`<div${_attr_class("_e7")}><span${_attr_class("_e8")}>New session</span><div${_attr_class("_e9")}>`);
17768
+ _html(`<div${_attr_class("_cR")}><span${_attr_class("_cS")}>New session</span><div${_attr_class("_cT")}>`);
17697
17769
  _for_of(["shell", ...input.agents], (agent) => {
17698
17770
  const $scope4_id = _scope_id();
17699
17771
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -17735,6 +17807,7 @@ _template("n", (input) => {
17735
17807
  a5: $si__input_onRenameSession && $input_onRenameSession__closures,
17736
17808
  a6: $si__input_onCloseSession && $input_onCloseSession__closures
17737
17809
  });
17810
+ _resume_branch($scope0_id);
17738
17811
  });
17739
17812
  _template("db", (input) => {
17740
17813
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
@@ -17834,13 +17907,13 @@ var key_bar_default = _template("o", (input) => {
17834
17907
  const $scope0_reason = _scope_reason();
17835
17908
  _serialize_guard($scope0_reason, 0);
17836
17909
  const $si__input_mode__OR__input_keys = _serialize_if($scope0_reason, 0);
17837
- _serialize_guard($scope0_reason, 5);
17838
17910
  _serialize_guard($scope0_reason, 7);
17839
17911
  _serialize_guard($scope0_reason, 1);
17840
17912
  _serialize_guard($scope0_reason, 10);
17841
17913
  const $si__input_mode = _serialize_if($scope0_reason, 9);
17842
17914
  _serialize_guard($scope0_reason, 2);
17843
17915
  _serialize_guard($scope0_reason, 18);
17916
+ _serialize_guard($scope0_reason, 5);
17844
17917
  const $si__input_mode__OR__input_keys__OR__input_reviewFindOpen = _serialize_if($scope0_reason, 5), $si__input_workspaceId = _serialize_if($scope0_reason, 10), $si__input_sessions = _serialize_if($scope0_reason, 11), $si__input_sessionId = _serialize_if($scope0_reason, 12), $si__input_agents = _serialize_if($scope0_reason, 13), $si__input_onNewSession = _serialize_if($scope0_reason, 14), $si__input_onOpenTab = _serialize_if($scope0_reason, 15), $si__input_onCloseSession = _serialize_if($scope0_reason, 16), $si__input_onRenameSession = _serialize_if($scope0_reason, 17), $si__input_workspaceName = _serialize_if($scope0_reason, 18);
17845
17918
  const $scope0_id = _scope_id();
17846
17919
  const $keys__closures = /* @__PURE__ */ new Set();
@@ -17928,6 +18001,7 @@ var key_bar_default = _template("o", (input) => {
17928
18001
  am: $si__input_mode && $onTermPage__closures,
17929
18002
  al: $si__input_workspaceName && $input_workspaceName__closures
17930
18003
  });
18004
+ _resume_branch($scope0_id);
17931
18005
  });
17932
18006
  //#endregion
17933
18007
  //#region src/tags/app-shell.marko
@@ -18098,6 +18172,7 @@ var app_shell_default = _template("d", (input) => {
18098
18172
  const $scope5_id = _scope_id();
18099
18173
  _html(_text_resume($scope5_id, "a", error));
18100
18174
  _subscribe($error__closures, writeScope($scope5_id, { _: _scope_with_id($scope4_id) }));
18175
+ _resume_branch($scope5_id);
18101
18176
  }, $scope4_id)
18102
18177
  });
18103
18178
  writeScope($scope4_id, {});
@@ -18423,11 +18498,12 @@ var app_shell_default = _template("d", (input) => {
18423
18498
  c8: $openWorkspace2__closures,
18424
18499
  h: _existing_scope($childScope4)
18425
18500
  });
18501
+ _resume_branch($scope0_id);
18426
18502
  });
18427
18503
  //#endregion
18428
18504
  //#region src/tags/app-page.marko
18429
18505
  var app_page_default = _template("c", (input) => {
18430
- const $scope0_reason = _scope_reason(), $sg__input_initial = _serialize_guard($scope0_reason, 0);
18506
+ const $scope0_reason = _scope_reason();
18431
18507
  const $scope0_id = _scope_id();
18432
18508
  const { workspaces, settings, prefs, status, setup, usage } = $global().data;
18433
18509
  const base = {
@@ -18438,7 +18514,7 @@ var app_page_default = _template("c", (input) => {
18438
18514
  usage: usage ?? null
18439
18515
  };
18440
18516
  _html(`<main${_attr_class("_c")}>`);
18441
- _set_serialize_reason($sg__input_initial);
18517
+ _set_serialize_reason(_serialize_guard($scope0_reason, 0));
18442
18518
  const $childScope = _peek_scope_id();
18443
18519
  app_shell_default({
18444
18520
  boot: {
@@ -26449,21 +26525,47 @@ var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server()
26449
26525
  * same question through tmux passthrough to choose between a real image and
26450
26526
  * chafa's ASCII art. Answering without the 4 is how a pane that can show
26451
26527
  * pictures ends up saying "failed to spawn chafa". The claim is true: the
26452
- * browser terminal decodes sixel (@xterm/addon-image in term.marko). */
26528
+ * browser terminal decodes sixel (@xterm/addon-image in term.marko).
26529
+ *
26530
+ * The two XTWINOPS size queries are tmux's, sent on every attach: it needs
26531
+ * the client's cell size before it will paint a stored image, and the pty's
26532
+ * winsize never carries one (node-pty leaves the pixel fields at zero). The
26533
+ * server knows the grid from the handshake and the pixels from what the
26534
+ * client reports, so it answers both without the query ever leaving the
26535
+ * machine — see the note on `push` for why that matters.
26536
+ */
26453
26537
  var queries = [
26454
- ["\x1B[>0c", "\x1B[>0;276;0c"],
26455
- ["\x1B[>c", "\x1B[>0;276;0c"],
26456
- ["\x1B[0c", "\x1B[?1;2;4c"],
26457
- ["\x1B[c", "\x1B[?1;2;4c"]
26538
+ ["\x1B[>0c", () => "\x1B[>0;276;0c"],
26539
+ ["\x1B[>c", () => "\x1B[>0;276;0c"],
26540
+ ["\x1B[0c", () => "\x1B[?1;2;4c"],
26541
+ ["\x1B[c", () => "\x1B[?1;2;4c"],
26542
+ ["\x1B[18t", (s) => `\x1b[8;${s.rows};${s.cols}t`],
26543
+ ["\x1B[14t", (s) => s.pixels ? `\x1b[4;${s.pixels[1]};${s.pixels[0]}t` : null]
26458
26544
  ];
26459
26545
  /**
26460
- * Answer terminal identity probes beside the PTY instead of making them
26461
- * cross the browser websocket. A short-lived TUI can otherwise exit before
26462
- * xterm's answer returns, leaving the answer as editable text at the shell
26463
- * prompt. The carry handles an escape sequence split between PTY reads.
26546
+ * Answer terminal identity and size probes beside the PTY instead of making
26547
+ * them cross the browser websocket. A short-lived TUI can otherwise exit
26548
+ * before xterm's answer returns, leaving the answer as editable text at the
26549
+ * shell prompt. The carry handles an escape sequence split between PTY
26550
+ * reads.
26551
+ *
26552
+ * For the size probes the round trip is worse than late — it is unbalanced.
26553
+ * tmux absorbs a size reply only while it still has a query outstanding;
26554
+ * one reply more than it asked for is passed straight through to the pane
26555
+ * as if typed, which is how `8;42;49t4;714;392t` ends up in an agent's
26556
+ * input box. A reply can outlive its query: the client queues anything it
26557
+ * produces while the socket is closed (a pane suspends when nobody is
26558
+ * looking at it) and flushes that on the next connect — into a new tmux
26559
+ * client that has already had its own queries answered. Answering here,
26560
+ * in the same tick the query arrives, means one query is one reply and a
26561
+ * reply can never cross a socket.
26464
26562
  */
26465
26563
  var TerminalReplies = class {
26564
+ size;
26466
26565
  carry = "";
26566
+ constructor(size) {
26567
+ this.size = size;
26568
+ }
26467
26569
  get pending() {
26468
26570
  return !!this.carry;
26469
26571
  }
@@ -26483,7 +26585,9 @@ var TerminalReplies = class {
26483
26585
  const rest = input.slice(esc);
26484
26586
  const match = queries.find(([query]) => rest.startsWith(query));
26485
26587
  if (match) {
26486
- replies.push(match[1]);
26588
+ const reply = match[1](this.size());
26589
+ if (reply == null) output += match[0];
26590
+ else replies.push(reply);
26487
26591
  offset = esc + match[0].length;
26488
26592
  continue;
26489
26593
  }
@@ -26549,10 +26653,12 @@ var PING_MS$1 = 15e3;
26549
26653
  * 5–20× on the wire. Few sockets live at once, so per-socket zlib state is
26550
26654
  * not the concern ws's docs raise for large fleets. */
26551
26655
  var DEFLATE_THRESHOLD = 512;
26552
- /** The terminal's answer to tmux's CSI 14t — window size in pixels, which
26553
- * divided by the grid is the cell size tmux needs before it will paint an
26554
- * image. Recognised on the way through rather than parsed: all this marks
26555
- * is the moment tmux stopped guessing. */
26656
+ /** The answer to tmux's CSI 14t — window size in pixels, which divided by
26657
+ * the grid is the cell size tmux needs before it will paint an image.
26658
+ * Normally this server's own (terminal-replies.ts); matched rather than
26659
+ * parsed, because all it marks is the moment tmux stopped guessing. Still
26660
+ * matched on client input too: a browser from an older build answers the
26661
+ * query itself. */
26556
26662
  var WINDOW_PIXELS_REPLY = /\x1b\[4;\d+;\d+t/;
26557
26663
  /** Long enough for the reply above to reach tmux's client and reach the
26558
26664
  * server as a new cell size, short enough to stay inside the repaint the
@@ -26630,6 +26736,8 @@ async function handleTermConnection(ws, req) {
26630
26736
  const rows = Number(url.searchParams.get("rows")) || 24;
26631
26737
  const connectedVisible = url.searchParams.get("visible") !== "0";
26632
26738
  const respawn = url.searchParams.get("respawn") === "1";
26739
+ let dims = [cols, rows];
26740
+ let pixels = pixelPair(Number(url.searchParams.get("pw")), Number(url.searchParams.get("ph")));
26633
26741
  let proc;
26634
26742
  let ping;
26635
26743
  let flushTimer;
@@ -26718,7 +26826,11 @@ async function handleTermConnection(ws, req) {
26718
26826
  }
26719
26827
  };
26720
26828
  let exited = false;
26721
- const terminalReplies = new TerminalReplies();
26829
+ const terminalReplies = new TerminalReplies(() => ({
26830
+ cols: dims[0],
26831
+ rows: dims[1],
26832
+ pixels
26833
+ }));
26722
26834
  let replyCarryTimer;
26723
26835
  const queueOutput = (data) => {
26724
26836
  if (!data) return;
@@ -26730,7 +26842,10 @@ async function handleTermConnection(ws, req) {
26730
26842
  clearTimeout(replyCarryTimer);
26731
26843
  replyCarryTimer = void 0;
26732
26844
  const handled = terminalReplies.push(data);
26733
- for (const reply of handled.replies) if (!exited) ptyProc.write(reply);
26845
+ for (const reply of handled.replies) {
26846
+ if (!exited) ptyProc.write(reply);
26847
+ if (WINDOW_PIXELS_REPLY.test(reply)) redrawWithCellSize();
26848
+ }
26734
26849
  queueOutput(handled.output);
26735
26850
  if (terminalReplies.pending) replyCarryTimer = setTimeout(() => {
26736
26851
  replyCarryTimer = void 0;
@@ -26757,7 +26872,6 @@ async function handleTermConnection(ws, req) {
26757
26872
  });
26758
26873
  visible = connectedVisible;
26759
26874
  if (visible) trackViewer(session.id, 1);
26760
- let dims = [cols, rows];
26761
26875
  const forceWindowSize = () => {
26762
26876
  if (!visible) return;
26763
26877
  lastForced.set(session.id, `${dims[0]}x${dims[1]}`);
@@ -26799,6 +26913,8 @@ async function handleTermConnection(ws, req) {
26799
26913
  if (WINDOW_PIXELS_REPLY.test(input)) redrawWithCellSize();
26800
26914
  } else {
26801
26915
  const text = data.toString();
26916
+ const px = parsePixels(text);
26917
+ if (px) pixels = px;
26802
26918
  const resize = parseResize(text);
26803
26919
  if (resize) {
26804
26920
  const moved = dims[0] !== resize[0] || dims[1] !== resize[1];
@@ -26860,6 +26976,19 @@ function parseResize(text) {
26860
26976
  if (Array.isArray(resize) && Number.isInteger(resize[0]) && Number.isInteger(resize[1]) && resize[0] > 0 && resize[1] > 0) return [resize[0], resize[1]];
26861
26977
  } catch {}
26862
26978
  }
26979
+ /** The text area in CSS pixels, as `{ px: [w, h] }` on a resize frame or
26980
+ * `pw`/`ph` on the handshake. What tmux's `CSI 14t` asks for, and the one
26981
+ * part of the answer the server cannot work out for itself. */
26982
+ function pixelPair(w, h) {
26983
+ return Number.isFinite(w) && Number.isFinite(h) && w > 0 && h > 0 ? [Math.round(w), Math.round(h)] : null;
26984
+ }
26985
+ function parsePixels(text) {
26986
+ try {
26987
+ const px = JSON.parse(text)?.px;
26988
+ if (Array.isArray(px)) return pixelPair(px[0], px[1]);
26989
+ } catch {}
26990
+ return null;
26991
+ }
26863
26992
  //#endregion
26864
26993
  //#region src/server/events-ws.ts
26865
26994
  /** App-level heartbeat — keeps NAT/VPN mappings warm and lets the client
@@ -26912,7 +27041,7 @@ var server = createServer();
26912
27041
  /** The app proper; a `<port>.` host bypasses it for the port proxy. */
26913
27042
  var app;
26914
27043
  {
26915
- const { default: compression } = await import("./_CT1XA_pS.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
27044
+ const { default: compression } = await import("./_B9zhiogp.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
26916
27045
  const { default: serveStatic } = await import("./_JcAWG3K1.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
26917
27046
  const middleware = createMiddleware(fetch$1);
26918
27047
  const dir = path.dirname(fileURLToPath(import.meta.url));
@@ -27006,4 +27135,4 @@ server.listen(port, () => {
27006
27135
  //#endregion
27007
27136
  export {};
27008
27137
 
27009
- ;var __MARKO_MANIFEST__={"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/w-Cu6jGozd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Cu6jGozd.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/w._-Cu6jGozd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Cu6jGozd.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/new-Cu6jGozd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Cu6jGozd.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/w._-R7bTAfAQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-R7bTAfAQ.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/settings-Cu6jGozd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Cu6jGozd.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-B8kS7P6x.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-B8kS7P6x.css\"",">",2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">"],"defer":[2,"/assets/review-view-foAMMQMz.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-foAMMQMz.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">"]}};
27138
+ ;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-CdTaci0h.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CdTaci0h.css\"",">",2,"stylesheet#/assets/app-page-D4Ysb67H.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D4Ysb67H.css\"",">"],"defer":[2,"/assets/settings-CYrxR3YR.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CYrxR3YR.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/_AumMSBF2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_AumMSBF2.js\"",">",2,"modulepreload#/assets/_x2jmrcuU.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_x2jmrcuU.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-CdTaci0h.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CdTaci0h.css\"",">",2,"stylesheet#/assets/app-page-D4Ysb67H.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D4Ysb67H.css\"",">"],"defer":[2,"/assets/new-CYrxR3YR.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CYrxR3YR.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/_AumMSBF2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_AumMSBF2.js\"",">",2,"modulepreload#/assets/_x2jmrcuU.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_x2jmrcuU.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-CdTaci0h.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CdTaci0h.css\"",">",2,"stylesheet#/assets/app-page-D4Ysb67H.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D4Ysb67H.css\"",">"],"defer":[2,"/assets/w-CYrxR3YR.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CYrxR3YR.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/_AumMSBF2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_AumMSBF2.js\"",">",2,"modulepreload#/assets/_x2jmrcuU.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_x2jmrcuU.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-CdTaci0h.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CdTaci0h.css\"",">",2,"stylesheet#/assets/app-page-D4Ysb67H.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D4Ysb67H.css\"",">"],"defer":[2,"/assets/w._-CYrxR3YR.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CYrxR3YR.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/_AumMSBF2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_AumMSBF2.js\"",">",2,"modulepreload#/assets/_x2jmrcuU.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_x2jmrcuU.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-CdTaci0h.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-CdTaci0h.css\"",">",2,"stylesheet#/assets/app-page-D4Ysb67H.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D4Ysb67H.css\"",">"],"defer":[2,"/assets/w._-D9QYuJ3z.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-D9QYuJ3z.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/_AumMSBF2.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_AumMSBF2.js\"",">",2,"modulepreload#/assets/_x2jmrcuU.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_x2jmrcuU.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-DGGzM59-.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-DGGzM59-.css\"",">",2,"stylesheet#/assets/icon-arrow-down-CdTaci0h.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-CdTaci0h.css\"",">"],"defer":[2,"/assets/review-view-Da6jS0sN.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-Da6jS0sN.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">"]}};