ds-one 0.3.0-alpha.4 → 0.3.0-alpha.5

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.
@@ -17,7 +17,7 @@ var nr = Object.defineProperty, or = (t, e, r) => e in t ? nr(t, e, { enumerable
17
17
  * Use of this source code is governed by an MIT-style license that can be
18
18
  * found in the LICENSE file at https://angular.io/license
19
19
  */
20
- function Pt(t, e) {
20
+ function Bt(t, e) {
21
21
  return Object.is(t, e);
22
22
  }
23
23
  /**
@@ -27,7 +27,7 @@ function Pt(t, e) {
27
27
  * Use of this source code is governed by an MIT-style license that can be
28
28
  * found in the LICENSE file at https://angular.io/license
29
29
  */
30
- let m = null, R = !1, ie = 1;
30
+ let m = null, R = !1, ae = 1;
31
31
  const se = /* @__PURE__ */ Symbol("SIGNAL");
32
32
  function z(t) {
33
33
  const e = m;
@@ -75,15 +75,15 @@ function Ce(t) {
75
75
  m.producerNode[e] !== t && (m.producerNode[e] = t, m.producerIndexOfThis[e] = Me(m) ? Rt(t, m, e) : 0), m.producerLastReadVersion[e] = t.version;
76
76
  }
77
77
  function cr() {
78
- ie++;
78
+ ae++;
79
79
  }
80
- function Bt(t) {
81
- if (!(!t.dirty && t.lastCleanEpoch === ie)) {
80
+ function Pt(t) {
81
+ if (!(!t.dirty && t.lastCleanEpoch === ae)) {
82
82
  if (!t.producerMustRecompute(t) && !vr(t)) {
83
- t.dirty = !1, t.lastCleanEpoch = ie;
83
+ t.dirty = !1, t.lastCleanEpoch = ae;
84
84
  return;
85
85
  }
86
- t.producerRecomputeValue(t), t.dirty = !1, t.lastCleanEpoch = ie;
86
+ t.producerRecomputeValue(t), t.dirty = !1, t.lastCleanEpoch = ae;
87
87
  }
88
88
  }
89
89
  function Dt(t) {
@@ -120,18 +120,18 @@ function gr(t, e) {
120
120
  function vr(t) {
121
121
  I(t);
122
122
  for (let e = 0; e < t.producerNode.length; e++) {
123
- const r = t.producerNode[e], a = t.producerLastReadVersion[e];
124
- if (a !== r.version || (Bt(r), a !== r.version))
123
+ const r = t.producerNode[e], i = t.producerLastReadVersion[e];
124
+ if (i !== r.version || (Pt(r), i !== r.version))
125
125
  return !0;
126
126
  }
127
127
  return !1;
128
128
  }
129
129
  function Rt(t, e, r) {
130
- var a;
130
+ var i;
131
131
  if (rt(t), I(t), t.liveConsumerNode.length === 0) {
132
- (a = t.watched) == null || a.call(t.wrapper);
133
- for (let i = 0; i < t.producerNode.length; i++)
134
- t.producerIndexOfThis[i] = Rt(t.producerNode[i], t, i);
132
+ (i = t.watched) == null || i.call(t.wrapper);
133
+ for (let a = 0; a < t.producerNode.length; a++)
134
+ t.producerIndexOfThis[a] = Rt(t.producerNode[a], t, a);
135
135
  }
136
136
  return t.liveConsumerIndexOfThis.push(r), t.liveConsumerNode.push(e) - 1;
137
137
  }
@@ -143,13 +143,13 @@ function Le(t, e) {
143
143
  );
144
144
  if (t.liveConsumerNode.length === 1) {
145
145
  (r = t.unwatched) == null || r.call(t.wrapper);
146
- for (let i = 0; i < t.producerNode.length; i++)
147
- Le(t.producerNode[i], t.producerIndexOfThis[i]);
146
+ for (let a = 0; a < t.producerNode.length; a++)
147
+ Le(t.producerNode[a], t.producerIndexOfThis[a]);
148
148
  }
149
- const a = t.liveConsumerNode.length - 1;
150
- if (t.liveConsumerNode[e] = t.liveConsumerNode[a], t.liveConsumerIndexOfThis[e] = t.liveConsumerIndexOfThis[a], t.liveConsumerNode.length--, t.liveConsumerIndexOfThis.length--, e < t.liveConsumerNode.length) {
151
- const i = t.liveConsumerIndexOfThis[e], n = t.liveConsumerNode[e];
152
- I(n), n.producerIndexOfThis[i] = e;
149
+ const i = t.liveConsumerNode.length - 1;
150
+ if (t.liveConsumerNode[e] = t.liveConsumerNode[i], t.liveConsumerIndexOfThis[e] = t.liveConsumerIndexOfThis[i], t.liveConsumerNode.length--, t.liveConsumerIndexOfThis.length--, e < t.liveConsumerNode.length) {
151
+ const a = t.liveConsumerIndexOfThis[e], n = t.liveConsumerNode[e];
152
+ I(n), n.producerIndexOfThis[a] = e;
153
153
  }
154
154
  }
155
155
  function Me(t) {
@@ -170,7 +170,7 @@ function rt(t) {
170
170
  * found in the LICENSE file at https://angular.io/license
171
171
  */
172
172
  function jt(t) {
173
- if (Bt(t), Ce(t), t.value === Te)
173
+ if (Pt(t), Ce(t), t.value === Te)
174
174
  throw t.error;
175
175
  return t.value;
176
176
  }
@@ -185,7 +185,7 @@ const Ae = /* @__PURE__ */ Symbol("UNSET"), Se = /* @__PURE__ */ Symbol("COMPUTI
185
185
  value: Ae,
186
186
  dirty: !0,
187
187
  error: null,
188
- equal: Pt,
188
+ equal: Bt,
189
189
  producerMustRecompute(t) {
190
190
  return t.value === Ae || t.value === Se;
191
191
  },
@@ -195,19 +195,19 @@ const Ae = /* @__PURE__ */ Symbol("UNSET"), Se = /* @__PURE__ */ Symbol("COMPUTI
195
195
  const e = t.value;
196
196
  t.value = Se;
197
197
  const r = pr(t);
198
- let a, i = !1;
198
+ let i, a = !1;
199
199
  try {
200
- a = t.computation.call(t.wrapper), i = e !== Ae && e !== Te && t.equal.call(t.wrapper, e, a);
200
+ i = t.computation.call(t.wrapper), a = e !== Ae && e !== Te && t.equal.call(t.wrapper, e, i);
201
201
  } catch (n) {
202
- a = Te, t.error = n;
202
+ i = Te, t.error = n;
203
203
  } finally {
204
204
  gr(t, r);
205
205
  }
206
- if (i) {
206
+ if (a) {
207
207
  t.value = e;
208
208
  return;
209
209
  }
210
- t.value = a, t.version++;
210
+ t.value = i, t.version++;
211
211
  }
212
212
  };
213
213
  /**
@@ -245,7 +245,7 @@ function Lr(t, e) {
245
245
  }
246
246
  const Er = {
247
247
  ...tt,
248
- equal: Pt,
248
+ equal: Bt,
249
249
  value: void 0
250
250
  };
251
251
  function kr(t) {
@@ -270,7 +270,7 @@ function kr(t) {
270
270
  const b = Symbol("node");
271
271
  var F;
272
272
  ((t) => {
273
- var e, r, a, i;
273
+ var e, r, i, a;
274
274
  class n {
275
275
  constructor(d, u = {}) {
276
276
  re(this, r), $e(this, e);
@@ -299,7 +299,7 @@ var F;
299
299
  // Create a Signal which evaluates to the value returned by the callback.
300
300
  // Callback is called with this signal as the parameter.
301
301
  constructor(d, u) {
302
- re(this, i), $e(this, a);
302
+ re(this, a), $e(this, i);
303
303
  const c = fr(d)[se];
304
304
  if (c.consumerAllowSignalWrites = !0, this[b] = c, c.wrapper = this, u) {
305
305
  const y = u.equals;
@@ -312,7 +312,7 @@ var F;
312
312
  return jt(this[b]);
313
313
  }
314
314
  }
315
- a = b, i = /* @__PURE__ */ new WeakSet(), t.isComputed = (s) => typeof s == "object" && _e(i, s), t.Computed = o, ((s) => {
315
+ i = b, a = /* @__PURE__ */ new WeakSet(), t.isComputed = (s) => typeof s == "object" && _e(a, s), t.Computed = o, ((s) => {
316
316
  var d, u, v, c;
317
317
  function y(g) {
318
318
  let p, h = null;
@@ -388,8 +388,8 @@ var F;
388
388
  Le(h.producerNode[C], h.producerIndexOfThis[C]);
389
389
  const te = h.producerNode.length - 1;
390
390
  if (h.producerNode[C] = h.producerNode[te], h.producerIndexOfThis[C] = h.producerIndexOfThis[te], h.producerNode.length--, h.producerIndexOfThis.length--, h.nextProducerIndex--, C < h.producerNode.length) {
391
- const ir = h.producerIndexOfThis[C], gt = h.producerNode[C];
392
- rt(gt), gt.liveConsumerIndexOfThis[ir] = C;
391
+ const ar = h.producerIndexOfThis[C], gt = h.producerNode[C];
392
+ rt(gt), gt.liveConsumerIndexOfThis[ar] = C;
393
393
  }
394
394
  }
395
395
  }
@@ -406,11 +406,11 @@ var F;
406
406
  if (!(0, t.isComputed)(p) && !(0, t.isState)(p))
407
407
  throw new TypeError("Called watch/unwatch without a Computed or State argument");
408
408
  }, t.isWatcher = (g) => _e(u, g), s.Watcher = rr;
409
- function ar() {
409
+ function ir() {
410
410
  var g;
411
411
  return (g = lr()) == null ? void 0 : g.wrapper;
412
412
  }
413
- s.currentComputed = ar, s.watched = Symbol("watched"), s.unwatched = Symbol("unwatched");
413
+ s.currentComputed = ir, s.watched = Symbol("watched"), s.unwatched = Symbol("unwatched");
414
414
  })(t.subtle || (t.subtle = {}));
415
415
  })(F || (F = {}));
416
416
  /**
@@ -433,8 +433,8 @@ let Ar = class {
433
433
  get _$AU() {
434
434
  return this._$AM._$AU;
435
435
  }
436
- _$AT(e, r, a) {
437
- this._$Ct = e, this._$AM = r, this._$Ci = a;
436
+ _$AT(e, r, i) {
437
+ this._$Ct = e, this._$AM = r, this._$Ci = i;
438
438
  }
439
439
  _$AS(e, r) {
440
440
  return this.update(e, r);
@@ -448,67 +448,67 @@ let Ar = class {
448
448
  * Copyright 2017 Google LLC
449
449
  * SPDX-License-Identifier: BSD-3-Clause
450
450
  */
451
- const j = globalThis, le = j.trustedTypes, ft = le ? le.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Ut = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, qt = "?" + $, Sr = `<${qt}>`, H = document, K = () => H.createComment(""), G = (t) => t === null || typeof t != "object" && typeof t != "function", at = Array.isArray, Vr = (t) => at(t) || typeof t?.[Symbol.iterator] == "function", Ve = `[
452
- \f\r]`, B = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, mt = /-->/g, wt = />/g, S = RegExp(`>|${Ve}(?:([^\\s"'>=/]+)(${Ve}*=${Ve}*(?:[^
453
- \f\r"'\`<>=]|("|')|))|$)`, "g"), yt = /'/g, bt = /"/g, Wt = /^(?:script|style|textarea|title)$/i, Hr = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), l = Hr(1), M = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), xt = /* @__PURE__ */ new WeakMap(), V = H.createTreeWalker(H, 129);
451
+ const j = globalThis, le = j.trustedTypes, ft = le ? le.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Ut = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, qt = "?" + $, Sr = `<${qt}>`, V = document, K = () => V.createComment(""), G = (t) => t === null || typeof t != "object" && typeof t != "function", it = Array.isArray, Hr = (t) => it(t) || typeof t?.[Symbol.iterator] == "function", He = `[
452
+ \f\r]`, P = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, mt = /-->/g, wt = />/g, S = RegExp(`>|${He}(?:([^\\s"'>=/]+)(${He}*=${He}*(?:[^
453
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), yt = /'/g, bt = /"/g, Wt = /^(?:script|style|textarea|title)$/i, Vr = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), l = Vr(1), M = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), xt = /* @__PURE__ */ new WeakMap(), H = V.createTreeWalker(V, 129);
454
454
  function Ft(t, e) {
455
- if (!at(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
455
+ if (!it(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
456
456
  return ft !== void 0 ? ft.createHTML(e) : e;
457
457
  }
458
458
  const Mr = (t, e) => {
459
- const r = t.length - 1, a = [];
460
- let i, n = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = B;
459
+ const r = t.length - 1, i = [];
460
+ let a, n = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = P;
461
461
  for (let s = 0; s < r; s++) {
462
462
  const d = t[s];
463
463
  let u, v, c = -1, y = 0;
464
- for (; y < d.length && (o.lastIndex = y, v = o.exec(d), v !== null); ) y = o.lastIndex, o === B ? v[1] === "!--" ? o = mt : v[1] !== void 0 ? o = wt : v[2] !== void 0 ? (Wt.test(v[2]) && (i = RegExp("</" + v[2], "g")), o = S) : v[3] !== void 0 && (o = S) : o === S ? v[0] === ">" ? (o = i ?? B, c = -1) : v[1] === void 0 ? c = -2 : (c = o.lastIndex - v[2].length, u = v[1], o = v[3] === void 0 ? S : v[3] === '"' ? bt : yt) : o === bt || o === yt ? o = S : o === mt || o === wt ? o = B : (o = S, i = void 0);
464
+ for (; y < d.length && (o.lastIndex = y, v = o.exec(d), v !== null); ) y = o.lastIndex, o === P ? v[1] === "!--" ? o = mt : v[1] !== void 0 ? o = wt : v[2] !== void 0 ? (Wt.test(v[2]) && (a = RegExp("</" + v[2], "g")), o = S) : v[3] !== void 0 && (o = S) : o === S ? v[0] === ">" ? (o = a ?? P, c = -1) : v[1] === void 0 ? c = -2 : (c = o.lastIndex - v[2].length, u = v[1], o = v[3] === void 0 ? S : v[3] === '"' ? bt : yt) : o === bt || o === yt ? o = S : o === mt || o === wt ? o = P : (o = S, a = void 0);
465
465
  const k = o === S && t[s + 1].startsWith("/>") ? " " : "";
466
- n += o === B ? d + Sr : c >= 0 ? (a.push(u), d.slice(0, c) + Ut + d.slice(c) + $ + k) : d + $ + (c === -2 ? s : k);
466
+ n += o === P ? d + Sr : c >= 0 ? (i.push(u), d.slice(0, c) + Ut + d.slice(c) + $ + k) : d + $ + (c === -2 ? s : k);
467
467
  }
468
- return [Ft(t, n + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), a];
468
+ return [Ft(t, n + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
469
469
  };
470
470
  class J {
471
- constructor({ strings: e, _$litType$: r }, a) {
472
- let i;
471
+ constructor({ strings: e, _$litType$: r }, i) {
472
+ let a;
473
473
  this.parts = [];
474
474
  let n = 0, o = 0;
475
475
  const s = e.length - 1, d = this.parts, [u, v] = Mr(e, r);
476
- if (this.el = J.createElement(u, a), V.currentNode = this.el.content, r === 2 || r === 3) {
476
+ if (this.el = J.createElement(u, i), H.currentNode = this.el.content, r === 2 || r === 3) {
477
477
  const c = this.el.content.firstChild;
478
478
  c.replaceWith(...c.childNodes);
479
479
  }
480
- for (; (i = V.nextNode()) !== null && d.length < s; ) {
481
- if (i.nodeType === 1) {
482
- if (i.hasAttributes()) for (const c of i.getAttributeNames()) if (c.endsWith(Ut)) {
483
- const y = v[o++], k = i.getAttribute(c).split($), T = /([.?@])?(.*)/.exec(y);
484
- d.push({ type: 1, index: n, name: T[2], strings: k, ctor: T[1] === "." ? Nr : T[1] === "?" ? Zr : T[1] === "@" ? zr : Ee }), i.removeAttribute(c);
485
- } else c.startsWith($) && (d.push({ type: 6, index: n }), i.removeAttribute(c));
486
- if (Wt.test(i.tagName)) {
487
- const c = i.textContent.split($), y = c.length - 1;
480
+ for (; (a = H.nextNode()) !== null && d.length < s; ) {
481
+ if (a.nodeType === 1) {
482
+ if (a.hasAttributes()) for (const c of a.getAttributeNames()) if (c.endsWith(Ut)) {
483
+ const y = v[o++], k = a.getAttribute(c).split($), T = /([.?@])?(.*)/.exec(y);
484
+ d.push({ type: 1, index: n, name: T[2], strings: k, ctor: T[1] === "." ? Nr : T[1] === "?" ? Zr : T[1] === "@" ? zr : Ee }), a.removeAttribute(c);
485
+ } else c.startsWith($) && (d.push({ type: 6, index: n }), a.removeAttribute(c));
486
+ if (Wt.test(a.tagName)) {
487
+ const c = a.textContent.split($), y = c.length - 1;
488
488
  if (y > 0) {
489
- i.textContent = le ? le.emptyScript : "";
490
- for (let k = 0; k < y; k++) i.append(c[k], K()), V.nextNode(), d.push({ type: 2, index: ++n });
491
- i.append(c[y], K());
489
+ a.textContent = le ? le.emptyScript : "";
490
+ for (let k = 0; k < y; k++) a.append(c[k], K()), H.nextNode(), d.push({ type: 2, index: ++n });
491
+ a.append(c[y], K());
492
492
  }
493
493
  }
494
- } else if (i.nodeType === 8) if (i.data === qt) d.push({ type: 2, index: n });
494
+ } else if (a.nodeType === 8) if (a.data === qt) d.push({ type: 2, index: n });
495
495
  else {
496
496
  let c = -1;
497
- for (; (c = i.data.indexOf($, c + 1)) !== -1; ) d.push({ type: 7, index: n }), c += $.length - 1;
497
+ for (; (c = a.data.indexOf($, c + 1)) !== -1; ) d.push({ type: 7, index: n }), c += $.length - 1;
498
498
  }
499
499
  n++;
500
500
  }
501
501
  }
502
502
  static createElement(e, r) {
503
- const a = H.createElement("template");
504
- return a.innerHTML = e, a;
503
+ const i = V.createElement("template");
504
+ return i.innerHTML = e, i;
505
505
  }
506
506
  }
507
- function O(t, e, r = t, a) {
507
+ function O(t, e, r = t, i) {
508
508
  if (e === M) return e;
509
- let i = a !== void 0 ? r._$Co?.[a] : r._$Cl;
509
+ let a = i !== void 0 ? r._$Co?.[i] : r._$Cl;
510
510
  const n = G(e) ? void 0 : e._$litDirective$;
511
- return i?.constructor !== n && (i?._$AO?.(!1), n === void 0 ? i = void 0 : (i = new n(t), i._$AT(t, r, a)), a !== void 0 ? (r._$Co ?? (r._$Co = []))[a] = i : r._$Cl = i), i !== void 0 && (e = O(t, i._$AS(t, e.values), i, a)), e;
511
+ return a?.constructor !== n && (a?._$AO?.(!1), n === void 0 ? a = void 0 : (a = new n(t), a._$AT(t, r, i)), i !== void 0 ? (r._$Co ?? (r._$Co = []))[i] = a : r._$Cl = a), a !== void 0 && (e = O(t, a._$AS(t, e.values), a, i)), e;
512
512
  }
513
513
  class Tr {
514
514
  constructor(e, r) {
@@ -521,29 +521,29 @@ class Tr {
521
521
  return this._$AM._$AU;
522
522
  }
523
523
  u(e) {
524
- const { el: { content: r }, parts: a } = this._$AD, i = (e?.creationScope ?? H).importNode(r, !0);
525
- V.currentNode = i;
526
- let n = V.nextNode(), o = 0, s = 0, d = a[0];
524
+ const { el: { content: r }, parts: i } = this._$AD, a = (e?.creationScope ?? V).importNode(r, !0);
525
+ H.currentNode = a;
526
+ let n = H.nextNode(), o = 0, s = 0, d = i[0];
527
527
  for (; d !== void 0; ) {
528
528
  if (o === d.index) {
529
529
  let u;
530
- d.type === 2 ? u = new Q(n, n.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(n, d.name, d.strings, this, e) : d.type === 6 && (u = new Ir(n, this, e)), this._$AV.push(u), d = a[++s];
530
+ d.type === 2 ? u = new Q(n, n.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(n, d.name, d.strings, this, e) : d.type === 6 && (u = new Ir(n, this, e)), this._$AV.push(u), d = i[++s];
531
531
  }
532
- o !== d?.index && (n = V.nextNode(), o++);
532
+ o !== d?.index && (n = H.nextNode(), o++);
533
533
  }
534
- return V.currentNode = H, i;
534
+ return H.currentNode = V, a;
535
535
  }
536
536
  p(e) {
537
537
  let r = 0;
538
- for (const a of this._$AV) a !== void 0 && (a.strings !== void 0 ? (a._$AI(e, a, r), r += a.strings.length - 2) : a._$AI(e[r])), r++;
538
+ for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, r), r += i.strings.length - 2) : i._$AI(e[r])), r++;
539
539
  }
540
540
  }
541
541
  class Q {
542
542
  get _$AU() {
543
543
  return this._$AM?._$AU ?? this._$Cv;
544
544
  }
545
- constructor(e, r, a, i) {
546
- this.type = 2, this._$AH = w, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = a, this.options = i, this._$Cv = i?.isConnected ?? !0;
545
+ constructor(e, r, i, a) {
546
+ this.type = 2, this._$AH = w, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = i, this.options = a, this._$Cv = a?.isConnected ?? !0;
547
547
  }
548
548
  get parentNode() {
549
549
  let e = this._$AA.parentNode;
@@ -557,7 +557,7 @@ class Q {
557
557
  return this._$AB;
558
558
  }
559
559
  _$AI(e, r = this) {
560
- e = O(this, e, r), G(e) ? e === w || e == null || e === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : e !== this._$AH && e !== M && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Vr(e) ? this.k(e) : this._(e);
560
+ e = O(this, e, r), G(e) ? e === w || e == null || e === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : e !== this._$AH && e !== M && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Hr(e) ? this.k(e) : this._(e);
561
561
  }
562
562
  O(e) {
563
563
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -566,13 +566,13 @@ class Q {
566
566
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
567
567
  }
568
568
  _(e) {
569
- this._$AH !== w && G(this._$AH) ? this._$AA.nextSibling.data = e : this.T(H.createTextNode(e)), this._$AH = e;
569
+ this._$AH !== w && G(this._$AH) ? this._$AA.nextSibling.data = e : this.T(V.createTextNode(e)), this._$AH = e;
570
570
  }
571
571
  $(e) {
572
- const { values: r, _$litType$: a } = e, i = typeof a == "number" ? this._$AC(e) : (a.el === void 0 && (a.el = J.createElement(Ft(a.h, a.h[0]), this.options)), a);
573
- if (this._$AH?._$AD === i) this._$AH.p(r);
572
+ const { values: r, _$litType$: i } = e, a = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = J.createElement(Ft(i.h, i.h[0]), this.options)), i);
573
+ if (this._$AH?._$AD === a) this._$AH.p(r);
574
574
  else {
575
- const n = new Tr(i, this), o = n.u(this.options);
575
+ const n = new Tr(a, this), o = n.u(this.options);
576
576
  n.p(r), this.T(o), this._$AH = n;
577
577
  }
578
578
  }
@@ -581,16 +581,16 @@ class Q {
581
581
  return r === void 0 && xt.set(e.strings, r = new J(e)), r;
582
582
  }
583
583
  k(e) {
584
- at(this._$AH) || (this._$AH = [], this._$AR());
584
+ it(this._$AH) || (this._$AH = [], this._$AR());
585
585
  const r = this._$AH;
586
- let a, i = 0;
587
- for (const n of e) i === r.length ? r.push(a = new Q(this.O(K()), this.O(K()), this, this.options)) : a = r[i], a._$AI(n), i++;
588
- i < r.length && (this._$AR(a && a._$AB.nextSibling, i), r.length = i);
586
+ let i, a = 0;
587
+ for (const n of e) a === r.length ? r.push(i = new Q(this.O(K()), this.O(K()), this, this.options)) : i = r[a], i._$AI(n), a++;
588
+ a < r.length && (this._$AR(i && i._$AB.nextSibling, a), r.length = a);
589
589
  }
590
590
  _$AR(e = this._$AA.nextSibling, r) {
591
591
  for (this._$AP?.(!1, !0, r); e !== this._$AB; ) {
592
- const a = e.nextSibling;
593
- e.remove(), e = a;
592
+ const i = e.nextSibling;
593
+ e.remove(), e = i;
594
594
  }
595
595
  }
596
596
  setConnected(e) {
@@ -604,19 +604,19 @@ class Ee {
604
604
  get _$AU() {
605
605
  return this._$AM._$AU;
606
606
  }
607
- constructor(e, r, a, i, n) {
608
- this.type = 1, this._$AH = w, this._$AN = void 0, this.element = e, this.name = r, this._$AM = i, this.options = n, a.length > 2 || a[0] !== "" || a[1] !== "" ? (this._$AH = Array(a.length - 1).fill(new String()), this.strings = a) : this._$AH = w;
607
+ constructor(e, r, i, a, n) {
608
+ this.type = 1, this._$AH = w, this._$AN = void 0, this.element = e, this.name = r, this._$AM = a, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = w;
609
609
  }
610
- _$AI(e, r = this, a, i) {
610
+ _$AI(e, r = this, i, a) {
611
611
  const n = this.strings;
612
612
  let o = !1;
613
613
  if (n === void 0) e = O(this, e, r, 0), o = !G(e) || e !== this._$AH && e !== M, o && (this._$AH = e);
614
614
  else {
615
615
  const s = e;
616
616
  let d, u;
617
- for (e = n[0], d = 0; d < n.length - 1; d++) u = O(this, s[a + d], r, d), u === M && (u = this._$AH[d]), o || (o = !G(u) || u !== this._$AH[d]), u === w ? e = w : e !== w && (e += (u ?? "") + n[d + 1]), this._$AH[d] = u;
617
+ for (e = n[0], d = 0; d < n.length - 1; d++) u = O(this, s[i + d], r, d), u === M && (u = this._$AH[d]), o || (o = !G(u) || u !== this._$AH[d]), u === w ? e = w : e !== w && (e += (u ?? "") + n[d + 1]), this._$AH[d] = u;
618
618
  }
619
- o && !i && this.j(e);
619
+ o && !a && this.j(e);
620
620
  }
621
621
  j(e) {
622
622
  e === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
@@ -639,21 +639,21 @@ class Zr extends Ee {
639
639
  }
640
640
  }
641
641
  class zr extends Ee {
642
- constructor(e, r, a, i, n) {
643
- super(e, r, a, i, n), this.type = 5;
642
+ constructor(e, r, i, a, n) {
643
+ super(e, r, i, a, n), this.type = 5;
644
644
  }
645
645
  _$AI(e, r = this) {
646
646
  if ((e = O(this, e, r, 0) ?? w) === M) return;
647
- const a = this._$AH, i = e === w && a !== w || e.capture !== a.capture || e.once !== a.once || e.passive !== a.passive, n = e !== w && (a === w || i);
648
- i && this.element.removeEventListener(this.name, this, a), n && this.element.addEventListener(this.name, this, e), this._$AH = e;
647
+ const i = this._$AH, a = e === w && i !== w || e.capture !== i.capture || e.once !== i.once || e.passive !== i.passive, n = e !== w && (i === w || a);
648
+ a && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, e), this._$AH = e;
649
649
  }
650
650
  handleEvent(e) {
651
651
  typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
652
652
  }
653
653
  }
654
654
  class Ir {
655
- constructor(e, r, a) {
656
- this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = a;
655
+ constructor(e, r, i) {
656
+ this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = i;
657
657
  }
658
658
  get _$AU() {
659
659
  return this._$AM._$AU;
@@ -664,14 +664,14 @@ class Ir {
664
664
  }
665
665
  const Or = j.litHtmlPolyfillSupport;
666
666
  Or?.(J, Q), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.3.1");
667
- const Pr = (t, e, r) => {
668
- const a = r?.renderBefore ?? e;
669
- let i = a._$litPart$;
670
- if (i === void 0) {
667
+ const Br = (t, e, r) => {
668
+ const i = r?.renderBefore ?? e;
669
+ let a = i._$litPart$;
670
+ if (a === void 0) {
671
671
  const n = r?.renderBefore ?? null;
672
- a._$litPart$ = i = new Q(e.insertBefore(K(), n), n, void 0, r ?? {});
672
+ i._$litPart$ = a = new Q(e.insertBefore(K(), n), n, void 0, r ?? {});
673
673
  }
674
- return i._$AI(t), i;
674
+ return a._$AI(t), a;
675
675
  };
676
676
  /**
677
677
  * @license
@@ -680,27 +680,27 @@ const Pr = (t, e, r) => {
680
680
  */
681
681
  F.State;
682
682
  F.Computed;
683
- const it = (t, e) => new F.State(t, e), Br = {
683
+ const at = (t, e) => new F.State(t, e), Pr = {
684
684
  mode: "auto",
685
685
  baseWidth: 280,
686
686
  minScale: 0.75,
687
687
  maxScale: 2
688
- }, P = it(1), Y = it(Br);
688
+ }, B = at(1), Y = at(Pr);
689
689
  function nt() {
690
690
  if (typeof navigator > "u" || typeof window > "u")
691
691
  return !1;
692
- const t = navigator, e = window, r = t && (t.userAgent || t.vendor) || e && e.opera || "", a = /Mobile|Android|iP(ad|hone|od)|IEMobile|BlackBerry|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)|Windows Phone|Phone|Tablet/i.test(
692
+ const t = navigator, e = window, r = t && (t.userAgent || t.vendor) || e && e.opera || "", i = /Mobile|Android|iP(ad|hone|od)|IEMobile|BlackBerry|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)|Windows Phone|Phone|Tablet/i.test(
693
693
  r
694
694
  ), n = (t && t.maxTouchPoints || 0) > 1, o = e ? Math.min(e.innerWidth || 0, e.innerHeight || 0) <= 820 : !1;
695
- return a || n && o;
695
+ return i || n && o;
696
696
  }
697
697
  function Dr() {
698
- const t = nt(), e = navigator, r = window, i = (e && e.maxTouchPoints || 0) > 1, n = typeof document < "u" ? document.documentElement.clientWidth : r?.innerWidth || 0, o = typeof document < "u" ? document.documentElement.clientHeight : r?.innerHeight || 0, s = t && Math.min(n, o) >= 600;
698
+ const t = nt(), e = navigator, r = window, a = (e && e.maxTouchPoints || 0) > 1, n = typeof document < "u" ? document.documentElement.clientWidth : r?.innerWidth || 0, o = typeof document < "u" ? document.documentElement.clientHeight : r?.innerHeight || 0, s = t && Math.min(n, o) >= 600;
699
699
  return {
700
700
  isMobile: t,
701
701
  isTablet: s,
702
702
  isDesktop: !t,
703
- isTouchCapable: i,
703
+ isTouchCapable: a,
704
704
  deviceType: t ? s ? "tablet" : "mobile" : "desktop",
705
705
  userAgent: e && (e.userAgent || e.vendor) || "",
706
706
  screenWidth: n,
@@ -710,13 +710,13 @@ function Dr() {
710
710
  function Rr(t, e = Y.get()) {
711
711
  if (e.mode === "fixed")
712
712
  return 1;
713
- const r = t / e.baseWidth, a = Math.max(
713
+ const r = t / e.baseWidth, i = Math.max(
714
714
  e.minScale,
715
715
  Math.min(e.maxScale, r)
716
716
  );
717
- return Number(a.toFixed(3));
717
+ return Number(i.toFixed(3));
718
718
  }
719
- function Ta(t) {
719
+ function Ti(t) {
720
720
  const r = { ...Y.get(), ...t };
721
721
  Y.set(r), typeof window < "u" && Kt();
722
722
  }
@@ -724,36 +724,36 @@ function Kt() {
724
724
  if (typeof window > "u" || typeof document > "u")
725
725
  return;
726
726
  if (!nt()) {
727
- P.set(1), document.documentElement.style.setProperty("--sf", "1"), window.dispatchEvent(
727
+ B.set(1), document.documentElement.style.setProperty("--sf", "1"), window.dispatchEvent(
728
728
  new CustomEvent("scaling-changed", {
729
729
  detail: { scalingFactor: 1, config: Y.get() }
730
730
  })
731
731
  );
732
732
  return;
733
733
  }
734
- const e = document.documentElement.clientWidth, r = Y.get(), a = Rr(e, r);
735
- P.set(a), document.documentElement.style.setProperty("--sf", a.toString()), window.dispatchEvent(
734
+ const e = document.documentElement.clientWidth, r = Y.get(), i = Rr(e, r);
735
+ B.set(i), document.documentElement.style.setProperty("--sf", i.toString()), window.dispatchEvent(
736
736
  new CustomEvent("scaling-changed", {
737
- detail: { scalingFactor: a, config: r }
737
+ detail: { scalingFactor: i, config: r }
738
738
  })
739
739
  );
740
740
  }
741
- function Na() {
742
- return P.get();
741
+ function Ni() {
742
+ return B.get();
743
743
  }
744
- function Za(t) {
745
- return t * P.get();
744
+ function Zi(t) {
745
+ return t * B.get();
746
746
  }
747
- function za(t) {
748
- const e = P.get();
747
+ function zi(t) {
748
+ const e = B.get();
749
749
  return e === 0 ? t : t / e;
750
750
  }
751
- function ae() {
751
+ function ie() {
752
752
  const t = Dr();
753
753
  if (typeof document > "u")
754
754
  return t;
755
755
  t.isMobile ? (document.documentElement.classList.add("mobile"), document.documentElement.classList.remove("desktop")) : (document.documentElement.classList.add("desktop"), document.documentElement.classList.remove("mobile")), Kt();
756
- const e = P.get();
756
+ const e = B.get();
757
757
  return t.isMobile ? console.log(
758
758
  `[DS one] Mobile device detected - ${t.deviceType} (${t.screenWidth}x${t.screenHeight}), scaling factor: ${e.toFixed(2)}`
759
759
  ) : console.log(
@@ -771,18 +771,18 @@ function ae() {
771
771
  }
772
772
  if (typeof window < "u") {
773
773
  document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
774
- ae();
775
- }) : ae();
774
+ ie();
775
+ }) : ie();
776
776
  let t;
777
777
  window.addEventListener("resize", () => {
778
778
  clearTimeout(t), t = setTimeout(() => {
779
- ae();
779
+ ie();
780
780
  }, 100);
781
781
  }), window.addEventListener("orientationchange", () => {
782
- setTimeout(ae, 100);
782
+ setTimeout(ie, 100);
783
783
  });
784
784
  }
785
- function Ia() {
785
+ function Ii() {
786
786
  if (typeof document > "u" || typeof window > "u")
787
787
  return;
788
788
  let t = document.querySelector('meta[name="viewport"]');
@@ -803,7 +803,7 @@ function Ia() {
803
803
  `;
804
804
  const r = document.getElementById("ds-one-applike-style");
805
805
  r && r.remove(), document.head.appendChild(e);
806
- let a = 0, i = 0;
806
+ let i = 0, a = 0;
807
807
  const n = (s) => {
808
808
  if (s instanceof TouchEvent) {
809
809
  if (s.touches.length > 1) {
@@ -812,17 +812,17 @@ function Ia() {
812
812
  }
813
813
  const d = Date.now();
814
814
  if (s.type === "touchstart") {
815
- if (d - a < 300) {
815
+ if (d - i < 300) {
816
816
  s.preventDefault(), s.stopPropagation();
817
817
  return;
818
818
  }
819
- i = d;
819
+ a = d;
820
820
  } else if (s.type === "touchend") {
821
- if (d - i < 300 && d - a < 300) {
821
+ if (d - a < 300 && d - i < 300) {
822
822
  s.preventDefault(), s.stopPropagation();
823
823
  return;
824
824
  }
825
- a = d;
825
+ i = d;
826
826
  } else if (s.type === "touchmove" && s.touches.length > 1) {
827
827
  s.preventDefault(), s.stopPropagation();
828
828
  return;
@@ -914,14 +914,14 @@ function qr() {
914
914
  const r = document.querySelector('meta[name="ds-one:translations"]')?.getAttribute("content");
915
915
  if (r)
916
916
  return r;
917
- const a = document.querySelector('link[rel="ds-one-translations"]')?.getAttribute("href");
918
- return a || null;
917
+ const i = document.querySelector('link[rel="ds-one-translations"]')?.getAttribute("href");
918
+ return i || null;
919
919
  }
920
920
  function Wr() {
921
- const t = [], e = typeof window < "u" ? window.DS_ONE_TRANSLATIONS_FILE : null, r = qr(), a = $t(e ?? "");
922
- a && t.push(a);
923
- const i = $t(r ?? "");
924
- return i && !t.includes(i) && t.push(i), t.length === 0 && t.push(Jt), t;
921
+ const t = [], e = typeof window < "u" ? window.DS_ONE_TRANSLATIONS_FILE : null, r = qr(), i = $t(e ?? "");
922
+ i && t.push(i);
923
+ const a = $t(r ?? "");
924
+ return a && !t.includes(a) && t.push(a), t.length === 0 && t.push(Jt), t;
925
925
  }
926
926
  function Fr(t) {
927
927
  return !t || typeof t != "object" ? !1 : Object.values(t).every(
@@ -954,9 +954,9 @@ async function _t() {
954
954
  if (!r)
955
955
  continue;
956
956
  window.DS_ONE_TRANSLATIONS = r;
957
- const a = Object.keys(r);
957
+ const i = Object.keys(r);
958
958
  return console.log(
959
- `[DS one] External translations loaded from ${e}: ${a.length} language(s) – ${a.join(", ")}`
959
+ `[DS one] External translations loaded from ${e}: ${i.length} language(s) – ${i.join(", ")}`
960
960
  ), window.dispatchEvent(new CustomEvent("translations-ready")), !0;
961
961
  }
962
962
  return console.info(
@@ -977,22 +977,22 @@ function At(t) {
977
977
  }
978
978
  function Yt(t) {
979
979
  return [...t].sort((e, r) => {
980
- const a = At(e), i = At(r);
981
- return a !== i ? a - i : e.localeCompare(r);
980
+ const i = At(e), a = At(r);
981
+ return i !== a ? i - a : e.localeCompare(r);
982
982
  });
983
983
  }
984
984
  function Gr(t, e) {
985
985
  const r = t?.replace("_", "-");
986
986
  if (r)
987
987
  try {
988
- let a = Lt.get(r);
989
- a || (a = new Intl.DisplayNames([r], {
988
+ let i = Lt.get(r);
989
+ i || (i = new Intl.DisplayNames([r], {
990
990
  type: "language"
991
- }), Lt.set(r, a));
992
- const i = e.replace("_", "-"), n = a.of(i);
993
- if (n && n !== i)
991
+ }), Lt.set(r, i));
992
+ const a = e.replace("_", "-"), n = i.of(a);
993
+ if (n && n !== a)
994
994
  return n;
995
- const o = a.of(ee(i));
995
+ const o = i.of(ee(a));
996
996
  if (o)
997
997
  return o;
998
998
  } catch {
@@ -1005,26 +1005,26 @@ function Jr(t) {
1005
1005
  const e = t.toLowerCase().replace("_", "-"), r = Ct[e];
1006
1006
  if (r)
1007
1007
  return r;
1008
- const a = ee(e);
1009
- return Ct[a];
1008
+ const i = ee(e);
1009
+ return Ct[i];
1010
1010
  }
1011
1011
  function Yr(t, e = {}) {
1012
1012
  if (!t)
1013
1013
  return "";
1014
1014
  const r = [];
1015
1015
  e.locale && r.push(e.locale), typeof navigator < "u" && (Array.isArray(navigator.languages) && r.push(...navigator.languages), navigator.language && r.push(navigator.language)), r.push(E), r.push("en");
1016
- const a = /* @__PURE__ */ new Set();
1016
+ const i = /* @__PURE__ */ new Set();
1017
1017
  for (const o of r) {
1018
- if (!o || a.has(o))
1018
+ if (!o || i.has(o))
1019
1019
  continue;
1020
- a.add(o);
1020
+ i.add(o);
1021
1021
  const s = Gr(o, t);
1022
1022
  if (s)
1023
1023
  return s;
1024
1024
  }
1025
- const i = Jr(t);
1026
- if (i)
1027
- return i;
1025
+ const a = Jr(t);
1026
+ if (a)
1027
+ return a;
1028
1028
  const n = ee(t);
1029
1029
  return n ? n.toUpperCase() : t;
1030
1030
  }
@@ -1056,27 +1056,27 @@ const St = {
1056
1056
  "zh-tw": "zh",
1057
1057
  "zh-hant": "zh"
1058
1058
  };
1059
- function Vt(t) {
1059
+ function Ht(t) {
1060
1060
  if (!t)
1061
1061
  return null;
1062
1062
  const e = t.toLowerCase().replace("_", "-"), r = St[e];
1063
1063
  if (r)
1064
1064
  return r;
1065
- const a = ee(e), i = St[a];
1066
- return i || t;
1065
+ const i = ee(e), a = St[i];
1066
+ return a || t;
1067
1067
  }
1068
1068
  function Xr() {
1069
1069
  if (typeof navigator > "u")
1070
1070
  return E;
1071
1071
  const t = navigator.language;
1072
1072
  if (t) {
1073
- const e = Vt(t);
1073
+ const e = Ht(t);
1074
1074
  if (e)
1075
1075
  return e;
1076
1076
  }
1077
1077
  if (Array.isArray(navigator.languages))
1078
1078
  for (const e of navigator.languages) {
1079
- const r = Vt(e);
1079
+ const r = Ht(e);
1080
1080
  if (r)
1081
1081
  return r;
1082
1082
  }
@@ -1128,7 +1128,7 @@ function U(t) {
1128
1128
  `[DS one (Internationalization)] No translation found for key "${t}"`
1129
1129
  ), t);
1130
1130
  }
1131
- function Oa(t, e = L.value) {
1131
+ function Oi(t, e = L.value) {
1132
1132
  if (!t)
1133
1133
  return !1;
1134
1134
  const r = _?.[e];
@@ -1137,7 +1137,7 @@ function Oa(t, e = L.value) {
1137
1137
  function ne(t) {
1138
1138
  return U(t);
1139
1139
  }
1140
- function Pa() {
1140
+ function Bi() {
1141
1141
  const t = ke();
1142
1142
  if (t && Object.keys(t).length > 0) {
1143
1143
  const e = Object.keys(t);
@@ -1145,11 +1145,11 @@ function Pa() {
1145
1145
  }
1146
1146
  return Promise.resolve([E]);
1147
1147
  }
1148
- function Ht() {
1148
+ function Vt() {
1149
1149
  const t = ke();
1150
1150
  return t && Object.keys(t).length > 0 ? Yt(Object.keys(t)) : [E];
1151
1151
  }
1152
- function Ba(t, e) {
1152
+ function Pi(t, e) {
1153
1153
  console.log(
1154
1154
  `Loading additional translations for ${t}:`,
1155
1155
  Object.keys(e).length,
@@ -1168,8 +1168,8 @@ function Mt(t) {
1168
1168
  function N(t) {
1169
1169
  if (!(typeof window > "u"))
1170
1170
  try {
1171
- const e = window.localStorage?.getItem("ds-one:preferences"), a = { ...e ? JSON.parse(e) : {}, ...t };
1172
- window.localStorage?.setItem("ds-one:preferences", JSON.stringify(a));
1171
+ const e = window.localStorage?.getItem("ds-one:preferences"), i = { ...e ? JSON.parse(e) : {}, ...t };
1172
+ window.localStorage?.setItem("ds-one:preferences", JSON.stringify(i));
1173
1173
  } catch (e) {
1174
1174
  console.warn("ds-one: unable to persist preferences", e);
1175
1175
  }
@@ -1186,30 +1186,30 @@ const Qr = {
1186
1186
  ja: "¥",
1187
1187
  ko: "₩"
1188
1188
  };
1189
- function Da(t) {
1189
+ function Di(t) {
1190
1190
  const { language: e, country: r } = t;
1191
1191
  if (r) {
1192
- const i = r.toUpperCase();
1193
- if (i === "US" || i === "USA")
1192
+ const a = r.toUpperCase();
1193
+ if (a === "US" || a === "USA")
1194
1194
  return "$";
1195
- if (i === "GB" || i === "UK")
1195
+ if (a === "GB" || a === "UK")
1196
1196
  return "£";
1197
- if (i === "JP" || i === "JPN" || i === "CN" || i === "CHN")
1197
+ if (a === "JP" || a === "JPN" || a === "CN" || a === "CHN")
1198
1198
  return "¥";
1199
- if (i === "KR" || i === "KOR")
1199
+ if (a === "KR" || a === "KOR")
1200
1200
  return "₩";
1201
1201
  }
1202
- const a = e.toLowerCase().split(/[-_]/)[0];
1203
- return Qr[a] || "$";
1202
+ const i = e.toLowerCase().split(/[-_]/)[0];
1203
+ return Qr[i] || "$";
1204
1204
  }
1205
- function ea() {
1205
+ function ei() {
1206
1206
  if (typeof window > "u")
1207
1207
  return "light";
1208
1208
  const t = window.localStorage?.getItem("ds-one:theme");
1209
1209
  return t === "light" || t === "dark" ? t : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
1210
1210
  }
1211
- const X = it(ea());
1212
- function ta(t) {
1211
+ const X = at(ei());
1212
+ function ti(t) {
1213
1213
  if (t !== X.get() && (X.set(t), typeof window < "u")) {
1214
1214
  try {
1215
1215
  window.localStorage?.setItem("ds-one:theme", t);
@@ -1233,16 +1233,16 @@ if (typeof window < "u") {
1233
1233
  */
1234
1234
  const oe = globalThis, ot = oe.ShadowRoot && (oe.ShadyCSS === void 0 || oe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, st = Symbol(), Tt = /* @__PURE__ */ new WeakMap();
1235
1235
  let Xt = class {
1236
- constructor(e, r, a) {
1237
- if (this._$cssResult$ = !0, a !== st) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1236
+ constructor(e, r, i) {
1237
+ if (this._$cssResult$ = !0, i !== st) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1238
1238
  this.cssText = e, this.t = r;
1239
1239
  }
1240
1240
  get styleSheet() {
1241
1241
  let e = this.o;
1242
1242
  const r = this.t;
1243
1243
  if (ot && e === void 0) {
1244
- const a = r !== void 0 && r.length === 1;
1245
- a && (e = Tt.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), a && Tt.set(r, e));
1244
+ const i = r !== void 0 && r.length === 1;
1245
+ i && (e = Tt.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && Tt.set(r, e));
1246
1246
  }
1247
1247
  return e;
1248
1248
  }
@@ -1251,21 +1251,21 @@ let Xt = class {
1251
1251
  }
1252
1252
  };
1253
1253
  const x = (t) => new Xt(typeof t == "string" ? t : t + "", void 0, st), lt = (t, ...e) => {
1254
- const r = t.length === 1 ? t[0] : e.reduce(((a, i, n) => a + ((o) => {
1254
+ const r = t.length === 1 ? t[0] : e.reduce(((i, a, n) => i + ((o) => {
1255
1255
  if (o._$cssResult$ === !0) return o.cssText;
1256
1256
  if (typeof o == "number") return o;
1257
1257
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1258
- })(i) + t[n + 1]), t[0]);
1258
+ })(a) + t[n + 1]), t[0]);
1259
1259
  return new Xt(r, t, st);
1260
- }, ra = (t, e) => {
1260
+ }, ri = (t, e) => {
1261
1261
  if (ot) t.adoptedStyleSheets = e.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet));
1262
1262
  else for (const r of e) {
1263
- const a = document.createElement("style"), i = oe.litNonce;
1264
- i !== void 0 && a.setAttribute("nonce", i), a.textContent = r.cssText, t.appendChild(a);
1263
+ const i = document.createElement("style"), a = oe.litNonce;
1264
+ a !== void 0 && i.setAttribute("nonce", a), i.textContent = r.cssText, t.appendChild(i);
1265
1265
  }
1266
1266
  }, Nt = ot ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
1267
1267
  let r = "";
1268
- for (const a of e.cssRules) r += a.cssText;
1268
+ for (const i of e.cssRules) r += i.cssText;
1269
1269
  return x(r);
1270
1270
  })(t) : t;
1271
1271
  /**
@@ -1273,10 +1273,10 @@ const x = (t) => new Xt(typeof t == "string" ? t : t + "", void 0, st), lt = (t,
1273
1273
  * Copyright 2017 Google LLC
1274
1274
  * SPDX-License-Identifier: BSD-3-Clause
1275
1275
  */
1276
- const { is: aa, defineProperty: ia, getOwnPropertyDescriptor: na, getOwnPropertyNames: oa, getOwnPropertySymbols: sa, getPrototypeOf: la } = Object, A = globalThis, Zt = A.trustedTypes, da = Zt ? Zt.emptyScript : "", ca = A.reactiveElementPolyfillSupport, q = (t, e) => t, Ne = { toAttribute(t, e) {
1276
+ const { is: ii, defineProperty: ai, getOwnPropertyDescriptor: ni, getOwnPropertyNames: oi, getOwnPropertySymbols: si, getPrototypeOf: li } = Object, A = globalThis, Zt = A.trustedTypes, di = Zt ? Zt.emptyScript : "", ci = A.reactiveElementPolyfillSupport, q = (t, e) => t, Ne = { toAttribute(t, e) {
1277
1277
  switch (e) {
1278
1278
  case Boolean:
1279
- t = t ? da : null;
1279
+ t = t ? di : null;
1280
1280
  break;
1281
1281
  case Object:
1282
1282
  case Array:
@@ -1301,7 +1301,7 @@ const { is: aa, defineProperty: ia, getOwnPropertyDescriptor: na, getOwnProperty
1301
1301
  }
1302
1302
  }
1303
1303
  return r;
1304
- } }, Qt = (t, e) => !aa(t, e), zt = { attribute: !0, type: String, converter: Ne, reflect: !1, useDefault: !1, hasChanged: Qt };
1304
+ } }, Qt = (t, e) => !ii(t, e), zt = { attribute: !0, type: String, converter: Ne, reflect: !1, useDefault: !1, hasChanged: Qt };
1305
1305
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), A.litPropertyMetadata ?? (A.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1306
1306
  class Z extends HTMLElement {
1307
1307
  static addInitializer(e) {
@@ -1312,19 +1312,19 @@ class Z extends HTMLElement {
1312
1312
  }
1313
1313
  static createProperty(e, r = zt) {
1314
1314
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(e, r), !r.noAccessor) {
1315
- const a = Symbol(), i = this.getPropertyDescriptor(e, a, r);
1316
- i !== void 0 && ia(this.prototype, e, i);
1315
+ const i = Symbol(), a = this.getPropertyDescriptor(e, i, r);
1316
+ a !== void 0 && ai(this.prototype, e, a);
1317
1317
  }
1318
1318
  }
1319
- static getPropertyDescriptor(e, r, a) {
1320
- const { get: i, set: n } = na(this.prototype, e) ?? { get() {
1319
+ static getPropertyDescriptor(e, r, i) {
1320
+ const { get: a, set: n } = ni(this.prototype, e) ?? { get() {
1321
1321
  return this[r];
1322
1322
  }, set(o) {
1323
1323
  this[r] = o;
1324
1324
  } };
1325
- return { get: i, set(o) {
1326
- const s = i?.call(this);
1327
- n?.call(this, o), this.requestUpdate(e, s, a);
1325
+ return { get: a, set(o) {
1326
+ const s = a?.call(this);
1327
+ n?.call(this, o), this.requestUpdate(e, s, i);
1328
1328
  }, configurable: !0, enumerable: !0 };
1329
1329
  }
1330
1330
  static getPropertyOptions(e) {
@@ -1332,38 +1332,38 @@ class Z extends HTMLElement {
1332
1332
  }
1333
1333
  static _$Ei() {
1334
1334
  if (this.hasOwnProperty(q("elementProperties"))) return;
1335
- const e = la(this);
1335
+ const e = li(this);
1336
1336
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1337
1337
  }
1338
1338
  static finalize() {
1339
1339
  if (this.hasOwnProperty(q("finalized"))) return;
1340
1340
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(q("properties"))) {
1341
- const r = this.properties, a = [...oa(r), ...sa(r)];
1342
- for (const i of a) this.createProperty(i, r[i]);
1341
+ const r = this.properties, i = [...oi(r), ...si(r)];
1342
+ for (const a of i) this.createProperty(a, r[a]);
1343
1343
  }
1344
1344
  const e = this[Symbol.metadata];
1345
1345
  if (e !== null) {
1346
1346
  const r = litPropertyMetadata.get(e);
1347
- if (r !== void 0) for (const [a, i] of r) this.elementProperties.set(a, i);
1347
+ if (r !== void 0) for (const [i, a] of r) this.elementProperties.set(i, a);
1348
1348
  }
1349
1349
  this._$Eh = /* @__PURE__ */ new Map();
1350
- for (const [r, a] of this.elementProperties) {
1351
- const i = this._$Eu(r, a);
1352
- i !== void 0 && this._$Eh.set(i, r);
1350
+ for (const [r, i] of this.elementProperties) {
1351
+ const a = this._$Eu(r, i);
1352
+ a !== void 0 && this._$Eh.set(a, r);
1353
1353
  }
1354
1354
  this.elementStyles = this.finalizeStyles(this.styles);
1355
1355
  }
1356
1356
  static finalizeStyles(e) {
1357
1357
  const r = [];
1358
1358
  if (Array.isArray(e)) {
1359
- const a = new Set(e.flat(1 / 0).reverse());
1360
- for (const i of a) r.unshift(Nt(i));
1359
+ const i = new Set(e.flat(1 / 0).reverse());
1360
+ for (const a of i) r.unshift(Nt(a));
1361
1361
  } else e !== void 0 && r.push(Nt(e));
1362
1362
  return r;
1363
1363
  }
1364
1364
  static _$Eu(e, r) {
1365
- const a = r.attribute;
1366
- return a === !1 ? void 0 : typeof a == "string" ? a : typeof e == "string" ? e.toLowerCase() : void 0;
1365
+ const i = r.attribute;
1366
+ return i === !1 ? void 0 : typeof i == "string" ? i : typeof e == "string" ? e.toLowerCase() : void 0;
1367
1367
  }
1368
1368
  constructor() {
1369
1369
  super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
@@ -1379,12 +1379,12 @@ class Z extends HTMLElement {
1379
1379
  }
1380
1380
  _$E_() {
1381
1381
  const e = /* @__PURE__ */ new Map(), r = this.constructor.elementProperties;
1382
- for (const a of r.keys()) this.hasOwnProperty(a) && (e.set(a, this[a]), delete this[a]);
1382
+ for (const i of r.keys()) this.hasOwnProperty(i) && (e.set(i, this[i]), delete this[i]);
1383
1383
  e.size > 0 && (this._$Ep = e);
1384
1384
  }
1385
1385
  createRenderRoot() {
1386
1386
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1387
- return ra(e, this.constructor.elementStyles), e;
1387
+ return ri(e, this.constructor.elementStyles), e;
1388
1388
  }
1389
1389
  connectedCallback() {
1390
1390
  this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), this._$EO?.forEach(((e) => e.hostConnected?.()));
@@ -1394,35 +1394,35 @@ class Z extends HTMLElement {
1394
1394
  disconnectedCallback() {
1395
1395
  this._$EO?.forEach(((e) => e.hostDisconnected?.()));
1396
1396
  }
1397
- attributeChangedCallback(e, r, a) {
1398
- this._$AK(e, a);
1397
+ attributeChangedCallback(e, r, i) {
1398
+ this._$AK(e, i);
1399
1399
  }
1400
1400
  _$ET(e, r) {
1401
- const a = this.constructor.elementProperties.get(e), i = this.constructor._$Eu(e, a);
1402
- if (i !== void 0 && a.reflect === !0) {
1403
- const n = (a.converter?.toAttribute !== void 0 ? a.converter : Ne).toAttribute(r, a.type);
1404
- this._$Em = e, n == null ? this.removeAttribute(i) : this.setAttribute(i, n), this._$Em = null;
1401
+ const i = this.constructor.elementProperties.get(e), a = this.constructor._$Eu(e, i);
1402
+ if (a !== void 0 && i.reflect === !0) {
1403
+ const n = (i.converter?.toAttribute !== void 0 ? i.converter : Ne).toAttribute(r, i.type);
1404
+ this._$Em = e, n == null ? this.removeAttribute(a) : this.setAttribute(a, n), this._$Em = null;
1405
1405
  }
1406
1406
  }
1407
1407
  _$AK(e, r) {
1408
- const a = this.constructor, i = a._$Eh.get(e);
1409
- if (i !== void 0 && this._$Em !== i) {
1410
- const n = a.getPropertyOptions(i), o = typeof n.converter == "function" ? { fromAttribute: n.converter } : n.converter?.fromAttribute !== void 0 ? n.converter : Ne;
1411
- this._$Em = i;
1408
+ const i = this.constructor, a = i._$Eh.get(e);
1409
+ if (a !== void 0 && this._$Em !== a) {
1410
+ const n = i.getPropertyOptions(a), o = typeof n.converter == "function" ? { fromAttribute: n.converter } : n.converter?.fromAttribute !== void 0 ? n.converter : Ne;
1411
+ this._$Em = a;
1412
1412
  const s = o.fromAttribute(r, n.type);
1413
- this[i] = s ?? this._$Ej?.get(i) ?? s, this._$Em = null;
1413
+ this[a] = s ?? this._$Ej?.get(a) ?? s, this._$Em = null;
1414
1414
  }
1415
1415
  }
1416
- requestUpdate(e, r, a) {
1416
+ requestUpdate(e, r, i) {
1417
1417
  if (e !== void 0) {
1418
- const i = this.constructor, n = this[e];
1419
- if (a ?? (a = i.getPropertyOptions(e)), !((a.hasChanged ?? Qt)(n, r) || a.useDefault && a.reflect && n === this._$Ej?.get(e) && !this.hasAttribute(i._$Eu(e, a)))) return;
1420
- this.C(e, r, a);
1418
+ const a = this.constructor, n = this[e];
1419
+ if (i ?? (i = a.getPropertyOptions(e)), !((i.hasChanged ?? Qt)(n, r) || i.useDefault && i.reflect && n === this._$Ej?.get(e) && !this.hasAttribute(a._$Eu(e, i)))) return;
1420
+ this.C(e, r, i);
1421
1421
  }
1422
1422
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
1423
1423
  }
1424
- C(e, r, { useDefault: a, reflect: i, wrapped: n }, o) {
1425
- a && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(e) && (this._$Ej.set(e, o ?? r ?? this[e]), n !== !0 || o !== void 0) || (this._$AL.has(e) || (this.hasUpdated || a || (r = void 0), this._$AL.set(e, r)), i === !0 && this._$Em !== e && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(e));
1424
+ C(e, r, { useDefault: i, reflect: a, wrapped: n }, o) {
1425
+ i && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(e) && (this._$Ej.set(e, o ?? r ?? this[e]), n !== !0 || o !== void 0) || (this._$AL.has(e) || (this.hasUpdated || i || (r = void 0), this._$AL.set(e, r)), a === !0 && this._$Em !== e && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(e));
1426
1426
  }
1427
1427
  async _$EP() {
1428
1428
  this.isUpdatePending = !0;
@@ -1441,21 +1441,21 @@ class Z extends HTMLElement {
1441
1441
  if (!this.isUpdatePending) return;
1442
1442
  if (!this.hasUpdated) {
1443
1443
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
1444
- for (const [i, n] of this._$Ep) this[i] = n;
1444
+ for (const [a, n] of this._$Ep) this[a] = n;
1445
1445
  this._$Ep = void 0;
1446
1446
  }
1447
- const a = this.constructor.elementProperties;
1448
- if (a.size > 0) for (const [i, n] of a) {
1449
- const { wrapped: o } = n, s = this[i];
1450
- o !== !0 || this._$AL.has(i) || s === void 0 || this.C(i, void 0, n, s);
1447
+ const i = this.constructor.elementProperties;
1448
+ if (i.size > 0) for (const [a, n] of i) {
1449
+ const { wrapped: o } = n, s = this[a];
1450
+ o !== !0 || this._$AL.has(a) || s === void 0 || this.C(a, void 0, n, s);
1451
1451
  }
1452
1452
  }
1453
1453
  let e = !1;
1454
1454
  const r = this._$AL;
1455
1455
  try {
1456
- e = this.shouldUpdate(r), e ? (this.willUpdate(r), this._$EO?.forEach(((a) => a.hostUpdate?.())), this.update(r)) : this._$EM();
1457
- } catch (a) {
1458
- throw e = !1, this._$EM(), a;
1456
+ e = this.shouldUpdate(r), e ? (this.willUpdate(r), this._$EO?.forEach(((i) => i.hostUpdate?.())), this.update(r)) : this._$EM();
1457
+ } catch (i) {
1458
+ throw e = !1, this._$EM(), i;
1459
1459
  }
1460
1460
  e && this._$AE(r);
1461
1461
  }
@@ -1484,7 +1484,7 @@ class Z extends HTMLElement {
1484
1484
  firstUpdated(e) {
1485
1485
  }
1486
1486
  }
1487
- Z.elementStyles = [], Z.shadowRootOptions = { mode: "open" }, Z[q("elementProperties")] = /* @__PURE__ */ new Map(), Z[q("finalized")] = /* @__PURE__ */ new Map(), ca?.({ ReactiveElement: Z }), (A.reactiveElementVersions ?? (A.reactiveElementVersions = [])).push("2.1.1");
1487
+ Z.elementStyles = [], Z.shadowRootOptions = { mode: "open" }, Z[q("elementProperties")] = /* @__PURE__ */ new Map(), Z[q("finalized")] = /* @__PURE__ */ new Map(), ci?.({ ReactiveElement: Z }), (A.reactiveElementVersions ?? (A.reactiveElementVersions = [])).push("2.1.1");
1488
1488
  /**
1489
1489
  * @license
1490
1490
  * Copyright 2017 Google LLC
@@ -1502,7 +1502,7 @@ class f extends Z {
1502
1502
  }
1503
1503
  update(e) {
1504
1504
  const r = this.render();
1505
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Pr(r, this.renderRoot, this.renderOptions);
1505
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Br(r, this.renderRoot, this.renderOptions);
1506
1506
  }
1507
1507
  connectedCallback() {
1508
1508
  super.connectedCallback(), this._$Do?.setConnected(!0);
@@ -1515,10 +1515,10 @@ class f extends Z {
1515
1515
  }
1516
1516
  }
1517
1517
  f._$litElement$ = !0, f.finalized = !0, W.litElementHydrateSupport?.({ LitElement: f });
1518
- const ha = W.litElementPolyfillSupport;
1519
- ha?.({ LitElement: f });
1518
+ const hi = W.litElementPolyfillSupport;
1519
+ hi?.({ LitElement: f });
1520
1520
  (W.litElementVersions ?? (W.litElementVersions = [])).push("4.2.1");
1521
- const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-start;height:calc(16px * var(--sf));font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:calc(var(--type-lineheight-default) * var(--sf));letter-spacing:calc(var(--type-letterspacing-default) * var(--sf));text-align:left;text-transform:var(--text-transform-default);text-decoration:var(--text-decoration-default);vertical-align:middle;white-space:nowrap}:host([data-language="ja"]){font-family:var(--typeface-regular-jp)}:host([data-language="zh"]),:host([data-language="zh-hant"]){font-family:var(--typeface-regular-zh-hant);font-weight:800}:host([data-language="zh-hans"]){font-family:var(--typeface-regular-zh-hans);font-weight:800}', dt = class dt extends f {
1521
+ const ui = ':host{display:inline-flex;align-items:center;justify-content:flex-start;height:calc(16px * var(--sf));font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:calc(var(--type-lineheight-default) * var(--sf));letter-spacing:calc(var(--type-letterspacing-default) * var(--sf));text-align:left;text-transform:var(--text-transform-default);text-decoration:var(--text-decoration-default);vertical-align:middle;white-space:nowrap}:host([data-language="ja"]){font-family:var(--typeface-regular-jp)}:host([data-language="zh"]),:host([data-language="zh-hant"]){font-family:var(--typeface-regular-zh-hant);font-weight:800}:host([data-language="zh-hans"]){font-family:var(--typeface-regular-zh-hans);font-weight:800}', dt = class dt extends f {
1522
1522
  static get properties() {
1523
1523
  return {
1524
1524
  text: { type: String, reflect: !0 },
@@ -1554,14 +1554,14 @@ const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-st
1554
1554
  super.updated(e), e.has("text") && this._loadText();
1555
1555
  }
1556
1556
  _updateLanguageAttribute() {
1557
- const r = (this._currentLanguage || L.value || "").toLowerCase().split(/[-_]/).filter(Boolean), a = r[0] || "";
1558
- if (a === "ja") {
1557
+ const r = (this._currentLanguage || L.value || "").toLowerCase().split(/[-_]/).filter(Boolean), i = r[0] || "";
1558
+ if (i === "ja") {
1559
1559
  this.setAttribute("data-language", "ja");
1560
1560
  return;
1561
1561
  }
1562
- if (a === "zh") {
1563
- const i = r.includes("hans") || r.includes("cn") || r.includes("sg"), n = r.includes("hant") || r.includes("tw") || r.includes("hk") || r.includes("mo");
1564
- i ? this.setAttribute("data-language", "zh-hans") : n ? this.setAttribute("data-language", "zh-hant") : this.setAttribute("data-language", "zh");
1562
+ if (i === "zh") {
1563
+ const a = r.includes("hans") || r.includes("cn") || r.includes("sg"), n = r.includes("hant") || r.includes("tw") || r.includes("hk") || r.includes("mo");
1564
+ a ? this.setAttribute("data-language", "zh-hans") : n ? this.setAttribute("data-language", "zh-hant") : this.setAttribute("data-language", "zh");
1565
1565
  return;
1566
1566
  }
1567
1567
  this.removeAttribute("data-language");
@@ -1583,10 +1583,10 @@ const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-st
1583
1583
  return l`<span>${this._text || this.text}</span>`;
1584
1584
  }
1585
1585
  };
1586
- dt.styles = x(ua);
1586
+ dt.styles = x(ui);
1587
1587
  let Ze = dt;
1588
1588
  customElements.define("ds-text", Ze);
1589
- const pa = ":host{display:inline-flex;min-width:0;flex:0 1 auto;max-width:100%;overflow:hidden}button{max-height:calc(var(--08) * var(--sf));height:calc(var(--08) * var(--sf));min-height:calc(var(--08) * var(--sf));width:100%;max-width:100%;min-width:0;display:inline-flex;align-items:center;justify-content:flex-start;border:none;cursor:pointer;padding:0;color:var(--button-color, var(--button-text-color));font-family:var(--typeface-regular);-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background-color:transparent;text-decoration:none}button ds-text,button ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;text-align:left;justify-content:flex-start}button[primary]{background-color:var(--accent-color);color:var(--button-text-color);text-decoration-line:none;font-family:var(--typeface-regular);padding:0 calc(.5px * var(--sf))}button[secondary]{background-color:var(--button-background-color-secondary);color:var(--button-text-color);font-family:var(--typeface-regular);padding:0 calc(.5px * var(--sf))}.loading{opacity:.7}", de = class de extends f {
1589
+ const pi = ":host{display:inline-flex;min-width:0;flex:0 1 auto;max-width:100%;overflow:hidden}button{max-height:calc(var(--08) * var(--sf));height:calc(var(--08) * var(--sf));min-height:calc(var(--08) * var(--sf));width:100%;max-width:100%;min-width:0;display:inline-flex;align-items:center;justify-content:flex-start;border:none;cursor:pointer;padding:0;color:var(--button-color, var(--button-text-color));font-family:var(--typeface-regular);-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background-color:transparent;text-decoration:none}button ds-text,button ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;text-align:left;justify-content:flex-start}button[primary]{background-color:var(--accent-color);color:var(--button-text-color);text-decoration-line:none;font-family:var(--typeface-regular);padding:0 calc(.5px * var(--sf))}button[secondary]{background-color:var(--button-background-color-secondary);color:var(--button-text-color);font-family:var(--typeface-regular);padding:0 calc(.5px * var(--sf))}.loading{opacity:.7}", de = class de extends f {
1590
1590
  constructor() {
1591
1591
  super(), this.primary = !1, this.secondary = !1, this.disabled = !1, this.blank = !1, this.language = "en-US", this.text = "", this.href = "", this._loading = !1;
1592
1592
  }
@@ -1626,10 +1626,10 @@ de.properties = {
1626
1626
  text: { type: String },
1627
1627
  href: { type: String },
1628
1628
  _loading: { type: Boolean, state: !0 }
1629
- }, de.styles = x(pa);
1629
+ }, de.styles = x(pi);
1630
1630
  let ze = de;
1631
1631
  customElements.define("ds-button", ze);
1632
- const ga = ':host{display:flex;position:absolute;top:0;left:0;right:0;width:100%;height:calc(var(--unit) * var(--sf, 1));align-items:center;justify-content:space-between;padding:0 calc(var(--unit) * var(--sf, 1));box-sizing:border-box;z-index:9999}:host([variant="warning"]){background-color:color-mix(in srgb,var(--yellow) 50%,transparent);--banner-text-color: color-mix(in srgb, var(--black) 50%, transparent);--banner-action-color: var(--slate)}:host([variant="info"]){background-color:rgba(var(--sharp-blue-rgb, 0, 122, 255),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--white, #fff)}:host([variant="success"]){background-color:rgba(var(--apple-green-rgb, 52, 199, 89),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--white, #fff)}:host([variant="error"]){background-color:rgba(var(--tuned-red-rgb, 255, 59, 48),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--slate, #1e1e1e)}.text-wrapper{flex:1;cursor:pointer;user-select:none}.text-wrapper ds-text,.text-wrapper .version{color:var(--banner-text-color)}.action-wrapper{font-size:calc(12px * var(--sf, 1))}.action-wrapper a{color:var(--banner-action-color);text-decoration:none;font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));cursor:pointer;pointer-events:auto;display:inline-block}.action-wrapper a:hover{opacity:.8}.action-wrapper ds-text{color:var(--banner-action-color);font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));pointer-events:none}', ce = class ce extends f {
1632
+ const gi = ':host{display:flex;position:absolute;top:0;left:0;right:0;width:100%;height:calc(var(--unit) * var(--sf, 1));align-items:center;justify-content:space-between;padding:0 calc(var(--unit) * var(--sf, 1));box-sizing:border-box;z-index:9999}:host([variant="warning"]){background-color:color-mix(in srgb,var(--yellow) 50%,transparent);--banner-text-color: color-mix(in srgb, var(--black) 50%, transparent);--banner-action-color: var(--slate)}:host([variant="info"]){background-color:rgba(var(--sharp-blue-rgb, 0, 122, 255),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--white, #fff)}:host([variant="success"]){background-color:rgba(var(--apple-green-rgb, 52, 199, 89),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--white, #fff)}:host([variant="error"]){background-color:rgba(var(--tuned-red-rgb, 255, 59, 48),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--slate, #1e1e1e)}.text-wrapper{flex:1;cursor:pointer;user-select:none}.text-wrapper ds-text,.text-wrapper .version{color:var(--banner-text-color)}.action-wrapper{font-size:calc(12px * var(--sf, 1))}.action-wrapper a{color:var(--banner-action-color);text-decoration:none;font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));cursor:pointer;pointer-events:auto;display:inline-block}.action-wrapper a:hover{opacity:.8}.action-wrapper ds-text{color:var(--banner-action-color);font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));pointer-events:none}', ce = class ce extends f {
1633
1633
  constructor() {
1634
1634
  super(...arguments), this.text = "", this.action = "", this.href = "", this.mailto = "", this.subject = "", this.describe = "", this.appVersion = "", this.variant = "warning", this.version = "", this._showVersion = !1, this._boundUpdate = () => this.requestUpdate();
1635
1635
  }
@@ -1646,11 +1646,11 @@ const ga = ':host{display:flex;position:absolute;top:0;left:0;right:0;width:100%
1646
1646
  if (this.href && this.href !== "#") return this.href;
1647
1647
  if (this.mailto)
1648
1648
  try {
1649
- const e = this.subject ? ne(this.subject) || this.subject : "Issue report", r = this.describe ? ne(this.describe) || this.describe : "Describe the issue:", a = this.appVersion ? ne(this.appVersion) || this.appVersion : "App version:", i = `${r}
1649
+ const e = this.subject ? ne(this.subject) || this.subject : "Issue report", r = this.describe ? ne(this.describe) || this.describe : "Describe the issue:", i = this.appVersion ? ne(this.appVersion) || this.appVersion : "App version:", a = `${r}
1650
1650
 
1651
1651
 
1652
- ${a} ${this.version || ""}`;
1653
- return `mailto:${this.mailto}?subject=${encodeURIComponent(e)}&body=${encodeURIComponent(i)}`;
1652
+ ${i} ${this.version || ""}`;
1653
+ return `mailto:${this.mailto}?subject=${encodeURIComponent(e)}&body=${encodeURIComponent(a)}`;
1654
1654
  } catch {
1655
1655
  return `mailto:${this.mailto}?subject=Issue%20report&body=Describe%20the%20issue%3A%0A%0A%0AApp%20version%3A%20${this.version || ""}`;
1656
1656
  }
@@ -1683,7 +1683,7 @@ ce.properties = {
1683
1683
  variant: { type: String },
1684
1684
  version: { type: String },
1685
1685
  _showVersion: { type: Boolean, state: !0 }
1686
- }, ce.styles = x(ga);
1686
+ }, ce.styles = x(gi);
1687
1687
  let Ie = ce;
1688
1688
  customElements.define("ds-banner", Ie);
1689
1689
  const he = class he extends f {
@@ -1802,7 +1802,7 @@ customElements.define("ds-card", Oe);
1802
1802
  * Copyright 2017 Google LLC
1803
1803
  * SPDX-License-Identifier: BSD-3-Clause
1804
1804
  */
1805
- class Pe extends Ar {
1805
+ class Be extends Ar {
1806
1806
  constructor(e) {
1807
1807
  if (super(e), this.it = w, e.type !== $r.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1808
1808
  }
@@ -1816,8 +1816,8 @@ class Pe extends Ar {
1816
1816
  return r.raw = r, this._t = { _$litType$: this.constructor.resultType, strings: r, values: [] };
1817
1817
  }
1818
1818
  }
1819
- Pe.directiveName = "unsafeHTML", Pe.resultType = 1;
1820
- const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-items:center;width:calc(14px * var(--sf, 1));height:calc(14px * var(--sf, 1));color:var(--icon-color, currentColor);background:transparent}:host([variant="glyph"]),:host(:not([variant])){color:var(--icon-color, currentColor);background:transparent}:host([variant="primary"]){color:var(--icon-color, var(--button-text-color, currentColor));background:var(--accent-color)}:host([variant="secondary"]){color:var(--icon-color, var(--icon-color, currentColor));background:var( --icon-background, light-dark(var(--slate-light, #e6e6e6), var(--slate-dark, #3c3c3c)) )}svg{display:block;width:calc(14px * var(--sf, 1));height:calc(14px * var(--sf, 1))}', ma = {
1819
+ Be.directiveName = "unsafeHTML", Be.resultType = 1;
1820
+ const vi = _r(Be), fi = ':host{display:inline-flex;justify-content:center;align-items:center;width:calc(14px * var(--sf, 1));height:calc(14px * var(--sf, 1));color:var(--icon-color, currentColor);background:transparent}:host([variant="glyph"]),:host(:not([variant])){color:var(--icon-color, currentColor);background:transparent}:host([variant="primary"]){color:var(--icon-color, var(--button-text-color, currentColor));background:var(--accent-color)}:host([variant="secondary"]){color:var(--icon-color, var(--icon-color, currentColor));background:var( --icon-background, light-dark(var(--slate-light, #e6e6e6), var(--slate-dark, #3c3c3c)) )}svg{display:block;width:calc(14px * var(--sf, 1));height:calc(14px * var(--sf, 1))}', mi = {
1821
1821
  "1x": `<svg width="9" height="8" viewBox="0 0 9 8" fill="none" xmlns="http://www.w3.org/2000/svg">
1822
1822
  <path d="M2.20008 2.1176C1.96088 2.3776 1.48248 2.5024 1.09768 2.5024H0.848083V1.4H1.01448C1.68008 1.4 2.21048 1.0464 2.41848 0.307999H3.39608V7.692H2.20008V2.1176Z" fill="#2A2A2A"/>
1823
1823
  <path d="M4.27992 7.692L5.81912 4.9776L4.39432 2.492H5.68392L6.30792 3.7816C6.41192 3.9896 6.48472 4.1456 6.52632 4.312H6.54712C6.57832 4.156 6.65112 3.9792 6.75512 3.7712L7.33752 2.492H8.60632L7.21272 5.0088L8.75192 7.692H7.44152L6.72392 6.2672C6.61992 6.0592 6.53672 5.872 6.50552 5.7368H6.48472C6.45352 5.8512 6.37032 6.0488 6.25592 6.2672L5.53832 7.692H4.27992Z" fill="#2A2A2A"/>
@@ -1945,6 +1945,9 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
1945
1945
  </svg>`,
1946
1946
  email: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="11" viewBox="0 0 16 11" fill="none">
1947
1947
  <path fill-rule="evenodd" clip-rule="evenodd" d="M14.0871 0.989435L0.930906 0.988037L0.930542 11L13.0753 11H14.0871V0.989435ZM7.50709 8.0566L1.94249 2.49201L1.94248 9.98814H13.0753V2.48839L7.50709 8.0566ZM2.85116 2L7.50709 6.65593L12.1515 1.99952L2.85116 2Z" fill="currentColor"/>
1948
+ </svg>`,
1949
+ exercise: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1950
+ <path d="M9.11131 4.50523C8.89226 4.50523 8.69548 4.45325 8.52098 4.3493C8.34648 4.24163 8.20539 4.10054 8.09772 3.92604C7.99377 3.75154 7.94179 3.55662 7.94179 3.34128C7.94179 3.12594 7.99377 2.93102 8.09772 2.75652C8.20539 2.5783 8.34648 2.43722 8.52098 2.33326C8.69548 2.2293 8.89226 2.17732 9.11131 2.17732C9.32665 2.17732 9.52157 2.2293 9.69607 2.33326C9.87057 2.43722 10.0098 2.5783 10.1138 2.75652C10.2214 2.93102 10.2753 3.12594 10.2753 3.34128C10.2753 3.55662 10.2214 3.75154 10.1138 3.92604C10.0098 4.10054 9.87057 4.24163 9.69607 4.3493C9.52157 4.45325 9.32665 4.50523 9.11131 4.50523ZM7.29019 9.12207C7.13797 9.03668 6.98389 8.94386 6.82795 8.84361C6.67202 8.73965 6.55692 8.60228 6.48267 8.43149C6.40841 8.25699 6.41584 8.01938 6.50494 7.71864L6.9282 6.19269C6.9579 6.09616 6.94305 6.0219 6.88365 5.96992C6.82424 5.91794 6.7537 5.89567 6.67202 5.90309L5.93132 5.95322L5.70855 7.49031C5.66029 7.83559 5.48022 7.99524 5.16834 7.96925C5.01983 7.9544 4.90659 7.89314 4.82862 7.78547C4.75066 7.67409 4.72281 7.53486 4.74509 7.36778L5.00127 5.47984C5.01983 5.3239 5.07738 5.19952 5.17391 5.1067C5.27044 5.01388 5.39482 4.9619 5.54705 4.95077L7.40715 4.82268C7.89723 4.78555 8.30193 4.83753 8.62123 4.97861C8.94052 5.11598 9.22084 5.34989 9.46217 5.68033L10.3755 6.94453L11.701 6.3542C11.8495 6.28737 11.985 6.27251 12.1075 6.30964C12.2338 6.34677 12.3284 6.43402 12.3915 6.57139C12.4584 6.70877 12.4658 6.83871 12.4138 6.96123C12.3618 7.08376 12.2597 7.17843 12.1075 7.24526L10.4256 7.9971C10.3143 8.04908 10.1992 8.05836 10.0803 8.02495C9.96525 7.99153 9.87429 7.92284 9.80746 7.81889L9.21713 6.9668C9.16143 6.88512 9.09089 6.84985 9.0055 6.86099C8.9201 6.87213 8.86441 6.92596 8.83842 7.0225L8.44301 8.38137L10.4312 9.68456C10.5834 9.7848 10.6688 9.9296 10.6874 10.119C10.7059 10.3083 10.6503 10.4568 10.5203 10.5645L8.69362 12.1183C8.54511 12.2445 8.3966 12.3021 8.24809 12.2909C8.10329 12.2835 7.98634 12.2297 7.89723 12.1294C7.81184 12.0292 7.77286 11.9085 7.78028 11.7674C7.78771 11.6226 7.86382 11.4908 8.00862 11.372L9.30066 10.2526L7.29019 9.12207ZM3.73707 13.6999C3.6294 13.6034 3.56814 13.4772 3.55329 13.3212C3.54215 13.1653 3.60712 13.0186 3.74821 12.8813L5.53034 11.1103L6.15409 8.89373C6.25062 9.01997 6.37128 9.13878 6.51608 9.25016C6.66088 9.35783 6.83352 9.46736 7.03401 9.57874L7.2178 9.68456L6.50494 11.5224C6.46039 11.6338 6.42326 11.7117 6.39356 11.7563C6.36386 11.7971 6.31188 11.8547 6.23762 11.9289L4.51675 13.6275C4.38309 13.7575 4.24572 13.8224 4.10463 13.8224C3.96355 13.8262 3.84103 13.7853 3.73707 13.6999Z" fill="currentColor"/>
1948
1951
  </svg>`,
1949
1952
  expand: `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
1950
1953
  <path d="M0 5.81415V0H5.80924L5.81842 0.990424H1.70698L11.0089 10.2943L10.9997 6.18585H12V12H6.19076L6.18158 11.0096H10.293L0.99115 1.70573L1.00033 5.81415H0Z" fill="currentColor"/>
@@ -2015,6 +2018,14 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
2015
2018
  </svg>`,
2016
2019
  left: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="9" viewBox="0 0 16 9" fill="none">
2017
2020
  <path d="M1.90697 3.60594H15.0636V4.61651L1.90734 4.61791L4.81456 7.52513L4.10774 8.21898L-1.23978e-05 4.11123L4.11122 0L4.81855 0.707338L1.90697 3.60594Z" fill="currentColor"/>
2021
+ </svg>`,
2022
+ life: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2023
+ <path d="M3.76595 12.3556L12.2336 12.3556V13.3529L4.76332 13.3529L3.76595 13.3529V12.3556Z" fill="currentColor"/>
2024
+ <path d="M4.76332 13.3529L3.76595 13.3529V7.16597L4.76329 7.16597L4.76332 13.3529Z" fill="currentColor"/>
2025
+ <path d="M12.2336 13.3529H11.2363L11.2363 7.16599L12.2336 7.16597V13.3529Z" fill="currentColor"/>
2026
+ <path d="M11.6251 6.4395H10.6278L10.6278 4.16374L11.6251 4.16372V6.4395Z" fill="currentColor"/>
2027
+ <path d="M7.99993 2.64708L13.4713 8.11835L12.7661 8.82358L7.2947 3.35231L7.99993 2.64708Z" fill="currentColor"/>
2028
+ <path d="M3.23393 8.82358L2.52869 8.11832L7.99993 2.64708L8.70517 3.3523L3.23393 8.82358Z" fill="currentColor"/>
2018
2029
  </svg>`,
2019
2030
  lock: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2020
2031
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8 2.60742C9.53669 2.60746 10.7822 3.85296 10.7822 5.38965V7.64746H11.5996V13.3926H4.40039V7.64746H5.21777V5.38965C5.21779 3.85295 6.4633 2.60744 8 2.60742ZM8 3.62695C7.02663 3.62697 6.23733 4.41628 6.2373 5.38965V7.64746H9.7627V5.38965C9.76267 4.41629 8.97336 3.62699 8 3.62695Z" fill="#1E1E1E"/>
@@ -2057,6 +2068,10 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
2057
2068
  </svg>`,
2058
2069
  row: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2059
2070
  <path d="M3.87698 4.67614L8.01617 0.536957L12.1488 4.66961L11.4503 5.38124L8.5254 2.45639L8.49306 13.5436L11.4114 10.6122L12.123 11.3239L7.98382 15.463L3.85117 11.3304L4.54974 10.6188L7.47459 13.5436L7.50693 2.45639L4.58861 5.38777L3.87698 4.67614Z" fill="#1E1E1E"/>
2071
+ </svg>`,
2072
+ school: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2073
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.48751 11.2972L10.4354 11.2964H5.49535L5.48751 11.2972Z" fill="currentColor"/>
2074
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.49535 13.0423C4.81691 13.0423 4.2588 12.5265 4.19152 11.8658L4.18468 4.00851C4.18468 3.42828 4.65521 2.95775 5.23544 2.95775H10.7646C11.3448 2.95775 11.8153 3.42829 11.8153 4.00851V10.4123C11.8153 10.7646 11.6092 11.0692 11.3109 11.2115V12.1689C11.5526 12.169 11.7527 12.3649 11.7527 12.6066C11.7527 12.8483 11.5526 13.0421 11.3109 13.0423H5.49535ZM5.06017 11.7316C5.06017 11.5214 5.20914 11.3456 5.40729 11.3049L5.48751 11.2972L5.49535 11.2964H10.4354V12.1668H5.49535L5.40729 12.1574C5.20923 12.1167 5.06023 11.9417 5.06017 11.7316ZM10.798 4.09446H5.20187V5.49349H10.798V4.09446Z" fill="currentColor"/>
2060
2075
  </svg>`,
2061
2076
  sdown: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2062
2077
  <path d="M8.50361 11.1717L8.50222 2.92134L7.49165 2.92134L7.49165 11.1713L4.58442 8.26409L3.89058 8.97091L7.99833 13.0787L12.1096 8.96744L11.4022 8.2601L8.50361 11.1717Z" fill="#1E1E1E"/>
@@ -2146,6 +2161,9 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
2146
2161
  </svg>`,
2147
2162
  up: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2148
2163
  <path d="M7.49645 3.48222V16H8.50702L8.50841 3.48259L11.4156 6.38982L12.1095 5.68299L8.00173 1.57524L3.8905 5.68647L4.59784 6.39381L7.49645 3.48222Z" fill="#1E1E1E"/>
2164
+ </svg>`,
2165
+ work: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2166
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M13.8153 4.78289C13.8153 4.20267 13.3448 3.73213 12.7646 3.73213H8H3.23544C2.65521 3.73213 2.18468 4.20267 2.18468 4.78289V7.31419H13.8153L13.8153 4.78289ZM2.18468 8V11.2171C2.18468 11.7973 2.65521 12.2679 3.23544 12.2679H12.7646C13.3448 12.2679 13.8153 11.7973 13.8153 11.2171L13.8153 8L9.33239 7.98014V8.63222C9.33239 8.92233 9.09712 9.1576 8.807 9.1576H8H7.19299C6.90287 9.1576 6.66761 8.92233 6.66761 8.63222V7.98014L2.18468 8Z" fill="currentColor"/>
2149
2167
  </svg>`
2150
2168
  }, ue = class ue extends f {
2151
2169
  constructor() {
@@ -2161,22 +2179,22 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
2161
2179
  render() {
2162
2180
  if (!this._type)
2163
2181
  return l`<slot></slot>`;
2164
- const e = ma[this._type.toLowerCase()];
2165
- return e ? l`${va(e)}` : l`<slot></slot>`;
2182
+ const e = mi[this._type.toLowerCase()];
2183
+ return e ? l`${vi(e)}` : l`<slot></slot>`;
2166
2184
  }
2167
2185
  };
2168
2186
  ue.properties = {
2169
2187
  type: { type: String, reflect: !0 },
2170
2188
  variant: { type: String, reflect: !0 }
2171
- }, ue.styles = x(fa);
2172
- let Be = ue;
2173
- customElements.define("ds-icon", Be);
2174
- const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-flex;align-items:center}", ya = (t) => {
2189
+ }, ue.styles = x(fi);
2190
+ let Pe = ue;
2191
+ customElements.define("ds-icon", Pe);
2192
+ const wi = ":host{display:inline-flex;align-items:center}.cycle{display:inline-flex;align-items:center}", yi = (t) => {
2175
2193
  localStorage.setItem("accentColor", t);
2176
- }, De = () => localStorage.getItem("accentColor") || "--sharp-blue", He = () => {
2194
+ }, De = () => localStorage.getItem("accentColor") || "--sharp-blue", Ve = () => {
2177
2195
  const t = De();
2178
2196
  document.documentElement.style.setProperty("--accent-color", `var(${t})`);
2179
- }, ba = (t) => {
2197
+ }, bi = (t) => {
2180
2198
  localStorage.setItem("notesStyleMedium", t);
2181
2199
  }, It = () => localStorage.getItem("notesStyleMedium") || "note", Ot = (t) => {
2182
2200
  localStorage.setItem("pageStyle", t);
@@ -2224,7 +2242,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2224
2242
  }
2225
2243
  async initializeValues() {
2226
2244
  if (this.type === "language") {
2227
- const e = Ht();
2245
+ const e = Vt();
2228
2246
  this.values = e, this.currentValue = L.value;
2229
2247
  } else if (this.type === "theme") {
2230
2248
  this.values = ["light", "dark"];
@@ -2242,7 +2260,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2242
2260
  "--yellow"
2243
2261
  ];
2244
2262
  const e = De();
2245
- this.currentValue = e, He();
2263
+ this.currentValue = e, Ve();
2246
2264
  } else if (this.type === "notes-style-medium") {
2247
2265
  this.values = ["default", "big", "gallery"];
2248
2266
  const e = It();
@@ -2258,14 +2276,14 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2258
2276
  }
2259
2277
  ensureThemeInitialized() {
2260
2278
  if (!localStorage.getItem("theme")) {
2261
- const a = window.matchMedia(
2279
+ const i = window.matchMedia(
2262
2280
  "(prefers-color-scheme: dark)"
2263
2281
  ).matches ? "dark" : "light";
2264
- localStorage.setItem("theme", a), document.documentElement.classList.add(`${a}-theme`);
2282
+ localStorage.setItem("theme", i), document.documentElement.classList.add(`${i}-theme`);
2265
2283
  }
2266
2284
  }
2267
- attributeChangedCallback(e, r, a) {
2268
- super.attributeChangedCallback(e, r, a), e === "type" && r !== a && this.initializeValues();
2285
+ attributeChangedCallback(e, r, i) {
2286
+ super.attributeChangedCallback(e, r, i), e === "type" && r !== i && this.initializeValues();
2269
2287
  }
2270
2288
  async setupInitialValue() {
2271
2289
  if (this.type === "language") {
@@ -2276,7 +2294,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2276
2294
  this.currentValue = e;
2277
2295
  } else if (this.type === "accent-color") {
2278
2296
  const e = De();
2279
- this.currentValue = e, He();
2297
+ this.currentValue = e, Ve();
2280
2298
  } else if (this.type === "notes-style-medium") {
2281
2299
  const e = It();
2282
2300
  this.currentValue = e;
@@ -2315,43 +2333,43 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2315
2333
  handleButtonClick(e) {
2316
2334
  if (e.preventDefault(), e.stopPropagation(), !this.disabled) {
2317
2335
  if (this.type === "language") {
2318
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2319
- this.currentValue = i, document.startViewTransition ? document.startViewTransition(() => {
2320
- Mt(i);
2321
- }) : Mt(i), N({ language: i }), window.dispatchEvent(
2336
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2337
+ this.currentValue = a, document.startViewTransition ? document.startViewTransition(() => {
2338
+ Mt(a);
2339
+ }) : Mt(a), N({ language: a }), window.dispatchEvent(
2322
2340
  new CustomEvent("language-changed", {
2323
- detail: { language: i }
2341
+ detail: { language: a }
2324
2342
  })
2325
2343
  );
2326
2344
  } else if (this.type === "theme") {
2327
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2328
- this.currentValue = i, ta(i), N({ theme: i });
2345
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2346
+ this.currentValue = a, ti(a), N({ theme: a });
2329
2347
  } else if (this.type === "accent-color") {
2330
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2331
- this.currentValue = i, ya(i), He(), N({ accentColor: i }), window.dispatchEvent(
2348
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2349
+ this.currentValue = a, yi(a), Ve(), N({ accentColor: a }), window.dispatchEvent(
2332
2350
  new CustomEvent("accent-color-changed", {
2333
- detail: { color: i }
2351
+ detail: { color: a }
2334
2352
  })
2335
2353
  );
2336
2354
  } else if (this.type === "notes-style-medium") {
2337
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2338
- this.currentValue = i, ba(i), N({ notesStyleMedium: i }), window.dispatchEvent(
2355
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2356
+ this.currentValue = a, bi(a), N({ notesStyleMedium: a }), window.dispatchEvent(
2339
2357
  new CustomEvent("notes-style-medium-changed", {
2340
- detail: { style: i }
2358
+ detail: { style: a }
2341
2359
  })
2342
2360
  );
2343
2361
  } else if (this.type === "page-style") {
2344
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2345
- this.currentValue = i, Ot(i), N({ pageStyle: i }), window.dispatchEvent(
2362
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2363
+ this.currentValue = a, Ot(a), N({ pageStyle: a }), window.dispatchEvent(
2346
2364
  new CustomEvent("page-style-changed", {
2347
- detail: { behavior: i }
2365
+ detail: { behavior: a }
2348
2366
  })
2349
2367
  );
2350
2368
  } else if (this.type === "icon-only") {
2351
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2352
- this.currentValue = i, Ot(i), N({ pageStyle: i }), window.dispatchEvent(
2369
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2370
+ this.currentValue = a, Ot(a), N({ pageStyle: a }), window.dispatchEvent(
2353
2371
  new CustomEvent("page-style-changed", {
2354
- detail: { behavior: i }
2372
+ detail: { behavior: a }
2355
2373
  })
2356
2374
  );
2357
2375
  }
@@ -2400,7 +2418,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2400
2418
  }[e] || e.replace("--", "").replace("-", " ");
2401
2419
  }
2402
2420
  getColorName(e) {
2403
- const a = {
2421
+ const i = {
2404
2422
  "--tuned-red": "Red",
2405
2423
  "--orange": "Orange",
2406
2424
  "--yellow": "Yellow",
@@ -2410,10 +2428,10 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2410
2428
  "--sharp-blue": "Blue",
2411
2429
  "--pink": "Pink"
2412
2430
  }[e];
2413
- if (a && this.translationsReady) {
2414
- const i = U(a);
2415
- if (i && i !== a)
2416
- return i;
2431
+ if (i && this.translationsReady) {
2432
+ const a = U(i);
2433
+ if (a && a !== i)
2434
+ return a;
2417
2435
  }
2418
2436
  return e.replace("--", "").replace("-", " ");
2419
2437
  }
@@ -2464,7 +2482,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2464
2482
  }
2465
2483
  handleTranslationsLoaded() {
2466
2484
  if (this.translationsReady = !0, this.type === "language") {
2467
- const e = Ht();
2485
+ const e = Vt();
2468
2486
  this.values = e;
2469
2487
  }
2470
2488
  this.setupInitialValue();
@@ -2482,19 +2500,19 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2482
2500
  this.setupInitialValue();
2483
2501
  }
2484
2502
  };
2485
- ct.styles = x(wa);
2503
+ ct.styles = x(wi);
2486
2504
  let Re = ct;
2487
2505
  customElements.define("ds-cycle", Re);
2488
- const xa = ":host{display:inline;font-family:var(--typeface-regular, var(--typeface-regular-regular));font-size:inherit;color:inherit}", ht = class ht extends f {
2506
+ const xi = ":host{display:inline;font-family:var(--typeface-regular, var(--typeface-regular-regular));font-size:inherit;color:inherit}", ht = class ht extends f {
2489
2507
  render() {
2490
2508
  const e = (/* @__PURE__ */ new Date()).getFullYear();
2491
2509
  return l`<span>${e}</span>`;
2492
2510
  }
2493
2511
  };
2494
- ht.styles = x(xa);
2512
+ ht.styles = x(xi);
2495
2513
  let je = ht;
2496
2514
  customElements.define("ds-date", je);
2497
- const Ca = ':host{display:block;width:100%;--gap-size: var(--unit);height:var(--gap-size);flex:0 0 auto}:host([tenth]){--gap-size: var(--tenth)}:host([quarter]){--gap-size: var(--quarter)}:host([half]){--gap-size: var(--half)}:host([eight-tenth]){--gap-size: var(--eight-tenth)}:host([unit]){--gap-size: var(--unit)}:host([double]){--gap-size: var(--double)}:host([triple]){--gap-size: var(--triple)}:host([quad]){--gap-size: var(--quad)}:host([oct]){--gap-size: var(--oct)}:host([dozen]){--gap-size: var(--dozen)}:host([size="01"]){--gap-size: var(--01)}:host([size="025"]){--gap-size: var(--025)}:host([size="05"]){--gap-size: var(--05)}:host([size="08"]){--gap-size: var(--08)}:host([size="1"]){--gap-size: var(--1)}:host([size="2"]){--gap-size: var(--2)}:host([size="3"]){--gap-size: var(--3)}:host([size="4"]){--gap-size: var(--4)}:host([size="8"]){--gap-size: var(--8)}:host([size="12"]){--gap-size: var(--12)}', pe = class pe extends f {
2515
+ const Ci = ':host{display:block;width:100%;--gap-size: var(--unit);height:var(--gap-size);flex:0 0 auto}:host([tenth]){--gap-size: var(--tenth)}:host([quarter]){--gap-size: var(--quarter)}:host([half]){--gap-size: var(--half)}:host([eight-tenth]){--gap-size: var(--eight-tenth)}:host([unit]){--gap-size: var(--unit)}:host([double]){--gap-size: var(--double)}:host([triple]){--gap-size: var(--triple)}:host([quad]){--gap-size: var(--quad)}:host([oct]){--gap-size: var(--oct)}:host([dozen]){--gap-size: var(--dozen)}:host([size="01"]){--gap-size: var(--01)}:host([size="025"]){--gap-size: var(--025)}:host([size="05"]){--gap-size: var(--05)}:host([size="08"]){--gap-size: var(--08)}:host([size="1"]){--gap-size: var(--1)}:host([size="2"]){--gap-size: var(--2)}:host([size="3"]){--gap-size: var(--3)}:host([size="4"]){--gap-size: var(--4)}:host([size="8"]){--gap-size: var(--8)}:host([size="12"]){--gap-size: var(--12)}', pe = class pe extends f {
2498
2516
  constructor() {
2499
2517
  super(), this.size = "";
2500
2518
  }
@@ -2505,10 +2523,10 @@ const Ca = ':host{display:block;width:100%;--gap-size: var(--unit);height:var(--
2505
2523
  pe.properties = {
2506
2524
  /** Raw scale token selector ("01", "025", "05", "08", "1", "2", "3", "4", "8", "12") */
2507
2525
  size: { type: String, reflect: !0 }
2508
- }, pe.styles = x(Ca);
2526
+ }, pe.styles = x(Ci);
2509
2527
  let Ue = pe;
2510
2528
  customElements.define("ds-gap", Ue);
2511
- const La = ':host{display:block;width:100%}.input-wrapper{display:flex;flex-direction:column;gap:calc(var(--025) * var(--sf, 1));width:100%}label{font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));color:var(--text-color-secondary)}.input-container{position:relative;display:flex;align-items:center;width:100%}input{background:var(--base-light-grey, #e8e8e8);border:none;padding:0 calc(2px * var(--sf, 1));font-size:var(--type-size-default);font-family:var(--typeface-regular, "GT-America-Standard-Regular");color:var(--base-darker-grey, #797979);line-height:calc(16px * var(--sf, 1));letter-spacing:calc(-.4px * var(--sf, 1));opacity:.5;height:calc(unit * var(--sf, 1));width:100%;box-sizing:border-box;outline:none;transition:border-color .2s ease,box-shadow .2s ease}input:focus{outline:none;opacity:1;color:var(--base-slate, #1e1e1e)}input::placeholder{color:var(--base-darker-grey, #797979);opacity:.5}input:disabled{cursor:not-allowed;opacity:.5}input:read-only{background-color:var(--input-readonly-background, #fafafa)}:host([variant="filled"]) input{background-color:var( --input-filled-background, var(--surface-color-secondary, #f5f5f5) );border:none;border-bottom:2px solid var(--border-color, #ccc);border-radius:calc(var(--025) * var(--sf, 1)) calc(var(--025) * var(--sf, 1)) 0 0}:host([variant="filled"]) input:focus{border-bottom-color:var(--accent-color, #007aff);box-shadow:none}:host([variant="outlined"]) input{background-color:transparent;border:2px solid var(--border-color, #ccc)}:host([variant="outlined"]) input:focus{border-color:var(--accent-color, #007aff)}.error-message{font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));color:var(--error-color, #ff3b30);margin-top:calc(var(--025) * var(--sf, 1))}:host([required]) label:after{content:" *";color:var(--error-color, #ff3b30)}input.has-error{border-color:var(--error-color, #ff3b30)}input.has-error:focus{box-shadow:0 0 0 2px #ff3b3033}', ge = class ge extends f {
2529
+ const Li = ':host{display:block;width:100%}.input-wrapper{display:flex;flex-direction:column;gap:calc(var(--025) * var(--sf, 1));width:100%}label{font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));color:var(--text-color-secondary)}.input-container{position:relative;display:flex;align-items:center;width:100%}input{background:var(--base-light-grey, #e8e8e8);border:none;padding:0 calc(2px * var(--sf, 1));font-size:var(--type-size-default);font-family:var(--typeface-regular, "GT-America-Standard-Regular");color:var(--base-darker-grey, #797979);line-height:calc(16px * var(--sf, 1));letter-spacing:calc(-.4px * var(--sf, 1));opacity:.5;height:calc(unit * var(--sf, 1));width:100%;box-sizing:border-box;outline:none;transition:border-color .2s ease,box-shadow .2s ease}input:focus{outline:none;opacity:1;color:var(--base-slate, #1e1e1e)}input::placeholder{color:var(--base-darker-grey, #797979);opacity:.5}input:disabled{cursor:not-allowed;opacity:.5}input:read-only{background-color:var(--input-readonly-background, #fafafa)}:host([variant="filled"]) input{background-color:var( --input-filled-background, var(--surface-color-secondary, #f5f5f5) );border:none;border-bottom:2px solid var(--border-color, #ccc);border-radius:calc(var(--025) * var(--sf, 1)) calc(var(--025) * var(--sf, 1)) 0 0}:host([variant="filled"]) input:focus{border-bottom-color:var(--accent-color, #007aff);box-shadow:none}:host([variant="outlined"]) input{background-color:transparent;border:2px solid var(--border-color, #ccc)}:host([variant="outlined"]) input:focus{border-color:var(--accent-color, #007aff)}.error-message{font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));color:var(--error-color, #ff3b30);margin-top:calc(var(--025) * var(--sf, 1))}:host([required]) label:after{content:" *";color:var(--error-color, #ff3b30)}input.has-error{border-color:var(--error-color, #ff3b30)}input.has-error:focus{box-shadow:0 0 0 2px #ff3b3033}', ge = class ge extends f {
2512
2530
  constructor() {
2513
2531
  super(), this.type = "text", this.name = "", this.value = "", this.placeholder = "", this.placeholderKey = "", this.label = "", this.labelText = "", this.disabled = !1, this.readonly = !1, this.required = !1, this.autofocus = !1, this.autocomplete = "off", this.pattern = "", this.minlength = 0, this.maxlength = 0, this.min = "", this.max = "", this.step = "", this.variant = "default", this.error = "", this.errorText = "", this._focused = !1;
2514
2532
  }
@@ -2612,10 +2630,10 @@ ge.properties = {
2612
2630
  error: { type: String },
2613
2631
  errorText: { type: String, attribute: "error-text" },
2614
2632
  _focused: { type: Boolean, state: !0 }
2615
- }, ge.styles = x(La);
2633
+ }, ge.styles = x(Li);
2616
2634
  let qe = ge;
2617
2635
  customElements.define("ds-input", qe);
2618
- const Ea = ':host{position:relative;display:inline-block}.slot-wrapper{display:inline-flex;align-items:center}.bubble{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;bottom:100%;transform:translate(-50%,calc(-2px * var(--sf)));z-index:1000;pointer-events:none;height:calc(var(--08) * var(--sf));opacity:0;transition:opacity .12s ease,transform .12s ease;background-color:light-dark(var(--black),var(--white));color:light-dark(var(--white),var(--black));border-radius:0;font-size:var(--type-size-default);padding:0px calc(1px * var(--sf));font-family:var( --typeface-regular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif );font-weight:500;white-space:nowrap;min-width:max-content}.bubble.visible{opacity:1}', ve = class ve extends f {
2636
+ const Ei = ':host{position:relative;display:inline-block}.slot-wrapper{display:inline-flex;align-items:center}.bubble{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;bottom:100%;transform:translate(-50%,calc(-2px * var(--sf)));z-index:1000;pointer-events:none;height:calc(var(--08) * var(--sf));opacity:0;transition:opacity .12s ease,transform .12s ease;background-color:light-dark(var(--black),var(--white));color:light-dark(var(--white),var(--black));border-radius:0;font-size:var(--type-size-default);padding:0px calc(1px * var(--sf));font-family:var( --typeface-regular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif );font-weight:500;white-space:nowrap;min-width:max-content}.bubble.visible{opacity:1}', ve = class ve extends f {
2619
2637
  constructor() {
2620
2638
  super(), this.text = "", this.defaultValue = "", this._text = "", this._visible = !1, this.boundWindowHandlers = {
2621
2639
  languageChanged: (() => {
@@ -2686,10 +2704,10 @@ ve.properties = {
2686
2704
  defaultValue: { type: String, reflect: !0, attribute: "default-value" },
2687
2705
  _text: { state: !0 },
2688
2706
  _visible: { state: !0 }
2689
- }, ve.styles = x(Ea);
2707
+ }, ve.styles = x(Ei);
2690
2708
  let We = ve;
2691
2709
  customElements.define("ds-tooltip", We);
2692
- const ka = ":host{display:flex;flex-direction:row;align-items:end}:host([fill]){justify-content:space-between;height:calc(var(--1) * var(--sf));width:100%}:host([centered]){justify-content:center;height:calc(var(--1) * var(--sf));gap:calc(var(--025) * var(--sf))}:host([end]){justify-content:flex-end;height:calc(var(--1) * var(--sf));gap:calc(var(--025) * var(--sf))}", fe = class fe extends f {
2710
+ const ki = ":host{display:flex;flex-direction:row;align-items:end}:host([fill]){justify-content:space-between;height:calc(var(--1) * var(--sf));width:100%}:host([centered]){justify-content:center;height:calc(var(--1) * var(--sf));gap:calc(var(--025) * var(--sf))}:host([end]){justify-content:flex-end;height:calc(var(--1) * var(--sf));gap:calc(var(--025) * var(--sf))}", fe = class fe extends f {
2693
2711
  constructor() {
2694
2712
  super(), this.fill = !1, this.centered = !1, this.end = !1;
2695
2713
  }
@@ -2701,18 +2719,18 @@ fe.properties = {
2701
2719
  fill: { type: Boolean, reflect: !0 },
2702
2720
  centered: { type: Boolean, reflect: !0 },
2703
2721
  end: { type: Boolean, reflect: !0 }
2704
- }, fe.styles = x(ka);
2722
+ }, fe.styles = x(ki);
2705
2723
  let Fe = fe;
2706
2724
  customElements.define("ds-row", Fe);
2707
- const $a = ":host{display:block;width:calc(240px * var(--sf));color:var(--text-color-primary)}details{width:100%}summary{cursor:pointer;user-select:none;list-style:none;outline:none}summary::-webkit-details-marker{display:none}.summaryRow{width:100%}ds-icon.chevron{transform:rotate(0);transition:transform .14s ease}details[open] ds-icon.chevron{transform:rotate(180deg)}.detailsBody{padding-top:calc(var(--half) * var(--sf))}.detailsText{display:block;white-space:normal;text-align:left}", me = class me extends f {
2725
+ const $i = ":host{display:block;width:calc(240px * var(--sf));color:var(--text-color-primary)}details{width:100%}summary{cursor:pointer;user-select:none;list-style:none;outline:none}summary::-webkit-details-marker{display:none}.summaryRow{width:100%}ds-icon.chevron{transform:rotate(0);transition:transform .14s ease}details[open] ds-icon.chevron{transform:rotate(180deg)}.detailsBody{padding-top:calc(var(--half) * var(--sf))}.detailsText{display:block;white-space:normal;text-align:left}", me = class me extends f {
2708
2726
  constructor() {
2709
2727
  super(), this.summary = "", this.details = "", this.open = !1, this._hasSlottedContent = !1;
2710
2728
  }
2711
2729
  _handleSlotChange(e) {
2712
- const i = e.target.assignedNodes({ flatten: !0 }).some(
2730
+ const a = e.target.assignedNodes({ flatten: !0 }).some(
2713
2731
  (n) => n.nodeType === Node.ELEMENT_NODE || n.nodeType === Node.TEXT_NODE && n.textContent?.trim()
2714
2732
  );
2715
- this._hasSlottedContent = i;
2733
+ this._hasSlottedContent = a;
2716
2734
  }
2717
2735
  render() {
2718
2736
  return l`
@@ -2752,7 +2770,7 @@ me.properties = {
2752
2770
  details: { type: String },
2753
2771
  open: { type: Boolean, reflect: !0 },
2754
2772
  _hasSlottedContent: { type: Boolean, state: !0 }
2755
- }, me.styles = x($a);
2773
+ }, me.styles = x($i);
2756
2774
  let Ke = me;
2757
2775
  customElements.define("ds-accordion", Ke);
2758
2776
  const we = class we extends f {
@@ -2763,16 +2781,16 @@ const we = class we extends f {
2763
2781
  * Get all form data as an object
2764
2782
  */
2765
2783
  getFormData() {
2766
- const e = {}, a = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2767
- for (const i of a)
2768
- this._collectFormData(i, e);
2784
+ const e = {}, i = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2785
+ for (const a of i)
2786
+ this._collectFormData(a, e);
2769
2787
  return e;
2770
2788
  }
2771
2789
  _collectFormData(e, r) {
2772
- const a = e.getAttribute("name") || e.name;
2773
- if (a) {
2790
+ const i = e.getAttribute("name") || e.name;
2791
+ if (i) {
2774
2792
  const n = e.value;
2775
- n !== void 0 && (e instanceof HTMLInputElement && (e.type === "checkbox" || e.type === "radio") ? e.type === "checkbox" ? r[a] = e.checked : e.type === "radio" && e.checked && (r[a] = n) : r[a] = n);
2793
+ n !== void 0 && (e instanceof HTMLInputElement && (e.type === "checkbox" || e.type === "radio") ? e.type === "checkbox" ? r[i] = e.checked : e.type === "radio" && e.checked && (r[i] = n) : r[i] = n);
2776
2794
  }
2777
2795
  (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((n) => {
2778
2796
  this._collectFormData(n, r);
@@ -2788,18 +2806,18 @@ const we = class we extends f {
2788
2806
  };
2789
2807
  if (this.novalidate)
2790
2808
  return e;
2791
- const a = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2792
- for (const i of a)
2793
- this._validateElement(i, e);
2809
+ const i = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2810
+ for (const a of i)
2811
+ this._validateElement(a, e);
2794
2812
  return e;
2795
2813
  }
2796
2814
  _validateElement(e, r) {
2797
- const a = e.getAttribute("name") || e.name;
2815
+ const i = e.getAttribute("name") || e.name;
2798
2816
  if (e.tagName.toLowerCase() === "ds-input") {
2799
2817
  const n = e;
2800
- n.required && !n.value && (r.valid = !1, r.errors[a || "unknown"] = "This field is required");
2818
+ n.required && !n.value && (r.valid = !1, r.errors[i || "unknown"] = "This field is required");
2801
2819
  }
2802
- (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement) && (e.checkValidity() || (r.valid = !1, r.errors[a || "unknown"] = e.validationMessage)), (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((n) => {
2820
+ (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement) && (e.checkValidity() || (r.valid = !1, r.errors[i || "unknown"] = e.validationMessage)), (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((n) => {
2803
2821
  this._validateElement(n, r);
2804
2822
  });
2805
2823
  }
@@ -2808,13 +2826,13 @@ const we = class we extends f {
2808
2826
  */
2809
2827
  reset() {
2810
2828
  const r = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2811
- for (const a of r)
2812
- this._resetElement(a);
2829
+ for (const i of r)
2830
+ this._resetElement(i);
2813
2831
  this.dispatchEvent(new CustomEvent("form-reset", { bubbles: !0 }));
2814
2832
  }
2815
2833
  _resetElement(e) {
2816
- (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement) && (e instanceof HTMLInputElement && e.type === "checkbox" ? e.checked = !1 : e.value = ""), e.tagName.toLowerCase() === "ds-input" && (e.value = ""), (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((a) => {
2817
- this._resetElement(a);
2834
+ (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement) && (e instanceof HTMLInputElement && e.type === "checkbox" ? e.checked = !1 : e.value = ""), e.tagName.toLowerCase() === "ds-input" && (e.value = ""), (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((i) => {
2835
+ this._resetElement(i);
2818
2836
  });
2819
2837
  }
2820
2838
  /**
@@ -2841,7 +2859,7 @@ const we = class we extends f {
2841
2859
  })
2842
2860
  ), this.action)
2843
2861
  try {
2844
- const a = await fetch(this.action, {
2862
+ const i = await fetch(this.action, {
2845
2863
  method: this.method.toUpperCase(),
2846
2864
  headers: {
2847
2865
  "Content-Type": "application/json"
@@ -2850,14 +2868,14 @@ const we = class we extends f {
2850
2868
  });
2851
2869
  this.dispatchEvent(
2852
2870
  new CustomEvent("form-response", {
2853
- detail: { response: a, data: r },
2871
+ detail: { response: i, data: r },
2854
2872
  bubbles: !0
2855
2873
  })
2856
2874
  );
2857
- } catch (a) {
2875
+ } catch (i) {
2858
2876
  this.dispatchEvent(
2859
2877
  new CustomEvent("form-error", {
2860
- detail: { error: a, data: r },
2878
+ detail: { error: i, data: r },
2861
2879
  bubbles: !0
2862
2880
  })
2863
2881
  );
@@ -2917,15 +2935,15 @@ we.properties = {
2917
2935
  `;
2918
2936
  let Ge = we;
2919
2937
  customElements.define("ds-form", Ge);
2920
- const _a = ":host{display:flex;flex-direction:column;gap:0;width:100%}", ut = class ut extends f {
2938
+ const _i = ":host{display:flex;flex-direction:column;gap:0;width:100%}", ut = class ut extends f {
2921
2939
  render() {
2922
2940
  return l`<slot></slot>`;
2923
2941
  }
2924
2942
  };
2925
- ut.styles = x(_a);
2943
+ ut.styles = x(_i);
2926
2944
  let Je = ut;
2927
2945
  customElements.define("ds-list", Je);
2928
- const Aa = ":host{display:block;width:100%}.table-container{display:flex;flex-direction:column;width:100%}.table-header{display:grid;grid-template-columns:160px 80px 80px 80px;height:20px;width:400px}.table-body{display:grid;grid-template-columns:160px 80px 80px 80px;border:1px solid var(--black);width:400px}.header-cell{height:20px;display:flex;align-items:center;justify-content:left;padding:0 2px;font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:var(--type-lineheight-default);color:var(--black);letter-spacing:-.26px}.data-cell{height:20px;margin-top:-1px;display:flex;align-items:center;justify-content:left;outline:1px solid var(--black);font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:var(--type-lineheight-default);color:var(--black);letter-spacing:-.26px}.status-cell{background-color:var(--apple-green);text-align:center}.product-cell{text-align:left;justify-content:flex-start}.users-cell,.retention-cell{text-align:center}@media (max-width: 480px){.table-header,.table-body{width:100%;grid-template-columns:1fr 60px 60px 60px}}", ye = class ye extends f {
2946
+ const Ai = ":host{display:block;width:100%}.table-container{display:flex;flex-direction:column;width:100%}.table-header{display:grid;grid-template-columns:160px 80px 80px 80px;height:20px;width:400px}.table-body{display:grid;grid-template-columns:160px 80px 80px 80px;border:1px solid var(--black);width:400px}.header-cell{height:20px;display:flex;align-items:center;justify-content:left;padding:0 2px;font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:var(--type-lineheight-default);color:var(--black);letter-spacing:-.26px}.data-cell{height:20px;margin-top:-1px;display:flex;align-items:center;justify-content:left;outline:1px solid var(--black);font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:var(--type-lineheight-default);color:var(--black);letter-spacing:-.26px}.status-cell{background-color:var(--apple-green);text-align:center}.product-cell{text-align:left;justify-content:flex-start}.users-cell,.retention-cell{text-align:center}@media (max-width: 480px){.table-header,.table-body{width:100%;grid-template-columns:1fr 60px 60px 60px}}", ye = class ye extends f {
2929
2947
  constructor() {
2930
2948
  super(), this.data = [], this.columns = ["Product", "Users", "Retention"], this.showStatus = !0;
2931
2949
  }
@@ -2958,18 +2976,18 @@ ye.properties = {
2958
2976
  data: { type: Array },
2959
2977
  columns: { type: Array },
2960
2978
  showStatus: { type: Boolean, attribute: "show-status" }
2961
- }, ye.styles = x(Aa);
2979
+ }, ye.styles = x(Ai);
2962
2980
  let Ye = ye;
2963
2981
  customElements.define("ds-table", Ye);
2964
- const Sa = ":host{display:flex;width:100%;max-width:100%;flex-direction:column;background-color:var(--background-color);box-sizing:border-box}:host ::slotted(*){max-width:100%;box-sizing:border-box}@media (max-width: 820px){:host{width:100%;max-width:100%}}@media (min-width: 821px){:host{max-width:1000px;margin-left:auto;margin-right:auto;width:100%}}", pt = class pt extends f {
2982
+ const Si = ":host{display:flex;width:100%;max-width:100%;flex-direction:column;background-color:var(--background-color);box-sizing:border-box}:host ::slotted(*){max-width:100%;box-sizing:border-box}@media (max-width: 820px){:host{width:100%;max-width:100%}}@media (min-width: 821px){:host{max-width:1000px;margin-left:auto;margin-right:auto;width:100%}}", pt = class pt extends f {
2965
2983
  render() {
2966
2984
  return l`<slot></slot>`;
2967
2985
  }
2968
2986
  };
2969
- pt.styles = x(Sa);
2987
+ pt.styles = x(Si);
2970
2988
  let Xe = pt;
2971
2989
  customElements.define("ds-container", Xe);
2972
- const Va = ':host{margin-top:.5px!important;margin-left:.5px!important;display:grid;width:1440px;height:1280px;grid-template-columns:repeat(auto-fill,19px);grid-template-rows:repeat(auto-fill,19px);gap:1px;row-rule:calc(1px * var(--sf)) solid var(--grid-color);column-rule:calc(1px * var(--sf)) solid var(--grid-color);outline:calc(1px * var(--sf)) solid light-dark(var(--sharp-blue),var(--yellow));position:fixed;top:0;left:50%;transform:translate(-50%);pointer-events:none;z-index:300}:host(.mobile){width:calc(100% - calc(1px * var(--sf)));max-width:100vw;margin-left:.5px!important;margin-top:0!important;box-sizing:border-box;position:fixed;top:calc(.5px * var(--sf));left:50%;transform:translate(-50%);pointer-events:none;z-index:300;gap:calc(1px * var(--sf));grid-template-columns:repeat(14,calc(19px * var(--sf)));grid-template-rows:repeat(auto-fill,calc(19px * var(--sf)))}:host([align="left"]){left:0;transform:none}:host([align="center"]){left:50%;transform:translate(-50%)}:host([align="right"]){left:auto;right:0;transform:none}', be = class be extends f {
2990
+ const Hi = ':host{margin-top:.5px!important;margin-left:.5px!important;display:grid;width:1440px;height:1280px;grid-template-columns:repeat(auto-fill,19px);grid-template-rows:repeat(auto-fill,19px);gap:1px;row-rule:calc(1px * var(--sf)) solid var(--grid-color);column-rule:calc(1px * var(--sf)) solid var(--grid-color);outline:calc(1px * var(--sf)) solid light-dark(var(--sharp-blue),var(--yellow));position:fixed;top:0;left:50%;transform:translate(-50%);pointer-events:none;z-index:300}:host(.mobile){width:calc(100% - calc(1px * var(--sf)));max-width:100vw;margin-left:.5px!important;margin-top:0!important;box-sizing:border-box;position:fixed;top:calc(.5px * var(--sf));left:50%;transform:translate(-50%);pointer-events:none;z-index:300;gap:calc(1px * var(--sf));grid-template-columns:repeat(14,calc(19px * var(--sf)));grid-template-rows:repeat(auto-fill,calc(19px * var(--sf)))}:host([align="left"]){left:0;transform:none}:host([align="center"]){left:50%;transform:translate(-50%)}:host([align="right"]){left:auto;right:0;transform:none}', be = class be extends f {
2973
2991
  connectedCallback() {
2974
2992
  super.connectedCallback(), this.updateMobileClass(), this.resizeObserver = () => {
2975
2993
  this.resizeTimeout && clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(() => {
@@ -2989,15 +3007,15 @@ const Va = ':host{margin-top:.5px!important;margin-left:.5px!important;display:g
2989
3007
  };
2990
3008
  be.properties = {
2991
3009
  align: { type: String }
2992
- }, be.styles = x(Va);
3010
+ }, be.styles = x(Hi);
2993
3011
  let Qe = be;
2994
3012
  customElements.define("ds-grid", Qe);
2995
- const Ha = ':host{display:grid;position:relative;width:100%}slot{display:contents}:host([mode="portfolio"]){--portfolio-cols: 120px 480px 40px;--portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px 120px;--portfolio-areas: "square . ." ". title ." ". header ." ". projects ." ". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";--portfolio-overlay-cols: 120px 480px;--portfolio-overlay-areas: "square ." ". title" ". header" ". projects" ". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";grid-template-columns:var(--portfolio-cols);grid-template-rows:var(--portfolio-rows);grid-template-areas:var(--portfolio-areas);min-height:600px;background-color:#a5a5a508;max-width:640px;margin:0}:host([mode="portfolio"]) .view-overlay{grid-template-columns:var(--portfolio-overlay-cols);grid-template-rows:var(--portfolio-rows);grid-template-areas:var(--portfolio-overlay-areas)}:host([mode="company"]){--company-cols: auto 400px auto;--company-rows: 80px 20px 20px 120px 20px 120px;--company-areas: ". . ." ". header ." ". . ." ". content ." ". . ." ". footer .";grid-template-columns:var(--company-cols);grid-template-rows:var(--company-rows);grid-template-areas:var(--company-areas);gap:0;max-width:100%}:host([mode="company"]) .view-overlay{grid-template-columns:var(--company-cols);grid-template-rows:var(--company-rows);grid-template-areas:var(--company-areas);gap:0}:host([align="left"]),:host([mode="portfolio"][align="left"]),:host([mode="company"][align="left"]),:host([mode="app"][align="left"]){margin:0;justify-self:start}:host([align="center"]),:host([mode="portfolio"][align="center"]),:host([mode="company"][align="center"]),:host([mode="app"][align="center"]){margin:0 auto;justify-self:center}:host([align="right"]),:host([mode="portfolio"][align="right"]),:host([mode="company"][align="right"]),:host([mode="app"][align="right"]){margin:0 0 0 auto;justify-self:end}:host([mode="app"]){--app-cols: 100%;--app-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));--app-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";--app-overlay-cols: 100%;--app-overlay-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));--app-overlay-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";grid-template-columns:var(--app-cols);grid-template-rows:var(--app-rows);grid-template-areas:var(--app-areas);min-height:100vh;background-color:transparent;width:calc(240px * var(--sf, 1));max-width:calc(240px * var(--sf, 1));margin:0 auto}:host([mode="app"]) .view-overlay{grid-template-columns:var(--app-overlay-cols);grid-template-rows:var(--app-overlay-rows);grid-template-areas:var(--app-overlay-areas)}.view-overlay{position:absolute;margin-left:-1px;inset:0;pointer-events:none;z-index:1000;display:grid}.view-area{display:flex;width:calc(240px * var(--sf, 1));height:100%;align-items:center;justify-content:center;font-family:var(--typeface-regular);font-size:calc(var(--type-size-default) * var(--05));color:color-mix(in srgb,var(--tuned-red) 25%,transparent);background-color:color-mix(in srgb,var(--accent-color) 25%,transparent);opacity:1}:host([mode="portfolio"]) .view-area:nth-of-type(1){background-color:color-mix(in srgb,var(--tuned-red) 25%,transparent)}:host([mode="portfolio"]) .view-area:nth-of-type(2){border-color:var(--sharp-blue)}:host([mode="portfolio"]) .view-area:nth-of-type(3){border-color:var(--yellow)}:host([mode="portfolio"]) .view-area:nth-of-type(4){border-color:var(--apple-green)}:host([mode="portfolio"]) .view-area:nth-of-type(5){border-color:var(--pink)}:host([mode="portfolio"]) .view-area:nth-of-type(6){border-color:var(--orange)}:host([mode="portfolio"]) .view-area:nth-of-type(7){border-color:var(--zenith-blue)}:host([mode="company"]) .view-area:nth-of-type(1){border-color:var(--tuned-red)}:host([mode="company"]) .view-area:nth-of-type(2){border-color:var(--sharp-blue)}:host([mode="company"]) .view-area:nth-of-type(3){border-color:var(--yellow)}:host([mode="app"]) .view-area:nth-of-type(1){background-color:color-mix(in srgb,var(--tuned-red) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(2){background-color:color-mix(in srgb,var(--sharp-blue) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(3){background-color:color-mix(in srgb,var(--yellow) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(4){background-color:color-mix(in srgb,var(--apple-green) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(5){background-color:color-mix(in srgb,var(--pink) 25%,transparent)}.view-square{grid-area:square}.view-title{grid-area:title}.view-header{grid-area:header}.view-projects{grid-area:projects}.view-bio{grid-area:bio}.view-nav{grid-area:nav}.view-footer{grid-area:footer}.view-content{grid-area:content}.view-banner{grid-area:banner}.view-main{grid-area:main}.view-page-dots{grid-area:page-dots}', xe = class xe extends f {
3013
+ const Vi = ':host{display:grid;position:relative;width:100%}slot{display:contents}:host([mode="portfolio"]){--portfolio-cols: 120px 480px 40px;--portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px 120px;--portfolio-areas: "square . ." ". title ." ". header ." ". projects ." ". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";--portfolio-overlay-cols: 120px 480px;--portfolio-overlay-areas: "square ." ". title" ". header" ". projects" ". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";grid-template-columns:var(--portfolio-cols);grid-template-rows:var(--portfolio-rows);grid-template-areas:var(--portfolio-areas);min-height:600px;background-color:#a5a5a508;max-width:640px;margin:0}:host([mode="portfolio"]) .view-overlay{grid-template-columns:var(--portfolio-overlay-cols);grid-template-rows:var(--portfolio-rows);grid-template-areas:var(--portfolio-overlay-areas)}:host([mode="company"]){--company-cols: auto 400px auto;--company-rows: 80px 20px 20px 120px 20px 120px;--company-areas: ". . ." ". header ." ". . ." ". content ." ". . ." ". footer .";grid-template-columns:var(--company-cols);grid-template-rows:var(--company-rows);grid-template-areas:var(--company-areas);gap:0;max-width:100%}:host([mode="company"]) .view-overlay{grid-template-columns:var(--company-cols);grid-template-rows:var(--company-rows);grid-template-areas:var(--company-areas);gap:0}:host([align="left"]),:host([mode="portfolio"][align="left"]),:host([mode="company"][align="left"]),:host([mode="app"][align="left"]){margin:0;justify-self:start}:host([align="center"]),:host([mode="portfolio"][align="center"]),:host([mode="company"][align="center"]),:host([mode="app"][align="center"]){margin:0 auto;justify-self:center}:host([align="right"]),:host([mode="portfolio"][align="right"]),:host([mode="company"][align="right"]),:host([mode="app"][align="right"]){margin:0 0 0 auto;justify-self:end}:host([mode="app"]){--app-cols: 100%;--app-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));--app-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";--app-overlay-cols: 100%;--app-overlay-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));--app-overlay-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";grid-template-columns:var(--app-cols);grid-template-rows:var(--app-rows);grid-template-areas:var(--app-areas);min-height:100vh;background-color:transparent;width:calc(240px * var(--sf, 1));max-width:calc(240px * var(--sf, 1));margin:0 auto}:host([mode="app"]) .view-overlay{grid-template-columns:var(--app-overlay-cols);grid-template-rows:var(--app-overlay-rows);grid-template-areas:var(--app-overlay-areas)}.view-overlay{position:absolute;margin-left:-1px;inset:0;pointer-events:none;z-index:1000;display:grid}.view-area{display:flex;width:calc(240px * var(--sf, 1));height:100%;align-items:center;justify-content:center;font-family:var(--typeface-regular);font-size:calc(var(--type-size-default) * var(--05));color:color-mix(in srgb,var(--tuned-red) 25%,transparent);background-color:color-mix(in srgb,var(--accent-color) 25%,transparent);opacity:1}:host([mode="portfolio"]) .view-area:nth-of-type(1){background-color:color-mix(in srgb,var(--tuned-red) 25%,transparent)}:host([mode="portfolio"]) .view-area:nth-of-type(2){border-color:var(--sharp-blue)}:host([mode="portfolio"]) .view-area:nth-of-type(3){border-color:var(--yellow)}:host([mode="portfolio"]) .view-area:nth-of-type(4){border-color:var(--apple-green)}:host([mode="portfolio"]) .view-area:nth-of-type(5){border-color:var(--pink)}:host([mode="portfolio"]) .view-area:nth-of-type(6){border-color:var(--orange)}:host([mode="portfolio"]) .view-area:nth-of-type(7){border-color:var(--zenith-blue)}:host([mode="company"]) .view-area:nth-of-type(1){border-color:var(--tuned-red)}:host([mode="company"]) .view-area:nth-of-type(2){border-color:var(--sharp-blue)}:host([mode="company"]) .view-area:nth-of-type(3){border-color:var(--yellow)}:host([mode="app"]) .view-area:nth-of-type(1){background-color:color-mix(in srgb,var(--tuned-red) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(2){background-color:color-mix(in srgb,var(--sharp-blue) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(3){background-color:color-mix(in srgb,var(--yellow) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(4){background-color:color-mix(in srgb,var(--apple-green) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(5){background-color:color-mix(in srgb,var(--pink) 25%,transparent)}.view-square{grid-area:square}.view-title{grid-area:title}.view-header{grid-area:header}.view-projects{grid-area:projects}.view-bio{grid-area:bio}.view-nav{grid-area:nav}.view-footer{grid-area:footer}.view-content{grid-area:content}.view-banner{grid-area:banner}.view-main{grid-area:main}.view-page-dots{grid-area:page-dots}', xe = class xe extends f {
2996
3014
  constructor() {
2997
3015
  super(...arguments), this.mode = "portfolio";
2998
3016
  }
2999
3017
  render() {
3000
- const e = this.view || this.mode === "view", r = this.mode === "portfolio", a = this.mode === "company", i = this.mode === "app", n = this.mode === "list", o = this.mode === "home", s = this.mode === "settings";
3018
+ const e = this.view || this.mode === "view", r = this.mode === "portfolio", i = this.mode === "company", a = this.mode === "app", n = this.mode === "list", o = this.mode === "home", s = this.mode === "settings";
3001
3019
  return l`
3002
3020
  <slot></slot>
3003
3021
  ${e ? l`
@@ -3055,7 +3073,7 @@ const Ha = ':host{display:grid;position:relative;width:100%}slot{display:content
3055
3073
  <ds-text text="board"></ds-text>
3056
3074
  </div>
3057
3075
  </div>
3058
- ` : i ? l`
3076
+ ` : a ? l`
3059
3077
  <div class="view-area view-banner">
3060
3078
  <div class="grid-area-label">
3061
3079
  <ds-text text="banner"></ds-text>
@@ -3081,7 +3099,7 @@ const Ha = ':host{display:grid;position:relative;width:100%}slot{display:content
3081
3099
  <ds-text text="footer"></ds-text>
3082
3100
  </div>
3083
3101
  </div>
3084
- ` : a ? l`
3102
+ ` : i ? l`
3085
3103
  <div class="view-area view-header">
3086
3104
  <div class="grid-area-label">
3087
3105
  <ds-text text="header"></ds-text>
@@ -3144,7 +3162,7 @@ xe.properties = {
3144
3162
  align: { type: String },
3145
3163
  view: { type: Boolean }
3146
3164
  }, xe.styles = [
3147
- x(Ha),
3165
+ x(Vi),
3148
3166
  lt`
3149
3167
  :host {
3150
3168
  display: grid;
@@ -3909,38 +3927,38 @@ export {
3909
3927
  Ge as Form,
3910
3928
  Ue as Gap,
3911
3929
  Qe as Grid,
3912
- Be as Icon,
3930
+ Pe as Icon,
3913
3931
  qe as Input,
3914
3932
  et as Layout,
3915
3933
  Je as List,
3916
3934
  Fe as Row,
3917
3935
  Ze as Text,
3918
3936
  We as Tooltip,
3919
- Ia as applike,
3937
+ Ii as applike,
3920
3938
  Rr as calculateScalingFactor,
3921
3939
  L as currentLanguage,
3922
3940
  X as currentTheme,
3923
3941
  nt as detectMobileDevice,
3924
- Pa as getAvailableLanguages,
3925
- Ht as getAvailableLanguagesSync,
3942
+ Bi as getAvailableLanguages,
3943
+ Vt as getAvailableLanguagesSync,
3926
3944
  Xr as getBrowserLanguage,
3927
3945
  Dr as getDeviceInfo,
3928
3946
  Yr as getLanguageDisplayName,
3929
- Da as getPriceLabel,
3930
- Na as getScalingFactor,
3947
+ Di as getPriceLabel,
3948
+ Ni as getScalingFactor,
3931
3949
  ne as getText,
3932
- Oa as hasTranslation,
3933
- ae as initDeviceDetection,
3934
- Ba as loadTranslations,
3950
+ Oi as hasTranslation,
3951
+ ie as initDeviceDetection,
3952
+ Pi as loadTranslations,
3935
3953
  N as savePreferences,
3936
- Za as scale,
3954
+ Zi as scale,
3937
3955
  Y as scalingConfig,
3938
- P as scalingFactor,
3956
+ B as scalingFactor,
3939
3957
  Mt as setLanguage,
3940
- Ta as setScalingConfig,
3941
- ta as setTheme,
3958
+ Ti as setScalingConfig,
3959
+ ti as setTheme,
3942
3960
  U as translate,
3943
- za as unscale,
3961
+ zi as unscale,
3944
3962
  Kt as updateScalingFactor
3945
3963
  };
3946
3964
  //# sourceMappingURL=ds-one.bundle.min.js.map