@tachui/modifiers 0.8.33 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,38 +1,39 @@
1
- var ze = Object.defineProperty;
2
- var Fe = (o, s, e) => s in o ? ze(o, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[s] = e;
3
- var f = (o, s, e) => Fe(o, typeof s != "symbol" ? s + "" : s, e);
4
- import { globalModifierRegistry as Ne } from "@tachui/registry";
5
- import { isSignal as y, isComputed as m, createEffect as b, getThemeSignal as U } from "@tachui/core/reactive";
6
- import { bindReactiveStyle as Ie, collectStaticAnimationCSSRules as Pe } from "@tachui/core/modifiers/base";
1
+ var We = Object.defineProperty;
2
+ var je = (o, s, e) => s in o ? We(o, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[s] = e;
3
+ var d = (o, s, e) => je(o, typeof s != "symbol" ? s + "" : s, e);
4
+ import { globalModifierRegistry as Ue } from "@tachui/registry";
5
+ import { isSignal as y, isComputed as m, createEffect as b, getThemeSignal as U, onCleanup as Ge } from "@tachui/core/reactive";
6
+ import { bindReactiveStyle as $e, ensureAnimationKeyframes as Ve, collectStaticAnimationCSSRules as De } from "@tachui/core/modifiers/base";
7
7
  import { shouldExpandForInfinity as ue, dimensionToCSS as A, isInfinity as L } from "@tachui/core/constants/layout";
8
- import { AnimationModifier as fe, LifecycleModifier as We, LayoutModifier as pe, ResizableModifier as je, AppearanceModifier as H } from "@tachui/core/modifiers";
9
- import { gradientToCSS as Ue } from "@tachui/core/gradients/css-generator";
10
- const R = {
8
+ import { AnimationModifier as fe, LifecycleModifier as Ke, LayoutModifier as pe, ResizableModifier as Ye, AppearanceModifier as H } from "@tachui/core/modifiers";
9
+ import { renderComponent as Xe } from "@tachui/core/runtime";
10
+ import { gradientToDeclarations as Ze } from "@tachui/core/gradients/css-generator";
11
+ const D = {
11
12
  LAYOUT: 100,
12
13
  APPEARANCE: 200,
13
14
  INTERACTION: 300,
14
15
  ANIMATION: 400,
15
16
  CUSTOM: 500
16
- }, Te = /* @__PURE__ */ Symbol.for("tachui.modifier.instanceId"), Ge = "package";
17
- let Me = 0;
17
+ }, Me = /* @__PURE__ */ Symbol.for("tachui.modifier.instanceId"), qe = "package";
18
+ let ke = 0;
18
19
  function $(o) {
19
20
  return typeof HTMLElement < "u" && o instanceof HTMLElement;
20
21
  }
21
22
  function N(o) {
22
23
  return typeof o == "object" && o !== null && "style" in o && !!o.style;
23
24
  }
24
- function Q() {
25
+ function oe() {
25
26
  return typeof document < "u";
26
27
  }
27
- function Ke() {
28
+ function Je() {
28
29
  return typeof window < "u";
29
30
  }
30
- function Ye(o) {
31
- const s = o[Te];
31
+ function Qe(o) {
32
+ const s = o[Me];
32
33
  if (typeof s == "number") return s;
33
- Me += 1;
34
- const e = Me;
35
- return Object.defineProperty(o, Te, {
34
+ ke += 1;
35
+ const e = ke;
36
+ return Object.defineProperty(o, Me, {
36
37
  value: e,
37
38
  enumerable: !1,
38
39
  configurable: !1,
@@ -41,7 +42,7 @@ function Ye(o) {
41
42
  }
42
43
  let v = class {
43
44
  constructor(s) {
44
- f(this, "properties");
45
+ d(this, "properties");
45
46
  this.properties = s;
46
47
  }
47
48
  getStaticCSS(s) {
@@ -142,11 +143,11 @@ let v = class {
142
143
  if (a !== void 0) {
143
144
  const l = this.toCSSProperty(r);
144
145
  if (y(a) || m(a)) {
145
- const c = a, d = Ye(this);
146
- Ie({
146
+ const c = a, f = Qe(this);
147
+ $e({
147
148
  element: s,
148
149
  accessor: c,
149
- updaterId: `${Ge}:${d}:${l}`,
150
+ updaterId: `${qe}:${f}:${l}`,
150
151
  updater: (u) => {
151
152
  const p = this.toCSSValueForProperty(l, u);
152
153
  n(l, p);
@@ -183,11 +184,11 @@ let v = class {
183
184
  cleanup: []
184
185
  };
185
186
  }
186
- }, Jo = class extends v {
187
+ }, rr = class extends v {
187
188
  constructor() {
188
189
  super(...arguments);
189
- f(this, "type", "layout");
190
- f(this, "priority", R.LAYOUT);
190
+ d(this, "type", "layout");
191
+ d(this, "priority", D.LAYOUT);
191
192
  }
192
193
  apply(e, t) {
193
194
  if (!e.element || !t.element) return;
@@ -207,11 +208,11 @@ let v = class {
207
208
  const { x: i, y: n } = t;
208
209
  if (y(i) || m(i) || y(n) || m(n))
209
210
  b(() => {
210
- const r = y(i) || m(i) ? i() : i ?? 0, a = y(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), d = `translate(${l}, ${c})`, p = (e.style.transform || "").split(" ").filter((g) => g && !g.startsWith("translate(")).join(" "), h = p ? `${p} ${d}` : d;
211
+ const r = y(i) || m(i) ? i() : i ?? 0, a = y(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), f = `translate(${l}, ${c})`, p = (e.style.transform || "").split(" ").filter((g) => g && !g.startsWith("translate(")).join(" "), h = p ? `${p} ${f}` : f;
211
212
  e.style.transform = h;
212
213
  });
213
214
  else {
214
- const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), d = `translate(${l}, ${c})`, p = (e.style.transform || "").split(" ").filter((g) => g && !g.startsWith("translate(")).join(" "), h = p ? `${p} ${d}` : d;
215
+ const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), f = `translate(${l}, ${c})`, p = (e.style.transform || "").split(" ").filter((g) => g && !g.startsWith("translate(")).join(" "), h = p ? `${p} ${f}` : f;
215
216
  e.style.transform = h;
216
217
  }
217
218
  }
@@ -227,7 +228,7 @@ let v = class {
227
228
  const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
228
229
  if (y(a) || m(a) || y(l) || m(l))
229
230
  b(() => {
230
- const c = y(a) || m(a) ? a() : a, d = y(l) || m(l) ? l() : l, u = `scale(${c}, ${d})`;
231
+ const c = y(a) || m(a) ? a() : a, f = y(l) || m(l) ? l() : l, u = `scale(${c}, ${f})`;
231
232
  e.style.transformOrigin = this.getTransformOrigin(
232
233
  r || "center"
233
234
  );
@@ -349,11 +350,11 @@ let v = class {
349
350
  }
350
351
  return i;
351
352
  }
352
- }, er = class extends v {
353
+ }, ar = class extends v {
353
354
  constructor() {
354
355
  super(...arguments);
355
- f(this, "type", "appearance");
356
- f(this, "priority", R.APPEARANCE);
356
+ d(this, "type", "appearance");
357
+ d(this, "priority", D.APPEARANCE);
357
358
  }
358
359
  apply(e, t) {
359
360
  if (!e.element || !t.element)
@@ -435,27 +436,27 @@ let v = class {
435
436
  const i = [];
436
437
  return e.blur !== void 0 && i.push(`blur(${e.blur}px)`), e.brightness !== void 0 && i.push(`brightness(${e.brightness})`), e.contrast !== void 0 && i.push(`contrast(${e.contrast})`), e.saturation !== void 0 && i.push(`saturate(${e.saturation})`), e.hueRotation !== void 0 && i.push(`hue-rotate(${e.hueRotation}deg)`), e.grayscale !== void 0 && i.push(`grayscale(${e.grayscale})`), e.colorInvert !== void 0 && i.push(`invert(${e.colorInvert})`), i.length > 0 && (t.filter = i.join(" ")), t;
437
438
  }
438
- }, ir = class extends v {
439
+ }, cr = class extends v {
439
440
  constructor() {
440
441
  super(...arguments);
441
- f(this, "type", "interaction");
442
- f(this, "priority", R.INTERACTION);
442
+ d(this, "type", "interaction");
443
+ d(this, "priority", D.INTERACTION);
443
444
  }
444
445
  apply(e, t) {
445
446
  if (!t.element) return;
446
- const i = this.properties, n = t.element, r = [], a = [], l = (d, u, p, h) => {
447
- d.addEventListener(u, p, h), r.push({ target: d, type: u, handler: p, options: h });
447
+ const i = this.properties, n = t.element, r = [], a = [], l = (f, u, p, h) => {
448
+ f.addEventListener(u, p, h), r.push({ target: f, type: u, handler: p, options: h });
448
449
  };
449
450
  if (i.onTap && l(n, "click", i.onTap), i.onHover && (l(n, "mouseenter", () => i.onHover(!0)), l(n, "mouseleave", () => i.onHover(!1))), i.onMouseEnter && l(n, "mouseenter", i.onMouseEnter), i.onMouseLeave && l(n, "mouseleave", i.onMouseLeave), i.onMouseDown && l(n, "mousedown", i.onMouseDown), i.onMouseUp && l(n, "mouseup", i.onMouseUp), i.onDragStart && l(n, "dragstart", i.onDragStart), i.onDragOver && l(n, "dragover", i.onDragOver), i.onDragLeave && l(n, "dragleave", i.onDragLeave), i.onDrop && l(n, "drop", i.onDrop), i.onDoubleClick && l(n, "dblclick", i.onDoubleClick), i.onContextMenu && l(n, "contextmenu", i.onContextMenu), i.onFocus && (l(n, "focus", () => i.onFocus(!0)), l(n, "blur", () => i.onFocus(!1))), i.onBlur && l(n, "blur", () => i.onBlur(!1)), i.onKeyPress && l(n, "keypress", i.onKeyPress), i.onKeyDown && l(n, "keydown", i.onKeyDown), i.onKeyUp && l(n, "keyup", i.onKeyUp), i.onScroll && l(n, "scroll", i.onScroll, {
450
451
  passive: !0
451
452
  }), i.onWheel && l(n, "wheel", i.onWheel, {
452
453
  passive: !1
453
- }), i.onInput && l(n, "input", i.onInput), i.onChange && l(n, "change", (d) => {
454
- const u = d.target, p = u.value || u.textContent || "";
455
- i.onChange(p, d);
454
+ }), i.onInput && l(n, "input", i.onInput), i.onChange && l(n, "change", (f) => {
455
+ const u = f.target, p = u.value || u.textContent || "";
456
+ i.onChange(p, f);
456
457
  }), i.onCopy && l(n, "copy", i.onCopy), i.onCut && l(n, "cut", i.onCut), i.onPaste && l(n, "paste", i.onPaste), i.onSelect && l(n, "select", i.onSelect), i.disabled !== void 0 && $(n)) {
457
- const d = n, u = (p) => {
458
- p ? (d.setAttribute("disabled", "true"), d.style.pointerEvents = "none", d.style.opacity = "0.6") : (d.removeAttribute("disabled"), d.style.pointerEvents = "", d.style.opacity = "");
458
+ const f = n, u = (p) => {
459
+ p ? (f.setAttribute("disabled", "true"), f.style.pointerEvents = "none", f.style.opacity = "0.6") : (f.removeAttribute("disabled"), f.style.pointerEvents = "", f.style.opacity = "");
459
460
  };
460
461
  y(i.disabled) || m(i.disabled) ? b(() => {
461
462
  const p = !!i.disabled();
@@ -465,21 +466,21 @@ let v = class {
465
466
  if (i.draggable !== void 0 && $(n) && (n.draggable = i.draggable), i.accessibilityLabel && n.setAttribute("aria-label", i.accessibilityLabel), i.accessibilityHint && n.setAttribute("aria-describedby", i.accessibilityHint), i.onLongPressGesture && a.push(
466
467
  this.setupLongPressGesture(n, i.onLongPressGesture)
467
468
  ), i.keyboardShortcut) {
468
- const d = this.setupKeyboardShortcut(n, i.keyboardShortcut);
469
- d && a.push(d);
469
+ const f = this.setupKeyboardShortcut(n, i.keyboardShortcut);
470
+ f && a.push(f);
470
471
  }
471
472
  if (i.focused !== void 0 && this.setupFocusManagement(n, i.focused), i.focusable) {
472
- const d = this.setupFocusable(n, i.focusable);
473
- d && a.push(d);
473
+ const f = this.setupFocusable(n, i.focusable);
474
+ f && a.push(f);
474
475
  }
475
476
  return i.onContinuousHover && a.push(
476
477
  this.setupContinuousHover(n, i.onContinuousHover)
477
478
  ), i.allowsHitTesting !== void 0 && this.setupHitTesting(n, i.allowsHitTesting), { node: e, cleanup: [() => {
478
- for (const { target: d, type: u, handler: p, options: h } of r)
479
- d.removeEventListener(u, p, h);
479
+ for (const { target: f, type: u, handler: p, options: h } of r)
480
+ f.removeEventListener(u, p, h);
480
481
  r.length = 0;
481
- for (const d of a)
482
- d();
482
+ for (const f of a)
483
+ f();
483
484
  a.length = 0;
484
485
  }] };
485
486
  }
@@ -492,14 +493,14 @@ let v = class {
492
493
  let r, a = null, l = !1;
493
494
  const c = () => {
494
495
  r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
495
- }, d = () => {
496
+ }, f = () => {
496
497
  c(), e.removeEventListener("pointerdown", u), e.removeEventListener("pointermove", p), e.removeEventListener("pointerup", h), e.removeEventListener(
497
498
  "pointercancel",
498
499
  g
499
500
  );
500
501
  }, u = (S) => {
501
502
  const E = S;
502
- a = { x: E.clientX, y: E.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = (Ke() ? window.setTimeout : setTimeout)(() => {
503
+ a = { x: E.clientX, y: E.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = (Je() ? window.setTimeout : setTimeout)(() => {
503
504
  l && a && (t.perform(), c());
504
505
  }, i);
505
506
  }, p = (S) => {
@@ -516,7 +517,7 @@ let v = class {
516
517
  return e.addEventListener("pointerdown", u), e.addEventListener("pointermove", p), e.addEventListener("pointerup", h), e.addEventListener(
517
518
  "pointercancel",
518
519
  g
519
- ), e._longPressCleanup = d, d;
520
+ ), e._longPressCleanup = f, f;
520
521
  }
521
522
  /**
522
523
  * Setup keyboard shortcut handling
@@ -534,12 +535,12 @@ let v = class {
534
535
  ctrl: a.ctrlKey,
535
536
  shift: a.shiftKey,
536
537
  alt: a.altKey
537
- }, d = a.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(l).every(
538
+ }, f = a.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(l).every(
538
539
  ([p, h]) => h === c[p]
539
540
  );
540
- d && u && (a.preventDefault(), t.action());
541
+ f && u && (a.preventDefault(), t.action());
541
542
  };
542
- if (!Q()) return;
543
+ if (!oe()) return;
543
544
  document.addEventListener("keydown", n);
544
545
  const r = () => {
545
546
  document.removeEventListener("keydown", n);
@@ -580,13 +581,13 @@ let v = class {
580
581
  setupContinuousHover(e, t) {
581
582
  const i = t.coordinateSpace ?? "local", n = (l) => {
582
583
  const c = l;
583
- let d, u;
584
+ let f, u;
584
585
  if (i === "local") {
585
586
  const p = e.getBoundingClientRect();
586
- d = c.clientX - p.left, u = c.clientY - p.top;
587
+ f = c.clientX - p.left, u = c.clientY - p.top;
587
588
  } else
588
- d = c.clientX, u = c.clientY;
589
- t.perform({ x: d, y: u });
589
+ f = c.clientX, u = c.clientY;
590
+ t.perform({ x: f, y: u });
590
591
  }, r = () => {
591
592
  t.perform(null);
592
593
  };
@@ -605,11 +606,11 @@ let v = class {
605
606
  setupHitTesting(e, t) {
606
607
  $(e) && (e.style.pointerEvents = t ? "" : "none");
607
608
  }
608
- }, Xe = class extends v {
609
+ }, et = class extends v {
609
610
  constructor() {
610
611
  super(...arguments);
611
- f(this, "type", "animation");
612
- f(this, "priority", R.ANIMATION);
612
+ d(this, "type", "animation");
613
+ d(this, "priority", D.ANIMATION);
613
614
  }
614
615
  apply(e, t) {
615
616
  if (!t.element) return;
@@ -620,14 +621,9 @@ let v = class {
620
621
  }
621
622
  if (i.animation && N(t.element)) {
622
623
  const n = i.animation;
623
- if (n.keyframes && Q()) {
624
- const r = `tachui-animation-${t.componentId}-${Date.now()}`, a = this.createKeyframeRule(
625
- r,
626
- n.keyframes
627
- );
628
- this.addKeyframesToStylesheet(a);
629
- const l = n.duration || 1e3, c = n.easing || "ease", d = n.iterations || 1, u = n.direction || "normal";
630
- t.element.style.animation = `${r} ${l}ms ${c} ${d} ${u}`;
624
+ if (n.keyframes && oe()) {
625
+ const r = Ve(n.keyframes), a = n.duration || 1e3, l = n.easing || "ease", c = n.iterations || 1, f = n.direction || "normal";
626
+ t.element.style.animation = `${r} ${a}ms ${l} ${c} ${f}`;
631
627
  }
632
628
  }
633
629
  if (i.transform && N(t.element) && (y(i.transform) || m(i.transform) ? b(() => {
@@ -663,23 +659,19 @@ let v = class {
663
659
  i.overlay && $(t.element) && this.applyOverlay(t.element, i.overlay, t);
664
660
  }
665
661
  getStaticCSS(e) {
666
- return Pe(
667
- e,
668
- this.properties,
669
- this.createKeyframeRule.bind(this)
670
- );
662
+ return De(e, this.properties);
671
663
  }
672
664
  applyOverlay(e, t, i) {
673
665
  const { content: n, alignment: r = "center" } = t;
674
- if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !Q()) return;
666
+ if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !oe()) return;
675
667
  const a = document.createElement("div");
676
668
  a.style.position = "absolute", a.style.pointerEvents = "none";
677
669
  const l = this.getOverlayAlignment(r);
678
670
  if (Object.assign(a.style, l), typeof n == "function") {
679
671
  const c = n();
680
672
  if (c && typeof c.render == "function") {
681
- const d = c.render();
682
- d.element && a.appendChild(d.element);
673
+ const f = c.render();
674
+ f.element && a.appendChild(f.element);
683
675
  }
684
676
  } else if (n && typeof n.render == "function") {
685
677
  const c = n.render();
@@ -733,35 +725,12 @@ let v = class {
733
725
  };
734
726
  return t[e] || t.center;
735
727
  }
736
- createKeyframeRule(e, t) {
737
- let i = `@keyframes ${e} {
738
- `;
739
- for (const [n, r] of Object.entries(t)) {
740
- i += ` ${n} {
741
- `;
742
- for (const [a, l] of Object.entries(r)) {
743
- const c = this.toCSSProperty(a);
744
- i += ` ${c}: ${l};
745
- `;
746
- }
747
- i += ` }
748
- `;
749
- }
750
- return i += "}", i;
751
- }
752
- addKeyframesToStylesheet(e) {
753
- if (!Q()) return;
754
- let t = document.querySelector(
755
- "#tachui-animations"
756
- );
757
- t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
758
- }
759
- }, rr = class extends v {
728
+ }, ur = class extends v {
760
729
  constructor() {
761
730
  super(...arguments);
762
- f(this, "type", "lifecycle");
763
- f(this, "priority", R.CUSTOM);
764
- f(this, "activeAbortController");
731
+ d(this, "type", "lifecycle");
732
+ d(this, "priority", D.CUSTOM);
733
+ d(this, "activeAbortController");
765
734
  }
766
735
  apply(e, t) {
767
736
  if (!t.element) return;
@@ -807,7 +776,7 @@ let v = class {
807
776
  if (!t) return;
808
777
  let i = !1, n = 0, r = 0;
809
778
  const a = 70;
810
- if (!Q()) return;
779
+ if (!oe()) return;
811
780
  const l = document.createElement("div");
812
781
  if (l.style.cssText = `
813
782
  position: absolute;
@@ -834,7 +803,7 @@ let v = class {
834
803
  }
835
804
  const c = e.parentElement || e;
836
805
  $(c) && (c.style.position = "relative", c.appendChild(l));
837
- const d = (h) => {
806
+ const f = (h) => {
838
807
  i || (r = h.touches[0].clientY);
839
808
  }, u = (h) => {
840
809
  if (i) return;
@@ -858,14 +827,14 @@ let v = class {
858
827
  i = !1, l.style.opacity = "0", l.style.top = "-50px", n = 0;
859
828
  }
860
829
  };
861
- e.addEventListener("touchstart", d, {
830
+ e.addEventListener("touchstart", f, {
862
831
  passive: !1
863
832
  }), e.addEventListener("touchmove", u, {
864
833
  passive: !1
865
834
  }), e.addEventListener("touchend", p), this.addCleanup(() => {
866
835
  e.removeEventListener(
867
836
  "touchstart",
868
- d
837
+ f
869
838
  ), e.removeEventListener("touchmove", u), e.removeEventListener("touchend", p), l.parentElement && l.parentElement.removeChild(l);
870
839
  });
871
840
  }
@@ -873,13 +842,13 @@ let v = class {
873
842
  this.properties._cleanupFunctions || (this.properties._cleanupFunctions = []), this.properties._cleanupFunctions.push(e);
874
843
  }
875
844
  };
876
- const Ze = "@tachui/modifiers", qe = "0.8.33", ar = Ze, Je = qe;
845
+ const tt = "@tachui/modifiers", it = "0.10.0", hr = tt, nt = it;
877
846
  class O extends v {
878
847
  // Optimized priority for internal spacing (before margin at 50)
879
848
  constructor(e) {
880
849
  super(e);
881
- f(this, "type", "padding");
882
- f(this, "priority", 45);
850
+ d(this, "type", "padding");
851
+ d(this, "priority", 45);
883
852
  }
884
853
  apply(e, t) {
885
854
  if (!t.element) return;
@@ -907,31 +876,31 @@ class O extends v {
907
876
  function T(o) {
908
877
  return y(o) || m(o) ? new O({ all: o }) : typeof o == "number" || typeof o == "string" ? new O({ all: o }) : new O(o);
909
878
  }
910
- function Qe(o) {
879
+ function ot(o) {
911
880
  return new O({ top: o });
912
881
  }
913
- function et(o) {
882
+ function rt(o) {
914
883
  return new O({ bottom: o });
915
884
  }
916
- function tt(o) {
885
+ function st(o) {
917
886
  return new O({ left: o });
918
887
  }
919
- function it(o) {
888
+ function at(o) {
920
889
  return new O({ right: o });
921
890
  }
922
- function nt(o) {
891
+ function lt(o) {
923
892
  return new O({ leading: o });
924
893
  }
925
- function ot(o) {
894
+ function ct(o) {
926
895
  return new O({ trailing: o });
927
896
  }
928
- function rt(o) {
897
+ function ft(o) {
929
898
  return new O({ horizontal: o });
930
899
  }
931
- function st(o) {
900
+ function dt(o) {
932
901
  return new O({ vertical: o });
933
902
  }
934
- const lr = {
903
+ const yr = {
935
904
  /**
936
905
  * Extra small padding (4px) - For tight spacing
937
906
  */
@@ -1014,8 +983,8 @@ class B extends v {
1014
983
  // Optimized priority for external spacing (after padding at 45)
1015
984
  constructor(e) {
1016
985
  super(e);
1017
- f(this, "type", "margin");
1018
- f(this, "priority", 50);
986
+ d(this, "type", "margin");
987
+ d(this, "priority", 50);
1019
988
  }
1020
989
  apply(e, t) {
1021
990
  if (!t.element) return;
@@ -1043,31 +1012,31 @@ class B extends v {
1043
1012
  function M(o) {
1044
1013
  return typeof o == "number" || typeof o == "string" ? new B({ all: o }) : new B(o);
1045
1014
  }
1046
- function at(o) {
1015
+ function ut(o) {
1047
1016
  return new B({ top: o });
1048
1017
  }
1049
- function lt(o) {
1018
+ function pt(o) {
1050
1019
  return new B({ bottom: o });
1051
1020
  }
1052
- function ct(o) {
1021
+ function ht(o) {
1053
1022
  return new B({ left: o });
1054
1023
  }
1055
- function ft(o) {
1024
+ function yt(o) {
1056
1025
  return new B({ right: o });
1057
1026
  }
1058
- function dt(o) {
1027
+ function mt(o) {
1059
1028
  return new B({ leading: o });
1060
1029
  }
1061
- function ut(o) {
1030
+ function gt(o) {
1062
1031
  return new B({ trailing: o });
1063
1032
  }
1064
- function pt(o) {
1033
+ function vt(o) {
1065
1034
  return new B({ horizontal: o });
1066
1035
  }
1067
- function ht(o) {
1036
+ function bt(o) {
1068
1037
  return new B({ vertical: o });
1069
1038
  }
1070
- const cr = {
1039
+ const mr = {
1071
1040
  /**
1072
1041
  * Extra small margin (4px) - For tight spacing
1073
1042
  */
@@ -1155,8 +1124,8 @@ class G extends v {
1155
1124
  // Priority 80 for layout
1156
1125
  constructor(e) {
1157
1126
  super(e);
1158
- f(this, "type", "size");
1159
- f(this, "priority", 80);
1127
+ d(this, "type", "size");
1128
+ d(this, "priority", 80);
1160
1129
  }
1161
1130
  apply(e, t) {
1162
1131
  if (!t.element) return;
@@ -1192,35 +1161,35 @@ class G extends v {
1192
1161
  return t;
1193
1162
  }
1194
1163
  }
1195
- function yt(o) {
1164
+ function St(o) {
1196
1165
  return new G(o);
1197
1166
  }
1198
- function mt(o) {
1167
+ function wt(o) {
1199
1168
  return new G({ width: o });
1200
1169
  }
1201
- function gt(o) {
1170
+ function Ct(o) {
1202
1171
  return new G({ height: o });
1203
1172
  }
1204
- function vt(o) {
1173
+ function xt(o) {
1205
1174
  return new G({ maxWidth: o });
1206
1175
  }
1207
- function bt(o) {
1176
+ function Et(o) {
1208
1177
  return new G({ minWidth: o });
1209
1178
  }
1210
- function St(o) {
1179
+ function Tt(o) {
1211
1180
  return new G({ maxHeight: o });
1212
1181
  }
1213
- function wt(o) {
1182
+ function Mt(o) {
1214
1183
  return new G({ minHeight: o });
1215
1184
  }
1216
- class ae extends Xe {
1185
+ class ae extends et {
1217
1186
  constructor() {
1218
1187
  super(...arguments);
1219
1188
  // Override type to be 'transition' instead of 'animation'
1220
- f(this, "type", "transition");
1189
+ d(this, "type", "transition");
1221
1190
  }
1222
1191
  }
1223
- function Ct(o, s, e, t) {
1192
+ function kt(o, s, e, t) {
1224
1193
  if (typeof o == "object")
1225
1194
  return new ae({ transition: o });
1226
1195
  const i = o;
@@ -1240,21 +1209,21 @@ function Ct(o, s, e, t) {
1240
1209
  }
1241
1210
  });
1242
1211
  }
1243
- function xt(o) {
1212
+ function At(o) {
1244
1213
  return new fe({ transform: o });
1245
1214
  }
1246
- function Et(o) {
1215
+ function Lt(o) {
1247
1216
  return o ? new fe({ animation: o }) : new fe({});
1248
1217
  }
1249
- function Tt(o) {
1250
- return new We({ task: o });
1218
+ function It(o) {
1219
+ return new Ke({ task: o });
1251
1220
  }
1252
- class D extends v {
1221
+ class R extends v {
1253
1222
  // Optimized priority for layout modifiers
1254
1223
  constructor(e) {
1255
1224
  super(e);
1256
- f(this, "type", "flexbox");
1257
- f(this, "priority", 60);
1225
+ d(this, "type", "flexbox");
1226
+ d(this, "priority", 60);
1258
1227
  }
1259
1228
  apply(e, t) {
1260
1229
  if (!t.element) return;
@@ -1277,45 +1246,45 @@ class D extends v {
1277
1246
  }
1278
1247
  }
1279
1248
  function P(o) {
1280
- return new D(o);
1249
+ return new R(o);
1281
1250
  }
1282
- function Mt(o) {
1283
- return new D({ flexGrow: o });
1251
+ function Pt(o) {
1252
+ return new R({ flexGrow: o });
1284
1253
  }
1285
- function kt(o) {
1286
- return new D({ flexShrink: o });
1254
+ function $t(o) {
1255
+ return new R({ flexShrink: o });
1287
1256
  }
1288
- function At(o) {
1289
- return new D({ flexBasis: o });
1257
+ function Vt(o) {
1258
+ return new R({ flexBasis: o });
1290
1259
  }
1291
- function fr(o) {
1292
- return new D({ flex: o });
1260
+ function gr(o) {
1261
+ return new R({ flex: o });
1293
1262
  }
1294
- function Lt(o) {
1295
- return new D({ justifyContent: o });
1263
+ function Dt(o) {
1264
+ return new R({ justifyContent: o });
1296
1265
  }
1297
- function It(o) {
1298
- return new D({ alignItems: o });
1266
+ function Rt(o) {
1267
+ return new R({ alignItems: o });
1299
1268
  }
1300
- function Pt(o) {
1301
- return new D({ alignSelf: o });
1269
+ function Ot(o) {
1270
+ return new R({ alignSelf: o });
1302
1271
  }
1303
- function $t(o) {
1304
- return new D({ gap: o });
1272
+ function Bt(o) {
1273
+ return new R({ gap: o });
1305
1274
  }
1306
- function dr(o) {
1307
- return new D({ rowGap: o });
1275
+ function vr(o) {
1276
+ return new R({ rowGap: o });
1308
1277
  }
1309
- function ur(o) {
1310
- return new D({ columnGap: o });
1278
+ function br(o) {
1279
+ return new R({ columnGap: o });
1311
1280
  }
1312
- function Vt(o) {
1313
- return new D({ flexDirection: o });
1281
+ function _t(o) {
1282
+ return new R({ flexDirection: o });
1314
1283
  }
1315
- function Rt(o) {
1316
- return new D({ flexWrap: o });
1284
+ function Ht(o) {
1285
+ return new R({ flexWrap: o });
1317
1286
  }
1318
- const pr = {
1287
+ const Sr = {
1319
1288
  /**
1320
1289
  * Standard flex container
1321
1290
  * Sets display: flex for basic flex container
@@ -1453,11 +1422,11 @@ const pr = {
1453
1422
  alignItems: "stretch"
1454
1423
  })
1455
1424
  };
1456
- class Dt extends v {
1425
+ class zt extends v {
1457
1426
  constructor() {
1458
1427
  super(...arguments);
1459
- f(this, "type", "offset");
1460
- f(this, "priority", 35);
1428
+ d(this, "type", "offset");
1429
+ d(this, "priority", 35);
1461
1430
  }
1462
1431
  // High priority for transform operations
1463
1432
  apply(e, t) {
@@ -1469,8 +1438,8 @@ class Dt extends v {
1469
1438
  }) : this.applyOffset(t.element, i, n);
1470
1439
  }
1471
1440
  applyOffset(e, t, i) {
1472
- const n = this.toCSSValue(t), r = this.toCSSValue(i), a = `translate(${n}, ${r})`, c = (e.style.transform || "").replace(/\s*translate(?!Z\(0\))[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), d = c ? `${c} ${a}` : a;
1473
- e.style.transform = d;
1441
+ const n = this.toCSSValue(t), r = this.toCSSValue(i), a = `translate(${n}, ${r})`, c = (e.style.transform || "").replace(/\s*translate(?!Z\(0\))[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), f = c ? `${c} ${a}` : a;
1442
+ e.style.transform = f;
1474
1443
  }
1475
1444
  /**
1476
1445
  * Development mode validation
@@ -1494,15 +1463,15 @@ class Dt extends v {
1494
1463
  }
1495
1464
  }
1496
1465
  }
1497
- function Ot(o, s) {
1498
- const e = new Dt({ x: o, y: s ?? 0 });
1466
+ function Ft(o, s) {
1467
+ const e = new zt({ x: o, y: s ?? 0 });
1499
1468
  return typeof process < "u" && process.env.NODE_ENV === "development" && e.validateOffset(o, s), e;
1500
1469
  }
1501
- class Bt extends v {
1470
+ class Nt extends v {
1502
1471
  constructor() {
1503
1472
  super(...arguments);
1504
- f(this, "type", "scaleEffect");
1505
- f(this, "priority", 35);
1473
+ d(this, "type", "scaleEffect");
1474
+ d(this, "priority", 35);
1506
1475
  }
1507
1476
  // High priority for transform operations
1508
1477
  apply(e, t) {
@@ -1576,14 +1545,14 @@ class Bt extends v {
1576
1545
  }
1577
1546
  }
1578
1547
  }
1579
- function _t(o, s, e = "center") {
1580
- return new Bt({ x: o, y: s, anchor: e });
1548
+ function Wt(o, s, e = "center") {
1549
+ return new Nt({ x: o, y: s, anchor: e });
1581
1550
  }
1582
- class $e extends v {
1551
+ class Re extends v {
1583
1552
  constructor() {
1584
1553
  super(...arguments);
1585
- f(this, "type", "aspectRatio");
1586
- f(this, "priority", 20);
1554
+ d(this, "type", "aspectRatio");
1555
+ d(this, "priority", 20);
1587
1556
  }
1588
1557
  // Medium priority for layout properties
1589
1558
  apply(e, t) {
@@ -1640,7 +1609,7 @@ class $e extends v {
1640
1609
  /**
1641
1610
  * Get common aspect ratios
1642
1611
  */
1643
- f($e, "COMMON_RATIOS", {
1612
+ d(Re, "COMMON_RATIOS", {
1644
1613
  square: 1,
1645
1614
  portrait: 3 / 4,
1646
1615
  landscape: 4 / 3,
@@ -1649,17 +1618,17 @@ f($e, "COMMON_RATIOS", {
1649
1618
  golden: 1.618,
1650
1619
  photo: 3 / 2
1651
1620
  });
1652
- function Ht(o, s = "fit") {
1653
- return new $e({ ratio: o, contentMode: s });
1621
+ function jt(o, s = "fit") {
1622
+ return new Re({ ratio: o, contentMode: s });
1654
1623
  }
1655
- function zt(o) {
1624
+ function Ut(o) {
1656
1625
  return typeof getComputedStyle != "function" ? null : getComputedStyle(o);
1657
1626
  }
1658
- class Ft extends v {
1627
+ class Gt extends v {
1659
1628
  constructor() {
1660
1629
  super(...arguments);
1661
- f(this, "type", "fixedSize");
1662
- f(this, "priority", 25);
1630
+ d(this, "type", "fixedSize");
1631
+ d(this, "priority", 25);
1663
1632
  }
1664
1633
  // Medium priority for layout properties
1665
1634
  apply(e, t) {
@@ -1689,7 +1658,7 @@ class Ft extends v {
1689
1658
  isFlexItem(e) {
1690
1659
  const t = e.parentElement;
1691
1660
  if (!t) return !1;
1692
- const i = zt(t);
1661
+ const i = Ut(t);
1693
1662
  if (!i) return !1;
1694
1663
  const n = i.display;
1695
1664
  return n === "flex" || n === "inline-flex";
@@ -1713,16 +1682,16 @@ class Ft extends v {
1713
1682
  ));
1714
1683
  }
1715
1684
  }
1716
- function Nt(o = !0, s = !0) {
1717
- return new Ft({ horizontal: o, vertical: s });
1685
+ function Kt(o = !0, s = !0) {
1686
+ return new Gt({ horizontal: o, vertical: s });
1718
1687
  }
1719
- function Wt(o) {
1688
+ function Yt(o) {
1720
1689
  return new pe({ frame: o });
1721
1690
  }
1722
- function jt(o) {
1691
+ function Xt(o) {
1723
1692
  return new pe({ layoutPriority: o });
1724
1693
  }
1725
- function Ut(o, s) {
1694
+ function Zt(o, s) {
1726
1695
  return new pe({
1727
1696
  position: {
1728
1697
  x: o,
@@ -1730,20 +1699,20 @@ function Ut(o, s) {
1730
1699
  }
1731
1700
  });
1732
1701
  }
1733
- function Gt() {
1734
- return new je({});
1702
+ function qt() {
1703
+ return new Ye({});
1735
1704
  }
1736
- function Kt() {
1705
+ function Jt() {
1737
1706
  return typeof document < "u";
1738
1707
  }
1739
1708
  function le(o) {
1740
1709
  return typeof getComputedStyle != "function" ? null : getComputedStyle(o);
1741
1710
  }
1742
- class Yt extends v {
1711
+ class Qt extends v {
1743
1712
  constructor() {
1744
1713
  super(...arguments);
1745
- f(this, "type", "position");
1746
- f(this, "priority", 50);
1714
+ d(this, "type", "position");
1715
+ d(this, "priority", 50);
1747
1716
  }
1748
1717
  // Highest priority to override other positioning
1749
1718
  apply(e, t) {
@@ -1800,7 +1769,7 @@ class Yt extends v {
1800
1769
  (t === "absolute" || t === "fixed") && (e.style.zIndex || (e.style.zIndex = "0"), e.style.transform || (e.style.transform = "translateZ(0)"));
1801
1770
  }
1802
1771
  warnIfMissingPositionedParent(e) {
1803
- if (!Kt()) return;
1772
+ if (!Jt()) return;
1804
1773
  let t = e.parentElement, i = !1;
1805
1774
  for (; t && t !== document.body; ) {
1806
1775
  const n = le(t);
@@ -1859,20 +1828,20 @@ class Yt extends v {
1859
1828
  }
1860
1829
  }
1861
1830
  }
1862
- function Xt(o) {
1863
- return new Yt({ position: o });
1831
+ function ei(o) {
1832
+ return new Qt({ position: o });
1864
1833
  }
1865
- function Zt() {
1834
+ function ti() {
1866
1835
  return typeof getComputedStyle == "function";
1867
1836
  }
1868
- function ne(o) {
1869
- return Zt() ? getComputedStyle(o) : null;
1837
+ function ie(o) {
1838
+ return ti() ? getComputedStyle(o) : null;
1870
1839
  }
1871
- class Ve extends v {
1840
+ class Oe extends v {
1872
1841
  constructor() {
1873
1842
  super(...arguments);
1874
- f(this, "type", "zIndex");
1875
- f(this, "priority", 45);
1843
+ d(this, "type", "zIndex");
1844
+ d(this, "priority", 45);
1876
1845
  }
1877
1846
  // High priority for layering
1878
1847
  apply(e, t) {
@@ -1887,7 +1856,7 @@ class Ve extends v {
1887
1856
  e.style.zIndex = String(t), this.ensureStackingContext(e, t);
1888
1857
  }
1889
1858
  ensureStackingContext(e, t) {
1890
- const i = ne(e);
1859
+ const i = ie(e);
1891
1860
  if (!i) return;
1892
1861
  const r = i.position !== "static", a = this.isFlexItem(e), l = this.isGridItem(e);
1893
1862
  !r && !a && !l && (e.style.position = "relative", typeof process < "u" && process.env.NODE_ENV === "development" && console.info(
@@ -1897,7 +1866,7 @@ class Ve extends v {
1897
1866
  isFlexItem(e) {
1898
1867
  const t = e.parentElement;
1899
1868
  if (!t) return !1;
1900
- const i = ne(t);
1869
+ const i = ie(t);
1901
1870
  if (!i) return !1;
1902
1871
  const n = i.display;
1903
1872
  return n === "flex" || n === "inline-flex";
@@ -1905,7 +1874,7 @@ class Ve extends v {
1905
1874
  isGridItem(e) {
1906
1875
  const t = e.parentElement;
1907
1876
  if (!t) return !1;
1908
- const i = ne(t);
1877
+ const i = ie(t);
1909
1878
  if (!i) return !1;
1910
1879
  const n = i.display;
1911
1880
  return n === "grid" || n === "inline-grid";
@@ -1918,7 +1887,7 @@ class Ve extends v {
1918
1887
  ), this.checkStackingContext(e);
1919
1888
  }
1920
1889
  checkStackingContext(e) {
1921
- const t = ne(e);
1890
+ const t = ie(e);
1922
1891
  if (!t) return;
1923
1892
  const n = [
1924
1893
  { prop: "opacity", value: t.opacity, creates: t.opacity !== "1" },
@@ -1968,7 +1937,7 @@ class Ve extends v {
1968
1937
  /**
1969
1938
  * Common z-index values for semantic layering
1970
1939
  */
1971
- f(Ve, "COMMON_LAYERS", {
1940
+ d(Oe, "COMMON_LAYERS", {
1972
1941
  background: -1,
1973
1942
  base: 0,
1974
1943
  content: 1,
@@ -1980,8 +1949,8 @@ f(Ve, "COMMON_LAYERS", {
1980
1949
  toast: 600,
1981
1950
  debug: 9999
1982
1951
  });
1983
- function qt(o) {
1984
- return new Ve({ zIndex: o });
1952
+ function ii(o) {
1953
+ return new Oe({ zIndex: o });
1985
1954
  }
1986
1955
  function V(o) {
1987
1956
  return typeof HTMLElement < "u" && o instanceof HTMLElement;
@@ -1989,15 +1958,15 @@ function V(o) {
1989
1958
  function W(o) {
1990
1959
  return typeof o == "object" && o !== null && "style" in o && !!o.style;
1991
1960
  }
1992
- function oe() {
1961
+ function he() {
1993
1962
  return typeof document < "u";
1994
1963
  }
1995
- function Jt() {
1964
+ function ni() {
1996
1965
  return typeof window < "u";
1997
1966
  }
1998
1967
  class w {
1999
1968
  constructor(s) {
2000
- f(this, "properties");
1969
+ d(this, "properties");
2001
1970
  this.properties = s;
2002
1971
  }
2003
1972
  getStaticCSS(s) {
@@ -2091,8 +2060,8 @@ class w {
2091
2060
  );
2092
2061
  if (i.setProperty)
2093
2062
  if (typeof c == "string" && c.includes("!important")) {
2094
- const d = c.replace(/\s*!important\s*$/, "").trim();
2095
- i.setProperty(a, d, "important");
2063
+ const f = c.replace(/\s*!important\s*$/, "").trim();
2064
+ i.setProperty(a, f, "important");
2096
2065
  } else
2097
2066
  i.setProperty(a, c);
2098
2067
  else
@@ -2137,11 +2106,11 @@ class w {
2137
2106
  };
2138
2107
  }
2139
2108
  }
2140
- class hr extends w {
2109
+ class wr extends w {
2141
2110
  constructor() {
2142
2111
  super(...arguments);
2143
- f(this, "type", "layout");
2144
- f(this, "priority", R.LAYOUT);
2112
+ d(this, "type", "layout");
2113
+ d(this, "priority", D.LAYOUT);
2145
2114
  }
2146
2115
  apply(e, t) {
2147
2116
  if (!e.element || !t.element) return;
@@ -2161,11 +2130,11 @@ class hr extends w {
2161
2130
  const { x: i, y: n } = t;
2162
2131
  if (y(i) || m(i) || y(n) || m(n))
2163
2132
  b(() => {
2164
- const r = y(i) || m(i) ? i() : i ?? 0, a = y(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), d = `translate(${l}, ${c})`, p = (e.style.transform || "").split(" ").filter((g) => g && !g.startsWith("translate(")).join(" "), h = p ? `${p} ${d}` : d;
2133
+ const r = y(i) || m(i) ? i() : i ?? 0, a = y(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), f = `translate(${l}, ${c})`, p = (e.style.transform || "").split(" ").filter((g) => g && !g.startsWith("translate(")).join(" "), h = p ? `${p} ${f}` : f;
2165
2134
  e.style.transform = h;
2166
2135
  });
2167
2136
  else {
2168
- const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), d = `translate(${l}, ${c})`, p = (e.style.transform || "").split(" ").filter((g) => g && !g.startsWith("translate(")).join(" "), h = p ? `${p} ${d}` : d;
2137
+ const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), f = `translate(${l}, ${c})`, p = (e.style.transform || "").split(" ").filter((g) => g && !g.startsWith("translate(")).join(" "), h = p ? `${p} ${f}` : f;
2169
2138
  e.style.transform = h;
2170
2139
  }
2171
2140
  }
@@ -2181,7 +2150,7 @@ class hr extends w {
2181
2150
  const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
2182
2151
  if (y(a) || m(a) || y(l) || m(l))
2183
2152
  b(() => {
2184
- const c = y(a) || m(a) ? a() : a, d = y(l) || m(l) ? l() : l, u = `scale(${c}, ${d})`;
2153
+ const c = y(a) || m(a) ? a() : a, f = y(l) || m(l) ? l() : l, u = `scale(${c}, ${f})`;
2185
2154
  e.style.transformOrigin = this.getTransformOrigin(
2186
2155
  r || "center"
2187
2156
  );
@@ -2304,11 +2273,11 @@ class hr extends w {
2304
2273
  return i;
2305
2274
  }
2306
2275
  }
2307
- class yr extends w {
2276
+ class Cr extends w {
2308
2277
  constructor() {
2309
2278
  super(...arguments);
2310
- f(this, "type", "appearance");
2311
- f(this, "priority", R.APPEARANCE);
2279
+ d(this, "type", "appearance");
2280
+ d(this, "priority", D.APPEARANCE);
2312
2281
  }
2313
2282
  apply(e, t) {
2314
2283
  if (!e.element || !t.element)
@@ -2371,8 +2340,8 @@ class yr extends w {
2371
2340
  n.width !== void 0 && (t.borderWidth = this.toCSSValue(n.width)), n.color && !this.isAsset(n.color) && (t.borderColor = n.color), n.style && (t.borderStyle = n.style);
2372
2341
  }
2373
2342
  if (e.shadow) {
2374
- const n = e.shadow, r = n.x || 0, a = n.y || 0, l = n.blur !== void 0 ? n.blur : n.radius || 0, c = n.spread || 0, d = n.color || "rgba(0,0,0,0.25)";
2375
- t.boxShadow = c !== 0 ? `${r}px ${a}px ${l}px ${c}px ${d}` : `${r}px ${a}px ${l}px ${d}`;
2343
+ const n = e.shadow, r = n.x || 0, a = n.y || 0, l = n.blur !== void 0 ? n.blur : n.radius || 0, c = n.spread || 0, f = n.color || "rgba(0,0,0,0.25)";
2344
+ t.boxShadow = c !== 0 ? `${r}px ${a}px ${l}px ${c}px ${f}` : `${r}px ${a}px ${l}px ${f}`;
2376
2345
  }
2377
2346
  if (e.clipped && (t.overflow = "hidden"), e.clipShape) {
2378
2347
  const { shape: n, parameters: r } = e.clipShape;
@@ -2427,13 +2396,13 @@ class yr extends w {
2427
2396
  class C extends w {
2428
2397
  constructor() {
2429
2398
  super(...arguments);
2430
- f(this, "type", "interaction");
2431
- f(this, "priority", R.INTERACTION);
2399
+ d(this, "type", "interaction");
2400
+ d(this, "priority", D.INTERACTION);
2432
2401
  }
2433
2402
  apply(e, t) {
2434
2403
  if (!t.element) return;
2435
- const i = this.properties, n = t.element, r = [], a = [], l = (d, u, p, h) => {
2436
- d.addEventListener(u, p, h), r.push({ target: d, type: u, handler: p, options: h });
2404
+ const i = this.properties, n = t.element, r = [], a = [], l = (f, u, p, h) => {
2405
+ f.addEventListener(u, p, h), r.push({ target: f, type: u, handler: p, options: h });
2437
2406
  };
2438
2407
  if (i.onTap && l(n, "click", i.onTap), i.onHover && (l(n, "mouseenter", () => i.onHover(!0)), l(n, "mouseleave", () => i.onHover(!1))), i.onMouseEnter && l(n, "mouseenter", i.onMouseEnter), i.onMouseLeave && l(n, "mouseleave", i.onMouseLeave), i.onMouseDown && l(n, "mousedown", i.onMouseDown), i.onMouseUp && l(n, "mouseup", i.onMouseUp), i.onDragStart && l(n, "dragstart", i.onDragStart), i.onDragOver && l(n, "dragover", i.onDragOver), i.onDragLeave && l(n, "dragleave", i.onDragLeave), i.onDrop && l(n, "drop", i.onDrop), i.onDoubleClick && l(n, "dblclick", i.onDoubleClick), i.onContextMenu && l(n, "contextmenu", i.onContextMenu), i.onFocus && (l(n, "focus", () => i.onFocus(!0)), l(n, "blur", () => i.onFocus(!1))), i.onBlur && l(n, "blur", () => i.onBlur(!1)), i.onKeyPress && l(n, "keypress", i.onKeyPress), i.onKeyDown && l(n, "keydown", i.onKeyDown), i.onKeyUp && l(n, "keyup", i.onKeyUp), i.onTouchStart && l(n, "touchstart", i.onTouchStart, {
2439
2408
  passive: !0
@@ -2444,20 +2413,20 @@ class C extends w {
2444
2413
  }), i.onTouchCancel && l(n, "touchcancel", i.onTouchCancel, {
2445
2414
  passive: !0
2446
2415
  }), i.onSwipeLeft || i.onSwipeRight) {
2447
- let d = 0, u = 0;
2416
+ let f = 0, u = 0;
2448
2417
  l(
2449
2418
  n,
2450
2419
  "touchstart",
2451
2420
  (p) => {
2452
2421
  const g = p.touches[0];
2453
- d = g.clientX, u = g.clientY;
2422
+ f = g.clientX, u = g.clientY;
2454
2423
  },
2455
2424
  { passive: !0 }
2456
2425
  ), l(
2457
2426
  n,
2458
2427
  "touchend",
2459
2428
  (p) => {
2460
- const g = p.changedTouches[0], S = g.clientX - d, E = g.clientY - u;
2429
+ const g = p.changedTouches[0], S = g.clientX - f, E = g.clientY - u;
2461
2430
  Math.abs(S) > Math.abs(E) && Math.abs(S) > 50 && (S < 0 && i.onSwipeLeft ? i.onSwipeLeft() : S > 0 && i.onSwipeRight && i.onSwipeRight());
2462
2431
  },
2463
2432
  { passive: !0 }
@@ -2467,12 +2436,12 @@ class C extends w {
2467
2436
  passive: !0
2468
2437
  }), i.onWheel && l(n, "wheel", i.onWheel, {
2469
2438
  passive: !1
2470
- }), i.onInput && l(n, "input", i.onInput), i.onChange && l(n, "change", (d) => {
2471
- const u = d.target, p = u.value || u.textContent || "";
2472
- i.onChange(p, d);
2439
+ }), i.onInput && l(n, "input", i.onInput), i.onChange && l(n, "change", (f) => {
2440
+ const u = f.target, p = u.value || u.textContent || "";
2441
+ i.onChange(p, f);
2473
2442
  }), i.onCopy && l(n, "copy", i.onCopy), i.onCut && l(n, "cut", i.onCut), i.onPaste && l(n, "paste", i.onPaste), i.onSelect && l(n, "select", i.onSelect), i.disabled !== void 0 && V(n)) {
2474
- const d = n, u = (p) => {
2475
- p ? (d.setAttribute("disabled", "true"), d.style.pointerEvents = "none", d.style.opacity = "0.6") : (d.removeAttribute("disabled"), d.style.pointerEvents = "", d.style.opacity = "");
2443
+ const f = n, u = (p) => {
2444
+ p ? (f.setAttribute("disabled", "true"), f.style.pointerEvents = "none", f.style.opacity = "0.6") : (f.removeAttribute("disabled"), f.style.pointerEvents = "", f.style.opacity = "");
2476
2445
  };
2477
2446
  y(i.disabled) || m(i.disabled) ? b(() => {
2478
2447
  u(!!i.disabled());
@@ -2481,21 +2450,21 @@ class C extends w {
2481
2450
  if (i.draggable !== void 0 && V(n) && (n.draggable = i.draggable), i.accessibilityLabel && n.setAttribute("aria-label", i.accessibilityLabel), i.accessibilityHint && n.setAttribute("aria-describedby", i.accessibilityHint), i.onLongPressGesture && a.push(
2482
2451
  this.setupLongPressGesture(n, i.onLongPressGesture)
2483
2452
  ), i.keyboardShortcut) {
2484
- const d = this.setupKeyboardShortcut(n, i.keyboardShortcut);
2485
- d && a.push(d);
2453
+ const f = this.setupKeyboardShortcut(n, i.keyboardShortcut);
2454
+ f && a.push(f);
2486
2455
  }
2487
2456
  if (i.focused !== void 0 && this.setupFocusManagement(n, i.focused), i.focusable) {
2488
- const d = this.setupFocusable(n, i.focusable);
2489
- d && a.push(d);
2457
+ const f = this.setupFocusable(n, i.focusable);
2458
+ f && a.push(f);
2490
2459
  }
2491
2460
  return i.onContinuousHover && a.push(
2492
2461
  this.setupContinuousHover(n, i.onContinuousHover)
2493
2462
  ), i.allowsHitTesting !== void 0 && this.setupHitTesting(n, i.allowsHitTesting), { node: e, cleanup: [() => {
2494
- for (const { target: d, type: u, handler: p, options: h } of r)
2495
- d.removeEventListener(u, p, h);
2463
+ for (const { target: f, type: u, handler: p, options: h } of r)
2464
+ f.removeEventListener(u, p, h);
2496
2465
  r.length = 0;
2497
- for (const d of a)
2498
- d();
2466
+ for (const f of a)
2467
+ f();
2499
2468
  a.length = 0;
2500
2469
  }] };
2501
2470
  }
@@ -2508,14 +2477,14 @@ class C extends w {
2508
2477
  let r, a = null, l = !1;
2509
2478
  const c = () => {
2510
2479
  r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
2511
- }, d = () => {
2480
+ }, f = () => {
2512
2481
  c(), e.removeEventListener("pointerdown", u), e.removeEventListener("pointermove", p), e.removeEventListener("pointerup", h), e.removeEventListener(
2513
2482
  "pointercancel",
2514
2483
  g
2515
2484
  );
2516
2485
  }, u = (S) => {
2517
2486
  const E = S;
2518
- a = { x: E.clientX, y: E.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = (Jt() ? window.setTimeout : setTimeout)(() => {
2487
+ a = { x: E.clientX, y: E.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = (ni() ? window.setTimeout : setTimeout)(() => {
2519
2488
  l && a && (t.perform(), c());
2520
2489
  }, i);
2521
2490
  }, p = (S) => {
@@ -2532,7 +2501,7 @@ class C extends w {
2532
2501
  return e.addEventListener("pointerdown", u), e.addEventListener("pointermove", p), e.addEventListener("pointerup", h), e.addEventListener(
2533
2502
  "pointercancel",
2534
2503
  g
2535
- ), e._longPressCleanup = d, d;
2504
+ ), e._longPressCleanup = f, f;
2536
2505
  }
2537
2506
  /**
2538
2507
  * Setup keyboard shortcut handling
@@ -2550,12 +2519,12 @@ class C extends w {
2550
2519
  ctrl: a.ctrlKey,
2551
2520
  shift: a.shiftKey,
2552
2521
  alt: a.altKey
2553
- }, d = a.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(l).every(
2522
+ }, f = a.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(l).every(
2554
2523
  ([p, h]) => h === c[p]
2555
2524
  );
2556
- d && u && (a.preventDefault(), t.action());
2525
+ f && u && (a.preventDefault(), t.action());
2557
2526
  };
2558
- if (!oe()) return;
2527
+ if (!he()) return;
2559
2528
  document.addEventListener("keydown", n);
2560
2529
  const r = () => {
2561
2530
  document.removeEventListener("keydown", n);
@@ -2596,13 +2565,13 @@ class C extends w {
2596
2565
  setupContinuousHover(e, t) {
2597
2566
  const i = t.coordinateSpace ?? "local", n = (l) => {
2598
2567
  const c = l;
2599
- let d, u;
2568
+ let f, u;
2600
2569
  if (i === "local") {
2601
2570
  const p = e.getBoundingClientRect();
2602
- d = c.clientX - p.left, u = c.clientY - p.top;
2571
+ f = c.clientX - p.left, u = c.clientY - p.top;
2603
2572
  } else
2604
- d = c.clientX, u = c.clientY;
2605
- t.perform({ x: d, y: u });
2573
+ f = c.clientX, u = c.clientY;
2574
+ t.perform({ x: f, y: u });
2606
2575
  }, r = () => {
2607
2576
  t.perform(null);
2608
2577
  };
@@ -2622,11 +2591,11 @@ class C extends w {
2622
2591
  V(e) && (e.style.pointerEvents = t ? "" : "none");
2623
2592
  }
2624
2593
  }
2625
- class mr extends w {
2594
+ class xr extends w {
2626
2595
  constructor() {
2627
2596
  super(...arguments);
2628
- f(this, "type", "animation");
2629
- f(this, "priority", R.ANIMATION);
2597
+ d(this, "type", "animation");
2598
+ d(this, "priority", D.ANIMATION);
2630
2599
  }
2631
2600
  apply(e, t) {
2632
2601
  if (!t.element) return;
@@ -2638,13 +2607,8 @@ class mr extends w {
2638
2607
  if (i.animation && W(t.element)) {
2639
2608
  const n = i.animation;
2640
2609
  if (n.keyframes && typeof document < "u") {
2641
- const r = `tachui-animation-${t.componentId}-${Date.now()}`, a = this.createKeyframeRule(
2642
- r,
2643
- n.keyframes
2644
- );
2645
- this.addKeyframesToStylesheet(a);
2646
- const l = n.duration || 1e3, c = n.easing || "ease", d = n.iterations || 1, u = n.direction || "normal";
2647
- t.element.style.animation = `${r} ${l}ms ${c} ${d} ${u}`;
2610
+ const r = Ve(n.keyframes), a = n.duration || 1e3, l = n.easing || "ease", c = n.iterations || 1, f = n.direction || "normal";
2611
+ t.element.style.animation = `${r} ${a}ms ${l} ${c} ${f}`;
2648
2612
  }
2649
2613
  }
2650
2614
  if (i.transform && W(t.element) && (y(i.transform) || m(i.transform) ? b(() => {
@@ -2680,23 +2644,19 @@ class mr extends w {
2680
2644
  i.overlay && V(t.element) && this.applyOverlay(t.element, i.overlay, t);
2681
2645
  }
2682
2646
  getStaticCSS(e) {
2683
- return Pe(
2684
- e,
2685
- this.properties,
2686
- this.createKeyframeRule.bind(this)
2687
- );
2647
+ return De(e, this.properties);
2688
2648
  }
2689
2649
  applyOverlay(e, t, i) {
2690
2650
  const { content: n, alignment: r = "center" } = t;
2691
- if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !oe()) return;
2651
+ if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !he()) return;
2692
2652
  const a = document.createElement("div");
2693
2653
  a.style.position = "absolute", a.style.pointerEvents = "none";
2694
2654
  const l = this.getOverlayAlignment(r);
2695
2655
  if (Object.assign(a.style, l), typeof n == "function") {
2696
2656
  const c = n();
2697
2657
  if (c && typeof c.render == "function") {
2698
- const d = c.render();
2699
- d.element && a.appendChild(d.element);
2658
+ const f = c.render();
2659
+ f.element && a.appendChild(f.element);
2700
2660
  }
2701
2661
  } else if (n && typeof n.render == "function") {
2702
2662
  const c = n.render();
@@ -2750,38 +2710,15 @@ class mr extends w {
2750
2710
  };
2751
2711
  return t[e] || t.center;
2752
2712
  }
2753
- createKeyframeRule(e, t) {
2754
- let i = `@keyframes ${e} {
2755
- `;
2756
- for (const [n, r] of Object.entries(t)) {
2757
- i += ` ${n} {
2758
- `;
2759
- for (const [a, l] of Object.entries(r)) {
2760
- const c = this.toCSSProperty(a);
2761
- i += ` ${c}: ${l};
2762
- `;
2763
- }
2764
- i += ` }
2765
- `;
2766
- }
2767
- return i += "}", i;
2768
- }
2769
- addKeyframesToStylesheet(e) {
2770
- if (!oe()) return;
2771
- let t = document.querySelector(
2772
- "#tachui-animations"
2773
- );
2774
- t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
2775
- }
2776
2713
  }
2777
- class gr extends w {
2714
+ class Er extends w {
2778
2715
  constructor() {
2779
2716
  super(...arguments);
2780
- f(this, "type", "lifecycle");
2781
- f(this, "priority", R.CUSTOM);
2782
- f(this, "activeAbortController");
2717
+ d(this, "type", "lifecycle");
2718
+ d(this, "priority", D.CUSTOM);
2719
+ d(this, "activeAbortController");
2783
2720
  // Cleanup helpers
2784
- f(this, "cleanupFunctions", []);
2721
+ d(this, "cleanupFunctions", []);
2785
2722
  }
2786
2723
  apply(e, t) {
2787
2724
  if (!t.element) return;
@@ -2827,7 +2764,7 @@ class gr extends w {
2827
2764
  if (!t) return;
2828
2765
  let i = !1, n = 0, r = 0;
2829
2766
  const a = 70;
2830
- if (!oe()) return;
2767
+ if (!he()) return;
2831
2768
  const l = document.createElement("div");
2832
2769
  if (l.style.cssText = `
2833
2770
  position: absolute;
@@ -2854,7 +2791,7 @@ class gr extends w {
2854
2791
  }
2855
2792
  const c = e.parentElement || e;
2856
2793
  V(c) && (c.style.position = "relative", c.appendChild(l));
2857
- const d = (h) => {
2794
+ const f = (h) => {
2858
2795
  i || (r = h.touches[0].clientY);
2859
2796
  }, u = (h) => {
2860
2797
  if (i) return;
@@ -2878,7 +2815,7 @@ class gr extends w {
2878
2815
  } else
2879
2816
  l.style.opacity = "0", n = 0;
2880
2817
  };
2881
- e.addEventListener("touchstart", d, {
2818
+ e.addEventListener("touchstart", f, {
2882
2819
  passive: !0
2883
2820
  }), e.addEventListener("touchmove", u, {
2884
2821
  passive: !1
@@ -2887,7 +2824,7 @@ class gr extends w {
2887
2824
  }), this.addCleanup(() => {
2888
2825
  e.removeEventListener(
2889
2826
  "touchstart",
2890
- d
2827
+ f
2891
2828
  ), e.removeEventListener("touchmove", u), e.removeEventListener("touchend", p), l.parentElement && l.parentElement.removeChild(l);
2892
2829
  });
2893
2830
  }
@@ -2898,11 +2835,21 @@ class gr extends w {
2898
2835
  this.cleanupFunctions.forEach((e) => e()), this.cleanupFunctions = [];
2899
2836
  }
2900
2837
  }
2901
- class ke extends w {
2838
+ function oi(o) {
2839
+ if (!o || typeof o != "object") return !1;
2840
+ const s = o;
2841
+ return typeof s.render == "function" || typeof s.build == "function";
2842
+ }
2843
+ const ne = /* @__PURE__ */ new WeakMap();
2844
+ function Ae(o) {
2845
+ for (const s of Array.from(o.mounts)) s();
2846
+ o.mounts.clear();
2847
+ }
2848
+ class Le extends w {
2902
2849
  constructor() {
2903
2850
  super(...arguments);
2904
- f(this, "type", "overlay");
2905
- f(this, "priority", 10);
2851
+ d(this, "type", "overlay");
2852
+ d(this, "priority", 10);
2906
2853
  }
2907
2854
  // Apply late so positioning is relative to final layout
2908
2855
  apply(e, t) {
@@ -2910,12 +2857,32 @@ class ke extends w {
2910
2857
  const i = t.element;
2911
2858
  if (!i.style) return;
2912
2859
  const { content: n } = this.properties;
2913
- this.applyOverlay(i, n, t);
2860
+ let r = ne.get(i);
2861
+ const a = r === void 0;
2862
+ r === void 0 ? (r = { pass: t, mounts: /* @__PURE__ */ new Set() }, ne.set(i, r)) : r.pass !== t && (Ae(r), r.pass = t);
2863
+ const l = r, c = this.applyOverlay(i, n);
2864
+ let f = !1;
2865
+ const u = () => {
2866
+ if (!f) {
2867
+ f = !0, l.mounts.delete(u);
2868
+ for (const h of c) h();
2869
+ }
2870
+ };
2871
+ return l.mounts.add(u), Ge(u), a ? { node: e, cleanup: [() => {
2872
+ const h = ne.get(i);
2873
+ h && (ne.delete(i), Ae(h));
2874
+ }] } : { node: e };
2914
2875
  }
2915
- applyOverlay(e, t, i) {
2876
+ applyOverlay(e, t) {
2916
2877
  (e.style.position === "" || e.style.position === "static") && (e.style.position = "relative");
2917
- const n = document.createElement("div");
2918
- n.style.position = "absolute", n.style.pointerEvents = "none", this.applyOverlayPositioning(n), this.renderContent(n, t), e.appendChild(n);
2878
+ const i = document.createElement("div");
2879
+ i.style.position = "absolute", i.style.pointerEvents = "none";
2880
+ const n = [], r = this.applyOverlayPositioning(i);
2881
+ r && n.push(r), e.appendChild(i);
2882
+ const a = this.renderContent(i, t);
2883
+ return a && n.push(a), n.push(() => {
2884
+ i.remove?.();
2885
+ }), n;
2919
2886
  }
2920
2887
  applyOverlayPositioning(e) {
2921
2888
  const t = () => {
@@ -2924,14 +2891,14 @@ class ke extends w {
2924
2891
  "center"
2925
2892
  ), r = this.resolveReactive(this.properties.side, void 0), a = this.resolveReactive(this.properties.offset, void 0), l = this.resolveReactive(this.properties.enabled, !0);
2926
2893
  this.clearPositionStyles(e);
2927
- const c = r ?? n, d = r !== void 0 ? c : n, u = this.getOverlayAlignment(d);
2894
+ const c = r ?? n, f = r !== void 0 ? c : n, u = this.getOverlayAlignment(f);
2928
2895
  Object.assign(e.style, u), this.applyOffset(e, c, a), e.style.display = l ? "" : "none";
2929
2896
  };
2930
2897
  if (this.isReactive(this.properties.alignment) || this.isReactive(this.properties.side) || this.isReactive(this.properties.offset) || this.isReactive(this.properties.enabled)) {
2931
- b(() => {
2898
+ const n = b(() => {
2932
2899
  t();
2933
2900
  });
2934
- return;
2901
+ return () => n.dispose();
2935
2902
  }
2936
2903
  t();
2937
2904
  }
@@ -2988,17 +2955,37 @@ class ke extends w {
2988
2955
  resolveReactive(e, t) {
2989
2956
  return e === void 0 ? t : y(e) || m(e) ? e() : e;
2990
2957
  }
2958
+ /**
2959
+ * Mount overlay content into the container.
2960
+ *
2961
+ * Returns a disposer when the content owns reactive state or DOM that has to
2962
+ * be torn down with the modifier, otherwise `undefined`.
2963
+ */
2991
2964
  renderContent(e, t) {
2992
- if (typeof t == "function") {
2993
- const i = t();
2994
- if (i && typeof i.render == "function") {
2995
- const n = i.render();
2996
- n.element && e.appendChild(n.element);
2997
- }
2998
- } else if (t && typeof t.render == "function") {
2999
- const i = t.render();
3000
- i.element && e.appendChild(i.element);
3001
- } else t && (t instanceof HTMLElement || t.appendChild) && e.appendChild(t);
2965
+ if (t == null) return;
2966
+ if (y(t) || m(t)) {
2967
+ const n = t, r = document.createTextNode("");
2968
+ e.appendChild(r);
2969
+ const a = b(() => {
2970
+ r.data = String(n() ?? "");
2971
+ });
2972
+ return () => a.dispose();
2973
+ }
2974
+ if (typeof t == "function")
2975
+ return this.renderContent(
2976
+ e,
2977
+ t()
2978
+ );
2979
+ if (typeof t == "string" || typeof t == "number") {
2980
+ e.appendChild(document.createTextNode(String(t)));
2981
+ return;
2982
+ }
2983
+ if (oi(t))
2984
+ return Xe(t, e);
2985
+ if (typeof t.appendChild == "function") {
2986
+ e.appendChild(t);
2987
+ return;
2988
+ }
3002
2989
  }
3003
2990
  getOverlayAlignment(e) {
3004
2991
  const t = {
@@ -3047,20 +3034,20 @@ class ke extends w {
3047
3034
  return t[e] || t.center;
3048
3035
  }
3049
3036
  }
3050
- function Qt(o, s = "center") {
3051
- return typeof s == "object" && s !== null && !y(s) && !m(s) ? new ke({
3037
+ function ri(o, s = "center") {
3038
+ return typeof s == "object" && s !== null && !y(s) && !m(s) ? new Le({
3052
3039
  content: o,
3053
3040
  ...s
3054
- }) : new ke({
3041
+ }) : new Le({
3055
3042
  content: o,
3056
3043
  alignment: s
3057
3044
  });
3058
3045
  }
3059
- class Re extends v {
3046
+ class Be extends v {
3060
3047
  constructor() {
3061
3048
  super(...arguments);
3062
- f(this, "type", "background");
3063
- f(this, "priority", 95);
3049
+ d(this, "type", "background");
3050
+ d(this, "priority", 95);
3064
3051
  }
3065
3052
  apply(e, t) {
3066
3053
  if (!t.element) return;
@@ -3077,17 +3064,21 @@ class Re extends v {
3077
3064
  );
3078
3065
  return;
3079
3066
  }
3080
- if (t.element instanceof HTMLElement && this.isStateGradientOption(i)) {
3081
- this.applyStatefulBackground(t.element, i, n);
3067
+ if (this.isStateGradientOption(i)) {
3068
+ if (typeof HTMLElement < "u" && t.element instanceof HTMLElement) {
3069
+ this.applyStatefulBackground(t.element, i, n);
3070
+ return;
3071
+ }
3072
+ const a = this.resolveBackgroundDeclarations(
3073
+ i.default
3074
+ );
3075
+ a !== void 0 && this.applyDeclarations(t.element, n, a);
3082
3076
  return;
3083
3077
  }
3084
- const r = this.resolveBackgroundValue(
3078
+ const r = this.resolveBackgroundDeclarations(
3085
3079
  i
3086
3080
  );
3087
- if (r !== void 0) {
3088
- const a = { [n]: r };
3089
- this.applyStyles(t.element, a);
3090
- }
3081
+ r !== void 0 && this.applyDeclarations(t.element, n, r);
3091
3082
  }
3092
3083
  /**
3093
3084
  * Apply ColorAsset with theme reactivity
@@ -3097,40 +3088,59 @@ class Re extends v {
3097
3088
  const n = U();
3098
3089
  b(() => {
3099
3090
  n();
3100
- const r = i.resolve();
3101
- this.applyStyleChange(e, t, r);
3091
+ const r = this.resolveBackgroundDeclarations(i) ?? [];
3092
+ this.applyDeclarations(e, t, r);
3102
3093
  });
3103
3094
  }
3104
3095
  isGradientDefinition(e) {
3105
3096
  return e !== null && typeof e == "object" && typeof e.type == "string" && "options" in e;
3106
3097
  }
3107
- resolveBackgroundValue(e) {
3098
+ hasResolveDeclarations(e) {
3099
+ return this.isAssetValue(e) && typeof e.resolveDeclarations == "function";
3100
+ }
3101
+ /**
3102
+ * Every declaration a background value needs, in cascade order. Gradient
3103
+ * definitions and gradient assets yield the plain sRGB gradient followed by
3104
+ * the interpolation-hinted one (#310); everything else yields one value.
3105
+ */
3106
+ resolveBackgroundDeclarations(e) {
3108
3107
  if (e != null) {
3109
3108
  if (this.isGradientDefinition(e))
3110
- return Ue(e);
3109
+ return Ze(e);
3110
+ if (this.hasResolveDeclarations(e))
3111
+ return e.resolveDeclarations();
3111
3112
  if (this.isAssetValue(e)) {
3112
3113
  const t = e.resolve();
3113
- return typeof t == "string" ? t : String(t);
3114
+ return [typeof t == "string" ? t : String(t)];
3114
3115
  }
3115
- return String(e);
3116
+ return [String(e)];
3116
3117
  }
3117
3118
  }
3119
+ /**
3120
+ * Write the declarations in order. A browser that cannot parse a later one
3121
+ * rejects only that write and keeps the earlier value; the SSR style shim
3122
+ * appends rather than replaces for the same reason.
3123
+ */
3124
+ applyDeclarations(e, t, i) {
3125
+ for (const n of i)
3126
+ this.applyStyles(e, { [t]: n });
3127
+ }
3118
3128
  isStateGradientOption(e) {
3119
3129
  return this.isAssetValue(e) ? !1 : e !== null && typeof e == "object" && "default" in e && !this.isGradientDefinition(e);
3120
3130
  }
3121
3131
  applyStatefulBackground(e, t, i) {
3122
3132
  const n = {
3123
- default: this.resolveBackgroundValue(t.default),
3124
- hover: t.hover ? this.resolveBackgroundValue(t.hover) : void 0,
3125
- active: t.active ? this.resolveBackgroundValue(t.active) : void 0,
3126
- focus: t.focus ? this.resolveBackgroundValue(t.focus) : void 0,
3127
- disabled: t.disabled ? this.resolveBackgroundValue(
3133
+ default: this.resolveBackgroundDeclarations(t.default),
3134
+ hover: t.hover ? this.resolveBackgroundDeclarations(t.hover) : void 0,
3135
+ active: t.active ? this.resolveBackgroundDeclarations(t.active) : void 0,
3136
+ focus: t.focus ? this.resolveBackgroundDeclarations(t.focus) : void 0,
3137
+ disabled: t.disabled ? this.resolveBackgroundDeclarations(
3128
3138
  t.disabled
3129
3139
  ) : void 0
3130
3140
  }, r = (u) => {
3131
3141
  if (!u) return;
3132
3142
  const p = n[u];
3133
- p !== void 0 && this.applyStyleChange(e, i, p);
3143
+ p !== void 0 && this.applyDeclarations(e, i, p);
3134
3144
  }, a = () => this.isElementDisabled(e) && n.disabled ? "disabled" : n.focus && this.matchesSelector(e, ":focus") ? "focus" : "default", l = () => {
3135
3145
  const u = t.animation;
3136
3146
  if (!u) return;
@@ -3145,7 +3155,7 @@ class Re extends v {
3145
3155
  return;
3146
3156
  }
3147
3157
  r(u);
3148
- }, d = () => {
3158
+ }, f = () => {
3149
3159
  if (this.isElementDisabled(e) && n.disabled) {
3150
3160
  r("disabled");
3151
3161
  return;
@@ -3164,7 +3174,7 @@ class Re extends v {
3164
3174
  this.isElementDisabled(e) || r("hover");
3165
3175
  }), e.addEventListener("mouseleave", c)), n.active && (e.addEventListener("mousedown", () => {
3166
3176
  this.isElementDisabled(e) || r("active");
3167
- }), e.addEventListener("mouseup", d)), n.focus && (e.addEventListener("focus", () => {
3177
+ }), e.addEventListener("mouseup", f)), n.focus && (e.addEventListener("focus", () => {
3168
3178
  this.isElementDisabled(e) || r("focus");
3169
3179
  }), e.addEventListener("blur", () => {
3170
3180
  c();
@@ -3188,16 +3198,16 @@ class Re extends v {
3188
3198
  return !!(e.hasAttribute && e.hasAttribute("disabled") || e.getAttribute && e.getAttribute("aria-disabled") === "true");
3189
3199
  }
3190
3200
  }
3191
- const ei = {
3201
+ const si = {
3192
3202
  repeat: "no-repeat",
3193
3203
  size: "cover",
3194
3204
  position: "center"
3195
3205
  };
3196
- class ti extends v {
3206
+ class ai extends v {
3197
3207
  constructor() {
3198
3208
  super(...arguments);
3199
- f(this, "type", "backgroundImage");
3200
- f(this, "priority", 94);
3209
+ d(this, "type", "backgroundImage");
3210
+ d(this, "priority", 94);
3201
3211
  }
3202
3212
  apply(e, t) {
3203
3213
  if (!t.element) return;
@@ -3227,11 +3237,11 @@ class ti extends v {
3227
3237
  });
3228
3238
  }
3229
3239
  }
3230
- class De extends v {
3240
+ class _e extends v {
3231
3241
  constructor() {
3232
3242
  super(...arguments);
3233
- f(this, "type", "backgroundClip");
3234
- f(this, "priority", 40);
3243
+ d(this, "type", "backgroundClip");
3244
+ d(this, "priority", 40);
3235
3245
  }
3236
3246
  apply(e, t) {
3237
3247
  if (!t.element) return;
@@ -3243,36 +3253,36 @@ class De extends v {
3243
3253
  return e.backgroundImage && (t.backgroundImage = e.backgroundImage), e.backgroundClip && (t.backgroundClip = e.backgroundClip, t.webkitBackgroundClip = e.backgroundClip), e.color && (t.color = e.color, e.backgroundClip === "text" && (t.webkitTextFillColor = e.color)), t;
3244
3254
  }
3245
3255
  }
3246
- function ii(o) {
3247
- return new Re({
3256
+ function li(o) {
3257
+ return new Be({
3248
3258
  background: o,
3249
3259
  cssProperty: "backgroundColor"
3250
3260
  });
3251
3261
  }
3252
- function ni(o) {
3253
- return new Re({
3262
+ function ci(o) {
3263
+ return new Be({
3254
3264
  background: o,
3255
3265
  cssProperty: "background"
3256
3266
  });
3257
3267
  }
3258
- function oi(o, s = {}) {
3259
- return new ti({
3268
+ function fi(o, s = {}) {
3269
+ return new ai({
3260
3270
  source: o,
3261
3271
  options: {
3262
- ...ei,
3272
+ ...si,
3263
3273
  ...s
3264
3274
  }
3265
3275
  });
3266
3276
  }
3267
- function vr(o, s = "text", e = "transparent") {
3268
- return new De({
3277
+ function Tr(o, s = "text", e = "transparent") {
3278
+ return new _e({
3269
3279
  backgroundImage: o,
3270
3280
  backgroundClip: s,
3271
3281
  color: e
3272
3282
  });
3273
3283
  }
3274
3284
  function Z(o) {
3275
- return new De({
3285
+ return new _e({
3276
3286
  backgroundImage: o,
3277
3287
  backgroundClip: "text",
3278
3288
  webkitBackgroundClip: "text",
@@ -3280,38 +3290,38 @@ function Z(o) {
3280
3290
  webkitTextFillColor: "transparent"
3281
3291
  });
3282
3292
  }
3283
- function br() {
3293
+ function Mr() {
3284
3294
  return Z("linear-gradient(45deg, #007AFF, #5856D6)");
3285
3295
  }
3286
- function Sr() {
3296
+ function kr() {
3287
3297
  return Z(
3288
3298
  "linear-gradient(90deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff80, #0080ff, #8000ff)"
3289
3299
  );
3290
3300
  }
3291
- function wr() {
3301
+ function Ar() {
3292
3302
  return Z("linear-gradient(45deg, #ff6b6b, #feca57, #ff9ff3)");
3293
3303
  }
3294
- function Cr() {
3304
+ function Lr() {
3295
3305
  return Z("linear-gradient(45deg, #667eea, #764ba2)");
3296
3306
  }
3297
- function xr() {
3307
+ function Ir() {
3298
3308
  return Z("linear-gradient(45deg, #f7971e, #ffd200)");
3299
3309
  }
3300
- class ri extends v {
3310
+ class di extends v {
3301
3311
  constructor() {
3302
3312
  super(...arguments);
3303
- f(this, "type", "blendMode");
3304
- f(this, "priority", 92);
3313
+ d(this, "type", "blendMode");
3314
+ d(this, "priority", 92);
3305
3315
  }
3306
3316
  apply(e, t) {
3307
3317
  t.element && this.applyStyleChange(t.element, "mixBlendMode", this.properties.mode);
3308
3318
  }
3309
3319
  }
3310
- class si extends v {
3320
+ class ui extends v {
3311
3321
  constructor() {
3312
3322
  super(...arguments);
3313
- f(this, "type", "backgroundBlendMode");
3314
- f(this, "priority", 93);
3323
+ d(this, "type", "backgroundBlendMode");
3324
+ d(this, "priority", 93);
3315
3325
  }
3316
3326
  apply(e, t) {
3317
3327
  t.element && this.applyStyleChange(
@@ -3321,30 +3331,30 @@ class si extends v {
3321
3331
  );
3322
3332
  }
3323
3333
  }
3324
- function ai(o) {
3325
- return new ri({ mode: o });
3334
+ function pi(o) {
3335
+ return new di({ mode: o });
3326
3336
  }
3327
- function li(o) {
3328
- return new si({ mode: o });
3337
+ function hi(o) {
3338
+ return new ui({ mode: o });
3329
3339
  }
3330
- class ci extends v {
3340
+ class yi extends v {
3331
3341
  constructor() {
3332
3342
  super(...arguments);
3333
- f(this, "type", "compositingGroup");
3334
- f(this, "priority", 91);
3343
+ d(this, "type", "compositingGroup");
3344
+ d(this, "priority", 91);
3335
3345
  }
3336
3346
  apply(e, t) {
3337
3347
  t.element && this.applyStyleChange(t.element, "isolation", "isolate");
3338
3348
  }
3339
3349
  }
3340
- function fi() {
3341
- return new ci({});
3350
+ function mi() {
3351
+ return new yi({});
3342
3352
  }
3343
3353
  class _ extends v {
3344
3354
  constructor() {
3345
3355
  super(...arguments);
3346
- f(this, "type", "border");
3347
- f(this, "priority", 40);
3356
+ d(this, "type", "border");
3357
+ d(this, "priority", 40);
3348
3358
  }
3349
3359
  apply(e, t) {
3350
3360
  if (!t.element) return;
@@ -3388,11 +3398,11 @@ class _ extends v {
3388
3398
  return typeof e == "number" ? `${e}px` : e;
3389
3399
  }
3390
3400
  }
3391
- class di extends v {
3401
+ class gi extends v {
3392
3402
  constructor() {
3393
3403
  super(...arguments);
3394
- f(this, "type", "cornerRadius");
3395
- f(this, "priority", 35);
3404
+ d(this, "type", "cornerRadius");
3405
+ d(this, "priority", 35);
3396
3406
  }
3397
3407
  apply(e, t) {
3398
3408
  if (!t.element) return;
@@ -3433,45 +3443,45 @@ class di extends v {
3433
3443
  return typeof e == "number" ? `${e}px` : e;
3434
3444
  }
3435
3445
  }
3436
- function ui(o, s, e) {
3446
+ function vi(o, s, e) {
3437
3447
  return typeof o == "number" || typeof o == "string" ? new _({
3438
3448
  width: o,
3439
3449
  color: s || "currentColor",
3440
3450
  style: e || "solid"
3441
3451
  }) : new _(o);
3442
3452
  }
3443
- function pi(o, s, e) {
3453
+ function bi(o, s, e) {
3444
3454
  return new _({ top: { width: o, color: s, style: e } });
3445
3455
  }
3446
- function hi(o, s, e) {
3456
+ function Si(o, s, e) {
3447
3457
  return new _({ right: { width: o, color: s, style: e } });
3448
3458
  }
3449
- function yi(o, s, e) {
3459
+ function wi(o, s, e) {
3450
3460
  return new _({ bottom: { width: o, color: s, style: e } });
3451
3461
  }
3452
- function mi(o, s, e) {
3462
+ function Ci(o, s, e) {
3453
3463
  return new _({ left: { width: o, color: s, style: e } });
3454
3464
  }
3455
- function Er(o, s, e) {
3465
+ function Pr(o, s, e) {
3456
3466
  return new _({ leading: { width: o, color: s, style: e } });
3457
3467
  }
3458
- function Tr(o, s, e) {
3468
+ function $r(o, s, e) {
3459
3469
  return new _({ trailing: { width: o, color: s, style: e } });
3460
3470
  }
3461
- function Mr(o, s, e) {
3471
+ function Vr(o, s, e) {
3462
3472
  return new _({ horizontal: { width: o, color: s, style: e } });
3463
3473
  }
3464
- function kr(o, s, e) {
3474
+ function Dr(o, s, e) {
3465
3475
  return new _({ vertical: { width: o, color: s, style: e } });
3466
3476
  }
3467
- function Ar(o) {
3468
- return new di({ radius: o });
3477
+ function Rr(o) {
3478
+ return new gi({ radius: o });
3469
3479
  }
3470
- class Oe extends v {
3480
+ class He extends v {
3471
3481
  constructor() {
3472
3482
  super(...arguments);
3473
- f(this, "type", "foreground");
3474
- f(this, "priority", 90);
3483
+ d(this, "type", "foreground");
3484
+ d(this, "priority", 90);
3475
3485
  }
3476
3486
  apply(e, t) {
3477
3487
  if (t.element)
@@ -3503,17 +3513,17 @@ class Oe extends v {
3503
3513
  });
3504
3514
  }
3505
3515
  }
3506
- function gi(o) {
3507
- return new Oe({ color: o });
3516
+ function xi(o) {
3517
+ return new He({ color: o });
3508
3518
  }
3509
- function Lr(o) {
3510
- return new Oe({ color: o });
3519
+ function Or(o) {
3520
+ return new He({ color: o });
3511
3521
  }
3512
- class vi extends v {
3522
+ class Ei extends v {
3513
3523
  constructor() {
3514
3524
  super(...arguments);
3515
- f(this, "type", "clip-shape");
3516
- f(this, "priority", 90);
3525
+ d(this, "type", "clip-shape");
3526
+ d(this, "priority", 90);
3517
3527
  }
3518
3528
  apply(e, t) {
3519
3529
  if (!t.element) return;
@@ -3541,14 +3551,14 @@ class vi extends v {
3541
3551
  }
3542
3552
  }
3543
3553
  }
3544
- function bi(o, s) {
3545
- return new vi({ shape: o, parameters: s || {} });
3554
+ function Ti(o, s) {
3555
+ return new Ei({ shape: o, parameters: s || {} });
3546
3556
  }
3547
- class Si extends v {
3557
+ class Mi extends v {
3548
3558
  constructor() {
3549
3559
  super(...arguments);
3550
- f(this, "type", "clipped");
3551
- f(this, "priority", 89);
3560
+ d(this, "type", "clipped");
3561
+ d(this, "priority", 89);
3552
3562
  }
3553
3563
  apply(e, t) {
3554
3564
  if (!t.element) return;
@@ -3556,38 +3566,38 @@ class Si extends v {
3556
3566
  i.style && (this.properties.clipped ? i.style.overflow = "hidden" : i.style.overflow = "");
3557
3567
  }
3558
3568
  }
3559
- function wi(o = !0) {
3560
- return new Si({ clipped: o });
3569
+ function ki(o = !0) {
3570
+ return new Mi({ clipped: o });
3561
3571
  }
3562
- function Ci(o) {
3572
+ function Ai(o) {
3563
3573
  return new H({ opacity: o });
3564
3574
  }
3565
- function xi(o) {
3575
+ function Li(o) {
3566
3576
  return new H({ cornerRadius: o });
3567
3577
  }
3568
- function Ei(o) {
3578
+ function Ii(o) {
3569
3579
  return new H({ font: { family: o } });
3570
3580
  }
3571
- function Ti(o) {
3581
+ function Pi(o) {
3572
3582
  return new H({ font: { size: o } });
3573
3583
  }
3574
- function Mi(o) {
3584
+ function $i(o) {
3575
3585
  return new H({ font: { weight: o } });
3576
3586
  }
3577
- function ki(o) {
3587
+ function Vi(o) {
3578
3588
  return new H({ font: { style: o } });
3579
3589
  }
3580
- function Ai(o) {
3590
+ function Di(o) {
3581
3591
  return new H({ font: o });
3582
3592
  }
3583
- const Li = "typography", Ae = /* @__PURE__ */ Symbol.for("tachui.typography.instanceId");
3584
- let Le = 0;
3585
- function Ii(o) {
3586
- const s = o[Ae];
3593
+ const Ri = "typography", Ie = /* @__PURE__ */ Symbol.for("tachui.typography.instanceId");
3594
+ let Pe = 0;
3595
+ function Oi(o) {
3596
+ const s = o[Ie];
3587
3597
  if (typeof s == "number") return s;
3588
- Le += 1;
3589
- const e = Le;
3590
- return Object.defineProperty(o, Ae, {
3598
+ Pe += 1;
3599
+ const e = Pe;
3600
+ return Object.defineProperty(o, Ie, {
3591
3601
  value: e,
3592
3602
  enumerable: !1,
3593
3603
  configurable: !1,
@@ -3597,8 +3607,8 @@ function Ii(o) {
3597
3607
  class I extends v {
3598
3608
  constructor() {
3599
3609
  super(...arguments);
3600
- f(this, "type", "typography");
3601
- f(this, "priority", 30);
3610
+ d(this, "type", "typography");
3611
+ d(this, "priority", 30);
3602
3612
  }
3603
3613
  apply(e, t) {
3604
3614
  if (!t.element) return;
@@ -3625,16 +3635,16 @@ class I extends v {
3625
3635
  }
3626
3636
  const c = t.replace(
3627
3637
  /-([a-z])/g,
3628
- (d, u) => u.toUpperCase()
3638
+ (f, u) => u.toUpperCase()
3629
3639
  );
3630
3640
  n[c] = l;
3631
3641
  };
3632
3642
  if (y(i) || m(i)) {
3633
- const a = i, l = Ii(this);
3634
- Ie({
3643
+ const a = i, l = Oi(this);
3644
+ $e({
3635
3645
  element: e,
3636
3646
  accessor: a,
3637
- updaterId: `${Li}:${l}:${t}`,
3647
+ updaterId: `${Ri}:${l}:${t}`,
3638
3648
  updater: (c) => {
3639
3649
  r(c);
3640
3650
  }
@@ -3660,57 +3670,57 @@ class I extends v {
3660
3670
  return e === "leading" ? "start" : e === "trailing" ? "end" : e;
3661
3671
  }
3662
3672
  }
3663
- function Pi(o) {
3673
+ function Bi(o) {
3664
3674
  return new I(o);
3665
3675
  }
3666
- function $i(o) {
3676
+ function _i(o) {
3667
3677
  return new I({ align: o });
3668
3678
  }
3669
- function Be(o) {
3679
+ function ze(o) {
3670
3680
  return new I({ transform: o });
3671
3681
  }
3672
- function Vi(o) {
3682
+ function Hi(o) {
3673
3683
  return new I({ decoration: o });
3674
3684
  }
3675
- function Ir(o) {
3685
+ function Br(o) {
3676
3686
  return new I({ size: o });
3677
3687
  }
3678
- function Pr(o) {
3688
+ function _r(o) {
3679
3689
  return new I({ weight: o });
3680
3690
  }
3681
- function Ri(o) {
3691
+ function zi(o) {
3682
3692
  return new I({ lineHeight: o });
3683
3693
  }
3684
- function Di(o) {
3694
+ function Fi(o) {
3685
3695
  return new I({ letterSpacing: o });
3686
3696
  }
3687
- function $r(o) {
3697
+ function Hr(o) {
3688
3698
  return new I({ wordSpacing: o });
3689
3699
  }
3690
- function Oi(o) {
3700
+ function Ni(o) {
3691
3701
  return new I({ textOverflow: o });
3692
3702
  }
3693
- function Bi(o) {
3703
+ function Wi(o) {
3694
3704
  return new I({ whiteSpace: o });
3695
3705
  }
3696
- function _i(o) {
3706
+ function ji(o) {
3697
3707
  return new I({ overflow: o });
3698
3708
  }
3699
- function Hi(o) {
3700
- return Be(o);
3709
+ function Ui(o) {
3710
+ return ze(o);
3701
3711
  }
3702
- function Vr(o) {
3712
+ function zr(o) {
3703
3713
  return new I({ family: o });
3704
3714
  }
3705
- function zi(o) {
3706
- return typeof o == "string" ? Fi(o) : new I({
3715
+ function Gi(o) {
3716
+ return typeof o == "string" ? Ki(o) : new I({
3707
3717
  family: o.family,
3708
3718
  size: o.size,
3709
3719
  weight: o.weight,
3710
3720
  style: o.style
3711
3721
  });
3712
3722
  }
3713
- function Fi(o) {
3723
+ function Ki(o) {
3714
3724
  const s = {
3715
3725
  ".largeTitle": { size: 34, weight: 400 },
3716
3726
  ".title": { size: 28, weight: 400 },
@@ -3726,7 +3736,7 @@ function Fi(o) {
3726
3736
  }, e = s[o];
3727
3737
  return e ? new I(e) : new I(s[".body"]);
3728
3738
  }
3729
- function Rr(o) {
3739
+ function Fr(o) {
3730
3740
  let s;
3731
3741
  switch (o.design) {
3732
3742
  case "serif":
@@ -3747,7 +3757,7 @@ function Rr(o) {
3747
3757
  weight: o.weight
3748
3758
  });
3749
3759
  }
3750
- function Dr(o, s) {
3760
+ function Nr(o, s) {
3751
3761
  return new I({
3752
3762
  family: o,
3753
3763
  size: s?.size,
@@ -3755,11 +3765,11 @@ function Dr(o, s) {
3755
3765
  style: s?.style
3756
3766
  });
3757
3767
  }
3758
- class Ni extends v {
3768
+ class Yi extends v {
3759
3769
  constructor() {
3760
3770
  super(...arguments);
3761
- f(this, "type", "lineClamp");
3762
- f(this, "priority", R.APPEARANCE + 15);
3771
+ d(this, "type", "lineClamp");
3772
+ d(this, "priority", D.APPEARANCE + 15);
3763
3773
  }
3764
3774
  apply(e, t) {
3765
3775
  if (!t.element) return;
@@ -3784,14 +3794,14 @@ class Ni extends v {
3784
3794
  );
3785
3795
  }
3786
3796
  }
3787
- function Wi(o) {
3788
- return new Ni({ lines: o });
3797
+ function Xi(o) {
3798
+ return new Yi({ lines: o });
3789
3799
  }
3790
- class ji extends v {
3800
+ class Zi extends v {
3791
3801
  constructor() {
3792
3802
  super(...arguments);
3793
- f(this, "type", "wordBreak");
3794
- f(this, "priority", R.APPEARANCE + 8);
3803
+ d(this, "type", "wordBreak");
3804
+ d(this, "priority", D.APPEARANCE + 8);
3795
3805
  }
3796
3806
  apply(e, t) {
3797
3807
  if (!t.element) return;
@@ -3812,14 +3822,14 @@ class ji extends v {
3812
3822
  );
3813
3823
  }
3814
3824
  }
3815
- function Ui(o) {
3816
- return new ji({ wordBreak: o });
3825
+ function qi(o) {
3826
+ return new Zi({ wordBreak: o });
3817
3827
  }
3818
- class Gi extends v {
3828
+ class Ji extends v {
3819
3829
  constructor() {
3820
3830
  super(...arguments);
3821
- f(this, "type", "overflowWrap");
3822
- f(this, "priority", R.APPEARANCE + 9);
3831
+ d(this, "type", "overflowWrap");
3832
+ d(this, "priority", D.APPEARANCE + 9);
3823
3833
  }
3824
3834
  apply(e, t) {
3825
3835
  if (!t.element) return;
@@ -3837,14 +3847,14 @@ class Gi extends v {
3837
3847
  );
3838
3848
  }
3839
3849
  }
3840
- function Ki(o) {
3841
- return new Gi({ overflowWrap: o });
3850
+ function Qi(o) {
3851
+ return new Ji({ overflowWrap: o });
3842
3852
  }
3843
- class Yi extends v {
3853
+ class en extends v {
3844
3854
  constructor() {
3845
3855
  super(...arguments);
3846
- f(this, "type", "hyphens");
3847
- f(this, "priority", R.APPEARANCE + 10);
3856
+ d(this, "type", "hyphens");
3857
+ d(this, "priority", D.APPEARANCE + 10);
3848
3858
  }
3849
3859
  apply(e, t) {
3850
3860
  if (!t.element) return;
@@ -3865,8 +3875,8 @@ class Yi extends v {
3865
3875
  );
3866
3876
  }
3867
3877
  }
3868
- function Xi(o) {
3869
- return new Yi({ hyphens: o });
3878
+ function tn(o) {
3879
+ return new en({ hyphens: o });
3870
3880
  }
3871
3881
  class F extends v {
3872
3882
  constructor(e) {
@@ -3874,8 +3884,8 @@ class F extends v {
3874
3884
  for (const [i, n] of Object.entries(e))
3875
3885
  typeof n == "function" && "peek" in n ? t[i] = n.peek() : t[i] = n;
3876
3886
  super(t);
3877
- f(this, "type", "scroll");
3878
- f(this, "priority", 20);
3887
+ d(this, "type", "scroll");
3888
+ d(this, "priority", 20);
3879
3889
  }
3880
3890
  apply(e, t) {
3881
3891
  if (!t.element) return;
@@ -3910,39 +3920,39 @@ class F extends v {
3910
3920
  return typeof e == "number" ? `${e}px` : e;
3911
3921
  }
3912
3922
  }
3913
- function Zi(o) {
3923
+ function nn(o) {
3914
3924
  return new F({ scroll: o });
3915
3925
  }
3916
- function qi(o) {
3926
+ function on(o) {
3917
3927
  return new F({ scrollBehavior: o });
3918
3928
  }
3919
- function Ji(o) {
3929
+ function rn(o) {
3920
3930
  return new F({ overscrollBehavior: o });
3921
3931
  }
3922
- function Qi(o) {
3932
+ function sn(o) {
3923
3933
  return new F({ overscrollBehaviorX: o });
3924
3934
  }
3925
- function en(o) {
3935
+ function an(o) {
3926
3936
  return new F({ overscrollBehaviorY: o });
3927
3937
  }
3928
- function tn(o) {
3938
+ function ln(o) {
3929
3939
  return new F({ scroll: { margin: o } });
3930
3940
  }
3931
- function nn(o) {
3941
+ function cn(o) {
3932
3942
  return new F({ scroll: { padding: o } });
3933
3943
  }
3934
- function on(o, s, e) {
3944
+ function fn(o, s, e) {
3935
3945
  return new F({
3936
3946
  scroll: {
3937
3947
  snap: { type: o, align: s, stop: e }
3938
3948
  }
3939
3949
  });
3940
3950
  }
3941
- class rn extends w {
3951
+ class dn extends w {
3942
3952
  constructor() {
3943
3953
  super(...arguments);
3944
- f(this, "type", "onHover");
3945
- f(this, "priority", 50);
3954
+ d(this, "type", "onHover");
3955
+ d(this, "priority", 50);
3946
3956
  }
3947
3957
  apply(e, t) {
3948
3958
  if (!t.element) return;
@@ -3962,14 +3972,14 @@ class rn extends w {
3962
3972
  return e._hoverCleanup = r, r;
3963
3973
  }
3964
3974
  }
3965
- function sn(o) {
3966
- return new rn({ onHover: o });
3975
+ function un(o) {
3976
+ return new dn({ onHover: o });
3967
3977
  }
3968
- class an extends w {
3978
+ class pn extends w {
3969
3979
  constructor() {
3970
3980
  super(...arguments);
3971
- f(this, "type", "onMouseEnter");
3972
- f(this, "priority", 50);
3981
+ d(this, "type", "onMouseEnter");
3982
+ d(this, "priority", 50);
3973
3983
  }
3974
3984
  apply(e, t) {
3975
3985
  if (!t.element) return;
@@ -3981,11 +3991,11 @@ class an extends w {
3981
3991
  };
3982
3992
  }
3983
3993
  }
3984
- class ln extends w {
3994
+ class hn extends w {
3985
3995
  constructor() {
3986
3996
  super(...arguments);
3987
- f(this, "type", "onMouseLeave");
3988
- f(this, "priority", 50);
3997
+ d(this, "type", "onMouseLeave");
3998
+ d(this, "priority", 50);
3989
3999
  }
3990
4000
  apply(e, t) {
3991
4001
  if (!t.element) return;
@@ -3997,11 +4007,11 @@ class ln extends w {
3997
4007
  };
3998
4008
  }
3999
4009
  }
4000
- class cn extends w {
4010
+ class yn extends w {
4001
4011
  constructor() {
4002
4012
  super(...arguments);
4003
- f(this, "type", "onMouseDown");
4004
- f(this, "priority", 50);
4013
+ d(this, "type", "onMouseDown");
4014
+ d(this, "priority", 50);
4005
4015
  }
4006
4016
  apply(e, t) {
4007
4017
  if (!t.element) return;
@@ -4013,11 +4023,11 @@ class cn extends w {
4013
4023
  };
4014
4024
  }
4015
4025
  }
4016
- class fn extends w {
4026
+ class mn extends w {
4017
4027
  constructor() {
4018
4028
  super(...arguments);
4019
- f(this, "type", "onMouseUp");
4020
- f(this, "priority", 50);
4029
+ d(this, "type", "onMouseUp");
4030
+ d(this, "priority", 50);
4021
4031
  }
4022
4032
  apply(e, t) {
4023
4033
  if (!t.element) return;
@@ -4029,11 +4039,11 @@ class fn extends w {
4029
4039
  };
4030
4040
  }
4031
4041
  }
4032
- class dn extends w {
4042
+ class gn extends w {
4033
4043
  constructor() {
4034
4044
  super(...arguments);
4035
- f(this, "type", "onDoubleClick");
4036
- f(this, "priority", 50);
4045
+ d(this, "type", "onDoubleClick");
4046
+ d(this, "priority", 50);
4037
4047
  }
4038
4048
  apply(e, t) {
4039
4049
  if (!t.element) return;
@@ -4045,11 +4055,11 @@ class dn extends w {
4045
4055
  };
4046
4056
  }
4047
4057
  }
4048
- class un extends w {
4058
+ class vn extends w {
4049
4059
  constructor() {
4050
4060
  super(...arguments);
4051
- f(this, "type", "onContextMenu");
4052
- f(this, "priority", 50);
4061
+ d(this, "type", "onContextMenu");
4062
+ d(this, "priority", 50);
4053
4063
  }
4054
4064
  apply(e, t) {
4055
4065
  if (!t.element) return;
@@ -4061,29 +4071,29 @@ class un extends w {
4061
4071
  };
4062
4072
  }
4063
4073
  }
4064
- function pn(o) {
4065
- return new an({ onMouseEnter: o });
4074
+ function bn(o) {
4075
+ return new pn({ onMouseEnter: o });
4066
4076
  }
4067
- function hn(o) {
4068
- return new ln({ onMouseLeave: o });
4077
+ function Sn(o) {
4078
+ return new hn({ onMouseLeave: o });
4069
4079
  }
4070
- function yn(o) {
4071
- return new cn({ onMouseDown: o });
4080
+ function wn(o) {
4081
+ return new yn({ onMouseDown: o });
4072
4082
  }
4073
- function mn(o) {
4074
- return new fn({ onMouseUp: o });
4083
+ function Cn(o) {
4084
+ return new mn({ onMouseUp: o });
4075
4085
  }
4076
- function gn(o) {
4077
- return new dn({ onDoubleClick: o });
4086
+ function xn(o) {
4087
+ return new gn({ onDoubleClick: o });
4078
4088
  }
4079
- function vn(o) {
4080
- return new un({ onContextMenu: o });
4089
+ function En(o) {
4090
+ return new vn({ onContextMenu: o });
4081
4091
  }
4082
- class bn extends w {
4092
+ class Tn extends w {
4083
4093
  constructor() {
4084
4094
  super(...arguments);
4085
- f(this, "type", "onKeyDown");
4086
- f(this, "priority", 50);
4095
+ d(this, "type", "onKeyDown");
4096
+ d(this, "priority", 50);
4087
4097
  }
4088
4098
  apply(e, t) {
4089
4099
  if (!t.element) return;
@@ -4095,11 +4105,11 @@ class bn extends w {
4095
4105
  };
4096
4106
  }
4097
4107
  }
4098
- class Sn extends w {
4108
+ class Mn extends w {
4099
4109
  constructor() {
4100
4110
  super(...arguments);
4101
- f(this, "type", "onKeyUp");
4102
- f(this, "priority", 50);
4111
+ d(this, "type", "onKeyUp");
4112
+ d(this, "priority", 50);
4103
4113
  }
4104
4114
  apply(e, t) {
4105
4115
  if (!t.element) return;
@@ -4111,11 +4121,11 @@ class Sn extends w {
4111
4121
  };
4112
4122
  }
4113
4123
  }
4114
- class wn extends w {
4124
+ class kn extends w {
4115
4125
  constructor() {
4116
4126
  super(...arguments);
4117
- f(this, "type", "onKeyPress");
4118
- f(this, "priority", 50);
4127
+ d(this, "type", "onKeyPress");
4128
+ d(this, "priority", 50);
4119
4129
  }
4120
4130
  apply(e, t) {
4121
4131
  if (!t.element) return;
@@ -4127,20 +4137,20 @@ class wn extends w {
4127
4137
  };
4128
4138
  }
4129
4139
  }
4130
- function Cn(o) {
4131
- return new bn({ onKeyDown: o });
4140
+ function An(o) {
4141
+ return new Tn({ onKeyDown: o });
4132
4142
  }
4133
- function xn(o) {
4134
- return new Sn({ onKeyUp: o });
4143
+ function Ln(o) {
4144
+ return new Mn({ onKeyUp: o });
4135
4145
  }
4136
- function En(o) {
4137
- return new wn({ onKeyPress: o });
4146
+ function In(o) {
4147
+ return new kn({ onKeyPress: o });
4138
4148
  }
4139
- class Tn extends w {
4149
+ class Pn extends w {
4140
4150
  constructor() {
4141
4151
  super(...arguments);
4142
- f(this, "type", "onFocus");
4143
- f(this, "priority", 50);
4152
+ d(this, "type", "onFocus");
4153
+ d(this, "priority", 50);
4144
4154
  }
4145
4155
  apply(e, t) {
4146
4156
  if (!t.element) return;
@@ -4154,11 +4164,11 @@ class Tn extends w {
4154
4164
  };
4155
4165
  }
4156
4166
  }
4157
- class Mn extends w {
4167
+ class $n extends w {
4158
4168
  constructor() {
4159
4169
  super(...arguments);
4160
- f(this, "type", "onBlur");
4161
- f(this, "priority", 50);
4170
+ d(this, "type", "onBlur");
4171
+ d(this, "priority", 50);
4162
4172
  }
4163
4173
  apply(e, t) {
4164
4174
  if (!t.element) return;
@@ -4172,17 +4182,17 @@ class Mn extends w {
4172
4182
  };
4173
4183
  }
4174
4184
  }
4175
- function kn(o) {
4176
- return new Tn({ onFocus: o });
4185
+ function Vn(o) {
4186
+ return new Pn({ onFocus: o });
4177
4187
  }
4178
- function An(o) {
4179
- return new Mn({ onBlur: o });
4188
+ function Dn(o) {
4189
+ return new $n({ onBlur: o });
4180
4190
  }
4181
- class Ln extends w {
4191
+ class Rn extends w {
4182
4192
  constructor() {
4183
4193
  super(...arguments);
4184
- f(this, "type", "onLongPressGesture");
4185
- f(this, "priority", 85);
4194
+ d(this, "type", "onLongPressGesture");
4195
+ d(this, "priority", 85);
4186
4196
  }
4187
4197
  apply(e, t) {
4188
4198
  if (!t.element) return;
@@ -4192,7 +4202,7 @@ class Ln extends w {
4192
4202
  setupLongPressGesture(e, t) {
4193
4203
  const i = t.minimumDuration ?? 500, n = t.maximumDistance ?? 10;
4194
4204
  let r = null, a = null, l = !1, c = !1;
4195
- const d = (k, x) => {
4205
+ const f = (k, x) => {
4196
4206
  l || (r = { x: k, y: x }, l = !0, c = !1, t.onPressingChanged?.(!0), a = window.setTimeout(() => {
4197
4207
  l && !c && (c = !0, t.perform());
4198
4208
  }, i));
@@ -4202,7 +4212,7 @@ class Ln extends w {
4202
4212
  a && (clearTimeout(a), a = null), l && (l = !1, t.onPressingChanged?.(!1)), r = null, c = !1;
4203
4213
  }, h = (k) => {
4204
4214
  const x = k;
4205
- k.preventDefault(), d(x.clientX, x.clientY);
4215
+ k.preventDefault(), f(x.clientX, x.clientY);
4206
4216
  }, g = (k) => {
4207
4217
  if (!l) return;
4208
4218
  const x = k;
@@ -4215,9 +4225,9 @@ class Ln extends w {
4215
4225
  const x = k;
4216
4226
  if (x.touches.length === 1) {
4217
4227
  const Y = x.touches[0];
4218
- k.preventDefault(), d(Y.clientX, Y.clientY);
4228
+ k.preventDefault(), f(Y.clientX, Y.clientY);
4219
4229
  }
4220
- }, ge = (k) => {
4230
+ }, ve = (k) => {
4221
4231
  if (!l) return;
4222
4232
  const x = k;
4223
4233
  if (x.touches.length === 1) {
@@ -4225,21 +4235,21 @@ class Ln extends w {
4225
4235
  u(Y.clientX, Y.clientY) || p();
4226
4236
  } else
4227
4237
  p();
4228
- }, ve = () => {
4229
- p();
4230
4238
  }, be = () => {
4231
4239
  p();
4232
- }, Se = (k) => {
4233
- const x = k;
4234
- x.button === 0 && (k.preventDefault(), d(x.clientX, x.clientY));
4240
+ }, Se = () => {
4241
+ p();
4235
4242
  }, we = (k) => {
4243
+ const x = k;
4244
+ x.button === 0 && (k.preventDefault(), f(x.clientX, x.clientY));
4245
+ }, Ce = (k) => {
4236
4246
  if (!l) return;
4237
4247
  const x = k;
4238
4248
  u(x.clientX, x.clientY) || p();
4239
- }, Ce = () => {
4240
- p();
4241
4249
  }, xe = () => {
4242
4250
  p();
4251
+ }, Ee = () => {
4252
+ p();
4243
4253
  };
4244
4254
  "onpointerdown" in e ? (e.addEventListener(
4245
4255
  "pointerdown",
@@ -4254,11 +4264,11 @@ class Ln extends w {
4254
4264
  "touchstart",
4255
4265
  z,
4256
4266
  { passive: !1 }
4257
- ), e.addEventListener("touchmove", ge), e.addEventListener("touchend", ve), e.addEventListener(
4267
+ ), e.addEventListener("touchmove", ve), e.addEventListener("touchend", be), e.addEventListener(
4258
4268
  "touchcancel",
4259
- be
4260
- )) : (e.addEventListener("mousedown", Se), e.addEventListener("mousemove", we), e.addEventListener("mouseup", Ce), e.addEventListener("mouseleave", xe));
4261
- const Ee = () => {
4269
+ Se
4270
+ )) : (e.addEventListener("mousedown", we), e.addEventListener("mousemove", Ce), e.addEventListener("mouseup", xe), e.addEventListener("mouseleave", Ee));
4271
+ const Te = () => {
4262
4272
  p(), "onpointerdown" in e ? (e.removeEventListener(
4263
4273
  "pointerdown",
4264
4274
  h
@@ -4276,36 +4286,36 @@ class Ln extends w {
4276
4286
  z
4277
4287
  ), e.removeEventListener(
4278
4288
  "touchmove",
4279
- ge
4280
- ), e.removeEventListener("touchend", ve), e.removeEventListener(
4289
+ ve
4290
+ ), e.removeEventListener("touchend", be), e.removeEventListener(
4281
4291
  "touchcancel",
4282
- be
4292
+ Se
4283
4293
  )) : (e.removeEventListener(
4284
4294
  "mousedown",
4285
- Se
4295
+ we
4286
4296
  ), e.removeEventListener(
4287
4297
  "mousemove",
4288
- we
4289
- ), e.removeEventListener("mouseup", Ce), e.removeEventListener(
4298
+ Ce
4299
+ ), e.removeEventListener("mouseup", xe), e.removeEventListener(
4290
4300
  "mouseleave",
4291
- xe
4301
+ Ee
4292
4302
  ));
4293
4303
  };
4294
- return e._longPressCleanup = Ee, Ee;
4304
+ return e._longPressCleanup = Te, Te;
4295
4305
  }
4296
4306
  }
4297
- function In(o) {
4298
- return new Ln(o);
4307
+ function On(o) {
4308
+ return new Rn(o);
4299
4309
  }
4300
- class Pn extends w {
4310
+ class Bn extends w {
4301
4311
  constructor(e) {
4302
4312
  const t = {
4303
4313
  ...e,
4304
4314
  modifiers: e.modifiers || []
4305
4315
  };
4306
4316
  super(t);
4307
- f(this, "type", "keyboardShortcut");
4308
- f(this, "priority", 80);
4317
+ d(this, "type", "keyboardShortcut");
4318
+ d(this, "priority", 80);
4309
4319
  }
4310
4320
  apply(e, t) {
4311
4321
  t.element && this.setupKeyboardShortcut(t.element, this.properties);
@@ -4315,12 +4325,12 @@ class Pn extends w {
4315
4325
  const c = l;
4316
4326
  if (c.key.toLowerCase() !== t.key.toLowerCase())
4317
4327
  return;
4318
- const d = new Set(i), u = /* @__PURE__ */ new Set();
4328
+ const f = new Set(i), u = /* @__PURE__ */ new Set();
4319
4329
  (c.ctrlKey || c.metaKey) && (navigator.platform.includes("Mac") ? (c.metaKey && (u.add("cmd"), u.add("meta")), c.ctrlKey && u.add("ctrl")) : (c.ctrlKey && (u.add("ctrl"), u.add("cmd")), c.metaKey && u.add("meta"))), c.shiftKey && u.add("shift"), c.altKey && u.add("alt");
4320
- const p = Array.from(d).every(
4330
+ const p = Array.from(f).every(
4321
4331
  (S) => u.has(S)
4322
- ), h = /* @__PURE__ */ new Set([...d]);
4323
- d.has("cmd") && (h.add("meta"), h.add("ctrl")), d.has("meta") && h.add("cmd"), d.has("ctrl") && h.add("cmd");
4332
+ ), h = /* @__PURE__ */ new Set([...f]);
4333
+ f.has("cmd") && (h.add("meta"), h.add("ctrl")), f.has("meta") && h.add("cmd"), f.has("ctrl") && h.add("cmd");
4324
4334
  const g = Array.from(u).some(
4325
4335
  (S) => !h.has(
4326
4336
  S
@@ -4338,17 +4348,17 @@ class Pn extends w {
4338
4348
  e._keyboardShortcutCleanup = a;
4339
4349
  }
4340
4350
  }
4341
- function _e(o) {
4342
- return new Pn(o);
4351
+ function Fe(o) {
4352
+ return new Bn(o);
4343
4353
  }
4344
- function Or(o, s, e) {
4345
- return _e({ key: o, modifiers: s, action: e });
4354
+ function Wr(o, s, e) {
4355
+ return Fe({ key: o, modifiers: s, action: e });
4346
4356
  }
4347
- class $n extends w {
4357
+ class _n extends w {
4348
4358
  constructor() {
4349
4359
  super(...arguments);
4350
- f(this, "type", "focused");
4351
- f(this, "priority", 75);
4360
+ d(this, "type", "focused");
4361
+ d(this, "priority", 75);
4352
4362
  }
4353
4363
  apply(e, t) {
4354
4364
  t.element && this.setupFocusManagement(t.element, this.properties.focused);
@@ -4370,14 +4380,14 @@ class $n extends w {
4370
4380
  r(c);
4371
4381
  });
4372
4382
  else if (process.env.NODE_ENV !== "test") {
4373
- let c = l(), d = !0;
4383
+ let c = l(), f = !0;
4374
4384
  const u = () => {
4375
- if (!d) return;
4385
+ if (!f) return;
4376
4386
  const p = l();
4377
- p !== c && (c = p, r(p)), d && requestAnimationFrame(u);
4387
+ p !== c && (c = p, r(p)), f && requestAnimationFrame(u);
4378
4388
  };
4379
4389
  n = () => {
4380
- d = !1;
4390
+ f = !1;
4381
4391
  }, requestAnimationFrame(u);
4382
4392
  } else
4383
4393
  n = () => {
@@ -4390,18 +4400,18 @@ class $n extends w {
4390
4400
  e._focusedCleanup = a;
4391
4401
  }
4392
4402
  }
4393
- function Vn(o) {
4394
- return new $n({ focused: o });
4403
+ function Hn(o) {
4404
+ return new _n({ focused: o });
4395
4405
  }
4396
- class Rn extends w {
4406
+ class zn extends w {
4397
4407
  constructor(e = {}) {
4398
4408
  const t = {
4399
4409
  ...e,
4400
4410
  interactions: e.interactions || []
4401
4411
  };
4402
4412
  super(t);
4403
- f(this, "type", "focusable");
4404
- f(this, "priority", 75);
4413
+ d(this, "type", "focusable");
4414
+ d(this, "priority", 75);
4405
4415
  }
4406
4416
  apply(e, t) {
4407
4417
  t.element && this.setupFocusable(t.element, this.properties);
@@ -4419,8 +4429,8 @@ class Rn extends w {
4419
4429
  "aria-label",
4420
4430
  i.getAttribute("aria-label") || "Activatable element"
4421
4431
  )), r.includes("activate")) {
4422
- const l = (d) => {
4423
- (d.key === " " || d.key === "Enter") && (d.preventDefault(), i.click());
4432
+ const l = (f) => {
4433
+ (f.key === " " || f.key === "Enter") && (f.preventDefault(), i.click());
4424
4434
  };
4425
4435
  i.addEventListener("keydown", l);
4426
4436
  const c = i._focusableCleanup || (() => {
@@ -4438,23 +4448,23 @@ class Rn extends w {
4438
4448
  }
4439
4449
  }
4440
4450
  }
4441
- function he(o, s) {
4442
- return new Rn({
4451
+ function ye(o, s) {
4452
+ return new zn({
4443
4453
  isFocusable: o ?? !0,
4444
4454
  interactions: s ?? []
4445
4455
  });
4446
4456
  }
4447
- function Dn() {
4448
- return he(!0, ["activate"]);
4457
+ function Fn() {
4458
+ return ye(!0, ["activate"]);
4449
4459
  }
4450
- function On() {
4451
- return he(!0, ["edit"]);
4460
+ function Nn() {
4461
+ return ye(!0, ["edit"]);
4452
4462
  }
4453
- class Bn extends w {
4463
+ class Wn extends w {
4454
4464
  constructor() {
4455
4465
  super(...arguments);
4456
- f(this, "type", "onContinuousHover");
4457
- f(this, "priority", 70);
4466
+ d(this, "type", "onContinuousHover");
4467
+ d(this, "priority", 70);
4458
4468
  }
4459
4469
  apply(e, t) {
4460
4470
  if (!t.element) return;
@@ -4489,7 +4499,7 @@ class Bn extends w {
4489
4499
  n = !1, t.perform(null);
4490
4500
  };
4491
4501
  e.addEventListener("mouseenter", a), e.addEventListener("mousemove", l), e.addEventListener("mouseleave", c);
4492
- const d = () => {
4502
+ const f = () => {
4493
4503
  n && (n = !1, t.perform(null)), e.removeEventListener(
4494
4504
  "mouseenter",
4495
4505
  a
@@ -4498,29 +4508,29 @@ class Bn extends w {
4498
4508
  c
4499
4509
  );
4500
4510
  };
4501
- return e._continuousHoverCleanup = d, d;
4511
+ return e._continuousHoverCleanup = f, f;
4502
4512
  }
4503
4513
  }
4504
- function ye(o) {
4505
- return new Bn(o);
4514
+ function me(o) {
4515
+ return new Wn(o);
4506
4516
  }
4507
- function Br(o) {
4508
- return ye({
4517
+ function jr(o) {
4518
+ return me({
4509
4519
  coordinateSpace: "local",
4510
4520
  perform: o
4511
4521
  });
4512
4522
  }
4513
- function _r(o) {
4514
- return ye({
4523
+ function Ur(o) {
4524
+ return me({
4515
4525
  coordinateSpace: "global",
4516
4526
  perform: o
4517
4527
  });
4518
4528
  }
4519
- class _n extends w {
4529
+ class jn extends w {
4520
4530
  constructor() {
4521
4531
  super(...arguments);
4522
- f(this, "type", "allowsHitTesting");
4523
- f(this, "priority", 95);
4532
+ d(this, "type", "allowsHitTesting");
4533
+ d(this, "priority", 95);
4524
4534
  }
4525
4535
  apply(e, t) {
4526
4536
  t.element && this.setupHitTesting(t.element, this.properties.enabled);
@@ -4531,89 +4541,89 @@ class _n extends w {
4531
4541
  t ? i.style.pointerEvents === "none" && (i.style.pointerEvents = "") : i.style.pointerEvents = "none", e._hitTestingEnabled = t;
4532
4542
  }
4533
4543
  }
4534
- function me(o) {
4535
- return new _n({ enabled: o });
4544
+ function ge(o) {
4545
+ return new jn({ enabled: o });
4536
4546
  }
4537
- function Hr() {
4538
- return me(!0);
4547
+ function Gr() {
4548
+ return ge(!0);
4539
4549
  }
4540
- function zr() {
4541
- return me(!1);
4550
+ function Kr() {
4551
+ return ge(!1);
4542
4552
  }
4543
- function Hn(o, s) {
4553
+ function Un(o, s) {
4544
4554
  return new C({
4545
4555
  highPriorityGesture: { gesture: o, including: s }
4546
4556
  });
4547
4557
  }
4548
- function zn(o, s) {
4558
+ function Gn(o, s) {
4549
4559
  return new C({
4550
4560
  simultaneousGesture: { gesture: o, including: s }
4551
4561
  });
4552
4562
  }
4553
- function Fn(o) {
4563
+ function Kn(o) {
4554
4564
  return new C({ onTap: o });
4555
4565
  }
4556
- function Fr(o) {
4566
+ function Yr(o) {
4557
4567
  return new C({ onFocus: o });
4558
4568
  }
4559
- function Nr(o) {
4569
+ function Xr(o) {
4560
4570
  return new C({ onBlur: o });
4561
4571
  }
4562
- function Nn(o) {
4572
+ function Yn(o) {
4563
4573
  return new C({ onScroll: o });
4564
4574
  }
4565
- function Wr(o) {
4575
+ function Zr(o) {
4566
4576
  return new C({ onKeyDown: o });
4567
4577
  }
4568
- function jr(o) {
4578
+ function qr(o) {
4569
4579
  return new C({ onKeyPress: o });
4570
4580
  }
4571
- function Ur(o) {
4581
+ function Jr(o) {
4572
4582
  return new C({ onKeyUp: o });
4573
4583
  }
4574
- function Gr(o) {
4584
+ function Qr(o) {
4575
4585
  return new C({ onDoubleClick: o });
4576
4586
  }
4577
- function Kr(o) {
4587
+ function es(o) {
4578
4588
  return new C({ onContextMenu: o });
4579
4589
  }
4580
- function Wn(o) {
4590
+ function Xn(o) {
4581
4591
  return new C({ onWheel: o });
4582
4592
  }
4583
- function jn(o) {
4593
+ function Zn(o) {
4584
4594
  return new C({ onInput: o });
4585
4595
  }
4586
- function Un(o) {
4596
+ function qn(o) {
4587
4597
  return new C({ onChange: o });
4588
4598
  }
4589
- function Gn(o) {
4599
+ function Jn(o) {
4590
4600
  return new C({ onCopy: o });
4591
4601
  }
4592
- function Kn(o) {
4602
+ function Qn(o) {
4593
4603
  return new C({ onCut: o });
4594
4604
  }
4595
- function Yn(o) {
4605
+ function eo(o) {
4596
4606
  return new C({ onPaste: o });
4597
4607
  }
4598
- function Xn(o) {
4608
+ function to(o) {
4599
4609
  return new C({ onSelect: o });
4600
4610
  }
4601
- function Zn(o) {
4611
+ function io(o) {
4602
4612
  return new C({ onTouchStart: o });
4603
4613
  }
4604
- function qn(o) {
4614
+ function no(o) {
4605
4615
  return new C({ onTouchMove: o });
4606
4616
  }
4607
- function Jn(o) {
4617
+ function oo(o) {
4608
4618
  return new C({ onTouchEnd: o });
4609
4619
  }
4610
- function Qn(o) {
4620
+ function ro(o) {
4611
4621
  return new C({ onSwipeLeft: o });
4612
4622
  }
4613
- function eo(o) {
4623
+ function so(o) {
4614
4624
  return new C({ onSwipeRight: o });
4615
4625
  }
4616
- function to(o = !0) {
4626
+ function ao(o = !0) {
4617
4627
  return new C({ disabled: o });
4618
4628
  }
4619
4629
  class K extends v {
@@ -4623,8 +4633,8 @@ class K extends v {
4623
4633
  for (const [i, n] of Object.entries(e))
4624
4634
  typeof n == "function" && "peek" in n ? t[i] = n.peek() : t[i] = n;
4625
4635
  super(t);
4626
- f(this, "type", "utility");
4627
- f(this, "priority", 10);
4636
+ d(this, "type", "utility");
4637
+ d(this, "priority", 10);
4628
4638
  }
4629
4639
  apply(e, t) {
4630
4640
  if (!t.element) return;
@@ -4657,25 +4667,25 @@ class K extends v {
4657
4667
  );
4658
4668
  }
4659
4669
  }
4660
- function io(o) {
4670
+ function lo(o) {
4661
4671
  return new K(o);
4662
4672
  }
4663
- function no(o) {
4673
+ function co(o) {
4664
4674
  return new K({ cursor: o });
4665
4675
  }
4666
- function oo(o) {
4676
+ function fo(o) {
4667
4677
  return new K({ overflowY: o });
4668
4678
  }
4669
- function ro(o) {
4679
+ function uo(o) {
4670
4680
  return new K({ overflowX: o });
4671
4681
  }
4672
- function so(o) {
4682
+ function po(o) {
4673
4683
  return new K({ display: o });
4674
4684
  }
4675
- function ao(o) {
4685
+ function ho(o) {
4676
4686
  return new K({ outline: o });
4677
4687
  }
4678
- function lo(o) {
4688
+ function yo(o) {
4679
4689
  return new K({ outlineOffset: o });
4680
4690
  }
4681
4691
  class se extends v {
@@ -4685,8 +4695,8 @@ class se extends v {
4685
4695
  for (const [i, n] of Object.entries(e))
4686
4696
  typeof n == "function" && "peek" in n ? t[i] = n.peek() : t[i] = n;
4687
4697
  super(t);
4688
- f(this, "type", "css");
4689
- f(this, "priority", 5);
4698
+ d(this, "type", "css");
4699
+ d(this, "priority", 5);
4690
4700
  }
4691
4701
  apply(e, t) {
4692
4702
  if (!t.element) return;
@@ -4703,24 +4713,24 @@ class se extends v {
4703
4713
  return t;
4704
4714
  }
4705
4715
  }
4706
- function co(o) {
4716
+ function mo(o) {
4707
4717
  return new se(o);
4708
4718
  }
4709
- function fo(o, s) {
4719
+ function go(o, s) {
4710
4720
  return new se({ [o]: s });
4711
4721
  }
4712
- function uo(o, s) {
4722
+ function vo(o, s) {
4713
4723
  const e = o.startsWith("--") ? o : `--${o}`;
4714
4724
  return new se({ [e]: s });
4715
4725
  }
4716
- function Yr(o, s, e) {
4726
+ function ts(o, s, e) {
4717
4727
  const t = o.charAt(0).toUpperCase() + o.slice(1), i = `-${o.toLowerCase()}-${s}`, n = t + s.charAt(0).toUpperCase() + s.slice(1);
4718
4728
  return new se({
4719
4729
  [i]: e,
4720
4730
  [n]: e
4721
4731
  });
4722
4732
  }
4723
- class ee {
4733
+ class Q {
4724
4734
  /**
4725
4735
  * Apply basic sanitization to HTML content
4726
4736
  * Removes dangerous patterns and restricts to allowed elements/attributes
@@ -4795,7 +4805,7 @@ class ee {
4795
4805
  }
4796
4806
  }
4797
4807
  }
4798
- f(ee, "DANGEROUS_PATTERNS", [
4808
+ d(Q, "DANGEROUS_PATTERNS", [
4799
4809
  // Script tags (including nested/malformed ones)
4800
4810
  /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
4801
4811
  /<[^>]*<script[^>]*>/gi,
@@ -4823,7 +4833,7 @@ f(ee, "DANGEROUS_PATTERNS", [
4823
4833
  // Any javascript: protocol
4824
4834
  /vbscript:/gi
4825
4835
  // VBScript protocol
4826
- ]), f(ee, "ALLOWED_TAGS", [
4836
+ ]), d(Q, "ALLOWED_TAGS", [
4827
4837
  "p",
4828
4838
  "br",
4829
4839
  "strong",
@@ -4867,7 +4877,7 @@ f(ee, "DANGEROUS_PATTERNS", [
4867
4877
  "header",
4868
4878
  "footer",
4869
4879
  "hr"
4870
- ]), f(ee, "ALLOWED_ATTRIBUTES", {
4880
+ ]), d(Q, "ALLOWED_ATTRIBUTES", {
4871
4881
  "*": ["class", "id", "title", "lang", "dir"],
4872
4882
  a: ["href", "target", "rel"],
4873
4883
  img: ["src", "alt", "width", "height"],
@@ -4875,10 +4885,10 @@ f(ee, "DANGEROUS_PATTERNS", [
4875
4885
  td: ["colspan", "rowspan"],
4876
4886
  th: ["colspan", "rowspan", "scope"]
4877
4887
  });
4878
- function Xr(o, s) {
4879
- return ee.sanitize(o, s);
4888
+ function is(o, s) {
4889
+ return Q.sanitize(o, s);
4880
4890
  }
4881
- class He {
4891
+ class Ne {
4882
4892
  /**
4883
4893
  * Validate HTML content in development mode
4884
4894
  */
@@ -4908,7 +4918,7 @@ class He {
4908
4918
  ].some((t) => t.test(s));
4909
4919
  }
4910
4920
  }
4911
- f(He, "SUSPICIOUS_PATTERNS", [
4921
+ d(Ne, "SUSPICIOUS_PATTERNS", [
4912
4922
  { pattern: /<script/i, message: "Script tags detected" },
4913
4923
  { pattern: /javascript:/i, message: "JavaScript URLs detected" },
4914
4924
  { pattern: /on\w+\s*=/i, message: "Event handlers detected" },
@@ -4920,12 +4930,12 @@ f(He, "SUSPICIOUS_PATTERNS", [
4920
4930
  { pattern: /@import/i, message: "CSS import statements detected" },
4921
4931
  { pattern: /expression\s*\(/i, message: "CSS expressions detected" }
4922
4932
  ]);
4923
- class po extends v {
4933
+ class bo extends v {
4924
4934
  // Early priority to apply before other modifiers
4925
4935
  constructor(e = {}) {
4926
4936
  super(e);
4927
- f(this, "type", "asHTML");
4928
- f(this, "priority", 10);
4937
+ d(this, "type", "asHTML");
4938
+ d(this, "priority", 10);
4929
4939
  }
4930
4940
  apply(e, t) {
4931
4941
  if (!t.element || !t.componentInstance) return;
@@ -4980,11 +4990,11 @@ class po extends v {
4980
4990
  return typeof e == "string" ? e : "";
4981
4991
  }
4982
4992
  sanitizeHTML(e) {
4983
- return !e || typeof e != "string" ? "" : this.properties.skipSanitizer ? e : this.properties.customSanitizer ? this.properties.customSanitizer(e) : ee.sanitize(e, this.properties);
4993
+ return !e || typeof e != "string" ? "" : this.properties.skipSanitizer ? e : this.properties.customSanitizer ? this.properties.customSanitizer(e) : Q.sanitize(e, this.properties);
4984
4994
  }
4985
4995
  validateContent(e) {
4986
4996
  if (this.properties.__suppressWarnings) return;
4987
- const t = He.validate(e, {
4997
+ const t = Ne.validate(e, {
4988
4998
  suppressWarnings: this.properties.__suppressWarnings
4989
4999
  });
4990
5000
  !t.isValid && t.warnings.length > 0 && (console.group("🔒 AsHTML Security Warnings"), console.warn("Potentially dangerous content detected in asHTML:"), t.warnings.forEach((i) => {
@@ -4992,30 +5002,30 @@ class po extends v {
4992
5002
  }), console.warn("Consider using a more comprehensive sanitization solution like DOMPurify"), console.warn("To suppress these warnings, use { __suppressWarnings: true }"), console.groupEnd()), this.properties.skipSanitizer && console.warn("🚨 AsHTML: Sanitization is DISABLED. Ensure content is safe!");
4993
5003
  }
4994
5004
  }
4995
- function ho(o = {}) {
4996
- return new po(o);
5005
+ function So(o = {}) {
5006
+ return new bo(o);
4997
5007
  }
4998
- function yo(o) {
5008
+ function wo(o) {
4999
5009
  return new H({
5000
5010
  navigationTitle: o,
5001
5011
  role: "heading"
5002
5012
  });
5003
5013
  }
5004
- function mo(o = !0) {
5014
+ function Co(o = !0) {
5005
5015
  return new H({
5006
5016
  navigationBarHidden: o,
5007
5017
  "aria-hidden": o.toString()
5008
5018
  });
5009
5019
  }
5010
- function go(o) {
5020
+ function xo(o) {
5011
5021
  return new H({ navigationBarItems: o });
5012
5022
  }
5013
- class vo extends v {
5023
+ class Eo extends v {
5014
5024
  // High priority for HTML attributes
5015
5025
  constructor(e) {
5016
5026
  super(e);
5017
- f(this, "type", "id");
5018
- f(this, "priority", 85);
5027
+ d(this, "type", "id");
5028
+ d(this, "priority", 85);
5019
5029
  }
5020
5030
  apply(e, t) {
5021
5031
  if (!t.element) return;
@@ -5035,14 +5045,14 @@ class vo extends v {
5035
5045
  }
5036
5046
  }
5037
5047
  function ce(o) {
5038
- return new vo({ id: o });
5048
+ return new Eo({ id: o });
5039
5049
  }
5040
- class bo extends v {
5050
+ class To extends v {
5041
5051
  // High priority for HTML attributes
5042
5052
  constructor(e) {
5043
5053
  super(e);
5044
- f(this, "type", "data");
5045
- f(this, "priority", 80);
5054
+ d(this, "type", "data");
5055
+ d(this, "priority", 80);
5046
5056
  }
5047
5057
  apply(e, t) {
5048
5058
  if (!t.element) return;
@@ -5076,15 +5086,15 @@ class bo extends v {
5076
5086
  });
5077
5087
  }
5078
5088
  }
5079
- function So(o) {
5080
- return new bo({ data: o });
5089
+ function Mo(o) {
5090
+ return new To({ data: o });
5081
5091
  }
5082
- class wo extends v {
5092
+ class ko extends v {
5083
5093
  // High priority for accessibility
5084
5094
  constructor(e) {
5085
5095
  super(e);
5086
- f(this, "type", "tabIndex");
5087
- f(this, "priority", 75);
5096
+ d(this, "type", "tabIndex");
5097
+ d(this, "priority", 75);
5088
5098
  }
5089
5099
  apply(e, t) {
5090
5100
  if (!t.element) return;
@@ -5103,14 +5113,14 @@ class wo extends v {
5103
5113
  );
5104
5114
  }
5105
5115
  }
5106
- function Co(o) {
5107
- return new wo({ tabIndex: o });
5116
+ function Ao(o) {
5117
+ return new ko({ tabIndex: o });
5108
5118
  }
5109
5119
  const re = class re extends v {
5110
5120
  constructor(e) {
5111
5121
  super(e);
5112
- f(this, "type", "aria");
5113
- f(this, "priority", 90);
5122
+ d(this, "type", "aria");
5123
+ d(this, "priority", 90);
5114
5124
  }
5115
5125
  apply(e, t) {
5116
5126
  if (!t.element) return;
@@ -5234,7 +5244,7 @@ const re = class re extends v {
5234
5244
  }
5235
5245
  };
5236
5246
  // Highest priority for accessibility
5237
- f(re, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
5247
+ d(re, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
5238
5248
  "label",
5239
5249
  "labelledby",
5240
5250
  "describedby",
@@ -5273,37 +5283,37 @@ let de = re;
5273
5283
  function q(o) {
5274
5284
  return new de({ aria: o });
5275
5285
  }
5276
- function xo(o) {
5286
+ function Lo(o) {
5277
5287
  return q({ role: o });
5278
5288
  }
5279
- function Eo(o) {
5289
+ function Io(o) {
5280
5290
  return q({ label: o });
5281
5291
  }
5282
- function To(o) {
5292
+ function Po(o) {
5283
5293
  return q({ live: o });
5284
5294
  }
5285
- function Mo(o) {
5295
+ function $o(o) {
5286
5296
  return q({ describedby: o });
5287
5297
  }
5288
- function ko(o) {
5298
+ function Vo(o) {
5289
5299
  return q({ modal: o });
5290
5300
  }
5291
- class te extends v {
5301
+ class ee extends v {
5292
5302
  // Early application for CSS variables
5293
5303
  constructor(e) {
5294
5304
  super(e);
5295
- f(this, "type", "customProperties");
5296
- f(this, "priority", 5);
5305
+ d(this, "type", "customProperties");
5306
+ d(this, "priority", 5);
5297
5307
  }
5298
5308
  apply(e, t) {
5299
5309
  if (!t.element) return;
5300
5310
  const i = this.computeCustomPropertyStyles(this.properties), n = t.element, r = (typeof HTMLElement < "u" && n instanceof HTMLElement, n.style);
5301
5311
  if (r && typeof r.setProperty == "function") {
5302
5312
  for (const [a, l] of Object.entries(i)) {
5303
- const c = a.startsWith("--") ? a.slice(2) : a, d = `--${this.toCSSProperty(c)}`;
5304
- r.setProperty(d, l);
5313
+ const c = a.startsWith("--") ? a.slice(2) : a, f = `--${this.toCSSProperty(c)}`;
5314
+ r.setProperty(f, l);
5305
5315
  try {
5306
- r[d] = l;
5316
+ r[f] = l;
5307
5317
  } catch {
5308
5318
  }
5309
5319
  }
@@ -5322,25 +5332,25 @@ class te extends v {
5322
5332
  return typeof e == "number" ? e.toString() : String(e);
5323
5333
  }
5324
5334
  }
5325
- function Ao(o) {
5326
- return new te({
5335
+ function Do(o) {
5336
+ return new ee({
5327
5337
  properties: o.properties,
5328
5338
  scope: o.scope || "local"
5329
5339
  });
5330
5340
  }
5331
- function Lo(o, s, e) {
5332
- return new te({
5341
+ function Ro(o, s, e) {
5342
+ return new ee({
5333
5343
  properties: { [o]: s },
5334
5344
  scope: e || "local"
5335
5345
  });
5336
5346
  }
5337
- function Io(o) {
5338
- return new te({
5347
+ function Oo(o) {
5348
+ return new ee({
5339
5349
  properties: o,
5340
5350
  scope: "local"
5341
5351
  });
5342
5352
  }
5343
- function Zr(o) {
5353
+ function ns(o) {
5344
5354
  const s = {};
5345
5355
  return Object.entries(o).forEach(([e, t]) => {
5346
5356
  if (t !== void 0) {
@@ -5350,16 +5360,16 @@ function Zr(o) {
5350
5360
  );
5351
5361
  s[`--theme-color-${i}`] = t;
5352
5362
  }
5353
- }), new te({
5363
+ }), new ee({
5354
5364
  properties: s,
5355
5365
  scope: "local"
5356
5366
  });
5357
5367
  }
5358
- function qr(o) {
5368
+ function os(o) {
5359
5369
  const s = {};
5360
5370
  return Object.entries(o).forEach(([e, t]) => {
5361
5371
  t !== void 0 && (s[`--token-${e}`] = t);
5362
- }), new te({
5372
+ }), new ee({
5363
5373
  properties: s,
5364
5374
  scope: "local"
5365
5375
  });
@@ -5367,8 +5377,8 @@ function qr(o) {
5367
5377
  const j = class j extends w {
5368
5378
  constructor() {
5369
5379
  super(...arguments);
5370
- f(this, "type", "pseudoElement");
5371
- f(this, "priority", 50);
5380
+ d(this, "type", "pseudoElement");
5381
+ d(this, "priority", 50);
5372
5382
  }
5373
5383
  apply(e, t) {
5374
5384
  if (!t.element) return;
@@ -5387,8 +5397,8 @@ const j = class j extends w {
5387
5397
  const n = `.${e}::${t}`, r = [];
5388
5398
  return i.content || (i.content = '""'), Object.entries(i).forEach(([a, l]) => {
5389
5399
  if (l !== void 0) {
5390
- const c = this.toCSSProperty(a), d = this.formatCSSValue(a, l);
5391
- r.push(`${c}: ${d}`);
5400
+ const c = this.toCSSProperty(a), f = this.formatCSSValue(a, l);
5401
+ r.push(`${c}: ${f}`);
5392
5402
  }
5393
5403
  }), `${n} { ${r.join("; ")} }`;
5394
5404
  }
@@ -5424,32 +5434,32 @@ const j = class j extends w {
5424
5434
  }
5425
5435
  };
5426
5436
  // High priority to ensure pseudo-elements are applied last
5427
- f(j, "styleSheetId", "tachui-pseudo-elements"), f(j, "elementCount", 0);
5437
+ d(j, "styleSheetId", "tachui-pseudo-elements"), d(j, "elementCount", 0);
5428
5438
  let X = j;
5429
5439
  function J(o) {
5430
5440
  return new X({ before: o });
5431
5441
  }
5432
- function ie(o) {
5442
+ function te(o) {
5433
5443
  return new X({ after: o });
5434
5444
  }
5435
- function Po(o) {
5445
+ function Bo(o) {
5436
5446
  return new X(o);
5437
5447
  }
5438
- function $o(o, s = {}) {
5448
+ function _o(o, s = {}) {
5439
5449
  return J({
5440
5450
  content: o,
5441
5451
  display: "inline-block",
5442
5452
  ...s
5443
5453
  });
5444
5454
  }
5445
- function Vo(o, s = {}) {
5446
- return ie({
5455
+ function Ho(o, s = {}) {
5456
+ return te({
5447
5457
  content: o,
5448
5458
  display: "inline-block",
5449
5459
  ...s
5450
5460
  });
5451
5461
  }
5452
- function Ro(o = "#ddd", s = 1, e = 16) {
5462
+ function zo(o = "#ddd", s = 1, e = 16) {
5453
5463
  return J({
5454
5464
  content: "",
5455
5465
  display: "inline-block",
@@ -5460,8 +5470,8 @@ function Ro(o = "#ddd", s = 1, e = 16) {
5460
5470
  verticalAlign: "middle"
5461
5471
  });
5462
5472
  }
5463
- function Do(o = "#ddd", s = 1, e = 16) {
5464
- return ie({
5473
+ function Fo(o = "#ddd", s = 1, e = 16) {
5474
+ return te({
5465
5475
  content: "",
5466
5476
  display: "inline-block",
5467
5477
  width: e,
@@ -5471,7 +5481,7 @@ function Do(o = "#ddd", s = 1, e = 16) {
5471
5481
  verticalAlign: "middle"
5472
5482
  });
5473
5483
  }
5474
- function Oo(o = '"', s = '"') {
5484
+ function No(o = '"', s = '"') {
5475
5485
  return new X({
5476
5486
  before: {
5477
5487
  content: o,
@@ -5487,8 +5497,8 @@ function Oo(o = '"', s = '"') {
5487
5497
  }
5488
5498
  });
5489
5499
  }
5490
- function Bo(o = "currentColor", s = 1, e = 1) {
5491
- return ie({
5500
+ function Wo(o = "currentColor", s = 1, e = 1) {
5501
+ return te({
5492
5502
  content: "",
5493
5503
  position: "absolute",
5494
5504
  bottom: 0,
@@ -5499,8 +5509,8 @@ function Bo(o = "currentColor", s = 1, e = 1) {
5499
5509
  opacity: e
5500
5510
  });
5501
5511
  }
5502
- function _o(o = "#ff3b30", s = 6, e = "") {
5503
- return ie({
5512
+ function jo(o = "#ff3b30", s = 6, e = "") {
5513
+ return te({
5504
5514
  content: e,
5505
5515
  position: "absolute",
5506
5516
  top: -2,
@@ -5520,7 +5530,7 @@ function _o(o = "#ff3b30", s = 6, e = "") {
5520
5530
  justifyContent: "center"
5521
5531
  });
5522
5532
  }
5523
- function Ho(o, s = "top", e = "#333", t = "white") {
5533
+ function Uo(o, s = "top", e = "#333", t = "white") {
5524
5534
  return J({
5525
5535
  content: o,
5526
5536
  position: "absolute",
@@ -5562,7 +5572,7 @@ function Ho(o, s = "top", e = "#333", t = "white") {
5562
5572
  }[s]
5563
5573
  });
5564
5574
  }
5565
- function zo(o, s = "#ff3b30", e = "white") {
5575
+ function Go(o, s = "#ff3b30", e = "white") {
5566
5576
  return J({
5567
5577
  content: o,
5568
5578
  position: "absolute",
@@ -5579,7 +5589,7 @@ function zo(o, s = "#ff3b30", e = "white") {
5579
5589
  zIndex: 10
5580
5590
  });
5581
5591
  }
5582
- function Fo(o = 20, s = "#007AFF", e = 2) {
5592
+ function Ko(o = 20, s = "#007AFF", e = 2) {
5583
5593
  if (!document.getElementById("tachui-spinner-animation")) {
5584
5594
  const t = document.createElement("style");
5585
5595
  t.id = "tachui-spinner-animation", t.textContent = `
@@ -5600,481 +5610,481 @@ function Fo(o = 20, s = "#007AFF", e = 2) {
5600
5610
  animation: "spin 1s linear infinite"
5601
5611
  });
5602
5612
  }
5603
- const No = [
5613
+ const Yo = [
5604
5614
  // Padding
5605
5615
  ["padding", T],
5606
- ["paddingTop", Qe],
5607
- ["paddingBottom", et],
5608
- ["paddingLeft", tt],
5609
- ["paddingRight", it],
5610
- ["paddingLeading", nt],
5611
- ["paddingTrailing", ot],
5612
- ["paddingHorizontal", rt],
5613
- ["paddingVertical", st],
5616
+ ["paddingTop", ot],
5617
+ ["paddingBottom", rt],
5618
+ ["paddingLeft", st],
5619
+ ["paddingRight", at],
5620
+ ["paddingLeading", lt],
5621
+ ["paddingTrailing", ct],
5622
+ ["paddingHorizontal", ft],
5623
+ ["paddingVertical", dt],
5614
5624
  // Margin
5615
5625
  ["margin", M],
5616
- ["marginTop", at],
5617
- ["marginBottom", lt],
5618
- ["marginLeft", ct],
5619
- ["marginRight", ft],
5620
- ["marginLeading", dt],
5621
- ["marginTrailing", ut],
5622
- ["marginHorizontal", pt],
5623
- ["marginVertical", ht],
5626
+ ["marginTop", ut],
5627
+ ["marginBottom", pt],
5628
+ ["marginLeft", ht],
5629
+ ["marginRight", yt],
5630
+ ["marginLeading", mt],
5631
+ ["marginTrailing", gt],
5632
+ ["marginHorizontal", vt],
5633
+ ["marginVertical", bt],
5624
5634
  // Size helpers
5625
- ["size", yt],
5626
- ["width", mt],
5627
- ["height", gt],
5628
- ["maxWidth", vt],
5629
- ["maxHeight", St],
5630
- ["minWidth", bt],
5631
- ["minHeight", wt],
5635
+ ["size", St],
5636
+ ["width", wt],
5637
+ ["height", Ct],
5638
+ ["maxWidth", xt],
5639
+ ["maxHeight", Tt],
5640
+ ["minWidth", Et],
5641
+ ["minHeight", Mt],
5632
5642
  // Layout + flexbox
5633
- ["aspectRatio", Ht],
5634
- ["fixedSize", Nt],
5635
- ["frame", Wt],
5636
- ["resizable", Gt],
5637
- ["layoutPriority", jt],
5638
- ["offset", Ot],
5639
- ["overlay", Qt],
5640
- ["position", Xt],
5641
- ["absolutePosition", Ut],
5642
- ["scaleEffect", _t],
5643
- ["zIndex", qt],
5643
+ ["aspectRatio", jt],
5644
+ ["fixedSize", Kt],
5645
+ ["frame", Yt],
5646
+ ["resizable", qt],
5647
+ ["layoutPriority", Xt],
5648
+ ["offset", Ft],
5649
+ ["overlay", ri],
5650
+ ["position", ei],
5651
+ ["absolutePosition", Zt],
5652
+ ["scaleEffect", Wt],
5653
+ ["zIndex", ii],
5644
5654
  ["flexbox", P],
5645
- ["flexGrow", Mt],
5646
- ["flexShrink", kt],
5647
- ["flexBasis", At],
5648
- ["justifyContent", Lt],
5649
- ["alignItems", It],
5650
- ["alignSelf", Pt],
5651
- ["gap", $t],
5652
- ["flexDirection", Vt],
5653
- ["flexWrap", Rt],
5655
+ ["flexGrow", Pt],
5656
+ ["flexShrink", $t],
5657
+ ["flexBasis", Vt],
5658
+ ["justifyContent", Dt],
5659
+ ["alignItems", Rt],
5660
+ ["alignSelf", Ot],
5661
+ ["gap", Bt],
5662
+ ["flexDirection", _t],
5663
+ ["flexWrap", Ht],
5654
5664
  // Appearance
5655
- ["backgroundColor", ii],
5656
- ["background", ni],
5657
- ["backgroundImage", oi],
5658
- ["blendMode", ai],
5659
- ["backgroundBlendMode", li],
5660
- ["compositingGroup", fi],
5661
- ["border", ui],
5662
- ["borderTop", pi],
5663
- ["borderBottom", yi],
5664
- ["borderLeft", mi],
5665
- ["borderRight", hi],
5666
- ["clipShape", bi],
5667
- ["clipped", wi],
5668
- ["cornerRadius", xi],
5669
- ["foregroundColor", gi],
5665
+ ["backgroundColor", li],
5666
+ ["background", ci],
5667
+ ["backgroundImage", fi],
5668
+ ["blendMode", pi],
5669
+ ["backgroundBlendMode", hi],
5670
+ ["compositingGroup", mi],
5671
+ ["border", vi],
5672
+ ["borderTop", bi],
5673
+ ["borderBottom", wi],
5674
+ ["borderLeft", Ci],
5675
+ ["borderRight", Si],
5676
+ ["clipShape", Ti],
5677
+ ["clipped", ki],
5678
+ ["cornerRadius", Li],
5679
+ ["foregroundColor", xi],
5670
5680
  ["gradientText", Z],
5671
- ["opacity", Ci],
5672
- ["fontFamily", Ei],
5673
- ["fontSize", Ti],
5674
- ["fontWeight", Mi],
5675
- ["fontStyle", ki],
5676
- ["fontPreset", Ai],
5681
+ ["opacity", Ai],
5682
+ ["fontFamily", Ii],
5683
+ ["fontSize", Pi],
5684
+ ["fontWeight", $i],
5685
+ ["fontStyle", Vi],
5686
+ ["fontPreset", Di],
5677
5687
  // Typography
5678
- ["typography", Pi],
5679
- ["textAlign", $i],
5680
- ["font", zi],
5681
- ["lineClamp", Wi],
5682
- ["wordBreak", Ui],
5683
- ["letterSpacing", Di],
5684
- ["lineHeight", Ri],
5685
- ["textDecoration", Vi],
5686
- ["textOverflow", Oi],
5687
- ["textTransform", Be],
5688
- ["textCase", Hi],
5689
- ["whiteSpace", Bi],
5690
- ["overflow", _i],
5691
- ["hyphens", Xi],
5692
- ["overflowWrap", Ki],
5688
+ ["typography", Bi],
5689
+ ["textAlign", _i],
5690
+ ["font", Gi],
5691
+ ["lineClamp", Xi],
5692
+ ["wordBreak", qi],
5693
+ ["letterSpacing", Fi],
5694
+ ["lineHeight", zi],
5695
+ ["textDecoration", Hi],
5696
+ ["textOverflow", Ni],
5697
+ ["textTransform", ze],
5698
+ ["textCase", Ui],
5699
+ ["whiteSpace", Wi],
5700
+ ["overflow", ji],
5701
+ ["hyphens", tn],
5702
+ ["overflowWrap", Qi],
5693
5703
  // Interaction
5694
- ["allowsHitTesting", me],
5695
- ["focusable", he],
5696
- ["activatable", Dn],
5697
- ["editable", On],
5698
- ["focused", Vn],
5699
- ["keyboardShortcut", _e],
5700
- ["onHover", sn],
5701
- ["onMouseEnter", pn],
5702
- ["onMouseLeave", hn],
5703
- ["onMouseDown", yn],
5704
- ["onMouseUp", mn],
5705
- ["onDoubleClick", gn],
5706
- ["onContextMenu", vn],
5707
- ["onKeyDown", Cn],
5708
- ["onKeyUp", xn],
5709
- ["onKeyPress", En],
5710
- ["onFocus", kn],
5711
- ["onBlur", An],
5712
- ["onContinuousHover", ye],
5713
- ["onLongPressGesture", In],
5714
- ["scroll", Zi],
5715
- ["scrollBehavior", qi],
5716
- ["overscrollBehavior", Ji],
5717
- ["overscrollBehaviorX", Qi],
5718
- ["overscrollBehaviorY", en],
5719
- ["scrollMargin", tn],
5720
- ["scrollPadding", nn],
5721
- ["scrollSnap", on],
5722
- ["highPriorityGesture", Hn],
5723
- ["simultaneousGesture", zn],
5724
- ["onTap", Fn],
5725
- ["onScroll", Nn],
5726
- ["onWheel", Wn],
5727
- ["onInput", jn],
5728
- ["onChange", Un],
5729
- ["onCopy", Gn],
5730
- ["onCut", Kn],
5731
- ["onPaste", Yn],
5732
- ["onSelect", Xn],
5733
- ["onTouchStart", Zn],
5734
- ["onTouchMove", qn],
5735
- ["onTouchEnd", Jn],
5736
- ["onSwipeLeft", Qn],
5737
- ["onSwipeRight", eo],
5738
- ["disabled", to],
5704
+ ["allowsHitTesting", ge],
5705
+ ["focusable", ye],
5706
+ ["activatable", Fn],
5707
+ ["editable", Nn],
5708
+ ["focused", Hn],
5709
+ ["keyboardShortcut", Fe],
5710
+ ["onHover", un],
5711
+ ["onMouseEnter", bn],
5712
+ ["onMouseLeave", Sn],
5713
+ ["onMouseDown", wn],
5714
+ ["onMouseUp", Cn],
5715
+ ["onDoubleClick", xn],
5716
+ ["onContextMenu", En],
5717
+ ["onKeyDown", An],
5718
+ ["onKeyUp", Ln],
5719
+ ["onKeyPress", In],
5720
+ ["onFocus", Vn],
5721
+ ["onBlur", Dn],
5722
+ ["onContinuousHover", me],
5723
+ ["onLongPressGesture", On],
5724
+ ["scroll", nn],
5725
+ ["scrollBehavior", on],
5726
+ ["overscrollBehavior", rn],
5727
+ ["overscrollBehaviorX", sn],
5728
+ ["overscrollBehaviorY", an],
5729
+ ["scrollMargin", ln],
5730
+ ["scrollPadding", cn],
5731
+ ["scrollSnap", fn],
5732
+ ["highPriorityGesture", Un],
5733
+ ["simultaneousGesture", Gn],
5734
+ ["onTap", Kn],
5735
+ ["onScroll", Yn],
5736
+ ["onWheel", Xn],
5737
+ ["onInput", Zn],
5738
+ ["onChange", qn],
5739
+ ["onCopy", Jn],
5740
+ ["onCut", Qn],
5741
+ ["onPaste", eo],
5742
+ ["onSelect", to],
5743
+ ["onTouchStart", io],
5744
+ ["onTouchMove", no],
5745
+ ["onTouchEnd", oo],
5746
+ ["onSwipeLeft", ro],
5747
+ ["onSwipeRight", so],
5748
+ ["disabled", ao],
5739
5749
  // Utility
5740
- ["css", co],
5741
- ["cssProperty", fo],
5742
- ["cssVariable", uo],
5743
- ["utility", io],
5744
- ["cursor", no],
5745
- ["display", so],
5746
- ["overflowX", ro],
5747
- ["overflowY", oo],
5748
- ["outline", ao],
5749
- ["outlineOffset", lo],
5750
- ["asHTML", ho],
5751
- ["navigationTitle", yo],
5752
- ["navigationBarHidden", mo],
5753
- ["navigationBarItems", go],
5754
- ["animation", Et],
5755
- ["transform", xt],
5756
- ["transition", Ct],
5750
+ ["css", mo],
5751
+ ["cssProperty", go],
5752
+ ["cssVariable", vo],
5753
+ ["utility", lo],
5754
+ ["cursor", co],
5755
+ ["display", po],
5756
+ ["overflowX", uo],
5757
+ ["overflowY", fo],
5758
+ ["outline", ho],
5759
+ ["outlineOffset", yo],
5760
+ ["asHTML", So],
5761
+ ["navigationTitle", wo],
5762
+ ["navigationBarHidden", Co],
5763
+ ["navigationBarItems", xo],
5764
+ ["animation", Lt],
5765
+ ["transform", At],
5766
+ ["transition", kt],
5757
5767
  // Attributes
5758
5768
  ["aria", q],
5759
- ["ariaLabel", Eo],
5760
- ["ariaLive", To],
5761
- ["ariaDescribedBy", Mo],
5762
- ["ariaModal", ko],
5763
- ["role", xo],
5764
- ["customProperties", Ao],
5765
- ["customProperty", Lo],
5766
- ["cssVariables", Io],
5769
+ ["ariaLabel", Io],
5770
+ ["ariaLive", Po],
5771
+ ["ariaDescribedBy", $o],
5772
+ ["ariaModal", Vo],
5773
+ ["role", Lo],
5774
+ ["customProperties", Do],
5775
+ ["customProperty", Ro],
5776
+ ["cssVariables", Oo],
5767
5777
  ["id", ce],
5768
5778
  ["elementId", ce],
5769
5779
  ["viewId", ce],
5770
- ["data", So],
5771
- ["tabIndex", Co],
5780
+ ["data", Mo],
5781
+ ["tabIndex", Ao],
5772
5782
  // Elements / pseudo elements
5773
5783
  ["before", J],
5774
- ["after", ie],
5775
- ["pseudoElements", Po],
5776
- ["iconBefore", $o],
5777
- ["iconAfter", Vo],
5778
- ["lineBefore", Ro],
5779
- ["lineAfter", Do],
5780
- ["quotes", Oo],
5781
- ["underline", Bo],
5782
- ["badge", _o],
5783
- ["tooltip", Ho],
5784
- ["cornerRibbon", zo],
5785
- ["spinner", Fo],
5784
+ ["after", te],
5785
+ ["pseudoElements", Bo],
5786
+ ["iconBefore", _o],
5787
+ ["iconAfter", Ho],
5788
+ ["lineBefore", zo],
5789
+ ["lineAfter", Fo],
5790
+ ["quotes", No],
5791
+ ["underline", Wo],
5792
+ ["badge", jo],
5793
+ ["tooltip", Uo],
5794
+ ["cornerRibbon", Go],
5795
+ ["spinner", Ko],
5786
5796
  // Lifecycle
5787
- ["task", Tt]
5797
+ ["task", It]
5788
5798
  ];
5789
- function Wo(o) {
5790
- const s = o?.registry ?? Ne;
5799
+ function Xo(o) {
5800
+ const s = o?.registry ?? Ue;
5791
5801
  s.registerPlugin?.({
5792
5802
  name: "@tachui/modifiers",
5793
- version: Je,
5803
+ version: nt,
5794
5804
  author: "tachUI Team",
5795
5805
  verified: !0
5796
- }), No.forEach(([e, t]) => {
5806
+ }), Yo.forEach(([e, t]) => {
5797
5807
  s.has(e) || s.register(e, t);
5798
5808
  });
5799
5809
  }
5800
- Wo();
5810
+ Xo();
5801
5811
  export {
5802
- Yt as $,
5803
- _n as A,
5804
- si as B,
5812
+ Qt as $,
5813
+ jn as A,
5814
+ ui as B,
5805
5815
  se as C,
5806
- bo as D,
5807
- un as E,
5808
- Ft as F,
5809
- Bn as G,
5810
- Yi as H,
5811
- vo as I,
5812
- dn as J,
5813
- Pn as K,
5814
- Jo as L,
5815
- R as M,
5816
- Tn as N,
5817
- Dt as O,
5818
- rn as P,
5819
- bn as Q,
5820
- wn as R,
5821
- Sn as S,
5822
- Ln as T,
5823
- cn as U,
5824
- an as V,
5825
- ln as W,
5826
- fn as X,
5827
- Gi as Y,
5828
- ke as Z,
5816
+ To as D,
5817
+ vn as E,
5818
+ Gt as F,
5819
+ Wn as G,
5820
+ en as H,
5821
+ Eo as I,
5822
+ gn as J,
5823
+ Bn as K,
5824
+ rr as L,
5825
+ D as M,
5826
+ Pn as N,
5827
+ zt as O,
5828
+ dn as P,
5829
+ Tn as Q,
5830
+ kn as R,
5831
+ Mn as S,
5832
+ Rn as T,
5833
+ yn as U,
5834
+ pn as V,
5835
+ hn as W,
5836
+ mn as X,
5837
+ Ji as Y,
5838
+ Le as Z,
5829
5839
  O as _,
5830
- Xe as a,
5831
- zr as a$,
5840
+ et as a,
5841
+ Kr as a$,
5832
5842
  X as a0,
5833
- Bt as a1,
5843
+ Nt as a1,
5834
5844
  F as a2,
5835
5845
  G as a3,
5836
- ar as a4,
5837
- Je as a5,
5838
- wo as a6,
5846
+ hr as a4,
5847
+ nt as a5,
5848
+ ko as a6,
5839
5849
  ae as a7,
5840
5850
  I as a8,
5841
5851
  K as a9,
5842
- br as aA,
5843
- ui as aB,
5844
- yi as aC,
5845
- Mr as aD,
5846
- Er as aE,
5847
- mi as aF,
5848
- hi as aG,
5849
- pi as aH,
5850
- Tr as aI,
5851
- kr as aJ,
5852
- bi as aK,
5853
- wi as aL,
5854
- ur as aM,
5855
- fi as aN,
5856
- Ar as aO,
5857
- zo as aP,
5858
- co as aQ,
5859
- fo as aR,
5860
- uo as aS,
5861
- Io as aT,
5862
- Yr as aU,
5863
- no as aV,
5864
- Dr as aW,
5865
- Ao as aX,
5866
- Lo as aY,
5867
- So as aZ,
5868
- qr as a_,
5869
- ji as aa,
5870
- Ve as ab,
5871
- Ut as ac,
5872
- Dn as ad,
5873
- ie as ae,
5874
- It as af,
5875
- Pt as ag,
5876
- me as ah,
5877
- Et as ai,
5852
+ Mr as aA,
5853
+ vi as aB,
5854
+ wi as aC,
5855
+ Vr as aD,
5856
+ Pr as aE,
5857
+ Ci as aF,
5858
+ Si as aG,
5859
+ bi as aH,
5860
+ $r as aI,
5861
+ Dr as aJ,
5862
+ Ti as aK,
5863
+ ki as aL,
5864
+ br as aM,
5865
+ mi as aN,
5866
+ Rr as aO,
5867
+ Go as aP,
5868
+ mo as aQ,
5869
+ go as aR,
5870
+ vo as aS,
5871
+ Oo as aT,
5872
+ ts as aU,
5873
+ co as aV,
5874
+ Nr as aW,
5875
+ Do as aX,
5876
+ Ro as aY,
5877
+ Mo as aZ,
5878
+ os as a_,
5879
+ Zi as aa,
5880
+ Oe as ab,
5881
+ Zt as ac,
5882
+ Fn as ad,
5883
+ te as ae,
5884
+ Rt as af,
5885
+ Ot as ag,
5886
+ ge as ah,
5887
+ Lt as ai,
5878
5888
  q as aj,
5879
- Mo as ak,
5880
- Eo as al,
5881
- To as am,
5882
- ko as an,
5883
- ho as ao,
5884
- Ht as ap,
5885
- ni as aq,
5886
- li as ar,
5887
- vr as as,
5888
- ii as at,
5889
- oi as au,
5890
- _o as av,
5891
- No as aw,
5892
- Xr as ax,
5889
+ $o as ak,
5890
+ Io as al,
5891
+ Po as am,
5892
+ Vo as an,
5893
+ So as ao,
5894
+ jt as ap,
5895
+ ci as aq,
5896
+ hi as ar,
5897
+ Tr as as,
5898
+ li as at,
5899
+ fi as au,
5900
+ jo as av,
5901
+ Yo as aw,
5902
+ is as ax,
5893
5903
  J as ay,
5894
- ai as az,
5895
- er as b,
5896
- Kr as b$,
5897
- to as b0,
5898
- so as b1,
5899
- On as b2,
5900
- Hr as b3,
5901
- Nt as b4,
5902
- fr as b5,
5903
- At as b6,
5904
- Vt as b7,
5905
- Mt as b8,
5906
- kt as b9,
5907
- Do as bA,
5908
- Ro as bB,
5909
- Wi as bC,
5910
- Ri as bD,
5904
+ pi as az,
5905
+ ar as b,
5906
+ es as b$,
5907
+ ao as b0,
5908
+ po as b1,
5909
+ Nn as b2,
5910
+ Gr as b3,
5911
+ Kt as b4,
5912
+ gr as b5,
5913
+ Vt as b6,
5914
+ _t as b7,
5915
+ Pt as b8,
5916
+ $t as b9,
5917
+ Fo as bA,
5918
+ zo as bB,
5919
+ Xi as bC,
5920
+ zi as bD,
5911
5921
  M as bE,
5912
- lt as bF,
5913
- pt as bG,
5914
- dt as bH,
5915
- ct as bI,
5916
- cr as bJ,
5917
- ft as bK,
5918
- at as bL,
5919
- ut as bM,
5920
- ht as bN,
5921
- St as bO,
5922
- vt as bP,
5923
- wt as bQ,
5924
- bt as bR,
5925
- mo as bS,
5926
- go as bT,
5927
- yo as bU,
5928
- Cr as bV,
5929
- Ot as bW,
5930
- An as bX,
5931
- Nr as bY,
5932
- Un as bZ,
5933
- vn as b_,
5934
- Rt as ba,
5922
+ pt as bF,
5923
+ vt as bG,
5924
+ mt as bH,
5925
+ ht as bI,
5926
+ mr as bJ,
5927
+ yt as bK,
5928
+ ut as bL,
5929
+ gt as bM,
5930
+ bt as bN,
5931
+ Tt as bO,
5932
+ xt as bP,
5933
+ Mt as bQ,
5934
+ Et as bR,
5935
+ Co as bS,
5936
+ xo as bT,
5937
+ wo as bU,
5938
+ Lr as bV,
5939
+ Ft as bW,
5940
+ Dn as bX,
5941
+ Xr as bY,
5942
+ qn as bZ,
5943
+ En as b_,
5944
+ Ht as ba,
5935
5945
  P as bb,
5936
- pr as bc,
5937
- he as bd,
5938
- Vn as be,
5939
- zi as bf,
5940
- Vr as bg,
5941
- Ir as bh,
5942
- Pr as bi,
5943
- Lr as bj,
5944
- gi as bk,
5945
- Wt as bl,
5946
- $t as bm,
5947
- xr as bn,
5946
+ Sr as bc,
5947
+ ye as bd,
5948
+ Hn as be,
5949
+ Gi as bf,
5950
+ zr as bg,
5951
+ Br as bh,
5952
+ _r as bi,
5953
+ Or as bj,
5954
+ xi as bk,
5955
+ Yt as bl,
5956
+ Bt as bm,
5957
+ Ir as bn,
5948
5958
  Z as bo,
5949
- gt as bp,
5950
- Hn as bq,
5951
- Xi as br,
5952
- Vo as bs,
5953
- $o as bt,
5959
+ Ct as bp,
5960
+ Un as bq,
5961
+ tn as br,
5962
+ Ho as bs,
5963
+ _o as bt,
5954
5964
  ce as bu,
5955
- Lt as bv,
5956
- _e as bw,
5957
- Or as bx,
5958
- jt as by,
5959
- Di as bz,
5965
+ Dt as bv,
5966
+ Fe as bw,
5967
+ Wr as bx,
5968
+ Xt as by,
5969
+ Fi as bz,
5960
5970
  de as c,
5961
- tn as c$,
5962
- ye as c0,
5963
- _r as c1,
5964
- Br as c2,
5965
- Gn as c3,
5966
- Kn as c4,
5967
- gn as c5,
5968
- Gr as c6,
5969
- kn as c7,
5970
- Fr as c8,
5971
- sn as c9,
5972
- ro as cA,
5973
- oo as cB,
5974
- Qt as cC,
5975
- Ji as cD,
5976
- Qi as cE,
5977
- en as cF,
5971
+ ln as c$,
5972
+ me as c0,
5973
+ Ur as c1,
5974
+ jr as c2,
5975
+ Jn as c3,
5976
+ Qn as c4,
5977
+ xn as c5,
5978
+ Qr as c6,
5979
+ Vn as c7,
5980
+ Yr as c8,
5981
+ un as c9,
5982
+ uo as cA,
5983
+ fo as cB,
5984
+ ri as cC,
5985
+ rn as cD,
5986
+ sn as cE,
5987
+ an as cF,
5978
5988
  T as cG,
5979
- et as cH,
5980
- rt as cI,
5981
- nt as cJ,
5982
- tt as cK,
5983
- lr as cL,
5984
- it as cM,
5985
- Qe as cN,
5986
- ot as cO,
5987
- st as cP,
5988
- Xt as cQ,
5989
- Po as cR,
5990
- Oo as cS,
5991
- Sr as cT,
5992
- Wo as cU,
5993
- Gt as cV,
5994
- xo as cW,
5995
- dr as cX,
5996
- _t as cY,
5997
- Zi as cZ,
5998
- qi as c_,
5999
- jn as ca,
6000
- Cn as cb,
6001
- Wr as cc,
6002
- En as cd,
6003
- jr as ce,
6004
- xn as cf,
6005
- Ur as cg,
6006
- In as ch,
6007
- yn as ci,
6008
- pn as cj,
6009
- hn as ck,
6010
- mn as cl,
6011
- Yn as cm,
6012
- Nn as cn,
6013
- Xn as co,
6014
- Qn as cp,
6015
- eo as cq,
6016
- Fn as cr,
6017
- Jn as cs,
6018
- qn as ct,
6019
- Zn as cu,
6020
- Wn as cv,
6021
- ao as cw,
6022
- lo as cx,
6023
- _i as cy,
6024
- Ki as cz,
6025
- po as d,
6026
- nn as d0,
6027
- on as d1,
6028
- zn as d2,
6029
- yt as d3,
6030
- Fo as d4,
6031
- wr as d5,
6032
- Rr as d6,
6033
- Co as d7,
6034
- Tt as d8,
6035
- $i as d9,
6036
- Hi as da,
6037
- Vi as db,
6038
- Oi as dc,
6039
- Be as dd,
6040
- Zr as de,
6041
- Ho as df,
6042
- xt as dg,
6043
- Ct as dh,
6044
- Pi as di,
6045
- Bo as dj,
6046
- io as dk,
6047
- Bi as dl,
6048
- mt as dm,
6049
- Ui as dn,
6050
- $r as dp,
6051
- qt as dq,
6052
- mr as dr,
6053
- yr as ds,
5989
+ rt as cH,
5990
+ ft as cI,
5991
+ lt as cJ,
5992
+ st as cK,
5993
+ yr as cL,
5994
+ at as cM,
5995
+ ot as cN,
5996
+ ct as cO,
5997
+ dt as cP,
5998
+ ei as cQ,
5999
+ Bo as cR,
6000
+ No as cS,
6001
+ kr as cT,
6002
+ Xo as cU,
6003
+ qt as cV,
6004
+ Lo as cW,
6005
+ vr as cX,
6006
+ Wt as cY,
6007
+ nn as cZ,
6008
+ on as c_,
6009
+ Zn as ca,
6010
+ An as cb,
6011
+ Zr as cc,
6012
+ In as cd,
6013
+ qr as ce,
6014
+ Ln as cf,
6015
+ Jr as cg,
6016
+ On as ch,
6017
+ wn as ci,
6018
+ bn as cj,
6019
+ Sn as ck,
6020
+ Cn as cl,
6021
+ eo as cm,
6022
+ Yn as cn,
6023
+ to as co,
6024
+ ro as cp,
6025
+ so as cq,
6026
+ Kn as cr,
6027
+ oo as cs,
6028
+ no as ct,
6029
+ io as cu,
6030
+ Xn as cv,
6031
+ ho as cw,
6032
+ yo as cx,
6033
+ ji as cy,
6034
+ Qi as cz,
6035
+ bo as d,
6036
+ cn as d0,
6037
+ fn as d1,
6038
+ Gn as d2,
6039
+ St as d3,
6040
+ Ko as d4,
6041
+ Ar as d5,
6042
+ Fr as d6,
6043
+ Ao as d7,
6044
+ It as d8,
6045
+ _i as d9,
6046
+ Ui as da,
6047
+ Hi as db,
6048
+ Ni as dc,
6049
+ ze as dd,
6050
+ ns as de,
6051
+ Uo as df,
6052
+ At as dg,
6053
+ kt as dh,
6054
+ Bi as di,
6055
+ Wo as dj,
6056
+ lo as dk,
6057
+ Wi as dl,
6058
+ wt as dm,
6059
+ qi as dn,
6060
+ Hr as dp,
6061
+ ii as dq,
6062
+ xr as dr,
6063
+ Cr as ds,
6054
6064
  w as dt,
6055
6065
  C as du,
6056
- hr as dv,
6057
- gr as dw,
6058
- He as e,
6059
- $e as f,
6060
- De as g,
6061
- ti as h,
6062
- Re as i,
6063
- ee as j,
6064
- ri as k,
6066
+ wr as dv,
6067
+ Er as dw,
6068
+ Ne as e,
6069
+ Re as f,
6070
+ _e as g,
6071
+ ai as h,
6072
+ Be as i,
6073
+ Q as j,
6074
+ di as k,
6065
6075
  _ as l,
6066
- vi as m,
6067
- Si as n,
6068
- ci as o,
6069
- di as p,
6070
- te as q,
6071
- D as r,
6072
- Rn as s,
6073
- $n as t,
6074
- Oe as u,
6075
- ir as v,
6076
- rr as w,
6077
- Ni as x,
6076
+ Ei as m,
6077
+ Mi as n,
6078
+ yi as o,
6079
+ gi as p,
6080
+ ee as q,
6081
+ R as r,
6082
+ zn as s,
6083
+ _n as t,
6084
+ He as u,
6085
+ cr as v,
6086
+ ur as w,
6087
+ Yi as x,
6078
6088
  B as y,
6079
- Mn as z
6089
+ $n as z
6080
6090
  };