@tachui/modifiers 0.8.19 → 0.8.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/appearance/background.d.ts +22 -0
- package/dist/appearance/background.d.ts.map +1 -1
- package/dist/appearance/blend-mode.d.ts +24 -0
- package/dist/appearance/blend-mode.d.ts.map +1 -0
- package/dist/appearance/index.d.ts +1 -0
- package/dist/appearance/index.d.ts.map +1 -1
- package/dist/appearance/index.js +37 -31
- package/dist/base.js +4 -4
- package/dist/basic/index.d.ts.map +1 -1
- package/dist/basic/index.js +254 -248
- package/dist/basic/margin.js +4 -4
- package/dist/basic/padding.js +1 -1
- package/dist/basic/size.js +6 -6
- package/dist/effects/backdrop/index.js +1 -1
- package/dist/index.js +273 -267
- package/dist/interaction/index.js +32 -32
- package/dist/layout/index.js +1 -1
- package/dist/{modifiers-basic-DGqq7yyz.js → modifiers-basic-1IqUHBr5.js} +1102 -1009
- package/dist/preload/basic.js +254 -248
- package/dist/types.d.ts +4 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/typography/index.js +1 -1
- package/dist/typography/text.js +1 -1
- package/dist/utility/index.js +9 -9
- package/package.json +4 -4
|
@@ -2,10 +2,10 @@ var Ie = Object.defineProperty;
|
|
|
2
2
|
var $e = (o, s, e) => s in o ? Ie(o, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[s] = e;
|
|
3
3
|
var f = (o, s, e) => $e(o, typeof s != "symbol" ? s + "" : s, e);
|
|
4
4
|
import { globalModifierRegistry as Ve } from "@tachui/registry";
|
|
5
|
-
import { isSignal as p, isComputed as m, createEffect as
|
|
5
|
+
import { isSignal as p, isComputed as m, createEffect as b, getThemeSignal as N } from "@tachui/core/reactive";
|
|
6
6
|
import { bindReactiveStyle as we } from "@tachui/core/modifiers/base";
|
|
7
|
-
import { shouldExpandForInfinity as
|
|
8
|
-
import { AnimationModifier as
|
|
7
|
+
import { shouldExpandForInfinity as oe, dimensionToCSS as L, isInfinity as A } from "@tachui/core/constants/layout";
|
|
8
|
+
import { AnimationModifier as J, LifecycleModifier as Re, LayoutModifier as re, ResizableModifier as De, AppearanceModifier as O } from "@tachui/core/modifiers";
|
|
9
9
|
import { gradientToCSS as Oe } from "@tachui/core/gradients/css-generator";
|
|
10
10
|
const I = {
|
|
11
11
|
LAYOUT: 100,
|
|
@@ -27,7 +27,7 @@ function _e(o) {
|
|
|
27
27
|
writable: !1
|
|
28
28
|
}), e;
|
|
29
29
|
}
|
|
30
|
-
let
|
|
30
|
+
let g = class {
|
|
31
31
|
constructor(s) {
|
|
32
32
|
this.properties = s;
|
|
33
33
|
}
|
|
@@ -47,7 +47,7 @@ let b = class {
|
|
|
47
47
|
if (s instanceof HTMLElement) {
|
|
48
48
|
const i = this.toCSSProperty(e);
|
|
49
49
|
if (p(t) || m(t))
|
|
50
|
-
|
|
50
|
+
b(() => {
|
|
51
51
|
const n = t(), r = String(n);
|
|
52
52
|
if (r.includes("!important")) {
|
|
53
53
|
const a = r.replace(/\s*!important\s*$/, "").trim();
|
|
@@ -131,9 +131,9 @@ let b = class {
|
|
|
131
131
|
element: s,
|
|
132
132
|
accessor: l,
|
|
133
133
|
updaterId: `${He}:${c}:${a}`,
|
|
134
|
-
updater: (
|
|
135
|
-
const
|
|
136
|
-
i(a,
|
|
134
|
+
updater: (u) => {
|
|
135
|
+
const d = this.toCSSValueForProperty(a, u);
|
|
136
|
+
i(a, d);
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
139
|
} else {
|
|
@@ -167,7 +167,7 @@ let b = class {
|
|
|
167
167
|
cleanup: []
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
|
-
},
|
|
170
|
+
}, Ho = class extends g {
|
|
171
171
|
constructor() {
|
|
172
172
|
super(...arguments);
|
|
173
173
|
f(this, "type", "layout");
|
|
@@ -190,18 +190,18 @@ let b = class {
|
|
|
190
190
|
applyOffsetTransform(e, t) {
|
|
191
191
|
const { x: i, y: n } = t;
|
|
192
192
|
if (p(i) || m(i) || p(n) || m(n))
|
|
193
|
-
|
|
194
|
-
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),
|
|
195
|
-
e.style.transform =
|
|
193
|
+
b(() => {
|
|
194
|
+
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;
|
|
195
|
+
e.style.transform = y;
|
|
196
196
|
});
|
|
197
197
|
else {
|
|
198
|
-
const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a),
|
|
199
|
-
e.style.transform =
|
|
198
|
+
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;
|
|
199
|
+
e.style.transform = y;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
applyAspectRatio(e, t) {
|
|
203
203
|
const { ratio: i, contentMode: n } = t;
|
|
204
|
-
i !== void 0 && (p(i) || m(i) ?
|
|
204
|
+
i !== void 0 && (p(i) || m(i) ? b(() => {
|
|
205
205
|
const r = typeof i == "function" ? i() : i;
|
|
206
206
|
e.style.aspectRatio = String(r);
|
|
207
207
|
}) : e.style.aspectRatio = String(i), n === "fill" ? e.style.objectFit = "cover" : e.style.objectFit = "contain");
|
|
@@ -210,27 +210,27 @@ let b = class {
|
|
|
210
210
|
applyScaleTransform(e, t) {
|
|
211
211
|
const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
|
|
212
212
|
if (p(a) || m(a) || p(l) || m(l))
|
|
213
|
-
|
|
214
|
-
const c = p(a) || m(a) ? a() : a,
|
|
213
|
+
b(() => {
|
|
214
|
+
const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l, d = `scale(${c}, ${u})`;
|
|
215
215
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
216
216
|
r || "center"
|
|
217
217
|
);
|
|
218
|
-
const
|
|
219
|
-
e.style.transform =
|
|
218
|
+
const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${d}` : d;
|
|
219
|
+
e.style.transform = v;
|
|
220
220
|
});
|
|
221
221
|
else {
|
|
222
222
|
const c = `scale(${a}, ${l})`;
|
|
223
223
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
224
224
|
r || "center"
|
|
225
225
|
);
|
|
226
|
-
const
|
|
227
|
-
e.style.transform =
|
|
226
|
+
const d = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), h = d ? `${d} ${c}` : c;
|
|
227
|
+
e.style.transform = h;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
applyAbsolutePosition(e, t) {
|
|
231
231
|
const { x: i, y: n } = t;
|
|
232
232
|
if (e.style.position = "absolute", p(i) || m(i) || p(n) || m(n))
|
|
233
|
-
|
|
233
|
+
b(() => {
|
|
234
234
|
const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0;
|
|
235
235
|
e.style.left = this.toCSSValue(r), e.style.top = this.toCSSValue(a);
|
|
236
236
|
});
|
|
@@ -240,7 +240,7 @@ let b = class {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
applyZIndex(e, t) {
|
|
243
|
-
p(t) || m(t) ?
|
|
243
|
+
p(t) || m(t) ? b(() => {
|
|
244
244
|
const i = t();
|
|
245
245
|
e.style.zIndex = String(i);
|
|
246
246
|
}) : e.style.zIndex = String(t);
|
|
@@ -261,7 +261,7 @@ let b = class {
|
|
|
261
261
|
computeLayoutStyles(e, t) {
|
|
262
262
|
const i = {};
|
|
263
263
|
if (e.frame) {
|
|
264
|
-
const n = e.frame, r =
|
|
264
|
+
const n = e.frame, r = oe(n);
|
|
265
265
|
if (Object.assign(i, r.cssProps), n.width !== void 0) {
|
|
266
266
|
const a = L(n.width);
|
|
267
267
|
a !== void 0 && !A(n.width) && !r.expandWidth && (i.width = a);
|
|
@@ -333,7 +333,7 @@ let b = class {
|
|
|
333
333
|
}
|
|
334
334
|
return i;
|
|
335
335
|
}
|
|
336
|
-
},
|
|
336
|
+
}, Bo = class extends g {
|
|
337
337
|
constructor() {
|
|
338
338
|
super(...arguments);
|
|
339
339
|
f(this, "type", "appearance");
|
|
@@ -358,16 +358,16 @@ let b = class {
|
|
|
358
358
|
* Apply Asset-based styles with theme reactivity
|
|
359
359
|
*/
|
|
360
360
|
applyAssetBasedStyles(e, t) {
|
|
361
|
-
const i =
|
|
362
|
-
t.foregroundColor && this.isAsset(t.foregroundColor) &&
|
|
361
|
+
const i = N();
|
|
362
|
+
t.foregroundColor && this.isAsset(t.foregroundColor) && b(() => {
|
|
363
363
|
i();
|
|
364
364
|
const n = t.foregroundColor.resolve();
|
|
365
365
|
this.applyStyleChange(e, "color", n);
|
|
366
|
-
}), t.backgroundColor && this.isAsset(t.backgroundColor) &&
|
|
366
|
+
}), t.backgroundColor && this.isAsset(t.backgroundColor) && b(() => {
|
|
367
367
|
i();
|
|
368
368
|
const n = t.backgroundColor.resolve();
|
|
369
369
|
this.applyStyleChange(e, "backgroundColor", n);
|
|
370
|
-
}), t.border?.color && this.isAsset(t.border.color) &&
|
|
370
|
+
}), t.border?.color && this.isAsset(t.border.color) && b(() => {
|
|
371
371
|
i();
|
|
372
372
|
const n = t.border.color.resolve();
|
|
373
373
|
this.applyStyleChange(e, "borderColor", n);
|
|
@@ -419,7 +419,7 @@ let b = class {
|
|
|
419
419
|
const i = [];
|
|
420
420
|
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;
|
|
421
421
|
}
|
|
422
|
-
},
|
|
422
|
+
}, zo = class extends g {
|
|
423
423
|
constructor() {
|
|
424
424
|
super(...arguments);
|
|
425
425
|
f(this, "type", "interaction");
|
|
@@ -439,7 +439,7 @@ let b = class {
|
|
|
439
439
|
const n = t.element, r = (a) => {
|
|
440
440
|
a ? (n.setAttribute("disabled", "true"), n.style.pointerEvents = "none", n.style.opacity = "0.6") : (n.removeAttribute("disabled"), n.style.pointerEvents = "", n.style.opacity = "");
|
|
441
441
|
};
|
|
442
|
-
p(i.disabled) || m(i.disabled) ?
|
|
442
|
+
p(i.disabled) || m(i.disabled) ? b(() => {
|
|
443
443
|
const a = !!i.disabled();
|
|
444
444
|
r(a);
|
|
445
445
|
}) : r(!!i.disabled);
|
|
@@ -455,25 +455,25 @@ let b = class {
|
|
|
455
455
|
let r, a = null, l = !1;
|
|
456
456
|
const c = () => {
|
|
457
457
|
r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
|
|
458
|
-
},
|
|
459
|
-
const S =
|
|
458
|
+
}, u = (v) => {
|
|
459
|
+
const S = v;
|
|
460
460
|
a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = window.setTimeout(() => {
|
|
461
461
|
l && a && (t.perform(), c());
|
|
462
462
|
}, i);
|
|
463
|
-
},
|
|
464
|
-
const S =
|
|
463
|
+
}, d = (v) => {
|
|
464
|
+
const S = v;
|
|
465
465
|
if (!a || !l) return;
|
|
466
466
|
Math.sqrt(
|
|
467
467
|
Math.pow(S.clientX - a.x, 2) + Math.pow(S.clientY - a.y, 2)
|
|
468
468
|
) > n && c();
|
|
469
|
-
}, y = () => {
|
|
470
|
-
c();
|
|
471
469
|
}, h = () => {
|
|
472
470
|
c();
|
|
471
|
+
}, y = () => {
|
|
472
|
+
c();
|
|
473
473
|
};
|
|
474
|
-
e.addEventListener("pointerdown",
|
|
474
|
+
e.addEventListener("pointerdown", u), e.addEventListener("pointermove", d), e.addEventListener("pointerup", h), e.addEventListener(
|
|
475
475
|
"pointercancel",
|
|
476
|
-
|
|
476
|
+
y
|
|
477
477
|
), e._longPressCleanup = c;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
@@ -492,10 +492,10 @@ let b = class {
|
|
|
492
492
|
ctrl: r.ctrlKey,
|
|
493
493
|
shift: r.shiftKey,
|
|
494
494
|
alt: r.altKey
|
|
495
|
-
}, c = r.key.toLowerCase() === t.key.toLowerCase(),
|
|
496
|
-
([
|
|
495
|
+
}, c = r.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
|
|
496
|
+
([d, h]) => h === l[d]
|
|
497
497
|
);
|
|
498
|
-
c &&
|
|
498
|
+
c && u && (r.preventDefault(), t.action());
|
|
499
499
|
};
|
|
500
500
|
document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
|
|
501
501
|
document.removeEventListener("keydown", n);
|
|
@@ -507,7 +507,7 @@ let b = class {
|
|
|
507
507
|
setupFocusManagement(e, t) {
|
|
508
508
|
if (!(e instanceof HTMLElement)) return;
|
|
509
509
|
const i = e;
|
|
510
|
-
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ?
|
|
510
|
+
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ? b(() => {
|
|
511
511
|
t() ? i.focus() : i.blur();
|
|
512
512
|
}) : t && i.focus();
|
|
513
513
|
}
|
|
@@ -527,13 +527,13 @@ let b = class {
|
|
|
527
527
|
setupContinuousHover(e, t) {
|
|
528
528
|
const i = t.coordinateSpace ?? "local", n = (a) => {
|
|
529
529
|
const l = a;
|
|
530
|
-
let c,
|
|
530
|
+
let c, u;
|
|
531
531
|
if (i === "local") {
|
|
532
|
-
const
|
|
533
|
-
c = l.clientX -
|
|
532
|
+
const d = e.getBoundingClientRect();
|
|
533
|
+
c = l.clientX - d.left, u = l.clientY - d.top;
|
|
534
534
|
} else
|
|
535
|
-
c = l.clientX,
|
|
536
|
-
t.perform({ x: c, y:
|
|
535
|
+
c = l.clientX, u = l.clientY;
|
|
536
|
+
t.perform({ x: c, y: u });
|
|
537
537
|
}, r = () => {
|
|
538
538
|
t.perform(null);
|
|
539
539
|
};
|
|
@@ -550,7 +550,7 @@ let b = class {
|
|
|
550
550
|
setupHitTesting(e, t) {
|
|
551
551
|
e instanceof HTMLElement && (e.style.pointerEvents = t ? "" : "none");
|
|
552
552
|
}
|
|
553
|
-
}, Be = class extends
|
|
553
|
+
}, Be = class extends g {
|
|
554
554
|
constructor() {
|
|
555
555
|
super(...arguments);
|
|
556
556
|
f(this, "type", "animation");
|
|
@@ -571,11 +571,11 @@ let b = class {
|
|
|
571
571
|
n.keyframes
|
|
572
572
|
);
|
|
573
573
|
this.addKeyframesToStylesheet(a);
|
|
574
|
-
const l = n.duration || 1e3, c = n.easing || "ease",
|
|
575
|
-
t.element.style.animation = `${r} ${l}ms ${c} ${
|
|
574
|
+
const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1, d = n.direction || "normal";
|
|
575
|
+
t.element.style.animation = `${r} ${l}ms ${c} ${u} ${d}`;
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
if (i.transform && t.element instanceof HTMLElement && (p(i.transform) || m(i.transform) ?
|
|
578
|
+
if (i.transform && t.element instanceof HTMLElement && (p(i.transform) || m(i.transform) ? b(() => {
|
|
579
579
|
const n = i.transform();
|
|
580
580
|
t.element instanceof HTMLElement && (t.element.style.transform = n);
|
|
581
581
|
}) : t.element.style.transform = i.transform), i.rotationEffect && t.element instanceof HTMLElement) {
|
|
@@ -591,18 +591,18 @@ let b = class {
|
|
|
591
591
|
trailing: "100% 50%"
|
|
592
592
|
}[r || "center"] || "50% 50%", c = `rotate(${n}deg)`;
|
|
593
593
|
if (p(n) || m(n))
|
|
594
|
-
|
|
595
|
-
const
|
|
594
|
+
b(() => {
|
|
595
|
+
const d = `rotate(${typeof n == "function" ? n() : n}deg)`;
|
|
596
596
|
if (t.element instanceof HTMLElement) {
|
|
597
597
|
t.element.style.transformOrigin = l;
|
|
598
|
-
const
|
|
599
|
-
t.element.style.transform =
|
|
598
|
+
const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${d}` : d;
|
|
599
|
+
t.element.style.transform = v;
|
|
600
600
|
}
|
|
601
601
|
});
|
|
602
602
|
else if (t.element instanceof HTMLElement) {
|
|
603
603
|
t.element.style.transformOrigin = l;
|
|
604
|
-
const
|
|
605
|
-
t.element.style.transform =
|
|
604
|
+
const d = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), h = d ? `${d} ${c}` : c;
|
|
605
|
+
t.element.style.transform = h;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
i.overlay && t.element instanceof HTMLElement && this.applyOverlay(t.element, i.overlay, t);
|
|
@@ -616,8 +616,8 @@ let b = class {
|
|
|
616
616
|
if (Object.assign(a.style, l), typeof n == "function") {
|
|
617
617
|
const c = n();
|
|
618
618
|
if (c && typeof c.render == "function") {
|
|
619
|
-
const
|
|
620
|
-
|
|
619
|
+
const u = c.render();
|
|
620
|
+
u.element && a.appendChild(u.element);
|
|
621
621
|
}
|
|
622
622
|
} else if (n && typeof n.render == "function") {
|
|
623
623
|
const c = n.render();
|
|
@@ -693,7 +693,7 @@ let b = class {
|
|
|
693
693
|
);
|
|
694
694
|
t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
|
|
695
695
|
}
|
|
696
|
-
},
|
|
696
|
+
}, jo = class extends g {
|
|
697
697
|
constructor() {
|
|
698
698
|
super(...arguments);
|
|
699
699
|
f(this, "type", "lifecycle");
|
|
@@ -759,27 +759,27 @@ let b = class {
|
|
|
759
759
|
transition: opacity 0.3s ease;
|
|
760
760
|
z-index: 1000;
|
|
761
761
|
`, !document.querySelector("#tachui-refresh-styles")) {
|
|
762
|
-
const
|
|
763
|
-
|
|
762
|
+
const y = document.createElement("style");
|
|
763
|
+
y.id = "tachui-refresh-styles", y.textContent = `
|
|
764
764
|
@keyframes tachui-spin {
|
|
765
765
|
0% { transform: translateX(-50%) rotate(0deg); }
|
|
766
766
|
100% { transform: translateX(-50%) rotate(360deg); }
|
|
767
767
|
}
|
|
768
|
-
`, document.head.appendChild(
|
|
768
|
+
`, document.head.appendChild(y);
|
|
769
769
|
}
|
|
770
770
|
const c = e.parentElement || e;
|
|
771
771
|
c instanceof HTMLElement && (c.style.position = "relative", c.appendChild(l));
|
|
772
|
-
const
|
|
773
|
-
i || (r =
|
|
774
|
-
},
|
|
772
|
+
const u = (y) => {
|
|
773
|
+
i || (r = y.touches[0].clientY);
|
|
774
|
+
}, d = (y) => {
|
|
775
775
|
if (i) return;
|
|
776
|
-
const
|
|
777
|
-
if (n = Math.max(0,
|
|
778
|
-
|
|
776
|
+
const v = y.touches[0].clientY;
|
|
777
|
+
if (n = Math.max(0, v - r), n > 20) {
|
|
778
|
+
y.preventDefault();
|
|
779
779
|
const S = Math.min(n / a, 1);
|
|
780
780
|
l.style.opacity = String(S * 0.8), l.style.top = `${-50 + S * 20}px`;
|
|
781
781
|
}
|
|
782
|
-
},
|
|
782
|
+
}, h = async () => {
|
|
783
783
|
if (i || n < a) {
|
|
784
784
|
l.style.opacity = "0", l.style.top = "-50px", n = 0;
|
|
785
785
|
return;
|
|
@@ -787,29 +787,29 @@ let b = class {
|
|
|
787
787
|
i = !0, l.style.opacity = "1", l.style.top = "10px";
|
|
788
788
|
try {
|
|
789
789
|
await t.onRefresh();
|
|
790
|
-
} catch (
|
|
791
|
-
console.error("TachUI Refresh Error:",
|
|
790
|
+
} catch (y) {
|
|
791
|
+
console.error("TachUI Refresh Error:", y);
|
|
792
792
|
} finally {
|
|
793
793
|
i = !1, l.style.opacity = "0", l.style.top = "-50px", n = 0;
|
|
794
794
|
}
|
|
795
795
|
};
|
|
796
|
-
e.addEventListener("touchstart",
|
|
796
|
+
e.addEventListener("touchstart", u, {
|
|
797
797
|
passive: !1
|
|
798
|
-
}), e.addEventListener("touchmove",
|
|
798
|
+
}), e.addEventListener("touchmove", d, {
|
|
799
799
|
passive: !1
|
|
800
|
-
}), e.addEventListener("touchend",
|
|
800
|
+
}), e.addEventListener("touchend", h), this.addCleanup(() => {
|
|
801
801
|
e.removeEventListener(
|
|
802
802
|
"touchstart",
|
|
803
|
-
|
|
804
|
-
), e.removeEventListener("touchmove",
|
|
803
|
+
u
|
|
804
|
+
), e.removeEventListener("touchmove", d), e.removeEventListener("touchend", h), l.parentElement && l.parentElement.removeChild(l);
|
|
805
805
|
});
|
|
806
806
|
}
|
|
807
807
|
addCleanup(e) {
|
|
808
808
|
this.properties._cleanupFunctions || (this.properties._cleanupFunctions = []), this.properties._cleanupFunctions.push(e);
|
|
809
809
|
}
|
|
810
810
|
};
|
|
811
|
-
const Ne = "@tachui/modifiers", ze = "0.8.
|
|
812
|
-
class V extends
|
|
811
|
+
const Ne = "@tachui/modifiers", ze = "0.8.21", Go = Ne, Fe = ze;
|
|
812
|
+
class V extends g {
|
|
813
813
|
// Optimized priority for internal spacing (before margin at 50)
|
|
814
814
|
constructor(e) {
|
|
815
815
|
super(e);
|
|
@@ -839,7 +839,7 @@ class V extends b {
|
|
|
839
839
|
return t;
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function M(o) {
|
|
843
843
|
return p(o) || m(o) ? new V({ all: o }) : typeof o == "number" || typeof o == "string" ? new V({ all: o }) : new V(o);
|
|
844
844
|
}
|
|
845
845
|
function We(o) {
|
|
@@ -866,86 +866,86 @@ function Xe(o) {
|
|
|
866
866
|
function Ze(o) {
|
|
867
867
|
return new V({ vertical: o });
|
|
868
868
|
}
|
|
869
|
-
const
|
|
869
|
+
const Ko = {
|
|
870
870
|
/**
|
|
871
871
|
* Extra small padding (4px) - For tight spacing
|
|
872
872
|
*/
|
|
873
|
-
xs: () =>
|
|
873
|
+
xs: () => M(4),
|
|
874
874
|
/**
|
|
875
875
|
* Small padding (8px) - For compact components
|
|
876
876
|
*/
|
|
877
|
-
sm: () =>
|
|
877
|
+
sm: () => M(8),
|
|
878
878
|
/**
|
|
879
879
|
* Medium padding (12px) - Default comfortable spacing
|
|
880
880
|
*/
|
|
881
|
-
md: () =>
|
|
881
|
+
md: () => M(12),
|
|
882
882
|
/**
|
|
883
883
|
* Large padding (16px) - For prominent components
|
|
884
884
|
*/
|
|
885
|
-
lg: () =>
|
|
885
|
+
lg: () => M(16),
|
|
886
886
|
/**
|
|
887
887
|
* Extra large padding (24px) - For emphasis
|
|
888
888
|
*/
|
|
889
|
-
xl: () =>
|
|
889
|
+
xl: () => M(24),
|
|
890
890
|
/**
|
|
891
891
|
* Extra extra large padding (32px) - For major sections
|
|
892
892
|
*/
|
|
893
|
-
xxl: () =>
|
|
893
|
+
xxl: () => M(32),
|
|
894
894
|
/**
|
|
895
895
|
* Huge padding (48px) - For hero sections
|
|
896
896
|
*/
|
|
897
|
-
xxxl: () =>
|
|
897
|
+
xxxl: () => M(48),
|
|
898
898
|
// Semantic presets for common UI patterns
|
|
899
899
|
/**
|
|
900
900
|
* Button padding preset (horizontal: 16, vertical: 8)
|
|
901
901
|
* Optimized for interactive elements
|
|
902
902
|
*/
|
|
903
|
-
button: () =>
|
|
903
|
+
button: () => M({ horizontal: 16, vertical: 8 }),
|
|
904
904
|
/**
|
|
905
905
|
* Small button padding (horizontal: 12, vertical: 6)
|
|
906
906
|
*/
|
|
907
|
-
buttonSm: () =>
|
|
907
|
+
buttonSm: () => M({ horizontal: 12, vertical: 6 }),
|
|
908
908
|
/**
|
|
909
909
|
* Large button padding (horizontal: 24, vertical: 12)
|
|
910
910
|
*/
|
|
911
|
-
buttonLg: () =>
|
|
911
|
+
buttonLg: () => M({ horizontal: 24, vertical: 12 }),
|
|
912
912
|
/**
|
|
913
913
|
* Card padding preset (all: 16)
|
|
914
914
|
* Standard for card-like containers
|
|
915
915
|
*/
|
|
916
|
-
card: () =>
|
|
916
|
+
card: () => M(16),
|
|
917
917
|
/**
|
|
918
918
|
* Compact card padding (all: 12)
|
|
919
919
|
*/
|
|
920
|
-
cardSm: () =>
|
|
920
|
+
cardSm: () => M(12),
|
|
921
921
|
/**
|
|
922
922
|
* Spacious card padding (all: 24)
|
|
923
923
|
*/
|
|
924
|
-
cardLg: () =>
|
|
924
|
+
cardLg: () => M(24),
|
|
925
925
|
/**
|
|
926
926
|
* Section padding preset (horizontal: 20, vertical: 12)
|
|
927
927
|
* For content sections and layout blocks
|
|
928
928
|
*/
|
|
929
|
-
section: () =>
|
|
929
|
+
section: () => M({ horizontal: 20, vertical: 12 }),
|
|
930
930
|
/**
|
|
931
931
|
* Page padding preset (horizontal: 24, vertical: 16)
|
|
932
932
|
* For top-level page containers
|
|
933
933
|
*/
|
|
934
|
-
page: () =>
|
|
934
|
+
page: () => M({ horizontal: 24, vertical: 16 }),
|
|
935
935
|
/**
|
|
936
936
|
* Form field padding (horizontal: 12, vertical: 8)
|
|
937
937
|
*/
|
|
938
|
-
field: () =>
|
|
938
|
+
field: () => M({ horizontal: 12, vertical: 8 }),
|
|
939
939
|
/**
|
|
940
940
|
* Navigation item padding (horizontal: 16, vertical: 8)
|
|
941
941
|
*/
|
|
942
|
-
nav: () =>
|
|
942
|
+
nav: () => M({ horizontal: 16, vertical: 8 }),
|
|
943
943
|
/**
|
|
944
944
|
* List item padding (horizontal: 16, vertical: 12)
|
|
945
945
|
*/
|
|
946
|
-
listItem: () =>
|
|
946
|
+
listItem: () => M({ horizontal: 16, vertical: 12 })
|
|
947
947
|
};
|
|
948
|
-
class R extends
|
|
948
|
+
class R extends g {
|
|
949
949
|
// Optimized priority for external spacing (after padding at 45)
|
|
950
950
|
constructor(e) {
|
|
951
951
|
super(e);
|
|
@@ -975,7 +975,7 @@ class R extends b {
|
|
|
975
975
|
return t;
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function x(o) {
|
|
979
979
|
return typeof o == "number" || typeof o == "string" ? new R({ all: o }) : new R(o);
|
|
980
980
|
}
|
|
981
981
|
function qe(o) {
|
|
@@ -1002,91 +1002,91 @@ function nt(o) {
|
|
|
1002
1002
|
function ot(o) {
|
|
1003
1003
|
return new R({ vertical: o });
|
|
1004
1004
|
}
|
|
1005
|
-
const
|
|
1005
|
+
const Yo = {
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Extra small margin (4px) - For tight spacing
|
|
1008
1008
|
*/
|
|
1009
|
-
xs: () =>
|
|
1009
|
+
xs: () => x(4),
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Small margin (8px) - For compact components
|
|
1012
1012
|
*/
|
|
1013
|
-
sm: () =>
|
|
1013
|
+
sm: () => x(8),
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Medium margin (12px) - Default comfortable spacing
|
|
1016
1016
|
*/
|
|
1017
|
-
md: () =>
|
|
1017
|
+
md: () => x(12),
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Large margin (16px) - For prominent separation
|
|
1020
1020
|
*/
|
|
1021
|
-
lg: () =>
|
|
1021
|
+
lg: () => x(16),
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Extra large margin (24px) - For emphasis
|
|
1024
1024
|
*/
|
|
1025
|
-
xl: () =>
|
|
1025
|
+
xl: () => x(24),
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Extra extra large margin (32px) - For major sections
|
|
1028
1028
|
*/
|
|
1029
|
-
xxl: () =>
|
|
1029
|
+
xxl: () => x(32),
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Huge margin (48px) - For hero sections
|
|
1032
1032
|
*/
|
|
1033
|
-
xxxl: () =>
|
|
1033
|
+
xxxl: () => x(48),
|
|
1034
1034
|
// Semantic presets for common UI patterns
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Component separation (vertical: 16, horizontal: 0)
|
|
1037
1037
|
* For spacing between stacked components
|
|
1038
1038
|
*/
|
|
1039
|
-
component: () =>
|
|
1039
|
+
component: () => x({ vertical: 16, horizontal: 0 }),
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Section separation (vertical: 24, horizontal: 0)
|
|
1042
1042
|
* For major content sections
|
|
1043
1043
|
*/
|
|
1044
|
-
section: () =>
|
|
1044
|
+
section: () => x({ vertical: 24, horizontal: 0 }),
|
|
1045
1045
|
/**
|
|
1046
1046
|
* Page margin (horizontal: auto)
|
|
1047
1047
|
* For centering page content
|
|
1048
1048
|
*/
|
|
1049
|
-
page: () =>
|
|
1049
|
+
page: () => x({ horizontal: "auto" }),
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Card margin (all: 16)
|
|
1052
1052
|
* Standard margin around card components
|
|
1053
1053
|
*/
|
|
1054
|
-
card: () =>
|
|
1054
|
+
card: () => x(16),
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Compact card margin (all: 8)
|
|
1057
1057
|
*/
|
|
1058
|
-
cardSm: () =>
|
|
1058
|
+
cardSm: () => x(8),
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Spacious card margin (all: 24)
|
|
1061
1061
|
*/
|
|
1062
|
-
cardLg: () =>
|
|
1062
|
+
cardLg: () => x(24),
|
|
1063
1063
|
/**
|
|
1064
1064
|
* Button margin (horizontal: 8, vertical: 4)
|
|
1065
1065
|
* For spacing between inline buttons
|
|
1066
1066
|
*/
|
|
1067
|
-
button: () =>
|
|
1067
|
+
button: () => x({ horizontal: 8, vertical: 4 }),
|
|
1068
1068
|
/**
|
|
1069
1069
|
* List item margin (vertical: 8, horizontal: 0)
|
|
1070
1070
|
* For spacing between list items
|
|
1071
1071
|
*/
|
|
1072
|
-
listItem: () =>
|
|
1072
|
+
listItem: () => x({ vertical: 8, horizontal: 0 }),
|
|
1073
1073
|
/**
|
|
1074
1074
|
* Form field margin (vertical: 12, horizontal: 0)
|
|
1075
1075
|
* For spacing between form fields
|
|
1076
1076
|
*/
|
|
1077
|
-
field: () =>
|
|
1077
|
+
field: () => x({ vertical: 12, horizontal: 0 }),
|
|
1078
1078
|
/**
|
|
1079
1079
|
* Zero margin utility
|
|
1080
1080
|
* For removing default margins
|
|
1081
1081
|
*/
|
|
1082
|
-
none: () =>
|
|
1082
|
+
none: () => x(0),
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Auto margin utility
|
|
1085
1085
|
* For centering elements
|
|
1086
1086
|
*/
|
|
1087
|
-
auto: () =>
|
|
1087
|
+
auto: () => x("auto")
|
|
1088
1088
|
};
|
|
1089
|
-
class
|
|
1089
|
+
class z extends g {
|
|
1090
1090
|
// Priority 80 for layout
|
|
1091
1091
|
constructor(e) {
|
|
1092
1092
|
super(e);
|
|
@@ -1099,7 +1099,7 @@ class B extends b {
|
|
|
1099
1099
|
this.applyStyles(t.element, i);
|
|
1100
1100
|
}
|
|
1101
1101
|
computeSizeStyles(e) {
|
|
1102
|
-
const t = {}, i =
|
|
1102
|
+
const t = {}, i = oe(e);
|
|
1103
1103
|
if (Object.assign(t, i.cssProps), e.width !== void 0) {
|
|
1104
1104
|
const n = L(e.width);
|
|
1105
1105
|
n !== void 0 && !A(e.width) && (t.width = n);
|
|
@@ -1128,27 +1128,27 @@ class B extends b {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
function rt(o) {
|
|
1131
|
-
return new
|
|
1131
|
+
return new z(o);
|
|
1132
1132
|
}
|
|
1133
1133
|
function st(o) {
|
|
1134
|
-
return new
|
|
1134
|
+
return new z({ width: o });
|
|
1135
1135
|
}
|
|
1136
1136
|
function at(o) {
|
|
1137
|
-
return new
|
|
1137
|
+
return new z({ height: o });
|
|
1138
1138
|
}
|
|
1139
1139
|
function lt(o) {
|
|
1140
|
-
return new
|
|
1140
|
+
return new z({ maxWidth: o });
|
|
1141
1141
|
}
|
|
1142
1142
|
function ct(o) {
|
|
1143
|
-
return new
|
|
1143
|
+
return new z({ minWidth: o });
|
|
1144
1144
|
}
|
|
1145
1145
|
function ft(o) {
|
|
1146
|
-
return new
|
|
1146
|
+
return new z({ maxHeight: o });
|
|
1147
1147
|
}
|
|
1148
1148
|
function dt(o) {
|
|
1149
|
-
return new
|
|
1149
|
+
return new z({ minHeight: o });
|
|
1150
1150
|
}
|
|
1151
|
-
class
|
|
1151
|
+
class te extends Be {
|
|
1152
1152
|
constructor() {
|
|
1153
1153
|
super(...arguments);
|
|
1154
1154
|
// Override type to be 'transition' instead of 'animation'
|
|
@@ -1157,16 +1157,16 @@ class ee extends Be {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
function ut(o, s, e, t) {
|
|
1159
1159
|
if (typeof o == "object")
|
|
1160
|
-
return new
|
|
1160
|
+
return new te({ transition: o });
|
|
1161
1161
|
const i = o;
|
|
1162
|
-
return i === "none" ? new
|
|
1162
|
+
return i === "none" ? new te({
|
|
1163
1163
|
transition: {
|
|
1164
1164
|
property: "none",
|
|
1165
1165
|
duration: 0,
|
|
1166
1166
|
easing: "ease",
|
|
1167
1167
|
delay: 0
|
|
1168
1168
|
}
|
|
1169
|
-
}) : new
|
|
1169
|
+
}) : new te({
|
|
1170
1170
|
transition: {
|
|
1171
1171
|
property: i,
|
|
1172
1172
|
duration: s || 300,
|
|
@@ -1176,18 +1176,18 @@ function ut(o, s, e, t) {
|
|
|
1176
1176
|
});
|
|
1177
1177
|
}
|
|
1178
1178
|
function pt(o) {
|
|
1179
|
-
return new
|
|
1179
|
+
return new J({ transform: o });
|
|
1180
1180
|
}
|
|
1181
1181
|
function mt(o) {
|
|
1182
|
-
return o ? new
|
|
1182
|
+
return o ? new J({ animation: o }) : new J({});
|
|
1183
1183
|
}
|
|
1184
1184
|
function ht(o) {
|
|
1185
|
-
return new
|
|
1185
|
+
return new J({ transitions: o });
|
|
1186
1186
|
}
|
|
1187
1187
|
function yt(o) {
|
|
1188
1188
|
return new Re({ task: o });
|
|
1189
1189
|
}
|
|
1190
|
-
class $ extends
|
|
1190
|
+
class $ extends g {
|
|
1191
1191
|
// Optimized priority for layout modifiers
|
|
1192
1192
|
constructor(e) {
|
|
1193
1193
|
super(e);
|
|
@@ -1226,7 +1226,7 @@ function vt(o) {
|
|
|
1226
1226
|
function bt(o) {
|
|
1227
1227
|
return new $({ flexBasis: o });
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function Xo(o) {
|
|
1230
1230
|
return new $({ flex: o });
|
|
1231
1231
|
}
|
|
1232
1232
|
function St(o) {
|
|
@@ -1241,19 +1241,19 @@ function Ct(o) {
|
|
|
1241
1241
|
function Et(o) {
|
|
1242
1242
|
return new $({ gap: o });
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function Zo(o) {
|
|
1245
1245
|
return new $({ rowGap: o });
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function qo(o) {
|
|
1248
1248
|
return new $({ columnGap: o });
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function Mt(o) {
|
|
1251
1251
|
return new $({ flexDirection: o });
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1253
|
+
function xt(o) {
|
|
1254
1254
|
return new $({ flexWrap: o });
|
|
1255
1255
|
}
|
|
1256
|
-
const
|
|
1256
|
+
const Jo = {
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Standard flex container
|
|
1259
1259
|
* Sets display: flex for basic flex container
|
|
@@ -1391,7 +1391,7 @@ const Uo = {
|
|
|
1391
1391
|
alignItems: "stretch"
|
|
1392
1392
|
})
|
|
1393
1393
|
};
|
|
1394
|
-
class Tt extends
|
|
1394
|
+
class Tt extends g {
|
|
1395
1395
|
constructor() {
|
|
1396
1396
|
super(...arguments);
|
|
1397
1397
|
f(this, "type", "offset");
|
|
@@ -1401,14 +1401,14 @@ class Tt extends b {
|
|
|
1401
1401
|
apply(e, t) {
|
|
1402
1402
|
if (!t.element) return;
|
|
1403
1403
|
const { x: i, y: n = 0 } = this.properties;
|
|
1404
|
-
p(i) || m(i) || p(n) || m(n) ?
|
|
1404
|
+
p(i) || m(i) || p(n) || m(n) ? b(() => {
|
|
1405
1405
|
const r = p(i) || m(i) ? i() : i, a = p(n) || m(n) ? n() : n;
|
|
1406
1406
|
this.applyOffset(t.element, r, a);
|
|
1407
1407
|
}) : this.applyOffset(t.element, i, n);
|
|
1408
1408
|
}
|
|
1409
1409
|
applyOffset(e, t, i) {
|
|
1410
|
-
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(),
|
|
1411
|
-
e.style.transform =
|
|
1410
|
+
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;
|
|
1411
|
+
e.style.transform = u;
|
|
1412
1412
|
}
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Development mode validation
|
|
@@ -1436,7 +1436,7 @@ function Lt(o, s) {
|
|
|
1436
1436
|
const e = new Tt({ x: o, y: s ?? 0 });
|
|
1437
1437
|
return typeof process < "u" && process.env.NODE_ENV === "development" && e.validateOffset(o, s), e;
|
|
1438
1438
|
}
|
|
1439
|
-
class At extends
|
|
1439
|
+
class At extends g {
|
|
1440
1440
|
constructor() {
|
|
1441
1441
|
super(...arguments);
|
|
1442
1442
|
f(this, "type", "scaleEffect");
|
|
@@ -1446,7 +1446,7 @@ class At extends b {
|
|
|
1446
1446
|
apply(e, t) {
|
|
1447
1447
|
if (!t.element) return;
|
|
1448
1448
|
const { x: i, y: n, anchor: r = "center" } = this.properties, a = n ?? i;
|
|
1449
|
-
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateScale(i, a, r), p(i) || m(i) || p(a) || m(a) ?
|
|
1449
|
+
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateScale(i, a, r), p(i) || m(i) || p(a) || m(a) ? b(() => {
|
|
1450
1450
|
const l = p(i) || m(i) ? i() : i, c = p(a) || m(a) ? a() : a;
|
|
1451
1451
|
this.applyScale(
|
|
1452
1452
|
t.element,
|
|
@@ -1517,7 +1517,7 @@ class At extends b {
|
|
|
1517
1517
|
function kt(o, s, e = "center") {
|
|
1518
1518
|
return new At({ x: o, y: s, anchor: e });
|
|
1519
1519
|
}
|
|
1520
|
-
class Ce extends
|
|
1520
|
+
class Ce extends g {
|
|
1521
1521
|
constructor() {
|
|
1522
1522
|
super(...arguments);
|
|
1523
1523
|
f(this, "type", "aspectRatio");
|
|
@@ -1527,7 +1527,7 @@ class Ce extends b {
|
|
|
1527
1527
|
apply(e, t) {
|
|
1528
1528
|
if (!t.element) return;
|
|
1529
1529
|
const { ratio: i, contentMode: n } = this.properties;
|
|
1530
|
-
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateAspectRatio(i, n), i !== void 0 ? p(i) || m(i) ?
|
|
1530
|
+
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateAspectRatio(i, n), i !== void 0 ? p(i) || m(i) ? b(() => {
|
|
1531
1531
|
const r = i();
|
|
1532
1532
|
this.applyAspectRatio(
|
|
1533
1533
|
t.element,
|
|
@@ -1590,7 +1590,7 @@ f(Ce, "COMMON_RATIOS", {
|
|
|
1590
1590
|
function Pt(o, s = "fit") {
|
|
1591
1591
|
return new Ce({ ratio: o, contentMode: s });
|
|
1592
1592
|
}
|
|
1593
|
-
class It extends
|
|
1593
|
+
class It extends g {
|
|
1594
1594
|
constructor() {
|
|
1595
1595
|
super(...arguments);
|
|
1596
1596
|
f(this, "type", "fixedSize");
|
|
@@ -1650,13 +1650,13 @@ function $t(o = !0, s = !0) {
|
|
|
1650
1650
|
return new It({ horizontal: o, vertical: s });
|
|
1651
1651
|
}
|
|
1652
1652
|
function Vt(o) {
|
|
1653
|
-
return new
|
|
1653
|
+
return new re({ frame: o });
|
|
1654
1654
|
}
|
|
1655
1655
|
function Rt(o) {
|
|
1656
|
-
return new
|
|
1656
|
+
return new re({ layoutPriority: o });
|
|
1657
1657
|
}
|
|
1658
1658
|
function Dt(o, s) {
|
|
1659
|
-
return new
|
|
1659
|
+
return new re({
|
|
1660
1660
|
position: {
|
|
1661
1661
|
x: o,
|
|
1662
1662
|
y: s
|
|
@@ -1666,7 +1666,7 @@ function Dt(o, s) {
|
|
|
1666
1666
|
function Ot() {
|
|
1667
1667
|
return new De({});
|
|
1668
1668
|
}
|
|
1669
|
-
class Ht extends
|
|
1669
|
+
class Ht extends g {
|
|
1670
1670
|
constructor() {
|
|
1671
1671
|
super(...arguments);
|
|
1672
1672
|
f(this, "type", "position");
|
|
@@ -1680,7 +1680,7 @@ class Ht extends b {
|
|
|
1680
1680
|
this.applyCoordinatePosition(t.element, i);
|
|
1681
1681
|
return;
|
|
1682
1682
|
}
|
|
1683
|
-
p(i) || m(i) ?
|
|
1683
|
+
p(i) || m(i) ? b(() => {
|
|
1684
1684
|
const n = i();
|
|
1685
1685
|
this.applyPosition(t.element, n);
|
|
1686
1686
|
}) : this.applyPosition(t.element, i);
|
|
@@ -1693,7 +1693,7 @@ class Ht extends b {
|
|
|
1693
1693
|
e.style.position = "absolute", e.style.left = `${n}px`, e.style.top = `${r}px`, this.applyPositionOptimizations(e, "absolute");
|
|
1694
1694
|
};
|
|
1695
1695
|
if (p(t.x) || m(t.x) || p(t.y) || m(t.y)) {
|
|
1696
|
-
|
|
1696
|
+
b(() => {
|
|
1697
1697
|
const n = p(t.x) || m(t.x) ? t.x() : t.x, r = p(t.y) || m(t.y) ? t.y() : t.y;
|
|
1698
1698
|
i(n, r);
|
|
1699
1699
|
});
|
|
@@ -1784,7 +1784,7 @@ class Ht extends b {
|
|
|
1784
1784
|
function _t(o) {
|
|
1785
1785
|
return new Ht({ position: o });
|
|
1786
1786
|
}
|
|
1787
|
-
class Ee extends
|
|
1787
|
+
class Ee extends g {
|
|
1788
1788
|
constructor() {
|
|
1789
1789
|
super(...arguments);
|
|
1790
1790
|
f(this, "type", "zIndex");
|
|
@@ -1794,7 +1794,7 @@ class Ee extends b {
|
|
|
1794
1794
|
apply(e, t) {
|
|
1795
1795
|
if (!t.element) return;
|
|
1796
1796
|
const { zIndex: i } = this.properties;
|
|
1797
|
-
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateZIndex(i), p(i) || m(i) ?
|
|
1797
|
+
typeof process < "u" && process.env.NODE_ENV === "development" && this.validateZIndex(i), p(i) || m(i) ? b(() => {
|
|
1798
1798
|
const n = i();
|
|
1799
1799
|
this.applyZIndex(t.element, n);
|
|
1800
1800
|
}) : this.applyZIndex(t.element, i);
|
|
@@ -1911,7 +1911,7 @@ class w {
|
|
|
1911
1911
|
if (s instanceof HTMLElement) {
|
|
1912
1912
|
const i = this.toCSSProperty(e);
|
|
1913
1913
|
if (p(t) || m(t))
|
|
1914
|
-
|
|
1914
|
+
b(() => {
|
|
1915
1915
|
const n = t(), r = String(n);
|
|
1916
1916
|
if (r.includes("!important")) {
|
|
1917
1917
|
const a = r.replace(/\s*!important\s*$/, "").trim();
|
|
@@ -1981,8 +1981,8 @@ class w {
|
|
|
1981
1981
|
r,
|
|
1982
1982
|
"value type:",
|
|
1983
1983
|
typeof n
|
|
1984
|
-
),
|
|
1985
|
-
const a = this.isAssetValue(n) ? (
|
|
1984
|
+
), b(() => {
|
|
1985
|
+
const a = this.isAssetValue(n) ? (N()(), n.resolve()) : n();
|
|
1986
1986
|
console.log(
|
|
1987
1987
|
"BaseModifier reactive effect fired - property:",
|
|
1988
1988
|
r,
|
|
@@ -2041,7 +2041,7 @@ class w {
|
|
|
2041
2041
|
};
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
|
-
class
|
|
2044
|
+
class Qo extends w {
|
|
2045
2045
|
constructor() {
|
|
2046
2046
|
super(...arguments);
|
|
2047
2047
|
f(this, "type", "layout");
|
|
@@ -2064,18 +2064,18 @@ class Go extends w {
|
|
|
2064
2064
|
applyOffsetTransform(e, t) {
|
|
2065
2065
|
const { x: i, y: n } = t;
|
|
2066
2066
|
if (p(i) || m(i) || p(n) || m(n))
|
|
2067
|
-
|
|
2068
|
-
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),
|
|
2069
|
-
e.style.transform =
|
|
2067
|
+
b(() => {
|
|
2068
|
+
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;
|
|
2069
|
+
e.style.transform = y;
|
|
2070
2070
|
});
|
|
2071
2071
|
else {
|
|
2072
|
-
const r = i ?? 0, a = n ?? 0, l = this.toCSSValue(r), c = this.toCSSValue(a),
|
|
2073
|
-
e.style.transform =
|
|
2072
|
+
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;
|
|
2073
|
+
e.style.transform = y;
|
|
2074
2074
|
}
|
|
2075
2075
|
}
|
|
2076
2076
|
applyAspectRatio(e, t) {
|
|
2077
2077
|
const { ratio: i, contentMode: n } = t;
|
|
2078
|
-
i !== void 0 && (p(i) || m(i) ?
|
|
2078
|
+
i !== void 0 && (p(i) || m(i) ? b(() => {
|
|
2079
2079
|
const r = typeof i == "function" ? i() : i;
|
|
2080
2080
|
e.style.aspectRatio = String(r);
|
|
2081
2081
|
}) : e.style.aspectRatio = String(i), n === "fill" ? e.style.objectFit = "cover" : e.style.objectFit = "contain");
|
|
@@ -2084,27 +2084,27 @@ class Go extends w {
|
|
|
2084
2084
|
applyScaleTransform(e, t) {
|
|
2085
2085
|
const { x: i, y: n, anchor: r } = t, a = i ?? 1, l = n ?? a;
|
|
2086
2086
|
if (p(a) || m(a) || p(l) || m(l))
|
|
2087
|
-
|
|
2088
|
-
const c = p(a) || m(a) ? a() : a,
|
|
2087
|
+
b(() => {
|
|
2088
|
+
const c = p(a) || m(a) ? a() : a, u = p(l) || m(l) ? l() : l, d = `scale(${c}, ${u})`;
|
|
2089
2089
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
2090
2090
|
r || "center"
|
|
2091
2091
|
);
|
|
2092
|
-
const
|
|
2093
|
-
e.style.transform =
|
|
2092
|
+
const y = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), v = y ? `${y} ${d}` : d;
|
|
2093
|
+
e.style.transform = v;
|
|
2094
2094
|
});
|
|
2095
2095
|
else {
|
|
2096
2096
|
const c = `scale(${a}, ${l})`;
|
|
2097
2097
|
e.style.transformOrigin = this.getTransformOrigin(
|
|
2098
2098
|
r || "center"
|
|
2099
2099
|
);
|
|
2100
|
-
const
|
|
2101
|
-
e.style.transform =
|
|
2100
|
+
const d = (e.style.transform || "").replace(/\s*scale\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), h = d ? `${d} ${c}` : c;
|
|
2101
|
+
e.style.transform = h;
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
2104
|
applyAbsolutePosition(e, t) {
|
|
2105
2105
|
const { x: i, y: n } = t;
|
|
2106
2106
|
if (e.style.position = "absolute", p(i) || m(i) || p(n) || m(n))
|
|
2107
|
-
|
|
2107
|
+
b(() => {
|
|
2108
2108
|
const r = p(i) || m(i) ? i() : i ?? 0, a = p(n) || m(n) ? n() : n ?? 0;
|
|
2109
2109
|
e.style.left = this.toCSSValue(r), e.style.top = this.toCSSValue(a);
|
|
2110
2110
|
});
|
|
@@ -2114,7 +2114,7 @@ class Go extends w {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
}
|
|
2116
2116
|
applyZIndex(e, t) {
|
|
2117
|
-
p(t) || m(t) ?
|
|
2117
|
+
p(t) || m(t) ? b(() => {
|
|
2118
2118
|
const i = t();
|
|
2119
2119
|
e.style.zIndex = String(i);
|
|
2120
2120
|
}) : e.style.zIndex = String(t);
|
|
@@ -2135,7 +2135,7 @@ class Go extends w {
|
|
|
2135
2135
|
computeLayoutStyles(e, t) {
|
|
2136
2136
|
const i = {};
|
|
2137
2137
|
if (e.frame) {
|
|
2138
|
-
const n = e.frame, r =
|
|
2138
|
+
const n = e.frame, r = oe(n);
|
|
2139
2139
|
if (Object.assign(i, r.cssProps), n.width !== void 0) {
|
|
2140
2140
|
const a = L(n.width);
|
|
2141
2141
|
a !== void 0 && !A(n.width) && !r.expandWidth && (i.width = a);
|
|
@@ -2208,7 +2208,7 @@ class Go extends w {
|
|
|
2208
2208
|
return i;
|
|
2209
2209
|
}
|
|
2210
2210
|
}
|
|
2211
|
-
class
|
|
2211
|
+
class er extends w {
|
|
2212
2212
|
constructor() {
|
|
2213
2213
|
super(...arguments);
|
|
2214
2214
|
f(this, "type", "appearance");
|
|
@@ -2239,16 +2239,16 @@ class Ko extends w {
|
|
|
2239
2239
|
* Apply Asset-based styles with theme reactivity
|
|
2240
2240
|
*/
|
|
2241
2241
|
applyAssetBasedStyles(e, t) {
|
|
2242
|
-
const i =
|
|
2243
|
-
t.foregroundColor && this.isAsset(t.foregroundColor) &&
|
|
2242
|
+
const i = N();
|
|
2243
|
+
t.foregroundColor && this.isAsset(t.foregroundColor) && b(() => {
|
|
2244
2244
|
i();
|
|
2245
2245
|
const n = t.foregroundColor.resolve();
|
|
2246
2246
|
this.applyStyleChange(e, "color", n);
|
|
2247
|
-
}), t.backgroundColor && this.isAsset(t.backgroundColor) &&
|
|
2247
|
+
}), t.backgroundColor && this.isAsset(t.backgroundColor) && b(() => {
|
|
2248
2248
|
i();
|
|
2249
2249
|
const n = t.backgroundColor.resolve();
|
|
2250
2250
|
this.applyStyleChange(e, "backgroundColor", n);
|
|
2251
|
-
}), t.border?.color && this.isAsset(t.border.color) &&
|
|
2251
|
+
}), t.border?.color && this.isAsset(t.border.color) && b(() => {
|
|
2252
2252
|
i();
|
|
2253
2253
|
const n = t.border.color.resolve();
|
|
2254
2254
|
this.applyStyleChange(e, "borderColor", n);
|
|
@@ -2278,8 +2278,8 @@ class Ko extends w {
|
|
|
2278
2278
|
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);
|
|
2279
2279
|
}
|
|
2280
2280
|
if (e.shadow) {
|
|
2281
|
-
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,
|
|
2282
|
-
t.boxShadow = c !== 0 ? `${r}px ${a}px ${l}px ${c}px ${
|
|
2281
|
+
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)";
|
|
2282
|
+
t.boxShadow = c !== 0 ? `${r}px ${a}px ${l}px ${c}px ${u}` : `${r}px ${a}px ${l}px ${u}`;
|
|
2283
2283
|
}
|
|
2284
2284
|
if (e.clipped && (t.overflow = "hidden"), e.clipShape) {
|
|
2285
2285
|
const { shape: n, parameters: r } = e.clipShape;
|
|
@@ -2360,8 +2360,8 @@ class C extends w {
|
|
|
2360
2360
|
), t.element.addEventListener(
|
|
2361
2361
|
"touchend",
|
|
2362
2362
|
(a) => {
|
|
2363
|
-
const c = a.changedTouches[0],
|
|
2364
|
-
Math.abs(
|
|
2363
|
+
const c = a.changedTouches[0], u = c.clientX - n, d = c.clientY - r;
|
|
2364
|
+
Math.abs(u) > Math.abs(d) && Math.abs(u) > 50 && (u < 0 && i.onSwipeLeft ? i.onSwipeLeft() : u > 0 && i.onSwipeRight && i.onSwipeRight());
|
|
2365
2365
|
},
|
|
2366
2366
|
{ passive: !0 }
|
|
2367
2367
|
);
|
|
@@ -2377,7 +2377,7 @@ class C extends w {
|
|
|
2377
2377
|
const n = t.element, r = (a) => {
|
|
2378
2378
|
a ? (n.setAttribute("disabled", "true"), n.style.pointerEvents = "none", n.style.opacity = "0.6") : (n.removeAttribute("disabled"), n.style.pointerEvents = "", n.style.opacity = "");
|
|
2379
2379
|
};
|
|
2380
|
-
p(i.disabled) || m(i.disabled) ?
|
|
2380
|
+
p(i.disabled) || m(i.disabled) ? b(() => {
|
|
2381
2381
|
r(!!i.disabled());
|
|
2382
2382
|
}) : r(!!i.disabled);
|
|
2383
2383
|
}
|
|
@@ -2392,25 +2392,25 @@ class C extends w {
|
|
|
2392
2392
|
let r, a = null, l = !1;
|
|
2393
2393
|
const c = () => {
|
|
2394
2394
|
r && (clearTimeout(r), r = void 0), l && t.onPressingChanged && t.onPressingChanged(!1), l = !1, a = null;
|
|
2395
|
-
},
|
|
2396
|
-
const S =
|
|
2395
|
+
}, u = (v) => {
|
|
2396
|
+
const S = v;
|
|
2397
2397
|
a = { x: S.clientX, y: S.clientY }, l = !0, t.onPressingChanged && t.onPressingChanged(!0), r = window.setTimeout(() => {
|
|
2398
2398
|
l && a && (t.perform(), c());
|
|
2399
2399
|
}, i);
|
|
2400
|
-
},
|
|
2401
|
-
const S =
|
|
2400
|
+
}, d = (v) => {
|
|
2401
|
+
const S = v;
|
|
2402
2402
|
if (!a || !l) return;
|
|
2403
2403
|
Math.sqrt(
|
|
2404
2404
|
Math.pow(S.clientX - a.x, 2) + Math.pow(S.clientY - a.y, 2)
|
|
2405
2405
|
) > n && c();
|
|
2406
|
-
}, y = () => {
|
|
2407
|
-
c();
|
|
2408
2406
|
}, h = () => {
|
|
2409
2407
|
c();
|
|
2408
|
+
}, y = () => {
|
|
2409
|
+
c();
|
|
2410
2410
|
};
|
|
2411
|
-
e.addEventListener("pointerdown",
|
|
2411
|
+
e.addEventListener("pointerdown", u), e.addEventListener("pointermove", d), e.addEventListener("pointerup", h), e.addEventListener(
|
|
2412
2412
|
"pointercancel",
|
|
2413
|
-
|
|
2413
|
+
y
|
|
2414
2414
|
), e._longPressCleanup = c;
|
|
2415
2415
|
}
|
|
2416
2416
|
/**
|
|
@@ -2429,10 +2429,10 @@ class C extends w {
|
|
|
2429
2429
|
ctrl: r.ctrlKey,
|
|
2430
2430
|
shift: r.shiftKey,
|
|
2431
2431
|
alt: r.altKey
|
|
2432
|
-
}, c = r.key.toLowerCase() === t.key.toLowerCase(),
|
|
2433
|
-
([
|
|
2432
|
+
}, c = r.key.toLowerCase() === t.key.toLowerCase(), u = Object.entries(a).every(
|
|
2433
|
+
([d, h]) => h === l[d]
|
|
2434
2434
|
);
|
|
2435
|
-
c &&
|
|
2435
|
+
c && u && (r.preventDefault(), t.action());
|
|
2436
2436
|
};
|
|
2437
2437
|
document.addEventListener("keydown", n), e._keyboardShortcutCleanup = () => {
|
|
2438
2438
|
document.removeEventListener("keydown", n);
|
|
@@ -2444,7 +2444,7 @@ class C extends w {
|
|
|
2444
2444
|
setupFocusManagement(e, t) {
|
|
2445
2445
|
if (!(e instanceof HTMLElement)) return;
|
|
2446
2446
|
const i = e;
|
|
2447
|
-
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ?
|
|
2447
|
+
i.hasAttribute("tabindex") || i.setAttribute("tabindex", "0"), p(t) || m(t) ? b(() => {
|
|
2448
2448
|
t() ? i.focus() : i.blur();
|
|
2449
2449
|
}) : t && i.focus();
|
|
2450
2450
|
}
|
|
@@ -2464,13 +2464,13 @@ class C extends w {
|
|
|
2464
2464
|
setupContinuousHover(e, t) {
|
|
2465
2465
|
const i = t.coordinateSpace ?? "local", n = (a) => {
|
|
2466
2466
|
const l = a;
|
|
2467
|
-
let c,
|
|
2467
|
+
let c, u;
|
|
2468
2468
|
if (i === "local") {
|
|
2469
|
-
const
|
|
2470
|
-
c = l.clientX -
|
|
2469
|
+
const d = e.getBoundingClientRect();
|
|
2470
|
+
c = l.clientX - d.left, u = l.clientY - d.top;
|
|
2471
2471
|
} else
|
|
2472
|
-
c = l.clientX,
|
|
2473
|
-
t.perform({ x: c, y:
|
|
2472
|
+
c = l.clientX, u = l.clientY;
|
|
2473
|
+
t.perform({ x: c, y: u });
|
|
2474
2474
|
}, r = () => {
|
|
2475
2475
|
t.perform(null);
|
|
2476
2476
|
};
|
|
@@ -2488,7 +2488,7 @@ class C extends w {
|
|
|
2488
2488
|
e instanceof HTMLElement && (e.style.pointerEvents = t ? "" : "none");
|
|
2489
2489
|
}
|
|
2490
2490
|
}
|
|
2491
|
-
class
|
|
2491
|
+
class tr extends w {
|
|
2492
2492
|
constructor() {
|
|
2493
2493
|
super(...arguments);
|
|
2494
2494
|
f(this, "type", "animation");
|
|
@@ -2509,11 +2509,11 @@ class Yo extends w {
|
|
|
2509
2509
|
n.keyframes
|
|
2510
2510
|
);
|
|
2511
2511
|
this.addKeyframesToStylesheet(a);
|
|
2512
|
-
const l = n.duration || 1e3, c = n.easing || "ease",
|
|
2513
|
-
t.element.style.animation = `${r} ${l}ms ${c} ${
|
|
2512
|
+
const l = n.duration || 1e3, c = n.easing || "ease", u = n.iterations || 1, d = n.direction || "normal";
|
|
2513
|
+
t.element.style.animation = `${r} ${l}ms ${c} ${u} ${d}`;
|
|
2514
2514
|
}
|
|
2515
2515
|
}
|
|
2516
|
-
if (i.transform && t.element instanceof HTMLElement && (p(i.transform) || m(i.transform) ?
|
|
2516
|
+
if (i.transform && t.element instanceof HTMLElement && (p(i.transform) || m(i.transform) ? b(() => {
|
|
2517
2517
|
const n = i.transform();
|
|
2518
2518
|
t.element instanceof HTMLElement && (t.element.style.transform = n);
|
|
2519
2519
|
}) : t.element.style.transform = i.transform), i.rotationEffect && t.element instanceof HTMLElement) {
|
|
@@ -2529,18 +2529,18 @@ class Yo extends w {
|
|
|
2529
2529
|
trailing: "100% 50%"
|
|
2530
2530
|
}[r || "center"] || "50% 50%", c = `rotate(${n}deg)`;
|
|
2531
2531
|
if (p(n) || m(n))
|
|
2532
|
-
|
|
2533
|
-
const
|
|
2532
|
+
b(() => {
|
|
2533
|
+
const d = `rotate(${typeof n == "function" ? n() : n}deg)`;
|
|
2534
2534
|
if (t.element instanceof HTMLElement) {
|
|
2535
2535
|
t.element.style.transformOrigin = l;
|
|
2536
|
-
const
|
|
2537
|
-
t.element.style.transform =
|
|
2536
|
+
const y = (t.element.style.transform || "").split(" ").filter((S) => S && !S.startsWith("rotate(")).join(" "), v = y ? `${y} ${d}` : d;
|
|
2537
|
+
t.element.style.transform = v;
|
|
2538
2538
|
}
|
|
2539
2539
|
});
|
|
2540
2540
|
else if (t.element instanceof HTMLElement) {
|
|
2541
2541
|
t.element.style.transformOrigin = l;
|
|
2542
|
-
const
|
|
2543
|
-
t.element.style.transform =
|
|
2542
|
+
const d = (t.element.style.transform || "").split(" ").filter((y) => y && !y.startsWith("rotate(")).join(" "), h = d ? `${d} ${c}` : c;
|
|
2543
|
+
t.element.style.transform = h;
|
|
2544
2544
|
}
|
|
2545
2545
|
}
|
|
2546
2546
|
i.overlay && t.element instanceof HTMLElement && this.applyOverlay(t.element, i.overlay, t);
|
|
@@ -2554,8 +2554,8 @@ class Yo extends w {
|
|
|
2554
2554
|
if (Object.assign(a.style, l), typeof n == "function") {
|
|
2555
2555
|
const c = n();
|
|
2556
2556
|
if (c && typeof c.render == "function") {
|
|
2557
|
-
const
|
|
2558
|
-
|
|
2557
|
+
const u = c.render();
|
|
2558
|
+
u.element && a.appendChild(u.element);
|
|
2559
2559
|
}
|
|
2560
2560
|
} else if (n && typeof n.render == "function") {
|
|
2561
2561
|
const c = n.render();
|
|
@@ -2632,7 +2632,7 @@ class Yo extends w {
|
|
|
2632
2632
|
t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(e));
|
|
2633
2633
|
}
|
|
2634
2634
|
}
|
|
2635
|
-
class
|
|
2635
|
+
class ir extends w {
|
|
2636
2636
|
constructor() {
|
|
2637
2637
|
super(...arguments);
|
|
2638
2638
|
f(this, "type", "lifecycle");
|
|
@@ -2700,51 +2700,51 @@ class Xo extends w {
|
|
|
2700
2700
|
transition: opacity 0.3s ease;
|
|
2701
2701
|
z-index: 1000;
|
|
2702
2702
|
`, !document.querySelector("#tachui-refresh-styles")) {
|
|
2703
|
-
const
|
|
2704
|
-
|
|
2703
|
+
const y = document.createElement("style");
|
|
2704
|
+
y.id = "tachui-refresh-styles", y.textContent = `
|
|
2705
2705
|
@keyframes tachui-spin {
|
|
2706
2706
|
0% { transform: translateX(-50%) rotate(0deg); }
|
|
2707
2707
|
100% { transform: translateX(-50%) rotate(360deg); }
|
|
2708
2708
|
}
|
|
2709
|
-
`, document.head.appendChild(
|
|
2709
|
+
`, document.head.appendChild(y);
|
|
2710
2710
|
}
|
|
2711
2711
|
const c = e.parentElement || e;
|
|
2712
2712
|
c instanceof HTMLElement && (c.style.position = "relative", c.appendChild(l));
|
|
2713
|
-
const
|
|
2714
|
-
i || (r =
|
|
2715
|
-
},
|
|
2713
|
+
const u = (y) => {
|
|
2714
|
+
i || (r = y.touches[0].clientY);
|
|
2715
|
+
}, d = (y) => {
|
|
2716
2716
|
if (i) return;
|
|
2717
|
-
const
|
|
2718
|
-
if (n = Math.max(0,
|
|
2717
|
+
const v = y.touches[0].clientY;
|
|
2718
|
+
if (n = Math.max(0, v - r), n > 20) {
|
|
2719
2719
|
const S = Math.min(1, n / a);
|
|
2720
2720
|
l.style.opacity = String(S);
|
|
2721
2721
|
}
|
|
2722
|
-
n > 0 && e.scrollTop === 0 &&
|
|
2723
|
-
},
|
|
2722
|
+
n > 0 && e.scrollTop === 0 && y.preventDefault();
|
|
2723
|
+
}, h = async () => {
|
|
2724
2724
|
if (!i)
|
|
2725
2725
|
if (n > a) {
|
|
2726
2726
|
i = !0, l.style.opacity = "1";
|
|
2727
2727
|
try {
|
|
2728
2728
|
await t.onRefresh();
|
|
2729
|
-
} catch (
|
|
2730
|
-
console.error("Refresh error:",
|
|
2729
|
+
} catch (y) {
|
|
2730
|
+
console.error("Refresh error:", y);
|
|
2731
2731
|
} finally {
|
|
2732
2732
|
i = !1, l.style.opacity = "0", n = 0;
|
|
2733
2733
|
}
|
|
2734
2734
|
} else
|
|
2735
2735
|
l.style.opacity = "0", n = 0;
|
|
2736
2736
|
};
|
|
2737
|
-
e.addEventListener("touchstart",
|
|
2737
|
+
e.addEventListener("touchstart", u, {
|
|
2738
2738
|
passive: !0
|
|
2739
|
-
}), e.addEventListener("touchmove",
|
|
2739
|
+
}), e.addEventListener("touchmove", d, {
|
|
2740
2740
|
passive: !1
|
|
2741
|
-
}), e.addEventListener("touchend",
|
|
2741
|
+
}), e.addEventListener("touchend", h, {
|
|
2742
2742
|
passive: !0
|
|
2743
2743
|
}), this.addCleanup(() => {
|
|
2744
2744
|
e.removeEventListener(
|
|
2745
2745
|
"touchstart",
|
|
2746
|
-
|
|
2747
|
-
), e.removeEventListener("touchmove",
|
|
2746
|
+
u
|
|
2747
|
+
), e.removeEventListener("touchmove", d), e.removeEventListener("touchend", h), l.parentElement && l.parentElement.removeChild(l);
|
|
2748
2748
|
});
|
|
2749
2749
|
}
|
|
2750
2750
|
addCleanup(e) {
|
|
@@ -2780,11 +2780,11 @@ class ve extends w {
|
|
|
2780
2780
|
"center"
|
|
2781
2781
|
), r = this.resolveReactive(this.properties.side, void 0), a = this.resolveReactive(this.properties.offset, void 0), l = this.resolveReactive(this.properties.enabled, !0);
|
|
2782
2782
|
this.clearPositionStyles(e);
|
|
2783
|
-
const c = r ?? n,
|
|
2784
|
-
Object.assign(e.style,
|
|
2783
|
+
const c = r ?? n, u = r !== void 0 ? c : n, d = this.getOverlayAlignment(u);
|
|
2784
|
+
Object.assign(e.style, d), this.applyOffset(e, c, a), e.style.display = l ? "" : "none";
|
|
2785
2785
|
};
|
|
2786
2786
|
if (this.isReactive(this.properties.alignment) || this.isReactive(this.properties.side) || this.isReactive(this.properties.offset) || this.isReactive(this.properties.enabled)) {
|
|
2787
|
-
|
|
2787
|
+
b(() => {
|
|
2788
2788
|
t();
|
|
2789
2789
|
});
|
|
2790
2790
|
return;
|
|
@@ -2912,7 +2912,7 @@ function Nt(o, s = "center") {
|
|
|
2912
2912
|
alignment: s
|
|
2913
2913
|
});
|
|
2914
2914
|
}
|
|
2915
|
-
class
|
|
2915
|
+
class Me extends g {
|
|
2916
2916
|
constructor() {
|
|
2917
2917
|
super(...arguments);
|
|
2918
2918
|
f(this, "type", "background");
|
|
@@ -2920,29 +2920,29 @@ class xe extends b {
|
|
|
2920
2920
|
}
|
|
2921
2921
|
apply(e, t) {
|
|
2922
2922
|
if (!t.element) return;
|
|
2923
|
-
const i = this.properties.background;
|
|
2923
|
+
const i = this.properties.background, n = this.properties.cssProperty ?? "background";
|
|
2924
2924
|
if (p(i) || m(i)) {
|
|
2925
|
-
this.applyStyles(t.element, {
|
|
2925
|
+
this.applyStyles(t.element, { [n]: i });
|
|
2926
2926
|
return;
|
|
2927
2927
|
}
|
|
2928
2928
|
if (this.isAssetValue(i)) {
|
|
2929
2929
|
this.applyColorAssetWithThemeReactivity(
|
|
2930
2930
|
t.element,
|
|
2931
|
-
|
|
2931
|
+
n,
|
|
2932
2932
|
i
|
|
2933
2933
|
);
|
|
2934
2934
|
return;
|
|
2935
2935
|
}
|
|
2936
2936
|
if (t.element instanceof HTMLElement && this.isStateGradientOption(i)) {
|
|
2937
|
-
this.applyStatefulBackground(t.element, i);
|
|
2937
|
+
this.applyStatefulBackground(t.element, i, n);
|
|
2938
2938
|
return;
|
|
2939
2939
|
}
|
|
2940
|
-
const
|
|
2940
|
+
const r = this.resolveBackgroundValue(
|
|
2941
2941
|
i
|
|
2942
2942
|
);
|
|
2943
|
-
if (
|
|
2944
|
-
const
|
|
2945
|
-
this.applyStyles(t.element,
|
|
2943
|
+
if (r !== void 0) {
|
|
2944
|
+
const a = { [n]: r };
|
|
2945
|
+
this.applyStyles(t.element, a);
|
|
2946
2946
|
}
|
|
2947
2947
|
}
|
|
2948
2948
|
/**
|
|
@@ -2950,8 +2950,8 @@ class xe extends b {
|
|
|
2950
2950
|
* This mirrors the core AppearanceModifier pattern
|
|
2951
2951
|
*/
|
|
2952
2952
|
applyColorAssetWithThemeReactivity(e, t, i) {
|
|
2953
|
-
const n =
|
|
2954
|
-
|
|
2953
|
+
const n = N();
|
|
2954
|
+
b(() => {
|
|
2955
2955
|
n();
|
|
2956
2956
|
const r = i.resolve();
|
|
2957
2957
|
this.applyStyleChange(e, t, r);
|
|
@@ -2974,8 +2974,8 @@ class xe extends b {
|
|
|
2974
2974
|
isStateGradientOption(e) {
|
|
2975
2975
|
return this.isAssetValue(e) ? !1 : e !== null && typeof e == "object" && "default" in e && !this.isGradientDefinition(e);
|
|
2976
2976
|
}
|
|
2977
|
-
applyStatefulBackground(e, t) {
|
|
2978
|
-
const
|
|
2977
|
+
applyStatefulBackground(e, t, i) {
|
|
2978
|
+
const n = {
|
|
2979
2979
|
default: this.resolveBackgroundValue(t.default),
|
|
2980
2980
|
hover: t.hover ? this.resolveBackgroundValue(t.hover) : void 0,
|
|
2981
2981
|
active: t.active ? this.resolveBackgroundValue(t.active) : void 0,
|
|
@@ -2983,49 +2983,49 @@ class xe extends b {
|
|
|
2983
2983
|
disabled: t.disabled ? this.resolveBackgroundValue(
|
|
2984
2984
|
t.disabled
|
|
2985
2985
|
) : void 0
|
|
2986
|
-
},
|
|
2986
|
+
}, r = (d) => {
|
|
2987
2987
|
if (!d) return;
|
|
2988
|
-
const
|
|
2989
|
-
|
|
2990
|
-
},
|
|
2988
|
+
const h = n[d];
|
|
2989
|
+
h !== void 0 && this.applyStyleChange(e, i, h);
|
|
2990
|
+
}, a = () => this.isElementDisabled(e) && n.disabled ? "disabled" : n.focus && this.matchesSelector(e, ":focus") ? "focus" : "default", l = () => {
|
|
2991
2991
|
const d = t.animation;
|
|
2992
2992
|
if (!d) return;
|
|
2993
|
-
const
|
|
2994
|
-
e.style.transition =
|
|
2995
|
-
const
|
|
2996
|
-
|
|
2997
|
-
},
|
|
2998
|
-
const d =
|
|
2999
|
-
if (d === "focus" && this.matchesSelector(e, ":hover") &&
|
|
3000
|
-
|
|
2993
|
+
const h = d.duration ?? 200, y = d.easing ?? "ease", v = d.delay ?? 0, _ = `${i === "backgroundColor" ? "background-color" : "background"} ${h}ms ${y} ${v}ms`;
|
|
2994
|
+
e.style.transition = _;
|
|
2995
|
+
const W = e.style.cssText || "";
|
|
2996
|
+
W.includes("transition") || (e.style.cssText = `${W}${W ? ";" : ""}transition: ${_};`);
|
|
2997
|
+
}, c = () => {
|
|
2998
|
+
const d = a();
|
|
2999
|
+
if (d === "focus" && this.matchesSelector(e, ":hover") && n.hover) {
|
|
3000
|
+
r("hover");
|
|
3001
3001
|
return;
|
|
3002
3002
|
}
|
|
3003
|
-
|
|
3004
|
-
},
|
|
3005
|
-
if (this.isElementDisabled(e) &&
|
|
3006
|
-
|
|
3003
|
+
r(d);
|
|
3004
|
+
}, u = () => {
|
|
3005
|
+
if (this.isElementDisabled(e) && n.disabled) {
|
|
3006
|
+
r("disabled");
|
|
3007
3007
|
return;
|
|
3008
3008
|
}
|
|
3009
|
-
if (
|
|
3010
|
-
|
|
3009
|
+
if (n.hover && this.matchesSelector(e, ":hover")) {
|
|
3010
|
+
r("hover");
|
|
3011
3011
|
return;
|
|
3012
3012
|
}
|
|
3013
|
-
if (
|
|
3014
|
-
|
|
3013
|
+
if (n.focus && this.matchesSelector(e, ":focus")) {
|
|
3014
|
+
r("focus");
|
|
3015
3015
|
return;
|
|
3016
3016
|
}
|
|
3017
|
-
|
|
3017
|
+
r("default");
|
|
3018
3018
|
};
|
|
3019
|
-
this.isElementDisabled(e) &&
|
|
3020
|
-
this.isElementDisabled(e) ||
|
|
3021
|
-
}), e.addEventListener("mouseleave",
|
|
3022
|
-
this.isElementDisabled(e) ||
|
|
3023
|
-
}), e.addEventListener("mouseup",
|
|
3024
|
-
this.isElementDisabled(e) ||
|
|
3019
|
+
this.isElementDisabled(e) && n.disabled ? r("disabled") : r("default"), l(), n.hover && (e.addEventListener("mouseenter", () => {
|
|
3020
|
+
this.isElementDisabled(e) || r("hover");
|
|
3021
|
+
}), e.addEventListener("mouseleave", c)), n.active && (e.addEventListener("mousedown", () => {
|
|
3022
|
+
this.isElementDisabled(e) || r("active");
|
|
3023
|
+
}), e.addEventListener("mouseup", u)), n.focus && (e.addEventListener("focus", () => {
|
|
3024
|
+
this.isElementDisabled(e) || r("focus");
|
|
3025
3025
|
}), e.addEventListener("blur", () => {
|
|
3026
|
-
|
|
3027
|
-
})),
|
|
3028
|
-
this.isElementDisabled(e) ?
|
|
3026
|
+
c();
|
|
3027
|
+
})), n.disabled && new MutationObserver(() => {
|
|
3028
|
+
this.isElementDisabled(e) ? r("disabled") : n.hover && this.matchesSelector(e, ":hover") ? r("hover") : n.focus && this.matchesSelector(e, ":focus") ? r("focus") : r("default");
|
|
3029
3029
|
}).observe(e, {
|
|
3030
3030
|
attributes: !0,
|
|
3031
3031
|
attributeFilter: ["disabled", "aria-disabled"]
|
|
@@ -3044,7 +3044,46 @@ class xe extends b {
|
|
|
3044
3044
|
return !!(e.hasAttribute && e.hasAttribute("disabled") || e.getAttribute && e.getAttribute("aria-disabled") === "true");
|
|
3045
3045
|
}
|
|
3046
3046
|
}
|
|
3047
|
-
|
|
3047
|
+
const zt = {
|
|
3048
|
+
repeat: "no-repeat",
|
|
3049
|
+
size: "cover",
|
|
3050
|
+
position: "center"
|
|
3051
|
+
};
|
|
3052
|
+
class Ft extends g {
|
|
3053
|
+
constructor() {
|
|
3054
|
+
super(...arguments);
|
|
3055
|
+
f(this, "type", "backgroundImage");
|
|
3056
|
+
f(this, "priority", 94);
|
|
3057
|
+
}
|
|
3058
|
+
apply(e, t) {
|
|
3059
|
+
if (!t.element) return;
|
|
3060
|
+
const {
|
|
3061
|
+
source: i,
|
|
3062
|
+
options: { repeat: n, size: r, position: a }
|
|
3063
|
+
} = this.properties;
|
|
3064
|
+
if (this.applyStyles(t.element, {
|
|
3065
|
+
backgroundRepeat: this.mapRepeatValue(n),
|
|
3066
|
+
backgroundSize: r,
|
|
3067
|
+
backgroundPosition: a
|
|
3068
|
+
}), this.isAssetValue(i)) {
|
|
3069
|
+
this.applyImageAssetWithThemeReactivity(t.element, i);
|
|
3070
|
+
return;
|
|
3071
|
+
}
|
|
3072
|
+
this.applyStyleChange(t.element, "backgroundImage", i);
|
|
3073
|
+
}
|
|
3074
|
+
mapRepeatValue(e) {
|
|
3075
|
+
return e === "tile" ? "repeat" : e;
|
|
3076
|
+
}
|
|
3077
|
+
applyImageAssetWithThemeReactivity(e, t) {
|
|
3078
|
+
const i = N();
|
|
3079
|
+
b(() => {
|
|
3080
|
+
i();
|
|
3081
|
+
const r = t.resolve().replace(/["\\]/g, "\\$&");
|
|
3082
|
+
this.applyStyleChange(e, "backgroundImage", `url("${r}")`);
|
|
3083
|
+
});
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
class xe extends g {
|
|
3048
3087
|
constructor() {
|
|
3049
3088
|
super(...arguments);
|
|
3050
3089
|
f(this, "type", "backgroundClip");
|
|
@@ -3060,21 +3099,36 @@ class Me extends b {
|
|
|
3060
3099
|
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;
|
|
3061
3100
|
}
|
|
3062
3101
|
}
|
|
3063
|
-
function
|
|
3064
|
-
return new
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3102
|
+
function Wt(o) {
|
|
3103
|
+
return new Me({
|
|
3104
|
+
background: o,
|
|
3105
|
+
cssProperty: "backgroundColor"
|
|
3106
|
+
});
|
|
3068
3107
|
}
|
|
3069
|
-
function
|
|
3108
|
+
function jt(o) {
|
|
3070
3109
|
return new Me({
|
|
3110
|
+
background: o,
|
|
3111
|
+
cssProperty: "background"
|
|
3112
|
+
});
|
|
3113
|
+
}
|
|
3114
|
+
function Ut(o, s = {}) {
|
|
3115
|
+
return new Ft({
|
|
3116
|
+
source: o,
|
|
3117
|
+
options: {
|
|
3118
|
+
...zt,
|
|
3119
|
+
...s
|
|
3120
|
+
}
|
|
3121
|
+
});
|
|
3122
|
+
}
|
|
3123
|
+
function nr(o, s = "text", e = "transparent") {
|
|
3124
|
+
return new xe({
|
|
3071
3125
|
backgroundImage: o,
|
|
3072
3126
|
backgroundClip: s,
|
|
3073
3127
|
color: e
|
|
3074
3128
|
});
|
|
3075
3129
|
}
|
|
3076
|
-
function
|
|
3077
|
-
return new
|
|
3130
|
+
function G(o) {
|
|
3131
|
+
return new xe({
|
|
3078
3132
|
backgroundImage: o,
|
|
3079
3133
|
backgroundClip: "text",
|
|
3080
3134
|
webkitBackgroundClip: "text",
|
|
@@ -3082,24 +3136,54 @@ function j(o) {
|
|
|
3082
3136
|
webkitTextFillColor: "transparent"
|
|
3083
3137
|
});
|
|
3084
3138
|
}
|
|
3085
|
-
function
|
|
3086
|
-
return
|
|
3139
|
+
function or() {
|
|
3140
|
+
return G("linear-gradient(45deg, #007AFF, #5856D6)");
|
|
3087
3141
|
}
|
|
3088
|
-
function
|
|
3089
|
-
return
|
|
3142
|
+
function rr() {
|
|
3143
|
+
return G(
|
|
3090
3144
|
"linear-gradient(90deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff80, #0080ff, #8000ff)"
|
|
3091
3145
|
);
|
|
3092
3146
|
}
|
|
3093
|
-
function
|
|
3094
|
-
return
|
|
3147
|
+
function sr() {
|
|
3148
|
+
return G("linear-gradient(45deg, #ff6b6b, #feca57, #ff9ff3)");
|
|
3149
|
+
}
|
|
3150
|
+
function ar() {
|
|
3151
|
+
return G("linear-gradient(45deg, #667eea, #764ba2)");
|
|
3152
|
+
}
|
|
3153
|
+
function lr() {
|
|
3154
|
+
return G("linear-gradient(45deg, #f7971e, #ffd200)");
|
|
3155
|
+
}
|
|
3156
|
+
class Gt extends g {
|
|
3157
|
+
constructor() {
|
|
3158
|
+
super(...arguments);
|
|
3159
|
+
f(this, "type", "blendMode");
|
|
3160
|
+
f(this, "priority", 92);
|
|
3161
|
+
}
|
|
3162
|
+
apply(e, t) {
|
|
3163
|
+
t.element && this.applyStyleChange(t.element, "mixBlendMode", this.properties.mode);
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
class Kt extends g {
|
|
3167
|
+
constructor() {
|
|
3168
|
+
super(...arguments);
|
|
3169
|
+
f(this, "type", "backgroundBlendMode");
|
|
3170
|
+
f(this, "priority", 93);
|
|
3171
|
+
}
|
|
3172
|
+
apply(e, t) {
|
|
3173
|
+
t.element && this.applyStyleChange(
|
|
3174
|
+
t.element,
|
|
3175
|
+
"backgroundBlendMode",
|
|
3176
|
+
this.properties.mode
|
|
3177
|
+
);
|
|
3178
|
+
}
|
|
3095
3179
|
}
|
|
3096
|
-
function
|
|
3097
|
-
return
|
|
3180
|
+
function Yt(o) {
|
|
3181
|
+
return new Gt({ mode: o });
|
|
3098
3182
|
}
|
|
3099
|
-
function
|
|
3100
|
-
return
|
|
3183
|
+
function Xt(o) {
|
|
3184
|
+
return new Kt({ mode: o });
|
|
3101
3185
|
}
|
|
3102
|
-
class D extends
|
|
3186
|
+
class D extends g {
|
|
3103
3187
|
constructor() {
|
|
3104
3188
|
super(...arguments);
|
|
3105
3189
|
f(this, "type", "border");
|
|
@@ -3114,8 +3198,8 @@ class D extends b {
|
|
|
3114
3198
|
const i = this.computeAssetColorStyles(t);
|
|
3115
3199
|
if (Object.keys(i).length === 0)
|
|
3116
3200
|
return;
|
|
3117
|
-
const n =
|
|
3118
|
-
|
|
3201
|
+
const n = N();
|
|
3202
|
+
b(() => {
|
|
3119
3203
|
n(), Object.entries(i).forEach(([r, a]) => {
|
|
3120
3204
|
this.applyStyleChange(e, r, a.resolve());
|
|
3121
3205
|
});
|
|
@@ -3147,7 +3231,7 @@ class D extends b {
|
|
|
3147
3231
|
return typeof e == "number" ? `${e}px` : e;
|
|
3148
3232
|
}
|
|
3149
3233
|
}
|
|
3150
|
-
class
|
|
3234
|
+
class Zt extends g {
|
|
3151
3235
|
constructor() {
|
|
3152
3236
|
super(...arguments);
|
|
3153
3237
|
f(this, "type", "cornerRadius");
|
|
@@ -3192,41 +3276,41 @@ class Wt extends b {
|
|
|
3192
3276
|
return typeof e == "number" ? `${e}px` : e;
|
|
3193
3277
|
}
|
|
3194
3278
|
}
|
|
3195
|
-
function
|
|
3279
|
+
function qt(o, s, e) {
|
|
3196
3280
|
return typeof o == "number" || typeof o == "string" ? new D({
|
|
3197
3281
|
width: o,
|
|
3198
3282
|
color: s || "currentColor",
|
|
3199
3283
|
style: e || "solid"
|
|
3200
3284
|
}) : new D(o);
|
|
3201
3285
|
}
|
|
3202
|
-
function
|
|
3286
|
+
function Jt(o, s, e) {
|
|
3203
3287
|
return new D({ top: { width: o, color: s, style: e } });
|
|
3204
3288
|
}
|
|
3205
|
-
function
|
|
3289
|
+
function Qt(o, s, e) {
|
|
3206
3290
|
return new D({ right: { width: o, color: s, style: e } });
|
|
3207
3291
|
}
|
|
3208
|
-
function
|
|
3292
|
+
function ei(o, s, e) {
|
|
3209
3293
|
return new D({ bottom: { width: o, color: s, style: e } });
|
|
3210
3294
|
}
|
|
3211
|
-
function
|
|
3295
|
+
function ti(o, s, e) {
|
|
3212
3296
|
return new D({ left: { width: o, color: s, style: e } });
|
|
3213
3297
|
}
|
|
3214
|
-
function
|
|
3298
|
+
function cr(o, s, e) {
|
|
3215
3299
|
return new D({ leading: { width: o, color: s, style: e } });
|
|
3216
3300
|
}
|
|
3217
|
-
function
|
|
3301
|
+
function fr(o, s, e) {
|
|
3218
3302
|
return new D({ trailing: { width: o, color: s, style: e } });
|
|
3219
3303
|
}
|
|
3220
|
-
function
|
|
3304
|
+
function dr(o, s, e) {
|
|
3221
3305
|
return new D({ horizontal: { width: o, color: s, style: e } });
|
|
3222
3306
|
}
|
|
3223
|
-
function
|
|
3307
|
+
function ur(o, s, e) {
|
|
3224
3308
|
return new D({ vertical: { width: o, color: s, style: e } });
|
|
3225
3309
|
}
|
|
3226
|
-
function
|
|
3227
|
-
return new
|
|
3310
|
+
function pr(o) {
|
|
3311
|
+
return new Zt({ radius: o });
|
|
3228
3312
|
}
|
|
3229
|
-
class Te extends
|
|
3313
|
+
class Te extends g {
|
|
3230
3314
|
constructor() {
|
|
3231
3315
|
super(...arguments);
|
|
3232
3316
|
f(this, "type", "foreground");
|
|
@@ -3254,21 +3338,21 @@ class Te extends b {
|
|
|
3254
3338
|
* This mirrors the core AppearanceModifier pattern
|
|
3255
3339
|
*/
|
|
3256
3340
|
applyColorAssetWithThemeReactivity(e, t, i) {
|
|
3257
|
-
const n =
|
|
3258
|
-
|
|
3341
|
+
const n = N();
|
|
3342
|
+
b(() => {
|
|
3259
3343
|
n();
|
|
3260
3344
|
const r = i.resolve();
|
|
3261
3345
|
this.applyStyleChange(e, t, r);
|
|
3262
3346
|
});
|
|
3263
3347
|
}
|
|
3264
3348
|
}
|
|
3265
|
-
function
|
|
3349
|
+
function ii(o) {
|
|
3266
3350
|
return new Te({ color: o });
|
|
3267
3351
|
}
|
|
3268
|
-
function
|
|
3352
|
+
function mr(o) {
|
|
3269
3353
|
return new Te({ color: o });
|
|
3270
3354
|
}
|
|
3271
|
-
class
|
|
3355
|
+
class ni extends g {
|
|
3272
3356
|
constructor() {
|
|
3273
3357
|
super(...arguments);
|
|
3274
3358
|
f(this, "type", "clip-shape");
|
|
@@ -3300,10 +3384,10 @@ class Zt extends b {
|
|
|
3300
3384
|
}
|
|
3301
3385
|
}
|
|
3302
3386
|
}
|
|
3303
|
-
function
|
|
3304
|
-
return new
|
|
3387
|
+
function oi(o, s) {
|
|
3388
|
+
return new ni({ shape: o, parameters: s || {} });
|
|
3305
3389
|
}
|
|
3306
|
-
class
|
|
3390
|
+
class ri extends g {
|
|
3307
3391
|
constructor() {
|
|
3308
3392
|
super(...arguments);
|
|
3309
3393
|
f(this, "type", "clipped");
|
|
@@ -3315,33 +3399,33 @@ class Jt extends b {
|
|
|
3315
3399
|
i.style && (this.properties.clipped ? i.style.overflow = "hidden" : i.style.overflow = "");
|
|
3316
3400
|
}
|
|
3317
3401
|
}
|
|
3318
|
-
function
|
|
3319
|
-
return new
|
|
3402
|
+
function si(o = !0) {
|
|
3403
|
+
return new ri({ clipped: o });
|
|
3320
3404
|
}
|
|
3321
|
-
function
|
|
3405
|
+
function ai(o) {
|
|
3322
3406
|
return new O({ opacity: o });
|
|
3323
3407
|
}
|
|
3324
|
-
function
|
|
3408
|
+
function li(o) {
|
|
3325
3409
|
return new O({ cornerRadius: o });
|
|
3326
3410
|
}
|
|
3327
|
-
function
|
|
3411
|
+
function ci(o) {
|
|
3328
3412
|
return new O({ font: { family: o } });
|
|
3329
3413
|
}
|
|
3330
|
-
function
|
|
3414
|
+
function fi(o) {
|
|
3331
3415
|
return new O({ font: { size: o } });
|
|
3332
3416
|
}
|
|
3333
|
-
function
|
|
3417
|
+
function di(o) {
|
|
3334
3418
|
return new O({ font: { weight: o } });
|
|
3335
3419
|
}
|
|
3336
|
-
function
|
|
3420
|
+
function ui(o) {
|
|
3337
3421
|
return new O({ font: { style: o } });
|
|
3338
3422
|
}
|
|
3339
|
-
function
|
|
3423
|
+
function pi(o) {
|
|
3340
3424
|
return new O({ font: o });
|
|
3341
3425
|
}
|
|
3342
|
-
const
|
|
3426
|
+
const mi = "typography", be = Symbol.for("tachui.typography.instanceId");
|
|
3343
3427
|
let Se = 0;
|
|
3344
|
-
function
|
|
3428
|
+
function hi(o) {
|
|
3345
3429
|
const s = o[be];
|
|
3346
3430
|
if (typeof s == "number") return s;
|
|
3347
3431
|
Se += 1;
|
|
@@ -3353,7 +3437,7 @@ function li(o) {
|
|
|
3353
3437
|
writable: !1
|
|
3354
3438
|
}), e;
|
|
3355
3439
|
}
|
|
3356
|
-
class k extends
|
|
3440
|
+
class k extends g {
|
|
3357
3441
|
constructor() {
|
|
3358
3442
|
super(...arguments);
|
|
3359
3443
|
f(this, "type", "typography");
|
|
@@ -3384,16 +3468,16 @@ class k extends b {
|
|
|
3384
3468
|
}
|
|
3385
3469
|
const c = t.replace(
|
|
3386
3470
|
/-([a-z])/g,
|
|
3387
|
-
(
|
|
3471
|
+
(u, d) => d.toUpperCase()
|
|
3388
3472
|
);
|
|
3389
3473
|
n[c] = l;
|
|
3390
3474
|
};
|
|
3391
3475
|
if (p(i) || m(i)) {
|
|
3392
|
-
const a = i, l =
|
|
3476
|
+
const a = i, l = hi(this);
|
|
3393
3477
|
we({
|
|
3394
3478
|
element: e,
|
|
3395
3479
|
accessor: a,
|
|
3396
|
-
updaterId: `${
|
|
3480
|
+
updaterId: `${mi}:${l}:${t}`,
|
|
3397
3481
|
updater: (c) => {
|
|
3398
3482
|
r(c);
|
|
3399
3483
|
}
|
|
@@ -3419,57 +3503,57 @@ class k extends b {
|
|
|
3419
3503
|
return e === "leading" ? "start" : e === "trailing" ? "end" : e;
|
|
3420
3504
|
}
|
|
3421
3505
|
}
|
|
3422
|
-
function
|
|
3506
|
+
function yi(o) {
|
|
3423
3507
|
return new k(o);
|
|
3424
3508
|
}
|
|
3425
|
-
function
|
|
3509
|
+
function gi(o) {
|
|
3426
3510
|
return new k({ align: o });
|
|
3427
3511
|
}
|
|
3428
3512
|
function Le(o) {
|
|
3429
3513
|
return new k({ transform: o });
|
|
3430
3514
|
}
|
|
3431
|
-
function
|
|
3515
|
+
function vi(o) {
|
|
3432
3516
|
return new k({ decoration: o });
|
|
3433
3517
|
}
|
|
3434
|
-
function
|
|
3518
|
+
function hr(o) {
|
|
3435
3519
|
return new k({ size: o });
|
|
3436
3520
|
}
|
|
3437
|
-
function
|
|
3521
|
+
function yr(o) {
|
|
3438
3522
|
return new k({ weight: o });
|
|
3439
3523
|
}
|
|
3440
|
-
function
|
|
3524
|
+
function bi(o) {
|
|
3441
3525
|
return new k({ lineHeight: o });
|
|
3442
3526
|
}
|
|
3443
|
-
function
|
|
3527
|
+
function Si(o) {
|
|
3444
3528
|
return new k({ letterSpacing: o });
|
|
3445
3529
|
}
|
|
3446
|
-
function
|
|
3530
|
+
function gr(o) {
|
|
3447
3531
|
return new k({ wordSpacing: o });
|
|
3448
3532
|
}
|
|
3449
|
-
function
|
|
3533
|
+
function wi(o) {
|
|
3450
3534
|
return new k({ textOverflow: o });
|
|
3451
3535
|
}
|
|
3452
|
-
function
|
|
3536
|
+
function Ci(o) {
|
|
3453
3537
|
return new k({ whiteSpace: o });
|
|
3454
3538
|
}
|
|
3455
|
-
function
|
|
3539
|
+
function Ei(o) {
|
|
3456
3540
|
return new k({ overflow: o });
|
|
3457
3541
|
}
|
|
3458
|
-
function
|
|
3542
|
+
function Mi(o) {
|
|
3459
3543
|
return Le(o);
|
|
3460
3544
|
}
|
|
3461
|
-
function
|
|
3545
|
+
function vr(o) {
|
|
3462
3546
|
return new k({ family: o });
|
|
3463
3547
|
}
|
|
3464
|
-
function
|
|
3465
|
-
return typeof o == "string" ?
|
|
3548
|
+
function xi(o) {
|
|
3549
|
+
return typeof o == "string" ? Ti(o) : new k({
|
|
3466
3550
|
family: o.family,
|
|
3467
3551
|
size: o.size,
|
|
3468
3552
|
weight: o.weight,
|
|
3469
3553
|
style: o.style
|
|
3470
3554
|
});
|
|
3471
3555
|
}
|
|
3472
|
-
function
|
|
3556
|
+
function Ti(o) {
|
|
3473
3557
|
const s = {
|
|
3474
3558
|
".largeTitle": { size: 34, weight: 400 },
|
|
3475
3559
|
".title": { size: 28, weight: 400 },
|
|
@@ -3485,7 +3569,7 @@ function bi(o) {
|
|
|
3485
3569
|
}, e = s[o];
|
|
3486
3570
|
return e ? new k(e) : new k(s[".body"]);
|
|
3487
3571
|
}
|
|
3488
|
-
function
|
|
3572
|
+
function br(o) {
|
|
3489
3573
|
let s;
|
|
3490
3574
|
switch (o.design) {
|
|
3491
3575
|
case "serif":
|
|
@@ -3506,7 +3590,7 @@ function ur(o) {
|
|
|
3506
3590
|
weight: o.weight
|
|
3507
3591
|
});
|
|
3508
3592
|
}
|
|
3509
|
-
function
|
|
3593
|
+
function Sr(o, s) {
|
|
3510
3594
|
return new k({
|
|
3511
3595
|
family: o,
|
|
3512
3596
|
size: s?.size,
|
|
@@ -3514,7 +3598,7 @@ function pr(o, s) {
|
|
|
3514
3598
|
style: s?.style
|
|
3515
3599
|
});
|
|
3516
3600
|
}
|
|
3517
|
-
class
|
|
3601
|
+
class Li extends g {
|
|
3518
3602
|
constructor() {
|
|
3519
3603
|
super(...arguments);
|
|
3520
3604
|
f(this, "type", "lineClamp");
|
|
@@ -3543,10 +3627,10 @@ class Si extends b {
|
|
|
3543
3627
|
);
|
|
3544
3628
|
}
|
|
3545
3629
|
}
|
|
3546
|
-
function
|
|
3547
|
-
return new
|
|
3630
|
+
function Ai(o) {
|
|
3631
|
+
return new Li({ lines: o });
|
|
3548
3632
|
}
|
|
3549
|
-
class
|
|
3633
|
+
class ki extends g {
|
|
3550
3634
|
constructor() {
|
|
3551
3635
|
super(...arguments);
|
|
3552
3636
|
f(this, "type", "wordBreak");
|
|
@@ -3571,10 +3655,10 @@ class Ci extends b {
|
|
|
3571
3655
|
);
|
|
3572
3656
|
}
|
|
3573
3657
|
}
|
|
3574
|
-
function
|
|
3575
|
-
return new
|
|
3658
|
+
function Pi(o) {
|
|
3659
|
+
return new ki({ wordBreak: o });
|
|
3576
3660
|
}
|
|
3577
|
-
class
|
|
3661
|
+
class Ii extends g {
|
|
3578
3662
|
constructor() {
|
|
3579
3663
|
super(...arguments);
|
|
3580
3664
|
f(this, "type", "overflowWrap");
|
|
@@ -3596,10 +3680,10 @@ class xi extends b {
|
|
|
3596
3680
|
);
|
|
3597
3681
|
}
|
|
3598
3682
|
}
|
|
3599
|
-
function
|
|
3600
|
-
return new
|
|
3683
|
+
function $i(o) {
|
|
3684
|
+
return new Ii({ overflowWrap: o });
|
|
3601
3685
|
}
|
|
3602
|
-
class
|
|
3686
|
+
class Vi extends g {
|
|
3603
3687
|
constructor() {
|
|
3604
3688
|
super(...arguments);
|
|
3605
3689
|
f(this, "type", "hyphens");
|
|
@@ -3624,10 +3708,10 @@ class Ti extends b {
|
|
|
3624
3708
|
);
|
|
3625
3709
|
}
|
|
3626
3710
|
}
|
|
3627
|
-
function
|
|
3628
|
-
return new
|
|
3711
|
+
function Ri(o) {
|
|
3712
|
+
return new Vi({ hyphens: o });
|
|
3629
3713
|
}
|
|
3630
|
-
class H extends
|
|
3714
|
+
class H extends g {
|
|
3631
3715
|
constructor(e) {
|
|
3632
3716
|
const t = {};
|
|
3633
3717
|
for (const [i, n] of Object.entries(e))
|
|
@@ -3669,35 +3753,35 @@ class H extends b {
|
|
|
3669
3753
|
return typeof e == "number" ? `${e}px` : e;
|
|
3670
3754
|
}
|
|
3671
3755
|
}
|
|
3672
|
-
function
|
|
3756
|
+
function Di(o) {
|
|
3673
3757
|
return new H({ scroll: o });
|
|
3674
3758
|
}
|
|
3675
|
-
function
|
|
3759
|
+
function Oi(o) {
|
|
3676
3760
|
return new H({ scrollBehavior: o });
|
|
3677
3761
|
}
|
|
3678
|
-
function
|
|
3762
|
+
function Hi(o) {
|
|
3679
3763
|
return new H({ overscrollBehavior: o });
|
|
3680
3764
|
}
|
|
3681
|
-
function
|
|
3765
|
+
function _i(o) {
|
|
3682
3766
|
return new H({ overscrollBehaviorX: o });
|
|
3683
3767
|
}
|
|
3684
|
-
function
|
|
3768
|
+
function Bi(o) {
|
|
3685
3769
|
return new H({ overscrollBehaviorY: o });
|
|
3686
3770
|
}
|
|
3687
|
-
function
|
|
3771
|
+
function Ni(o) {
|
|
3688
3772
|
return new H({ scroll: { margin: o } });
|
|
3689
3773
|
}
|
|
3690
|
-
function
|
|
3774
|
+
function zi(o) {
|
|
3691
3775
|
return new H({ scroll: { padding: o } });
|
|
3692
3776
|
}
|
|
3693
|
-
function
|
|
3777
|
+
function Fi(o, s, e) {
|
|
3694
3778
|
return new H({
|
|
3695
3779
|
scroll: {
|
|
3696
3780
|
snap: { type: o, align: s, stop: e }
|
|
3697
3781
|
}
|
|
3698
3782
|
});
|
|
3699
3783
|
}
|
|
3700
|
-
class
|
|
3784
|
+
class Wi extends w {
|
|
3701
3785
|
constructor() {
|
|
3702
3786
|
super(...arguments);
|
|
3703
3787
|
f(this, "type", "onHover");
|
|
@@ -3719,10 +3803,10 @@ class Oi extends w {
|
|
|
3719
3803
|
e._hoverCleanup = r;
|
|
3720
3804
|
}
|
|
3721
3805
|
}
|
|
3722
|
-
function
|
|
3723
|
-
return new
|
|
3806
|
+
function ji(o) {
|
|
3807
|
+
return new Wi({ onHover: o });
|
|
3724
3808
|
}
|
|
3725
|
-
class
|
|
3809
|
+
class Ui extends w {
|
|
3726
3810
|
constructor() {
|
|
3727
3811
|
super(...arguments);
|
|
3728
3812
|
f(this, "type", "onMouseEnter");
|
|
@@ -3738,7 +3822,7 @@ class _i extends w {
|
|
|
3738
3822
|
};
|
|
3739
3823
|
}
|
|
3740
3824
|
}
|
|
3741
|
-
class
|
|
3825
|
+
class Gi extends w {
|
|
3742
3826
|
constructor() {
|
|
3743
3827
|
super(...arguments);
|
|
3744
3828
|
f(this, "type", "onMouseLeave");
|
|
@@ -3754,7 +3838,7 @@ class Bi extends w {
|
|
|
3754
3838
|
};
|
|
3755
3839
|
}
|
|
3756
3840
|
}
|
|
3757
|
-
class
|
|
3841
|
+
class Ki extends w {
|
|
3758
3842
|
constructor() {
|
|
3759
3843
|
super(...arguments);
|
|
3760
3844
|
f(this, "type", "onMouseDown");
|
|
@@ -3770,7 +3854,7 @@ class Ni extends w {
|
|
|
3770
3854
|
};
|
|
3771
3855
|
}
|
|
3772
3856
|
}
|
|
3773
|
-
class
|
|
3857
|
+
class Yi extends w {
|
|
3774
3858
|
constructor() {
|
|
3775
3859
|
super(...arguments);
|
|
3776
3860
|
f(this, "type", "onMouseUp");
|
|
@@ -3786,7 +3870,7 @@ class zi extends w {
|
|
|
3786
3870
|
};
|
|
3787
3871
|
}
|
|
3788
3872
|
}
|
|
3789
|
-
class
|
|
3873
|
+
class Xi extends w {
|
|
3790
3874
|
constructor() {
|
|
3791
3875
|
super(...arguments);
|
|
3792
3876
|
f(this, "type", "onDoubleClick");
|
|
@@ -3802,7 +3886,7 @@ class Fi extends w {
|
|
|
3802
3886
|
};
|
|
3803
3887
|
}
|
|
3804
3888
|
}
|
|
3805
|
-
class
|
|
3889
|
+
class Zi extends w {
|
|
3806
3890
|
constructor() {
|
|
3807
3891
|
super(...arguments);
|
|
3808
3892
|
f(this, "type", "onContextMenu");
|
|
@@ -3818,25 +3902,25 @@ class Wi extends w {
|
|
|
3818
3902
|
};
|
|
3819
3903
|
}
|
|
3820
3904
|
}
|
|
3821
|
-
function
|
|
3822
|
-
return new
|
|
3905
|
+
function qi(o) {
|
|
3906
|
+
return new Ui({ onMouseEnter: o });
|
|
3823
3907
|
}
|
|
3824
|
-
function
|
|
3825
|
-
return new
|
|
3908
|
+
function Ji(o) {
|
|
3909
|
+
return new Gi({ onMouseLeave: o });
|
|
3826
3910
|
}
|
|
3827
|
-
function
|
|
3828
|
-
return new
|
|
3911
|
+
function Qi(o) {
|
|
3912
|
+
return new Ki({ onMouseDown: o });
|
|
3829
3913
|
}
|
|
3830
|
-
function
|
|
3831
|
-
return new
|
|
3914
|
+
function en(o) {
|
|
3915
|
+
return new Yi({ onMouseUp: o });
|
|
3832
3916
|
}
|
|
3833
|
-
function
|
|
3834
|
-
return new
|
|
3917
|
+
function tn(o) {
|
|
3918
|
+
return new Xi({ onDoubleClick: o });
|
|
3835
3919
|
}
|
|
3836
|
-
function
|
|
3837
|
-
return new
|
|
3920
|
+
function nn(o) {
|
|
3921
|
+
return new Zi({ onContextMenu: o });
|
|
3838
3922
|
}
|
|
3839
|
-
class
|
|
3923
|
+
class on extends w {
|
|
3840
3924
|
constructor() {
|
|
3841
3925
|
super(...arguments);
|
|
3842
3926
|
f(this, "type", "onKeyDown");
|
|
@@ -3852,7 +3936,7 @@ class Zi extends w {
|
|
|
3852
3936
|
};
|
|
3853
3937
|
}
|
|
3854
3938
|
}
|
|
3855
|
-
class
|
|
3939
|
+
class rn extends w {
|
|
3856
3940
|
constructor() {
|
|
3857
3941
|
super(...arguments);
|
|
3858
3942
|
f(this, "type", "onKeyUp");
|
|
@@ -3868,7 +3952,7 @@ class qi extends w {
|
|
|
3868
3952
|
};
|
|
3869
3953
|
}
|
|
3870
3954
|
}
|
|
3871
|
-
class
|
|
3955
|
+
class sn extends w {
|
|
3872
3956
|
constructor() {
|
|
3873
3957
|
super(...arguments);
|
|
3874
3958
|
f(this, "type", "onKeyPress");
|
|
@@ -3884,16 +3968,16 @@ class Ji extends w {
|
|
|
3884
3968
|
};
|
|
3885
3969
|
}
|
|
3886
3970
|
}
|
|
3887
|
-
function
|
|
3888
|
-
return new
|
|
3971
|
+
function an(o) {
|
|
3972
|
+
return new on({ onKeyDown: o });
|
|
3889
3973
|
}
|
|
3890
|
-
function
|
|
3891
|
-
return new
|
|
3974
|
+
function ln(o) {
|
|
3975
|
+
return new rn({ onKeyUp: o });
|
|
3892
3976
|
}
|
|
3893
|
-
function
|
|
3894
|
-
return new
|
|
3977
|
+
function cn(o) {
|
|
3978
|
+
return new sn({ onKeyPress: o });
|
|
3895
3979
|
}
|
|
3896
|
-
class
|
|
3980
|
+
class fn extends w {
|
|
3897
3981
|
constructor() {
|
|
3898
3982
|
super(...arguments);
|
|
3899
3983
|
f(this, "type", "onFocus");
|
|
@@ -3911,7 +3995,7 @@ class nn extends w {
|
|
|
3911
3995
|
};
|
|
3912
3996
|
}
|
|
3913
3997
|
}
|
|
3914
|
-
class
|
|
3998
|
+
class dn extends w {
|
|
3915
3999
|
constructor() {
|
|
3916
4000
|
super(...arguments);
|
|
3917
4001
|
f(this, "type", "onBlur");
|
|
@@ -3929,13 +4013,13 @@ class on extends w {
|
|
|
3929
4013
|
};
|
|
3930
4014
|
}
|
|
3931
4015
|
}
|
|
3932
|
-
function
|
|
3933
|
-
return new
|
|
4016
|
+
function un(o) {
|
|
4017
|
+
return new fn({ onFocus: o });
|
|
3934
4018
|
}
|
|
3935
|
-
function
|
|
3936
|
-
return new
|
|
4019
|
+
function pn(o) {
|
|
4020
|
+
return new dn({ onBlur: o });
|
|
3937
4021
|
}
|
|
3938
|
-
class
|
|
4022
|
+
class mn extends w {
|
|
3939
4023
|
constructor() {
|
|
3940
4024
|
super(...arguments);
|
|
3941
4025
|
f(this, "type", "onLongPressGesture");
|
|
@@ -3947,88 +4031,88 @@ class an extends w {
|
|
|
3947
4031
|
setupLongPressGesture(e, t) {
|
|
3948
4032
|
const i = t.minimumDuration ?? 500, n = t.maximumDistance ?? 10;
|
|
3949
4033
|
let r = null, a = null, l = !1, c = !1;
|
|
3950
|
-
const
|
|
4034
|
+
const u = (T, E) => {
|
|
3951
4035
|
l || (r = { x: T, y: E }, l = !0, c = !1, t.onPressingChanged?.(!0), a = window.setTimeout(() => {
|
|
3952
4036
|
l && !c && (c = !0, t.perform());
|
|
3953
4037
|
}, i));
|
|
3954
|
-
},
|
|
4038
|
+
}, d = (T, E) => r ? Math.sqrt(
|
|
3955
4039
|
Math.pow(T - r.x, 2) + Math.pow(E - r.y, 2)
|
|
3956
|
-
) <= n : !1,
|
|
4040
|
+
) <= n : !1, h = () => {
|
|
3957
4041
|
a && (clearTimeout(a), a = null), l && (l = !1, t.onPressingChanged?.(!1)), r = null, c = !1;
|
|
3958
|
-
},
|
|
4042
|
+
}, y = (T) => {
|
|
3959
4043
|
const E = T;
|
|
3960
|
-
T.preventDefault(),
|
|
3961
|
-
},
|
|
4044
|
+
T.preventDefault(), u(E.clientX, E.clientY);
|
|
4045
|
+
}, v = (T) => {
|
|
3962
4046
|
if (!l) return;
|
|
3963
4047
|
const E = T;
|
|
3964
|
-
|
|
4048
|
+
d(E.clientX, E.clientY) || h();
|
|
3965
4049
|
}, S = () => {
|
|
3966
|
-
|
|
3967
|
-
},
|
|
3968
|
-
|
|
3969
|
-
},
|
|
4050
|
+
h();
|
|
4051
|
+
}, _ = () => {
|
|
4052
|
+
h();
|
|
4053
|
+
}, W = (T) => {
|
|
3970
4054
|
const E = T;
|
|
3971
4055
|
if (E.touches.length === 1) {
|
|
3972
|
-
const
|
|
3973
|
-
T.preventDefault(),
|
|
4056
|
+
const j = E.touches[0];
|
|
4057
|
+
T.preventDefault(), u(j.clientX, j.clientY);
|
|
3974
4058
|
}
|
|
3975
4059
|
}, ce = (T) => {
|
|
3976
4060
|
if (!l) return;
|
|
3977
4061
|
const E = T;
|
|
3978
4062
|
if (E.touches.length === 1) {
|
|
3979
|
-
const
|
|
3980
|
-
|
|
4063
|
+
const j = E.touches[0];
|
|
4064
|
+
d(j.clientX, j.clientY) || h();
|
|
3981
4065
|
} else
|
|
3982
|
-
|
|
4066
|
+
h();
|
|
3983
4067
|
}, fe = () => {
|
|
3984
|
-
|
|
4068
|
+
h();
|
|
3985
4069
|
}, de = () => {
|
|
3986
|
-
|
|
4070
|
+
h();
|
|
3987
4071
|
}, ue = (T) => {
|
|
3988
4072
|
const E = T;
|
|
3989
|
-
E.button === 0 && (T.preventDefault(),
|
|
4073
|
+
E.button === 0 && (T.preventDefault(), u(E.clientX, E.clientY));
|
|
3990
4074
|
}, pe = (T) => {
|
|
3991
4075
|
if (!l) return;
|
|
3992
4076
|
const E = T;
|
|
3993
|
-
|
|
4077
|
+
d(E.clientX, E.clientY) || h();
|
|
3994
4078
|
}, me = () => {
|
|
3995
|
-
|
|
4079
|
+
h();
|
|
3996
4080
|
}, he = () => {
|
|
3997
|
-
|
|
4081
|
+
h();
|
|
3998
4082
|
};
|
|
3999
4083
|
"onpointerdown" in e ? (e.addEventListener(
|
|
4000
4084
|
"pointerdown",
|
|
4001
|
-
|
|
4085
|
+
y
|
|
4002
4086
|
), e.addEventListener(
|
|
4003
4087
|
"pointermove",
|
|
4004
|
-
|
|
4088
|
+
v
|
|
4005
4089
|
), e.addEventListener("pointerup", S), e.addEventListener(
|
|
4006
4090
|
"pointercancel",
|
|
4007
|
-
|
|
4091
|
+
_
|
|
4008
4092
|
)) : "ontouchstart" in e ? (e.addEventListener(
|
|
4009
4093
|
"touchstart",
|
|
4010
|
-
|
|
4094
|
+
W,
|
|
4011
4095
|
{ passive: !1 }
|
|
4012
4096
|
), e.addEventListener("touchmove", ce), e.addEventListener("touchend", fe), e.addEventListener(
|
|
4013
4097
|
"touchcancel",
|
|
4014
4098
|
de
|
|
4015
4099
|
)) : (e.addEventListener("mousedown", ue), e.addEventListener("mousemove", pe), e.addEventListener("mouseup", me), e.addEventListener("mouseleave", he));
|
|
4016
4100
|
const Pe = () => {
|
|
4017
|
-
|
|
4101
|
+
h(), "onpointerdown" in e ? (e.removeEventListener(
|
|
4018
4102
|
"pointerdown",
|
|
4019
|
-
|
|
4103
|
+
y
|
|
4020
4104
|
), e.removeEventListener(
|
|
4021
4105
|
"pointermove",
|
|
4022
|
-
|
|
4106
|
+
v
|
|
4023
4107
|
), e.removeEventListener(
|
|
4024
4108
|
"pointerup",
|
|
4025
4109
|
S
|
|
4026
4110
|
), e.removeEventListener(
|
|
4027
4111
|
"pointercancel",
|
|
4028
|
-
|
|
4112
|
+
_
|
|
4029
4113
|
)) : "ontouchstart" in e ? (e.removeEventListener(
|
|
4030
4114
|
"touchstart",
|
|
4031
|
-
|
|
4115
|
+
W
|
|
4032
4116
|
), e.removeEventListener(
|
|
4033
4117
|
"touchmove",
|
|
4034
4118
|
ce
|
|
@@ -4049,10 +4133,10 @@ class an extends w {
|
|
|
4049
4133
|
e._longPressCleanup = Pe;
|
|
4050
4134
|
}
|
|
4051
4135
|
}
|
|
4052
|
-
function
|
|
4053
|
-
return new
|
|
4136
|
+
function hn(o) {
|
|
4137
|
+
return new mn(o);
|
|
4054
4138
|
}
|
|
4055
|
-
class
|
|
4139
|
+
class yn extends w {
|
|
4056
4140
|
constructor(e) {
|
|
4057
4141
|
const t = {
|
|
4058
4142
|
...e,
|
|
@@ -4070,18 +4154,18 @@ class cn extends w {
|
|
|
4070
4154
|
const c = l;
|
|
4071
4155
|
if (c.key.toLowerCase() !== t.key.toLowerCase())
|
|
4072
4156
|
return;
|
|
4073
|
-
const
|
|
4074
|
-
(c.ctrlKey || c.metaKey) && (navigator.platform.includes("Mac") ? (c.metaKey && (
|
|
4075
|
-
const
|
|
4076
|
-
(S) =>
|
|
4077
|
-
),
|
|
4078
|
-
|
|
4079
|
-
const
|
|
4080
|
-
(S) => !
|
|
4157
|
+
const u = new Set(i), d = /* @__PURE__ */ new Set();
|
|
4158
|
+
(c.ctrlKey || c.metaKey) && (navigator.platform.includes("Mac") ? (c.metaKey && (d.add("cmd"), d.add("meta")), c.ctrlKey && d.add("ctrl")) : (c.ctrlKey && (d.add("ctrl"), d.add("cmd")), c.metaKey && d.add("meta"))), c.shiftKey && d.add("shift"), c.altKey && d.add("alt");
|
|
4159
|
+
const h = Array.from(u).every(
|
|
4160
|
+
(S) => d.has(S)
|
|
4161
|
+
), y = /* @__PURE__ */ new Set([...u]);
|
|
4162
|
+
u.has("cmd") && (y.add("meta"), y.add("ctrl")), u.has("meta") && y.add("cmd"), u.has("ctrl") && y.add("cmd");
|
|
4163
|
+
const v = Array.from(d).some(
|
|
4164
|
+
(S) => !y.has(
|
|
4081
4165
|
S
|
|
4082
4166
|
)
|
|
4083
4167
|
);
|
|
4084
|
-
|
|
4168
|
+
h && !v && (l.preventDefault(), l.stopPropagation(), t.action());
|
|
4085
4169
|
}, r = e instanceof HTMLElement && e.tabIndex >= 0 ? e : document;
|
|
4086
4170
|
r.addEventListener("keydown", n);
|
|
4087
4171
|
const a = () => {
|
|
@@ -4094,12 +4178,12 @@ class cn extends w {
|
|
|
4094
4178
|
}
|
|
4095
4179
|
}
|
|
4096
4180
|
function Ae(o) {
|
|
4097
|
-
return new
|
|
4181
|
+
return new yn(o);
|
|
4098
4182
|
}
|
|
4099
|
-
function
|
|
4183
|
+
function wr(o, s, e) {
|
|
4100
4184
|
return Ae({ key: o, modifiers: s, action: e });
|
|
4101
4185
|
}
|
|
4102
|
-
class
|
|
4186
|
+
class gn extends w {
|
|
4103
4187
|
constructor() {
|
|
4104
4188
|
super(...arguments);
|
|
4105
4189
|
f(this, "type", "focused");
|
|
@@ -4125,15 +4209,15 @@ class fn extends w {
|
|
|
4125
4209
|
r(c);
|
|
4126
4210
|
});
|
|
4127
4211
|
else if (process.env.NODE_ENV !== "test") {
|
|
4128
|
-
let c = l(),
|
|
4129
|
-
const
|
|
4130
|
-
if (!
|
|
4131
|
-
const
|
|
4132
|
-
|
|
4212
|
+
let c = l(), u = !0;
|
|
4213
|
+
const d = () => {
|
|
4214
|
+
if (!u) return;
|
|
4215
|
+
const h = l();
|
|
4216
|
+
h !== c && (c = h, r(h)), u && requestAnimationFrame(d);
|
|
4133
4217
|
};
|
|
4134
4218
|
n = () => {
|
|
4135
|
-
|
|
4136
|
-
}, requestAnimationFrame(
|
|
4219
|
+
u = !1;
|
|
4220
|
+
}, requestAnimationFrame(d);
|
|
4137
4221
|
} else
|
|
4138
4222
|
n = () => {
|
|
4139
4223
|
};
|
|
@@ -4145,10 +4229,10 @@ class fn extends w {
|
|
|
4145
4229
|
e._focusedCleanup = a;
|
|
4146
4230
|
}
|
|
4147
4231
|
}
|
|
4148
|
-
function
|
|
4149
|
-
return new
|
|
4232
|
+
function vn(o) {
|
|
4233
|
+
return new gn({ focused: o });
|
|
4150
4234
|
}
|
|
4151
|
-
class
|
|
4235
|
+
class bn extends w {
|
|
4152
4236
|
constructor(e = {}) {
|
|
4153
4237
|
const t = {
|
|
4154
4238
|
...e,
|
|
@@ -4174,8 +4258,8 @@ class un extends w {
|
|
|
4174
4258
|
"aria-label",
|
|
4175
4259
|
i.getAttribute("aria-label") || "Activatable element"
|
|
4176
4260
|
)), r.includes("activate")) {
|
|
4177
|
-
const l = (
|
|
4178
|
-
(
|
|
4261
|
+
const l = (u) => {
|
|
4262
|
+
(u.key === " " || u.key === "Enter") && (u.preventDefault(), i.click());
|
|
4179
4263
|
};
|
|
4180
4264
|
i.addEventListener("keydown", l);
|
|
4181
4265
|
const c = i._focusableCleanup || (() => {
|
|
@@ -4193,19 +4277,19 @@ class un extends w {
|
|
|
4193
4277
|
}
|
|
4194
4278
|
}
|
|
4195
4279
|
}
|
|
4196
|
-
function
|
|
4197
|
-
return new
|
|
4280
|
+
function se(o, s) {
|
|
4281
|
+
return new bn({
|
|
4198
4282
|
isFocusable: o ?? !0,
|
|
4199
4283
|
interactions: s ?? []
|
|
4200
4284
|
});
|
|
4201
4285
|
}
|
|
4202
|
-
function
|
|
4203
|
-
return
|
|
4286
|
+
function Sn() {
|
|
4287
|
+
return se(!0, ["activate"]);
|
|
4204
4288
|
}
|
|
4205
|
-
function
|
|
4206
|
-
return
|
|
4289
|
+
function wn() {
|
|
4290
|
+
return se(!0, ["edit"]);
|
|
4207
4291
|
}
|
|
4208
|
-
class
|
|
4292
|
+
class Cn extends w {
|
|
4209
4293
|
constructor() {
|
|
4210
4294
|
super(...arguments);
|
|
4211
4295
|
f(this, "type", "onContinuousHover");
|
|
@@ -4217,32 +4301,32 @@ class hn extends w {
|
|
|
4217
4301
|
setupContinuousHover(e, t) {
|
|
4218
4302
|
const i = t.coordinateSpace ?? "local";
|
|
4219
4303
|
let n = !1;
|
|
4220
|
-
const r = (
|
|
4304
|
+
const r = (d) => {
|
|
4221
4305
|
if (i === "global")
|
|
4222
4306
|
return {
|
|
4223
|
-
x:
|
|
4224
|
-
y:
|
|
4307
|
+
x: d.clientX,
|
|
4308
|
+
y: d.clientY
|
|
4225
4309
|
};
|
|
4226
4310
|
{
|
|
4227
|
-
const
|
|
4311
|
+
const h = e.getBoundingClientRect();
|
|
4228
4312
|
return {
|
|
4229
|
-
x:
|
|
4230
|
-
y:
|
|
4313
|
+
x: d.clientX - h.left,
|
|
4314
|
+
y: d.clientY - h.top
|
|
4231
4315
|
};
|
|
4232
4316
|
}
|
|
4233
|
-
}, a = (
|
|
4317
|
+
}, a = (d) => {
|
|
4234
4318
|
n = !0;
|
|
4235
|
-
const
|
|
4236
|
-
t.perform(
|
|
4237
|
-
}, l = (
|
|
4319
|
+
const y = r(d);
|
|
4320
|
+
t.perform(y);
|
|
4321
|
+
}, l = (d) => {
|
|
4238
4322
|
if (!n) return;
|
|
4239
|
-
const
|
|
4240
|
-
t.perform(
|
|
4323
|
+
const y = r(d);
|
|
4324
|
+
t.perform(y);
|
|
4241
4325
|
}, c = () => {
|
|
4242
4326
|
n = !1, t.perform(null);
|
|
4243
4327
|
};
|
|
4244
4328
|
e.addEventListener("mouseenter", a), e.addEventListener("mousemove", l), e.addEventListener("mouseleave", c);
|
|
4245
|
-
const
|
|
4329
|
+
const u = () => {
|
|
4246
4330
|
n && (n = !1, t.perform(null)), e.removeEventListener(
|
|
4247
4331
|
"mouseenter",
|
|
4248
4332
|
a
|
|
@@ -4251,25 +4335,25 @@ class hn extends w {
|
|
|
4251
4335
|
c
|
|
4252
4336
|
);
|
|
4253
4337
|
};
|
|
4254
|
-
e._continuousHoverCleanup =
|
|
4338
|
+
e._continuousHoverCleanup = u;
|
|
4255
4339
|
}
|
|
4256
4340
|
}
|
|
4257
|
-
function
|
|
4258
|
-
return new
|
|
4341
|
+
function ae(o) {
|
|
4342
|
+
return new Cn(o);
|
|
4259
4343
|
}
|
|
4260
|
-
function
|
|
4261
|
-
return
|
|
4344
|
+
function Cr(o) {
|
|
4345
|
+
return ae({
|
|
4262
4346
|
coordinateSpace: "local",
|
|
4263
4347
|
perform: o
|
|
4264
4348
|
});
|
|
4265
4349
|
}
|
|
4266
|
-
function
|
|
4267
|
-
return
|
|
4350
|
+
function Er(o) {
|
|
4351
|
+
return ae({
|
|
4268
4352
|
coordinateSpace: "global",
|
|
4269
4353
|
perform: o
|
|
4270
4354
|
});
|
|
4271
4355
|
}
|
|
4272
|
-
class
|
|
4356
|
+
class En extends w {
|
|
4273
4357
|
constructor() {
|
|
4274
4358
|
super(...arguments);
|
|
4275
4359
|
f(this, "type", "allowsHitTesting");
|
|
@@ -4284,92 +4368,92 @@ class yn extends w {
|
|
|
4284
4368
|
t ? i.style.pointerEvents === "none" && (i.style.pointerEvents = "") : i.style.pointerEvents = "none", e._hitTestingEnabled = t;
|
|
4285
4369
|
}
|
|
4286
4370
|
}
|
|
4287
|
-
function
|
|
4288
|
-
return new
|
|
4371
|
+
function le(o) {
|
|
4372
|
+
return new En({ enabled: o });
|
|
4289
4373
|
}
|
|
4290
|
-
function
|
|
4291
|
-
return
|
|
4374
|
+
function Mr() {
|
|
4375
|
+
return le(!0);
|
|
4292
4376
|
}
|
|
4293
|
-
function
|
|
4294
|
-
return
|
|
4377
|
+
function xr() {
|
|
4378
|
+
return le(!1);
|
|
4295
4379
|
}
|
|
4296
|
-
function
|
|
4380
|
+
function Mn(o, s) {
|
|
4297
4381
|
return new C({
|
|
4298
4382
|
highPriorityGesture: { gesture: o, including: s }
|
|
4299
4383
|
});
|
|
4300
4384
|
}
|
|
4301
|
-
function
|
|
4385
|
+
function xn(o, s) {
|
|
4302
4386
|
return new C({
|
|
4303
4387
|
simultaneousGesture: { gesture: o, including: s }
|
|
4304
4388
|
});
|
|
4305
4389
|
}
|
|
4306
|
-
function
|
|
4390
|
+
function Tn(o) {
|
|
4307
4391
|
return new C({ onTap: o });
|
|
4308
4392
|
}
|
|
4309
|
-
function
|
|
4393
|
+
function Tr(o) {
|
|
4310
4394
|
return new C({ onFocus: o });
|
|
4311
4395
|
}
|
|
4312
|
-
function
|
|
4396
|
+
function Lr(o) {
|
|
4313
4397
|
return new C({ onBlur: o });
|
|
4314
4398
|
}
|
|
4315
|
-
function
|
|
4399
|
+
function Ln(o) {
|
|
4316
4400
|
return new C({ onScroll: o });
|
|
4317
4401
|
}
|
|
4318
|
-
function
|
|
4402
|
+
function Ar(o) {
|
|
4319
4403
|
return new C({ onKeyDown: o });
|
|
4320
4404
|
}
|
|
4321
|
-
function
|
|
4405
|
+
function kr(o) {
|
|
4322
4406
|
return new C({ onKeyPress: o });
|
|
4323
4407
|
}
|
|
4324
|
-
function
|
|
4408
|
+
function Pr(o) {
|
|
4325
4409
|
return new C({ onKeyUp: o });
|
|
4326
4410
|
}
|
|
4327
|
-
function
|
|
4411
|
+
function Ir(o) {
|
|
4328
4412
|
return new C({ onDoubleClick: o });
|
|
4329
4413
|
}
|
|
4330
|
-
function
|
|
4414
|
+
function $r(o) {
|
|
4331
4415
|
return new C({ onContextMenu: o });
|
|
4332
4416
|
}
|
|
4333
|
-
function
|
|
4417
|
+
function An(o) {
|
|
4334
4418
|
return new C({ onWheel: o });
|
|
4335
4419
|
}
|
|
4336
|
-
function
|
|
4420
|
+
function kn(o) {
|
|
4337
4421
|
return new C({ onInput: o });
|
|
4338
4422
|
}
|
|
4339
|
-
function
|
|
4423
|
+
function Pn(o) {
|
|
4340
4424
|
return new C({ onChange: o });
|
|
4341
4425
|
}
|
|
4342
|
-
function
|
|
4426
|
+
function In(o) {
|
|
4343
4427
|
return new C({ onCopy: o });
|
|
4344
4428
|
}
|
|
4345
|
-
function
|
|
4429
|
+
function $n(o) {
|
|
4346
4430
|
return new C({ onCut: o });
|
|
4347
4431
|
}
|
|
4348
|
-
function
|
|
4432
|
+
function Vn(o) {
|
|
4349
4433
|
return new C({ onPaste: o });
|
|
4350
4434
|
}
|
|
4351
|
-
function
|
|
4435
|
+
function Rn(o) {
|
|
4352
4436
|
return new C({ onSelect: o });
|
|
4353
4437
|
}
|
|
4354
|
-
function
|
|
4438
|
+
function Dn(o) {
|
|
4355
4439
|
return new C({ onTouchStart: o });
|
|
4356
4440
|
}
|
|
4357
|
-
function
|
|
4441
|
+
function On(o) {
|
|
4358
4442
|
return new C({ onTouchMove: o });
|
|
4359
4443
|
}
|
|
4360
|
-
function
|
|
4444
|
+
function Hn(o) {
|
|
4361
4445
|
return new C({ onTouchEnd: o });
|
|
4362
4446
|
}
|
|
4363
|
-
function
|
|
4447
|
+
function _n(o) {
|
|
4364
4448
|
return new C({ onSwipeLeft: o });
|
|
4365
4449
|
}
|
|
4366
|
-
function
|
|
4450
|
+
function Bn(o) {
|
|
4367
4451
|
return new C({ onSwipeRight: o });
|
|
4368
4452
|
}
|
|
4369
|
-
function
|
|
4453
|
+
function Nn(o = !0) {
|
|
4370
4454
|
return new C({ disabled: o });
|
|
4371
4455
|
}
|
|
4372
|
-
class
|
|
4456
|
+
class F extends g {
|
|
4373
4457
|
// Lower priority for utility properties
|
|
4374
4458
|
constructor(e) {
|
|
4375
4459
|
const t = {};
|
|
@@ -4410,28 +4494,28 @@ class N extends b {
|
|
|
4410
4494
|
);
|
|
4411
4495
|
}
|
|
4412
4496
|
}
|
|
4413
|
-
function
|
|
4414
|
-
return new
|
|
4497
|
+
function zn(o) {
|
|
4498
|
+
return new F(o);
|
|
4415
4499
|
}
|
|
4416
|
-
function
|
|
4417
|
-
return new
|
|
4500
|
+
function Fn(o) {
|
|
4501
|
+
return new F({ cursor: o });
|
|
4418
4502
|
}
|
|
4419
|
-
function
|
|
4420
|
-
return new
|
|
4503
|
+
function Wn(o) {
|
|
4504
|
+
return new F({ overflowY: o });
|
|
4421
4505
|
}
|
|
4422
|
-
function
|
|
4423
|
-
return new
|
|
4506
|
+
function jn(o) {
|
|
4507
|
+
return new F({ overflowX: o });
|
|
4424
4508
|
}
|
|
4425
|
-
function
|
|
4426
|
-
return new
|
|
4509
|
+
function Un(o) {
|
|
4510
|
+
return new F({ display: o });
|
|
4427
4511
|
}
|
|
4428
|
-
function
|
|
4429
|
-
return new
|
|
4512
|
+
function Gn(o) {
|
|
4513
|
+
return new F({ outline: o });
|
|
4430
4514
|
}
|
|
4431
|
-
function
|
|
4432
|
-
return new
|
|
4515
|
+
function Kn(o) {
|
|
4516
|
+
return new F({ outlineOffset: o });
|
|
4433
4517
|
}
|
|
4434
|
-
class
|
|
4518
|
+
class ee extends g {
|
|
4435
4519
|
// Very low priority so raw CSS doesn't override specific modifiers
|
|
4436
4520
|
constructor(e) {
|
|
4437
4521
|
const t = {};
|
|
@@ -4456,24 +4540,24 @@ class Q extends b {
|
|
|
4456
4540
|
return t;
|
|
4457
4541
|
}
|
|
4458
4542
|
}
|
|
4459
|
-
function
|
|
4460
|
-
return new
|
|
4543
|
+
function Yn(o) {
|
|
4544
|
+
return new ee(o);
|
|
4461
4545
|
}
|
|
4462
|
-
function
|
|
4463
|
-
return new
|
|
4546
|
+
function Xn(o, s) {
|
|
4547
|
+
return new ee({ [o]: s });
|
|
4464
4548
|
}
|
|
4465
|
-
function
|
|
4549
|
+
function Zn(o, s) {
|
|
4466
4550
|
const e = o.startsWith("--") ? o : `--${o}`;
|
|
4467
|
-
return new
|
|
4551
|
+
return new ee({ [e]: s });
|
|
4468
4552
|
}
|
|
4469
|
-
function
|
|
4553
|
+
function Vr(o, s, e) {
|
|
4470
4554
|
const t = o.charAt(0).toUpperCase() + o.slice(1), i = `-${o.toLowerCase()}-${s}`, n = t + s.charAt(0).toUpperCase() + s.slice(1);
|
|
4471
|
-
return new
|
|
4555
|
+
return new ee({
|
|
4472
4556
|
[i]: e,
|
|
4473
4557
|
[n]: e
|
|
4474
4558
|
});
|
|
4475
4559
|
}
|
|
4476
|
-
class
|
|
4560
|
+
class X {
|
|
4477
4561
|
/**
|
|
4478
4562
|
* Apply basic sanitization to HTML content
|
|
4479
4563
|
* Removes dangerous patterns and restricts to allowed elements/attributes
|
|
@@ -4548,7 +4632,7 @@ class K {
|
|
|
4548
4632
|
}
|
|
4549
4633
|
}
|
|
4550
4634
|
}
|
|
4551
|
-
f(
|
|
4635
|
+
f(X, "DANGEROUS_PATTERNS", [
|
|
4552
4636
|
// Script tags (including nested/malformed ones)
|
|
4553
4637
|
/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
|
|
4554
4638
|
/<[^>]*<script[^>]*>/gi,
|
|
@@ -4576,7 +4660,7 @@ f(K, "DANGEROUS_PATTERNS", [
|
|
|
4576
4660
|
// Any javascript: protocol
|
|
4577
4661
|
/vbscript:/gi
|
|
4578
4662
|
// VBScript protocol
|
|
4579
|
-
]), f(
|
|
4663
|
+
]), f(X, "ALLOWED_TAGS", [
|
|
4580
4664
|
"p",
|
|
4581
4665
|
"br",
|
|
4582
4666
|
"strong",
|
|
@@ -4620,7 +4704,7 @@ f(K, "DANGEROUS_PATTERNS", [
|
|
|
4620
4704
|
"header",
|
|
4621
4705
|
"footer",
|
|
4622
4706
|
"hr"
|
|
4623
|
-
]), f(
|
|
4707
|
+
]), f(X, "ALLOWED_ATTRIBUTES", {
|
|
4624
4708
|
"*": ["class", "id", "title", "lang", "dir"],
|
|
4625
4709
|
a: ["href", "target", "rel"],
|
|
4626
4710
|
img: ["src", "alt", "width", "height"],
|
|
@@ -4628,8 +4712,8 @@ f(K, "DANGEROUS_PATTERNS", [
|
|
|
4628
4712
|
td: ["colspan", "rowspan"],
|
|
4629
4713
|
th: ["colspan", "rowspan", "scope"]
|
|
4630
4714
|
});
|
|
4631
|
-
function
|
|
4632
|
-
return
|
|
4715
|
+
function Rr(o, s) {
|
|
4716
|
+
return X.sanitize(o, s);
|
|
4633
4717
|
}
|
|
4634
4718
|
class ke {
|
|
4635
4719
|
/**
|
|
@@ -4673,7 +4757,7 @@ f(ke, "SUSPICIOUS_PATTERNS", [
|
|
|
4673
4757
|
{ pattern: /@import/i, message: "CSS import statements detected" },
|
|
4674
4758
|
{ pattern: /expression\s*\(/i, message: "CSS expressions detected" }
|
|
4675
4759
|
]);
|
|
4676
|
-
class
|
|
4760
|
+
class qn extends g {
|
|
4677
4761
|
// Early priority to apply before other modifiers
|
|
4678
4762
|
constructor(e = {}) {
|
|
4679
4763
|
super(e);
|
|
@@ -4733,7 +4817,7 @@ class jn extends b {
|
|
|
4733
4817
|
return typeof e == "string" ? e : "";
|
|
4734
4818
|
}
|
|
4735
4819
|
sanitizeHTML(e) {
|
|
4736
|
-
return !e || typeof e != "string" ? "" : this.properties.skipSanitizer ? e : this.properties.customSanitizer ? this.properties.customSanitizer(e) :
|
|
4820
|
+
return !e || typeof e != "string" ? "" : this.properties.skipSanitizer ? e : this.properties.customSanitizer ? this.properties.customSanitizer(e) : X.sanitize(e, this.properties);
|
|
4737
4821
|
}
|
|
4738
4822
|
validateContent(e) {
|
|
4739
4823
|
if (this.properties.__suppressWarnings) return;
|
|
@@ -4745,25 +4829,25 @@ class jn extends b {
|
|
|
4745
4829
|
}), 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!");
|
|
4746
4830
|
}
|
|
4747
4831
|
}
|
|
4748
|
-
function
|
|
4749
|
-
return new
|
|
4832
|
+
function Jn(o = {}) {
|
|
4833
|
+
return new qn(o);
|
|
4750
4834
|
}
|
|
4751
|
-
function
|
|
4835
|
+
function Qn(o) {
|
|
4752
4836
|
return new O({
|
|
4753
4837
|
navigationTitle: o,
|
|
4754
4838
|
role: "heading"
|
|
4755
4839
|
});
|
|
4756
4840
|
}
|
|
4757
|
-
function
|
|
4841
|
+
function eo(o = !0) {
|
|
4758
4842
|
return new O({
|
|
4759
4843
|
navigationBarHidden: o,
|
|
4760
4844
|
"aria-hidden": o.toString()
|
|
4761
4845
|
});
|
|
4762
4846
|
}
|
|
4763
|
-
function
|
|
4847
|
+
function to(o) {
|
|
4764
4848
|
return new O({ navigationBarItems: o });
|
|
4765
4849
|
}
|
|
4766
|
-
class
|
|
4850
|
+
class io extends g {
|
|
4767
4851
|
// High priority for HTML attributes
|
|
4768
4852
|
constructor(e) {
|
|
4769
4853
|
super(e);
|
|
@@ -4787,10 +4871,10 @@ class Xn extends b {
|
|
|
4787
4871
|
);
|
|
4788
4872
|
}
|
|
4789
4873
|
}
|
|
4790
|
-
function
|
|
4791
|
-
return new
|
|
4874
|
+
function ie(o) {
|
|
4875
|
+
return new io({ id: o });
|
|
4792
4876
|
}
|
|
4793
|
-
class
|
|
4877
|
+
class no extends g {
|
|
4794
4878
|
// High priority for HTML attributes
|
|
4795
4879
|
constructor(e) {
|
|
4796
4880
|
super(e);
|
|
@@ -4829,10 +4913,10 @@ class Zn extends b {
|
|
|
4829
4913
|
});
|
|
4830
4914
|
}
|
|
4831
4915
|
}
|
|
4832
|
-
function
|
|
4833
|
-
return new
|
|
4916
|
+
function oo(o) {
|
|
4917
|
+
return new no({ data: o });
|
|
4834
4918
|
}
|
|
4835
|
-
class
|
|
4919
|
+
class ro extends g {
|
|
4836
4920
|
// High priority for accessibility
|
|
4837
4921
|
constructor(e) {
|
|
4838
4922
|
super(e);
|
|
@@ -4856,10 +4940,10 @@ class Jn extends b {
|
|
|
4856
4940
|
);
|
|
4857
4941
|
}
|
|
4858
4942
|
}
|
|
4859
|
-
function
|
|
4860
|
-
return new
|
|
4943
|
+
function so(o) {
|
|
4944
|
+
return new ro({ tabIndex: o });
|
|
4861
4945
|
}
|
|
4862
|
-
const
|
|
4946
|
+
const Q = class Q extends g {
|
|
4863
4947
|
constructor(e) {
|
|
4864
4948
|
super(e);
|
|
4865
4949
|
f(this, "type", "aria");
|
|
@@ -4894,7 +4978,7 @@ const J = class J extends b {
|
|
|
4894
4978
|
return;
|
|
4895
4979
|
}
|
|
4896
4980
|
const n = t.replace(/^aria-/, "");
|
|
4897
|
-
!
|
|
4981
|
+
!Q.KNOWN_ATTRIBUTES.has(n) && !t.startsWith("aria-") && console.warn(
|
|
4898
4982
|
`TachUI ARIA Modifier: Unknown ARIA attribute "${t}". This may not be a valid ARIA attribute. Did you mean "${this.suggestCorrection(n)}"?`
|
|
4899
4983
|
), this.validateSpecificAriaAttribute(t, i);
|
|
4900
4984
|
});
|
|
@@ -4987,7 +5071,7 @@ const J = class J extends b {
|
|
|
4987
5071
|
}
|
|
4988
5072
|
};
|
|
4989
5073
|
// Highest priority for accessibility
|
|
4990
|
-
f(
|
|
5074
|
+
f(Q, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
|
|
4991
5075
|
"label",
|
|
4992
5076
|
"labelledby",
|
|
4993
5077
|
"describedby",
|
|
@@ -5022,26 +5106,26 @@ f(J, "KNOWN_ATTRIBUTES", /* @__PURE__ */ new Set([
|
|
|
5022
5106
|
"valuetext",
|
|
5023
5107
|
"role"
|
|
5024
5108
|
]));
|
|
5025
|
-
let
|
|
5026
|
-
function
|
|
5027
|
-
return new
|
|
5109
|
+
let ne = Q;
|
|
5110
|
+
function K(o) {
|
|
5111
|
+
return new ne({ aria: o });
|
|
5028
5112
|
}
|
|
5029
|
-
function
|
|
5030
|
-
return
|
|
5113
|
+
function ao(o) {
|
|
5114
|
+
return K({ role: o });
|
|
5031
5115
|
}
|
|
5032
|
-
function
|
|
5033
|
-
return
|
|
5116
|
+
function lo(o) {
|
|
5117
|
+
return K({ label: o });
|
|
5034
5118
|
}
|
|
5035
|
-
function
|
|
5036
|
-
return
|
|
5119
|
+
function co(o) {
|
|
5120
|
+
return K({ live: o });
|
|
5037
5121
|
}
|
|
5038
|
-
function
|
|
5039
|
-
return
|
|
5122
|
+
function fo(o) {
|
|
5123
|
+
return K({ describedby: o });
|
|
5040
5124
|
}
|
|
5041
|
-
function
|
|
5042
|
-
return
|
|
5125
|
+
function uo(o) {
|
|
5126
|
+
return K({ modal: o });
|
|
5043
5127
|
}
|
|
5044
|
-
class
|
|
5128
|
+
class Z extends g {
|
|
5045
5129
|
// Early application for CSS variables
|
|
5046
5130
|
constructor(e) {
|
|
5047
5131
|
super(e);
|
|
@@ -5053,10 +5137,10 @@ class Y extends b {
|
|
|
5053
5137
|
const i = this.computeCustomPropertyStyles(this.properties), n = t.element, r = (n instanceof HTMLElement, n.style);
|
|
5054
5138
|
if (r && typeof r.setProperty == "function") {
|
|
5055
5139
|
for (const [a, l] of Object.entries(i)) {
|
|
5056
|
-
const c = a.startsWith("--") ? a.slice(2) : a,
|
|
5057
|
-
r.setProperty(
|
|
5140
|
+
const c = a.startsWith("--") ? a.slice(2) : a, u = `--${this.toCSSProperty(c)}`;
|
|
5141
|
+
r.setProperty(u, l);
|
|
5058
5142
|
try {
|
|
5059
|
-
r[
|
|
5143
|
+
r[u] = l;
|
|
5060
5144
|
} catch {
|
|
5061
5145
|
}
|
|
5062
5146
|
}
|
|
@@ -5075,25 +5159,25 @@ class Y extends b {
|
|
|
5075
5159
|
return typeof e == "number" ? e.toString() : String(e);
|
|
5076
5160
|
}
|
|
5077
5161
|
}
|
|
5078
|
-
function
|
|
5079
|
-
return new
|
|
5162
|
+
function po(o) {
|
|
5163
|
+
return new Z({
|
|
5080
5164
|
properties: o.properties,
|
|
5081
5165
|
scope: o.scope || "local"
|
|
5082
5166
|
});
|
|
5083
5167
|
}
|
|
5084
|
-
function
|
|
5085
|
-
return new
|
|
5168
|
+
function mo(o, s, e) {
|
|
5169
|
+
return new Z({
|
|
5086
5170
|
properties: { [o]: s },
|
|
5087
5171
|
scope: e || "local"
|
|
5088
5172
|
});
|
|
5089
5173
|
}
|
|
5090
|
-
function
|
|
5091
|
-
return new
|
|
5174
|
+
function ho(o) {
|
|
5175
|
+
return new Z({
|
|
5092
5176
|
properties: o,
|
|
5093
5177
|
scope: "local"
|
|
5094
5178
|
});
|
|
5095
5179
|
}
|
|
5096
|
-
function
|
|
5180
|
+
function Dr(o) {
|
|
5097
5181
|
const s = {};
|
|
5098
5182
|
return Object.entries(o).forEach(([e, t]) => {
|
|
5099
5183
|
if (t !== void 0) {
|
|
@@ -5103,21 +5187,21 @@ function Ar(o) {
|
|
|
5103
5187
|
);
|
|
5104
5188
|
s[`--theme-color-${i}`] = t;
|
|
5105
5189
|
}
|
|
5106
|
-
}), new
|
|
5190
|
+
}), new Z({
|
|
5107
5191
|
properties: s,
|
|
5108
5192
|
scope: "local"
|
|
5109
5193
|
});
|
|
5110
5194
|
}
|
|
5111
|
-
function
|
|
5195
|
+
function Or(o) {
|
|
5112
5196
|
const s = {};
|
|
5113
5197
|
return Object.entries(o).forEach(([e, t]) => {
|
|
5114
5198
|
t !== void 0 && (s[`--token-${e}`] = t);
|
|
5115
|
-
}), new
|
|
5199
|
+
}), new Z({
|
|
5116
5200
|
properties: s,
|
|
5117
5201
|
scope: "local"
|
|
5118
5202
|
});
|
|
5119
5203
|
}
|
|
5120
|
-
const
|
|
5204
|
+
const B = class B extends w {
|
|
5121
5205
|
constructor() {
|
|
5122
5206
|
super(...arguments);
|
|
5123
5207
|
f(this, "type", "pseudoElement");
|
|
@@ -5125,7 +5209,7 @@ const _ = class _ extends w {
|
|
|
5125
5209
|
}
|
|
5126
5210
|
apply(e, t) {
|
|
5127
5211
|
if (!t.element) return;
|
|
5128
|
-
const i = `tachui-pseudo-${++
|
|
5212
|
+
const i = `tachui-pseudo-${++B.elementCount}`;
|
|
5129
5213
|
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);
|
|
5130
5214
|
}
|
|
5131
5215
|
addPseudoElementRule(e, t, i) {
|
|
@@ -5140,8 +5224,8 @@ const _ = class _ extends w {
|
|
|
5140
5224
|
const n = `.${e}::${t}`, r = [];
|
|
5141
5225
|
return i.content || (i.content = '""'), Object.entries(i).forEach(([a, l]) => {
|
|
5142
5226
|
if (l !== void 0) {
|
|
5143
|
-
const c = this.toCSSProperty(a),
|
|
5144
|
-
r.push(`${c}: ${
|
|
5227
|
+
const c = this.toCSSProperty(a), u = this.formatCSSValue(a, l);
|
|
5228
|
+
r.push(`${c}: ${u}`);
|
|
5145
5229
|
}
|
|
5146
5230
|
}), `${n} { ${r.join("; ")} }`;
|
|
5147
5231
|
}
|
|
@@ -5159,12 +5243,12 @@ const _ = class _ extends w {
|
|
|
5159
5243
|
}
|
|
5160
5244
|
getOrCreateStyleSheet() {
|
|
5161
5245
|
const e = document.getElementById(
|
|
5162
|
-
|
|
5246
|
+
B.styleSheetId
|
|
5163
5247
|
);
|
|
5164
5248
|
if (e && e instanceof HTMLStyleElement)
|
|
5165
5249
|
return e.sheet;
|
|
5166
5250
|
const t = document.createElement("style");
|
|
5167
|
-
t.id =
|
|
5251
|
+
t.id = B.styleSheetId;
|
|
5168
5252
|
try {
|
|
5169
5253
|
document.head.appendChild(t);
|
|
5170
5254
|
} catch (i) {
|
|
@@ -5177,33 +5261,33 @@ const _ = class _ extends w {
|
|
|
5177
5261
|
}
|
|
5178
5262
|
};
|
|
5179
5263
|
// High priority to ensure pseudo-elements are applied last
|
|
5180
|
-
f(
|
|
5181
|
-
let
|
|
5182
|
-
function
|
|
5183
|
-
return new
|
|
5264
|
+
f(B, "styleSheetId", "tachui-pseudo-elements"), f(B, "elementCount", 0);
|
|
5265
|
+
let U = B;
|
|
5266
|
+
function Y(o) {
|
|
5267
|
+
return new U({ before: o });
|
|
5184
5268
|
}
|
|
5185
|
-
function
|
|
5186
|
-
return new
|
|
5269
|
+
function q(o) {
|
|
5270
|
+
return new U({ after: o });
|
|
5187
5271
|
}
|
|
5188
|
-
function
|
|
5189
|
-
return new
|
|
5272
|
+
function yo(o) {
|
|
5273
|
+
return new U(o);
|
|
5190
5274
|
}
|
|
5191
|
-
function
|
|
5192
|
-
return
|
|
5275
|
+
function go(o, s = {}) {
|
|
5276
|
+
return Y({
|
|
5193
5277
|
content: o,
|
|
5194
5278
|
display: "inline-block",
|
|
5195
5279
|
...s
|
|
5196
5280
|
});
|
|
5197
5281
|
}
|
|
5198
|
-
function
|
|
5199
|
-
return
|
|
5282
|
+
function vo(o, s = {}) {
|
|
5283
|
+
return q({
|
|
5200
5284
|
content: o,
|
|
5201
5285
|
display: "inline-block",
|
|
5202
5286
|
...s
|
|
5203
5287
|
});
|
|
5204
5288
|
}
|
|
5205
|
-
function
|
|
5206
|
-
return
|
|
5289
|
+
function bo(o = "#ddd", s = 1, e = 16) {
|
|
5290
|
+
return Y({
|
|
5207
5291
|
content: "",
|
|
5208
5292
|
display: "inline-block",
|
|
5209
5293
|
width: e,
|
|
@@ -5213,8 +5297,8 @@ function uo(o = "#ddd", s = 1, e = 16) {
|
|
|
5213
5297
|
verticalAlign: "middle"
|
|
5214
5298
|
});
|
|
5215
5299
|
}
|
|
5216
|
-
function
|
|
5217
|
-
return
|
|
5300
|
+
function So(o = "#ddd", s = 1, e = 16) {
|
|
5301
|
+
return q({
|
|
5218
5302
|
content: "",
|
|
5219
5303
|
display: "inline-block",
|
|
5220
5304
|
width: e,
|
|
@@ -5224,8 +5308,8 @@ function po(o = "#ddd", s = 1, e = 16) {
|
|
|
5224
5308
|
verticalAlign: "middle"
|
|
5225
5309
|
});
|
|
5226
5310
|
}
|
|
5227
|
-
function
|
|
5228
|
-
return new
|
|
5311
|
+
function wo(o = '"', s = '"') {
|
|
5312
|
+
return new U({
|
|
5229
5313
|
before: {
|
|
5230
5314
|
content: o,
|
|
5231
5315
|
fontSize: "1.2em",
|
|
@@ -5240,8 +5324,8 @@ function mo(o = '"', s = '"') {
|
|
|
5240
5324
|
}
|
|
5241
5325
|
});
|
|
5242
5326
|
}
|
|
5243
|
-
function
|
|
5244
|
-
return
|
|
5327
|
+
function Co(o = "currentColor", s = 1, e = 1) {
|
|
5328
|
+
return q({
|
|
5245
5329
|
content: "",
|
|
5246
5330
|
position: "absolute",
|
|
5247
5331
|
bottom: 0,
|
|
@@ -5252,8 +5336,8 @@ function ho(o = "currentColor", s = 1, e = 1) {
|
|
|
5252
5336
|
opacity: e
|
|
5253
5337
|
});
|
|
5254
5338
|
}
|
|
5255
|
-
function
|
|
5256
|
-
return
|
|
5339
|
+
function Eo(o = "#ff3b30", s = 6, e = "") {
|
|
5340
|
+
return q({
|
|
5257
5341
|
content: e,
|
|
5258
5342
|
position: "absolute",
|
|
5259
5343
|
top: -2,
|
|
@@ -5273,8 +5357,8 @@ function yo(o = "#ff3b30", s = 6, e = "") {
|
|
|
5273
5357
|
justifyContent: "center"
|
|
5274
5358
|
});
|
|
5275
5359
|
}
|
|
5276
|
-
function
|
|
5277
|
-
return
|
|
5360
|
+
function Mo(o, s = "top", e = "#333", t = "white") {
|
|
5361
|
+
return Y({
|
|
5278
5362
|
content: o,
|
|
5279
5363
|
position: "absolute",
|
|
5280
5364
|
backgroundColor: e,
|
|
@@ -5315,8 +5399,8 @@ function go(o, s = "top", e = "#333", t = "white") {
|
|
|
5315
5399
|
}[s]
|
|
5316
5400
|
});
|
|
5317
5401
|
}
|
|
5318
|
-
function
|
|
5319
|
-
return
|
|
5402
|
+
function xo(o, s = "#ff3b30", e = "white") {
|
|
5403
|
+
return Y({
|
|
5320
5404
|
content: o,
|
|
5321
5405
|
position: "absolute",
|
|
5322
5406
|
top: 8,
|
|
@@ -5332,7 +5416,7 @@ function vo(o, s = "#ff3b30", e = "white") {
|
|
|
5332
5416
|
zIndex: 10
|
|
5333
5417
|
});
|
|
5334
5418
|
}
|
|
5335
|
-
function
|
|
5419
|
+
function To(o = 20, s = "#007AFF", e = 2) {
|
|
5336
5420
|
if (!document.getElementById("tachui-spinner-animation")) {
|
|
5337
5421
|
const t = document.createElement("style");
|
|
5338
5422
|
t.id = "tachui-spinner-animation", t.textContent = `
|
|
@@ -5342,7 +5426,7 @@ function bo(o = 20, s = "#007AFF", e = 2) {
|
|
|
5342
5426
|
}
|
|
5343
5427
|
`, document.head.appendChild(t);
|
|
5344
5428
|
}
|
|
5345
|
-
return
|
|
5429
|
+
return Y({
|
|
5346
5430
|
content: "",
|
|
5347
5431
|
display: "inline-block",
|
|
5348
5432
|
width: o,
|
|
@@ -5353,9 +5437,9 @@ function bo(o = 20, s = "#007AFF", e = 2) {
|
|
|
5353
5437
|
animation: "spin 1s linear infinite"
|
|
5354
5438
|
});
|
|
5355
5439
|
}
|
|
5356
|
-
const
|
|
5440
|
+
const Lo = [
|
|
5357
5441
|
// Padding
|
|
5358
|
-
["padding",
|
|
5442
|
+
["padding", M],
|
|
5359
5443
|
["paddingTop", We],
|
|
5360
5444
|
["paddingBottom", je],
|
|
5361
5445
|
["paddingLeft", Ue],
|
|
@@ -5365,7 +5449,7 @@ const So = [
|
|
|
5365
5449
|
["paddingHorizontal", Xe],
|
|
5366
5450
|
["paddingVertical", Ze],
|
|
5367
5451
|
// Margin
|
|
5368
|
-
["margin",
|
|
5452
|
+
["margin", x],
|
|
5369
5453
|
["marginTop", qe],
|
|
5370
5454
|
["marginBottom", Je],
|
|
5371
5455
|
["marginLeft", Qe],
|
|
@@ -5402,416 +5486,425 @@ const So = [
|
|
|
5402
5486
|
["alignItems", wt],
|
|
5403
5487
|
["alignSelf", Ct],
|
|
5404
5488
|
["gap", Et],
|
|
5405
|
-
["flexDirection",
|
|
5406
|
-
["flexWrap",
|
|
5489
|
+
["flexDirection", Mt],
|
|
5490
|
+
["flexWrap", xt],
|
|
5407
5491
|
// Appearance
|
|
5408
|
-
["backgroundColor",
|
|
5409
|
-
["background",
|
|
5410
|
-
["
|
|
5411
|
-
["
|
|
5412
|
-
["
|
|
5413
|
-
["
|
|
5414
|
-
["
|
|
5415
|
-
["
|
|
5416
|
-
["
|
|
5417
|
-
["
|
|
5418
|
-
["
|
|
5419
|
-
["
|
|
5420
|
-
["
|
|
5421
|
-
["
|
|
5422
|
-
["
|
|
5423
|
-
["
|
|
5424
|
-
["
|
|
5425
|
-
["
|
|
5492
|
+
["backgroundColor", Wt],
|
|
5493
|
+
["background", jt],
|
|
5494
|
+
["backgroundImage", Ut],
|
|
5495
|
+
["blendMode", Yt],
|
|
5496
|
+
["backgroundBlendMode", Xt],
|
|
5497
|
+
["border", qt],
|
|
5498
|
+
["borderTop", Jt],
|
|
5499
|
+
["borderBottom", ei],
|
|
5500
|
+
["borderLeft", ti],
|
|
5501
|
+
["borderRight", Qt],
|
|
5502
|
+
["clipShape", oi],
|
|
5503
|
+
["clipped", si],
|
|
5504
|
+
["cornerRadius", li],
|
|
5505
|
+
["foregroundColor", ii],
|
|
5506
|
+
["gradientText", G],
|
|
5507
|
+
["opacity", ai],
|
|
5508
|
+
["fontFamily", ci],
|
|
5509
|
+
["fontSize", fi],
|
|
5510
|
+
["fontWeight", di],
|
|
5511
|
+
["fontStyle", ui],
|
|
5512
|
+
["fontPreset", pi],
|
|
5426
5513
|
// Typography
|
|
5427
|
-
["typography",
|
|
5428
|
-
["textAlign",
|
|
5429
|
-
["font",
|
|
5430
|
-
["lineClamp",
|
|
5431
|
-
["wordBreak",
|
|
5432
|
-
["letterSpacing",
|
|
5433
|
-
["lineHeight",
|
|
5434
|
-
["textDecoration",
|
|
5435
|
-
["textOverflow",
|
|
5514
|
+
["typography", yi],
|
|
5515
|
+
["textAlign", gi],
|
|
5516
|
+
["font", xi],
|
|
5517
|
+
["lineClamp", Ai],
|
|
5518
|
+
["wordBreak", Pi],
|
|
5519
|
+
["letterSpacing", Si],
|
|
5520
|
+
["lineHeight", bi],
|
|
5521
|
+
["textDecoration", vi],
|
|
5522
|
+
["textOverflow", wi],
|
|
5436
5523
|
["textTransform", Le],
|
|
5437
|
-
["textCase",
|
|
5438
|
-
["whiteSpace",
|
|
5439
|
-
["overflow",
|
|
5440
|
-
["hyphens",
|
|
5441
|
-
["overflowWrap",
|
|
5524
|
+
["textCase", Mi],
|
|
5525
|
+
["whiteSpace", Ci],
|
|
5526
|
+
["overflow", Ei],
|
|
5527
|
+
["hyphens", Ri],
|
|
5528
|
+
["overflowWrap", $i],
|
|
5442
5529
|
// Interaction
|
|
5443
|
-
["allowsHitTesting",
|
|
5444
|
-
["focusable",
|
|
5445
|
-
["activatable",
|
|
5446
|
-
["editable",
|
|
5447
|
-
["focused",
|
|
5530
|
+
["allowsHitTesting", le],
|
|
5531
|
+
["focusable", se],
|
|
5532
|
+
["activatable", Sn],
|
|
5533
|
+
["editable", wn],
|
|
5534
|
+
["focused", vn],
|
|
5448
5535
|
["keyboardShortcut", Ae],
|
|
5449
|
-
["onHover",
|
|
5450
|
-
["onMouseEnter",
|
|
5451
|
-
["onMouseLeave",
|
|
5452
|
-
["onMouseDown",
|
|
5453
|
-
["onMouseUp",
|
|
5454
|
-
["onDoubleClick",
|
|
5455
|
-
["onContextMenu",
|
|
5456
|
-
["onKeyDown",
|
|
5457
|
-
["onKeyUp",
|
|
5458
|
-
["onKeyPress",
|
|
5459
|
-
["onFocus",
|
|
5460
|
-
["onBlur",
|
|
5461
|
-
["onContinuousHover",
|
|
5462
|
-
["onLongPressGesture",
|
|
5463
|
-
["scroll",
|
|
5464
|
-
["scrollBehavior",
|
|
5465
|
-
["overscrollBehavior",
|
|
5466
|
-
["overscrollBehaviorX",
|
|
5467
|
-
["overscrollBehaviorY",
|
|
5468
|
-
["scrollMargin",
|
|
5469
|
-
["scrollPadding",
|
|
5470
|
-
["scrollSnap",
|
|
5471
|
-
["highPriorityGesture",
|
|
5472
|
-
["simultaneousGesture",
|
|
5473
|
-
["onTap",
|
|
5474
|
-
["onScroll",
|
|
5475
|
-
["onWheel",
|
|
5476
|
-
["onInput",
|
|
5477
|
-
["onChange",
|
|
5478
|
-
["onCopy",
|
|
5479
|
-
["onCut",
|
|
5480
|
-
["onPaste",
|
|
5481
|
-
["onSelect",
|
|
5482
|
-
["onTouchStart",
|
|
5483
|
-
["onTouchMove",
|
|
5484
|
-
["onTouchEnd",
|
|
5485
|
-
["onSwipeLeft",
|
|
5486
|
-
["onSwipeRight",
|
|
5487
|
-
["disabled",
|
|
5536
|
+
["onHover", ji],
|
|
5537
|
+
["onMouseEnter", qi],
|
|
5538
|
+
["onMouseLeave", Ji],
|
|
5539
|
+
["onMouseDown", Qi],
|
|
5540
|
+
["onMouseUp", en],
|
|
5541
|
+
["onDoubleClick", tn],
|
|
5542
|
+
["onContextMenu", nn],
|
|
5543
|
+
["onKeyDown", an],
|
|
5544
|
+
["onKeyUp", ln],
|
|
5545
|
+
["onKeyPress", cn],
|
|
5546
|
+
["onFocus", un],
|
|
5547
|
+
["onBlur", pn],
|
|
5548
|
+
["onContinuousHover", ae],
|
|
5549
|
+
["onLongPressGesture", hn],
|
|
5550
|
+
["scroll", Di],
|
|
5551
|
+
["scrollBehavior", Oi],
|
|
5552
|
+
["overscrollBehavior", Hi],
|
|
5553
|
+
["overscrollBehaviorX", _i],
|
|
5554
|
+
["overscrollBehaviorY", Bi],
|
|
5555
|
+
["scrollMargin", Ni],
|
|
5556
|
+
["scrollPadding", zi],
|
|
5557
|
+
["scrollSnap", Fi],
|
|
5558
|
+
["highPriorityGesture", Mn],
|
|
5559
|
+
["simultaneousGesture", xn],
|
|
5560
|
+
["onTap", Tn],
|
|
5561
|
+
["onScroll", Ln],
|
|
5562
|
+
["onWheel", An],
|
|
5563
|
+
["onInput", kn],
|
|
5564
|
+
["onChange", Pn],
|
|
5565
|
+
["onCopy", In],
|
|
5566
|
+
["onCut", $n],
|
|
5567
|
+
["onPaste", Vn],
|
|
5568
|
+
["onSelect", Rn],
|
|
5569
|
+
["onTouchStart", Dn],
|
|
5570
|
+
["onTouchMove", On],
|
|
5571
|
+
["onTouchEnd", Hn],
|
|
5572
|
+
["onSwipeLeft", _n],
|
|
5573
|
+
["onSwipeRight", Bn],
|
|
5574
|
+
["disabled", Nn],
|
|
5488
5575
|
// Utility
|
|
5489
|
-
["css",
|
|
5490
|
-
["cssProperty",
|
|
5491
|
-
["cssVariable",
|
|
5492
|
-
["utility",
|
|
5493
|
-
["cursor",
|
|
5494
|
-
["display",
|
|
5495
|
-
["overflowX",
|
|
5496
|
-
["overflowY",
|
|
5497
|
-
["outline",
|
|
5498
|
-
["outlineOffset",
|
|
5499
|
-
["asHTML",
|
|
5500
|
-
["navigationTitle",
|
|
5501
|
-
["navigationBarHidden",
|
|
5502
|
-
["navigationBarItems",
|
|
5576
|
+
["css", Yn],
|
|
5577
|
+
["cssProperty", Xn],
|
|
5578
|
+
["cssVariable", Zn],
|
|
5579
|
+
["utility", zn],
|
|
5580
|
+
["cursor", Fn],
|
|
5581
|
+
["display", Un],
|
|
5582
|
+
["overflowX", jn],
|
|
5583
|
+
["overflowY", Wn],
|
|
5584
|
+
["outline", Gn],
|
|
5585
|
+
["outlineOffset", Kn],
|
|
5586
|
+
["asHTML", Jn],
|
|
5587
|
+
["navigationTitle", Qn],
|
|
5588
|
+
["navigationBarHidden", eo],
|
|
5589
|
+
["navigationBarItems", to],
|
|
5503
5590
|
["animation", mt],
|
|
5504
5591
|
["transform", pt],
|
|
5505
5592
|
["transitions", ht],
|
|
5506
5593
|
["transition", ut],
|
|
5507
5594
|
// Attributes
|
|
5508
|
-
["aria",
|
|
5509
|
-
["ariaLabel",
|
|
5510
|
-
["ariaLive",
|
|
5511
|
-
["ariaDescribedBy",
|
|
5512
|
-
["ariaModal",
|
|
5513
|
-
["role",
|
|
5514
|
-
["customProperties",
|
|
5515
|
-
["customProperty",
|
|
5516
|
-
["cssVariables",
|
|
5517
|
-
["id",
|
|
5518
|
-
["elementId",
|
|
5519
|
-
["viewId",
|
|
5520
|
-
["data",
|
|
5521
|
-
["tabIndex",
|
|
5595
|
+
["aria", K],
|
|
5596
|
+
["ariaLabel", lo],
|
|
5597
|
+
["ariaLive", co],
|
|
5598
|
+
["ariaDescribedBy", fo],
|
|
5599
|
+
["ariaModal", uo],
|
|
5600
|
+
["role", ao],
|
|
5601
|
+
["customProperties", po],
|
|
5602
|
+
["customProperty", mo],
|
|
5603
|
+
["cssVariables", ho],
|
|
5604
|
+
["id", ie],
|
|
5605
|
+
["elementId", ie],
|
|
5606
|
+
["viewId", ie],
|
|
5607
|
+
["data", oo],
|
|
5608
|
+
["tabIndex", so],
|
|
5522
5609
|
// Elements / pseudo elements
|
|
5523
|
-
["before",
|
|
5524
|
-
["after",
|
|
5525
|
-
["pseudoElements",
|
|
5526
|
-
["iconBefore",
|
|
5527
|
-
["iconAfter",
|
|
5528
|
-
["lineBefore",
|
|
5529
|
-
["lineAfter",
|
|
5530
|
-
["quotes",
|
|
5531
|
-
["underline",
|
|
5532
|
-
["badge",
|
|
5533
|
-
["tooltip",
|
|
5534
|
-
["cornerRibbon",
|
|
5535
|
-
["spinner",
|
|
5610
|
+
["before", Y],
|
|
5611
|
+
["after", q],
|
|
5612
|
+
["pseudoElements", yo],
|
|
5613
|
+
["iconBefore", go],
|
|
5614
|
+
["iconAfter", vo],
|
|
5615
|
+
["lineBefore", bo],
|
|
5616
|
+
["lineAfter", So],
|
|
5617
|
+
["quotes", wo],
|
|
5618
|
+
["underline", Co],
|
|
5619
|
+
["badge", Eo],
|
|
5620
|
+
["tooltip", Mo],
|
|
5621
|
+
["cornerRibbon", xo],
|
|
5622
|
+
["spinner", To],
|
|
5536
5623
|
// Lifecycle
|
|
5537
5624
|
["task", yt]
|
|
5538
5625
|
];
|
|
5539
|
-
function
|
|
5626
|
+
function Ao(o) {
|
|
5540
5627
|
const s = o?.registry ?? Ve;
|
|
5541
5628
|
s.registerPlugin?.({
|
|
5542
5629
|
name: "@tachui/modifiers",
|
|
5543
5630
|
version: Fe,
|
|
5544
5631
|
author: "tachUI Team",
|
|
5545
5632
|
verified: !0
|
|
5546
|
-
}),
|
|
5633
|
+
}), Lo.forEach(([e, t]) => {
|
|
5547
5634
|
s.has(e) || s.register(e, t);
|
|
5548
5635
|
});
|
|
5549
5636
|
}
|
|
5550
|
-
|
|
5637
|
+
Ao();
|
|
5551
5638
|
export {
|
|
5552
|
-
|
|
5639
|
+
Sr as $,
|
|
5553
5640
|
Ce as A,
|
|
5554
5641
|
Bt as B,
|
|
5555
5642
|
ve as C,
|
|
5556
5643
|
Nt as D,
|
|
5557
|
-
|
|
5644
|
+
xi as E,
|
|
5558
5645
|
$ as F,
|
|
5559
|
-
|
|
5560
|
-
|
|
5646
|
+
yi as G,
|
|
5647
|
+
gi as H,
|
|
5561
5648
|
Le as I,
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5649
|
+
vi as J,
|
|
5650
|
+
hr as K,
|
|
5651
|
+
yr as L,
|
|
5565
5652
|
I as M,
|
|
5566
|
-
|
|
5653
|
+
bi as N,
|
|
5567
5654
|
Tt as O,
|
|
5568
5655
|
Ht as P,
|
|
5569
|
-
|
|
5570
|
-
|
|
5656
|
+
Si as Q,
|
|
5657
|
+
gr as R,
|
|
5571
5658
|
At as S,
|
|
5572
5659
|
k as T,
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5660
|
+
wi as U,
|
|
5661
|
+
Ci as V,
|
|
5662
|
+
Ei as W,
|
|
5663
|
+
Mi as X,
|
|
5664
|
+
vr as Y,
|
|
5578
5665
|
Ee as Z,
|
|
5579
|
-
|
|
5666
|
+
br as _,
|
|
5580
5667
|
gt as a,
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5668
|
+
Qi as a$,
|
|
5669
|
+
Li as a0,
|
|
5670
|
+
Ai as a1,
|
|
5671
|
+
ki as a2,
|
|
5672
|
+
Pi as a3,
|
|
5673
|
+
Ii as a4,
|
|
5674
|
+
$i as a5,
|
|
5675
|
+
Vi as a6,
|
|
5676
|
+
Ri as a7,
|
|
5677
|
+
Me as a8,
|
|
5678
|
+
Ft as a9,
|
|
5679
|
+
pr as aA,
|
|
5680
|
+
Te as aB,
|
|
5681
|
+
ii as aC,
|
|
5682
|
+
mr as aD,
|
|
5683
|
+
ni as aE,
|
|
5684
|
+
oi as aF,
|
|
5685
|
+
ri as aG,
|
|
5686
|
+
si as aH,
|
|
5687
|
+
H as aI,
|
|
5688
|
+
Di as aJ,
|
|
5689
|
+
Oi as aK,
|
|
5690
|
+
Hi as aL,
|
|
5691
|
+
_i as aM,
|
|
5692
|
+
Bi as aN,
|
|
5693
|
+
Ni as aO,
|
|
5694
|
+
zi as aP,
|
|
5695
|
+
Fi as aQ,
|
|
5696
|
+
Wi as aR,
|
|
5697
|
+
ji as aS,
|
|
5698
|
+
Ui as aT,
|
|
5699
|
+
Gi as aU,
|
|
5700
|
+
Ki as aV,
|
|
5701
|
+
Yi as aW,
|
|
5702
|
+
Xi as aX,
|
|
5703
|
+
Zi as aY,
|
|
5704
|
+
qi as aZ,
|
|
5705
|
+
Ji as a_,
|
|
5706
|
+
xe as aa,
|
|
5707
|
+
Wt as ab,
|
|
5708
|
+
jt as ac,
|
|
5709
|
+
Ut as ad,
|
|
5710
|
+
nr as ae,
|
|
5711
|
+
G as af,
|
|
5712
|
+
or as ag,
|
|
5713
|
+
rr as ah,
|
|
5714
|
+
sr as ai,
|
|
5715
|
+
ar as aj,
|
|
5716
|
+
lr as ak,
|
|
5717
|
+
Gt as al,
|
|
5718
|
+
Kt as am,
|
|
5719
|
+
Yt as an,
|
|
5720
|
+
Xt as ao,
|
|
5721
|
+
D as ap,
|
|
5722
|
+
Zt as aq,
|
|
5723
|
+
qt as ar,
|
|
5724
|
+
Jt as as,
|
|
5725
|
+
Qt as at,
|
|
5726
|
+
ei as au,
|
|
5727
|
+
ti as av,
|
|
5728
|
+
cr as aw,
|
|
5729
|
+
fr as ax,
|
|
5730
|
+
dr as ay,
|
|
5731
|
+
ur as az,
|
|
5732
|
+
Lo as b,
|
|
5733
|
+
Kn as b$,
|
|
5734
|
+
en as b0,
|
|
5735
|
+
tn as b1,
|
|
5736
|
+
nn as b2,
|
|
5737
|
+
on as b3,
|
|
5738
|
+
rn as b4,
|
|
5739
|
+
sn as b5,
|
|
5740
|
+
an as b6,
|
|
5741
|
+
ln as b7,
|
|
5742
|
+
cn as b8,
|
|
5743
|
+
fn as b9,
|
|
5744
|
+
Lr as bA,
|
|
5745
|
+
Ln as bB,
|
|
5746
|
+
Ar as bC,
|
|
5747
|
+
kr as bD,
|
|
5748
|
+
Pr as bE,
|
|
5749
|
+
Ir as bF,
|
|
5750
|
+
$r as bG,
|
|
5751
|
+
An as bH,
|
|
5752
|
+
kn as bI,
|
|
5753
|
+
Pn as bJ,
|
|
5754
|
+
In as bK,
|
|
5755
|
+
$n as bL,
|
|
5756
|
+
Vn as bM,
|
|
5757
|
+
Rn as bN,
|
|
5758
|
+
Dn as bO,
|
|
5759
|
+
On as bP,
|
|
5760
|
+
Hn as bQ,
|
|
5761
|
+
_n as bR,
|
|
5762
|
+
Bn as bS,
|
|
5763
|
+
Nn as bT,
|
|
5764
|
+
F as bU,
|
|
5765
|
+
zn as bV,
|
|
5766
|
+
Fn as bW,
|
|
5767
|
+
Wn as bX,
|
|
5768
|
+
jn as bY,
|
|
5769
|
+
Un as bZ,
|
|
5770
|
+
Gn as b_,
|
|
5771
|
+
dn as ba,
|
|
5772
|
+
un as bb,
|
|
5773
|
+
pn as bc,
|
|
5774
|
+
mn as bd,
|
|
5775
|
+
hn as be,
|
|
5776
|
+
yn as bf,
|
|
5777
|
+
Ae as bg,
|
|
5778
|
+
wr as bh,
|
|
5779
|
+
gn as bi,
|
|
5780
|
+
vn as bj,
|
|
5781
|
+
bn as bk,
|
|
5782
|
+
se as bl,
|
|
5783
|
+
Sn as bm,
|
|
5784
|
+
wn as bn,
|
|
5785
|
+
Cn as bo,
|
|
5786
|
+
ae as bp,
|
|
5787
|
+
Cr as bq,
|
|
5788
|
+
Er as br,
|
|
5789
|
+
En as bs,
|
|
5790
|
+
le as bt,
|
|
5791
|
+
Mr as bu,
|
|
5792
|
+
xr as bv,
|
|
5793
|
+
Mn as bw,
|
|
5794
|
+
xn as bx,
|
|
5795
|
+
Tn as by,
|
|
5796
|
+
Tr as bz,
|
|
5710
5797
|
vt as c,
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5798
|
+
ot as c$,
|
|
5799
|
+
ee as c0,
|
|
5800
|
+
Yn as c1,
|
|
5801
|
+
Xn as c2,
|
|
5802
|
+
Zn as c3,
|
|
5803
|
+
Vr as c4,
|
|
5804
|
+
X as c5,
|
|
5805
|
+
Rr as c6,
|
|
5806
|
+
qn as c7,
|
|
5807
|
+
Jn as c8,
|
|
5808
|
+
ke as c9,
|
|
5809
|
+
uo as cA,
|
|
5810
|
+
Z as cB,
|
|
5811
|
+
po as cC,
|
|
5812
|
+
mo as cD,
|
|
5813
|
+
ho as cE,
|
|
5814
|
+
Dr as cF,
|
|
5815
|
+
Or as cG,
|
|
5816
|
+
V as cH,
|
|
5817
|
+
M as cI,
|
|
5818
|
+
We as cJ,
|
|
5819
|
+
je as cK,
|
|
5820
|
+
Ue as cL,
|
|
5821
|
+
Ge as cM,
|
|
5822
|
+
Ke as cN,
|
|
5823
|
+
Ye as cO,
|
|
5824
|
+
Xe as cP,
|
|
5825
|
+
Ze as cQ,
|
|
5826
|
+
Ko as cR,
|
|
5827
|
+
R as cS,
|
|
5828
|
+
x as cT,
|
|
5829
|
+
qe as cU,
|
|
5830
|
+
Je as cV,
|
|
5831
|
+
Qe as cW,
|
|
5832
|
+
et as cX,
|
|
5833
|
+
tt as cY,
|
|
5834
|
+
it as cZ,
|
|
5835
|
+
nt as c_,
|
|
5836
|
+
U as ca,
|
|
5837
|
+
Y as cb,
|
|
5838
|
+
q as cc,
|
|
5839
|
+
yo as cd,
|
|
5840
|
+
go as ce,
|
|
5841
|
+
vo as cf,
|
|
5842
|
+
bo as cg,
|
|
5843
|
+
So as ch,
|
|
5844
|
+
wo as ci,
|
|
5845
|
+
Co as cj,
|
|
5846
|
+
Eo as ck,
|
|
5847
|
+
Mo as cl,
|
|
5848
|
+
xo as cm,
|
|
5849
|
+
To as cn,
|
|
5850
|
+
io as co,
|
|
5851
|
+
ie as cp,
|
|
5852
|
+
no as cq,
|
|
5853
|
+
oo as cr,
|
|
5854
|
+
ro as cs,
|
|
5855
|
+
so as ct,
|
|
5856
|
+
ne as cu,
|
|
5857
|
+
K as cv,
|
|
5858
|
+
ao as cw,
|
|
5859
|
+
lo as cx,
|
|
5860
|
+
co as cy,
|
|
5861
|
+
fo as cz,
|
|
5775
5862
|
bt as d,
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5863
|
+
Yo as d0,
|
|
5864
|
+
z as d1,
|
|
5865
|
+
rt as d2,
|
|
5866
|
+
st as d3,
|
|
5867
|
+
at as d4,
|
|
5868
|
+
lt as d5,
|
|
5869
|
+
ct as d6,
|
|
5870
|
+
ft as d7,
|
|
5871
|
+
dt as d8,
|
|
5872
|
+
te as d9,
|
|
5873
|
+
ut as da,
|
|
5874
|
+
Go as db,
|
|
5875
|
+
Fe as dc,
|
|
5876
|
+
Ho as dd,
|
|
5877
|
+
Bo as de,
|
|
5878
|
+
zo as df,
|
|
5879
|
+
Be as dg,
|
|
5880
|
+
jo as dh,
|
|
5881
|
+
Qn as di,
|
|
5882
|
+
eo as dj,
|
|
5883
|
+
to as dk,
|
|
5884
|
+
pt as dl,
|
|
5885
|
+
mt as dm,
|
|
5886
|
+
ht as dn,
|
|
5887
|
+
yt as dp,
|
|
5888
|
+
w as dq,
|
|
5889
|
+
Qo as dr,
|
|
5890
|
+
er as ds,
|
|
5891
|
+
C as dt,
|
|
5892
|
+
tr as du,
|
|
5893
|
+
ir as dv,
|
|
5894
|
+
Xo as e,
|
|
5802
5895
|
P as f,
|
|
5803
5896
|
wt as g,
|
|
5804
5897
|
Ct as h,
|
|
5805
5898
|
Et as i,
|
|
5806
5899
|
St as j,
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5900
|
+
Zo as k,
|
|
5901
|
+
qo as l,
|
|
5902
|
+
Mt as m,
|
|
5903
|
+
xt as n,
|
|
5904
|
+
Jo as o,
|
|
5812
5905
|
Lt as p,
|
|
5813
5906
|
Pt as q,
|
|
5814
|
-
|
|
5907
|
+
Ao as r,
|
|
5815
5908
|
kt as s,
|
|
5816
5909
|
It as t,
|
|
5817
5910
|
$t as u,
|