@tachui/modifiers 0.8.25 → 0.8.27

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,38 @@
1
- var He = Object.defineProperty;
2
- var Ne = (o, s, e) => s in o ? He(o, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[s] = e;
3
- var d = (o, s, e) => Ne(o, typeof s != "symbol" ? s + "" : s, e);
4
- import { globalModifierRegistry as ze } from "@tachui/registry";
5
- import { isSignal as p, isComputed as m, createEffect as b, getThemeSignal as j } from "@tachui/core/reactive";
6
- import { bindReactiveStyle as ke } from "@tachui/core/modifiers/base";
7
- import { shouldExpandForInfinity as ue, dimensionToCSS as L, isInfinity as A } from "@tachui/core/constants/layout";
8
- import { AnimationModifier as oe, LifecycleModifier as Fe, LayoutModifier as pe, ResizableModifier as We, AppearanceModifier as B } from "@tachui/core/modifiers";
9
- import { gradientToCSS as je } from "@tachui/core/gradients/css-generator";
1
+ var ze = Object.defineProperty;
2
+ var Fe = (r, s, e) => s in r ? ze(r, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[s] = e;
3
+ var d = (r, s, e) => Fe(r, typeof s != "symbol" ? s + "" : s, e);
4
+ import { globalModifierRegistry as Ne } from "@tachui/registry";
5
+ import { isSignal as p, isComputed as h, createEffect as b, getThemeSignal as j } from "@tachui/core/reactive";
6
+ import { bindReactiveStyle as Ae, collectStaticAnimationCSSRules as Ie } from "@tachui/core/modifiers/base";
7
+ import { shouldExpandForInfinity as ue, dimensionToCSS as L, isInfinity as k } from "@tachui/core/constants/layout";
8
+ import { AnimationModifier as re, LifecycleModifier as We, LayoutModifier as pe, ResizableModifier as je, AppearanceModifier as _ } from "@tachui/core/modifiers";
9
+ import { gradientToCSS as Ue } from "@tachui/core/gradients/css-generator";
10
10
  const V = {
11
11
  LAYOUT: 100,
12
12
  APPEARANCE: 200,
13
13
  INTERACTION: 300,
14
14
  ANIMATION: 400,
15
15
  CUSTOM: 500
16
- }, xe = Symbol.for("tachui.modifier.instanceId"), Ue = "package";
17
- let Me = 0;
18
- function P(o) {
19
- return typeof HTMLElement < "u" && o instanceof HTMLElement;
16
+ }, xe = Symbol.for("tachui.modifier.instanceId"), Ge = "package";
17
+ let Te = 0;
18
+ function P(r) {
19
+ return typeof HTMLElement < "u" && r instanceof HTMLElement;
20
20
  }
21
- function z(o) {
22
- return typeof o == "object" && o !== null && "style" in o && !!o.style;
21
+ function F(r) {
22
+ return typeof r == "object" && r !== null && "style" in r && !!r.style;
23
23
  }
24
24
  function Q() {
25
25
  return typeof document < "u";
26
26
  }
27
- function Ge() {
27
+ function Ke() {
28
28
  return typeof window < "u";
29
29
  }
30
- function Ke(o) {
31
- const s = o[xe];
30
+ function Ye(r) {
31
+ const s = r[xe];
32
32
  if (typeof s == "number") return s;
33
- Me += 1;
34
- const e = Me;
35
- return Object.defineProperty(o, xe, {
33
+ Te += 1;
34
+ const e = Te;
35
+ return Object.defineProperty(r, xe, {
36
36
  value: e,
37
37
  enumerable: !1,
38
38
  configurable: !1,
@@ -43,13 +43,16 @@ let g = class {
43
43
  constructor(s) {
44
44
  this.properties = s;
45
45
  }
46
+ getStaticCSS(s) {
47
+ return [];
48
+ }
46
49
  /**
47
50
  * Helper to resolve reactive properties
48
51
  */
49
52
  resolveReactiveProps(s, e) {
50
53
  const t = {};
51
54
  for (const [i, n] of Object.entries(s))
52
- p(n) || m(n), t[i] = n;
55
+ p(n) || h(n), t[i] = n;
53
56
  return t;
54
57
  }
55
58
  /**
@@ -59,15 +62,15 @@ let g = class {
59
62
  const i = typeof HTMLElement < "u" && s instanceof HTMLElement;
60
63
  if (!i && !s.style)
61
64
  return;
62
- const n = this.toCSSProperty(e), r = s.style, a = (l) => {
65
+ const n = this.toCSSProperty(e), o = s.style, a = (l) => {
63
66
  if (l.includes("!important")) {
64
67
  const c = l.replace(/\s*!important\s*$/, "").trim();
65
- r.setProperty(n, c, "important");
68
+ o.setProperty(n, c, "important");
66
69
  return;
67
70
  }
68
- r.setProperty(n, l);
71
+ o.setProperty(n, l);
69
72
  };
70
- if (p(t) || m(t)) {
73
+ if (p(t) || h(t)) {
71
74
  b(() => {
72
75
  const l = t();
73
76
  a(String(l));
@@ -124,28 +127,28 @@ let g = class {
124
127
  applyStyles(s, e) {
125
128
  const t = typeof HTMLElement < "u" && s instanceof HTMLElement;
126
129
  if (t || s.style) {
127
- const i = s.style, n = (r, a) => {
130
+ const i = s.style, n = (o, a) => {
128
131
  if (i.setProperty)
129
132
  if (typeof a == "string" && a.includes("!important")) {
130
133
  const l = a.replace(/\s*!important\s*$/, "").trim();
131
- i.setProperty(r, l, "important");
134
+ i.setProperty(o, l, "important");
132
135
  } else
133
- i.setProperty(r, a);
136
+ i.setProperty(o, a);
134
137
  else
135
- i[r] = a;
138
+ i[o] = a;
136
139
  };
137
- for (const [r, a] of Object.entries(e))
140
+ for (const [o, a] of Object.entries(e))
138
141
  if (a !== void 0) {
139
- const l = this.toCSSProperty(r);
140
- if (p(a) || m(a)) {
141
- const c = a, u = Ke(this);
142
- ke({
142
+ const l = this.toCSSProperty(o);
143
+ if (p(a) || h(a)) {
144
+ const c = a, u = Ye(this);
145
+ Ae({
143
146
  element: s,
144
147
  accessor: c,
145
- updaterId: `${Ue}:${u}:${l}`,
148
+ updaterId: `${Ge}:${u}:${l}`,
146
149
  updater: (f) => {
147
- const h = this.toCSSValueForProperty(l, f);
148
- n(l, h);
150
+ const m = this.toCSSValueForProperty(l, f);
151
+ n(l, m);
149
152
  }
150
153
  });
151
154
  } else {
@@ -179,7 +182,7 @@ let g = class {
179
182
  cleanup: []
180
183
  };
181
184
  }
182
- }, Jo = class extends g {
185
+ }, Jr = class extends g {
183
186
  constructor() {
184
187
  super(...arguments);
185
188
  d(this, "type", "layout");
@@ -196,36 +199,36 @@ let g = class {
196
199
  i
197
200
  );
198
201
  this.applyStyles(t.element, n);
199
- const r = this.properties;
200
- r.offset && P(t.element) && this.applyOffsetTransform(t.element, r.offset), r.aspectRatio && P(t.element) && this.applyAspectRatio(t.element, r.aspectRatio), r.scaleEffect && P(t.element) && this.applyScaleTransform(t.element, r.scaleEffect), r.position && P(t.element) && this.applyAbsolutePosition(t.element, r.position), r.zIndex !== void 0 && P(t.element) && this.applyZIndex(t.element, r.zIndex);
202
+ const o = this.properties;
203
+ o.offset && P(t.element) && this.applyOffsetTransform(t.element, o.offset), o.aspectRatio && P(t.element) && this.applyAspectRatio(t.element, o.aspectRatio), o.scaleEffect && P(t.element) && this.applyScaleTransform(t.element, o.scaleEffect), o.position && P(t.element) && this.applyAbsolutePosition(t.element, o.position), o.zIndex !== void 0 && P(t.element) && this.applyZIndex(t.element, o.zIndex);
201
204
  }
202
205
  applyOffsetTransform(e, t) {
203
206
  const { x: i, y: n } = t;
204
- if (p(i) || m(i) || p(n) || m(n))
207
+ if (p(i) || h(i) || p(n) || h(n))
205
208
  b(() => {
206
- const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, h = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = h ? `${h} ${u}` : u;
209
+ const o = p(i) || h(i) ? i() : i ?? 0, a = p(n) || h(n) ? n() : n ?? 0, l = this.toCSSValue(o), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, m = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = m ? `${m} ${u}` : u;
207
210
  e.style.transform = y;
208
211
  });
209
212
  else {
210
- const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, h = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = h ? `${h} ${u}` : u;
213
+ const o = i ?? 0, a = n ?? 0, l = this.toCSSValue(o), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, m = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = m ? `${m} ${u}` : u;
211
214
  e.style.transform = y;
212
215
  }
213
216
  }
214
217
  applyAspectRatio(e, t) {
215
218
  const { ratio: i, contentMode: n } = t;
216
- i !== void 0 && (p(i) || m(i) ? b(() => {
217
- const r = typeof i == "function" ? i() : i;
218
- e.style.aspectRatio = String(r);
219
+ i !== void 0 && (p(i) || h(i) ? b(() => {
220
+ const o = typeof i == "function" ? i() : i;
221
+ e.style.aspectRatio = String(o);
219
222
  }) : e.style.aspectRatio = String(i), n === "fill" ? e.style.objectFit = "cover" : e.style.objectFit = "contain");
220
223
  }
221
224
  // Phase 3 - Epic: Butternut Transform Methods
222
225
  applyScaleTransform(e, t) {
223
- const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
224
- if (p(a) || m(a) || p(l) || m(l))
226
+ const { x: i, y: n, anchor: o } = t, a = i ?? 1, l = n ?? a;
227
+ if (p(a) || h(a) || p(l) || h(l))
225
228
  b(() => {
226
- const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l, f = `scale(${c}, ${u})`;
229
+ const c = p(a) || h(a) ? a() : a, u = p(l) || h(l) ? l() : l, f = `scale(${c}, ${u})`;
227
230
  e.style.transformOrigin = this.getTransformOrigin(
228
- r || "center"
231
+ o || "center"
229
232
  );
230
233
  const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${f}` : f;
231
234
  e.style.transform = v;
@@ -233,26 +236,26 @@ let g = class {
233
236
  else {
234
237
  const c = `scale(${a}, ${l})`;
235
238
  e.style.transformOrigin = this.getTransformOrigin(
236
- r || "center"
239
+ o || "center"
237
240
  );
238
- const f = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), h = f ? `${f} ${c}` : c;
239
- e.style.transform = h;
241
+ const f = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), m = f ? `${f} ${c}` : c;
242
+ e.style.transform = m;
240
243
  }
241
244
  }
242
245
  applyAbsolutePosition(e, t) {
243
246
  const { x: i, y: n } = t;
244
- if (e.style.position = "absolute", p(i) || m(i) || p(n) || m(n))
247
+ if (e.style.position = "absolute", p(i) || h(i) || p(n) || h(n))
245
248
  b(() => {
246
- const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0;
247
- e.style.left = this.toCSSValue(r), e.style.top = this.toCSSValue(a);
249
+ const o = p(i) || h(i) ? i() : i ?? 0, a = p(n) || h(n) ? n() : n ?? 0;
250
+ e.style.left = this.toCSSValue(o), e.style.top = this.toCSSValue(a);
248
251
  });
249
252
  else {
250
- const r = i ?? 0, a = n ?? 0;
251
- e.style.left = this.toCSSValue(r), e.style.top = this.toCSSValue(a);
253
+ const o = i ?? 0, a = n ?? 0;
254
+ e.style.left = this.toCSSValue(o), e.style.top = this.toCSSValue(a);
252
255
  }
253
256
  }
254
257
  applyZIndex(e, t) {
255
- p(t) || m(t) ? b(() => {
258
+ p(t) || h(t) ? b(() => {
256
259
  const i = t();
257
260
  e.style.zIndex = String(i);
258
261
  }) : e.style.zIndex = String(t);
@@ -273,31 +276,31 @@ let g = class {
273
276
  computeLayoutStyles(e, t) {
274
277
  const i = {};
275
278
  if (e.frame) {
276
- const n = e.frame, r = ue(n);
277
- if (Object.assign(i, r.cssProps), n.width !== void 0) {
279
+ const n = e.frame, o = ue(n);
280
+ if (Object.assign(i, o.cssProps), n.width !== void 0) {
278
281
  const a = L(n.width);
279
- a !== void 0 && !A(n.width) && !r.expandWidth && (i.width = a);
282
+ a !== void 0 && !k(n.width) && !o.expandWidth && (i.width = a);
280
283
  }
281
284
  if (n.height !== void 0) {
282
285
  const a = L(n.height);
283
- a !== void 0 && !A(n.height) && !r.expandHeight && (i.height = a);
286
+ a !== void 0 && !k(n.height) && !o.expandHeight && (i.height = a);
284
287
  }
285
288
  if (n.minWidth !== void 0) {
286
289
  const a = L(n.minWidth);
287
290
  a !== void 0 && (i.minWidth = a);
288
291
  }
289
- if (n.maxWidth !== void 0 && !A(n.maxWidth)) {
292
+ if (n.maxWidth !== void 0 && !k(n.maxWidth)) {
290
293
  const a = L(n.maxWidth);
291
294
  a !== void 0 && (i.maxWidth = a);
292
- } else A(n.maxWidth) && (i.maxWidth = "none", i.flexGrow = "1 !important", i.flexShrink = "1 !important", i.flexBasis = "0% !important", i.alignSelf = "stretch !important");
295
+ } else k(n.maxWidth) && (i.maxWidth = "none", i.flexGrow = "1 !important", i.flexShrink = "1 !important", i.flexBasis = "0% !important", i.alignSelf = "stretch !important");
293
296
  if (n.minHeight !== void 0) {
294
297
  const a = L(n.minHeight);
295
298
  a !== void 0 && (i.minHeight = a);
296
299
  }
297
- if (n.maxHeight !== void 0 && !A(n.maxHeight)) {
300
+ if (n.maxHeight !== void 0 && !k(n.maxHeight)) {
298
301
  const a = L(n.maxHeight);
299
302
  a !== void 0 && (i.maxHeight = a);
300
- } else A(n.maxHeight) && (i.maxHeight = "none", i.flexGrow = "1 !important", i.flexShrink = "1 !important", i.flexBasis = "0% !important", i.alignSelf = "stretch !important");
303
+ } else k(n.maxHeight) && (i.maxHeight = "none", i.flexGrow = "1 !important", i.flexShrink = "1 !important", i.flexBasis = "0% !important", i.alignSelf = "stretch !important");
301
304
  }
302
305
  if (e.padding !== void 0)
303
306
  if (typeof e.padding == "number")
@@ -336,16 +339,16 @@ let g = class {
336
339
  n > 0 ? (i.flexShrink = "0", i.flexGrow = String(Math.max(1, n / 10)), i.zIndex = String(n), i.gridRowEnd = `span ${String(Math.min(10, Math.max(1, Math.ceil(n / 10))))}`, i.gridColumnEnd = `span ${String(Math.min(10, Math.max(1, Math.ceil(n / 10))))}`) : n === 0 ? (i.flexShrink = "1", i.flexGrow = "1") : (i.flexShrink = String(Math.abs(n)), i.flexGrow = "0", i.zIndex = String(n)), i && typeof i == "object" && "setProperty" in i && i.setProperty("--layout-priority", String(n));
337
340
  }
338
341
  if (e.offset, e.aspectRatio) {
339
- const { ratio: n, contentMode: r } = e.aspectRatio;
340
- n !== void 0 && (i.aspectRatio = typeof n == "number" ? String(n) : n, r === "fill" ? i.objectFit = "cover" : i.objectFit = "contain");
342
+ const { ratio: n, contentMode: o } = e.aspectRatio;
343
+ n !== void 0 && (i.aspectRatio = typeof n == "number" ? String(n) : n, o === "fill" ? i.objectFit = "cover" : i.objectFit = "contain");
341
344
  }
342
345
  if (e.fixedSize) {
343
- const { horizontal: n, vertical: r } = e.fixedSize;
344
- n && (i.flexShrink = "0", i.width = "max-content"), r && (i.flexShrink = "0", i.height = "max-content");
346
+ const { horizontal: n, vertical: o } = e.fixedSize;
347
+ n && (i.flexShrink = "0", i.width = "max-content"), o && (i.flexShrink = "0", i.height = "max-content");
345
348
  }
346
349
  return i;
347
350
  }
348
- }, er = class extends g {
351
+ }, eo = class extends g {
349
352
  constructor() {
350
353
  super(...arguments);
351
354
  d(this, "type", "appearance");
@@ -363,8 +366,8 @@ let g = class {
363
366
  i
364
367
  );
365
368
  this.applyAssetBasedStyles(t.element, n);
366
- const r = this.computeAppearanceStyles(n);
367
- this.applyStyles(t.element, r);
369
+ const o = this.computeAppearanceStyles(n);
370
+ this.applyStyles(t.element, o);
368
371
  }
369
372
  /**
370
373
  * Apply Asset-based styles with theme reactivity
@@ -402,27 +405,27 @@ let g = class {
402
405
  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);
403
406
  }
404
407
  if (e.shadow) {
405
- const n = e.shadow, r = n.x || 0, a = n.y || 0, l = n.radius || 0, c = n.color || "rgba(0,0,0,0.25)";
406
- t.boxShadow = `${r}px ${a}px ${l}px ${c}`;
408
+ const n = e.shadow, o = n.x || 0, a = n.y || 0, l = n.radius || 0, c = n.color || "rgba(0,0,0,0.25)";
409
+ t.boxShadow = `${o}px ${a}px ${l}px ${c}`;
407
410
  }
408
411
  if (e.clipped && (t.overflow = "hidden"), e.clipShape) {
409
- const { shape: n, parameters: r } = e.clipShape;
412
+ const { shape: n, parameters: o } = e.clipShape;
410
413
  switch (n) {
411
414
  case "circle":
412
415
  t.clipPath = "circle(50%)";
413
416
  break;
414
417
  case "ellipse": {
415
- const a = r?.radiusX || "50%", l = r?.radiusY || "50%";
418
+ const a = o?.radiusX || "50%", l = o?.radiusY || "50%";
416
419
  t.clipPath = `ellipse(${a} ${l} at center)`;
417
420
  break;
418
421
  }
419
422
  case "rect": {
420
- const a = r?.inset || 0;
423
+ const a = o?.inset || 0;
421
424
  t.clipPath = `inset(${a}px)`;
422
425
  break;
423
426
  }
424
427
  case "polygon": {
425
- const a = r?.points || "0% 0%, 100% 0%, 100% 100%, 0% 100%";
428
+ const a = o?.points || "0% 0%, 100% 0%, 100% 100%, 0% 100%";
426
429
  t.clipPath = `polygon(${a})`;
427
430
  break;
428
431
  }
@@ -431,7 +434,7 @@ let g = class {
431
434
  const i = [];
432
435
  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;
433
436
  }
434
- }, ir = class extends g {
437
+ }, io = class extends g {
435
438
  constructor() {
436
439
  super(...arguments);
437
440
  d(this, "type", "interaction");
@@ -445,16 +448,16 @@ let g = class {
445
448
  }), i.onWheel && t.element.addEventListener("wheel", i.onWheel, {
446
449
  passive: !1
447
450
  }), i.onInput && t.element.addEventListener("input", i.onInput), i.onChange && t.element.addEventListener("change", (n) => {
448
- const r = n.target, a = r.value || r.textContent || "";
451
+ const o = n.target, a = o.value || o.textContent || "";
449
452
  i.onChange(a, n);
450
453
  }), i.onCopy && t.element.addEventListener("copy", i.onCopy), i.onCut && t.element.addEventListener("cut", i.onCut), i.onPaste && t.element.addEventListener("paste", i.onPaste), i.onSelect && t.element.addEventListener("select", i.onSelect), i.disabled !== void 0 && P(t.element)) {
451
- const n = t.element, r = (a) => {
454
+ const n = t.element, o = (a) => {
452
455
  a ? (n.setAttribute("disabled", "true"), n.style.pointerEvents = "none", n.style.opacity = "0.6") : (n.removeAttribute("disabled"), n.style.pointerEvents = "", n.style.opacity = "");
453
456
  };
454
- p(i.disabled) || m(i.disabled) ? b(() => {
457
+ p(i.disabled) || h(i.disabled) ? b(() => {
455
458
  const a = !!i.disabled();
456
- r(a);
457
- }) : r(!!i.disabled);
459
+ o(a);
460
+ }) : o(!!i.disabled);
458
461
  }
459
462
  i.draggable !== void 0 && P(t.element) && (t.element.draggable = i.draggable), i.accessibilityLabel && t.element.setAttribute("aria-label", i.accessibilityLabel), i.accessibilityHint && t.element.setAttribute("aria-describedby", i.accessibilityHint), i.onLongPressGesture && this.setupLongPressGesture(t.element, i.onLongPressGesture), i.keyboardShortcut && this.setupKeyboardShortcut(t.element, i.keyboardShortcut), i.focused !== void 0 && this.setupFocusManagement(t.element, i.focused), i.focusable && this.setupFocusable(t.element, i.focusable), i.onContinuousHover && this.setupContinuousHover(t.element, i.onContinuousHover), i.allowsHitTesting !== void 0 && this.setupHitTesting(t.element, i.allowsHitTesting);
460
463
  }
@@ -464,12 +467,12 @@ let g = class {
464
467
  */
465
468
  setupLongPressGesture(e, t) {
466
469
  const i = t.minimumDuration ?? 500, n = t.maximumDistance ?? 10;
467
- let r, a = null, l = !1;
470
+ let o, a = null, l = !1;
468
471
  const c = () => {
469
- r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
472
+ o && (clearTimeout(o), o = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
470
473
  }, u = (v) => {
471
474
  const S = v;
472
- a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = (Ge() ? window.setTimeout : setTimeout)(() => {
475
+ a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), o = (Ke() ? window.setTimeout : setTimeout)(() => {
473
476
  l && a && (t.perform(), c());
474
477
  }, i);
475
478
  }, f = (v) => {
@@ -478,12 +481,12 @@ let g = class {
478
481
  Math.sqrt(
479
482
  Math.pow(S.clientX - a.x, 2) + Math.pow(S.clientY - a.y, 2)
480
483
  ) > n && c();
481
- }, h = () => {
484
+ }, m = () => {
482
485
  c();
483
486
  }, y = () => {
484
487
  c();
485
488
  };
486
- e.addEventListener("pointerdown", u), e.addEventListener("pointermove", f), e.addEventListener("pointerup", h), e.addEventListener(
489
+ e.addEventListener("pointerdown", u), e.addEventListener("pointermove", f), e.addEventListener("pointerup", m), e.addEventListener(
487
490
  "pointercancel",
488
491
  y
489
492
  ), e._longPressCleanup = c;
@@ -492,22 +495,22 @@ let g = class {
492
495
  * Setup keyboard shortcut handling
493
496
  */
494
497
  setupKeyboardShortcut(e, t) {
495
- const i = t.modifiers ?? [], n = (r) => {
498
+ const i = t.modifiers ?? [], n = (o) => {
496
499
  const a = {
497
500
  cmd: i.includes("cmd") || i.includes("meta"),
498
501
  ctrl: i.includes("ctrl"),
499
502
  shift: i.includes("shift"),
500
503
  alt: i.includes("alt")
501
504
  }, l = {
502
- cmd: r.metaKey || r.ctrlKey,
505
+ cmd: o.metaKey || o.ctrlKey,
503
506
  // Handle both Mac (meta) and PC (ctrl)
504
- ctrl: r.ctrlKey,
505
- shift: r.shiftKey,
506
- alt: r.altKey
507
- }, c = r.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
508
- ([f, h]) => h === l[f]
507
+ ctrl: o.ctrlKey,
508
+ shift: o.shiftKey,
509
+ alt: o.altKey
510
+ }, c = o.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
511
+ ([f, m]) => m === l[f]
509
512
  );
510
- c && u && (r.preventDefault(), t.action());
513
+ c && u && (o.preventDefault(), t.action());
511
514
  };
512
515
  Q() && (document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
513
516
  document.removeEventListener("keydown", n);
@@ -519,7 +522,7 @@ let g = class {
519
522
  setupFocusManagement(e, t) {
520
523
  if (!P(e)) return;
521
524
  const i = e;
522
- i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ? b(() => {
525
+ i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || h(t) ? b(() => {
523
526
  t() ? i.focus() : i.blur();
524
527
  }) : t && i.focus();
525
528
  }
@@ -546,13 +549,13 @@ let g = class {
546
549
  } else
547
550
  c = l.clientX, u = l.clientY;
548
551
  t.perform({ x: c, y: u });
549
- }, r = () => {
552
+ }, o = () => {
550
553
  t.perform(null);
551
554
  };
552
- e.addEventListener("mousemove", n), e.addEventListener("mouseleave", r), e._continuousHoverCleanup = () => {
555
+ e.addEventListener("mousemove", n), e.addEventListener("mouseleave", o), e._continuousHoverCleanup = () => {
553
556
  e.removeEventListener("mousemove", n), e.removeEventListener(
554
557
  "mouseleave",
555
- r
558
+ o
556
559
  );
557
560
  };
558
561
  }
@@ -562,7 +565,7 @@ let g = class {
562
565
  setupHitTesting(e, t) {
563
566
  P(e) && (e.style.pointerEvents = t ? "" : "none");
564
567
  }
565
- }, Ye = class extends g {
568
+ }, Xe = class extends g {
566
569
  constructor() {
567
570
  super(...arguments);
568
571
  d(this, "type", "animation");
@@ -572,26 +575,26 @@ let g = class {
572
575
  if (!t.element) return;
573
576
  const i = this.properties;
574
577
  if (i.transition) {
575
- const n = i.transition, r = n.property || "all", a = n.duration || 300, l = n.easing || "ease", c = n.delay || 0;
576
- z(t.element) && (r === "none" ? t.element.style.transition = "none" : t.element.style.transition = `${r} ${a}ms ${l} ${c}ms`);
578
+ const n = i.transition, o = n.property || "all", a = n.duration || 300, l = n.easing || "ease", c = n.delay || 0;
579
+ F(t.element) && (o === "none" ? t.element.style.transition = "none" : t.element.style.transition = `${o} ${a}ms ${l} ${c}ms`);
577
580
  }
578
- if (i.animation && z(t.element)) {
581
+ if (i.animation && F(t.element)) {
579
582
  const n = i.animation;
580
583
  if (n.keyframes && Q()) {
581
- const r = `tachui-animation-${t.componentId}-${Date.now()}`, a = this.createKeyframeRule(
582
- r,
584
+ const o = `tachui-animation-${t.componentId}-${Date.now()}`, a = this.createKeyframeRule(
585
+ o,
583
586
  n.keyframes
584
587
  );
585
588
  this.addKeyframesToStylesheet(a);
586
589
  const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1, f = n.direction || "normal";
587
- t.element.style.animation = `${r} ${l}ms ${c} ${u} ${f}`;
590
+ t.element.style.animation = `${o} ${l}ms ${c} ${u} ${f}`;
588
591
  }
589
592
  }
590
- if (i.transform && z(t.element) && (p(i.transform) || m(i.transform) ? b(() => {
593
+ if (i.transform && F(t.element) && (p(i.transform) || h(i.transform) ? b(() => {
591
594
  const n = i.transform();
592
- z(t.element) && (t.element.style.transform = n);
593
- }) : t.element.style.transform = i.transform), i.rotationEffect && z(t.element)) {
594
- const { angle: n, anchor: r } = i.rotationEffect, l = {
595
+ F(t.element) && (t.element.style.transform = n);
596
+ }) : t.element.style.transform = i.transform), i.rotationEffect && F(t.element)) {
597
+ const { angle: n, anchor: o } = i.rotationEffect, l = {
595
598
  center: "50% 50%",
596
599
  top: "50% 0%",
597
600
  topLeading: "0% 0%",
@@ -601,30 +604,37 @@ let g = class {
601
604
  bottomTrailing: "100% 100%",
602
605
  leading: "0% 50%",
603
606
  trailing: "100% 50%"
604
- }[r || "center"] || "50% 50%", c = `rotate(${n}deg)`;
605
- if (p(n) || m(n))
607
+ }[o || "center"] || "50% 50%", c = `rotate(${n}deg)`;
608
+ if (p(n) || h(n))
606
609
  b(() => {
607
610
  const f = `rotate(${typeof n == "function" ? n() : n}deg)`;
608
- if (z(t.element)) {
611
+ if (F(t.element)) {
609
612
  t.element.style.transformOrigin = l;
610
613
  const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${f}` : f;
611
614
  t.element.style.transform = v;
612
615
  }
613
616
  });
614
- else if (z(t.element)) {
617
+ else if (F(t.element)) {
615
618
  t.element.style.transformOrigin = l;
616
- const f = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), h = f ? `${f} ${c}` : c;
617
- t.element.style.transform = h;
619
+ const f = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), m = f ? `${f} ${c}` : c;
620
+ t.element.style.transform = m;
618
621
  }
619
622
  }
620
623
  i.overlay && P(t.element) && this.applyOverlay(t.element, i.overlay, t);
621
624
  }
625
+ getStaticCSS(e) {
626
+ return Ie(
627
+ e,
628
+ this.properties,
629
+ this.createKeyframeRule.bind(this)
630
+ );
631
+ }
622
632
  applyOverlay(e, t, i) {
623
- const { content: n, alignment: r = "center" } = t;
633
+ const { content: n, alignment: o = "center" } = t;
624
634
  if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !Q()) return;
625
635
  const a = document.createElement("div");
626
636
  a.style.position = "absolute", a.style.pointerEvents = "none";
627
- const l = this.getOverlayAlignment(r);
637
+ const l = this.getOverlayAlignment(o);
628
638
  if (Object.assign(a.style, l), typeof n == "function") {
629
639
  const c = n();
630
640
  if (c && typeof c.render == "function") {
@@ -686,10 +696,10 @@ let g = class {
686
696
  createKeyframeRule(e, t) {
687
697
  let i = `@keyframes ${e} {
688
698
  `;
689
- for (const [n, r] of Object.entries(t)) {
699
+ for (const [n, o] of Object.entries(t)) {
690
700
  i += ` ${n} {
691
701
  `;
692
- for (const [a, l] of Object.entries(r)) {
702
+ for (const [a, l] of Object.entries(o)) {
693
703
  const c = this.toCSSProperty(a);
694
704
  i += ` ${c}: ${l};
695
705
  `;
@@ -706,7 +716,7 @@ let g = class {
706
716
  );
707
717
  t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
708
718
  }
709
- }, rr = class extends g {
719
+ }, oo = class extends g {
710
720
  constructor() {
711
721
  super(...arguments);
712
722
  d(this, "type", "lifecycle");
@@ -721,8 +731,8 @@ let g = class {
721
731
  setupLifecycleObserver(e, t) {
722
732
  const i = new IntersectionObserver(
723
733
  (n) => {
724
- n.forEach((r) => {
725
- r.isIntersecting && t.onAppear ? t.onAppear() : !r.isIntersecting && t.onDisappear && t.onDisappear();
734
+ n.forEach((o) => {
735
+ o.isIntersecting && t.onAppear ? t.onAppear() : !o.isIntersecting && t.onDisappear && t.onDisappear();
726
736
  });
727
737
  },
728
738
  {
@@ -743,11 +753,11 @@ let g = class {
743
753
  (async () => {
744
754
  try {
745
755
  if (i.aborted) return;
746
- const r = t.operation();
747
- r instanceof Promise && await r;
748
- } catch (r) {
756
+ const o = t.operation();
757
+ o instanceof Promise && await o;
758
+ } catch (o) {
749
759
  if (i.aborted) return;
750
- console.error("TachUI Task Error:", r);
760
+ console.error("TachUI Task Error:", o);
751
761
  }
752
762
  })(), this.addCleanup(() => {
753
763
  this.activeAbortController && this.activeAbortController.abort();
@@ -755,7 +765,7 @@ let g = class {
755
765
  }
756
766
  setupRefreshable(e, t) {
757
767
  if (!t) return;
758
- let i = !1, n = 0, r = 0;
768
+ let i = !1, n = 0, o = 0;
759
769
  const a = 70;
760
770
  if (!Q()) return;
761
771
  const l = document.createElement("div");
@@ -785,16 +795,16 @@ let g = class {
785
795
  const c = e.parentElement || e;
786
796
  P(c) && (c.style.position = "relative", c.appendChild(l));
787
797
  const u = (y) => {
788
- i || (r = y.touches[0].clientY);
798
+ i || (o = y.touches[0].clientY);
789
799
  }, f = (y) => {
790
800
  if (i) return;
791
801
  const v = y.touches[0].clientY;
792
- if (n = Math.max(0, v - r), n > 20) {
802
+ if (n = Math.max(0, v - o), n > 20) {
793
803
  y.preventDefault();
794
804
  const S = Math.min(n / a, 1);
795
805
  l.style.opacity = String(S * 0.8), l.style.top = `${-50 + S * 20}px`;
796
806
  }
797
- }, h = async () => {
807
+ }, m = async () => {
798
808
  if (i || n < a) {
799
809
  l.style.opacity = "0", l.style.top = "-50px", n = 0;
800
810
  return;
@@ -812,18 +822,18 @@ let g = class {
812
822
  passive: !1
813
823
  }), e.addEventListener("touchmove", f, {
814
824
  passive: !1
815
- }), e.addEventListener("touchend", h), this.addCleanup(() => {
825
+ }), e.addEventListener("touchend", m), this.addCleanup(() => {
816
826
  e.removeEventListener(
817
827
  "touchstart",
818
828
  u
819
- ), e.removeEventListener("touchmove", f), e.removeEventListener("touchend", h), l.parentElement && l.parentElement.removeChild(l);
829
+ ), e.removeEventListener("touchmove", f), e.removeEventListener("touchend", m), l.parentElement && l.parentElement.removeChild(l);
820
830
  });
821
831
  }
822
832
  addCleanup(e) {
823
833
  this.properties._cleanupFunctions || (this.properties._cleanupFunctions = []), this.properties._cleanupFunctions.push(e);
824
834
  }
825
835
  };
826
- const Xe = "@tachui/modifiers", Ze = "0.8.25", ar = Xe, qe = Ze;
836
+ const Ze = "@tachui/modifiers", qe = "0.8.27", ao = Ze, Je = qe;
827
837
  class D extends g {
828
838
  // Optimized priority for internal spacing (before margin at 50)
829
839
  constructor(e) {
@@ -837,7 +847,7 @@ class D extends g {
837
847
  this.applyStyles(t.element, i);
838
848
  }
839
849
  computePaddingStyles(e) {
840
- const t = {}, i = (n) => p(n) || m(n) ? n : typeof n == "number" ? `${n}px` : n === "auto" ? n : typeof n == "string" ? /^-?\d*\.?\d+(px|rem|em|%|vw|vh|vmin|vmax)$/.test(n) ? n : `${n}px` : String(n);
850
+ const t = {}, i = (n) => p(n) || h(n) ? n : typeof n == "number" ? `${n}px` : n === "auto" ? n : typeof n == "string" ? /^-?\d*\.?\d+(px|rem|em|%|vw|vh|vmin|vmax)$/.test(n) ? n : `${n}px` : String(n);
841
851
  if ("all" in e && e.all !== void 0)
842
852
  t.padding = i(e.all);
843
853
  else {
@@ -854,34 +864,34 @@ class D extends g {
854
864
  return t;
855
865
  }
856
866
  }
857
- function x(o) {
858
- return p(o) || m(o) ? new D({ all: o }) : typeof o == "number" || typeof o == "string" ? new D({ all: o }) : new D(o);
867
+ function x(r) {
868
+ return p(r) || h(r) ? new D({ all: r }) : typeof r == "number" || typeof r == "string" ? new D({ all: r }) : new D(r);
859
869
  }
860
- function Je(o) {
861
- return new D({ top: o });
870
+ function Qe(r) {
871
+ return new D({ top: r });
862
872
  }
863
- function Qe(o) {
864
- return new D({ bottom: o });
873
+ function et(r) {
874
+ return new D({ bottom: r });
865
875
  }
866
- function et(o) {
867
- return new D({ left: o });
876
+ function tt(r) {
877
+ return new D({ left: r });
868
878
  }
869
- function tt(o) {
870
- return new D({ right: o });
879
+ function it(r) {
880
+ return new D({ right: r });
871
881
  }
872
- function it(o) {
873
- return new D({ leading: o });
882
+ function nt(r) {
883
+ return new D({ leading: r });
874
884
  }
875
- function nt(o) {
876
- return new D({ trailing: o });
885
+ function rt(r) {
886
+ return new D({ trailing: r });
877
887
  }
878
- function ot(o) {
879
- return new D({ horizontal: o });
888
+ function ot(r) {
889
+ return new D({ horizontal: r });
880
890
  }
881
- function rt(o) {
882
- return new D({ vertical: o });
891
+ function st(r) {
892
+ return new D({ vertical: r });
883
893
  }
884
- const lr = {
894
+ const lo = {
885
895
  /**
886
896
  * Extra small padding (4px) - For tight spacing
887
897
  */
@@ -973,7 +983,7 @@ class O extends g {
973
983
  this.applyStyles(t.element, i);
974
984
  }
975
985
  computeMarginStyles(e) {
976
- const t = {}, i = (n) => p(n) || m(n) ? n : typeof n == "number" ? `${n}px` : n === "auto" ? n : typeof n == "string" ? /^-?\d*\.?\d+(px|rem|em|%|vw|vh|vmin|vmax)$/.test(n) ? n : `${n}px` : String(n);
986
+ const t = {}, i = (n) => p(n) || h(n) ? n : typeof n == "number" ? `${n}px` : n === "auto" ? n : typeof n == "string" ? /^-?\d*\.?\d+(px|rem|em|%|vw|vh|vmin|vmax)$/.test(n) ? n : `${n}px` : String(n);
977
987
  if ("all" in e && e.all !== void 0)
978
988
  t.margin = i(e.all);
979
989
  else {
@@ -990,116 +1000,116 @@ class O extends g {
990
1000
  return t;
991
1001
  }
992
1002
  }
993
- function M(o) {
994
- return typeof o == "number" || typeof o == "string" ? new O({ all: o }) : new O(o);
1003
+ function T(r) {
1004
+ return typeof r == "number" || typeof r == "string" ? new O({ all: r }) : new O(r);
995
1005
  }
996
- function st(o) {
997
- return new O({ top: o });
1006
+ function at(r) {
1007
+ return new O({ top: r });
998
1008
  }
999
- function at(o) {
1000
- return new O({ bottom: o });
1009
+ function lt(r) {
1010
+ return new O({ bottom: r });
1001
1011
  }
1002
- function lt(o) {
1003
- return new O({ left: o });
1012
+ function ct(r) {
1013
+ return new O({ left: r });
1004
1014
  }
1005
- function ct(o) {
1006
- return new O({ right: o });
1015
+ function dt(r) {
1016
+ return new O({ right: r });
1007
1017
  }
1008
- function dt(o) {
1009
- return new O({ leading: o });
1018
+ function ft(r) {
1019
+ return new O({ leading: r });
1010
1020
  }
1011
- function ft(o) {
1012
- return new O({ trailing: o });
1021
+ function ut(r) {
1022
+ return new O({ trailing: r });
1013
1023
  }
1014
- function ut(o) {
1015
- return new O({ horizontal: o });
1024
+ function pt(r) {
1025
+ return new O({ horizontal: r });
1016
1026
  }
1017
- function pt(o) {
1018
- return new O({ vertical: o });
1027
+ function ht(r) {
1028
+ return new O({ vertical: r });
1019
1029
  }
1020
- const cr = {
1030
+ const co = {
1021
1031
  /**
1022
1032
  * Extra small margin (4px) - For tight spacing
1023
1033
  */
1024
- xs: () => M(4),
1034
+ xs: () => T(4),
1025
1035
  /**
1026
1036
  * Small margin (8px) - For compact components
1027
1037
  */
1028
- sm: () => M(8),
1038
+ sm: () => T(8),
1029
1039
  /**
1030
1040
  * Medium margin (12px) - Default comfortable spacing
1031
1041
  */
1032
- md: () => M(12),
1042
+ md: () => T(12),
1033
1043
  /**
1034
1044
  * Large margin (16px) - For prominent separation
1035
1045
  */
1036
- lg: () => M(16),
1046
+ lg: () => T(16),
1037
1047
  /**
1038
1048
  * Extra large margin (24px) - For emphasis
1039
1049
  */
1040
- xl: () => M(24),
1050
+ xl: () => T(24),
1041
1051
  /**
1042
1052
  * Extra extra large margin (32px) - For major sections
1043
1053
  */
1044
- xxl: () => M(32),
1054
+ xxl: () => T(32),
1045
1055
  /**
1046
1056
  * Huge margin (48px) - For hero sections
1047
1057
  */
1048
- xxxl: () => M(48),
1058
+ xxxl: () => T(48),
1049
1059
  // Semantic presets for common UI patterns
1050
1060
  /**
1051
1061
  * Component separation (vertical: 16, horizontal: 0)
1052
1062
  * For spacing between stacked components
1053
1063
  */
1054
- component: () => M({ vertical: 16, horizontal: 0 }),
1064
+ component: () => T({ vertical: 16, horizontal: 0 }),
1055
1065
  /**
1056
1066
  * Section separation (vertical: 24, horizontal: 0)
1057
1067
  * For major content sections
1058
1068
  */
1059
- section: () => M({ vertical: 24, horizontal: 0 }),
1069
+ section: () => T({ vertical: 24, horizontal: 0 }),
1060
1070
  /**
1061
1071
  * Page margin (horizontal: auto)
1062
1072
  * For centering page content
1063
1073
  */
1064
- page: () => M({ horizontal: "auto" }),
1074
+ page: () => T({ horizontal: "auto" }),
1065
1075
  /**
1066
1076
  * Card margin (all: 16)
1067
1077
  * Standard margin around card components
1068
1078
  */
1069
- card: () => M(16),
1079
+ card: () => T(16),
1070
1080
  /**
1071
1081
  * Compact card margin (all: 8)
1072
1082
  */
1073
- cardSm: () => M(8),
1083
+ cardSm: () => T(8),
1074
1084
  /**
1075
1085
  * Spacious card margin (all: 24)
1076
1086
  */
1077
- cardLg: () => M(24),
1087
+ cardLg: () => T(24),
1078
1088
  /**
1079
1089
  * Button margin (horizontal: 8, vertical: 4)
1080
1090
  * For spacing between inline buttons
1081
1091
  */
1082
- button: () => M({ horizontal: 8, vertical: 4 }),
1092
+ button: () => T({ horizontal: 8, vertical: 4 }),
1083
1093
  /**
1084
1094
  * List item margin (vertical: 8, horizontal: 0)
1085
1095
  * For spacing between list items
1086
1096
  */
1087
- listItem: () => M({ vertical: 8, horizontal: 0 }),
1097
+ listItem: () => T({ vertical: 8, horizontal: 0 }),
1088
1098
  /**
1089
1099
  * Form field margin (vertical: 12, horizontal: 0)
1090
1100
  * For spacing between form fields
1091
1101
  */
1092
- field: () => M({ vertical: 12, horizontal: 0 }),
1102
+ field: () => T({ vertical: 12, horizontal: 0 }),
1093
1103
  /**
1094
1104
  * Zero margin utility
1095
1105
  * For removing default margins
1096
1106
  */
1097
- none: () => M(0),
1107
+ none: () => T(0),
1098
1108
  /**
1099
1109
  * Auto margin utility
1100
1110
  * For centering elements
1101
1111
  */
1102
- auto: () => M("auto")
1112
+ auto: () => T("auto")
1103
1113
  };
1104
1114
  class U extends g {
1105
1115
  // Priority 80 for layout
@@ -1117,63 +1127,63 @@ class U extends g {
1117
1127
  const t = {}, i = ue(e);
1118
1128
  if (Object.assign(t, i.cssProps), e.width !== void 0) {
1119
1129
  const n = L(e.width);
1120
- n !== void 0 && !A(e.width) && (t.width = n);
1130
+ n !== void 0 && !k(e.width) && (t.width = n);
1121
1131
  }
1122
1132
  if (e.height !== void 0) {
1123
1133
  const n = L(e.height);
1124
- n !== void 0 && !A(e.height) && (t.height = n);
1134
+ n !== void 0 && !k(e.height) && (t.height = n);
1125
1135
  }
1126
1136
  if (e.minWidth !== void 0) {
1127
1137
  const n = L(e.minWidth);
1128
1138
  n !== void 0 && (t.minWidth = n);
1129
1139
  }
1130
- if (e.maxWidth !== void 0 && !A(e.maxWidth)) {
1140
+ if (e.maxWidth !== void 0 && !k(e.maxWidth)) {
1131
1141
  const n = L(e.maxWidth);
1132
1142
  n !== void 0 && (t.maxWidth = n);
1133
- } else A(e.maxWidth) && (t.maxWidth = "none");
1143
+ } else k(e.maxWidth) && (t.maxWidth = "none");
1134
1144
  if (e.minHeight !== void 0) {
1135
1145
  const n = L(e.minHeight);
1136
1146
  n !== void 0 && (t.minHeight = n);
1137
1147
  }
1138
- if (e.maxHeight !== void 0 && !A(e.maxHeight)) {
1148
+ if (e.maxHeight !== void 0 && !k(e.maxHeight)) {
1139
1149
  const n = L(e.maxHeight);
1140
1150
  n !== void 0 && (t.maxHeight = n);
1141
- } else A(e.maxHeight) && (t.maxHeight = "none");
1151
+ } else k(e.maxHeight) && (t.maxHeight = "none");
1142
1152
  return t;
1143
1153
  }
1144
1154
  }
1145
- function mt(o) {
1146
- return new U(o);
1155
+ function mt(r) {
1156
+ return new U(r);
1147
1157
  }
1148
- function ht(o) {
1149
- return new U({ width: o });
1158
+ function yt(r) {
1159
+ return new U({ width: r });
1150
1160
  }
1151
- function yt(o) {
1152
- return new U({ height: o });
1161
+ function gt(r) {
1162
+ return new U({ height: r });
1153
1163
  }
1154
- function gt(o) {
1155
- return new U({ maxWidth: o });
1164
+ function vt(r) {
1165
+ return new U({ maxWidth: r });
1156
1166
  }
1157
- function vt(o) {
1158
- return new U({ minWidth: o });
1167
+ function bt(r) {
1168
+ return new U({ minWidth: r });
1159
1169
  }
1160
- function bt(o) {
1161
- return new U({ maxHeight: o });
1170
+ function St(r) {
1171
+ return new U({ maxHeight: r });
1162
1172
  }
1163
- function St(o) {
1164
- return new U({ minHeight: o });
1173
+ function wt(r) {
1174
+ return new U({ minHeight: r });
1165
1175
  }
1166
- class le extends Ye {
1176
+ class le extends Xe {
1167
1177
  constructor() {
1168
1178
  super(...arguments);
1169
1179
  // Override type to be 'transition' instead of 'animation'
1170
1180
  d(this, "type", "transition");
1171
1181
  }
1172
1182
  }
1173
- function wt(o, s, e, t) {
1174
- if (typeof o == "object")
1175
- return new le({ transition: o });
1176
- const i = o;
1183
+ function Ct(r, s, e, t) {
1184
+ if (typeof r == "object")
1185
+ return new le({ transition: r });
1186
+ const i = r;
1177
1187
  return i === "none" ? new le({
1178
1188
  transition: {
1179
1189
  property: "none",
@@ -1190,17 +1200,17 @@ function wt(o, s, e, t) {
1190
1200
  }
1191
1201
  });
1192
1202
  }
1193
- function Ct(o) {
1194
- return new oe({ transform: o });
1203
+ function Et(r) {
1204
+ return new re({ transform: r });
1195
1205
  }
1196
- function Et(o) {
1197
- return o ? new oe({ animation: o }) : new oe({});
1206
+ function xt(r) {
1207
+ return r ? new re({ animation: r }) : new re({});
1198
1208
  }
1199
- function xt(o) {
1200
- return new oe({ transitions: o });
1209
+ function Tt(r) {
1210
+ return new re({ transitions: r });
1201
1211
  }
1202
- function Mt(o) {
1203
- return new Fe({ task: o });
1212
+ function Mt(r) {
1213
+ return new We({ task: r });
1204
1214
  }
1205
1215
  class R extends g {
1206
1216
  // Optimized priority for layout modifiers
@@ -1215,7 +1225,7 @@ class R extends g {
1215
1225
  this.applyStyles(t.element, i);
1216
1226
  }
1217
1227
  computeFlexboxStyles(e) {
1218
- const t = {}, i = (r) => p(r) || m(r), n = (r) => typeof r == "number" ? `${r}px` : typeof r == "string" ? /^-?\d*\.?\d+(px|rem|em|%|fr|vw|vh|vmin|vmax)$/.test(r) || [
1228
+ const t = {}, i = (o) => p(o) || h(o), n = (o) => typeof o == "number" ? `${o}px` : typeof o == "string" ? /^-?\d*\.?\d+(px|rem|em|%|fr|vw|vh|vmin|vmax)$/.test(o) || [
1219
1229
  "auto",
1220
1230
  "content",
1221
1231
  "max-content",
@@ -1225,50 +1235,50 @@ class R extends g {
1225
1235
  "inherit",
1226
1236
  "unset",
1227
1237
  "none"
1228
- ].includes(r) ? r : `${r}px` : String(r);
1238
+ ].includes(o) ? o : `${o}px` : String(o);
1229
1239
  return e.display !== void 0 && (t.display = e.display), e.flexGrow !== void 0 && (t.flexGrow = i(e.flexGrow) ? e.flexGrow : e.flexGrow.toString()), e.flexShrink !== void 0 && (t.flexShrink = i(e.flexShrink) ? e.flexShrink : e.flexShrink.toString()), e.flexBasis !== void 0 && (t.flexBasis = i(e.flexBasis) ? e.flexBasis : n(e.flexBasis)), e.flex !== void 0 && (t.flex = i(e.flex) ? e.flex : typeof e.flex == "number" ? e.flex.toString() : e.flex), e.justifyContent !== void 0 && (t.justifyContent = e.justifyContent), e.alignItems !== void 0 && (t.alignItems = e.alignItems), e.alignContent !== void 0 && (t.alignContent = e.alignContent), e.alignSelf !== void 0 && (t.alignSelf = e.alignSelf), e.flexDirection !== void 0 && (t.flexDirection = e.flexDirection), e.flexWrap !== void 0 && (t.flexWrap = e.flexWrap), e.flexFlow !== void 0 && (t.flexFlow = e.flexFlow), e.gap !== void 0 && (t.gap = i(e.gap) ? e.gap : n(e.gap)), e.rowGap !== void 0 && (t.rowGap = i(e.rowGap) ? e.rowGap : n(e.rowGap)), e.columnGap !== void 0 && (t.columnGap = i(e.columnGap) ? e.columnGap : n(e.columnGap)), e.placeItems !== void 0 && (t.placeItems = e.placeItems), e.placeContent !== void 0 && (t.placeContent = e.placeContent), e.placeSelf !== void 0 && (t.placeSelf = e.placeSelf), t;
1230
1240
  }
1231
1241
  }
1232
- function I(o) {
1233
- return new R(o);
1242
+ function I(r) {
1243
+ return new R(r);
1234
1244
  }
1235
- function Tt(o) {
1236
- return new R({ flexGrow: o });
1245
+ function Lt(r) {
1246
+ return new R({ flexGrow: r });
1237
1247
  }
1238
- function Lt(o) {
1239
- return new R({ flexShrink: o });
1248
+ function kt(r) {
1249
+ return new R({ flexShrink: r });
1240
1250
  }
1241
- function At(o) {
1242
- return new R({ flexBasis: o });
1251
+ function At(r) {
1252
+ return new R({ flexBasis: r });
1243
1253
  }
1244
- function dr(o) {
1245
- return new R({ flex: o });
1254
+ function fo(r) {
1255
+ return new R({ flex: r });
1246
1256
  }
1247
- function kt(o) {
1248
- return new R({ justifyContent: o });
1257
+ function It(r) {
1258
+ return new R({ justifyContent: r });
1249
1259
  }
1250
- function It(o) {
1251
- return new R({ alignItems: o });
1260
+ function Pt(r) {
1261
+ return new R({ alignItems: r });
1252
1262
  }
1253
- function Pt(o) {
1254
- return new R({ alignSelf: o });
1263
+ function $t(r) {
1264
+ return new R({ alignSelf: r });
1255
1265
  }
1256
- function $t(o) {
1257
- return new R({ gap: o });
1266
+ function Vt(r) {
1267
+ return new R({ gap: r });
1258
1268
  }
1259
- function fr(o) {
1260
- return new R({ rowGap: o });
1269
+ function uo(r) {
1270
+ return new R({ rowGap: r });
1261
1271
  }
1262
- function ur(o) {
1263
- return new R({ columnGap: o });
1272
+ function po(r) {
1273
+ return new R({ columnGap: r });
1264
1274
  }
1265
- function Vt(o) {
1266
- return new R({ flexDirection: o });
1275
+ function Rt(r) {
1276
+ return new R({ flexDirection: r });
1267
1277
  }
1268
- function Rt(o) {
1269
- return new R({ flexWrap: o });
1278
+ function Dt(r) {
1279
+ return new R({ flexWrap: r });
1270
1280
  }
1271
- const pr = {
1281
+ const ho = {
1272
1282
  /**
1273
1283
  * Standard flex container
1274
1284
  * Sets display: flex for basic flex container
@@ -1406,7 +1416,7 @@ const pr = {
1406
1416
  alignItems: "stretch"
1407
1417
  })
1408
1418
  };
1409
- class Dt extends g {
1419
+ class Ot extends g {
1410
1420
  constructor() {
1411
1421
  super(...arguments);
1412
1422
  d(this, "type", "offset");
@@ -1416,13 +1426,13 @@ class Dt extends g {
1416
1426
  apply(e, t) {
1417
1427
  if (!t.element) return;
1418
1428
  const { x: i, y: n = 0 } = this.properties;
1419
- p(i) || m(i) || p(n) || m(n) ? b(() => {
1420
- const r = p(i) || m(i) ? i() : i, a = p(n) || m(n) ? n() : n;
1421
- this.applyOffset(t.element, r, a);
1429
+ p(i) || h(i) || p(n) || h(n) ? b(() => {
1430
+ const o = p(i) || h(i) ? i() : i, a = p(n) || h(n) ? n() : n;
1431
+ this.applyOffset(t.element, o, a);
1422
1432
  }) : this.applyOffset(t.element, i, n);
1423
1433
  }
1424
1434
  applyOffset(e, t, i) {
1425
- 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(), u = c ? `${c} ${a}` : a;
1435
+ const n = this.toCSSValue(t), o = this.toCSSValue(i), a = `translate(${n}, ${o})`, c = (e.style.transform || "").replace(/\s*translate(?!Z\(0\))[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), u = c ? `${c} ${a}` : a;
1426
1436
  e.style.transform = u;
1427
1437
  }
1428
1438
  /**
@@ -1430,13 +1440,13 @@ class Dt extends g {
1430
1440
  */
1431
1441
  validateOffset(e, t) {
1432
1442
  if (typeof process < "u" && process.env.NODE_ENV === "development") {
1433
- typeof e != "number" && !p(e) && !m(e) && console.warn(
1443
+ typeof e != "number" && !p(e) && !h(e) && console.warn(
1434
1444
  `OffsetModifier: x value must be a number or reactive signal. Got: ${typeof e}`
1435
- ), t !== void 0 && typeof t != "number" && !p(t) && !m(t) && console.warn(
1445
+ ), t !== void 0 && typeof t != "number" && !p(t) && !h(t) && console.warn(
1436
1446
  `OffsetModifier: y value must be a number or reactive signal. Got: ${typeof t}`
1437
1447
  );
1438
- const i = (n, r) => {
1439
- const a = p(n) || m(n) ? n.peek?.() || n() : n;
1448
+ const i = (n, o) => {
1449
+ const a = p(n) || h(n) ? n.peek?.() || n() : n;
1440
1450
  typeof a == "number" && (Math.abs(a) > 1e3 && console.warn(
1441
1451
  "OffsetModifier: Very large offset values may cause layout issues"
1442
1452
  ), a !== Math.round(a * 100) / 100 && console.info(
@@ -1447,9 +1457,9 @@ class Dt extends g {
1447
1457
  }
1448
1458
  }
1449
1459
  }
1450
- function Ot(o, s) {
1451
- const e = new Dt({ x: o, y: s ?? 0 });
1452
- return typeof process < "u" && process.env.NODE_ENV === "development" && e.validateOffset(o, s), e;
1460
+ function Bt(r, s) {
1461
+ const e = new Ot({ x: r, y: s ?? 0 });
1462
+ return typeof process < "u" && process.env.NODE_ENV === "development" && e.validateOffset(r, s), e;
1453
1463
  }
1454
1464
  class _t extends g {
1455
1465
  constructor() {
@@ -1460,21 +1470,21 @@ class _t extends g {
1460
1470
  // High priority for transform operations
1461
1471
  apply(e, t) {
1462
1472
  if (!t.element) return;
1463
- const { x: i, y: n, anchor: r = "center" } = this.properties, a = n ?? i;
1464
- typeof process < "u" && process.env.NODE_ENV === "development" && this.validateScale(i, a, r), p(i) || m(i) || p(a) || m(a) ? b(() => {
1465
- const l = p(i) || m(i) ? i() : i, c = p(a) || m(a) ? a() : a;
1473
+ const { x: i, y: n, anchor: o = "center" } = this.properties, a = n ?? i;
1474
+ typeof process < "u" && process.env.NODE_ENV === "development" && this.validateScale(i, a, o), p(i) || h(i) || p(a) || h(a) ? b(() => {
1475
+ const l = p(i) || h(i) ? i() : i, c = p(a) || h(a) ? a() : a;
1466
1476
  this.applyScale(
1467
1477
  t.element,
1468
1478
  l,
1469
1479
  c,
1470
- r
1480
+ o
1471
1481
  );
1472
- }) : this.applyScale(t.element, i, a, r);
1482
+ }) : this.applyScale(t.element, i, a, o);
1473
1483
  }
1474
1484
  applyScale(e, t, i, n) {
1475
- const r = `scale(${t}, ${i})`;
1485
+ const o = `scale(${t}, ${i})`;
1476
1486
  e.style.transformOrigin = this.getTransformOrigin(n);
1477
- const l = (e.style.transform || "").replace(/\s*scale[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), c = l ? `${l} ${r}`.trim() : r;
1487
+ const l = (e.style.transform || "").replace(/\s*scale[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), c = l ? `${l} ${o}`.trim() : o;
1478
1488
  e.style.transform = c;
1479
1489
  }
1480
1490
  getTransformOrigin(e) {
@@ -1495,9 +1505,9 @@ class _t extends g {
1495
1505
  */
1496
1506
  validateScale(e, t, i) {
1497
1507
  if (typeof process < "u" && process.env.NODE_ENV === "development") {
1498
- typeof e != "number" && !p(e) && !m(e) && console.warn(
1508
+ typeof e != "number" && !p(e) && !h(e) && console.warn(
1499
1509
  `ScaleEffectModifier: x value must be a number or reactive signal. Got: ${typeof e}`
1500
- ), typeof t != "number" && !p(t) && !m(t) && console.warn(
1510
+ ), typeof t != "number" && !p(t) && !h(t) && console.warn(
1501
1511
  `ScaleEffectModifier: y value must be a number or reactive signal. Got: ${typeof t}`
1502
1512
  );
1503
1513
  const n = [
@@ -1515,8 +1525,8 @@ class _t extends g {
1515
1525
  `ScaleEffectModifier: Invalid anchor "${i}". Valid anchors:`,
1516
1526
  n
1517
1527
  );
1518
- const r = (a, l) => {
1519
- const c = p(a) || m(a) ? a.peek?.() || a() : a;
1528
+ const o = (a, l) => {
1529
+ const c = p(a) || h(a) ? a.peek?.() || a() : a;
1520
1530
  typeof c == "number" && (c <= 0 && console.warn(
1521
1531
  `ScaleEffectModifier: ${l} scale value ${c} will make element invisible`
1522
1532
  ), c > 10 && console.warn(
@@ -1525,14 +1535,14 @@ class _t extends g {
1525
1535
  `ScaleEffectModifier: Consider rounding ${l} scale to 2 decimal places for better performance`
1526
1536
  ));
1527
1537
  };
1528
- r(e, "x"), r(t, "y");
1538
+ o(e, "x"), o(t, "y");
1529
1539
  }
1530
1540
  }
1531
1541
  }
1532
- function Bt(o, s, e = "center") {
1533
- return new _t({ x: o, y: s, anchor: e });
1542
+ function Ht(r, s, e = "center") {
1543
+ return new _t({ x: r, y: s, anchor: e });
1534
1544
  }
1535
- class Ie extends g {
1545
+ class Pe extends g {
1536
1546
  constructor() {
1537
1547
  super(...arguments);
1538
1548
  d(this, "type", "aspectRatio");
@@ -1542,11 +1552,11 @@ class Ie extends g {
1542
1552
  apply(e, t) {
1543
1553
  if (!t.element) return;
1544
1554
  const { ratio: i, contentMode: n } = this.properties;
1545
- typeof process < "u" && process.env.NODE_ENV === "development" && this.validateAspectRatio(i, n), i !== void 0 ? p(i) || m(i) ? b(() => {
1546
- const r = i();
1555
+ typeof process < "u" && process.env.NODE_ENV === "development" && this.validateAspectRatio(i, n), i !== void 0 ? p(i) || h(i) ? b(() => {
1556
+ const o = i();
1547
1557
  this.applyAspectRatio(
1548
1558
  t.element,
1549
- r,
1559
+ o,
1550
1560
  n
1551
1561
  );
1552
1562
  }) : this.applyAspectRatio(
@@ -1570,10 +1580,10 @@ class Ie extends g {
1570
1580
  validateAspectRatio(e, t) {
1571
1581
  if (typeof process < "u" && process.env.NODE_ENV === "development") {
1572
1582
  if (e !== void 0) {
1573
- typeof e != "number" && !p(e) && !m(e) && console.warn(
1583
+ typeof e != "number" && !p(e) && !h(e) && console.warn(
1574
1584
  `AspectRatioModifier: ratio must be a number or reactive signal. Got: ${typeof e}`
1575
1585
  );
1576
- const n = p(e) || m(e) ? e.peek?.() || e() : e;
1586
+ const n = p(e) || h(e) ? e.peek?.() || e() : e;
1577
1587
  typeof n == "number" && (n <= 0 && console.warn(
1578
1588
  `AspectRatioModifier: ratio must be positive. Got: ${n}`
1579
1589
  ), n > 100 && console.warn(
@@ -1593,7 +1603,7 @@ class Ie extends g {
1593
1603
  /**
1594
1604
  * Get common aspect ratios
1595
1605
  */
1596
- d(Ie, "COMMON_RATIOS", {
1606
+ d(Pe, "COMMON_RATIOS", {
1597
1607
  square: 1,
1598
1608
  portrait: 3 / 4,
1599
1609
  landscape: 4 / 3,
@@ -1602,13 +1612,13 @@ d(Ie, "COMMON_RATIOS", {
1602
1612
  golden: 1.618,
1603
1613
  photo: 3 / 2
1604
1614
  });
1605
- function Ht(o, s = "fit") {
1606
- return new Ie({ ratio: o, contentMode: s });
1615
+ function zt(r, s = "fit") {
1616
+ return new Pe({ ratio: r, contentMode: s });
1607
1617
  }
1608
- function Nt(o) {
1609
- return typeof getComputedStyle != "function" ? null : getComputedStyle(o);
1618
+ function Ft(r) {
1619
+ return typeof getComputedStyle != "function" ? null : getComputedStyle(r);
1610
1620
  }
1611
- class zt extends g {
1621
+ class Nt extends g {
1612
1622
  constructor() {
1613
1623
  super(...arguments);
1614
1624
  d(this, "type", "fixedSize");
@@ -1642,7 +1652,7 @@ class zt extends g {
1642
1652
  isFlexItem(e) {
1643
1653
  const t = e.parentElement;
1644
1654
  if (!t) return !1;
1645
- const i = Nt(t);
1655
+ const i = Ft(t);
1646
1656
  if (!i) return !1;
1647
1657
  const n = i.display;
1648
1658
  return n === "flex" || n === "inline-flex";
@@ -1666,33 +1676,33 @@ class zt extends g {
1666
1676
  ));
1667
1677
  }
1668
1678
  }
1669
- function Ft(o = !0, s = !0) {
1670
- return new zt({ horizontal: o, vertical: s });
1679
+ function Wt(r = !0, s = !0) {
1680
+ return new Nt({ horizontal: r, vertical: s });
1671
1681
  }
1672
- function Wt(o) {
1673
- return new pe({ frame: o });
1682
+ function jt(r) {
1683
+ return new pe({ frame: r });
1674
1684
  }
1675
- function jt(o) {
1676
- return new pe({ layoutPriority: o });
1685
+ function Ut(r) {
1686
+ return new pe({ layoutPriority: r });
1677
1687
  }
1678
- function Ut(o, s) {
1688
+ function Gt(r, s) {
1679
1689
  return new pe({
1680
1690
  position: {
1681
- x: o,
1691
+ x: r,
1682
1692
  y: s
1683
1693
  }
1684
1694
  });
1685
1695
  }
1686
- function Gt() {
1687
- return new We({});
1688
- }
1689
1696
  function Kt() {
1697
+ return new je({});
1698
+ }
1699
+ function Yt() {
1690
1700
  return typeof document < "u";
1691
1701
  }
1692
- function ce(o) {
1693
- return typeof getComputedStyle != "function" ? null : getComputedStyle(o);
1702
+ function ce(r) {
1703
+ return typeof getComputedStyle != "function" ? null : getComputedStyle(r);
1694
1704
  }
1695
- class Yt extends g {
1705
+ class Xt extends g {
1696
1706
  constructor() {
1697
1707
  super(...arguments);
1698
1708
  d(this, "type", "position");
@@ -1706,7 +1716,7 @@ class Yt extends g {
1706
1716
  this.applyCoordinatePosition(t.element, i);
1707
1717
  return;
1708
1718
  }
1709
- p(i) || m(i) ? b(() => {
1719
+ p(i) || h(i) ? b(() => {
1710
1720
  const n = i();
1711
1721
  this.applyPosition(t.element, n);
1712
1722
  }) : this.applyPosition(t.element, i);
@@ -1715,13 +1725,13 @@ class Yt extends g {
1715
1725
  return typeof e == "object" && e !== null && "x" in e && "y" in e;
1716
1726
  }
1717
1727
  applyCoordinatePosition(e, t) {
1718
- const i = (n, r) => {
1719
- e.style.position = "absolute", e.style.left = `${n}px`, e.style.top = `${r}px`, this.applyPositionOptimizations(e, "absolute");
1728
+ const i = (n, o) => {
1729
+ e.style.position = "absolute", e.style.left = `${n}px`, e.style.top = `${o}px`, this.applyPositionOptimizations(e, "absolute");
1720
1730
  };
1721
- if (p(t.x) || m(t.x) || p(t.y) || m(t.y)) {
1731
+ if (p(t.x) || h(t.x) || p(t.y) || h(t.y)) {
1722
1732
  b(() => {
1723
- const n = p(t.x) || m(t.x) ? t.x() : t.x, r = p(t.y) || m(t.y) ? t.y() : t.y;
1724
- i(n, r);
1733
+ const n = p(t.x) || h(t.x) ? t.x() : t.x, o = p(t.y) || h(t.y) ? t.y() : t.y;
1734
+ i(n, o);
1725
1735
  });
1726
1736
  return;
1727
1737
  }
@@ -1753,7 +1763,7 @@ class Yt extends g {
1753
1763
  (t === "absolute" || t === "fixed") && (e.style.zIndex || (e.style.zIndex = "0"), e.style.transform || (e.style.transform = "translateZ(0)"));
1754
1764
  }
1755
1765
  warnIfMissingPositionedParent(e) {
1756
- if (!Kt()) return;
1766
+ if (!Yt()) return;
1757
1767
  let t = e.parentElement, i = !1;
1758
1768
  for (; t && t !== document.body; ) {
1759
1769
  const n = ce(t);
@@ -1787,7 +1797,7 @@ class Yt extends g {
1787
1797
  */
1788
1798
  validatePosition(e) {
1789
1799
  if (typeof process < "u" && process.env.NODE_ENV === "development") {
1790
- const t = p(e) || m(e);
1800
+ const t = p(e) || h(e);
1791
1801
  if (this.isCoordinatePosition(e))
1792
1802
  return;
1793
1803
  if (!t && typeof e != "string") {
@@ -1812,16 +1822,16 @@ class Yt extends g {
1812
1822
  }
1813
1823
  }
1814
1824
  }
1815
- function Xt(o) {
1816
- return new Yt({ position: o });
1825
+ function Zt(r) {
1826
+ return new Xt({ position: r });
1817
1827
  }
1818
- function Zt() {
1828
+ function qt() {
1819
1829
  return typeof getComputedStyle == "function";
1820
1830
  }
1821
- function ne(o) {
1822
- return Zt() ? getComputedStyle(o) : null;
1831
+ function ne(r) {
1832
+ return qt() ? getComputedStyle(r) : null;
1823
1833
  }
1824
- class Pe extends g {
1834
+ class $e extends g {
1825
1835
  constructor() {
1826
1836
  super(...arguments);
1827
1837
  d(this, "type", "zIndex");
@@ -1831,7 +1841,7 @@ class Pe extends g {
1831
1841
  apply(e, t) {
1832
1842
  if (!t.element) return;
1833
1843
  const { zIndex: i } = this.properties;
1834
- typeof process < "u" && process.env.NODE_ENV === "development" && this.validateZIndex(i), p(i) || m(i) ? b(() => {
1844
+ typeof process < "u" && process.env.NODE_ENV === "development" && this.validateZIndex(i), p(i) || h(i) ? b(() => {
1835
1845
  const n = i();
1836
1846
  this.applyZIndex(t.element, n);
1837
1847
  }) : this.applyZIndex(t.element, i);
@@ -1842,8 +1852,8 @@ class Pe extends g {
1842
1852
  ensureStackingContext(e, t) {
1843
1853
  const i = ne(e);
1844
1854
  if (!i) return;
1845
- const r = i.position !== "static", a = this.isFlexItem(e), l = this.isGridItem(e);
1846
- !r && !a && !l && (e.style.position = "relative", typeof process < "u" && process.env.NODE_ENV === "development" && console.info(
1855
+ const o = i.position !== "static", a = this.isFlexItem(e), l = this.isGridItem(e);
1856
+ !o && !a && !l && (e.style.position = "relative", typeof process < "u" && process.env.NODE_ENV === "development" && console.info(
1847
1857
  "ZIndexModifier: Set position: relative on element to enable z-index stacking"
1848
1858
  )), typeof process < "u" && process.env.NODE_ENV === "development" && this.provideStackingInsights(e, t);
1849
1859
  }
@@ -1891,10 +1901,10 @@ class Pe extends g {
1891
1901
  value: t.mixBlendMode,
1892
1902
  creates: t.mixBlendMode !== "normal"
1893
1903
  }
1894
- ].filter((r) => r.creates);
1904
+ ].filter((o) => o.creates);
1895
1905
  n.length > 0 && console.info(
1896
1906
  "ZIndexModifier: Element creates new stacking context due to:",
1897
- n.map((r) => `${r.prop}: ${r.value}`).join(", ")
1907
+ n.map((o) => `${o.prop}: ${o.value}`).join(", ")
1898
1908
  );
1899
1909
  }
1900
1910
  /**
@@ -1902,7 +1912,7 @@ class Pe extends g {
1902
1912
  */
1903
1913
  validateZIndex(e) {
1904
1914
  if (typeof process < "u" && process.env.NODE_ENV === "development") {
1905
- const t = p(e) || m(e);
1915
+ const t = p(e) || h(e);
1906
1916
  if (!t && typeof e != "number") {
1907
1917
  console.warn(
1908
1918
  `ZIndexModifier: zIndex must be a number or reactive signal. Got: ${typeof e}`
@@ -1921,7 +1931,7 @@ class Pe extends g {
1921
1931
  /**
1922
1932
  * Common z-index values for semantic layering
1923
1933
  */
1924
- d(Pe, "COMMON_LAYERS", {
1934
+ d($e, "COMMON_LAYERS", {
1925
1935
  background: -1,
1926
1936
  base: 0,
1927
1937
  content: 1,
@@ -1933,32 +1943,35 @@ d(Pe, "COMMON_LAYERS", {
1933
1943
  toast: 600,
1934
1944
  debug: 9999
1935
1945
  });
1936
- function qt(o) {
1937
- return new Pe({ zIndex: o });
1946
+ function Jt(r) {
1947
+ return new $e({ zIndex: r });
1938
1948
  }
1939
- function $(o) {
1940
- return typeof HTMLElement < "u" && o instanceof HTMLElement;
1949
+ function $(r) {
1950
+ return typeof HTMLElement < "u" && r instanceof HTMLElement;
1941
1951
  }
1942
- function F(o) {
1943
- return typeof o == "object" && o !== null && "style" in o && !!o.style;
1952
+ function N(r) {
1953
+ return typeof r == "object" && r !== null && "style" in r && !!r.style;
1944
1954
  }
1945
- function re() {
1955
+ function oe() {
1946
1956
  return typeof document < "u";
1947
1957
  }
1948
- function Jt() {
1958
+ function Qt() {
1949
1959
  return typeof window < "u";
1950
1960
  }
1951
1961
  class w {
1952
1962
  constructor(s) {
1953
1963
  this.properties = s;
1954
1964
  }
1965
+ getStaticCSS(s) {
1966
+ return [];
1967
+ }
1955
1968
  /**
1956
1969
  * Helper to resolve reactive properties
1957
1970
  */
1958
1971
  resolveReactiveProps(s, e) {
1959
1972
  const t = {};
1960
1973
  for (const [i, n] of Object.entries(s))
1961
- p(n) || m(n), t[i] = n;
1974
+ p(n) || h(n), t[i] = n;
1962
1975
  return t;
1963
1976
  }
1964
1977
  /**
@@ -1968,15 +1981,15 @@ class w {
1968
1981
  const i = typeof HTMLElement < "u" && s instanceof HTMLElement;
1969
1982
  if (!i && !s.style)
1970
1983
  return;
1971
- const n = this.toCSSProperty(e), r = s.style, a = (l) => {
1984
+ const n = this.toCSSProperty(e), o = s.style, a = (l) => {
1972
1985
  if (l.includes("!important")) {
1973
1986
  const c = l.replace(/\s*!important\s*$/, "").trim();
1974
- r.setProperty(n, c, "important");
1987
+ o.setProperty(n, c, "important");
1975
1988
  return;
1976
1989
  }
1977
- r.setProperty(n, l);
1990
+ o.setProperty(n, l);
1978
1991
  };
1979
- if (p(t) || m(t)) {
1992
+ if (p(t) || h(t)) {
1980
1993
  b(() => {
1981
1994
  const l = t();
1982
1995
  a(String(l));
@@ -2029,24 +2042,12 @@ class w {
2029
2042
  const t = typeof HTMLElement < "u" && s instanceof HTMLElement;
2030
2043
  if (t || s.style) {
2031
2044
  const i = s.style;
2032
- for (const [n, r] of Object.entries(e))
2033
- if (r !== void 0) {
2045
+ for (const [n, o] of Object.entries(e))
2046
+ if (o !== void 0) {
2034
2047
  const a = this.toCSSProperty(n);
2035
- if (p(r) || m(r) || this.isAssetValue(r))
2036
- console.log(
2037
- "BaseModifier applyStyles - creating reactive effect for property:",
2038
- a,
2039
- "value type:",
2040
- typeof r
2041
- ), b(() => {
2042
- const l = this.isAssetValue(r) ? (j()(), r.resolve()) : r();
2043
- console.log(
2044
- "BaseModifier reactive effect fired - property:",
2045
- a,
2046
- "currentValue:",
2047
- l
2048
- );
2049
- const c = this.toCSSValueForProperty(
2048
+ if (p(o) || h(o) || this.isAssetValue(o))
2049
+ b(() => {
2050
+ const l = this.isAssetValue(o) ? (j()(), o.resolve()) : o(), c = this.toCSSValueForProperty(
2050
2051
  a,
2051
2052
  l
2052
2053
  );
@@ -2060,8 +2061,8 @@ class w {
2060
2061
  i[a] = c;
2061
2062
  });
2062
2063
  else {
2063
- const l = this.toCSSValueForProperty(a, r);
2064
- if (process.env.NODE_ENV === "development" && a === "font-family" && (console.log("[AppearanceModifier.applyStyles] Setting font-family property:", a, "value:", l), console.log("[AppearanceModifier.applyStyles] Element:", s), typeof getComputedStyle == "function" && console.log("[AppearanceModifier.applyStyles] Current computed font-family:", getComputedStyle(s).fontFamily)), i.setProperty)
2064
+ const l = this.toCSSValueForProperty(a, o);
2065
+ if (i.setProperty)
2065
2066
  if (typeof l == "string" && l.includes("!important")) {
2066
2067
  const c = l.replace(/\s*!important\s*$/, "").trim();
2067
2068
  i.setProperty(a, c, "important");
@@ -2098,7 +2099,7 @@ class w {
2098
2099
  };
2099
2100
  }
2100
2101
  }
2101
- class mr extends w {
2102
+ class mo extends w {
2102
2103
  constructor() {
2103
2104
  super(...arguments);
2104
2105
  d(this, "type", "layout");
@@ -2115,36 +2116,36 @@ class mr extends w {
2115
2116
  i
2116
2117
  );
2117
2118
  this.applyStyles(t.element, n);
2118
- const r = this.properties;
2119
- r.offset && $(t.element) && this.applyOffsetTransform(t.element, r.offset), r.aspectRatio && $(t.element) && this.applyAspectRatio(t.element, r.aspectRatio), r.scaleEffect && $(t.element) && this.applyScaleTransform(t.element, r.scaleEffect), r.position && $(t.element) && this.applyAbsolutePosition(t.element, r.position), r.zIndex !== void 0 && $(t.element) && this.applyZIndex(t.element, r.zIndex);
2119
+ const o = this.properties;
2120
+ o.offset && $(t.element) && this.applyOffsetTransform(t.element, o.offset), o.aspectRatio && $(t.element) && this.applyAspectRatio(t.element, o.aspectRatio), o.scaleEffect && $(t.element) && this.applyScaleTransform(t.element, o.scaleEffect), o.position && $(t.element) && this.applyAbsolutePosition(t.element, o.position), o.zIndex !== void 0 && $(t.element) && this.applyZIndex(t.element, o.zIndex);
2120
2121
  }
2121
2122
  applyOffsetTransform(e, t) {
2122
2123
  const { x: i, y: n } = t;
2123
- if (p(i) || m(i) || p(n) || m(n))
2124
+ if (p(i) || h(i) || p(n) || h(n))
2124
2125
  b(() => {
2125
- const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, h = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = h ? `${h} ${u}` : u;
2126
+ const o = p(i) || h(i) ? i() : i ?? 0, a = p(n) || h(n) ? n() : n ?? 0, l = this.toCSSValue(o), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, m = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = m ? `${m} ${u}` : u;
2126
2127
  e.style.transform = y;
2127
2128
  });
2128
2129
  else {
2129
- const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, h = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = h ? `${h} ${u}` : u;
2130
+ const o = i ?? 0, a = n ?? 0, l = this.toCSSValue(o), c = this.toCSSValue(a), u = `translate(${l}, ${c})`, m = (e.style.transform || "").split(" ").filter((v) => v && !v.startsWith("translate(")).join(" "), y = m ? `${m} ${u}` : u;
2130
2131
  e.style.transform = y;
2131
2132
  }
2132
2133
  }
2133
2134
  applyAspectRatio(e, t) {
2134
2135
  const { ratio: i, contentMode: n } = t;
2135
- i !== void 0 && (p(i) || m(i) ? b(() => {
2136
- const r = typeof i == "function" ? i() : i;
2137
- e.style.aspectRatio = String(r);
2136
+ i !== void 0 && (p(i) || h(i) ? b(() => {
2137
+ const o = typeof i == "function" ? i() : i;
2138
+ e.style.aspectRatio = String(o);
2138
2139
  }) : e.style.aspectRatio = String(i), n === "fill" ? e.style.objectFit = "cover" : e.style.objectFit = "contain");
2139
2140
  }
2140
2141
  // Phase 3 - Epic: Butternut Transform Methods
2141
2142
  applyScaleTransform(e, t) {
2142
- const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
2143
- if (p(a) || m(a) || p(l) || m(l))
2143
+ const { x: i, y: n, anchor: o } = t, a = i ?? 1, l = n ?? a;
2144
+ if (p(a) || h(a) || p(l) || h(l))
2144
2145
  b(() => {
2145
- const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l, f = `scale(${c}, ${u})`;
2146
+ const c = p(a) || h(a) ? a() : a, u = p(l) || h(l) ? l() : l, f = `scale(${c}, ${u})`;
2146
2147
  e.style.transformOrigin = this.getTransformOrigin(
2147
- r || "center"
2148
+ o || "center"
2148
2149
  );
2149
2150
  const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${f}` : f;
2150
2151
  e.style.transform = v;
@@ -2152,26 +2153,26 @@ class mr extends w {
2152
2153
  else {
2153
2154
  const c = `scale(${a}, ${l})`;
2154
2155
  e.style.transformOrigin = this.getTransformOrigin(
2155
- r || "center"
2156
+ o || "center"
2156
2157
  );
2157
- const f = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), h = f ? `${f} ${c}` : c;
2158
- e.style.transform = h;
2158
+ const f = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), m = f ? `${f} ${c}` : c;
2159
+ e.style.transform = m;
2159
2160
  }
2160
2161
  }
2161
2162
  applyAbsolutePosition(e, t) {
2162
2163
  const { x: i, y: n } = t;
2163
- if (e.style.position = "absolute", p(i) || m(i) || p(n) || m(n))
2164
+ if (e.style.position = "absolute", p(i) || h(i) || p(n) || h(n))
2164
2165
  b(() => {
2165
- const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0;
2166
- e.style.left = this.toCSSValue(r), e.style.top = this.toCSSValue(a);
2166
+ const o = p(i) || h(i) ? i() : i ?? 0, a = p(n) || h(n) ? n() : n ?? 0;
2167
+ e.style.left = this.toCSSValue(o), e.style.top = this.toCSSValue(a);
2167
2168
  });
2168
2169
  else {
2169
- const r = i ?? 0, a = n ?? 0;
2170
- e.style.left = this.toCSSValue(r), e.style.top = this.toCSSValue(a);
2170
+ const o = i ?? 0, a = n ?? 0;
2171
+ e.style.left = this.toCSSValue(o), e.style.top = this.toCSSValue(a);
2171
2172
  }
2172
2173
  }
2173
2174
  applyZIndex(e, t) {
2174
- p(t) || m(t) ? b(() => {
2175
+ p(t) || h(t) ? b(() => {
2175
2176
  const i = t();
2176
2177
  e.style.zIndex = String(i);
2177
2178
  }) : e.style.zIndex = String(t);
@@ -2192,31 +2193,31 @@ class mr extends w {
2192
2193
  computeLayoutStyles(e, t) {
2193
2194
  const i = {};
2194
2195
  if (e.frame) {
2195
- const n = e.frame, r = ue(n);
2196
- if (Object.assign(i, r.cssProps), n.width !== void 0) {
2196
+ const n = e.frame, o = ue(n);
2197
+ if (Object.assign(i, o.cssProps), n.width !== void 0) {
2197
2198
  const a = L(n.width);
2198
- a !== void 0 && !A(n.width) && !r.expandWidth && (i.width = a);
2199
+ a !== void 0 && !k(n.width) && !o.expandWidth && (i.width = a);
2199
2200
  }
2200
2201
  if (n.height !== void 0) {
2201
2202
  const a = L(n.height);
2202
- a !== void 0 && !A(n.height) && !r.expandHeight && (i.height = a);
2203
+ a !== void 0 && !k(n.height) && !o.expandHeight && (i.height = a);
2203
2204
  }
2204
2205
  if (n.minWidth !== void 0) {
2205
2206
  const a = L(n.minWidth);
2206
2207
  a !== void 0 && (i.minWidth = a);
2207
2208
  }
2208
- if (n.maxWidth !== void 0 && !A(n.maxWidth)) {
2209
+ if (n.maxWidth !== void 0 && !k(n.maxWidth)) {
2209
2210
  const a = L(n.maxWidth);
2210
2211
  a !== void 0 && (i.maxWidth = a);
2211
- } else A(n.maxWidth) && (i.maxWidth = "none", i.flexGrow = "1 !important", i.flexShrink = "1 !important", i.flexBasis = "0% !important", i.alignSelf = "stretch !important");
2212
+ } else k(n.maxWidth) && (i.maxWidth = "none", i.flexGrow = "1 !important", i.flexShrink = "1 !important", i.flexBasis = "0% !important", i.alignSelf = "stretch !important");
2212
2213
  if (n.minHeight !== void 0) {
2213
2214
  const a = L(n.minHeight);
2214
2215
  a !== void 0 && (i.minHeight = a);
2215
2216
  }
2216
- if (n.maxHeight !== void 0 && !A(n.maxHeight)) {
2217
+ if (n.maxHeight !== void 0 && !k(n.maxHeight)) {
2217
2218
  const a = L(n.maxHeight);
2218
2219
  a !== void 0 && (i.maxHeight = a);
2219
- } else A(n.maxHeight) && (i.maxHeight = "none", i.flexGrow = "1 !important", i.flexShrink = "1 !important", i.flexBasis = "0% !important", i.alignSelf = "stretch !important");
2220
+ } else k(n.maxHeight) && (i.maxHeight = "none", i.flexGrow = "1 !important", i.flexShrink = "1 !important", i.flexBasis = "0% !important", i.alignSelf = "stretch !important");
2220
2221
  }
2221
2222
  if (e.padding !== void 0)
2222
2223
  if (typeof e.padding == "number")
@@ -2255,27 +2256,25 @@ class mr extends w {
2255
2256
  n > 0 ? (i.flexShrink = "0", i.flexGrow = String(Math.max(1, n / 10)), i.zIndex = String(n), i.gridRowEnd = `span ${String(Math.min(10, Math.max(1, Math.ceil(n / 10))))}`, i.gridColumnEnd = `span ${String(Math.min(10, Math.max(1, Math.ceil(n / 10))))}`) : n === 0 ? (i.flexShrink = "1", i.flexGrow = "1") : (i.flexShrink = String(Math.abs(n)), i.flexGrow = "0", i.zIndex = String(n)), i && typeof i == "object" && "setProperty" in i && i.setProperty("--layout-priority", String(n));
2256
2257
  }
2257
2258
  if (e.offset, e.aspectRatio) {
2258
- const { ratio: n, contentMode: r } = e.aspectRatio;
2259
- n !== void 0 && (i.aspectRatio = typeof n == "number" ? String(n) : n, r === "fill" ? i.objectFit = "cover" : i.objectFit = "contain");
2259
+ const { ratio: n, contentMode: o } = e.aspectRatio;
2260
+ n !== void 0 && (i.aspectRatio = typeof n == "number" ? String(n) : n, o === "fill" ? i.objectFit = "cover" : i.objectFit = "contain");
2260
2261
  }
2261
2262
  if (e.fixedSize) {
2262
- const { horizontal: n, vertical: r } = e.fixedSize;
2263
- n && (i.flexShrink = "0", i.width = "max-content"), r && (i.flexShrink = "0", i.height = "max-content");
2263
+ const { horizontal: n, vertical: o } = e.fixedSize;
2264
+ n && (i.flexShrink = "0", i.width = "max-content"), o && (i.flexShrink = "0", i.height = "max-content");
2264
2265
  }
2265
2266
  return i;
2266
2267
  }
2267
2268
  }
2268
- class hr extends w {
2269
+ class yo extends w {
2269
2270
  constructor() {
2270
2271
  super(...arguments);
2271
2272
  d(this, "type", "appearance");
2272
2273
  d(this, "priority", V.APPEARANCE);
2273
2274
  }
2274
2275
  apply(e, t) {
2275
- if (process.env.NODE_ENV === "development" && console.log("[AppearanceModifier.apply] Called with properties:", Object.keys(this.properties)), !e.element || !t.element) {
2276
- process.env.NODE_ENV === "development" && console.log("[AppearanceModifier.apply] Early return - no element", { hasNodeElement: !!e.element, hasContextElement: !!t.element });
2276
+ if (!e.element || !t.element)
2277
2277
  return;
2278
- }
2279
2278
  const i = this.createStyleContext(
2280
2279
  t.componentId,
2281
2280
  t.element,
@@ -2285,12 +2284,12 @@ class hr extends w {
2285
2284
  i
2286
2285
  );
2287
2286
  this.applyAssetBasedStyles(t.element, n);
2288
- let r = this.computeAppearanceStyles(n);
2289
- if (r.fontFamily || r.fontSize || r.fontWeight || r.fontStyle) {
2290
- const l = t.element.style, c = { ...r };
2291
- !r.fontFamily && l.fontFamily && (c.fontFamily = l.fontFamily, process.env.NODE_ENV === "development" && console.log("[AppearanceModifier.apply] Preserved existing fontFamily:", l.fontFamily)), !r.fontSize && l.fontSize && (c.fontSize = l.fontSize, process.env.NODE_ENV === "development" && console.log("[AppearanceModifier.apply] Preserved existing fontSize:", l.fontSize)), !r.fontWeight && l.fontWeight && (c.fontWeight = l.fontWeight, process.env.NODE_ENV === "development" && console.log("[AppearanceModifier.apply] Preserved existing fontWeight:", l.fontWeight)), !r.fontStyle && l.fontStyle && (c.fontStyle = l.fontStyle, process.env.NODE_ENV === "development" && console.log("[AppearanceModifier.apply] Preserved existing fontStyle:", l.fontStyle)), r = c;
2287
+ let o = this.computeAppearanceStyles(n);
2288
+ if (o.fontFamily || o.fontSize || o.fontWeight || o.fontStyle) {
2289
+ const l = t.element.style, c = { ...o };
2290
+ !o.fontFamily && l.fontFamily && (c.fontFamily = l.fontFamily), !o.fontSize && l.fontSize && (c.fontSize = l.fontSize), !o.fontWeight && l.fontWeight && (c.fontWeight = l.fontWeight), !o.fontStyle && l.fontStyle && (c.fontStyle = l.fontStyle), o = c;
2292
2291
  }
2293
- process.env.NODE_ENV === "development" && (console.log("[AppearanceModifier.apply] Final merged styles:", r), console.log("[AppearanceModifier.apply] fontFamily in final styles?", "fontFamily" in r, "fontFamily value:", r.fontFamily)), this.applyStyles(t.element, r), this.applyAttributes(t.element, n);
2292
+ this.applyStyles(t.element, o), this.applyAttributes(t.element, n);
2294
2293
  }
2295
2294
  /**
2296
2295
  * Apply Asset-based styles with theme reactivity
@@ -2320,14 +2319,13 @@ class hr extends w {
2320
2319
  computeAppearanceStyles(e) {
2321
2320
  const t = {};
2322
2321
  if (e.foregroundColor && !this.isAsset(e.foregroundColor) && (t.color = e.foregroundColor), e.backgroundColor && !this.isAsset(e.backgroundColor) && (t.backgroundColor = e.backgroundColor), e.opacity !== void 0 && (t.opacity = e.opacity), e.font) {
2323
- process.env.NODE_ENV === "development" && (console.log("[AppearanceModifier] Processing font, keys:", Object.keys(e.font)), console.log("[AppearanceModifier] font.family:", e.font.family), console.log("[AppearanceModifier] font.size:", e.font.size), console.log("[AppearanceModifier] font.weight:", e.font.weight));
2324
2322
  const n = e.font;
2325
2323
  if (n.family)
2326
2324
  if (typeof n.family == "object" && n.family !== null && "resolve" in n.family) {
2327
- const r = n.family.resolve();
2328
- process.env.NODE_ENV === "development" && console.log("[AppearanceModifier] Resolved font.family:", r), t.fontFamily = r, process.env.NODE_ENV === "development" && console.log("[AppearanceModifier] Set styles.fontFamily to:", t.fontFamily);
2325
+ const o = n.family.resolve();
2326
+ t.fontFamily = o;
2329
2327
  } else
2330
- process.env.NODE_ENV === "development" && console.log("[AppearanceModifier] Using font.family as string:", n.family), t.fontFamily = n.family, process.env.NODE_ENV === "development" && console.log("[AppearanceModifier] Set styles.fontFamily to:", t.fontFamily);
2328
+ t.fontFamily = n.family;
2331
2329
  n.size && (t.fontSize = this.toCSSValue(n.size)), n.weight && (t.fontWeight = String(n.weight)), n.style && (t.fontStyle = n.style);
2332
2330
  }
2333
2331
  if (e.cornerRadius !== void 0 && (t.borderRadius = this.toCSSValue(e.cornerRadius)), e.border) {
@@ -2335,34 +2333,34 @@ class hr extends w {
2335
2333
  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);
2336
2334
  }
2337
2335
  if (e.shadow) {
2338
- 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, u = n.color || "rgba(0,0,0,0.25)";
2339
- t.boxShadow = c !== 0 ? `${r}px ${a}px ${l}px ${c}px ${u}` : `${r}px ${a}px ${l}px ${u}`;
2336
+ const n = e.shadow, o = n.x || 0, a = n.y || 0, l = n.blur !== void 0 ? n.blur : n.radius || 0, c = n.spread || 0, u = n.color || "rgba(0,0,0,0.25)";
2337
+ t.boxShadow = c !== 0 ? `${o}px ${a}px ${l}px ${c}px ${u}` : `${o}px ${a}px ${l}px ${u}`;
2340
2338
  }
2341
2339
  if (e.clipped && (t.overflow = "hidden"), e.clipShape) {
2342
- const { shape: n, parameters: r } = e.clipShape;
2340
+ const { shape: n, parameters: o } = e.clipShape;
2343
2341
  switch (n) {
2344
2342
  case "circle":
2345
2343
  t.clipPath = "circle(50%)";
2346
2344
  break;
2347
2345
  case "ellipse": {
2348
- const a = r?.radiusX || "50%", l = r?.radiusY || "50%";
2346
+ const a = o?.radiusX || "50%", l = o?.radiusY || "50%";
2349
2347
  t.clipPath = `ellipse(${a} ${l} at center)`;
2350
2348
  break;
2351
2349
  }
2352
2350
  case "rect": {
2353
- const a = r?.inset || 0;
2351
+ const a = o?.inset || 0;
2354
2352
  t.clipPath = `inset(${a}px)`;
2355
2353
  break;
2356
2354
  }
2357
2355
  case "polygon": {
2358
- const a = r?.points || "0% 0%, 100% 0%, 100% 100%, 0% 100%";
2356
+ const a = o?.points || "0% 0%, 100% 0%, 100% 100%, 0% 100%";
2359
2357
  t.clipPath = `polygon(${a})`;
2360
2358
  break;
2361
2359
  }
2362
2360
  }
2363
2361
  }
2364
2362
  const i = [];
2365
- 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(" ")), process.env.NODE_ENV === "development" && (console.log("[AppearanceModifier.computeAppearanceStyles] Returning styles object:", t), console.log("[AppearanceModifier.computeAppearanceStyles] fontFamily in styles?", "fontFamily" in t, "fontFamily value:", t.fontFamily)), t;
2363
+ 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;
2366
2364
  }
2367
2365
  /**
2368
2366
  * Apply HTML attributes (ARIA, role, data attributes, etc.)
@@ -2406,18 +2404,18 @@ class C extends w {
2406
2404
  }), i.onTouchCancel && t.element.addEventListener("touchcancel", i.onTouchCancel, {
2407
2405
  passive: !0
2408
2406
  }), i.onSwipeLeft || i.onSwipeRight) {
2409
- let n = 0, r = 0;
2407
+ let n = 0, o = 0;
2410
2408
  t.element.addEventListener(
2411
2409
  "touchstart",
2412
2410
  (a) => {
2413
2411
  const c = a.touches[0];
2414
- n = c.clientX, r = c.clientY;
2412
+ n = c.clientX, o = c.clientY;
2415
2413
  },
2416
2414
  { passive: !0 }
2417
2415
  ), t.element.addEventListener(
2418
2416
  "touchend",
2419
2417
  (a) => {
2420
- const c = a.changedTouches[0], u = c.clientX - n, f = c.clientY - r;
2418
+ const c = a.changedTouches[0], u = c.clientX - n, f = c.clientY - o;
2421
2419
  Math.abs(u) > Math.abs(f) && Math.abs(u) > 50 && (u < 0 && i.onSwipeLeft ? i.onSwipeLeft() : u > 0 && i.onSwipeRight && i.onSwipeRight());
2422
2420
  },
2423
2421
  { passive: !0 }
@@ -2428,15 +2426,15 @@ class C extends w {
2428
2426
  }), i.onWheel && t.element.addEventListener("wheel", i.onWheel, {
2429
2427
  passive: !1
2430
2428
  }), i.onInput && t.element.addEventListener("input", i.onInput), i.onChange && t.element.addEventListener("change", (n) => {
2431
- const r = n.target, a = r.value || r.textContent || "";
2429
+ const o = n.target, a = o.value || o.textContent || "";
2432
2430
  i.onChange(a, n);
2433
2431
  }), i.onCopy && t.element.addEventListener("copy", i.onCopy), i.onCut && t.element.addEventListener("cut", i.onCut), i.onPaste && t.element.addEventListener("paste", i.onPaste), i.onSelect && t.element.addEventListener("select", i.onSelect), i.disabled !== void 0 && $(t.element)) {
2434
- const n = t.element, r = (a) => {
2432
+ const n = t.element, o = (a) => {
2435
2433
  a ? (n.setAttribute("disabled", "true"), n.style.pointerEvents = "none", n.style.opacity = "0.6") : (n.removeAttribute("disabled"), n.style.pointerEvents = "", n.style.opacity = "");
2436
2434
  };
2437
- p(i.disabled) || m(i.disabled) ? b(() => {
2438
- r(!!i.disabled());
2439
- }) : r(!!i.disabled);
2435
+ p(i.disabled) || h(i.disabled) ? b(() => {
2436
+ o(!!i.disabled());
2437
+ }) : o(!!i.disabled);
2440
2438
  }
2441
2439
  i.draggable !== void 0 && $(t.element) && (t.element.draggable = i.draggable), i.accessibilityLabel && t.element.setAttribute("aria-label", i.accessibilityLabel), i.accessibilityHint && t.element.setAttribute("aria-describedby", i.accessibilityHint), i.onLongPressGesture && this.setupLongPressGesture(t.element, i.onLongPressGesture), i.keyboardShortcut && this.setupKeyboardShortcut(t.element, i.keyboardShortcut), i.focused !== void 0 && this.setupFocusManagement(t.element, i.focused), i.focusable && this.setupFocusable(t.element, i.focusable), i.onContinuousHover && this.setupContinuousHover(t.element, i.onContinuousHover), i.allowsHitTesting !== void 0 && this.setupHitTesting(t.element, i.allowsHitTesting);
2442
2440
  }
@@ -2446,12 +2444,12 @@ class C extends w {
2446
2444
  */
2447
2445
  setupLongPressGesture(e, t) {
2448
2446
  const i = t.minimumDuration ?? 500, n = t.maximumDistance ?? 10;
2449
- let r, a = null, l = !1;
2447
+ let o, a = null, l = !1;
2450
2448
  const c = () => {
2451
- r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
2449
+ o && (clearTimeout(o), o = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
2452
2450
  }, u = (v) => {
2453
2451
  const S = v;
2454
- a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = (Jt() ? window.setTimeout : setTimeout)(() => {
2452
+ a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), o = (Qt() ? window.setTimeout : setTimeout)(() => {
2455
2453
  l && a && (t.perform(), c());
2456
2454
  }, i);
2457
2455
  }, f = (v) => {
@@ -2460,12 +2458,12 @@ class C extends w {
2460
2458
  Math.sqrt(
2461
2459
  Math.pow(S.clientX - a.x, 2) + Math.pow(S.clientY - a.y, 2)
2462
2460
  ) > n && c();
2463
- }, h = () => {
2461
+ }, m = () => {
2464
2462
  c();
2465
2463
  }, y = () => {
2466
2464
  c();
2467
2465
  };
2468
- e.addEventListener("pointerdown", u), e.addEventListener("pointermove", f), e.addEventListener("pointerup", h), e.addEventListener(
2466
+ e.addEventListener("pointerdown", u), e.addEventListener("pointermove", f), e.addEventListener("pointerup", m), e.addEventListener(
2469
2467
  "pointercancel",
2470
2468
  y
2471
2469
  ), e._longPressCleanup = c;
@@ -2474,24 +2472,24 @@ class C extends w {
2474
2472
  * Setup keyboard shortcut handling
2475
2473
  */
2476
2474
  setupKeyboardShortcut(e, t) {
2477
- const i = t.modifiers ?? [], n = (r) => {
2475
+ const i = t.modifiers ?? [], n = (o) => {
2478
2476
  const a = {
2479
2477
  cmd: i.includes("cmd") || i.includes("meta"),
2480
2478
  ctrl: i.includes("ctrl"),
2481
2479
  shift: i.includes("shift"),
2482
2480
  alt: i.includes("alt")
2483
2481
  }, l = {
2484
- cmd: r.metaKey || r.ctrlKey,
2482
+ cmd: o.metaKey || o.ctrlKey,
2485
2483
  // Handle both Mac (meta) and PC (ctrl)
2486
- ctrl: r.ctrlKey,
2487
- shift: r.shiftKey,
2488
- alt: r.altKey
2489
- }, c = r.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
2490
- ([f, h]) => h === l[f]
2484
+ ctrl: o.ctrlKey,
2485
+ shift: o.shiftKey,
2486
+ alt: o.altKey
2487
+ }, c = o.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
2488
+ ([f, m]) => m === l[f]
2491
2489
  );
2492
- c && u && (r.preventDefault(), t.action());
2490
+ c && u && (o.preventDefault(), t.action());
2493
2491
  };
2494
- re() && (document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
2492
+ oe() && (document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
2495
2493
  document.removeEventListener("keydown", n);
2496
2494
  });
2497
2495
  }
@@ -2501,7 +2499,7 @@ class C extends w {
2501
2499
  setupFocusManagement(e, t) {
2502
2500
  if (!$(e)) return;
2503
2501
  const i = e;
2504
- i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ? b(() => {
2502
+ i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || h(t) ? b(() => {
2505
2503
  t() ? i.focus() : i.blur();
2506
2504
  }) : t && i.focus();
2507
2505
  }
@@ -2528,13 +2526,13 @@ class C extends w {
2528
2526
  } else
2529
2527
  c = l.clientX, u = l.clientY;
2530
2528
  t.perform({ x: c, y: u });
2531
- }, r = () => {
2529
+ }, o = () => {
2532
2530
  t.perform(null);
2533
2531
  };
2534
- e.addEventListener("mousemove", n), e.addEventListener("mouseleave", r), e._continuousHoverCleanup = () => {
2532
+ e.addEventListener("mousemove", n), e.addEventListener("mouseleave", o), e._continuousHoverCleanup = () => {
2535
2533
  e.removeEventListener("mousemove", n), e.removeEventListener(
2536
2534
  "mouseleave",
2537
- r
2535
+ o
2538
2536
  );
2539
2537
  };
2540
2538
  }
@@ -2545,7 +2543,7 @@ class C extends w {
2545
2543
  $(e) && (e.style.pointerEvents = t ? "" : "none");
2546
2544
  }
2547
2545
  }
2548
- class yr extends w {
2546
+ class go extends w {
2549
2547
  constructor() {
2550
2548
  super(...arguments);
2551
2549
  d(this, "type", "animation");
@@ -2555,26 +2553,26 @@ class yr extends w {
2555
2553
  if (!t.element) return;
2556
2554
  const i = this.properties;
2557
2555
  if (i.transition) {
2558
- const n = i.transition, r = n.property || "all", a = n.duration || 300, l = n.easing || "ease", c = n.delay || 0;
2559
- F(t.element) && (t.element.style.transition = `${r} ${a}ms ${l} ${c}ms`);
2556
+ const n = i.transition, o = n.property || "all", a = n.duration || 300, l = n.easing || "ease", c = n.delay || 0;
2557
+ N(t.element) && (o === "none" ? t.element.style.transition = "none" : t.element.style.transition = `${o} ${a}ms ${l} ${c}ms`);
2560
2558
  }
2561
- if (i.animation && F(t.element)) {
2559
+ if (i.animation && N(t.element)) {
2562
2560
  const n = i.animation;
2563
2561
  if (n.keyframes && typeof document < "u") {
2564
- const r = `tachui-animation-${t.componentId}-${Date.now()}`, a = this.createKeyframeRule(
2565
- r,
2562
+ const o = `tachui-animation-${t.componentId}-${Date.now()}`, a = this.createKeyframeRule(
2563
+ o,
2566
2564
  n.keyframes
2567
2565
  );
2568
2566
  this.addKeyframesToStylesheet(a);
2569
2567
  const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1, f = n.direction || "normal";
2570
- t.element.style.animation = `${r} ${l}ms ${c} ${u} ${f}`;
2568
+ t.element.style.animation = `${o} ${l}ms ${c} ${u} ${f}`;
2571
2569
  }
2572
2570
  }
2573
- if (i.transform && F(t.element) && (p(i.transform) || m(i.transform) ? b(() => {
2571
+ if (i.transform && N(t.element) && (p(i.transform) || h(i.transform) ? b(() => {
2574
2572
  const n = i.transform();
2575
- F(t.element) && (t.element.style.transform = n);
2576
- }) : t.element.style.transform = i.transform), i.rotationEffect && F(t.element)) {
2577
- const { angle: n, anchor: r } = i.rotationEffect, l = {
2573
+ N(t.element) && (t.element.style.transform = n);
2574
+ }) : t.element.style.transform = i.transform), i.rotationEffect && N(t.element)) {
2575
+ const { angle: n, anchor: o } = i.rotationEffect, l = {
2578
2576
  center: "50% 50%",
2579
2577
  top: "50% 0%",
2580
2578
  topLeading: "0% 0%",
@@ -2584,30 +2582,37 @@ class yr extends w {
2584
2582
  bottomTrailing: "100% 100%",
2585
2583
  leading: "0% 50%",
2586
2584
  trailing: "100% 50%"
2587
- }[r || "center"] || "50% 50%", c = `rotate(${n}deg)`;
2588
- if (p(n) || m(n))
2585
+ }[o || "center"] || "50% 50%", c = `rotate(${n}deg)`;
2586
+ if (p(n) || h(n))
2589
2587
  b(() => {
2590
2588
  const f = `rotate(${typeof n == "function" ? n() : n}deg)`;
2591
- if (F(t.element)) {
2589
+ if (N(t.element)) {
2592
2590
  t.element.style.transformOrigin = l;
2593
2591
  const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${f}` : f;
2594
2592
  t.element.style.transform = v;
2595
2593
  }
2596
2594
  });
2597
- else if (F(t.element)) {
2595
+ else if (N(t.element)) {
2598
2596
  t.element.style.transformOrigin = l;
2599
- const f = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), h = f ? `${f} ${c}` : c;
2600
- t.element.style.transform = h;
2597
+ const f = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), m = f ? `${f} ${c}` : c;
2598
+ t.element.style.transform = m;
2601
2599
  }
2602
2600
  }
2603
2601
  i.overlay && $(t.element) && this.applyOverlay(t.element, i.overlay, t);
2604
2602
  }
2603
+ getStaticCSS(e) {
2604
+ return Ie(
2605
+ e,
2606
+ this.properties,
2607
+ this.createKeyframeRule.bind(this)
2608
+ );
2609
+ }
2605
2610
  applyOverlay(e, t, i) {
2606
- const { content: n, alignment: r = "center" } = t;
2607
- if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !re()) return;
2611
+ const { content: n, alignment: o = "center" } = t;
2612
+ if ((e.style.position === "" || e.style.position === "static") && (e.style.position = "relative"), !oe()) return;
2608
2613
  const a = document.createElement("div");
2609
2614
  a.style.position = "absolute", a.style.pointerEvents = "none";
2610
- const l = this.getOverlayAlignment(r);
2615
+ const l = this.getOverlayAlignment(o);
2611
2616
  if (Object.assign(a.style, l), typeof n == "function") {
2612
2617
  const c = n();
2613
2618
  if (c && typeof c.render == "function") {
@@ -2669,10 +2674,10 @@ class yr extends w {
2669
2674
  createKeyframeRule(e, t) {
2670
2675
  let i = `@keyframes ${e} {
2671
2676
  `;
2672
- for (const [n, r] of Object.entries(t)) {
2677
+ for (const [n, o] of Object.entries(t)) {
2673
2678
  i += ` ${n} {
2674
2679
  `;
2675
- for (const [a, l] of Object.entries(r)) {
2680
+ for (const [a, l] of Object.entries(o)) {
2676
2681
  const c = this.toCSSProperty(a);
2677
2682
  i += ` ${c}: ${l};
2678
2683
  `;
@@ -2683,14 +2688,14 @@ class yr extends w {
2683
2688
  return i += "}", i;
2684
2689
  }
2685
2690
  addKeyframesToStylesheet(e) {
2686
- if (!re()) return;
2691
+ if (!oe()) return;
2687
2692
  let t = document.querySelector(
2688
2693
  "#tachui-animations"
2689
2694
  );
2690
2695
  t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
2691
2696
  }
2692
2697
  }
2693
- class gr extends w {
2698
+ class vo extends w {
2694
2699
  constructor() {
2695
2700
  super(...arguments);
2696
2701
  d(this, "type", "lifecycle");
@@ -2707,8 +2712,8 @@ class gr extends w {
2707
2712
  setupLifecycleObserver(e, t) {
2708
2713
  const i = new IntersectionObserver(
2709
2714
  (n) => {
2710
- n.forEach((r) => {
2711
- r.isIntersecting && t.onAppear ? t.onAppear() : !r.isIntersecting && t.onDisappear && t.onDisappear();
2715
+ n.forEach((o) => {
2716
+ o.isIntersecting && t.onAppear ? t.onAppear() : !o.isIntersecting && t.onDisappear && t.onDisappear();
2712
2717
  });
2713
2718
  },
2714
2719
  {
@@ -2729,11 +2734,11 @@ class gr extends w {
2729
2734
  (async () => {
2730
2735
  try {
2731
2736
  if (i.aborted) return;
2732
- const r = t.operation();
2733
- r instanceof Promise && await r;
2734
- } catch (r) {
2737
+ const o = t.operation();
2738
+ o instanceof Promise && await o;
2739
+ } catch (o) {
2735
2740
  if (i.aborted) return;
2736
- console.error("TachUI Task Error:", r);
2741
+ console.error("TachUI Task Error:", o);
2737
2742
  }
2738
2743
  })(), this.addCleanup(() => {
2739
2744
  this.activeAbortController && this.activeAbortController.abort();
@@ -2741,9 +2746,9 @@ class gr extends w {
2741
2746
  }
2742
2747
  setupRefreshable(e, t) {
2743
2748
  if (!t) return;
2744
- let i = !1, n = 0, r = 0;
2749
+ let i = !1, n = 0, o = 0;
2745
2750
  const a = 70;
2746
- if (!re()) return;
2751
+ if (!oe()) return;
2747
2752
  const l = document.createElement("div");
2748
2753
  if (l.style.cssText = `
2749
2754
  position: absolute;
@@ -2771,16 +2776,16 @@ class gr extends w {
2771
2776
  const c = e.parentElement || e;
2772
2777
  $(c) && (c.style.position = "relative", c.appendChild(l));
2773
2778
  const u = (y) => {
2774
- i || (r = y.touches[0].clientY);
2779
+ i || (o = y.touches[0].clientY);
2775
2780
  }, f = (y) => {
2776
2781
  if (i) return;
2777
2782
  const v = y.touches[0].clientY;
2778
- if (n = Math.max(0, v - r), n > 20) {
2783
+ if (n = Math.max(0, v - o), n > 20) {
2779
2784
  const S = Math.min(1, n / a);
2780
2785
  l.style.opacity = String(S);
2781
2786
  }
2782
2787
  n > 0 && e.scrollTop === 0 && y.preventDefault();
2783
- }, h = async () => {
2788
+ }, m = async () => {
2784
2789
  if (!i)
2785
2790
  if (n > a) {
2786
2791
  i = !0, l.style.opacity = "1";
@@ -2798,13 +2803,13 @@ class gr extends w {
2798
2803
  passive: !0
2799
2804
  }), e.addEventListener("touchmove", f, {
2800
2805
  passive: !1
2801
- }), e.addEventListener("touchend", h, {
2806
+ }), e.addEventListener("touchend", m, {
2802
2807
  passive: !0
2803
2808
  }), this.addCleanup(() => {
2804
2809
  e.removeEventListener(
2805
2810
  "touchstart",
2806
2811
  u
2807
- ), e.removeEventListener("touchmove", f), e.removeEventListener("touchend", h), l.parentElement && l.parentElement.removeChild(l);
2812
+ ), e.removeEventListener("touchmove", f), e.removeEventListener("touchend", m), l.parentElement && l.parentElement.removeChild(l);
2808
2813
  });
2809
2814
  }
2810
2815
  addCleanup(e) {
@@ -2814,7 +2819,7 @@ class gr extends w {
2814
2819
  this.cleanupFunctions.forEach((e) => e()), this.cleanupFunctions = [];
2815
2820
  }
2816
2821
  }
2817
- class Te extends w {
2822
+ class Me extends w {
2818
2823
  constructor() {
2819
2824
  super(...arguments);
2820
2825
  d(this, "type", "overlay");
@@ -2838,9 +2843,9 @@ class Te extends w {
2838
2843
  const n = this.resolveReactive(
2839
2844
  this.properties.alignment,
2840
2845
  "center"
2841
- ), r = this.resolveReactive(this.properties.side, void 0), a = this.resolveReactive(this.properties.offset, void 0), l = this.resolveReactive(this.properties.enabled, !0);
2846
+ ), o = this.resolveReactive(this.properties.side, void 0), a = this.resolveReactive(this.properties.offset, void 0), l = this.resolveReactive(this.properties.enabled, !0);
2842
2847
  this.clearPositionStyles(e);
2843
- const c = r ?? n, u = r !== void 0 ? c : n, f = this.getOverlayAlignment(u);
2848
+ const c = o ?? n, u = o !== void 0 ? c : n, f = this.getOverlayAlignment(u);
2844
2849
  Object.assign(e.style, f), this.applyOffset(e, c, a), e.style.display = l ? "" : "none";
2845
2850
  };
2846
2851
  if (this.isReactive(this.properties.alignment) || this.isReactive(this.properties.side) || this.isReactive(this.properties.offset) || this.isReactive(this.properties.enabled)) {
@@ -2857,19 +2862,19 @@ class Te extends w {
2857
2862
  this.applyNumericOffset(e, t, i);
2858
2863
  return;
2859
2864
  }
2860
- const { x: n, y: r } = i;
2865
+ const { x: n, y: o } = i;
2861
2866
  typeof n == "number" && (e.style.left ? e.style.left = this.addPixelOffset(
2862
2867
  e.style.left,
2863
2868
  n
2864
2869
  ) : e.style.right && (e.style.right = this.addPixelOffset(
2865
2870
  e.style.right,
2866
2871
  n
2867
- ))), typeof r == "number" && (e.style.top ? e.style.top = this.addPixelOffset(
2872
+ ))), typeof o == "number" && (e.style.top ? e.style.top = this.addPixelOffset(
2868
2873
  e.style.top,
2869
- r
2874
+ o
2870
2875
  ) : e.style.bottom && (e.style.bottom = this.addPixelOffset(
2871
2876
  e.style.bottom,
2872
- r
2877
+ o
2873
2878
  )));
2874
2879
  }
2875
2880
  applyNumericOffset(e, t, i) {
@@ -2899,10 +2904,10 @@ class Te extends w {
2899
2904
  e.style.top = "", e.style.right = "", e.style.bottom = "", e.style.left = "", e.style.transform = "";
2900
2905
  }
2901
2906
  isReactive(e) {
2902
- return !!(e && (p(e) || m(e)));
2907
+ return !!(e && (p(e) || h(e)));
2903
2908
  }
2904
2909
  resolveReactive(e, t) {
2905
- return e === void 0 ? t : p(e) || m(e) ? e() : e;
2910
+ return e === void 0 ? t : p(e) || h(e) ? e() : e;
2906
2911
  }
2907
2912
  renderContent(e, t) {
2908
2913
  if (typeof t == "function") {
@@ -2963,16 +2968,16 @@ class Te extends w {
2963
2968
  return t[e] || t.center;
2964
2969
  }
2965
2970
  }
2966
- function Qt(o, s = "center") {
2967
- return typeof s == "object" && s !== null && !p(s) && !m(s) ? new Te({
2968
- content: o,
2971
+ function ei(r, s = "center") {
2972
+ return typeof s == "object" && s !== null && !p(s) && !h(s) ? new Me({
2973
+ content: r,
2969
2974
  ...s
2970
- }) : new Te({
2971
- content: o,
2975
+ }) : new Me({
2976
+ content: r,
2972
2977
  alignment: s
2973
2978
  });
2974
2979
  }
2975
- class $e extends g {
2980
+ class Ve extends g {
2976
2981
  constructor() {
2977
2982
  super(...arguments);
2978
2983
  d(this, "type", "background");
@@ -2981,7 +2986,7 @@ class $e extends g {
2981
2986
  apply(e, t) {
2982
2987
  if (!t.element) return;
2983
2988
  const i = this.properties.background, n = this.properties.cssProperty ?? "background";
2984
- if (p(i) || m(i)) {
2989
+ if (p(i) || h(i)) {
2985
2990
  this.applyStyles(t.element, { [n]: i });
2986
2991
  return;
2987
2992
  }
@@ -2997,11 +3002,11 @@ class $e extends g {
2997
3002
  this.applyStatefulBackground(t.element, i, n);
2998
3003
  return;
2999
3004
  }
3000
- const r = this.resolveBackgroundValue(
3005
+ const o = this.resolveBackgroundValue(
3001
3006
  i
3002
3007
  );
3003
- if (r !== void 0) {
3004
- const a = { [n]: r };
3008
+ if (o !== void 0) {
3009
+ const a = { [n]: o };
3005
3010
  this.applyStyles(t.element, a);
3006
3011
  }
3007
3012
  }
@@ -3013,8 +3018,8 @@ class $e extends g {
3013
3018
  const n = j();
3014
3019
  b(() => {
3015
3020
  n();
3016
- const r = i.resolve();
3017
- this.applyStyleChange(e, t, r);
3021
+ const o = i.resolve();
3022
+ this.applyStyleChange(e, t, o);
3018
3023
  });
3019
3024
  }
3020
3025
  isGradientDefinition(e) {
@@ -3023,7 +3028,7 @@ class $e extends g {
3023
3028
  resolveBackgroundValue(e) {
3024
3029
  if (e != null) {
3025
3030
  if (this.isGradientDefinition(e))
3026
- return je(e);
3031
+ return Ue(e);
3027
3032
  if (this.isAssetValue(e)) {
3028
3033
  const t = e.resolve();
3029
3034
  return typeof t == "string" ? t : String(t);
@@ -3043,49 +3048,49 @@ class $e extends g {
3043
3048
  disabled: t.disabled ? this.resolveBackgroundValue(
3044
3049
  t.disabled
3045
3050
  ) : void 0
3046
- }, r = (f) => {
3051
+ }, o = (f) => {
3047
3052
  if (!f) return;
3048
- const h = n[f];
3049
- h !== void 0 && this.applyStyleChange(e, i, h);
3053
+ const m = n[f];
3054
+ m !== void 0 && this.applyStyleChange(e, i, m);
3050
3055
  }, a = () => this.isElementDisabled(e) && n.disabled ? "disabled" : n.focus && this.matchesSelector(e, ":focus") ? "focus" : "default", l = () => {
3051
3056
  const f = t.animation;
3052
3057
  if (!f) return;
3053
- const h = f.duration ?? 200, y = f.easing ?? "ease", v = f.delay ?? 0, N = `${i === "backgroundColor" ? "background-color" : "background"} ${h}ms ${y} ${v}ms`;
3054
- e.style.transition = N;
3058
+ const m = f.duration ?? 200, y = f.easing ?? "ease", v = f.delay ?? 0, z = `${i === "backgroundColor" ? "background-color" : "background"} ${m}ms ${y} ${v}ms`;
3059
+ e.style.transition = z;
3055
3060
  const K = e.style.cssText || "";
3056
- K.includes("transition") || (e.style.cssText = `${K}${K ? ";" : ""}transition: ${N};`);
3061
+ K.includes("transition") || (e.style.cssText = `${K}${K ? ";" : ""}transition: ${z};`);
3057
3062
  }, c = () => {
3058
3063
  const f = a();
3059
3064
  if (f === "focus" && this.matchesSelector(e, ":hover") && n.hover) {
3060
- r("hover");
3065
+ o("hover");
3061
3066
  return;
3062
3067
  }
3063
- r(f);
3068
+ o(f);
3064
3069
  }, u = () => {
3065
3070
  if (this.isElementDisabled(e) && n.disabled) {
3066
- r("disabled");
3071
+ o("disabled");
3067
3072
  return;
3068
3073
  }
3069
3074
  if (n.hover && this.matchesSelector(e, ":hover")) {
3070
- r("hover");
3075
+ o("hover");
3071
3076
  return;
3072
3077
  }
3073
3078
  if (n.focus && this.matchesSelector(e, ":focus")) {
3074
- r("focus");
3079
+ o("focus");
3075
3080
  return;
3076
3081
  }
3077
- r("default");
3082
+ o("default");
3078
3083
  };
3079
- this.isElementDisabled(e) && n.disabled ? r("disabled") : r("default"), l(), n.hover && (e.addEventListener("mouseenter", () => {
3080
- this.isElementDisabled(e) || r("hover");
3084
+ this.isElementDisabled(e) && n.disabled ? o("disabled") : o("default"), l(), n.hover && (e.addEventListener("mouseenter", () => {
3085
+ this.isElementDisabled(e) || o("hover");
3081
3086
  }), e.addEventListener("mouseleave", c)), n.active && (e.addEventListener("mousedown", () => {
3082
- this.isElementDisabled(e) || r("active");
3087
+ this.isElementDisabled(e) || o("active");
3083
3088
  }), e.addEventListener("mouseup", u)), n.focus && (e.addEventListener("focus", () => {
3084
- this.isElementDisabled(e) || r("focus");
3089
+ this.isElementDisabled(e) || o("focus");
3085
3090
  }), e.addEventListener("blur", () => {
3086
3091
  c();
3087
3092
  })), n.disabled && new MutationObserver(() => {
3088
- this.isElementDisabled(e) ? r("disabled") : n.hover && this.matchesSelector(e, ":hover") ? r("hover") : n.focus && this.matchesSelector(e, ":focus") ? r("focus") : r("default");
3093
+ this.isElementDisabled(e) ? o("disabled") : n.hover && this.matchesSelector(e, ":hover") ? o("hover") : n.focus && this.matchesSelector(e, ":focus") ? o("focus") : o("default");
3089
3094
  }).observe(e, {
3090
3095
  attributes: !0,
3091
3096
  attributeFilter: ["disabled", "aria-disabled"]
@@ -3104,12 +3109,12 @@ class $e extends g {
3104
3109
  return !!(e.hasAttribute && e.hasAttribute("disabled") || e.getAttribute && e.getAttribute("aria-disabled") === "true");
3105
3110
  }
3106
3111
  }
3107
- const ei = {
3112
+ const ti = {
3108
3113
  repeat: "no-repeat",
3109
3114
  size: "cover",
3110
3115
  position: "center"
3111
3116
  };
3112
- class ti extends g {
3117
+ class ii extends g {
3113
3118
  constructor() {
3114
3119
  super(...arguments);
3115
3120
  d(this, "type", "backgroundImage");
@@ -3119,11 +3124,11 @@ class ti extends g {
3119
3124
  if (!t.element) return;
3120
3125
  const {
3121
3126
  source: i,
3122
- options: { repeat: n, size: r, position: a }
3127
+ options: { repeat: n, size: o, position: a }
3123
3128
  } = this.properties;
3124
3129
  if (this.applyStyles(t.element, {
3125
3130
  backgroundRepeat: this.mapRepeatValue(n),
3126
- backgroundSize: r,
3131
+ backgroundSize: o,
3127
3132
  backgroundPosition: a
3128
3133
  }), this.isAssetValue(i)) {
3129
3134
  this.applyImageAssetWithThemeReactivity(t.element, i);
@@ -3138,12 +3143,12 @@ class ti extends g {
3138
3143
  const i = j();
3139
3144
  b(() => {
3140
3145
  i();
3141
- const r = t.resolve().replace(/["\\]/g, "\\$&");
3142
- this.applyStyleChange(e, "backgroundImage", `url("${r}")`);
3146
+ const o = t.resolve().replace(/["\\]/g, "\\$&");
3147
+ this.applyStyleChange(e, "backgroundImage", `url("${o}")`);
3143
3148
  });
3144
3149
  }
3145
3150
  }
3146
- class Ve extends g {
3151
+ class Re extends g {
3147
3152
  constructor() {
3148
3153
  super(...arguments);
3149
3154
  d(this, "type", "backgroundClip");
@@ -3159,61 +3164,61 @@ class Ve extends g {
3159
3164
  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;
3160
3165
  }
3161
3166
  }
3162
- function ii(o) {
3163
- return new $e({
3164
- background: o,
3167
+ function ni(r) {
3168
+ return new Ve({
3169
+ background: r,
3165
3170
  cssProperty: "backgroundColor"
3166
3171
  });
3167
3172
  }
3168
- function ni(o) {
3169
- return new $e({
3170
- background: o,
3173
+ function ri(r) {
3174
+ return new Ve({
3175
+ background: r,
3171
3176
  cssProperty: "background"
3172
3177
  });
3173
3178
  }
3174
- function oi(o, s = {}) {
3175
- return new ti({
3176
- source: o,
3179
+ function oi(r, s = {}) {
3180
+ return new ii({
3181
+ source: r,
3177
3182
  options: {
3178
- ...ei,
3183
+ ...ti,
3179
3184
  ...s
3180
3185
  }
3181
3186
  });
3182
3187
  }
3183
- function vr(o, s = "text", e = "transparent") {
3184
- return new Ve({
3185
- backgroundImage: o,
3188
+ function bo(r, s = "text", e = "transparent") {
3189
+ return new Re({
3190
+ backgroundImage: r,
3186
3191
  backgroundClip: s,
3187
3192
  color: e
3188
3193
  });
3189
3194
  }
3190
- function Z(o) {
3191
- return new Ve({
3192
- backgroundImage: o,
3195
+ function Z(r) {
3196
+ return new Re({
3197
+ backgroundImage: r,
3193
3198
  backgroundClip: "text",
3194
3199
  webkitBackgroundClip: "text",
3195
3200
  color: "transparent",
3196
3201
  webkitTextFillColor: "transparent"
3197
3202
  });
3198
3203
  }
3199
- function br() {
3204
+ function So() {
3200
3205
  return Z("linear-gradient(45deg, #007AFF, #5856D6)");
3201
3206
  }
3202
- function Sr() {
3207
+ function wo() {
3203
3208
  return Z(
3204
3209
  "linear-gradient(90deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff80, #0080ff, #8000ff)"
3205
3210
  );
3206
3211
  }
3207
- function wr() {
3212
+ function Co() {
3208
3213
  return Z("linear-gradient(45deg, #ff6b6b, #feca57, #ff9ff3)");
3209
3214
  }
3210
- function Cr() {
3215
+ function Eo() {
3211
3216
  return Z("linear-gradient(45deg, #667eea, #764ba2)");
3212
3217
  }
3213
- function Er() {
3218
+ function xo() {
3214
3219
  return Z("linear-gradient(45deg, #f7971e, #ffd200)");
3215
3220
  }
3216
- class ri extends g {
3221
+ class si extends g {
3217
3222
  constructor() {
3218
3223
  super(...arguments);
3219
3224
  d(this, "type", "blendMode");
@@ -3223,7 +3228,7 @@ class ri extends g {
3223
3228
  t.element && this.applyStyleChange(t.element, "mixBlendMode", this.properties.mode);
3224
3229
  }
3225
3230
  }
3226
- class si extends g {
3231
+ class ai extends g {
3227
3232
  constructor() {
3228
3233
  super(...arguments);
3229
3234
  d(this, "type", "backgroundBlendMode");
@@ -3237,13 +3242,13 @@ class si extends g {
3237
3242
  );
3238
3243
  }
3239
3244
  }
3240
- function ai(o) {
3241
- return new ri({ mode: o });
3245
+ function li(r) {
3246
+ return new si({ mode: r });
3242
3247
  }
3243
- function li(o) {
3244
- return new si({ mode: o });
3248
+ function ci(r) {
3249
+ return new ai({ mode: r });
3245
3250
  }
3246
- class ci extends g {
3251
+ class di extends g {
3247
3252
  constructor() {
3248
3253
  super(...arguments);
3249
3254
  d(this, "type", "compositingGroup");
@@ -3253,10 +3258,10 @@ class ci extends g {
3253
3258
  t.element && this.applyStyleChange(t.element, "isolation", "isolate");
3254
3259
  }
3255
3260
  }
3256
- function di() {
3257
- return new ci({});
3261
+ function fi() {
3262
+ return new di({});
3258
3263
  }
3259
- class _ extends g {
3264
+ class B extends g {
3260
3265
  constructor() {
3261
3266
  super(...arguments);
3262
3267
  d(this, "type", "border");
@@ -3273,8 +3278,8 @@ class _ extends g {
3273
3278
  return;
3274
3279
  const n = j();
3275
3280
  b(() => {
3276
- n(), Object.entries(i).forEach(([r, a]) => {
3277
- this.applyStyleChange(e, r, a.resolve());
3281
+ n(), Object.entries(i).forEach(([o, a]) => {
3282
+ this.applyStyleChange(e, o, a.resolve());
3278
3283
  });
3279
3284
  });
3280
3285
  }
@@ -3304,7 +3309,7 @@ class _ extends g {
3304
3309
  return typeof e == "number" ? `${e}px` : e;
3305
3310
  }
3306
3311
  }
3307
- class fi extends g {
3312
+ class ui extends g {
3308
3313
  constructor() {
3309
3314
  super(...arguments);
3310
3315
  d(this, "type", "cornerRadius");
@@ -3320,12 +3325,12 @@ class fi extends g {
3320
3325
  }
3321
3326
  generateCornerRadiusCSS(e) {
3322
3327
  const t = this.resolveCornerValues(e), i = {};
3323
- return Object.entries(t).forEach(([n, r]) => {
3324
- if (r !== void 0) {
3328
+ return Object.entries(t).forEach(([n, o]) => {
3329
+ if (o !== void 0) {
3325
3330
  const a = this.cornerToCSSProperty(
3326
3331
  n
3327
3332
  );
3328
- i[a] = this.formatRadius(r);
3333
+ i[a] = this.formatRadius(o);
3329
3334
  }
3330
3335
  }), i;
3331
3336
  }
@@ -3349,41 +3354,41 @@ class fi extends g {
3349
3354
  return typeof e == "number" ? `${e}px` : e;
3350
3355
  }
3351
3356
  }
3352
- function ui(o, s, e) {
3353
- return typeof o == "number" || typeof o == "string" ? new _({
3354
- width: o,
3357
+ function pi(r, s, e) {
3358
+ return typeof r == "number" || typeof r == "string" ? new B({
3359
+ width: r,
3355
3360
  color: s || "currentColor",
3356
3361
  style: e || "solid"
3357
- }) : new _(o);
3362
+ }) : new B(r);
3358
3363
  }
3359
- function pi(o, s, e) {
3360
- return new _({ top: { width: o, color: s, style: e } });
3364
+ function hi(r, s, e) {
3365
+ return new B({ top: { width: r, color: s, style: e } });
3361
3366
  }
3362
- function mi(o, s, e) {
3363
- return new _({ right: { width: o, color: s, style: e } });
3367
+ function mi(r, s, e) {
3368
+ return new B({ right: { width: r, color: s, style: e } });
3364
3369
  }
3365
- function hi(o, s, e) {
3366
- return new _({ bottom: { width: o, color: s, style: e } });
3370
+ function yi(r, s, e) {
3371
+ return new B({ bottom: { width: r, color: s, style: e } });
3367
3372
  }
3368
- function yi(o, s, e) {
3369
- return new _({ left: { width: o, color: s, style: e } });
3373
+ function gi(r, s, e) {
3374
+ return new B({ left: { width: r, color: s, style: e } });
3370
3375
  }
3371
- function xr(o, s, e) {
3372
- return new _({ leading: { width: o, color: s, style: e } });
3376
+ function To(r, s, e) {
3377
+ return new B({ leading: { width: r, color: s, style: e } });
3373
3378
  }
3374
- function Mr(o, s, e) {
3375
- return new _({ trailing: { width: o, color: s, style: e } });
3379
+ function Mo(r, s, e) {
3380
+ return new B({ trailing: { width: r, color: s, style: e } });
3376
3381
  }
3377
- function Tr(o, s, e) {
3378
- return new _({ horizontal: { width: o, color: s, style: e } });
3382
+ function Lo(r, s, e) {
3383
+ return new B({ horizontal: { width: r, color: s, style: e } });
3379
3384
  }
3380
- function Lr(o, s, e) {
3381
- return new _({ vertical: { width: o, color: s, style: e } });
3385
+ function ko(r, s, e) {
3386
+ return new B({ vertical: { width: r, color: s, style: e } });
3382
3387
  }
3383
- function Ar(o) {
3384
- return new fi({ radius: o });
3388
+ function Ao(r) {
3389
+ return new ui({ radius: r });
3385
3390
  }
3386
- class Re extends g {
3391
+ class De extends g {
3387
3392
  constructor() {
3388
3393
  super(...arguments);
3389
3394
  d(this, "type", "foreground");
@@ -3414,18 +3419,18 @@ class Re extends g {
3414
3419
  const n = j();
3415
3420
  b(() => {
3416
3421
  n();
3417
- const r = i.resolve();
3418
- this.applyStyleChange(e, t, r);
3422
+ const o = i.resolve();
3423
+ this.applyStyleChange(e, t, o);
3419
3424
  });
3420
3425
  }
3421
3426
  }
3422
- function gi(o) {
3423
- return new Re({ color: o });
3427
+ function vi(r) {
3428
+ return new De({ color: r });
3424
3429
  }
3425
- function kr(o) {
3426
- return new Re({ color: o });
3430
+ function Io(r) {
3431
+ return new De({ color: r });
3427
3432
  }
3428
- class vi extends g {
3433
+ class bi extends g {
3429
3434
  constructor() {
3430
3435
  super(...arguments);
3431
3436
  d(this, "type", "clip-shape");
@@ -3435,7 +3440,7 @@ class vi extends g {
3435
3440
  if (!t.element) return;
3436
3441
  const i = t.element;
3437
3442
  if (!i.style) return;
3438
- const { shape: n, parameters: r = {} } = this.properties, a = this.generateClipPath(n, r);
3443
+ const { shape: n, parameters: o = {} } = this.properties, a = this.generateClipPath(n, o);
3439
3444
  a && (i.style.clipPath = a);
3440
3445
  }
3441
3446
  generateClipPath(e, t) {
@@ -3457,10 +3462,10 @@ class vi extends g {
3457
3462
  }
3458
3463
  }
3459
3464
  }
3460
- function bi(o, s) {
3461
- return new vi({ shape: o, parameters: s || {} });
3465
+ function Si(r, s) {
3466
+ return new bi({ shape: r, parameters: s || {} });
3462
3467
  }
3463
- class Si extends g {
3468
+ class wi extends g {
3464
3469
  constructor() {
3465
3470
  super(...arguments);
3466
3471
  d(this, "type", "clipped");
@@ -3472,45 +3477,45 @@ class Si extends g {
3472
3477
  i.style && (this.properties.clipped ? i.style.overflow = "hidden" : i.style.overflow = "");
3473
3478
  }
3474
3479
  }
3475
- function wi(o = !0) {
3476
- return new Si({ clipped: o });
3480
+ function Ci(r = !0) {
3481
+ return new wi({ clipped: r });
3477
3482
  }
3478
- function Ci(o) {
3479
- return new B({ opacity: o });
3483
+ function Ei(r) {
3484
+ return new _({ opacity: r });
3480
3485
  }
3481
- function Ei(o) {
3482
- return new B({ cornerRadius: o });
3486
+ function xi(r) {
3487
+ return new _({ cornerRadius: r });
3483
3488
  }
3484
- function xi(o) {
3485
- return new B({ font: { family: o } });
3489
+ function Ti(r) {
3490
+ return new _({ font: { family: r } });
3486
3491
  }
3487
- function Mi(o) {
3488
- return new B({ font: { size: o } });
3492
+ function Mi(r) {
3493
+ return new _({ font: { size: r } });
3489
3494
  }
3490
- function Ti(o) {
3491
- return new B({ font: { weight: o } });
3495
+ function Li(r) {
3496
+ return new _({ font: { weight: r } });
3492
3497
  }
3493
- function Li(o) {
3494
- return new B({ font: { style: o } });
3498
+ function ki(r) {
3499
+ return new _({ font: { style: r } });
3495
3500
  }
3496
- function Ai(o) {
3497
- return new B({ font: o });
3501
+ function Ai(r) {
3502
+ return new _({ font: r });
3498
3503
  }
3499
- const ki = "typography", Le = Symbol.for("tachui.typography.instanceId");
3500
- let Ae = 0;
3501
- function Ii(o) {
3502
- const s = o[Le];
3504
+ const Ii = "typography", Le = Symbol.for("tachui.typography.instanceId");
3505
+ let ke = 0;
3506
+ function Pi(r) {
3507
+ const s = r[Le];
3503
3508
  if (typeof s == "number") return s;
3504
- Ae += 1;
3505
- const e = Ae;
3506
- return Object.defineProperty(o, Le, {
3509
+ ke += 1;
3510
+ const e = ke;
3511
+ return Object.defineProperty(r, Le, {
3507
3512
  value: e,
3508
3513
  enumerable: !1,
3509
3514
  configurable: !1,
3510
3515
  writable: !1
3511
3516
  }), e;
3512
3517
  }
3513
- class k extends g {
3518
+ class A extends g {
3514
3519
  constructor() {
3515
3520
  super(...arguments);
3516
3521
  d(this, "type", "typography");
@@ -3533,7 +3538,7 @@ class k extends g {
3533
3538
  if (i === void 0) return;
3534
3539
  const n = e.style;
3535
3540
  if (!n) return;
3536
- const r = (a) => {
3541
+ const o = (a) => {
3537
3542
  const l = String(a);
3538
3543
  if (n.setProperty) {
3539
3544
  n.setProperty(t, l, "important");
@@ -3545,22 +3550,22 @@ class k extends g {
3545
3550
  );
3546
3551
  n[c] = l;
3547
3552
  };
3548
- if (p(i) || m(i)) {
3549
- const a = i, l = Ii(this);
3550
- ke({
3553
+ if (p(i) || h(i)) {
3554
+ const a = i, l = Pi(this);
3555
+ Ae({
3551
3556
  element: e,
3552
3557
  accessor: a,
3553
- updaterId: `${ki}:${l}:${t}`,
3558
+ updaterId: `${Ii}:${l}:${t}`,
3554
3559
  updater: (c) => {
3555
- r(c);
3560
+ o(c);
3556
3561
  }
3557
3562
  });
3558
3563
  return;
3559
3564
  }
3560
- r(i);
3565
+ o(i);
3561
3566
  }
3562
3567
  computeTypographyStyles(e) {
3563
- const t = {}, i = (n) => p(n) || m(n);
3568
+ const t = {}, i = (n) => p(n) || h(n);
3564
3569
  if (e.size !== void 0 && (t.fontSize = this.toCSSValue(e.size)), e.weight !== void 0 && (t.fontWeight = String(e.weight)), e.family !== void 0)
3565
3570
  if (typeof e.family == "object" && e.family !== null) {
3566
3571
  const n = e.family;
@@ -3576,57 +3581,57 @@ class k extends g {
3576
3581
  return e === "leading" ? "start" : e === "trailing" ? "end" : e;
3577
3582
  }
3578
3583
  }
3579
- function Pi(o) {
3580
- return new k(o);
3584
+ function $i(r) {
3585
+ return new A(r);
3581
3586
  }
3582
- function $i(o) {
3583
- return new k({ align: o });
3587
+ function Vi(r) {
3588
+ return new A({ align: r });
3584
3589
  }
3585
- function De(o) {
3586
- return new k({ transform: o });
3590
+ function Oe(r) {
3591
+ return new A({ transform: r });
3587
3592
  }
3588
- function Vi(o) {
3589
- return new k({ decoration: o });
3593
+ function Ri(r) {
3594
+ return new A({ decoration: r });
3590
3595
  }
3591
- function Ir(o) {
3592
- return new k({ size: o });
3596
+ function Po(r) {
3597
+ return new A({ size: r });
3593
3598
  }
3594
- function Pr(o) {
3595
- return new k({ weight: o });
3599
+ function $o(r) {
3600
+ return new A({ weight: r });
3596
3601
  }
3597
- function Ri(o) {
3598
- return new k({ lineHeight: o });
3602
+ function Di(r) {
3603
+ return new A({ lineHeight: r });
3599
3604
  }
3600
- function Di(o) {
3601
- return new k({ letterSpacing: o });
3605
+ function Oi(r) {
3606
+ return new A({ letterSpacing: r });
3602
3607
  }
3603
- function $r(o) {
3604
- return new k({ wordSpacing: o });
3608
+ function Vo(r) {
3609
+ return new A({ wordSpacing: r });
3605
3610
  }
3606
- function Oi(o) {
3607
- return new k({ textOverflow: o });
3611
+ function Bi(r) {
3612
+ return new A({ textOverflow: r });
3608
3613
  }
3609
- function _i(o) {
3610
- return new k({ whiteSpace: o });
3614
+ function _i(r) {
3615
+ return new A({ whiteSpace: r });
3611
3616
  }
3612
- function Bi(o) {
3613
- return new k({ overflow: o });
3617
+ function Hi(r) {
3618
+ return new A({ overflow: r });
3614
3619
  }
3615
- function Hi(o) {
3616
- return De(o);
3620
+ function zi(r) {
3621
+ return Oe(r);
3617
3622
  }
3618
- function Vr(o) {
3619
- return new k({ family: o });
3623
+ function Ro(r) {
3624
+ return new A({ family: r });
3620
3625
  }
3621
- function Ni(o) {
3622
- return typeof o == "string" ? zi(o) : new k({
3623
- family: o.family,
3624
- size: o.size,
3625
- weight: o.weight,
3626
- style: o.style
3626
+ function Fi(r) {
3627
+ return typeof r == "string" ? Ni(r) : new A({
3628
+ family: r.family,
3629
+ size: r.size,
3630
+ weight: r.weight,
3631
+ style: r.style
3627
3632
  });
3628
3633
  }
3629
- function zi(o) {
3634
+ function Ni(r) {
3630
3635
  const s = {
3631
3636
  ".largeTitle": { size: 34, weight: 400 },
3632
3637
  ".title": { size: 28, weight: 400 },
@@ -3639,12 +3644,12 @@ function zi(o) {
3639
3644
  ".footnote": { size: 13, weight: 400 },
3640
3645
  ".caption": { size: 12, weight: 400 },
3641
3646
  ".caption2": { size: 11, weight: 400 }
3642
- }, e = s[o];
3643
- return e ? new k(e) : new k(s[".body"]);
3647
+ }, e = s[r];
3648
+ return e ? new A(e) : new A(s[".body"]);
3644
3649
  }
3645
- function Rr(o) {
3650
+ function Do(r) {
3646
3651
  let s;
3647
- switch (o.design) {
3652
+ switch (r.design) {
3648
3653
  case "serif":
3649
3654
  s = "ui-serif, Georgia, serif";
3650
3655
  break;
@@ -3657,21 +3662,21 @@ function Rr(o) {
3657
3662
  default:
3658
3663
  s = "system-ui, -apple-system, BlinkMacSystemFont, sans-serif";
3659
3664
  }
3660
- return new k({
3665
+ return new A({
3661
3666
  family: s,
3662
- size: o.size,
3663
- weight: o.weight
3667
+ size: r.size,
3668
+ weight: r.weight
3664
3669
  });
3665
3670
  }
3666
- function Dr(o, s) {
3667
- return new k({
3668
- family: o,
3671
+ function Oo(r, s) {
3672
+ return new A({
3673
+ family: r,
3669
3674
  size: s?.size,
3670
3675
  weight: s?.weight,
3671
3676
  style: s?.style
3672
3677
  });
3673
3678
  }
3674
- class Fi extends g {
3679
+ class Wi extends g {
3675
3680
  constructor() {
3676
3681
  super(...arguments);
3677
3682
  d(this, "type", "lineClamp");
@@ -3700,10 +3705,10 @@ class Fi extends g {
3700
3705
  );
3701
3706
  }
3702
3707
  }
3703
- function Wi(o) {
3704
- return new Fi({ lines: o });
3708
+ function ji(r) {
3709
+ return new Wi({ lines: r });
3705
3710
  }
3706
- class ji extends g {
3711
+ class Ui extends g {
3707
3712
  constructor() {
3708
3713
  super(...arguments);
3709
3714
  d(this, "type", "wordBreak");
@@ -3728,10 +3733,10 @@ class ji extends g {
3728
3733
  );
3729
3734
  }
3730
3735
  }
3731
- function Ui(o) {
3732
- return new ji({ wordBreak: o });
3736
+ function Gi(r) {
3737
+ return new Ui({ wordBreak: r });
3733
3738
  }
3734
- class Gi extends g {
3739
+ class Ki extends g {
3735
3740
  constructor() {
3736
3741
  super(...arguments);
3737
3742
  d(this, "type", "overflowWrap");
@@ -3753,10 +3758,10 @@ class Gi extends g {
3753
3758
  );
3754
3759
  }
3755
3760
  }
3756
- function Ki(o) {
3757
- return new Gi({ overflowWrap: o });
3761
+ function Yi(r) {
3762
+ return new Ki({ overflowWrap: r });
3758
3763
  }
3759
- class Yi extends g {
3764
+ class Xi extends g {
3760
3765
  constructor() {
3761
3766
  super(...arguments);
3762
3767
  d(this, "type", "hyphens");
@@ -3781,8 +3786,8 @@ class Yi extends g {
3781
3786
  );
3782
3787
  }
3783
3788
  }
3784
- function Xi(o) {
3785
- return new Yi({ hyphens: o });
3789
+ function Zi(r) {
3790
+ return new Xi({ hyphens: r });
3786
3791
  }
3787
3792
  class H extends g {
3788
3793
  constructor(e) {
@@ -3826,35 +3831,35 @@ class H extends g {
3826
3831
  return typeof e == "number" ? `${e}px` : e;
3827
3832
  }
3828
3833
  }
3829
- function Zi(o) {
3830
- return new H({ scroll: o });
3834
+ function qi(r) {
3835
+ return new H({ scroll: r });
3831
3836
  }
3832
- function qi(o) {
3833
- return new H({ scrollBehavior: o });
3837
+ function Ji(r) {
3838
+ return new H({ scrollBehavior: r });
3834
3839
  }
3835
- function Ji(o) {
3836
- return new H({ overscrollBehavior: o });
3840
+ function Qi(r) {
3841
+ return new H({ overscrollBehavior: r });
3837
3842
  }
3838
- function Qi(o) {
3839
- return new H({ overscrollBehaviorX: o });
3843
+ function en(r) {
3844
+ return new H({ overscrollBehaviorX: r });
3840
3845
  }
3841
- function en(o) {
3842
- return new H({ overscrollBehaviorY: o });
3846
+ function tn(r) {
3847
+ return new H({ overscrollBehaviorY: r });
3843
3848
  }
3844
- function tn(o) {
3845
- return new H({ scroll: { margin: o } });
3849
+ function nn(r) {
3850
+ return new H({ scroll: { margin: r } });
3846
3851
  }
3847
- function nn(o) {
3848
- return new H({ scroll: { padding: o } });
3852
+ function rn(r) {
3853
+ return new H({ scroll: { padding: r } });
3849
3854
  }
3850
- function on(o, s, e) {
3855
+ function on(r, s, e) {
3851
3856
  return new H({
3852
3857
  scroll: {
3853
- snap: { type: o, align: s, stop: e }
3858
+ snap: { type: r, align: s, stop: e }
3854
3859
  }
3855
3860
  });
3856
3861
  }
3857
- class rn extends w {
3862
+ class sn extends w {
3858
3863
  constructor() {
3859
3864
  super(...arguments);
3860
3865
  d(this, "type", "onHover");
@@ -3870,16 +3875,16 @@ class rn extends w {
3870
3875
  t.onHover(!1);
3871
3876
  };
3872
3877
  e.addEventListener("mouseenter", i), e.addEventListener("mouseleave", n);
3873
- const r = () => {
3878
+ const o = () => {
3874
3879
  t.onHover(!1), e.removeEventListener("mouseenter", i), e.removeEventListener("mouseleave", n);
3875
3880
  };
3876
- e._hoverCleanup = r;
3881
+ e._hoverCleanup = o;
3877
3882
  }
3878
3883
  }
3879
- function sn(o) {
3880
- return new rn({ onHover: o });
3884
+ function an(r) {
3885
+ return new sn({ onHover: r });
3881
3886
  }
3882
- class an extends w {
3887
+ class ln extends w {
3883
3888
  constructor() {
3884
3889
  super(...arguments);
3885
3890
  d(this, "type", "onMouseEnter");
@@ -3895,7 +3900,7 @@ class an extends w {
3895
3900
  };
3896
3901
  }
3897
3902
  }
3898
- class ln extends w {
3903
+ class cn extends w {
3899
3904
  constructor() {
3900
3905
  super(...arguments);
3901
3906
  d(this, "type", "onMouseLeave");
@@ -3911,7 +3916,7 @@ class ln extends w {
3911
3916
  };
3912
3917
  }
3913
3918
  }
3914
- class cn extends w {
3919
+ class dn extends w {
3915
3920
  constructor() {
3916
3921
  super(...arguments);
3917
3922
  d(this, "type", "onMouseDown");
@@ -3927,7 +3932,7 @@ class cn extends w {
3927
3932
  };
3928
3933
  }
3929
3934
  }
3930
- class dn extends w {
3935
+ class fn extends w {
3931
3936
  constructor() {
3932
3937
  super(...arguments);
3933
3938
  d(this, "type", "onMouseUp");
@@ -3943,7 +3948,7 @@ class dn extends w {
3943
3948
  };
3944
3949
  }
3945
3950
  }
3946
- class fn extends w {
3951
+ class un extends w {
3947
3952
  constructor() {
3948
3953
  super(...arguments);
3949
3954
  d(this, "type", "onDoubleClick");
@@ -3959,7 +3964,7 @@ class fn extends w {
3959
3964
  };
3960
3965
  }
3961
3966
  }
3962
- class un extends w {
3967
+ class pn extends w {
3963
3968
  constructor() {
3964
3969
  super(...arguments);
3965
3970
  d(this, "type", "onContextMenu");
@@ -3975,25 +3980,25 @@ class un extends w {
3975
3980
  };
3976
3981
  }
3977
3982
  }
3978
- function pn(o) {
3979
- return new an({ onMouseEnter: o });
3983
+ function hn(r) {
3984
+ return new ln({ onMouseEnter: r });
3980
3985
  }
3981
- function mn(o) {
3982
- return new ln({ onMouseLeave: o });
3986
+ function mn(r) {
3987
+ return new cn({ onMouseLeave: r });
3983
3988
  }
3984
- function hn(o) {
3985
- return new cn({ onMouseDown: o });
3989
+ function yn(r) {
3990
+ return new dn({ onMouseDown: r });
3986
3991
  }
3987
- function yn(o) {
3988
- return new dn({ onMouseUp: o });
3992
+ function gn(r) {
3993
+ return new fn({ onMouseUp: r });
3989
3994
  }
3990
- function gn(o) {
3991
- return new fn({ onDoubleClick: o });
3995
+ function vn(r) {
3996
+ return new un({ onDoubleClick: r });
3992
3997
  }
3993
- function vn(o) {
3994
- return new un({ onContextMenu: o });
3998
+ function bn(r) {
3999
+ return new pn({ onContextMenu: r });
3995
4000
  }
3996
- class bn extends w {
4001
+ class Sn extends w {
3997
4002
  constructor() {
3998
4003
  super(...arguments);
3999
4004
  d(this, "type", "onKeyDown");
@@ -4009,7 +4014,7 @@ class bn extends w {
4009
4014
  };
4010
4015
  }
4011
4016
  }
4012
- class Sn extends w {
4017
+ class wn extends w {
4013
4018
  constructor() {
4014
4019
  super(...arguments);
4015
4020
  d(this, "type", "onKeyUp");
@@ -4025,7 +4030,7 @@ class Sn extends w {
4025
4030
  };
4026
4031
  }
4027
4032
  }
4028
- class wn extends w {
4033
+ class Cn extends w {
4029
4034
  constructor() {
4030
4035
  super(...arguments);
4031
4036
  d(this, "type", "onKeyPress");
@@ -4041,14 +4046,14 @@ class wn extends w {
4041
4046
  };
4042
4047
  }
4043
4048
  }
4044
- function Cn(o) {
4045
- return new bn({ onKeyDown: o });
4049
+ function En(r) {
4050
+ return new Sn({ onKeyDown: r });
4046
4051
  }
4047
- function En(o) {
4048
- return new Sn({ onKeyUp: o });
4052
+ function xn(r) {
4053
+ return new wn({ onKeyUp: r });
4049
4054
  }
4050
- function xn(o) {
4051
- return new wn({ onKeyPress: o });
4055
+ function Tn(r) {
4056
+ return new Cn({ onKeyPress: r });
4052
4057
  }
4053
4058
  class Mn extends w {
4054
4059
  constructor() {
@@ -4068,7 +4073,7 @@ class Mn extends w {
4068
4073
  };
4069
4074
  }
4070
4075
  }
4071
- class Tn extends w {
4076
+ class Ln extends w {
4072
4077
  constructor() {
4073
4078
  super(...arguments);
4074
4079
  d(this, "type", "onBlur");
@@ -4086,13 +4091,13 @@ class Tn extends w {
4086
4091
  };
4087
4092
  }
4088
4093
  }
4089
- function Ln(o) {
4090
- return new Mn({ onFocus: o });
4094
+ function kn(r) {
4095
+ return new Mn({ onFocus: r });
4091
4096
  }
4092
- function An(o) {
4093
- return new Tn({ onBlur: o });
4097
+ function An(r) {
4098
+ return new Ln({ onBlur: r });
4094
4099
  }
4095
- class kn extends w {
4100
+ class In extends w {
4096
4101
  constructor() {
4097
4102
  super(...arguments);
4098
4103
  d(this, "type", "onLongPressGesture");
@@ -4103,55 +4108,55 @@ class kn extends w {
4103
4108
  }
4104
4109
  setupLongPressGesture(e, t) {
4105
4110
  const i = t.minimumDuration ?? 500, n = t.maximumDistance ?? 10;
4106
- let r = null, a = null, l = !1, c = !1;
4107
- const u = (T, E) => {
4108
- l || (r = { x: T, y: E }, l = !0, c = !1, t.onPressingChanged?.(!0), a = window.setTimeout(() => {
4111
+ let o = null, a = null, l = !1, c = !1;
4112
+ const u = (M, E) => {
4113
+ l || (o = { x: M, y: E }, l = !0, c = !1, t.onPressingChanged?.(!0), a = window.setTimeout(() => {
4109
4114
  l && !c && (c = !0, t.perform());
4110
4115
  }, i));
4111
- }, f = (T, E) => r ? Math.sqrt(
4112
- Math.pow(T - r.x, 2) + Math.pow(E - r.y, 2)
4113
- ) <= n : !1, h = () => {
4114
- a && (clearTimeout(a), a = null), l && (l = !1, t.onPressingChanged?.(!1)), r = null, c = !1;
4115
- }, y = (T) => {
4116
- const E = T;
4117
- T.preventDefault(), u(E.clientX, E.clientY);
4118
- }, v = (T) => {
4116
+ }, f = (M, E) => o ? Math.sqrt(
4117
+ Math.pow(M - o.x, 2) + Math.pow(E - o.y, 2)
4118
+ ) <= n : !1, m = () => {
4119
+ a && (clearTimeout(a), a = null), l && (l = !1, t.onPressingChanged?.(!1)), o = null, c = !1;
4120
+ }, y = (M) => {
4121
+ const E = M;
4122
+ M.preventDefault(), u(E.clientX, E.clientY);
4123
+ }, v = (M) => {
4119
4124
  if (!l) return;
4120
- const E = T;
4121
- f(E.clientX, E.clientY) || h();
4125
+ const E = M;
4126
+ f(E.clientX, E.clientY) || m();
4122
4127
  }, S = () => {
4123
- h();
4124
- }, N = () => {
4125
- h();
4126
- }, K = (T) => {
4127
- const E = T;
4128
+ m();
4129
+ }, z = () => {
4130
+ m();
4131
+ }, K = (M) => {
4132
+ const E = M;
4128
4133
  if (E.touches.length === 1) {
4129
4134
  const Y = E.touches[0];
4130
- T.preventDefault(), u(Y.clientX, Y.clientY);
4135
+ M.preventDefault(), u(Y.clientX, Y.clientY);
4131
4136
  }
4132
- }, ge = (T) => {
4137
+ }, ge = (M) => {
4133
4138
  if (!l) return;
4134
- const E = T;
4139
+ const E = M;
4135
4140
  if (E.touches.length === 1) {
4136
4141
  const Y = E.touches[0];
4137
- f(Y.clientX, Y.clientY) || h();
4142
+ f(Y.clientX, Y.clientY) || m();
4138
4143
  } else
4139
- h();
4144
+ m();
4140
4145
  }, ve = () => {
4141
- h();
4146
+ m();
4142
4147
  }, be = () => {
4143
- h();
4144
- }, Se = (T) => {
4145
- const E = T;
4146
- E.button === 0 && (T.preventDefault(), u(E.clientX, E.clientY));
4147
- }, we = (T) => {
4148
+ m();
4149
+ }, Se = (M) => {
4150
+ const E = M;
4151
+ E.button === 0 && (M.preventDefault(), u(E.clientX, E.clientY));
4152
+ }, we = (M) => {
4148
4153
  if (!l) return;
4149
- const E = T;
4150
- f(E.clientX, E.clientY) || h();
4154
+ const E = M;
4155
+ f(E.clientX, E.clientY) || m();
4151
4156
  }, Ce = () => {
4152
- h();
4157
+ m();
4153
4158
  }, Ee = () => {
4154
- h();
4159
+ m();
4155
4160
  };
4156
4161
  "onpointerdown" in e ? (e.addEventListener(
4157
4162
  "pointerdown",
@@ -4161,7 +4166,7 @@ class kn extends w {
4161
4166
  v
4162
4167
  ), e.addEventListener("pointerup", S), e.addEventListener(
4163
4168
  "pointercancel",
4164
- N
4169
+ z
4165
4170
  )) : "ontouchstart" in e ? (e.addEventListener(
4166
4171
  "touchstart",
4167
4172
  K,
@@ -4170,8 +4175,8 @@ class kn extends w {
4170
4175
  "touchcancel",
4171
4176
  be
4172
4177
  )) : (e.addEventListener("mousedown", Se), e.addEventListener("mousemove", we), e.addEventListener("mouseup", Ce), e.addEventListener("mouseleave", Ee));
4173
- const Be = () => {
4174
- h(), "onpointerdown" in e ? (e.removeEventListener(
4178
+ const He = () => {
4179
+ m(), "onpointerdown" in e ? (e.removeEventListener(
4175
4180
  "pointerdown",
4176
4181
  y
4177
4182
  ), e.removeEventListener(
@@ -4182,7 +4187,7 @@ class kn extends w {
4182
4187
  S
4183
4188
  ), e.removeEventListener(
4184
4189
  "pointercancel",
4185
- N
4190
+ z
4186
4191
  )) : "ontouchstart" in e ? (e.removeEventListener(
4187
4192
  "touchstart",
4188
4193
  K
@@ -4203,13 +4208,13 @@ class kn extends w {
4203
4208
  Ee
4204
4209
  ));
4205
4210
  };
4206
- e._longPressCleanup = Be;
4211
+ e._longPressCleanup = He;
4207
4212
  }
4208
4213
  }
4209
- function In(o) {
4210
- return new kn(o);
4214
+ function Pn(r) {
4215
+ return new In(r);
4211
4216
  }
4212
- class Pn extends w {
4217
+ class $n extends w {
4213
4218
  constructor(e) {
4214
4219
  const t = {
4215
4220
  ...e,
@@ -4229,7 +4234,7 @@ class Pn extends w {
4229
4234
  return;
4230
4235
  const u = new Set(i), f = /* @__PURE__ */ new Set();
4231
4236
  (c.ctrlKey || c.metaKey) && (navigator.platform.includes("Mac") ? (c.metaKey && (f.add("cmd"), f.add("meta")), c.ctrlKey && f.add("ctrl")) : (c.ctrlKey && (f.add("ctrl"), f.add("cmd")), c.metaKey && f.add("meta"))), c.shiftKey && f.add("shift"), c.altKey && f.add("alt");
4232
- const h = Array.from(u).every(
4237
+ const m = Array.from(u).every(
4233
4238
  (S) => f.has(S)
4234
4239
  ), y = /* @__PURE__ */ new Set([...u]);
4235
4240
  u.has("cmd") && (y.add("meta"), y.add("ctrl")), u.has("meta") && y.add("cmd"), u.has("ctrl") && y.add("cmd");
@@ -4238,11 +4243,11 @@ class Pn extends w {
4238
4243
  S
4239
4244
  )
4240
4245
  );
4241
- h && !v && (l.preventDefault(), l.stopPropagation(), t.action());
4242
- }, r = e instanceof HTMLElement && e.tabIndex >= 0 ? e : document;
4243
- r.addEventListener("keydown", n);
4246
+ m && !v && (l.preventDefault(), l.stopPropagation(), t.action());
4247
+ }, o = e instanceof HTMLElement && e.tabIndex >= 0 ? e : document;
4248
+ o.addEventListener("keydown", n);
4244
4249
  const a = () => {
4245
- r.removeEventListener(
4250
+ o.removeEventListener(
4246
4251
  "keydown",
4247
4252
  n
4248
4253
  );
@@ -4250,13 +4255,13 @@ class Pn extends w {
4250
4255
  e._keyboardShortcutCleanup = a;
4251
4256
  }
4252
4257
  }
4253
- function Oe(o) {
4254
- return new Pn(o);
4258
+ function Be(r) {
4259
+ return new $n(r);
4255
4260
  }
4256
- function Or(o, s, e) {
4257
- return Oe({ key: o, modifiers: s, action: e });
4261
+ function Bo(r, s, e) {
4262
+ return Be({ key: r, modifiers: s, action: e });
4258
4263
  }
4259
- class $n extends w {
4264
+ class Vn extends w {
4260
4265
  constructor() {
4261
4266
  super(...arguments);
4262
4267
  d(this, "type", "focused");
@@ -4270,23 +4275,23 @@ class $n extends w {
4270
4275
  const i = e;
4271
4276
  i.tabIndex < 0 && (i.tabIndex = 0);
4272
4277
  let n;
4273
- const r = (l) => {
4278
+ const o = (l) => {
4274
4279
  l ? requestAnimationFrame(() => {
4275
4280
  document.activeElement !== i && i.focus();
4276
4281
  }) : document.activeElement === i && i.blur();
4277
4282
  };
4278
4283
  if (typeof t == "function") {
4279
4284
  const l = t;
4280
- if (r(l()), l.subscribe)
4285
+ if (o(l()), l.subscribe)
4281
4286
  n = l.subscribe((c) => {
4282
- r(c);
4287
+ o(c);
4283
4288
  });
4284
4289
  else if (process.env.NODE_ENV !== "test") {
4285
4290
  let c = l(), u = !0;
4286
4291
  const f = () => {
4287
4292
  if (!u) return;
4288
- const h = l();
4289
- h !== c && (c = h, r(h)), u && requestAnimationFrame(f);
4293
+ const m = l();
4294
+ m !== c && (c = m, o(m)), u && requestAnimationFrame(f);
4290
4295
  };
4291
4296
  n = () => {
4292
4297
  u = !1;
@@ -4295,17 +4300,17 @@ class $n extends w {
4295
4300
  n = () => {
4296
4301
  };
4297
4302
  } else
4298
- r(t);
4303
+ o(t);
4299
4304
  const a = () => {
4300
4305
  n && n();
4301
4306
  };
4302
4307
  e._focusedCleanup = a;
4303
4308
  }
4304
4309
  }
4305
- function Vn(o) {
4306
- return new $n({ focused: o });
4310
+ function Rn(r) {
4311
+ return new Vn({ focused: r });
4307
4312
  }
4308
- class Rn extends w {
4313
+ class Dn extends w {
4309
4314
  constructor(e = {}) {
4310
4315
  const t = {
4311
4316
  ...e,
@@ -4320,17 +4325,17 @@ class Rn extends w {
4320
4325
  }
4321
4326
  setupFocusable(e, t) {
4322
4327
  if (!e || typeof e.focus != "function") return;
4323
- const i = e, n = t.isFocusable ?? !0, r = t.interactions ?? [];
4328
+ const i = e, n = t.isFocusable ?? !0, o = t.interactions ?? [];
4324
4329
  if (n) {
4325
4330
  i.tabIndex < 0 && (i.tabIndex = 0);
4326
4331
  const a = i.getAttribute("role");
4327
- if (r.includes("edit") ? (a || i.setAttribute("role", "textbox"), i.setAttribute("contenteditable", "true"), i.setAttribute(
4332
+ if (o.includes("edit") ? (a || i.setAttribute("role", "textbox"), i.setAttribute("contenteditable", "true"), i.setAttribute(
4328
4333
  "aria-label",
4329
4334
  i.getAttribute("aria-label") || "Editable content"
4330
- )) : r.includes("activate") && (a || i.setAttribute("role", "button"), i.setAttribute(
4335
+ )) : o.includes("activate") && (a || i.setAttribute("role", "button"), i.setAttribute(
4331
4336
  "aria-label",
4332
4337
  i.getAttribute("aria-label") || "Activatable element"
4333
- )), r.includes("activate")) {
4338
+ )), o.includes("activate")) {
4334
4339
  const l = (u) => {
4335
4340
  (u.key === " " || u.key === "Enter") && (u.preventDefault(), i.click());
4336
4341
  };
@@ -4350,17 +4355,17 @@ class Rn extends w {
4350
4355
  }
4351
4356
  }
4352
4357
  }
4353
- function me(o, s) {
4354
- return new Rn({
4355
- isFocusable: o ?? !0,
4358
+ function he(r, s) {
4359
+ return new Dn({
4360
+ isFocusable: r ?? !0,
4356
4361
  interactions: s ?? []
4357
4362
  });
4358
4363
  }
4359
- function Dn() {
4360
- return me(!0, ["activate"]);
4361
- }
4362
4364
  function On() {
4363
- return me(!0, ["edit"]);
4365
+ return he(!0, ["activate"]);
4366
+ }
4367
+ function Bn() {
4368
+ return he(!0, ["edit"]);
4364
4369
  }
4365
4370
  class _n extends w {
4366
4371
  constructor() {
@@ -4374,26 +4379,26 @@ class _n extends w {
4374
4379
  setupContinuousHover(e, t) {
4375
4380
  const i = t.coordinateSpace ?? "local";
4376
4381
  let n = !1;
4377
- const r = (f) => {
4382
+ const o = (f) => {
4378
4383
  if (i === "global")
4379
4384
  return {
4380
4385
  x: f.clientX,
4381
4386
  y: f.clientY
4382
4387
  };
4383
4388
  {
4384
- const h = e.getBoundingClientRect();
4389
+ const m = e.getBoundingClientRect();
4385
4390
  return {
4386
- x: f.clientX - h.left,
4387
- y: f.clientY - h.top
4391
+ x: f.clientX - m.left,
4392
+ y: f.clientY - m.top
4388
4393
  };
4389
4394
  }
4390
4395
  }, a = (f) => {
4391
4396
  n = !0;
4392
- const y = r(f);
4397
+ const y = o(f);
4393
4398
  t.perform(y);
4394
4399
  }, l = (f) => {
4395
4400
  if (!n) return;
4396
- const y = r(f);
4401
+ const y = o(f);
4397
4402
  t.perform(y);
4398
4403
  }, c = () => {
4399
4404
  n = !1, t.perform(null);
@@ -4411,22 +4416,22 @@ class _n extends w {
4411
4416
  e._continuousHoverCleanup = u;
4412
4417
  }
4413
4418
  }
4414
- function he(o) {
4415
- return new _n(o);
4419
+ function me(r) {
4420
+ return new _n(r);
4416
4421
  }
4417
- function _r(o) {
4418
- return he({
4422
+ function _o(r) {
4423
+ return me({
4419
4424
  coordinateSpace: "local",
4420
- perform: o
4425
+ perform: r
4421
4426
  });
4422
4427
  }
4423
- function Br(o) {
4424
- return he({
4428
+ function Ho(r) {
4429
+ return me({
4425
4430
  coordinateSpace: "global",
4426
- perform: o
4431
+ perform: r
4427
4432
  });
4428
4433
  }
4429
- class Bn extends w {
4434
+ class Hn extends w {
4430
4435
  constructor() {
4431
4436
  super(...arguments);
4432
4437
  d(this, "type", "allowsHitTesting");
@@ -4441,90 +4446,90 @@ class Bn extends w {
4441
4446
  t ? i.style.pointerEvents === "none" && (i.style.pointerEvents = "") : i.style.pointerEvents = "none", e._hitTestingEnabled = t;
4442
4447
  }
4443
4448
  }
4444
- function ye(o) {
4445
- return new Bn({ enabled: o });
4449
+ function ye(r) {
4450
+ return new Hn({ enabled: r });
4446
4451
  }
4447
- function Hr() {
4452
+ function zo() {
4448
4453
  return ye(!0);
4449
4454
  }
4450
- function Nr() {
4455
+ function Fo() {
4451
4456
  return ye(!1);
4452
4457
  }
4453
- function Hn(o, s) {
4458
+ function zn(r, s) {
4454
4459
  return new C({
4455
- highPriorityGesture: { gesture: o, including: s }
4460
+ highPriorityGesture: { gesture: r, including: s }
4456
4461
  });
4457
4462
  }
4458
- function Nn(o, s) {
4463
+ function Fn(r, s) {
4459
4464
  return new C({
4460
- simultaneousGesture: { gesture: o, including: s }
4465
+ simultaneousGesture: { gesture: r, including: s }
4461
4466
  });
4462
4467
  }
4463
- function zn(o) {
4464
- return new C({ onTap: o });
4468
+ function Nn(r) {
4469
+ return new C({ onTap: r });
4465
4470
  }
4466
- function zr(o) {
4467
- return new C({ onFocus: o });
4471
+ function No(r) {
4472
+ return new C({ onFocus: r });
4468
4473
  }
4469
- function Fr(o) {
4470
- return new C({ onBlur: o });
4474
+ function Wo(r) {
4475
+ return new C({ onBlur: r });
4471
4476
  }
4472
- function Fn(o) {
4473
- return new C({ onScroll: o });
4477
+ function Wn(r) {
4478
+ return new C({ onScroll: r });
4474
4479
  }
4475
- function Wr(o) {
4476
- return new C({ onKeyDown: o });
4480
+ function jo(r) {
4481
+ return new C({ onKeyDown: r });
4477
4482
  }
4478
- function jr(o) {
4479
- return new C({ onKeyPress: o });
4483
+ function Uo(r) {
4484
+ return new C({ onKeyPress: r });
4480
4485
  }
4481
- function Ur(o) {
4482
- return new C({ onKeyUp: o });
4486
+ function Go(r) {
4487
+ return new C({ onKeyUp: r });
4483
4488
  }
4484
- function Gr(o) {
4485
- return new C({ onDoubleClick: o });
4489
+ function Ko(r) {
4490
+ return new C({ onDoubleClick: r });
4486
4491
  }
4487
- function Kr(o) {
4488
- return new C({ onContextMenu: o });
4492
+ function Yo(r) {
4493
+ return new C({ onContextMenu: r });
4489
4494
  }
4490
- function Wn(o) {
4491
- return new C({ onWheel: o });
4495
+ function jn(r) {
4496
+ return new C({ onWheel: r });
4492
4497
  }
4493
- function jn(o) {
4494
- return new C({ onInput: o });
4498
+ function Un(r) {
4499
+ return new C({ onInput: r });
4495
4500
  }
4496
- function Un(o) {
4497
- return new C({ onChange: o });
4501
+ function Gn(r) {
4502
+ return new C({ onChange: r });
4498
4503
  }
4499
- function Gn(o) {
4500
- return new C({ onCopy: o });
4504
+ function Kn(r) {
4505
+ return new C({ onCopy: r });
4501
4506
  }
4502
- function Kn(o) {
4503
- return new C({ onCut: o });
4507
+ function Yn(r) {
4508
+ return new C({ onCut: r });
4504
4509
  }
4505
- function Yn(o) {
4506
- return new C({ onPaste: o });
4510
+ function Xn(r) {
4511
+ return new C({ onPaste: r });
4507
4512
  }
4508
- function Xn(o) {
4509
- return new C({ onSelect: o });
4513
+ function Zn(r) {
4514
+ return new C({ onSelect: r });
4510
4515
  }
4511
- function Zn(o) {
4512
- return new C({ onTouchStart: o });
4516
+ function qn(r) {
4517
+ return new C({ onTouchStart: r });
4513
4518
  }
4514
- function qn(o) {
4515
- return new C({ onTouchMove: o });
4519
+ function Jn(r) {
4520
+ return new C({ onTouchMove: r });
4516
4521
  }
4517
- function Jn(o) {
4518
- return new C({ onTouchEnd: o });
4522
+ function Qn(r) {
4523
+ return new C({ onTouchEnd: r });
4519
4524
  }
4520
- function Qn(o) {
4521
- return new C({ onSwipeLeft: o });
4525
+ function er(r) {
4526
+ return new C({ onSwipeLeft: r });
4522
4527
  }
4523
- function eo(o) {
4524
- return new C({ onSwipeRight: o });
4528
+ function tr(r) {
4529
+ return new C({ onSwipeRight: r });
4525
4530
  }
4526
- function to(o = !0) {
4527
- return new C({ disabled: o });
4531
+ function ir(r = !0) {
4532
+ return new C({ disabled: r });
4528
4533
  }
4529
4534
  class G extends g {
4530
4535
  // Lower priority for utility properties
@@ -4567,26 +4572,26 @@ class G extends g {
4567
4572
  );
4568
4573
  }
4569
4574
  }
4570
- function io(o) {
4571
- return new G(o);
4575
+ function nr(r) {
4576
+ return new G(r);
4572
4577
  }
4573
- function no(o) {
4574
- return new G({ cursor: o });
4578
+ function rr(r) {
4579
+ return new G({ cursor: r });
4575
4580
  }
4576
- function oo(o) {
4577
- return new G({ overflowY: o });
4581
+ function or(r) {
4582
+ return new G({ overflowY: r });
4578
4583
  }
4579
- function ro(o) {
4580
- return new G({ overflowX: o });
4584
+ function sr(r) {
4585
+ return new G({ overflowX: r });
4581
4586
  }
4582
- function so(o) {
4583
- return new G({ display: o });
4587
+ function ar(r) {
4588
+ return new G({ display: r });
4584
4589
  }
4585
- function ao(o) {
4586
- return new G({ outline: o });
4590
+ function lr(r) {
4591
+ return new G({ outline: r });
4587
4592
  }
4588
- function lo(o) {
4589
- return new G({ outlineOffset: o });
4593
+ function cr(r) {
4594
+ return new G({ outlineOffset: r });
4590
4595
  }
4591
4596
  class ae extends g {
4592
4597
  // Very low priority so raw CSS doesn't override specific modifiers
@@ -4607,24 +4612,24 @@ class ae extends g {
4607
4612
  const t = {};
4608
4613
  for (const [i, n] of Object.entries(e))
4609
4614
  if (n !== void 0) {
4610
- const r = this.toCSSProperty(i);
4611
- t[r] = this.toCSSValue(n);
4615
+ const o = this.toCSSProperty(i);
4616
+ t[o] = this.toCSSValue(n);
4612
4617
  }
4613
4618
  return t;
4614
4619
  }
4615
4620
  }
4616
- function co(o) {
4617
- return new ae(o);
4621
+ function dr(r) {
4622
+ return new ae(r);
4618
4623
  }
4619
- function fo(o, s) {
4620
- return new ae({ [o]: s });
4624
+ function fr(r, s) {
4625
+ return new ae({ [r]: s });
4621
4626
  }
4622
- function uo(o, s) {
4623
- const e = o.startsWith("--") ? o : `--${o}`;
4627
+ function ur(r, s) {
4628
+ const e = r.startsWith("--") ? r : `--${r}`;
4624
4629
  return new ae({ [e]: s });
4625
4630
  }
4626
- function Yr(o, s, e) {
4627
- const t = o.charAt(0).toUpperCase() + o.slice(1), i = `-${o.toLowerCase()}-${s}`, n = t + s.charAt(0).toUpperCase() + s.slice(1);
4631
+ function Xo(r, s, e) {
4632
+ const t = r.charAt(0).toUpperCase() + r.slice(1), i = `-${r.toLowerCase()}-${s}`, n = t + s.charAt(0).toUpperCase() + s.slice(1);
4628
4633
  return new ae({
4629
4634
  [i]: e,
4630
4635
  [n]: e
@@ -4671,12 +4676,12 @@ class ee {
4671
4676
  s.remove();
4672
4677
  return;
4673
4678
  }
4674
- const n = this.getAllowedAttributesForTag(t, e), r = [];
4679
+ const n = this.getAllowedAttributesForTag(t, e), o = [];
4675
4680
  for (let l = 0; l < s.attributes.length; l++) {
4676
4681
  const c = s.attributes[l];
4677
- n.includes(c.name) && this.isAttributeValueSafe(c.name, c.value) || r.push(c.name);
4682
+ n.includes(c.name) && this.isAttributeValueSafe(c.name, c.value) || o.push(c.name);
4678
4683
  }
4679
- r.forEach((l) => s.removeAttribute(l)), Array.from(s.children).forEach((l) => this.cleanElement(l, e));
4684
+ o.forEach((l) => s.removeAttribute(l)), Array.from(s.children).forEach((l) => this.cleanElement(l, e));
4680
4685
  }
4681
4686
  /**
4682
4687
  * Get allowed attributes for a specific tag
@@ -4785,8 +4790,8 @@ d(ee, "DANGEROUS_PATTERNS", [
4785
4790
  td: ["colspan", "rowspan"],
4786
4791
  th: ["colspan", "rowspan", "scope"]
4787
4792
  });
4788
- function Xr(o, s) {
4789
- return ee.sanitize(o, s);
4793
+ function Zo(r, s) {
4794
+ return ee.sanitize(r, s);
4790
4795
  }
4791
4796
  class _e {
4792
4797
  /**
@@ -4830,7 +4835,7 @@ d(_e, "SUSPICIOUS_PATTERNS", [
4830
4835
  { pattern: /@import/i, message: "CSS import statements detected" },
4831
4836
  { pattern: /expression\s*\(/i, message: "CSS expressions detected" }
4832
4837
  ]);
4833
- class po extends g {
4838
+ class pr extends g {
4834
4839
  // Early priority to apply before other modifiers
4835
4840
  constructor(e = {}) {
4836
4841
  super(e);
@@ -4849,10 +4854,10 @@ class po extends g {
4849
4854
  process.env.NODE_ENV === "development" && console.warn("asHTML: No content found in Text component");
4850
4855
  return;
4851
4856
  }
4852
- const r = this.sanitizeHTML(n);
4857
+ const o = this.sanitizeHTML(n);
4853
4858
  for (; t.element.firstChild; )
4854
4859
  t.element.removeChild(t.element.firstChild);
4855
- t.element.innerHTML = r, t.element.__tachui_asHTML = !0, process.env.NODE_ENV === "development" && this.validateContent(n);
4860
+ t.element.innerHTML = o, t.element.__tachui_asHTML = !0, process.env.NODE_ENV === "development" && this.validateContent(n);
4856
4861
  }
4857
4862
  isTextComponent(e) {
4858
4863
  return e.type === "Text" || e.constructor?.name === "TextComponent" || e.__tachui_component_type === "Text" || e.props && e.props.__componentType === "Text" || // Check componentMetadata for enhanced Text components (primary check for new Text components)
@@ -4902,25 +4907,25 @@ class po extends g {
4902
4907
  }), 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!");
4903
4908
  }
4904
4909
  }
4905
- function mo(o = {}) {
4906
- return new po(o);
4910
+ function hr(r = {}) {
4911
+ return new pr(r);
4907
4912
  }
4908
- function ho(o) {
4909
- return new B({
4910
- navigationTitle: o,
4913
+ function mr(r) {
4914
+ return new _({
4915
+ navigationTitle: r,
4911
4916
  role: "heading"
4912
4917
  });
4913
4918
  }
4914
- function yo(o = !0) {
4915
- return new B({
4916
- navigationBarHidden: o,
4917
- "aria-hidden": o.toString()
4919
+ function yr(r = !0) {
4920
+ return new _({
4921
+ navigationBarHidden: r,
4922
+ "aria-hidden": r.toString()
4918
4923
  });
4919
4924
  }
4920
- function go(o) {
4921
- return new B({ navigationBarItems: o });
4925
+ function gr(r) {
4926
+ return new _({ navigationBarItems: r });
4922
4927
  }
4923
- class vo extends g {
4928
+ class vr extends g {
4924
4929
  // High priority for HTML attributes
4925
4930
  constructor(e) {
4926
4931
  super(e);
@@ -4944,10 +4949,10 @@ class vo extends g {
4944
4949
  );
4945
4950
  }
4946
4951
  }
4947
- function de(o) {
4948
- return new vo({ id: o });
4952
+ function de(r) {
4953
+ return new vr({ id: r });
4949
4954
  }
4950
- class bo extends g {
4955
+ class br extends g {
4951
4956
  // High priority for HTML attributes
4952
4957
  constructor(e) {
4953
4958
  super(e);
@@ -4957,8 +4962,8 @@ class bo extends g {
4957
4962
  apply(e, t) {
4958
4963
  if (!t.element) return;
4959
4964
  const { data: i } = this.properties;
4960
- typeof process < "u" && process.env.NODE_ENV === "development" && this.validateDataAttributes(i), Object.entries(i).forEach(([n, r]) => {
4961
- const a = this.formatDataAttributeName(n), l = this.formatDataAttributeValue(r);
4965
+ typeof process < "u" && process.env.NODE_ENV === "development" && this.validateDataAttributes(i), Object.entries(i).forEach(([n, o]) => {
4966
+ const a = this.formatDataAttributeName(n), l = this.formatDataAttributeValue(o);
4962
4967
  t.element.setAttribute(a, l);
4963
4968
  });
4964
4969
  }
@@ -4986,10 +4991,10 @@ class bo extends g {
4986
4991
  });
4987
4992
  }
4988
4993
  }
4989
- function So(o) {
4990
- return new bo({ data: o });
4994
+ function Sr(r) {
4995
+ return new br({ data: r });
4991
4996
  }
4992
- class wo extends g {
4997
+ class wr extends g {
4993
4998
  // High priority for accessibility
4994
4999
  constructor(e) {
4995
5000
  super(e);
@@ -5013,8 +5018,8 @@ class wo extends g {
5013
5018
  );
5014
5019
  }
5015
5020
  }
5016
- function Co(o) {
5017
- return new wo({ tabIndex: o });
5021
+ function Cr(r) {
5022
+ return new wr({ tabIndex: r });
5018
5023
  }
5019
5024
  const se = class se extends g {
5020
5025
  constructor(e) {
@@ -5025,9 +5030,9 @@ const se = class se extends g {
5025
5030
  apply(e, t) {
5026
5031
  if (!t.element) return;
5027
5032
  const { aria: i } = this.properties;
5028
- typeof process < "u" && process.env.NODE_ENV === "development" && this.validateAriaAttributes(i), Object.entries(i).forEach(([n, r]) => {
5029
- if (r != null) {
5030
- const a = this.formatAriaAttributeName(n), l = this.formatAriaAttributeValue(r);
5033
+ typeof process < "u" && process.env.NODE_ENV === "development" && this.validateAriaAttributes(i), Object.entries(i).forEach(([n, o]) => {
5034
+ if (o != null) {
5035
+ const a = this.formatAriaAttributeName(n), l = this.formatAriaAttributeValue(o);
5031
5036
  t.element.setAttribute(a, l);
5032
5037
  }
5033
5038
  });
@@ -5079,9 +5084,9 @@ const se = class se extends g {
5079
5084
  );
5080
5085
  break;
5081
5086
  case "current":
5082
- const r = ["page", "step", "location", "date", "time"];
5083
- typeof t == "string" && !r.includes(t) && console.warn(
5084
- `TachUI ARIA Modifier: Invalid value "${t}" for aria-current. Valid values are: false, true, ${r.join(", ")}`
5087
+ const o = ["page", "step", "location", "date", "time"];
5088
+ typeof t == "string" && !o.includes(t) && console.warn(
5089
+ `TachUI ARIA Modifier: Invalid value "${t}" for aria-current. Valid values are: false, true, ${o.join(", ")}`
5085
5090
  );
5086
5091
  break;
5087
5092
  case "invalid":
@@ -5180,23 +5185,23 @@ d(se, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
5180
5185
  "role"
5181
5186
  ]));
5182
5187
  let fe = se;
5183
- function q(o) {
5184
- return new fe({ aria: o });
5188
+ function q(r) {
5189
+ return new fe({ aria: r });
5185
5190
  }
5186
- function Eo(o) {
5187
- return q({ role: o });
5191
+ function Er(r) {
5192
+ return q({ role: r });
5188
5193
  }
5189
- function xo(o) {
5190
- return q({ label: o });
5194
+ function xr(r) {
5195
+ return q({ label: r });
5191
5196
  }
5192
- function Mo(o) {
5193
- return q({ live: o });
5197
+ function Tr(r) {
5198
+ return q({ live: r });
5194
5199
  }
5195
- function To(o) {
5196
- return q({ describedby: o });
5200
+ function Mr(r) {
5201
+ return q({ describedby: r });
5197
5202
  }
5198
- function Lo(o) {
5199
- return q({ modal: o });
5203
+ function Lr(r) {
5204
+ return q({ modal: r });
5200
5205
  }
5201
5206
  class te extends g {
5202
5207
  // Early application for CSS variables
@@ -5207,13 +5212,13 @@ class te extends g {
5207
5212
  }
5208
5213
  apply(e, t) {
5209
5214
  if (!t.element) return;
5210
- const i = this.computeCustomPropertyStyles(this.properties), n = t.element, r = (typeof HTMLElement < "u" && n instanceof HTMLElement, n.style);
5211
- if (r && typeof r.setProperty == "function") {
5215
+ const i = this.computeCustomPropertyStyles(this.properties), n = t.element, o = (typeof HTMLElement < "u" && n instanceof HTMLElement, n.style);
5216
+ if (o && typeof o.setProperty == "function") {
5212
5217
  for (const [a, l] of Object.entries(i)) {
5213
5218
  const c = a.startsWith("--") ? a.slice(2) : a, u = `--${this.toCSSProperty(c)}`;
5214
- r.setProperty(u, l);
5219
+ o.setProperty(u, l);
5215
5220
  try {
5216
- r[u] = l;
5221
+ o[u] = l;
5217
5222
  } catch {
5218
5223
  }
5219
5224
  }
@@ -5224,35 +5229,35 @@ class te extends g {
5224
5229
  computeCustomPropertyStyles(e) {
5225
5230
  const t = {};
5226
5231
  return Object.entries(e.properties).forEach(([i, n]) => {
5227
- const r = i.startsWith("--") ? i : `--${i}`;
5228
- t[r] = this.formatPropertyValue(n);
5232
+ const o = i.startsWith("--") ? i : `--${i}`;
5233
+ t[o] = this.formatPropertyValue(n);
5229
5234
  }), t;
5230
5235
  }
5231
5236
  formatPropertyValue(e) {
5232
5237
  return typeof e == "number" ? e.toString() : String(e);
5233
5238
  }
5234
5239
  }
5235
- function Ao(o) {
5240
+ function kr(r) {
5236
5241
  return new te({
5237
- properties: o.properties,
5238
- scope: o.scope || "local"
5242
+ properties: r.properties,
5243
+ scope: r.scope || "local"
5239
5244
  });
5240
5245
  }
5241
- function ko(o, s, e) {
5246
+ function Ar(r, s, e) {
5242
5247
  return new te({
5243
- properties: { [o]: s },
5248
+ properties: { [r]: s },
5244
5249
  scope: e || "local"
5245
5250
  });
5246
5251
  }
5247
- function Io(o) {
5252
+ function Ir(r) {
5248
5253
  return new te({
5249
- properties: o,
5254
+ properties: r,
5250
5255
  scope: "local"
5251
5256
  });
5252
5257
  }
5253
- function Zr(o) {
5258
+ function qo(r) {
5254
5259
  const s = {};
5255
- return Object.entries(o).forEach(([e, t]) => {
5260
+ return Object.entries(r).forEach(([e, t]) => {
5256
5261
  if (t !== void 0) {
5257
5262
  const i = e.replace(
5258
5263
  /[A-Z]/g,
@@ -5265,9 +5270,9 @@ function Zr(o) {
5265
5270
  scope: "local"
5266
5271
  });
5267
5272
  }
5268
- function qr(o) {
5273
+ function Jo(r) {
5269
5274
  const s = {};
5270
- return Object.entries(o).forEach(([e, t]) => {
5275
+ return Object.entries(r).forEach(([e, t]) => {
5271
5276
  t !== void 0 && (s[`--token-${e}`] = t);
5272
5277
  }), new te({
5273
5278
  properties: s,
@@ -5286,21 +5291,21 @@ const W = class W extends w {
5286
5291
  t.element.classList.add(i), this.properties.before && this.addPseudoElementRule(i, "before", this.properties.before), this.properties.after && this.addPseudoElementRule(i, "after", this.properties.after);
5287
5292
  }
5288
5293
  addPseudoElementRule(e, t, i) {
5289
- const n = this.getOrCreateStyleSheet(), r = this.generatePseudoElementCSS(e, t, i);
5294
+ const n = this.getOrCreateStyleSheet(), o = this.generatePseudoElementCSS(e, t, i);
5290
5295
  try {
5291
- n.insertRule(r);
5296
+ n.insertRule(o);
5292
5297
  } catch (a) {
5293
5298
  (typeof process > "u" || process.env.NODE_ENV !== "test") && console.warn("Failed to add pseudo-element rule:", a);
5294
5299
  }
5295
5300
  }
5296
5301
  generatePseudoElementCSS(e, t, i) {
5297
- const n = `.${e}::${t}`, r = [];
5302
+ const n = `.${e}::${t}`, o = [];
5298
5303
  return i.content || (i.content = '""'), Object.entries(i).forEach(([a, l]) => {
5299
5304
  if (l !== void 0) {
5300
5305
  const c = this.toCSSProperty(a), u = this.formatCSSValue(a, l);
5301
- r.push(`${c}: ${u}`);
5306
+ o.push(`${c}: ${u}`);
5302
5307
  }
5303
- }), `${n} { ${r.join("; ")} }`;
5308
+ }), `${n} { ${o.join("; ")} }`;
5304
5309
  }
5305
5310
  formatCSSValue(e, t) {
5306
5311
  return e === "content" ? typeof t == "string" ? !t.startsWith('"') && !t.startsWith("'") ? `"${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"` : t : '""' : typeof t == "number" ? [
@@ -5336,55 +5341,55 @@ const W = class W extends w {
5336
5341
  // High priority to ensure pseudo-elements are applied last
5337
5342
  d(W, "styleSheetId", "tachui-pseudo-elements"), d(W, "elementCount", 0);
5338
5343
  let X = W;
5339
- function J(o) {
5340
- return new X({ before: o });
5344
+ function J(r) {
5345
+ return new X({ before: r });
5341
5346
  }
5342
- function ie(o) {
5343
- return new X({ after: o });
5347
+ function ie(r) {
5348
+ return new X({ after: r });
5344
5349
  }
5345
- function Po(o) {
5346
- return new X(o);
5350
+ function Pr(r) {
5351
+ return new X(r);
5347
5352
  }
5348
- function $o(o, s = {}) {
5353
+ function $r(r, s = {}) {
5349
5354
  return J({
5350
- content: o,
5355
+ content: r,
5351
5356
  display: "inline-block",
5352
5357
  ...s
5353
5358
  });
5354
5359
  }
5355
- function Vo(o, s = {}) {
5360
+ function Vr(r, s = {}) {
5356
5361
  return ie({
5357
- content: o,
5362
+ content: r,
5358
5363
  display: "inline-block",
5359
5364
  ...s
5360
5365
  });
5361
5366
  }
5362
- function Ro(o = "#ddd", s = 1, e = 16) {
5367
+ function Rr(r = "#ddd", s = 1, e = 16) {
5363
5368
  return J({
5364
5369
  content: "",
5365
5370
  display: "inline-block",
5366
5371
  width: e,
5367
5372
  height: s,
5368
- backgroundColor: o,
5373
+ backgroundColor: r,
5369
5374
  marginRight: 8,
5370
5375
  verticalAlign: "middle"
5371
5376
  });
5372
5377
  }
5373
- function Do(o = "#ddd", s = 1, e = 16) {
5378
+ function Dr(r = "#ddd", s = 1, e = 16) {
5374
5379
  return ie({
5375
5380
  content: "",
5376
5381
  display: "inline-block",
5377
5382
  width: e,
5378
5383
  height: s,
5379
- backgroundColor: o,
5384
+ backgroundColor: r,
5380
5385
  marginLeft: 8,
5381
5386
  verticalAlign: "middle"
5382
5387
  });
5383
5388
  }
5384
- function Oo(o = '"', s = '"') {
5389
+ function Or(r = '"', s = '"') {
5385
5390
  return new X({
5386
5391
  before: {
5387
- content: o,
5392
+ content: r,
5388
5393
  fontSize: "1.2em",
5389
5394
  color: "#666",
5390
5395
  marginRight: 4
@@ -5397,7 +5402,7 @@ function Oo(o = '"', s = '"') {
5397
5402
  }
5398
5403
  });
5399
5404
  }
5400
- function _o(o = "currentColor", s = 1, e = 1) {
5405
+ function Br(r = "currentColor", s = 1, e = 1) {
5401
5406
  return ie({
5402
5407
  content: "",
5403
5408
  position: "absolute",
@@ -5405,11 +5410,11 @@ function _o(o = "currentColor", s = 1, e = 1) {
5405
5410
  left: 0,
5406
5411
  right: 0,
5407
5412
  height: s,
5408
- backgroundColor: o,
5413
+ backgroundColor: r,
5409
5414
  opacity: e
5410
5415
  });
5411
5416
  }
5412
- function Bo(o = "#ff3b30", s = 6, e = "") {
5417
+ function _r(r = "#ff3b30", s = 6, e = "") {
5413
5418
  return ie({
5414
5419
  content: e,
5415
5420
  position: "absolute",
@@ -5418,7 +5423,7 @@ function Bo(o = "#ff3b30", s = 6, e = "") {
5418
5423
  width: e ? "auto" : s,
5419
5424
  height: s,
5420
5425
  minWidth: s,
5421
- backgroundColor: o,
5426
+ backgroundColor: r,
5422
5427
  borderRadius: "50%",
5423
5428
  fontSize: 10,
5424
5429
  color: "white",
@@ -5430,9 +5435,9 @@ function Bo(o = "#ff3b30", s = 6, e = "") {
5430
5435
  justifyContent: "center"
5431
5436
  });
5432
5437
  }
5433
- function Ho(o, s = "top", e = "#333", t = "white") {
5438
+ function Hr(r, s = "top", e = "#333", t = "white") {
5434
5439
  return J({
5435
- content: o,
5440
+ content: r,
5436
5441
  position: "absolute",
5437
5442
  backgroundColor: e,
5438
5443
  color: t,
@@ -5472,9 +5477,9 @@ function Ho(o, s = "top", e = "#333", t = "white") {
5472
5477
  }[s]
5473
5478
  });
5474
5479
  }
5475
- function No(o, s = "#ff3b30", e = "white") {
5480
+ function zr(r, s = "#ff3b30", e = "white") {
5476
5481
  return J({
5477
- content: o,
5482
+ content: r,
5478
5483
  position: "absolute",
5479
5484
  top: 8,
5480
5485
  right: -8,
@@ -5489,7 +5494,7 @@ function No(o, s = "#ff3b30", e = "white") {
5489
5494
  zIndex: 10
5490
5495
  });
5491
5496
  }
5492
- function zo(o = 20, s = "#007AFF", e = 2) {
5497
+ function Fr(r = 20, s = "#007AFF", e = 2) {
5493
5498
  if (!document.getElementById("tachui-spinner-animation")) {
5494
5499
  const t = document.createElement("style");
5495
5500
  t.id = "tachui-spinner-animation", t.textContent = `
@@ -5502,491 +5507,491 @@ function zo(o = 20, s = "#007AFF", e = 2) {
5502
5507
  return J({
5503
5508
  content: "",
5504
5509
  display: "inline-block",
5505
- width: o,
5506
- height: o,
5510
+ width: r,
5511
+ height: r,
5507
5512
  border: `${e}px solid transparent`,
5508
5513
  borderTop: `${e}px solid ${s}`,
5509
5514
  borderRadius: "50%",
5510
5515
  animation: "spin 1s linear infinite"
5511
5516
  });
5512
5517
  }
5513
- const Fo = [
5518
+ const Nr = [
5514
5519
  // Padding
5515
5520
  ["padding", x],
5516
- ["paddingTop", Je],
5517
- ["paddingBottom", Qe],
5518
- ["paddingLeft", et],
5519
- ["paddingRight", tt],
5520
- ["paddingLeading", it],
5521
- ["paddingTrailing", nt],
5521
+ ["paddingTop", Qe],
5522
+ ["paddingBottom", et],
5523
+ ["paddingLeft", tt],
5524
+ ["paddingRight", it],
5525
+ ["paddingLeading", nt],
5526
+ ["paddingTrailing", rt],
5522
5527
  ["paddingHorizontal", ot],
5523
- ["paddingVertical", rt],
5528
+ ["paddingVertical", st],
5524
5529
  // Margin
5525
- ["margin", M],
5526
- ["marginTop", st],
5527
- ["marginBottom", at],
5528
- ["marginLeft", lt],
5529
- ["marginRight", ct],
5530
- ["marginLeading", dt],
5531
- ["marginTrailing", ft],
5532
- ["marginHorizontal", ut],
5533
- ["marginVertical", pt],
5530
+ ["margin", T],
5531
+ ["marginTop", at],
5532
+ ["marginBottom", lt],
5533
+ ["marginLeft", ct],
5534
+ ["marginRight", dt],
5535
+ ["marginLeading", ft],
5536
+ ["marginTrailing", ut],
5537
+ ["marginHorizontal", pt],
5538
+ ["marginVertical", ht],
5534
5539
  // Size helpers
5535
5540
  ["size", mt],
5536
- ["width", ht],
5537
- ["height", yt],
5538
- ["maxWidth", gt],
5539
- ["maxHeight", bt],
5540
- ["minWidth", vt],
5541
- ["minHeight", St],
5541
+ ["width", yt],
5542
+ ["height", gt],
5543
+ ["maxWidth", vt],
5544
+ ["maxHeight", St],
5545
+ ["minWidth", bt],
5546
+ ["minHeight", wt],
5542
5547
  // Layout + flexbox
5543
- ["aspectRatio", Ht],
5544
- ["fixedSize", Ft],
5545
- ["frame", Wt],
5546
- ["resizable", Gt],
5547
- ["layoutPriority", jt],
5548
- ["offset", Ot],
5549
- ["overlay", Qt],
5550
- ["position", Xt],
5551
- ["absolutePosition", Ut],
5552
- ["scaleEffect", Bt],
5553
- ["zIndex", qt],
5548
+ ["aspectRatio", zt],
5549
+ ["fixedSize", Wt],
5550
+ ["frame", jt],
5551
+ ["resizable", Kt],
5552
+ ["layoutPriority", Ut],
5553
+ ["offset", Bt],
5554
+ ["overlay", ei],
5555
+ ["position", Zt],
5556
+ ["absolutePosition", Gt],
5557
+ ["scaleEffect", Ht],
5558
+ ["zIndex", Jt],
5554
5559
  ["flexbox", I],
5555
- ["flexGrow", Tt],
5556
- ["flexShrink", Lt],
5560
+ ["flexGrow", Lt],
5561
+ ["flexShrink", kt],
5557
5562
  ["flexBasis", At],
5558
- ["justifyContent", kt],
5559
- ["alignItems", It],
5560
- ["alignSelf", Pt],
5561
- ["gap", $t],
5562
- ["flexDirection", Vt],
5563
- ["flexWrap", Rt],
5563
+ ["justifyContent", It],
5564
+ ["alignItems", Pt],
5565
+ ["alignSelf", $t],
5566
+ ["gap", Vt],
5567
+ ["flexDirection", Rt],
5568
+ ["flexWrap", Dt],
5564
5569
  // Appearance
5565
- ["backgroundColor", ii],
5566
- ["background", ni],
5570
+ ["backgroundColor", ni],
5571
+ ["background", ri],
5567
5572
  ["backgroundImage", oi],
5568
- ["blendMode", ai],
5569
- ["backgroundBlendMode", li],
5570
- ["compositingGroup", di],
5571
- ["border", ui],
5572
- ["borderTop", pi],
5573
- ["borderBottom", hi],
5574
- ["borderLeft", yi],
5573
+ ["blendMode", li],
5574
+ ["backgroundBlendMode", ci],
5575
+ ["compositingGroup", fi],
5576
+ ["border", pi],
5577
+ ["borderTop", hi],
5578
+ ["borderBottom", yi],
5579
+ ["borderLeft", gi],
5575
5580
  ["borderRight", mi],
5576
- ["clipShape", bi],
5577
- ["clipped", wi],
5578
- ["cornerRadius", Ei],
5579
- ["foregroundColor", gi],
5581
+ ["clipShape", Si],
5582
+ ["clipped", Ci],
5583
+ ["cornerRadius", xi],
5584
+ ["foregroundColor", vi],
5580
5585
  ["gradientText", Z],
5581
- ["opacity", Ci],
5582
- ["fontFamily", xi],
5586
+ ["opacity", Ei],
5587
+ ["fontFamily", Ti],
5583
5588
  ["fontSize", Mi],
5584
- ["fontWeight", Ti],
5585
- ["fontStyle", Li],
5589
+ ["fontWeight", Li],
5590
+ ["fontStyle", ki],
5586
5591
  ["fontPreset", Ai],
5587
5592
  // Typography
5588
- ["typography", Pi],
5589
- ["textAlign", $i],
5590
- ["font", Ni],
5591
- ["lineClamp", Wi],
5592
- ["wordBreak", Ui],
5593
- ["letterSpacing", Di],
5594
- ["lineHeight", Ri],
5595
- ["textDecoration", Vi],
5596
- ["textOverflow", Oi],
5597
- ["textTransform", De],
5598
- ["textCase", Hi],
5593
+ ["typography", $i],
5594
+ ["textAlign", Vi],
5595
+ ["font", Fi],
5596
+ ["lineClamp", ji],
5597
+ ["wordBreak", Gi],
5598
+ ["letterSpacing", Oi],
5599
+ ["lineHeight", Di],
5600
+ ["textDecoration", Ri],
5601
+ ["textOverflow", Bi],
5602
+ ["textTransform", Oe],
5603
+ ["textCase", zi],
5599
5604
  ["whiteSpace", _i],
5600
- ["overflow", Bi],
5601
- ["hyphens", Xi],
5602
- ["overflowWrap", Ki],
5605
+ ["overflow", Hi],
5606
+ ["hyphens", Zi],
5607
+ ["overflowWrap", Yi],
5603
5608
  // Interaction
5604
5609
  ["allowsHitTesting", ye],
5605
- ["focusable", me],
5606
- ["activatable", Dn],
5607
- ["editable", On],
5608
- ["focused", Vn],
5609
- ["keyboardShortcut", Oe],
5610
- ["onHover", sn],
5611
- ["onMouseEnter", pn],
5610
+ ["focusable", he],
5611
+ ["activatable", On],
5612
+ ["editable", Bn],
5613
+ ["focused", Rn],
5614
+ ["keyboardShortcut", Be],
5615
+ ["onHover", an],
5616
+ ["onMouseEnter", hn],
5612
5617
  ["onMouseLeave", mn],
5613
- ["onMouseDown", hn],
5614
- ["onMouseUp", yn],
5615
- ["onDoubleClick", gn],
5616
- ["onContextMenu", vn],
5617
- ["onKeyDown", Cn],
5618
- ["onKeyUp", En],
5619
- ["onKeyPress", xn],
5620
- ["onFocus", Ln],
5618
+ ["onMouseDown", yn],
5619
+ ["onMouseUp", gn],
5620
+ ["onDoubleClick", vn],
5621
+ ["onContextMenu", bn],
5622
+ ["onKeyDown", En],
5623
+ ["onKeyUp", xn],
5624
+ ["onKeyPress", Tn],
5625
+ ["onFocus", kn],
5621
5626
  ["onBlur", An],
5622
- ["onContinuousHover", he],
5623
- ["onLongPressGesture", In],
5624
- ["scroll", Zi],
5625
- ["scrollBehavior", qi],
5626
- ["overscrollBehavior", Ji],
5627
- ["overscrollBehaviorX", Qi],
5628
- ["overscrollBehaviorY", en],
5629
- ["scrollMargin", tn],
5630
- ["scrollPadding", nn],
5627
+ ["onContinuousHover", me],
5628
+ ["onLongPressGesture", Pn],
5629
+ ["scroll", qi],
5630
+ ["scrollBehavior", Ji],
5631
+ ["overscrollBehavior", Qi],
5632
+ ["overscrollBehaviorX", en],
5633
+ ["overscrollBehaviorY", tn],
5634
+ ["scrollMargin", nn],
5635
+ ["scrollPadding", rn],
5631
5636
  ["scrollSnap", on],
5632
- ["highPriorityGesture", Hn],
5633
- ["simultaneousGesture", Nn],
5634
- ["onTap", zn],
5635
- ["onScroll", Fn],
5636
- ["onWheel", Wn],
5637
- ["onInput", jn],
5638
- ["onChange", Un],
5639
- ["onCopy", Gn],
5640
- ["onCut", Kn],
5641
- ["onPaste", Yn],
5642
- ["onSelect", Xn],
5643
- ["onTouchStart", Zn],
5644
- ["onTouchMove", qn],
5645
- ["onTouchEnd", Jn],
5646
- ["onSwipeLeft", Qn],
5647
- ["onSwipeRight", eo],
5648
- ["disabled", to],
5637
+ ["highPriorityGesture", zn],
5638
+ ["simultaneousGesture", Fn],
5639
+ ["onTap", Nn],
5640
+ ["onScroll", Wn],
5641
+ ["onWheel", jn],
5642
+ ["onInput", Un],
5643
+ ["onChange", Gn],
5644
+ ["onCopy", Kn],
5645
+ ["onCut", Yn],
5646
+ ["onPaste", Xn],
5647
+ ["onSelect", Zn],
5648
+ ["onTouchStart", qn],
5649
+ ["onTouchMove", Jn],
5650
+ ["onTouchEnd", Qn],
5651
+ ["onSwipeLeft", er],
5652
+ ["onSwipeRight", tr],
5653
+ ["disabled", ir],
5649
5654
  // Utility
5650
- ["css", co],
5651
- ["cssProperty", fo],
5652
- ["cssVariable", uo],
5653
- ["utility", io],
5654
- ["cursor", no],
5655
- ["display", so],
5656
- ["overflowX", ro],
5657
- ["overflowY", oo],
5658
- ["outline", ao],
5659
- ["outlineOffset", lo],
5660
- ["asHTML", mo],
5661
- ["navigationTitle", ho],
5662
- ["navigationBarHidden", yo],
5663
- ["navigationBarItems", go],
5664
- ["animation", Et],
5665
- ["transform", Ct],
5666
- ["transitions", xt],
5667
- ["transition", wt],
5655
+ ["css", dr],
5656
+ ["cssProperty", fr],
5657
+ ["cssVariable", ur],
5658
+ ["utility", nr],
5659
+ ["cursor", rr],
5660
+ ["display", ar],
5661
+ ["overflowX", sr],
5662
+ ["overflowY", or],
5663
+ ["outline", lr],
5664
+ ["outlineOffset", cr],
5665
+ ["asHTML", hr],
5666
+ ["navigationTitle", mr],
5667
+ ["navigationBarHidden", yr],
5668
+ ["navigationBarItems", gr],
5669
+ ["animation", xt],
5670
+ ["transform", Et],
5671
+ ["transitions", Tt],
5672
+ ["transition", Ct],
5668
5673
  // Attributes
5669
5674
  ["aria", q],
5670
- ["ariaLabel", xo],
5671
- ["ariaLive", Mo],
5672
- ["ariaDescribedBy", To],
5673
- ["ariaModal", Lo],
5674
- ["role", Eo],
5675
- ["customProperties", Ao],
5676
- ["customProperty", ko],
5677
- ["cssVariables", Io],
5675
+ ["ariaLabel", xr],
5676
+ ["ariaLive", Tr],
5677
+ ["ariaDescribedBy", Mr],
5678
+ ["ariaModal", Lr],
5679
+ ["role", Er],
5680
+ ["customProperties", kr],
5681
+ ["customProperty", Ar],
5682
+ ["cssVariables", Ir],
5678
5683
  ["id", de],
5679
5684
  ["elementId", de],
5680
5685
  ["viewId", de],
5681
- ["data", So],
5682
- ["tabIndex", Co],
5686
+ ["data", Sr],
5687
+ ["tabIndex", Cr],
5683
5688
  // Elements / pseudo elements
5684
5689
  ["before", J],
5685
5690
  ["after", ie],
5686
- ["pseudoElements", Po],
5687
- ["iconBefore", $o],
5688
- ["iconAfter", Vo],
5689
- ["lineBefore", Ro],
5690
- ["lineAfter", Do],
5691
- ["quotes", Oo],
5692
- ["underline", _o],
5693
- ["badge", Bo],
5694
- ["tooltip", Ho],
5695
- ["cornerRibbon", No],
5696
- ["spinner", zo],
5691
+ ["pseudoElements", Pr],
5692
+ ["iconBefore", $r],
5693
+ ["iconAfter", Vr],
5694
+ ["lineBefore", Rr],
5695
+ ["lineAfter", Dr],
5696
+ ["quotes", Or],
5697
+ ["underline", Br],
5698
+ ["badge", _r],
5699
+ ["tooltip", Hr],
5700
+ ["cornerRibbon", zr],
5701
+ ["spinner", Fr],
5697
5702
  // Lifecycle
5698
5703
  ["task", Mt]
5699
5704
  ];
5700
- function Wo(o) {
5701
- const s = o?.registry ?? ze;
5705
+ function Wr(r) {
5706
+ const s = r?.registry ?? Ne;
5702
5707
  s.registerPlugin?.({
5703
5708
  name: "@tachui/modifiers",
5704
- version: qe,
5709
+ version: Je,
5705
5710
  author: "tachUI Team",
5706
5711
  verified: !0
5707
- }), Fo.forEach(([e, t]) => {
5712
+ }), Nr.forEach(([e, t]) => {
5708
5713
  s.has(e) || s.register(e, t);
5709
5714
  });
5710
5715
  }
5711
- Wo();
5716
+ Wr();
5712
5717
  export {
5713
- Dr as $,
5714
- Ie as A,
5715
- qt as B,
5716
- Te as C,
5717
- Qt as D,
5718
- Ni as E,
5718
+ Oo as $,
5719
+ Pe as A,
5720
+ Jt as B,
5721
+ Me as C,
5722
+ ei as D,
5723
+ Fi as E,
5719
5724
  R as F,
5720
- Pi as G,
5721
- $i as H,
5722
- De as I,
5723
- Vi as J,
5724
- Ir as K,
5725
- Pr as L,
5725
+ $i as G,
5726
+ Vi as H,
5727
+ Oe as I,
5728
+ Ri as J,
5729
+ Po as K,
5730
+ $o as L,
5726
5731
  V as M,
5727
- Ri as N,
5728
- Dt as O,
5729
- Yt as P,
5730
- Di as Q,
5731
- $r as R,
5732
+ Di as N,
5733
+ Ot as O,
5734
+ Xt as P,
5735
+ Oi as Q,
5736
+ Vo as R,
5732
5737
  _t as S,
5733
- k as T,
5734
- Oi as U,
5738
+ A as T,
5739
+ Bi as U,
5735
5740
  _i as V,
5736
- Bi as W,
5737
- Hi as X,
5738
- Vr as Y,
5739
- Pe as Z,
5740
- Rr as _,
5741
- Tt as a,
5742
- pn as a$,
5743
- Fi as a0,
5744
- Wi as a1,
5745
- ji as a2,
5746
- Ui as a3,
5747
- Gi as a4,
5748
- Ki as a5,
5749
- Yi as a6,
5750
- Xi as a7,
5751
- $e as a8,
5752
- ti as a9,
5753
- Tr as aA,
5754
- Lr as aB,
5755
- Ar as aC,
5756
- Re as aD,
5757
- gi as aE,
5758
- kr as aF,
5759
- vi as aG,
5760
- bi as aH,
5761
- Si as aI,
5762
- wi as aJ,
5741
+ Hi as W,
5742
+ zi as X,
5743
+ Ro as Y,
5744
+ $e as Z,
5745
+ Do as _,
5746
+ Lt as a,
5747
+ hn as a$,
5748
+ Wi as a0,
5749
+ ji as a1,
5750
+ Ui as a2,
5751
+ Gi as a3,
5752
+ Ki as a4,
5753
+ Yi as a5,
5754
+ Xi as a6,
5755
+ Zi as a7,
5756
+ Ve as a8,
5757
+ ii as a9,
5758
+ Lo as aA,
5759
+ ko as aB,
5760
+ Ao as aC,
5761
+ De as aD,
5762
+ vi as aE,
5763
+ Io as aF,
5764
+ bi as aG,
5765
+ Si as aH,
5766
+ wi as aI,
5767
+ Ci as aJ,
5763
5768
  H as aK,
5764
- Zi as aL,
5765
- qi as aM,
5766
- Ji as aN,
5767
- Qi as aO,
5768
- en as aP,
5769
- tn as aQ,
5770
- nn as aR,
5769
+ qi as aL,
5770
+ Ji as aM,
5771
+ Qi as aN,
5772
+ en as aO,
5773
+ tn as aP,
5774
+ nn as aQ,
5775
+ rn as aR,
5771
5776
  on as aS,
5772
- rn as aT,
5773
- sn as aU,
5774
- an as aV,
5775
- ln as aW,
5776
- cn as aX,
5777
- dn as aY,
5778
- fn as aZ,
5779
- un as a_,
5780
- Ve as aa,
5781
- ii as ab,
5782
- ni as ac,
5777
+ sn as aT,
5778
+ an as aU,
5779
+ ln as aV,
5780
+ cn as aW,
5781
+ dn as aX,
5782
+ fn as aY,
5783
+ un as aZ,
5784
+ pn as a_,
5785
+ Re as aa,
5786
+ ni as ab,
5787
+ ri as ac,
5783
5788
  oi as ad,
5784
- vr as ae,
5789
+ bo as ae,
5785
5790
  Z as af,
5786
- br as ag,
5787
- Sr as ah,
5788
- wr as ai,
5789
- Cr as aj,
5790
- Er as ak,
5791
- ri as al,
5792
- si as am,
5793
- ai as an,
5794
- li as ao,
5795
- ci as ap,
5796
- di as aq,
5797
- _ as ar,
5798
- fi as as,
5799
- ui as at,
5800
- pi as au,
5791
+ So as ag,
5792
+ wo as ah,
5793
+ Co as ai,
5794
+ Eo as aj,
5795
+ xo as ak,
5796
+ si as al,
5797
+ ai as am,
5798
+ li as an,
5799
+ ci as ao,
5800
+ di as ap,
5801
+ fi as aq,
5802
+ B as ar,
5803
+ ui as as,
5804
+ pi as at,
5805
+ hi as au,
5801
5806
  mi as av,
5802
- hi as aw,
5803
- yi as ax,
5804
- xr as ay,
5805
- Mr as az,
5806
- Fo as b,
5807
- so as b$,
5807
+ yi as aw,
5808
+ gi as ax,
5809
+ To as ay,
5810
+ Mo as az,
5811
+ Nr as b,
5812
+ ar as b$,
5808
5813
  mn as b0,
5809
- hn as b1,
5810
- yn as b2,
5811
- gn as b3,
5812
- vn as b4,
5813
- bn as b5,
5814
- Sn as b6,
5815
- wn as b7,
5816
- Cn as b8,
5817
- En as b9,
5818
- zn as bA,
5819
- zr as bB,
5820
- Fr as bC,
5821
- Fn as bD,
5822
- Wr as bE,
5823
- jr as bF,
5824
- Ur as bG,
5825
- Gr as bH,
5826
- Kr as bI,
5827
- Wn as bJ,
5828
- jn as bK,
5829
- Un as bL,
5830
- Gn as bM,
5831
- Kn as bN,
5832
- Yn as bO,
5833
- Xn as bP,
5834
- Zn as bQ,
5835
- qn as bR,
5836
- Jn as bS,
5837
- Qn as bT,
5838
- eo as bU,
5839
- to as bV,
5814
+ yn as b1,
5815
+ gn as b2,
5816
+ vn as b3,
5817
+ bn as b4,
5818
+ Sn as b5,
5819
+ wn as b6,
5820
+ Cn as b7,
5821
+ En as b8,
5822
+ xn as b9,
5823
+ Nn as bA,
5824
+ No as bB,
5825
+ Wo as bC,
5826
+ Wn as bD,
5827
+ jo as bE,
5828
+ Uo as bF,
5829
+ Go as bG,
5830
+ Ko as bH,
5831
+ Yo as bI,
5832
+ jn as bJ,
5833
+ Un as bK,
5834
+ Gn as bL,
5835
+ Kn as bM,
5836
+ Yn as bN,
5837
+ Xn as bO,
5838
+ Zn as bP,
5839
+ qn as bQ,
5840
+ Jn as bR,
5841
+ Qn as bS,
5842
+ er as bT,
5843
+ tr as bU,
5844
+ ir as bV,
5840
5845
  G as bW,
5841
- io as bX,
5842
- no as bY,
5843
- oo as bZ,
5844
- ro as b_,
5845
- xn as ba,
5846
+ nr as bX,
5847
+ rr as bY,
5848
+ or as bZ,
5849
+ sr as b_,
5850
+ Tn as ba,
5846
5851
  Mn as bb,
5847
- Tn as bc,
5848
- Ln as bd,
5852
+ Ln as bc,
5853
+ kn as bd,
5849
5854
  An as be,
5850
- kn as bf,
5851
- In as bg,
5852
- Pn as bh,
5853
- Oe as bi,
5854
- Or as bj,
5855
- $n as bk,
5856
- Vn as bl,
5857
- Rn as bm,
5858
- me as bn,
5859
- Dn as bo,
5860
- On as bp,
5855
+ In as bf,
5856
+ Pn as bg,
5857
+ $n as bh,
5858
+ Be as bi,
5859
+ Bo as bj,
5860
+ Vn as bk,
5861
+ Rn as bl,
5862
+ Dn as bm,
5863
+ he as bn,
5864
+ On as bo,
5865
+ Bn as bp,
5861
5866
  _n as bq,
5862
- he as br,
5863
- _r as bs,
5864
- Br as bt,
5865
- Bn as bu,
5867
+ me as br,
5868
+ _o as bs,
5869
+ Ho as bt,
5870
+ Hn as bu,
5866
5871
  ye as bv,
5867
- Hr as bw,
5868
- Nr as bx,
5869
- Hn as by,
5870
- Nn as bz,
5871
- Lt as c,
5872
- ft as c$,
5873
- ao as c0,
5874
- lo as c1,
5872
+ zo as bw,
5873
+ Fo as bx,
5874
+ zn as by,
5875
+ Fn as bz,
5876
+ kt as c,
5877
+ ut as c$,
5878
+ lr as c0,
5879
+ cr as c1,
5875
5880
  ae as c2,
5876
- co as c3,
5877
- fo as c4,
5878
- uo as c5,
5879
- Yr as c6,
5881
+ dr as c3,
5882
+ fr as c4,
5883
+ ur as c5,
5884
+ Xo as c6,
5880
5885
  ee as c7,
5881
- Xr as c8,
5882
- po as c9,
5883
- Mo as cA,
5884
- To as cB,
5885
- Lo as cC,
5886
+ Zo as c8,
5887
+ pr as c9,
5888
+ Tr as cA,
5889
+ Mr as cB,
5890
+ Lr as cC,
5886
5891
  te as cD,
5887
- Ao as cE,
5888
- ko as cF,
5889
- Io as cG,
5890
- Zr as cH,
5891
- qr as cI,
5892
+ kr as cE,
5893
+ Ar as cF,
5894
+ Ir as cG,
5895
+ qo as cH,
5896
+ Jo as cI,
5892
5897
  D as cJ,
5893
5898
  x as cK,
5894
- Je as cL,
5895
- Qe as cM,
5896
- et as cN,
5897
- tt as cO,
5898
- it as cP,
5899
- nt as cQ,
5899
+ Qe as cL,
5900
+ et as cM,
5901
+ tt as cN,
5902
+ it as cO,
5903
+ nt as cP,
5904
+ rt as cQ,
5900
5905
  ot as cR,
5901
- rt as cS,
5902
- lr as cT,
5906
+ st as cS,
5907
+ lo as cT,
5903
5908
  O as cU,
5904
- M as cV,
5905
- st as cW,
5906
- at as cX,
5907
- lt as cY,
5908
- ct as cZ,
5909
- dt as c_,
5910
- mo as ca,
5909
+ T as cV,
5910
+ at as cW,
5911
+ lt as cX,
5912
+ ct as cY,
5913
+ dt as cZ,
5914
+ ft as c_,
5915
+ hr as ca,
5911
5916
  _e as cb,
5912
5917
  X as cc,
5913
5918
  J as cd,
5914
5919
  ie as ce,
5915
- Po as cf,
5916
- $o as cg,
5917
- Vo as ch,
5918
- Ro as ci,
5919
- Do as cj,
5920
- Oo as ck,
5921
- _o as cl,
5922
- Bo as cm,
5923
- Ho as cn,
5924
- No as co,
5925
- zo as cp,
5926
- vo as cq,
5920
+ Pr as cf,
5921
+ $r as cg,
5922
+ Vr as ch,
5923
+ Rr as ci,
5924
+ Dr as cj,
5925
+ Or as ck,
5926
+ Br as cl,
5927
+ _r as cm,
5928
+ Hr as cn,
5929
+ zr as co,
5930
+ Fr as cp,
5931
+ vr as cq,
5927
5932
  de as cr,
5928
- bo as cs,
5929
- So as ct,
5930
- wo as cu,
5931
- Co as cv,
5933
+ br as cs,
5934
+ Sr as ct,
5935
+ wr as cu,
5936
+ Cr as cv,
5932
5937
  fe as cw,
5933
5938
  q as cx,
5934
- Eo as cy,
5935
- xo as cz,
5939
+ Er as cy,
5940
+ xr as cz,
5936
5941
  At as d,
5937
- ut as d0,
5938
- pt as d1,
5939
- cr as d2,
5942
+ pt as d0,
5943
+ ht as d1,
5944
+ co as d2,
5940
5945
  U as d3,
5941
5946
  mt as d4,
5942
- ht as d5,
5943
- yt as d6,
5944
- gt as d7,
5945
- vt as d8,
5946
- bt as d9,
5947
- St as da,
5947
+ yt as d5,
5948
+ gt as d6,
5949
+ vt as d7,
5950
+ bt as d8,
5951
+ St as d9,
5952
+ wt as da,
5948
5953
  le as db,
5949
- wt as dc,
5950
- ar as dd,
5951
- qe as de,
5952
- Jo as df,
5953
- er as dg,
5954
- ir as dh,
5955
- Ye as di,
5956
- rr as dj,
5957
- ho as dk,
5958
- yo as dl,
5959
- go as dm,
5960
- Ct as dn,
5961
- Et as dp,
5962
- xt as dq,
5954
+ Ct as dc,
5955
+ ao as dd,
5956
+ Je as de,
5957
+ Jr as df,
5958
+ eo as dg,
5959
+ io as dh,
5960
+ Xe as di,
5961
+ oo as dj,
5962
+ mr as dk,
5963
+ yr as dl,
5964
+ gr as dm,
5965
+ Et as dn,
5966
+ xt as dp,
5967
+ Tt as dq,
5963
5968
  Mt as dr,
5964
5969
  w as ds,
5965
- mr as dt,
5966
- hr as du,
5970
+ mo as dt,
5971
+ yo as du,
5967
5972
  C as dv,
5968
- yr as dw,
5969
- gr as dx,
5970
- dr as e,
5973
+ go as dw,
5974
+ vo as dx,
5975
+ fo as e,
5971
5976
  I as f,
5972
- It as g,
5973
- Pt as h,
5974
- $t as i,
5975
- kt as j,
5976
- fr as k,
5977
- ur as l,
5978
- Vt as m,
5979
- Rt as n,
5980
- pr as o,
5981
- Ot as p,
5982
- Ht as q,
5983
- Wo as r,
5984
- Bt as s,
5985
- zt as t,
5986
- Ft as u,
5987
- Wt as v,
5988
- jt as w,
5989
- Ut as x,
5990
- Gt as y,
5991
- Xt as z
5977
+ Pt as g,
5978
+ $t as h,
5979
+ Vt as i,
5980
+ It as j,
5981
+ uo as k,
5982
+ po as l,
5983
+ Rt as m,
5984
+ Dt as n,
5985
+ ho as o,
5986
+ Bt as p,
5987
+ zt as q,
5988
+ Wr as r,
5989
+ Ht as s,
5990
+ Nt as t,
5991
+ Wt as u,
5992
+ jt as v,
5993
+ Ut as w,
5994
+ Gt as x,
5995
+ Kt as y,
5996
+ Zt as z
5992
5997
  };