@mhmo91/schmancy 0.10.43 → 0.10.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/custom-elements.json +2 -2
  2. package/dist/agent/schmancy.agent.js +785 -779
  3. package/dist/agent/schmancy.agent.js.map +1 -1
  4. package/dist/agent/schmancy.manifest.json +1 -1
  5. package/dist/badge.cjs +1 -1
  6. package/dist/badge.js +1 -1
  7. package/dist/content-drawer.cjs +1 -1
  8. package/dist/content-drawer.js +1 -1
  9. package/dist/date-range-B2VN7cl_.cjs +138 -0
  10. package/dist/date-range-B2VN7cl_.cjs.map +1 -0
  11. package/dist/{date-range-D2NZU5Yg.js → date-range-CDF_5ju_.js} +63 -57
  12. package/dist/date-range-CDF_5ju_.js.map +1 -0
  13. package/dist/date-range.cjs +1 -1
  14. package/dist/date-range.js +1 -1
  15. package/dist/form.cjs +1 -1
  16. package/dist/form.js +1 -1
  17. package/dist/handover/agent-runtime-followups.md +1 -1
  18. package/dist/handover/agent-runtime-v1.md +3 -3
  19. package/dist/index.cjs +1 -1
  20. package/dist/index.js +2 -2
  21. package/dist/nav-drawer.cjs +1 -1
  22. package/dist/nav-drawer.js +1 -1
  23. package/dist/navigation-bar.cjs +1 -1
  24. package/dist/navigation-bar.js +1 -1
  25. package/dist/{src-DAtcPmCb.js → src-Bo-vvN6m.js} +1 -1
  26. package/dist/{src-DAtcPmCb.js.map → src-Bo-vvN6m.js.map} +1 -1
  27. package/dist/{src-DuRvYagm.cjs → src-MdpH1zth.cjs} +1 -1
  28. package/dist/{src-DuRvYagm.cjs.map → src-MdpH1zth.cjs.map} +1 -1
  29. package/dist/teleport.cjs +1 -1
  30. package/dist/teleport.js +1 -1
  31. package/package.json +1 -1
  32. package/src/form/fields/date-range/date-range-dialog.ts +14 -1
  33. package/src/form/fields/date-range/date-range.test.ts +218 -1
  34. package/src/form/fields/date-range/date-range.ts +42 -18
  35. package/types/src/form/fields/date-range/date-range.d.ts +4 -0
  36. package/dist/date-range-CVAWMdar.cjs +0 -138
  37. package/dist/date-range-CVAWMdar.cjs.map +0 -1
  38. package/dist/date-range-D2NZU5Yg.js.map +0 -1
@@ -13181,7 +13181,7 @@ function ku(e, t = {}) {
13181
13181
  });
13182
13182
  }
