typerighter 0.48.2 → 0.50.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.
@@ -3,8 +3,8 @@ import { t as T } from "../es-ClqUVRJn.js";
3
3
  import { A as ee, C as te, D as ne, E, F as re, I as ie, L as D, M as ae, N as oe, O as se, P as ce, S as le, T as ue, _ as de, a as fe, b as pe, c as O, d as me, f as he, g as ge, h as _e, i as ve, j as ye, k as be, m as k, n as xe, o as Se, p as Ce, r as A, s as we, u as Te, v as Ee, w as De, x as Oe, y as ke } from "../app-n56VkC5b.js";
4
4
  import { a as Ae, i as je, n as Me, t as Ne } from "../brand-CG1fQshq.js";
5
5
  import { t as Pe } from "../inlineRe-Cn-J_E76.js";
6
- import { Fragment as j, Teleport as Fe, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createTextVNode as L, createVNode as R, defineComponent as z, getCurrentScope as Ie, markRaw as Le, mergeModels as Re, mergeProps as ze, nextTick as Be, normalizeClass as B, normalizeStyle as Ve, onBeforeUnmount as He, onMounted as Ue, onScopeDispose as We, onUnmounted as V, openBlock as H, readonly as Ge, ref as U, renderList as W, renderSlot as G, resolveComponent as Ke, resolveDynamicComponent as qe, shallowReadonly as Je, shallowRef as Ye, toDisplayString as K, toValue as Xe, unref as q, useModel as Ze, useTemplateRef as Qe, vModelText as $e, watch as J, watchEffect as et, withCtx as tt, withDirectives as nt, withKeys as rt, withModifiers as it } from "vue";
7
- var at = D({
6
+ import { Fragment as j, Teleport as Fe, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createTextVNode as L, createVNode as R, defineComponent as z, getCurrentScope as Ie, inject as Le, markRaw as Re, mergeModels as ze, mergeProps as Be, nextTick as Ve, normalizeClass as B, normalizeStyle as He, onBeforeUnmount as Ue, onMounted as We, onScopeDispose as Ge, onUnmounted as V, openBlock as H, provide as Ke, readonly as qe, ref as U, renderList as W, renderSlot as G, resolveComponent as Je, resolveDynamicComponent as Ye, shallowReadonly as Xe, shallowRef as Ze, toDisplayString as K, toValue as Qe, unref as q, useModel as $e, useTemplateRef as et, vModelText as tt, watch as J, watchEffect as nt, withCtx as rt, withDirectives as it, withKeys as at, withModifiers as ot } from "vue";
7
+ var st = D({
8
8
  name: "circle-dot",
9
9
  size: 24,
10
10
  node: [["circle", {
@@ -18,14 +18,14 @@ var at = D({
18
18
  r: "10",
19
19
  key: "1mglay"
20
20
  }]]
21
- }), ot = D({
21
+ }), ct = D({
22
22
  name: "command",
23
23
  size: 24,
24
24
  node: [["path", {
25
25
  d: "M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",
26
26
  key: "11bfej"
27
27
  }]]
28
- }), st = D({
28
+ }), lt = D({
29
29
  name: "corner-down-left",
30
30
  size: 24,
31
31
  node: [["path", {
@@ -35,7 +35,7 @@ var at = D({
35
35
  d: "m9 10-5 5 5 5",
36
36
  key: "1kshq7"
37
37
  }]]
38
- }), ct = D({
38
+ }), ut = D({
39
39
  name: "delete",
40
40
  size: 24,
41
41
  node: [
@@ -52,14 +52,14 @@ var at = D({
52
52
  key: "1fp51s"
53
53
  }]
54
54
  ]
55
- }), lt = D({
55
+ }), dt = D({
56
56
  name: "folder-open",
57
57
  size: 24,
58
58
  node: [["path", {
59
59
  d: "m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",
60
60
  key: "usdka0"
61
61
  }]]
62
- }), ut = D({
62
+ }), ft = D({
63
63
  name: "loader-circle",
64
64
  size: 24,
65
65
  node: [["path", {
@@ -67,7 +67,7 @@ var at = D({
67
67
  key: "13zald"
68
68
  }]],
69
69
  aliases: ["loader-2"]
70
- }), dt = D({
70
+ }), pt = D({
71
71
  name: "option",
72
72
  size: 24,
73
73
  node: [["path", {
@@ -77,14 +77,14 @@ var at = D({
77
77
  d: "M3 3h5.28a1 1 0 0 1 .948.684l5.544 16.632a1 1 0 0 0 .949.684H21",
78
78
  key: "1qf1im"
79
79
  }]]
80
- }), ft = D({
80
+ }), mt = D({
81
81
  name: "space",
82
82
  size: 24,
83
83
  node: [["path", {
84
84
  d: "M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1",
85
85
  key: "lt2kga"
86
86
  }]]
87
- }), pt = D({
87
+ }), ht = D({
88
88
  name: "square-check-big",
89
89
  size: 24,
90
90
  node: [["path", {
@@ -95,7 +95,7 @@ var at = D({
95
95
  key: "1pflzl"
96
96
  }]],
97
97
  aliases: ["check-square"]
98
- }), mt = D({
98
+ }), gt = D({
99
99
  name: "tags",
100
100
  size: 24,
101
101
  node: [
@@ -115,7 +115,7 @@ var at = D({
115
115
  key: "12ikhr"
116
116
  }]
117
117
  ]
118
- }), ht = D({
118
+ }), _t = D({
119
119
  name: "type",
120
120
  size: 24,
121
121
  node: [
@@ -132,11 +132,11 @@ var at = D({
132
132
  key: "s66wpe"
133
133
  }]
134
134
  ]
135
- }), gt = [
135
+ }), vt = [
136
136
  "height",
137
137
  "width",
138
138
  "viewBox"
139
- ], _t = ["d"], vt = ["d"], yt = ["d"], bt = /* @__PURE__ */ z({
139
+ ], yt = ["d"], bt = ["d"], xt = ["d"], St = /* @__PURE__ */ z({
140
140
  __name: "TdBrandIcon",
141
141
  props: { size: { default: 28 } },
142
142
  setup(e) {
@@ -152,18 +152,18 @@ var at = D({
152
152
  d: q(Me),
153
153
  "fill-rule": "evenodd",
154
154
  fill: "currentColor"
155
- }, null, 8, _t),
155
+ }, null, 8, yt),
156
156
  I("path", {
157
157
  d: q(je),
158
158
  fill: "currentColor"
159
- }, null, 8, vt),
159
+ }, null, 8, bt),
160
160
  I("path", {
161
161
  d: q(Ne),
162
162
  fill: "currentColor"
163
- }, null, 8, yt)
164
- ], 8, gt));
163
+ }, null, 8, xt)
164
+ ], 8, vt));
165
165
  }
166
- }), xt = ["title", "aria-label"], St = /*#__PURE__*/ k(/* @__PURE__ */ z({
166
+ }), Ct = ["title", "aria-label"], wt = /*#__PURE__*/ k(/* @__PURE__ */ z({
167
167
  __name: "TdButton",
168
168
  props: { label: {} },
169
169
  setup(e) {
@@ -172,77 +172,77 @@ var at = D({
172
172
  class: "td-icon-btn",
173
173
  title: e.label,
174
174
  "aria-label": e.label
175
- }, [G(t.$slots, "default", {}, void 0, !0)], 8, xt));
175
+ }, [G(t.$slots, "default", {}, void 0, !0)], 8, Ct));
176
176
  }
177
- }), [["__scopeId", "data-v-b1861a4a"]]), Ct = Math.min, wt = Math.max, Tt = Math.round, Y = (e) => ({
177
+ }), [["__scopeId", "data-v-b1861a4a"]]), Tt = Math.min, Et = Math.max, Dt = Math.round, Y = (e) => ({
178
178
  x: e,
179
179
  y: e
180
- }), Et = {
180
+ }), Ot = {
181
181
  left: "right",
182
182
  right: "left",
183
183
  bottom: "top",
184
184
  top: "bottom"
185
185
  };
