@uxland/primary-shell 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -15,7 +15,7 @@
15
15
  * THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
16
16
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17
17
  */
18
- const Ur = () => {
18
+ const Mr = () => {
19
19
  };
20
20
  function f(r) {
21
21
  return r != null && typeof r == "object" && r["@@functional/placeholder"] === !0;
@@ -43,7 +43,7 @@ function g(r) {
43
43
  }
44
44
  };
45
45
  }
46
- function Hr(r) {
46
+ function Ur(r) {
47
47
  var t = Object.prototype.toString.call(r);
48
48
  return t === "[object Function]" || t === "[object AsyncFunction]" || t === "[object GeneratorFunction]" || t === "[object AsyncGeneratorFunction]";
49
49
  }
@@ -60,28 +60,28 @@ function ye(r, t, e) {
60
60
  }
61
61
  return !1;
62
62
  }
63
- function jr(r) {
63
+ function Hr(r) {
64
64
  var t = String(r).match(/^function (\w*)/);
65
65
  return t == null ? "" : t[1];
66
66
  }
67
67
  function yt(r, t) {
68
68
  return Object.prototype.hasOwnProperty.call(t, r);
69
69
  }
70
- function Lr(r, t) {
70
+ function jr(r, t) {
71
71
  return r === t ? r !== 0 || 1 / r === 1 / t : r !== r && t !== t;
72
72
  }
73
- const Tt = typeof Object.is == "function" ? Object.is : Lr;
74
- var $e = Object.prototype.toString, Vr = /* @__PURE__ */ function() {
73
+ const Tt = typeof Object.is == "function" ? Object.is : jr;
74
+ var $e = Object.prototype.toString, Lr = /* @__PURE__ */ function() {
75
75
  return $e.call(arguments) === "[object Arguments]" ? function(t) {
76
76
  return $e.call(t) === "[object Arguments]";
77
77
  } : function(t) {
78
78
  return yt("callee", t);
79
79
  };
80
- }(), Dr = !/* @__PURE__ */ {
80
+ }(), Vr = !/* @__PURE__ */ {
81
81
  toString: null
82
82
  }.propertyIsEnumerable("toString"), _e = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], be = /* @__PURE__ */ function() {
83
83
  return arguments.propertyIsEnumerable("length");
84
- }(), zr = function(t, e) {
84
+ }(), Dr = function(t, e) {
85
85
  for (var i = 0; i < t.length; ) {
86
86
  if (t[i] === e)
87
87
  return !0;
@@ -93,12 +93,12 @@ var $e = Object.prototype.toString, Vr = /* @__PURE__ */ function() {
93
93
  } : function(t) {
94
94
  if (Object(t) !== t)
95
95
  return [];
96
- var e, i, s = [], n = be && Vr(t);
96
+ var e, i, s = [], n = be && Lr(t);
97
97
  for (e in t)
98
98
  yt(e, t) && (!n || e !== "length") && (s[s.length] = e);
99
- if (Dr)
99
+ if (Vr)
100
100
  for (i = _e.length - 1; i >= 0; )
101
- e = _e[i], yt(e, t) && !zr(s, e) && (s[s.length] = e), i -= 1;
101
+ e = _e[i], yt(e, t) && !Dr(s, e) && (s[s.length] = e), i -= 1;
102
102
  return s;
103
103
  }), we = /* @__PURE__ */ $(function(t) {
104
104
  return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
@@ -126,7 +126,7 @@ function ee(r, t, e, i) {
126
126
  case "Arguments":
127
127
  case "Array":
128
128
  case "Object":
129
- if (typeof r.constructor == "function" && jr(r.constructor) === "Promise")
129
+ if (typeof r.constructor == "function" && Hr(r.constructor) === "Promise")
130
130
  return r === t;
131
131
  break;
132
132
  case "Boolean":
@@ -191,10 +191,10 @@ function ee(r, t, e, i) {
191
191
  }
192
192
  return !0;
193
193
  }
194
- var Br = /* @__PURE__ */ g(function(t, e) {
194
+ var zr = /* @__PURE__ */ g(function(t, e) {
195
195
  return ee(t, e, [], []);
196
196
  });
197
- function Fr(r, t, e) {
197
+ function Br(r, t, e) {
198
198
  var i, s;
199
199
  if (typeof r.indexOf == "function")
200
200
  switch (typeof t) {
@@ -225,14 +225,14 @@ function Fr(r, t, e) {
225
225
  return r.indexOf(t, e);
226
226
  }
227
227
  for (; e < r.length; ) {
228
- if (Br(r[e], t))
228
+ if (zr(r[e], t))
229
229
  return e;
230
230
  e += 1;
231
231
  }
232
232
  return -1;
233
233
  }
234
- function qr(r, t) {
235
- return Fr(t, r, 0) >= 0;
234
+ function Fr(r, t) {
235
+ return Br(t, r, 0) >= 0;
236
236
  }
237
237
  function pt(r, t) {
238
238
  for (var e = 0, i = t.length, s = Array(i); e < i; )
@@ -245,12 +245,12 @@ function Ot(r) {
245
245
  }
246
246
  var X = function(t) {
247
247
  return (t < 10 ? "0" : "") + t;
248
- }, Wr = typeof Date.prototype.toISOString == "function" ? function(t) {
248
+ }, qr = typeof Date.prototype.toISOString == "function" ? function(t) {
249
249
  return t.toISOString();
250
250
  } : function(t) {
251
251
  return t.getUTCFullYear() + "-" + X(t.getUTCMonth() + 1) + "-" + X(t.getUTCDate()) + "T" + X(t.getUTCHours()) + ":" + X(t.getUTCMinutes()) + ":" + X(t.getUTCSeconds()) + "." + (t.getUTCMilliseconds() / 1e3).toFixed(3).slice(2, 5) + "Z";
252
252
  };
253
- function Gr(r) {
253
+ function Wr(r) {
254
254
  return function() {
255
255
  return !r.apply(this, arguments);
256
256
  };
@@ -258,10 +258,10 @@ function Gr(r) {
258
258
  const re = Array.isArray || function(t) {
259
259
  return t != null && t.length >= 0 && Object.prototype.toString.call(t) === "[object Array]";
260
260
  };
261
- function Kr(r) {
261
+ function Gr(r) {
262
262
  return r != null && typeof r["@@transducer/step"] == "function";
263
263
  }
264
- function or(r, t, e) {
264
+ function nr(r, t, e) {
265
265
  return function() {
266
266
  if (arguments.length === 0)
267
267
  return e();
@@ -272,7 +272,7 @@ function or(r, t, e) {
272
272
  return s[r[n]].apply(s, i);
273
273
  n += 1;
274
274
  }
275
- if (Kr(s)) {
275
+ if (Gr(s)) {
276
276
  var o = t.apply(null, i);
277
277
  return o(s);
278
278
  }
@@ -280,20 +280,20 @@ function or(r, t, e) {
280
280
  return e.apply(this, arguments);
281
281
  };
282
282
  }
283
- function Yr(r, t) {
283
+ function Kr(r, t) {
284
284
  for (var e = 0, i = t.length, s = []; e < i; )
285
285
  r(t[e]) && (s[s.length] = t[e]), e += 1;
286
286
  return s;
287
287
  }
288
- function Xr(r) {
288
+ function Yr(r) {
289
289
  return Object.prototype.toString.call(r) === "[object Object]";
290
290
  }
291
- function ar(r) {
291
+ function or(r) {
292
292
  return Object.prototype.toString.call(r) === "[object String]";
293
293
  }
294
- var Zr = /* @__PURE__ */ $(function(t) {
295
- return re(t) ? !0 : !t || typeof t != "object" || ar(t) ? !1 : t.nodeType === 1 ? !!t.length : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
296
- }), Qr = /* @__PURE__ */ function() {
294
+ var Xr = /* @__PURE__ */ $(function(t) {
295
+ return re(t) ? !0 : !t || typeof t != "object" || or(t) ? !1 : t.nodeType === 1 ? !!t.length : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
296
+ }), Zr = /* @__PURE__ */ function() {
297
297
  function r(t) {
298
298
  this.f = t;
299
299
  }
@@ -305,8 +305,8 @@ var Zr = /* @__PURE__ */ $(function(t) {
305
305
  return this.f(t, e);
306
306
  }, r;
307
307
  }();
308
- function Jr(r) {
309
- return new Qr(r);
308
+ function Qr(r) {
309
+ return new Zr(r);
310
310
  }
311
311
  function at(r, t) {
312
312
  switch (r) {
@@ -363,7 +363,7 @@ var B = /* @__PURE__ */ g(function(t, e) {
363
363
  return t.apply(e, arguments);
364
364
  });
365
365
  });
366
- function ti(r, t, e) {
366
+ function Jr(r, t, e) {
367
367
  for (var i = 0, s = e.length; i < s; ) {
368
368
  if (t = r["@@transducer/step"](t, e[i]), t && t["@@transducer/reduced"]) {
369
369
  t = t["@@transducer/value"];
@@ -388,8 +388,8 @@ function Se(r, t, e, i) {
388
388
  }
389
389
  var Ce = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
390
390
  function ie(r, t, e) {
391
- if (typeof r == "function" && (r = Jr(r)), Zr(e))
392
- return ti(r, t, e);
391
+ if (typeof r == "function" && (r = Qr(r)), Xr(e))
392
+ return Jr(r, t, e);
393
393
  if (typeof e["fantasy-land/reduce"] == "function")
394
394
  return Se(r, t, e, "fantasy-land/reduce");
395
395
  if (e[Ce] != null)
@@ -408,34 +408,31 @@ const $t = {
408
408
  return this.xf["@@transducer/result"](r);
409
409
  }
410
410
  };
411
- var ei = /* @__PURE__ */ function() {
411
+ var ti = /* @__PURE__ */ function() {
412
412
  function r(t, e) {
413
413
  this.xf = e, this.f = t;
414
414
  }
415
415
  return r.prototype["@@transducer/init"] = $t.init, r.prototype["@@transducer/result"] = $t.result, r.prototype["@@transducer/step"] = function(t, e) {
416
416
  return this.f(e) ? this.xf["@@transducer/step"](t, e) : t;
417
417
  }, r;
418
- }(), ri = /* @__PURE__ */ g(function(t, e) {
419
- return new ei(t, e);
420
- });
421
- const ii = ri;
422
- var si = /* @__PURE__ */ g(
423
- /* @__PURE__ */ or(["filter"], ii, function(r, t) {
424
- return Xr(t) ? ie(function(e, i) {
418
+ }(), ei = /* @__PURE__ */ g(function(t, e) {
419
+ return new ti(t, e);
420
+ }), ri = /* @__PURE__ */ g(
421
+ /* @__PURE__ */ nr(["filter"], ei, function(r, t) {
422
+ return Yr(t) ? ie(function(e, i) {
425
423
  return r(t[i]) && (e[i] = t[i]), e;
426
424
  }, {}, k(t)) : (
427
425
  // else
428
- Yr(r, t)
426
+ Kr(r, t)
429
427
  );
430
428
  })
431
- ), ni = /* @__PURE__ */ g(function(t, e) {
432
- return si(Gr(t), e);
429
+ ), ar = /* @__PURE__ */ g(function(t, e) {
430
+ return ri(Wr(t), e);
433
431
  });
434
- const cr = ni;
435
- function lr(r, t) {
432
+ function cr(r, t) {
436
433
  var e = function(o) {
437
434
  var a = t.concat([r]);
438
- return qr(o, a) ? "<Circular>" : lr(o, a);
435
+ return Fr(o, a) ? "<Circular>" : cr(o, a);
439
436
  }, i = function(n, o) {
440
437
  return pt(function(a) {
441
438
  return Ot(a) + ": " + e(n[a]);
@@ -445,13 +442,13 @@ function lr(r, t) {
445
442
  case "[object Arguments]":
446
443
  return "(function() { return arguments; }(" + pt(e, r).join(", ") + "))";
447
444
  case "[object Array]":
448
- return "[" + pt(e, r).concat(i(r, cr(function(n) {
445
+ return "[" + pt(e, r).concat(i(r, ar(function(n) {
449
446
  return /^\d+$/.test(n);
450
447
  }, k(r)))).join(", ") + "]";
451
448
  case "[object Boolean]":
452
449
  return typeof r == "object" ? "new Boolean(" + e(r.valueOf()) + ")" : r.toString();
453
450
  case "[object Date]":
454
- return "new Date(" + (isNaN(r.valueOf()) ? e(NaN) : Ot(Wr(r))) + ")";
451
+ return "new Date(" + (isNaN(r.valueOf()) ? e(NaN) : Ot(qr(r))) + ")";
455
452
  case "[object Null]":
456
453
  return "null";
457
454
  case "[object Number]":
@@ -469,39 +466,38 @@ function lr(r, t) {
469
466
  return "{" + i(r, k(r)).join(", ") + "}";
470
467
  }
471
468
  }
472
- function oi(r, t) {
473
- if (t == null || !Hr(t.then))
474
- throw new TypeError("`" + r + "` expected a Promise, received " + lr(t, []));
469
+ function ii(r, t) {
470
+ if (t == null || !Ur(t.then))
471
+ throw new TypeError("`" + r + "` expected a Promise, received " + cr(t, []));
475
472
  }
476
473
  var F = /* @__PURE__ */ g(function(t, e) {
477
- return oi("andThen", e), e.then(t);
478
- }), ai = /* @__PURE__ */ function() {
474
+ return ii("andThen", e), e.then(t);
475
+ }), si = /* @__PURE__ */ function() {
479
476
  function r(t, e) {
480
477
  this.xf = e, this.f = t;
481
478
  }
482
479
  return r.prototype["@@transducer/init"] = $t.init, r.prototype["@@transducer/result"] = $t.result, r.prototype["@@transducer/step"] = function(t, e) {
483
480
  return this.xf["@@transducer/step"](t, this.f(e));
484
481
  }, r;
485
- }(), ci = /* @__PURE__ */ g(function(t, e) {
486
- return new ai(t, e);
482
+ }(), ni = /* @__PURE__ */ g(function(t, e) {
483
+ return new si(t, e);
487
484
  });
488
- const li = ci;
489
- function hr(r, t, e) {
485
+ function lr(r, t, e) {
490
486
  return function() {
491
487
  for (var i = [], s = 0, n = r, o = 0; o < t.length || s < arguments.length; ) {
492
488
  var a;
493
489
  o < t.length && (!f(t[o]) || s >= arguments.length) ? a = t[o] : (a = arguments[s], s += 1), i[o] = a, f(a) || (n -= 1), o += 1;
494
490
  }
495
- return n <= 0 ? e.apply(this, i) : at(n, hr(r, i, e));
491
+ return n <= 0 ? e.apply(this, i) : at(n, lr(r, i, e));
496
492
  };
497
493
  }
498
- var hi = /* @__PURE__ */ g(function(t, e) {
499
- return t === 1 ? $(e) : at(t, hr(t, [], e));
494
+ var oi = /* @__PURE__ */ g(function(t, e) {
495
+ return t === 1 ? $(e) : at(t, lr(t, [], e));
500
496
  }), ct = /* @__PURE__ */ g(
501
- /* @__PURE__ */ or(["fantasy-land/map", "map"], li, function(t, e) {
497
+ /* @__PURE__ */ nr(["fantasy-land/map", "map"], ni, function(t, e) {
502
498
  switch (Object.prototype.toString.call(e)) {
503
499
  case "[object Function]":
504
- return hi(e.length, function() {
500
+ return oi(e.length, function() {
505
501
  return t.call(this, e.apply(this, arguments));
506
502
  });
507
503
  case "[object Object]":
@@ -513,12 +509,12 @@ var hi = /* @__PURE__ */ g(function(t, e) {
513
509
  }
514
510
  })
515
511
  );
516
- function ui(r, t) {
512
+ function ai(r, t) {
517
513
  return function() {
518
514
  return t.call(this, r.apply(this, arguments));
519
515
  };
520
516
  }
521
- function ur(r) {
517
+ function hr(r) {
522
518
  return function t(e, i, s) {
523
519
  switch (arguments.length) {
524
520
  case 0:
@@ -552,7 +548,7 @@ function ur(r) {
552
548
  }
553
549
  };
554
550
  }
555
- var dr = /* @__PURE__ */ ur(ie);
551
+ var ur = /* @__PURE__ */ hr(ie);
556
552
  function se(r, t) {
557
553
  return function() {
558
554
  var e = arguments.length;
@@ -562,33 +558,33 @@ function se(r, t) {
562
558
  return re(i) || typeof i[r] != "function" ? t.apply(this, arguments) : i[r].apply(i, Array.prototype.slice.call(arguments, 0, e - 1));
563
559
  };
564
560
  }
565
- var di = /* @__PURE__ */ ur(
561
+ var ci = /* @__PURE__ */ hr(
566
562
  /* @__PURE__ */ se("slice", function(t, e, i) {
567
563
  return Array.prototype.slice.call(i, t, e);
568
564
  })
569
- ), pi = /* @__PURE__ */ $(
565
+ ), li = /* @__PURE__ */ $(
570
566
  /* @__PURE__ */ se(
571
567
  "tail",
572
- /* @__PURE__ */ di(1, 1 / 0)
568
+ /* @__PURE__ */ ci(1, 1 / 0)
573
569
  )
574
570
  );
575
571
  function j() {
576
572
  if (arguments.length === 0)
577
573
  throw new Error("pipe requires at least one argument");
578
- return at(arguments[0].length, dr(ui, arguments[0], pi(arguments)));
574
+ return at(arguments[0].length, ur(ai, arguments[0], li(arguments)));
579
575
  }
580
- let fi = class {
576
+ let hi = class {
581
577
  constructor(t) {
582
578
  this.targetRegion = t;
583
579
  }
584
580
  async attach() {
585
581
  const t = this.targetRegion.regionManager.getRegisteredViews(this.targetRegion.name);
586
- return j(ct((e) => this.targetRegion.addView(e.key, e.view)), B(Promise.all, Promise), F(Ur))(t);
582
+ return j(ct((e) => this.targetRegion.addView(e.key, e.view)), B(Promise.all, Promise), F(Mr))(t);
587
583
  }
588
584
  detach() {
589
585
  return Promise.resolve();
590
586
  }
591
- }, gi = class {
587
+ }, ui = class {
592
588
  constructor() {
593
589
  this.registry = [];
594
590
  }
@@ -599,15 +595,15 @@ let fi = class {
599
595
  this.behaviors.some((e) => e === t) || this.registry.push(t);
600
596
  }
601
597
  };
602
- const pr = new gi();
603
- pr.register(fi);
604
- const vi = pr;
605
- let mi = class {
598
+ const dr = new ui();
599
+ dr.register(hi);
600
+ const di = dr;
601
+ let pi = class {
606
602
  constructor(t) {
607
603
  this.host = t;
608
604
  }
609
605
  get behaviors() {
610
- return vi.behaviors.map((t) => new t(this.host.uxlRegion));
606
+ return di.behaviors.map((t) => new t(this.host.uxlRegion));
611
607
  }
612
608
  activateView(t) {
613
609
  return this.host.contains(t) || this.addViewToHost(t), t.hidden = !1, Promise.resolve(void 0);
@@ -627,33 +623,33 @@ let mi = class {
627
623
  this.host.removeChild(t), this.host.uxlRegion.viewRemovedFromDom(t.view);
628
624
  }
629
625
  };
630
- const yi = (r, t) => !r.sortHint && !t.sortHint || !t.sortHint ? -1 : r.sortHint ? r.sortHint.localeCompare(t.sortHint) : 1;
631
- let $i = class extends mi {
626
+ const fi = (r, t) => !r.sortHint && !t.sortHint || !t.sortHint ? -1 : r.sortHint ? r.sortHint.localeCompare(t.sortHint) : 1;
627
+ let gi = class extends pi {
632
628
  async viewAdded(t) {
633
629
  await this.host.uxlRegion.activate(t);
634
630
  }
635
631
  addViewToHost(t) {
636
- const e = this.host.uxlRegion.currentActiveViews.sort(yi).indexOf(t.view);
632
+ const e = this.host.uxlRegion.currentActiveViews.sort(fi).indexOf(t.view);
637
633
  e >= this.host.children.length ? super.addViewToHost(t) : this.host.insertBefore(t, this.host.children[e]);
638
634
  }
639
635
  };
640
- const _i = (r, t) => new $i(t), x = (r, t) => {
636
+ const vi = (r, t) => new gi(t), x = (r, t) => {
641
637
  if (r = typeof r == "function" ? r() : r, !r)
642
638
  throw new Error(t);
643
- }, bi = (r) => typeof HTMLElement == "object" ? r instanceof HTMLElement : r && typeof r == "object" && r != null && r.nodeType === 1 && typeof r.nodeName == "string", wi = (r) => {
639
+ }, mi = (r) => typeof HTMLElement == "object" ? r instanceof HTMLElement : r && typeof r == "object" && r != null && r.nodeType === 1 && typeof r.nodeName == "string", yi = (r) => {
644
640
  if (!r.htmlTag && !r.element && !r.factory)
645
641
  throw new Error("One of properties htmlTag, factory or element must be set");
646
- return r.htmlTag && x(typeof r.htmlTag == "string", "htmlTag property must be an string"), r.factory && x(typeof r.factory == "function", "factory property must be a function"), r.element && x(bi(r.element), "element property must be an HTMLElement"), !0;
647
- }, Ai = async (r, t, e) => {
642
+ return r.htmlTag && x(typeof r.htmlTag == "string", "htmlTag property must be an string"), r.factory && x(typeof r.factory == "function", "factory property must be a function"), r.element && x(mi(r.element), "element property must be an HTMLElement"), !0;
643
+ }, $i = async (r, t, e) => {
648
644
  let i;
649
645
  return r.element ? i = r.element : r.factory ? i = await r.factory() : r.htmlTag && (r.htmlUrl && await import(r.htmlUrl), i = window.document.createElement(r.htmlTag)), i.view = r, i.region = t, i.viewKey = e, i;
650
646
  };
651
- let Ei = class {
647
+ let _i = class {
652
648
  constructor(t, e, i, s, n) {
653
649
  this.name = t, this.regionManager = e, this.host = i, this.adapter = s, this.definition = n, this.views = {}, this.activeViews = [], this.components = /* @__PURE__ */ new WeakMap(), this.host.uxlRegion = this;
654
650
  }
655
651
  async addView(t, e) {
656
- return wi(e), x(typeof this.getView(t) > "u", `Already exists a view with key ${t}`), this.views[t] = e, await this.adapter.viewAdded(e), this;
652
+ return yi(e), x(typeof this.getView(t) > "u", `Already exists a view with key ${t}`), this.views[t] = e, await this.adapter.viewAdded(e), this;
657
653
  }
658
654
  async removeView(t) {
659
655
  await this.deactivate(t), this.remove(t), delete this.views[t];
@@ -677,7 +673,7 @@ let Ei = class {
677
673
  let e = t;
678
674
  if (typeof t == "string" ? (e = this.getView(t), x(e, `Region does not contain a view with key ${t}`)) : x(Object.keys(this.views).some((i) => typeof this.views[i] < "u"), "Region does not contain this view"), !this.activeViews.some((i) => i === e)) {
679
675
  if (!this.components.has(e)) {
680
- const s = await Ai(e, this, typeof t == "string" ? t : this.getKey(e));
676
+ const s = await $i(e, this, typeof t == "string" ? t : this.getKey(e));
681
677
  s.regionContext = this.context, this.components.set(e, s);
682
678
  }
683
679
  const i = this.components.get(e);
@@ -727,7 +723,7 @@ let Ei = class {
727
723
  }
728
724
  };
729
725
  const It = "default", xe = "dynamic";
730
- let Si = class {
726
+ let bi = class {
731
727
  constructor() {
732
728
  this.adapterRegistry = /* @__PURE__ */ new Map(), this.adapterRegistry.set(xe, []);
733
729
  }
@@ -750,18 +746,18 @@ let Si = class {
750
746
  this.adapterRegistry.set(It, t);
751
747
  }
752
748
  };
753
- const fr = new Si(), Wt = "__uxl_regions__", Ct = (r) => (t, e) => {
749
+ const pr = new bi(), Wt = "__uxl_regions__", Ct = (r) => (t, e) => {
754
750
  t.constructor[Wt] = { ...t.constructor[Wt], [e]: r };
755
- }, Ci = (r, t, e) => {
751
+ }, wi = (r, t, e) => {
756
752
  const i = e.getAdapterFactory(t);
757
753
  return x(typeof i == "function", "No region adapter factory found for the host"), i(r, t);
758
- }, xi = async (r, t, e, i) => {
754
+ }, Ai = async (r, t, e, i) => {
759
755
  await t._updatePromise;
760
756
  const s = t.shadowRoot.querySelector(`#${r.targetId}`);
761
757
  if (s) {
762
- const n = r.adapterFactory ? r.adapterFactory(r, s) : Ci(r, s, i);
758
+ const n = r.adapterFactory ? r.adapterFactory(r, s) : wi(r, s, i);
763
759
  x(n, "No region adapter found for the host");
764
- const o = r.scoped ? e.createRegionManager() : e, a = new Ei(r.name, o, s, n, r);
760
+ const o = r.scoped ? e.createRegionManager() : e, a = new _i(r.name, o, s, n, r);
765
761
  return o.add(r.name, a), a;
766
762
  } else
767
763
  console.warn(`region host with id ${r.targetId} not found for region named ${r.name}`);
@@ -783,7 +779,7 @@ const fr = new Si(), Wt = "__uxl_regions__", Ct = (r) => (t, e) => {
783
779
  * THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
784
780
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
785
781
  */
786
- let Ri = class {
782
+ let Ei = class {
787
783
  constructor(t) {
788
784
  this._ownQueue = [], this.isProcessing = !1, this.executor = t;
789
785
  }
@@ -798,11 +794,11 @@ let Ri = class {
798
794
  }
799
795
  }
800
796
  };
801
- const gr = /* @__PURE__ */ new WeakMap();
802
- function Pi(r, t) {
797
+ const fr = /* @__PURE__ */ new WeakMap();
798
+ function Si(r, t) {
803
799
  let e = t;
804
800
  for (; e; ) {
805
- if (gr.get(e) === r)
801
+ if (fr.get(e) === r)
806
802
  return !0;
807
803
  e = Object.getPrototypeOf(e);
808
804
  }
@@ -810,10 +806,10 @@ function Pi(r, t) {
810
806
  }
811
807
  function ne(r) {
812
808
  return (t) => {
813
- if (Pi(r, t))
809
+ if (Si(r, t))
814
810
  return t;
815
811
  const e = r(t);
816
- return gr.set(e, r), e;
812
+ return fr.set(e, r), e;
817
813
  };
818
814
  }
819
815
  /**
@@ -821,10 +817,10 @@ function ne(r) {
821
817
  * Copyright 2019 Google LLC
822
818
  * SPDX-License-Identifier: BSD-3-Clause
823
819
  */
824
- const ft = window, oe = ft.ShadowRoot && (ft.ShadyCSS === void 0 || ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, vr = Symbol(), Re = /* @__PURE__ */ new WeakMap();
825
- let Ti = class {
820
+ const ft = window, oe = ft.ShadowRoot && (ft.ShadyCSS === void 0 || ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, gr = Symbol(), Re = /* @__PURE__ */ new WeakMap();
821
+ let Ci = class {
826
822
  constructor(t, e, i) {
827
- if (this._$cssResult$ = !0, i !== vr)
823
+ if (this._$cssResult$ = !0, i !== gr)
828
824
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
829
825
  this.cssText = t, this.t = e;
830
826
  }
@@ -841,7 +837,7 @@ let Ti = class {
841
837
  return this.cssText;
842
838
  }
843
839
  };
844
- const Oi = (r) => new Ti(typeof r == "string" ? r : r + "", void 0, vr), Ii = (r, t) => {
840
+ const xi = (r) => new Ci(typeof r == "string" ? r : r + "", void 0, gr), Ri = (r, t) => {
845
841
  oe ? r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
846
842
  const i = document.createElement("style"), s = ft.litNonce;
847
843
  s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, r.appendChild(i);
@@ -850,7 +846,7 @@ const Oi = (r) => new Ti(typeof r == "string" ? r : r + "", void 0, vr), Ii = (r
850
846
  let e = "";
851
847
  for (const i of t.cssRules)
852
848
  e += i.cssText;
853
- return Oi(e);
849
+ return xi(e);
854
850
  })(r) : r;
855
851
  /**
856
852
  * @license
@@ -858,10 +854,10 @@ const Oi = (r) => new Ti(typeof r == "string" ? r : r + "", void 0, vr), Ii = (r
858
854
  * SPDX-License-Identifier: BSD-3-Clause
859
855
  */
860
856
  var Nt;
861
- const _t = window, Te = _t.trustedTypes, Ni = Te ? Te.emptyScript : "", Oe = _t.reactiveElementPolyfillSupport, Gt = { toAttribute(r, t) {
857
+ const _t = window, Te = _t.trustedTypes, Pi = Te ? Te.emptyScript : "", Oe = _t.reactiveElementPolyfillSupport, Gt = { toAttribute(r, t) {
862
858
  switch (t) {
863
859
  case Boolean:
864
- r = r ? Ni : null;
860
+ r = r ? Pi : null;
865
861
  break;
866
862
  case Object:
867
863
  case Array:
@@ -966,7 +962,7 @@ let D = class extends HTMLElement {
966
962
  createRenderRoot() {
967
963
  var t;
968
964
  const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
969
- return Ii(e, this.constructor.elementStyles), e;
965
+ return Ri(e, this.constructor.elementStyles), e;
970
966
  }
971
967
  connectedCallback() {
972
968
  var t;
@@ -1073,34 +1069,34 @@ D[Kt] = !0, D.elementProperties = /* @__PURE__ */ new Map(), D.elementStyles = [
1073
1069
  * SPDX-License-Identifier: BSD-3-Clause
1074
1070
  */
1075
1071
  var Mt;
1076
- const bt = window, q = bt.trustedTypes, Ie = q ? q.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Yt = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, mr = "?" + S, ki = `<${mr}>`, M = document, et = () => M.createComment(""), rt = (r) => r === null || typeof r != "object" && typeof r != "function", yr = Array.isArray, Mi = (r) => yr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Ut = `[
1072
+ const bt = window, q = bt.trustedTypes, Ie = q ? q.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Yt = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, vr = "?" + S, Ti = `<${vr}>`, M = document, et = () => M.createComment(""), rt = (r) => r === null || typeof r != "object" && typeof r != "function", mr = Array.isArray, Oi = (r) => mr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Ut = `[
1077
1073
  \f\r]`, Z = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ne = /-->/g, ke = />/g, T = RegExp(`>|${Ut}(?:([^\\s"'>=/]+)(${Ut}*=${Ut}*(?:[^
1078
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Me = /'/g, Ue = /"/g, $r = /^(?:script|style|textarea|title)$/i, W = Symbol.for("lit-noChange"), y = Symbol.for("lit-nothing"), He = /* @__PURE__ */ new WeakMap(), I = M.createTreeWalker(M, 129, null, !1);
1079
- function _r(r, t) {
1074
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Me = /'/g, Ue = /"/g, yr = /^(?:script|style|textarea|title)$/i, W = Symbol.for("lit-noChange"), y = Symbol.for("lit-nothing"), He = /* @__PURE__ */ new WeakMap(), I = M.createTreeWalker(M, 129, null, !1);
1075
+ function $r(r, t) {
1080
1076
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
1081
1077
  throw Error("invalid template strings array");
1082
1078
  return Ie !== void 0 ? Ie.createHTML(t) : t;
1083
1079
  }
1084
- const Ui = (r, t) => {
1080
+ const Ii = (r, t) => {
1085
1081
  const e = r.length - 1, i = [];
1086
1082
  let s, n = t === 2 ? "<svg>" : "", o = Z;
1087
1083
  for (let a = 0; a < e; a++) {
1088
1084
  const c = r[a];
1089
1085
  let l, u, h = -1, p = 0;
1090
1086
  for (; p < c.length && (o.lastIndex = p, u = o.exec(c), u !== null); )
1091
- p = o.lastIndex, o === Z ? u[1] === "!--" ? o = Ne : u[1] !== void 0 ? o = ke : u[2] !== void 0 ? ($r.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = T) : u[3] !== void 0 && (o = T) : o === T ? u[0] === ">" ? (o = s ?? Z, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, l = u[1], o = u[3] === void 0 ? T : u[3] === '"' ? Ue : Me) : o === Ue || o === Me ? o = T : o === Ne || o === ke ? o = Z : (o = T, s = void 0);
1087
+ p = o.lastIndex, o === Z ? u[1] === "!--" ? o = Ne : u[1] !== void 0 ? o = ke : u[2] !== void 0 ? (yr.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = T) : u[3] !== void 0 && (o = T) : o === T ? u[0] === ">" ? (o = s ?? Z, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, l = u[1], o = u[3] === void 0 ? T : u[3] === '"' ? Ue : Me) : o === Ue || o === Me ? o = T : o === Ne || o === ke ? o = Z : (o = T, s = void 0);
1092
1088
  const m = o === T && r[a + 1].startsWith("/>") ? " " : "";
1093
- n += o === Z ? c + ki : h >= 0 ? (i.push(l), c.slice(0, h) + Yt + c.slice(h) + S + m) : c + S + (h === -2 ? (i.push(void 0), a) : m);
1089
+ n += o === Z ? c + Ti : h >= 0 ? (i.push(l), c.slice(0, h) + Yt + c.slice(h) + S + m) : c + S + (h === -2 ? (i.push(void 0), a) : m);
1094
1090
  }
1095
- return [_r(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
1091
+ return [$r(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
1096
1092
  };
1097
- let Xt = class br {
1093
+ let Xt = class _r {
1098
1094
  constructor({ strings: t, _$litType$: e }, i) {
1099
1095
  let s;
1100
1096
  this.parts = [];
1101
1097
  let n = 0, o = 0;
1102
- const a = t.length - 1, c = this.parts, [l, u] = Ui(t, e);
1103
- if (this.el = br.createElement(l, i), I.currentNode = this.el.content, e === 2) {
1098
+ const a = t.length - 1, c = this.parts, [l, u] = Ii(t, e);
1099
+ if (this.el = _r.createElement(l, i), I.currentNode = this.el.content, e === 2) {
1104
1100
  const h = this.el.content, p = h.firstChild;
1105
1101
  p.remove(), h.append(...p.childNodes);
1106
1102
  }
@@ -1113,14 +1109,14 @@ let Xt = class br {
1113
1109
  const m = u[o++];
1114
1110
  if (h.push(p), m !== void 0) {
1115
1111
  const V = s.getAttribute(m.toLowerCase() + Yt).split(S), dt = /([.?@])?(.*)/.exec(m);
1116
- c.push({ type: 1, index: n, name: dt[2], strings: V, ctor: dt[1] === "." ? ji : dt[1] === "?" ? Vi : dt[1] === "@" ? Di : xt });
1112
+ c.push({ type: 1, index: n, name: dt[2], strings: V, ctor: dt[1] === "." ? ki : dt[1] === "?" ? Ui : dt[1] === "@" ? Hi : xt });
1117
1113
  } else
1118
1114
  c.push({ type: 6, index: n });
1119
1115
  }
1120
1116
  for (const p of h)
1121
1117
  s.removeAttribute(p);
1122
1118
  }
1123
- if ($r.test(s.tagName)) {
1119
+ if (yr.test(s.tagName)) {
1124
1120
  const h = s.textContent.split(S), p = h.length - 1;
1125
1121
  if (p > 0) {
1126
1122
  s.textContent = q ? q.emptyScript : "";
@@ -1130,7 +1126,7 @@ let Xt = class br {
1130
1126
  }
1131
1127
  }
1132
1128
  } else if (s.nodeType === 8)
1133
- if (s.data === mr)
1129
+ if (s.data === vr)
1134
1130
  c.push({ type: 2, index: n });
1135
1131
  else {
1136
1132
  let h = -1;
@@ -1153,7 +1149,7 @@ function G(r, t, e = r, i) {
1153
1149
  const l = rt(t) ? void 0 : t._$litDirective$;
1154
1150
  return (c == null ? void 0 : c.constructor) !== l && ((n = c == null ? void 0 : c._$AO) === null || n === void 0 || n.call(c, !1), l === void 0 ? c = void 0 : (c = new l(r), c._$AT(r, e, i)), i !== void 0 ? ((o = (a = e)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[i] = c : e._$Cl = c), c !== void 0 && (t = G(r, c._$AS(r, t.values), c, i)), t;
1155
1151
  }
1156
- let Hi = class {
1152
+ let Ni = class {
1157
1153
  constructor(t, e) {
1158
1154
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
1159
1155
  }
@@ -1171,7 +1167,7 @@ let Hi = class {
1171
1167
  for (; l !== void 0; ) {
1172
1168
  if (a === l.index) {
1173
1169
  let u;
1174
- l.type === 2 ? u = new ce(o, o.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (u = new zi(o, this, t)), this._$AV.push(u), l = s[++c];
1170
+ l.type === 2 ? u = new ce(o, o.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (u = new ji(o, this, t)), this._$AV.push(u), l = s[++c];
1175
1171
  }
1176
1172
  a !== (l == null ? void 0 : l.index) && (o = I.nextNode(), a++);
1177
1173
  }
@@ -1182,7 +1178,7 @@ let Hi = class {
1182
1178
  for (const i of this._$AV)
1183
1179
  i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
1184
1180
  }
1185
- }, ce = class wr {
1181
+ }, ce = class br {
1186
1182
  constructor(t, e, i, s) {
1187
1183
  var n;
1188
1184
  this.type = 2, this._$AH = y, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cp = (n = s == null ? void 0 : s.isConnected) === null || n === void 0 || n;
@@ -1203,7 +1199,7 @@ let Hi = class {
1203
1199
  return this._$AB;
1204
1200
  }
1205
1201
  _$AI(t, e = this) {
1206
- t = G(this, t, e), rt(t) ? t === y || t == null || t === "" ? (this._$AH !== y && this._$AR(), this._$AH = y) : t !== this._$AH && t !== W && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Mi(t) ? this.T(t) : this._(t);
1202
+ t = G(this, t, e), rt(t) ? t === y || t == null || t === "" ? (this._$AH !== y && this._$AR(), this._$AH = y) : t !== this._$AH && t !== W && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Oi(t) ? this.T(t) : this._(t);
1207
1203
  }
1208
1204
  k(t) {
1209
1205
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1216,11 +1212,11 @@ let Hi = class {
1216
1212
  }
1217
1213
  g(t) {
1218
1214
  var e;
1219
- const { values: i, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Xt.createElement(_r(s.h, s.h[0]), this.options)), s);
1215
+ const { values: i, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Xt.createElement($r(s.h, s.h[0]), this.options)), s);
1220
1216
  if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === n)
1221
1217
  this._$AH.v(i);
1222
1218
  else {
1223
- const o = new Hi(n, this), a = o.u(this.options);
1219
+ const o = new Ni(n, this), a = o.u(this.options);
1224
1220
  o.v(i), this.$(a), this._$AH = o;
1225
1221
  }
1226
1222
  }
@@ -1229,11 +1225,11 @@ let Hi = class {
1229
1225
  return e === void 0 && He.set(t.strings, e = new Xt(t)), e;
1230
1226
  }
1231
1227
  T(t) {
1232
- yr(this._$AH) || (this._$AH = [], this._$AR());
1228
+ mr(this._$AH) || (this._$AH = [], this._$AR());
1233
1229
  const e = this._$AH;
1234
1230
  let i, s = 0;
1235
1231
  for (const n of t)
1236
- s === e.length ? e.push(i = new wr(this.k(et()), this.k(et()), this, this.options)) : i = e[s], i._$AI(n), s++;
1232
+ s === e.length ? e.push(i = new br(this.k(et()), this.k(et()), this, this.options)) : i = e[s], i._$AI(n), s++;
1237
1233
  s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
1238
1234
  }
1239
1235
  _$AR(t = this._$AA.nextSibling, e) {
@@ -1273,7 +1269,7 @@ let Hi = class {
1273
1269
  j(t) {
1274
1270
  t === y ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1275
1271
  }
1276
- }, ji = class extends xt {
1272
+ }, ki = class extends xt {
1277
1273
  constructor() {
1278
1274
  super(...arguments), this.type = 3;
1279
1275
  }
@@ -1281,16 +1277,16 @@ let Hi = class {
1281
1277
  this.element[this.name] = t === y ? void 0 : t;
1282
1278
  }
1283
1279
  };
1284
- const Li = q ? q.emptyScript : "";
1285
- let Vi = class extends xt {
1280
+ const Mi = q ? q.emptyScript : "";
1281
+ let Ui = class extends xt {
1286
1282
  constructor() {
1287
1283
  super(...arguments), this.type = 4;
1288
1284
  }
1289
1285
  j(t) {
1290
- t && t !== y ? this.element.setAttribute(this.name, Li) : this.element.removeAttribute(this.name);
1286
+ t && t !== y ? this.element.setAttribute(this.name, Mi) : this.element.removeAttribute(this.name);
1291
1287
  }
1292
1288
  };
1293
- class Di extends xt {
1289
+ class Hi extends xt {
1294
1290
  constructor(t, e, i, s, n) {
1295
1291
  super(t, e, i, s, n), this.type = 5;
1296
1292
  }
@@ -1306,7 +1302,7 @@ class Di extends xt {
1306
1302
  typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && i !== void 0 ? i : this.element, t) : this._$AH.handleEvent(t);
1307
1303
  }
1308
1304
  }
1309
- let zi = class {
1305
+ let ji = class {
1310
1306
  constructor(t, e, i) {
1311
1307
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
1312
1308
  }
@@ -1319,7 +1315,7 @@ let zi = class {
1319
1315
  };
1320
1316
  const je = bt.litHtmlPolyfillSupport;
1321
1317
  je == null || je(Xt, ce), ((Mt = bt.litHtmlVersions) !== null && Mt !== void 0 ? Mt : bt.litHtmlVersions = []).push("2.8.0");
1322
- const Bi = (r, t, e) => {
1318
+ const Li = (r, t, e) => {
1323
1319
  var i, s;
1324
1320
  const n = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : t;
1325
1321
  let o = n._$litPart$;
@@ -1346,7 +1342,7 @@ let gt = class extends D {
1346
1342
  }
1347
1343
  update(t) {
1348
1344
  const e = this.render();
1349
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Bi(e, this.renderRoot, this.renderOptions);
1345
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Li(e, this.renderRoot, this.renderOptions);
1350
1346
  }
1351
1347
  connectedCallback() {
1352
1348
  var t;
@@ -1364,32 +1360,28 @@ gt.finalized = !0, gt._$litElement$ = !0, (Ht = globalThis.litElementHydrateSupp
1364
1360
  const Le = globalThis.litElementPolyfillSupport;
1365
1361
  Le == null || Le({ LitElement: gt });
1366
1362
  ((jt = globalThis.litElementVersions) !== null && jt !== void 0 ? jt : globalThis.litElementVersions = []).push("3.3.3");
1367
- var Fi = /* @__PURE__ */ g(function(t, e) {
1363
+ var Vi = /* @__PURE__ */ g(function(t, e) {
1368
1364
  return e == null || e !== e ? t : e;
1369
1365
  });
1370
- const qi = (r, t) => t.constructor._classProperties ? t.constructor._classProperties.get(r).hasChanged : void 0, Wi = j(qi, Fi(ae)), Gi = ne((r) => {
1366
+ const Di = (r, t) => t.constructor._classProperties ? t.constructor._classProperties.get(r).hasChanged : void 0, zi = j(Di, Vi(ae)), Bi = ne((r) => {
1371
1367
  class t extends r {
1372
1368
  requestUpdate(i, s) {
1373
1369
  const n = super.requestUpdate ? super.requestUpdate(i, s) : Promise.resolve(null);
1374
- return Wi(i, this)(this[i], s) && this[`${String(i)}Changed`] && this[`${String(i)}Changed`](this[i], s), n;
1370
+ return zi(i, this)(this[i], s) && this[`${String(i)}Changed`] && this[`${String(i)}Changed`](this[i], s), n;
1375
1371
  }
1376
1372
  }
1377
1373
  return t;
1378
1374
  });
1379
- var Ki = function() {
1375
+ var Fi = function() {
1380
1376
  return !0;
1381
- };
1382
- const Yi = Ki;
1383
- var wt = /* @__PURE__ */ $(function(t) {
1377
+ }, wt = /* @__PURE__ */ $(function(t) {
1384
1378
  return function() {
1385
1379
  return t;
1386
1380
  };
1387
- }), Xi = /* @__PURE__ */ g(function(t, e) {
1381
+ }), qi = /* @__PURE__ */ g(function(t, e) {
1388
1382
  return e > t ? e : t;
1389
- });
1390
- const Zi = Xi;
1391
- var Qi = /* @__PURE__ */ $(function(t) {
1392
- var e = dr(Zi, 0, ct(function(i) {
1383
+ }), Wi = /* @__PURE__ */ $(function(t) {
1384
+ var e = ur(qi, 0, ct(function(i) {
1393
1385
  return i[0].length;
1394
1386
  }, t));
1395
1387
  return at(e, function() {
@@ -1399,7 +1391,7 @@ var Qi = /* @__PURE__ */ $(function(t) {
1399
1391
  i += 1;
1400
1392
  }
1401
1393
  });
1402
- }), Ji = /* @__PURE__ */ g(
1394
+ }), Gi = /* @__PURE__ */ g(
1403
1395
  /* @__PURE__ */ se("forEach", function(t, e) {
1404
1396
  for (var i = e.length, s = 0; s < i; )
1405
1397
  t(e[s]), s += 1;
@@ -1408,52 +1400,52 @@ var Qi = /* @__PURE__ */ $(function(t) {
1408
1400
  ), le = /* @__PURE__ */ $(function(t) {
1409
1401
  return t == null;
1410
1402
  });
1411
- const ts = Number.isInteger || function(t) {
1403
+ const Ki = Number.isInteger || function(t) {
1412
1404
  return t << 0 === t;
1413
1405
  };
1414
- var es = /* @__PURE__ */ g(function(t, e) {
1406
+ var Yi = /* @__PURE__ */ g(function(t, e) {
1415
1407
  var i = t < 0 ? e.length + t : t;
1416
- return ar(e) ? e.charAt(i) : e[i];
1417
- }), rs = /* @__PURE__ */ g(function(t, e) {
1408
+ return or(e) ? e.charAt(i) : e[i];
1409
+ }), Xi = /* @__PURE__ */ g(function(t, e) {
1418
1410
  return t.map(function(i) {
1419
1411
  for (var s = e, n = 0, o; n < i.length; ) {
1420
1412
  if (s == null)
1421
1413
  return;
1422
- o = i[n], s = ts(o) ? es(o, s) : s[o], n += 1;
1414
+ o = i[n], s = Ki(o) ? Yi(o, s) : s[o], n += 1;
1423
1415
  }
1424
1416
  return s;
1425
1417
  });
1426
- }), is = /* @__PURE__ */ g(function(t, e) {
1427
- return rs([t], e)[0];
1428
- }), ss = /* @__PURE__ */ g(function(t, e) {
1429
- return is([t], e);
1418
+ }), Zi = /* @__PURE__ */ g(function(t, e) {
1419
+ return Xi([t], e)[0];
1420
+ }), Qi = /* @__PURE__ */ g(function(t, e) {
1421
+ return Zi([t], e);
1430
1422
  });
1431
- const Ar = (r) => (t) => j(ss(t.key), le)(r), ns = (r) => (t) => !Ar(r)(t) && le(r.shadowRoot.querySelector(`#${t.definition.targetId}`)), os = (r) => (t) => {
1423
+ const wr = (r) => (t) => j(Qi(t.key), le)(r), Ji = (r) => (t) => !wr(r)(t) && le(r.shadowRoot.querySelector(`#${t.definition.targetId}`)), ts = (r) => (t) => {
1432
1424
  const e = r[t.key];
1433
1425
  e.regionManager.remove(e);
1434
1426
  const i = e.adapter ? e.adapter.behaviors || [] : [];
1435
1427
  return delete r[t.key], j(ct((s) => s.detach), B(Promise.all, Promise), F(() => delete r[t.key]), F(wt(void 0)))(i);
1436
- }, as = (r, t, e) => (i) => xi(i.definition, r, t, e).then((s) => {
1428
+ }, es = (r, t, e) => (i) => Ai(i.definition, r, t, e).then((s) => {
1437
1429
  if (s) {
1438
1430
  r[i.key] = s;
1439
1431
  const n = s.adapter ? s.adapter.behaviors || [] : [];
1440
1432
  return j(ct((o) => o.attach()), B(Promise.all, Promise), F(wt(s)))(n);
1441
1433
  } else
1442
1434
  return;
1443
- }).catch(wt(void 0)), cs = (r) => j(k, ct((t) => ({ key: t, definition: r[t] })))(r), Ve = (r) => r.constructor[Wt] || {}, ls = (r, t, e) => {
1444
- const i = Ar(r), s = ns(r), n = os(r), o = as(r, t, e);
1445
- return (a) => Qi([[i, o], [s, n], [Yi, wt(Promise.resolve(void 0))]])(a);
1446
- }, hs = (r, t) => ne((e) => {
1435
+ }).catch(wt(void 0)), rs = (r) => j(k, ct((t) => ({ key: t, definition: r[t] })))(r), Ve = (r) => r.constructor[Wt] || {}, is = (r, t, e) => {
1436
+ const i = wr(r), s = Ji(r), n = ts(r), o = es(r, t, e);
1437
+ return (a) => Wi([[i, o], [s, n], [Fi, wt(Promise.resolve(void 0))]])(a);
1438
+ }, ss = (r, t) => ne((e) => {
1447
1439
  class i extends e {
1448
1440
  constructor(...n) {
1449
- super(), this.enqueuer = new Ri(this.runRegionCreation.bind(this));
1441
+ super(), this.enqueuer = new Ei(this.runRegionCreation.bind(this));
1450
1442
  }
1451
1443
  updated(n) {
1452
1444
  super.updated(n), this.create();
1453
1445
  }
1454
1446
  createRegions() {
1455
- const n = Ve(this), o = ls(this, r, t);
1456
- return j(cs, Ji(o), B(Promise.all, Promise), F(cr(le)), F(B(this.regionsCreated, this)))(n);
1447
+ const n = Ve(this), o = is(this, r, t);
1448
+ return j(rs, Gi(o), B(Promise.all, Promise), F(ar(le)), F(B(this.regionsCreated, this)))(n);
1457
1449
  }
1458
1450
  create() {
1459
1451
  this.enqueuer.enqueueItem();
@@ -1476,23 +1468,23 @@ const Ar = (r) => (t) => j(ss(t.key), le)(r), ns = (r) => (t) => !Ar(r)(t) && le
1476
1468
  }
1477
1469
  return i;
1478
1470
  });
1479
- fr.registerDefaultAdapterFactory(_i);
1471
+ pr.registerDefaultAdapterFactory(vi);
1480
1472
  /**
1481
1473
  * @license
1482
1474
  * Copyright 2017 Google LLC
1483
1475
  * SPDX-License-Identifier: BSD-3-Clause
1484
1476
  */
1485
- const us = (r, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
1477
+ const ns = (r, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
1486
1478
  e.createProperty(t.key, r);
1487
1479
  } } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: t.key, initializer() {
1488
1480
  typeof t.initializer == "function" && (this[t.key] = t.initializer.call(this));
1489
1481
  }, finisher(e) {
1490
1482
  e.createProperty(t.key, r);
1491
- } }, ds = (r, t, e) => {
1483
+ } }, os = (r, t, e) => {
1492
1484
  t.constructor.createProperty(e, r);
1493
1485
  };
1494
1486
  function De(r) {
1495
- return (t, e) => e !== void 0 ? ds(r, t, e) : us(r, t);
1487
+ return (t, e) => e !== void 0 ? os(r, t, e) : ns(r, t);
1496
1488
  }
1497
1489
  /**
1498
1490
  * @license
@@ -1501,25 +1493,25 @@ function De(r) {
1501
1493
  */
1502
1494
  var Lt;
1503
1495
  ((Lt = window.HTMLSlotElement) === null || Lt === void 0 ? void 0 : Lt.prototype.assignedElements) != null;
1504
- var ps = Object.defineProperty, fs = Object.getOwnPropertyDescriptor, ze = (r, t, e, i) => {
1505
- for (var s = i > 1 ? void 0 : i ? fs(t, e) : t, n = r.length - 1, o; n >= 0; n--)
1506
- (o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
1507
- return i && s && ps(t, e, s), s;
1496
+ var as = Object.defineProperty, ze = (r, t, e, i) => {
1497
+ for (var s = void 0, n = r.length - 1, o; n >= 0; n--)
1498
+ (o = r[n]) && (s = o(t, e, s) || s);
1499
+ return s && as(t, e, s), s;
1508
1500
  };
1509
- const gs = ne((r) => {
1510
- class t extends Gi(r) {
1501
+ const cs = ne((r) => {
1502
+ class t extends Bi(r) {
1511
1503
  activeChanged(i, s) {
1512
1504
  }
1513
1505
  regionContextChanged(i, s) {
1514
1506
  }
1515
1507
  }
1516
- return ze([De({ type: Boolean })], t.prototype, "active", 2), ze([De()], t.prototype, "regionContext", 2), t;
1508
+ return ze([De({ type: Boolean })], t.prototype, "active"), ze([De()], t.prototype, "regionContext"), t;
1517
1509
  });
1518
- function vs(r) {
1519
- return gs(r);
1510
+ function ls(r) {
1511
+ return cs(r);
1520
1512
  }
1521
- const ms = (r) => hs(r, fr);
1522
- class ys {
1513
+ const hs = (r) => ss(r, pr);
1514
+ class us {
1523
1515
  constructor() {
1524
1516
  this.viewsByRegion = {}, this.regions = {};
1525
1517
  }
@@ -1593,9 +1585,9 @@ class he {
1593
1585
  return new he(this._viewRegistry);
1594
1586
  }
1595
1587
  }
1596
- class $s extends he {
1588
+ class ds extends he {
1597
1589
  constructor(t) {
1598
- const e = new ys();
1590
+ const e = new us();
1599
1591
  super(e), this._name = t;
1600
1592
  }
1601
1593
  clear() {
@@ -1605,14 +1597,14 @@ class $s extends he {
1605
1597
  return super.destroy(), this._viewRegistry.destroy(), this;
1606
1598
  }
1607
1599
  }
1608
- const _s = (r) => new $s(r), bs = _s("SHELL-LIT"), ws = ms(bs);
1600
+ const ps = (r) => new ds(r), fs = ps("SHELL-LIT"), gs = hs(fs);
1609
1601
  /**
1610
1602
  * @license
1611
1603
  * Copyright 2019 Google LLC
1612
1604
  * SPDX-License-Identifier: BSD-3-Clause
1613
1605
  */
1614
1606
  const vt = globalThis, ue = vt.ShadowRoot && (vt.ShadyCSS === void 0 || vt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, de = Symbol(), Be = /* @__PURE__ */ new WeakMap();
1615
- let Er = class {
1607
+ let Ar = class {
1616
1608
  constructor(t, e, i) {
1617
1609
  if (this._$cssResult$ = !0, i !== de)
1618
1610
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -1631,7 +1623,7 @@ let Er = class {
1631
1623
  return this.cssText;
1632
1624
  }
1633
1625
  };
1634
- const As = (r) => new Er(typeof r == "string" ? r : r + "", void 0, de), L = (r, ...t) => {
1626
+ const vs = (r) => new Ar(typeof r == "string" ? r : r + "", void 0, de), L = (r, ...t) => {
1635
1627
  const e = r.length === 1 ? r[0] : t.reduce((i, s, n) => i + ((o) => {
1636
1628
  if (o._$cssResult$ === !0)
1637
1629
  return o.cssText;
@@ -1639,8 +1631,8 @@ const As = (r) => new Er(typeof r == "string" ? r : r + "", void 0, de), L = (r,
1639
1631
  return o;
1640
1632
  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.");
1641
1633
  })(s) + r[n + 1], r[0]);
1642
- return new Er(e, r, de);
1643
- }, Es = (r, t) => {
1634
+ return new Ar(e, r, de);
1635
+ }, ms = (r, t) => {
1644
1636
  if (ue)
1645
1637
  r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
1646
1638
  else
@@ -1652,17 +1644,17 @@ const As = (r) => new Er(typeof r == "string" ? r : r + "", void 0, de), L = (r,
1652
1644
  let e = "";
1653
1645
  for (const i of t.cssRules)
1654
1646
  e += i.cssText;
1655
- return As(e);
1647
+ return vs(e);
1656
1648
  })(r) : r;
1657
1649
  /**
1658
1650
  * @license
1659
1651
  * Copyright 2017 Google LLC
1660
1652
  * SPDX-License-Identifier: BSD-3-Clause
1661
1653
  */
1662
- const { is: Ss, defineProperty: Cs, getOwnPropertyDescriptor: xs, getOwnPropertyNames: Rs, getOwnPropertySymbols: Ps, getPrototypeOf: Ts } = Object, R = globalThis, qe = R.trustedTypes, Os = qe ? qe.emptyScript : "", Vt = R.reactiveElementPolyfillSupport, J = (r, t) => r, At = { toAttribute(r, t) {
1654
+ const { is: ys, defineProperty: $s, getOwnPropertyDescriptor: _s, getOwnPropertyNames: bs, getOwnPropertySymbols: ws, getPrototypeOf: As } = Object, R = globalThis, qe = R.trustedTypes, Es = qe ? qe.emptyScript : "", Vt = R.reactiveElementPolyfillSupport, J = (r, t) => r, At = { toAttribute(r, t) {
1663
1655
  switch (t) {
1664
1656
  case Boolean:
1665
- r = r ? Os : null;
1657
+ r = r ? Es : null;
1666
1658
  break;
1667
1659
  case Object:
1668
1660
  case Array:
@@ -1687,7 +1679,7 @@ const { is: Ss, defineProperty: Cs, getOwnPropertyDescriptor: xs, getOwnProperty
1687
1679
  }
1688
1680
  }
1689
1681
  return e;
1690
- } }, pe = (r, t) => !Ss(r, t), We = { attribute: !0, type: String, converter: At, reflect: !1, hasChanged: pe };
1682
+ } }, pe = (r, t) => !ys(r, t), We = { attribute: !0, type: String, converter: At, reflect: !1, hasChanged: pe };
1691
1683
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), R.litPropertyMetadata ?? (R.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1692
1684
  class z extends HTMLElement {
1693
1685
  static addInitializer(t) {
@@ -1699,11 +1691,11 @@ class z extends HTMLElement {
1699
1691
  static createProperty(t, e = We) {
1700
1692
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
1701
1693
  const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
1702
- s !== void 0 && Cs(this.prototype, t, s);
1694
+ s !== void 0 && $s(this.prototype, t, s);
1703
1695
  }
1704
1696
  }
1705
1697
  static getPropertyDescriptor(t, e, i) {
1706
- const { get: s, set: n } = xs(this.prototype, t) ?? { get() {
1698
+ const { get: s, set: n } = _s(this.prototype, t) ?? { get() {
1707
1699
  return this[e];
1708
1700
  }, set(o) {
1709
1701
  this[e] = o;
@@ -1721,14 +1713,14 @@ class z extends HTMLElement {
1721
1713
  static _$Ei() {
1722
1714
  if (this.hasOwnProperty(J("elementProperties")))
1723
1715
  return;
1724
- const t = Ts(this);
1716
+ const t = As(this);
1725
1717
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
1726
1718
  }
1727
1719
  static finalize() {
1728
1720
  if (this.hasOwnProperty(J("finalized")))
1729
1721
  return;
1730
1722
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(J("properties"))) {
1731
- const e = this.properties, i = [...Rs(e), ...Ps(e)];
1723
+ const e = this.properties, i = [...bs(e), ...ws(e)];
1732
1724
  for (const s of i)
1733
1725
  this.createProperty(s, e[s]);
1734
1726
  }
@@ -1783,7 +1775,7 @@ class z extends HTMLElement {
1783
1775
  }
1784
1776
  createRenderRoot() {
1785
1777
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1786
- return Es(t, this.constructor.elementStyles), t;
1778
+ return ms(t, this.constructor.elementStyles), t;
1787
1779
  }
1788
1780
  connectedCallback() {
1789
1781
  var t;
@@ -1906,33 +1898,33 @@ z.elementStyles = [], z.shadowRootOptions = { mode: "open" }, z[J("elementProper
1906
1898
  * Copyright 2017 Google LLC
1907
1899
  * SPDX-License-Identifier: BSD-3-Clause
1908
1900
  */
1909
- const tt = globalThis, Et = tt.trustedTypes, Ge = Et ? Et.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Sr = "$lit$", C = `lit$${(Math.random() + "").slice(9)}$`, Cr = "?" + C, Is = `<${Cr}>`, U = document, it = () => U.createComment(""), st = (r) => r === null || typeof r != "object" && typeof r != "function", xr = Array.isArray, Ns = (r) => xr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Dt = `[
1901
+ const tt = globalThis, Et = tt.trustedTypes, Ge = Et ? Et.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Er = "$lit$", C = `lit$${Math.random().toFixed(9).slice(2)}$`, Sr = "?" + C, Ss = `<${Sr}>`, U = document, it = () => U.createComment(""), st = (r) => r === null || typeof r != "object" && typeof r != "function", Cr = Array.isArray, Cs = (r) => Cr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Dt = `[
1910
1902
  \f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ke = /-->/g, Ye = />/g, O = RegExp(`>|${Dt}(?:([^\\s"'>=/]+)(${Dt}*=${Dt}*(?:[^
1911
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Xe = /'/g, Ze = /"/g, Rr = /^(?:script|style|textarea|title)$/i, ks = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), A = ks(1), H = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Qe = /* @__PURE__ */ new WeakMap(), N = U.createTreeWalker(U, 129);
1912
- function Pr(r, t) {
1903
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Xe = /'/g, Ze = /"/g, xr = /^(?:script|style|textarea|title)$/i, xs = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), A = xs(1), H = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Qe = /* @__PURE__ */ new WeakMap(), N = U.createTreeWalker(U, 129);
1904
+ function Rr(r, t) {
1913
1905
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
1914
1906
  throw Error("invalid template strings array");
1915
1907
  return Ge !== void 0 ? Ge.createHTML(t) : t;
1916
1908
  }
1917
- const Ms = (r, t) => {
1909
+ const Rs = (r, t) => {
1918
1910
  const e = r.length - 1, i = [];
1919
1911
  let s, n = t === 2 ? "<svg>" : "", o = Q;
1920
1912
  for (let a = 0; a < e; a++) {
1921
1913
  const c = r[a];
1922
1914
  let l, u, h = -1, p = 0;
1923
1915
  for (; p < c.length && (o.lastIndex = p, u = o.exec(c), u !== null); )
1924
- p = o.lastIndex, o === Q ? u[1] === "!--" ? o = Ke : u[1] !== void 0 ? o = Ye : u[2] !== void 0 ? (Rr.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = O) : u[3] !== void 0 && (o = O) : o === O ? u[0] === ">" ? (o = s ?? Q, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, l = u[1], o = u[3] === void 0 ? O : u[3] === '"' ? Ze : Xe) : o === Ze || o === Xe ? o = O : o === Ke || o === Ye ? o = Q : (o = O, s = void 0);
1916
+ p = o.lastIndex, o === Q ? u[1] === "!--" ? o = Ke : u[1] !== void 0 ? o = Ye : u[2] !== void 0 ? (xr.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = O) : u[3] !== void 0 && (o = O) : o === O ? u[0] === ">" ? (o = s ?? Q, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, l = u[1], o = u[3] === void 0 ? O : u[3] === '"' ? Ze : Xe) : o === Ze || o === Xe ? o = O : o === Ke || o === Ye ? o = Q : (o = O, s = void 0);
1925
1917
  const m = o === O && r[a + 1].startsWith("/>") ? " " : "";
1926
- n += o === Q ? c + Is : h >= 0 ? (i.push(l), c.slice(0, h) + Sr + c.slice(h) + C + m) : c + C + (h === -2 ? a : m);
1918
+ n += o === Q ? c + Ss : h >= 0 ? (i.push(l), c.slice(0, h) + Er + c.slice(h) + C + m) : c + C + (h === -2 ? a : m);
1927
1919
  }
1928
- return [Pr(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
1920
+ return [Rr(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
1929
1921
  };
1930
1922
  class nt {
1931
1923
  constructor({ strings: t, _$litType$: e }, i) {
1932
1924
  let s;
1933
1925
  this.parts = [];
1934
1926
  let n = 0, o = 0;
1935
- const a = t.length - 1, c = this.parts, [l, u] = Ms(t, e);
1927
+ const a = t.length - 1, c = this.parts, [l, u] = Rs(t, e);
1936
1928
  if (this.el = nt.createElement(l, i), N.currentNode = this.el.content, e === 2) {
1937
1929
  const h = this.el.content.firstChild;
1938
1930
  h.replaceWith(...h.childNodes);
@@ -1941,12 +1933,12 @@ class nt {
1941
1933
  if (s.nodeType === 1) {
1942
1934
  if (s.hasAttributes())
1943
1935
  for (const h of s.getAttributeNames())
1944
- if (h.endsWith(Sr)) {
1936
+ if (h.endsWith(Er)) {
1945
1937
  const p = u[o++], m = s.getAttribute(h).split(C), V = /([.?@])?(.*)/.exec(p);
1946
- c.push({ type: 1, index: n, name: V[2], strings: m, ctor: V[1] === "." ? Hs : V[1] === "?" ? js : V[1] === "@" ? Ls : Rt }), s.removeAttribute(h);
1938
+ c.push({ type: 1, index: n, name: V[2], strings: m, ctor: V[1] === "." ? Ts : V[1] === "?" ? Os : V[1] === "@" ? Is : Rt }), s.removeAttribute(h);
1947
1939
  } else
1948
1940
  h.startsWith(C) && (c.push({ type: 6, index: n }), s.removeAttribute(h));
1949
- if (Rr.test(s.tagName)) {
1941
+ if (xr.test(s.tagName)) {
1950
1942
  const h = s.textContent.split(C), p = h.length - 1;
1951
1943
  if (p > 0) {
1952
1944
  s.textContent = Et ? Et.emptyScript : "";
@@ -1956,7 +1948,7 @@ class nt {
1956
1948
  }
1957
1949
  }
1958
1950
  } else if (s.nodeType === 8)
1959
- if (s.data === Cr)
1951
+ if (s.data === Sr)
1960
1952
  c.push({ type: 2, index: n });
1961
1953
  else {
1962
1954
  let h = -1;
@@ -1979,7 +1971,7 @@ function K(r, t, e = r, i) {
1979
1971
  const n = st(t) ? void 0 : t._$litDirective$;
1980
1972
  return (s == null ? void 0 : s.constructor) !== n && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), n === void 0 ? s = void 0 : (s = new n(r), s._$AT(r, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = K(r, s._$AS(r, t.values), s, i)), t;
1981
1973
  }
1982
- class Us {
1974
+ class Ps {
1983
1975
  constructor(t, e) {
1984
1976
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
1985
1977
  }
@@ -1996,7 +1988,7 @@ class Us {
1996
1988
  for (; c !== void 0; ) {
1997
1989
  if (o === c.index) {
1998
1990
  let l;
1999
- c.type === 2 ? l = new lt(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new Vs(n, this, t)), this._$AV.push(l), c = i[++a];
1991
+ c.type === 2 ? l = new lt(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new Ns(n, this, t)), this._$AV.push(l), c = i[++a];
2000
1992
  }
2001
1993
  o !== (c == null ? void 0 : c.index) && (n = N.nextNode(), o++);
2002
1994
  }
@@ -2028,7 +2020,7 @@ class lt {
2028
2020
  return this._$AB;
2029
2021
  }
2030
2022
  _$AI(t, e = this) {
2031
- t = K(this, t, e), st(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== H && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ns(t) ? this.k(t) : this._(t);
2023
+ t = K(this, t, e), st(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== H && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Cs(t) ? this.k(t) : this._(t);
2032
2024
  }
2033
2025
  S(t) {
2034
2026
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -2041,11 +2033,11 @@ class lt {
2041
2033
  }
2042
2034
  $(t) {
2043
2035
  var n;
2044
- const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = nt.createElement(Pr(i.h, i.h[0]), this.options)), i);
2036
+ const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = nt.createElement(Rr(i.h, i.h[0]), this.options)), i);
2045
2037
  if (((n = this._$AH) == null ? void 0 : n._$AD) === s)
2046
2038
  this._$AH.p(e);
2047
2039
  else {
2048
- const o = new Us(s, this), a = o.u(this.options);
2040
+ const o = new Ps(s, this), a = o.u(this.options);
2049
2041
  o.p(e), this.T(a), this._$AH = o;
2050
2042
  }
2051
2043
  }
@@ -2054,7 +2046,7 @@ class lt {
2054
2046
  return e === void 0 && Qe.set(t.strings, e = new nt(t)), e;
2055
2047
  }
2056
2048
  k(t) {
2057
- xr(this._$AH) || (this._$AH = [], this._$AR());
2049
+ Cr(this._$AH) || (this._$AH = [], this._$AR());
2058
2050
  const e = this._$AH;
2059
2051
  let i, s = 0;
2060
2052
  for (const n of t)
@@ -2100,7 +2092,7 @@ class Rt {
2100
2092
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
2101
2093
  }
2102
2094
  }
2103
- class Hs extends Rt {
2095
+ class Ts extends Rt {
2104
2096
  constructor() {
2105
2097
  super(...arguments), this.type = 3;
2106
2098
  }
@@ -2108,7 +2100,7 @@ class Hs extends Rt {
2108
2100
  this.element[this.name] = t === d ? void 0 : t;
2109
2101
  }
2110
2102
  }
2111
- class js extends Rt {
2103
+ class Os extends Rt {
2112
2104
  constructor() {
2113
2105
  super(...arguments), this.type = 4;
2114
2106
  }
@@ -2116,7 +2108,7 @@ class js extends Rt {
2116
2108
  this.element.toggleAttribute(this.name, !!t && t !== d);
2117
2109
  }
2118
2110
  }
2119
- class Ls extends Rt {
2111
+ class Is extends Rt {
2120
2112
  constructor(t, e, i, s, n) {
2121
2113
  super(t, e, i, s, n), this.type = 5;
2122
2114
  }
@@ -2131,7 +2123,7 @@ class Ls extends Rt {
2131
2123
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
2132
2124
  }
2133
2125
  }
2134
- class Vs {
2126
+ class Ns {
2135
2127
  constructor(t, e, i) {
2136
2128
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
2137
2129
  }
@@ -2143,8 +2135,8 @@ class Vs {
2143
2135
  }
2144
2136
  }
2145
2137
  const zt = tt.litHtmlPolyfillSupport;
2146
- zt == null || zt(nt, lt), (tt.litHtmlVersions ?? (tt.litHtmlVersions = [])).push("3.1.2");
2147
- const Ds = (r, t, e) => {
2138
+ zt == null || zt(nt, lt), (tt.litHtmlVersions ?? (tt.litHtmlVersions = [])).push("3.1.3");
2139
+ const ks = (r, t, e) => {
2148
2140
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
2149
2141
  let s = i._$litPart$;
2150
2142
  if (s === void 0) {
@@ -2169,7 +2161,7 @@ let E = class extends z {
2169
2161
  }
2170
2162
  update(t) {
2171
2163
  const e = this.render();
2172
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ds(e, this.renderRoot, this.renderOptions);
2164
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ks(e, this.renderRoot, this.renderOptions);
2173
2165
  }
2174
2166
  connectedCallback() {
2175
2167
  var t;
@@ -2183,11 +2175,11 @@ let E = class extends z {
2183
2175
  return H;
2184
2176
  }
2185
2177
  };
2186
- var nr;
2187
- E._$litElement$ = !0, E.finalized = !0, (nr = globalThis.litElementHydrateSupport) == null || nr.call(globalThis, { LitElement: E });
2178
+ var sr;
2179
+ E._$litElement$ = !0, E.finalized = !0, (sr = globalThis.litElementHydrateSupport) == null || sr.call(globalThis, { LitElement: E });
2188
2180
  const Bt = globalThis.litElementPolyfillSupport;
2189
2181
  Bt == null || Bt({ LitElement: E });
2190
- (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
2182
+ (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.5");
2191
2183
  /**
2192
2184
  * @license
2193
2185
  * Copyright 2017 Google LLC
@@ -2203,7 +2195,7 @@ const Y = (r) => (t, e) => {
2203
2195
  * Copyright 2017 Google LLC
2204
2196
  * SPDX-License-Identifier: BSD-3-Clause
2205
2197
  */
2206
- const zs = { attribute: !0, type: String, converter: At, reflect: !1, hasChanged: pe }, Bs = (r = zs, t, e) => {
2198
+ const Ms = { attribute: !0, type: String, converter: At, reflect: !1, hasChanged: pe }, Us = (r = Ms, t, e) => {
2207
2199
  const { kind: i, metadata: s } = e;
2208
2200
  let n = globalThis.litPropertyMetadata.get(s);
2209
2201
  if (n === void 0 && globalThis.litPropertyMetadata.set(s, n = /* @__PURE__ */ new Map()), n.set(e.name, r), i === "accessor") {
@@ -2225,7 +2217,7 @@ const zs = { attribute: !0, type: String, converter: At, reflect: !1, hasChanged
2225
2217
  throw Error("Unsupported decorator location: " + i);
2226
2218
  };
2227
2219
  function w(r) {
2228
- return (t, e) => typeof e == "object" ? Bs(r, t, e) : ((i, s, n) => {
2220
+ return (t, e) => typeof e == "object" ? Us(r, t, e) : ((i, s, n) => {
2229
2221
  const o = s.hasOwnProperty(n);
2230
2222
  return s.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(s, n) : void 0;
2231
2223
  })(r, t, e);
@@ -2243,33 +2235,19 @@ function fe(r) {
2243
2235
  * Copyright 2017 Google LLC
2244
2236
  * SPDX-License-Identifier: BSD-3-Clause
2245
2237
  */
2246
- const Je = (r, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, e), e);
2238
+ const Hs = (r, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, e), e);
2247
2239
  /**
2248
2240
  * @license
2249
2241
  * Copyright 2017 Google LLC
2250
2242
  * SPDX-License-Identifier: BSD-3-Clause
2251
2243
  */
2252
- function Fs(r, t) {
2244
+ function js(r, t) {
2253
2245
  return (e, i, s) => {
2254
2246
  const n = (o) => {
2255
2247
  var a;
2256
2248
  return ((a = o.renderRoot) == null ? void 0 : a.querySelector(r)) ?? null;
2257
2249
  };
2258
- if (t) {
2259
- const { get: o, set: a } = typeof i == "object" ? e : s ?? (() => {
2260
- const c = Symbol();
2261
- return { get() {
2262
- return this[c];
2263
- }, set(l) {
2264
- this[c] = l;
2265
- } };
2266
- })();
2267
- return Je(e, i, { get() {
2268
- let c = o.call(this);
2269
- return c === void 0 && (c = n(this), (c !== null || this.hasUpdated) && a.call(this, c)), c;
2270
- } });
2271
- }
2272
- return Je(e, i, { get() {
2250
+ return Hs(e, i, { get() {
2273
2251
  return n(this);
2274
2252
  } });
2275
2253
  };
@@ -2295,7 +2273,7 @@ function v(r, t, e, i) {
2295
2273
  * Copyright 2022 Google LLC
2296
2274
  * SPDX-License-Identifier: Apache-2.0
2297
2275
  */
2298
- class qs extends E {
2276
+ class Ls extends E {
2299
2277
  render() {
2300
2278
  return A`<slot></slot>`;
2301
2279
  }
@@ -2312,16 +2290,16 @@ class qs extends E {
2312
2290
  * Copyright 2024 Google LLC
2313
2291
  * SPDX-License-Identifier: Apache-2.0
2314
2292
  */
2315
- const Ws = L`:host{font-size:var(--md-icon-size, 24px);width:var(--md-icon-size, 24px);height:var(--md-icon-size, 24px);color:inherit;font-variation-settings:inherit;font-weight:400;font-family:var(--md-icon-font, Material Symbols Outlined);display:inline-flex;font-style:normal;place-items:center;place-content:center;line-height:1;overflow:hidden;letter-spacing:normal;text-transform:none;user-select:none;white-space:nowrap;word-wrap:normal;flex-shrink:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}::slotted(svg){fill:currentColor}::slotted(*){height:100%;width:100%}
2293
+ const Vs = L`:host{font-size:var(--md-icon-size, 24px);width:var(--md-icon-size, 24px);height:var(--md-icon-size, 24px);color:inherit;font-variation-settings:inherit;font-weight:400;font-family:var(--md-icon-font, Material Symbols Outlined);display:inline-flex;font-style:normal;place-items:center;place-content:center;line-height:1;overflow:hidden;letter-spacing:normal;text-transform:none;user-select:none;white-space:nowrap;word-wrap:normal;flex-shrink:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}::slotted(svg){fill:currentColor}::slotted(*){height:100%;width:100%}
2316
2294
  `;
2317
2295
  /**
2318
2296
  * @license
2319
2297
  * Copyright 2022 Google LLC
2320
2298
  * SPDX-License-Identifier: Apache-2.0
2321
2299
  */
2322
- let Zt = class extends qs {
2300
+ let Zt = class extends Ls {
2323
2301
  };
2324
- Zt.styles = [Ws];
2302
+ Zt.styles = [Vs];
2325
2303
  Zt = v([
2326
2304
  Y("md-icon")
2327
2305
  ], Zt);
@@ -2330,14 +2308,14 @@ Zt = v([
2330
2308
  * Copyright 2023 Google LLC
2331
2309
  * SPDX-License-Identifier: Apache-2.0
2332
2310
  */
2333
- const Tr = Symbol("attachableController");
2311
+ const Pr = Symbol("attachableController");
2334
2312
  let mt;
2335
2313
  mt = new MutationObserver((r) => {
2336
2314
  var t;
2337
2315
  for (const e of r)
2338
- (t = e.target[Tr]) == null || t.hostConnected();
2316
+ (t = e.target[Pr]) == null || t.hostConnected();
2339
2317
  });
2340
- class Or {
2318
+ class Tr {
2341
2319
  get htmlFor() {
2342
2320
  return this.host.getAttribute("for");
2343
2321
  }
@@ -2359,7 +2337,7 @@ class Or {
2359
2337
  * logic whenever the control changes.
2360
2338
  */
2361
2339
  constructor(t, e) {
2362
- this.host = t, this.onControlChange = e, this.currentControl = null, t.addController(this), t[Tr] = this, mt == null || mt.observe(t, { attributeFilter: ["for"] });
2340
+ this.host = t, this.onControlChange = e, this.currentControl = null, t.addController(this), t[Pr] = this, mt == null || mt.observe(t, { attributeFilter: ["for"] });
2363
2341
  }
2364
2342
  attach(t) {
2365
2343
  t !== this.currentControl && (this.setCurrentControl(t), this.host.removeAttribute("for"));
@@ -2384,10 +2362,10 @@ class Or {
2384
2362
  * Copyright 2021 Google LLC
2385
2363
  * SPDX-License-Identifier: Apache-2.0
2386
2364
  */
2387
- const Gs = ["focusin", "focusout", "pointerdown"];
2365
+ const Ds = ["focusin", "focusout", "pointerdown"];
2388
2366
  class ge extends E {
2389
2367
  constructor() {
2390
- super(...arguments), this.visible = !1, this.inward = !1, this.attachableController = new Or(this, this.onControlChange.bind(this));
2368
+ super(...arguments), this.visible = !1, this.inward = !1, this.attachableController = new Tr(this, this.onControlChange.bind(this));
2391
2369
  }
2392
2370
  get htmlFor() {
2393
2371
  return this.attachableController.htmlFor;
@@ -2413,7 +2391,7 @@ class ge extends E {
2413
2391
  /** @private */
2414
2392
  handleEvent(t) {
2415
2393
  var e;
2416
- if (!t[tr]) {
2394
+ if (!t[Je]) {
2417
2395
  switch (t.type) {
2418
2396
  default:
2419
2397
  return;
@@ -2425,11 +2403,11 @@ class ge extends E {
2425
2403
  this.visible = !1;
2426
2404
  break;
2427
2405
  }
2428
- t[tr] = !0;
2406
+ t[Je] = !0;
2429
2407
  }
2430
2408
  }
2431
2409
  onControlChange(t, e) {
2432
- for (const i of Gs)
2410
+ for (const i of Ds)
2433
2411
  t == null || t.removeEventListener(i, this), e == null || e.addEventListener(i, this);
2434
2412
  }
2435
2413
  update(t) {
@@ -2442,13 +2420,13 @@ v([
2442
2420
  v([
2443
2421
  w({ type: Boolean, reflect: !0 })
2444
2422
  ], ge.prototype, "inward", void 0);
2445
- const tr = Symbol("handledByFocusRing");
2423
+ const Je = Symbol("handledByFocusRing");
2446
2424
  /**
2447
2425
  * @license
2448
2426
  * Copyright 2024 Google LLC
2449
2427
  * SPDX-License-Identifier: Apache-2.0
2450
2428
  */
2451
- const Ks = L`:host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*.25);animation-duration:calc(var(--md-focus-ring-duration, 600ms)*.25),calc(var(--md-focus-ring-duration, 600ms)*.75);animation-timing-function:cubic-bezier(0.2, 0, 0, 1);box-sizing:border-box;color:var(--md-focus-ring-color, var(--md-sys-color-secondary, #625b71));display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));inset:calc(-1*var(--md-focus-ring-outward-offset, 2px));outline:var(--md-focus-ring-width, 3px) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border:var(--md-focus-ring-width, 3px) solid currentColor;inset:var(--md-focus-ring-inward-offset, 0px)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes outward-shrink{from{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-shrink{from{border-width:var(--md-focus-ring-active-width, 8px)}}@media(prefers-reduced-motion){:host{animation:none}}
2429
+ const zs = L`:host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*.25);animation-duration:calc(var(--md-focus-ring-duration, 600ms)*.25),calc(var(--md-focus-ring-duration, 600ms)*.75);animation-timing-function:cubic-bezier(0.2, 0, 0, 1);box-sizing:border-box;color:var(--md-focus-ring-color, var(--md-sys-color-secondary, #625b71));display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));inset:calc(-1*var(--md-focus-ring-outward-offset, 2px));outline:var(--md-focus-ring-width, 3px) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border:var(--md-focus-ring-width, 3px) solid currentColor;inset:var(--md-focus-ring-inward-offset, 0px)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes outward-shrink{from{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-shrink{from{border-width:var(--md-focus-ring-active-width, 8px)}}@media(prefers-reduced-motion){:host{animation:none}}
2452
2430
  `;
2453
2431
  /**
2454
2432
  * @license
@@ -2457,7 +2435,7 @@ const Ks = L`:host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*
2457
2435
  */
2458
2436
  let Qt = class extends ge {
2459
2437
  };
2460
- Qt.styles = [Ks];
2438
+ Qt.styles = [zs];
2461
2439
  Qt = v([
2462
2440
  Y("md-focus-ring")
2463
2441
  ], Qt);
@@ -2466,8 +2444,8 @@ Qt = v([
2466
2444
  * Copyright 2017 Google LLC
2467
2445
  * SPDX-License-Identifier: BSD-3-Clause
2468
2446
  */
2469
- const Ys = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Xs = (r) => (...t) => ({ _$litDirective$: r, values: t });
2470
- class Zs {
2447
+ const Bs = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Fs = (r) => (...t) => ({ _$litDirective$: r, values: t });
2448
+ class qs {
2471
2449
  constructor(t) {
2472
2450
  }
2473
2451
  get _$AU() {
@@ -2488,10 +2466,10 @@ class Zs {
2488
2466
  * Copyright 2018 Google LLC
2489
2467
  * SPDX-License-Identifier: BSD-3-Clause
2490
2468
  */
2491
- const Ir = Xs(class extends Zs {
2469
+ const Or = Fs(class extends qs {
2492
2470
  constructor(r) {
2493
2471
  var t;
2494
- if (super(r), r.type !== Ys.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2)
2472
+ if (super(r), r.type !== Bs.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2)
2495
2473
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
2496
2474
  }
2497
2475
  render(r) {
@@ -2520,7 +2498,7 @@ const Ir = Xs(class extends Zs {
2520
2498
  * Copyright 2021 Google LLC
2521
2499
  * SPDX-License-Identifier: Apache-2.0
2522
2500
  */
2523
- const Qs = {
2501
+ const Ws = {
2524
2502
  STANDARD: "cubic-bezier(0.2, 0, 0, 1)",
2525
2503
  STANDARD_ACCELERATE: "cubic-bezier(.3,0,1,1)",
2526
2504
  STANDARD_DECELERATE: "cubic-bezier(0,0,0,1)",
@@ -2533,12 +2511,12 @@ const Qs = {
2533
2511
  * Copyright 2022 Google LLC
2534
2512
  * SPDX-License-Identifier: Apache-2.0
2535
2513
  */
2536
- const Js = 450, er = 225, tn = 0.2, en = 10, rn = 75, sn = 0.35, nn = "::after", on = "forwards";
2514
+ const Gs = 450, tr = 225, Ks = 0.2, Ys = 10, Xs = 75, Zs = 0.35, Qs = "::after", Js = "forwards";
2537
2515
  var _;
2538
2516
  (function(r) {
2539
2517
  r[r.INACTIVE = 0] = "INACTIVE", r[r.TOUCH_DELAY = 1] = "TOUCH_DELAY", r[r.HOLDING = 2] = "HOLDING", r[r.WAITING_FOR_CLICK = 3] = "WAITING_FOR_CLICK";
2540
2518
  })(_ || (_ = {}));
2541
- const an = [
2519
+ const tn = [
2542
2520
  "click",
2543
2521
  "contextmenu",
2544
2522
  "pointercancel",
@@ -2546,10 +2524,10 @@ const an = [
2546
2524
  "pointerenter",
2547
2525
  "pointerleave",
2548
2526
  "pointerup"
2549
- ], cn = 150, Ft = window.matchMedia("(forced-colors: active)");
2527
+ ], en = 150, Ft = window.matchMedia("(forced-colors: active)");
2550
2528
  class ht extends E {
2551
2529
  constructor() {
2552
- super(...arguments), this.disabled = !1, this.hovered = !1, this.pressed = !1, this.rippleSize = "", this.rippleScale = "", this.initialSize = 0, this.state = _.INACTIVE, this.checkBoundsAfterContextMenu = !1, this.attachableController = new Or(this, this.onControlChange.bind(this));
2530
+ super(...arguments), this.disabled = !1, this.hovered = !1, this.pressed = !1, this.rippleSize = "", this.rippleScale = "", this.initialSize = 0, this.state = _.INACTIVE, this.checkBoundsAfterContextMenu = !1, this.attachableController = new Tr(this, this.onControlChange.bind(this));
2553
2531
  }
2554
2532
  get htmlFor() {
2555
2533
  return this.attachableController.htmlFor;
@@ -2577,7 +2555,7 @@ class ht extends E {
2577
2555
  hovered: this.hovered,
2578
2556
  pressed: this.pressed
2579
2557
  };
2580
- return A`<div class="surface ${Ir(t)}"></div>`;
2558
+ return A`<div class="surface ${Or(t)}"></div>`;
2581
2559
  }
2582
2560
  update(t) {
2583
2561
  t.has("disabled") && this.disabled && (this.hovered = !1, this.pressed = !1), super.update(t);
@@ -2615,7 +2593,7 @@ class ht extends E {
2615
2593
  return;
2616
2594
  }
2617
2595
  this.checkBoundsAfterContextMenu && !this.inBounds(t) || (this.checkBoundsAfterContextMenu = !1, this.state = _.TOUCH_DELAY, await new Promise((e) => {
2618
- setTimeout(e, cn);
2596
+ setTimeout(e, en);
2619
2597
  }), this.state === _.TOUCH_DELAY && (this.state = _.HOLDING, this.startPressAnimation(t)));
2620
2598
  }
2621
2599
  }
@@ -2635,7 +2613,7 @@ class ht extends E {
2635
2613
  this.disabled || (this.checkBoundsAfterContextMenu = !0, this.endPressAnimation());
2636
2614
  }
2637
2615
  determineRippleSize() {
2638
- const { height: t, width: e } = this.getBoundingClientRect(), i = Math.max(t, e), s = Math.max(sn * i, rn), n = Math.floor(i * tn), a = Math.sqrt(e ** 2 + t ** 2) + en;
2616
+ const { height: t, width: e } = this.getBoundingClientRect(), i = Math.max(t, e), s = Math.max(Zs * i, Xs), n = Math.floor(i * Ks), a = Math.sqrt(e ** 2 + t ** 2) + Ys;
2639
2617
  this.initialSize = n, this.rippleScale = `${(a + s) / n}`, this.rippleSize = `${n}px`;
2640
2618
  }
2641
2619
  getNormalizedPointerEventCoords(t) {
@@ -2672,22 +2650,22 @@ class ht extends E {
2672
2650
  `translate(${n}) scale(${this.rippleScale})`
2673
2651
  ]
2674
2652
  }, {
2675
- pseudoElement: nn,
2676
- duration: Js,
2677
- easing: Qs.STANDARD,
2678
- fill: on
2653
+ pseudoElement: Qs,
2654
+ duration: Gs,
2655
+ easing: Ws.STANDARD,
2656
+ fill: Js
2679
2657
  });
2680
2658
  }
2681
2659
  async endPressAnimation() {
2682
2660
  this.rippleStartEvent = void 0, this.state = _.INACTIVE;
2683
2661
  const t = this.growAnimation;
2684
2662
  let e = 1 / 0;
2685
- if (typeof (t == null ? void 0 : t.currentTime) == "number" ? e = t.currentTime : t != null && t.currentTime && (e = t.currentTime.to("ms").value), e >= er) {
2663
+ if (typeof (t == null ? void 0 : t.currentTime) == "number" ? e = t.currentTime : t != null && t.currentTime && (e = t.currentTime.to("ms").value), e >= tr) {
2686
2664
  this.pressed = !1;
2687
2665
  return;
2688
2666
  }
2689
2667
  await new Promise((i) => {
2690
- setTimeout(i, er - e);
2668
+ setTimeout(i, tr - e);
2691
2669
  }), this.growAnimation === t && (this.pressed = !1);
2692
2670
  }
2693
2671
  /**
@@ -2747,7 +2725,7 @@ class ht extends E {
2747
2725
  }
2748
2726
  }
2749
2727
  onControlChange(t, e) {
2750
- for (const i of an)
2728
+ for (const i of tn)
2751
2729
  t == null || t.removeEventListener(i, this), e == null || e.addEventListener(i, this);
2752
2730
  }
2753
2731
  }
@@ -2761,14 +2739,14 @@ v([
2761
2739
  fe()
2762
2740
  ], ht.prototype, "pressed", void 0);
2763
2741
  v([
2764
- Fs(".surface")
2742
+ js(".surface")
2765
2743
  ], ht.prototype, "mdRoot", void 0);
2766
2744
  /**
2767
2745
  * @license
2768
2746
  * Copyright 2024 Google LLC
2769
2747
  * SPDX-License-Identifier: Apache-2.0
2770
2748
  */
2771
- const ln = L`:host{display:flex;margin:auto;pointer-events:none}:host([disabled]){display:none}@media(forced-colors: active){:host{display:none}}:host,.surface{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.surface{-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{content:"";opacity:0;position:absolute}.surface::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));inset:0;transition:opacity 15ms linear,background-color 15ms linear}.surface::after{background:radial-gradient(closest-side, var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20)) max(100% - 70px, 65%), transparent 100%);transform-origin:center center;transition:opacity 375ms linear}.hovered::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));opacity:var(--md-ripple-hover-opacity, 0.08)}.pressed::after{opacity:var(--md-ripple-pressed-opacity, 0.12);transition-duration:105ms}
2749
+ const rn = L`:host{display:flex;margin:auto;pointer-events:none}:host([disabled]){display:none}@media(forced-colors: active){:host{display:none}}:host,.surface{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.surface{-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{content:"";opacity:0;position:absolute}.surface::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));inset:0;transition:opacity 15ms linear,background-color 15ms linear}.surface::after{background:radial-gradient(closest-side, var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20)) max(100% - 70px, 65%), transparent 100%);transform-origin:center center;transition:opacity 375ms linear}.hovered::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));opacity:var(--md-ripple-hover-opacity, 0.08)}.pressed::after{opacity:var(--md-ripple-pressed-opacity, 0.12);transition-duration:105ms}
2772
2750
  `;
2773
2751
  /**
2774
2752
  * @license
@@ -2777,7 +2755,7 @@ const ln = L`:host{display:flex;margin:auto;pointer-events:none}:host([disabled]
2777
2755
  */
2778
2756
  let Jt = class extends ht {
2779
2757
  };
2780
- Jt.styles = [ln];
2758
+ Jt.styles = [rn];
2781
2759
  Jt = v([
2782
2760
  Y("md-ripple")
2783
2761
  ], Jt);
@@ -2786,36 +2764,36 @@ Jt = v([
2786
2764
  * Copyright 2020 Google LLC
2787
2765
  * SPDX-License-Identifier: BSD-3-Clause
2788
2766
  */
2789
- const Nr = Symbol.for(""), hn = (r) => {
2790
- if ((r == null ? void 0 : r.r) === Nr)
2767
+ const Ir = Symbol.for(""), sn = (r) => {
2768
+ if ((r == null ? void 0 : r.r) === Ir)
2791
2769
  return r == null ? void 0 : r._$litStatic$;
2792
- }, rr = (r, ...t) => ({ _$litStatic$: t.reduce((e, i, s) => e + ((n) => {
2770
+ }, er = (r, ...t) => ({ _$litStatic$: t.reduce((e, i, s) => e + ((n) => {
2793
2771
  if (n._$litStatic$ !== void 0)
2794
2772
  return n._$litStatic$;
2795
2773
  throw Error(`Value passed to 'literal' function must be a 'literal' result: ${n}. Use 'unsafeStatic' to pass non-literal values, but
2796
2774
  take care to ensure page security.`);
2797
- })(i) + r[s + 1], r[0]), r: Nr }), ir = /* @__PURE__ */ new Map(), un = (r) => (t, ...e) => {
2775
+ })(i) + r[s + 1], r[0]), r: Ir }), rr = /* @__PURE__ */ new Map(), nn = (r) => (t, ...e) => {
2798
2776
  const i = e.length;
2799
2777
  let s, n;
2800
2778
  const o = [], a = [];
2801
2779
  let c, l = 0, u = !1;
2802
2780
  for (; l < i; ) {
2803
- for (c = t[l]; l < i && (n = e[l], (s = hn(n)) !== void 0); )
2781
+ for (c = t[l]; l < i && (n = e[l], (s = sn(n)) !== void 0); )
2804
2782
  c += s + t[++l], u = !0;
2805
2783
  l !== i && a.push(n), o.push(c), l++;
2806
2784
  }
2807
2785
  if (l === i && o.push(t[i]), u) {
2808
2786
  const h = o.join("$$lit$$");
2809
- (t = ir.get(h)) === void 0 && (o.raw = o, ir.set(h, t = o)), e = a;
2787
+ (t = rr.get(h)) === void 0 && (o.raw = o, rr.set(h, t = o)), e = a;
2810
2788
  }
2811
2789
  return r(t, ...e);
2812
- }, dn = un(A);
2790
+ }, on = nn(A);
2813
2791
  /**
2814
2792
  * @license
2815
2793
  * Copyright 2023 Google LLC
2816
2794
  * SPDX-License-Identifier: Apache-2.0
2817
2795
  */
2818
- const kr = [
2796
+ const Nr = [
2819
2797
  "ariaAtomic",
2820
2798
  "ariaAutoComplete",
2821
2799
  "ariaBusy",
@@ -2854,8 +2832,8 @@ const kr = [
2854
2832
  "ariaValueNow",
2855
2833
  "ariaValueText"
2856
2834
  ];
2857
- kr.map(Mr);
2858
- function Mr(r) {
2835
+ Nr.map(kr);
2836
+ function kr(r) {
2859
2837
  return r.replace("aria", "aria-").replace(/Elements?/g, "").toLowerCase();
2860
2838
  }
2861
2839
  /**
@@ -2863,10 +2841,10 @@ function Mr(r) {
2863
2841
  * Copyright 2023 Google LLC
2864
2842
  * SPDX-License-Identifier: Apache-2.0
2865
2843
  */
2866
- function pn(r) {
2867
- for (const t of kr)
2844
+ function an(r) {
2845
+ for (const t of Nr)
2868
2846
  r.createProperty(t, {
2869
- attribute: Mr(t),
2847
+ attribute: kr(t),
2870
2848
  reflect: !0
2871
2849
  });
2872
2850
  r.addInitializer((t) => {
@@ -2884,7 +2862,7 @@ function pn(r) {
2884
2862
  * SPDX-License-Identifier: Apache-2.0
2885
2863
  */
2886
2864
  const St = Symbol("internals"), qt = Symbol("privateInternals");
2887
- function fn(r) {
2865
+ function cn(r) {
2888
2866
  class t extends r {
2889
2867
  get [St]() {
2890
2868
  return this[qt] || (this[qt] = this.attachInternals()), this[qt];
@@ -2897,7 +2875,7 @@ function fn(r) {
2897
2875
  * Copyright 2023 Google LLC
2898
2876
  * SPDX-License-Identifier: Apache-2.0
2899
2877
  */
2900
- function gn(r) {
2878
+ function ln(r) {
2901
2879
  r.addInitializer((t) => {
2902
2880
  const e = t;
2903
2881
  e.addEventListener("click", async (i) => {
@@ -2925,7 +2903,7 @@ function gn(r) {
2925
2903
  * Copyright 2022 Google LLC
2926
2904
  * SPDX-License-Identifier: Apache-2.0
2927
2905
  */
2928
- function sr(r, t = !0) {
2906
+ function ir(r, t = !0) {
2929
2907
  return t && getComputedStyle(r).getPropertyValue("direction").trim() === "rtl";
2930
2908
  }
2931
2909
  /**
@@ -2933,10 +2911,10 @@ function sr(r, t = !0) {
2933
2911
  * Copyright 2018 Google LLC
2934
2912
  * SPDX-License-Identifier: Apache-2.0
2935
2913
  */
2936
- const vn = fn(E);
2937
- class b extends vn {
2914
+ const hn = cn(E);
2915
+ class b extends hn {
2938
2916
  constructor() {
2939
- super(...arguments), this.disabled = !1, this.flipIconInRtl = !1, this.href = "", this.target = "", this.ariaLabelSelected = "", this.toggle = !1, this.selected = !1, this.type = "submit", this.value = "", this.flipIcon = sr(this, this.flipIconInRtl);
2917
+ super(...arguments), this.disabled = !1, this.flipIconInRtl = !1, this.href = "", this.target = "", this.ariaLabelSelected = "", this.toggle = !1, this.selected = !1, this.type = "submit", this.value = "", this.flipIcon = ir(this, this.flipIconInRtl);
2940
2918
  }
2941
2919
  get name() {
2942
2920
  return this.getAttribute("name") ?? "";
@@ -2963,10 +2941,10 @@ class b extends vn {
2963
2941
  this.href && (this.disabled = !1);
2964
2942
  }
2965
2943
  render() {
2966
- const t = this.href ? rr`div` : rr`button`, { ariaLabel: e, ariaHasPopup: i, ariaExpanded: s } = this, n = e && this.ariaLabelSelected, o = this.toggle ? this.selected : d;
2944
+ const t = this.href ? er`div` : er`button`, { ariaLabel: e, ariaHasPopup: i, ariaExpanded: s } = this, n = e && this.ariaLabelSelected, o = this.toggle ? this.selected : d;
2967
2945
  let a = d;
2968
- return this.href || (a = n && this.selected ? this.ariaLabelSelected : e), dn`<${t}
2969
- class="icon-button ${Ir(this.getRenderClasses())}"
2946
+ return this.href || (a = n && this.selected ? this.ariaLabelSelected : e), on`<${t}
2947
+ class="icon-button ${Or(this.getRenderClasses())}"
2970
2948
  id="button"
2971
2949
  aria-label="${a || d}"
2972
2950
  aria-haspopup="${!this.href && i || d}"
@@ -3021,13 +2999,13 @@ class b extends vn {
3021
2999
  ?disabled="${!this.href && this.disabled}"></md-ripple>`;
3022
3000
  }
3023
3001
  connectedCallback() {
3024
- this.flipIcon = sr(this, this.flipIconInRtl), super.connectedCallback();
3002
+ this.flipIcon = ir(this, this.flipIconInRtl), super.connectedCallback();
3025
3003
  }
3026
3004
  async handleClick(t) {
3027
3005
  await 0, !(!this.toggle || this.disabled || t.defaultPrevented) && (this.selected = !this.selected, this.dispatchEvent(new InputEvent("input", { bubbles: !0, composed: !0 })), this.dispatchEvent(new Event("change", { bubbles: !0 })));
3028
3006
  }
3029
3007
  }
3030
- pn(b), gn(b);
3008
+ an(b), ln(b);
3031
3009
  b.formAssociated = !0;
3032
3010
  b.shadowRootOptions = {
3033
3011
  mode: "open",
@@ -3068,14 +3046,14 @@ v([
3068
3046
  * Copyright 2024 Google LLC
3069
3047
  * SPDX-License-Identifier: Apache-2.0
3070
3048
  */
3071
- const mn = L`:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);height:var(--_container-height);width:var(--_container-width);justify-content:center}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) max(0px,(48px - var(--_container-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}:host([disabled]){pointer-events:none}.icon-button{place-items:center;background:none;border:none;box-sizing:border-box;cursor:pointer;display:flex;place-content:center;outline:none;padding:0;position:relative;text-decoration:none;user-select:none;z-index:0;flex:1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.icon ::slotted(*){font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size);font-weight:inherit}md-ripple{z-index:-1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.flip-icon .icon{transform:scaleX(-1)}.icon{display:inline-flex}.link{height:100%;outline:none;position:absolute;width:100%}.touch{position:absolute;height:max(48px,100%);width:max(48px,100%)}:host([touch-target=none]) .touch{display:none}@media(forced-colors: active){:host([disabled]){--_disabled-icon-opacity: 1}}
3049
+ const un = L`:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);height:var(--_container-height);width:var(--_container-width);justify-content:center}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) max(0px,(48px - var(--_container-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}:host([disabled]){pointer-events:none}.icon-button{place-items:center;background:none;border:none;box-sizing:border-box;cursor:pointer;display:flex;place-content:center;outline:none;padding:0;position:relative;text-decoration:none;user-select:none;z-index:0;flex:1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.icon ::slotted(*){font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size);font-weight:inherit}md-ripple{z-index:-1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.flip-icon .icon{transform:scaleX(-1)}.icon{display:inline-flex}.link{height:100%;outline:none;position:absolute;width:100%}.touch{position:absolute;height:max(48px,100%);width:max(48px,100%)}:host([touch-target=none]) .touch{display:none}@media(forced-colors: active){:host([disabled]){--_disabled-icon-opacity: 1}}
3072
3050
  `;
3073
3051
  /**
3074
3052
  * @license
3075
3053
  * Copyright 2024 Google LLC
3076
3054
  * SPDX-License-Identifier: Apache-2.0
3077
3055
  */
3078
- const yn = L`:host{--_disabled-icon-color: var(--md-icon-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-icon-button-disabled-icon-opacity, 0.38);--_icon-size: var(--md-icon-button-icon-size, 24px);--_selected-focus-icon-color: var(--md-icon-button-selected-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-icon-color: var(--md-icon-button-selected-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-color: var(--md-icon-button-selected-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-opacity: var(--md-icon-button-selected-hover-state-layer-opacity, 0.08);--_selected-icon-color: var(--md-icon-button-selected-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-icon-color: var(--md-icon-button-selected-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-color: var(--md-icon-button-selected-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-opacity: var(--md-icon-button-selected-pressed-state-layer-opacity, 0.12);--_state-layer-height: var(--md-icon-button-state-layer-height, 40px);--_state-layer-shape: var(--md-icon-button-state-layer-shape, var(--md-sys-shape-corner-full, 9999px));--_state-layer-width: var(--md-icon-button-state-layer-width, 40px);--_focus-icon-color: var(--md-icon-button-focus-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-icon-color: var(--md-icon-button-hover-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-color: var(--md-icon-button-hover-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-opacity: var(--md-icon-button-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-icon-button-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-icon-color: var(--md-icon-button-pressed-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-color: var(--md-icon-button-pressed-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-opacity: var(--md-icon-button-pressed-state-layer-opacity, 0.12);--_container-shape-start-start: 0;--_container-shape-start-end: 0;--_container-shape-end-end: 0;--_container-shape-end-start: 0;--_container-height: 0;--_container-width: 0;height:var(--_state-layer-height);width:var(--_state-layer-width)}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_state-layer-height))/2) max(0px,(48px - var(--_state-layer-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_state-layer-shape);--md-focus-ring-shape-start-end: var(--_state-layer-shape);--md-focus-ring-shape-end-end: var(--_state-layer-shape);--md-focus-ring-shape-end-start: var(--_state-layer-shape)}.standard{background-color:rgba(0,0,0,0);color:var(--_icon-color);--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}.standard:hover{color:var(--_hover-icon-color)}.standard:focus{color:var(--_focus-icon-color)}.standard:active{color:var(--_pressed-icon-color)}.standard:disabled{color:var(--_disabled-icon-color)}md-ripple{border-radius:var(--_state-layer-shape)}.standard:disabled .icon{opacity:var(--_disabled-icon-opacity)}.selected{--md-ripple-hover-color: var(--_selected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_selected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_selected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_selected-pressed-state-layer-opacity)}.selected:not(:disabled){color:var(--_selected-icon-color)}.selected:not(:disabled):hover{color:var(--_selected-hover-icon-color)}.selected:not(:disabled):focus{color:var(--_selected-focus-icon-color)}.selected:not(:disabled):active{color:var(--_selected-pressed-icon-color)}
3056
+ const dn = L`:host{--_disabled-icon-color: var(--md-icon-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-icon-button-disabled-icon-opacity, 0.38);--_icon-size: var(--md-icon-button-icon-size, 24px);--_selected-focus-icon-color: var(--md-icon-button-selected-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-icon-color: var(--md-icon-button-selected-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-color: var(--md-icon-button-selected-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-opacity: var(--md-icon-button-selected-hover-state-layer-opacity, 0.08);--_selected-icon-color: var(--md-icon-button-selected-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-icon-color: var(--md-icon-button-selected-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-color: var(--md-icon-button-selected-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-opacity: var(--md-icon-button-selected-pressed-state-layer-opacity, 0.12);--_state-layer-height: var(--md-icon-button-state-layer-height, 40px);--_state-layer-shape: var(--md-icon-button-state-layer-shape, var(--md-sys-shape-corner-full, 9999px));--_state-layer-width: var(--md-icon-button-state-layer-width, 40px);--_focus-icon-color: var(--md-icon-button-focus-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-icon-color: var(--md-icon-button-hover-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-color: var(--md-icon-button-hover-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-opacity: var(--md-icon-button-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-icon-button-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-icon-color: var(--md-icon-button-pressed-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-color: var(--md-icon-button-pressed-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-opacity: var(--md-icon-button-pressed-state-layer-opacity, 0.12);--_container-shape-start-start: 0;--_container-shape-start-end: 0;--_container-shape-end-end: 0;--_container-shape-end-start: 0;--_container-height: 0;--_container-width: 0;height:var(--_state-layer-height);width:var(--_state-layer-width)}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_state-layer-height))/2) max(0px,(48px - var(--_state-layer-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_state-layer-shape);--md-focus-ring-shape-start-end: var(--_state-layer-shape);--md-focus-ring-shape-end-end: var(--_state-layer-shape);--md-focus-ring-shape-end-start: var(--_state-layer-shape)}.standard{background-color:rgba(0,0,0,0);color:var(--_icon-color);--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}.standard:hover{color:var(--_hover-icon-color)}.standard:focus{color:var(--_focus-icon-color)}.standard:active{color:var(--_pressed-icon-color)}.standard:disabled{color:var(--_disabled-icon-color)}md-ripple{border-radius:var(--_state-layer-shape)}.standard:disabled .icon{opacity:var(--_disabled-icon-opacity)}.selected{--md-ripple-hover-color: var(--_selected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_selected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_selected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_selected-pressed-state-layer-opacity)}.selected:not(:disabled){color:var(--_selected-icon-color)}.selected:not(:disabled):hover{color:var(--_selected-hover-icon-color)}.selected:not(:disabled):focus{color:var(--_selected-focus-icon-color)}.selected:not(:disabled):active{color:var(--_selected-pressed-icon-color)}
3079
3057
  `;
3080
3058
  /**
3081
3059
  * @license
@@ -3090,16 +3068,16 @@ let te = class extends b {
3090
3068
  };
3091
3069
  }
3092
3070
  };
3093
- te.styles = [mn, yn];
3071
+ te.styles = [un, dn];
3094
3072
  te = v([
3095
3073
  Y("md-icon-button")
3096
3074
  ], te);
3097
- var $n = Object.defineProperty, _n = Object.getOwnPropertyDescriptor, ve = (r, t, e, i) => {
3098
- for (var s = i > 1 ? void 0 : i ? _n(t, e) : t, n = r.length - 1, o; n >= 0; n--)
3075
+ var pn = Object.defineProperty, fn = Object.getOwnPropertyDescriptor, ve = (r, t, e, i) => {
3076
+ for (var s = i > 1 ? void 0 : i ? fn(t, e) : t, n = r.length - 1, o; n >= 0; n--)
3099
3077
  (o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
3100
- return i && s && $n(t, e, s), s;
3078
+ return i && s && pn(t, e, s), s;
3101
3079
  };
3102
- let ot = class extends vs(E) {
3080
+ let ot = class extends ls(E) {
3103
3081
  render() {
3104
3082
  return A`
3105
3083
  <div class="container">
@@ -3124,12 +3102,12 @@ ve([
3124
3102
  ot = ve([
3125
3103
  Y("action-toolbar-item")
3126
3104
  ], ot);
3127
- var bn = Object.defineProperty, wn = Object.getOwnPropertyDescriptor, ut = (r, t, e, i) => {
3128
- for (var s = i > 1 ? void 0 : i ? wn(t, e) : t, n = r.length - 1, o; n >= 0; n--)
3105
+ var gn = Object.defineProperty, vn = Object.getOwnPropertyDescriptor, ut = (r, t, e, i) => {
3106
+ for (var s = i > 1 ? void 0 : i ? vn(t, e) : t, n = r.length - 1, o; n >= 0; n--)
3129
3107
  (o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
3130
- return i && s && bn(t, e, s), s;
3108
+ return i && s && gn(t, e, s), s;
3131
3109
  };
3132
- let P = class extends ws(E) {
3110
+ let P = class extends gs(E) {
3133
3111
  render() {
3134
3112
  return A` <div class="container">
3135
3113
  <div class="header">
@@ -3199,11 +3177,11 @@ ut([
3199
3177
  P = ut([
3200
3178
  Y("primary-shell")
3201
3179
  ], P);
3202
- const Fn = (r) => {
3203
- r.appendChild(new P());
3180
+ const jn = (r) => {
3181
+ const t = new P();
3182
+ r.appendChild(t);
3204
3183
  };
3205
3184
  export {
3206
- P as PrimaryShell,
3207
- Fn as initializeShell,
3185
+ jn as initializeShell,
3208
3186
  Pt as regions
3209
3187
  };