13183
13183
  async function Au(e = {}) {
13184
- let { SchmancyOverlayPromptBody: t } = await Promise.resolve().then(() => Jh);
13184
+ let { SchmancyOverlayPromptBody: t } = await Promise.resolve().then(() => Yh);
13185
13185
  return !0 === await pt(ku(t, {
13186
13186
  anchor: e.anchor,
13187
13187
  signal: e.signal,
@@ -13197,7 +13197,7 @@ async function Au(e = {}) {
13197
13197
  }).pipe(qt(!1)));
13198
13198
  }
13199
13199
  async function ju(e = {}) {
13200
- let { SchmancyOverlayPromptBody: t } = await Promise.resolve().then(() => Jh), n = await pt(ku(t, {
13200
+ let { SchmancyOverlayPromptBody: t } = await Promise.resolve().then(() => Yh), n = await pt(ku(t, {
13201
13201
  anchor: e.anchor,
13202
13202
  signal: e.signal,
13203
13203
  props: {
@@ -16724,10 +16724,12 @@ var sf = t(n((e, t) => {
16724
16724
  }));
16725
16725
  }
16726
16726
  handleCalendarChange(e) {
16727
- e.stopPropagation(), this.dispatchEvent(new CustomEvent("calendar-change", {
16727
+ e.stopPropagation();
16728
+ let t = this.type === "datetime-local";
16729
+ this.dispatchEvent(new CustomEvent("calendar-change", {
16728
16730
  detail: {
16729
- start: e.detail.start,
16730
- end: e.detail.end
16731
+ start: t && e.detail.start && !e.detail.start.includes("T") ? `${e.detail.start}T00:00` : e.detail.start,
16732
+ end: t && e.detail.end && !e.detail.end.includes("T") ? `${e.detail.end}T23:59` : e.detail.end
16731
16733
  },
16732
16734
  bubbles: !0,
16733
16735
  composed: !0
@@ -16828,59 +16830,63 @@ var sf = t(n((e, t) => {
16828
16830
  `;
16829
16831
  }
16830
16832
  };
16833
+ function lf(e = "date") {
16834
+ let t = e === "datetime-local" ? "YYYY-MM-DDTHH:mm" : "YYYY-MM-DD";
16835
+ return [
16836
+ {
16837
+ id: "today",
16838
+ label: "Today",
16839
+ start: (0, Z.default)().startOf("day").format(t),
16840
+ end: (0, Z.default)().endOf("day").format(t)
16841
+ },
16842
+ {
16843
+ id: "yesterday",
16844
+ label: "Yesterday",
16845
+ start: (0, Z.default)().subtract(1, "day").startOf("day").format(t),
16846
+ end: (0, Z.default)().subtract(1, "day").endOf("day").format(t)
16847
+ },
16848
+ {
16849
+ id: "last7",
16850
+ label: "Last 7 days",
16851
+ start: (0, Z.default)().subtract(6, "day").startOf("day").format(t),
16852
+ end: (0, Z.default)().endOf("day").format(t)
16853
+ },
16854
+ {
16855
+ id: "last30",
16856
+ label: "Last 30 days",
16857
+ start: (0, Z.default)().subtract(29, "day").startOf("day").format(t),
16858
+ end: (0, Z.default)().endOf("day").format(t)
16859
+ },
16860
+ {
16861
+ id: "thisWeek",
16862
+ label: "This week",
16863
+ start: (0, Z.default)().startOf("week").format(t),
16864
+ end: (0, Z.default)().endOf("week").format(t)
16865
+ },
16866
+ {
16867
+ id: "thisMonth",
16868
+ label: "This month",
16869
+ start: (0, Z.default)().startOf("month").format(t),
16870
+ end: (0, Z.default)().endOf("month").format(t)
16871
+ },
16872
+ {
16873
+ id: "lastMonth",
16874
+ label: "Last month",
16875
+ start: (0, Z.default)().subtract(1, "month").startOf("month").format(t),
16876
+ end: (0, Z.default)().subtract(1, "month").endOf("month").format(t)
16877
+ },
16878
+ {
16879
+ id: "thisYear",
16880
+ label: "This year",
16881
+ start: (0, Z.default)().startOf("year").format(t),
16882
+ end: (0, Z.default)().endOf("year").format(t)
16883
+ }
16884
+ ];
16885
+ }
16831
16886
  V([W()], cf.prototype, "type", void 0), V([W()], cf.prototype, "start", void 0), V([W()], cf.prototype, "end", void 0), V([W()], cf.prototype, "min", void 0), V([W()], cf.prototype, "max", void 0), V([W()], cf.prototype, "preset", void 0), V([W({ type: Array })], cf.prototype, "presets", void 0), cf = V([H("schmancy-date-range-dialog")], cf), Z.default.extend(sf.default);
16832
- var lf = class extends la() {
16887
+ var uf = class extends la() {
16833
16888
  constructor(...e) {
16834
- super(...e), this.type = "date", this.start = null, this.end = null, this.presets = [
16835
- {
16836
- id: "today",
16837
- label: "Today",
16838
- start: (0, Z.default)().startOf("day").format("YYYY-MM-DD"),
16839
- end: (0, Z.default)().endOf("day").format("YYYY-MM-DD")
16840
- },
16841
- {
16842
- id: "yesterday",
16843
- label: "Yesterday",
16844
- start: (0, Z.default)().subtract(1, "day").startOf("day").format("YYYY-MM-DD"),
16845
- end: (0, Z.default)().subtract(1, "day").endOf("day").format("YYYY-MM-DD")
16846
- },
16847
- {
16848
- id: "last7",
16849
- label: "Last 7 days",
16850
- start: (0, Z.default)().subtract(6, "day").startOf("day").format("YYYY-MM-DD"),
16851
- end: (0, Z.default)().endOf("day").format("YYYY-MM-DD")
16852
- },
16853
- {
16854
- id: "last30",
16855
- label: "Last 30 days",
16856
- start: (0, Z.default)().subtract(29, "day").startOf("day").format("YYYY-MM-DD"),
16857
- end: (0, Z.default)().endOf("day").format("YYYY-MM-DD")
16858
- },
16859
- {
16860
- id: "thisWeek",
16861
- label: "This week",
16862
- start: (0, Z.default)().startOf("week").format("YYYY-MM-DD"),
16863
- end: (0, Z.default)().endOf("week").format("YYYY-MM-DD")
16864
- },
16865
- {
16866
- id: "thisMonth",
16867
- label: "This month",
16868
- start: (0, Z.default)().startOf("month").format("YYYY-MM-DD"),
16869
- end: (0, Z.default)().endOf("month").format("YYYY-MM-DD")
16870
- },
16871
- {
16872
- id: "lastMonth",
16873
- label: "Last month",
16874
- start: (0, Z.default)().subtract(1, "month").startOf("month").format("YYYY-MM-DD"),
16875
- end: (0, Z.default)().subtract(1, "month").endOf("month").format("YYYY-MM-DD")
16876
- },
16877
- {
16878
- id: "thisYear",
16879
- label: "This year",
16880
- start: (0, Z.default)().startOf("year").format("YYYY-MM-DD"),
16881
- end: (0, Z.default)().endOf("year").format("YYYY-MM-DD")
16882
- }
16883
- ], this.preset = null, this.placeholder = "Select date range", this.clearable = !0, this.collapse = !1, this.open$ = new w(), this.close$ = new w(), this.announce$ = new w(), this.isOpen = !1, this.announceMessage = "", this.startDefault = null, this.endDefault = null, this.presetDefault = null;
16889
+ super(...e), this.type = "date", this.start = null, this.end = null, this.defaultPresetsRef = lf(), this.presets = this.defaultPresetsRef, this.usingDefaultPresets = !0, this.preset = null, this.placeholder = "Select date range", this.clearable = !0, this.collapse = !1, this.open$ = new w(), this.close$ = new w(), this.announce$ = new w(), this.isOpen = !1, this.announceMessage = "", this.startDefault = null, this.endDefault = null, this.presetDefault = null;
16884
16890
  }
16885
16891
  disconnectedCallback() {
16886
16892
  super.disconnectedCallback(), this.isOpen = !1;
@@ -16927,7 +16933,7 @@ var lf = class extends la() {
16927
16933
  })), O(document, "keydown").pipe(I((e) => this.handleKeyDown(e)))).pipe(F(this.disconnecting)).subscribe();
16928
16934
  }
16929
16935
  willUpdate(e) {
16930
- if (super.willUpdate(e), e.has("start") || e.has("end") || e.has("name") || e.has("disabled")) {
16936
+ if (super.willUpdate(e), e.has("presets") && this.presets !== this.defaultPresetsRef && (this.usingDefaultPresets = !1), e.has("type") && this.usingDefaultPresets && (this.defaultPresetsRef = lf(this.type), this.presets = this.defaultPresetsRef), e.has("start") || e.has("end") || e.has("name") || e.has("disabled")) {
16931
16937
  if (this.name && !this.disabled) {
16932
16938
  let e = new FormData();
16933
16939
  this.start && e.append(`${this.name}.start`, this.start), this.end && e.append(`${this.name}.end`, this.end), this.internals?.setFormValue(e.has(`${this.name}.start`) || e.has(`${this.name}.end`) ? e : null);
@@ -17098,8 +17104,8 @@ var lf = class extends la() {
17098
17104
  `;
17099
17105
  }
17100
17106
  };
17101
- V([W()], lf.prototype, "type", void 0), V([W()], lf.prototype, "start", void 0), V([W()], lf.prototype, "end", void 0), V([W({ type: Array })], lf.prototype, "presets", void 0), V([W({ reflect: !0 })], lf.prototype, "preset", void 0), V([W()], lf.prototype, "min", void 0), V([W()], lf.prototype, "max", void 0), V([W()], lf.prototype, "placeholder", void 0), V([W({ type: Boolean })], lf.prototype, "clearable", void 0), V([W()], lf.prototype, "step", void 0), V([W({ type: Boolean })], lf.prototype, "collapse", void 0), V([G()], lf.prototype, "isOpen", void 0), V([G()], lf.prototype, "announceMessage", void 0), lf = V([H("schmancy-date-range")], lf);
17102
- var uf = class extends la() {
17107
+ V([W()], uf.prototype, "type", void 0), V([W()], uf.prototype, "start", void 0), V([W()], uf.prototype, "end", void 0), V([W({ type: Array })], uf.prototype, "presets", void 0), V([W({ reflect: !0 })], uf.prototype, "preset", void 0), V([W()], uf.prototype, "min", void 0), V([W()], uf.prototype, "max", void 0), V([W()], uf.prototype, "placeholder", void 0), V([W({ type: Boolean })], uf.prototype, "clearable", void 0), V([W()], uf.prototype, "step", void 0), V([W({ type: Boolean })], uf.prototype, "collapse", void 0), V([G()], uf.prototype, "isOpen", void 0), V([G()], uf.prototype, "announceMessage", void 0), uf = V([H("schmancy-date-range")], uf);
17108
+ var df = class extends la() {
17103
17109
  constructor(...e) {
17104
17110
  super(...e), this.type = "date", this.dateFrom = {
17105
17111
  label: "From",
@@ -17357,29 +17363,29 @@ var uf = class extends la() {
17357
17363
  `;
17358
17364
  }
17359
17365
  };
17360
- V([W({ type: String })], uf.prototype, "type", void 0), V([W({ type: Object })], uf.prototype, "dateFrom", void 0), V([W({ type: Object })], uf.prototype, "dateTo", void 0), V([W({ type: String })], uf.prototype, "minDate", void 0), V([W({ type: String })], uf.prototype, "maxDate", void 0), V([W({ type: Boolean })], uf.prototype, "compact", void 0), V([W({ type: Boolean })], uf.prototype, "autoCorrect", void 0), V([W({ type: Number })], uf.prototype, "minGap", void 0), V([W({ type: Number })], uf.prototype, "maxGap", void 0), V([W({ type: Number })], uf.prototype, "defaultGap", void 0), V([W({ type: Boolean })], uf.prototype, "allowSameDate", void 0), V([G()], uf.prototype, "validationState", void 0);
17361
- var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new WeakMap(), pf = 0, mf = /* @__PURE__ */ new Map(), hf = /* @__PURE__ */ new WeakSet(), gf = () => new Promise((e) => requestAnimationFrame(e)), _f = [{
17366
+ V([W({ type: String })], df.prototype, "type", void 0), V([W({ type: Object })], df.prototype, "dateFrom", void 0), V([W({ type: Object })], df.prototype, "dateTo", void 0), V([W({ type: String })], df.prototype, "minDate", void 0), V([W({ type: String })], df.prototype, "maxDate", void 0), V([W({ type: Boolean })], df.prototype, "compact", void 0), V([W({ type: Boolean })], df.prototype, "autoCorrect", void 0), V([W({ type: Number })], df.prototype, "minGap", void 0), V([W({ type: Number })], df.prototype, "maxGap", void 0), V([W({ type: Number })], df.prototype, "defaultGap", void 0), V([W({ type: Boolean })], df.prototype, "allowSameDate", void 0), V([G()], df.prototype, "validationState", void 0);
17367
+ var ff = df = V([H("schmancy-date-range-inline")], df), pf = /* @__PURE__ */ new WeakMap(), mf = 0, hf = /* @__PURE__ */ new Map(), gf = /* @__PURE__ */ new WeakSet(), _f = () => new Promise((e) => requestAnimationFrame(e)), vf = [{
17362
17368
  transform: "translateY(100%) scale(0)",
17363
17369
  opacity: 0
17364
- }], vf = [{
17370
+ }], yf = [{
17365
17371
  transform: "translateY(-100%) scale(0)",
17366
17372
  opacity: 0
17367
- }], yf = [{ opacity: 0 }, { opacity: 1 }], bf = (e, t) => {
17373
+ }], bf = [{ opacity: 0 }, { opacity: 1 }], xf = (e, t) => {
17368
17374
  let n = e - t;
17369
17375
  return n === 0 ? void 0 : n;
17370
- }, xf = (e, t) => {
17376
+ }, Sf = (e, t) => {
17371
17377
  let n = e / t;
17372
17378
  return n === 1 ? void 0 : n;
17373
- }, Sf = {
17379
+ }, Cf = {
17374
17380
  left: (e, t) => {
17375
- let n = bf(e, t);
17381
+ let n = xf(e, t);
17376
17382
  return {
17377
17383
  value: n,
17378
17384
  transform: n == null || isNaN(n) ? void 0 : `translateX(${n}px)`
17379
17385
  };
17380
17386
  },
17381
17387
  top: (e, t) => {
17382
- let n = bf(e, t);
17388
+ let n = xf(e, t);
17383
17389
  return {
17384
17390
  value: n,
17385
17391
  transform: n == null || isNaN(n) ? void 0 : `translateY(${n}px)`
@@ -17388,7 +17394,7 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17388
17394
  width: (e, t) => {
17389
17395
  let n;
17390
17396
  t === 0 && (t = 1, n = { width: "1px" });
17391
- let r = xf(e, t);
17397
+ let r = Sf(e, t);
17392
17398
  return {
17393
17399
  value: r,
17394
17400
  overrideFrom: n,
@@ -17398,17 +17404,17 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17398
17404
  height: (e, t) => {
17399
17405
  let n;
17400
17406
  t === 0 && (t = 1, n = { height: "1px" });
17401
- let r = xf(e, t);
17407
+ let r = Sf(e, t);
17402
17408
  return {
17403
17409
  value: r,
17404
17410
  overrideFrom: n,
17405
17411
  transform: r == null || isNaN(r) ? void 0 : `scaleY(${r})`
17406
17412
  };
17407
17413
  }
17408
- }, Cf = {
17414
+ }, wf = {
17409
17415
  duration: 333,
17410
17416
  easing: "ease-in-out"
17411
- }, wf = [
17417
+ }, Tf = [
17412
17418
  "left",
17413
17419
  "top",
17414
17420
  "width",
@@ -17416,7 +17422,7 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17416
17422
  "opacity",
17417
17423
  "color",
17418
17424
  "background"
17419
- ], Tf = /* @__PURE__ */ new WeakMap(), Ef = B(class extends Ui {
17425
+ ], Ef = /* @__PURE__ */ new WeakMap(), Df = B(class extends Ui {
17420
17426
  constructor(e) {
17421
17427
  if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === Zn) throw Error("The `animate` directive must be used in attribute position.");
17422
17428
  this.createFinished();
@@ -17433,14 +17439,14 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17433
17439
  return z;
17434
17440
  }
17435
17441
  getController() {
17436
- return ff.get(this.u);
17442
+ return pf.get(this.u);
17437
17443
  }
17438
17444
  isDisabled() {
17439
17445
  return this.options.disabled || this.getController()?.disabled;
17440
17446
  }
17441
17447
  update(e, [t]) {
17442
17448
  let n = this.u === void 0;
17443
- return n && (this.u = e.options?.host, this.u.addController(this), this.u.updateComplete.then((e) => this.t = !0), this.element = e.element, Tf.set(this.element, this)), this.optionsOrCallback = t, (n || typeof t != "function") && this.m(t), this.render(t);
17449
+ return n && (this.u = e.options?.host, this.u.addController(this), this.u.updateComplete.then((e) => this.t = !0), this.element = e.element, Ef.set(this.element, this)), this.optionsOrCallback = t, (n || typeof t != "function") && this.m(t), this.render(t);
17444
17450
  }
17445
17451
  m(e) {
17446
17452
  e ??= {};
@@ -17451,12 +17457,12 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17451
17457
  }).keyframeOptions = {
17452
17458
  ...t.defaultOptions.keyframeOptions,
17453
17459
  ...e.keyframeOptions
17454
- }), e.properties ??= wf, this.options = e;
17460
+ }), e.properties ??= Tf, this.options = e;
17455
17461
  }
17456
17462
  p() {
17457
17463
  let e = {}, t = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
17458
17464
  return this.options.properties.forEach((r) => {
17459
- let i = t[r] ?? (Sf[r] ? void 0 : n[r]), a = Number(i);
17465
+ let i = t[r] ?? (Cf[r] ? void 0 : n[r]), a = Number(i);
17460
17466
  e[r] = isNaN(a) ? i + "" : a;
17461
17467
  }), e;
17462
17468
  }
@@ -17475,7 +17481,7 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17475
17481
  async hostUpdated() {
17476
17482
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
17477
17483
  let e;
17478
- this.prepare(), await gf;
17484
+ this.prepare(), await _f;
17479
17485
  let t = this.P(), n = this.V(this.options.keyframeOptions, t), r = this.p();
17480
17486
  if (this.A !== void 0) {
17481
17487
  let { from: n, to: i } = this.O(this.A, r, t);
@@ -17486,9 +17492,9 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17486
17492
  i
17487
17493
  ]), e = this.calculateKeyframes(n, i);
17488
17494
  } else {
17489
- let n = mf.get(this.options.inId);
17495
+ let n = hf.get(this.options.inId);
17490
17496
  if (n) {
17491
- mf.delete(this.options.inId);
17497
+ hf.delete(this.options.inId);
17492
17498
  let { from: i, to: a } = this.O(n, r, t);
17493
17499
  e = this.calculateKeyframes(i, a), e = this.options.in ? [
17494
17500
  {
@@ -17497,7 +17503,7 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17497
17503
  },
17498
17504
  ...this.options.in.slice(1),
17499
17505
  e[1]
17500
- ] : e, pf++, e.forEach((e) => e.zIndex = pf);
17506
+ ] : e, mf++, e.forEach((e) => e.zIndex = mf);
17501
17507
  } else this.options.in && (e = [...this.options.in, {}]);
17502
17508
  }
17503
17509
  this.animate(e, n);
@@ -17510,8 +17516,8 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17510
17516
  }
17511
17517
  reconnected() {}
17512
17518
  async disconnected() {
17513
- if (!this.h || (this.options.id !== void 0 && mf.set(this.options.id, this.A), this.options.out === void 0)) return;
17514
- if (this.prepare(), await gf(), this.i?.isConnected) {
17519
+ if (!this.h || (this.options.id !== void 0 && hf.set(this.options.id, this.A), this.options.out === void 0)) return;
17520
+ if (this.prepare(), await _f(), this.i?.isConnected) {
17515
17521
  let e = this.o && this.o.parentNode === this.i ? this.o : null;
17516
17522
  if (this.i.insertBefore(this.element, e), this.options.stabilizeOut) {
17517
17523
  let e = this.p();
@@ -17535,19 +17541,19 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17535
17541
  P() {
17536
17542
  let e = [];
17537
17543
  for (let t = this.element.parentNode; t; t = t?.parentNode) {
17538
- let n = Tf.get(t);
17544
+ let n = Ef.get(t);
17539
17545
  n && !n.isDisabled() && n && e.push(n);
17540
17546
  }
17541
17547
  return e;
17542
17548
  }
17543
17549
  get isHostRendered() {
17544
- let e = hf.has(this.u);
17550
+ let e = gf.has(this.u);
17545
17551
  return e || this.u.updateComplete.then(() => {
17546
- hf.add(this.u);
17552
+ gf.add(this.u);
17547
17553
  }), e;
17548
17554
  }
17549
17555
  V(e, t = this.P()) {
17550
- let n = { ...Cf };
17556
+ let n = { ...wf };
17551
17557
  return t.forEach((e) => Object.assign(n, e.options.keyframeOptions)), Object.assign(n, e), n;
17552
17558
  }
17553
17559
  O(e, t, n) {
@@ -17564,8 +17570,8 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17564
17570
  let r = {}, i = {}, a = !1, o = {};
17565
17571
  for (let n in t) {
17566
17572
  let s = e[n], c = t[n];
17567
- if (n in Sf) {
17568
- let e = Sf[n];
17573
+ if (n in Cf) {
17574
+ let e = Cf[n];
17569
17575
  if (s === void 0 || c === void 0) continue;
17570
17576
  let t = e(s, c);
17571
17577
  t.transform !== void 0 && (o[n] = t.value, a = !0, r.transform = `${r.transform ?? ""} ${t.transform}`, t.overrideFrom !== void 0 && Object.assign(r, t.overrideFrom));
@@ -17593,7 +17599,7 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17593
17599
  log(e, t) {
17594
17600
  this.shouldLog && this.isDisabled();
17595
17601
  }
17596
- }), Df, Of = (e) => ((e) => e?._$litType$?.h != null)(e) ? e._$litType$.h : e.strings, kf = B(class extends $n {
17602
+ }), Of, kf = (e) => ((e) => e?._$litType$?.h != null)(e) ? e._$litType$.h : e.strings, Af = B(class extends $n {
17597
17603
  constructor(e) {
17598
17604
  super(e), this.et = /* @__PURE__ */ new WeakMap();
17599
17605
  }
@@ -17601,7 +17607,7 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17601
17607
  return [e];
17602
17608
  }
17603
17609
  update(e, [t]) {
17604
- let n = ki(this.it) ? Of(this.it) : null, r = ki(t) ? Of(t) : null;
17610
+ let n = ki(this.it) ? kf(this.it) : null, r = ki(t) ? kf(t) : null;
17605
17611
  if (n !== null && (r === null || n !== r)) {
17606
17612
  let t = Fi(e).pop(), r = this.et.get(n);
17607
17613
  r === void 0 && (r = Yn(z, document.createDocumentFragment()), r.setConnected(!1), this.et.set(n, r)), Pi(r, [t]), ji(r, void 0, t);
@@ -17620,7 +17626,7 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17620
17626
  } else this.it = void 0;
17621
17627
  return this.render(t);
17622
17628
  }
17623
- }), Af = "delay-context", jf = Df = class extends K {
17629
+ }), jf = "delay-context", Mf = Of = class extends K {
17624
17630
  constructor(...e) {
17625
17631
  super(...e), this.delay = 0, this.motion = "flyBelow", this.rendered = !1, this.parentDelay = 0, this.effectiveDelay = 0, this.once = !0, this.sessionKey = "";
17626
17632
  }
@@ -17642,7 +17648,7 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17642
17648
  getTotalSiblingDelay(e) {
17643
17649
  if (!(e && e instanceof HTMLElement)) return 0;
17644
17650
  let t = 0, n = e.previousElementSibling;
17645
- for (; n;) n instanceof Df && (t += n.delay), n = n.previousElementSibling;
17651
+ for (; n;) n instanceof Of && (t += n.delay), n = n.previousElementSibling;
17646
17652
  return e.parentElement && (t += this.getTotalSiblingDelay(e.parentElement)), t;
17647
17653
  }
17648
17654
  updateRenderState() {
@@ -17663,11 +17669,11 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17663
17669
  }(e) : "";
17664
17670
  }
17665
17671
  get motionLit() {
17666
- return this.motion === "flyBelow" ? _f : this.motion === "flyAbove" ? vf : yf;
17672
+ return this.motion === "flyBelow" ? vf : this.motion === "flyAbove" ? yf : bf;
17667
17673
  }
17668
17674
  render() {
17669
- return kf(this.rendered ? L`<div
17670
- ${Ef({
17675
+ return Af(this.rendered ? L`<div
17676
+ ${Df({
17671
17677
  in: this.motionLit,
17672
17678
  keyframeOptions: {
17673
17679
  duration: 300,
@@ -17686,11 +17692,11 @@ var df = uf = V([H("schmancy-date-range-inline")], uf), ff = /* @__PURE__ */ new
17686
17692
  V([W({
17687
17693
  type: Number,
17688
17694
  reflect: !0
17689
- })], jf.prototype, "delay", void 0), V([W({ type: String })], jf.prototype, "motion", void 0), V([G()], jf.prototype, "rendered", void 0), V([fr({
17690
- context: Af,
17695
+ })], Mf.prototype, "delay", void 0), V([W({ type: String })], Mf.prototype, "motion", void 0), V([G()], Mf.prototype, "rendered", void 0), V([fr({
17696
+ context: jf,
17691
17697
  subscribe: !0
17692
- })], jf.prototype, "parentDelay", void 0), V([dr({ context: Af })], jf.prototype, "effectiveDelay", void 0), V([W({ type: Boolean })], jf.prototype, "once", void 0), V([Br({ flatten: !0 })], jf.prototype, "assignedElements", void 0), jf = Df = V([H("schmancy-delay")], jf);
17693
- var Mf = class extends da(K) {
17698
+ })], Mf.prototype, "parentDelay", void 0), V([dr({ context: jf })], Mf.prototype, "effectiveDelay", void 0), V([W({ type: Boolean })], Mf.prototype, "once", void 0), V([Br({ flatten: !0 })], Mf.prototype, "assignedElements", void 0), Mf = Of = V([H("schmancy-delay")], Mf);
17699
+ var Nf = class extends da(K) {
17694
17700
  static {
17695
17701
  this.styles = [U`
17696
17702
  :host {
@@ -17968,26 +17974,26 @@ var Mf = class extends da(K) {
17968
17974
  }));
17969
17975
  }
17970
17976
  };
17971
- V([W()], Mf.prototype, "summary", void 0), V([W({
17977
+ V([W()], Nf.prototype, "summary", void 0), V([W({
17972
17978
  type: Boolean,
17973
17979
  reflect: !0
17974
- })], Mf.prototype, "open", null), V([W({
17980
+ })], Nf.prototype, "open", null), V([W({
17975
17981
  attribute: "indicator-placement",
17976
17982
  reflect: !0
17977
- })], Mf.prototype, "indicatorPlacement", void 0), V([W({
17983
+ })], Nf.prototype, "indicatorPlacement", void 0), V([W({
17978
17984
  type: Boolean,
17979
17985
  attribute: "hide-indicator"
17980
- })], Mf.prototype, "hideIndicator", void 0), V([W({
17986
+ })], Nf.prototype, "hideIndicator", void 0), V([W({
17981
17987
  type: Number,
17982
17988
  attribute: "indicator-rotate"
17983
- })], Mf.prototype, "indicatorRotate", void 0), V([W({
17989
+ })], Nf.prototype, "indicatorRotate", void 0), V([W({
17984
17990
  type: Boolean,
17985
17991
  reflect: !0
17986
- })], Mf.prototype, "locked", void 0), V([W({
17992
+ })], Nf.prototype, "locked", void 0), V([W({
17987
17993
  type: Boolean,
17988
17994
  reflect: !0
17989
- })], Mf.prototype, "overlay", void 0), V([W({ attribute: "summary-padding" })], Mf.prototype, "summaryPadding", void 0), V([W({ attribute: "content-padding" })], Mf.prototype, "contentPadding", void 0), V([G()], Mf.prototype, "hasOpened", void 0);
17990
- var Nf = Mf = V([H("schmancy-details")], Mf), Pf = class extends K {
17995
+ })], Nf.prototype, "overlay", void 0), V([W({ attribute: "summary-padding" })], Nf.prototype, "summaryPadding", void 0), V([W({ attribute: "content-padding" })], Nf.prototype, "contentPadding", void 0), V([G()], Nf.prototype, "hasOpened", void 0);
17996
+ var Pf = Nf = V([H("schmancy-details")], Nf), Ff = class extends K {
17991
17997
  constructor(...e) {
17992
17998
  super(...e), this.outline = "variant", this.vertical = !1, this.grow = "start";
17993
17999
  }
@@ -18068,65 +18074,65 @@ var Nf = Mf = V([H("schmancy-details")], Mf), Pf = class extends K {
18068
18074
  ></div>`;
18069
18075
  }
18070
18076
  };
18071
- V([W({ type: String })], Pf.prototype, "outline", void 0), V([W({ type: Boolean })], Pf.prototype, "vertical", void 0), V([W({ type: String })], Pf.prototype, "grow", void 0), V([W({
18077
+ V([W({ type: String })], Ff.prototype, "outline", void 0), V([W({ type: Boolean })], Ff.prototype, "vertical", void 0), V([W({ type: String })], Ff.prototype, "grow", void 0), V([W({
18072
18078
  reflect: !0,
18073
18079
  type: String
18074
- })], Pf.prototype, "orientation", null), Pf = V([H("schmancy-divider")], Pf);
18075
- var Ff = Math.min, If = Math.max, Lf = Math.round, Rf = Math.floor, zf = (e) => ({
18080
+ })], Ff.prototype, "orientation", null), Ff = V([H("schmancy-divider")], Ff);
18081
+ var If = Math.min, Lf = Math.max, Rf = Math.round, zf = Math.floor, Bf = (e) => ({
18076
18082
  x: e,
18077
18083
  y: e
18078
- }), Bf = {
18084
+ }), Vf = {
18079
18085
  left: "right",
18080
18086
  right: "left",
18081
18087
  bottom: "top",
18082
18088
  top: "bottom"
18083
18089
  };
18084
- function Vf(e, t, n) {
18085
- return If(e, Ff(t, n));
18090
+ function Hf(e, t, n) {
18091
+ return Lf(e, If(t, n));
18086
18092
  }
18087
- function Hf(e, t) {
18093
+ function Uf(e, t) {
18088
18094
  return typeof e == "function" ? e(t) : e;
18089
18095
  }
18090
- function Uf(e) {
18096
+ function Wf(e) {
18091
18097
  return e.split("-")[0];
18092
18098
  }
18093
- function Wf(e) {
18099
+ function Gf(e) {
18094
18100
  return e.split("-")[1];
18095
18101
  }
18096
- function Gf(e) {
18102
+ function Kf(e) {
18097
18103
  return e === "x" ? "y" : "x";
18098
18104
  }
18099
- function Kf(e) {
18105
+ function qf(e) {
18100
18106
  return e === "y" ? "height" : "width";
18101
18107
  }
18102
- function qf(e) {
18108
+ function Jf(e) {
18103
18109
  let t = e[0];
18104
18110
  return t === "t" || t === "b" ? "y" : "x";
18105
18111
  }
18106
- function Jf(e) {
18107
- return Gf(qf(e));
18108
- }
18109
18112
  function Yf(e) {
18113
+ return Kf(Jf(e));
18114
+ }
18115
+ function Xf(e) {
18110
18116
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
18111
18117
  }
18112
- var Xf = ["left", "right"], Zf = ["right", "left"], Qf = ["top", "bottom"], $f = ["bottom", "top"];
18113
- function ep(e, t, n, r) {
18114
- let i = Wf(e), a = function(e, t, n) {
18118
+ var Zf = ["left", "right"], Qf = ["right", "left"], $f = ["top", "bottom"], ep = ["bottom", "top"];
18119
+ function tp(e, t, n, r) {
18120
+ let i = Gf(e), a = function(e, t, n) {
18115
18121
  switch (e) {
18116
18122
  case "top":
18117
- case "bottom": return n ? t ? Zf : Xf : t ? Xf : Zf;
18123
+ case "bottom": return n ? t ? Qf : Zf : t ? Zf : Qf;
18118
18124
  case "left":
18119
- case "right": return t ? Qf : $f;
18125
+ case "right": return t ? $f : ep;
18120
18126
  default: return [];
18121
18127
  }
18122
- }(Uf(e), n === "start", r);
18123
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Yf)))), a;
18124
- }
18125
- function tp(e) {
18126
- let t = Uf(e);
18127
- return Bf[t] + e.slice(t.length);
18128
+ }(Wf(e), n === "start", r);
18129
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Xf)))), a;
18128
18130
  }
18129
18131
  function np(e) {
18132
+ let t = Wf(e);
18133
+ return Vf[t] + e.slice(t.length);
18134
+ }
18135
+ function rp(e) {
18130
18136
  return typeof e == "number" ? {
18131
18137
  top: e,
18132
18138
  right: e,
@@ -18142,7 +18148,7 @@ function np(e) {
18142
18148
  };
18143
18149
  }(e);
18144
18150
  }
18145
- function rp(e) {
18151
+ function ip(e) {
18146
18152
  let { x: t, y: n, width: r, height: i } = e;
18147
18153
  return {
18148
18154
  width: r,
@@ -18155,8 +18161,8 @@ function rp(e) {
18155
18161
  y: n
18156
18162
  };
18157
18163
  }
18158
- function ip(e, t, n) {
18159
- let { reference: r, floating: i } = e, a = qf(t), o = Jf(t), s = Kf(o), c = Uf(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
18164
+ function ap(e, t, n) {
18165
+ let { reference: r, floating: i } = e, a = Jf(t), o = Yf(t), s = qf(o), c = Wf(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
18160
18166
  switch (c) {
18161
18167
  case "top":
18162
18168
  p = {
@@ -18187,7 +18193,7 @@ function ip(e, t, n) {
18187
18193
  y: r.y
18188
18194
  };
18189
18195
  }
18190
- switch (Wf(t)) {
18196
+ switch (Gf(t)) {
18191
18197
  case "start":
18192
18198
  p[o] -= f * (n && l ? -1 : 1);
18193
18199
  break;
@@ -18195,10 +18201,10 @@ function ip(e, t, n) {
18195
18201
  }
18196
18202
  return p;
18197
18203
  }
18198
- async function ap(e, t) {
18204
+ async function op(e, t) {
18199
18205
  var n;
18200
18206
  t === void 0 && (t = {});
18201
- let { x: r, y: i, platform: a, rects: o, elements: s, strategy: c } = e, { boundary: l = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: f = !1, padding: p = 0 } = Hf(t, e), m = np(p), h = s[f ? d === "floating" ? "reference" : "floating" : d], g = rp(await a.getClippingRect({
18207
+ let { x: r, y: i, platform: a, rects: o, elements: s, strategy: c } = e, { boundary: l = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: f = !1, padding: p = 0 } = Uf(t, e), m = rp(p), h = s[f ? d === "floating" ? "reference" : "floating" : d], g = ip(await a.getClippingRect({
18202
18208
  element: (n = await (a.isElement == null ? void 0 : a.isElement(h))) == null || n ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(s.floating)),
18203
18209
  boundary: l,
18204
18210
  rootBoundary: u,
@@ -18211,7 +18217,7 @@ async function ap(e, t) {
18211
18217
  } : o.reference, _ = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(s.floating)), v = await (a.isElement == null ? void 0 : a.isElement(_)) && await (a.getScale == null ? void 0 : a.getScale(_)) || {
18212
18218
  x: 1,
18213
18219
  y: 1
18214
- }, te = rp(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
18220
+ }, te = ip(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
18215
18221
  elements: s,
18216
18222
  rect: ee,
18217
18223
  offsetParent: _,
@@ -18224,40 +18230,40 @@ async function ap(e, t) {
18224
18230
  right: (te.right - g.right + m.right) / v.x
18225
18231
  };
18226
18232
  }
18227
- var op = new Set(["left", "top"]);
18228
- function sp() {
18233
+ var sp = new Set(["left", "top"]);
18234
+ function cp() {
18229
18235
  return typeof window < "u";
18230
18236
  }
18231
- function cp(e) {
18232
- return dp(e) ? (e.nodeName || "").toLowerCase() : "#document";
18233
- }
18234
18237
  function lp(e) {
18235
- var t;
18236
- return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
18238
+ return fp(e) ? (e.nodeName || "").toLowerCase() : "#document";
18237
18239
  }
18238
18240
  function up(e) {
18239
- return ((dp(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
18241
+ var t;
18242
+ return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
18240
18243
  }
18241
18244
  function dp(e) {
18242
- return !!sp() && (e instanceof Node || e instanceof lp(e).Node);
18245
+ return ((fp(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
18243
18246
  }
18244
18247
  function fp(e) {
18245
- return !!sp() && (e instanceof Element || e instanceof lp(e).Element);
18248
+ return !!cp() && (e instanceof Node || e instanceof up(e).Node);
18246
18249
  }
18247
18250
  function pp(e) {
18248
- return !!sp() && (e instanceof HTMLElement || e instanceof lp(e).HTMLElement);
18251
+ return !!cp() && (e instanceof Element || e instanceof up(e).Element);
18249
18252
  }
18250
18253
  function mp(e) {
18251
- return !(!sp() || typeof ShadowRoot > "u") && (e instanceof ShadowRoot || e instanceof lp(e).ShadowRoot);
18254
+ return !!cp() && (e instanceof HTMLElement || e instanceof up(e).HTMLElement);
18252
18255
  }
18253
18256
  function hp(e) {
18254
- let { overflow: t, overflowX: n, overflowY: r, display: i } = Tp(e);
18255
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
18257
+ return !(!cp() || typeof ShadowRoot > "u") && (e instanceof ShadowRoot || e instanceof up(e).ShadowRoot);
18256
18258
  }
18257
18259
  function gp(e) {
18258
- return /^(table|td|th)$/.test(cp(e));
18260
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = Ep(e);
18261
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
18259
18262
  }
18260
18263
  function _p(e) {
18264
+ return /^(table|td|th)$/.test(lp(e));
18265
+ }
18266
+ function vp(e) {
18261
18267
  try {
18262
18268
  if (e.matches(":popover-open")) return !0;
18263
18269
  } catch {}
@@ -18267,22 +18273,22 @@ function _p(e) {
18267
18273
  return !1;
18268
18274
  }
18269
18275
  }
18270
- var vp, yp = /transform|translate|scale|rotate|perspective|filter/, bp = /paint|layout|strict|content/, xp = (e) => !!e && e !== "none";
18271
- function Sp(e) {
18272
- let t = fp(e) ? Tp(e) : e;
18273
- return xp(t.transform) || xp(t.translate) || xp(t.scale) || xp(t.rotate) || xp(t.perspective) || !Cp() && (xp(t.backdropFilter) || xp(t.filter)) || yp.test(t.willChange || "") || bp.test(t.contain || "");
18274
- }
18275
- function Cp() {
18276
- return vp ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), vp;
18276
+ var yp, bp = /transform|translate|scale|rotate|perspective|filter/, xp = /paint|layout|strict|content/, Sp = (e) => !!e && e !== "none";
18277
+ function Cp(e) {
18278
+ let t = pp(e) ? Ep(e) : e;
18279
+ return Sp(t.transform) || Sp(t.translate) || Sp(t.scale) || Sp(t.rotate) || Sp(t.perspective) || !wp() && (Sp(t.backdropFilter) || Sp(t.filter)) || bp.test(t.willChange || "") || xp.test(t.contain || "");
18277
18280
  }
18278
- function wp(e) {
18279
- return /^(html|body|#document)$/.test(cp(e));
18281
+ function wp() {
18282
+ return yp ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), yp;
18280
18283
  }
18281
18284
  function Tp(e) {
18282
- return lp(e).getComputedStyle(e);
18285
+ return /^(html|body|#document)$/.test(lp(e));
18283
18286
  }
18284
18287
  function Ep(e) {
18285
- return fp(e) ? {
18288
+ return up(e).getComputedStyle(e);
18289
+ }
18290
+ function Dp(e) {
18291
+ return pp(e) ? {
18286
18292
  scrollLeft: e.scrollLeft,
18287
18293
  scrollTop: e.scrollTop
18288
18294
  } : {
@@ -18290,97 +18296,97 @@ function Ep(e) {
18290
18296
  scrollTop: e.scrollY
18291
18297
  };
18292
18298
  }
18293
- function Dp(e) {
18294
- if (cp(e) === "html") return e;
18295
- let t = e.assignedSlot || e.parentNode || mp(e) && e.host || up(e);
18296
- return mp(t) ? t.host : t;
18297
- }
18298
18299
  function Op(e) {
18299
- let t = Dp(e);
18300
- return wp(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : pp(t) && hp(t) ? t : Op(t);
18300
+ if (lp(e) === "html") return e;
18301
+ let t = e.assignedSlot || e.parentNode || hp(e) && e.host || dp(e);
18302
+ return hp(t) ? t.host : t;
18303
+ }
18304
+ function kp(e) {
18305
+ let t = Op(e);
18306
+ return Tp(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : mp(t) && gp(t) ? t : kp(t);
18301
18307
  }
18302
- function kp(e, t, n) {
18308
+ function Ap(e, t, n) {
18303
18309
  t === void 0 && (t = []), n === void 0 && (n = !0);
18304
- let r = Op(e), i = r === e.ownerDocument?.body, a = lp(r);
18310
+ let r = kp(e), i = r === e.ownerDocument?.body, a = up(r);
18305
18311
  if (i) {
18306
- let e = Ap(a);
18307
- return t.concat(a, a.visualViewport || [], hp(r) ? r : [], e && n ? kp(e) : []);
18312
+ let e = jp(a);
18313
+ return t.concat(a, a.visualViewport || [], gp(r) ? r : [], e && n ? Ap(e) : []);
18308
18314
  }
18309
- return t.concat(r, kp(r, [], n));
18315
+ return t.concat(r, Ap(r, [], n));
18310
18316
  }
18311
- function Ap(e) {
18317
+ function jp(e) {
18312
18318
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
18313
18319
  }
18314
- function jp(e) {
18315
- let t = Tp(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = pp(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Lf(n) !== a || Lf(r) !== o;
18320
+ function Mp(e) {
18321
+ let t = Ep(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = mp(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Rf(n) !== a || Rf(r) !== o;
18316
18322
  return s && (n = a, r = o), {
18317
18323
  width: n,
18318
18324
  height: r,
18319
18325
  $: s
18320
18326
  };
18321
18327
  }
18322
- function Mp(e) {
18323
- return fp(e) ? e : e.contextElement;
18324
- }
18325
18328
  function Np(e) {
18326
- let t = Mp(e);
18327
- if (!pp(t)) return zf(1);
18328
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = jp(t), o = (a ? Lf(n.width) : n.width) / r, s = (a ? Lf(n.height) : n.height) / i;
18329
+ return pp(e) ? e : e.contextElement;
18330
+ }
18331
+ function Pp(e) {
18332
+ let t = Np(e);
18333
+ if (!mp(t)) return Bf(1);
18334
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Mp(t), o = (a ? Rf(n.width) : n.width) / r, s = (a ? Rf(n.height) : n.height) / i;
18329
18335
  return o && Number.isFinite(o) || (o = 1), s && Number.isFinite(s) || (s = 1), {
18330
18336
  x: o,
18331
18337
  y: s
18332
18338
  };
18333
18339
  }
18334
- var Pp = zf(0);
18335
- function Fp(e) {
18336
- let t = lp(e);
18337
- return Cp() && t.visualViewport ? {
18340
+ var Fp = Bf(0);
18341
+ function Ip(e) {
18342
+ let t = up(e);
18343
+ return wp() && t.visualViewport ? {
18338
18344
  x: t.visualViewport.offsetLeft,
18339
18345
  y: t.visualViewport.offsetTop
18340
- } : Pp;
18346
+ } : Fp;
18341
18347
  }
18342
- function Ip(e, t, n, r) {
18348
+ function Lp(e, t, n, r) {
18343
18349
  t === void 0 && (t = !1), n === void 0 && (n = !1);
18344
- let i = e.getBoundingClientRect(), a = Mp(e), o = zf(1);
18345
- t && (r ? fp(r) && (o = Np(r)) : o = Np(e));
18350
+ let i = e.getBoundingClientRect(), a = Np(e), o = Bf(1);
18351
+ t && (r ? pp(r) && (o = Pp(r)) : o = Pp(e));
18346
18352
  let s = function(e, t, n) {
18347
- return t === void 0 && (t = !1), !(!n || t && n !== lp(e)) && t;
18348
- }(a, n, r) ? Fp(a) : zf(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
18353
+ return t === void 0 && (t = !1), !(!n || t && n !== up(e)) && t;
18354
+ }(a, n, r) ? Ip(a) : Bf(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
18349
18355
  if (a) {
18350
- let e = lp(a), t = r && fp(r) ? lp(r) : r, n = e, i = Ap(n);
18356
+ let e = up(a), t = r && pp(r) ? up(r) : r, n = e, i = jp(n);
18351
18357
  for (; i && r && t !== n;) {
18352
- let e = Np(i), t = i.getBoundingClientRect(), r = Tp(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
18353
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = lp(i), i = Ap(n);
18358
+ let e = Pp(i), t = i.getBoundingClientRect(), r = Ep(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
18359
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = up(i), i = jp(n);
18354
18360
  }
18355
18361
  }
18356
- return rp({
18362
+ return ip({
18357
18363
  width: u,
18358
18364
  height: d,
18359
18365
  x: c,
18360
18366
  y: l
18361
18367
  });
18362
18368
  }
18363
- function Lp(e, t) {
18364
- let n = Ep(e).scrollLeft;
18365
- return t ? t.left + n : Ip(up(e)).left + n;
18366
- }
18367
18369
  function Rp(e, t) {
18370
+ let n = Dp(e).scrollLeft;
18371
+ return t ? t.left + n : Lp(dp(e)).left + n;
18372
+ }
18373
+ function zp(e, t) {
18368
18374
  let n = e.getBoundingClientRect();
18369
18375
  return {
18370
- x: n.left + t.scrollLeft - Lp(e, n),
18376
+ x: n.left + t.scrollLeft - Rp(e, n),
18371
18377
  y: n.top + t.scrollTop
18372
18378
  };
18373
18379
  }
18374
- function zp(e, t, n) {
18380
+ function Bp(e, t, n) {
18375
18381
  let r;
18376
18382
  if (t === "viewport") r = function(e, t) {
18377
- let n = lp(e), r = up(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
18383
+ let n = up(e), r = dp(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
18378
18384
  if (i) {
18379
18385
  a = i.width, o = i.height;
18380
- let e = Cp();
18386
+ let e = wp();
18381
18387
  (!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
18382
18388
  }
18383
- let l = Lp(r);
18389
+ let l = Rp(r);
18384
18390
  if (l <= 0) {
18385
18391
  let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
18386
18392
  o <= 25 && (a -= o);
@@ -18393,16 +18399,16 @@ function zp(e, t, n) {
18393
18399
  };
18394
18400
  }(e, n);
18395
18401
  else if (t === "document") r = function(e) {
18396
- let t = up(e), n = Ep(e), r = e.ownerDocument.body, i = If(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = If(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Lp(e), s = -n.scrollTop;
18397
- return Tp(r).direction === "rtl" && (o += If(t.clientWidth, r.clientWidth) - i), {
18402
+ let t = dp(e), n = Dp(e), r = e.ownerDocument.body, i = Lf(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = Lf(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Rp(e), s = -n.scrollTop;
18403
+ return Ep(r).direction === "rtl" && (o += Lf(t.clientWidth, r.clientWidth) - i), {
18398
18404
  width: i,
18399
18405
  height: a,
18400
18406
  x: o,
18401
18407
  y: s
18402
18408
  };
18403
- }(up(e));
18404
- else if (fp(t)) r = function(e, t) {
18405
- let n = Ip(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = pp(e) ? Np(e) : zf(1);
18409
+ }(dp(e));
18410
+ else if (pp(t)) r = function(e, t) {
18411
+ let n = Lp(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = mp(e) ? Pp(e) : Bf(1);
18406
18412
  return {
18407
18413
  width: e.clientWidth * a.x,
18408
18414
  height: e.clientHeight * a.y,
@@ -18411,7 +18417,7 @@ function zp(e, t, n) {
18411
18417
  };
18412
18418
  }(t, n);
18413
18419
  else {
18414
- let n = Fp(e);
18420
+ let n = Ip(e);
18415
18421
  r = {
18416
18422
  x: t.x - n.x,
18417
18423
  y: t.y - n.y,
@@ -18419,36 +18425,36 @@ function zp(e, t, n) {
18419
18425
  height: t.height
18420
18426
  };
18421
18427
  }
18422
- return rp(r);
18423
- }
18424
- function Bp(e, t) {
18425
- let n = Dp(e);
18426
- return !(n === t || !fp(n) || wp(n)) && (Tp(n).position === "fixed" || Bp(n, t));
18428
+ return ip(r);
18427
18429
  }
18428
18430
  function Vp(e, t) {
18431
+ let n = Op(e);
18432
+ return !(n === t || !pp(n) || Tp(n)) && (Ep(n).position === "fixed" || Vp(n, t));
18433
+ }
18434
+ function Hp(e, t) {
18429
18435
  let n = t.get(e);
18430
18436
  if (n) return n;
18431
- let r = kp(e, [], !1).filter((e) => fp(e) && cp(e) !== "body"), i = null, a = Tp(e).position === "fixed", o = a ? Dp(e) : e;
18432
- for (; fp(o) && !wp(o);) {
18433
- let t = Tp(o), n = Sp(o);
18434
- n || t.position !== "fixed" || (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || hp(o) && !n && Bp(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Dp(o);
18437
+ let r = Ap(e, [], !1).filter((e) => pp(e) && lp(e) !== "body"), i = null, a = Ep(e).position === "fixed", o = a ? Op(e) : e;
18438
+ for (; pp(o) && !Tp(o);) {
18439
+ let t = Ep(o), n = Cp(o);
18440
+ n || t.position !== "fixed" || (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || gp(o) && !n && Vp(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Op(o);
18435
18441
  }
18436
18442
  return t.set(e, r), r;
18437
18443
  }
18438
- function Hp(e, t, n) {
18439
- let r = pp(t), i = up(t), a = n === "fixed", o = Ip(e, !0, a, t), s = {
18444
+ function Up(e, t, n) {
18445
+ let r = mp(t), i = dp(t), a = n === "fixed", o = Lp(e, !0, a, t), s = {
18440
18446
  scrollLeft: 0,
18441
18447
  scrollTop: 0
18442
- }, c = zf(0);
18448
+ }, c = Bf(0);
18443
18449
  function l() {
18444
- c.x = Lp(i);
18450
+ c.x = Rp(i);
18445
18451
  }
18446
- if (r || !r && !a) if ((cp(t) !== "body" || hp(i)) && (s = Ep(t)), r) {
18447
- let e = Ip(t, !0, a, t);
18452
+ if (r || !r && !a) if ((lp(t) !== "body" || gp(i)) && (s = Dp(t)), r) {
18453
+ let e = Lp(t, !0, a, t);
18448
18454
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
18449
18455
  } else i && l();
18450
18456
  a && !r && i && l();
18451
- let u = !i || r || a ? zf(0) : Rp(i, s);
18457
+ let u = !i || r || a ? Bf(0) : zp(i, s);
18452
18458
  return {
18453
18459
  x: o.left + s.scrollLeft - c.x - u.x,
18454
18460
  y: o.top + s.scrollTop - c.y - u.y,
@@ -18456,51 +18462,51 @@ function Hp(e, t, n) {
18456
18462
  height: o.height
18457
18463
  };
18458
18464
  }
18459
- function Up(e) {
18460
- return Tp(e).position === "static";
18465
+ function Wp(e) {
18466
+ return Ep(e).position === "static";
18461
18467
  }
18462
- function Wp(e, t) {
18463
- if (!pp(e) || Tp(e).position === "fixed") return null;
18468
+ function Gp(e, t) {
18469
+ if (!mp(e) || Ep(e).position === "fixed") return null;
18464
18470
  if (t) return t(e);
18465
18471
  let n = e.offsetParent;
18466
- return up(e) === n && (n = n.ownerDocument.body), n;
18472
+ return dp(e) === n && (n = n.ownerDocument.body), n;
18467
18473
  }
18468
- function Gp(e, t) {
18469
- let n = lp(e);
18470
- if (_p(e)) return n;
18471
- if (!pp(e)) {
18472
- let t = Dp(e);
18473
- for (; t && !wp(t);) {
18474
- if (fp(t) && !Up(t)) return t;
18475
- t = Dp(t);
18474
+ function Kp(e, t) {
18475
+ let n = up(e);
18476
+ if (vp(e)) return n;
18477
+ if (!mp(e)) {
18478
+ let t = Op(e);
18479
+ for (; t && !Tp(t);) {
18480
+ if (pp(t) && !Wp(t)) return t;
18481
+ t = Op(t);
18476
18482
  }
18477
18483
  return n;
18478
18484
  }
18479
- let r = Wp(e, t);
18480
- for (; r && gp(r) && Up(r);) r = Wp(r, t);
18481
- return r && wp(r) && Up(r) && !Sp(r) ? n : r || function(e) {
18482
- let t = Dp(e);
18483
- for (; pp(t) && !wp(t);) {
18484
- if (Sp(t)) return t;
18485
- if (_p(t)) return null;
18486
- t = Dp(t);
18485
+ let r = Gp(e, t);
18486
+ for (; r && _p(r) && Wp(r);) r = Gp(r, t);
18487
+ return r && Tp(r) && Wp(r) && !Cp(r) ? n : r || function(e) {
18488
+ let t = Op(e);
18489
+ for (; mp(t) && !Tp(t);) {
18490
+ if (Cp(t)) return t;
18491
+ if (vp(t)) return null;
18492
+ t = Op(t);
18487
18493
  }
18488
18494
  return null;
18489
18495
  }(e) || n;
18490
18496
  }
18491
- var Kp = {
18497
+ var qp = {
18492
18498
  convertOffsetParentRelativeRectToViewportRelativeRect: function(e) {
18493
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = up(r), s = !!t && _p(t.floating);
18499
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = dp(r), s = !!t && vp(t.floating);
18494
18500
  if (r === o || s && a) return n;
18495
18501
  let c = {
18496
18502
  scrollLeft: 0,
18497
18503
  scrollTop: 0
18498
- }, l = zf(1), u = zf(0), d = pp(r);
18499
- if ((d || !d && !a) && ((cp(r) !== "body" || hp(o)) && (c = Ep(r)), d)) {
18500
- let e = Ip(r);
18501
- l = Np(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
18504
+ }, l = Bf(1), u = Bf(0), d = mp(r);
18505
+ if ((d || !d && !a) && ((lp(r) !== "body" || gp(o)) && (c = Dp(r)), d)) {
18506
+ let e = Lp(r);
18507
+ l = Pp(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
18502
18508
  }
18503
- let f = !o || d || a ? zf(0) : Rp(o, c);
18509
+ let f = !o || d || a ? Bf(0) : zp(o, c);
18504
18510
  return {
18505
18511
  width: n.width * l.x,
18506
18512
  height: n.height * l.y,
@@ -18508,12 +18514,12 @@ var Kp = {
18508
18514
  y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
18509
18515
  };
18510
18516
  },
18511
- getDocumentElement: up,
18517
+ getDocumentElement: dp,
18512
18518
  getClippingRect: function(e) {
18513
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? _p(t) ? [] : Vp(t, this._c) : [].concat(n), r], o = zp(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
18519
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? vp(t) ? [] : Hp(t, this._c) : [].concat(n), r], o = Bp(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
18514
18520
  for (let e = 1; e < a.length; e++) {
18515
- let n = zp(t, a[e], i);
18516
- s = If(n.top, s), c = Ff(n.right, c), l = Ff(n.bottom, l), u = If(n.left, u);
18521
+ let n = Bp(t, a[e], i);
18522
+ s = Lf(n.top, s), c = If(n.right, c), l = If(n.bottom, l), u = Lf(n.left, u);
18517
18523
  }
18518
18524
  return {
18519
18525
  width: c - u,
@@ -18522,11 +18528,11 @@ var Kp = {
18522
18528
  y: s
18523
18529
  };
18524
18530
  },
18525
- getOffsetParent: Gp,
18531
+ getOffsetParent: Kp,
18526
18532
  getElementRects: async function(e) {
18527
- let t = this.getOffsetParent || Gp, n = this.getDimensions, r = await n(e.floating);
18533
+ let t = this.getOffsetParent || Kp, n = this.getDimensions, r = await n(e.floating);
18528
18534
  return {
18529
- reference: Hp(e.reference, await t(e.floating), e.strategy),
18535
+ reference: Up(e.reference, await t(e.floating), e.strategy),
18530
18536
  floating: {
18531
18537
  x: 0,
18532
18538
  y: 0,
@@ -18539,29 +18545,29 @@ var Kp = {
18539
18545
  return Array.from(e.getClientRects());
18540
18546
  },
18541
18547
  getDimensions: function(e) {
18542
- let { width: t, height: n } = jp(e);
18548
+ let { width: t, height: n } = Mp(e);
18543
18549
  return {
18544
18550
  width: t,
18545
18551
  height: n
18546
18552
  };
18547
18553
  },
18548
- getScale: Np,
18549
- isElement: fp,
18554
+ getScale: Pp,
18555
+ isElement: pp,
18550
18556
  isRTL: function(e) {
18551
- return Tp(e).direction === "rtl";
18557
+ return Ep(e).direction === "rtl";
18552
18558
  }
18553
18559
  };
18554
- function qp(e, t) {
18560
+ function Jp(e, t) {
18555
18561
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
18556
18562
  }
18557
- function Jp(e, t, n, r) {
18563
+ function Yp(e, t, n, r) {
18558
18564
  r === void 0 && (r = {});
18559
- let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Mp(e), u = i || a ? [...l ? kp(l) : [], ...t ? kp(t) : []] : [];
18565
+ let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Np(e), u = i || a ? [...l ? Ap(l) : [], ...t ? Ap(t) : []] : [];
18560
18566
  u.forEach((e) => {
18561
18567
  i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
18562
18568
  });
18563
18569
  let d = l && s ? function(e, t) {
18564
- let n, r = null, i = up(e);
18570
+ let n, r = null, i = dp(e);
18565
18571
  function a() {
18566
18572
  var e;
18567
18573
  clearTimeout(n), (e = r) == null || e.disconnect(), r = null;
@@ -18571,8 +18577,8 @@ function Jp(e, t, n, r) {
18571
18577
  let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
18572
18578
  if (s || t(), !f || !p) return;
18573
18579
  let m = {
18574
- rootMargin: -Rf(d) + "px " + -Rf(i.clientWidth - (u + f)) + "px " + -Rf(i.clientHeight - (d + p)) + "px " + -Rf(u) + "px",
18575
- threshold: If(0, Ff(1, c)) || 1
18580
+ rootMargin: -zf(d) + "px " + -zf(i.clientWidth - (u + f)) + "px " + -zf(i.clientHeight - (d + p)) + "px " + -zf(u) + "px",
18581
+ threshold: Lf(0, If(1, c)) || 1
18576
18582
  }, h = !0;
18577
18583
  function g(t) {
18578
18584
  let r = t[0].intersectionRatio;
@@ -18582,7 +18588,7 @@ function Jp(e, t, n, r) {
18582
18588
  o(!1, 1e-7);
18583
18589
  }, 1e3);
18584
18590
  }
18585
- r !== 1 || qp(l, e.getBoundingClientRect()) || o(), h = !1;
18591
+ r !== 1 || Jp(l, e.getBoundingClientRect()) || o(), h = !1;
18586
18592
  }
18587
18593
  try {
18588
18594
  r = new IntersectionObserver(g, {
@@ -18602,10 +18608,10 @@ function Jp(e, t, n, r) {
18602
18608
  (e = m) == null || e.observe(t);
18603
18609
  })), n();
18604
18610
  }), l && !c && m.observe(l), t && m.observe(t));
18605
- let h = c ? Ip(e) : null;
18611
+ let h = c ? Lp(e) : null;
18606
18612
  return c && function t() {
18607
- let r = Ip(e);
18608
- h && !qp(h, r) && n(), h = r, f = requestAnimationFrame(t);
18613
+ let r = Lp(e);
18614
+ h && !Jp(h, r) && n(), h = r, f = requestAnimationFrame(t);
18609
18615
  }(), n(), () => {
18610
18616
  var e;
18611
18617
  u.forEach((e) => {
@@ -18613,14 +18619,14 @@ function Jp(e, t, n, r) {
18613
18619
  }), d?.(), (e = m) == null || e.disconnect(), m = null, c && cancelAnimationFrame(f);
18614
18620
  };
18615
18621
  }
18616
- var Yp = function(e) {
18622
+ var Xp = function(e) {
18617
18623
  return e === void 0 && (e = 0), {
18618
18624
  name: "offset",
18619
18625
  options: e,
18620
18626
  async fn(t) {
18621
18627
  var n;
18622
18628
  let { x: r, y: i, placement: a, middlewareData: o } = t, s = await async function(e, t) {
18623
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Uf(n), s = Wf(n), c = qf(n) === "y", l = op.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Hf(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
18629
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Wf(n), s = Gf(n), c = Jf(n) === "y", l = sp.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Uf(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
18624
18630
  mainAxis: d,
18625
18631
  crossAxis: 0,
18626
18632
  alignmentAxis: null
@@ -18647,7 +18653,7 @@ var Yp = function(e) {
18647
18653
  };
18648
18654
  }
18649
18655
  };
18650
- }, Xp = function(e) {
18656
+ }, Zp = function(e) {
18651
18657
  return e === void 0 && (e = {}), {
18652
18658
  name: "shift",
18653
18659
  options: e,
@@ -18658,17 +18664,17 @@ var Yp = function(e) {
18658
18664
  x: t,
18659
18665
  y: n
18660
18666
  };
18661
- } }, ...l } = Hf(e, t), u = {
18667
+ } }, ...l } = Uf(e, t), u = {
18662
18668
  x: n,
18663
18669
  y: r
18664
- }, d = await a.detectOverflow(t, l), f = qf(Uf(i)), p = Gf(f), m = u[p], h = u[f];
18670
+ }, d = await a.detectOverflow(t, l), f = Jf(Wf(i)), p = Kf(f), m = u[p], h = u[f];
18665
18671
  if (o) {
18666
18672
  let e = p === "y" ? "bottom" : "right";
18667
- m = Vf(m + d[p === "y" ? "top" : "left"], m, m - d[e]);
18673
+ m = Hf(m + d[p === "y" ? "top" : "left"], m, m - d[e]);
18668
18674
  }
18669
18675
  if (s) {
18670
18676
  let e = f === "y" ? "bottom" : "right";
18671
- h = Vf(h + d[f === "y" ? "top" : "left"], h, h - d[e]);
18677
+ h = Hf(h + d[f === "y" ? "top" : "left"], h, h - d[e]);
18672
18678
  }
18673
18679
  let g = c.fn({
18674
18680
  ...t,
@@ -18688,29 +18694,29 @@ var Yp = function(e) {
18688
18694
  };
18689
18695
  }
18690
18696
  };
18691
- }, Zp = function(e) {
18697
+ }, Qp = function(e) {
18692
18698
  return e === void 0 && (e = {}), {
18693
18699
  name: "flip",
18694
18700
  options: e,
18695
18701
  async fn(t) {
18696
18702
  var n;
18697
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Hf(e, t);
18703
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Uf(e, t);
18698
18704
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
18699
- let g = Uf(r), ee = qf(o), _ = Uf(o) === o, v = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), te = d || (_ || !m ? [tp(o)] : function(e) {
18700
- let t = tp(e);
18705
+ let g = Wf(r), ee = Jf(o), _ = Wf(o) === o, v = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), te = d || (_ || !m ? [np(o)] : function(e) {
18706
+ let t = np(e);
18701
18707
  return [
18702
- Yf(e),
18708
+ Xf(e),
18703
18709
  t,
18704
- Yf(t)
18710
+ Xf(t)
18705
18711
  ];
18706
18712
  }(o)), y = p !== "none";
18707
- !d && y && te.push(...ep(o, m, p, v));
18713
+ !d && y && te.push(...tp(o, m, p, v));
18708
18714
  let ne = [o, ...te], b = await s.detectOverflow(t, h), x = [], re = i.flip?.overflows || [];
18709
18715
  if (l && x.push(b[g]), u) {
18710
18716
  let e = function(e, t, n) {
18711
18717
  n === void 0 && (n = !1);
18712
- let r = Wf(e), i = Jf(e), a = Kf(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
18713
- return t.reference[a] > t.floating[a] && (o = tp(o)), [o, tp(o)];
18718
+ let r = Gf(e), i = Yf(e), a = qf(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
18719
+ return t.reference[a] > t.floating[a] && (o = np(o)), [o, np(o)];
18714
18720
  }(r, a, v);
18715
18721
  x.push(b[e[0]], b[e[1]]);
18716
18722
  }
@@ -18719,7 +18725,7 @@ var Yp = function(e) {
18719
18725
  overflows: x
18720
18726
  }], !x.every((e) => e <= 0)) {
18721
18727
  let e = (i.flip?.index || 0) + 1, t = ne[e];
18722
- if (t && (u !== "alignment" || ee === qf(t) || re.every((e) => qf(e.placement) !== ee || e.overflows[0] > 0))) return {
18728
+ if (t && (u !== "alignment" || ee === Jf(t) || re.every((e) => Jf(e.placement) !== ee || e.overflows[0] > 0))) return {
18723
18729
  data: {
18724
18730
  index: e,
18725
18731
  overflows: re
@@ -18731,7 +18737,7 @@ var Yp = function(e) {
18731
18737
  case "bestFit": {
18732
18738
  let e = re.filter((e) => {
18733
18739
  if (y) {
18734
- let t = qf(e.placement);
18740
+ let t = Jf(e.placement);
18735
18741
  return t === ee || t === "y";
18736
18742
  }
18737
18743
  return !0;
@@ -18746,18 +18752,18 @@ var Yp = function(e) {
18746
18752
  return {};
18747
18753
  }
18748
18754
  };
18749
- }, Qp = function(e) {
18755
+ }, $p = function(e) {
18750
18756
  return e === void 0 && (e = {}), {
18751
18757
  name: "size",
18752
18758
  options: e,
18753
18759
  async fn(t) {
18754
18760
  var n, r;
18755
- let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = Hf(e, t), u = await o.detectOverflow(t, l), d = Uf(i), f = Wf(i), p = qf(i) === "y", { width: m, height: h } = a.floating, g, ee;
18761
+ let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = Uf(e, t), u = await o.detectOverflow(t, l), d = Wf(i), f = Gf(i), p = Jf(i) === "y", { width: m, height: h } = a.floating, g, ee;
18756
18762
  d === "top" || d === "bottom" ? (g = d, ee = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (ee = d, g = f === "end" ? "top" : "bottom");
18757
- let _ = h - u.top - u.bottom, v = m - u.left - u.right, te = Ff(h - u[g], _), y = Ff(m - u[ee], v), ne = !t.middlewareData.shift, b = te, x = y;
18763
+ let _ = h - u.top - u.bottom, v = m - u.left - u.right, te = If(h - u[g], _), y = If(m - u[ee], v), ne = !t.middlewareData.shift, b = te, x = y;
18758
18764
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (x = v), (r = t.middlewareData.shift) != null && r.enabled.y && (b = _), ne && !f) {
18759
- let e = If(u.left, 0), t = If(u.right, 0), n = If(u.top, 0), r = If(u.bottom, 0);
18760
- p ? x = m - 2 * (e !== 0 || t !== 0 ? e + t : If(u.left, u.right)) : b = h - 2 * (n !== 0 || r !== 0 ? n + r : If(u.top, u.bottom));
18765
+ let e = Lf(u.left, 0), t = Lf(u.right, 0), n = Lf(u.top, 0), r = Lf(u.bottom, 0);
18766
+ p ? x = m - 2 * (e !== 0 || t !== 0 ? e + t : Lf(u.left, u.right)) : b = h - 2 * (n !== 0 || r !== 0 ? n + r : Lf(u.top, u.bottom));
18761
18767
  }
18762
18768
  await c({
18763
18769
  ...t,
@@ -18768,18 +18774,18 @@ var Yp = function(e) {
18768
18774
  return m !== re.width || h !== re.height ? { reset: { rects: !0 } } : {};
18769
18775
  }
18770
18776
  };
18771
- }, $p = (e) => ({
18777
+ }, em = (e) => ({
18772
18778
  name: "arrow",
18773
18779
  options: e,
18774
18780
  async fn(t) {
18775
- let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = Hf(e, t) || {};
18781
+ let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = Uf(e, t) || {};
18776
18782
  if (l == null) return {};
18777
- let d = np(u), f = {
18783
+ let d = rp(u), f = {
18778
18784
  x: n,
18779
18785
  y: r
18780
- }, p = Jf(i), m = Kf(p), h = await o.getDimensions(l), g = p === "y", ee = g ? "top" : "left", _ = g ? "bottom" : "right", v = g ? "clientHeight" : "clientWidth", te = a.reference[m] + a.reference[p] - f[p] - a.floating[m], y = f[p] - a.reference[p], ne = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), b = ne ? ne[v] : 0;
18786
+ }, p = Yf(i), m = qf(p), h = await o.getDimensions(l), g = p === "y", ee = g ? "top" : "left", _ = g ? "bottom" : "right", v = g ? "clientHeight" : "clientWidth", te = a.reference[m] + a.reference[p] - f[p] - a.floating[m], y = f[p] - a.reference[p], ne = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), b = ne ? ne[v] : 0;
18781
18787
  b && await (o.isElement == null ? void 0 : o.isElement(ne)) || (b = s.floating[v] || a.floating[m]);
18782
- let x = te / 2 - y / 2, re = b / 2 - h[m] / 2 - 1, ie = Ff(d[ee], re), ae = Ff(d[_], re), oe = ie, se = b - h[m] - ae, ce = b / 2 - h[m] / 2 + x, le = Vf(oe, ce, se), ue = !c.arrow && Wf(i) != null && ce !== le && a.reference[m] / 2 - (ce < oe ? ie : ae) - h[m] / 2 < 0, de = ue ? ce < oe ? ce - oe : ce - se : 0;
18788
+ let x = te / 2 - y / 2, re = b / 2 - h[m] / 2 - 1, ie = If(d[ee], re), ae = If(d[_], re), oe = ie, se = b - h[m] - ae, ce = b / 2 - h[m] / 2 + x, le = Hf(oe, ce, se), ue = !c.arrow && Gf(i) != null && ce !== le && a.reference[m] / 2 - (ce < oe ? ie : ae) - h[m] / 2 < 0, de = ue ? ce < oe ? ce - oe : ce - se : 0;
18783
18789
  return {
18784
18790
  [p]: f[p] + de,
18785
18791
  data: {
@@ -18790,9 +18796,9 @@ var Yp = function(e) {
18790
18796
  reset: ue
18791
18797
  };
18792
18798
  }
18793
- }), em = (e, t, n) => {
18799
+ }), tm = (e, t, n) => {
18794
18800
  let r = /* @__PURE__ */ new Map(), i = {
18795
- platform: Kp,
18801
+ platform: qp,
18796
18802
  ...n
18797
18803
  }, a = {
18798
18804
  ...i.platform,
@@ -18801,12 +18807,12 @@ var Yp = function(e) {
18801
18807
  return (async (e, t, n) => {
18802
18808
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
18803
18809
  ...o,
18804
- detectOverflow: ap
18810
+ detectOverflow: op
18805
18811
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
18806
18812
  reference: e,
18807
18813
  floating: t,
18808
18814
  strategy: i
18809
- }), { x: u, y: d } = ip(l, r, c), f = r, p = 0, m = {};
18815
+ }), { x: u, y: d } = ap(l, r, c), f = r, p = 0, m = {};
18810
18816
  for (let n = 0; n < a.length; n++) {
18811
18817
  let h = a[n];
18812
18818
  if (!h) continue;
@@ -18831,7 +18837,7 @@ var Yp = function(e) {
18831
18837
  reference: e,
18832
18838
  floating: t,
18833
18839
  strategy: i
18834
- }) : y.rects), {x: u, y: d} = ip(l, f, c)), n = -1);
18840
+ }) : y.rects), {x: u, y: d} = ap(l, f, c)), n = -1);
18835
18841
  }
18836
18842
  return {
18837
18843
  x: u,
@@ -18844,7 +18850,7 @@ var Yp = function(e) {
18844
18850
  ...i,
18845
18851
  platform: a
18846
18852
  });
18847
- }, tm = class extends K {
18853
+ }, nm = class extends K {
18848
18854
  constructor(...e) {
18849
18855
  super(...e), this.open = !1, this.placement = "bottom-start", this.distance = 8, this.portal = null, this.portalSubscriptions = [];
18850
18856
  }
@@ -18874,13 +18880,13 @@ var Yp = function(e) {
18874
18880
  super.updated(e), e.has("open") && (this.open ? this.setupPositioner() : (this.cleanupPositioner?.(), this.portal && (this.portal.style.display = "none", this.portal.innerHTML = "", this.portalSubscriptions.forEach((e) => e.unsubscribe()), this.portalSubscriptions = [])));
18875
18881
  }
18876
18882
  setupPositioner() {
18877
- this.triggerContainer && this.portal && (this.portal.style.display = "block", this.teleportContentToPortal(), this.cleanupPositioner = Jp(this.triggerContainer, this.portal, () => {
18878
- em(this.triggerContainer, this.portal, {
18883
+ this.triggerContainer && this.portal && (this.portal.style.display = "block", this.teleportContentToPortal(), this.cleanupPositioner = Yp(this.triggerContainer, this.portal, () => {
18884
+ tm(this.triggerContainer, this.portal, {
18879
18885
  placement: this.placement,
18880
18886
  middleware: [
18881
- Yp(this.distance),
18882
- Zp({ fallbackPlacements: ["top-start", "bottom-start"] }),
18883
- Xp({ padding: 0 })
18887
+ Xp(this.distance),
18888
+ Qp({ fallbackPlacements: ["top-start", "bottom-start"] }),
18889
+ Zp({ padding: 0 })
18884
18890
  ]
18885
18891
  }).then(({ x: e, y: t }) => {
18886
18892
  Object.assign(this.portal.style, {
@@ -18925,11 +18931,11 @@ var Yp = function(e) {
18925
18931
  V([W({
18926
18932
  type: Boolean,
18927
18933
  reflect: !0
18928
- })], tm.prototype, "open", void 0), V([W({ type: String })], tm.prototype, "placement", void 0), V([W({ type: Number })], tm.prototype, "distance", void 0), V([zr(".trigger-container")], tm.prototype, "triggerContainer", void 0), V([zr(".dropdown-content-container")], tm.prototype, "contentContainer", void 0), V([Br({ flatten: !0 })], tm.prototype, "contentElements", void 0), V([G()], tm.prototype, "portal", void 0), V([Br({
18934
+ })], nm.prototype, "open", void 0), V([W({ type: String })], nm.prototype, "placement", void 0), V([W({ type: Number })], nm.prototype, "distance", void 0), V([zr(".trigger-container")], nm.prototype, "triggerContainer", void 0), V([zr(".dropdown-content-container")], nm.prototype, "contentContainer", void 0), V([Br({ flatten: !0 })], nm.prototype, "contentElements", void 0), V([G()], nm.prototype, "portal", void 0), V([Br({
18929
18935
  slot: "trigger",
18930
18936
  flatten: !0
18931
- })], tm.prototype, "triggerElements", void 0), tm = V([H("schmancy-dropdown")], tm);
18932
- var nm = class extends K {
18937
+ })], nm.prototype, "triggerElements", void 0), nm = V([H("schmancy-dropdown")], nm);
18938
+ var rm = class extends K {
18933
18939
  constructor(...e) {
18934
18940
  super(...e), this.width = "auto", this.maxHeight = "80vh", this.shadow = !0, this.radius = "md";
18935
18941
  }
@@ -18999,8 +19005,8 @@ var nm = class extends K {
18999
19005
  `;
19000
19006
  }
19001
19007
  };
19002
- V([W({ type: String })], nm.prototype, "width", void 0), V([W({ type: String })], nm.prototype, "maxHeight", void 0), V([W({ type: Boolean })], nm.prototype, "shadow", void 0), V([W({ type: String })], nm.prototype, "radius", void 0), nm = V([H("schmancy-dropdown-content")], nm);
19003
- var rm = "surface", im = class extends da(K) {
19008
+ V([W({ type: String })], rm.prototype, "width", void 0), V([W({ type: String })], rm.prototype, "maxHeight", void 0), V([W({ type: Boolean })], rm.prototype, "shadow", void 0), V([W({ type: String })], rm.prototype, "radius", void 0), rm = V([H("schmancy-dropdown-content")], rm);
19009
+ var im = "surface", am = class extends da(K) {
19004
19010
  constructor(...e) {
19005
19011
  super(...e), this.type = "containerLow";
19006
19012
  }
@@ -19017,8 +19023,8 @@ var rm = "surface", im = class extends da(K) {
19017
19023
  return L`<slot></slot>`;
19018
19024
  }
19019
19025
  };
19020
- V([dr({ context: rm }), W({ reflect: !0 })], im.prototype, "type", void 0), im = V([H("schmancy-surface")], im);
19021
- var am = class extends da(K) {
19026
+ V([dr({ context: im }), W({ reflect: !0 })], am.prototype, "type", void 0), am = V([H("schmancy-surface")], am);
19027
+ var om = class extends da(K) {
19022
19028
  constructor(...e) {
19023
19029
  super(...e), this.type = "containerLowest", this.isOpen = !1, this.summaryRect = null, this.panelRef = Fs(), this.backdropRef = Fs(), this.btnRef = Fs(), this.owner = null, this.hideIndicator = !1, this.backdrop = !0;
19024
19030
  }
@@ -19191,8 +19197,8 @@ var am = class extends da(K) {
19191
19197
  ` : z;
19192
19198
  }
19193
19199
  };
19194
- V([W({ reflect: !0 })], am.prototype, "type", void 0), V([G()], am.prototype, "isOpen", void 0), am = V([H("schmancy-expand-root")], am);
19195
- var om = "schmancy-expand-request-close", sm = class extends K {
19200
+ V([W({ reflect: !0 })], om.prototype, "type", void 0), V([G()], om.prototype, "isOpen", void 0), om = V([H("schmancy-expand-root")], om);
19201
+ var sm = "schmancy-expand-request-close", cm = class extends K {
19196
19202
  constructor(...e) {
19197
19203
  super(...e), this.summary = "", this.open = !1, this.summaryPadding = "", this.contentPadding = "", this.hideIndicator = !1, this.indicatorRotate = 90, this.backdrop = !0, this.inline = !1, this.summaryRef = Fs(), this.contentSlotRef = Fs(), this.root = null, this.movedNodes = [];
19198
19204
  }
@@ -19258,7 +19264,7 @@ var om = "schmancy-expand-request-close", sm = class extends K {
19258
19264
  });
19259
19265
  });
19260
19266
  }(this.discover("schmancy-theme")) ?? document.querySelector("schmancy-theme") ?? document.body, t = e.querySelector("schmancy-expand-root");
19261
- return t || (t = new am(), e.appendChild(t)), t;
19267
+ return t || (t = new om(), e.appendChild(t)), t;
19262
19268
  }
19263
19269
  close() {
19264
19270
  this.handleClose();
@@ -19357,17 +19363,17 @@ var om = "schmancy-expand-request-close", sm = class extends K {
19357
19363
  `;
19358
19364
  }
19359
19365
  };
19360
- V([W()], sm.prototype, "summary", void 0), V([W({
19366
+ V([W()], cm.prototype, "summary", void 0), V([W({
19361
19367
  type: Boolean,
19362
19368
  reflect: !0
19363
- })], sm.prototype, "open", void 0), V([W({ attribute: "summary-padding" })], sm.prototype, "summaryPadding", void 0), V([W({ attribute: "content-padding" })], sm.prototype, "contentPadding", void 0), V([W({
19369
+ })], cm.prototype, "open", void 0), V([W({ attribute: "summary-padding" })], cm.prototype, "summaryPadding", void 0), V([W({ attribute: "content-padding" })], cm.prototype, "contentPadding", void 0), V([W({
19364
19370
  type: Boolean,
19365
19371
  attribute: "hide-indicator"
19366
- })], sm.prototype, "hideIndicator", void 0), V([W({
19372
+ })], cm.prototype, "hideIndicator", void 0), V([W({
19367
19373
  type: Number,
19368
19374
  attribute: "indicator-rotate"
19369
- })], sm.prototype, "indicatorRotate", void 0), V([W({ type: Boolean })], sm.prototype, "backdrop", void 0), V([W({ type: Boolean })], sm.prototype, "inline", void 0), sm = V([H("schmancy-expand")], sm);
19370
- var cm = class extends K {
19375
+ })], cm.prototype, "indicatorRotate", void 0), V([W({ type: Boolean })], cm.prototype, "backdrop", void 0), V([W({ type: Boolean })], cm.prototype, "inline", void 0), cm = V([H("schmancy-expand")], cm);
19376
+ var lm = class extends K {
19371
19377
  constructor(...e) {
19372
19378
  super(...e), this.variant = "surface", this.size = "medium", this.label = "", this.extended = !1, this.lowered = !1;
19373
19379
  }
@@ -19498,24 +19504,24 @@ var cm = class extends K {
19498
19504
  `;
19499
19505
  }
19500
19506
  };
19501
- V([zr("[part=\"base\"]", !0)], cm.prototype, "nativeElement", void 0), V([W({
19507
+ V([zr("[part=\"base\"]", !0)], lm.prototype, "nativeElement", void 0), V([W({
19502
19508
  reflect: !0,
19503
19509
  type: String
19504
- })], cm.prototype, "variant", void 0), V([W({
19510
+ })], lm.prototype, "variant", void 0), V([W({
19505
19511
  reflect: !0,
19506
19512
  type: String
19507
- })], cm.prototype, "size", void 0), V([W({ type: String })], cm.prototype, "label", void 0), V([W({
19513
+ })], lm.prototype, "size", void 0), V([W({ type: String })], lm.prototype, "label", void 0), V([W({
19508
19514
  type: Boolean,
19509
19515
  reflect: !0
19510
- })], cm.prototype, "extended", void 0), V([W({
19516
+ })], lm.prototype, "extended", void 0), V([W({
19511
19517
  type: Boolean,
19512
19518
  reflect: !0
19513
- })], cm.prototype, "lowered", void 0), V([W({ attribute: "aria-label" })], cm.prototype, "ariaLabel", null), cm = V([H("schmancy-fab")], cm);
19514
- var lm = "schmancy-window-", um = "schmancy-float-";
19515
- function dm(e, t) {
19519
+ })], lm.prototype, "lowered", void 0), V([W({ attribute: "aria-label" })], lm.prototype, "ariaLabel", null), lm = V([H("schmancy-fab")], lm);
19520
+ var um = "schmancy-window-", dm = "schmancy-float-";
19521
+ function fm(e, t) {
19516
19522
  return !(e.left >= t.left + t.width || e.left + e.width <= t.left || e.top >= t.top + t.height || e.top + e.height <= t.top);
19517
19523
  }
19518
- var fm, pm = class e {
19524
+ var pm, mm = class e {
19519
19525
  #e;
19520
19526
  constructor() {
19521
19527
  this.#e = new T({
@@ -19593,7 +19599,7 @@ var fm, pm = class e {
19593
19599
  }
19594
19600
  findOverlaps(e, t) {
19595
19601
  let n = [];
19596
- for (let [r, i] of this.#e.value.windows) r !== t && dm(e, i.bounds) && n.push(i);
19602
+ for (let [r, i] of this.#e.value.windows) r !== t && fm(e, i.bounds) && n.push(i);
19597
19603
  return n;
19598
19604
  }
19599
19605
  getNeighbors(e) {
@@ -19609,7 +19615,7 @@ var fm, pm = class e {
19609
19615
  }
19610
19616
  loadPosition(e) {
19611
19617
  try {
19612
- let t = localStorage.getItem(lm + e) ?? localStorage.getItem(um + e);
19618
+ let t = localStorage.getItem(um + e) ?? localStorage.getItem(dm + e);
19613
19619
  return t ? JSON.parse(t) : null;
19614
19620
  } catch {
19615
19621
  return null;
@@ -19617,12 +19623,12 @@ var fm, pm = class e {
19617
19623
  }
19618
19624
  savePosition(e, t) {
19619
19625
  try {
19620
- localStorage.setItem(lm + e, JSON.stringify(t));
19626
+ localStorage.setItem(um + e, JSON.stringify(t));
19621
19627
  } catch {}
19622
19628
  }
19623
19629
  clearPosition(e) {
19624
19630
  try {
19625
- localStorage.removeItem(lm + e), localStorage.removeItem(um + e);
19631
+ localStorage.removeItem(um + e), localStorage.removeItem(dm + e);
19626
19632
  } catch {}
19627
19633
  }
19628
19634
  updateRecord(e, t) {
@@ -19638,12 +19644,12 @@ var fm, pm = class e {
19638
19644
  });
19639
19645
  }
19640
19646
  }.getInstance();
19641
- function mm(e, t) {
19647
+ function hm(e, t) {
19642
19648
  return !(e.left >= t.left + t.width || e.left + e.width <= t.left || e.top >= t.top + t.height || e.top + e.height <= t.top);
19643
19649
  }
19644
- function hm(e, t, n) {
19650
+ function gm(e, t, n) {
19645
19651
  let r = { ...e };
19646
- for (let e = 0; e < 10 && t.some((e) => mm(r, e.bounds)); e++) r.left += 44, r.top += 44;
19652
+ for (let e = 0; e < 10 && t.some((e) => hm(r, e.bounds)); e++) r.left += 44, r.top += 44;
19647
19653
  return function(e, t) {
19648
19654
  return {
19649
19655
  width: e.width,
@@ -19653,15 +19659,15 @@ function hm(e, t, n) {
19653
19659
  };
19654
19660
  }(r, n);
19655
19661
  }
19656
- var gm = 48, _m = class extends K {
19662
+ var _m = 48, vm = class extends K {
19657
19663
  static {
19658
- fm = this;
19664
+ pm = this;
19659
19665
  }
19660
19666
  constructor(...e) {
19661
19667
  super(...e), this.id = "default", this.lowered = !1, this.corner = "bottom-right", this.resizable = !1, this.freePosition = !1, this.visualState = "normal", this.minWidth = 280, this.minHeight = 200, this.open = !1, this.hasOpened = !1, this.position = {
19662
19668
  x: 16,
19663
19669
  y: 16
19664
- }, this.currentCorner = "bottom-right", this.appliedCorner = "", this.containerRef = Fs(), this.bodyRef = Fs(), this.headRef = Fs(), this.handleFocus = () => pm.focus(this.id), this.handleHeadKeydown = (e) => {
19670
+ }, this.currentCorner = "bottom-right", this.appliedCorner = "", this.containerRef = Fs(), this.bodyRef = Fs(), this.headRef = Fs(), this.handleFocus = () => mm.focus(this.id), this.handleHeadKeydown = (e) => {
19665
19671
  if (e.key === "Enter" || e.key === " ") return e.preventDefault(), void this.toggle();
19666
19672
  if (e.key === "ArrowUp" || e.key === "ArrowDown" || e.key === "ArrowLeft" || e.key === "ArrowRight") {
19667
19673
  e.preventDefault();
@@ -19713,14 +19719,14 @@ var gm = 48, _m = class extends K {
19713
19719
  ]);
19714
19720
  }
19715
19721
  loadPosition() {
19716
- let e = pm.loadPosition(this.id);
19722
+ let e = mm.loadPosition(this.id);
19717
19723
  e && (this.position = {
19718
19724
  x: e.x,
19719
19725
  y: e.y
19720
- }, fm.VALID_CORNERS.has(e.anchor) && (this.currentCorner = e.anchor));
19726
+ }, pm.VALID_CORNERS.has(e.anchor) && (this.currentCorner = e.anchor));
19721
19727
  }
19722
19728
  savePosition() {
19723
- pm.savePosition(this.id, {
19729
+ mm.savePosition(this.id, {
19724
19730
  ...this.position,
19725
19731
  anchor: this.currentCorner
19726
19732
  });
@@ -19740,7 +19746,7 @@ var gm = 48, _m = class extends K {
19740
19746
  if (this.freePosition) {
19741
19747
  this.savePosition();
19742
19748
  let e = this.containerRef.value?.getBoundingClientRect();
19743
- e && pm.updateBounds(this.id, {
19749
+ e && mm.updateBounds(this.id, {
19744
19750
  left: e.left,
19745
19751
  top: e.top,
19746
19752
  width: e.width,
@@ -19757,7 +19763,7 @@ var gm = 48, _m = class extends K {
19757
19763
  }, this.applyContainerPosition(), this.open || (t.style.clipPath = this.closedClipPath), e || Uc.value) {
19758
19764
  this.savePosition();
19759
19765
  let e = t.getBoundingClientRect();
19760
- pm.updateBounds(this.id, {
19766
+ mm.updateBounds(this.id, {
19761
19767
  left: e.left,
19762
19768
  top: e.top,
19763
19769
  width: e.width,
@@ -19775,7 +19781,7 @@ var gm = 48, _m = class extends K {
19775
19781
  }).finished).pipe(M(1), I(() => {
19776
19782
  t.isConnected && (t.style.translate = "");
19777
19783
  let e = t.getBoundingClientRect();
19778
- pm.updateBounds(this.id, {
19784
+ mm.updateBounds(this.id, {
19779
19785
  left: e.left,
19780
19786
  top: e.top,
19781
19787
  width: e.width,
@@ -19824,7 +19830,7 @@ var gm = 48, _m = class extends K {
19824
19830
  e && (e.inert = !0, e.style.visibility = "hidden");
19825
19831
  }
19826
19832
  if (!n) return;
19827
- let h = Math.max(0, Math.min(d - i, s - o.width)), g = l ? gm - o.height : 0, ee = l ? c - o.height : c - gm, _ = Math.max(g, Math.min(f - a, ee));
19833
+ let h = Math.max(0, Math.min(d - i, s - o.width)), g = l ? _m - o.height : 0, ee = l ? c - o.height : c - _m, _ = Math.max(g, Math.min(f - a, ee));
19828
19834
  this.position = {
19829
19835
  x: this.currentCorner.includes("right") ? s - h - o.width : h,
19830
19836
  y: l ? c - _ - o.height : _
@@ -19847,16 +19853,16 @@ var gm = 48, _m = class extends K {
19847
19853
  width: t.width,
19848
19854
  height: t.height
19849
19855
  };
19850
- pm.register(this.id, n, this.freePosition ? "free" : this.currentCorner);
19856
+ mm.register(this.id, n, this.freePosition ? "free" : this.currentCorner);
19851
19857
  }
19852
- }), P(() => A(this.drag$(), pm.selectWindow(this.id).pipe(I((e) => {
19858
+ }), P(() => A(this.drag$(), mm.selectWindow(this.id).pipe(I((e) => {
19853
19859
  if (!e) return;
19854
19860
  let t = this.containerRef.value;
19855
19861
  t && (t.style.zIndex = String(e.zIndex));
19856
19862
  })))), F(this.disconnecting)).subscribe(), A(O(window, "resize").pipe(Ht(0, Ue), I(() => this.validateBounds())), sl.bottomOffset$.pipe(I(() => this.applyContainerPosition()))).pipe(F(this.disconnecting)).subscribe();
19857
19863
  }
19858
19864
  disconnectedCallback() {
19859
- super.disconnectedCallback(), pm.unregister(this.id);
19865
+ super.disconnectedCallback(), mm.unregister(this.id);
19860
19866
  }
19861
19867
  initDOMState() {
19862
19868
  let e = this.containerRef.value, t = this.bodyRef.value;
@@ -19871,9 +19877,9 @@ var gm = 48, _m = class extends K {
19871
19877
  top: this.isBottomCorner ? n.top - 400 : n.top,
19872
19878
  width: n.width,
19873
19879
  height: 448
19874
- }, i = pm.findOverlaps(r, this.id);
19880
+ }, i = mm.findOverlaps(r, this.id);
19875
19881
  if (i.length > 0) {
19876
- let e = hm(r, i, {
19882
+ let e = gm(r, i, {
19877
19883
  width: window.innerWidth,
19878
19884
  height: window.innerHeight
19879
19885
  });
@@ -20034,21 +20040,21 @@ var gm = 48, _m = class extends K {
20034
20040
  `;
20035
20041
  }
20036
20042
  };
20037
- V([W({ type: String })], _m.prototype, "id", void 0), V([W({ type: String })], _m.prototype, "expandedWidth", void 0), V([W({ type: String })], _m.prototype, "expandedHeight", void 0), V([W({
20043
+ V([W({ type: String })], vm.prototype, "id", void 0), V([W({ type: String })], vm.prototype, "expandedWidth", void 0), V([W({ type: String })], vm.prototype, "expandedHeight", void 0), V([W({
20038
20044
  type: Boolean,
20039
20045
  reflect: !0
20040
- })], _m.prototype, "lowered", void 0), V([W({ type: String })], _m.prototype, "corner", void 0), V([W({ type: Boolean })], _m.prototype, "resizable", void 0), V([W({ type: Boolean })], _m.prototype, "freePosition", void 0), V([W({
20046
+ })], vm.prototype, "lowered", void 0), V([W({ type: String })], vm.prototype, "corner", void 0), V([W({ type: Boolean })], vm.prototype, "resizable", void 0), V([W({ type: Boolean })], vm.prototype, "freePosition", void 0), V([W({
20041
20047
  type: String,
20042
20048
  reflect: !0
20043
- })], _m.prototype, "visualState", void 0), V([W({ type: Number })], _m.prototype, "minWidth", void 0), V([W({ type: Number })], _m.prototype, "minHeight", void 0), V([W({
20049
+ })], vm.prototype, "visualState", void 0), V([W({ type: Number })], vm.prototype, "minWidth", void 0), V([W({ type: Number })], vm.prototype, "minHeight", void 0), V([W({
20044
20050
  type: Boolean,
20045
20051
  reflect: !0
20046
- })], _m.prototype, "open", void 0), V([G()], _m.prototype, "hasOpened", void 0), V([G()], _m.prototype, "currentCorner", void 0);
20047
- var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm = ym = V([H("schmancy-float")], ym), xm = Ss("schmancy/form-submit").memory({
20052
+ })], vm.prototype, "open", void 0), V([G()], vm.prototype, "hasOpened", void 0), V([G()], vm.prototype, "currentCorner", void 0);
20053
+ var ym = vm = pm = V([H("schmancy-window")], vm), bm = class extends ym {}, xm = bm = V([H("schmancy-float")], bm), Sm = Ss("schmancy/form-submit").memory({
20048
20054
  status: "idle",
20049
20055
  error: null,
20050
20056
  submitCount: 0
20051
- }), Sm = (e) => e instanceof HTMLElement && (e.tagName === "BUTTON" || e.tagName === "SCHMANCY-BUTTON"), Cm = class extends K {
20057
+ }), Cm = (e) => e instanceof HTMLElement && (e.tagName === "BUTTON" || e.tagName === "SCHMANCY-BUTTON"), wm = class extends K {
20052
20058
  constructor(...e) {
20053
20059
  super(...e), this.novalidate = !0, this.fields = /* @__PURE__ */ new Set(), this.submitting = !1, this.liveStatus = "idle", this.liveError = "", this.internals = (() => {
20054
20060
  try {
@@ -20078,8 +20084,8 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20078
20084
  maybeRequestSubmit(e) {
20079
20085
  if (e.type === "click") {
20080
20086
  let t = e.composedPath();
20081
- if (t.find((e) => Sm(e) && e.getAttribute("type") === "reset")) return e.preventDefault(), void (this.shadowRoot?.querySelector("form"))?.reset();
20082
- if (!t.find((e) => Sm(e) && e.getAttribute("type") === "submit")) return;
20087
+ if (t.find((e) => Cm(e) && e.getAttribute("type") === "reset")) return e.preventDefault(), void (this.shadowRoot?.querySelector("form"))?.reset();
20088
+ if (!t.find((e) => Cm(e) && e.getAttribute("type") === "submit")) return;
20083
20089
  e.preventDefault();
20084
20090
  }
20085
20091
  (this.shadowRoot?.querySelector("form"))?.requestSubmit();
@@ -20095,13 +20101,13 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20095
20101
  };
20096
20102
  t();
20097
20103
  })), this.activeFields.forEach((e) => e.markSubmitted());
20098
- let t = this.activeFields.every((e) => e.checkValidity()), n = xm.value;
20099
- if (!t) return xm.set({
20104
+ let t = this.activeFields.every((e) => e.checkValidity()), n = Sm.value;
20105
+ if (!t) return Sm.set({
20100
20106
  ...n,
20101
20107
  status: "error",
20102
20108
  error: { message: "Validation failed" }
20103
20109
  }), this.broadcastStatus("error", "Validation failed. Please correct the highlighted fields."), void this.activeFields.find((e) => e.error)?.focus();
20104
- this.submitting = !0, xm.set({
20110
+ this.submitting = !0, Sm.set({
20105
20111
  ...n,
20106
20112
  status: "submitting",
20107
20113
  error: null,
@@ -20116,15 +20122,15 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20116
20122
  until: (e) => o.push(e)
20117
20123
  } }));
20118
20124
  try {
20119
- await Promise.all(o), xm.set({
20120
- ...xm.value,
20125
+ await Promise.all(o), Sm.set({
20126
+ ...Sm.value,
20121
20127
  status: "success",
20122
20128
  error: null
20123
20129
  }), this.broadcastStatus("success");
20124
20130
  } catch (e) {
20125
20131
  let t = e instanceof Error ? e.message : String(e);
20126
- xm.set({
20127
- ...xm.value,
20132
+ Sm.set({
20133
+ ...Sm.value,
20128
20134
  status: "error",
20129
20135
  error: { message: t }
20130
20136
  }), this.broadcastStatus("error", t);
@@ -20133,7 +20139,7 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20133
20139
  }
20134
20140
  }
20135
20141
  onReset(e) {
20136
- e.stopPropagation(), this.activeFields.forEach((e) => e.resetForm()), xm.set({
20142
+ e.stopPropagation(), this.activeFields.forEach((e) => e.resetForm()), Sm.set({
20137
20143
  status: "idle",
20138
20144
  error: null,
20139
20145
  submitCount: 0
@@ -20152,7 +20158,7 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20152
20158
  n.add(e);
20153
20159
  }
20154
20160
  e === "submitting" ? this.setAttribute("aria-busy", "true") : this.removeAttribute("aria-busy"), this.dispatchEvent(new CustomEvent("formstate", {
20155
- detail: { ...xm.value },
20161
+ detail: { ...Sm.value },
20156
20162
  bubbles: !0,
20157
20163
  composed: !0
20158
20164
  }));
@@ -20162,8 +20168,8 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20162
20168
  return !!n && (n.setCustomValidity(t), n.markSubmitted(), !0);
20163
20169
  }
20164
20170
  setFormError(e, t) {
20165
- xm.set({
20166
- ...xm.value,
20171
+ Sm.set({
20172
+ ...Sm.value,
20167
20173
  status: "error",
20168
20174
  error: {
20169
20175
  message: e,
@@ -20172,8 +20178,8 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20172
20178
  }), this.broadcastStatus("error", e);
20173
20179
  }
20174
20180
  clearSubmitted() {
20175
- this.activeFields.forEach((e) => e.clearSubmitted()), xm.set({
20176
- ...xm.value,
20181
+ this.activeFields.forEach((e) => e.clearSubmitted()), Sm.set({
20182
+ ...Sm.value,
20177
20183
  status: "idle",
20178
20184
  error: null
20179
20185
  }), this.broadcastStatus("idle");
@@ -20198,7 +20204,7 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20198
20204
  }
20199
20205
  render() {
20200
20206
  return L`
20201
- <schmancy-context .provides=${[xm]}>
20207
+ <schmancy-context .provides=${[Sm]}>
20202
20208
  <form ?novalidate=${this.novalidate} @submit=${this.onSubmit} @reset=${this.onReset}>
20203
20209
  <slot></slot>
20204
20210
  </form>
@@ -20217,8 +20223,8 @@ var vm = _m = fm = V([H("schmancy-window")], _m), ym = class extends vm {}, bm =
20217
20223
  `;
20218
20224
  }
20219
20225
  };
20220
- V([W({ attribute: !1 })], Cm.prototype, "schema", void 0), V([W({ type: Boolean })], Cm.prototype, "novalidate", void 0), V([G()], Cm.prototype, "liveStatus", void 0), V([G()], Cm.prototype, "liveError", void 0);
20221
- var wm = Cm = V([H("schmancy-form")], Cm), Tm = class extends K {
20226
+ V([W({ attribute: !1 })], wm.prototype, "schema", void 0), V([W({ type: Boolean })], wm.prototype, "novalidate", void 0), V([G()], wm.prototype, "liveStatus", void 0), V([G()], wm.prototype, "liveError", void 0);
20227
+ var Tm = wm = V([H("schmancy-form")], wm), Em = class extends K {
20222
20228
  constructor(...e) {
20223
20229
  super(...e), this.bump = 0, this.form = null;
20224
20230
  }
@@ -20293,10 +20299,10 @@ var wm = Cm = V([H("schmancy-form")], Cm), Tm = class extends K {
20293
20299
  e.preventDefault(), (this.form?.querySelector(`#${CSS.escape(t)}`))?.focus();
20294
20300
  }
20295
20301
  };
20296
- V([W({ type: String })], Tm.prototype, "heading", void 0), V([G()], Tm.prototype, "bump", void 0), Tm = V([H("schmancy-form-summary")], Tm);
20297
- var Em, Dm = class extends la(yr("/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n:host{width:100%;min-width:calc(var(--spacing,.25rem) * 0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px;transition:box-shadow .3s cubic-bezier(.34,1.56,.64,1),border-color .2s}input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-secondary-default) 20%, transparent)}}input[aria-invalid=true]{box-shadow:0 0 12px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]{box-shadow:0 0 12px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 15%, transparent)}}input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 25%, transparent)}}@media (prefers-reduced-motion:reduce){input{transition:none}}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest) inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}")) {
20302
+ V([W({ type: String })], Em.prototype, "heading", void 0), V([G()], Em.prototype, "bump", void 0), Em = V([H("schmancy-form-summary")], Em);
20303
+ var Dm, Om = class extends la(yr("/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n:host{width:100%;min-width:calc(var(--spacing,.25rem) * 0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px;transition:box-shadow .3s cubic-bezier(.34,1.56,.64,1),border-color .2s}input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-secondary-default) 20%, transparent)}}input[aria-invalid=true]{box-shadow:0 0 12px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]{box-shadow:0 0 12px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 15%, transparent)}}input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 25%, transparent)}}@media (prefers-reduced-motion:reduce){input{transition:none}}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest) inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}")) {
20298
20304
  static {
20299
- Em = this;
20305
+ Dm = this;
20300
20306
  }
20301
20307
  constructor(...e) {
20302
20308
  super(...e), this.value = "", this.type = "text", this.placeholder = "", this.clickable = !1, this.spellcheck = !1, this.align = "left", this.step = "any", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.size = "md", this.inputRef = Fs(), this.isAutofilled = !1;
@@ -20311,7 +20317,7 @@ var Em, Dm = class extends la(yr("/*! tailwindcss v4.3.0 | MIT License | https:/
20311
20317
  };
20312
20318
  }
20313
20319
  willUpdate(e) {
20314
- this.id ||= "sch-input-" + Em.idCounter++, super.willUpdate(e);
20320
+ this.id ||= "sch-input-" + Dm.idCounter++, super.willUpdate(e);
20315
20321
  }
20316
20322
  connectedCallback() {
20317
20323
  super.connectedCallback(), this.setupExternalLabelAssociation();
@@ -20614,34 +20620,34 @@ var Em, Dm = class extends la(yr("/*! tailwindcss v4.3.0 | MIT License | https:/
20614
20620
  V([W({
20615
20621
  type: String,
20616
20622
  reflect: !0
20617
- })], Dm.prototype, "value", void 0), V([W({ reflect: !0 })], Dm.prototype, "type", void 0), V([W()], Dm.prototype, "placeholder", void 0), V([W({
20623
+ })], Om.prototype, "value", void 0), V([W({ reflect: !0 })], Om.prototype, "type", void 0), V([W()], Om.prototype, "placeholder", void 0), V([W({
20618
20624
  type: String,
20619
20625
  reflect: !0
20620
- })], Dm.prototype, "pattern", void 0), V([W({
20626
+ })], Om.prototype, "pattern", void 0), V([W({
20621
20627
  type: Boolean,
20622
20628
  reflect: !0
20623
- })], Dm.prototype, "clickable", void 0), V([W({
20629
+ })], Om.prototype, "clickable", void 0), V([W({
20624
20630
  type: Boolean,
20625
20631
  reflect: !0
20626
- })], Dm.prototype, "spellcheck", void 0), V([W({
20632
+ })], Om.prototype, "spellcheck", void 0), V([W({
20627
20633
  type: String,
20628
20634
  reflect: !0
20629
- })], Dm.prototype, "align", void 0), V([W()], Dm.prototype, "inputmode", void 0), V([W({
20635
+ })], Om.prototype, "align", void 0), V([W()], Om.prototype, "inputmode", void 0), V([W({
20630
20636
  type: Number,
20631
20637
  reflect: !0
20632
- })], Dm.prototype, "minlength", void 0), V([W({ type: Number })], Dm.prototype, "maxlength", void 0), V([W()], Dm.prototype, "min", void 0), V([W()], Dm.prototype, "max", void 0), V([W({ reflect: !0 })], Dm.prototype, "step", void 0), V([W({ type: Boolean })], Dm.prototype, "autofocus", void 0), V([W({
20638
+ })], Om.prototype, "minlength", void 0), V([W({ type: Number })], Om.prototype, "maxlength", void 0), V([W()], Om.prototype, "min", void 0), V([W()], Om.prototype, "max", void 0), V([W({ reflect: !0 })], Om.prototype, "step", void 0), V([W({ type: Boolean })], Om.prototype, "autofocus", void 0), V([W({
20633
20639
  type: String,
20634
20640
  reflect: !0
20635
- })], Dm.prototype, "autocomplete", void 0), V([W({
20641
+ })], Om.prototype, "autocomplete", void 0), V([W({
20636
20642
  type: Number,
20637
20643
  reflect: !0
20638
- })], Dm.prototype, "tabIndex", void 0), V([W({
20644
+ })], Om.prototype, "tabIndex", void 0), V([W({
20639
20645
  type: String,
20640
20646
  reflect: !0
20641
- })], Dm.prototype, "size", void 0), V([W({ type: String })], Dm.prototype, "list", void 0), V([zr("input")], Dm.prototype, "inputElement", void 0), V([G()], Dm.prototype, "isAutofilled", void 0);
20642
- var Om = Dm = Em = V([H("schmancy-input")], Dm), km = class extends Dm {};
20643
- km = V([H("sch-input")], km);
20644
- var Am = class extends ca(K) {
20647
+ })], Om.prototype, "size", void 0), V([W({ type: String })], Om.prototype, "list", void 0), V([zr("input")], Om.prototype, "inputElement", void 0), V([G()], Om.prototype, "isAutofilled", void 0);
20648
+ var km = Om = Dm = V([H("schmancy-input")], Om), Am = class extends Om {};
20649
+ Am = V([H("sch-input")], Am);
20650
+ var jm = class extends ca(K) {
20645
20651
  constructor(...e) {
20646
20652
  super(...e), this.label = "", this.name = "", this.value = "", this.required = !1;
20647
20653
  }
@@ -20670,8 +20676,8 @@ var Am = class extends ca(K) {
20670
20676
  `;
20671
20677
  }
20672
20678
  };
20673
- V([W({ type: String })], Am.prototype, "label", void 0), V([W({ type: String })], Am.prototype, "name", void 0), V([W({ type: String })], Am.prototype, "value", void 0), V([W({ type: Boolean })], Am.prototype, "required", void 0), Am = V([H("schmancy-radio-group")], Am);
20674
- var jm = class extends K {
20679
+ V([W({ type: String })], jm.prototype, "label", void 0), V([W({ type: String })], jm.prototype, "name", void 0), V([W({ type: String })], jm.prototype, "value", void 0), V([W({ type: Boolean })], jm.prototype, "required", void 0), jm = V([H("schmancy-radio-group")], jm);
20680
+ var Mm = class extends K {
20675
20681
  constructor(...e) {
20676
20682
  super(...e), this.value = "", this.checked = !1, this.disabled = !1, this.name = "", this.handleClick = () => {
20677
20683
  this.disabled || this.dispatchEvent(new CustomEvent("radio-button-click", {
@@ -20701,11 +20707,11 @@ var jm = class extends K {
20701
20707
  `;
20702
20708
  }
20703
20709
  };
20704
- V([W({ type: String })], jm.prototype, "value", void 0), V([W({
20710
+ V([W({ type: String })], Mm.prototype, "value", void 0), V([W({
20705
20711
  type: Boolean,
20706
20712
  reflect: !0
20707
- })], jm.prototype, "checked", void 0), V([W({ type: Boolean })], jm.prototype, "disabled", void 0), V([W({ type: String })], jm.prototype, "name", void 0), jm = V([H("schmancy-radio-button")], jm);
20708
- var Mm = class extends la(U`
20713
+ })], Mm.prototype, "checked", void 0), V([W({ type: Boolean })], Mm.prototype, "disabled", void 0), V([W({ type: String })], Mm.prototype, "name", void 0), Mm = V([H("schmancy-radio-button")], Mm);
20714
+ var Nm = class extends la(U`
20709
20715
  input[type='range'] {
20710
20716
  -webkit-appearance: none;
20711
20717
  appearance: none;
@@ -20789,10 +20795,10 @@ var Mm = class extends la(U`
20789
20795
  `;
20790
20796
  }
20791
20797
  };
20792
- V([W({ type: Number })], Mm.prototype, "min", void 0), V([W({ type: Number })], Mm.prototype, "max", void 0), V([W({ type: Number })], Mm.prototype, "step", void 0), V([W({
20798
+ V([W({ type: Number })], Nm.prototype, "min", void 0), V([W({ type: Number })], Nm.prototype, "max", void 0), V([W({ type: Number })], Nm.prototype, "step", void 0), V([W({
20793
20799
  type: Number,
20794
20800
  reflect: !0
20795
- })], Mm.prototype, "value", void 0), Mm = V([H("schmancy-range")], Mm);
20801
+ })], Nm.prototype, "value", void 0), Nm = V([H("schmancy-range")], Nm);
20796
20802
  var Q = {
20797
20803
  sys: {
20798
20804
  color: {
@@ -21067,7 +21073,7 @@ var Q = {
21067
21073
  }
21068
21074
  } },
21069
21075
  locale: typeof navigator < "u" ? navigator.language : "de-DE"
21070
- }, Nm = class extends la() {
21076
+ }, Pm = class extends la() {
21071
21077
  constructor(...e) {
21072
21078
  super(...e), this.placeholder = "", this.multi = !1, this.size = "md", this.isOpen = !1, this.valueLabel = "", this.isValid = !0, this.selectDefaultValue = "", this.options$ = new T([]), this.selectedValue$ = new T(""), this.selectedValues$ = new T([]), this.optionSelect$ = new w(), this.userInteracted = !1, this.focusedOptionId = "", this.handleKeyDown = (e) => {
21073
21079
  if (this.disabled) return;
@@ -21168,15 +21174,15 @@ var Q = {
21168
21174
  }
21169
21175
  async positionDropdown() {
21170
21176
  let e = this.renderRoot.querySelector(".trigger");
21171
- e && this.ul && (this.cleanupPositioner = Jp(e, this.ul, async () => {
21177
+ e && this.ul && (this.cleanupPositioner = Yp(e, this.ul, async () => {
21172
21178
  let t = window.innerHeight, n = e.getBoundingClientRect(), r = t - n.bottom, i = n.top, a = Math.max(.75 * Math.max(r, i), 150), o = r < 200 && i > r;
21173
21179
  this.ul.style.maxHeight = `${a}px`;
21174
- let { x: s, y: c } = await em(e, this.ul, {
21180
+ let { x: s, y: c } = await tm(e, this.ul, {
21175
21181
  placement: o ? "top-start" : "bottom-start",
21176
21182
  middleware: [
21177
- Yp(5),
21178
- Zp(),
21179
- Xp({ padding: 5 })
21183
+ Xp(5),
21184
+ Qp(),
21185
+ Zp({ padding: 5 })
21180
21186
  ]
21181
21187
  });
21182
21188
  Object.assign(this.ul.style, {
@@ -21355,11 +21361,11 @@ var Q = {
21355
21361
  `;
21356
21362
  }
21357
21363
  };
21358
- V([W({ type: String })], Nm.prototype, "placeholder", void 0), V([W({
21364
+ V([W({ type: String })], Pm.prototype, "placeholder", void 0), V([W({
21359
21365
  type: String,
21360
21366
  reflect: !0
21361
- })], Nm.prototype, "value", null), V([W({ type: Array })], Nm.prototype, "values", null), V([W({ type: Boolean })], Nm.prototype, "multi", void 0), V([W({ type: String })], Nm.prototype, "size", void 0), V([G()], Nm.prototype, "isOpen", void 0), V([G()], Nm.prototype, "valueLabel", void 0), V([G()], Nm.prototype, "isValid", void 0), V([G()], Nm.prototype, "selectDefaultValue", void 0), V([zr("ul")], Nm.prototype, "ul", void 0), V([zr("sch-input")], Nm.prototype, "inputRef", void 0), V([Br({ flatten: !0 })], Nm.prototype, "options", void 0), V([G()], Nm.prototype, "userInteracted", void 0), V([G()], Nm.prototype, "focusedOptionId", void 0), Nm = V([H("schmancy-select")], Nm);
21362
- var Pm = class extends la(U`
21367
+ })], Pm.prototype, "value", null), V([W({ type: Array })], Pm.prototype, "values", null), V([W({ type: Boolean })], Pm.prototype, "multi", void 0), V([W({ type: String })], Pm.prototype, "size", void 0), V([G()], Pm.prototype, "isOpen", void 0), V([G()], Pm.prototype, "valueLabel", void 0), V([G()], Pm.prototype, "isValid", void 0), V([G()], Pm.prototype, "selectDefaultValue", void 0), V([zr("ul")], Pm.prototype, "ul", void 0), V([zr("sch-input")], Pm.prototype, "inputRef", void 0), V([Br({ flatten: !0 })], Pm.prototype, "options", void 0), V([G()], Pm.prototype, "userInteracted", void 0), V([G()], Pm.prototype, "focusedOptionId", void 0), Pm = V([H("schmancy-select")], Pm);
21368
+ var Fm = class extends la(U`
21363
21369
  :host {
21364
21370
  display: inline-block;
21365
21371
  }
@@ -21477,11 +21483,11 @@ var Pm = class extends la(U`
21477
21483
  V([W({
21478
21484
  type: String,
21479
21485
  reflect: !0
21480
- })], Pm.prototype, "value", void 0), V([W({
21486
+ })], Fm.prototype, "value", void 0), V([W({
21481
21487
  type: Boolean,
21482
21488
  reflect: !0
21483
- })], Pm.prototype, "checked", void 0), Pm = V([H("schmancy-switch")], Pm);
21484
- var Fm = class extends la(yr(":host{width:-webkit-fill-available;display:block;border:unset!important;line-height:unset!important;background:unset!important;padding:unset!important;font-size:unset!important;box-shadow:unset!important}:host([fillHeight]){flex-direction:column;height:100%;display:flex}:host:focus{box-shadow:unset!important}textarea:focus-visible{outline:none!important}textarea{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;text-indent:inherit;text-shadow:inherit;text-overflow:inherit;text-rendering:inherit;text-size-adjust:inherit;text-align-last:inherit;overflow-y:auto}@keyframes onAutoFillStart{}textarea:-webkit-autofill{animation-name:onAutoFillStart}")) {
21489
+ })], Fm.prototype, "checked", void 0), Fm = V([H("schmancy-switch")], Fm);
21490
+ var Im = class extends la(yr(":host{width:-webkit-fill-available;display:block;border:unset!important;line-height:unset!important;background:unset!important;padding:unset!important;font-size:unset!important;box-shadow:unset!important}:host([fillHeight]){flex-direction:column;height:100%;display:flex}:host:focus{box-shadow:unset!important}textarea:focus-visible{outline:none!important}textarea{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;text-indent:inherit;text-shadow:inherit;text-overflow:inherit;text-rendering:inherit;text-size-adjust:inherit;text-align-last:inherit;overflow-y:auto}@keyframes onAutoFillStart{}textarea:-webkit-autofill{animation-name:onAutoFillStart}")) {
21485
21491
  constructor(...e) {
21486
21492
  super(...e), this.textareaRef = Fs(), this.a11yId = `schmancy-textarea-${Math.random().toString(36).slice(2, 10)}`, this.placeholder = "", this.value = "", this.cols = 20, this.fillHeight = !1, this.autoHeight = !0, this.resize = "vertical", this.wrap = "soft", this.spellcheck = !1, this.align = "left", this.tabIndex = 0;
21487
21493
  }
@@ -21639,23 +21645,23 @@ var Fm = class extends la(yr(":host{width:-webkit-fill-available;display:block;b
21639
21645
  `;
21640
21646
  }
21641
21647
  };
21642
- V([W()], Fm.prototype, "placeholder", void 0), V([W({
21648
+ V([W()], Im.prototype, "placeholder", void 0), V([W({
21643
21649
  type: String,
21644
21650
  reflect: !0
21645
- })], Fm.prototype, "value", void 0), V([W({ type: Number })], Fm.prototype, "minlength", void 0), V([W({ type: Number })], Fm.prototype, "maxlength", void 0), V([W({ type: Number })], Fm.prototype, "cols", void 0), V([W({ type: Number })], Fm.prototype, "rows", void 0), V([W({
21651
+ })], Im.prototype, "value", void 0), V([W({ type: Number })], Im.prototype, "minlength", void 0), V([W({ type: Number })], Im.prototype, "maxlength", void 0), V([W({ type: Number })], Im.prototype, "cols", void 0), V([W({ type: Number })], Im.prototype, "rows", void 0), V([W({
21646
21652
  type: Boolean,
21647
21653
  reflect: !0
21648
- })], Fm.prototype, "fillHeight", void 0), V([W({ type: Boolean })], Fm.prototype, "autoHeight", void 0), V([W({
21654
+ })], Im.prototype, "fillHeight", void 0), V([W({ type: Boolean })], Im.prototype, "autoHeight", void 0), V([W({
21649
21655
  type: String,
21650
21656
  reflect: !0
21651
- })], Fm.prototype, "resize", void 0), V([W({ type: String })], Fm.prototype, "wrap", void 0), V([W({ type: String })], Fm.prototype, "dirname", void 0), V([W({
21657
+ })], Im.prototype, "resize", void 0), V([W({ type: String })], Im.prototype, "wrap", void 0), V([W({ type: String })], Im.prototype, "dirname", void 0), V([W({
21652
21658
  type: Boolean,
21653
21659
  reflect: !0
21654
- })], Fm.prototype, "spellcheck", void 0), V([W({
21660
+ })], Im.prototype, "spellcheck", void 0), V([W({
21655
21661
  type: String,
21656
21662
  reflect: !0
21657
- })], Fm.prototype, "align", void 0), V([W({ type: Boolean })], Fm.prototype, "autofocus", void 0), V([W({ type: Number })], Fm.prototype, "tabIndex", void 0), V([zr("textarea")], Fm.prototype, "textareaElement", void 0), Fm = V([H("schmancy-textarea")], Fm);
21658
- var Im = class extends K {
21663
+ })], Im.prototype, "align", void 0), V([W({ type: Boolean })], Im.prototype, "autofocus", void 0), V([W({ type: Number })], Im.prototype, "tabIndex", void 0), V([zr("textarea")], Im.prototype, "textareaElement", void 0), Im = V([H("schmancy-textarea")], Im);
21664
+ var Lm = class extends K {
21659
21665
  constructor(...e) {
21660
21666
  super(...e), this.name = "";
21661
21667
  }
@@ -21700,8 +21706,8 @@ var Im = class extends K {
21700
21706
  `;
21701
21707
  }
21702
21708
  };
21703
- V([G()], Im.prototype, "name", void 0), Im = V([H("schmancy-icon")], Im);
21704
- var Lm = class extends K {
21709
+ V([G()], Lm.prototype, "name", void 0), Lm = V([H("schmancy-icon")], Lm);
21710
+ var Rm = class extends K {
21705
21711
  constructor(...e) {
21706
21712
  super(...e), this.html = "", this.css = "", this.baseCss = "html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}", this.sandbox = "allow-same-origin allow-popups", this.minHeight = 60, this.height = 60, this.srcdoc = "", this.iframeRef = Fs();
21707
21713
  }
@@ -21744,8 +21750,8 @@ var Lm = class extends K {
21744
21750
  ></iframe>` : L``;
21745
21751
  }
21746
21752
  };
21747
- V([W({ type: String })], Lm.prototype, "html", void 0), V([W({ type: String })], Lm.prototype, "css", void 0), V([W({ type: String })], Lm.prototype, "baseCss", void 0), V([W({ type: String })], Lm.prototype, "sandbox", void 0), V([W({ type: Number })], Lm.prototype, "minHeight", void 0), V([G()], Lm.prototype, "height", void 0);
21748
- var Rm = Lm = V([H("schmancy-iframe")], Lm), zm = class extends $n {
21753
+ V([W({ type: String })], Rm.prototype, "html", void 0), V([W({ type: String })], Rm.prototype, "css", void 0), V([W({ type: String })], Rm.prototype, "baseCss", void 0), V([W({ type: String })], Rm.prototype, "sandbox", void 0), V([W({ type: Number })], Rm.prototype, "minHeight", void 0), V([G()], Rm.prototype, "height", void 0);
21754
+ var zm = Rm = V([H("schmancy-iframe")], Rm), Bm = class extends $n {
21749
21755
  constructor(e) {
21750
21756
  if (super(e), this.it = z, e.type !== Zn) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
21751
21757
  }
@@ -21763,8 +21769,8 @@ var Rm = Lm = V([H("schmancy-iframe")], Lm), zm = class extends $n {
21763
21769
  };
21764
21770
  }
21765
21771
  };
21766
- zm.directiveName = "unsafeHTML", zm.resultType = 1;
21767
- var Bm = B(zm), Vm = class extends K {
21772
+ Bm.directiveName = "unsafeHTML", Bm.resultType = 1;
21773
+ var Vm = B(Bm), Hm = class extends K {
21768
21774
  constructor(...e) {
21769
21775
  super(...e), this.value = 0, this.max = 100, this.indeterminate = !1, this.size = "md", this.color = "primary", this.glass = !1;
21770
21776
  }
@@ -21873,23 +21879,23 @@ var Bm = B(zm), Vm = class extends K {
21873
21879
  V([W({
21874
21880
  type: Number,
21875
21881
  reflect: !0
21876
- })], Vm.prototype, "value", void 0), V([W({
21882
+ })], Hm.prototype, "value", void 0), V([W({
21877
21883
  type: Number,
21878
21884
  reflect: !0
21879
- })], Vm.prototype, "max", void 0), V([W({
21885
+ })], Hm.prototype, "max", void 0), V([W({
21880
21886
  type: Boolean,
21881
21887
  reflect: !0
21882
- })], Vm.prototype, "indeterminate", void 0), V([W({
21888
+ })], Hm.prototype, "indeterminate", void 0), V([W({
21883
21889
  type: String,
21884
21890
  reflect: !0
21885
- })], Vm.prototype, "size", void 0), V([W({
21891
+ })], Hm.prototype, "size", void 0), V([W({
21886
21892
  type: String,
21887
21893
  reflect: !0
21888
- })], Vm.prototype, "color", void 0), V([W({
21894
+ })], Hm.prototype, "color", void 0), V([W({
21889
21895
  type: Boolean,
21890
21896
  reflect: !0
21891
- })], Vm.prototype, "glass", void 0), Vm = V([H("schmancy-progress")], Vm);
21892
- var Hm = class extends K {
21897
+ })], Hm.prototype, "glass", void 0), Hm = V([H("schmancy-progress")], Hm);
21898
+ var Um = class extends K {
21893
21899
  constructor(...e) {
21894
21900
  super(...e), this.title = "", this.message = "", this.type = "info", this.closable = !0, this.duration = 5e3, this.id = `notification-${Date.now()}-${Math.floor(1e4 * Math.random())}`, this.playSound = !0, this.showProgress = !1, this.startPosition = {
21895
21901
  x: 0,
@@ -22000,15 +22006,15 @@ var Hm = class extends K {
22000
22006
  `;
22001
22007
  }
22002
22008
  };
22003
- V([W({ type: String })], Hm.prototype, "title", void 0), V([W({ type: String })], Hm.prototype, "message", void 0), V([W({ type: String })], Hm.prototype, "type", void 0), V([W({ type: Boolean })], Hm.prototype, "closable", void 0), V([W({ type: Number })], Hm.prototype, "duration", void 0), V([W({ type: String })], Hm.prototype, "id", void 0), V([W({ type: Boolean })], Hm.prototype, "playSound", void 0), V([W({ type: Boolean })], Hm.prototype, "showProgress", void 0), V([W({ type: Object })], Hm.prototype, "startPosition", void 0), V([G()], Hm.prototype, "visible", void 0), V([G()], Hm.prototype, "progress", void 0), V([G()], Hm.prototype, "hovered", void 0), V([G()], Hm.prototype, "closing", void 0);
22004
- var Um = Hm = V([H("sch-notification")], Hm), Wm = {
22009
+ V([W({ type: String })], Um.prototype, "title", void 0), V([W({ type: String })], Um.prototype, "message", void 0), V([W({ type: String })], Um.prototype, "type", void 0), V([W({ type: Boolean })], Um.prototype, "closable", void 0), V([W({ type: Number })], Um.prototype, "duration", void 0), V([W({ type: String })], Um.prototype, "id", void 0), V([W({ type: Boolean })], Um.prototype, "playSound", void 0), V([W({ type: Boolean })], Um.prototype, "showProgress", void 0), V([W({ type: Object })], Um.prototype, "startPosition", void 0), V([G()], Um.prototype, "visible", void 0), V([G()], Um.prototype, "progress", void 0), V([G()], Um.prototype, "hovered", void 0), V([G()], Um.prototype, "closing", void 0);
22010
+ var Wm = Um = V([H("sch-notification")], Um), Gm = {
22005
22011
  info: "curious",
22006
22012
  success: "content",
22007
22013
  warning: "anxious",
22008
22014
  error: "disappointed"
22009
- }, Gm = 1500, Km = 2e3, qm = 2500, Jm = 2500;
22015
+ }, Km = 1500, qm = 2e3, Jm = 2500, Ym = 2500;
22010
22016
  Ps.setVolume(.1);
22011
- var Ym = {
22017
+ var Xm = {
22012
22018
  x: window.innerWidth - 100,
22013
22019
  y: 50
22014
22020
  };
@@ -22016,69 +22022,69 @@ typeof window < "u" && O(window, "mousedown", {
22016
22022
  capture: !0,
22017
22023
  passive: !0
22018
22024
  }).subscribe((e) => {
22019
- Ym = {
22025
+ Xm = {
22020
22026
  x: e.clientX,
22021
22027
  y: e.clientY
22022
22028
  };
22023
22029
  });
22024
- var Xm = null, Zm = [];
22025
- function Qm(e) {
22030
+ var Zm = null, Qm = [];
22031
+ function $m(e) {
22026
22032
  let t = e.id ?? `notification-${Date.now()}-${Math.floor(1e4 * Math.random())}`;
22027
- Zm.push(t), Xm &&= (Xm.remove(), null);
22033
+ Qm.push(t), Zm &&= (Zm.remove(), null);
22028
22034
  let n = document.createElement("sch-notification");
22029
- return n.id = t, n.title = e.title ?? "", n.message = e.message, n.type = e.type ?? "info", n.duration = e.duration ?? 1e3, n.closable = !1 !== e.closable, n.playSound = !1, n.showProgress = e.showProgress ?? !1, n.startPosition = { ...Ym }, !1 !== e.playSound && Ps.play(Wm[n.type]), O(n, "close").subscribe(() => {
22030
- let e = Zm.indexOf(t);
22031
- e > -1 && Zm.splice(e, 1), n.remove(), Xm === n && (Xm = null);
22032
- }), document.body.appendChild(n), Xm = n, t;
22033
- }
22034
- var $m = {
22035
- show: Qm,
22036
- info: (e, t = {}) => Qm({
22035
+ return n.id = t, n.title = e.title ?? "", n.message = e.message, n.type = e.type ?? "info", n.duration = e.duration ?? 1e3, n.closable = !1 !== e.closable, n.playSound = !1, n.showProgress = e.showProgress ?? !1, n.startPosition = { ...Xm }, !1 !== e.playSound && Ps.play(Gm[n.type]), O(n, "close").subscribe(() => {
22036
+ let e = Qm.indexOf(t);
22037
+ e > -1 && Qm.splice(e, 1), n.remove(), Zm === n && (Zm = null);
22038
+ }), document.body.appendChild(n), Zm = n, t;
22039
+ }
22040
+ var eh = {
22041
+ show: $m,
22042
+ info: (e, t = {}) => $m({
22037
22043
  message: e ?? "",
22038
22044
  type: "info",
22039
- duration: e ? t.duration ?? Km : 1,
22045
+ duration: e ? t.duration ?? qm : 1,
22040
22046
  ...t
22041
22047
  }),
22042
- success: (e, t = {}) => Qm({
22048
+ success: (e, t = {}) => $m({
22043
22049
  message: e ?? "",
22044
22050
  type: "success",
22045
- duration: e ? t.duration ?? Gm : 1,
22051
+ duration: e ? t.duration ?? Km : 1,
22046
22052
  ...t
22047
22053
  }),
22048
- warning: (e, t = {}) => Qm({
22054
+ warning: (e, t = {}) => $m({
22049
22055
  message: e ?? "",
22050
22056
  type: "warning",
22051
- duration: e ? t.duration ?? qm : 1,
22057
+ duration: e ? t.duration ?? Jm : 1,
22052
22058
  ...t
22053
22059
  }),
22054
- error: (e, t = {}) => Qm({
22060
+ error: (e, t = {}) => $m({
22055
22061
  message: e ?? "",
22056
22062
  type: "error",
22057
- duration: e ? t.duration ?? Jm : 1,
22063
+ duration: e ? t.duration ?? Ym : 1,
22058
22064
  ...t
22059
22065
  }),
22060
- customDuration: (e, t, n = {}) => Qm({
22066
+ customDuration: (e, t, n = {}) => $m({
22061
22067
  message: e,
22062
22068
  duration: t,
22063
22069
  ...n
22064
22070
  }),
22065
- persistent: (e, t = {}) => Qm({
22071
+ persistent: (e, t = {}) => $m({
22066
22072
  message: e,
22067
22073
  duration: 0,
22068
22074
  ...t
22069
22075
  }),
22070
22076
  dismiss: (e) => {
22071
- let t = e ? Zm.splice(Zm.indexOf(e), 1)[0] : Zm.pop();
22072
- t && Xm?.id === t && Xm.close();
22077
+ let t = e ? Qm.splice(Qm.indexOf(e), 1)[0] : Qm.pop();
22078
+ t && Zm?.id === t && Zm.close();
22073
22079
  },
22074
22080
  update: (e, t) => {
22075
- Xm?.id === e && (t.title !== void 0 && (Xm.title = t.title), t.message !== void 0 && (Xm.message = t.message), t.type !== void 0 && (Xm.type = t.type));
22081
+ Zm?.id === e && (t.title !== void 0 && (Zm.title = t.title), t.message !== void 0 && (Zm.message = t.message), t.type !== void 0 && (Zm.type = t.type));
22076
22082
  }
22077
22083
  };
22078
- function eh(e) {
22084
+ function th(e) {
22079
22085
  return (t) => {
22080
22086
  let n;
22081
- return e.loadingMessage && (n = $m.show({
22087
+ return e.loadingMessage && (n = eh.show({
22082
22088
  message: e.loadingMessage,
22083
22089
  type: e.loadingType || "info",
22084
22090
  duration: 0,
@@ -22091,17 +22097,17 @@ function eh(e) {
22091
22097
  let e = t.loaded, n = t.total;
22092
22098
  typeof e == "number" && typeof n == "number" && n > 0 && (r = e / n * 100);
22093
22099
  }
22094
- r !== void 0 && $m.update?.(n, { message: `${e.loadingMessage} (${Math.round(r)}%)` });
22100
+ r !== void 0 && eh.update?.(n, { message: `${e.loadingMessage} (${Math.round(r)}%)` });
22095
22101
  }
22096
- typeof t == "object" && t && ("progress" in t || "loaded" in t && "total" in t) || (n && !1 !== e.autoDismissLoading && ($m.dismiss(n), n = void 0), e.successMessage && $m.show({
22102
+ typeof t == "object" && t && ("progress" in t || "loaded" in t && "total" in t) || (n && !1 !== e.autoDismissLoading && (eh.dismiss(n), n = void 0), e.successMessage && eh.show({
22097
22103
  message: e.successMessage,
22098
22104
  type: e.successType || "success",
22099
22105
  duration: e.successDuration ?? 2e3
22100
22106
  }));
22101
22107
  }), Wt((t) => {
22102
- if (n && !1 !== e.autoDismissLoading && ($m.dismiss(n), n = void 0), e.errorMessage) {
22108
+ if (n && !1 !== e.autoDismissLoading && (eh.dismiss(n), n = void 0), e.errorMessage) {
22103
22109
  let n = typeof e.errorMessage == "function" ? e.errorMessage(t) : e.errorMessage;
22104
- $m.show({
22110
+ eh.show({
22105
22111
  message: n,
22106
22112
  type: e.errorType || "error",
22107
22113
  duration: e.errorDuration ?? 3e3
@@ -22109,19 +22115,19 @@ function eh(e) {
22109
22115
  }
22110
22116
  throw t;
22111
22117
  }), tn(() => {
22112
- n && !1 !== e.autoDismissLoading && $m.dismiss(n);
22118
+ n && !1 !== e.autoDismissLoading && eh.dismiss(n);
22113
22119
  }));
22114
22120
  };
22115
22121
  }
22116
- function th(e, t, n) {
22117
- return eh({
22122
+ function nh(e, t, n) {
22123
+ return th({
22118
22124
  loadingMessage: e,
22119
22125
  successMessage: t || void 0,
22120
22126
  errorMessage: n || void 0,
22121
22127
  autoDismissLoading: !0
22122
22128
  });
22123
22129
  }
22124
- var nh = class extends K {
22130
+ var rh = class extends K {
22125
22131
  constructor(...e) {
22126
22132
  super(...e), this.data = {}, this.highlightKeys = [], this.compact = !1;
22127
22133
  }
@@ -22141,9 +22147,9 @@ var nh = class extends K {
22141
22147
  }
22142
22148
  async copyJSON() {
22143
22149
  try {
22144
- await navigator.clipboard.writeText(JSON.stringify(this.data, null, 2)), $m.success("JSON copied to clipboard");
22150
+ await navigator.clipboard.writeText(JSON.stringify(this.data, null, 2)), eh.success("JSON copied to clipboard");
22145
22151
  } catch {
22146
- $m.error("Failed to copy JSON");
22152
+ eh.error("Failed to copy JSON");
22147
22153
  }
22148
22154
  }
22149
22155
  render() {
@@ -22156,13 +22162,13 @@ var nh = class extends K {
22156
22162
  <div class="flex items-center justify-between mb-1">
22157
22163
  <schmancy-icon class="text-xs text-on-surface-variant">content_copy</schmancy-icon>
22158
22164
  </div>
22159
- <pre class="text-[10px] leading-tight">${Bm(t)}</pre>
22165
+ <pre class="text-[10px] leading-tight">${Vm(t)}</pre>
22160
22166
  </div>
22161
22167
  `;
22162
22168
  }
22163
22169
  };
22164
- V([W({ type: Object })], nh.prototype, "data", void 0), V([W({ type: Array })], nh.prototype, "highlightKeys", void 0), V([W({ type: Boolean })], nh.prototype, "compact", void 0), nh = V([H("schmancy-json")], nh);
22165
- var rh = class extends K {
22170
+ V([W({ type: Object })], rh.prototype, "data", void 0), V([W({ type: Array })], rh.prototype, "highlightKeys", void 0), V([W({ type: Boolean })], rh.prototype, "compact", void 0), rh = V([H("schmancy-json")], rh);
22171
+ var ih = class extends K {
22166
22172
  constructor(...e) {
22167
22173
  super(...e), this.hide = !1, this.direction = "both", this.debounce = 10;
22168
22174
  }
@@ -22264,14 +22270,14 @@ var rh = class extends K {
22264
22270
  V([W({
22265
22271
  type: Boolean,
22266
22272
  reflect: !0
22267
- })], rh.prototype, "hide", void 0), V([W({
22273
+ })], ih.prototype, "hide", void 0), V([W({
22268
22274
  type: String,
22269
22275
  reflect: !0
22270
- })], rh.prototype, "name", void 0), V([W({
22276
+ })], ih.prototype, "name", void 0), V([W({
22271
22277
  type: String,
22272
22278
  reflect: !0
22273
- })], rh.prototype, "direction", void 0), V([W({ type: Number })], rh.prototype, "debounce", void 0), rh = V([H("schmancy-scroll")], rh);
22274
- var ih = class extends K {
22279
+ })], ih.prototype, "direction", void 0), V([W({ type: Number })], ih.prototype, "debounce", void 0), ih = V([H("schmancy-scroll")], ih);
22280
+ var ah = class extends K {
22275
22281
  constructor(...e) {
22276
22282
  super(...e), this.src = "", this.images = [], this.initialIndex = 0, this.open = !1, this.currentIndex = 0, this.isLoading = !1, this.zIndex = 1e4, this.swipeThreshold = 50, this.overlayRef = Fs(), this.contentRef = Fs(), this.imageRef = Fs(), this.handleClose = () => {
22277
22283
  this.open = !1;
@@ -22503,15 +22509,15 @@ var ih = class extends K {
22503
22509
  ` : L``;
22504
22510
  }
22505
22511
  };
22506
- function ah(e, t, n = "up", r = .3) {
22512
+ function oh(e, t, n = "up", r = .3) {
22507
22513
  let i = (e.x + t.x) / 2, a = (e.y + t.y) / 2, o = Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2), s = Math.min(o * r, 150);
22508
22514
  return {
22509
22515
  x: i,
22510
22516
  y: n === "up" ? a - s : a + s
22511
22517
  };
22512
22518
  }
22513
- V([W({ type: String })], ih.prototype, "src", void 0), V([W({ type: Array })], ih.prototype, "images", void 0), V([W({ type: Number })], ih.prototype, "initialIndex", void 0), V([W({ type: Boolean })], ih.prototype, "open", void 0), V([G()], ih.prototype, "currentIndex", void 0), V([G()], ih.prototype, "isLoading", void 0), V([G()], ih.prototype, "zIndex", void 0), ih = V([H("schmancy-lightbox")], ih);
22514
- var oh = B(class extends Ui {
22519
+ V([W({ type: String })], ah.prototype, "src", void 0), V([W({ type: Array })], ah.prototype, "images", void 0), V([W({ type: Number })], ah.prototype, "initialIndex", void 0), V([W({ type: Boolean })], ah.prototype, "open", void 0), V([G()], ah.prototype, "currentIndex", void 0), V([G()], ah.prototype, "isLoading", void 0), V([G()], ah.prototype, "zIndex", void 0), ah = V([H("schmancy-lightbox")], ah);
22520
+ var sh = B(class extends Ui {
22515
22521
  constructor(e) {
22516
22522
  if (super(e), this.hasAnimated = !1, e.type !== Qn) throw Error("flip directive can only be used on elements");
22517
22523
  }
@@ -22559,7 +22565,7 @@ var oh = B(class extends Ui {
22559
22565
  let e = {
22560
22566
  x: i.x - s.x,
22561
22567
  y: i.y - s.y
22562
- }, n = ah(c, i, "up", .4), r = ah(i, s, "down", .3), a = {
22568
+ }, n = oh(c, i, "up", .4), r = oh(i, s, "down", .3), a = {
22563
22569
  x: n.x - s.x,
22564
22570
  y: n.y - s.y
22565
22571
  }, o = {
@@ -22598,7 +22604,7 @@ var oh = B(class extends Ui {
22598
22604
  fill: "forwards"
22599
22605
  });
22600
22606
  } else if (r && i) {
22601
- let e = ah(i, s, "down", .35), n = {
22607
+ let e = oh(i, s, "down", .35), n = {
22602
22608
  x: e.x - s.x,
22603
22609
  y: e.y - s.y
22604
22610
  };
@@ -22637,7 +22643,7 @@ var oh = B(class extends Ui {
22637
22643
  };
22638
22644
  this.element instanceof HTMLImageElement ? this.element.complete ? requestAnimationFrame(s) : this.element.addEventListener("load", () => requestAnimationFrame(s), { once: !0 }) : requestAnimationFrame(s);
22639
22645
  }
22640
- }), sh = B(class extends Ui {
22646
+ }), ch = B(class extends Ui {
22641
22647
  constructor(e) {
22642
22648
  if (super(e), this.currentIndex = 0, this.images = [], e.type !== Qn) throw Error("lightbox directive can only be used on elements");
22643
22649
  }
@@ -22735,7 +22741,7 @@ var oh = B(class extends Ui {
22735
22741
  <div class="relative">
22736
22742
  <img
22737
22743
  src=${e}
22738
- ${oh({
22744
+ ${sh({
22739
22745
  sourceElement: this.element,
22740
22746
  position: this.clickPosition,
22741
22747
  duration: 600,
@@ -22777,7 +22783,7 @@ var oh = B(class extends Ui {
22777
22783
  disconnected() {
22778
22784
  this.element && this.clickHandler && this.element.removeEventListener("click", this.clickHandler), this.close();
22779
22785
  }
22780
- }), ch = class e {
22786
+ }), lh = class e {
22781
22787
  constructor() {
22782
22788
  this.pushSubject = new w(), this.dismissSubject = new w(), this.setupLightboxOpeningLogic(), this.setupLightboxDismissLogic();
22783
22789
  }
@@ -22928,10 +22934,10 @@ var oh = B(class extends Ui {
22928
22934
  }
22929
22935
  }
22930
22936
  }
22931
- }, lh = Object.assign((e) => sh(e), {
22932
- push: (e) => ch.getInstance().push(e),
22933
- dismiss: () => ch.getInstance().dismiss()
22934
- }), uh = void 0, dh = class extends K {
22937
+ }, uh = Object.assign((e) => ch(e), {
22938
+ push: (e) => lh.getInstance().push(e),
22939
+ dismiss: () => lh.getInstance().dismiss()
22940
+ }), dh = void 0, fh = class extends K {
22935
22941
  constructor(...e) {
22936
22942
  super(...e), this.selected = !1;
22937
22943
  }
@@ -22997,23 +23003,23 @@ var oh = B(class extends Ui {
22997
23003
  V([fr({
22998
23004
  context: "surface",
22999
23005
  subscribe: !0
23000
- }), W()], dh.prototype, "variant", void 0), V([W({
23006
+ }), W()], fh.prototype, "variant", void 0), V([W({
23001
23007
  type: Boolean,
23002
23008
  reflect: !0
23003
- })], dh.prototype, "rounded", void 0), V([W({
23009
+ })], fh.prototype, "rounded", void 0), V([W({
23004
23010
  type: Boolean,
23005
23011
  reflect: !0
23006
- })], dh.prototype, "readonly", void 0), V([W({
23012
+ })], fh.prototype, "readonly", void 0), V([W({
23007
23013
  type: Boolean,
23008
23014
  reflect: !0
23009
- })], dh.prototype, "selected", void 0), V([Br({
23015
+ })], fh.prototype, "selected", void 0), V([Br({
23010
23016
  slot: "leading",
23011
23017
  flatten: !0
23012
- })], dh.prototype, "leading", void 0), V([Br({
23018
+ })], fh.prototype, "leading", void 0), V([Br({
23013
23019
  slot: "trailing",
23014
23020
  flatten: !0
23015
- })], dh.prototype, "trailing", void 0), dh = V([H("schmancy-list-item")], dh);
23016
- var fh = class extends K {
23021
+ })], fh.prototype, "trailing", void 0), fh = V([H("schmancy-list-item")], fh);
23022
+ var ph = class extends K {
23017
23023
  constructor(...e) {
23018
23024
  super(...e), this.elevation = 0;
23019
23025
  }
@@ -23046,8 +23052,8 @@ var fh = class extends K {
23046
23052
  `;
23047
23053
  }
23048
23054
  };
23049
- V([dr({ context: uh }), W()], fh.prototype, "surface", void 0), V([W({ type: Number })], fh.prototype, "elevation", void 0), fh = V([H("schmancy-list")], fh);
23050
- var ph = class extends K {
23055
+ V([dr({ context: dh }), W()], ph.prototype, "surface", void 0), V([W({ type: Number })], ph.prototype, "elevation", void 0), ph = V([H("schmancy-list")], ph);
23056
+ var mh = class extends K {
23051
23057
  constructor(...e) {
23052
23058
  super(...e), this.dismissParentMenu = () => {
23053
23059
  this.dispatchEvent(new CustomEvent("close", {
@@ -23071,8 +23077,8 @@ var ph = class extends K {
23071
23077
  `;
23072
23078
  }
23073
23079
  };
23074
- ph = V([H("schmancy-menu-item")], ph);
23075
- var mh = class extends K {
23080
+ mh = V([H("schmancy-menu-item")], mh);
23081
+ var hh = class extends K {
23076
23082
  constructor(...e) {
23077
23083
  super(...e), this.showMenu = (e) => {
23078
23084
  let t = this.menuSlot?.assignedElements() || [];
@@ -23102,8 +23108,8 @@ var mh = class extends K {
23102
23108
  `;
23103
23109
  }
23104
23110
  };
23105
- V([zr("slot:not([name])")], mh.prototype, "menuSlot", void 0), mh = V([H("schmancy-menu")], mh);
23106
- var hh = new class {
23111
+ V([zr("slot:not([name])")], hh.prototype, "menuSlot", void 0), hh = V([H("schmancy-menu")], hh);
23112
+ var gh = new class {
23107
23113
  constructor() {
23108
23114
  this.$drawer = new w(), this.$drawer.pipe(Kt(10)).subscribe((e) => {
23109
23115
  e.state ? window.dispatchEvent(new CustomEvent(Yd.NavDrawer_toggle, {
@@ -23129,7 +23135,7 @@ var hh = new class {
23129
23135
  state: !1
23130
23136
  });
23131
23137
  }
23132
- }(), gh = hh, _h = class extends K {
23138
+ }(), _h = gh, vh = class extends K {
23133
23139
  static {
23134
23140
  this.styles = [U`
23135
23141
  :host {
@@ -23143,8 +23149,8 @@ var hh = new class {
23143
23149
  return L`<slot></slot>`;
23144
23150
  }
23145
23151
  };
23146
- _h = V([H("schmancy-nav-drawer-appbar")], _h);
23147
- var vh = class extends K {
23152
+ vh = V([H("schmancy-nav-drawer-appbar")], vh);
23153
+ var yh = class extends K {
23148
23154
  static {
23149
23155
  this.styles = [U`
23150
23156
  :host {
@@ -23168,10 +23174,10 @@ var vh = class extends K {
23168
23174
  return L` <slot></slot> `;
23169
23175
  }
23170
23176
  };
23171
- vh = V([H("schmancy-nav-drawer-content")], vh);
23172
- var yh, bh = "push", xh = "close", Sh = class extends K {
23177
+ yh = V([H("schmancy-nav-drawer-content")], yh);
23178
+ var bh, xh = "push", Sh = "close", Ch = class extends K {
23173
23179
  static {
23174
- yh = this;
23180
+ bh = this;
23175
23181
  }
23176
23182
  constructor(...e) {
23177
23183
  super(...e), this.fullscreen = !1, this.breakpoint = "md";
@@ -23207,7 +23213,7 @@ var yh, bh = "push", xh = "close", Sh = class extends K {
23207
23213
  };
23208
23214
  }
23209
23215
  firstUpdated() {
23210
- this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), O(window, "resize").pipe(D((e) => e.target.innerWidth), D((e) => e >= yh.BREAKPOINTS[this.breakpoint]), N(), Kt(100), F(this.disconnecting)).subscribe((e) => {
23216
+ this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), O(window, "resize").pipe(D((e) => e.target.innerWidth), D((e) => e >= bh.BREAKPOINTS[this.breakpoint]), N(), Kt(100), F(this.disconnecting)).subscribe((e) => {
23211
23217
  e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
23212
23218
  }), O(window, "fullscreen").pipe(I((e) => {
23213
23219
  let t = e;
@@ -23219,7 +23225,7 @@ var yh, bh = "push", xh = "close", Sh = class extends K {
23219
23225
  });
23220
23226
  }
23221
23227
  updateState(e) {
23222
- let t = e >= yh.BREAKPOINTS[this.breakpoint];
23228
+ let t = e >= bh.BREAKPOINTS[this.breakpoint];
23223
23229
  this.mode = t ? "push" : "overlay", this.open = t ? "open" : "close";
23224
23230
  }
23225
23231
  render() {
@@ -23229,11 +23235,11 @@ var yh, bh = "push", xh = "close", Sh = class extends K {
23229
23235
  V([W({
23230
23236
  type: Boolean,
23231
23237
  reflect: !0
23232
- })], Sh.prototype, "fullscreen", void 0), V([W({
23238
+ })], Ch.prototype, "fullscreen", void 0), V([W({
23233
23239
  type: String,
23234
23240
  attribute: "breakpoint"
23235
- })], Sh.prototype, "breakpoint", void 0), V([dr({ context: bh }), G()], Sh.prototype, "mode", void 0), V([dr({ context: xh }), W()], Sh.prototype, "open", void 0), Sh = yh = V([H("schmancy-nav-drawer")], Sh);
23236
- var Ch = "cubic-bezier(0.5, 0.01, 0.25, 1)", wh = class extends K {
23241
+ })], Ch.prototype, "breakpoint", void 0), V([dr({ context: xh }), G()], Ch.prototype, "mode", void 0), V([dr({ context: Sh }), W()], Ch.prototype, "open", void 0), Ch = bh = V([H("schmancy-nav-drawer")], Ch);
23242
+ var wh = "cubic-bezier(0.5, 0.01, 0.25, 1)", Th = class extends K {
23237
23243
  constructor(...e) {
23238
23244
  super(...e), this.width = "220px", this.initialized = !1;
23239
23245
  }
@@ -23246,14 +23252,14 @@ var Ch = "cubic-bezier(0.5, 0.01, 0.25, 1)", wh = class extends K {
23246
23252
  openOverlay() {
23247
23253
  this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: .4 }], {
23248
23254
  duration: 200,
23249
- easing: Ch,
23255
+ easing: wh,
23250
23256
  fill: "forwards"
23251
23257
  });
23252
23258
  }
23253
23259
  closeOverlay() {
23254
23260
  this.overlay.animate([{ opacity: .4 }, { opacity: 0 }], {
23255
23261
  duration: 150,
23256
- easing: Ch,
23262
+ easing: wh,
23257
23263
  fill: "forwards"
23258
23264
  }).onfinish = () => {
23259
23265
  this.overlay.style.display = "none";
@@ -23262,7 +23268,7 @@ var Ch = "cubic-bezier(0.5, 0.01, 0.25, 1)", wh = class extends K {
23262
23268
  showNavDrawer() {
23263
23269
  this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], {
23264
23270
  duration: 200,
23265
- easing: Ch,
23271
+ easing: wh,
23266
23272
  fill: "forwards"
23267
23273
  }).onfinish = () => {
23268
23274
  this.nav.style.transform = "translateX(0)";
@@ -23271,7 +23277,7 @@ var Ch = "cubic-bezier(0.5, 0.01, 0.25, 1)", wh = class extends K {
23271
23277
  hideNavDrawer() {
23272
23278
  this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], {
23273
23279
  duration: 200,
23274
- easing: Ch,
23280
+ easing: wh,
23275
23281
  fill: "forwards"
23276
23282
  }).onfinish = () => {
23277
23283
  this.nav.style.transform = "translateX(-100%)";
@@ -23308,13 +23314,13 @@ var Ch = "cubic-bezier(0.5, 0.01, 0.25, 1)", wh = class extends K {
23308
23314
  }
23309
23315
  };
23310
23316
  V([fr({
23311
- context: bh,
23312
- subscribe: !0
23313
- }), G()], wh.prototype, "mode", void 0), V([fr({
23314
23317
  context: xh,
23315
23318
  subscribe: !0
23316
- }), G()], wh.prototype, "drawerState", void 0), V([zr("#overlay")], wh.prototype, "overlay", void 0), V([zr("nav")], wh.prototype, "nav", void 0), V([W({ type: String })], wh.prototype, "width", void 0), V([G()], wh.prototype, "initialized", void 0), wh = V([H("schmancy-nav-drawer-navbar")], wh);
23317
- var Th = class extends K {
23319
+ }), G()], Th.prototype, "mode", void 0), V([fr({
23320
+ context: Sh,
23321
+ subscribe: !0
23322
+ }), G()], Th.prototype, "drawerState", void 0), V([zr("#overlay")], Th.prototype, "overlay", void 0), V([zr("nav")], Th.prototype, "nav", void 0), V([W({ type: String })], Th.prototype, "width", void 0), V([G()], Th.prototype, "initialized", void 0), Th = V([H("schmancy-nav-drawer-navbar")], Th);
23323
+ var Eh = class extends K {
23318
23324
  constructor(...e) {
23319
23325
  super(...e), this.icon = "", this.label = "", this.badge = "", this.active$ = new T(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (e) => {
23320
23326
  if (this.disabled) return;
@@ -23526,17 +23532,17 @@ var Th = class extends K {
23526
23532
  `;
23527
23533
  }
23528
23534
  };
23529
- V([W({ type: String })], Th.prototype, "icon", void 0), V([W({ type: String })], Th.prototype, "label", void 0), V([W({ type: String })], Th.prototype, "badge", void 0), V([W({
23535
+ V([W({ type: String })], Eh.prototype, "icon", void 0), V([W({ type: String })], Eh.prototype, "label", void 0), V([W({ type: String })], Eh.prototype, "badge", void 0), V([W({
23530
23536
  type: Boolean,
23531
23537
  reflect: !0
23532
- })], Th.prototype, "active", null), V([W({
23538
+ })], Eh.prototype, "active", null), V([W({
23533
23539
  type: Boolean,
23534
23540
  reflect: !0
23535
- })], Th.prototype, "disabled", void 0), V([W({
23541
+ })], Eh.prototype, "disabled", void 0), V([W({
23536
23542
  type: Boolean,
23537
23543
  reflect: !0
23538
- })], Th.prototype, "hideLabels", void 0), V([G()], Th.prototype, "ripples", void 0), Th = V([H("schmancy-navigation-bar-item")], Th);
23539
- var Eh = class extends K {
23544
+ })], Eh.prototype, "hideLabels", void 0), V([G()], Eh.prototype, "ripples", void 0), Eh = V([H("schmancy-navigation-bar-item")], Eh);
23545
+ var Dh = class extends K {
23540
23546
  constructor(...e) {
23541
23547
  super(...e), this.activeIndex$ = new T(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.mobileMediaQuery = null, this.visibility$ = new w(), this.handleItemClick = (e) => {
23542
23548
  let t = this.getItems(), n = e.target, r = t.findIndex((e) => e === n);
@@ -23697,17 +23703,17 @@ var Eh = class extends K {
23697
23703
  `;
23698
23704
  }
23699
23705
  };
23700
- V([W({ type: Number })], Eh.prototype, "activeIndex", null), V([W({
23706
+ V([W({ type: Number })], Dh.prototype, "activeIndex", null), V([W({
23701
23707
  type: Boolean,
23702
23708
  reflect: !0
23703
- })], Eh.prototype, "hideLabels", void 0), V([W({
23709
+ })], Dh.prototype, "hideLabels", void 0), V([W({
23704
23710
  type: Number,
23705
23711
  reflect: !0
23706
- })], Eh.prototype, "elevation", void 0), V([W({
23712
+ })], Dh.prototype, "elevation", void 0), V([W({
23707
23713
  type: Boolean,
23708
23714
  reflect: !0
23709
- })], Eh.prototype, "hideOnScroll", void 0), V([G()], Eh.prototype, "focusedIndex", void 0), V([G()], Eh.prototype, "isHiddenByScroll", void 0), V([G()], Eh.prototype, "isFullscreen", void 0), Eh = V([H("schmancy-navigation-bar")], Eh);
23710
- var Dh = class extends K {
23715
+ })], Dh.prototype, "hideOnScroll", void 0), V([G()], Dh.prototype, "focusedIndex", void 0), V([G()], Dh.prototype, "isHiddenByScroll", void 0), V([G()], Dh.prototype, "isFullscreen", void 0), Dh = V([H("schmancy-navigation-bar")], Dh);
23716
+ var Oh = class extends K {
23711
23717
  constructor(...e) {
23712
23718
  super(...e), this.hovering$ = new T(!1), this.pressing$ = new T(!1), this.active$ = new T(!1), this.icon = "", this.label = "", this.value = "", this.badge = "", this.badgeVariant = "error", this.showLabel = !1, this.disabled = !1, this.nested = !1, this.group = !1, this.showRipple = !1;
23713
23719
  }
@@ -23851,26 +23857,26 @@ var Dh = class extends K {
23851
23857
  `;
23852
23858
  }
23853
23859
  };
23854
- V([W({ type: String })], Dh.prototype, "icon", void 0), V([W({ type: String })], Dh.prototype, "label", void 0), V([W({ type: String })], Dh.prototype, "value", void 0), V([W({
23860
+ V([W({ type: String })], Oh.prototype, "icon", void 0), V([W({ type: String })], Oh.prototype, "label", void 0), V([W({ type: String })], Oh.prototype, "value", void 0), V([W({
23855
23861
  type: Boolean,
23856
23862
  reflect: !0
23857
- })], Dh.prototype, "active", null), V([W({
23863
+ })], Oh.prototype, "active", null), V([W({
23858
23864
  type: Boolean,
23859
23865
  reflect: !0
23860
- })], Dh.prototype, "selected", null), V([W({ type: String })], Dh.prototype, "badge", void 0), V([W({ type: String })], Dh.prototype, "badgeVariant", void 0), V([W({
23866
+ })], Oh.prototype, "selected", null), V([W({ type: String })], Oh.prototype, "badge", void 0), V([W({ type: String })], Oh.prototype, "badgeVariant", void 0), V([W({
23861
23867
  type: Boolean,
23862
23868
  attribute: "show-label"
23863
- })], Dh.prototype, "showLabel", void 0), V([W({
23869
+ })], Oh.prototype, "showLabel", void 0), V([W({
23864
23870
  type: Boolean,
23865
23871
  reflect: !0
23866
- })], Dh.prototype, "disabled", void 0), V([W({
23872
+ })], Oh.prototype, "disabled", void 0), V([W({
23867
23873
  type: Boolean,
23868
23874
  reflect: !0
23869
- })], Dh.prototype, "nested", void 0), V([W({
23875
+ })], Oh.prototype, "nested", void 0), V([W({
23870
23876
  type: Boolean,
23871
23877
  reflect: !0
23872
- })], Dh.prototype, "group", void 0), V([G()], Dh.prototype, "showRipple", void 0), Dh = V([H("schmancy-navigation-rail-item")], Dh);
23873
- var Oh = /^(grid($|-)|flex($|-)|gap-|col-|row-|justify-|items-|content-|place-|auto-|grid-cols-|grid-rows-)/, kh = class extends K {
23878
+ })], Oh.prototype, "group", void 0), V([G()], Oh.prototype, "showRipple", void 0), Oh = V([H("schmancy-navigation-rail-item")], Oh);
23879
+ var kh = /^(grid($|-)|flex($|-)|gap-|col-|row-|justify-|items-|content-|place-|auto-|grid-cols-|grid-rows-)/, Ah = class extends K {
23874
23880
  constructor(...e) {
23875
23881
  super(...e), this.activeIndex$ = new T(-1), this.#e = "", this.labelVisibility = "all", this.alignment = "top", this.showTooltips = !0, this.keyboardNavigation = !0, this.expanded = !1, this.focusedIndex = -1, this.hasHeaderContent = !1, this.isFullscreen = !1, this.hostLayoutClasses = "";
23876
23882
  }
@@ -23895,7 +23901,7 @@ var Oh = /^(grid($|-)|flex($|-)|gap-|col-|row-|justify-|items-|content-|place-|a
23895
23901
  let t = e;
23896
23902
  this.isFullscreen = t.detail;
23897
23903
  }), F(this.disconnecting)).subscribe(), new S((e) => {
23898
- let t = () => Array.from(this.classList).filter((e) => Oh.test(e)).join(" ");
23904
+ let t = () => Array.from(this.classList).filter((e) => kh.test(e)).join(" ");
23899
23905
  e.next(t());
23900
23906
  let n = new MutationObserver(() => e.next(t()));
23901
23907
  return n.observe(this, {
@@ -24058,18 +24064,18 @@ var Oh = /^(grid($|-)|flex($|-)|gap-|col-|row-|justify-|items-|content-|place-|a
24058
24064
  });
24059
24065
  }
24060
24066
  };
24061
- V([W({ type: Number })], kh.prototype, "activeIndex", null), V([W({ type: String })], kh.prototype, "activeValue", null), V([W({
24067
+ V([W({ type: Number })], Ah.prototype, "activeIndex", null), V([W({ type: String })], Ah.prototype, "activeValue", null), V([W({
24062
24068
  type: String,
24063
24069
  attribute: "label-visibility",
24064
24070
  reflect: !0
24065
- })], kh.prototype, "labelVisibility", void 0), V([W({
24071
+ })], Ah.prototype, "labelVisibility", void 0), V([W({
24066
24072
  type: String,
24067
24073
  reflect: !0
24068
- })], kh.prototype, "alignment", void 0), V([W({ type: Boolean })], kh.prototype, "showTooltips", void 0), V([W({ type: Boolean })], kh.prototype, "keyboardNavigation", void 0), V([W({
24074
+ })], Ah.prototype, "alignment", void 0), V([W({ type: Boolean })], Ah.prototype, "showTooltips", void 0), V([W({ type: Boolean })], Ah.prototype, "keyboardNavigation", void 0), V([W({
24069
24075
  type: Boolean,
24070
24076
  reflect: !0
24071
- })], kh.prototype, "expanded", void 0), V([G()], kh.prototype, "focusedIndex", void 0), V([G()], kh.prototype, "hasHeaderContent", void 0), V([G()], kh.prototype, "isFullscreen", void 0), V([G()], kh.prototype, "hostLayoutClasses", void 0), V([Br({ flatten: !0 })], kh.prototype, "allElements", void 0), kh = V([H("schmancy-navigation-rail")], kh);
24072
- var Ah = class extends K {
24077
+ })], Ah.prototype, "expanded", void 0), V([G()], Ah.prototype, "focusedIndex", void 0), V([G()], Ah.prototype, "hasHeaderContent", void 0), V([G()], Ah.prototype, "isFullscreen", void 0), V([G()], Ah.prototype, "hostLayoutClasses", void 0), V([Br({ flatten: !0 })], Ah.prototype, "allElements", void 0), Ah = V([H("schmancy-navigation-rail")], Ah);
24078
+ var jh = class extends K {
24073
24079
  constructor(...e) {
24074
24080
  super(...e), this.value = "", this.label = "", this.selected = !1, this.disabled = !1, this.group = "", this.icon = "";
24075
24081
  }
@@ -24157,22 +24163,22 @@ var Ah = class extends K {
24157
24163
  `;
24158
24164
  }
24159
24165
  };
24160
- V([W({ type: String })], Ah.prototype, "value", void 0), V([W({ type: String })], Ah.prototype, "label", void 0), V([W({
24166
+ V([W({ type: String })], jh.prototype, "value", void 0), V([W({ type: String })], jh.prototype, "label", void 0), V([W({
24161
24167
  type: Boolean,
24162
24168
  reflect: !0
24163
- })], Ah.prototype, "selected", void 0), V([W({
24169
+ })], jh.prototype, "selected", void 0), V([W({
24164
24170
  type: Boolean,
24165
24171
  reflect: !0
24166
- })], Ah.prototype, "disabled", void 0), V([W({ type: String })], Ah.prototype, "group", void 0), V([W({ type: String })], Ah.prototype, "icon", void 0), Ah = V([H("schmancy-option")], Ah);
24167
- var jh = Uc.value;
24172
+ })], jh.prototype, "disabled", void 0), V([W({ type: String })], jh.prototype, "group", void 0), V([W({ type: String })], jh.prototype, "icon", void 0), jh = V([H("schmancy-option")], jh);
24173
+ var Mh = Uc.value;
24168
24174
  Uc.subscribe((e) => {
24169
- jh = e;
24175
+ Mh = e;
24170
24176
  });
24171
- var Mh = "--schmancy-overlay-origin-x", Nh = "--schmancy-overlay-origin-y", Ph = `var(${Mh}, 50%) var(${Nh}, 50%)`;
24172
- function Fh(e) {
24177
+ var Nh = "--schmancy-overlay-origin-x", Ph = "--schmancy-overlay-origin-y", Fh = `var(${Nh}, 50%) var(${Ph}, 50%)`;
24178
+ function Ih(e) {
24173
24179
  return Number.isNaN(e) || !Number.isFinite(e) ? 50 : Math.max(0, Math.min(100, e));
24174
24180
  }
24175
- function Ih(e) {
24181
+ function Lh(e) {
24176
24182
  let { surface: t, dragHandle: n, until$: r } = e;
24177
24183
  return new S((e) => {
24178
24184
  let i = n ?? t, a = new w(), o = !1, s = null, c = 0, l = 0, u = 0;
@@ -24205,10 +24211,10 @@ function Ih(e) {
24205
24211
  };
24206
24212
  }).pipe(M(1));
24207
24213
  }
24208
- function Lh(e) {
24214
+ function Rh(e) {
24209
24215
  return e.anchor === void 0 ? "sheet" : "anchored";
24210
24216
  }
24211
- function Rh(e, t) {
24217
+ function zh(e, t) {
24212
24218
  return {
24213
24219
  x: e,
24214
24220
  y: t,
@@ -24230,12 +24236,12 @@ function Rh(e, t) {
24230
24236
  })
24231
24237
  };
24232
24238
  }
24233
- var zh = Object.freeze({
24239
+ var Bh = Object.freeze({
24234
24240
  popover: typeof HTMLElement < "u" && "popover" in HTMLElement.prototype && typeof HTMLElement.prototype.showPopover == "function",
24235
24241
  cssAnchor: typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("anchor-name: --x")
24236
24242
  });
24237
- function Bh(e) {
24238
- if (!zh.popover) throw Error("positionPopoverAPI requires Popover API support");
24243
+ function Vh(e) {
24244
+ if (!Bh.popover) throw Error("positionPopoverAPI requires Popover API support");
24239
24245
  e.setAttribute("popover", "manual");
24240
24246
  try {
24241
24247
  e.showPopover();
@@ -24247,23 +24253,23 @@ function Bh(e) {
24247
24253
  e.removeAttribute("popover");
24248
24254
  };
24249
24255
  }
24250
- function Vh(e, t, n = {}) {
24256
+ function Hh(e, t, n = {}) {
24251
24257
  return new S((r) => {
24252
24258
  let i = t.el ?? t.virtual;
24253
24259
  if (!i) return void r.error(/* @__PURE__ */ Error("positionFloatingUI requires an element or virtual anchor"));
24254
- let a = n.placement ?? "bottom-start", o = n.padding ?? 16, s = n.offsetPx ?? 8, c = Jp(i, e, async () => {
24260
+ let a = n.placement ?? "bottom-start", o = n.padding ?? 16, s = n.offsetPx ?? 8, c = Yp(i, e, async () => {
24255
24261
  try {
24256
- let { x: t, y: n } = await em(i, e, {
24262
+ let { x: t, y: n } = await tm(i, e, {
24257
24263
  strategy: "fixed",
24258
24264
  placement: a,
24259
24265
  middleware: [
24260
- Yp(s),
24261
- Zp({
24266
+ Xp(s),
24267
+ Qp({
24262
24268
  padding: o,
24263
- fallbackPlacements: Hh(a)
24269
+ fallbackPlacements: Uh(a)
24264
24270
  }),
24265
- Xp({ padding: o }),
24266
- Qp({
24271
+ Zp({ padding: o }),
24272
+ $p({
24267
24273
  padding: o,
24268
24274
  apply({ availableWidth: e, availableHeight: t, elements: n }) {
24269
24275
  n.floating.style.maxWidth = `${Math.max(0, e)}px`, n.floating.style.maxHeight = `${Math.max(0, t)}px`;
@@ -24290,7 +24296,7 @@ function Vh(e, t, n = {}) {
24290
24296
  };
24291
24297
  });
24292
24298
  }
24293
- function Hh(e) {
24299
+ function Uh(e) {
24294
24300
  switch (e) {
24295
24301
  case "bottom-start": return [
24296
24302
  "top-start",
@@ -24355,7 +24361,7 @@ function Hh(e) {
24355
24361
  default: return ["top-start", "bottom-end"];
24356
24362
  }
24357
24363
  }
24358
- var Uh = "overlay-mount", Wh = class extends K {
24364
+ var Wh = "overlay-mount", Gh = class extends K {
24359
24365
  constructor(...e) {
24360
24366
  super(...e), this.layout = "sheet", this.dismissable = !0, this.modal = !0, this.tier = "modal", this.active = !1, this.full = !1, this.#e = new w(), this.mounted = !1, this.closing = !1, this.lastFocusedElement = null, this.inertedSiblings = [], this.lastReResolveAt = 0, this.onBackdropClick = () => {
24361
24367
  this.dismissable && this.close("backdrop");
@@ -24421,20 +24427,20 @@ var Uh = "overlay-mount", Wh = class extends K {
24421
24427
  return { virtual: { getBoundingClientRect: () => t } };
24422
24428
  }
24423
24429
  if (typeof e.clientX == "number" && typeof e.clientY == "number") {
24424
- let t = e, n = Rh(t.clientX, t.clientY);
24430
+ let t = e, n = zh(t.clientX, t.clientY);
24425
24431
  return { virtual: { getBoundingClientRect: () => n } };
24426
24432
  }
24427
24433
  if (e.touches !== void 0 && e.touches.length > 0) {
24428
- let t = e.touches[0], n = Rh(t.clientX, t.clientY);
24434
+ let t = e.touches[0], n = zh(t.clientX, t.clientY);
24429
24435
  return { virtual: { getBoundingClientRect: () => n } };
24430
24436
  }
24431
- let t = e, n = Rh(t.x, t.y);
24437
+ let t = e, n = zh(t.x, t.y);
24432
24438
  return { virtual: { getBoundingClientRect: () => n } };
24433
24439
  }(t.anchor), this.active = !0, this.setAttribute("active", ""), await this.updateComplete;
24434
- let n = this.renderRoot.querySelector(`#${Uh}`);
24440
+ let n = this.renderRoot.querySelector(`#${Wh}`);
24435
24441
  if (!n) throw Error("schmancy-overlay: mount point missing");
24436
24442
  var r;
24437
- if (Kh(e) ? this.factoryEffectDispose = this.updateEffect(() => Yn(e(), n), { manualDispose: !0 }) : await Gh(e, n, t.props), this.layout = t.as ?? Lh({ anchor: t.anchor }), this.modal = this.layout === "sheet", this.tier = this.modal ? "modal" : this.resolvedAnchor ? (r = this.resolvedAnchor, zh.popover && zh.cssAnchor && r.el ? "css-anchor" : zh.popover ? "popover-fui" : "fui-only") : "modal", await this.updateComplete, this.tier === "css-anchor" && this.resolvedAnchor?.el && this.shadowRoot) {
24443
+ if (qh(e) ? this.factoryEffectDispose = this.updateEffect(() => Yn(e(), n), { manualDispose: !0 }) : await Kh(e, n, t.props), this.layout = t.as ?? Rh({ anchor: t.anchor }), this.modal = this.layout === "sheet", this.tier = this.modal ? "modal" : this.resolvedAnchor ? (r = this.resolvedAnchor, Bh.popover && Bh.cssAnchor && r.el ? "css-anchor" : Bh.popover ? "popover-fui" : "fui-only") : "modal", await this.updateComplete, this.tier === "css-anchor" && this.resolvedAnchor?.el && this.shadowRoot) {
24438
24444
  this.positionerTeardown = function(e, t, n, r = { id: "" }) {
24439
24445
  if (!t.el) throw Error("positionCSSAnchor requires an element anchor");
24440
24446
  let i = t.el, a = `--ov-${r.id || Math.random().toString(36).slice(2, 10)}`, o = r.placement ?? "bottom-start", s = i.style.getPropertyValue("anchor-name");
@@ -24462,12 +24468,12 @@ var Uh = "overlay-mount", Wh = class extends K {
24462
24468
  id: `ov-${Math.random().toString(36).slice(2, 10)}`,
24463
24469
  placement: t.preferredPlacement ?? "bottom-start"
24464
24470
  });
24465
- let e = Bh(this.surface), n = this.positionerTeardown;
24471
+ let e = Vh(this.surface), n = this.positionerTeardown;
24466
24472
  this.positionerTeardown = () => {
24467
24473
  e(), n?.();
24468
24474
  };
24469
24475
  } else if (this.tier === "popover-fui" && this.resolvedAnchor) {
24470
- let e = Bh(this.surface), n = Vh(this.surface, this.resolvedAnchor, {
24476
+ let e = Vh(this.surface), n = Hh(this.surface, this.resolvedAnchor, {
24471
24477
  placement: t.preferredPlacement ?? "bottom-start",
24472
24478
  offsetPx: 8,
24473
24479
  track: !1 !== t.track
@@ -24476,14 +24482,14 @@ var Uh = "overlay-mount", Wh = class extends K {
24476
24482
  e(), n.unsubscribe();
24477
24483
  };
24478
24484
  } else if (this.tier === "fui-only" && this.resolvedAnchor) {
24479
- let e = Vh(this.surface, this.resolvedAnchor, {
24485
+ let e = Hh(this.surface, this.resolvedAnchor, {
24480
24486
  placement: t.preferredPlacement ?? "bottom-start",
24481
24487
  offsetPx: 8,
24482
24488
  track: !1 !== t.track
24483
24489
  }).pipe(F(this.disconnecting)).subscribe();
24484
24490
  this.positionerTeardown = () => e.unsubscribe();
24485
24491
  } else if (this.tier === "modal" && this.shell) try {
24486
- this.positionerTeardown = Bh(this.shell);
24492
+ this.positionerTeardown = Vh(this.shell);
24487
24493
  } catch {}
24488
24494
  this.setAnchorOriginVars(), this.wireFocusTrap(), this.wireCloseTriggers(t.signal), this.wireResizeObserver(n), await this.playAnimations("in");
24489
24495
  }
@@ -24531,7 +24537,7 @@ var Uh = "overlay-mount", Wh = class extends K {
24531
24537
  tabindex="-1"
24532
24538
  >
24533
24539
  <div
24534
- id=${Uh}
24540
+ id=${Wh}
24535
24541
  class=${this.layout === "sheet" && this.full ? "flex-1 min-h-0 overflow-hidden" : ""}
24536
24542
  ></div>
24537
24543
  </section>
@@ -24543,8 +24549,8 @@ var Uh = "overlay-mount", Wh = class extends K {
24543
24549
  if (!e) return;
24544
24550
  let t = e.getBoundingClientRect(), n = this.layout !== "sheet" || this.anchorOriginAnchor ? function(e, t) {
24545
24551
  if (!e) return {
24546
- [Mh]: "50%",
24547
- [Nh]: "50%"
24552
+ [Nh]: "50%",
24553
+ [Ph]: "50%"
24548
24554
  };
24549
24555
  let { x: n, y: r } = function(e) {
24550
24556
  if (typeof e.getBoundingClientRect == "function") {
@@ -24582,13 +24588,13 @@ var Uh = "overlay-mount", Wh = class extends K {
24582
24588
  };
24583
24589
  }(e);
24584
24590
  if (!t.width || !t.height) return {
24585
- [Mh]: "50%",
24586
- [Nh]: "50%"
24591
+ [Nh]: "50%",
24592
+ [Ph]: "50%"
24587
24593
  };
24588
- let i = Fh((n - t.left) / t.width * 100), a = Fh((r - t.top) / t.height * 100);
24594
+ let i = Ih((n - t.left) / t.width * 100), a = Ih((r - t.top) / t.height * 100);
24589
24595
  return {
24590
- [Mh]: `${i}%`,
24591
- [Nh]: `${a}%`
24596
+ [Nh]: `${i}%`,
24597
+ [Ph]: `${a}%`
24592
24598
  };
24593
24599
  }(this.anchorOriginAnchor, t) : {
24594
24600
  "--schmancy-overlay-origin-x": "50%",
@@ -24641,7 +24647,7 @@ var Uh = "overlay-mount", Wh = class extends K {
24641
24647
  if (r && t.includes(r)) return !1;
24642
24648
  }
24643
24649
  return !0;
24644
- }), D(() => ({ reason: "backdrop" })), M(1)), o = this.layout === "sheet" && this.dismissable ? Ih({
24650
+ }), D(() => ({ reason: "backdrop" })), M(1)), o = this.layout === "sheet" && this.dismissable ? Lh({
24645
24651
  surface: this.surface,
24646
24652
  until$: A(t, this.#e)
24647
24653
  }).pipe(M(1), D(() => ({ reason: "swipe" }))) : null, s = e ? O(e, "abort").pipe(M(1), D(() => ({ reason: "abort" }))) : null;
@@ -24662,14 +24668,14 @@ var Uh = "overlay-mount", Wh = class extends K {
24662
24668
  }
24663
24669
  async maybeReResolve() {
24664
24670
  if (this.closing) return;
24665
- let e = Lh({ anchor: this.rawAnchor });
24671
+ let e = Rh({ anchor: this.rawAnchor });
24666
24672
  if (e === this.layout || performance.now() - this.lastReResolveAt < 600 || !function(e, t) {
24667
24673
  return e === "anchored" && t === "sheet";
24668
24674
  }(this.layout, e)) return;
24669
24675
  let t = this.surface, n = t.getBoundingClientRect();
24670
24676
  this.layout = e, await this.updateComplete;
24671
24677
  let r = function(e, t) {
24672
- return jh ? {
24678
+ return Mh ? {
24673
24679
  keyframes: [{ transform: "none" }, { transform: "none" }],
24674
24680
  options: {
24675
24681
  duration: 1,
@@ -24700,7 +24706,7 @@ var Uh = "overlay-mount", Wh = class extends K {
24700
24706
  let t = this.surface;
24701
24707
  if (!t) return;
24702
24708
  let n = function(e, t) {
24703
- if (jh) return t === "in" ? {
24709
+ if (Mh) return t === "in" ? {
24704
24710
  keyframes: [{
24705
24711
  opacity: 0,
24706
24712
  transform: "none"
@@ -24759,11 +24765,11 @@ var Uh = "overlay-mount", Wh = class extends K {
24759
24765
  keyframes: [{
24760
24766
  opacity: 0,
24761
24767
  transform: "scale(0.85)",
24762
- transformOrigin: Ph
24768
+ transformOrigin: Fh
24763
24769
  }, {
24764
24770
  opacity: 1,
24765
24771
  transform: "scale(1)",
24766
- transformOrigin: Ph
24772
+ transformOrigin: Fh
24767
24773
  }],
24768
24774
  options: {
24769
24775
  duration: Ks.duration,
@@ -24774,11 +24780,11 @@ var Uh = "overlay-mount", Wh = class extends K {
24774
24780
  keyframes: [{
24775
24781
  opacity: 1,
24776
24782
  transform: "scale(1)",
24777
- transformOrigin: Ph
24783
+ transformOrigin: Fh
24778
24784
  }, {
24779
24785
  opacity: 0,
24780
24786
  transform: "scale(0.92)",
24781
- transformOrigin: Ph
24787
+ transformOrigin: Fh
24782
24788
  }],
24783
24789
  options: {
24784
24790
  duration: 150,
@@ -24795,15 +24801,15 @@ var Uh = "overlay-mount", Wh = class extends K {
24795
24801
  }).finished.catch(() => {})), await Promise.all(r);
24796
24802
  }
24797
24803
  };
24798
- async function Gh(e, t, n) {
24804
+ async function Kh(e, t, n) {
24799
24805
  if (function(e) {
24800
24806
  return typeof e == "object" && !!e && "_$litType$" in e;
24801
24807
  }(e)) return Yn(e, t), t;
24802
24808
  if (e instanceof HTMLElement) return n && Object.assign(e, n), t.appendChild(e), e;
24803
24809
  if (function(e) {
24804
24810
  return typeof e == "function" && "preload" in e;
24805
- }(e)) return Gh((await e()).default, t, n);
24806
- if (Kh(e)) return Gh(e(), t, n);
24811
+ }(e)) return Kh((await e()).default, t, n);
24812
+ if (qh(e)) return Kh(e(), t, n);
24807
24813
  if (typeof e == "function") {
24808
24814
  let r = new e();
24809
24815
  return n && Object.assign(r, n), t.appendChild(r), r;
@@ -24814,23 +24820,23 @@ async function Gh(e, t, n) {
24814
24820
  }
24815
24821
  throw Error("schmancy-overlay: unsupported content type");
24816
24822
  }
24817
- function Kh(e) {
24823
+ function qh(e) {
24818
24824
  return typeof e == "function" && !e.prototype;
24819
24825
  }
24820
24826
  V([W({
24821
24827
  type: String,
24822
24828
  reflect: !0
24823
- })], Wh.prototype, "layout", void 0), V([W({
24829
+ })], Gh.prototype, "layout", void 0), V([W({
24824
24830
  type: Boolean,
24825
24831
  reflect: !0
24826
- })], Wh.prototype, "dismissable", void 0), V([W({
24832
+ })], Gh.prototype, "dismissable", void 0), V([W({
24827
24833
  type: Boolean,
24828
24834
  reflect: !0
24829
- })], Wh.prototype, "modal", void 0), V([W({
24835
+ })], Gh.prototype, "modal", void 0), V([W({
24830
24836
  type: String,
24831
24837
  reflect: !0
24832
- })], Wh.prototype, "tier", void 0), V([G()], Wh.prototype, "active", void 0), V([G()], Wh.prototype, "full", void 0), V([zr(".backdrop")], Wh.prototype, "backdrop", void 0), V([zr(".surface")], Wh.prototype, "surface", void 0), V([zr(".shell")], Wh.prototype, "shell", void 0), Wh = V([H("schmancy-overlay")], Wh);
24833
- var qh = class extends K {
24838
+ })], Gh.prototype, "tier", void 0), V([G()], Gh.prototype, "active", void 0), V([G()], Gh.prototype, "full", void 0), V([zr(".backdrop")], Gh.prototype, "backdrop", void 0), V([zr(".surface")], Gh.prototype, "surface", void 0), V([zr(".shell")], Gh.prototype, "shell", void 0), Gh = V([H("schmancy-overlay")], Gh);
24839
+ var Jh = class extends K {
24834
24840
  constructor(...e) {
24835
24841
  super(...e), this.type = "body", this.token = "md", this.editable = !1, this.value = "", this.placeholder = "", this.editRef = Fs();
24836
24842
  }
@@ -25164,23 +25170,23 @@ var qh = class extends K {
25164
25170
  V([W({
25165
25171
  type: String,
25166
25172
  reflect: !0
25167
- })], qh.prototype, "type", void 0), V([W({
25173
+ })], Jh.prototype, "type", void 0), V([W({
25168
25174
  type: String,
25169
25175
  reflect: !0
25170
- })], qh.prototype, "token", void 0), V([W({
25176
+ })], Jh.prototype, "token", void 0), V([W({
25171
25177
  type: String,
25172
25178
  reflect: !0
25173
- })], qh.prototype, "align", void 0), V([W({
25179
+ })], Jh.prototype, "align", void 0), V([W({
25174
25180
  type: String,
25175
25181
  reflect: !0
25176
- })], qh.prototype, "weight", void 0), V([W({
25182
+ })], Jh.prototype, "weight", void 0), V([W({
25177
25183
  type: String,
25178
25184
  reflect: !0
25179
- })], qh.prototype, "transform", void 0), V([W({ type: Number })], qh.prototype, "maxLines", void 0), V([W({
25185
+ })], Jh.prototype, "transform", void 0), V([W({ type: Number })], Jh.prototype, "maxLines", void 0), V([W({
25180
25186
  type: Boolean,
25181
25187
  reflect: !0
25182
- })], qh.prototype, "editable", void 0), V([W({ type: String })], qh.prototype, "value", void 0), V([W({ type: String })], qh.prototype, "placeholder", void 0), qh = V([H("schmancy-typography")], qh);
25183
- var Jh = e({ SchmancyOverlayPromptBody: () => Yh }), Yh = class extends K {
25188
+ })], Jh.prototype, "editable", void 0), V([W({ type: String })], Jh.prototype, "value", void 0), V([W({ type: String })], Jh.prototype, "placeholder", void 0), Jh = V([H("schmancy-typography")], Jh);
25189
+ var Yh = e({ SchmancyOverlayPromptBody: () => Xh }), Xh = class extends K {
25184
25190
  constructor(...e) {
25185
25191
  super(...e), this.confirmText = "Confirm", this.cancelText = "Cancel", this.variant = "default", this.mode = "confirm", this.defaultValue = "", this.inputType = "text", this.required = !1, this.handleCancel = () => {
25186
25192
  this.dismiss(this.mode === "prompt" && null);
@@ -25285,23 +25291,23 @@ var Jh = e({ SchmancyOverlayPromptBody: () => Yh }), Yh = class extends K {
25285
25291
  `;
25286
25292
  }
25287
25293
  };
25288
- V([W({ type: String })], Yh.prototype, "heading", void 0), V([W({ type: String })], Yh.prototype, "subtitle", void 0), V([W({ type: String })], Yh.prototype, "message", void 0), V([W({
25294
+ V([W({ type: String })], Xh.prototype, "heading", void 0), V([W({ type: String })], Xh.prototype, "subtitle", void 0), V([W({ type: String })], Xh.prototype, "message", void 0), V([W({
25289
25295
  type: String,
25290
25296
  attribute: "confirm-text"
25291
- })], Yh.prototype, "confirmText", void 0), V([W({
25297
+ })], Xh.prototype, "confirmText", void 0), V([W({
25292
25298
  type: String,
25293
25299
  attribute: "cancel-text"
25294
- })], Yh.prototype, "cancelText", void 0), V([W({
25300
+ })], Xh.prototype, "cancelText", void 0), V([W({
25295
25301
  type: String,
25296
25302
  reflect: !0
25297
- })], Yh.prototype, "variant", void 0), V([W({ type: String })], Yh.prototype, "mode", void 0), V([W({ type: String })], Yh.prototype, "label", void 0), V([W({
25303
+ })], Xh.prototype, "variant", void 0), V([W({ type: String })], Xh.prototype, "mode", void 0), V([W({ type: String })], Xh.prototype, "label", void 0), V([W({
25298
25304
  type: String,
25299
25305
  attribute: "default-value"
25300
- })], Yh.prototype, "defaultValue", void 0), V([W({ type: String })], Yh.prototype, "placeholder", void 0), V([W({
25306
+ })], Xh.prototype, "defaultValue", void 0), V([W({ type: String })], Xh.prototype, "placeholder", void 0), V([W({
25301
25307
  type: String,
25302
25308
  attribute: "input-type"
25303
- })], Yh.prototype, "inputType", void 0), V([W({ type: String })], Yh.prototype, "pattern", void 0), V([W({ type: Boolean })], Yh.prototype, "required", void 0), V([zr("schmancy-input")], Yh.prototype, "schmancyInput", void 0), Yh = V([H("schmancy-overlay-prompt-body")], Yh);
25304
- var Xh = (e, t = {
25309
+ })], Xh.prototype, "inputType", void 0), V([W({ type: String })], Xh.prototype, "pattern", void 0), V([W({ type: Boolean })], Xh.prototype, "required", void 0), V([zr("schmancy-input")], Xh.prototype, "schmancyInput", void 0), Xh = V([H("schmancy-overlay-prompt-body")], Xh);
25310
+ var Zh = (e, t = {
25305
25311
  attributes: !0,
25306
25312
  childList: !0,
25307
25313
  subtree: !0
@@ -25312,7 +25318,7 @@ var Xh = (e, t = {
25312
25318
  return r.observe(e, t), () => {
25313
25319
  r.disconnect();
25314
25320
  };
25315
- }), Zh = (n((e) => {
25321
+ }), Qh = (n((e) => {
25316
25322
  Object.defineProperty(e, "Y", { value: !0 }), e.hasValueAtKey = e.hasPresentKey = e.isFilled = e.isDefined = e.isPresent = void 0, e.isPresent = function(e) {
25317
25323
  return e != null;
25318
25324
  }, e.isDefined = function(e) {
@@ -25348,7 +25354,7 @@ var Xh = (e, t = {
25348
25354
  `];
25349
25355
  }
25350
25356
  render() {
25351
- return L` <div style="--object-fit: ${this.fit}">${kf(this.renderSlide())}</div> `;
25357
+ return L` <div style="--object-fit: ${this.fit}">${Af(this.renderSlide())}</div> `;
25352
25358
  }
25353
25359
  renderSlide() {
25354
25360
  switch (this.type) {
@@ -25369,8 +25375,8 @@ var Xh = (e, t = {
25369
25375
  }
25370
25376
  }
25371
25377
  });
25372
- V([W({ type: String })], Zh.prototype, "type", void 0), V([W({ type: String })], Zh.prototype, "src", void 0), V([W({ type: String })], Zh.prototype, "alt", void 0), V([W({ type: Boolean })], Zh.prototype, "controls", void 0), V([W({ type: Boolean })], Zh.prototype, "autoplay", void 0), V([W({ type: Boolean })], Zh.prototype, "loop", void 0), V([W({ type: Boolean })], Zh.prototype, "muted", void 0), V([W({ type: String })], Zh.prototype, "fit", void 0), Zh = V([H("schmancy-slide")], Zh);
25373
- var Qh = class extends K {
25378
+ V([W({ type: String })], Qh.prototype, "type", void 0), V([W({ type: String })], Qh.prototype, "src", void 0), V([W({ type: String })], Qh.prototype, "alt", void 0), V([W({ type: Boolean })], Qh.prototype, "controls", void 0), V([W({ type: Boolean })], Qh.prototype, "autoplay", void 0), V([W({ type: Boolean })], Qh.prototype, "loop", void 0), V([W({ type: Boolean })], Qh.prototype, "muted", void 0), V([W({ type: String })], Qh.prototype, "fit", void 0), Qh = V([H("schmancy-slide")], Qh);
25379
+ var $h = class extends K {
25374
25380
  constructor(...e) {
25375
25381
  super(...e), this.selectedIndex = 0, this.showArrows = !0;
25376
25382
  }
@@ -25468,8 +25474,8 @@ var Qh = class extends K {
25468
25474
  `;
25469
25475
  }
25470
25476
  };
25471
- V([G()], Qh.prototype, "selectedIndex", void 0), V([W({ type: Boolean })], Qh.prototype, "showArrows", void 0), V([zr("#slider")], Qh.prototype, "slider", void 0), V([zr("slot")], Qh.prototype, "defaultSlot", void 0), Qh = V([H("schmancy-slider")], Qh);
25472
- var $h = class {
25477
+ V([G()], $h.prototype, "selectedIndex", void 0), V([W({ type: Boolean })], $h.prototype, "showArrows", void 0), V([zr("#slider")], $h.prototype, "slider", void 0), V([zr("slot")], $h.prototype, "defaultSlot", void 0), $h = V([H("schmancy-slider")], $h);
25478
+ var eg = class {
25473
25479
  constructor() {
25474
25480
  this.stepSubject = new T(1), this.lockBack = !1;
25475
25481
  }
@@ -25482,7 +25488,7 @@ var $h = class {
25482
25488
  setStep(e) {
25483
25489
  this.stepSubject.next(e);
25484
25490
  }
25485
- }, eg = Symbol("SchmancyStepsContext"), tg = class extends K {
25491
+ }, tg = Symbol("SchmancyStepsContext"), ng = class extends K {
25486
25492
  constructor(...e) {
25487
25493
  super(...e), this.position = 1, this.label = "", this.description = "", this.completed = !1, this.currentStep = 1, this.hasContent = !1;
25488
25494
  }
@@ -25625,20 +25631,20 @@ var $h = class {
25625
25631
  `;
25626
25632
  }
25627
25633
  };
25628
- V([W({ type: Number })], tg.prototype, "position", void 0), V([W({ type: String })], tg.prototype, "label", void 0), V([W({ type: String })], tg.prototype, "description", void 0), V([W({
25634
+ V([W({ type: Number })], ng.prototype, "position", void 0), V([W({ type: String })], ng.prototype, "label", void 0), V([W({ type: String })], ng.prototype, "description", void 0), V([W({
25629
25635
  type: Boolean,
25630
25636
  reflect: !0
25631
- })], tg.prototype, "completed", void 0), V([fr({ context: eg })], tg.prototype, "steps", void 0), V([G()], tg.prototype, "currentStep", void 0), V([G()], tg.prototype, "hasContent", void 0), V([function(e) {
25637
+ })], ng.prototype, "completed", void 0), V([fr({ context: tg })], ng.prototype, "steps", void 0), V([G()], ng.prototype, "currentStep", void 0), V([G()], ng.prototype, "hasContent", void 0), V([function(e) {
25632
25638
  return (t, n) => {
25633
25639
  let { slot: r } = e ?? {}, i = "slot" + (r ? `[name=${r}]` : ":not([name])");
25634
25640
  return Rr(t, n, { get() {
25635
25641
  return (this.renderRoot?.querySelector(i))?.assignedNodes(e) ?? [];
25636
25642
  } });
25637
25643
  };
25638
- }({ flatten: !0 })], tg.prototype, "assignedNodes", void 0), tg = V([H("schmancy-step")], tg);
25639
- var ng = class extends K {
25644
+ }({ flatten: !0 })], ng.prototype, "assignedNodes", void 0), ng = V([H("schmancy-step")], ng);
25645
+ var rg = class extends K {
25640
25646
  constructor(...e) {
25641
- super(...e), this.controller = new $h(), this.stepsController = this.controller, this.handleChange = (e) => {
25647
+ super(...e), this.controller = new eg(), this.stepsController = this.controller, this.handleChange = (e) => {
25642
25648
  e.target !== this && e.stopPropagation();
25643
25649
  };
25644
25650
  }
@@ -25676,14 +25682,14 @@ var ng = class extends K {
25676
25682
  `;
25677
25683
  }
25678
25684
  };
25679
- V([dr({ context: eg })], ng.prototype, "stepsController", void 0), V([W({
25685
+ V([dr({ context: tg })], rg.prototype, "stepsController", void 0), V([W({
25680
25686
  type: Number,
25681
25687
  reflect: !0
25682
- })], ng.prototype, "value", null), V([W({
25688
+ })], rg.prototype, "value", null), V([W({
25683
25689
  type: Boolean,
25684
25690
  reflect: !0
25685
- })], ng.prototype, "lockBack", null), ng = V([H("schmancy-steps")], ng);
25686
- var rg = class extends K {
25691
+ })], rg.prototype, "lockBack", null), rg = V([H("schmancy-steps")], rg);
25692
+ var ig = class extends K {
25687
25693
  constructor(...e) {
25688
25694
  super(...e), this.columns = [], this.cols = this.columns.map(() => "1fr").join(" ");
25689
25695
  }
@@ -25717,29 +25723,29 @@ var rg = class extends K {
25717
25723
  V([W({
25718
25724
  type: Array,
25719
25725
  attribute: !1
25720
- })], rg.prototype, "columns", void 0), V([W({
25726
+ })], ig.prototype, "columns", void 0), V([W({
25721
25727
  type: Object,
25722
25728
  attribute: !1
25723
- })], rg.prototype, "item", void 0), V([W({ type: String })], rg.prototype, "cols", void 0), rg = V([H("schmancy-table-row")], rg);
25724
- var ig = class e extends Event {
25729
+ })], ig.prototype, "item", void 0), V([W({ type: String })], ig.prototype, "cols", void 0), ig = V([H("schmancy-table-row")], ig);
25730
+ var ag = class e extends Event {
25725
25731
  constructor(t) {
25726
25732
  super(e.eventName, { bubbles: !1 }), this.first = t.first, this.last = t.last;
25727
25733
  }
25728
25734
  };
25729
- ig.eventName = "rangeChanged";
25730
- var ag = class e extends Event {
25735
+ ag.eventName = "rangeChanged";
25736
+ var og = class e extends Event {
25731
25737
  constructor(t) {
25732
25738
  super(e.eventName, { bubbles: !1 }), this.first = t.first, this.last = t.last;
25733
25739
  }
25734
25740
  };
25735
- ag.eventName = "visibilityChanged";
25736
- var og = class e extends Event {
25741
+ og.eventName = "visibilityChanged";
25742
+ var sg = class e extends Event {
25737
25743
  constructor() {
25738
25744
  super(e.eventName, { bubbles: !1 });
25739
25745
  }
25740
25746
  };
25741
- og.eventName = "unpinned";
25742
- var sg, cg = class {
25747
+ sg.eventName = "unpinned";
25748
+ var cg, lg = class {
25743
25749
  constructor(e) {
25744
25750
  this._element = null;
25745
25751
  let t = e ?? window;
@@ -25772,7 +25778,7 @@ var sg, cg = class {
25772
25778
  get maxScrollLeft() {
25773
25779
  return this.scrollWidth - this.viewportWidth;
25774
25780
  }
25775
- }, lg = class extends cg {
25781
+ }, ug = class extends lg {
25776
25782
  constructor(e, t) {
25777
25783
  super(t), this._clients = /* @__PURE__ */ new Set(), this._retarget = null, this._end = null, this.W = null, this.correctingScrollError = !1, this._checkForArrival = this._checkForArrival.bind(this), this._updateManagedScrollTo = this._updateManagedScrollTo.bind(this), this.scrollTo = this.scrollTo.bind(this), this.scrollBy = this.scrollBy.bind(this);
25778
25784
  let n = this._node;
@@ -25838,7 +25844,7 @@ var sg, cg = class {
25838
25844
  _attach(e) {
25839
25845
  this._clients.add(e), this._clients.size === 1 && (this._node.scrollTo = this.scrollTo, this._node.scrollBy = this.scrollBy, this._node.scroll = this.scrollTo, this._node.addEventListener("scroll", this._checkForArrival));
25840
25846
  }
25841
- }, ug = typeof window < "u" ? window.ResizeObserver : void 0, dg = Symbol("virtualizerRef"), fg = "virtualizer-sizer", pg = class {
25847
+ }, dg = typeof window < "u" ? window.ResizeObserver : void 0, fg = Symbol("virtualizerRef"), pg = "virtualizer-sizer", mg = class {
25842
25848
  constructor(e) {
25843
25849
  if (this._benchmarkStart = null, this._layout = null, this._clippingAncestors = [], this._scrollSize = null, this._scrollError = null, this._childrenPos = null, this._childMeasurements = null, this._toBeMeasured = /* @__PURE__ */ new Map(), this._rangeChanged = !0, this._itemsChanged = !0, this._visibilityChanged = !0, this._scrollerController = null, this._isScroller = !1, this._sizer = null, this._hostElementRO = null, this._childrenRO = null, this._mutationObserver = null, this._scrollEventListeners = [], this._scrollEventListenerOptions = { passive: !0 }, this._loadListener = this._childLoaded.bind(this), this._scrollIntoViewTarget = null, this._updateScrollIntoViewCoordinates = null, this._items = [], this._first = -1, this._last = -1, this._firstVisible = -1, this._lastVisible = -1, this._scheduled = /* @__PURE__ */ new WeakSet(), this._measureCallback = null, this._measureChildOverride = null, this._layoutCompletePromise = null, this._layoutCompleteResolver = null, this._layoutCompleteRejecter = null, this._pendingLayoutComplete = null, this._layoutInitialized = null, this._connected = !1, !e) throw Error("Virtualizer constructor requires a configuration object");
25844
25850
  if (!e.hostElement) throw Error("Virtualizer configuration requires the \"hostElement\" property");
@@ -25853,11 +25859,11 @@ var sg, cg = class {
25853
25859
  this._layoutInitialized = this._initLayout(t);
25854
25860
  }
25855
25861
  _initObservers() {
25856
- this._mutationObserver = new MutationObserver(this._finishDOMUpdate.bind(this)), this._hostElementRO = new ug(() => this._hostElementSizeChanged()), this._childrenRO = new ug(this._childrenSizeChanged.bind(this));
25862
+ this._mutationObserver = new MutationObserver(this._finishDOMUpdate.bind(this)), this._hostElementRO = new dg(() => this._hostElementSizeChanged()), this._childrenRO = new dg(this._childrenSizeChanged.bind(this));
25857
25863
  }
25858
25864
  _initHostElement(e) {
25859
25865
  let t = this._hostElement = e.hostElement;
25860
- this._applyVirtualizerStyles(), t[dg] = this;
25866
+ this._applyVirtualizerStyles(), t[fg] = this;
25861
25867
  }
25862
25868
  connected() {
25863
25869
  this._initObservers();
@@ -25865,15 +25871,15 @@ var sg, cg = class {
25865
25871
  this._clippingAncestors = function(e, t = !1) {
25866
25872
  let n = !1;
25867
25873
  return function(e, t = !1) {
25868
- let n = [], r = t ? e : hg(e);
25869
- for (; r !== null;) n.push(r), r = hg(r);
25874
+ let n = [], r = t ? e : gg(e);
25875
+ for (; r !== null;) n.push(r), r = gg(r);
25870
25876
  return n;
25871
25877
  }(e, t).filter((e) => {
25872
25878
  if (n) return !1;
25873
25879
  let t = getComputedStyle(e);
25874
25880
  return n = t.position === "fixed", t.overflow !== "visible";
25875
25881
  });
25876
- }(this._hostElement, e), this._scrollerController = new lg(this, this._clippingAncestors[0]), this._schedule(this._updateLayout), this._observeAndListen(), this._connected = !0;
25882
+ }(this._hostElement, e), this._scrollerController = new ug(this, this._clippingAncestors[0]), this._schedule(this._updateLayout), this._observeAndListen(), this._connected = !0;
25877
25883
  }
25878
25884
  _observeAndListen() {
25879
25885
  this._mutationObserver.observe(this._hostElement, { childList: !0 }), this._hostElementRO.observe(this._hostElement), this._scrollEventListeners.push(window), window.addEventListener("scroll", this, this._scrollEventListenerOptions), this._clippingAncestors.forEach((e) => {
@@ -25890,20 +25896,20 @@ var sg, cg = class {
25890
25896
  _getSizer() {
25891
25897
  let e = this._hostElement;
25892
25898
  if (!this._sizer) {
25893
- let t = e.querySelector(`[${fg}]`);
25894
- t || (t = document.createElement("div"), t.setAttribute(fg, ""), e.appendChild(t)), Object.assign(t.style, {
25899
+ let t = e.querySelector(`[${pg}]`);
25900
+ t || (t = document.createElement("div"), t.setAttribute(pg, ""), e.appendChild(t)), Object.assign(t.style, {
25895
25901
  position: "absolute",
25896
25902
  margin: "-2px 0 0 0",
25897
25903
  padding: 0,
25898
25904
  visibility: "hidden",
25899
25905
  fontSize: "2px"
25900
- }), t.textContent = "&nbsp;", t.setAttribute(fg, ""), this._sizer = t;
25906
+ }), t.textContent = "&nbsp;", t.setAttribute(pg, ""), this._sizer = t;
25901
25907
  }
25902
25908
  return this._sizer;
25903
25909
  }
25904
25910
  async updateLayoutConfig(e) {
25905
25911
  await this._layoutInitialized;
25906
- let t = e.type || sg;
25912
+ let t = e.type || cg;
25907
25913
  if (typeof t == "function" && this._layout instanceof t) {
25908
25914
  let t = { ...e };
25909
25915
  return delete t.type, this._layout.config = t, !0;
@@ -25917,7 +25923,7 @@ var sg, cg = class {
25917
25923
  let r = { ...e };
25918
25924
  delete r.type, t = r;
25919
25925
  } else t = e;
25920
- n === void 0 && (sg = n = (await import("./flow-CvG1fLW5.js")).FlowLayout), this._layout = new n((e) => this._handleLayoutMessage(e), t), this._layout.measureChildren && typeof this._layout.updateItemSizes == "function" && (typeof this._layout.measureChildren == "function" && (this._measureChildOverride = this._layout.measureChildren), this._measureCallback = this._layout.updateItemSizes.bind(this._layout)), this._layout.listenForChildLoadEvents && this._hostElement.addEventListener("load", this._loadListener, !0), this._schedule(this._updateLayout);
25926
+ n === void 0 && (cg = n = (await import("./flow-CvG1fLW5.js")).FlowLayout), this._layout = new n((e) => this._handleLayoutMessage(e), t), this._layout.measureChildren && typeof this._layout.updateItemSizes == "function" && (typeof this._layout.measureChildren == "function" && (this._measureChildOverride = this._layout.measureChildren), this._measureCallback = this._layout.updateItemSizes.bind(this._layout)), this._layout.listenForChildLoadEvents && this._hostElement.addEventListener("load", this._loadListener, !0), this._schedule(this._updateLayout);
25921
25927
  }
25922
25928
  startBenchmarking() {
25923
25929
  this._benchmarkStart === null && (this._benchmarkStart = window.performance.now());
@@ -25948,10 +25954,10 @@ var sg, cg = class {
25948
25954
  }, function(e) {
25949
25955
  let t = window.getComputedStyle(e);
25950
25956
  return {
25951
- marginTop: mg(t.marginTop),
25952
- marginRight: mg(t.marginRight),
25953
- marginBottom: mg(t.marginBottom),
25954
- marginLeft: mg(t.marginLeft)
25957
+ marginTop: hg(t.marginTop),
25958
+ marginRight: hg(t.marginRight),
25959
+ marginBottom: hg(t.marginBottom),
25960
+ marginLeft: hg(t.marginLeft)
25955
25961
  };
25956
25962
  }(e));
25957
25963
  }
@@ -25982,11 +25988,11 @@ var sg, cg = class {
25982
25988
  e.type === "scroll" && (e.currentTarget === window || this._clippingAncestors.includes(e.currentTarget)) && this._handleScrollEvent();
25983
25989
  }
25984
25990
  _handleLayoutMessage(e) {
25985
- e.type === "stateChanged" ? this._updateDOM(e) : e.type === "visibilityChanged" ? (this._firstVisible = e.firstVisible, this._lastVisible = e.lastVisible, this._notifyVisibility()) : e.type === "unpinned" && this._hostElement.dispatchEvent(new og());
25991
+ e.type === "stateChanged" ? this._updateDOM(e) : e.type === "visibilityChanged" ? (this._firstVisible = e.firstVisible, this._lastVisible = e.lastVisible, this._notifyVisibility()) : e.type === "unpinned" && this._hostElement.dispatchEvent(new sg());
25986
25992
  }
25987
25993
  get _children() {
25988
25994
  let e = [], t = this._hostElement.firstElementChild;
25989
- for (; t;) t.hasAttribute(fg) || e.push(t), t = t.nextElementSibling;
25995
+ for (; t;) t.hasAttribute(pg) || e.push(t), t = t.nextElementSibling;
25990
25996
  return e;
25991
25997
  }
25992
25998
  _updateView() {
@@ -26058,13 +26064,13 @@ var sg, cg = class {
26058
26064
  t && e?.has(t) && this._updateScrollIntoViewCoordinates(this._layout.getScrollIntoViewCoordinates(this._scrollIntoViewTarget));
26059
26065
  }
26060
26066
  _notifyRange() {
26061
- this._hostElement.dispatchEvent(new ig({
26067
+ this._hostElement.dispatchEvent(new ag({
26062
26068
  first: this._first,
26063
26069
  last: this._last
26064
26070
  }));
26065
26071
  }
26066
26072
  _notifyVisibility() {
26067
- this._hostElement.dispatchEvent(new ag({
26073
+ this._hostElement.dispatchEvent(new og({
26068
26074
  first: this._firstVisible,
26069
26075
  last: this._lastVisible
26070
26076
  }));
@@ -26098,19 +26104,19 @@ var sg, cg = class {
26098
26104
  this._scheduleLayoutComplete(), this._itemsChanged = !1, this._rangeChanged = !1;
26099
26105
  }
26100
26106
  };
26101
- function mg(e) {
26107
+ function hg(e) {
26102
26108
  let t = e ? parseFloat(e) : NaN;
26103
26109
  return Number.isNaN(t) ? 0 : t;
26104
26110
  }
26105
- function hg(e) {
26111
+ function gg(e) {
26106
26112
  if (e.assignedSlot !== null) return e.assignedSlot;
26107
26113
  if (e.parentElement !== null) return e.parentElement;
26108
26114
  let t = e.parentNode;
26109
26115
  return t && t.nodeType === Node.DOCUMENT_FRAGMENT_NODE && t.host || null;
26110
26116
  }
26111
- var gg = (e) => e, _g = (e, t) => L`${t}: ${JSON.stringify(e, null, 2)}`, vg = B(class extends Ui {
26117
+ var _g = (e) => e, vg = (e, t) => L`${t}: ${JSON.stringify(e, null, 2)}`, yg = B(class extends Ui {
26112
26118
  constructor(e) {
26113
- if (super(e), this._virtualizer = null, this._first = 0, this._last = -1, this._renderItem = (e, t) => _g(e, t + this._first), this._keyFunction = (e, t) => gg(e, this._first), this._items = [], e.type !== Zn) throw Error("The virtualize directive can only be used in child expressions");
26119
+ if (super(e), this._virtualizer = null, this._first = 0, this._last = -1, this._renderItem = (e, t) => vg(e, t + this._first), this._keyFunction = (e, t) => _g(e, this._first), this._items = [], e.type !== Zn) throw Error("The virtualize directive can only be used in child expressions");
26114
26120
  }
26115
26121
  render(e) {
26116
26122
  e && this._setFunctions(e);
@@ -26137,7 +26143,7 @@ var gg = (e) => e, _g = (e, t) => L`${t}: ${JSON.stringify(e, null, 2)}`, vg = B
26137
26143
  _makeVirtualizer(e, t) {
26138
26144
  this._virtualizer && this._virtualizer.disconnected();
26139
26145
  let { layout: n, scroller: r, items: i } = t;
26140
- this._virtualizer = new pg({
26146
+ this._virtualizer = new mg({
26141
26147
  hostElement: e,
26142
26148
  layout: n,
26143
26149
  scroller: r
@@ -26155,16 +26161,16 @@ var gg = (e) => e, _g = (e, t) => L`${t}: ${JSON.stringify(e, null, 2)}`, vg = B
26155
26161
  reconnected() {
26156
26162
  this._virtualizer?.connected();
26157
26163
  }
26158
- }), yg = class extends Hr {
26164
+ }), bg = class extends Hr {
26159
26165
  constructor() {
26160
- super(...arguments), this.items = [], this.renderItem = _g, this.keyFunction = gg, this.layout = {}, this.scroller = !1;
26166
+ super(...arguments), this.items = [], this.renderItem = vg, this.keyFunction = _g, this.layout = {}, this.scroller = !1;
26161
26167
  }
26162
26168
  createRenderRoot() {
26163
26169
  return this;
26164
26170
  }
26165
26171
  render() {
26166
26172
  let { items: e, renderItem: t, keyFunction: n, layout: r, scroller: i } = this;
26167
- return L`${vg({
26173
+ return L`${yg({
26168
26174
  items: e,
26169
26175
  renderItem: t,
26170
26176
  keyFunction: n,
@@ -26173,20 +26179,20 @@ var gg = (e) => e, _g = (e, t) => L`${t}: ${JSON.stringify(e, null, 2)}`, vg = B
26173
26179
  })}`;
26174
26180
  }
26175
26181
  element(e) {
26176
- return this[dg]?.element(e);
26182
+ return this[fg]?.element(e);
26177
26183
  }
26178
26184
  get layoutComplete() {
26179
- return this[dg]?.layoutComplete;
26185
+ return this[fg]?.layoutComplete;
26180
26186
  }
26181
26187
  scrollToIndex(e, t = "start") {
26182
26188
  this.element(e)?.scrollIntoView({ block: t });
26183
26189
  }
26184
26190
  };
26185
- u([W({ attribute: !1 })], yg.prototype, "items", void 0), u([W()], yg.prototype, "renderItem", void 0), u([W()], yg.prototype, "keyFunction", void 0), u([W({ attribute: !1 })], yg.prototype, "layout", void 0), u([W({
26191
+ u([W({ attribute: !1 })], bg.prototype, "items", void 0), u([W()], bg.prototype, "renderItem", void 0), u([W()], bg.prototype, "keyFunction", void 0), u([W({ attribute: !1 })], bg.prototype, "layout", void 0), u([W({
26186
26192
  reflect: !0,
26187
26193
  type: Boolean
26188
- })], yg.prototype, "scroller", void 0), customElements.define("lit-virtualizer", yg);
26189
- var bg = class extends K {
26194
+ })], bg.prototype, "scroller", void 0), customElements.define("lit-virtualizer", bg);
26195
+ var xg = class extends K {
26190
26196
  constructor() {
26191
26197
  super(), this.columns = [], this.data = [], this.keyField = "id", this.cols = "1fr", this.sortable = !1, this.sortColumn = null, this.sortDirection = null, this.filteredData = [], this.filteredData = this.data;
26192
26198
  }
@@ -26306,11 +26312,11 @@ var bg = class extends K {
26306
26312
  V([W({
26307
26313
  type: Array,
26308
26314
  attribute: !1
26309
- })], bg.prototype, "columns", void 0), V([W({
26315
+ })], xg.prototype, "columns", void 0), V([W({
26310
26316
  type: Array,
26311
26317
  attribute: !1
26312
- })], bg.prototype, "data", void 0), V([W({ type: String })], bg.prototype, "keyField", void 0), V([W({ type: String })], bg.prototype, "cols", void 0), V([W({ type: Boolean })], bg.prototype, "sortable", void 0), V([G()], bg.prototype, "sortColumn", void 0), V([G()], bg.prototype, "sortDirection", void 0), V([G()], bg.prototype, "filteredData", void 0), bg = V([H("schmancy-table")], bg);
26313
- var xg = "tabs", Sg = class extends K {
26318
+ })], xg.prototype, "data", void 0), V([W({ type: String })], xg.prototype, "keyField", void 0), V([W({ type: String })], xg.prototype, "cols", void 0), V([W({ type: Boolean })], xg.prototype, "sortable", void 0), V([G()], xg.prototype, "sortColumn", void 0), V([G()], xg.prototype, "sortDirection", void 0), V([G()], xg.prototype, "filteredData", void 0), xg = V([H("schmancy-table")], xg);
26319
+ var Sg = "tabs", Cg = class extends K {
26314
26320
  updated(e) {
26315
26321
  e.has("active") && this.active && requestAnimationFrame(() => {
26316
26322
  window.dispatchEvent(new Event("resize"));
@@ -26323,17 +26329,17 @@ var xg = "tabs", Sg = class extends K {
26323
26329
  V([W({
26324
26330
  type: String,
26325
26331
  reflect: !0
26326
- })], Sg.prototype, "label", void 0), V([W({
26332
+ })], Cg.prototype, "label", void 0), V([W({
26327
26333
  type: String,
26328
26334
  reflect: !0
26329
- })], Sg.prototype, "value", void 0), V([W({
26335
+ })], Cg.prototype, "value", void 0), V([W({
26330
26336
  type: Boolean,
26331
26337
  reflect: !0
26332
- })], Sg.prototype, "active", void 0), V([fr({
26333
- context: xg,
26338
+ })], Cg.prototype, "active", void 0), V([fr({
26339
+ context: Sg,
26334
26340
  subscribe: !0
26335
- }), G()], Sg.prototype, "mode", void 0), Sg = V([H("schmancy-tab")], Sg);
26336
- var Cg = class extends K {
26341
+ }), G()], Cg.prototype, "mode", void 0), Cg = V([H("schmancy-tab")], Cg);
26342
+ var wg = class extends K {
26337
26343
  constructor(...e) {
26338
26344
  super(...e), this.mode = "tabs", this.rounded = !0, this.tabs = [];
26339
26345
  }
@@ -26425,14 +26431,14 @@ var Cg = class extends K {
26425
26431
  `;
26426
26432
  }
26427
26433
  };
26428
- V([dr({ context: xg }), W({ type: String })], Cg.prototype, "mode", void 0), V([W({ type: Boolean })], Cg.prototype, "rounded", void 0), V([W({
26434
+ V([dr({ context: Sg }), W({ type: String })], wg.prototype, "mode", void 0), V([W({ type: Boolean })], wg.prototype, "rounded", void 0), V([W({
26429
26435
  type: String,
26430
26436
  reflect: !0
26431
- })], Cg.prototype, "activeTab", void 0), V([Br({ flatten: !0 })], Cg.prototype, "tabsElements", void 0), V([zr("#tabsNavigation")], Cg.prototype, "navElement", void 0), V([zr("#tabsContent")], Cg.prototype, "tabsContent", void 0), V([G()], Cg.prototype, "tabs", void 0), Cg = V([H("schmancy-tab-group")], Cg);
26432
- var wg = "whereAreYouRicky", Tg = "hereMorty", Eg = new class {
26437
+ })], wg.prototype, "activeTab", void 0), V([Br({ flatten: !0 })], wg.prototype, "tabsElements", void 0), V([zr("#tabsNavigation")], wg.prototype, "navElement", void 0), V([zr("#tabsContent")], wg.prototype, "tabsContent", void 0), V([G()], wg.prototype, "tabs", void 0), wg = V([H("schmancy-tab-group")], wg);
26438
+ var Tg = "whereAreYouRicky", Eg = "hereMorty", Dg = new class {
26433
26439
  constructor() {
26434
- this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new w(), this.find = (e) => Vt([O(window, Tg).pipe(j((t) => !!t.detail.component.uuid && !!e.id && t.detail.component.id === e.id && t.detail.component.uuid !== e.uuid), D((e) => e.detail.component), M(1)), dt(e).pipe(I(() => {
26435
- window.dispatchEvent(new CustomEvent(wg, { detail: {
26440
+ this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new w(), this.find = (e) => Vt([O(window, Eg).pipe(j((t) => !!t.detail.component.uuid && !!e.id && t.detail.component.id === e.id && t.detail.component.uuid !== e.uuid), D((e) => e.detail.component), M(1)), dt(e).pipe(I(() => {
26441
+ window.dispatchEvent(new CustomEvent(Tg, { detail: {
26436
26442
  id: e.id,
26437
26443
  callerID: e.uuid
26438
26444
  } }));
@@ -26455,10 +26461,10 @@ var wg = "whereAreYouRicky", Tg = "hereMorty", Eg = new class {
26455
26461
  }))), Gt((e) => Vt(e.map((e) => dt(this.flip(e)))))).subscribe();
26456
26462
  }
26457
26463
  }();
26458
- function Dg(e) {
26464
+ function Og(e) {
26459
26465
  return It(50).pipe(D(() => e.getBoundingClientRect()), N((e, t) => e.width === t.width && e.height === t.height && e.top === t.top && e.right === t.right && e.bottom === t.bottom && e.left === t.left), M(1));
26460
26466
  }
26461
- var Og = class extends K {
26467
+ var kg = class extends K {
26462
26468
  constructor(...e) {
26463
26469
  super(...e), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
26464
26470
  }
@@ -26476,8 +26482,8 @@ var Og = class extends K {
26476
26482
  bubbles: !0,
26477
26483
  composed: !0
26478
26484
  }));
26479
- } })), O(window, wg).pipe(I({ next: (e) => {
26480
- e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(Tg, {
26485
+ } })), O(window, Tg).pipe(I({ next: (e) => {
26486
+ e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(Eg, {
26481
26487
  detail: { component: this },
26482
26488
  bubbles: !0,
26483
26489
  composed: !0
@@ -26485,10 +26491,10 @@ var Og = class extends K {
26485
26491
  } }))).pipe(F(this.disconnecting)).subscribe();
26486
26492
  }
26487
26493
  async firstUpdated() {
26488
- dt(Eg.activeTeleportations.get(this.id)).pipe(j((e) => !!e), F(this.disconnecting), Qt()).subscribe({
26494
+ dt(Dg.activeTeleportations.get(this.id)).pipe(j((e) => !!e), F(this.disconnecting), Qt()).subscribe({
26489
26495
  next: (e) => {
26490
- this.style.setProperty("visibility", "hidden"), Dg(this).pipe(F(this.disconnecting)).subscribe({ next: (t) => {
26491
- Eg.activeTeleportations.set(this.id, t), Eg.flipRequests.next({
26496
+ this.style.setProperty("visibility", "hidden"), Og(this).pipe(F(this.disconnecting)).subscribe({ next: (t) => {
26497
+ Dg.activeTeleportations.set(this.id, t), Dg.flipRequests.next({
26492
26498
  from: { rect: e },
26493
26499
  to: {
26494
26500
  rect: t,
@@ -26499,8 +26505,8 @@ var Og = class extends K {
26499
26505
  } });
26500
26506
  },
26501
26507
  error: () => {
26502
- this.style.setProperty("visibility", "visible"), Dg(this).pipe(F(this.disconnecting)).subscribe({ next: (e) => {
26503
- Eg.activeTeleportations.set(this.id, e);
26508
+ this.style.setProperty("visibility", "visible"), Og(this).pipe(F(this.disconnecting)).subscribe({ next: (e) => {
26509
+ Dg.activeTeleportations.set(this.id, e);
26504
26510
  } });
26505
26511
  },
26506
26512
  complete: () => {}
@@ -26513,7 +26519,7 @@ var Og = class extends K {
26513
26519
  function $(e) {
26514
26520
  return o(e);
26515
26521
  }
26516
- function kg(e) {
26522
+ function Ag(e) {
26517
26523
  let t = r.fromInt(e), n = i.fromHueAndChroma(t.hue, t.chroma);
26518
26524
  return {
26519
26525
  0: $(n.tone(0)),
@@ -26531,8 +26537,8 @@ function kg(e) {
26531
26537
  100: $(n.tone(100))
26532
26538
  };
26533
26539
  }
26534
- function Ag(e, t = !1, n) {
26535
- let r = t ? e.schemes.dark : e.schemes.light, o = i.fromHueAndChroma(e.palettes.primary.hue, e.palettes.primary.chroma), s = i.fromHueAndChroma(e.palettes.secondary.hue, e.palettes.secondary.chroma), c = i.fromHueAndChroma(e.palettes.tertiary.hue, e.palettes.tertiary.chroma), l = i.fromHueAndChroma(e.palettes.neutral.hue, e.palettes.neutral.chroma), u = i.fromHueAndChroma(e.palettes.neutralVariant.hue, e.palettes.neutralVariant.chroma), d = i.fromHueAndChroma(e.palettes.error.hue, e.palettes.error.chroma), f = kg(n?.success ? n.success : a("#00C853")), p = kg(n?.warning ? n.warning : a("#FFCA28")), m = kg(n?.info ? n.info : a("#2979FF")), h = {
26540
+ function jg(e, t = !1, n) {
26541
+ let r = t ? e.schemes.dark : e.schemes.light, o = i.fromHueAndChroma(e.palettes.primary.hue, e.palettes.primary.chroma), s = i.fromHueAndChroma(e.palettes.secondary.hue, e.palettes.secondary.chroma), c = i.fromHueAndChroma(e.palettes.tertiary.hue, e.palettes.tertiary.chroma), l = i.fromHueAndChroma(e.palettes.neutral.hue, e.palettes.neutral.chroma), u = i.fromHueAndChroma(e.palettes.neutralVariant.hue, e.palettes.neutralVariant.chroma), d = i.fromHueAndChroma(e.palettes.error.hue, e.palettes.error.chroma), f = Ag(n?.success ? n.success : a("#00C853")), p = Ag(n?.warning ? n.warning : a("#FFCA28")), m = Ag(n?.info ? n.info : a("#2979FF")), h = {
26536
26542
  primary: t ? 80 : 40,
26537
26543
  onPrimary: t ? 20 : 100,
26538
26544
  primaryContainer: t ? 30 : 90,
@@ -26762,16 +26768,16 @@ function Ag(e, t = !1, n) {
26762
26768
  outline: { 1: "1px" }
26763
26769
  },
26764
26770
  ref: { palette: {
26765
- primary: kg(o.tone(40)),
26766
- secondary: kg(s.tone(40)),
26767
- tertiary: kg(c.tone(40)),
26768
- neutral: kg(l.tone(40)),
26769
- neutralVariant: kg(u.tone(40)),
26770
- error: kg(d.tone(40))
26771
+ primary: Ag(o.tone(40)),
26772
+ secondary: Ag(s.tone(40)),
26773
+ tertiary: Ag(c.tone(40)),
26774
+ neutral: Ag(l.tone(40)),
26775
+ neutralVariant: Ag(u.tone(40)),
26776
+ error: Ag(d.tone(40))
26771
26777
  } }
26772
26778
  };
26773
26779
  }
26774
- function jg(e, t) {
26780
+ function Mg(e, t) {
26775
26781
  let n = i.fromHueAndChroma(e, t);
26776
26782
  return {
26777
26783
  cLowest: n.tone(100),
@@ -26784,7 +26790,7 @@ function jg(e, t) {
26784
26790
  sBright: n.tone(100)
26785
26791
  };
26786
26792
  }
26787
- function Mg(e, t) {
26793
+ function Ng(e, t) {
26788
26794
  let n = i.fromHueAndChroma(e, t);
26789
26795
  return {
26790
26796
  cLowest: n.tone(4),
@@ -26800,26 +26806,26 @@ function Mg(e, t) {
26800
26806
  V([W({
26801
26807
  type: Number,
26802
26808
  reflect: !0
26803
- })], Og.prototype, "uuid", void 0), V([W({ type: String })], Og.prototype, "id", void 0), V([W({ type: Number })], Og.prototype, "delay", void 0), Og = V([H("schmancy-teleport")], Og);
26804
- var Ng = yr(":host,:root{--md-ref-typeface-brand:var(--schmancy-font-family,sans-serif);--md-ref-typeface-plain:var(--schmancy-font-family,sans-serif);--md-sys-color-primary:var(--schmancy-sys-color-primary-default);--md-sys-color-secondary:var(--schmancy-sys-color-secondary-default);--default-font-family:var(--schmancy-font-family);--border-style:solid;--spacing:.25rem;--color-scrim:var(--schmancy-sys-color-scrim);--color-shadow:var(--schmancy-sys-color-shadow);--color-outline:var(--schmancy-sys-color-outline);--color-outlineVariant:var(--schmancy-sys-color-outlineVariant);--color-outline-variant:var(--schmancy-sys-color-outlineVariant);--color-surface-default:var(--schmancy-sys-color-surface-default);--color-surface-dim:var(--schmancy-sys-color-surface-dim);--color-surface-bright:var(--schmancy-sys-color-surface-bright);--color-surface-container:var(--schmancy-sys-color-surface-container);--color-surface-low:var(--schmancy-sys-color-surface-low);--color-surface-high:var(--schmancy-sys-color-surface-high);--color-surface-highest:var(--schmancy-sys-color-surface-highest);--color-surface-lowest:var(--schmancy-sys-color-surface-lowest);--color-surface-containerLow:var(--schmancy-sys-color-surface-containerLow);--color-surface-containerHigh:var(--schmancy-sys-color-surface-containerHigh);--color-surface-containerLowest:var(--schmancy-sys-color-surface-containerLowest);--color-surface-containerHighest:var(--schmancy-sys-color-surface-containerHighest);--color-surface-on:var(--schmancy-sys-color-surface-on);--color-surface-onVariant:var(--schmancy-sys-color-surface-onVariant);--color-surface-on-variant:var(--schmancy-sys-color-surface-onVariant);--color-surface-tint:var(--schmancy-sys-color-surface-tint);--color-surface-inverse:var(--schmancy-sys-color-inverse-surface);--color-surface-inverseOn:var(--schmancy-sys-color-inverse-onSurface);--color-inverse-surface:var(--schmancy-sys-color-inverse-surface);--color-inverse-on-surface:var(--schmancy-sys-color-inverse-onSurface);--color-primary-default:var(--schmancy-sys-color-primary-default);--color-primary-on:var(--schmancy-sys-color-primary-on);--color-primary-container:var(--schmancy-sys-color-primary-container);--color-primary-onContainer:var(--schmancy-sys-color-primary-onContainer);--color-primary-on-container:var(--schmancy-sys-color-primary-onContainer);--color-primary-fixed:var(--schmancy-sys-color-primary-fixed);--color-primary-fixedDim:var(--schmancy-sys-color-primary-fixedDim);--color-primary-fixed-dim:var(--schmancy-sys-color-primary-fixedDim);--color-primary-onFixed:var(--schmancy-sys-color-primary-onFixed);--color-primary-on-fixed:var(--schmancy-sys-color-primary-onFixed);--color-primary-onFixedVariant:var(--schmancy-sys-color-primary-onFixedVariant);--color-primary-on-fixed-variant:var(--schmancy-sys-color-primary-onFixedVariant);--color-primary-inverse:var(--schmancy-sys-color-inverse-primary);--color-inverse-primary:var(--schmancy-sys-color-inverse-primary);--color-secondary-default:var(--schmancy-sys-color-secondary-default);--color-secondary-on:var(--schmancy-sys-color-secondary-on);--color-secondary-container:var(--schmancy-sys-color-secondary-container);--color-secondary-onContainer:var(--schmancy-sys-color-secondary-onContainer);--color-secondary-on-container:var(--schmancy-sys-color-secondary-onContainer);--color-secondary-fixed:var(--schmancy-sys-color-secondary-fixed);--color-secondary-fixedDim:var(--schmancy-sys-color-secondary-fixedDim);--color-secondary-fixed-dim:var(--schmancy-sys-color-secondary-fixedDim);--color-secondary-onFixed:var(--schmancy-sys-color-secondary-onFixed);--color-secondary-on-fixed:var(--schmancy-sys-color-secondary-onFixed);--color-secondary-onFixedVariant:var(--schmancy-sys-color-secondary-onFixedVariant);--color-secondary-on-fixed-variant:var(--schmancy-sys-color-secondary-onFixedVariant);--color-tertiary-default:var(--schmancy-sys-color-tertiary-default);--color-tertiary-on:var(--schmancy-sys-color-tertiary-on);--color-tertiary-container:var(--schmancy-sys-color-tertiary-container);--color-tertiary-onContainer:var(--schmancy-sys-color-tertiary-onContainer);--color-tertiary-on-container:var(--schmancy-sys-color-tertiary-onContainer);--color-tertiary-fixed:var(--schmancy-sys-color-tertiary-fixed);--color-tertiary-fixedDim:var(--schmancy-sys-color-tertiary-fixedDim);--color-tertiary-fixed-dim:var(--schmancy-sys-color-tertiary-fixedDim);--color-tertiary-onFixed:var(--schmancy-sys-color-tertiary-onFixed);--color-tertiary-on-fixed:var(--schmancy-sys-color-tertiary-onFixed);--color-tertiary-onFixedVariant:var(--schmancy-sys-color-tertiary-onFixedVariant);--color-tertiary-on-fixed-variant:var(--schmancy-sys-color-tertiary-onFixedVariant);--color-error-default:var(--schmancy-sys-color-error-default);--color-error-on:var(--schmancy-sys-color-error-on);--color-error-container:var(--schmancy-sys-color-error-container);--color-error-onContainer:var(--schmancy-sys-color-error-onContainer);--color-error-on-container:var(--schmancy-sys-color-error-onContainer);--color-success-default:var(--schmancy-sys-color-success-default);--color-success-on:var(--schmancy-sys-color-success-on);--color-success-container:var(--schmancy-sys-color-success-container);--color-success-onContainer:var(--schmancy-sys-color-success-onContainer);--color-success-on-container:var(--schmancy-sys-color-success-onContainer);--color-warning-default:var(--schmancy-sys-color-warning-default);--color-warning-on:var(--schmancy-sys-color-warning-on);--color-warning-container:var(--schmancy-sys-color-warning-container);--color-warning-onContainer:var(--schmancy-sys-color-warning-onContainer);--color-warning-on-container:var(--schmancy-sys-color-warning-onContainer);--color-info-default:var(--schmancy-sys-color-info-default);--color-info-on:var(--schmancy-sys-color-info-on);--color-info-container:var(--schmancy-sys-color-info-container);--color-info-onContainer:var(--schmancy-sys-color-info-onContainer);--color-info-on-container:var(--schmancy-sys-color-info-onContainer);--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--shadow-2xl:var(--schmancy-sys-elevation-5);--outline-1:var(--schmancy-sys-outline-1);--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-serif:ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-orange-700:oklch(55.3% .195 38.402);--color-orange-800:oklch(47% .157 37.304);--color-orange-900:oklch(40.8% .123 38.172);--color-orange-950:oklch(26.6% .079 36.259);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-amber-950:oklch(27.9% .077 45.635);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-900:oklch(42.1% .095 57.708);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-50:oklch(98.6% .031 120.757);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-900:oklch(40.5% .101 131.063);--color-lime-950:oklch(27.4% .072 132.109);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-green-900:oklch(39.3% .095 152.535);--color-green-950:oklch(26.6% .065 152.934);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-200:oklch(91% .096 180.426);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-teal-600:oklch(60% .118 184.704);--color-teal-700:oklch(51.1% .096 186.391);--color-teal-800:oklch(43.7% .078 188.216);--color-teal-900:oklch(38.6% .063 188.416);--color-teal-950:oklch(27.7% .046 192.524);--color-cyan-50:oklch(98.4% .019 200.873);--color-cyan-100:oklch(95.6% .045 203.388);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-900:oklch(39.8% .07 227.392);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-900:oklch(35.9% .144 278.697);--color-indigo-950:oklch(25.7% .09 281.288);--color-violet-50:oklch(96.9% .016 293.756);--color-violet-100:oklch(94.3% .029 294.588);--color-violet-200:oklch(89.4% .057 293.283);--color-violet-300:oklch(81.1% .111 293.571);--color-violet-400:oklch(70.2% .183 293.541);--color-violet-500:oklch(60.6% .25 292.717);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-700:oklch(49.1% .27 292.581);--color-violet-800:oklch(43.2% .232 292.759);--color-violet-900:oklch(38% .189 293.745);--color-violet-950:oklch(28.3% .141 291.089);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-fuchsia-50:oklch(97.7% .017 320.058);--color-fuchsia-100:oklch(95.2% .037 318.852);--color-fuchsia-200:oklch(90.3% .076 319.62);--color-fuchsia-300:oklch(83.3% .145 321.434);--color-fuchsia-400:oklch(74% .238 322.16);--color-fuchsia-500:oklch(66.7% .295 322.15);--color-fuchsia-600:oklch(59.1% .293 322.896);--color-fuchsia-700:oklch(51.8% .253 323.949);--color-fuchsia-800:oklch(45.2% .211 324.591);--color-fuchsia-900:oklch(40.1% .17 325.612);--color-fuchsia-950:oklch(29.3% .136 325.661);--color-pink-50:oklch(97.1% .014 343.198);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-600:oklch(59.2% .249 .584);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-800:oklch(45.9% .187 3.815);--color-pink-900:oklch(40.8% .153 2.432);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-700:oklch(51.4% .222 16.935);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-900:oklch(41% .159 10.272);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-zinc-50:oklch(98.5% 0 0);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-800:oklch(26.8% .007 34.298);--color-stone-900:oklch(21.6% .006 56.043);--color-stone-950:oklch(14.7% .004 49.25);--color-black:#000;--color-white:#fff;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--tracking-eyebrow:.18em;--tracking-label:.14em;--leading-display:.95;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow-smxs:0 1px #0000000d;--shadow-smxl:0 25px 50px -12px #00000040;--inset-shadow-smxs:inset 0 1px #0000000d;--inset-shadow-xs:inset 0 1px 1px #0000000d;--inset-shadow-sm:inset 0 2px 4px #0000000d;--drop-shadow-xs:0 1px 1px #0000000d;--drop-shadow-sm:0 1px 2px #00000026;--drop-shadow-md:0 3px 3px #0000001f;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-smxl:0 25px 25px #00000026;--blur-xs:4px;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--aspect-video:16 / 9;--aspect-a4:210 / 297;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--animate-float-1:float-drift 20s ease-in-out infinite;--animate-float-2:float-drift-alt 25s ease-in-out infinite;--animate-float-3:float-drift 30s ease-in-out infinite reverse;--animate-pulse-glow:pulse-glow 8s ease-in-out infinite;--animate-spin-slow:slow-spin 120s linear infinite;--animate-aurora-drift:aurora-drift 30s ease-in-out infinite;--animate-scene-enter:scene-enter 1.2s cubic-bezier(.16, 1, .3, 1) forwards;--md-sys-color-scrim:var(--schmancy-sys-color-scrim);--md-sys-color-outline:var(--schmancy-sys-color-outline);--md-sys-color-outlineVariant:var(--schmancy-sys-color-outlineVariant);--md-sys-color-surface-default:var(--schmancy-sys-color-surface-default);--md-sys-color-surface-dim:var(--schmancy-sys-color-surface-dim);--md-sys-color-surface-bright:var(--schmancy-sys-color-surface-bright);--md-sys-color-surface-container:var(--schmancy-sys-color-surface-container);--md-sys-color-surface-low:var(--schmancy-sys-color-surface-low);--md-sys-color-surface-high:var(--schmancy-sys-color-surface-high);--md-sys-color-surface-highest:var(--schmancy-sys-color-surface-highest);--md-sys-color-surface-lowest:var(--schmancy-sys-color-surface-lowest);--md-sys-color-surface-on:var(--schmancy-sys-color-surface-on);--md-sys-color-on-surface-variant:var(--schmancy-sys-color-surface-onVariant);--md-sys-color-on-secondary-container:var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-primary-default:var(--schmancy-sys-color-primary-default);--md-sys-color-primary-on:var(--schmancy-sys-color-primary-on);--md-sys-color-primary-container:var(--schmancy-sys-color-primary-container);--md-sys-color-primary-onContainer:var(--schmancy-sys-color-primary-onContainer);--md-sys-color-secondary-default:var(--schmancy-sys-color-secondary-default);--md-sys-color-secondary-on:var(--schmancy-sys-color-secondary-on);--md-sys-color-secondary-container:var(--schmancy-sys-color-secondary-container);--md-sys-color-secondary-onContainer:var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-tertiary-default:var(--schmancy-sys-color-tertiary-default);--md-sys-color-tertiary-on:var(--schmancy-sys-color-tertiary-on);--md-sys-color-tertiary-container:var(--schmancy-sys-color-tertiary-container);--md-sys-color-tertiary-onContainer:var(--schmancy-sys-color-tertiary-onContainer);--md-sys-color-error-default:var(--schmancy-sys-color-error-default);--md-sys-color-error-on:var(--schmancy-sys-color-error-on);--md-sys-color-error-container:var(--schmancy-sys-color-error-container);--md-sys-color-error-onContainer:var(--schmancy-sys-color-error-onContainer);--md-sys-color-success-default:var(--schmancy-sys-color-success-default);--md-sys-color-success-on:var(--schmancy-sys-color-success-on);--md-sys-color-success-container:var(--schmancy-sys-color-success-container);--md-sys-color-success-onContainer:var(--schmancy-sys-color-success-onContainer);--md-sys-color-warning-default:var(--schmancy-sys-color-warning-default);--md-sys-color-warning-on:var(--schmancy-sys-color-warning-on);--md-sys-color-warning-container:var(--schmancy-sys-color-warning-container);--md-sys-color-warning-onContainer:var(--schmancy-sys-color-warning-onContainer);--md-sys-color-info-default:var(--schmancy-sys-color-info-default);--md-sys-color-info-on:var(--schmancy-sys-color-info-on);--md-sys-color-info-container:var(--schmancy-sys-color-info-container);--md-sys-color-info-onContainer:var(--schmancy-sys-color-info-onContainer);--md-sys-elevation-0:var(--schmancy-sys-elevation-0);--md-sys-elevation-1:var(--schmancy-sys-elevation-1);--md-sys-elevation-2:var(--schmancy-sys-elevation-2);--md-sys-elevation-3:var(--schmancy-sys-elevation-3);--md-sys-elevation-4:var(--schmancy-sys-elevation-4);--md-sys-elevation-5:var(--schmancy-sys-elevation-5);--md-sys-outline-1:var(--schmancy-sys-outline-1);--md-filter-chip-label-text-color:var(--schmancy-sys-color-surface-on);--md-checkbox-focus-outline-color:var(--schmancy-sys-color-surface-on);--md-checkbox-focus-outline-width:2px;--md-checkbox-hover-outline-color:var(--schmancy-sys-color-surface-on);--md-checkbox-hover-outline-width:2px;--md-checkbox-pressed-outline-color:var(--schmancy-sys-color-surface-on);--md-checkbox-pressed-outline-width:2px;--md-checkbox-disabled-outline-color:var(--schmancy-sys-color-surface-on);--md-checkbox-disabled-outline-width:2px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@keyframes float-drift{0%,to{transform:translate(0)rotate(0)}25%{transform:translate(20px,-30px)rotate(2deg)}50%{transform:translate(-10px,-50px)rotate(-1deg)}75%{transform:translate(15px,-20px)rotate(1deg)}}@keyframes float-drift-alt{0%,to{transform:translate(0)rotate(0)}25%{transform:translate(-25px,20px)rotate(-2deg)}50%{transform:translate(15px,40px)rotate(1deg)}75%{transform:translate(-20px,15px)rotate(-1deg)}}@keyframes pulse-glow{0%,to{opacity:.15;transform:scale(1)}50%{opacity:.25;transform:scale(1.05)}}@keyframes slow-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes aurora-drift{0%,to{transform:translate(0)scale(1)rotate(0)}33%{transform:translate(3%,-5%)scale(1.05)rotate(1deg)}66%{transform:translate(-3%,3%)scale(.95)rotate(-1deg)}}@keyframes scene-enter{0%{opacity:0;filter:blur(12px);transform:scale(.92)}to{opacity:1;filter:blur();transform:scale(1)}}@keyframes star-appear{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes star-twinkle{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.92)}}"), Pg = window.matchMedia("(prefers-color-scheme: dark)"), Fg = new S((e) => {
26805
- let t = Pg.matches ? "dark" : "light";
26809
+ })], kg.prototype, "uuid", void 0), V([W({ type: String })], kg.prototype, "id", void 0), V([W({ type: Number })], kg.prototype, "delay", void 0), kg = V([H("schmancy-teleport")], kg);
26810
+ var Pg = yr(":host,:root{--md-ref-typeface-brand:var(--schmancy-font-family,sans-serif);--md-ref-typeface-plain:var(--schmancy-font-family,sans-serif);--md-sys-color-primary:var(--schmancy-sys-color-primary-default);--md-sys-color-secondary:var(--schmancy-sys-color-secondary-default);--default-font-family:var(--schmancy-font-family);--border-style:solid;--spacing:.25rem;--color-scrim:var(--schmancy-sys-color-scrim);--color-shadow:var(--schmancy-sys-color-shadow);--color-outline:var(--schmancy-sys-color-outline);--color-outlineVariant:var(--schmancy-sys-color-outlineVariant);--color-outline-variant:var(--schmancy-sys-color-outlineVariant);--color-surface-default:var(--schmancy-sys-color-surface-default);--color-surface-dim:var(--schmancy-sys-color-surface-dim);--color-surface-bright:var(--schmancy-sys-color-surface-bright);--color-surface-container:var(--schmancy-sys-color-surface-container);--color-surface-low:var(--schmancy-sys-color-surface-low);--color-surface-high:var(--schmancy-sys-color-surface-high);--color-surface-highest:var(--schmancy-sys-color-surface-highest);--color-surface-lowest:var(--schmancy-sys-color-surface-lowest);--color-surface-containerLow:var(--schmancy-sys-color-surface-containerLow);--color-surface-containerHigh:var(--schmancy-sys-color-surface-containerHigh);--color-surface-containerLowest:var(--schmancy-sys-color-surface-containerLowest);--color-surface-containerHighest:var(--schmancy-sys-color-surface-containerHighest);--color-surface-on:var(--schmancy-sys-color-surface-on);--color-surface-onVariant:var(--schmancy-sys-color-surface-onVariant);--color-surface-on-variant:var(--schmancy-sys-color-surface-onVariant);--color-surface-tint:var(--schmancy-sys-color-surface-tint);--color-surface-inverse:var(--schmancy-sys-color-inverse-surface);--color-surface-inverseOn:var(--schmancy-sys-color-inverse-onSurface);--color-inverse-surface:var(--schmancy-sys-color-inverse-surface);--color-inverse-on-surface:var(--schmancy-sys-color-inverse-onSurface);--color-primary-default:var(--schmancy-sys-color-primary-default);--color-primary-on:var(--schmancy-sys-color-primary-on);--color-primary-container:var(--schmancy-sys-color-primary-container);--color-primary-onContainer:var(--schmancy-sys-color-primary-onContainer);--color-primary-on-container:var(--schmancy-sys-color-primary-onContainer);--color-primary-fixed:var(--schmancy-sys-color-primary-fixed);--color-primary-fixedDim:var(--schmancy-sys-color-primary-fixedDim);--color-primary-fixed-dim:var(--schmancy-sys-color-primary-fixedDim);--color-primary-onFixed:var(--schmancy-sys-color-primary-onFixed);--color-primary-on-fixed:var(--schmancy-sys-color-primary-onFixed);--color-primary-onFixedVariant:var(--schmancy-sys-color-primary-onFixedVariant);--color-primary-on-fixed-variant:var(--schmancy-sys-color-primary-onFixedVariant);--color-primary-inverse:var(--schmancy-sys-color-inverse-primary);--color-inverse-primary:var(--schmancy-sys-color-inverse-primary);--color-secondary-default:var(--schmancy-sys-color-secondary-default);--color-secondary-on:var(--schmancy-sys-color-secondary-on);--color-secondary-container:var(--schmancy-sys-color-secondary-container);--color-secondary-onContainer:var(--schmancy-sys-color-secondary-onContainer);--color-secondary-on-container:var(--schmancy-sys-color-secondary-onContainer);--color-secondary-fixed:var(--schmancy-sys-color-secondary-fixed);--color-secondary-fixedDim:var(--schmancy-sys-color-secondary-fixedDim);--color-secondary-fixed-dim:var(--schmancy-sys-color-secondary-fixedDim);--color-secondary-onFixed:var(--schmancy-sys-color-secondary-onFixed);--color-secondary-on-fixed:var(--schmancy-sys-color-secondary-onFixed);--color-secondary-onFixedVariant:var(--schmancy-sys-color-secondary-onFixedVariant);--color-secondary-on-fixed-variant:var(--schmancy-sys-color-secondary-onFixedVariant);--color-tertiary-default:var(--schmancy-sys-color-tertiary-default);--color-tertiary-on:var(--schmancy-sys-color-tertiary-on);--color-tertiary-container:var(--schmancy-sys-color-tertiary-container);--color-tertiary-onContainer:var(--schmancy-sys-color-tertiary-onContainer);--color-tertiary-on-container:var(--schmancy-sys-color-tertiary-onContainer);--color-tertiary-fixed:var(--schmancy-sys-color-tertiary-fixed);--color-tertiary-fixedDim:var(--schmancy-sys-color-tertiary-fixedDim);--color-tertiary-fixed-dim:var(--schmancy-sys-color-tertiary-fixedDim);--color-tertiary-onFixed:var(--schmancy-sys-color-tertiary-onFixed);--color-tertiary-on-fixed:var(--schmancy-sys-color-tertiary-onFixed);--color-tertiary-onFixedVariant:var(--schmancy-sys-color-tertiary-onFixedVariant);--color-tertiary-on-fixed-variant:var(--schmancy-sys-color-tertiary-onFixedVariant);--color-error-default:var(--schmancy-sys-color-error-default);--color-error-on:var(--schmancy-sys-color-error-on);--color-error-container:var(--schmancy-sys-color-error-container);--color-error-onContainer:var(--schmancy-sys-color-error-onContainer);--color-error-on-container:var(--schmancy-sys-color-error-onContainer);--color-success-default:var(--schmancy-sys-color-success-default);--color-success-on:var(--schmancy-sys-color-success-on);--color-success-container:var(--schmancy-sys-color-success-container);--color-success-onContainer:var(--schmancy-sys-color-success-onContainer);--color-success-on-container:var(--schmancy-sys-color-success-onContainer);--color-warning-default:var(--schmancy-sys-color-warning-default);--color-warning-on:var(--schmancy-sys-color-warning-on);--color-warning-container:var(--schmancy-sys-color-warning-container);--color-warning-onContainer:var(--schmancy-sys-color-warning-onContainer);--color-warning-on-container:var(--schmancy-sys-color-warning-onContainer);--color-info-default:var(--schmancy-sys-color-info-default);--color-info-on:var(--schmancy-sys-color-info-on);--color-info-container:var(--schmancy-sys-color-info-container);--color-info-onContainer:var(--schmancy-sys-color-info-onContainer);--color-info-on-container:var(--schmancy-sys-color-info-onContainer);--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--shadow-2xl:var(--schmancy-sys-elevation-5);--outline-1:var(--schmancy-sys-outline-1);--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-serif:ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-orange-700:oklch(55.3% .195 38.402);--color-orange-800:oklch(47% .157 37.304);--color-orange-900:oklch(40.8% .123 38.172);--color-orange-950:oklch(26.6% .079 36.259);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-amber-950:oklch(27.9% .077 45.635);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-900:oklch(42.1% .095 57.708);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-50:oklch(98.6% .031 120.757);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-900:oklch(40.5% .101 131.063);--color-lime-950:oklch(27.4% .072 132.109);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-green-900:oklch(39.3% .095 152.535);--color-green-950:oklch(26.6% .065 152.934);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-200:oklch(91% .096 180.426);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-teal-600:oklch(60% .118 184.704);--color-teal-700:oklch(51.1% .096 186.391);--color-teal-800:oklch(43.7% .078 188.216);--color-teal-900:oklch(38.6% .063 188.416);--color-teal-950:oklch(27.7% .046 192.524);--color-cyan-50:oklch(98.4% .019 200.873);--color-cyan-100:oklch(95.6% .045 203.388);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-900:oklch(39.8% .07 227.392);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-900:oklch(35.9% .144 278.697);--color-indigo-950:oklch(25.7% .09 281.288);--color-violet-50:oklch(96.9% .016 293.756);--color-violet-100:oklch(94.3% .029 294.588);--color-violet-200:oklch(89.4% .057 293.283);--color-violet-300:oklch(81.1% .111 293.571);--color-violet-400:oklch(70.2% .183 293.541);--color-violet-500:oklch(60.6% .25 292.717);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-700:oklch(49.1% .27 292.581);--color-violet-800:oklch(43.2% .232 292.759);--color-violet-900:oklch(38% .189 293.745);--color-violet-950:oklch(28.3% .141 291.089);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-fuchsia-50:oklch(97.7% .017 320.058);--color-fuchsia-100:oklch(95.2% .037 318.852);--color-fuchsia-200:oklch(90.3% .076 319.62);--color-fuchsia-300:oklch(83.3% .145 321.434);--color-fuchsia-400:oklch(74% .238 322.16);--color-fuchsia-500:oklch(66.7% .295 322.15);--color-fuchsia-600:oklch(59.1% .293 322.896);--color-fuchsia-700:oklch(51.8% .253 323.949);--color-fuchsia-800:oklch(45.2% .211 324.591);--color-fuchsia-900:oklch(40.1% .17 325.612);--color-fuchsia-950:oklch(29.3% .136 325.661);--color-pink-50:oklch(97.1% .014 343.198);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-600:oklch(59.2% .249 .584);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-800:oklch(45.9% .187 3.815);--color-pink-900:oklch(40.8% .153 2.432);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-700:oklch(51.4% .222 16.935);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-900:oklch(41% .159 10.272);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-zinc-50:oklch(98.5% 0 0);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-800:oklch(26.8% .007 34.298);--color-stone-900:oklch(21.6% .006 56.043);--color-stone-950:oklch(14.7% .004 49.25);--color-black:#000;--color-white:#fff;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--tracking-eyebrow:.18em;--tracking-label:.14em;--leading-display:.95;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow-smxs:0 1px #0000000d;--shadow-smxl:0 25px 50px -12px #00000040;--inset-shadow-smxs:inset 0 1px #0000000d;--inset-shadow-xs:inset 0 1px 1px #0000000d;--inset-shadow-sm:inset 0 2px 4px #0000000d;--drop-shadow-xs:0 1px 1px #0000000d;--drop-shadow-sm:0 1px 2px #00000026;--drop-shadow-md:0 3px 3px #0000001f;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-smxl:0 25px 25px #00000026;--blur-xs:4px;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--aspect-video:16 / 9;--aspect-a4:210 / 297;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--animate-float-1:float-drift 20s ease-in-out infinite;--animate-float-2:float-drift-alt 25s ease-in-out infinite;--animate-float-3:float-drift 30s ease-in-out infinite reverse;--animate-pulse-glow:pulse-glow 8s ease-in-out infinite;--animate-spin-slow:slow-spin 120s linear infinite;--animate-aurora-drift:aurora-drift 30s ease-in-out infinite;--animate-scene-enter:scene-enter 1.2s cubic-bezier(.16, 1, .3, 1) forwards;--md-sys-color-scrim:var(--schmancy-sys-color-scrim);--md-sys-color-outline:var(--schmancy-sys-color-outline);--md-sys-color-outlineVariant:var(--schmancy-sys-color-outlineVariant);--md-sys-color-surface-default:var(--schmancy-sys-color-surface-default);--md-sys-color-surface-dim:var(--schmancy-sys-color-surface-dim);--md-sys-color-surface-bright:var(--schmancy-sys-color-surface-bright);--md-sys-color-surface-container:var(--schmancy-sys-color-surface-container);--md-sys-color-surface-low:var(--schmancy-sys-color-surface-low);--md-sys-color-surface-high:var(--schmancy-sys-color-surface-high);--md-sys-color-surface-highest:var(--schmancy-sys-color-surface-highest);--md-sys-color-surface-lowest:var(--schmancy-sys-color-surface-lowest);--md-sys-color-surface-on:var(--schmancy-sys-color-surface-on);--md-sys-color-on-surface-variant:var(--schmancy-sys-color-surface-onVariant);--md-sys-color-on-secondary-container:var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-primary-default:var(--schmancy-sys-color-primary-default);--md-sys-color-primary-on:var(--schmancy-sys-color-primary-on);--md-sys-color-primary-container:var(--schmancy-sys-color-primary-container);--md-sys-color-primary-onContainer:var(--schmancy-sys-color-primary-onContainer);--md-sys-color-secondary-default:var(--schmancy-sys-color-secondary-default);--md-sys-color-secondary-on:var(--schmancy-sys-color-secondary-on);--md-sys-color-secondary-container:var(--schmancy-sys-color-secondary-container);--md-sys-color-secondary-onContainer:var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-tertiary-default:var(--schmancy-sys-color-tertiary-default);--md-sys-color-tertiary-on:var(--schmancy-sys-color-tertiary-on);--md-sys-color-tertiary-container:var(--schmancy-sys-color-tertiary-container);--md-sys-color-tertiary-onContainer:var(--schmancy-sys-color-tertiary-onContainer);--md-sys-color-error-default:var(--schmancy-sys-color-error-default);--md-sys-color-error-on:var(--schmancy-sys-color-error-on);--md-sys-color-error-container:var(--schmancy-sys-color-error-container);--md-sys-color-error-onContainer:var(--schmancy-sys-color-error-onContainer);--md-sys-color-success-default:var(--schmancy-sys-color-success-default);--md-sys-color-success-on:var(--schmancy-sys-color-success-on);--md-sys-color-success-container:var(--schmancy-sys-color-success-container);--md-sys-color-success-onContainer:var(--schmancy-sys-color-success-onContainer);--md-sys-color-warning-default:var(--schmancy-sys-color-warning-default);--md-sys-color-warning-on:var(--schmancy-sys-color-warning-on);--md-sys-color-warning-container:var(--schmancy-sys-color-warning-container);--md-sys-color-warning-onContainer:var(--schmancy-sys-color-warning-onContainer);--md-sys-color-info-default:var(--schmancy-sys-color-info-default);--md-sys-color-info-on:var(--schmancy-sys-color-info-on);--md-sys-color-info-container:var(--schmancy-sys-color-info-container);--md-sys-color-info-onContainer:var(--schmancy-sys-color-info-onContainer);--md-sys-elevation-0:var(--schmancy-sys-elevation-0);--md-sys-elevation-1:var(--schmancy-sys-elevation-1);--md-sys-elevation-2:var(--schmancy-sys-elevation-2);--md-sys-elevation-3:var(--schmancy-sys-elevation-3);--md-sys-elevation-4:var(--schmancy-sys-elevation-4);--md-sys-elevation-5:var(--schmancy-sys-elevation-5);--md-sys-outline-1:var(--schmancy-sys-outline-1);--md-filter-chip-label-text-color:var(--schmancy-sys-color-surface-on);--md-checkbox-focus-outline-color:var(--schmancy-sys-color-surface-on);--md-checkbox-focus-outline-width:2px;--md-checkbox-hover-outline-color:var(--schmancy-sys-color-surface-on);--md-checkbox-hover-outline-width:2px;--md-checkbox-pressed-outline-color:var(--schmancy-sys-color-surface-on);--md-checkbox-pressed-outline-width:2px;--md-checkbox-disabled-outline-color:var(--schmancy-sys-color-surface-on);--md-checkbox-disabled-outline-width:2px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@keyframes float-drift{0%,to{transform:translate(0)rotate(0)}25%{transform:translate(20px,-30px)rotate(2deg)}50%{transform:translate(-10px,-50px)rotate(-1deg)}75%{transform:translate(15px,-20px)rotate(1deg)}}@keyframes float-drift-alt{0%,to{transform:translate(0)rotate(0)}25%{transform:translate(-25px,20px)rotate(-2deg)}50%{transform:translate(15px,40px)rotate(1deg)}75%{transform:translate(-20px,15px)rotate(-1deg)}}@keyframes pulse-glow{0%,to{opacity:.15;transform:scale(1)}50%{opacity:.25;transform:scale(1.05)}}@keyframes slow-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes aurora-drift{0%,to{transform:translate(0)scale(1)rotate(0)}33%{transform:translate(3%,-5%)scale(1.05)rotate(1deg)}66%{transform:translate(-3%,3%)scale(.95)rotate(-1deg)}}@keyframes scene-enter{0%{opacity:0;filter:blur(12px);transform:scale(.92)}to{opacity:1;filter:blur();transform:scale(1)}}@keyframes star-appear{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes star-twinkle{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.92)}}"), Fg = window.matchMedia("(prefers-color-scheme: dark)"), Ig = new S((e) => {
26811
+ let t = Fg.matches ? "dark" : "light";
26806
26812
  e.next(t);
26807
- let n = O(Pg, "change").subscribe((t) => {
26813
+ let n = O(Fg, "change").subscribe((t) => {
26808
26814
  let n = t.matches ? "dark" : "light";
26809
26815
  e.next(n);
26810
26816
  });
26811
26817
  return () => n.unsubscribe();
26812
- }), Ig = class extends K {
26818
+ }), Lg = class extends K {
26813
26819
  constructor(...e) {
26814
26820
  super(...e), this.scheme = "auto", this.root = !1, this.locale = typeof navigator < "u" ? navigator.language : "de-DE", this.theme = {};
26815
26821
  }
26816
26822
  static {
26817
- this.styles = [Ng];
26823
+ this.styles = [Pg];
26818
26824
  }
26819
26825
  connectedCallback() {
26820
26826
  super.connectedCallback();
26821
26827
  let e = this.generateThemeName(), t = sessionStorage.getItem(`schmancy-theme-${e}-color`), n = sessionStorage.getItem(`schmancy-theme-${e}-scheme`);
26822
- this.color || (this.color = t || this.generateRandomColor(), sessionStorage.setItem(`schmancy-theme-${e}-color`, this.color)), !this.hasAttribute("scheme") && n && (this.scheme = n), dt(this.scheme).pipe(P((e) => e === "auto" ? Fg : dt(e)), F(this.disconnecting)).subscribe((t) => {
26828
+ this.color || (this.color = t || this.generateRandomColor(), sessionStorage.setItem(`schmancy-theme-${e}-color`, this.color)), !this.hasAttribute("scheme") && n && (this.scheme = n), dt(this.scheme).pipe(P((e) => e === "auto" ? Ig : dt(e)), F(this.disconnecting)).subscribe((t) => {
26823
26829
  this.scheme = t, queueMicrotask(() => {
26824
26830
  this.registerTheme(), sessionStorage.setItem(`schmancy-theme-${e}-scheme`, this.scheme);
26825
26831
  });
@@ -26837,7 +26843,7 @@ var Ng = yr(":host,:root{--md-ref-typeface-brand:var(--schmancy-font-family,sans
26837
26843
  e.has("color") && (sessionStorage.setItem(`schmancy-theme-${t}-color`, this.color), this.registerTheme()), e.has("scheme") && (sessionStorage.setItem(`schmancy-theme-${t}-scheme`, this.scheme), this.registerTheme()), e.has("locale") && this.registerTheme();
26838
26844
  }
26839
26845
  registerTheme() {
26840
- let e = Ag(s(a(typeof this.color == "string" ? this.color : "#6200ee")), this.scheme === "dark", {
26846
+ let e = jg(s(a(typeof this.color == "string" ? this.color : "#6200ee")), this.scheme === "dark", {
26841
26847
  success: a("#4CAF50"),
26842
26848
  warning: a("#FF9800"),
26843
26849
  info: a("#2196F3")
@@ -26880,8 +26886,8 @@ var Ng = yr(":host,:root{--md-ref-typeface-brand:var(--schmancy-font-family,sans
26880
26886
  V([W({
26881
26887
  type: String,
26882
26888
  reflect: !0
26883
- })], Ig.prototype, "color", void 0), V([W({ type: String })], Ig.prototype, "scheme", void 0), V([W({ type: Boolean })], Ig.prototype, "root", void 0), V([W({ type: String })], Ig.prototype, "locale", void 0), V([W({ type: String })], Ig.prototype, "name", void 0), V([dr({ context: pr }), W({ type: Object })], Ig.prototype, "theme", void 0), Ig = V([H("schmancy-theme")], Ig);
26884
- var Lg = class extends K {
26889
+ })], Lg.prototype, "color", void 0), V([W({ type: String })], Lg.prototype, "scheme", void 0), V([W({ type: Boolean })], Lg.prototype, "root", void 0), V([W({ type: String })], Lg.prototype, "locale", void 0), V([W({ type: String })], Lg.prototype, "name", void 0), V([dr({ context: pr }), W({ type: Object })], Lg.prototype, "theme", void 0), Lg = V([H("schmancy-theme")], Lg);
26890
+ var Rg = class extends K {
26885
26891
  constructor(...e) {
26886
26892
  super(...e), this.currentScheme = "auto", this.currentColor = "#6200ee", this.resolvedScheme = "light", this.themeComponent = null, this.colorInput$ = new w();
26887
26893
  }
@@ -27050,8 +27056,8 @@ var Lg = class extends K {
27050
27056
  `;
27051
27057
  }
27052
27058
  };
27053
- V([G()], Lg.prototype, "currentScheme", void 0), V([G()], Lg.prototype, "currentColor", void 0), V([G()], Lg.prototype, "resolvedScheme", void 0), V([G()], Lg.prototype, "themeComponent", void 0), V([W({ type: Array })], Lg.prototype, "customColors", void 0), Lg = V([H("schmancy-theme-controller")], Lg);
27054
- var Rg = class extends CustomEvent {
27059
+ V([G()], Rg.prototype, "currentScheme", void 0), V([G()], Rg.prototype, "currentColor", void 0), V([G()], Rg.prototype, "resolvedScheme", void 0), V([G()], Rg.prototype, "themeComponent", void 0), V([W({ type: Array })], Rg.prototype, "customColors", void 0), Rg = V([H("schmancy-theme-controller")], Rg);
27060
+ var zg = class extends CustomEvent {
27055
27061
  constructor(e) {
27056
27062
  super("schmancy-generate-mood-audio", {
27057
27063
  detail: e,
@@ -27059,7 +27065,7 @@ var Rg = class extends CustomEvent {
27059
27065
  composed: !0
27060
27066
  });
27061
27067
  }
27062
- }, zg = class extends K {
27068
+ }, Bg = class extends K {
27063
27069
  constructor(...e) {
27064
27070
  super(...e), this.currentColor = "#6200ee", this.currentScheme = "auto", this.moodText = "", this.isGenerating = !1, this.audioSequence = null, this.detectedMood = "", this.error = "", this.volume = .15, this.currentThemeName = "default", this.themeComponent = null, this.moodInput$ = new w();
27065
27071
  }
@@ -27088,7 +27094,7 @@ var Rg = class extends CustomEvent {
27088
27094
  this.moodInput$.next(t.value);
27089
27095
  }
27090
27096
  requestMoodAudio() {
27091
- this.moodText.trim() ? (this.error = "", this.isGenerating = !0, this.audioSequence = null, this.detectedMood = "", this.dispatchEvent(new Rg({
27097
+ this.moodText.trim() ? (this.error = "", this.isGenerating = !0, this.audioSequence = null, this.detectedMood = "", this.dispatchEvent(new zg({
27092
27098
  moodText: this.moodText.trim(),
27093
27099
  themeColor: this.currentColor,
27094
27100
  scheme: this.currentScheme
@@ -27302,8 +27308,8 @@ var Rg = class extends CustomEvent {
27302
27308
  `;
27303
27309
  }
27304
27310
  };
27305
- V([G()], zg.prototype, "currentColor", void 0), V([G()], zg.prototype, "currentScheme", void 0), V([G()], zg.prototype, "moodText", void 0), V([G()], zg.prototype, "isGenerating", void 0), V([G()], zg.prototype, "audioSequence", void 0), V([G()], zg.prototype, "detectedMood", void 0), V([G()], zg.prototype, "error", void 0), V([G()], zg.prototype, "volume", void 0), V([G()], zg.prototype, "currentThemeName", void 0), zg = V([H("schmancy-theme-audio-player")], zg);
27306
- var Bg = class extends Lg {
27311
+ V([G()], Bg.prototype, "currentColor", void 0), V([G()], Bg.prototype, "currentScheme", void 0), V([G()], Bg.prototype, "moodText", void 0), V([G()], Bg.prototype, "isGenerating", void 0), V([G()], Bg.prototype, "audioSequence", void 0), V([G()], Bg.prototype, "detectedMood", void 0), V([G()], Bg.prototype, "error", void 0), V([G()], Bg.prototype, "volume", void 0), V([G()], Bg.prototype, "currentThemeName", void 0), Bg = V([H("schmancy-theme-audio-player")], Bg);
27312
+ var Vg = class extends Rg {
27307
27313
  render() {
27308
27314
  return L`
27309
27315
  <schmancy-boat id="schmancy-theme-component">
@@ -27320,8 +27326,8 @@ var Bg = class extends Lg {
27320
27326
  `;
27321
27327
  }
27322
27328
  };
27323
- Bg = V([H("schmancy-theme-controller-boat")], Bg);
27324
- var Vg = class extends K {
27329
+ Vg = V([H("schmancy-theme-controller-boat")], Vg);
27330
+ var Hg = class extends K {
27325
27331
  render() {
27326
27332
  return L`
27327
27333
  <schmancy-button
@@ -27335,8 +27341,8 @@ var Vg = class extends K {
27335
27341
  `;
27336
27342
  }
27337
27343
  };
27338
- V([zr("#color")], Vg.prototype, "color", void 0), Vg = V([H("schmancy-theme-button")], Vg);
27339
- var Hg = /* @__PURE__ */ new WeakMap(), Ug = B(class extends $n {
27344
+ V([zr("#color")], Hg.prototype, "color", void 0), Hg = V([H("schmancy-theme-button")], Hg);
27345
+ var Ug = /* @__PURE__ */ new WeakMap(), Wg = B(class extends $n {
27340
27346
  constructor(e) {
27341
27347
  if (super(e), e.type !== Qn) throw Error("The tooltip directive can only be used on elements");
27342
27348
  }
@@ -27347,7 +27353,7 @@ var Hg = /* @__PURE__ */ new WeakMap(), Ug = B(class extends $n {
27347
27353
  };
27348
27354
  }
27349
27355
  update(e, [t, n = {}]) {
27350
- let r = e.element, i = n?.position || "top", a = n?.delay || 300, o = !1 !== n?.showArrow, s = Hg.get(r);
27356
+ let r = e.element, i = n?.position || "top", a = n?.delay || 300, o = !1 !== n?.showArrow, s = Ug.get(r);
27351
27357
  if (s) s.tooltipElement.textContent = t, s.arrowElement && (s.arrowElement.style.visibility = o ? "visible" : "hidden");
27352
27358
  else {
27353
27359
  let e = document.createElement("div"), n;
@@ -27379,13 +27385,13 @@ var Hg = /* @__PURE__ */ new WeakMap(), Ug = B(class extends $n {
27379
27385
  e.id = c, r.setAttribute("aria-describedby", c), document.body.appendChild(e), s = {
27380
27386
  tooltipElement: e,
27381
27387
  arrowElement: n
27382
- }, Hg.set(r, s);
27388
+ }, Ug.set(r, s);
27383
27389
  let l = () => {
27384
27390
  s?.showTimeout && clearTimeout(s.showTimeout), s.showTimeout = window.setTimeout(() => {
27385
- s.tooltipElement.textContent = t, o && s.arrowElement && !s.tooltipElement.contains(s.arrowElement) && s.tooltipElement.appendChild(s.arrowElement), s.tooltipElement.style.visibility = "visible", s.cleanup && s.cleanup(), s.cleanup = Jp(r, s.tooltipElement, () => async function(e, t, n, r) {
27391
+ s.tooltipElement.textContent = t, o && s.arrowElement && !s.tooltipElement.contains(s.arrowElement) && s.tooltipElement.appendChild(s.arrowElement), s.tooltipElement.style.visibility = "visible", s.cleanup && s.cleanup(), s.cleanup = Yp(r, s.tooltipElement, () => async function(e, t, n, r) {
27386
27392
  let i = [
27387
- Yp(8),
27388
- Zp({
27393
+ Xp(8),
27394
+ Qp({
27389
27395
  fallbackPlacements: [
27390
27396
  "top",
27391
27397
  "right",
@@ -27394,10 +27400,10 @@ var Hg = /* @__PURE__ */ new WeakMap(), Ug = B(class extends $n {
27394
27400
  ].filter((e) => e !== n),
27395
27401
  padding: 5
27396
27402
  }),
27397
- Xp({ padding: 5 })
27403
+ Zp({ padding: 5 })
27398
27404
  ];
27399
- r && t.arrowElement && i.push($p({ element: t.arrowElement }));
27400
- let { x: a, y: o, placement: s, middlewareData: c } = await em(e, t.tooltipElement, {
27405
+ r && t.arrowElement && i.push(em({ element: t.arrowElement }));
27406
+ let { x: a, y: o, placement: s, middlewareData: c } = await tm(e, t.tooltipElement, {
27401
27407
  placement: n,
27402
27408
  middleware: i,
27403
27409
  strategy: "fixed"
@@ -27445,10 +27451,10 @@ var Hg = /* @__PURE__ */ new WeakMap(), Ug = B(class extends $n {
27445
27451
  };
27446
27452
  }
27447
27453
  disconnected(e) {
27448
- let t = e.element, n = Hg.get(t);
27449
- n && (n.subscriptions && n.subscriptions.forEach((e) => e.unsubscribe()), n.showTimeout && clearTimeout(n.showTimeout), n.cleanup && n.cleanup(), document.body.contains(n.tooltipElement) && document.body.removeChild(n.tooltipElement), t.hasAttribute("aria-describedby") && t.removeAttribute("aria-describedby"), Hg.delete(t));
27454
+ let t = e.element, n = Ug.get(t);
27455
+ n && (n.subscriptions && n.subscriptions.forEach((e) => e.unsubscribe()), n.showTimeout && clearTimeout(n.showTimeout), n.cleanup && n.cleanup(), document.body.contains(n.tooltipElement) && document.body.removeChild(n.tooltipElement), t.hasAttribute("aria-describedby") && t.removeAttribute("aria-describedby"), Ug.delete(t));
27450
27456
  }
27451
- }), Wg = class extends K {
27457
+ }), Gg = class extends K {
27452
27458
  constructor(...e) {
27453
27459
  super(...e), this.open = !1, this.a11yId = `schmancy-tree-${Math.random().toString(36).slice(2, 10)}`, this.internals = (() => {
27454
27460
  try {
@@ -27530,8 +27536,8 @@ var Hg = /* @__PURE__ */ new WeakMap(), Ug = B(class extends $n {
27530
27536
  `;
27531
27537
  }
27532
27538
  };
27533
- V([W({ type: Boolean })], Wg.prototype, "open", void 0), V([zr("#toggler")], Wg.prototype, "toggler", void 0), V([zr("slot:not([name=\"root\"])")], Wg.prototype, "defaultSlot", void 0), V([zr("#chevron")], Wg.prototype, "chevron", void 0), Wg = V([H("schmancy-tree")], Wg);
27534
- var Gg = [
27539
+ V([W({ type: Boolean })], Gg.prototype, "open", void 0), V([zr("#toggler")], Gg.prototype, "toggler", void 0), V([zr("slot:not([name=\"root\"])")], Gg.prototype, "defaultSlot", void 0), V([zr("#chevron")], Gg.prototype, "chevron", void 0), Gg = V([H("schmancy-tree")], Gg);
27540
+ var Kg = [
27535
27541
  "surface",
27536
27542
  "surfaceDim",
27537
27543
  "surfaceBright",
@@ -27540,7 +27546,7 @@ var Gg = [
27540
27546
  "container",
27541
27547
  "containerHigh",
27542
27548
  "containerHighest"
27543
- ], Kg = [
27549
+ ], qg = [
27544
27550
  "primary",
27545
27551
  "secondary",
27546
27552
  "tertiary",
@@ -27548,7 +27554,7 @@ var Gg = [
27548
27554
  "success",
27549
27555
  "warning",
27550
27556
  "info"
27551
- ], qg = ["transparent", "outlined"], Jg = class {
27557
+ ], Jg = ["transparent", "outlined"], Yg = class {
27552
27558
  constructor(e = .3) {
27553
27559
  this.audioContext = new AudioContext(), this.volume = Math.max(0, Math.min(1, e));
27554
27560
  }
@@ -27565,7 +27571,7 @@ var Gg = [
27565
27571
  cleanup() {
27566
27572
  this.audioContext.close();
27567
27573
  }
27568
- }, Yg = B(class extends Ui {
27574
+ }, Xg = B(class extends Ui {
27569
27575
  constructor(...e) {
27570
27576
  super(...e), this.state = null, this.soundEngine = null;
27571
27577
  }
@@ -27593,7 +27599,7 @@ var Gg = [
27593
27599
  ...n
27594
27600
  },
27595
27601
  element: r
27596
- }, this.state.options.sound && (this.soundEngine = new Jg(this.state.options.volume)), this.state.targetElement = r.querySelector(this.state.options.selector) ?? void 0, !this.state.targetElement) return R;
27602
+ }, this.state.options.sound && (this.soundEngine = new Yg(this.state.options.volume)), this.state.targetElement = r.querySelector(this.state.options.selector) ?? void 0, !this.state.targetElement) return R;
27597
27603
  if (this.state.options.cursor) {
27598
27604
  this.state.targetElement.style.position = "relative", this.state.targetElement.style.display = "inline-block";
27599
27605
  let e = document.createElement("span");
@@ -27635,7 +27641,7 @@ var Gg = [
27635
27641
  this.state && !this.state.subscription && this.startTyping();
27636
27642
  }
27637
27643
  });
27638
- function Xg(e, t = { threshold: .5 }) {
27644
+ function Zg(e, t = { threshold: .5 }) {
27639
27645
  return new S((n) => {
27640
27646
  let r = new IntersectionObserver((e) => {
27641
27647
  n.next(e);
@@ -27645,7 +27651,7 @@ function Xg(e, t = { threshold: .5 }) {
27645
27651
  };
27646
27652
  });
27647
27653
  }
27648
- var Zg = class {
27654
+ var Qg = class {
27649
27655
  constructor() {
27650
27656
  this.systemLocale = typeof navigator < "u" && navigator.language ? navigator.language : "de-DE";
27651
27657
  }
@@ -27898,7 +27904,7 @@ var Zg = class {
27898
27904
  };
27899
27905
  return e.split("").map((e) => t[e] || e).join("");
27900
27906
  }
27901
- }, Qg = (new Zg(), class extends K {
27907
+ }, $g = (new Qg(), class extends K {
27902
27908
  constructor(...e) {
27903
27909
  super(...e), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
27904
27910
  }
@@ -27977,8 +27983,8 @@ var Zg = class {
27977
27983
  `;
27978
27984
  }
27979
27985
  });
27980
- V([W({ type: String })], Qg.prototype, "initials", void 0), V([W({ type: String })], Qg.prototype, "src", void 0), V([W({ type: String })], Qg.prototype, "icon", void 0), V([W({ type: String })], Qg.prototype, "size", void 0), V([W({ type: String })], Qg.prototype, "color", void 0), V([W({ type: String })], Qg.prototype, "shape", void 0), V([W({ type: Boolean })], Qg.prototype, "bordered", void 0), V([W({ type: String })], Qg.prototype, "status", void 0), Qg = V([H("schmancy-avatar")], Qg);
27981
- var $g = class extends K {
27986
+ V([W({ type: String })], $g.prototype, "initials", void 0), V([W({ type: String })], $g.prototype, "src", void 0), V([W({ type: String })], $g.prototype, "icon", void 0), V([W({ type: String })], $g.prototype, "size", void 0), V([W({ type: String })], $g.prototype, "color", void 0), V([W({ type: String })], $g.prototype, "shape", void 0), V([W({ type: Boolean })], $g.prototype, "bordered", void 0), V([W({ type: String })], $g.prototype, "status", void 0), $g = V([H("schmancy-avatar")], $g);
27987
+ var e_ = class extends K {
27982
27988
  constructor(...e) {
27983
27989
  super(...e), this.separator = "/";
27984
27990
  }
@@ -28024,8 +28030,8 @@ var $g = class extends K {
28024
28030
  });
28025
28031
  }
28026
28032
  };
28027
- V([W({ type: String })], $g.prototype, "separator", void 0), $g = V([H("schmancy-breadcrumb")], $g);
28028
- var e_ = class extends K {
28033
+ V([W({ type: String })], e_.prototype, "separator", void 0), e_ = V([H("schmancy-breadcrumb")], e_);
28034
+ var t_ = class extends K {
28029
28035
  constructor(...e) {
28030
28036
  super(...e), this.href = "", this.current = !1;
28031
28037
  }
@@ -28049,11 +28055,11 @@ var e_ = class extends K {
28049
28055
  return this.href && !this.current ? L`<a href=${this.href}><slot></slot></a>` : L`<span aria-current=${this.current ? "page" : "false"}><slot></slot></span>`;
28050
28056
  }
28051
28057
  };
28052
- V([W({ type: String })], e_.prototype, "href", void 0), V([W({
28058
+ V([W({ type: String })], t_.prototype, "href", void 0), V([W({
28053
28059
  type: Boolean,
28054
28060
  reflect: !0
28055
- })], e_.prototype, "current", void 0), e_ = V([H("schmancy-breadcrumb-item")], e_);
28056
- var t_ = class extends K {
28061
+ })], t_.prototype, "current", void 0), t_ = V([H("schmancy-breadcrumb-item")], t_);
28062
+ var n_ = class extends K {
28057
28063
  constructor(...e) {
28058
28064
  super(...e), this.size = "md";
28059
28065
  }
@@ -28094,8 +28100,8 @@ var t_ = class extends K {
28094
28100
  V([W({
28095
28101
  type: String,
28096
28102
  reflect: !0
28097
- })], t_.prototype, "size", void 0), t_ = V([H("schmancy-kbd")], t_);
28098
- var n_ = class extends K {
28103
+ })], n_.prototype, "size", void 0), n_ = V([H("schmancy-kbd")], n_);
28104
+ var r_ = class extends K {
28099
28105
  constructor(...e) {
28100
28106
  super(...e), this.shape = "rect", this.width = "", this.height = "", this.radius = "";
28101
28107
  }
@@ -28153,8 +28159,8 @@ var n_ = class extends K {
28153
28159
  V([W({
28154
28160
  type: String,
28155
28161
  reflect: !0
28156
- })], n_.prototype, "shape", void 0), V([W({ type: String })], n_.prototype, "width", void 0), V([W({ type: String })], n_.prototype, "height", void 0), V([W({ type: String })], n_.prototype, "radius", void 0), n_ = V([H("schmancy-skeleton")], n_);
28157
- var r_ = class extends K {
28162
+ })], r_.prototype, "shape", void 0), V([W({ type: String })], r_.prototype, "width", void 0), V([W({ type: String })], r_.prototype, "height", void 0), V([W({ type: String })], r_.prototype, "radius", void 0), r_ = V([H("schmancy-skeleton")], r_);
28163
+ var i_ = class extends K {
28158
28164
  constructor(...e) {
28159
28165
  super(...e), this.minDuration = 1500, this.auto = !1, this.initiallyHidden = !1, this.visible = !0;
28160
28166
  }
@@ -28226,11 +28232,11 @@ var r_ = class extends K {
28226
28232
  V([W({
28227
28233
  type: Number,
28228
28234
  attribute: "min-duration"
28229
- })], r_.prototype, "minDuration", void 0), V([W({ type: Boolean })], r_.prototype, "auto", void 0), V([W({
28235
+ })], i_.prototype, "minDuration", void 0), V([W({ type: Boolean })], i_.prototype, "auto", void 0), V([W({
28230
28236
  type: Boolean,
28231
28237
  attribute: "initially-hidden"
28232
- })], r_.prototype, "initiallyHidden", void 0), V([G()], r_.prototype, "visible", void 0), r_ = V([H("schmancy-splash-screen")], r_);
28233
- var i_ = class extends K {
28238
+ })], i_.prototype, "initiallyHidden", void 0), V([G()], i_.prototype, "visible", void 0), i_ = V([H("schmancy-splash-screen")], i_);
28239
+ var a_ = class extends K {
28234
28240
  static {
28235
28241
  this.styles = [U`
28236
28242
  :host {
@@ -28250,5 +28256,5 @@ var i_ = class extends K {
28250
28256
  return L`<slot></slot>`;
28251
28257
  }
28252
28258
  };
28253
- i_ = V([H("schmancy-visually-hidden")], i_);
28254
- export { gh as $drawer, $m as $notify, Ps as $sounds, tc as ANIMATION_CSS_VARS, Ys as BLACKBIRD_EASING, Sl as DISCOVER_EVENT, Cl as DISCOVER_RESPONSE_EVENT, ec as DURATION_BACKDROP, Qs as DURATION_ENTER, $s as DURATION_EXIT, el as DragDirective, nl as DropDirective, Zs as EASE_IN, Xs as EASE_OUT, Ns as EmotionalSoundGenerator, pa as FINDING_MORTIES, lc as GRID_ANIMATION_CSS, ma as HERE_RICKY, va as HISTORY_STRATEGY, Tg as HereMorty, fh as List, Zg as Numbers, jm as RadioButton, Am as RadioGroup, om as SCHMANCY_EXPAND_REQUEST_CLOSE, qs as SPRING_BOUNCY, Js as SPRING_GENTLE, Y as SPRING_SMOOTH, Ks as SPRING_SNAPPY, Kg as SURFACE_SEMANTIC, Gg as SURFACE_TONAL, qg as SURFACE_UTILITY, hu as ScBadgeV2, ya as SchmancyArea, Wd as SchmancyAssistChip, Qg as SchmancyAvatar, mu as SchmancyBadgeV2, Iu as SchmancyBoat, $g as SchmancyBreadcrumb, e_ as SchmancyBreadcrumbItem, zu as SchmancyButton, Qu as SchmancyCalendar, Ud as SchmancyCheckbox, Kd as SchmancyChip, Kd as SchmancyFilterChip, Jd as SchmancyConnectivityStatus, rf as SchmancyContentDrawer, $d as SchmancyContentDrawerID, af as SchmancyContentDrawerMain, ef as SchmancyContentDrawerMaxHeight, tf as SchmancyContentDrawerMinWidth, of as SchmancyContentDrawerSheet, Zd as SchmancyContentDrawerSheetMode, Qd as SchmancyContentDrawerSheetState, os as SchmancyContext, bg as SchmancyDataTable, lf as SchmancyDateRange, cf as SchmancyDateRangeDialog, df as SchmancyDateRangeInline, jf as SchmancyDelay, Nf as SchmancyDetails, _h as SchmancyDrawerAppbar, bh as SchmancyDrawerNavbarMode, xh as SchmancyDrawerNavbarState, tm as SchmancyDropdown, nm as SchmancyDropdownContent, K as SchmancyElement, Yd as SchmancyEvents, am as SchmancyExpandRoot, cm as SchmancyFab, bm as SchmancyFloat, wm as SchmancyForm, Tm as SchmancyFormSummary, Rg as SchmancyGenerateMoodAudioEvent, Rm as SchmancyIframe, Om as SchmancyInput, Ws as SchmancyInputChip, km as SchmancyInputCompat, nh as SchmancyJson, t_ as SchmancyKbd, ih as SchmancyLightbox, dh as SchmancyListItem, uh as SchmancyListTypeContext, Eh as SchmancyNavigationBar, Th as SchmancyNavigationBarItem, Sh as SchmancyNavigationDrawer, vh as SchmancyNavigationDrawerContent, wh as SchmancyNavigationDrawerSidebar, kh as SchmancyNavigationRail, Dh as SchmancyNavigationRailItem, Um as SchmancyNotification, Wh as SchmancyOverlay, Yh as SchmancyOverlayPromptBody, Mm as SchmancyRange, _a as SchmancyRoute, rh as SchmancyScroll, Nm as SchmancySelect, n_ as SchmancySkeleton, Zh as SchmancySlide, Qh as SchmancySlider, tg as SchmancyStep, ng as SchmancySteps, qd as SchmancySuggestionChip, im as SchmancySurface, rm as SchmancySurfaceTypeContext, Pm as SchmancySwitch, rg as SchmancyTableRow, Og as SchmancyTeleportation, Q as SchmancyTheme, zg as SchmancyThemeAudioPlayer, Ig as SchmancyThemeComponent, Lg as SchmancyThemeController, Bg as SchmancyThemeControllerBoat, Wg as SchmancyTree, qh as SchmancyTypography, i_ as SchmancyVisuallyHidden, vm as SchmancyWindow, Bu as SchmnacyIconButton, bi as Signal, $h as StepsController, al as ThemeHereIAm, il as ThemeWhereAreYou, wg as WhereAreYouRicky, Zi as _activeHost, fc as aiBadge, dc as animateText, ga as area, jc as art, Lc as beta, Es as bindState, za as buildQueryString, Rc as color, Pa as compareActiveRoutes, Ta as compareCustomElementConstructors, Na as compareRouteActions, Ki as computed, Au as confirm, Vc as confirmClick, ic as createAnimation, Mg as createDarkTonalPaletteFromBaseColor, oc as createDismissAnimation, jg as createLightTonalPaletteFromBaseColor, ac as createRevealAnimation, Fa as createRouteCacheKey, sc as createScaleAnimation, Wc as cursorGlow, Gc as cycleText, Aa as debounce, xa as decodeData, Ma as decodeRouteState, Oa as deepMerge, Af as delayContext, Kc as depthOfField, Ol as discover, Dl as discoverAllElements, Tl as discoverAnyComponent, wl as discoverComponent, El as discoverElement, Nu as dismissAll, tl as drag, rl as drop, Cs as effect, ba as encodeData, ja as encodeRouteState, Ra as extractQueryParams, vl as fill, oh as flip, xm as formSubmitState, Ag as formatTheme, hl as fromResizeObserver, gl as fullHeight, _l as fullWidth, Nc as futureCell, bl as fyi, nc as getEasing, Da as getTagName, xl as gravity, Nl as hummingbird, Pl as intersect, Xg as intersection$, Ic as isBeta, ka as isObject, wa as lazy, lh as lightbox, sh as lightboxDirective, Rl as liquid, Hl as livingBorder, Wl as longPress, Gl as magnetic, Kl as missedPunch, Xh as mutationObserver, Ql as nebula, Ea as normalizeTagName, eh as notify, th as notifyProgress, Ds as observe, Eu as openOverlays$, au as overflowWithin, Mu as overlayEvents, yl as overlayStack, rc as prefersReducedMotion, ju as prompt, Uc as reducedMotion$, eu as reveal, nu as ripple, fa as routerHistory, La as sanitizeRouteState, Xd as schmancyContentDrawer, Os as schmancyContext, hh as schmancyNavDrawer, Ms as schmancySound, cl as schmancyTheme, Fc as setBetaPredicate, ku as show, Hs as similarity, js as sound, Ss as state, ws as stateFromObservable, eg as stepsContext, cc as tailwindAnimations, Ng as tailwindStyles, Eg as teleport, sl as theme, pr as themeContext, Ug as tooltip, Yg as typewriter, du as urgent, pm as windowManager, pu as workingSnake };
28259
+ a_ = V([H("schmancy-visually-hidden")], a_);
28260
+ export { _h as $drawer, eh as $notify, Ps as $sounds, tc as ANIMATION_CSS_VARS, Ys as BLACKBIRD_EASING, Sl as DISCOVER_EVENT, Cl as DISCOVER_RESPONSE_EVENT, ec as DURATION_BACKDROP, Qs as DURATION_ENTER, $s as DURATION_EXIT, el as DragDirective, nl as DropDirective, Zs as EASE_IN, Xs as EASE_OUT, Ns as EmotionalSoundGenerator, pa as FINDING_MORTIES, lc as GRID_ANIMATION_CSS, ma as HERE_RICKY, va as HISTORY_STRATEGY, Eg as HereMorty, ph as List, Qg as Numbers, Mm as RadioButton, jm as RadioGroup, sm as SCHMANCY_EXPAND_REQUEST_CLOSE, qs as SPRING_BOUNCY, Js as SPRING_GENTLE, Y as SPRING_SMOOTH, Ks as SPRING_SNAPPY, qg as SURFACE_SEMANTIC, Kg as SURFACE_TONAL, Jg as SURFACE_UTILITY, hu as ScBadgeV2, ya as SchmancyArea, Wd as SchmancyAssistChip, $g as SchmancyAvatar, mu as SchmancyBadgeV2, Iu as SchmancyBoat, e_ as SchmancyBreadcrumb, t_ as SchmancyBreadcrumbItem, zu as SchmancyButton, Qu as SchmancyCalendar, Ud as SchmancyCheckbox, Kd as SchmancyChip, Kd as SchmancyFilterChip, Jd as SchmancyConnectivityStatus, rf as SchmancyContentDrawer, $d as SchmancyContentDrawerID, af as SchmancyContentDrawerMain, ef as SchmancyContentDrawerMaxHeight, tf as SchmancyContentDrawerMinWidth, of as SchmancyContentDrawerSheet, Zd as SchmancyContentDrawerSheetMode, Qd as SchmancyContentDrawerSheetState, os as SchmancyContext, xg as SchmancyDataTable, uf as SchmancyDateRange, cf as SchmancyDateRangeDialog, ff as SchmancyDateRangeInline, Mf as SchmancyDelay, Pf as SchmancyDetails, vh as SchmancyDrawerAppbar, xh as SchmancyDrawerNavbarMode, Sh as SchmancyDrawerNavbarState, nm as SchmancyDropdown, rm as SchmancyDropdownContent, K as SchmancyElement, Yd as SchmancyEvents, om as SchmancyExpandRoot, lm as SchmancyFab, xm as SchmancyFloat, Tm as SchmancyForm, Em as SchmancyFormSummary, zg as SchmancyGenerateMoodAudioEvent, zm as SchmancyIframe, km as SchmancyInput, Ws as SchmancyInputChip, Am as SchmancyInputCompat, rh as SchmancyJson, n_ as SchmancyKbd, ah as SchmancyLightbox, fh as SchmancyListItem, dh as SchmancyListTypeContext, Dh as SchmancyNavigationBar, Eh as SchmancyNavigationBarItem, Ch as SchmancyNavigationDrawer, yh as SchmancyNavigationDrawerContent, Th as SchmancyNavigationDrawerSidebar, Ah as SchmancyNavigationRail, Oh as SchmancyNavigationRailItem, Wm as SchmancyNotification, Gh as SchmancyOverlay, Xh as SchmancyOverlayPromptBody, Nm as SchmancyRange, _a as SchmancyRoute, ih as SchmancyScroll, Pm as SchmancySelect, r_ as SchmancySkeleton, Qh as SchmancySlide, $h as SchmancySlider, ng as SchmancyStep, rg as SchmancySteps, qd as SchmancySuggestionChip, am as SchmancySurface, im as SchmancySurfaceTypeContext, Fm as SchmancySwitch, ig as SchmancyTableRow, kg as SchmancyTeleportation, Q as SchmancyTheme, Bg as SchmancyThemeAudioPlayer, Lg as SchmancyThemeComponent, Rg as SchmancyThemeController, Vg as SchmancyThemeControllerBoat, Gg as SchmancyTree, Jh as SchmancyTypography, a_ as SchmancyVisuallyHidden, ym as SchmancyWindow, Bu as SchmnacyIconButton, bi as Signal, eg as StepsController, al as ThemeHereIAm, il as ThemeWhereAreYou, Tg as WhereAreYouRicky, Zi as _activeHost, fc as aiBadge, dc as animateText, ga as area, jc as art, Lc as beta, Es as bindState, za as buildQueryString, Rc as color, Pa as compareActiveRoutes, Ta as compareCustomElementConstructors, Na as compareRouteActions, Ki as computed, Au as confirm, Vc as confirmClick, ic as createAnimation, Ng as createDarkTonalPaletteFromBaseColor, oc as createDismissAnimation, Mg as createLightTonalPaletteFromBaseColor, ac as createRevealAnimation, Fa as createRouteCacheKey, sc as createScaleAnimation, Wc as cursorGlow, Gc as cycleText, Aa as debounce, xa as decodeData, Ma as decodeRouteState, Oa as deepMerge, jf as delayContext, Kc as depthOfField, Ol as discover, Dl as discoverAllElements, Tl as discoverAnyComponent, wl as discoverComponent, El as discoverElement, Nu as dismissAll, tl as drag, rl as drop, Cs as effect, ba as encodeData, ja as encodeRouteState, Ra as extractQueryParams, vl as fill, sh as flip, Sm as formSubmitState, jg as formatTheme, hl as fromResizeObserver, gl as fullHeight, _l as fullWidth, Nc as futureCell, bl as fyi, nc as getEasing, Da as getTagName, xl as gravity, Nl as hummingbird, Pl as intersect, Zg as intersection$, Ic as isBeta, ka as isObject, wa as lazy, uh as lightbox, ch as lightboxDirective, Rl as liquid, Hl as livingBorder, Wl as longPress, Gl as magnetic, Kl as missedPunch, Zh as mutationObserver, Ql as nebula, Ea as normalizeTagName, th as notify, nh as notifyProgress, Ds as observe, Eu as openOverlays$, au as overflowWithin, Mu as overlayEvents, yl as overlayStack, rc as prefersReducedMotion, ju as prompt, Uc as reducedMotion$, eu as reveal, nu as ripple, fa as routerHistory, La as sanitizeRouteState, Xd as schmancyContentDrawer, Os as schmancyContext, gh as schmancyNavDrawer, Ms as schmancySound, cl as schmancyTheme, Fc as setBetaPredicate, ku as show, Hs as similarity, js as sound, Ss as state, ws as stateFromObservable, tg as stepsContext, cc as tailwindAnimations, Pg as tailwindStyles, Dg as teleport, sl as theme, pr as themeContext, Wg as tooltip, Xg as typewriter, du as urgent, mm as windowManager, pu as workingSnake };