186
- function Dt(e, t, n) {
187
- return wt(e, Ct(t, n));
186
+ function kt(e, t, n) {
187
+ return Et(e, Tt(t, n));
188
188
  }
189
- function Ot(e, t) {
189
+ function At(e, t) {
190
190
  return typeof e == "function" ? e(t) : e;
191
191
  }
192
- function kt(e) {
192
+ function jt(e) {
193
193
  return e.split("-")[0];
194
194
  }
195
- function At(e) {
195
+ function Mt(e) {
196
196
  return e.split("-")[1];
197
197
  }
198
- function jt(e) {
198
+ function Nt(e) {
199
199
  return e === "x" ? "y" : "x";
200
200
  }
201
- function Mt(e) {
201
+ function Pt(e) {
202
202
  return e === "y" ? "height" : "width";
203
203
  }
204
- function Nt(e) {
204
+ function Ft(e) {
205
205
  let t = e[0];
206
206
  return t === "t" || t === "b" ? "y" : "x";
207
207
  }
208
- function Pt(e) {
209
- return jt(Nt(e));
208
+ function It(e) {
209
+ return Nt(Ft(e));
210
210
  }
211
- function Ft(e, t, n) {
211
+ function Lt(e, t, n) {
212
212
  n === void 0 && (n = !1);
213
- let r = At(e), i = Pt(e), a = Mt(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
214
- return t.reference[a] > t.floating[a] && (o = Wt(o)), [o, Wt(o)];
213
+ let r = Mt(e), i = It(e), a = Pt(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
214
+ return t.reference[a] > t.floating[a] && (o = Kt(o)), [o, Kt(o)];
215
215
  }
216
- function It(e) {
217
- let t = Wt(e);
216
+ function Rt(e) {
217
+ let t = Kt(e);
218
218
  return [
219
- Lt(e),
219
+ zt(e),
220
220
  t,
221
- Lt(t)
221
+ zt(t)
222
222
  ];
223
223
  }
224
- function Lt(e) {
224
+ function zt(e) {
225
225
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
226
226
  }
227
- var Rt = ["left", "right"], zt = ["right", "left"], Bt = ["top", "bottom"], Vt = ["bottom", "top"];
228
- function Ht(e, t, n) {
227
+ var Bt = ["left", "right"], Vt = ["right", "left"], Ht = ["top", "bottom"], Ut = ["bottom", "top"];
228
+ function Wt(e, t, n) {
229
229
  switch (e) {
230
230
  case "top":
231
- case "bottom": return n ? t ? zt : Rt : t ? Rt : zt;
231
+ case "bottom": return n ? t ? Vt : Bt : t ? Bt : Vt;
232
232
  case "left":
233
- case "right": return t ? Bt : Vt;
233
+ case "right": return t ? Ht : Ut;
234
234
  default: return [];
235
235
  }
236
236
  }
237
- function Ut(e, t, n, r) {
238
- let i = At(e), a = Ht(kt(e), n === "start", r);
239
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Lt)))), a;
237
+ function Gt(e, t, n, r) {
238
+ let i = Mt(e), a = Wt(jt(e), n === "start", r);
239
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(zt)))), a;
240
240
  }
241
- function Wt(e) {
242
- let t = kt(e);
243
- return Et[t] + e.slice(t.length);
241
+ function Kt(e) {
242
+ let t = jt(e);
243
+ return Ot[t] + e.slice(t.length);
244
244
  }
245
- function Gt(e) {
245
+ function qt(e) {
246
246
  return {
247
247
  top: e.top ?? 0,
248
248
  right: e.right ?? 0,
@@ -250,15 +250,15 @@ function Gt(e) {
250
250
  left: e.left ?? 0
251
251
  };
252
252
  }
253
- function Kt(e) {
253
+ function Jt(e) {
254
254
  return typeof e == "number" ? {
255
255
  top: e,
256
256
  right: e,
257
257
  bottom: e,
258
258
  left: e
259
- } : Gt(e);
259
+ } : qt(e);
260
260
  }
261
- function qt(e) {
261
+ function Yt(e) {
262
262
  let { x: t, y: n, width: r, height: i } = e;
263
263
  return {
264
264
  width: r,
@@ -273,8 +273,8 @@ function qt(e) {
273
273
  }
274
274
  //#endregion
275
275
  //#region ../../node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
276
- function Jt(e, t, n) {
277
- let { reference: r, floating: i } = e, a = Nt(t), o = Pt(t), s = Mt(o), c = kt(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
276
+ function Xt(e, t, n) {
277
+ let { reference: r, floating: i } = e, a = Ft(t), o = It(t), s = Pt(o), c = jt(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
278
278
  switch (c) {
279
279
  case "top":
280
280
  p = {
@@ -305,12 +305,12 @@ function Jt(e, t, n) {
305
305
  y: r.y
306
306
  };
307
307
  }
308
- let m = At(t);
308
+ let m = Mt(t);
309
309
  return m && (p[o] += f * (m === "end" ? 1 : -1) * (n && l ? -1 : 1)), p;
310
310
  }
311
- async function Yt(e, t) {
311
+ async function Zt(e, t) {
312
312
  t === void 0 && (t = {});
313
- let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Ot(t, e), p = Kt(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = qt(await i.getClippingRect({
313
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = At(t, e), p = Jt(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Yt(await i.getClippingRect({
314
314
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
315
315
  boundary: c,
316
316
  rootBoundary: l,
@@ -323,7 +323,7 @@ async function Yt(e, t) {
323
323
  } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
324
324
  x: 1,
325
325
  y: 1
326
- }, y = qt(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
326
+ }, y = Yt(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
327
327
  elements: o,
328
328
  rect: g,
329
329
  offsetParent: _,
@@ -336,15 +336,15 @@ async function Yt(e, t) {
336
336
  right: (y.right - h.right + p.right) / v.x
337
337
  };
338
338
  }
339
- var Xt = 50, Zt = async (e, t, n) => {
339
+ var Qt = 50, $t = async (e, t, n) => {
340
340
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
341
341
  ...o,
342
- detectOverflow: Yt
342
+ detectOverflow: Zt
343
343
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
344
344
  reference: e,
345
345
  floating: t,
346
346
  strategy: i
347
- }), { x: u, y: d } = Jt(l, r, c), f = r, p = 0, m = {};
347
+ }), { x: u, y: d } = Xt(l, r, c), f = r, p = 0, m = {};
348
348
  for (let n = 0; n < a.length; n++) {
349
349
  let h = a[n];
350
350
  if (!h) continue;
@@ -365,11 +365,11 @@ var Xt = 50, Zt = async (e, t, n) => {
365
365
  u = v ?? u, d = y ?? d, m[g] = {
366
366
  ...m[g],
367
367
  ...b
368
- }, x && p < Xt && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
368
+ }, x && p < Qt && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
369
369
  reference: e,
370
370
  floating: t,
371
371
  strategy: i
372
- }) : x.rects), {x: u, y: d} = Jt(l, f, c)), n = -1);
372
+ }) : x.rects), {x: u, y: d} = Xt(l, f, c)), n = -1);
373
373
  }
374
374
  return {
375
375
  x: u,
@@ -378,18 +378,18 @@ var Xt = 50, Zt = async (e, t, n) => {
378
378
  strategy: i,
379
379
  middlewareData: m
380
380
  };
381
- }, Qt = (e) => ({
381
+ }, en = (e) => ({
382
382
  name: "arrow",
383
383
  options: e,
384
384
  async fn(t) {
385
- let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = Ot(e, t) || {};
385
+ let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = At(e, t) || {};
386
386
  if (l == null) return {};
387
- let d = Kt(u), f = {
387
+ let d = Jt(u), f = {
388
388
  x: n,
389
389
  y: r
390
- }, p = Pt(i), m = Mt(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
390
+ }, p = It(i), m = Pt(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
391
391
  (!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
392
- let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = Ct(d[_], T), te = Ct(d[v], T), ne = C - h[m] - te, E = C / 2 - h[m] / 2 + w, re = Dt(ee, E, ne), ie = !c.arrow && At(i) != null && E !== re && a.reference[m] / 2 - (E < ee ? ee : te) - h[m] / 2 < 0, D = ie ? E < ee ? E - ee : E - ne : 0;
392
+ let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = Tt(d[_], T), te = Tt(d[v], T), ne = C - h[m] - te, E = C / 2 - h[m] / 2 + w, re = kt(ee, E, ne), ie = !c.arrow && Mt(i) != null && E !== re && a.reference[m] / 2 - (E < ee ? ee : te) - h[m] / 2 < 0, D = ie ? E < ee ? E - ee : E - ne : 0;
393
393
  return {
394
394
  [p]: f[p] + D,
395
395
  data: {
@@ -400,19 +400,19 @@ var Xt = 50, Zt = async (e, t, n) => {
400
400
  reset: ie
401
401
  };
402
402
  }
403
- }), $t = function(e) {
403
+ }), tn = function(e) {
404
404
  return e === void 0 && (e = {}), {
405
405
  name: "flip",
406
406
  options: e,
407
407
  async fn(t) {
408
408
  var n;
409
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Ot(e, t);
409
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = At(e, t);
410
410
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
411
- let g = kt(r), _ = Nt(o), v = kt(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Wt(o)] : It(o)), x = p !== "none";
412
- !d && x && b.push(...Ut(o, m, p, y));
411
+ let g = jt(r), _ = Ft(o), v = jt(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Kt(o)] : Rt(o)), x = p !== "none";
412
+ !d && x && b.push(...Gt(o, m, p, y));
413
413
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
414
414
  if (l && w.push(C[g]), u) {
415
- let e = Ft(r, a, y);
415
+ let e = Lt(r, a, y);
416
416
  w.push(C[e[0]], C[e[1]]);
417
417
  }
418
418
  if (T = [...T, {
@@ -420,7 +420,7 @@ var Xt = 50, Zt = async (e, t, n) => {
420
420
  overflows: w
421
421
  }], !w.every((e) => e <= 0)) {
422
422
  let e = (i.flip?.index || 0) + 1, t = S[e];
423
- if (t && (u !== "alignment" || _ === Nt(t) || T.every((e) => Nt(e.placement) !== _ || e.overflows[0] > 0))) return {
423
+ if (t && (u !== "alignment" || _ === Ft(t) || T.every((e) => Ft(e.placement) !== _ || e.overflows[0] > 0))) return {
424
424
  data: {
425
425
  index: e,
426
426
  overflows: T
@@ -432,7 +432,7 @@ var Xt = 50, Zt = async (e, t, n) => {
432
432
  case "bestFit": {
433
433
  let e = T.filter((e) => {
434
434
  if (x) {
435
- let t = Nt(e.placement);
435
+ let t = Ft(e.placement);
436
436
  return t === _ || t === "y";
437
437
  }
438
438
  return !0;
@@ -447,9 +447,9 @@ var Xt = 50, Zt = async (e, t, n) => {
447
447
  return {};
448
448
  }
449
449
  };
450
- }, en = /*#__PURE__*/ new Set(["left", "top"]);
451
- async function tn(e, t) {
452
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = kt(n), s = At(n), c = Nt(n) === "y", l = en.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Ot(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
450
+ }, nn = /*#__PURE__*/ new Set(["left", "top"]);
451
+ async function rn(e, t) {
452
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = jt(n), s = Mt(n), c = Ft(n) === "y", l = nn.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = At(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
453
453
  mainAxis: d,
454
454
  crossAxis: 0,
455
455
  alignmentAxis: null
@@ -466,13 +466,13 @@ async function tn(e, t) {
466
466
  y: p * u
467
467
  };
468
468
  }
469
- var nn = function(e) {
469
+ var an = function(e) {
470
470
  return e === void 0 && (e = 0), {
471
471
  name: "offset",
472
472
  options: e,
473
473
  async fn(t) {
474
474
  var n;
475
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await tn(t, e);
475
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await rn(t, e);
476
476
  return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
477
477
  x: r + s.x,
478
478
  y: i + s.y,
@@ -483,7 +483,7 @@ var nn = function(e) {
483
483
  };
484
484
  }
485
485
  };
486
- }, rn = function(e) {
486
+ }, on = function(e) {
487
487
  return e === void 0 && (e = {}), {
488
488
  name: "shift",
489
489
  options: e,
@@ -494,10 +494,10 @@ var nn = function(e) {
494
494
  x: t,
495
495
  y: n
496
496
  };
497
- } }, ...l } = Ot(e, t), u = {
497
+ } }, ...l } = At(e, t), u = {
498
498
  x: n,
499
499
  y: r
500
- }, d = await a.detectOverflow(t, l), f = Nt(i), p = jt(f), m = u[p], h = u[f], g = (e, t) => Dt(t + d[e === "y" ? "top" : "left"], t, t - d[e === "y" ? "bottom" : "right"]);
500
+ }, d = await a.detectOverflow(t, l), f = Ft(i), p = Nt(f), m = u[p], h = u[f], g = (e, t) => kt(t + d[e === "y" ? "top" : "left"], t, t - d[e === "y" ? "bottom" : "right"]);
501
501
  o && (m = g(p, m)), s && (h = g(f, h));
502
502
  let _ = c.fn({
503
503
  ...t,
@@ -520,39 +520,39 @@ var nn = function(e) {
520
520
  };
521
521
  //#endregion
522
522
  //#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
523
- function an() {
523
+ function sn() {
524
524
  return typeof window < "u";
525
525
  }
526
- function on(e) {
527
- return cn(e) ? (e.nodeName || "").toLowerCase() : "#document";
526
+ function cn(e) {
527
+ return un(e) ? (e.nodeName || "").toLowerCase() : "#document";
528
528
  }
529
529
  function X(e) {
530
530
  var t;
531
531
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
532
532
  }
533
- function sn(e) {
534
- return ((cn(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
533
+ function ln(e) {
534
+ return ((un(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
535
535
  }
536
- function cn(e) {
537
- return an() ? e instanceof Node || e instanceof X(e).Node : !1;
536
+ function un(e) {
537
+ return sn() ? e instanceof Node || e instanceof X(e).Node : !1;
538
538
  }
539
539
  function Z(e) {
540
- return an() ? e instanceof Element || e instanceof X(e).Element : !1;
540
+ return sn() ? e instanceof Element || e instanceof X(e).Element : !1;
541
541
  }
542
- function ln(e) {
543
- return an() ? e instanceof HTMLElement || e instanceof X(e).HTMLElement : !1;
542
+ function dn(e) {
543
+ return sn() ? e instanceof HTMLElement || e instanceof X(e).HTMLElement : !1;
544
544
  }
545
- function un(e) {
546
- return !an() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof X(e).ShadowRoot;
545
+ function fn(e) {
546
+ return !sn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof X(e).ShadowRoot;
547
547
  }
548
- function dn(e) {
548
+ function pn(e) {
549
549
  let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
550
550
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
551
551
  }
552
- function fn(e) {
553
- return /^(table|td|th)$/.test(on(e));
552
+ function mn(e) {
553
+ return /^(table|td|th)$/.test(cn(e));
554
554
  }
555
- function pn(e) {
555
+ function hn(e) {
556
556
  try {
557
557
  if (e.matches(":popover-open")) return !0;
558
558
  } catch {}
@@ -562,30 +562,30 @@ function pn(e) {
562
562
  return !1;
563
563
  }
564
564
  }
565
- var mn = /transform|translate|scale|rotate|perspective|filter/, hn = /paint|layout|strict|content/, gn = (e) => !!e && e !== "none", _n;
566
- function vn(e) {
565
+ var gn = /transform|translate|scale|rotate|perspective|filter/, _n = /paint|layout|strict|content/, vn = (e) => !!e && e !== "none", yn;
566
+ function bn(e) {
567
567
  let t = Z(e) ? Q(e) : e;
568
- return gn(t.transform) || gn(t.translate) || gn(t.scale) || gn(t.rotate) || gn(t.perspective) || !bn() && (gn(t.backdropFilter) || gn(t.filter)) || mn.test(t.willChange || "") || hn.test(t.contain || "");
568
+ return vn(t.transform) || vn(t.translate) || vn(t.scale) || vn(t.rotate) || vn(t.perspective) || !Sn() && (vn(t.backdropFilter) || vn(t.filter)) || gn.test(t.willChange || "") || _n.test(t.contain || "");
569
569
  }
570
- function yn(e) {
571
- let t = Cn(e);
572
- for (; ln(t) && !xn(t);) {
573
- if (vn(t)) return t;
574
- if (pn(t)) return null;
575
- t = Cn(t);
570
+ function xn(e) {
571
+ let t = Tn(e);
572
+ for (; dn(t) && !Cn(t);) {
573
+ if (bn(t)) return t;
574
+ if (hn(t)) return null;
575
+ t = Tn(t);
576
576
  }
577
577
  return null;
578
578
  }
579
- function bn() {
580
- return _n ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), _n;
579
+ function Sn() {
580
+ return yn ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), yn;
581
581
  }
582
- function xn(e) {
583
- return /^(html|body|#document)$/.test(on(e));
582
+ function Cn(e) {
583
+ return /^(html|body|#document)$/.test(cn(e));
584
584
  }
585
585
  function Q(e) {
586
586
  return X(e).getComputedStyle(e);
587
587
  }
588
- function Sn(e) {
588
+ function wn(e) {
589
589
  return Z(e) ? {
590
590
  scrollLeft: e.scrollLeft,
591
591
  scrollTop: e.scrollTop
@@ -594,102 +594,102 @@ function Sn(e) {
594
594
  scrollTop: e.scrollY
595
595
  };
596
596
  }
597
- function Cn(e) {
598
- if (on(e) === "html") return e;
599
- let t = e.assignedSlot || e.parentNode || un(e) && e.host || sn(e);
600
- return un(t) ? t.host : t;
597
+ function Tn(e) {
598
+ if (cn(e) === "html") return e;
599
+ let t = e.assignedSlot || e.parentNode || fn(e) && e.host || ln(e);
600
+ return fn(t) ? t.host : t;
601
601
  }
602
- function wn(e) {
603
- let t = Cn(e);
604
- return xn(t) ? (e.ownerDocument || e).body : ln(t) && dn(t) ? t : wn(t);
602
+ function En(e) {
603
+ let t = Tn(e);
604
+ return Cn(t) ? (e.ownerDocument || e).body : dn(t) && pn(t) ? t : En(t);
605
605
  }
606
- function Tn(e, t, n) {
606
+ function Dn(e, t, n) {
607
607
  t === void 0 && (t = []), n === void 0 && (n = !0);
608
- let r = wn(e), i = r === e.ownerDocument?.body, a = X(r);
608
+ let r = En(e), i = r === e.ownerDocument?.body, a = X(r);
609
609
  if (i) {
610
- let e = En(a);
611
- return t.concat(a, a.visualViewport || [], dn(r) ? r : [], e && n ? Tn(e) : []);
610
+ let e = On(a);
611
+ return t.concat(a, a.visualViewport || [], pn(r) ? r : [], e && n ? Dn(e) : []);
612
612
  }
613
- return t.concat(r, Tn(r, [], n));
613
+ return t.concat(r, Dn(r, [], n));
614
614
  }
615
- function En(e) {
615
+ function On(e) {
616
616
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
617
617
  }
618
618
  //#endregion
619
619
  //#region ../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
620
- function Dn(e) {
621
- let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = ln(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Tt(n) !== a || Tt(r) !== o;
620
+ function kn(e) {
621
+ let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = dn(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Dt(n) !== a || Dt(r) !== o;
622
622
  return s && (n = a, r = o), {
623
623
  width: n,
624
624
  height: r,
625
625
  $: s
626
626
  };
627
627
  }
628
- function On(e) {
628
+ function An(e) {
629
629
  return Z(e) ? e : e.contextElement;
630
630
  }
631
- function kn(e) {
632
- let t = On(e);
633
- if (!ln(t)) return Y(1);
634
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Dn(t), o = (a ? Tt(n.width) : n.width) / r, s = (a ? Tt(n.height) : n.height) / i;
631
+ function jn(e) {
632
+ let t = An(e);
633
+ if (!dn(t)) return Y(1);
634
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = kn(t), o = (a ? Dt(n.width) : n.width) / r, s = (a ? Dt(n.height) : n.height) / i;
635
635
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
636
636
  x: o,
637
637
  y: s
638
638
  };
639
639
  }
640
- var An = /*#__PURE__*/ Y(0);
641
- function jn(e) {
640
+ var Mn = /*#__PURE__*/ Y(0);
641
+ function Nn(e) {
642
642
  let t = X(e);
643
- return !bn() || !t.visualViewport ? An : {
643
+ return !Sn() || !t.visualViewport ? Mn : {
644
644
  x: t.visualViewport.offsetLeft,
645
645
  y: t.visualViewport.offsetTop
646
646
  };
647
647
  }
648
- function Mn(e, t, n) {
648
+ function Pn(e, t, n) {
649
649
  return t === void 0 && (t = !1), !!n && t && n === X(e);
650
650
  }
651
- function Nn(e, t, n, r) {
651
+ function Fn(e, t, n, r) {
652
652
  t === void 0 && (t = !1), n === void 0 && (n = !1);
653
- let i = e.getBoundingClientRect(), a = On(e), o = Y(1);
654
- t && (r ? Z(r) && (o = kn(r)) : o = kn(e));
655
- let s = Mn(a, n, r) ? jn(a) : Y(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
653
+ let i = e.getBoundingClientRect(), a = An(e), o = Y(1);
654
+ t && (r ? Z(r) && (o = jn(r)) : o = jn(e));
655
+ let s = Pn(a, n, r) ? Nn(a) : Y(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
656
656
  if (a && r) {
657
- let e = X(a), t = Z(r) ? X(r) : r, n = e, i = En(n);
657
+ let e = X(a), t = Z(r) ? X(r) : r, n = e, i = On(n);
658
658
  for (; i && t !== n;) {
659
- let e = kn(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
660
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = X(i), i = En(n);
659
+ let e = jn(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
660
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = X(i), i = On(n);
661
661
  }
662
662
  }
663
- return qt({
663
+ return Yt({
664
664
  width: u,
665
665
  height: d,
666
666
  x: c,
667
667
  y: l
668
668
  });
669
669
  }
670
- function Pn(e, t) {
671
- let n = Sn(e).scrollLeft;
672
- return t ? t.left + n : Nn(sn(e)).left + n;
670
+ function In(e, t) {
671
+ let n = wn(e).scrollLeft;
672
+ return t ? t.left + n : Fn(ln(e)).left + n;
673
673
  }
674
- function Fn(e, t) {
674
+ function Ln(e, t) {
675
675
  let n = e.getBoundingClientRect();
676
676
  return {
677
- x: n.left + t.scrollLeft - Pn(e, n),
677
+ x: n.left + t.scrollLeft - In(e, n),
678
678
  y: n.top + t.scrollTop
679
679
  };
680
680
  }
681
- function In(e) {
682
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = sn(r), s = t ? pn(t.floating) : !1;
681
+ function Rn(e) {
682
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = ln(r), s = t ? hn(t.floating) : !1;
683
683
  if (r === o || s && a) return n;
684
684
  let c = {
685
685
  scrollLeft: 0,
686
686
  scrollTop: 0
687
- }, l = Y(1), u = Y(0), d = ln(r);
688
- if ((d || !a) && ((on(r) !== "body" || dn(o)) && (c = Sn(r)), d)) {
689
- let e = Nn(r);
690
- l = kn(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
687
+ }, l = Y(1), u = Y(0), d = dn(r);
688
+ if ((d || !a) && ((cn(r) !== "body" || pn(o)) && (c = wn(r)), d)) {
689
+ let e = Fn(r);
690
+ l = jn(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
691
691
  }
692
- let f = o && !d && !a ? Fn(o, c) : Y(0);
692
+ let f = o && !d && !a ? Ln(o, c) : Y(0);
693
693
  return {
694
694
  width: n.width * l.x,
695
695
  height: n.height * l.y,
@@ -697,29 +697,29 @@ function In(e) {
697
697
  y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
698
698
  };
699
699
  }
700
- function Ln(e) {
700
+ function zn(e) {
701
701
  return e.getClientRects ? Array.from(e.getClientRects()) : [];
702
702
  }
703
- function Rn(e) {
704
- let t = Sn(e), n = e.ownerDocument.body, r = wt(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = wt(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + Pn(e), o = -t.scrollTop;
705
- return Q(n).direction === "rtl" && (a += wt(e.clientWidth, n.clientWidth) - r), {
703
+ function Bn(e) {
704
+ let t = wn(e), n = e.ownerDocument.body, r = Et(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Et(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + In(e), o = -t.scrollTop;
705
+ return Q(n).direction === "rtl" && (a += Et(e.clientWidth, n.clientWidth) - r), {
706
706
  width: r,
707
707
  height: i,
708
708
  x: a,
709
709
  y: o
710
710
  };
711
711
  }
712
- var zn = 25;
713
- function Bn(e, t, n) {
712
+ var Vn = 25;
713
+ function Hn(e, t, n) {
714
714
  n === void 0 && (n = "viewport");
715
- let r = n === "layoutViewport", i = X(e), a = sn(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
715
+ let r = n === "layoutViewport", i = X(e), a = ln(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
716
716
  if (o) {
717
- let e = !bn() || t === "fixed";
717
+ let e = !Sn() || t === "fixed";
718
718
  r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
719
719
  }
720
- if (Pn(a) <= 0) {
720
+ if (In(a) <= 0) {
721
721
  let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
722
- o <= zn && (s -= o);
722
+ o <= Vn && (s -= o);
723
723
  }
724
724
  return {
725
725
  width: s,
@@ -728,8 +728,8 @@ function Bn(e, t, n) {
728
728
  y: u
729
729
  };
730
730
  }
731
- function Vn(e, t) {
732
- let n = Nn(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = kn(e);
731
+ function Un(e, t) {
732
+ let n = Fn(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = jn(e);
733
733
  return {
734
734
  width: e.clientWidth * a.x,
735
735
  height: e.clientHeight * a.y,
@@ -737,13 +737,13 @@ function Vn(e, t) {
737
737
  y: r * a.y
738
738
  };
739
739
  }
740
- function Hn(e, t, n) {
740
+ function Wn(e, t, n) {
741
741
  let r;
742
- if (t === "viewport" || t === "layoutViewport") r = Bn(e, n, t);
743
- else if (t === "document") r = Rn(sn(e));
744
- else if (Z(t)) r = Vn(t, n);
742
+ if (t === "viewport" || t === "layoutViewport") r = Hn(e, n, t);
743
+ else if (t === "document") r = Bn(ln(e));
744
+ else if (Z(t)) r = Un(t, n);
745
745
  else {
746
- let n = jn(e);
746
+ let n = Nn(e);
747
747
  r = {
748
748
  x: t.x - n.x,
749
749
  y: t.y - n.y,
@@ -751,23 +751,23 @@ function Hn(e, t, n) {
751
751
  height: t.height
752
752
  };
753
753
  }
754
- return qt(r);
754
+ return Yt(r);
755
755
  }
756
- function Un(e, t) {
756
+ function Gn(e, t) {
757
757
  let n = t.get(e);
758
758
  if (n) return n;
759
- let r = Tn(e, [], !1).filter((e) => Z(e) && on(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? Cn(e) : e;
760
- for (; Z(o) && !xn(o);) {
761
- let e = Q(o), t = vn(o), n = i ? i.position : a ? "fixed" : "";
762
- !t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = Cn(o);
759
+ let r = Dn(e, [], !1).filter((e) => Z(e) && cn(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? Tn(e) : e;
760
+ for (; Z(o) && !Cn(o);) {
761
+ let e = Q(o), t = bn(o), n = i ? i.position : a ? "fixed" : "";
762
+ !t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = Tn(o);
763
763
  }
764
764
  return t.set(e, r), r;
765
765
  }
766
- function Wn(e) {
767
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? pn(t) ? [] : Un(t, this._c) : [].concat(n), r], o = Hn(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
766
+ function Kn(e) {
767
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? hn(t) ? [] : Gn(t, this._c) : [].concat(n), r], o = Wn(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
768
768
  for (let e = 1; e < a.length; e++) {
769
- let n = Hn(t, a[e], i);
770
- s = wt(n.top, s), c = Ct(n.right, c), l = Ct(n.bottom, l), u = wt(n.left, u);
769
+ let n = Wn(t, a[e], i);
770
+ s = Et(n.top, s), c = Tt(n.right, c), l = Tt(n.bottom, l), u = Et(n.left, u);
771
771
  }
772
772
  return {
773
773
  width: c - u,
@@ -776,24 +776,24 @@ function Wn(e) {
776
776
  y: s
777
777
  };
778
778
  }
779
- function Gn(e) {
780
- let { width: t, height: n } = Dn(e);
779
+ function qn(e) {
780
+ let { width: t, height: n } = kn(e);
781
781
  return {
782
782
  width: t,
783
783
  height: n
784
784
  };
785
785
  }
786
- function Kn(e, t, n) {
787
- let r = ln(t), i = sn(t), a = n === "fixed", o = Nn(e, !0, a, t), s = {
786
+ function Jn(e, t, n) {
787
+ let r = dn(t), i = ln(t), a = n === "fixed", o = Fn(e, !0, a, t), s = {
788
788
  scrollLeft: 0,
789
789
  scrollTop: 0
790
790
  }, c = Y(0);
791
- if ((r || !a) && ((on(t) !== "body" || dn(i)) && (s = Sn(t)), r)) {
792
- let e = Nn(t, !0, a, t);
791
+ if ((r || !a) && ((cn(t) !== "body" || pn(i)) && (s = wn(t)), r)) {
792
+ let e = Fn(t, !0, a, t);
793
793
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
794
794
  }
795
- !r && i && (c.x = Pn(i));
796
- let l = i && !r && !a ? Fn(i, s) : Y(0);
795
+ !r && i && (c.x = In(i));
796
+ let l = i && !r && !a ? Ln(i, s) : Y(0);
797
797
  return {
798
798
  x: o.left + s.scrollLeft - c.x - l.x,
799
799
  y: o.top + s.scrollTop - c.y - l.y,
@@ -801,34 +801,34 @@ function Kn(e, t, n) {
801
801
  height: o.height
802
802
  };
803
803
  }
804
- function qn(e) {
804
+ function Yn(e) {
805
805
  return Q(e).position === "static";
806
806
  }
807
- function Jn(e, t) {
808
- if (!ln(e) || Q(e).position === "fixed") return null;
807
+ function Xn(e, t) {
808
+ if (!dn(e) || Q(e).position === "fixed") return null;
809
809
  if (t) return t(e);
810
810
  let n = e.offsetParent;
811
- return sn(e) === n && (n = n.ownerDocument.body), n;
811
+ return ln(e) === n && (n = n.ownerDocument.body), n;
812
812
  }
813
- function Yn(e, t) {
813
+ function Zn(e, t) {
814
814
  let n = X(e);
815
- if (pn(e)) return n;
816
- if (!ln(e)) {
817
- let t = Cn(e);
818
- for (; t && !xn(t);) {
819
- if (Z(t) && !qn(t)) return t;
820
- t = Cn(t);
815
+ if (hn(e)) return n;
816
+ if (!dn(e)) {
817
+ let t = Tn(e);
818
+ for (; t && !Cn(t);) {
819
+ if (Z(t) && !Yn(t)) return t;
820
+ t = Tn(t);
821
821
  }
822
822
  return n;
823
823
  }
824
- let r = Jn(e, t);
825
- for (; r && fn(r) && qn(r);) r = Jn(r, t);
826
- return r && xn(r) && qn(r) && !vn(r) ? n : r || yn(e) || n;
824
+ let r = Xn(e, t);
825
+ for (; r && mn(r) && Yn(r);) r = Xn(r, t);
826
+ return r && Cn(r) && Yn(r) && !bn(r) ? n : r || xn(e) || n;
827
827
  }
828
- var Xn = async function(e) {
829
- let t = this.getOffsetParent || Yn, n = this.getDimensions, r = await n(e.floating);
828
+ var Qn = async function(e) {
829
+ let t = this.getOffsetParent || Zn, n = this.getDimensions, r = await n(e.floating);
830
830
  return {
831
- reference: Kn(e.reference, await t(e.floating), e.strategy),
831
+ reference: Jn(e.reference, await t(e.floating), e.strategy),
832
832
  floating: {
833
833
  x: 0,
834
834
  y: 0,
@@ -837,77 +837,77 @@ var Xn = async function(e) {
837
837
  }
838
838
  };
839
839
  };
840
- function Zn(e) {
840
+ function $n(e) {
841
841
  return Q(e).direction === "rtl";
842
842
  }
843
- var Qn = {
844
- convertOffsetParentRelativeRectToViewportRelativeRect: In,
845
- getDocumentElement: sn,
846
- getClippingRect: Wn,
847
- getOffsetParent: Yn,
848
- getElementRects: Xn,
849
- getClientRects: Ln,
850
- getDimensions: Gn,
851
- getScale: kn,
843
+ var er = {
844
+ convertOffsetParentRelativeRectToViewportRelativeRect: Rn,
845
+ getDocumentElement: ln,
846
+ getClippingRect: Kn,
847
+ getOffsetParent: Zn,
848
+ getElementRects: Qn,
849
+ getClientRects: zn,
850
+ getDimensions: qn,
851
+ getScale: jn,
852
852
  isElement: Z,
853
- isRTL: Zn
854
- }, $n = nn, er = rn, tr = $t, nr = Qt, rr = (e, t, n) => {
853
+ isRTL: $n
854
+ }, tr = an, nr = on, rr = tn, ir = en, ar = (e, t, n) => {
855
855
  let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
856
- ...Qn,
856
+ ...er,
857
857
  ...i.platform,
858
858
  _c: r
859
859
  };
860
- return Zt(e, t, {
860
+ return $t(e, t, {
861
861
  ...i,
862
862
  platform: a
863
863
  });
864
864
  };
865
865
  //#endregion
866
866
  //#region ../../node_modules/.pnpm/@floating-ui+vue@2.0.1_vue@3.5.44_typescript@6.0.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
867
- function ir(e) {
867
+ function or(e) {
868
868
  return typeof e == "object" && !!e && "$el" in e;
869
869
  }
870
- function ar(e) {
871
- if (ir(e)) {
870
+ function sr(e) {
871
+ if (or(e)) {
872
872
  let t = e.$el;
873
- return cn(t) && on(t) === "#comment" ? null : t;
873
+ return un(t) && cn(t) === "#comment" ? null : t;
874
874
  }
875
875
  return e;
876
876
  }
877
- function or(e) {
877
+ function cr(e) {
878
878
  return {
879
879
  name: "arrow",
880
880
  options: e,
881
881
  fn(t) {
882
- let n = ar(Xe(e.element));
883
- return n == null ? {} : nr({
882
+ let n = sr(Qe(e.element));
883
+ return n == null ? {} : ir({
884
884
  element: n,
885
885
  padding: e.padding
886
886
  }).fn(t);
887
887
  }
888
888
  };
889
889
  }
890
- function sr(e) {
890
+ function lr(e) {
891
891
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
892
892
  }
893
- function cr(e, t) {
894
- let n = sr(e);
893
+ function ur(e, t) {
894
+ let n = lr(e);
895
895
  return Math.round(t * n) / n;
896
896
  }
897
- function lr(e, t, n) {
897
+ function dr(e, t, n) {
898
898
  n === void 0 && (n = {});
899
- let r = n.whileElementsMounted, i = M(() => Xe(n.open) ?? !0), a = M(() => Xe(n.middleware)), o = M(() => Xe(n.placement) ?? "bottom"), s = M(() => Xe(n.strategy) ?? "absolute"), c = M(() => Xe(n.transform) ?? !0), l = M(() => ar(e.value)), u = M(() => ar(t.value)), d = U(0), f = U(0), p = U(s.value), m = U(o.value), h = Ye({}), g = U(!1), _ = M(() => {
899
+ let r = n.whileElementsMounted, i = M(() => Qe(n.open) ?? !0), a = M(() => Qe(n.middleware)), o = M(() => Qe(n.placement) ?? "bottom"), s = M(() => Qe(n.strategy) ?? "absolute"), c = M(() => Qe(n.transform) ?? !0), l = M(() => sr(e.value)), u = M(() => sr(t.value)), d = U(0), f = U(0), p = U(s.value), m = U(o.value), h = Ze({}), g = U(!1), _ = M(() => {
900
900
  let e = {
901
901
  position: p.value,
902
902
  left: "0",
903
903
  top: "0"
904
904
  };
905
905
  if (!u.value) return e;
906
- let t = cr(u.value, d.value), n = cr(u.value, f.value);
906
+ let t = ur(u.value, d.value), n = ur(u.value, f.value);
907
907
  return c.value ? {
908
908
  ...e,
909
909
  transform: "translate(" + t + "px, " + n + "px)",
910
- ...sr(u.value) >= 1.5 && { willChange: "transform" }
910
+ ...lr(u.value) >= 1.5 && { willChange: "transform" }
911
911
  } : {
912
912
  position: p.value,
913
913
  left: t + "px",
@@ -917,7 +917,7 @@ function lr(e, t, n) {
917
917
  function y() {
918
918
  if (l.value == null || u.value == null) return;
919
919
  let e = i.value;
920
- rr(l.value, u.value, {
920
+ ar(l.value, u.value, {
921
921
  middleware: a.value,
922
922
  placement: o.value,
923
923
  strategy: s.value
@@ -939,20 +939,20 @@ function lr(e, t, n) {
939
939
  o,
940
940
  s,
941
941
  i
942
- ], y, { flush: "sync" }), J([l, u], x, { flush: "sync" }), J(i, S, { flush: "sync" }), Ie() && We(b), {
943
- x: Je(d),
944
- y: Je(f),
945
- strategy: Je(p),
946
- placement: Je(m),
947
- middlewareData: Je(h),
948
- isPositioned: Je(g),
942
+ ], y, { flush: "sync" }), J([l, u], x, { flush: "sync" }), J(i, S, { flush: "sync" }), Ie() && Ge(b), {
943
+ x: Xe(d),
944
+ y: Xe(f),
945
+ strategy: Xe(p),
946
+ placement: Xe(m),
947
+ middlewareData: Xe(h),
948
+ isPositioned: Xe(g),
949
949
  floatingStyles: _,
950
950
  update: y
951
951
  };
952
952
  }
953
953
  //#endregion
954
954
  //#region src/client/theme-default/components/TdTooltip.vue
955
- var ur = /*#__PURE__*/ k(/* @__PURE__ */ z({
955
+ var fr = /*#__PURE__*/ k(/* @__PURE__ */ z({
956
956
  inheritAttrs: !1,
957
957
  __name: "TdTooltip",
958
958
  props: {
@@ -963,13 +963,13 @@ var ur = /*#__PURE__*/ k(/* @__PURE__ */ z({
963
963
  }
964
964
  },
965
965
  setup(e) {
966
- let t = Qe("trigger"), n = Qe("tooltip"), r = Qe("arrowEl"), i = U(!1), a, o, { floatingStyles: s, middlewareData: c, placement: l } = lr(t, n, {
966
+ let t = et("trigger"), n = et("tooltip"), r = et("arrowEl"), i = U(!1), a, o, { floatingStyles: s, middlewareData: c, placement: l } = dr(t, n, {
967
967
  placement: "right",
968
968
  middleware: [
969
- $n(8),
970
- tr(),
971
- er({ padding: 8 }),
972
- or({ element: r })
969
+ tr(8),
970
+ rr(),
971
+ nr({ padding: 8 }),
972
+ cr({ element: r })
973
973
  ]
974
974
  });
975
975
  function u() {
@@ -981,13 +981,13 @@ var ur = /*#__PURE__*/ k(/* @__PURE__ */ z({
981
981
  i.value = !0;
982
982
  }, 400));
983
983
  }
984
- He(u);
984
+ Ue(u);
985
985
  function f() {
986
986
  u(), o = setTimeout(() => {
987
987
  i.value = !1;
988
988
  }, 100);
989
989
  }
990
- return (r, a) => (H(), F(j, null, [I("span", ze({
990
+ return (r, a) => (H(), F(j, null, [I("span", Be({
991
991
  ref_key: "trigger",
992
992
  ref: t
993
993
  }, r.$attrs, {
@@ -999,14 +999,14 @@ var ur = /*#__PURE__*/ k(/* @__PURE__ */ z({
999
999
  ref_key: "tooltip",
1000
1000
  ref: n,
1001
1001
  class: "td-tooltip",
1002
- style: Ve(q(s)),
1002
+ style: He(q(s)),
1003
1003
  role: "tooltip",
1004
1004
  onMouseenter: u,
1005
1005
  onMouseleave: f
1006
1006
  }, [L(K(e.text) + " ", 1), I("div", {
1007
1007
  ref: "arrowEl",
1008
1008
  class: "td-tooltip-arrow",
1009
- style: Ve({
1009
+ style: He({
1010
1010
  left: q(c).arrow?.x === void 0 ? "" : `${q(c).arrow.x}px`,
1011
1011
  top: q(c).arrow?.y === void 0 ? "" : `${q(c).arrow.y}px`,
1012
1012
  ...q(l).startsWith("bottom") ? { top: "-4px" } : {},
@@ -1019,12 +1019,12 @@ var ur = /*#__PURE__*/ k(/* @__PURE__ */ z({
1019
1019
  }), [["__scopeId", "data-v-953f5bd3"]]);
1020
1020
  //#endregion
1021
1021
  //#region src/client/theme-default/utils/renderInlineMarkup.ts
1022
- function dr(e) {
1023
- let t = U(fr(e()));
1024
- return et((n) => {
1022
+ function pr(e) {
1023
+ let t = U(mr(e()));
1024
+ return nt((n) => {
1025
1025
  let r = e();
1026
1026
  if (!r.includes("$")) {
1027
- t.value = fr(r);
1027
+ t.value = mr(r);
1028
1028
  return;
1029
1029
  }
1030
1030
  let i = !0;
@@ -1035,24 +1035,24 @@ function dr(e) {
1035
1035
  });
1036
1036
  }), t;
1037
1037
  }
1038
- function fr(e) {
1038
+ function mr(e) {
1039
1039
  let t = 0, n = "";
1040
1040
  for (let r of e.matchAll(Pe)) n += d(e.slice(t, r.index)), r[1] === void 0 ? n += d(r[0]) : n += `<code>${d(r[1])}</code>`, t = r.index + r[0].length;
1041
1041
  return n += d(e.slice(t)), n;
1042
1042
  }
1043
1043
  //#endregion
1044
1044
  //#region src/client/theme-default/components/TdTree/TdTreeNodeLabel.vue?vue&type=script&setup=true&lang.ts
1045
- var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1045
+ var hr = ["innerHTML"], gr = /* @__PURE__ */ z({
1046
1046
  __name: "TdTreeNodeLabel",
1047
1047
  props: { text: {} },
1048
1048
  setup(e) {
1049
- let t = dr(() => e.text);
1050
- return (e, n) => (H(), F("span", { innerHTML: q(t) }, null, 8, pr));
1049
+ let t = pr(() => e.text);
1050
+ return (e, n) => (H(), F("span", { innerHTML: q(t) }, null, 8, hr));
1051
1051
  }
1052
- }), hr = ["aria-expanded"], gr = { class: "td-tree-label-text" }, _r = ["href"], vr = { class: "td-tree-count" }, yr = ["href"], br = ["href"], xr = {
1052
+ }), _r = ["aria-expanded"], vr = { class: "td-tree-label-text" }, yr = ["href"], br = { class: "td-tree-count" }, xr = ["href"], Sr = ["href"], Cr = {
1053
1053
  key: 2,
1054
1054
  class: "td-tree-time"
1055
- }, Sr = 5, Cr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1055
+ }, wr = 5, Tr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1056
1056
  __name: "TdTreeNode",
1057
1057
  props: {
1058
1058
  node: {},
@@ -1065,10 +1065,10 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1065
1065
  for (let n of e.entries) n.kind === "file" ? t++ : t += y(n.node);
1066
1066
  return t;
1067
1067
  }
1068
- let b = U(!m(a.value, r.path)), x = U(!1), S = M(() => h.value.filter((e) => e.kind === "file").length), T = M(() => x.value ? 0 : Math.max(0, S.value - Sr)), te = M(() => {
1068
+ let b = U(!m(a.value, r.path)), x = U(!1), S = M(() => h.value.filter((e) => e.kind === "file").length), T = M(() => x.value ? 0 : Math.max(0, S.value - wr)), te = M(() => {
1069
1069
  if (x.value) return h.value;
1070
1070
  let e = 0;
1071
- return h.value.filter((t) => t.kind === "dir" || ++e <= Sr);
1071
+ return h.value.filter((t) => t.kind === "dir" || ++e <= wr);
1072
1072
  });
1073
1073
  J(() => r.path, (e) => {
1074
1074
  m(a.value, e) && (b.value = !1);
@@ -1086,7 +1086,7 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1086
1086
  b.value = !b.value;
1087
1087
  }
1088
1088
  return (e, t) => {
1089
- let r = Ke("TdTreeNode", !0);
1089
+ let r = Je("TdTreeNode", !0);
1090
1090
  return g.value ? (H(), F("div", {
1091
1091
  key: 0,
1092
1092
  class: "td-tree-node",
@@ -1103,28 +1103,28 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1103
1103
  size: 14,
1104
1104
  class: B(["td-tree-caret", { "is-collapsed": b.value }])
1105
1105
  }, null, 8, ["class"]),
1106
- I("span", gr, K(f.value), 1),
1107
- R(ur, {
1106
+ I("span", vr, K(f.value), 1),
1107
+ R(fr, {
1108
1108
  text: "Open index page",
1109
1109
  always: ""
1110
1110
  }, {
1111
- default: tt(() => [I("a", {
1111
+ default: rt(() => [I("a", {
1112
1112
  href: d.value,
1113
1113
  class: B(["td-tree-index-btn", { "is-active": E(s.value) }]),
1114
- onClick: t[0] ||= it(() => {}, ["stop"])
1115
- }, [p.value ? (H(), N(qe(p.value), {
1114
+ onClick: t[0] ||= ot(() => {}, ["stop"])
1115
+ }, [p.value ? (H(), N(Ye(p.value), {
1116
1116
  key: 0,
1117
1117
  size: 12
1118
- })) : E(s.value) ? (H(), N(q(lt), {
1118
+ })) : E(s.value) ? (H(), N(q(dt), {
1119
1119
  key: 1,
1120
1120
  size: 12
1121
1121
  })) : (H(), N(q(De), {
1122
1122
  key: 2,
1123
1123
  size: 12
1124
- }))], 10, _r)]),
1124
+ }))], 10, yr)]),
1125
1125
  _: 1
1126
1126
  }),
1127
- I("span", vr, K(_.value), 1)
1127
+ I("span", br, K(_.value), 1)
1128
1128
  ], 32), I("div", {
1129
1129
  class: B(["td-collapse td-tree-children", { "is-collapsed": b.value }]),
1130
1130
  role: "group"
@@ -1136,7 +1136,7 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1136
1136
  }, [R(q(ye), {
1137
1137
  size: 14,
1138
1138
  class: "td-tree-file-icon"
1139
- }), t[1] ||= I("span", { class: "td-tree-link-text" }, "Overview", -1)], 10, yr)) : P("", !0),
1139
+ }), t[1] ||= I("span", { class: "td-tree-link-text" }, "Overview", -1)], 10, xr)) : P("", !0),
1140
1140
  (H(!0), F(j, null, W(te.value, (e) => (H(), F(j, { key: e.kind === "dir" ? e.node.name : e.item.filepath }, [e.kind === "dir" ? (H(), N(r, {
1141
1141
  key: 0,
1142
1142
  node: e.node,
@@ -1146,7 +1146,7 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1146
1146
  href: q(i)(q(n)(e.item.filepath)),
1147
1147
  class: B(["td-tree-link", { "is-active": E(q(n)(e.item.filepath)) }])
1148
1148
  }, [
1149
- e.item.icon && q(me)(e.item.icon.name) ? (H(), N(qe(q(me)(e.item.icon.name)), {
1149
+ e.item.icon && q(me)(e.item.icon.name) ? (H(), N(Ye(q(me)(e.item.icon.name)), {
1150
1150
  key: 0,
1151
1151
  size: 14,
1152
1152
  class: "td-tree-file-icon"
@@ -1155,34 +1155,34 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1155
1155
  size: 14,
1156
1156
  class: "td-tree-file-icon"
1157
1157
  })),
1158
- R(ur, {
1158
+ R(fr, {
1159
1159
  class: "td-tree-link-text",
1160
1160
  text: q(w)(e.item.filepath, e.item.label)
1161
1161
  }, {
1162
- default: tt(() => [R(mr, { text: q(w)(e.item.filepath, e.item.label) }, null, 8, ["text"])]),
1162
+ default: rt(() => [R(gr, { text: q(w)(e.item.filepath, e.item.label) }, null, 8, ["text"])]),
1163
1163
  _: 2
1164
1164
  }, 1032, ["text"]),
1165
- e.item.fileMetadata ? (H(), F("span", xr, K(q(l)(e.item.fileMetadata.mtime)), 1)) : P("", !0)
1166
- ], 10, br))], 64))), 128)),
1165
+ e.item.fileMetadata ? (H(), F("span", Cr, K(q(l)(e.item.fileMetadata.mtime)), 1)) : P("", !0)
1166
+ ], 10, Sr))], 64))), 128)),
1167
1167
  T.value > 0 && !x.value ? (H(), F("button", {
1168
1168
  key: 1,
1169
1169
  class: "td-tree-more",
1170
1170
  type: "button",
1171
1171
  onClick: ne
1172
1172
  }, K(T.value) + " more... ", 1)) : P("", !0)
1173
- ])], 2)], 8, hr)) : P("", !0);
1173
+ ])], 2)], 8, _r)) : P("", !0);
1174
1174
  };
1175
1175
  }
1176
- }), [["__scopeId", "data-v-fbd1ff27"]]), wr = {
1176
+ }), [["__scopeId", "data-v-fbd1ff27"]]), Er = {
1177
1177
  class: "td-nav",
1178
1178
  "aria-label": "Site navigation"
1179
- }, Tr = { role: "tree" }, Er = ["href"], Dr = {
1179
+ }, Dr = { role: "tree" }, Or = ["href"], kr = {
1180
1180
  key: 0,
1181
1181
  class: "td-root-link-time"
1182
- }, Or = ["href"], kr = { class: "td-root-link-text" }, Ar = {
1182
+ }, Ar = ["href"], jr = { class: "td-root-link-text" }, Mr = {
1183
1183
  key: 2,
1184
1184
  class: "td-root-link-time"
1185
- }, jr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1185
+ }, Nr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1186
1186
  __name: "TdContentNav",
1187
1187
  props: { tree: {} },
1188
1188
  setup(e) {
@@ -1190,7 +1190,7 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1190
1190
  function o(e) {
1191
1191
  return t.path === e;
1192
1192
  }
1193
- return (e, t) => (H(), F("nav", wr, [I("div", Tr, [I("a", {
1193
+ return (e, t) => (H(), F("nav", Er, [I("div", Dr, [I("a", {
1194
1194
  href: q(r)(i.value ? q(n)(i.value.filepath) : q(C)("/")),
1195
1195
  class: B(["td-root-link", { "is-active": o(i.value ? q(n)(i.value.filepath) : q(C)("/")) }]),
1196
1196
  role: "treeitem"
@@ -1200,8 +1200,8 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1200
1200
  class: "td-root-link-icon"
1201
1201
  }),
1202
1202
  t[0] ||= I("span", { class: "td-root-link-text" }, "Overview", -1),
1203
- i.value ? (H(), F("span", Dr, K(i.value.fileMetadata ? q(l)(i.value.fileMetadata.mtime) : ""), 1)) : P("", !0)
1204
- ], 10, Er), (H(!0), F(j, null, W(a.value, (e) => (H(), F(j, { key: e.kind === "dir" ? e.node.name : e.item.filepath }, [e.kind === "dir" ? (H(), N(Cr, {
1203
+ i.value ? (H(), F("span", kr, K(i.value.fileMetadata ? q(l)(i.value.fileMetadata.mtime) : ""), 1)) : P("", !0)
1204
+ ], 10, Or), (H(!0), F(j, null, W(a.value, (e) => (H(), F(j, { key: e.kind === "dir" ? e.node.name : e.item.filepath }, [e.kind === "dir" ? (H(), N(Tr, {
1205
1205
  key: 0,
1206
1206
  node: e.node
1207
1207
  }, null, 8, ["node"])) : (H(), F("a", {
@@ -1210,7 +1210,7 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1210
1210
  class: B(["td-root-link", { "is-active": o(q(n)(e.item.filepath)) }]),
1211
1211
  role: "treeitem"
1212
1212
  }, [
1213
- e.item.icon && q(me)(e.item.icon.name) ? (H(), N(qe(q(me)(e.item.icon.name)), {
1213
+ e.item.icon && q(me)(e.item.icon.name) ? (H(), N(Ye(q(me)(e.item.icon.name)), {
1214
1214
  key: 0,
1215
1215
  size: 14,
1216
1216
  class: "td-root-link-icon"
@@ -1219,29 +1219,29 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1219
1219
  size: 14,
1220
1220
  class: "td-root-link-icon"
1221
1221
  })),
1222
- I("span", kr, K(q(w)(e.item.filepath, e.item.label)), 1),
1223
- e.item.fileMetadata ? (H(), F("span", Ar, K(q(l)(e.item.fileMetadata.mtime)), 1)) : P("", !0)
1224
- ], 10, Or))], 64))), 128))])]));
1222
+ I("span", jr, K(q(w)(e.item.filepath, e.item.label)), 1),
1223
+ e.item.fileMetadata ? (H(), F("span", Mr, K(q(l)(e.item.fileMetadata.mtime)), 1)) : P("", !0)
1224
+ ], 10, Ar))], 64))), 128))])]));
1225
1225
  }
1226
- }), [["__scopeId", "data-v-d02f24f2"]]), Mr = { class: "td-footer" }, Nr = { key: 0 }, Pr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1226
+ }), [["__scopeId", "data-v-d02f24f2"]]), Pr = { class: "td-footer" }, Fr = { key: 0 }, Ir = /*#__PURE__*/ k(/* @__PURE__ */ z({
1227
1227
  __name: "TdFooter",
1228
1228
  setup(e) {
1229
1229
  let t = A(), n = (/* @__PURE__ */ new Date()).getFullYear();
1230
- return (e, r) => (H(), F("footer", Mr, [r[0] ||= I("span", null, [L(" Powered by "), I("a", {
1230
+ return (e, r) => (H(), F("footer", Pr, [r[0] ||= I("span", null, [L(" Powered by "), I("a", {
1231
1231
  href: "https://github.com/huydo862003/typerighter",
1232
1232
  target: "_blank",
1233
1233
  rel: "noopener noreferrer",
1234
1234
  class: "td-footer-link"
1235
- }, "Typerighter")], -1), q(t).author || q(t).license ? (H(), F("span", Nr, [
1235
+ }, "Typerighter")], -1), q(t).author || q(t).license ? (H(), F("span", Fr, [
1236
1236
  q(t).license ? (H(), F(j, { key: 0 }, [L(K(q(t).license), 1)], 64)) : P("", !0),
1237
1237
  q(t).license && q(t).author ? (H(), F(j, { key: 1 }, [L(" · ")], 64)) : P("", !0),
1238
1238
  q(t).author ? (H(), F(j, { key: 2 }, [L("© " + K(q(n)) + " " + K(q(t).author), 1)], 64)) : P("", !0)
1239
1239
  ])) : P("", !0)]));
1240
1240
  }
1241
- }), [["__scopeId", "data-v-50e2a5bc"]]), Fr = {
1241
+ }), [["__scopeId", "data-v-50e2a5bc"]]), Lr = {
1242
1242
  key: 0,
1243
1243
  class: "td-dropdown-panel"
1244
- }, Ir = /*#__PURE__*/ k(/* @__PURE__ */ z({
1244
+ }, Rr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1245
1245
  inheritAttrs: !1,
1246
1246
  __name: "TdDropdown",
1247
1247
  props: {
@@ -1253,7 +1253,7 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1253
1253
  },
1254
1254
  emits: ["update:open"],
1255
1255
  setup(e) {
1256
- let t = Ze(e, "open"), n = Qe("wrapper");
1256
+ let t = $e(e, "open"), n = et("wrapper");
1257
1257
  function r(e) {
1258
1258
  n.value?.contains(e.target) || (t.value = !1);
1259
1259
  }
@@ -1264,24 +1264,24 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1264
1264
  typeof document < "u" && (e ? document.addEventListener("click", r) : document.removeEventListener("click", r));
1265
1265
  }), V(() => {
1266
1266
  typeof document < "u" && document.removeEventListener("click", r);
1267
- }), (e, r) => (H(), F("span", ze({
1267
+ }), (e, r) => (H(), F("span", Be({
1268
1268
  ref_key: "wrapper",
1269
1269
  ref: n
1270
- }, e.$attrs, { class: "td-dropdown" }), [I("span", { onClick: i }, [G(e.$slots, "trigger", {}, void 0, !0)]), t.value ? (H(), F("div", Fr, [G(e.$slots, "default", {}, void 0, !0)])) : P("", !0)], 16));
1270
+ }, e.$attrs, { class: "td-dropdown" }), [I("span", { onClick: i }, [G(e.$slots, "trigger", {}, void 0, !0)]), t.value ? (H(), F("div", Lr, [G(e.$slots, "default", {}, void 0, !0)])) : P("", !0)], 16));
1271
1271
  }
1272
- }), [["__scopeId", "data-v-80759150"]]), Lr = {
1272
+ }), [["__scopeId", "data-v-80759150"]]), zr = {
1273
1273
  class: "td-breadcrumb",
1274
1274
  "aria-label": "Breadcrumb"
1275
- }, Rr = ["href"], zr = {
1275
+ }, Br = ["href"], Vr = {
1276
1276
  type: "button",
1277
1277
  class: "td-breadcrumb-ellipsis"
1278
- }, Br = ["href"], Vr = ["href"], Hr = {
1278
+ }, Hr = ["href"], Ur = ["href"], Wr = {
1279
1279
  key: 1,
1280
1280
  class: "td-breadcrumb-current"
1281
- }, Ur = ["href"], Wr = {
1281
+ }, Gr = ["href"], Kr = {
1282
1282
  key: 1,
1283
1283
  class: "td-breadcrumb-current"
1284
- }, Gr = 3, Kr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1284
+ }, qr = 3, Jr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1285
1285
  __name: "TdBreadcrumb",
1286
1286
  setup(e) {
1287
1287
  let t = O(), { withBase: n } = A(), i = U(!1), a = M(() => {
@@ -1299,37 +1299,37 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1299
1299
  });
1300
1300
  }
1301
1301
  return i;
1302
- }), o = M(() => Gr < a.value.length), c = M(() => a.value.slice(1, -2));
1302
+ }), o = M(() => qr < a.value.length), c = M(() => a.value.slice(1, -2));
1303
1303
  return J(() => t.path, () => {
1304
1304
  i.value = !1;
1305
- }), (e, t) => (H(), F("nav", Lr, [I("a", {
1305
+ }), (e, t) => (H(), F("nav", zr, [I("a", {
1306
1306
  href: a.value[0].href,
1307
1307
  class: "td-breadcrumb-link td-breadcrumb-home"
1308
- }, K(a.value[0].name), 9, Rr), o.value ? (H(), F(j, { key: 0 }, [
1308
+ }, K(a.value[0].name), 9, Br), o.value ? (H(), F(j, { key: 0 }, [
1309
1309
  t[2] ||= I("span", {
1310
1310
  class: "td-breadcrumb-sep",
1311
1311
  "aria-hidden": "true"
1312
1312
  }, "/", -1),
1313
- R(Ir, {
1313
+ R(Rr, {
1314
1314
  open: i.value,
1315
1315
  "onUpdate:open": t[0] ||= (e) => i.value = e
1316
1316
  }, {
1317
- trigger: tt(() => [I("button", zr, [R(q(ne), { size: 14 })])]),
1318
- default: tt(() => [(H(!0), F(j, null, W(c.value, (e) => (H(), F("a", {
1317
+ trigger: rt(() => [I("button", Vr, [R(q(ne), { size: 14 })])]),
1318
+ default: rt(() => [(H(!0), F(j, null, W(c.value, (e) => (H(), F("a", {
1319
1319
  key: e.href,
1320
1320
  href: e.href,
1321
1321
  class: "td-breadcrumb-dropdown-item"
1322
- }, K(e.name), 9, Br))), 128))]),
1322
+ }, K(e.name), 9, Hr))), 128))]),
1323
1323
  _: 1
1324
1324
  }, 8, ["open"]),
1325
1325
  (H(!0), F(j, null, W(a.value.slice(-2), (e) => (H(), F(j, { key: e.href }, [t[1] ||= I("span", {
1326
1326
  class: "td-breadcrumb-sep",
1327
1327
  "aria-hidden": "true"
1328
- }, "/", -1), e === a.value[a.value.length - 1] ? (H(), F("span", Hr, K(e.name), 1)) : (H(), F("a", {
1328
+ }, "/", -1), e === a.value[a.value.length - 1] ? (H(), F("span", Wr, K(e.name), 1)) : (H(), F("a", {
1329
1329
  key: 0,
1330
1330
  href: e.href,
1331
1331
  class: "td-breadcrumb-link"
1332
- }, K(e.name), 9, Vr))], 64))), 128))
1332
+ }, K(e.name), 9, Ur))], 64))), 128))
1333
1333
  ], 64)) : (H(!0), F(j, { key: 1 }, W(a.value.slice(1), (e, n) => (H(), F(j, { key: e.href }, [t[3] ||= I("span", {
1334
1334
  class: "td-breadcrumb-sep",
1335
1335
  "aria-hidden": "true"
@@ -1337,23 +1337,23 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1337
1337
  key: 0,
1338
1338
  href: e.href,
1339
1339
  class: "td-breadcrumb-link"
1340
- }, K(e.name), 9, Ur)) : (H(), F("span", Wr, K(e.name), 1))], 64))), 128))]));
1340
+ }, K(e.name), 9, Gr)) : (H(), F("span", Kr, K(e.name), 1))], 64))), 128))]));
1341
1341
  }
1342
- }), [["__scopeId", "data-v-3400a7c6"]]), qr = {
1342
+ }), [["__scopeId", "data-v-3400a7c6"]]), Yr = {
1343
1343
  key: 0,
1344
1344
  class: "td-header-nav"
1345
- }, Jr = [
1345
+ }, Xr = [
1346
1346
  "href",
1347
1347
  "target",
1348
1348
  "rel"
1349
- ], Yr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1349
+ ], Zr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1350
1350
  __name: "TdHeaderNavBar",
1351
1351
  setup(t) {
1352
1352
  let n = A(), { withBase: r } = n, i = O();
1353
1353
  function a(t) {
1354
1354
  return !e(t) && i.path.startsWith(r(t));
1355
1355
  }
1356
- return (t, i) => q(n).nav?.length ? (H(), F("nav", qr, [(H(!0), F(j, null, W(q(n).nav, (t) => (H(), F("a", {
1356
+ return (t, i) => q(n).nav?.length ? (H(), F("nav", Yr, [(H(!0), F(j, null, W(q(n).nav, (t) => (H(), F("a", {
1357
1357
  key: t.link,
1358
1358
  href: q(e)(t.link) ? t.link : q(r)(t.link),
1359
1359
  target: q(e)(t.link) ? "_blank" : void 0,
@@ -1362,23 +1362,23 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1362
1362
  }, [L(K(t.title), 1), q(e)(t.link) ? (H(), N(q(oe), {
1363
1363
  key: 0,
1364
1364
  size: 14
1365
- })) : P("", !0)], 10, Jr))), 128))])) : P("", !0);
1365
+ })) : P("", !0)], 10, Xr))), 128))])) : P("", !0);
1366
1366
  }
1367
- }), [["__scopeId", "data-v-f416755c"]]), Xr = {
1367
+ }), [["__scopeId", "data-v-f416755c"]]), Qr = {
1368
1368
  key: 0,
1369
1369
  class: "td-menu-nav"
1370
- }, Zr = [
1370
+ }, $r = [
1371
1371
  "href",
1372
1372
  "target",
1373
1373
  "rel"
1374
- ], Qr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1374
+ ], ei = /*#__PURE__*/ k(/* @__PURE__ */ z({
1375
1375
  __name: "TdHeaderNavMenu",
1376
1376
  setup(t) {
1377
1377
  let n = A(), { withBase: r } = n, i = O();
1378
1378
  function a(t) {
1379
1379
  return !e(t) && i.path.startsWith(r(t));
1380
1380
  }
1381
- return (t, i) => q(n).nav?.length ? (H(), F("nav", Xr, [(H(!0), F(j, null, W(q(n).nav, (t) => (H(), F("a", {
1381
+ return (t, i) => q(n).nav?.length ? (H(), F("nav", Qr, [(H(!0), F(j, null, W(q(n).nav, (t) => (H(), F("a", {
1382
1382
  key: t.link,
1383
1383
  href: q(e)(t.link) ? t.link : q(r)(t.link),
1384
1384
  target: q(e)(t.link) ? "_blank" : void 0,
@@ -1395,13 +1395,13 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1395
1395
  key: 1,
1396
1396
  size: 14
1397
1397
  })) : P("", !0)
1398
- ], 10, Zr))), 128))])) : P("", !0);
1398
+ ], 10, $r))), 128))])) : P("", !0);
1399
1399
  }
1400
- }), [["__scopeId", "data-v-f3c16d10"]]), $r = { class: "td-widget-checkbox" }, ei = /*#__PURE__*/ k(/* @__PURE__ */ z({
1400
+ }), [["__scopeId", "data-v-f3c16d10"]]), ti = { class: "td-widget-checkbox" }, ni = /*#__PURE__*/ k(/* @__PURE__ */ z({
1401
1401
  __name: "TdWidgetCheckbox",
1402
1402
  props: { value: {} },
1403
1403
  setup(e) {
1404
- return (t, n) => (H(), F("span", $r, [e.value ? (H(), N(q(pt), {
1404
+ return (t, n) => (H(), F("span", ti, [e.value ? (H(), N(q(ht), {
1405
1405
  key: 0,
1406
1406
  size: 16,
1407
1407
  class: "td-widget-checkbox-icon is-checked"
@@ -1411,7 +1411,7 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1411
1411
  class: "td-widget-checkbox-icon"
1412
1412
  }))]));
1413
1413
  }
1414
- }), [["__scopeId", "data-v-13241c06"]]), ti = /* @__PURE__ */ new Set([
1414
+ }), [["__scopeId", "data-v-13241c06"]]), ri = /* @__PURE__ */ new Set([
1415
1415
  "png",
1416
1416
  "jpg",
1417
1417
  "jpeg",
@@ -1423,11 +1423,11 @@ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1423
1423
  "ico",
1424
1424
  "tiff"
1425
1425
  ]);
1426
- function ni(e) {
1426
+ function ii(e) {
1427
1427
  if (!e) return;
1428
1428
  if (typeof e == "string") {
1429
1429
  let t = e.trim();
1430
- return !t || !ri({ url: t }) ? void 0 : {
1430
+ return !t || !ai({ url: t }) ? void 0 : {
1431
1431
  url: t,
1432
1432
  name: i(t),
1433
1433
  isImage: !0
@@ -1442,24 +1442,24 @@ function ni(e) {
1442
1442
  name: a,
1443
1443
  format: o,
1444
1444
  icon: n.icon,
1445
- isImage: ri({
1445
+ isImage: ai({
1446
1446
  url: r,
1447
1447
  name: a,
1448
1448
  format: o
1449
1449
  })
1450
1450
  };
1451
1451
  }
1452
- function ri(e) {
1453
- if (e.format && ti.has(e.format.toLowerCase())) return !0;
1452
+ function ai(e) {
1453
+ if (e.format && ri.has(e.format.toLowerCase())) return !0;
1454
1454
  let t = a(e.name || e.url).slice(1);
1455
- return t ? ti.has(t.toLowerCase()) : !1;
1455
+ return t ? ri.has(t.toLowerCase()) : !1;
1456
1456
  }
1457
1457
  //#endregion
1458
1458
  //#region src/client/theme-default/components/TdFrontmatter/widgets/TdWidgetRelation.vue?vue&type=script&setup=true&lang.ts
1459
- var ii = {
1459
+ var oi = {
1460
1460
  key: 0,
1461
1461
  class: "td-widget-relation-wrapper"
1462
- }, ai = ["href", "title"], oi = ["src", "alt"], si = ["href"], ci = { class: "td-widget-file-name" }, li = ["href"], ui = ["href"], di = { key: 1 }, fi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1462
+ }, si = ["href", "title"], ci = ["src", "alt"], li = ["href"], ui = { class: "td-widget-file-name" }, di = ["href"], fi = ["href"], pi = { key: 1 }, mi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1463
1463
  __name: "TdWidgetRelation",
1464
1464
  props: {
1465
1465
  value: {},
@@ -1469,8 +1469,8 @@ var ii = {
1469
1469
  }
1470
1470
  },
1471
1471
  setup(t) {
1472
- let { withBase: n } = A(), r = M(() => ni(t.value)), i = M(() => r.value?.icon ? me(r.value.icon.name) : void 0), a = M(() => r.value !== void 0 && e(r.value.url));
1473
- return (e, o) => r.value ? (H(), F("span", ii, [r.value.isImage ? (H(), F("a", {
1472
+ let { withBase: n } = A(), r = M(() => ii(t.value)), i = M(() => r.value?.icon ? me(r.value.icon.name) : void 0), a = M(() => r.value !== void 0 && e(r.value.url));
1473
+ return (e, o) => r.value ? (H(), F("span", oi, [r.value.isImage ? (H(), F("a", {
1474
1474
  key: 0,
1475
1475
  href: q(n)(r.value.url),
1476
1476
  target: "_blank",
@@ -1482,13 +1482,13 @@ var ii = {
1482
1482
  alt: r.value.name,
1483
1483
  class: "td-widget-image-img",
1484
1484
  loading: "lazy"
1485
- }, null, 8, oi)], 8, ai)) : r.value.format || r.value.url.includes(".") ? (H(), F("a", {
1485
+ }, null, 8, ci)], 8, si)) : r.value.format || r.value.url.includes(".") ? (H(), F("a", {
1486
1486
  key: 1,
1487
1487
  href: q(n)(r.value.url),
1488
1488
  target: "_blank",
1489
1489
  rel: "noopener noreferrer",
1490
1490
  class: "td-widget-file-link"
1491
- }, [R(q(E), { class: "td-widget-file-icon" }), I("span", ci, K(r.value.name), 1)], 8, si)) : a.value ? (H(), F("a", {
1491
+ }, [R(q(E), { class: "td-widget-file-icon" }), I("span", ui, K(r.value.name), 1)], 8, li)) : a.value ? (H(), F("a", {
1492
1492
  key: 2,
1493
1493
  href: r.value.url,
1494
1494
  target: "_blank",
@@ -1497,34 +1497,34 @@ var ii = {
1497
1497
  }, [R(q(oe), {
1498
1498
  size: 12,
1499
1499
  class: "td-widget-external-icon"
1500
- })], 8, li)) : (H(), F("a", {
1500
+ })], 8, di)) : (H(), F("a", {
1501
1501
  key: 3,
1502
1502
  href: q(n)(r.value.url),
1503
1503
  class: "td-widget-ref"
1504
- }, [i.value && !t.hideIcon ? (H(), N(qe(i.value), {
1504
+ }, [i.value && !t.hideIcon ? (H(), N(Ye(i.value), {
1505
1505
  key: 0,
1506
1506
  size: 14,
1507
1507
  class: "td-widget-ref-icon"
1508
- })) : P("", !0), L(K(r.value.name), 1)], 8, ui))])) : (H(), F("span", di, K(t.value), 1));
1508
+ })) : P("", !0), L(K(r.value.name), 1)], 8, fi))])) : (H(), F("span", pi, K(t.value), 1));
1509
1509
  }
1510
- }), [["__scopeId", "data-v-e593af69"]]), pi = { key: 0 }, mi = { class: "td-widget-list td-widget-list-icons" }, hi = { key: 1 }, gi = { class: "td-widget-list" }, _i = 5, vi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1510
+ }), [["__scopeId", "data-v-e593af69"]]), hi = { key: 0 }, gi = { class: "td-widget-list td-widget-list-icons" }, _i = { key: 1 }, vi = { class: "td-widget-list" }, yi = 5, bi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1511
1511
  __name: "TdWidgetList",
1512
1512
  props: {
1513
1513
  definition: {},
1514
1514
  value: {}
1515
1515
  },
1516
1516
  setup(e) {
1517
- let t = U(!1), n = M(() => Array.isArray(e.value) ? e.value : []), r = M(() => e.definition.items?.widget === "relation"), i = M(() => r.value ? n.value.map((e) => ni(e)).filter((e) => e !== void 0) : []), a = M(() => r.value ? Math.max(0, i.value.length - _i) : Math.max(0, n.value.length - _i));
1517
+ let t = U(!1), n = M(() => Array.isArray(e.value) ? e.value : []), r = M(() => e.definition.items?.widget === "relation"), i = M(() => r.value ? n.value.map((e) => ii(e)).filter((e) => e !== void 0) : []), a = M(() => r.value ? Math.max(0, i.value.length - yi) : Math.max(0, n.value.length - yi));
1518
1518
  function o() {
1519
1519
  t.value = !t.value;
1520
1520
  }
1521
1521
  function s(e) {
1522
- return t.value ? e : e.slice(0, _i);
1522
+ return t.value ? e : e.slice(0, yi);
1523
1523
  }
1524
- return (e, c) => r.value ? (H(), F("div", pi, [I("ul", mi, [(H(!0), F(j, null, W(s(i.value), (e, t) => (H(), F("li", { key: t }, [(H(), N(qe(e.icon ? q(me)(e.icon.name) ?? q(ue) : q(ue)), {
1524
+ return (e, c) => r.value ? (H(), F("div", hi, [I("ul", gi, [(H(!0), F(j, null, W(s(i.value), (e, t) => (H(), F("li", { key: t }, [(H(), N(Ye(e.icon ? q(me)(e.icon.name) ?? q(ue) : q(ue)), {
1525
1525
  size: 14,
1526
1526
  class: "td-widget-list-icon"
1527
- })), R(fi, {
1527
+ })), R(mi, {
1528
1528
  value: { $ref: e },
1529
1529
  "hide-icon": ""
1530
1530
  }, null, 8, ["value"])]))), 128))]), a.value > 0 ? (H(), F("button", {
@@ -1532,7 +1532,7 @@ var ii = {
1532
1532
  class: "td-widget-more",
1533
1533
  type: "button",
1534
1534
  onClick: o
1535
- }, K(t.value ? "show less" : `+${a.value} more`), 1)) : P("", !0)])) : (H(), F("div", hi, [I("ul", gi, [(H(!0), F(j, null, W(s(n.value), (e, t) => (H(), F("li", { key: t }, [q(ni)(e) ? (H(), N(fi, {
1535
+ }, K(t.value ? "show less" : `+${a.value} more`), 1)) : P("", !0)])) : (H(), F("div", _i, [I("ul", vi, [(H(!0), F(j, null, W(s(n.value), (e, t) => (H(), F("li", { key: t }, [q(ii)(e) ? (H(), N(mi, {
1536
1536
  key: 0,
1537
1537
  value: e
1538
1538
  }, null, 8, ["value"])) : (H(), F(j, { key: 1 }, [L(K(e), 1)], 64))]))), 128))]), a.value > 0 ? (H(), F("button", {
@@ -1542,7 +1542,7 @@ var ii = {
1542
1542
  onClick: o
1543
1543
  }, K(t.value ? "show less" : `+${a.value} more`), 1)) : P("", !0)]));
1544
1544
  }
1545
- }), [["__scopeId", "data-v-919aaa0d"]]), yi = [
1545
+ }), [["__scopeId", "data-v-919aaa0d"]]), xi = [
1546
1546
  {
1547
1547
  fg: "#a0522d",
1548
1548
  bg: "rgba(160, 82, 45, 0.1)"
@@ -1576,32 +1576,32 @@ var ii = {
1576
1576
  bg: "rgba(239, 68, 68, 0.1)"
1577
1577
  }
1578
1578
  ];
1579
- function bi(e) {
1580
- let t = yi[xi(String(e ?? "")) % yi.length];
1579
+ function Si(e) {
1580
+ let t = xi[Ci(String(e ?? "")) % xi.length];
1581
1581
  return {
1582
1582
  color: t.fg,
1583
1583
  background: t.bg
1584
1584
  };
1585
1585
  }
1586
- function xi(e) {
1586
+ function Ci(e) {
1587
1587
  let t = 0;
1588
1588
  for (let n = 0; n < e.length; n++) t = (t << 5) - t + e.charCodeAt(n) | 0;
1589
1589
  return Math.abs(t);
1590
1590
  }
1591
1591
  //#endregion
1592
1592
  //#region src/client/theme-default/components/TdFrontmatter/widgets/TdWidgetMultiSelect.vue?vue&type=script&setup=true&lang.ts
1593
- var Si = 5, Ci = /*#__PURE__*/ k(/* @__PURE__ */ z({
1593
+ var wi = 5, Ti = /*#__PURE__*/ k(/* @__PURE__ */ z({
1594
1594
  __name: "TdWidgetMultiSelect",
1595
1595
  props: { value: {} },
1596
1596
  setup(e) {
1597
- let t = U(!1), n = M(() => Array.isArray(e.value) ? e.value : []), r = M(() => t.value ? n.value : n.value.slice(0, Si)), i = M(() => Math.max(0, n.value.length - Si));
1597
+ let t = U(!1), n = M(() => Array.isArray(e.value) ? e.value : []), r = M(() => t.value ? n.value : n.value.slice(0, wi)), i = M(() => Math.max(0, n.value.length - wi));
1598
1598
  function a() {
1599
1599
  t.value = !t.value;
1600
1600
  }
1601
1601
  return (e, n) => (H(), F(j, null, [(H(!0), F(j, null, W(r.value, (e, t) => (H(), F("span", {
1602
1602
  key: t,
1603
1603
  class: "td-widget-pill",
1604
- style: Ve(q(bi)(e))
1604
+ style: He(q(Si)(e))
1605
1605
  }, K(e), 5))), 128)), i.value > 0 ? (H(), F("button", {
1606
1606
  key: 0,
1607
1607
  class: "td-widget-more",
@@ -1609,23 +1609,23 @@ var Si = 5, Ci = /*#__PURE__*/ k(/* @__PURE__ */ z({
1609
1609
  onClick: a
1610
1610
  }, K(t.value ? "show less" : `+${i.value} more`), 1)) : P("", !0)], 64));
1611
1611
  }
1612
- }), [["__scopeId", "data-v-2f88152d"]]), wi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1612
+ }), [["__scopeId", "data-v-2f88152d"]]), Ei = /*#__PURE__*/ k(/* @__PURE__ */ z({
1613
1613
  __name: "TdWidgetSelect",
1614
1614
  props: { value: {} },
1615
1615
  setup(e) {
1616
1616
  return (t, n) => (H(), F("span", {
1617
1617
  class: "td-widget-pill",
1618
- style: Ve(q(bi)(e.value))
1618
+ style: He(q(Si)(e.value))
1619
1619
  }, K(e.value), 5));
1620
1620
  }
1621
- }), [["__scopeId", "data-v-b9e2b4fd"]]), Ti = ["href", "title"], Ei = ["src", "alt"], Di = ["href"], Oi = { class: "td-widget-file-name" }, ki = /*#__PURE__*/ k(/* @__PURE__ */ z({
1621
+ }), [["__scopeId", "data-v-b9e2b4fd"]]), Di = ["href", "title"], Oi = ["src", "alt"], ki = ["href"], Ai = { class: "td-widget-file-name" }, ji = /*#__PURE__*/ k(/* @__PURE__ */ z({
1622
1622
  __name: "TdWidgetText",
1623
1623
  props: {
1624
1624
  definition: {},
1625
1625
  value: {}
1626
1626
  },
1627
1627
  setup(e) {
1628
- let { withBase: t } = A(), n = M(() => typeof e.value == "string" ? e.value.trim() : ""), r = M(() => ni(e.value)), i = M(() => r.value ? r.value.isImage : 0 < n.value.length && ri({ url: n.value })), a = M(() => r.value ? r.value.url : n.value), o = M(() => t(a.value)), s = M(() => !n.value || !n.value.includes(".") || n.value.includes(" ") ? !1 : n.value.endsWith(".pdf") || n.value.endsWith(".zip") || n.value.endsWith(".doc") || n.value.endsWith(".docx"));
1628
+ let { withBase: t } = A(), n = M(() => typeof e.value == "string" ? e.value.trim() : ""), r = M(() => ii(e.value)), i = M(() => r.value ? r.value.isImage : 0 < n.value.length && ai({ url: n.value })), a = M(() => r.value ? r.value.url : n.value), o = M(() => t(a.value)), s = M(() => !n.value || !n.value.includes(".") || n.value.includes(" ") ? !1 : n.value.endsWith(".pdf") || n.value.endsWith(".zip") || n.value.endsWith(".doc") || n.value.endsWith(".docx"));
1629
1629
  function c(t) {
1630
1630
  return t == null ? "" : e.definition.widget === "date" ? g(String(t)) : String(t);
1631
1631
  }
@@ -1641,53 +1641,53 @@ var Si = 5, Ci = /*#__PURE__*/ k(/* @__PURE__ */ z({
1641
1641
  alt: r.value ? r.value.name : n.value,
1642
1642
  class: "td-widget-image-img",
1643
1643
  loading: "lazy"
1644
- }, null, 8, Ei)], 8, Ti)) : s.value ? (H(), F("a", {
1644
+ }, null, 8, Oi)], 8, Di)) : s.value ? (H(), F("a", {
1645
1645
  key: 1,
1646
1646
  href: o.value,
1647
1647
  target: "_blank",
1648
1648
  rel: "noopener noreferrer",
1649
1649
  class: "td-widget-file-link"
1650
- }, [R(q(E), { class: "td-widget-file-icon" }), I("span", Oi, K(n.value.split("/").pop() ?? n.value), 1)], 8, Di)) : (H(), F(j, { key: 2 }, [L(K(c(e.value)), 1)], 64));
1650
+ }, [R(q(E), { class: "td-widget-file-icon" }), I("span", Ai, K(n.value.split("/").pop() ?? n.value), 1)], 8, ki)) : (H(), F(j, { key: 2 }, [L(K(c(e.value)), 1)], 64));
1651
1651
  }
1652
- }), [["__scopeId", "data-v-37708635"]]), Ai = {
1652
+ }), [["__scopeId", "data-v-37708635"]]), Mi = {
1653
1653
  key: 0,
1654
1654
  class: "td-frontmatter-empty"
1655
- }, ji = /*#__PURE__*/ k(/* @__PURE__ */ z({
1655
+ }, Ni = /*#__PURE__*/ k(/* @__PURE__ */ z({
1656
1656
  __name: "TdFrontmatterValue",
1657
1657
  props: {
1658
1658
  definition: {},
1659
1659
  value: {}
1660
1660
  },
1661
1661
  setup(e) {
1662
- return (t, n) => e.value === void 0 || e.value === null ? (H(), F("span", Ai, "Empty")) : e.definition.widget === "checkbox" ? (H(), N(ei, {
1662
+ return (t, n) => e.value === void 0 || e.value === null ? (H(), F("span", Mi, "Empty")) : e.definition.widget === "checkbox" ? (H(), N(ni, {
1663
1663
  key: 1,
1664
1664
  value: e.value
1665
- }, null, 8, ["value"])) : e.definition.widget === "select" ? (H(), N(wi, {
1665
+ }, null, 8, ["value"])) : e.definition.widget === "select" ? (H(), N(Ei, {
1666
1666
  key: 2,
1667
1667
  value: e.value
1668
- }, null, 8, ["value"])) : e.definition.widget === "multiSelect" ? (H(), N(Ci, {
1668
+ }, null, 8, ["value"])) : e.definition.widget === "multiSelect" ? (H(), N(Ti, {
1669
1669
  key: 3,
1670
1670
  value: e.value
1671
- }, null, 8, ["value"])) : q(ni)(e.value) || e.definition.widget === "relation" ? (H(), N(fi, {
1671
+ }, null, 8, ["value"])) : q(ii)(e.value) || e.definition.widget === "relation" ? (H(), N(mi, {
1672
1672
  key: 4,
1673
1673
  value: e.value
1674
- }, null, 8, ["value"])) : Array.isArray(e.value) || e.definition.widget === "list" ? (H(), N(vi, {
1674
+ }, null, 8, ["value"])) : Array.isArray(e.value) || e.definition.widget === "list" ? (H(), N(bi, {
1675
1675
  key: 5,
1676
1676
  definition: e.definition,
1677
1677
  value: e.value
1678
- }, null, 8, ["definition", "value"])) : (H(), N(ki, {
1678
+ }, null, 8, ["definition", "value"])) : (H(), N(ji, {
1679
1679
  key: 6,
1680
1680
  definition: e.definition,
1681
1681
  value: e.value
1682
1682
  }, null, 8, ["definition", "value"]));
1683
1683
  }
1684
- }), [["__scopeId", "data-v-1deedc98"]]), Mi = {
1684
+ }), [["__scopeId", "data-v-1deedc98"]]), Pi = {
1685
1685
  key: 0,
1686
1686
  class: "td-fm-rail"
1687
- }, Ni = { class: "td-fm-rail-key" }, Pi = { class: "td-fm-rail-value" }, Fi = {
1687
+ }, Fi = { class: "td-fm-rail-key" }, Ii = { class: "td-fm-rail-value" }, Li = {
1688
1688
  key: 1,
1689
1689
  class: "td-fm-box"
1690
- }, Ii = { class: "td-fm-box-label" }, Li = { class: "td-fm-box-count" }, Ri = { class: "td-fm-box-toggle" }, zi = { class: "td-fm-box-body" }, Bi = { class: "td-fm-box-key" }, Vi = { class: "td-fm-box-value" }, Hi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1690
+ }, Ri = { class: "td-fm-box-label" }, zi = { class: "td-fm-box-count" }, Bi = { class: "td-fm-box-toggle" }, Vi = { class: "td-fm-box-body" }, Hi = { class: "td-fm-box-key" }, Ui = { class: "td-fm-box-value" }, Wi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1691
1691
  __name: "TdFrontmatter",
1692
1692
  props: {
1693
1693
  mode: { default: "inline" },
@@ -1709,15 +1709,15 @@ var Si = 5, Ci = /*#__PURE__*/ k(/* @__PURE__ */ z({
1709
1709
  }
1710
1710
  return r;
1711
1711
  }), i = {
1712
- text: ht,
1713
- checkbox: at,
1712
+ text: _t,
1713
+ checkbox: st,
1714
1714
  select: ge,
1715
- multiSelect: mt,
1715
+ multiSelect: gt,
1716
1716
  relation: oe,
1717
1717
  list: le
1718
1718
  };
1719
1719
  function a(e) {
1720
- return i[e] ?? ht;
1720
+ return i[e] ?? _t;
1721
1721
  }
1722
1722
  let o = U(!1), s = U(!1);
1723
1723
  function c() {
@@ -1726,7 +1726,7 @@ var Si = 5, Ci = /*#__PURE__*/ k(/* @__PURE__ */ z({
1726
1726
  function l() {
1727
1727
  s.value = !s.value;
1728
1728
  }
1729
- return (t, n) => e.mode === "rail" && r.value.length > 0 ? (H(), F("div", Mi, [I("button", {
1729
+ return (t, n) => e.mode === "rail" && r.value.length > 0 ? (H(), F("div", Pi, [I("button", {
1730
1730
  type: "button",
1731
1731
  class: "td-fm-rail-header",
1732
1732
  onClick: l
@@ -1736,43 +1736,43 @@ var Si = 5, Ci = /*#__PURE__*/ k(/* @__PURE__ */ z({
1736
1736
  }, null, 8, ["class"])]), I("div", { class: B(["td-collapse", { "is-collapsed": s.value }]) }, [I("div", null, [(H(!0), F(j, null, W(r.value, ([t, n]) => (H(), F("div", {
1737
1737
  key: t,
1738
1738
  class: "td-fm-rail-row"
1739
- }, [I("span", Ni, [(H(), N(qe(a(n.widget)), {
1739
+ }, [I("span", Fi, [(H(), N(Ye(a(n.widget)), {
1740
1740
  size: 12,
1741
1741
  class: "td-fm-icon"
1742
- })), L(" " + K(q(v)(t)), 1)]), I("span", Pi, [R(ji, {
1742
+ })), L(" " + K(q(v)(t)), 1)]), I("span", Ii, [R(Ni, {
1743
1743
  definition: n,
1744
1744
  value: e.frontmatter[t]
1745
- }, null, 8, ["definition", "value"])])]))), 128))])], 2)])) : r.value.length > 0 ? (H(), F("div", Fi, [I("button", {
1745
+ }, null, 8, ["definition", "value"])])]))), 128))])], 2)])) : r.value.length > 0 ? (H(), F("div", Li, [I("button", {
1746
1746
  type: "button",
1747
1747
  class: "td-fm-box-header",
1748
1748
  onClick: c
1749
- }, [I("span", Ii, [n[1] ||= L("Properties ", -1), I("span", Li, K(r.value.length), 1)]), I("span", Ri, [L(K(o.value ? "Show" : "Hide") + " ", 1), o.value ? (H(), N(q(se), {
1749
+ }, [I("span", Ri, [n[1] ||= L("Properties ", -1), I("span", zi, K(r.value.length), 1)]), I("span", Bi, [L(K(o.value ? "Show" : "Hide") + " ", 1), o.value ? (H(), N(q(se), {
1750
1750
  key: 1,
1751
1751
  size: 14
1752
1752
  })) : (H(), N(q(ee), {
1753
1753
  key: 0,
1754
1754
  size: 14
1755
- }))])]), I("div", { class: B(["td-collapse", { "is-collapsed": o.value }]) }, [I("div", zi, [(H(!0), F(j, null, W(r.value, ([t, n]) => (H(), F(j, { key: t }, [I("span", Bi, [(H(), N(qe(a(n.widget)), {
1755
+ }))])]), I("div", { class: B(["td-collapse", { "is-collapsed": o.value }]) }, [I("div", Vi, [(H(!0), F(j, null, W(r.value, ([t, n]) => (H(), F(j, { key: t }, [I("span", Hi, [(H(), N(Ye(a(n.widget)), {
1756
1756
  size: 12,
1757
1757
  class: "td-fm-icon"
1758
- })), L(" " + K(q(v)(t)), 1)]), I("span", Vi, [R(ji, {
1758
+ })), L(" " + K(q(v)(t)), 1)]), I("span", Ui, [R(Ni, {
1759
1759
  definition: n,
1760
1760
  value: e.frontmatter[t]
1761
1761
  }, null, 8, ["definition", "value"])])], 64))), 128))])], 2)])) : P("", !0);
1762
1762
  }
1763
- }), [["__scopeId", "data-v-1b3924e7"]]), Ui = U(!1);
1764
- function Wi() {
1763
+ }), [["__scopeId", "data-v-1b3924e7"]]), Gi = U(!1);
1764
+ function Ki() {
1765
1765
  function e() {
1766
- Ui.value = !Ui.value;
1766
+ Gi.value = !Gi.value;
1767
1767
  }
1768
1768
  function t() {
1769
- Ui.value = !0;
1769
+ Gi.value = !0;
1770
1770
  }
1771
1771
  function n() {
1772
- Ui.value = !1;
1772
+ Gi.value = !1;
1773
1773
  }
1774
1774
  return {
1775
- isOpen: Ge(Ui),
1775
+ isOpen: qe(Gi),
1776
1776
  toggle: e,
1777
1777
  open: t,
1778
1778
  close: n
@@ -1780,17 +1780,17 @@ function Wi() {
1780
1780
  }
1781
1781
  //#endregion
1782
1782
  //#region src/client/theme-default/components/TdMenuButton.vue
1783
- var Gi = /* @__PURE__ */ z({
1783
+ var qi = /* @__PURE__ */ z({
1784
1784
  __name: "TdMenuButton",
1785
1785
  setup(e) {
1786
- let { isOpen: t, toggle: n } = Wi();
1787
- return (e, r) => (H(), N(St, {
1786
+ let { isOpen: t, toggle: n } = Ki();
1787
+ return (e, r) => (H(), N(wt, {
1788
1788
  class: "td-menu-button",
1789
1789
  label: q(t) ? "Close menu" : "Open menu",
1790
1790
  "aria-expanded": q(t),
1791
1791
  onClick: q(n)
1792
1792
  }, {
1793
- default: tt(() => [q(t) ? (H(), N(q(_e), {
1793
+ default: rt(() => [q(t) ? (H(), N(q(_e), {
1794
1794
  key: 0,
1795
1795
  size: 20
1796
1796
  })) : (H(), N(q(Oe), {
@@ -1807,9 +1807,9 @@ var Gi = /* @__PURE__ */ z({
1807
1807
  });
1808
1808
  //#endregion
1809
1809
  //#region src/client/theme-default/composables/usePreviousNext.ts
1810
- function Ki() {
1810
+ function Ji() {
1811
1811
  let e = ve(), t = O(), { withBase: n, title: r } = A(), i = M(() => {
1812
- let i = qi(e.value.contentTree, t.path, r);
1812
+ let i = Yi(e.value.contentTree, t.path, r);
1813
1813
  if (i === void 0) return {};
1814
1814
  let a = i.pages.findIndex((e) => e.url === t.path);
1815
1815
  if (a === -1) return { groupName: i.groupName };
@@ -1832,11 +1832,11 @@ function Ki() {
1832
1832
  groupName: M(() => i.value.groupName)
1833
1833
  };
1834
1834
  }
1835
- function qi(e, t, r) {
1835
+ function Yi(e, t, r) {
1836
1836
  if (e.entries.some((e) => e.kind === "file" && n(e.item.filepath) === t)) {
1837
1837
  let t = [], n = e.entries.find((e) => e.kind === "file" && u(e.item.filepath));
1838
- n && n.kind === "file" && t.push(Yi(n.item, r));
1839
- for (let n of e.entries) n.kind === "file" ? u(n.item.filepath) || t.push(Yi(n.item)) : t.push(Xi(n.node, ""));
1838
+ n && n.kind === "file" && t.push(Zi(n.item, r));
1839
+ for (let n of e.entries) n.kind === "file" ? u(n.item.filepath) || t.push(Zi(n.item)) : t.push(Qi(n.node, ""));
1840
1840
  return {
1841
1841
  pages: t,
1842
1842
  groupName: ""
@@ -1844,16 +1844,16 @@ function qi(e, t, r) {
1844
1844
  }
1845
1845
  for (let n of e.entries) {
1846
1846
  if (n.kind !== "dir") continue;
1847
- let e = Ji(n.node, t, "", r);
1847
+ let e = Xi(n.node, t, "", r);
1848
1848
  if (e !== void 0) return e;
1849
1849
  }
1850
1850
  }
1851
- function Ji(e, r, i, a) {
1851
+ function Xi(e, r, i, a) {
1852
1852
  let o = t(i, e.name);
1853
1853
  if (e.entries.some((e) => e.kind === "file" && n(e.item.filepath) === r)) {
1854
1854
  let t = [], n = c(e);
1855
- n && t.push(Yi(n));
1856
- for (let n of e.entries) n.kind === "file" ? u(n.item.filepath) || t.push(Yi(n.item)) : t.push(Xi(n.node, o));
1855
+ n && t.push(Zi(n));
1856
+ for (let n of e.entries) n.kind === "file" ? u(n.item.filepath) || t.push(Zi(n.item)) : t.push(Qi(n.node, o));
1857
1857
  return {
1858
1858
  pages: t,
1859
1859
  groupName: v(e.name)
@@ -1861,18 +1861,18 @@ function Ji(e, r, i, a) {
1861
1861
  }
1862
1862
  for (let t of e.entries) {
1863
1863
  if (t.kind !== "dir") continue;
1864
- let e = Ji(t.node, r, o, a);
1864
+ let e = Xi(t.node, r, o, a);
1865
1865
  if (e !== void 0) return e;
1866
1866
  }
1867
1867
  }
1868
- function Yi(e, t) {
1868
+ function Zi(e, t) {
1869
1869
  let r = e.label === void 0 ? t === void 0 ? w(e.filepath) : S(e.filepath, t) : e.label;
1870
1870
  return {
1871
1871
  url: n(e.filepath),
1872
1872
  title: r
1873
1873
  };
1874
1874
  }
1875
- function Xi(e, r) {
1875
+ function Qi(e, r) {
1876
1876
  let i = t(r, e.name), a = c(e);
1877
1877
  return {
1878
1878
  url: a ? n(a.filepath) : C(i),
@@ -1881,38 +1881,38 @@ function Xi(e, r) {
1881
1881
  }
1882
1882
  //#endregion
1883
1883
  //#region src/client/theme-default/components/TdPreviousNext.vue?vue&type=script&setup=true&lang.ts
1884
- var Zi = {
1884
+ var $i = {
1885
1885
  key: 0,
1886
1886
  class: "td-prevnext",
1887
1887
  "aria-label": "Page navigation"
1888
- }, Qi = ["href"], $i = { class: "td-prevnext-label" }, ea = { class: "td-prevnext-title" }, ta = {
1888
+ }, ea = ["href"], ta = { class: "td-prevnext-label" }, na = { class: "td-prevnext-title" }, ra = {
1889
1889
  key: 1,
1890
1890
  class: "td-prevnext-spacer"
1891
- }, na = ["href"], ra = { class: "td-prevnext-label" }, ia = { class: "td-prevnext-title" }, aa = {
1891
+ }, ia = ["href"], aa = { class: "td-prevnext-label" }, oa = { class: "td-prevnext-title" }, sa = {
1892
1892
  key: 3,
1893
1893
  class: "td-prevnext-spacer"
1894
- }, oa = /*#__PURE__*/ k(/* @__PURE__ */ z({
1894
+ }, ca = /*#__PURE__*/ k(/* @__PURE__ */ z({
1895
1895
  __name: "TdPreviousNext",
1896
1896
  setup(e) {
1897
- let { previous: t, next: n, groupName: r } = Ki();
1898
- return (e, i) => q(t) || q(n) ? (H(), F("nav", Zi, [q(t) ? (H(), F("a", {
1897
+ let { previous: t, next: n, groupName: r } = Ji();
1898
+ return (e, i) => q(t) || q(n) ? (H(), F("nav", $i, [q(t) ? (H(), F("a", {
1899
1899
  key: 0,
1900
1900
  href: q(t).url,
1901
1901
  class: "td-prevnext-link is-previous"
1902
- }, [I("span", $i, [R(q(be), {
1902
+ }, [I("span", ta, [R(q(be), {
1903
1903
  size: 14,
1904
1904
  class: "td-prevnext-chevron"
1905
- }), L(" " + K(q(r) ? `Previous in ${q(r)}` : "Previous"), 1)]), I("span", ea, K(q(t).title), 1)], 8, Qi)) : (H(), F("span", ta)), q(n) ? (H(), F("a", {
1905
+ }), L(" " + K(q(r) ? `Previous in ${q(r)}` : "Previous"), 1)]), I("span", na, K(q(t).title), 1)], 8, ea)) : (H(), F("span", ra)), q(n) ? (H(), F("a", {
1906
1906
  key: 2,
1907
1907
  href: q(n).url,
1908
1908
  class: "td-prevnext-link is-next"
1909
- }, [I("span", ra, [L(K(q(r) ? `Next in ${q(r)}` : "Next") + " ", 1), R(q(se), {
1909
+ }, [I("span", aa, [L(K(q(r) ? `Next in ${q(r)}` : "Next") + " ", 1), R(q(se), {
1910
1910
  size: 14,
1911
1911
  class: "td-prevnext-chevron"
1912
- })]), I("span", ia, K(q(n).title), 1)], 8, na)) : (H(), F("span", aa))])) : P("", !0);
1912
+ })]), I("span", oa, K(q(n).title), 1)], 8, ia)) : (H(), F("span", sa))])) : P("", !0);
1913
1913
  }
1914
- }), [["__scopeId", "data-v-8ea01cd7"]]), sa = 100;
1915
- function ca(e) {
1914
+ }), [["__scopeId", "data-v-8ea01cd7"]]), la = 100;
1915
+ function ua(e) {
1916
1916
  let t = U(void 0), n = [], r;
1917
1917
  function i() {
1918
1918
  if (n.length === 0) return;
@@ -1922,7 +1922,7 @@ function ca(e) {
1922
1922
  return;
1923
1923
  }
1924
1924
  let r;
1925
- for (let t of n) if (la(t) <= e + sa) r = t.id;
1925
+ for (let t of n) if (da(t) <= e + la) r = t.id;
1926
1926
  else break;
1927
1927
  t.value = r;
1928
1928
  }
@@ -1935,26 +1935,26 @@ function ca(e) {
1935
1935
  let r = new Set(e.map((e) => e.slug));
1936
1936
  n = Array.from(document.querySelectorAll(".td-content h2[id], .td-content h3[id], .td-content h4[id], .td-content h5[id]")).filter((e) => r.has(e.id)), i();
1937
1937
  }
1938
- return Ue(() => {
1938
+ return We(() => {
1939
1939
  window.addEventListener("scroll", a);
1940
1940
  }), V(() => {
1941
1941
  window.removeEventListener("scroll", a), r !== void 0 && cancelAnimationFrame(r);
1942
1942
  }), J(e, (e) => {
1943
- typeof window < "u" && Be(() => o(e));
1943
+ typeof window < "u" && Ve(() => o(e));
1944
1944
  }, { immediate: !0 }), t;
1945
1945
  }
1946
- function la(e) {
1946
+ function da(e) {
1947
1947
  let t = 0, n = e;
1948
1948
  for (; n;) t += n.offsetTop, n = n.offsetParent;
1949
1949
  return t;
1950
1950
  }
1951
1951
  //#endregion
1952
1952
  //#region src/client/theme-default/components/custom/TdToc.vue?vue&type=script&setup=true&lang.ts
1953
- var ua = {
1953
+ var fa = {
1954
1954
  key: 0,
1955
1955
  class: "td-toc",
1956
1956
  "data-testid": "toc"
1957
- }, da = { class: "td-toc-list" }, fa = ["href", "innerHTML"], pa = /*#__PURE__*/ k(/* @__PURE__ */ z({
1957
+ }, pa = { class: "td-toc-list" }, ma = ["href", "innerHTML"], ha = /*#__PURE__*/ k(/* @__PURE__ */ z({
1958
1958
  __name: "TdToc",
1959
1959
  props: {
1960
1960
  headings: {},
@@ -1971,8 +1971,8 @@ var ua = {
1971
1971
  for (let e of n.children) t.push(e);
1972
1972
  }
1973
1973
  return t;
1974
- }), n = e.static ? M(() => void 0) : ca(() => t.value);
1975
- return (r, i) => e.headings.length ? (H(), F("div", ua, [i[0] ||= I("div", { class: "td-toc-label" }, " On this page ", -1), I("ul", da, [(H(!0), F(j, null, W(t.value, (e) => (H(), F("li", {
1974
+ }), n = e.static ? M(() => void 0) : ua(() => t.value);
1975
+ return (r, i) => e.headings.length ? (H(), F("div", fa, [i[0] ||= I("div", { class: "td-toc-label" }, " On this page ", -1), I("ul", pa, [(H(!0), F(j, null, W(t.value, (e) => (H(), F("li", {
1976
1976
  key: e.slug,
1977
1977
  class: B({
1978
1978
  "td-toc-indent-1": e.level === 3,
@@ -1983,23 +1983,23 @@ var ua = {
1983
1983
  href: e.link,
1984
1984
  class: B(["td-toc-link", { "is-active": q(n) === e.slug }]),
1985
1985
  innerHTML: q(h)(e.titleHtml)
1986
- }, null, 10, fa)], 2))), 128))])])) : P("", !0);
1986
+ }, null, 10, ma)], 2))), 128))])])) : P("", !0);
1987
1987
  }
1988
- }), [["__scopeId", "data-v-2b800578"]]), ma = { class: "td-rail" }, ha = /*#__PURE__*/ k(/* @__PURE__ */ z({
1988
+ }), [["__scopeId", "data-v-2b800578"]]), ga = { class: "td-rail" }, _a = /*#__PURE__*/ k(/* @__PURE__ */ z({
1989
1989
  __name: "TdRail",
1990
1990
  setup(e) {
1991
1991
  let { page: t } = fe();
1992
- return (e, n) => (H(), F("aside", ma, [R(q(Hi), {
1992
+ return (e, n) => (H(), F("aside", ga, [R(q(Wi), {
1993
1993
  mode: "rail",
1994
1994
  schema: q(t).schema,
1995
1995
  frontmatter: q(t).frontmatter
1996
- }, null, 8, ["schema", "frontmatter"]), R(pa, { headings: q(t).headings }, null, 8, ["headings"])]));
1996
+ }, null, 8, ["schema", "frontmatter"]), R(ha, { headings: q(t).headings }, null, 8, ["headings"])]));
1997
1997
  }
1998
- }), [["__scopeId", "data-v-39bd5d5f"]]), ga = {
1998
+ }), [["__scopeId", "data-v-39bd5d5f"]]), va = {
1999
1999
  class: "td-skeleton",
2000
2000
  role: "status",
2001
2001
  "aria-label": "Loading"
2002
- }, _a = /*#__PURE__*/ k(/* @__PURE__ */ z({
2002
+ }, ya = /*#__PURE__*/ k(/* @__PURE__ */ z({
2003
2003
  __name: "TdSkeleton",
2004
2004
  props: { lines: { default: 5 } },
2005
2005
  setup(e) {
@@ -2013,13 +2013,13 @@ var ua = {
2013
2013
  55,
2014
2014
  72
2015
2015
  ];
2016
- return (n, r) => (H(), F("div", ga, [(H(!0), F(j, null, W(e.lines, (e) => (H(), F("div", {
2016
+ return (n, r) => (H(), F("div", va, [(H(!0), F(j, null, W(e.lines, (e) => (H(), F("div", {
2017
2017
  key: e,
2018
2018
  class: "td-skeleton-line",
2019
- style: Ve({ width: `${t[(e - 1) % t.length]}%` })
2019
+ style: He({ width: `${t[(e - 1) % t.length]}%` })
2020
2020
  }, null, 4))), 128))]));
2021
2021
  }
2022
- }), [["__scopeId", "data-v-312f021d"]]), va = /*#__PURE__*/ k(/* @__PURE__ */ z({
2022
+ }), [["__scopeId", "data-v-312f021d"]]), ba = /*#__PURE__*/ k(/* @__PURE__ */ z({
2023
2023
  __name: "TdSidebarNav",
2024
2024
  props: {
2025
2025
  tree: {},
@@ -2027,23 +2027,23 @@ var ua = {
2027
2027
  ready: { type: Boolean }
2028
2028
  },
2029
2029
  setup(e) {
2030
- let t = O(), n = Qe("scrollElement");
2030
+ let t = O(), n = et("scrollElement");
2031
2031
  return J(() => t.path, () => {
2032
- Be(() => {
2032
+ Ve(() => {
2033
2033
  n.value?.querySelector(".is-active")?.scrollIntoView({ block: "nearest" });
2034
2034
  });
2035
2035
  }, { immediate: !0 }), (t, r) => (H(), F("div", {
2036
2036
  ref_key: "scrollElement",
2037
2037
  ref: n,
2038
2038
  class: "td-sidebar-scroll"
2039
- }, [!e.searchActive && !e.ready ? (H(), N(_a, { key: 0 })) : e.searchActive ? P("", !0) : (H(), N(jr, {
2039
+ }, [!e.searchActive && !e.ready ? (H(), N(ya, { key: 0 })) : e.searchActive ? P("", !0) : (H(), N(Nr, {
2040
2040
  key: 1,
2041
2041
  tree: e.tree
2042
2042
  }, null, 8, ["tree"]))], 512));
2043
2043
  }
2044
2044
  }), [["__scopeId", "data-v-bda84418"]]), $ = /* @__PURE__ */ function(e) {
2045
2045
  return e.ArrowDown = "ArrowDown", e.ArrowUp = "ArrowUp", e.ArrowLeft = "ArrowLeft", e.ArrowRight = "ArrowRight", e.Enter = "Enter", e.Tab = "Tab", e.Space = " ", e.Escape = "Escape", e.Shift = "Shift", e.Control = "Control", e.Alt = "Alt", e.Meta = "Meta", e.Delete = "Delete", e.Backspace = "Backspace", e.F1 = "F1", e.F2 = "F2", e.F3 = "F3", e.F4 = "F4", e.F5 = "F5", e.F6 = "F6", e.F7 = "F7", e.F8 = "F8", e.F9 = "F9", e.F10 = "F10", e.F11 = "F11", e.F12 = "F12", e.a = "a", e.b = "b", e.c = "c", e.d = "d", e.e = "e", e.f = "f", e.g = "g", e.h = "h", e.i = "i", e.j = "j", e.k = "k", e.l = "l", e.m = "m", e.n = "n", e.o = "o", e.p = "p", e.q = "q", e.r = "r", e.s = "s", e.t = "t", e.u = "u", e.v = "v", e.w = "w", e.x = "x", e.y = "y", e.z = "z", e.FSlash = "/", e.Question = "?", e;
2046
- }({}), ya = { class: "td-kbd-shortcut" }, ba = /*#__PURE__*/ k(/* @__PURE__ */ z({
2046
+ }({}), xa = { class: "td-kbd-shortcut" }, Sa = /*#__PURE__*/ k(/* @__PURE__ */ z({
2047
2047
  __name: "TdKbdShortcut",
2048
2048
  props: { keys: {} },
2049
2049
  setup(e) {
@@ -2052,11 +2052,11 @@ var ua = {
2052
2052
  [$.ArrowUp]: ae,
2053
2053
  [$.ArrowLeft]: re,
2054
2054
  [$.ArrowRight]: ce,
2055
- [$.Meta]: ot,
2056
- [$.Alt]: dt,
2057
- [$.Enter]: st,
2058
- [$.Delete]: ct,
2059
- [$.Space]: ft
2055
+ [$.Meta]: ct,
2056
+ [$.Alt]: pt,
2057
+ [$.Enter]: lt,
2058
+ [$.Delete]: ut,
2059
+ [$.Space]: mt
2060
2060
  }, n = {
2061
2061
  [$.Control]: "⌃",
2062
2062
  [$.Shift]: "⇧",
@@ -2069,20 +2069,20 @@ var ua = {
2069
2069
  let i = n[e];
2070
2070
  return i ? { label: i } : { label: e.toUpperCase() };
2071
2071
  }));
2072
- return (e, t) => (H(), F("span", ya, [(H(!0), F(j, null, W(r.value, (e, t) => (H(), F("kbd", { key: t }, [e.icon ? (H(), N(qe(e.icon), {
2072
+ return (e, t) => (H(), F("span", xa, [(H(!0), F(j, null, W(r.value, (e, t) => (H(), F("kbd", { key: t }, [e.icon ? (H(), N(Ye(e.icon), {
2073
2073
  key: 0,
2074
2074
  size: 12
2075
2075
  })) : (H(), F(j, { key: 1 }, [L(K(e.label), 1)], 64))]))), 128))]));
2076
2076
  }
2077
- }), [["__scopeId", "data-v-b61b97da"]]), xa = 120;
2078
- function Sa() {
2079
- let e = xe(), t, n = Ye([]), r = Ye(!1);
2077
+ }), [["__scopeId", "data-v-b61b97da"]]), Ca = 120;
2078
+ function wa() {
2079
+ let e = xe(), t, n = Ze([]), r = Ze(!1);
2080
2080
  J(e, () => {
2081
2081
  t = void 0;
2082
2082
  });
2083
2083
  function i() {
2084
2084
  if (t) return t;
2085
- if (e.value) return t = Le(T.loadJSON(e.value, {
2085
+ if (e.value) return t = Re(T.loadJSON(e.value, {
2086
2086
  fields: f,
2087
2087
  storeFields: x
2088
2088
  })), t;
@@ -2090,13 +2090,13 @@ function Sa() {
2090
2090
  function a(e, t) {
2091
2091
  if (!e) return "";
2092
2092
  let n = Object.keys(t);
2093
- if (n.length === 0) return e.slice(0, xa);
2093
+ if (n.length === 0) return e.slice(0, Ca);
2094
2094
  let r = e.toLowerCase(), i = e.length;
2095
2095
  for (let e of n) {
2096
2096
  let t = r.indexOf(e.toLowerCase());
2097
2097
  t !== -1 && t < i && (i = t);
2098
2098
  }
2099
- let a = Math.max(0, i - 30), o = Math.min(e.length, a + xa), s = e.slice(a, o).trim();
2099
+ let a = Math.max(0, i - 30), o = Math.min(e.length, a + Ca), s = e.slice(a, o).trim();
2100
2100
  return 0 < a && (s = "..." + s), o < e.length && (s += "..."), s;
2101
2101
  }
2102
2102
  async function o(e) {
@@ -2128,7 +2128,7 @@ function Sa() {
2128
2128
  function l() {
2129
2129
  r.value = !1;
2130
2130
  }
2131
- let u = Ye(!1);
2131
+ let u = Ze(!1);
2132
2132
  return J(e, (e) => {
2133
2133
  e && (u.value = !0);
2134
2134
  }, { immediate: !0 }), {
@@ -2141,7 +2141,7 @@ function Sa() {
2141
2141
  }
2142
2142
  //#endregion
2143
2143
  //#region src/client/theme-default/components/TdSiteSearch/highlight.ts
2144
- function Ca(e, t) {
2144
+ function Ta(e, t) {
2145
2145
  if (!e || !t) return d(e);
2146
2146
  let n = t.trim().split(/\s+/).filter(Boolean), r = d(e);
2147
2147
  for (let e of n) {
@@ -2152,16 +2152,16 @@ function Ca(e, t) {
2152
2152
  }
2153
2153
  //#endregion
2154
2154
  //#region src/client/theme-default/components/TdSiteSearch/TdSiteSearch.vue?vue&type=script&setup=true&lang.ts
2155
- var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2155
+ var Ea = { class: "td-search" }, Da = { class: "td-search-input-wrap" }, Oa = {
2156
2156
  key: 2,
2157
2157
  class: "td-search-count"
2158
- }, Da = {
2158
+ }, ka = {
2159
2159
  key: 0,
2160
2160
  class: "td-search-results"
2161
- }, Oa = ["href"], ka = ["innerHTML"], Aa = { class: "td-search-result-path" }, ja = ["innerHTML"], Ma = {
2161
+ }, Aa = ["href"], ja = ["innerHTML"], Ma = { class: "td-search-result-path" }, Na = ["innerHTML"], Pa = {
2162
2162
  key: 1,
2163
2163
  class: "td-search-empty"
2164
- }, Na = /*#__PURE__*/ k(/* @__PURE__ */ z({
2164
+ }, Fa = /*#__PURE__*/ k(/* @__PURE__ */ z({
2165
2165
  __name: "TdSiteSearch",
2166
2166
  props: {
2167
2167
  active: {
@@ -2172,9 +2172,9 @@ var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2172
2172
  query: { default: "" },
2173
2173
  queryModifiers: {}
2174
2174
  },
2175
- emits: /*@__PURE__*/ Re(["select"], ["update:active", "update:query"]),
2175
+ emits: /*@__PURE__*/ ze(["select"], ["update:active", "update:query"]),
2176
2176
  setup(e, { expose: t, emit: n }) {
2177
- let r = Ze(e, "active"), i = Ze(e, "query"), a = n, s = O(), { withBase: c } = A(), { results: l, searching: u, indexLoaded: d, search: f, cancel: p } = Sa(), m = U(-1), h = M(() => 0 < i.value.trim().length), g = M(() => {
2177
+ let r = $e(e, "active"), i = $e(e, "query"), a = n, s = O(), { withBase: c } = A(), { results: l, searching: u, indexLoaded: d, search: f, cancel: p } = wa(), m = U(-1), h = M(() => 0 < i.value.trim().length), g = M(() => {
2178
2178
  let e = [], t = /* @__PURE__ */ new Map();
2179
2179
  for (let n of l.value) {
2180
2180
  let r = o(n.id), i = t.get(r);
@@ -2224,7 +2224,7 @@ var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2224
2224
  document.querySelector(".td-search-result.is-selected")?.scrollIntoView({ block: "nearest" });
2225
2225
  });
2226
2226
  }
2227
- let w = Qe("searchInput");
2227
+ let w = et("searchInput");
2228
2228
  return t({
2229
2229
  focus() {
2230
2230
  w.value?.focus();
@@ -2238,13 +2238,13 @@ var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2238
2238
  get isFocused() {
2239
2239
  return document.activeElement === w.value;
2240
2240
  }
2241
- }), (e, t) => (H(), F("div", wa, [
2242
- I("div", Ta, [
2241
+ }), (e, t) => (H(), F("div", Ea, [
2242
+ I("div", Da, [
2243
2243
  R(q(ke), {
2244
2244
  size: 14,
2245
2245
  class: "td-search-icon"
2246
2246
  }),
2247
- nt(I("input", {
2247
+ it(I("input", {
2248
2248
  ref_key: "searchInput",
2249
2249
  ref: w,
2250
2250
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
@@ -2253,17 +2253,17 @@ var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2253
2253
  size: "1",
2254
2254
  placeholder: "Search...",
2255
2255
  onKeydown: x
2256
- }, null, 544), [[$e, i.value]]),
2257
- !h.value && !q(u) ? (H(), N(ba, {
2256
+ }, null, 544), [[tt, i.value]]),
2257
+ !h.value && !q(u) ? (H(), N(Sa, {
2258
2258
  key: 0,
2259
2259
  keys: [q($).Meta, q($).k],
2260
2260
  class: "td-search-kbd"
2261
2261
  }, null, 8, ["keys"])) : P("", !0),
2262
- q(u) || !q(d) ? (H(), N(q(ut), {
2262
+ q(u) || !q(d) ? (H(), N(q(ft), {
2263
2263
  key: 1,
2264
2264
  size: 12,
2265
2265
  class: "td-search-spinner"
2266
- })) : h.value ? (H(), F("span", Ea, K(q(l).length), 1)) : P("", !0),
2266
+ })) : h.value ? (H(), F("span", Oa, K(q(l).length), 1)) : P("", !0),
2267
2267
  i.value ? (H(), F("button", {
2268
2268
  key: 3,
2269
2269
  class: "td-search-clear",
@@ -2272,7 +2272,7 @@ var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2272
2272
  onClick: _
2273
2273
  }, [R(q(_e), { size: 12 })])) : P("", !0)
2274
2274
  ]),
2275
- h.value && q(l).length > 0 ? (H(), F("div", Da, [(H(!0), F(j, null, W(g.value, (e) => (H(), F("div", {
2275
+ h.value && q(l).length > 0 ? (H(), F("div", ka, [(H(!0), F(j, null, W(g.value, (e) => (H(), F("div", {
2276
2276
  key: e.pageUrl,
2277
2277
  class: "td-search-group"
2278
2278
  }, [(H(!0), F(j, null, W(e.results, (e) => (H(), F("a", {
@@ -2286,27 +2286,27 @@ var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2286
2286
  }, [
2287
2287
  I("span", {
2288
2288
  class: "td-search-result-title",
2289
- innerHTML: q(Ca)(e.title, i.value)
2290
- }, null, 8, ka),
2291
- I("span", Aa, K(e.id), 1),
2289
+ innerHTML: q(Ta)(e.title, i.value)
2290
+ }, null, 8, ja),
2291
+ I("span", Ma, K(e.id), 1),
2292
2292
  e.excerpt ? (H(), F("span", {
2293
2293
  key: 0,
2294
2294
  class: "td-search-result-excerpt",
2295
- innerHTML: q(Ca)(e.excerpt, i.value)
2296
- }, null, 8, ja)) : P("", !0)
2297
- ], 10, Oa))), 128))]))), 128))])) : P("", !0),
2298
- h.value && q(l).length === 0 ? (H(), F("div", Ma, " No results for \"" + K(i.value) + "\" ", 1)) : P("", !0)
2295
+ innerHTML: q(Ta)(e.excerpt, i.value)
2296
+ }, null, 8, Na)) : P("", !0)
2297
+ ], 10, Aa))), 128))]))), 128))])) : P("", !0),
2298
+ h.value && q(l).length === 0 ? (H(), F("div", Pa, " No results for \"" + K(i.value) + "\" ", 1)) : P("", !0)
2299
2299
  ]));
2300
2300
  }
2301
- }), [["__scopeId", "data-v-999e1838"]]), Pa = /* @__PURE__ */ z({
2301
+ }), [["__scopeId", "data-v-999e1838"]]), Ia = /* @__PURE__ */ z({
2302
2302
  __name: "TdThemeToggle",
2303
2303
  setup(e) {
2304
2304
  let { isDark: t, toggle: n } = Se();
2305
- return (e, r) => (H(), N(St, {
2305
+ return (e, r) => (H(), N(wt, {
2306
2306
  label: q(t) ? "Switch to light mode" : "Switch to dark mode",
2307
2307
  onClick: q(n)
2308
2308
  }, {
2309
- default: tt(() => [q(t) ? (H(), N(q(de), {
2309
+ default: rt(() => [q(t) ? (H(), N(q(de), {
2310
2310
  key: 0,
2311
2311
  size: 18
2312
2312
  })) : (H(), N(q(pe), {
@@ -2319,7 +2319,7 @@ var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2319
2319
  });
2320
2320
  //#endregion
2321
2321
  //#region src/client/theme-default/composables/useCopyCode.ts
2322
- function Fa() {
2322
+ function La() {
2323
2323
  function e(e) {
2324
2324
  let t = e.target?.closest(".td-code-copy, .copy");
2325
2325
  if (!t) return;
@@ -2339,7 +2339,7 @@ function Fa() {
2339
2339
  }, 2e3);
2340
2340
  }
2341
2341
  }
2342
- Ue(() => {
2342
+ We(() => {
2343
2343
  document.addEventListener("click", e);
2344
2344
  }), V(() => {
2345
2345
  document.removeEventListener("click", e);
@@ -2347,7 +2347,7 @@ function Fa() {
2347
2347
  }
2348
2348
  //#endregion
2349
2349
  //#region src/client/theme-default/composables/useCopyHeadingAnchor.ts
2350
- function Ia() {
2350
+ function Ra() {
2351
2351
  function e(e) {
2352
2352
  let t = e.target?.closest(".td-header-anchor");
2353
2353
  if (!t) return;
@@ -2357,7 +2357,7 @@ function Ia() {
2357
2357
  t.classList.remove("td-header-anchor--copied");
2358
2358
  }, 2e3);
2359
2359
  }
2360
- Ue(() => {
2360
+ We(() => {
2361
2361
  document.addEventListener("click", e);
2362
2362
  }), V(() => {
2363
2363
  document.removeEventListener("click", e);
@@ -2365,19 +2365,19 @@ function Ia() {
2365
2365
  }
2366
2366
  //#endregion
2367
2367
  //#region src/client/theme-default/composables/useHotkey.ts
2368
- var La = /* @__PURE__ */ new Map([
2368
+ var za = /* @__PURE__ */ new Map([
2369
2369
  [$.Control, "ctrlKey"],
2370
2370
  [$.Alt, "altKey"],
2371
2371
  [$.Shift, "shiftKey"],
2372
2372
  [$.Meta, "metaKey"]
2373
2373
  ]);
2374
- function Ra(e, t) {
2374
+ function Ba(e, t) {
2375
2375
  function n(n) {
2376
- n.defaultPrevented || Ba(n, e) && (n.preventDefault(), t(n));
2376
+ n.defaultPrevented || Ha(n, e) && (n.preventDefault(), t(n));
2377
2377
  }
2378
- Ue(() => window.addEventListener("keydown", n)), V(() => window.removeEventListener("keydown", n));
2378
+ We(() => window.addEventListener("keydown", n)), V(() => window.removeEventListener("keydown", n));
2379
2379
  }
2380
- function za(e) {
2380
+ function Va(e) {
2381
2381
  let t = [];
2382
2382
  function n(e, n) {
2383
2383
  t.push({
@@ -2386,7 +2386,7 @@ function za(e) {
2386
2386
  });
2387
2387
  }
2388
2388
  function r(e) {
2389
- for (let n of t) if (Ba(e, n.keys)) {
2389
+ for (let n of t) if (Ha(e, n.keys)) {
2390
2390
  e.preventDefault(), e.stopPropagation(), n.handler(e);
2391
2391
  return;
2392
2392
  }
@@ -2397,19 +2397,19 @@ function za(e) {
2397
2397
  e.value?.removeEventListener("keydown", r);
2398
2398
  }), { register: n };
2399
2399
  }
2400
- function Ba(e, t) {
2401
- let n = t.filter((e) => La.has(e)), r = t.filter((e) => !La.has(e));
2400
+ function Ha(e, t) {
2401
+ let n = t.filter((e) => za.has(e)), r = t.filter((e) => !za.has(e));
2402
2402
  if (r.length !== 1 || e.key.toLowerCase() !== r[0].toLowerCase()) return !1;
2403
- for (let t of n) if (!e[La.get(t)]) return !1;
2403
+ for (let t of n) if (!e[za.get(t)]) return !1;
2404
2404
  return !(e.ctrlKey && !n.includes($.Control) || e.altKey && !n.includes($.Alt) || e.shiftKey && !n.includes($.Shift) || e.metaKey && !n.includes($.Meta));
2405
2405
  }
2406
2406
  //#endregion
2407
2407
  //#region src/client/theme-default/composables/useResizableTable.ts
2408
- var Va = 6, Ha = 40;
2409
- function Ua() {
2408
+ var Ua = 6, Wa = 40;
2409
+ function Ga() {
2410
2410
  let e, t = !1;
2411
2411
  function n(e, t) {
2412
- return e.getBoundingClientRect().right - t < Va;
2412
+ return e.getBoundingClientRect().right - t < Ua;
2413
2413
  }
2414
2414
  function r(r) {
2415
2415
  if (t) return;
@@ -2429,158 +2429,229 @@ function Ua() {
2429
2429
  r.classList.add("is-resizing"), document.body.style.cursor = "col-resize";
2430
2430
  function o(e) {
2431
2431
  let t = e.clientX - i;
2432
- r && (r.style.width = `${Math.max(Ha, a + t)}px`);
2432
+ r && (r.style.width = `${Math.max(Wa, a + t)}px`);
2433
2433
  }
2434
2434
  function s() {
2435
2435
  t = !1, r?.classList.remove("is-resizing"), document.body.style.cursor = "", document.removeEventListener("pointermove", o), document.removeEventListener("pointerup", s);
2436
2436
  }
2437
2437
  document.addEventListener("pointermove", o), document.addEventListener("pointerup", s);
2438
2438
  }
2439
- Ue(() => {
2439
+ We(() => {
2440
2440
  document.addEventListener("pointermove", r), document.addEventListener("pointerdown", i);
2441
2441
  }), V(() => {
2442
2442
  document.removeEventListener("pointermove", r), document.removeEventListener("pointerdown", i);
2443
2443
  });
2444
2444
  }
2445
2445
  //#endregion
2446
- //#region src/client/theme-default/composables/useMermaid.ts
2447
- var Wa = "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs", Ga, Ka = 0;
2448
- function qa() {
2449
- let e;
2450
- async function t() {
2451
- let e = document.getElementById("td-content");
2452
- if (!e) return;
2453
- let t = e.querySelectorAll(".td-mermaid-placeholder");
2454
- if (t.length === 0) return;
2455
- let n = await Ja();
2456
- if (n !== void 0) for (let e of t) {
2457
- let t = e.querySelector("code");
2458
- if (!t) continue;
2459
- let r = `td-mermaid-${Ka++}`, i = e.getAttribute("data-title");
2460
- try {
2461
- let { svg: a } = await n.default.render(r, t.textContent ?? ""), o = document.createElement("figure");
2462
- o.className = "td-mermaid";
2463
- let s = document.createElement("div");
2464
- if (s.innerHTML = a, o.appendChild(s), i) {
2465
- let e = document.createElement("figcaption");
2466
- e.textContent = i, o.appendChild(e);
2467
- }
2468
- e.replaceWith(o);
2469
- } catch {
2470
- e.classList.add("td-mermaid-error");
2471
- }
2446
+ //#region src/client/theme-default/composables/lazy-embed/types.ts
2447
+ var Ka = Symbol("lazyEmbed"), qa = "https://esm.sh/@terrastruct/d2@0.1.32", Ja, Ya = 0;
2448
+ function Xa() {
2449
+ let e = Le(Ka);
2450
+ if (!e) return;
2451
+ let t = {
2452
+ selector: ".td-d2-placeholder",
2453
+ onRender: Qa,
2454
+ onVisible() {
2455
+ let e = document.createElement("link");
2456
+ e.rel = "modulepreload", e.href = qa, document.head.appendChild(e);
2472
2457
  }
2458
+ };
2459
+ We(() => e.register(t)), V(() => e.unregister(t));
2460
+ }
2461
+ async function Za() {
2462
+ if (Ja) return Ja;
2463
+ try {
2464
+ let e = await import(
2465
+ /* @vite-ignore */
2466
+ qa
2467
+ );
2468
+ Ja = new (e.D2 || (e.default?.D2) || e.default)();
2469
+ } catch {
2470
+ return;
2473
2471
  }
2474
- Ue(() => {
2475
- t();
2476
- let n = document.getElementById("td-content");
2477
- n && (e = new MutationObserver(t), e.observe(n, {
2478
- childList: !0,
2479
- subtree: !0
2480
- }));
2481
- }), V(() => {
2482
- e?.disconnect();
2483
- });
2472
+ return Ja;
2473
+ }
2474
+ async function Qa(e) {
2475
+ let t = e, n = t.querySelector("code");
2476
+ if (!n) return;
2477
+ let r = await Za();
2478
+ if (!r) return;
2479
+ let i = `td-d2-${Ya++}`, a = t.getAttribute("data-title");
2480
+ try {
2481
+ let e = await r.compile(n.textContent ?? "", { layout: "dagre" }), o = await r.render(e.diagram, {
2482
+ ...e.renderOptions,
2483
+ themeID: document.documentElement.classList.contains("dark") ? 200 : 0
2484
+ }), s = document.createElement("figure");
2485
+ s.className = "td-d2", s.id = i;
2486
+ let c = document.createElement("div");
2487
+ if (c.innerHTML = o, s.appendChild(c), a) {
2488
+ let e = document.createElement("figcaption");
2489
+ e.textContent = a, s.appendChild(e);
2490
+ }
2491
+ t.replaceWith(s);
2492
+ } catch {
2493
+ t.classList.add("td-d2-error");
2494
+ }
2495
+ }
2496
+ //#endregion
2497
+ //#region src/client/theme-default/composables/lazy-embed/mermaid.ts
2498
+ var $a = "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs", eo, to = 0;
2499
+ function no() {
2500
+ let e = Le(Ka);
2501
+ if (!e) return;
2502
+ let t = {
2503
+ selector: ".td-mermaid-placeholder",
2504
+ onRender: io,
2505
+ onVisible() {
2506
+ let e = document.createElement("link");
2507
+ e.rel = "modulepreload", e.href = $a, document.head.appendChild(e);
2508
+ }
2509
+ };
2510
+ We(() => e.register(t)), V(() => e.unregister(t));
2484
2511
  }
2485
- async function Ja() {
2486
- if (Ga !== void 0) return Ga;
2512
+ async function ro() {
2513
+ if (eo !== void 0) return eo;
2487
2514
  try {
2488
- Ga = await import(
2515
+ eo = await import(
2489
2516
  /* @vite-ignore */
2490
- Wa
2517
+ $a
2491
2518
  );
2492
2519
  } catch {
2493
2520
  return;
2494
2521
  }
2495
- return Ga.default.initialize({
2522
+ return eo.default.initialize({
2496
2523
  startOnLoad: !1,
2497
2524
  theme: document.documentElement.classList.contains("dark") ? "dark" : "default"
2498
- }), Ga;
2525
+ }), eo;
2526
+ }
2527
+ async function io(e) {
2528
+ let t = e, n = t.querySelector("code");
2529
+ if (!n) return;
2530
+ let r = await ro();
2531
+ if (r === void 0) return;
2532
+ let i = `td-mermaid-${to++}`, a = t.getAttribute("data-title");
2533
+ try {
2534
+ let { svg: e } = await r.default.render(i, n.textContent ?? ""), o = document.createElement("figure");
2535
+ o.className = "td-mermaid";
2536
+ let s = document.createElement("div");
2537
+ if (s.innerHTML = e, o.appendChild(s), a) {
2538
+ let e = document.createElement("figcaption");
2539
+ e.textContent = a, o.appendChild(e);
2540
+ }
2541
+ t.replaceWith(o);
2542
+ } catch {
2543
+ t.classList.add("td-mermaid-error");
2544
+ }
2499
2545
  }
2500
2546
  //#endregion
2501
- //#region src/client/theme-default/composables/useD2.ts
2502
- var Ya = "https://esm.sh/@terrastruct/d2", Xa, Za = 0;
2503
- function Qa() {
2504
- let e;
2505
- async function t() {
2506
- let e = document.getElementById("td-content");
2507
- if (!e) return;
2508
- let t = e.querySelectorAll(".td-d2-placeholder");
2509
- if (t.length === 0) return;
2510
- let n = await $a();
2511
- if (n) for (let e of t) {
2512
- let t = e.querySelector("code");
2513
- if (!t) continue;
2514
- let r = `td-d2-${Za++}`, i = e.getAttribute("data-title");
2515
- try {
2516
- let a = await n.compile(t.textContent ?? "", { layout: "dagre" }), o = await n.render(a.diagram, {
2517
- ...a.renderOptions,
2518
- themeID: document.documentElement.classList.contains("dark") ? 200 : 0
2519
- }), s = document.createElement("figure");
2520
- s.className = "td-d2", s.id = r;
2521
- let c = document.createElement("div");
2522
- if (c.innerHTML = o, s.appendChild(c), i) {
2523
- let e = document.createElement("figcaption");
2524
- e.textContent = i, s.appendChild(e);
2525
- }
2526
- e.replaceWith(s);
2527
- } catch {
2528
- e.classList.add("td-d2-error");
2529
- }
2547
+ //#region src/client/theme-default/composables/lazy-embed/github.ts
2548
+ var ao = "https://emgithub.com/embed-v2.js";
2549
+ function oo() {
2550
+ let e = Le(Ka);
2551
+ if (!e) return;
2552
+ let t, n = [], r = {
2553
+ selector: ".td-github-placeholder",
2554
+ onRender(e) {
2555
+ let t = e, r = t.getAttribute("data-url");
2556
+ if (!r) return;
2557
+ let i = document.documentElement.classList.contains("dark"), a = document.createElement("script");
2558
+ a.src = so(r, i);
2559
+ let o = document.createElement("div");
2560
+ o.className = "td-github-wrapper", o.dataset.url = r, o.appendChild(a), t.replaceWith(o), n.push({
2561
+ container: o,
2562
+ url: r
2563
+ });
2564
+ }
2565
+ };
2566
+ function i() {
2567
+ let e = document.documentElement.classList.contains("dark");
2568
+ for (let e = n.length - 1; 0 <= e; e--) n[e].container.isConnected || n.splice(e, 1);
2569
+ for (let t of n) {
2570
+ let n = document.createElement("script");
2571
+ n.src = so(t.url, e), t.container.innerHTML = "", t.container.appendChild(n);
2530
2572
  }
2531
2573
  }
2532
- Ue(() => {
2533
- t();
2534
- let n = document.getElementById("td-content");
2535
- n && (e = new MutationObserver(t), e.observe(n, {
2536
- childList: !0,
2537
- subtree: !0
2538
- }));
2574
+ We(() => {
2575
+ e.register(r);
2576
+ let n = document.documentElement.classList.contains("dark");
2577
+ t = new MutationObserver(() => {
2578
+ let e = document.documentElement.classList.contains("dark");
2579
+ e !== n && (n = e, i());
2580
+ }), t.observe(document.documentElement, {
2581
+ attributes: !0,
2582
+ attributeFilter: ["class"]
2583
+ });
2539
2584
  }), V(() => {
2540
- e?.disconnect();
2585
+ e.unregister(r), t?.disconnect(), n.length = 0;
2541
2586
  });
2542
2587
  }
2543
- async function $a() {
2544
- if (Xa) return Xa;
2545
- try {
2546
- let e = await import(
2547
- /* @vite-ignore */
2548
- Ya
2549
- );
2550
- Xa = new (e.D2 || (e.default?.D2) || e.default)();
2551
- } catch {
2552
- return;
2588
+ function so(e, t) {
2589
+ return `${ao}?target=${encodeURIComponent(e)}&style=${t ? "base16/gruvbox-dark-medium" : "grayscale"}&type=code&showBorder=on&showFileMeta=on&showFullPath=on&showCopy=on&showLineNumbers=on`;
2590
+ }
2591
+ //#endregion
2592
+ //#region src/client/theme-default/composables/lazy-embed/index.ts
2593
+ function co() {
2594
+ let e = [], t = /* @__PURE__ */ new WeakSet(), n = /* @__PURE__ */ new WeakMap(), r, i;
2595
+ function a() {
2596
+ let i = document.getElementById("td-content");
2597
+ if (i && r) for (let a of e) {
2598
+ let e = i.querySelectorAll(a.selector);
2599
+ for (let i of e) t.has(i) || (t.add(i), n.set(i, a), r.observe(i));
2600
+ }
2553
2601
  }
2554
- return Xa;
2602
+ We(() => {
2603
+ r = new IntersectionObserver((e) => {
2604
+ for (let t of e) if (t.isIntersecting) {
2605
+ r?.unobserve(t.target);
2606
+ let e = n.get(t.target);
2607
+ e && e.onRender(t.target);
2608
+ }
2609
+ }, { rootMargin: "200px" }), a();
2610
+ let e = document.getElementById("td-content");
2611
+ e && (i = new MutationObserver(a), i.observe(e, {
2612
+ childList: !0,
2613
+ subtree: !0
2614
+ }));
2615
+ }), V(() => {
2616
+ i?.disconnect(), r?.disconnect();
2617
+ }), Ke(Ka, {
2618
+ register(t) {
2619
+ e.push(t), a(), t.onVisible && document.querySelector(t.selector) && t.onVisible();
2620
+ },
2621
+ unregister(t) {
2622
+ let n = e.indexOf(t);
2623
+ n !== -1 && e.splice(n, 1);
2624
+ }
2625
+ }), no(), Xa(), oo();
2555
2626
  }
2556
2627
  //#endregion
2557
2628
  //#region src/client/theme-default/TdLayout.vue?vue&type=script&setup=true&lang.ts
2558
- var eo = { class: "td-header" }, to = { class: "td-header-left" }, no = ["href"], ro = { class: "td-brand-name" }, io = { class: "td-header-right" }, ao = ["href"], oo = { class: "td-drawer-header" }, so = ["href"], co = { class: "td-brand-name" }, lo = {
2629
+ var lo = { class: "td-header" }, uo = { class: "td-header-left" }, fo = ["href"], po = { class: "td-brand-name" }, mo = { class: "td-header-right" }, ho = ["href"], go = { class: "td-drawer-header" }, _o = ["href"], vo = { class: "td-brand-name" }, yo = {
2559
2630
  key: 0,
2560
2631
  class: "pt-4",
2561
2632
  "aria-label": "Site navigation"
2562
- }, uo = { class: "td-page" }, fo = ["onKeydown"], po = { class: "td-main-and-rail" }, mo = { class: "td-main" }, ho = {
2633
+ }, bo = { class: "td-page" }, xo = ["onKeydown"], So = { class: "td-main-and-rail" }, Co = { class: "td-main" }, wo = {
2563
2634
  id: "td-content",
2564
2635
  class: "td-content",
2565
2636
  "data-testid": "content"
2566
- }, go = {
2637
+ }, To = {
2567
2638
  key: 0,
2568
2639
  class: "td-page-eyebrow"
2569
- }, _o = {
2640
+ }, Eo = {
2570
2641
  key: 1,
2571
2642
  class: "td-page-icon"
2572
- }, vo = ["innerHTML"], yo = {
2643
+ }, Do = ["innerHTML"], Oo = {
2573
2644
  key: 3,
2574
2645
  class: "td-page-meta"
2575
- }, bo = { key: 0 }, xo = { class: "td-content-body" }, So = ["href"], Co = 200, wo = 500, To = 300, Eo = "td-sidebar-width", Do = /*#__PURE__*/ k(/* @__PURE__ */ z({
2646
+ }, ko = { key: 0 }, Ao = { class: "td-content-body" }, jo = ["href"], Mo = 200, No = 500, Po = 300, Fo = "td-sidebar-width", Io = /*#__PURE__*/ k(/* @__PURE__ */ z({
2576
2647
  __name: "TdLayout",
2577
2648
  setup(e) {
2578
2649
  let { title: t, page: n } = fe(), i = M(() => {
2579
2650
  let e = n.value.icon;
2580
2651
  return e ? me(e.name) : void 0;
2581
- }), a = A(), { withBase: o } = a, s = ve(), c = M(() => s.value.ready), { isOpen: l, open: u, close: d } = Wi(), f = U(""), p = U(!1), m = U(!1), h = O();
2582
- J(() => h.path, () => d()), Fa(), Ia(), qa(), Qa();
2583
- let g = Qe("sidebarSearch"), _ = Qe("menuSearch");
2652
+ }), a = A(), { withBase: o } = a, s = ve(), c = M(() => s.value.ready), { isOpen: l, open: u, close: d } = Ki(), f = U(""), p = U(!1), m = U(!1), h = O();
2653
+ J(() => h.path, () => d()), La(), Ra(), co();
2654
+ let g = et("sidebarSearch"), _ = et("menuSearch");
2584
2655
  function v(e) {
2585
2656
  let t = a.repo;
2586
2657
  return `${r(t.url)}/edit/main/${[
@@ -2590,33 +2661,33 @@ var eo = { class: "td-header" }, to = { class: "td-header-left" }, no = ["href"]
2590
2661
  ].filter(Boolean).join("/")}`;
2591
2662
  }
2592
2663
  function b() {
2593
- _.value?.isFocused || g.value?.isFocused ? (_.value?.blur(), g.value?.blur(), l.value && d()) : l.value ? _.value?.focus() : g.value?.isVisible ? g.value.focus() : (u(), Be(() => _.value?.focus()));
2664
+ _.value?.isFocused || g.value?.isFocused ? (_.value?.blur(), g.value?.blur(), l.value && d()) : l.value ? _.value?.focus() : g.value?.isVisible ? g.value.focus() : (u(), Ve(() => _.value?.focus()));
2594
2665
  }
2595
- Ra([$.Control, $.k], b), Ra([$.Meta, $.k], b), et(() => {
2666
+ Ba([$.Control, $.k], b), Ba([$.Meta, $.k], b), nt(() => {
2596
2667
  if (typeof document > "u") return;
2597
2668
  let e = t.value, r = a.title;
2598
2669
  document.title = e && e !== r ? `${e} - ${r}` : r;
2599
2670
  let i = n.value.frontmatter?.description === void 0 ? a.description ?? "" : String(n.value.frontmatter.description), o = document.querySelector("meta[name=\"description\"]");
2600
2671
  o && o.setAttribute("content", i);
2601
- }), Ua();
2602
- let x = U(typeof localStorage < "u" && Number(localStorage.getItem(Eo)) || To);
2672
+ }), Ga();
2673
+ let x = U(typeof localStorage < "u" && Number(localStorage.getItem(Fo)) || Po);
2603
2674
  function S() {
2604
- x.value = Math.min(wo, x.value + 20);
2675
+ x.value = Math.min(No, x.value + 20);
2605
2676
  }
2606
2677
  function w(e) {
2607
2678
  let t = e.clientX, n = x.value, r = e.currentTarget;
2608
2679
  r.setPointerCapture(e.pointerId);
2609
2680
  function i(e) {
2610
- let r = Math.min(wo, window.innerWidth * .85), i = Math.min(r, Math.max(Co, n + e.clientX - t));
2681
+ let r = Math.min(No, window.innerWidth * .85), i = Math.min(r, Math.max(Mo, n + e.clientX - t));
2611
2682
  x.value = i;
2612
2683
  }
2613
2684
  function a() {
2614
- document.body.style.cursor = "", r.removeEventListener("pointermove", i), r.removeEventListener("pointerup", a), localStorage.setItem(Eo, String(x.value));
2685
+ document.body.style.cursor = "", r.removeEventListener("pointermove", i), r.removeEventListener("pointerup", a), localStorage.setItem(Fo, String(x.value));
2615
2686
  }
2616
2687
  document.body.style.cursor = "col-resize", r.addEventListener("pointermove", i), r.addEventListener("pointerup", a);
2617
2688
  }
2618
2689
  function T() {
2619
- x.value = Math.max(Co, x.value - 20);
2690
+ x.value = Math.max(Mo, x.value - 20);
2620
2691
  }
2621
2692
  return (e, r) => (H(), F("div", null, [
2622
2693
  G(e.$slots, "layout-top", {}, void 0, !0),
@@ -2624,18 +2695,18 @@ var eo = { class: "td-header" }, to = { class: "td-header-left" }, no = ["href"]
2624
2695
  href: "#td-content",
2625
2696
  class: "td-skip-link"
2626
2697
  }, "Skip to content", -1),
2627
- I("header", eo, [
2628
- I("div", to, [
2629
- R(Gi, { onClick: b }),
2698
+ I("header", lo, [
2699
+ I("div", uo, [
2700
+ R(qi, { onClick: b }),
2630
2701
  I("a", {
2631
2702
  href: q(o)(q(C)("/")),
2632
2703
  class: "td-brand"
2633
- }, [R(bt), I("span", ro, K(q(a).title || "Typedown"), 1)], 8, no),
2634
- R(Kr, { class: "td-header-breadcrumb" })
2704
+ }, [R(St), I("span", po, K(q(a).title || "Typedown"), 1)], 8, fo),
2705
+ R(Jr, { class: "td-header-breadcrumb" })
2635
2706
  ]),
2636
- R(q(Yr)),
2707
+ R(q(Zr)),
2637
2708
  G(e.$slots, "nav-bar-after", {}, void 0, !0),
2638
- I("div", io, [R(Pa), q(a).repo ? (H(), F("a", {
2709
+ I("div", mo, [R(Ia), q(a).repo ? (H(), F("a", {
2639
2710
  key: 0,
2640
2711
  href: q(a).repo.url,
2641
2712
  target: "_blank",
@@ -2653,7 +2724,7 @@ var eo = { class: "td-header" }, to = { class: "td-header-left" }, no = ["href"]
2653
2724
  "fill-rule": "evenodd",
2654
2725
  "clip-rule": "evenodd",
2655
2726
  d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59\n 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367\n 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778\n 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125\n 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2\n 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364\n 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"
2656
- })], -1)]], 8, ao)) : P("", !0)])
2727
+ })], -1)]], 8, ho)) : P("", !0)])
2657
2728
  ]),
2658
2729
  I("div", {
2659
2730
  class: B(["td-drawer-scrim", { "is-open": q(l) }]),
@@ -2661,24 +2732,24 @@ var eo = { class: "td-header" }, to = { class: "td-header-left" }, no = ["href"]
2661
2732
  }, null, 2),
2662
2733
  I("aside", {
2663
2734
  class: B(["td-drawer", { "is-open": q(l) }]),
2664
- style: Ve({ width: `${x.value}px` })
2735
+ style: He({ width: `${x.value}px` })
2665
2736
  }, [
2666
2737
  I("div", {
2667
2738
  class: "td-resize-handle",
2668
- onPointerdown: it(w, ["prevent"])
2739
+ onPointerdown: ot(w, ["prevent"])
2669
2740
  }, null, 32),
2670
- I("header", oo, [I("a", {
2741
+ I("header", go, [I("a", {
2671
2742
  href: q(o)(q(C)("/")),
2672
2743
  class: "td-brand"
2673
- }, [R(bt), I("span", co, K(q(a).title || "Typedown"), 1)], 8, so), R(St, {
2744
+ }, [R(St), I("span", vo, K(q(a).title || "Typedown"), 1)], 8, _o), R(wt, {
2674
2745
  label: "Close menu",
2675
2746
  onClick: q(d)
2676
2747
  }, {
2677
- default: tt(() => [R(q(_e), { size: 20 })]),
2748
+ default: rt(() => [R(q(_e), { size: 20 })]),
2678
2749
  _: 1
2679
2750
  }, 8, ["onClick"])]),
2680
- R(q(Qr)),
2681
- R(Na, {
2751
+ R(q(ei)),
2752
+ R(Fa, {
2682
2753
  ref_key: "menuSearch",
2683
2754
  ref: _,
2684
2755
  query: f.value,
@@ -2691,19 +2762,19 @@ var eo = { class: "td-header" }, to = { class: "td-header-left" }, no = ["href"]
2691
2762
  "active",
2692
2763
  "onSelect"
2693
2764
  ]),
2694
- m.value ? P("", !0) : (H(), F("nav", lo, [c.value ? (H(), N(jr, {
2765
+ m.value ? P("", !0) : (H(), F("nav", yo, [c.value ? (H(), N(Nr, {
2695
2766
  key: 1,
2696
2767
  tree: q(s).contentTree
2697
- }, null, 8, ["tree"])) : (H(), N(_a, { key: 0 }))]))
2768
+ }, null, 8, ["tree"])) : (H(), N(ya, { key: 0 }))]))
2698
2769
  ], 6),
2699
- I("div", uo, [I("nav", {
2770
+ I("div", bo, [I("nav", {
2700
2771
  class: "td-sidebar-left",
2701
2772
  "data-testid": "sidebar",
2702
2773
  "aria-label": "Site navigation",
2703
- style: Ve({ width: `${x.value}px` })
2774
+ style: He({ width: `${x.value}px` })
2704
2775
  }, [
2705
2776
  G(e.$slots, "sidebar-top", {}, void 0, !0),
2706
- R(Na, {
2777
+ R(Fa, {
2707
2778
  ref_key: "sidebarSearch",
2708
2779
  ref: g,
2709
2780
  query: f.value,
@@ -2712,7 +2783,7 @@ var eo = { class: "td-header" }, to = { class: "td-header-left" }, no = ["href"]
2712
2783
  "onUpdate:active": r[4] ||= (e) => p.value = e,
2713
2784
  class: "td-sidebar-search"
2714
2785
  }, null, 8, ["query", "active"]),
2715
- R(va, {
2786
+ R(ba, {
2716
2787
  tree: q(s).contentTree,
2717
2788
  "search-active": p.value,
2718
2789
  ready: c.value
@@ -2728,64 +2799,64 @@ var eo = { class: "td-header" }, to = { class: "td-header-left" }, no = ["href"]
2728
2799
  "aria-orientation": "vertical",
2729
2800
  "aria-label": "Resize sidebar",
2730
2801
  tabindex: "0",
2731
- onPointerdown: it(w, ["prevent"]),
2732
- onKeydown: [rt(it(T, ["prevent"]), ["left"]), rt(it(S, ["prevent"]), ["right"])]
2733
- }, null, 40, fo)
2734
- ], 4), I("div", po, [I("main", mo, [I("article", ho, [
2802
+ onPointerdown: ot(w, ["prevent"]),
2803
+ onKeydown: [at(ot(T, ["prevent"]), ["left"]), at(ot(S, ["prevent"]), ["right"])]
2804
+ }, null, 40, xo)
2805
+ ], 4), I("div", So, [I("main", Co, [I("article", wo, [
2735
2806
  G(e.$slots, "doc-before", {}, void 0, !0),
2736
- q(n).schema ? (H(), F("div", go, K(q(n).schemaLabel ?? q(n).schema), 1)) : P("", !0),
2737
- i.value ? (H(), F("div", _o, [(H(), N(qe(i.value), { size: 32 }))])) : P("", !0),
2807
+ q(n).schema ? (H(), F("div", To, K(q(n).schemaLabel ?? q(n).schema), 1)) : P("", !0),
2808
+ i.value ? (H(), F("div", Eo, [(H(), N(Ye(i.value), { size: 32 }))])) : P("", !0),
2738
2809
  q(t) ? (H(), F("h1", {
2739
2810
  key: 2,
2740
2811
  class: "td-page-title",
2741
2812
  innerHTML: q(n).titleHtml
2742
- }, null, 8, vo)) : P("", !0),
2743
- q(n).fileMetadata ? (H(), F("div", yo, [I("span", null, K(q(y)(q(n).fileMetadata.mtime, "Modified")), 1), q(n).fileMetadata.ctime === q(n).fileMetadata.mtime ? P("", !0) : (H(), F("span", bo, " · " + K(q(y)(q(n).fileMetadata.ctime, "Created")), 1))])) : P("", !0),
2744
- R(q(Hi), {
2813
+ }, null, 8, Do)) : P("", !0),
2814
+ q(n).fileMetadata ? (H(), F("div", Oo, [I("span", null, K(q(y)(q(n).fileMetadata.mtime, "Modified")), 1), q(n).fileMetadata.ctime === q(n).fileMetadata.mtime ? P("", !0) : (H(), F("span", ko, " · " + K(q(y)(q(n).fileMetadata.ctime, "Created")), 1))])) : P("", !0),
2815
+ R(q(Wi), {
2745
2816
  class: "td-frontmatter-inline",
2746
2817
  schema: q(n).schema,
2747
2818
  frontmatter: q(n).frontmatter
2748
2819
  }, null, 8, ["schema", "frontmatter"]),
2749
- q(n).headings.length > 0 ? (H(), N(pa, {
2820
+ q(n).headings.length > 0 ? (H(), N(ha, {
2750
2821
  key: 4,
2751
2822
  class: "td-toc-inline",
2752
2823
  headings: q(n).headings,
2753
2824
  static: ""
2754
2825
  }, null, 8, ["headings"])) : P("", !0),
2755
2826
  G(e.$slots, "doc-content-before", {}, void 0, !0),
2756
- I("div", xo, [R(q(we))]),
2827
+ I("div", Ao, [R(q(we))]),
2757
2828
  G(e.$slots, "doc-content-after", {}, void 0, !0),
2758
- R(oa),
2829
+ R(ca),
2759
2830
  q(a).repo && q(n).filepath ? (H(), F("a", {
2760
2831
  key: 5,
2761
2832
  href: v(q(n).filepath),
2762
2833
  target: "_blank",
2763
2834
  rel: "noopener noreferrer",
2764
2835
  class: "td-page-edit"
2765
- }, "Edit this page", 8, So)) : P("", !0),
2836
+ }, "Edit this page", 8, jo)) : P("", !0),
2766
2837
  G(e.$slots, "doc-after", {}, void 0, !0)
2767
- ])]), R(ha, { class: "td-rail" })])]),
2768
- R(Pr),
2838
+ ])]), R(_a, { class: "td-rail" })])]),
2839
+ R(Ir),
2769
2840
  G(e.$slots, "layout-bottom", {}, void 0, !0)
2770
2841
  ]));
2771
2842
  }
2772
- }), [["__scopeId", "data-v-fb070f3c"]]), Oo = { class: "pt-16 pb-24" }, ko = ["href"], Ao = /* @__PURE__ */ z({
2843
+ }), [["__scopeId", "data-v-98e349b6"]]), Lo = { class: "pt-16 pb-24" }, Ro = ["href"], zo = /* @__PURE__ */ z({
2773
2844
  __name: "TdNotFound",
2774
2845
  setup(e) {
2775
2846
  let { withBase: t } = A();
2776
- return (e, n) => (H(), F("div", Oo, [
2847
+ return (e, n) => (H(), F("div", Lo, [
2777
2848
  n[0] ||= I("p", { class: "text-td-4xl font-extrabold leading-none tracking-td-tight text-td-fg-muted" }, " 404 ", -1),
2778
2849
  n[1] ||= I("h1", { class: "text-td-xl font-extrabold leading-td-tight tracking-td-tight mt-4" }, " Page Not Found ", -1),
2779
2850
  n[2] ||= I("p", { class: "text-td-fg-muted mt-2 text-td-base leading-td-relaxed" }, " The page you are looking for does not exist. ", -1),
2780
2851
  I("a", {
2781
2852
  class: "inline-flex items-center mt-6 text-td-accent text-td-sm font-extrabold tracking-td-tight hover:text-td-accent-hi",
2782
2853
  href: q(t)(q(C)("/"))
2783
- }, "Go Home", 8, ko)
2854
+ }, "Go Home", 8, Ro)
2784
2855
  ]));
2785
2856
  }
2786
- }), jo = {
2787
- Layout: Do,
2788
- NotFound: Ao
2857
+ }), Bo = {
2858
+ Layout: Io,
2859
+ NotFound: zo
2789
2860
  };
2790
2861
  //#endregion
2791
- export { bt as TdBrandIcon, jr as TdContentNav, Ce as TdDirectoryIndex, Pr as TdFooter, he as TdGlossaryIndex, ba as TdKbdShortcut, $ as TdKeyName, Do as TdLayout, Ao as TdNotFound, oa as TdPreviousNext, ha as TdRail, Pa as TdThemeToggle, pa as TdToc, jo as default, Fa as useCopyCode, Ra as useGlobalHotkey, za as useLocalHotkeys };
2862
+ export { St as TdBrandIcon, Nr as TdContentNav, Ce as TdDirectoryIndex, Ir as TdFooter, he as TdGlossaryIndex, Sa as TdKbdShortcut, $ as TdKeyName, Io as TdLayout, zo as TdNotFound, ca as TdPreviousNext, _a as TdRail, Ia as TdThemeToggle, ha as TdToc, Bo as default, La as useCopyCode, Ba as useGlobalHotkey, Va as useLocalHotkeys };