@design.estate/dees-catalog 3.54.0 → 3.55.0

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.
@@ -375,15 +375,15 @@ var init_lit_html = __esm({
375
375
  __name(V, "V");
376
376
  N = /* @__PURE__ */ __name((t9, i11) => {
377
377
  const s10 = t9.length - 1, e11 = [];
378
- let n12, l6 = 2 === i11 ? "<svg>" : 3 === i11 ? "<math>" : "", c11 = v;
378
+ let n12, l7 = 2 === i11 ? "<svg>" : 3 === i11 ? "<math>" : "", c11 = v;
379
379
  for (let i12 = 0; i12 < s10; i12++) {
380
380
  const s11 = t9[i12];
381
- let a5, u7, d5 = -1, f7 = 0;
382
- for (; f7 < s11.length && (c11.lastIndex = f7, u7 = c11.exec(s11), null !== u7); ) f7 = c11.lastIndex, c11 === v ? "!--" === u7[1] ? c11 = _ : void 0 !== u7[1] ? c11 = m : void 0 !== u7[2] ? (y2.test(u7[2]) && (n12 = RegExp("</" + u7[2], "g")), c11 = p2) : void 0 !== u7[3] && (c11 = p2) : c11 === p2 ? ">" === u7[0] ? (c11 = n12 ?? v, d5 = -1) : void 0 === u7[1] ? d5 = -2 : (d5 = c11.lastIndex - u7[2].length, a5 = u7[1], c11 = void 0 === u7[3] ? p2 : '"' === u7[3] ? $ : g) : c11 === $ || c11 === g ? c11 = p2 : c11 === _ || c11 === m ? c11 = v : (c11 = p2, n12 = void 0);
381
+ let a5, u7, d6 = -1, f7 = 0;
382
+ for (; f7 < s11.length && (c11.lastIndex = f7, u7 = c11.exec(s11), null !== u7); ) f7 = c11.lastIndex, c11 === v ? "!--" === u7[1] ? c11 = _ : void 0 !== u7[1] ? c11 = m : void 0 !== u7[2] ? (y2.test(u7[2]) && (n12 = RegExp("</" + u7[2], "g")), c11 = p2) : void 0 !== u7[3] && (c11 = p2) : c11 === p2 ? ">" === u7[0] ? (c11 = n12 ?? v, d6 = -1) : void 0 === u7[1] ? d6 = -2 : (d6 = c11.lastIndex - u7[2].length, a5 = u7[1], c11 = void 0 === u7[3] ? p2 : '"' === u7[3] ? $ : g) : c11 === $ || c11 === g ? c11 = p2 : c11 === _ || c11 === m ? c11 = v : (c11 = p2, n12 = void 0);
383
383
  const x4 = c11 === p2 && t9[i12 + 1].startsWith("/>") ? " " : "";
384
- l6 += c11 === v ? s11 + r3 : d5 >= 0 ? (e11.push(a5), s11.slice(0, d5) + h2 + s11.slice(d5) + o3 + x4) : s11 + o3 + (-2 === d5 ? i12 : x4);
384
+ l7 += c11 === v ? s11 + r3 : d6 >= 0 ? (e11.push(a5), s11.slice(0, d6) + h2 + s11.slice(d6) + o3 + x4) : s11 + o3 + (-2 === d6 ? i12 : x4);
385
385
  }
386
- return [V(t9, l6 + (t9[s10] || "<?>") + (2 === i11 ? "</svg>" : 3 === i11 ? "</math>" : "")), e11];
386
+ return [V(t9, l7 + (t9[s10] || "<?>") + (2 === i11 ? "</svg>" : 3 === i11 ? "</math>" : "")), e11];
387
387
  }, "N");
388
388
  S2 = class _S {
389
389
  static {
@@ -392,32 +392,32 @@ var init_lit_html = __esm({
392
392
  constructor({ strings: t9, _$litType$: i11 }, e11) {
393
393
  let r11;
394
394
  this.parts = [];
395
- let l6 = 0, a5 = 0;
396
- const u7 = t9.length - 1, d5 = this.parts, [f7, v5] = N(t9, i11);
395
+ let l7 = 0, a5 = 0;
396
+ const u7 = t9.length - 1, d6 = this.parts, [f7, v5] = N(t9, i11);
397
397
  if (this.el = _S.createElement(f7, e11), P.currentNode = this.el.content, 2 === i11 || 3 === i11) {
398
398
  const t10 = this.el.content.firstChild;
399
399
  t10.replaceWith(...t10.childNodes);
400
400
  }
401
- for (; null !== (r11 = P.nextNode()) && d5.length < u7; ) {
401
+ for (; null !== (r11 = P.nextNode()) && d6.length < u7; ) {
402
402
  if (1 === r11.nodeType) {
403
403
  if (r11.hasAttributes()) for (const t10 of r11.getAttributeNames()) if (t10.endsWith(h2)) {
404
404
  const i12 = v5[a5++], s10 = r11.getAttribute(t10).split(o3), e12 = /([.?@])?(.*)/.exec(i12);
405
- d5.push({ type: 1, index: l6, name: e12[2], strings: s10, ctor: "." === e12[1] ? I : "?" === e12[1] ? L : "@" === e12[1] ? z : H }), r11.removeAttribute(t10);
406
- } else t10.startsWith(o3) && (d5.push({ type: 6, index: l6 }), r11.removeAttribute(t10));
405
+ d6.push({ type: 1, index: l7, name: e12[2], strings: s10, ctor: "." === e12[1] ? I : "?" === e12[1] ? L : "@" === e12[1] ? z : H }), r11.removeAttribute(t10);
406
+ } else t10.startsWith(o3) && (d6.push({ type: 6, index: l7 }), r11.removeAttribute(t10));
407
407
  if (y2.test(r11.tagName)) {
408
408
  const t10 = r11.textContent.split(o3), i12 = t10.length - 1;
409
409
  if (i12 > 0) {
410
410
  r11.textContent = s2 ? s2.emptyScript : "";
411
- for (let s10 = 0; s10 < i12; s10++) r11.append(t10[s10], c3()), P.nextNode(), d5.push({ type: 2, index: ++l6 });
411
+ for (let s10 = 0; s10 < i12; s10++) r11.append(t10[s10], c3()), P.nextNode(), d6.push({ type: 2, index: ++l7 });
412
412
  r11.append(t10[i12], c3());
413
413
  }
414
414
  }
415
- } else if (8 === r11.nodeType) if (r11.data === n3) d5.push({ type: 2, index: l6 });
415
+ } else if (8 === r11.nodeType) if (r11.data === n3) d6.push({ type: 2, index: l7 });
416
416
  else {
417
417
  let t10 = -1;
418
- for (; -1 !== (t10 = r11.data.indexOf(o3, t10 + 1)); ) d5.push({ type: 7, index: l6 }), t10 += o3.length - 1;
418
+ for (; -1 !== (t10 = r11.data.indexOf(o3, t10 + 1)); ) d6.push({ type: 7, index: l7 }), t10 += o3.length - 1;
419
419
  }
420
- l6++;
420
+ l7++;
421
421
  }
422
422
  }
423
423
  static createElement(t9, i11) {
@@ -864,15 +864,15 @@ var init_smartrx_plugins = __esm({
864
864
  });
865
865
 
866
866
  // node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
867
- function __extends(d5, b5) {
867
+ function __extends(d6, b5) {
868
868
  if (typeof b5 !== "function" && b5 !== null)
869
869
  throw new TypeError("Class extends value " + String(b5) + " is not a constructor or null");
870
- extendStatics(d5, b5);
870
+ extendStatics(d6, b5);
871
871
  function __() {
872
- this.constructor = d5;
872
+ this.constructor = d6;
873
873
  }
874
874
  __name(__, "__");
875
- d5.prototype = b5 === null ? Object.create(b5) : (__.prototype = b5.prototype, new __());
875
+ d6.prototype = b5 === null ? Object.create(b5) : (__.prototype = b5.prototype, new __());
876
876
  }
877
877
  function __rest(s10, e11) {
878
878
  var t9 = {};
@@ -886,9 +886,9 @@ function __rest(s10, e11) {
886
886
  return t9;
887
887
  }
888
888
  function __decorate(decorators, target, key2, desc) {
889
- var c11 = arguments.length, r11 = c11 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key2) : desc, d5;
889
+ var c11 = arguments.length, r11 = c11 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key2) : desc, d6;
890
890
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r11 = Reflect.decorate(decorators, target, key2, desc);
891
- else for (var i11 = decorators.length - 1; i11 >= 0; i11--) if (d5 = decorators[i11]) r11 = (c11 < 3 ? d5(r11) : c11 > 3 ? d5(target, key2, r11) : d5(target, key2)) || r11;
891
+ else for (var i11 = decorators.length - 1; i11 >= 0; i11--) if (d6 = decorators[i11]) r11 = (c11 < 3 ? d6(r11) : c11 > 3 ? d6(target, key2, r11) : d6(target, key2)) || r11;
892
892
  return c11 > 3 && r11 && Object.defineProperty(target, key2, r11), r11;
893
893
  }
894
894
  function __param(paramIndex, decorator) {
@@ -1092,7 +1092,7 @@ function __spreadArrays() {
1092
1092
  return r11;
1093
1093
  }
1094
1094
  function __spreadArray(to, from3, pack) {
1095
- if (pack || arguments.length === 2) for (var i11 = 0, l6 = from3.length, ar; i11 < l6; i11++) {
1095
+ if (pack || arguments.length === 2) for (var i11 = 0, l7 = from3.length, ar; i11 < l7; i11++) {
1096
1096
  if (ar || !(i11 in from3)) {
1097
1097
  if (!ar) ar = Array.prototype.slice.call(from3, 0, i11);
1098
1098
  ar[i11] = from3[i11];
@@ -1179,9 +1179,9 @@ function __asyncValues(o13) {
1179
1179
  };
1180
1180
  }
1181
1181
  __name(verb, "verb");
1182
- function settle(resolve2, reject, d5, v5) {
1182
+ function settle(resolve2, reject, d6, v5) {
1183
1183
  Promise.resolve(v5).then(function(v6) {
1184
- resolve2({ value: v6, done: d5 });
1184
+ resolve2({ value: v6, done: d6 });
1185
1185
  }, reject);
1186
1186
  }
1187
1187
  __name(settle, "settle");
@@ -1278,8 +1278,8 @@ function __disposeResources(env2) {
1278
1278
  }
1279
1279
  function __rewriteRelativeImportExtension(path2, preserveJsx) {
1280
1280
  if (typeof path2 === "string" && /^\.\.?\//.test(path2)) {
1281
- return path2.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m6, tsx, d5, ext, cm) {
1282
- return tsx ? preserveJsx ? ".jsx" : ".js" : d5 && (!ext || !cm) ? m6 : d5 + ext + "." + cm.toLowerCase() + "js";
1281
+ return path2.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m6, tsx, d6, ext, cm) {
1282
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d6 && (!ext || !cm) ? m6 : d6 + ext + "." + cm.toLowerCase() + "js";
1283
1283
  });
1284
1284
  }
1285
1285
  return path2;
@@ -1287,13 +1287,13 @@ function __rewriteRelativeImportExtension(path2, preserveJsx) {
1287
1287
  var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _SuppressedError, tslib_es6_default;
1288
1288
  var init_tslib_es6 = __esm({
1289
1289
  "node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs"() {
1290
- extendStatics = /* @__PURE__ */ __name(function(d5, b5) {
1291
- extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d6, b6) {
1292
- d6.__proto__ = b6;
1293
- } || function(d6, b6) {
1294
- for (var p7 in b6) if (Object.prototype.hasOwnProperty.call(b6, p7)) d6[p7] = b6[p7];
1290
+ extendStatics = /* @__PURE__ */ __name(function(d6, b5) {
1291
+ extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d7, b6) {
1292
+ d7.__proto__ = b6;
1293
+ } || function(d7, b6) {
1294
+ for (var p7 in b6) if (Object.prototype.hasOwnProperty.call(b6, p7)) d7[p7] = b6[p7];
1295
1295
  };
1296
- return extendStatics(d5, b5);
1296
+ return extendStatics(d6, b5);
1297
1297
  }, "extendStatics");
1298
1298
  __name(__extends, "__extends");
1299
1299
  __assign = /* @__PURE__ */ __name(function() {
@@ -6755,13 +6755,13 @@ function v2(s10, e11, t9) {
6755
6755
  function k2(s10, e11) {
6756
6756
  let t9 = new Date(T2(s10)), r11 = g2(t9, s10.tz), n12 = T2(s10), i11 = T2(r11), a5 = n12 - i11, o13 = new Date(t9.getTime() + a5), h8 = g2(o13, s10.tz);
6757
6757
  if (D2(h8, s10)) {
6758
- let u7 = new Date(o13.getTime() - 36e5), d5 = g2(u7, s10.tz);
6759
- return D2(d5, s10) ? u7 : o13;
6758
+ let u7 = new Date(o13.getTime() - 36e5), d6 = g2(u7, s10.tz);
6759
+ return D2(d6, s10) ? u7 : o13;
6760
6760
  }
6761
- let l6 = new Date(o13.getTime() + T2(s10) - T2(h8)), y4 = g2(l6, s10.tz);
6762
- if (D2(y4, s10)) return l6;
6761
+ let l7 = new Date(o13.getTime() + T2(s10) - T2(h8)), y4 = g2(l7, s10.tz);
6762
+ if (D2(y4, s10)) return l7;
6763
6763
  if (e11) throw new Error("Invalid date passed to fromTZ()");
6764
- return o13.getTime() > l6.getTime() ? o13 : l6;
6764
+ return o13.getTime() > l7.getTime() ? o13 : l7;
6765
6765
  }
6766
6766
  function g2(s10, e11) {
6767
6767
  let t9, r11;
@@ -6896,7 +6896,7 @@ var init_croner = __esm({
6896
6896
  if (t9 === "" && !a5 && !o13) throw new TypeError("CronPattern: configuration entry " + e11 + " (" + t9 + ") is empty, check for trailing spaces.");
6897
6897
  if (t9 === "*") return i11.fill(n12);
6898
6898
  let h8 = t9.split(",");
6899
- if (h8.length > 1) for (let l6 = 0; l6 < h8.length; l6++) this.partToArray(e11, h8[l6], r11, n12);
6899
+ if (h8.length > 1) for (let l7 = 0; l7 < h8.length; l7++) this.partToArray(e11, h8[l7], r11, n12);
6900
6900
  else t9.indexOf("-") !== -1 && t9.indexOf("/") !== -1 ? this.handleRangeWithStepping(t9, e11, r11, n12) : t9.indexOf("-") !== -1 ? this.handleRange(t9, e11, r11, n12) : t9.indexOf("/") !== -1 ? this.handleStepping(t9, e11, r11, n12) : t9 !== "" && this.handleNumber(t9, e11, r11, n12);
6901
6901
  }
6902
6902
  throwAtIllegalCharacters(e11) {
@@ -6942,9 +6942,9 @@ var init_croner = __esm({
6942
6942
  if (e11.toUpperCase().includes("W")) throw new TypeError("CronPattern: Syntax error, W is not allowed in ranges with stepping.");
6943
6943
  let i11 = this.extractNth(e11, t9), a5 = i11[0].match(/^(\d+)-(\d+)\/(\d+)$/);
6944
6944
  if (a5 === null) throw new TypeError("CronPattern: Syntax error, illegal range with stepping: '" + e11 + "'");
6945
- let [, o13, h8, l6] = a5, y4 = parseInt(o13, 10) + r11, u7 = parseInt(h8, 10) + r11, d5 = parseInt(l6, 10);
6946
- this.validateNotNaN(y4, "CronPattern: Syntax error, illegal lower range (NaN)"), this.validateNotNaN(u7, "CronPattern: Syntax error, illegal upper range (NaN)"), this.validateNotNaN(d5, "CronPattern: Syntax error, illegal stepping: (NaN)"), this.validateRange(y4, u7, d5, t9, e11);
6947
- for (let c11 = y4; c11 <= u7; c11 += d5) this.setPart(t9, c11, i11[1] || n12);
6945
+ let [, o13, h8, l7] = a5, y4 = parseInt(o13, 10) + r11, u7 = parseInt(h8, 10) + r11, d6 = parseInt(l7, 10);
6946
+ this.validateNotNaN(y4, "CronPattern: Syntax error, illegal lower range (NaN)"), this.validateNotNaN(u7, "CronPattern: Syntax error, illegal upper range (NaN)"), this.validateNotNaN(d6, "CronPattern: Syntax error, illegal stepping: (NaN)"), this.validateRange(y4, u7, d6, t9, e11);
6947
+ for (let c11 = y4; c11 <= u7; c11 += d6) this.setPart(t9, c11, i11[1] || n12);
6948
6948
  }
6949
6949
  extractNth(e11, t9) {
6950
6950
  let r11 = e11, n12;
@@ -6963,7 +6963,7 @@ var init_croner = __esm({
6963
6963
  if (a5.length !== 2) throw new TypeError("CronPattern: Syntax error, illegal range: '" + e11 + "'");
6964
6964
  let o13 = parseInt(a5[0], 10) + r11, h8 = parseInt(a5[1], 10) + r11;
6965
6965
  this.validateNotNaN(o13, "CronPattern: Syntax error, illegal lower range (NaN)"), this.validateNotNaN(h8, "CronPattern: Syntax error, illegal upper range (NaN)"), this.validateRange(o13, h8, void 0, t9, e11);
6966
- for (let l6 = o13; l6 <= h8; l6++) this.setPart(t9, l6, i11[1] || n12);
6966
+ for (let l7 = o13; l7 <= h8; l7++) this.setPart(t9, l7, i11[1] || n12);
6967
6967
  }
6968
6968
  handleStepping(e11, t9, r11, n12) {
6969
6969
  if (e11.toUpperCase().includes("W")) throw new TypeError("CronPattern: Syntax error, W is not allowed in parts with stepping.");
@@ -6978,7 +6978,7 @@ var init_croner = __esm({
6978
6978
  a5[0] !== "*" && (o13 = parseInt(a5[0], 10) + r11);
6979
6979
  let h8 = parseInt(a5[1], 10);
6980
6980
  this.validateNotNaN(h8, "CronPattern: Syntax error, illegal stepping: (NaN)"), this.validateRange(0, this[t9].length - 1, h8, t9, e11);
6981
- for (let l6 = o13; l6 < this[t9].length; l6 += h8) this.setPart(t9, l6, i11[1] || n12);
6981
+ for (let l7 = o13; l7 < this[t9].length; l7 += h8) this.setPart(t9, l7, i11[1] || n12);
6982
6982
  }
6983
6983
  replaceAlphaDays(e11) {
6984
6984
  return e11.replace(/-sun/gi, "-7").replace(/sun/gi, "0").replace(/mon/gi, "1").replace(/tue/gi, "2").replace(/wed/gi, "3").replace(/thu/gi, "4").replace(/fri/gi, "5").replace(/sat/gi, "6");
@@ -7045,7 +7045,7 @@ var init_croner = __esm({
7045
7045
  if (n12 & 63 && O[o13 - 1] & n12) return true;
7046
7046
  if (n12 & 32) {
7047
7047
  let h8 = this.getLastDayOfMonth(e11, t9);
7048
- for (let l6 = r11 + 1; l6 <= h8; l6++) if (new Date(Date.UTC(e11, t9, l6)).getUTCDay() === a5) return false;
7048
+ for (let l7 = r11 + 1; l7 <= h8; l7++) if (new Date(Date.UTC(e11, t9, l7)).getUTCDay() === a5) return false;
7049
7049
  return true;
7050
7050
  }
7051
7051
  return false;
@@ -7082,30 +7082,30 @@ var init_croner = __esm({
7082
7082
  _findMatch(e11, t9, r11, n12, i11) {
7083
7083
  let a5 = this[t9], o13;
7084
7084
  r11.lastDayOfMonth && (o13 = this.getLastDayOfMonth(this.year, this.month));
7085
- let h8 = !r11.starDOW && t9 == "day" ? new Date(Date.UTC(this.year, this.month, 1, 0, 0, 0, 0)).getUTCDay() : void 0, l6 = this[t9] + n12, y4 = i11 === 1 ? (u7) => u7 < r11[t9].length : (u7) => u7 >= 0;
7086
- for (let u7 = l6; y4(u7); u7 += i11) {
7087
- let d5 = r11[t9][u7];
7088
- if (t9 === "day" && !d5) {
7085
+ let h8 = !r11.starDOW && t9 == "day" ? new Date(Date.UTC(this.year, this.month, 1, 0, 0, 0, 0)).getUTCDay() : void 0, l7 = this[t9] + n12, y4 = i11 === 1 ? (u7) => u7 < r11[t9].length : (u7) => u7 >= 0;
7086
+ for (let u7 = l7; y4(u7); u7 += i11) {
7087
+ let d6 = r11[t9][u7];
7088
+ if (t9 === "day" && !d6) {
7089
7089
  for (let c11 = 0; c11 < r11.nearestWeekdays.length; c11++) if (r11.nearestWeekdays[c11]) {
7090
7090
  let M4 = this.getNearestWeekday(this.year, this.month, c11 - n12);
7091
7091
  if (M4 === -1) continue;
7092
7092
  if (M4 === u7 - n12) {
7093
- d5 = 1;
7093
+ d6 = 1;
7094
7094
  break;
7095
7095
  }
7096
7096
  }
7097
7097
  }
7098
7098
  if (t9 === "day" && r11.lastWeekday) {
7099
7099
  let c11 = this.getLastWeekday(this.year, this.month);
7100
- u7 - n12 === c11 && (d5 = 1);
7100
+ u7 - n12 === c11 && (d6 = 1);
7101
7101
  }
7102
- if (t9 === "day" && r11.lastDayOfMonth && u7 - n12 == o13 && (d5 = 1), t9 === "day" && !r11.starDOW) {
7102
+ if (t9 === "day" && r11.lastDayOfMonth && u7 - n12 == o13 && (d6 = 1), t9 === "day" && !r11.starDOW) {
7103
7103
  let c11 = r11.dayOfWeek[(h8 + (u7 - n12 - 1)) % 7];
7104
7104
  if (c11 && c11 & 63) c11 = this.isNthWeekdayOfMonth(this.year, this.month, u7 - n12, c11) ? 1 : 0;
7105
7105
  else if (c11) throw new Error(`CronDate: Invalid value for dayOfWeek encountered. ${c11}`);
7106
- r11.useAndLogic ? d5 = d5 && c11 : !e11.domAndDow && !r11.starDOM ? d5 = d5 || c11 : d5 = d5 && c11;
7106
+ r11.useAndLogic ? d6 = d6 && c11 : !e11.domAndDow && !r11.starDOM ? d6 = d6 || c11 : d6 = d6 && c11;
7107
7107
  }
7108
- if (d5) return this[t9] = u7 - n12, a5 !== this[t9] ? 2 : 1;
7108
+ if (d6) return this[t9] = u7 - n12, a5 !== this[t9] ? 2 : 1;
7109
7109
  }
7110
7110
  return 3;
7111
7111
  }
@@ -7160,8 +7160,8 @@ var init_croner = __esm({
7160
7160
  if (i11 > 1) {
7161
7161
  let a5 = r11 + 1;
7162
7162
  for (; a5 < f3.length; ) {
7163
- let o13 = f3[a5][0], h8 = f3[a5][2], l6 = this.getMaxPatternValue(o13, e11, h8);
7164
- this[o13] = l6, a5++;
7163
+ let o13 = f3[a5][0], h8 = f3[a5][2], l7 = this.getMaxPatternValue(o13, e11, h8);
7164
+ this[o13] = l7, a5++;
7165
7165
  }
7166
7166
  if (i11 === 3) {
7167
7167
  if (this[f3[r11][1]]--, r11 === 0) {
@@ -7173,17 +7173,17 @@ var init_croner = __esm({
7173
7173
  let y4 = this.year, u7 = this.month;
7174
7174
  for (; u7 < 0; ) u7 += 12, y4--;
7175
7175
  for (; u7 > 11; ) u7 -= 12, y4++;
7176
- let d5 = u7 !== 1 ? P2[u7] : new Date(Date.UTC(y4, u7 + 1, 0)).getUTCDate();
7177
- this.day > d5 && (this.day = d5);
7176
+ let d6 = u7 !== 1 ? P2[u7] : new Date(Date.UTC(y4, u7 + 1, 0)).getUTCDate();
7177
+ this.day > d6 && (this.day = d6);
7178
7178
  }
7179
7179
  this.apply();
7180
- let o13 = f3[r11][0], h8 = f3[r11][2], l6 = this.getMaxPatternValue(o13, e11, h8);
7180
+ let o13 = f3[r11][0], h8 = f3[r11][2], l7 = this.getMaxPatternValue(o13, e11, h8);
7181
7181
  if (o13 === "day") {
7182
7182
  let y4 = this.getLastDayOfMonth(this.year, this.month);
7183
- this[o13] = Math.min(l6, y4);
7184
- } else this[o13] = l6;
7183
+ this[o13] = Math.min(l7, y4);
7184
+ } else this[o13] = l7;
7185
7185
  if (this.apply(), r11 === 0) {
7186
- let y4 = f3[1][2], u7 = this.getMaxPatternValue("day", e11, y4), d5 = this.getLastDayOfMonth(this.year, this.month), c11 = Math.min(u7, d5);
7186
+ let y4 = f3[1][2], u7 = this.getMaxPatternValue("day", e11, y4), d6 = this.getLastDayOfMonth(this.year, this.month), c11 = Math.min(u7, d6);
7187
7187
  c11 !== this.day && (this.day = c11, this.hour = this.getMaxPatternValue("hour", e11, f3[2][2]), this.minute = this.getMaxPatternValue("minute", e11, f3[3][2]), this.second = this.getMaxPatternValue("second", e11, f3[4][2]));
7188
7188
  }
7189
7189
  if (r11 === 0 && !e11.starYear) {
@@ -7219,8 +7219,8 @@ var init_croner = __esm({
7219
7219
  if (n12 === "day") {
7220
7220
  if (!o13) {
7221
7221
  for (let h8 = 0; h8 < e11.nearestWeekdays.length; h8++) if (e11.nearestWeekdays[h8]) {
7222
- let l6 = this.getNearestWeekday(this.year, this.month, h8 - i11);
7223
- if (l6 !== -1 && l6 === a5) {
7222
+ let l7 = this.getNearestWeekday(this.year, this.month, h8 - i11);
7223
+ if (l7 !== -1 && l7 === a5) {
7224
7224
  o13 = 1;
7225
7225
  break;
7226
7226
  }
@@ -7235,8 +7235,8 @@ var init_croner = __esm({
7235
7235
  a5 === h8 && (o13 = 1);
7236
7236
  }
7237
7237
  if (!e11.starDOW) {
7238
- let h8 = new Date(Date.UTC(this.year, this.month, 1, 0, 0, 0, 0)).getUTCDay(), l6 = e11.dayOfWeek[(h8 + (a5 - 1)) % 7];
7239
- l6 && l6 & 63 && (l6 = this.isNthWeekdayOfMonth(this.year, this.month, a5, l6) ? 1 : 0), e11.useAndLogic ? o13 = o13 && l6 : !t9.domAndDow && !e11.starDOM ? o13 = o13 || l6 : o13 = o13 && l6;
7238
+ let h8 = new Date(Date.UTC(this.year, this.month, 1, 0, 0, 0, 0)).getUTCDay(), l7 = e11.dayOfWeek[(h8 + (a5 - 1)) % 7];
7239
+ l7 && l7 & 63 && (l7 = this.isNthWeekdayOfMonth(this.year, this.month, a5, l7) ? 1 : 0), e11.useAndLogic ? o13 = o13 && l7 : !t9.domAndDow && !e11.starDOM ? o13 = o13 || l7 : o13 = o13 && l7;
7240
7240
  }
7241
7241
  }
7242
7242
  if (!o13) return false;
@@ -16496,7 +16496,7 @@ var require_dayjs_min = __commonJS({
16496
16496
  "object" == typeof exports && "undefined" != typeof module ? module.exports = e11() : "function" == typeof define && define.amd ? define(e11) : (t9 = "undefined" != typeof globalThis ? globalThis : t9 || self).dayjs = e11();
16497
16497
  })(exports, (function() {
16498
16498
  "use strict";
16499
- var t9 = 1e3, e11 = 6e4, n12 = 36e5, r11 = "millisecond", i11 = "second", s10 = "minute", u7 = "hour", a5 = "day", o13 = "week", c11 = "month", f7 = "quarter", h8 = "year", d5 = "date", l6 = "Invalid Date", $4 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y4 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M4 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: /* @__PURE__ */ __name(function(t10) {
16499
+ var t9 = 1e3, e11 = 6e4, n12 = 36e5, r11 = "millisecond", i11 = "second", s10 = "minute", u7 = "hour", a5 = "day", o13 = "week", c11 = "month", f7 = "quarter", h8 = "year", d6 = "date", l7 = "Invalid Date", $4 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y4 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M4 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: /* @__PURE__ */ __name(function(t10) {
16500
16500
  var e12 = ["th", "st", "nd", "rd"], n13 = t10 % 100;
16501
16501
  return "[" + t10 + (e12[(n13 - 20) % 10] || e12[n13] || e12[0]) + "]";
16502
16502
  }, "ordinal") }, m6 = /* @__PURE__ */ __name(function(t10, e12, n13) {
@@ -16512,7 +16512,7 @@ var require_dayjs_min = __commonJS({
16512
16512
  }, "t"), a: /* @__PURE__ */ __name(function(t10) {
16513
16513
  return t10 < 0 ? Math.ceil(t10) || 0 : Math.floor(t10);
16514
16514
  }, "a"), p: /* @__PURE__ */ __name(function(t10) {
16515
- return { M: c11, y: h8, w: o13, d: a5, D: d5, h: u7, m: s10, s: i11, ms: r11, Q: f7 }[t10] || String(t10 || "").toLowerCase().replace(/s$/, "");
16515
+ return { M: c11, y: h8, w: o13, d: a5, D: d6, h: u7, m: s10, s: i11, ms: r11, Q: f7 }[t10] || String(t10 || "").toLowerCase().replace(/s$/, "");
16516
16516
  }, "p"), u: /* @__PURE__ */ __name(function(t10) {
16517
16517
  return void 0 === t10;
16518
16518
  }, "u") }, g4 = "en", D4 = {};
@@ -16567,7 +16567,7 @@ var require_dayjs_min = __commonJS({
16567
16567
  }, m7.$utils = function() {
16568
16568
  return b5;
16569
16569
  }, m7.isValid = function() {
16570
- return !(this.$d.toString() === l6);
16570
+ return !(this.$d.toString() === l7);
16571
16571
  }, m7.isSame = function(t10, e12) {
16572
16572
  var n13 = O3(t10);
16573
16573
  return this.startOf(e12) <= n13 && n13 <= this.endOf(e12);
@@ -16582,7 +16582,7 @@ var require_dayjs_min = __commonJS({
16582
16582
  }, m7.valueOf = function() {
16583
16583
  return this.$d.getTime();
16584
16584
  }, m7.startOf = function(t10, e12) {
16585
- var n13 = this, r12 = !!b5.u(e12) || e12, f8 = b5.p(t10), l7 = /* @__PURE__ */ __name(function(t11, e13) {
16585
+ var n13 = this, r12 = !!b5.u(e12) || e12, f8 = b5.p(t10), l8 = /* @__PURE__ */ __name(function(t11, e13) {
16586
16586
  var i12 = b5.w(n13.$u ? Date.UTC(n13.$y, e13, t11) : new Date(n13.$y, e13, t11), n13);
16587
16587
  return r12 ? i12 : i12.endOf(a5);
16588
16588
  }, "l"), $5 = /* @__PURE__ */ __name(function(t11, e13) {
@@ -16590,14 +16590,14 @@ var require_dayjs_min = __commonJS({
16590
16590
  }, "$"), y5 = this.$W, M6 = this.$M, m8 = this.$D, v6 = "set" + (this.$u ? "UTC" : "");
16591
16591
  switch (f8) {
16592
16592
  case h8:
16593
- return r12 ? l7(1, 0) : l7(31, 11);
16593
+ return r12 ? l8(1, 0) : l8(31, 11);
16594
16594
  case c11:
16595
- return r12 ? l7(1, M6) : l7(0, M6 + 1);
16595
+ return r12 ? l8(1, M6) : l8(0, M6 + 1);
16596
16596
  case o13:
16597
16597
  var g5 = this.$locale().weekStart || 0, D5 = (y5 < g5 ? y5 + 7 : y5) - g5;
16598
- return l7(r12 ? m8 - D5 : m8 + (6 - D5), M6);
16598
+ return l8(r12 ? m8 - D5 : m8 + (6 - D5), M6);
16599
16599
  case a5:
16600
- case d5:
16600
+ case d6:
16601
16601
  return $5(v6 + "Hours", 0);
16602
16602
  case u7:
16603
16603
  return $5(v6 + "Minutes", 1);
@@ -16611,37 +16611,37 @@ var require_dayjs_min = __commonJS({
16611
16611
  }, m7.endOf = function(t10) {
16612
16612
  return this.startOf(t10, false);
16613
16613
  }, m7.$set = function(t10, e12) {
16614
- var n13, o14 = b5.p(t10), f8 = "set" + (this.$u ? "UTC" : ""), l7 = (n13 = {}, n13[a5] = f8 + "Date", n13[d5] = f8 + "Date", n13[c11] = f8 + "Month", n13[h8] = f8 + "FullYear", n13[u7] = f8 + "Hours", n13[s10] = f8 + "Minutes", n13[i11] = f8 + "Seconds", n13[r11] = f8 + "Milliseconds", n13)[o14], $5 = o14 === a5 ? this.$D + (e12 - this.$W) : e12;
16614
+ var n13, o14 = b5.p(t10), f8 = "set" + (this.$u ? "UTC" : ""), l8 = (n13 = {}, n13[a5] = f8 + "Date", n13[d6] = f8 + "Date", n13[c11] = f8 + "Month", n13[h8] = f8 + "FullYear", n13[u7] = f8 + "Hours", n13[s10] = f8 + "Minutes", n13[i11] = f8 + "Seconds", n13[r11] = f8 + "Milliseconds", n13)[o14], $5 = o14 === a5 ? this.$D + (e12 - this.$W) : e12;
16615
16615
  if (o14 === c11 || o14 === h8) {
16616
- var y5 = this.clone().set(d5, 1);
16617
- y5.$d[l7]($5), y5.init(), this.$d = y5.set(d5, Math.min(this.$D, y5.daysInMonth())).$d;
16618
- } else l7 && this.$d[l7]($5);
16616
+ var y5 = this.clone().set(d6, 1);
16617
+ y5.$d[l8]($5), y5.init(), this.$d = y5.set(d6, Math.min(this.$D, y5.daysInMonth())).$d;
16618
+ } else l8 && this.$d[l8]($5);
16619
16619
  return this.init(), this;
16620
16620
  }, m7.set = function(t10, e12) {
16621
16621
  return this.clone().$set(t10, e12);
16622
16622
  }, m7.get = function(t10) {
16623
16623
  return this[b5.p(t10)]();
16624
16624
  }, m7.add = function(r12, f8) {
16625
- var d6, l7 = this;
16625
+ var d7, l8 = this;
16626
16626
  r12 = Number(r12);
16627
16627
  var $5 = b5.p(f8), y5 = /* @__PURE__ */ __name(function(t10) {
16628
- var e12 = O3(l7);
16629
- return b5.w(e12.date(e12.date() + Math.round(t10 * r12)), l7);
16628
+ var e12 = O3(l8);
16629
+ return b5.w(e12.date(e12.date() + Math.round(t10 * r12)), l8);
16630
16630
  }, "y");
16631
16631
  if ($5 === c11) return this.set(c11, this.$M + r12);
16632
16632
  if ($5 === h8) return this.set(h8, this.$y + r12);
16633
16633
  if ($5 === a5) return y5(1);
16634
16634
  if ($5 === o13) return y5(7);
16635
- var M6 = (d6 = {}, d6[s10] = e11, d6[u7] = n12, d6[i11] = t9, d6)[$5] || 1, m8 = this.$d.getTime() + r12 * M6;
16635
+ var M6 = (d7 = {}, d7[s10] = e11, d7[u7] = n12, d7[i11] = t9, d7)[$5] || 1, m8 = this.$d.getTime() + r12 * M6;
16636
16636
  return b5.w(m8, this);
16637
16637
  }, m7.subtract = function(t10, e12) {
16638
16638
  return this.add(-1 * t10, e12);
16639
16639
  }, m7.format = function(t10) {
16640
16640
  var e12 = this, n13 = this.$locale();
16641
- if (!this.isValid()) return n13.invalidDate || l6;
16641
+ if (!this.isValid()) return n13.invalidDate || l7;
16642
16642
  var r12 = t10 || "YYYY-MM-DDTHH:mm:ssZ", i12 = b5.z(this), s11 = this.$H, u8 = this.$m, a6 = this.$M, o14 = n13.weekdays, c12 = n13.months, f8 = n13.meridiem, h9 = /* @__PURE__ */ __name(function(t11, n14, i13, s12) {
16643
16643
  return t11 && (t11[n14] || t11(e12, r12)) || i13[n14].slice(0, s12);
16644
- }, "h"), d6 = /* @__PURE__ */ __name(function(t11) {
16644
+ }, "h"), d7 = /* @__PURE__ */ __name(function(t11) {
16645
16645
  return b5.s(s11 % 12 || 12, t11, "0");
16646
16646
  }, "d"), $5 = f8 || function(t11, e13, n14) {
16647
16647
  var r13 = t11 < 12 ? "AM" : "PM";
@@ -16679,9 +16679,9 @@ var require_dayjs_min = __commonJS({
16679
16679
  case "HH":
16680
16680
  return b5.s(s11, 2, "0");
16681
16681
  case "h":
16682
- return d6(1);
16682
+ return d7(1);
16683
16683
  case "hh":
16684
- return d6(2);
16684
+ return d7(2);
16685
16685
  case "a":
16686
16686
  return $5(s11, u8, true);
16687
16687
  case "A":
@@ -16704,8 +16704,8 @@ var require_dayjs_min = __commonJS({
16704
16704
  }));
16705
16705
  }, m7.utcOffset = function() {
16706
16706
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
16707
- }, m7.diff = function(r12, d6, l7) {
16708
- var $5, y5 = this, M6 = b5.p(d6), m8 = O3(r12), v6 = (m8.utcOffset() - this.utcOffset()) * e11, g5 = this - m8, D5 = /* @__PURE__ */ __name(function() {
16707
+ }, m7.diff = function(r12, d7, l8) {
16708
+ var $5, y5 = this, M6 = b5.p(d7), m8 = O3(r12), v6 = (m8.utcOffset() - this.utcOffset()) * e11, g5 = this - m8, D5 = /* @__PURE__ */ __name(function() {
16709
16709
  return b5.m(y5, m8);
16710
16710
  }, "D");
16711
16711
  switch (M6) {
@@ -16736,7 +16736,7 @@ var require_dayjs_min = __commonJS({
16736
16736
  default:
16737
16737
  $5 = g5;
16738
16738
  }
16739
- return l7 ? $5 : b5.a($5);
16739
+ return l8 ? $5 : b5.a($5);
16740
16740
  }, m7.daysInMonth = function() {
16741
16741
  return this.endOf(c11).$D;
16742
16742
  }, m7.$locale = function() {
@@ -16757,7 +16757,7 @@ var require_dayjs_min = __commonJS({
16757
16757
  return this.$d.toUTCString();
16758
16758
  }, M5;
16759
16759
  })(), k4 = _4.prototype;
16760
- return O3.prototype = k4, [["$ms", r11], ["$s", i11], ["$m", s10], ["$H", u7], ["$W", a5], ["$M", c11], ["$y", h8], ["$D", d5]].forEach((function(t10) {
16760
+ return O3.prototype = k4, [["$ms", r11], ["$s", i11], ["$m", s10], ["$H", u7], ["$W", a5], ["$M", c11], ["$y", h8], ["$D", d6]].forEach((function(t10) {
16761
16761
  k4[t10[1]] = function(e12) {
16762
16762
  return this.$g(e12, t10[0], t10[1]);
16763
16763
  };
@@ -22981,7 +22981,7 @@ function parseCacheControl(cacheControlHeader) {
22981
22981
  if (!cacheControlHeader) {
22982
22982
  return metadata;
22983
22983
  }
22984
- const directives = cacheControlHeader.toLowerCase().split(",").map((d5) => d5.trim());
22984
+ const directives = cacheControlHeader.toLowerCase().split(",").map((d6) => d6.trim());
22985
22985
  for (const directive of directives) {
22986
22986
  if (directive === "no-cache") {
22987
22987
  metadata.noCache = true;
@@ -27012,8 +27012,8 @@ var require_int = __commonJS({
27012
27012
  });
27013
27013
  value2 = 0;
27014
27014
  base2 = 1;
27015
- digits.forEach(function(d5) {
27016
- value2 += d5 * base2;
27015
+ digits.forEach(function(d6) {
27016
+ value2 += d6 * base2;
27017
27017
  base2 *= 60;
27018
27018
  });
27019
27019
  return sign * value2;
@@ -27094,8 +27094,8 @@ var require_float = __commonJS({
27094
27094
  });
27095
27095
  value2 = 0;
27096
27096
  base2 = 1;
27097
- digits.forEach(function(d5) {
27098
- value2 += d5 * base2;
27097
+ digits.forEach(function(d6) {
27098
+ value2 += d6 * base2;
27099
27099
  base2 *= 60;
27100
27100
  });
27101
27101
  return sign * value2;
@@ -31638,8 +31638,8 @@ var init_unist_util_is = __esm({
31638
31638
  });
31639
31639
 
31640
31640
  // node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js
31641
- function color(d5) {
31642
- return d5;
31641
+ function color(d6) {
31642
+ return d6;
31643
31643
  }
31644
31644
  var init_color = __esm({
31645
31645
  "node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js"() {
@@ -33612,8 +33612,8 @@ var init_mdast_util_phrasing = __esm({
33612
33612
 
33613
33613
  // node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.js
33614
33614
  function root(node2, _4, state7, info) {
33615
- const hasPhrasing = node2.children.some(function(d5) {
33616
- return phrasing(d5);
33615
+ const hasPhrasing = node2.children.some(function(d6) {
33616
+ return phrasing(d6);
33617
33617
  });
33618
33618
  const container = hasPhrasing ? state7.containerPhrasing : state7.containerFlow;
33619
33619
  return container.call(state7, node2, info);
@@ -34441,8 +34441,8 @@ function enterTable(token) {
34441
34441
  this.enter(
34442
34442
  {
34443
34443
  type: "table",
34444
- align: align.map(function(d5) {
34445
- return d5 === "none" ? null : d5;
34444
+ align: align.map(function(d6) {
34445
+ return d6 === "none" ? null : d6;
34446
34446
  }),
34447
34447
  children: []
34448
34448
  },
@@ -42692,11 +42692,11 @@ function compiler(options2) {
42692
42692
  }
42693
42693
  __name(thematicBreak4, "thematicBreak");
42694
42694
  }
42695
- function point2(d5) {
42695
+ function point2(d6) {
42696
42696
  return {
42697
- line: d5.line,
42698
- column: d5.column,
42699
- offset: d5.offset
42697
+ line: d6.line,
42698
+ column: d6.column,
42699
+ offset: d6.offset
42700
42700
  };
42701
42701
  }
42702
42702
  function configure2(combined, extensions) {
@@ -50607,7 +50607,7 @@ function sha256Transform(W3, H3) {
50607
50607
  let a5 = H3[0];
50608
50608
  let b5 = H3[1];
50609
50609
  let c11 = H3[2];
50610
- let d5 = H3[3];
50610
+ let d6 = H3[3];
50611
50611
  let e11 = H3[4];
50612
50612
  let f7 = H3[5];
50613
50613
  let g4 = H3[6];
@@ -50627,8 +50627,8 @@ function sha256Transform(W3, H3) {
50627
50627
  h8 = g4;
50628
50628
  g4 = f7;
50629
50629
  f7 = e11;
50630
- e11 = d5 + temp1 >>> 0;
50631
- d5 = c11;
50630
+ e11 = d6 + temp1 >>> 0;
50631
+ d6 = c11;
50632
50632
  c11 = b5;
50633
50633
  b5 = a5;
50634
50634
  a5 = temp1 + temp2 >>> 0;
@@ -50636,7 +50636,7 @@ function sha256Transform(W3, H3) {
50636
50636
  H3[0] = H3[0] + a5 >>> 0;
50637
50637
  H3[1] = H3[1] + b5 >>> 0;
50638
50638
  H3[2] = H3[2] + c11 >>> 0;
50639
- H3[3] = H3[3] + d5 >>> 0;
50639
+ H3[3] = H3[3] + d6 >>> 0;
50640
50640
  H3[4] = H3[4] + e11 >>> 0;
50641
50641
  H3[5] = H3[5] + f7 >>> 0;
50642
50642
  H3[6] = H3[6] + g4 >>> 0;
@@ -53231,8 +53231,8 @@ function lerp(x4, y4, t9) {
53231
53231
  function damp(x4, y4, lambda, deltaTime) {
53232
53232
  return lerp(x4, y4, 1 - Math.exp(-lambda * deltaTime));
53233
53233
  }
53234
- function modulo(n12, d5) {
53235
- return (n12 % d5 + d5) % d5;
53234
+ function modulo(n12, d6) {
53235
+ return (n12 % d6 + d6) % d6;
53236
53236
  }
53237
53237
  function debounce2(callback, delay2) {
53238
53238
  let timer2;
@@ -54395,74 +54395,74 @@ var require_sweet_scroll = __commonJS({
54395
54395
  linear: /* @__PURE__ */ __name(function(p7) {
54396
54396
  return p7;
54397
54397
  }, "linear"),
54398
- easeInQuad: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54399
- return c11 * (t9 /= d5) * t9 + b5;
54398
+ easeInQuad: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54399
+ return c11 * (t9 /= d6) * t9 + b5;
54400
54400
  }, "easeInQuad"),
54401
- easeOutQuad: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54402
- return -c11 * (t9 /= d5) * (t9 - 2) + b5;
54401
+ easeOutQuad: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54402
+ return -c11 * (t9 /= d6) * (t9 - 2) + b5;
54403
54403
  }, "easeOutQuad"),
54404
- easeInOutQuad: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54405
- return (t9 /= d5 / 2) < 1 ? c11 / 2 * t9 * t9 + b5 : -c11 / 2 * (--t9 * (t9 - 2) - 1) + b5;
54404
+ easeInOutQuad: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54405
+ return (t9 /= d6 / 2) < 1 ? c11 / 2 * t9 * t9 + b5 : -c11 / 2 * (--t9 * (t9 - 2) - 1) + b5;
54406
54406
  }, "easeInOutQuad"),
54407
- easeInCubic: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54408
- return c11 * (t9 /= d5) * t9 * t9 + b5;
54407
+ easeInCubic: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54408
+ return c11 * (t9 /= d6) * t9 * t9 + b5;
54409
54409
  }, "easeInCubic"),
54410
- easeOutCubic: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54411
- return c11 * ((t9 = t9 / d5 - 1) * t9 * t9 + 1) + b5;
54410
+ easeOutCubic: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54411
+ return c11 * ((t9 = t9 / d6 - 1) * t9 * t9 + 1) + b5;
54412
54412
  }, "easeOutCubic"),
54413
- easeInOutCubic: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54414
- return (t9 /= d5 / 2) < 1 ? c11 / 2 * t9 * t9 * t9 + b5 : c11 / 2 * ((t9 -= 2) * t9 * t9 + 2) + b5;
54413
+ easeInOutCubic: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54414
+ return (t9 /= d6 / 2) < 1 ? c11 / 2 * t9 * t9 * t9 + b5 : c11 / 2 * ((t9 -= 2) * t9 * t9 + 2) + b5;
54415
54415
  }, "easeInOutCubic"),
54416
- easeInQuart: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54417
- return c11 * (t9 /= d5) * t9 * t9 * t9 + b5;
54416
+ easeInQuart: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54417
+ return c11 * (t9 /= d6) * t9 * t9 * t9 + b5;
54418
54418
  }, "easeInQuart"),
54419
- easeOutQuart: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54420
- return -c11 * ((t9 = t9 / d5 - 1) * t9 * t9 * t9 - 1) + b5;
54419
+ easeOutQuart: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54420
+ return -c11 * ((t9 = t9 / d6 - 1) * t9 * t9 * t9 - 1) + b5;
54421
54421
  }, "easeOutQuart"),
54422
- easeInOutQuart: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54423
- return (t9 /= d5 / 2) < 1 ? c11 / 2 * t9 * t9 * t9 * t9 + b5 : -c11 / 2 * ((t9 -= 2) * t9 * t9 * t9 - 2) + b5;
54422
+ easeInOutQuart: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54423
+ return (t9 /= d6 / 2) < 1 ? c11 / 2 * t9 * t9 * t9 * t9 + b5 : -c11 / 2 * ((t9 -= 2) * t9 * t9 * t9 - 2) + b5;
54424
54424
  }, "easeInOutQuart"),
54425
- easeInQuint: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54426
- return c11 * (t9 /= d5) * t9 * t9 * t9 * t9 + b5;
54425
+ easeInQuint: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54426
+ return c11 * (t9 /= d6) * t9 * t9 * t9 * t9 + b5;
54427
54427
  }, "easeInQuint"),
54428
- easeOutQuint: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54429
- return c11 * ((t9 = t9 / d5 - 1) * t9 * t9 * t9 * t9 + 1) + b5;
54428
+ easeOutQuint: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54429
+ return c11 * ((t9 = t9 / d6 - 1) * t9 * t9 * t9 * t9 + 1) + b5;
54430
54430
  }, "easeOutQuint"),
54431
- easeInOutQuint: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54432
- return (t9 /= d5 / 2) < 1 ? c11 / 2 * t9 * t9 * t9 * t9 * t9 + b5 : c11 / 2 * ((t9 -= 2) * t9 * t9 * t9 * t9 + 2) + b5;
54431
+ easeInOutQuint: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54432
+ return (t9 /= d6 / 2) < 1 ? c11 / 2 * t9 * t9 * t9 * t9 * t9 + b5 : c11 / 2 * ((t9 -= 2) * t9 * t9 * t9 * t9 + 2) + b5;
54433
54433
  }, "easeInOutQuint"),
54434
- easeInSine: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54435
- return -c11 * cos(t9 / d5 * (PI / 2)) + c11 + b5;
54434
+ easeInSine: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54435
+ return -c11 * cos(t9 / d6 * (PI / 2)) + c11 + b5;
54436
54436
  }, "easeInSine"),
54437
- easeOutSine: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54438
- return c11 * sin(t9 / d5 * (PI / 2)) + b5;
54437
+ easeOutSine: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54438
+ return c11 * sin(t9 / d6 * (PI / 2)) + b5;
54439
54439
  }, "easeOutSine"),
54440
- easeInOutSine: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54441
- return -c11 / 2 * (cos(PI * t9 / d5) - 1) + b5;
54440
+ easeInOutSine: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54441
+ return -c11 / 2 * (cos(PI * t9 / d6) - 1) + b5;
54442
54442
  }, "easeInOutSine"),
54443
- easeInExpo: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54444
- return t9 === 0 ? b5 : c11 * pow(2, 10 * (t9 / d5 - 1)) + b5;
54443
+ easeInExpo: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54444
+ return t9 === 0 ? b5 : c11 * pow(2, 10 * (t9 / d6 - 1)) + b5;
54445
54445
  }, "easeInExpo"),
54446
- easeOutExpo: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54447
- return t9 === d5 ? b5 + c11 : c11 * (-pow(2, -10 * t9 / d5) + 1) + b5;
54446
+ easeOutExpo: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54447
+ return t9 === d6 ? b5 + c11 : c11 * (-pow(2, -10 * t9 / d6) + 1) + b5;
54448
54448
  }, "easeOutExpo"),
54449
- easeInOutExpo: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54449
+ easeInOutExpo: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54450
54450
  if (t9 === 0)
54451
54451
  return b5;
54452
- if (t9 === d5)
54452
+ if (t9 === d6)
54453
54453
  return b5 + c11;
54454
- if ((t9 /= d5 / 2) < 1)
54454
+ if ((t9 /= d6 / 2) < 1)
54455
54455
  return c11 / 2 * pow(2, 10 * (t9 - 1)) + b5;
54456
54456
  return c11 / 2 * (-pow(2, -10 * --t9) + 2) + b5;
54457
54457
  }, "easeInOutExpo"),
54458
- easeInCirc: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54459
- return -c11 * (sqrt(1 - (t9 /= d5) * t9) - 1) + b5;
54458
+ easeInCirc: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54459
+ return -c11 * (sqrt(1 - (t9 /= d6) * t9) - 1) + b5;
54460
54460
  }, "easeInCirc"),
54461
- easeOutCirc: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54462
- return c11 * sqrt(1 - (t9 = t9 / d5 - 1) * t9) + b5;
54461
+ easeOutCirc: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54462
+ return c11 * sqrt(1 - (t9 = t9 / d6 - 1) * t9) + b5;
54463
54463
  }, "easeOutCirc"),
54464
- easeInOutCirc: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d5) {
54465
- return (t9 /= d5 / 2) < 1 ? -c11 / 2 * (sqrt(1 - t9 * t9) - 1) + b5 : c11 / 2 * (sqrt(1 - (t9 -= 2) * t9) + 1) + b5;
54464
+ easeInOutCirc: /* @__PURE__ */ __name(function(_4, t9, b5, c11, d6) {
54465
+ return (t9 /= d6 / 2) < 1 ? -c11 / 2 * (sqrt(1 - t9 * t9) - 1) + b5 : c11 / 2 * (sqrt(1 - (t9 -= 2) * t9) + 1) + b5;
54466
54466
  }, "easeInOutCirc")
54467
54467
  };
54468
54468
  var $$ = /* @__PURE__ */ __name(function(selector) {
@@ -56417,9 +56417,9 @@ var init_directive_helpers = __esm({
56417
56417
  "node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/directive-helpers.js"() {
56418
56418
  init_lit_html();
56419
56419
  ({ I: t6 } = j), i7 = /* @__PURE__ */ __name((o13) => o13, "i"), n8 = /* @__PURE__ */ __name((o13) => null === o13 || "object" != typeof o13 && "function" != typeof o13, "n"), e9 = { HTML: 1, SVG: 2, MATHML: 3 }, l4 = /* @__PURE__ */ __name((o13, t9) => void 0 === t9 ? void 0 !== o13?._$litType$ : o13?._$litType$ === t9, "l"), d3 = /* @__PURE__ */ __name((o13) => null != o13?._$litType$?.h, "d"), c5 = /* @__PURE__ */ __name((o13) => void 0 !== o13?._$litDirective$, "c"), f4 = /* @__PURE__ */ __name((o13) => o13?._$litDirective$, "f"), r8 = /* @__PURE__ */ __name((o13) => void 0 === o13.strings, "r"), s6 = /* @__PURE__ */ __name(() => document.createComment(""), "s"), v3 = /* @__PURE__ */ __name((o13, n12, e11) => {
56420
- const l6 = o13._$AA.parentNode, d5 = void 0 === n12 ? o13._$AB : n12._$AA;
56420
+ const l7 = o13._$AA.parentNode, d6 = void 0 === n12 ? o13._$AB : n12._$AA;
56421
56421
  if (void 0 === e11) {
56422
- const i11 = l6.insertBefore(s6(), d5), n13 = l6.insertBefore(s6(), d5);
56422
+ const i11 = l7.insertBefore(s6(), d6), n13 = l7.insertBefore(s6(), d6);
56423
56423
  e11 = new t6(i11, n13, o13, o13.options);
56424
56424
  } else {
56425
56425
  const t9 = e11._$AB.nextSibling, n13 = e11._$AM, c11 = n13 !== o13;
@@ -56427,11 +56427,11 @@ var init_directive_helpers = __esm({
56427
56427
  let t10;
56428
56428
  e11._$AQ?.(o13), e11._$AM = o13, void 0 !== e11._$AP && (t10 = o13._$AU) !== n13._$AU && e11._$AP(t10);
56429
56429
  }
56430
- if (t9 !== d5 || c11) {
56430
+ if (t9 !== d6 || c11) {
56431
56431
  let o14 = e11._$AA;
56432
56432
  for (; o14 !== t9; ) {
56433
56433
  const t10 = i7(o14).nextSibling;
56434
- i7(l6).insertBefore(o14, d5), o14 = t10;
56434
+ i7(l7).insertBefore(o14, d6), o14 = t10;
56435
56435
  }
56436
56436
  }
56437
56437
  }
@@ -56868,7 +56868,7 @@ var init_repeat2 = __esm({
56868
56868
  init_directive_helpers();
56869
56869
  u5 = /* @__PURE__ */ __name((e11, s10, t9) => {
56870
56870
  const r11 = /* @__PURE__ */ new Map();
56871
- for (let l6 = s10; l6 <= t9; l6++) r11.set(e11[l6], l6);
56871
+ for (let l7 = s10; l7 <= t9; l7++) r11.set(e11[l7], l7);
56872
56872
  return r11;
56873
56873
  }, "u"), c9 = e4(class extends i6 {
56874
56874
  constructor(e11) {
@@ -56877,40 +56877,40 @@ var init_repeat2 = __esm({
56877
56877
  dt(e11, s10, t9) {
56878
56878
  let r11;
56879
56879
  void 0 === t9 ? t9 = s10 : void 0 !== s10 && (r11 = s10);
56880
- const l6 = [], o13 = [];
56880
+ const l7 = [], o13 = [];
56881
56881
  let i11 = 0;
56882
- for (const s11 of e11) l6[i11] = r11 ? r11(s11, i11) : i11, o13[i11] = t9(s11, i11), i11++;
56883
- return { values: o13, keys: l6 };
56882
+ for (const s11 of e11) l7[i11] = r11 ? r11(s11, i11) : i11, o13[i11] = t9(s11, i11), i11++;
56883
+ return { values: o13, keys: l7 };
56884
56884
  }
56885
56885
  render(e11, s10, t9) {
56886
56886
  return this.dt(e11, s10, t9).values;
56887
56887
  }
56888
56888
  update(s10, [t9, r11, c11]) {
56889
- const d5 = M2(s10), { values: p7, keys: a5 } = this.dt(t9, r11, c11);
56890
- if (!Array.isArray(d5)) return this.ut = a5, p7;
56889
+ const d6 = M2(s10), { values: p7, keys: a5 } = this.dt(t9, r11, c11);
56890
+ if (!Array.isArray(d6)) return this.ut = a5, p7;
56891
56891
  const h8 = this.ut ??= [], v5 = [];
56892
- let m6, y4, x4 = 0, j4 = d5.length - 1, k4 = 0, w4 = p7.length - 1;
56893
- for (; x4 <= j4 && k4 <= w4; ) if (null === d5[x4]) x4++;
56894
- else if (null === d5[j4]) j4--;
56895
- else if (h8[x4] === a5[k4]) v5[k4] = u4(d5[x4], p7[k4]), x4++, k4++;
56896
- else if (h8[j4] === a5[w4]) v5[w4] = u4(d5[j4], p7[w4]), j4--, w4--;
56897
- else if (h8[x4] === a5[w4]) v5[w4] = u4(d5[x4], p7[w4]), v3(s10, v5[w4 + 1], d5[x4]), x4++, w4--;
56898
- else if (h8[j4] === a5[k4]) v5[k4] = u4(d5[j4], p7[k4]), v3(s10, d5[x4], d5[j4]), j4--, k4++;
56892
+ let m6, y4, x4 = 0, j4 = d6.length - 1, k4 = 0, w4 = p7.length - 1;
56893
+ for (; x4 <= j4 && k4 <= w4; ) if (null === d6[x4]) x4++;
56894
+ else if (null === d6[j4]) j4--;
56895
+ else if (h8[x4] === a5[k4]) v5[k4] = u4(d6[x4], p7[k4]), x4++, k4++;
56896
+ else if (h8[j4] === a5[w4]) v5[w4] = u4(d6[j4], p7[w4]), j4--, w4--;
56897
+ else if (h8[x4] === a5[w4]) v5[w4] = u4(d6[x4], p7[w4]), v3(s10, v5[w4 + 1], d6[x4]), x4++, w4--;
56898
+ else if (h8[j4] === a5[k4]) v5[k4] = u4(d6[j4], p7[k4]), v3(s10, d6[x4], d6[j4]), j4--, k4++;
56899
56899
  else if (void 0 === m6 && (m6 = u5(a5, k4, w4), y4 = u5(h8, x4, j4)), m6.has(h8[x4])) if (m6.has(h8[j4])) {
56900
- const e11 = y4.get(a5[k4]), t10 = void 0 !== e11 ? d5[e11] : null;
56900
+ const e11 = y4.get(a5[k4]), t10 = void 0 !== e11 ? d6[e11] : null;
56901
56901
  if (null === t10) {
56902
- const e12 = v3(s10, d5[x4]);
56902
+ const e12 = v3(s10, d6[x4]);
56903
56903
  u4(e12, p7[k4]), v5[k4] = e12;
56904
- } else v5[k4] = u4(t10, p7[k4]), v3(s10, d5[x4], t10), d5[e11] = null;
56904
+ } else v5[k4] = u4(t10, p7[k4]), v3(s10, d6[x4], t10), d6[e11] = null;
56905
56905
  k4++;
56906
- } else h3(d5[j4]), j4--;
56907
- else h3(d5[x4]), x4++;
56906
+ } else h3(d6[j4]), j4--;
56907
+ else h3(d6[x4]), x4++;
56908
56908
  for (; k4 <= w4; ) {
56909
56909
  const e11 = v3(s10, v5[w4 + 1]);
56910
56910
  u4(e11, p7[k4]), v5[k4++] = e11;
56911
56911
  }
56912
56912
  for (; x4 <= j4; ) {
56913
- const e11 = d5[x4++];
56913
+ const e11 = d6[x4++];
56914
56914
  null !== e11 && h3(e11);
56915
56915
  }
56916
56916
  return this.ut = a5, p5(s10, v5), E;
@@ -56969,41 +56969,79 @@ var init_dist_ts30 = __esm({
56969
56969
  });
56970
56970
 
56971
56971
  // ts_web/elements/00theme.ts
56972
- var themeDefaults, themeDefaultStyles;
56972
+ var themeDefaults, l5, d4, themeDefaultStyles;
56973
56973
  var init_theme = __esm({
56974
56974
  "ts_web/elements/00theme.ts"() {
56975
56975
  init_dist_ts30();
56976
56976
  themeDefaults = {
56977
56977
  colors: {
56978
56978
  light: {
56979
- bgPrimary: "#ffffff",
56980
- bgSecondary: "#fafafa",
56981
- bgTertiary: "#f4f4f5",
56982
- textPrimary: "#09090b",
56983
- textSecondary: "#374151",
56984
- textMuted: "#71717a",
56985
- borderDefault: "#e5e7eb",
56986
- borderSubtle: "#f4f4f5",
56987
- borderStrong: "#d1d5db",
56979
+ bgPrimary: "hsl(0 0% 100%)",
56980
+ // #ffffff
56981
+ bgSecondary: "hsl(0 0% 98%)",
56982
+ // #fafafa
56983
+ bgTertiary: "hsl(0 0% 96%)",
56984
+ // #f5f5f5
56985
+ textPrimary: "hsl(0 0% 3.9%)",
56986
+ // #0a0a0a
56987
+ textSecondary: "hsl(0 0% 20%)",
56988
+ // #333333
56989
+ textMuted: "hsl(0 0% 45%)",
56990
+ // #737373
56991
+ textWarm: "#78716c",
56992
+ // warm stone
56993
+ borderDefault: "hsl(0 0% 89.8%)",
56994
+ // #e5e5e5
56995
+ borderSubtle: "hsl(0 0% 93%)",
56996
+ // #ededed
56997
+ borderStrong: "hsl(0 0% 80%)",
56998
+ // #cccccc
56988
56999
  accentPrimary: "#3b82f6",
56989
57000
  accentSuccess: "#22c55e",
56990
57001
  accentWarning: "#f59e0b",
56991
- accentError: "#ef4444"
57002
+ accentError: "#ef4444",
57003
+ badgeDefaultBg: "#f4f4f5",
57004
+ badgeDefaultFg: "#3f3f46",
57005
+ badgeSuccessBg: "#dcfce7",
57006
+ badgeSuccessFg: "#166534",
57007
+ badgeWarningBg: "#fef3c7",
57008
+ badgeWarningFg: "#92400e",
57009
+ badgeErrorBg: "#fee2e2",
57010
+ badgeErrorFg: "#991b1b"
56992
57011
  },
56993
57012
  dark: {
56994
- bgPrimary: "#09090b",
56995
- bgSecondary: "#0a0a0a",
56996
- bgTertiary: "#18181b",
56997
- textPrimary: "#fafafa",
56998
- textSecondary: "#d4d4d8",
56999
- textMuted: "#a1a1aa",
57000
- borderDefault: "#27272a",
57001
- borderSubtle: "#1a1a1a",
57002
- borderStrong: "#3f3f46",
57013
+ bgPrimary: "hsl(0 0% 3.9%)",
57014
+ // #0a0a0a
57015
+ bgSecondary: "hsl(0 0% 3.9%)",
57016
+ // #0a0a0a (matches sidebar/tile in dark)
57017
+ bgTertiary: "hsl(0 0% 7%)",
57018
+ // #121212
57019
+ textPrimary: "hsl(0 0% 98%)",
57020
+ // #fafafa
57021
+ textSecondary: "hsl(0 0% 63.9%)",
57022
+ // #a3a3a3
57023
+ textMuted: "hsl(0 0% 55%)",
57024
+ // #8c8c8c
57025
+ textWarm: "#b5a99a",
57026
+ // warm stone
57027
+ borderDefault: "hsl(0 0% 14.9%)",
57028
+ // #262626
57029
+ borderSubtle: "hsl(0 0% 11%)",
57030
+ // #1c1c1c
57031
+ borderStrong: "hsl(0 0% 20%)",
57032
+ // #333333
57003
57033
  accentPrimary: "#3b82f6",
57004
57034
  accentSuccess: "#22c55e",
57005
57035
  accentWarning: "#f59e0b",
57006
- accentError: "#ef4444"
57036
+ accentError: "#ef4444",
57037
+ badgeDefaultBg: "#27272a",
57038
+ badgeDefaultFg: "#a1a1aa",
57039
+ badgeSuccessBg: "#14532d",
57040
+ badgeSuccessFg: "#4ade80",
57041
+ badgeWarningBg: "#451a03",
57042
+ badgeWarningFg: "#fbbf24",
57043
+ badgeErrorBg: "#450a0a",
57044
+ badgeErrorFg: "#f87171"
57007
57045
  }
57008
57046
  },
57009
57047
  spacing: {
@@ -57042,8 +57080,97 @@ var init_theme = __esm({
57042
57080
  xl: "48px"
57043
57081
  }
57044
57082
  };
57083
+ l5 = themeDefaults.colors.light;
57084
+ d4 = themeDefaults.colors.dark;
57045
57085
  themeDefaultStyles = i`
57046
57086
  :host {
57087
+ /* ========================================
57088
+ * Colors — Background (from themeDefaults)
57089
+ * ======================================== */
57090
+ --dees-color-bg-primary: ${cssManager.bdTheme(l5.bgPrimary, d4.bgPrimary)};
57091
+ --dees-color-bg-secondary: ${cssManager.bdTheme(l5.bgSecondary, d4.bgSecondary)};
57092
+ --dees-color-bg-tertiary: ${cssManager.bdTheme(l5.bgTertiary, d4.bgTertiary)};
57093
+
57094
+ /* ========================================
57095
+ * Colors — Text (from themeDefaults)
57096
+ * ======================================== */
57097
+ --dees-color-text-primary: ${cssManager.bdTheme(l5.textPrimary, d4.textPrimary)};
57098
+ --dees-color-text-secondary: ${cssManager.bdTheme(l5.textSecondary, d4.textSecondary)};
57099
+ --dees-color-text-muted: ${cssManager.bdTheme(l5.textMuted, d4.textMuted)};
57100
+
57101
+ /* ========================================
57102
+ * Colors — Border (from themeDefaults)
57103
+ * ======================================== */
57104
+ --dees-color-border-default: ${cssManager.bdTheme(l5.borderDefault, d4.borderDefault)};
57105
+ --dees-color-border-subtle: ${cssManager.bdTheme(l5.borderSubtle, d4.borderSubtle)};
57106
+ --dees-color-border-strong: ${cssManager.bdTheme(l5.borderStrong, d4.borderStrong)};
57107
+
57108
+ /* ========================================
57109
+ * Colors — Warm Text (from themeDefaults)
57110
+ * ======================================== */
57111
+ --dees-color-text-warm: ${cssManager.bdTheme(l5.textWarm, d4.textWarm)};
57112
+
57113
+ /* ========================================
57114
+ * Colors — Accent (from themeDefaults)
57115
+ * ======================================== */
57116
+ --dees-color-accent-primary: ${cssManager.bdTheme(l5.accentPrimary, d4.accentPrimary)};
57117
+ --dees-color-accent-success: ${cssManager.bdTheme(l5.accentSuccess, d4.accentSuccess)};
57118
+ --dees-color-accent-warning: ${cssManager.bdTheme(l5.accentWarning, d4.accentWarning)};
57119
+ --dees-color-accent-error: ${cssManager.bdTheme(l5.accentError, d4.accentError)};
57120
+
57121
+ /* ========================================
57122
+ * Colors — Badge (from themeDefaults)
57123
+ * ======================================== */
57124
+ --dees-color-badge-default-bg: ${cssManager.bdTheme(l5.badgeDefaultBg, d4.badgeDefaultBg)};
57125
+ --dees-color-badge-default-fg: ${cssManager.bdTheme(l5.badgeDefaultFg, d4.badgeDefaultFg)};
57126
+ --dees-color-badge-success-bg: ${cssManager.bdTheme(l5.badgeSuccessBg, d4.badgeSuccessBg)};
57127
+ --dees-color-badge-success-fg: ${cssManager.bdTheme(l5.badgeSuccessFg, d4.badgeSuccessFg)};
57128
+ --dees-color-badge-warning-bg: ${cssManager.bdTheme(l5.badgeWarningBg, d4.badgeWarningBg)};
57129
+ --dees-color-badge-warning-fg: ${cssManager.bdTheme(l5.badgeWarningFg, d4.badgeWarningFg)};
57130
+ --dees-color-badge-error-bg: ${cssManager.bdTheme(l5.badgeErrorBg, d4.badgeErrorBg)};
57131
+ --dees-color-badge-error-fg: ${cssManager.bdTheme(l5.badgeErrorFg, d4.badgeErrorFg)};
57132
+
57133
+ /* ========================================
57134
+ * Colors — Interactive States
57135
+ * ======================================== */
57136
+ --dees-color-hover: ${cssManager.bdTheme("rgba(0, 0, 0, 0.04)", "rgba(255, 255, 255, 0.06)")};
57137
+ --dees-color-active: ${cssManager.bdTheme("rgba(0, 0, 0, 0.06)", "rgba(255, 255, 255, 0.08)")};
57138
+ --dees-color-pressed: ${cssManager.bdTheme("rgba(0, 0, 0, 0.08)", "rgba(255, 255, 255, 0.12)")};
57139
+
57140
+ /* ========================================
57141
+ * Colors — Focus Ring
57142
+ * ======================================== */
57143
+ --dees-color-focus-ring: ${cssManager.bdTheme("rgba(59, 130, 246, 0.4)", "rgba(59, 130, 246, 0.4)")};
57144
+
57145
+ /* ========================================
57146
+ * Colors — Tooltip (inverted contrast)
57147
+ * ======================================== */
57148
+ --dees-color-tooltip-bg: ${cssManager.bdTheme("#18181b", "#fafafa")};
57149
+ --dees-color-tooltip-fg: ${cssManager.bdTheme("#fafafa", "#18181b")};
57150
+
57151
+ /* ========================================
57152
+ * Colors — Link
57153
+ * ======================================== */
57154
+ --dees-color-link: ${cssManager.bdTheme("#3b82f6", "#60a5fa")};
57155
+ --dees-color-link-hover: ${cssManager.bdTheme("#2563eb", "#93bbfd")};
57156
+
57157
+ /* ========================================
57158
+ * Colors — Code
57159
+ * ======================================== */
57160
+ --dees-color-code-bg: ${cssManager.bdTheme("rgba(0, 0, 0, 0.06)", "rgba(255, 255, 255, 0.1)")};
57161
+ --dees-color-code-block-bg: ${cssManager.bdTheme("#f4f4f5", "#18181b")};
57162
+
57163
+ /* ========================================
57164
+ * Colors — Selection
57165
+ * ======================================== */
57166
+ --dees-color-selection: ${cssManager.bdTheme("rgba(59, 130, 246, 0.2)", "rgba(59, 130, 246, 0.3)")};
57167
+
57168
+ /* ========================================
57169
+ * Colors — Scrollbar
57170
+ * ======================================== */
57171
+ --dees-color-scrollbar-thumb: ${cssManager.bdTheme("rgba(0, 0, 0, 0.15)", "rgba(255, 255, 255, 0.15)")};
57172
+ --dees-color-scrollbar-thumb-hover: ${cssManager.bdTheme("rgba(0, 0, 0, 0.25)", "rgba(255, 255, 255, 0.25)")};
57173
+
57047
57174
  /* ========================================
57048
57175
  * Spacing Scale
57049
57176
  * ======================================== */
@@ -57188,15 +57315,15 @@ function _inherits(t9, e11) {
57188
57315
  function _iterableToArray(r11) {
57189
57316
  if ("undefined" != typeof Symbol && null != r11[Symbol.iterator] || null != r11["@@iterator"]) return Array.from(r11);
57190
57317
  }
57191
- function _iterableToArrayLimit(r11, l6) {
57318
+ function _iterableToArrayLimit(r11, l7) {
57192
57319
  var t9 = null == r11 ? null : "undefined" != typeof Symbol && r11[Symbol.iterator] || r11["@@iterator"];
57193
57320
  if (null != t9) {
57194
57321
  var e11, n12, i11, u7, a5 = [], f7 = true, o13 = false;
57195
57322
  try {
57196
- if (i11 = (t9 = t9.call(r11)).next, 0 === l6) {
57323
+ if (i11 = (t9 = t9.call(r11)).next, 0 === l7) {
57197
57324
  if (Object(t9) !== t9) return;
57198
57325
  f7 = false;
57199
- } else for (; !(f7 = (e11 = i11.call(t9)).done) && (a5.push(e11.value), a5.length !== l6); f7 = true) ;
57326
+ } else for (; !(f7 = (e11 = i11.call(t9)).done) && (a5.push(e11.value), a5.length !== l7); f7 = true) ;
57200
57327
  } catch (r12) {
57201
57328
  o13 = true, n12 = r12;
57202
57329
  } finally {
@@ -58472,7 +58599,7 @@ function deGroup(abstract) {
58472
58599
  return [abstract];
58473
58600
  }
58474
58601
  }
58475
- var noop2, _WINDOW, _DOCUMENT, _MUTATION_OBSERVER, _PERFORMANCE, _ref, _ref$userAgent, userAgent, WINDOW, DOCUMENT, MUTATION_OBSERVER, PERFORMANCE, IS_BROWSER, IS_DOM, IS_IE, _ht, G, M3, Q, X, Z2, i10, t8, d4, l5, f6, h7, n11, g3, o12, u6, m5, e10, y3, p6, s9, w3, a4, x3, b4, c10, I2, F, v4, S3, A3, P3, j3, B2, N2, k3, D3, T3, C3, W2, K2, R3, L2, U, dt2, ht, yt, Kt, Et, Mt, Ht, Qt, Xt, J, r10, E3, _3, ll, sl, hl, nl, ml, _wt, t$1, f$1, h$1, o$1, n$1, s$1, u$1, g$1, y$1, m$1, a$1, p$1, w$1, e$1, b$1, c$1, r$1, x$1, i$1, I$1, F$1, v$1, S$1, A$1, P$1, j$1, B$1, N$1, k$1, D$1, C$1, T$1, L$1, W$1, R$1, K$1, U$1, J$1, E$1, _$1, wt$1, G$1, d$1, M$1, O2, dl$1, Hl, Y$1, Xl, V$1, lo, $3, z$1, q$1, H$1, so, fo, NAMESPACE_IDENTIFIER, UNITS_IN_GRID, DEFAULT_CSS_PREFIX, DEFAULT_REPLACEMENT_CLASS, DATA_FA_I2SVG, DATA_FA_PSEUDO_ELEMENT, DATA_FA_PSEUDO_ELEMENT_PENDING, DATA_PREFIX, DATA_ICON, HTML_CLASS_I2SVG_BASE_CLASS, MUTATION_APPROACH_ASYNC, TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS, PSEUDO_ELEMENTS, PRODUCTION, _PREFIX_TO_STYLE, PREFIX_TO_STYLE, _STYLE_TO_PREFIX, STYLE_TO_PREFIX, _PREFIX_TO_LONG_STYLE, PREFIX_TO_LONG_STYLE, _LONG_STYLE_TO_PREFIX, LONG_STYLE_TO_PREFIX, ICON_SELECTION_SYNTAX_PATTERN, LAYERS_TEXT_CLASSNAME, FONT_FAMILY_PATTERN, _FONT_WEIGHT_TO_PREFIX, FONT_WEIGHT_TO_PREFIX, ATTRIBUTES_WATCHED_FOR_MUTATION, DUOTONE_CLASSES, RESERVED_CLASSES, initial, _default, _config, config2, _onChangeCb, d$2, meaninglessTransform, idPool, baseStyles, _cssInserted, InjectCSS, w$2, namespace, functions, _listener, loaded, bindInternal4, reduce3, MONO, DUO, modernMatches, legacyMatches, styles2, shims, FAMILY_NAMES, PREFIXES_FOR_FAMILY, _defaultUsablePrefix, _byUnicode, _byLigature, _byOldName, _byOldUnicode, _byAlias, build, emptyCanonicalIcon, _faCombinedClasses, newCanonicalFamilies, newCanonicalStyles, Library, _plugins, _hooks, providers, defaultProviderKeys, library, noAuto, dom, parse9, api, autoReplace, styles$1, missingIconResolutionMixin, noop$1, p$2, preamble, begin, end, perf, noop$2, mutators, disabled, mo, styles$2, render, ReplaceElements, Layers, LayersCounter, LayersText, CLEAN_CONTENT_PATTERN, SECONDARY_UNICODE_RANGE, _FONT_FAMILY_WEIGHT_TO_PREFIX, FONT_FAMILY_WEIGHT_TO_PREFIX, FONT_FAMILY_WEIGHT_FALLBACK, hasPseudoElement, parseCSSRuleForPseudos, PseudoElements, _unwatched, MutationObserver$1, parseTransformString, PowerTransforms, ALL_SPACE, Masks, MissingIconIndicator, SvgSymbols, plugins2, noAuto$1, config$1, library$1, dom$1, parse$1, findIconDefinition$1, toHtml$1, icon2, layer, text8, counter, attrs;
58602
+ var noop2, _WINDOW, _DOCUMENT, _MUTATION_OBSERVER, _PERFORMANCE, _ref, _ref$userAgent, userAgent, WINDOW, DOCUMENT, MUTATION_OBSERVER, PERFORMANCE, IS_BROWSER, IS_DOM, IS_IE, _ht, G, M3, Q, X, Z2, i10, t8, d5, l6, f6, h7, n11, g3, o12, u6, m5, e10, y3, p6, s9, w3, a4, x3, b4, c10, I2, F, v4, S3, A3, P3, j3, B2, N2, k3, D3, T3, C3, W2, K2, R3, L2, U, dt2, ht, yt, Kt, Et, Mt, Ht, Qt, Xt, J, r10, E3, _3, ll, sl, hl, nl, ml, _wt, t$1, f$1, h$1, o$1, n$1, s$1, u$1, g$1, y$1, m$1, a$1, p$1, w$1, e$1, b$1, c$1, r$1, x$1, i$1, I$1, F$1, v$1, S$1, A$1, P$1, j$1, B$1, N$1, k$1, D$1, C$1, T$1, L$1, W$1, R$1, K$1, U$1, J$1, E$1, _$1, wt$1, G$1, d$1, M$1, O2, dl$1, Hl, Y$1, Xl, V$1, lo, $3, z$1, q$1, H$1, so, fo, NAMESPACE_IDENTIFIER, UNITS_IN_GRID, DEFAULT_CSS_PREFIX, DEFAULT_REPLACEMENT_CLASS, DATA_FA_I2SVG, DATA_FA_PSEUDO_ELEMENT, DATA_FA_PSEUDO_ELEMENT_PENDING, DATA_PREFIX, DATA_ICON, HTML_CLASS_I2SVG_BASE_CLASS, MUTATION_APPROACH_ASYNC, TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS, PSEUDO_ELEMENTS, PRODUCTION, _PREFIX_TO_STYLE, PREFIX_TO_STYLE, _STYLE_TO_PREFIX, STYLE_TO_PREFIX, _PREFIX_TO_LONG_STYLE, PREFIX_TO_LONG_STYLE, _LONG_STYLE_TO_PREFIX, LONG_STYLE_TO_PREFIX, ICON_SELECTION_SYNTAX_PATTERN, LAYERS_TEXT_CLASSNAME, FONT_FAMILY_PATTERN, _FONT_WEIGHT_TO_PREFIX, FONT_WEIGHT_TO_PREFIX, ATTRIBUTES_WATCHED_FOR_MUTATION, DUOTONE_CLASSES, RESERVED_CLASSES, initial, _default, _config, config2, _onChangeCb, d$2, meaninglessTransform, idPool, baseStyles, _cssInserted, InjectCSS, w$2, namespace, functions, _listener, loaded, bindInternal4, reduce3, MONO, DUO, modernMatches, legacyMatches, styles2, shims, FAMILY_NAMES, PREFIXES_FOR_FAMILY, _defaultUsablePrefix, _byUnicode, _byLigature, _byOldName, _byOldUnicode, _byAlias, build, emptyCanonicalIcon, _faCombinedClasses, newCanonicalFamilies, newCanonicalStyles, Library, _plugins, _hooks, providers, defaultProviderKeys, library, noAuto, dom, parse9, api, autoReplace, styles$1, missingIconResolutionMixin, noop$1, p$2, preamble, begin, end, perf, noop$2, mutators, disabled, mo, styles$2, render, ReplaceElements, Layers, LayersCounter, LayersText, CLEAN_CONTENT_PATTERN, SECONDARY_UNICODE_RANGE, _FONT_FAMILY_WEIGHT_TO_PREFIX, FONT_FAMILY_WEIGHT_TO_PREFIX, FONT_FAMILY_WEIGHT_FALLBACK, hasPseudoElement, parseCSSRuleForPseudos, PseudoElements, _unwatched, MutationObserver$1, parseTransformString, PowerTransforms, ALL_SPACE, Masks, MissingIconIndicator, SvgSymbols, plugins2, noAuto$1, config$1, library$1, dom$1, parse$1, findIconDefinition$1, toHtml$1, icon2, layer, text8, counter, attrs;
58476
58603
  var init_fontawesome_svg_core = __esm({
58477
58604
  "node_modules/.pnpm/@fortawesome+fontawesome-svg-core@7.2.0/node_modules/@fortawesome/fontawesome-svg-core/index.mjs"() {
58478
58605
  __name(_arrayLikeToArray, "_arrayLikeToArray");
@@ -58637,7 +58764,7 @@ var init_fontawesome_svg_core = __esm({
58637
58764
  PRIMARY: "primary",
58638
58765
  SECONDARY: "secondary"
58639
58766
  }, Z2 = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"];
58640
- i10 = "classic", t8 = "duotone", d4 = "sharp", l5 = "sharp-duotone", f6 = "chisel", h7 = "etch", n11 = "graphite", g3 = "jelly", o12 = "jelly-duo", u6 = "jelly-fill", m5 = "notdog", e10 = "notdog-duo", y3 = "slab", p6 = "slab-press", s9 = "thumbprint", w3 = "utility", a4 = "utility-duo", x3 = "utility-fill", b4 = "whiteboard", c10 = "Classic", I2 = "Duotone", F = "Sharp", v4 = "Sharp Duotone", S3 = "Chisel", A3 = "Etch", P3 = "Graphite", j3 = "Jelly", B2 = "Jelly Duo", N2 = "Jelly Fill", k3 = "Notdog", D3 = "Notdog Duo", T3 = "Slab", C3 = "Slab Press", W2 = "Thumbprint", K2 = "Utility", R3 = "Utility Duo", L2 = "Utility Fill", U = "Whiteboard", dt2 = [i10, t8, d4, l5, f6, h7, n11, g3, o12, u6, m5, e10, y3, p6, s9, w3, a4, x3, b4], ht = (_ht = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ht, i10, c10), t8, I2), d4, F), l5, v4), f6, S3), h7, A3), n11, P3), g3, j3), o12, B2), u6, N2), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ht, m5, k3), e10, D3), y3, T3), p6, C3), s9, W2), w3, K2), a4, R3), x3, L2), b4, U));
58767
+ i10 = "classic", t8 = "duotone", d5 = "sharp", l6 = "sharp-duotone", f6 = "chisel", h7 = "etch", n11 = "graphite", g3 = "jelly", o12 = "jelly-duo", u6 = "jelly-fill", m5 = "notdog", e10 = "notdog-duo", y3 = "slab", p6 = "slab-press", s9 = "thumbprint", w3 = "utility", a4 = "utility-duo", x3 = "utility-fill", b4 = "whiteboard", c10 = "Classic", I2 = "Duotone", F = "Sharp", v4 = "Sharp Duotone", S3 = "Chisel", A3 = "Etch", P3 = "Graphite", j3 = "Jelly", B2 = "Jelly Duo", N2 = "Jelly Fill", k3 = "Notdog", D3 = "Notdog Duo", T3 = "Slab", C3 = "Slab Press", W2 = "Thumbprint", K2 = "Utility", R3 = "Utility Duo", L2 = "Utility Fill", U = "Whiteboard", dt2 = [i10, t8, d5, l6, f6, h7, n11, g3, o12, u6, m5, e10, y3, p6, s9, w3, a4, x3, b4], ht = (_ht = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ht, i10, c10), t8, I2), d5, F), l6, v4), f6, S3), h7, A3), n11, P3), g3, j3), o12, B2), u6, N2), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ht, m5, k3), e10, D3), y3, T3), p6, C3), s9, W2), w3, K2), a4, R3), x3, L2), b4, U));
58641
58768
  yt = {
58642
58769
  classic: {
58643
58770
  900: "fas",
@@ -59208,10 +59335,10 @@ var init_fontawesome_svg_core = __esm({
59208
59335
  "utility-fill": {
59209
59336
  faufsb: "fa-semibold"
59210
59337
  }
59211
- }, V$1 = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], lo = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(f$1, V$1), $3 = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], z$1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], q$1 = z$1.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), H$1 = ["aw", "fw", "pull-left", "pull-right"], so = [].concat(_toConsumableArray(Object.keys(Y$1)), $3, H$1, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", t$1.GROUP, t$1.SWAP_OPACITY, t$1.PRIMARY, t$1.SECONDARY]).concat(z$1.map(function(l6) {
59212
- return "".concat(l6, "x");
59213
- })).concat(q$1.map(function(l6) {
59214
- return "w-".concat(l6);
59338
+ }, V$1 = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], lo = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(f$1, V$1), $3 = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], z$1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], q$1 = z$1.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), H$1 = ["aw", "fw", "pull-left", "pull-right"], so = [].concat(_toConsumableArray(Object.keys(Y$1)), $3, H$1, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", t$1.GROUP, t$1.SWAP_OPACITY, t$1.PRIMARY, t$1.SECONDARY]).concat(z$1.map(function(l7) {
59339
+ return "".concat(l7, "x");
59340
+ })).concat(q$1.map(function(l7) {
59341
+ return "w-".concat(l7);
59215
59342
  }));
59216
59343
  fo = {
59217
59344
  "Font Awesome 5 Free": {
@@ -59408,8 +59535,8 @@ var init_fontawesome_svg_core = __esm({
59408
59535
  __name(toHtml2, "toHtml");
59409
59536
  __name(iconFromMapping, "iconFromMapping");
59410
59537
  bindInternal4 = /* @__PURE__ */ __name(function bindInternal42(func, thisContext) {
59411
- return function(a5, b5, c11, d5) {
59412
- return func.call(thisContext, a5, b5, c11, d5);
59538
+ return function(a5, b5, c11, d6) {
59539
+ return func.call(thisContext, a5, b5, c11, d6);
59413
59540
  };
59414
59541
  }, "bindInternal4");
59415
59542
  reduce3 = /* @__PURE__ */ __name(function fastReduceObject(subject, fn, initialValue, thisContext) {
@@ -109904,9 +110031,9 @@ var init_dist2 = __esm({
109904
110031
  blockRange(other = this, pred) {
109905
110032
  if (other.pos < this.pos)
109906
110033
  return other.blockRange(this);
109907
- for (let d5 = this.depth - (this.parent.inlineContent || this.pos == other.pos ? 1 : 0); d5 >= 0; d5--)
109908
- if (other.pos <= this.end(d5) && (!pred || pred(this.node(d5))))
109909
- return new NodeRange(this, other, d5);
110034
+ for (let d6 = this.depth - (this.parent.inlineContent || this.pos == other.pos ? 1 : 0); d6 >= 0; d6--)
110035
+ if (other.pos <= this.end(d6) && (!pred || pred(this.node(d6))))
110036
+ return new NodeRange(this, other, d6);
109910
110037
  return null;
109911
110038
  }
109912
110039
  /**
@@ -111697,8 +111824,8 @@ var init_dist2 = __esm({
111697
111824
  textblockFromContext() {
111698
111825
  let $context = this.options.context;
111699
111826
  if ($context)
111700
- for (let d5 = $context.depth; d5 >= 0; d5--) {
111701
- let deflt = $context.node(d5).contentMatchAt($context.indexAfter(d5)).defaultType;
111827
+ for (let d6 = $context.depth; d6 >= 0; d6--) {
111828
+ let deflt = $context.node(d6).contentMatchAt($context.indexAfter(d6)).defaultType;
111702
111829
  if (deflt && deflt.isTextblock && deflt.defaultAttrs)
111703
111830
  return deflt;
111704
111831
  }
@@ -112004,19 +112131,19 @@ function lift(tr3, range2, target) {
112004
112131
  let gapStart = $from.before(depth + 1), gapEnd = $to.after(depth + 1);
112005
112132
  let start = gapStart, end3 = gapEnd;
112006
112133
  let before = Fragment.empty, openStart = 0;
112007
- for (let d5 = depth, splitting = false; d5 > target; d5--)
112008
- if (splitting || $from.index(d5) > 0) {
112134
+ for (let d6 = depth, splitting = false; d6 > target; d6--)
112135
+ if (splitting || $from.index(d6) > 0) {
112009
112136
  splitting = true;
112010
- before = Fragment.from($from.node(d5).copy(before));
112137
+ before = Fragment.from($from.node(d6).copy(before));
112011
112138
  openStart++;
112012
112139
  } else {
112013
112140
  start--;
112014
112141
  }
112015
112142
  let after = Fragment.empty, openEnd = 0;
112016
- for (let d5 = depth, splitting = false; d5 > target; d5--)
112017
- if (splitting || $to.after(d5 + 1) < $to.end(d5)) {
112143
+ for (let d6 = depth, splitting = false; d6 > target; d6--)
112144
+ if (splitting || $to.after(d6 + 1) < $to.end(d6)) {
112018
112145
  splitting = true;
112019
- after = Fragment.from($to.node(d5).copy(after));
112146
+ after = Fragment.from($to.node(d6).copy(after));
112020
112147
  openEnd++;
112021
112148
  } else {
112022
112149
  end3++;
@@ -112136,8 +112263,8 @@ function canSplit(doc3, pos, depth = 1, typesAfter) {
112136
112263
  let innerType = typesAfter && typesAfter[typesAfter.length - 1] || $pos.parent;
112137
112264
  if (base2 < 0 || $pos.parent.type.spec.isolating || !$pos.parent.canReplace($pos.index(), $pos.parent.childCount) || !innerType.type.validContent($pos.parent.content.cutByIndex($pos.index(), $pos.parent.childCount)))
112138
112265
  return false;
112139
- for (let d5 = $pos.depth - 1, i11 = depth - 2; d5 > base2; d5--, i11--) {
112140
- let node2 = $pos.node(d5), index4 = $pos.index(d5);
112266
+ for (let d6 = $pos.depth - 1, i11 = depth - 2; d6 > base2; d6--, i11--) {
112267
+ let node2 = $pos.node(d6), index4 = $pos.index(d6);
112141
112268
  if (node2.type.spec.isolating)
112142
112269
  return false;
112143
112270
  let rest = node2.content.cutByIndex(index4, node2.childCount);
@@ -112154,10 +112281,10 @@ function canSplit(doc3, pos, depth = 1, typesAfter) {
112154
112281
  }
112155
112282
  function split(tr3, pos, depth = 1, typesAfter) {
112156
112283
  let $pos = tr3.doc.resolve(pos), before = Fragment.empty, after = Fragment.empty;
112157
- for (let d5 = $pos.depth, e11 = $pos.depth - depth, i11 = depth - 1; d5 > e11; d5--, i11--) {
112158
- before = Fragment.from($pos.node(d5).copy(before));
112284
+ for (let d6 = $pos.depth, e11 = $pos.depth - depth, i11 = depth - 1; d6 > e11; d6--, i11--) {
112285
+ before = Fragment.from($pos.node(d6).copy(before));
112159
112286
  let typeAfter = typesAfter && typesAfter[i11];
112160
- after = Fragment.from(typeAfter ? typeAfter.type.create(typeAfter.attrs, after) : $pos.node(d5).copy(after));
112287
+ after = Fragment.from(typeAfter ? typeAfter.type.create(typeAfter.attrs, after) : $pos.node(d6).copy(after));
112161
112288
  }
112162
112289
  tr3.step(new ReplaceStep(pos, pos, new Slice2(before.append(after), depth, depth), true));
112163
112290
  }
@@ -112186,24 +112313,24 @@ function joinable2(a5, b5) {
112186
112313
  }
112187
112314
  function joinPoint(doc3, pos, dir = -1) {
112188
112315
  let $pos = doc3.resolve(pos);
112189
- for (let d5 = $pos.depth; ; d5--) {
112190
- let before, after, index3 = $pos.index(d5);
112191
- if (d5 == $pos.depth) {
112316
+ for (let d6 = $pos.depth; ; d6--) {
112317
+ let before, after, index3 = $pos.index(d6);
112318
+ if (d6 == $pos.depth) {
112192
112319
  before = $pos.nodeBefore;
112193
112320
  after = $pos.nodeAfter;
112194
112321
  } else if (dir > 0) {
112195
- before = $pos.node(d5 + 1);
112322
+ before = $pos.node(d6 + 1);
112196
112323
  index3++;
112197
- after = $pos.node(d5).maybeChild(index3);
112324
+ after = $pos.node(d6).maybeChild(index3);
112198
112325
  } else {
112199
- before = $pos.node(d5).maybeChild(index3 - 1);
112200
- after = $pos.node(d5 + 1);
112326
+ before = $pos.node(d6).maybeChild(index3 - 1);
112327
+ after = $pos.node(d6 + 1);
112201
112328
  }
112202
- if (before && !before.isTextblock && joinable2(before, after) && $pos.node(d5).canReplace(index3, index3 + 1))
112329
+ if (before && !before.isTextblock && joinable2(before, after) && $pos.node(d6).canReplace(index3, index3 + 1))
112203
112330
  return pos;
112204
- if (d5 == 0)
112331
+ if (d6 == 0)
112205
112332
  break;
112206
- pos = dir < 0 ? $pos.before(d5) : $pos.after(d5);
112333
+ pos = dir < 0 ? $pos.before(d6) : $pos.after(d6);
112207
112334
  }
112208
112335
  }
112209
112336
  function join4(tr3, pos, depth) {
@@ -112238,19 +112365,19 @@ function insertPoint(doc3, pos, nodeType) {
112238
112365
  if ($pos.parent.canReplaceWith($pos.index(), $pos.index(), nodeType))
112239
112366
  return pos;
112240
112367
  if ($pos.parentOffset == 0)
112241
- for (let d5 = $pos.depth - 1; d5 >= 0; d5--) {
112242
- let index3 = $pos.index(d5);
112243
- if ($pos.node(d5).canReplaceWith(index3, index3, nodeType))
112244
- return $pos.before(d5 + 1);
112368
+ for (let d6 = $pos.depth - 1; d6 >= 0; d6--) {
112369
+ let index3 = $pos.index(d6);
112370
+ if ($pos.node(d6).canReplaceWith(index3, index3, nodeType))
112371
+ return $pos.before(d6 + 1);
112245
112372
  if (index3 > 0)
112246
112373
  return null;
112247
112374
  }
112248
112375
  if ($pos.parentOffset == $pos.parent.content.size)
112249
- for (let d5 = $pos.depth - 1; d5 >= 0; d5--) {
112250
- let index3 = $pos.indexAfter(d5);
112251
- if ($pos.node(d5).canReplaceWith(index3, index3, nodeType))
112252
- return $pos.after(d5 + 1);
112253
- if (index3 < $pos.node(d5).childCount)
112376
+ for (let d6 = $pos.depth - 1; d6 >= 0; d6--) {
112377
+ let index3 = $pos.indexAfter(d6);
112378
+ if ($pos.node(d6).canReplaceWith(index3, index3, nodeType))
112379
+ return $pos.after(d6 + 1);
112380
+ if (index3 < $pos.node(d6).childCount)
112254
112381
  return null;
112255
112382
  }
112256
112383
  return null;
@@ -112263,10 +112390,10 @@ function dropPoint(doc3, pos, slice2) {
112263
112390
  for (let i11 = 0; i11 < slice2.openStart; i11++)
112264
112391
  content3 = content3.firstChild.content;
112265
112392
  for (let pass = 1; pass <= (slice2.openStart == 0 && slice2.size ? 2 : 1); pass++) {
112266
- for (let d5 = $pos.depth; d5 >= 0; d5--) {
112267
- let bias = d5 == $pos.depth ? 0 : $pos.pos <= ($pos.start(d5 + 1) + $pos.end(d5 + 1)) / 2 ? -1 : 1;
112268
- let insertPos = $pos.index(d5) + (bias > 0 ? 1 : 0);
112269
- let parent = $pos.node(d5), fits = false;
112393
+ for (let d6 = $pos.depth; d6 >= 0; d6--) {
112394
+ let bias = d6 == $pos.depth ? 0 : $pos.pos <= ($pos.start(d6 + 1) + $pos.end(d6 + 1)) / 2 ? -1 : 1;
112395
+ let insertPos = $pos.index(d6) + (bias > 0 ? 1 : 0);
112396
+ let parent = $pos.node(d6), fits = false;
112270
112397
  if (pass == 1) {
112271
112398
  fits = parent.canReplace(insertPos, insertPos, content3);
112272
112399
  } else {
@@ -112274,7 +112401,7 @@ function dropPoint(doc3, pos, slice2) {
112274
112401
  fits = wrapping && parent.canReplaceWith(insertPos, insertPos, wrapping[0]);
112275
112402
  }
112276
112403
  if (fits)
112277
- return bias == 0 ? $pos.pos : bias < 0 ? $pos.before(d5 + 1) : $pos.after(d5 + 1);
112404
+ return bias == 0 ? $pos.pos : bias < 0 ? $pos.before(d6 + 1) : $pos.after(d6 + 1);
112278
112405
  }
112279
112406
  }
112280
112407
  return null;
@@ -112345,14 +112472,14 @@ function replaceRange(tr3, from3, to, slice2) {
112345
112472
  targetDepths.pop();
112346
112473
  let preferredTarget = -($from.depth + 1);
112347
112474
  targetDepths.unshift(preferredTarget);
112348
- for (let d5 = $from.depth, pos = $from.pos - 1; d5 > 0; d5--, pos--) {
112349
- let spec = $from.node(d5).type.spec;
112475
+ for (let d6 = $from.depth, pos = $from.pos - 1; d6 > 0; d6--, pos--) {
112476
+ let spec = $from.node(d6).type.spec;
112350
112477
  if (spec.defining || spec.definingAsContext || spec.isolating)
112351
112478
  break;
112352
- if (targetDepths.indexOf(d5) > -1)
112353
- preferredTarget = d5;
112354
- else if ($from.before(d5) == pos)
112355
- targetDepths.splice(1, 0, -d5);
112479
+ if (targetDepths.indexOf(d6) > -1)
112480
+ preferredTarget = d6;
112481
+ else if ($from.before(d6) == pos)
112482
+ targetDepths.splice(1, 0, -d6);
112356
112483
  }
112357
112484
  let preferredTargetIndex = targetDepths.indexOf(preferredTarget);
112358
112485
  let leftNodes = [], preferredDepth = slice2.openStart;
@@ -112363,10 +112490,10 @@ function replaceRange(tr3, from3, to, slice2) {
112363
112490
  break;
112364
112491
  content3 = node2.content;
112365
112492
  }
112366
- for (let d5 = preferredDepth - 1; d5 >= 0; d5--) {
112367
- let leftNode = leftNodes[d5], def = definesContent(leftNode.type);
112493
+ for (let d6 = preferredDepth - 1; d6 >= 0; d6--) {
112494
+ let leftNode = leftNodes[d6], def = definesContent(leftNode.type);
112368
112495
  if (def && !leftNode.sameMarkup($from.node(Math.abs(preferredTarget) - 1)))
112369
- preferredDepth = d5;
112496
+ preferredDepth = d6;
112370
112497
  else if (def || !leftNode.type.isTextblock)
112371
112498
  break;
112372
112499
  }
@@ -112428,20 +112555,20 @@ function deleteRange(tr3, from3, to) {
112428
112555
  if (depth > 0 && (last3 || $from.node(depth - 1).canReplace($from.index(depth - 1), $to.indexAfter(depth - 1))))
112429
112556
  return tr3.delete($from.before(depth), $to.after(depth));
112430
112557
  }
112431
- for (let d5 = 1; d5 <= $from.depth && d5 <= $to.depth; d5++) {
112432
- if (from3 - $from.start(d5) == $from.depth - d5 && to > $from.end(d5) && $to.end(d5) - to != $to.depth - d5 && $from.start(d5 - 1) == $to.start(d5 - 1) && $from.node(d5 - 1).canReplace($from.index(d5 - 1), $to.index(d5 - 1)))
112433
- return tr3.delete($from.before(d5), to);
112558
+ for (let d6 = 1; d6 <= $from.depth && d6 <= $to.depth; d6++) {
112559
+ if (from3 - $from.start(d6) == $from.depth - d6 && to > $from.end(d6) && $to.end(d6) - to != $to.depth - d6 && $from.start(d6 - 1) == $to.start(d6 - 1) && $from.node(d6 - 1).canReplace($from.index(d6 - 1), $to.index(d6 - 1)))
112560
+ return tr3.delete($from.before(d6), to);
112434
112561
  }
112435
112562
  tr3.delete(from3, to);
112436
112563
  }
112437
112564
  function coveredDepths($from, $to) {
112438
112565
  let result = [], minDepth = Math.min($from.depth, $to.depth);
112439
- for (let d5 = minDepth; d5 >= 0; d5--) {
112440
- let start = $from.start(d5);
112441
- if (start < $from.pos - ($from.depth - d5) || $to.end(d5) > $to.pos + ($to.depth - d5) || $from.node(d5).type.spec.isolating || $to.node(d5).type.spec.isolating)
112566
+ for (let d6 = minDepth; d6 >= 0; d6--) {
112567
+ let start = $from.start(d6);
112568
+ if (start < $from.pos - ($from.depth - d6) || $to.end(d6) > $to.pos + ($to.depth - d6) || $from.node(d6).type.spec.isolating || $to.node(d6).type.spec.isolating)
112442
112569
  break;
112443
- if (start == $to.start(d5) || d5 == $from.depth && d5 == $to.depth && $from.parent.inlineContent && $to.parent.inlineContent && d5 && $to.start(d5 - 1) == start - 1)
112444
- result.push(d5);
112570
+ if (start == $to.start(d6) || d6 == $from.depth && d6 == $to.depth && $from.parent.inlineContent && $to.parent.inlineContent && d6 && $to.start(d6 - 1) == start - 1)
112571
+ result.push(d6);
112445
112572
  }
112446
112573
  return result;
112447
112574
  }
@@ -113242,12 +113369,12 @@ var init_dist3 = __esm({
113242
113369
  // depths, one for the slice and one for the frontier.
113243
113370
  findFittable() {
113244
113371
  let startDepth = this.unplaced.openStart;
113245
- for (let cur = this.unplaced.content, d5 = 0, openEnd = this.unplaced.openEnd; d5 < startDepth; d5++) {
113372
+ for (let cur = this.unplaced.content, d6 = 0, openEnd = this.unplaced.openEnd; d6 < startDepth; d6++) {
113246
113373
  let node2 = cur.firstChild;
113247
113374
  if (cur.childCount > 1)
113248
113375
  openEnd = 0;
113249
- if (node2.type.spec.isolating && openEnd <= d5) {
113250
- startDepth = d5;
113376
+ if (node2.type.spec.isolating && openEnd <= d6) {
113377
+ startDepth = d6;
113251
113378
  break;
113252
113379
  }
113253
113380
  cur = node2.content;
@@ -113353,9 +113480,9 @@ var init_dist3 = __esm({
113353
113480
  let fit = contentAfterFits($to, i11, type5, match2, dropInner);
113354
113481
  if (!fit)
113355
113482
  continue;
113356
- for (let d5 = i11 - 1; d5 >= 0; d5--) {
113357
- let { match: match3, type: type6 } = this.frontier[d5];
113358
- let matches2 = contentAfterFits($to, d5, type6, match3, true);
113483
+ for (let d6 = i11 - 1; d6 >= 0; d6--) {
113484
+ let { match: match3, type: type6 } = this.frontier[d6];
113485
+ let matches2 = contentAfterFits($to, d6, type6, match3, true);
113359
113486
  if (!matches2 || matches2.childCount)
113360
113487
  continue scan;
113361
113488
  }
@@ -113371,8 +113498,8 @@ var init_dist3 = __esm({
113371
113498
  if (close8.fit.childCount)
113372
113499
  this.placed = addToFragment(this.placed, close8.depth, close8.fit);
113373
113500
  $to = close8.move;
113374
- for (let d5 = close8.depth + 1; d5 <= $to.depth; d5++) {
113375
- let node2 = $to.node(d5), add4 = node2.type.contentMatch.fillBefore(node2.content, true, $to.index(d5));
113501
+ for (let d6 = close8.depth + 1; d6 <= $to.depth; d6++) {
113502
+ let node2 = $to.node(d6), add4 = node2.type.contentMatch.fillBefore(node2.content, true, $to.index(d6));
113376
113503
  this.openFrontierNode(node2.type, node2.attrs, add4);
113377
113504
  }
113378
113505
  return $to;
@@ -115566,7 +115693,7 @@ function iterDeco(parent, deco, onWidget, onNode2) {
115566
115693
  while (decoIndex < locals.length && locals[decoIndex].to < end3)
115567
115694
  decoIndex++;
115568
115695
  }
115569
- let outerDeco = child.isInline && !child.isLeaf ? active.filter((d5) => !d5.inline) : active.slice();
115696
+ let outerDeco = child.isInline && !child.isLeaf ? active.filter((d6) => !d6.inline) : active.slice();
115570
115697
  onNode2(child, outerDeco, deco.forChild(offset, child), index3);
115571
115698
  offset = end3;
115572
115699
  }
@@ -116250,9 +116377,9 @@ function parseFromClipboard(view, text9, html9, plainText, $context) {
116250
116377
  function normalizeSiblings(fragment, $context) {
116251
116378
  if (fragment.childCount < 2)
116252
116379
  return fragment;
116253
- for (let d5 = $context.depth; d5 >= 0; d5--) {
116254
- let parent = $context.node(d5);
116255
- let match2 = parent.contentMatchAt($context.index(d5));
116380
+ for (let d6 = $context.depth; d6 >= 0; d6--) {
116381
+ let parent = $context.node(d6);
116382
+ let match2 = parent.contentMatchAt($context.index(d6));
116256
116383
  let lastWrap, result = [];
116257
116384
  fragment.forEach((node2) => {
116258
116385
  if (!result)
@@ -120535,18 +120662,18 @@ function splitBlockAs(splitNode) {
120535
120662
  return false;
120536
120663
  let types = [];
120537
120664
  let splitDepth, deflt, atEnd = false, atStart = false;
120538
- for (let d5 = $from.depth; ; d5--) {
120539
- let node2 = $from.node(d5);
120665
+ for (let d6 = $from.depth; ; d6--) {
120666
+ let node2 = $from.node(d6);
120540
120667
  if (node2.isBlock) {
120541
- atEnd = $from.end(d5) == $from.pos + ($from.depth - d5);
120542
- atStart = $from.start(d5) == $from.pos - ($from.depth - d5);
120543
- deflt = defaultBlockAt($from.node(d5 - 1).contentMatchAt($from.indexAfter(d5 - 1)));
120668
+ atEnd = $from.end(d6) == $from.pos + ($from.depth - d6);
120669
+ atStart = $from.start(d6) == $from.pos - ($from.depth - d6);
120670
+ deflt = defaultBlockAt($from.node(d6 - 1).contentMatchAt($from.indexAfter(d6 - 1)));
120544
120671
  let splitType = splitNode && splitNode($to.parent, atEnd, $from);
120545
120672
  types.unshift(splitType || (atEnd && deflt ? { type: deflt } : null));
120546
- splitDepth = d5;
120673
+ splitDepth = d6;
120547
120674
  break;
120548
120675
  } else {
120549
- if (d5 == 1)
120676
+ if (d6 == 1)
120550
120677
  return false;
120551
120678
  types.unshift(null);
120552
120679
  }
@@ -121214,8 +121341,8 @@ function splitListItem(itemType, itemAttrs) {
121214
121341
  if (dispatch) {
121215
121342
  let wrap7 = Fragment.empty;
121216
121343
  let depthBefore = $from.index(-1) ? 1 : $from.index(-2) ? 2 : 3;
121217
- for (let d5 = $from.depth - depthBefore; d5 >= $from.depth - 3; d5--)
121218
- wrap7 = Fragment.from($from.node(d5).copy(wrap7));
121344
+ for (let d6 = $from.depth - depthBefore; d6 >= $from.depth - 3; d6--)
121345
+ wrap7 = Fragment.from($from.node(d6).copy(wrap7));
121219
121346
  let depthAfter = $from.indexAfter(-1) < $from.node(-2).childCount ? 1 : $from.indexAfter(-2) < $from.node(-3).childCount ? 2 : 3;
121220
121347
  wrap7 = wrap7.append(Fragment.from(itemType.createAndFill()));
121221
121348
  let start = $from.before($from.depth - (depthBefore - 1));
@@ -124668,8 +124795,8 @@ var init_dist16 = __esm({
124668
124795
  if (dispatch) {
124669
124796
  let wrap7 = Fragment.empty;
124670
124797
  const depthBefore = $from.index(-1) ? 1 : $from.index(-2) ? 2 : 3;
124671
- for (let d5 = $from.depth - depthBefore; d5 >= $from.depth - 3; d5 -= 1) {
124672
- wrap7 = Fragment.from($from.node(d5).copy(wrap7));
124798
+ for (let d6 = $from.depth - depthBefore; d6 >= $from.depth - 3; d6 -= 1) {
124799
+ wrap7 = Fragment.from($from.node(d6).copy(wrap7));
124673
124800
  }
124674
124801
  const depthAfter = $from.indexAfter(-1) < $from.node(-2).childCount ? 1 : $from.indexAfter(-2) < $from.node(-3).childCount ? 2 : 3;
124675
124802
  const newNextTypeAttributes2 = {
@@ -126906,8 +127033,8 @@ function needsGap(type5) {
126906
127033
  return type5.isAtom || type5.spec.isolating || type5.spec.createGapCursor;
126907
127034
  }
126908
127035
  function closedBefore($pos) {
126909
- for (let d5 = $pos.depth; d5 >= 0; d5--) {
126910
- let index3 = $pos.index(d5), parent = $pos.node(d5);
127036
+ for (let d6 = $pos.depth; d6 >= 0; d6--) {
127037
+ let index3 = $pos.index(d6), parent = $pos.node(d6);
126911
127038
  if (index3 == 0) {
126912
127039
  if (parent.type.spec.isolating)
126913
127040
  return true;
@@ -126923,8 +127050,8 @@ function closedBefore($pos) {
126923
127050
  return true;
126924
127051
  }
126925
127052
  function closedAfter($pos) {
126926
- for (let d5 = $pos.depth; d5 >= 0; d5--) {
126927
- let index3 = $pos.indexAfter(d5), parent = $pos.node(d5);
127053
+ for (let d6 = $pos.depth; d6 >= 0; d6--) {
127054
+ let index3 = $pos.indexAfter(d6), parent = $pos.node(d6);
126928
127055
  if (index3 == parent.childCount) {
126929
127056
  if (parent.type.spec.isolating)
126930
127057
  return true;
@@ -127070,12 +127197,12 @@ var init_dist26 = __esm({
127070
127197
  if (!mustMove && _GapCursor.valid($pos))
127071
127198
  return $pos;
127072
127199
  let pos = $pos.pos, next2 = null;
127073
- for (let d5 = $pos.depth; ; d5--) {
127074
- let parent = $pos.node(d5);
127075
- if (dir > 0 ? $pos.indexAfter(d5) < parent.childCount : $pos.index(d5) > 0) {
127076
- next2 = parent.child(dir > 0 ? $pos.indexAfter(d5) : $pos.index(d5) - 1);
127200
+ for (let d6 = $pos.depth; ; d6--) {
127201
+ let parent = $pos.node(d6);
127202
+ if (dir > 0 ? $pos.indexAfter(d6) < parent.childCount : $pos.index(d6) > 0) {
127203
+ next2 = parent.child(dir > 0 ? $pos.indexAfter(d6) : $pos.index(d6) - 1);
127077
127204
  break;
127078
- } else if (d5 == 0) {
127205
+ } else if (d6 == 0) {
127079
127206
  return null;
127080
127207
  }
127081
127208
  pos += dir;
@@ -131930,11 +132057,11 @@ function fromWireValue(value2) {
131930
132057
  function requestResponseMessage(ep, msg, transfers) {
131931
132058
  return new Promise((resolve2) => {
131932
132059
  const id = generateUUID();
131933
- ep.addEventListener("message", /* @__PURE__ */ __name(function l6(ev) {
132060
+ ep.addEventListener("message", /* @__PURE__ */ __name(function l7(ev) {
131934
132061
  if (!ev.data || !ev.data.id || ev.data.id !== id) {
131935
132062
  return;
131936
132063
  }
131937
- ep.removeEventListener("message", l6);
132064
+ ep.removeEventListener("message", l7);
131938
132065
  resolve2(ev.data);
131939
132066
  }, "l"));
131940
132067
  if (ep.start) {
@@ -135772,7 +135899,7 @@ var RecorderService = class {
135772
135899
  stream.getTracks().forEach((track2) => track2.stop());
135773
135900
  }
135774
135901
  const devices = await navigator.mediaDevices.enumerateDevices();
135775
- return devices.filter((d5) => d5.kind === "audioinput");
135902
+ return devices.filter((d6) => d6.kind === "audioinput");
135776
135903
  } catch (error) {
135777
135904
  console.error("Error loading microphones:", error);
135778
135905
  return [];
@@ -145674,7 +145801,7 @@ var _DeesInputCode = class _DeesInputCode extends (_a18 = DeesInputBase, _value_
145674
145801
  __publicField(this, "editorElement", null);
145675
145802
  }
145676
145803
  render() {
145677
- const currentLanguage = LANGUAGES.find((l6) => l6.key === this.language) || LANGUAGES[0];
145804
+ const currentLanguage = LANGUAGES.find((l7) => l7.key === this.language) || LANGUAGES[0];
145678
145805
  return b2`
145679
145806
  <style>
145680
145807
  :host {
@@ -145826,7 +145953,7 @@ var _DeesInputCode = class _DeesInputCode extends (_a18 = DeesInputBase, _value_
145826
145953
  let modalLanguageDropdownOpen = false;
145827
145954
  let modalCopySuccess = false;
145828
145955
  const getLanguageLabel = /* @__PURE__ */ __name(() => {
145829
- const lang = LANGUAGES.find((l6) => l6.key === modalLanguage);
145956
+ const lang = LANGUAGES.find((l7) => l7.key === modalLanguage);
145830
145957
  return lang ? lang.label : "TypeScript";
145831
145958
  }, "getLanguageLabel");
145832
145959
  const updateToolbarUI = /* @__PURE__ */ __name((modal2) => {
@@ -178348,10 +178475,10 @@ var _DeesChartArea = class _DeesChartArea extends (_a54 = DeesElement, _chart_de
178348
178475
  if (parts.length < 3) return hslColor;
178349
178476
  const h8 = parseFloat(parts[0]) / 360;
178350
178477
  const s10 = parseFloat(parts[1]) / 100;
178351
- const l6 = parseFloat(parts[2]) / 100;
178478
+ const l7 = parseFloat(parts[2]) / 100;
178352
178479
  let r11, g4, b5;
178353
178480
  if (s10 === 0) {
178354
- r11 = g4 = b5 = l6;
178481
+ r11 = g4 = b5 = l7;
178355
178482
  } else {
178356
178483
  const hue2rgb = /* @__PURE__ */ __name((p7, q, t9) => {
178357
178484
  if (t9 < 0) t9 += 1;
@@ -178361,8 +178488,8 @@ var _DeesChartArea = class _DeesChartArea extends (_a54 = DeesElement, _chart_de
178361
178488
  if (t9 < 2 / 3) return p7 + (q - p7) * (2 / 3 - t9) * 6;
178362
178489
  return p7;
178363
178490
  }, "hue2rgb");
178364
- const q2 = l6 < 0.5 ? l6 * (1 + s10) : l6 + s10 - l6 * s10;
178365
- const p22 = 2 * l6 - q2;
178491
+ const q2 = l7 < 0.5 ? l7 * (1 + s10) : l7 + s10 - l7 * s10;
178492
+ const p22 = 2 * l7 - q2;
178366
178493
  r11 = hue2rgb(p22, q2, h8 + 1 / 3);
178367
178494
  g4 = hue2rgb(p22, q2, h8);
178368
178495
  b5 = hue2rgb(p22, q2, h8 - 1 / 3);
@@ -178437,7 +178564,7 @@ var _DeesChartArea = class _DeesChartArea extends (_a54 = DeesElement, _chart_de
178437
178564
  const isDark = !this.goBright;
178438
178565
  const colors8 = this.getSeriesColors(isDark);
178439
178566
  this.seriesStats = chartSeries.map((s10, index3) => {
178440
- const values = s10.data.map((d5) => d5.y);
178567
+ const values = s10.data.map((d6) => d6.y);
178441
178568
  if (values.length === 0) {
178442
178569
  return { name: s10.name || `series-${index3}`, latest: 0, min: 0, max: 0, avg: 0, color: colors8[index3 % colors8.length] };
178443
178570
  }
@@ -178459,7 +178586,7 @@ var _DeesChartArea = class _DeesChartArea extends (_a54 = DeesElement, _chart_de
178459
178586
  this.priceLines.set(name, []);
178460
178587
  return;
178461
178588
  }
178462
- const values = data.map((d5) => d5.y);
178589
+ const values = data.map((d6) => d6.y);
178463
178590
  const avg = values.reduce((sum, v5) => sum + v5, 0) / values.length;
178464
178591
  const max3 = Math.max(...values);
178465
178592
  const lines = [];
@@ -178675,7 +178802,7 @@ var _DeesChartArea = class _DeesChartArea extends (_a54 = DeesElement, _chart_de
178675
178802
  (s10) => s10.data.filter((p7) => {
178676
178803
  const ms = typeof p7.x === "number" ? p7.x : new Date(p7.x).getTime();
178677
178804
  return ms > cutoffTime;
178678
- }).map((d5) => d5.y)
178805
+ }).map((d6) => d6.y)
178679
178806
  );
178680
178807
  if (allValues.length > 0) {
178681
178808
  const dynamicMax = Math.ceil(Math.max(...allValues) * 1.1);
@@ -196314,8 +196441,8 @@ __publicField(_DeesSimpleAppDash, "styles", [
196314
196441
  left: 0px;
196315
196442
  height: calc(100% - 24px);
196316
196443
  width: 240px;
196317
- background: ${cssManager.bdTheme("hsl(0 0% 99%)", "hsl(0 0% 7%)")};
196318
- border-right: 1px solid ${cssManager.bdTheme("hsl(0 0% 91%)", "hsl(0 0% 13%)")};
196444
+ background: ${cssManager.bdTheme("#fafafa", "#0a0a0a")};
196445
+ border-right: 1px solid ${cssManager.bdTheme("#e5e5e5", "#1a1a1a")};
196319
196446
  font-size: 13px;
196320
196447
  font-family: 'Geist Sans', sans-serif;
196321
196448
  z-index: 2;
@@ -196326,7 +196453,7 @@ __publicField(_DeesSimpleAppDash, "styles", [
196326
196453
 
196327
196454
  .sidebar-header {
196328
196455
  padding: 20px 16px;
196329
- border-bottom: 1px solid ${cssManager.bdTheme("hsl(0 0% 91%)", "hsl(0 0% 13%)")};
196456
+ border-bottom: 1px solid ${cssManager.bdTheme("#e5e5e5", "#1a1a1a")};
196330
196457
  display: flex;
196331
196458
  align-items: center;
196332
196459
  gap: 12px;
@@ -196339,25 +196466,22 @@ __publicField(_DeesSimpleAppDash, "styles", [
196339
196466
  width: 36px;
196340
196467
  height: 36px;
196341
196468
  border-radius: 10px;
196342
- background: ${cssManager.bdTheme(
196343
- "linear-gradient(135deg, hsl(215 20% 95%) 0%, hsl(215 20% 90%) 100%)",
196344
- "linear-gradient(135deg, hsl(215 20% 18%) 0%, hsl(215 20% 14%) 100%)"
196345
- )};
196469
+ background: ${cssManager.bdTheme("#f0f0f0", "#1a1a1a")};
196346
196470
  box-shadow: ${cssManager.bdTheme(
196347
- "0 1px 2px rgb(0 0 0 / 0.05), inset 0 1px 0 rgb(255 255 255 / 0.5)",
196348
- "0 1px 2px rgb(0 0 0 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.05)"
196471
+ "0 1px 2px rgb(0 0 0 / 0.05)",
196472
+ "0 1px 2px rgb(0 0 0 / 0.2)"
196349
196473
  )};
196350
196474
  }
196351
196475
 
196352
196476
  .header-icon-wrapper dees-icon {
196353
196477
  font-size: 18px;
196354
- color: ${cssManager.bdTheme("hsl(215 20% 40%)", "hsl(215 20% 70%)")};
196478
+ color: ${cssManager.bdTheme("#0a0a0a", "#fafafa")};
196355
196479
  }
196356
196480
 
196357
196481
  .appName {
196358
196482
  font-size: 15px;
196359
196483
  font-weight: 600;
196360
- color: ${cssManager.bdTheme("hsl(0 0% 9%)", "hsl(0 0% 98%)")};
196484
+ color: ${cssManager.bdTheme("#0a0a0a", "#fafafa")};
196361
196485
  white-space: nowrap;
196362
196486
  overflow: hidden;
196363
196487
  text-overflow: ellipsis;
@@ -196393,7 +196517,7 @@ __publicField(_DeesSimpleAppDash, "styles", [
196393
196517
  font-weight: 600;
196394
196518
  text-transform: uppercase;
196395
196519
  letter-spacing: 0.05em;
196396
- color: ${cssManager.bdTheme("hsl(0 0% 50%)", "hsl(0 0% 50%)")};
196520
+ color: ${cssManager.bdTheme("#737373", "#737373")};
196397
196521
  padding: 8px 12px 8px;
196398
196522
  margin-bottom: 4px;
196399
196523
  }
@@ -196411,25 +196535,25 @@ __publicField(_DeesSimpleAppDash, "styles", [
196411
196535
  padding: 10px 12px;
196412
196536
  cursor: default;
196413
196537
  transition: all 0.15s ease;
196414
- color: ${cssManager.bdTheme("hsl(0 0% 40%)", "hsl(0 0% 65%)")};
196538
+ color: ${cssManager.bdTheme("#525252", "#a3a3a3")};
196415
196539
  user-select: none;
196416
196540
  position: relative;
196417
196541
  border-radius: 8px;
196418
196542
  }
196419
196543
 
196420
196544
  .viewTab:hover {
196421
- background: ${cssManager.bdTheme("hsl(0 0% 0% / 0.04)", "hsl(0 0% 100% / 0.05)")};
196422
- color: ${cssManager.bdTheme("hsl(0 0% 15%)", "hsl(0 0% 90%)")};
196545
+ background: ${cssManager.bdTheme("rgba(0, 0, 0, 0.04)", "rgba(255, 255, 255, 0.06)")};
196546
+ color: ${cssManager.bdTheme("#262626", "#e5e5e5")};
196423
196547
  }
196424
196548
 
196425
196549
  .viewTab:active {
196426
- background: ${cssManager.bdTheme("hsl(0 0% 0% / 0.06)", "hsl(0 0% 100% / 0.07)")};
196550
+ background: ${cssManager.bdTheme("rgba(0, 0, 0, 0.06)", "rgba(255, 255, 255, 0.08)")};
196427
196551
  transform: scale(0.99);
196428
196552
  }
196429
196553
 
196430
196554
  .viewTab.selected {
196431
- background: ${cssManager.bdTheme("hsl(215 25% 95%)", "hsl(215 20% 15%)")};
196432
- color: ${cssManager.bdTheme("hsl(215 25% 30%)", "hsl(215 25% 85%)")};
196555
+ background: ${cssManager.bdTheme("rgba(0, 0, 0, 0.06)", "rgba(255, 255, 255, 0.08)")};
196556
+ color: ${cssManager.bdTheme("#0a0a0a", "#fafafa")};
196433
196557
  font-weight: 500;
196434
196558
  }
196435
196559
 
@@ -196441,7 +196565,7 @@ __publicField(_DeesSimpleAppDash, "styles", [
196441
196565
  bottom: 8px;
196442
196566
  width: 3px;
196443
196567
  border-radius: 0 2px 2px 0;
196444
- background: ${cssManager.bdTheme("hsl(215 70% 50%)", "hsl(215 70% 60%)")};
196568
+ background: ${cssManager.bdTheme("#0a0a0a", "#fafafa")};
196445
196569
  }
196446
196570
 
196447
196571
  .viewTab dees-icon {
@@ -196455,8 +196579,8 @@ __publicField(_DeesSimpleAppDash, "styles", [
196455
196579
  }
196456
196580
 
196457
196581
  .viewTab.selected dees-icon {
196458
- opacity: 0.9;
196459
- color: ${cssManager.bdTheme("hsl(215 70% 45%)", "hsl(215 70% 65%)")};
196582
+ opacity: 1;
196583
+ color: ${cssManager.bdTheme("#0a0a0a", "#fafafa")};
196460
196584
  }
196461
196585
 
196462
196586
  .viewTab span {
@@ -196468,7 +196592,7 @@ __publicField(_DeesSimpleAppDash, "styles", [
196468
196592
 
196469
196593
  .appActions {
196470
196594
  padding: 12px 8px;
196471
- border-top: 1px solid ${cssManager.bdTheme("hsl(0 0% 91%)", "hsl(0 0% 13%)")};
196595
+ border-top: 1px solid ${cssManager.bdTheme("#e5e5e5", "#1a1a1a")};
196472
196596
  }
196473
196597
 
196474
196598
  .action {
@@ -196479,7 +196603,7 @@ __publicField(_DeesSimpleAppDash, "styles", [
196479
196603
  border-radius: 8px;
196480
196604
  cursor: default;
196481
196605
  transition: all 0.15s ease;
196482
- color: ${cssManager.bdTheme("hsl(0 0% 40%)", "hsl(0 0% 65%)")};
196606
+ color: ${cssManager.bdTheme("#525252", "#a3a3a3")};
196483
196607
  }
196484
196608
 
196485
196609
  .action:hover {
@@ -196507,7 +196631,7 @@ __publicField(_DeesSimpleAppDash, "styles", [
196507
196631
  bottom: 24px;
196508
196632
  width: calc(100% - 240px);
196509
196633
  overflow: auto;
196510
- background: ${cssManager.bdTheme("hsl(0 0% 97%)", "hsl(0 0% 5%)")};
196634
+ background: ${cssManager.bdTheme("#fafafa", "#0a0a0a")};
196511
196635
  overscroll-behavior: contain;
196512
196636
  }
196513
196637
 
@@ -196547,14 +196671,14 @@ __publicField(_DeesSimpleAppDash, "styles", [
196547
196671
  }
196548
196672
 
196549
196673
  .controlbar {
196550
- color: ${cssManager.bdTheme("hsl(0 0% 45%)", "hsl(0 0% 55%)")};
196674
+ color: ${cssManager.bdTheme("hsl(0 0% 40%)", "hsl(0 0% 60%)")};
196551
196675
  position: absolute;
196552
196676
  bottom: 0px;
196553
196677
  left: 0px;
196554
196678
  width: 100%;
196555
196679
  height: 24px;
196556
- background: ${cssManager.bdTheme("hsl(0 0% 100%)", "hsl(0 0% 3.9%)")};
196557
- border-top: 1px solid ${cssManager.bdTheme("hsl(0 0% 89.8%)", "hsl(0 0% 14.9%)")};
196680
+ background: ${cssManager.bdTheme("hsl(0 0% 94%)", "hsl(0 0% 6%)")};
196681
+ border-top: 1px solid ${cssManager.bdTheme("hsl(0 0% 85%)", "hsl(0 0% 15%)")};
196558
196682
  z-index: 11;
196559
196683
  display: flex;
196560
196684
  justify-content: flex-end;
@@ -196573,9 +196697,9 @@ __publicField(_DeesSimpleAppDash, "styles", [
196573
196697
  height: 100%;
196574
196698
  white-space: nowrap;
196575
196699
  cursor: default;
196576
- color: ${cssManager.bdTheme("hsl(0 0% 55%)", "hsl(0 0% 50%)")};
196700
+ color: ${cssManager.bdTheme("hsl(0 0% 40%)", "hsl(0 0% 60%)")};
196577
196701
  transition: all 0.15s ease;
196578
- border-left: 1px solid ${cssManager.bdTheme("hsl(0 0% 89.8%)", "hsl(0 0% 14.9%)")};
196702
+ border-left: 1px solid ${cssManager.bdTheme("hsl(0 0% 80%)", "hsl(0 0% 20%)")};
196579
196703
 
196580
196704
  }
196581
196705
 
@@ -196584,8 +196708,8 @@ __publicField(_DeesSimpleAppDash, "styles", [
196584
196708
  }
196585
196709
 
196586
196710
  .control:hover {
196587
- background: ${cssManager.bdTheme("hsl(0 0% 0% / 0.04)", "hsl(0 0% 100% / 0.06)")};
196588
- color: ${cssManager.bdTheme("hsl(0 0% 20%)", "hsl(0 0% 90%)")};
196711
+ background: ${cssManager.bdTheme("hsl(0 0% 88%)", "hsl(0 0% 12%)")};
196712
+ color: ${cssManager.bdTheme("hsl(0 0% 20%)", "hsl(0 0% 80%)")};
196589
196713
  }
196590
196714
 
196591
196715
  .control dees-icon {
@@ -196593,11 +196717,11 @@ __publicField(_DeesSimpleAppDash, "styles", [
196593
196717
  }
196594
196718
 
196595
196719
  .control.status-connected dees-icon {
196596
- color: hsl(142 70% 50%);
196720
+ color: ${cssManager.bdTheme("hsl(142 70% 35%)", "hsl(142 70% 50%)")};
196597
196721
  }
196598
196722
 
196599
196723
  .control.status-terminal dees-icon {
196600
- color: hsl(45 90% 55%);
196724
+ color: ${cssManager.bdTheme("hsl(38 92% 45%)", "hsl(38 92% 55%)")};
196601
196725
  }
196602
196726
 
196603
196727
  /* Global Message Banners */