@tachui/modifiers 0.8.26 → 0.8.28

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