@tempots/dom 10.0.15 → 10.0.111
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/index.cjs +1 -1
- package/index.js +307 -310
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var ze = Object.defineProperty;
|
|
2
2
|
var Ve = (t, e, r) => e in t ? ze(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
-
var
|
|
3
|
+
var u = (t, e, r) => Ve(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
function qe(t, e, r) {
|
|
5
5
|
return t + (e - t) * r;
|
|
6
6
|
}
|
|
@@ -25,7 +25,7 @@ function Ye(t, e, r) {
|
|
|
25
25
|
function je(t) {
|
|
26
26
|
return typeof t == "number" ? qe : typeof t == "string" ? Ze : t instanceof Date ? Xe : Ye;
|
|
27
27
|
}
|
|
28
|
-
class
|
|
28
|
+
class ke {
|
|
29
29
|
constructor(e, r) {
|
|
30
30
|
this.index = e, this.total = r;
|
|
31
31
|
}
|
|
@@ -43,33 +43,33 @@ class He {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
const ee = Symbol("isSignal"), te = Symbol("isProp"), re = Symbol("isComputed");
|
|
46
|
-
var
|
|
47
|
-
|
|
46
|
+
var ae;
|
|
47
|
+
ae = ee;
|
|
48
48
|
const _ = class _ {
|
|
49
49
|
constructor(e, r) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
50
|
+
u(this, ae, !0);
|
|
51
|
+
u(this, "_value");
|
|
52
|
+
u(this, "_derivatives", []);
|
|
53
|
+
u(this, "_onValueListeners", []);
|
|
54
|
+
u(this, "_onDisposeListeners", []);
|
|
55
|
+
u(this, "get", () => this._value);
|
|
56
|
+
u(this, "hasListeners", () => this._onValueListeners.length > 0);
|
|
57
|
+
u(this, "on", (e) => (e(this.get()), this._onValueListeners.push(e), () => {
|
|
58
58
|
this._onValueListeners.splice(this._onValueListeners.indexOf(e), 1);
|
|
59
59
|
}));
|
|
60
|
-
|
|
60
|
+
u(this, "_setAndNotify", (e, r) => {
|
|
61
61
|
const n = this.equals(this._value, e);
|
|
62
62
|
n || (this._value = e), (r || !n) && this._onValueListeners.forEach((s) => s(e));
|
|
63
63
|
});
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
u(this, "_disposed", !1);
|
|
65
|
+
u(this, "isDisposed", () => this._disposed);
|
|
66
|
+
u(this, "onDispose", (e) => {
|
|
67
67
|
this._onDisposeListeners.push(e);
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
u(this, "dispose", () => {
|
|
70
70
|
this._disposed || (this._disposed = !0, this._onDisposeListeners.forEach((e) => e()), this._onDisposeListeners.length = 0, this._derivatives.length = 0);
|
|
71
71
|
});
|
|
72
|
-
|
|
72
|
+
u(this, "map", (e, r = (n, s) => n === s) => {
|
|
73
73
|
const n = new D(() => {
|
|
74
74
|
try {
|
|
75
75
|
return e(this.get());
|
|
@@ -79,7 +79,7 @@ const _ = class _ {
|
|
|
79
79
|
}, r);
|
|
80
80
|
return this.setDerivative(n), n;
|
|
81
81
|
});
|
|
82
|
-
|
|
82
|
+
u(this, "flatMap", (e, r = (n, s) => n === s) => {
|
|
83
83
|
const n = new D(() => {
|
|
84
84
|
try {
|
|
85
85
|
return e(this.get()).get();
|
|
@@ -89,9 +89,9 @@ const _ = class _ {
|
|
|
89
89
|
}, r);
|
|
90
90
|
return this.setDerivative(n), n;
|
|
91
91
|
});
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
u(this, "tap", (e) => this.map((r) => (e(r), r)));
|
|
93
|
+
u(this, "at", (e) => this.map((r) => r[e]));
|
|
94
|
+
u(this, "filter", (e, r) => {
|
|
95
95
|
let n = r ?? this.get();
|
|
96
96
|
const s = new D(() => {
|
|
97
97
|
try {
|
|
@@ -103,7 +103,7 @@ const _ = class _ {
|
|
|
103
103
|
}, this.equals);
|
|
104
104
|
return this.setDerivative(s), s;
|
|
105
105
|
});
|
|
106
|
-
|
|
106
|
+
u(this, "filterMap", (e, r, n = (s, i) => s === i) => {
|
|
107
107
|
let s = r;
|
|
108
108
|
const i = new D(() => {
|
|
109
109
|
try {
|
|
@@ -115,17 +115,17 @@ const _ = class _ {
|
|
|
115
115
|
}, n);
|
|
116
116
|
return this.setDerivative(i), i;
|
|
117
117
|
});
|
|
118
|
-
|
|
119
|
-
const i =
|
|
118
|
+
u(this, "mapAsync", (e, r, n, s = (i, o) => i === o) => {
|
|
119
|
+
const i = y(r, s);
|
|
120
120
|
let o = 0;
|
|
121
121
|
return i.onDispose(
|
|
122
122
|
this.on((l) => {
|
|
123
|
-
const
|
|
123
|
+
const a = ++o;
|
|
124
124
|
try {
|
|
125
125
|
e(l).then((c) => {
|
|
126
|
-
|
|
126
|
+
a === o && i.set(c);
|
|
127
127
|
}).catch((c) => {
|
|
128
|
-
|
|
128
|
+
a === o && (n != null ? i.set(n(c)) : console.error(
|
|
129
129
|
"Unhandled promise rejection in Signal.mapAsync:",
|
|
130
130
|
c
|
|
131
131
|
));
|
|
@@ -136,17 +136,17 @@ const _ = class _ {
|
|
|
136
136
|
})
|
|
137
137
|
), i;
|
|
138
138
|
});
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
u(this, "mapMaybe", (e, r) => this.map((n) => e(n) ?? r));
|
|
140
|
+
u(this, "feedProp", (e, r = !1) => {
|
|
141
141
|
const n = this.on(e.set);
|
|
142
142
|
return e.onDispose(n), r ? this.onDispose(e.dispose) : this.onDispose(n), e;
|
|
143
143
|
});
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
u(this, "deriveProp", (e = !0) => this.feedProp(y(this.get()), e));
|
|
145
|
+
u(this, "count", () => {
|
|
146
146
|
let e = 0;
|
|
147
147
|
return this.map(() => ++e);
|
|
148
148
|
});
|
|
149
|
-
|
|
149
|
+
u(this, "setDerivative", (e) => {
|
|
150
150
|
this._derivatives.push(e), e.onDispose(() => {
|
|
151
151
|
this._derivatives.splice(
|
|
152
152
|
this._derivatives.indexOf(e),
|
|
@@ -184,25 +184,25 @@ const _ = class _ {
|
|
|
184
184
|
return this._value;
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
|
-
let
|
|
188
|
-
const
|
|
189
|
-
var
|
|
190
|
-
class D extends (le =
|
|
187
|
+
let h = _;
|
|
188
|
+
const He = typeof queueMicrotask == "function" ? queueMicrotask : (t) => Promise.resolve().then(t);
|
|
189
|
+
var ue, le;
|
|
190
|
+
class D extends (le = h, ue = re, le) {
|
|
191
191
|
constructor(r, n) {
|
|
192
192
|
super(void 0, n);
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
u(this, ue, !0);
|
|
194
|
+
u(this, "_isDirty", !1);
|
|
195
|
+
u(this, "setDirty", () => {
|
|
196
196
|
this._isDirty || this._disposed || (this._isDirty = !0, this._derivatives.forEach((r) => r.setDirty()), this.scheduleNotify());
|
|
197
197
|
});
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
u(this, "_scheduleCount", 0);
|
|
199
|
+
u(this, "scheduleNotify", () => {
|
|
200
200
|
const r = ++this._scheduleCount;
|
|
201
|
-
|
|
201
|
+
He(() => {
|
|
202
202
|
this._scheduleCount !== r || this._disposed !== !1 || this._isDirty && (this._isDirty = !1, this._setAndNotify(this._fn(), !1));
|
|
203
203
|
});
|
|
204
204
|
});
|
|
205
|
-
|
|
205
|
+
u(this, "get", () => (this._isDirty && (this._isDirty = !1, this._value = this._fn(), this._setAndNotify(this._value, !0)), this._value));
|
|
206
206
|
this._fn = r, this.setDirty();
|
|
207
207
|
}
|
|
208
208
|
static is(r) {
|
|
@@ -213,22 +213,22 @@ class D extends (le = d, ae = re, le) {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
var ce, fe;
|
|
216
|
-
class
|
|
216
|
+
class z extends (fe = h, ce = te, fe) {
|
|
217
217
|
constructor() {
|
|
218
218
|
super(...arguments);
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
u(this, ce, !0);
|
|
220
|
+
u(this, "set", (r) => {
|
|
221
221
|
this._setAndNotify(r, !1);
|
|
222
222
|
});
|
|
223
|
-
|
|
223
|
+
u(this, "update", (r) => {
|
|
224
224
|
this._setAndNotify(r(this.get()), !1);
|
|
225
225
|
});
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
const i = new
|
|
226
|
+
u(this, "reducer", (r) => (n) => this.update((s) => r(s, n)));
|
|
227
|
+
u(this, "iso", (r, n, s = (i, o) => i === o) => {
|
|
228
|
+
const i = new z(r(this.get()), s);
|
|
229
229
|
return i.onDispose(this.on((o) => i.set(r(o)))), i.on((o) => this._setAndNotify(n(o), !1)), i;
|
|
230
230
|
});
|
|
231
|
-
|
|
231
|
+
u(this, "atProp", (r) => this.iso(
|
|
232
232
|
(n) => n[r],
|
|
233
233
|
(n) => ({ ...this.value, [r]: n })
|
|
234
234
|
));
|
|
@@ -243,89 +243,89 @@ class V extends (fe = d, ce = te, fe) {
|
|
|
243
243
|
this._setAndNotify(r, !1);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function K(t, e, r = (n, s) => n === s) {
|
|
247
247
|
const n = new D(t, r);
|
|
248
248
|
return e.forEach((s) => s.setDerivative(n)), n;
|
|
249
249
|
}
|
|
250
250
|
function qt(t, e) {
|
|
251
|
-
return
|
|
251
|
+
return K(t, e).dispose;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
return new
|
|
253
|
+
function y(t, e = (r, n) => r === n) {
|
|
254
|
+
return new z(t, e);
|
|
255
255
|
}
|
|
256
256
|
function Zt(t, e = (r, n) => r === n) {
|
|
257
|
-
return new
|
|
257
|
+
return new h(t, e);
|
|
258
258
|
}
|
|
259
|
-
class
|
|
259
|
+
class de {
|
|
260
260
|
constructor() {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
u(this, "_store", /* @__PURE__ */ new Map());
|
|
262
|
+
u(this, "getItem", (e) => this._store.get(e) ?? null);
|
|
263
|
+
u(this, "setItem", (e, r) => {
|
|
264
264
|
this._store.set(e, r);
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function he({
|
|
269
269
|
key: t,
|
|
270
270
|
defaultValue: e,
|
|
271
271
|
store: r,
|
|
272
272
|
serialize: n = JSON.stringify,
|
|
273
273
|
deserialize: s = JSON.parse,
|
|
274
|
-
equals: i = (l,
|
|
274
|
+
equals: i = (l, a) => l === a,
|
|
275
275
|
onLoad: o = (l) => l
|
|
276
276
|
}) {
|
|
277
|
-
const l = r.getItem(t),
|
|
277
|
+
const l = r.getItem(t), a = new z(
|
|
278
278
|
l != null ? o(s(l)) : typeof e == "function" ? e() : e,
|
|
279
279
|
i
|
|
280
280
|
);
|
|
281
|
-
return
|
|
281
|
+
return a.on((c) => {
|
|
282
282
|
r.setItem(t, n(c));
|
|
283
|
-
}),
|
|
283
|
+
}), a;
|
|
284
284
|
}
|
|
285
285
|
function Xt(t) {
|
|
286
|
-
return
|
|
286
|
+
return he({
|
|
287
287
|
...t,
|
|
288
|
-
store: (window == null ? void 0 : window.localStorage) ?? new
|
|
288
|
+
store: (window == null ? void 0 : window.localStorage) ?? new de()
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
function Yt(t) {
|
|
292
|
-
return
|
|
292
|
+
return he({
|
|
293
293
|
...t,
|
|
294
|
-
store: (window == null ? void 0 : window.sessionStorage) ?? new
|
|
294
|
+
store: (window == null ? void 0 : window.sessionStorage) ?? new de()
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
297
|
function ne(t) {
|
|
298
298
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame(t) : setTimeout(t, 0);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Ke(t, e, r, n) {
|
|
301
301
|
const s = (n == null ? void 0 : n.duration) ?? 300, i = (n == null ? void 0 : n.easing) ?? ((S) => S), o = (n == null ? void 0 : n.equals) ?? ((S, I) => S === I);
|
|
302
|
-
let l = n == null ? void 0 : n.interpolate,
|
|
303
|
-
const
|
|
304
|
-
|
|
302
|
+
let l = n == null ? void 0 : n.interpolate, a = t, c = e(), p = performance.now(), m = null, d = !0;
|
|
303
|
+
const T = new D(e, o), E = y(t, o);
|
|
304
|
+
E.onDispose(() => {
|
|
305
305
|
m !== null && cancelAnimationFrame(m);
|
|
306
|
-
}),
|
|
307
|
-
S.setDerivative(
|
|
306
|
+
}), E.onDispose(T.dispose), r.forEach((S) => {
|
|
307
|
+
S.setDerivative(T), S.onDispose(E.dispose);
|
|
308
308
|
});
|
|
309
|
-
const
|
|
310
|
-
c = S, p = performance.now(),
|
|
309
|
+
const Y = (S) => {
|
|
310
|
+
c = S, p = performance.now(), a = E.value, d && (d = !1, m = ne(J));
|
|
311
311
|
}, J = () => {
|
|
312
|
-
const I = (performance.now() - p) /
|
|
313
|
-
l == null && (l = je(
|
|
314
|
-
let G = l(
|
|
315
|
-
I >= 1 ? (
|
|
312
|
+
const I = (performance.now() - p) / h.unwrap(s), We = i(I);
|
|
313
|
+
l == null && (l = je(a));
|
|
314
|
+
let G = l(a, c, We);
|
|
315
|
+
I >= 1 ? (d = !0, G = c) : m = ne(J), E.set(G);
|
|
316
316
|
};
|
|
317
|
-
return
|
|
317
|
+
return T.on(Y), E;
|
|
318
318
|
}
|
|
319
319
|
function jt(t, e) {
|
|
320
320
|
const { initialValue: r, ...n } = e ?? {};
|
|
321
|
-
return
|
|
321
|
+
return Ke(r ?? t.get(), t.get, [t], n);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function kt(t, e) {
|
|
324
324
|
const { signals: r, literals: n } = Object.entries(t).reduce(
|
|
325
|
-
({ signals: i, literals: o }, [l,
|
|
325
|
+
({ signals: i, literals: o }, [l, a]) => (h.is(a) ? i.push([l, a]) : o[l] = a, { signals: i, literals: o }),
|
|
326
326
|
{ signals: [], literals: {} }
|
|
327
327
|
), s = r.map(([, i]) => i);
|
|
328
|
-
return
|
|
328
|
+
return K(() => (r.forEach(([i, o]) => n[i] = o.value), e(n)), s);
|
|
329
329
|
}
|
|
330
330
|
function se(t) {
|
|
331
331
|
let e = t.match(/rgba?\((\d+), (\d+), (\d+)(, (\d+))?\)/);
|
|
@@ -360,17 +360,17 @@ function ie(t) {
|
|
|
360
360
|
spread: 0,
|
|
361
361
|
color: "rgba(0, 0, 0, 0)"
|
|
362
362
|
};
|
|
363
|
-
const [, n, s, , , i, , o, , l, ,
|
|
363
|
+
const [, n, s, , , i, , o, , l, , a] = r, c = o != null ? parseInt(o, 10) : 0, p = l != null ? parseInt(l, 10) : 0;
|
|
364
364
|
return {
|
|
365
365
|
inset: !!n,
|
|
366
366
|
x: parseInt(s, 10),
|
|
367
367
|
y: parseInt(i, 10),
|
|
368
368
|
blur: c,
|
|
369
369
|
spread: p,
|
|
370
|
-
color:
|
|
370
|
+
color: a
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Ue(t) {
|
|
374
374
|
const { inset: e, x: r, y: n, blur: s, spread: i, color: o } = t;
|
|
375
375
|
return `${e ? "inset " : ""}${r}px ${n}px ${s}px ${i}px ${o}`;
|
|
376
376
|
}
|
|
@@ -378,24 +378,24 @@ function Be(t) {
|
|
|
378
378
|
return t[4] === "rgba" ? `rgba(${t[0]}, ${t[1]}, ${t[2]}, ${t[3]})` : t[4] === "hex" ? `#${t[0].toString(16).padStart(2, "0")}${t[1].toString(16).padStart(2, "0")}${t[2].toString(16).padStart(2, "0")}` : t[4] === "hsla" ? `hsla(${t[0]}, ${t[1]}%, ${t[2]}%, ${t[3]})` : "";
|
|
379
379
|
}
|
|
380
380
|
function Je(t, e) {
|
|
381
|
-
const [r, n, s, i, o] = se(t), [l,
|
|
381
|
+
const [r, n, s, i, o] = se(t), [l, a, c, p] = se(e);
|
|
382
382
|
return (m) => {
|
|
383
|
-
const
|
|
384
|
-
return Be([
|
|
383
|
+
const d = r + (l - r) * m, T = n + (a - n) * m, E = s + (c - s) * m, Y = i + (p - i) * m;
|
|
384
|
+
return Be([d, T, E, Y, o]);
|
|
385
385
|
};
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Ht(t, e) {
|
|
388
388
|
const r = ie(t), n = ie(e);
|
|
389
389
|
return (s) => {
|
|
390
|
-
const i = r.x + (n.x - r.x) * s, o = r.y + (n.y - r.y) * s, l = r.blur + (n.blur - r.blur) * s,
|
|
391
|
-
return
|
|
390
|
+
const i = r.x + (n.x - r.x) * s, o = r.y + (n.y - r.y) * s, l = r.blur + (n.blur - r.blur) * s, a = r.spread + (n.spread - r.spread) * s, c = me(r.color, n.color)(s);
|
|
391
|
+
return Ue({ inset: r.inset, x: i, y: o, blur: l, spread: a, color: c });
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
394
|
function Ge(t, e) {
|
|
395
|
-
var r, n, s, i, o, l,
|
|
396
|
-
return e === "translateX" ? new WebKitCSSMatrix(t.transform).m41 : e === "translateY" ? new WebKitCSSMatrix(t.transform).m42 : e === "translateZ" ? new WebKitCSSMatrix(t.transform).m43 : e === "rotateX" ? new WebKitCSSMatrix(t.transform).m12 : e === "rotateY" ? new WebKitCSSMatrix(t.transform).m21 : e === "rotateZ" ? new WebKitCSSMatrix(t.transform).m31 : e === "scaleX" ? new WebKitCSSMatrix(t.transform).m11 : e === "scaleY" ? new WebKitCSSMatrix(t.transform).m22 : e === "scaleZ" ? new WebKitCSSMatrix(t.transform).m33 : e === "skewX" ? new WebKitCSSMatrix(t.transform).m13 : e === "skewY" ? new WebKitCSSMatrix(t.transform).m23 : Number(e === "grayScale" ? (r = t.filter.match(/grayscale\((\d+)%\)/)) == null ? void 0 : r[1] : e === "sepia" ? (n = t.filter.match(/sepia\((\d+)%\)/)) == null ? void 0 : n[1] : e === "saturate" ? (s = t.filter.match(/saturate\((\d+)%\)/)) == null ? void 0 : s[1] : e === "hueRotate" ? (i = t.filter.match(/hue-rotate\((\d+)deg\)/)) == null ? void 0 : i[1] : e === "invert" ? (o = t.filter.match(/invert\((\d+)%\)/)) == null ? void 0 : o[1] : e === "brightness" ? (l = t.filter.match(/brightness\((\d+)%\)/)) == null ? void 0 : l[1] : e === "contrast" ? (
|
|
395
|
+
var r, n, s, i, o, l, a, c;
|
|
396
|
+
return e === "translateX" ? new WebKitCSSMatrix(t.transform).m41 : e === "translateY" ? new WebKitCSSMatrix(t.transform).m42 : e === "translateZ" ? new WebKitCSSMatrix(t.transform).m43 : e === "rotateX" ? new WebKitCSSMatrix(t.transform).m12 : e === "rotateY" ? new WebKitCSSMatrix(t.transform).m21 : e === "rotateZ" ? new WebKitCSSMatrix(t.transform).m31 : e === "scaleX" ? new WebKitCSSMatrix(t.transform).m11 : e === "scaleY" ? new WebKitCSSMatrix(t.transform).m22 : e === "scaleZ" ? new WebKitCSSMatrix(t.transform).m33 : e === "skewX" ? new WebKitCSSMatrix(t.transform).m13 : e === "skewY" ? new WebKitCSSMatrix(t.transform).m23 : Number(e === "grayScale" ? (r = t.filter.match(/grayscale\((\d+)%\)/)) == null ? void 0 : r[1] : e === "sepia" ? (n = t.filter.match(/sepia\((\d+)%\)/)) == null ? void 0 : n[1] : e === "saturate" ? (s = t.filter.match(/saturate\((\d+)%\)/)) == null ? void 0 : s[1] : e === "hueRotate" ? (i = t.filter.match(/hue-rotate\((\d+)deg\)/)) == null ? void 0 : i[1] : e === "invert" ? (o = t.filter.match(/invert\((\d+)%\)/)) == null ? void 0 : o[1] : e === "brightness" ? (l = t.filter.match(/brightness\((\d+)%\)/)) == null ? void 0 : l[1] : e === "contrast" ? (a = t.filter.match(/contrast\((\d+)%\)/)) == null ? void 0 : a[1] : e === "blur" ? (c = t.filter.match(/blur\((\d+)px\)/)) == null ? void 0 : c[1] : t.getPropertyValue(e));
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Kt(t, e) {
|
|
399
399
|
const r = {}, n = getComputedStyle(t);
|
|
400
400
|
for (const [s, i] of Object.entries(e)) {
|
|
401
401
|
const o = s;
|
|
@@ -406,12 +406,12 @@ function Ut(t, e) {
|
|
|
406
406
|
function R(t, e, r) {
|
|
407
407
|
r != null && (e === "translateX" ? t.style.transform += ` translateX(${r}px)` : e === "translateY" ? t.style.transform += ` translateY(${r}px)` : e === "translateZ" ? t.style.transform += ` translateZ(${r}px)` : e === "rotateX" ? t.style.transform += ` rotateX(${r}deg)` : e === "rotateY" ? t.style.transform += ` rotateY(${r}deg)` : e === "rotateZ" ? t.style.transform += ` rotateZ(${r}deg)` : e === "scaleX" ? t.style.transform += ` scaleX(${r})` : e === "scaleY" ? t.style.transform += ` scaleY(${r})` : e === "scaleZ" ? t.style.transform += ` scaleZ(${r})` : e === "skewX" ? t.style.transform += ` skewX(${r}deg)` : e === "skewY" ? t.style.transform += ` skewY(${r}deg)` : e === "grayScale" ? t.style.filter += ` grayscale(${r}%)` : e === "sepia" ? t.style.filter += ` sepia(${r}%)` : e === "saturate" ? t.style.filter += ` saturate(${r}%)` : e === "hueRotate" ? t.style.filter += ` hue-rotate(${r}deg)` : e === "invert" ? t.style.filter += ` invert(${r}%)` : e === "brightness" ? t.style.filter += ` brightness(${r}%)` : e === "contrast" ? t.style.filter += ` contrast(${r}%)` : e === "blur" && (t.style.filter += ` blur(${r}px)`), t.style.setProperty(e, String(r)));
|
|
408
408
|
}
|
|
409
|
-
const
|
|
409
|
+
const j = /* @__PURE__ */ new Map();
|
|
410
410
|
function pe(t, e, r) {
|
|
411
|
-
if (
|
|
412
|
-
return
|
|
411
|
+
if (j.has(r + ":" + t + e))
|
|
412
|
+
return j.get(t + e);
|
|
413
413
|
const n = Je(t, e);
|
|
414
|
-
return
|
|
414
|
+
return j.set(r + ":" + t + e, n), n;
|
|
415
415
|
}
|
|
416
416
|
function me(t, e) {
|
|
417
417
|
return pe(t, e, "c");
|
|
@@ -439,7 +439,7 @@ function et(t, e, r, n, s) {
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function Ut(t, e, r, n) {
|
|
443
443
|
t.style.transform = "", t.style.filter = "";
|
|
444
444
|
for (const [s, i] of Object.entries(r)) {
|
|
445
445
|
const o = s;
|
|
@@ -456,7 +456,7 @@ const ge = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]
|
|
|
456
456
|
"colSpan",
|
|
457
457
|
"tabIndex",
|
|
458
458
|
"valueAsNumber"
|
|
459
|
-
]), be = /* @__PURE__ */ new Set(["valueAsDate"]),
|
|
459
|
+
]), be = /* @__PURE__ */ new Set(["valueAsDate"]), ve = /* @__PURE__ */ new Set([
|
|
460
460
|
"value",
|
|
461
461
|
"textContent",
|
|
462
462
|
"innerText",
|
|
@@ -464,13 +464,13 @@ const ge = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]
|
|
|
464
464
|
"outerHTML",
|
|
465
465
|
"className",
|
|
466
466
|
"classList"
|
|
467
|
-
]),
|
|
467
|
+
]), k = /* @__PURE__ */ new Map();
|
|
468
468
|
function C(t, e) {
|
|
469
|
-
if (
|
|
470
|
-
return
|
|
469
|
+
if (k.has(t))
|
|
470
|
+
return k.get(t);
|
|
471
471
|
{
|
|
472
472
|
const r = e(t);
|
|
473
|
-
return
|
|
473
|
+
return k.set(t, r), r;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
function tt(t) {
|
|
@@ -498,13 +498,13 @@ function it(t) {
|
|
|
498
498
|
r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
|
|
499
499
|
};
|
|
500
500
|
}
|
|
501
|
-
function
|
|
502
|
-
return ge.has(t) ? C(t, tt) : we.has(t) ? C(t, rt) : be.has(t) ? C(t, nt) :
|
|
501
|
+
function Se(t) {
|
|
502
|
+
return ge.has(t) ? C(t, tt) : we.has(t) ? C(t, rt) : be.has(t) ? C(t, nt) : ve.has(t) ? C(t, st) : C(t, it);
|
|
503
503
|
}
|
|
504
504
|
function Ae(t) {
|
|
505
|
-
return (e) => ge.has(t) ? !!e[t] : we.has(t) ? Number(e[t]) : be.has(t) ? e[t] :
|
|
505
|
+
return (e) => ge.has(t) ? !!e[t] : we.has(t) ? Number(e[t]) : be.has(t) ? e[t] : ve.has(t) ? String(e[t]) : e.getAttribute(t);
|
|
506
506
|
}
|
|
507
|
-
class
|
|
507
|
+
class A {
|
|
508
508
|
/**
|
|
509
509
|
* Constructs a new `DOMContext` instance.
|
|
510
510
|
*
|
|
@@ -522,19 +522,19 @@ class v {
|
|
|
522
522
|
* @param namespace - The namespace URI to create the element in, or `undefined` to create a standard HTML element.
|
|
523
523
|
* @returns The newly created element.
|
|
524
524
|
*/
|
|
525
|
-
|
|
525
|
+
u(this, "createElement", (e, r) => r !== void 0 ? this.document.createElementNS(r, e) : this.document.createElement(e));
|
|
526
526
|
/**
|
|
527
527
|
* Creates a new text node with the specified text content.
|
|
528
528
|
* @param text - The text content for the new text node.
|
|
529
529
|
* @returns A new `Text` node with the specified text content.
|
|
530
530
|
*/
|
|
531
|
-
|
|
531
|
+
u(this, "createText", (e) => this.document.createTextNode(e));
|
|
532
532
|
/**
|
|
533
533
|
* Creates a new `DOMContext` with a reference to a newly created text node.
|
|
534
534
|
* The text node is appended or inserted to the current `DOMContext`.
|
|
535
535
|
* The new `DOMContext` with the reference is returned.
|
|
536
536
|
*/
|
|
537
|
-
|
|
537
|
+
u(this, "makeRef", () => {
|
|
538
538
|
const e = this.createText("");
|
|
539
539
|
return this.appendOrInsert(e), this.withReference(e);
|
|
540
540
|
});
|
|
@@ -543,7 +543,7 @@ class v {
|
|
|
543
543
|
*
|
|
544
544
|
* @param child - The child node to append or insert.
|
|
545
545
|
*/
|
|
546
|
-
|
|
546
|
+
u(this, "appendOrInsert", (e) => {
|
|
547
547
|
this.reference === void 0 ? this.element.appendChild(e) : this.element.insertBefore(e, this.reference);
|
|
548
548
|
});
|
|
549
549
|
/**
|
|
@@ -552,18 +552,18 @@ class v {
|
|
|
552
552
|
* @param document - The `Document` to use for the `DOMContext`.
|
|
553
553
|
* @returns A new `DOMContext` instance.
|
|
554
554
|
*/
|
|
555
|
-
|
|
555
|
+
u(this, "withDocument", (e) => new A(e, this.element, this.reference, this.providers, !0));
|
|
556
556
|
/**
|
|
557
557
|
* Creates a new `DOMContext` instance with the provided `element`.
|
|
558
558
|
* @param element - The DOM element to use in the new `DOMContext` instance.
|
|
559
559
|
* @returns A new `DOMContext` instance with the provided `element`.
|
|
560
560
|
*/
|
|
561
|
-
|
|
561
|
+
u(this, "withElement", (e) => new A(this.document, e, void 0, this.providers, !1));
|
|
562
562
|
/**
|
|
563
563
|
* Creates a new `DOMContext` instance with the `isFirstLevel` property set to `true`.
|
|
564
564
|
* @returns A new `DOMContext` instance with the `isFirstLevel` property set to `true`.
|
|
565
565
|
*/
|
|
566
|
-
|
|
566
|
+
u(this, "withFirstLevel", () => new A(
|
|
567
567
|
this.document,
|
|
568
568
|
this.element,
|
|
569
569
|
this.reference,
|
|
@@ -576,7 +576,7 @@ class v {
|
|
|
576
576
|
* @param reference - The optional `Text` node to use as the reference for the new `DOMContext`.
|
|
577
577
|
* @returns A new `DOMContext` instance with the specified reference.
|
|
578
578
|
*/
|
|
579
|
-
|
|
579
|
+
u(this, "withReference", (e) => new A(
|
|
580
580
|
this.document,
|
|
581
581
|
this.element,
|
|
582
582
|
e,
|
|
@@ -589,7 +589,7 @@ class v {
|
|
|
589
589
|
* @param value - The value to set for the provider.
|
|
590
590
|
* @returns A new DOMContext with the updated providers.
|
|
591
591
|
*/
|
|
592
|
-
|
|
592
|
+
u(this, "withProvider", (e, r) => new A(
|
|
593
593
|
this.document,
|
|
594
594
|
this.element,
|
|
595
595
|
this.reference,
|
|
@@ -606,7 +606,7 @@ class v {
|
|
|
606
606
|
* @param providers - An object containing the providers to be merged into the existing providers.
|
|
607
607
|
* @returns A new DOMContext instance with the merged providers.
|
|
608
608
|
*/
|
|
609
|
-
|
|
609
|
+
u(this, "withProviders", (e) => new A(
|
|
610
610
|
this.document,
|
|
611
611
|
this.element,
|
|
612
612
|
this.reference,
|
|
@@ -623,7 +623,7 @@ class v {
|
|
|
623
623
|
* @returns The provider for the given mark.
|
|
624
624
|
* @throws {Error} If the provider for the given mark is not found.
|
|
625
625
|
*/
|
|
626
|
-
|
|
626
|
+
u(this, "getProvider", (e) => {
|
|
627
627
|
if (this.providers[e] === void 0)
|
|
628
628
|
throw new Error(`Provider not found: ${e.description}`);
|
|
629
629
|
return this.providers[e];
|
|
@@ -638,10 +638,10 @@ class v {
|
|
|
638
638
|
* @returns A new `DOMContext` instance.
|
|
639
639
|
*/
|
|
640
640
|
static of(e, r) {
|
|
641
|
-
return new
|
|
641
|
+
return new A(e.ownerDocument, e, r, {}, !0);
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function v(t) {
|
|
645
645
|
const e = t;
|
|
646
646
|
e && e.onblur && (e.onblur = null), !(!t || t.ownerDocument === void 0) && t.parentElement && t.parentElement.removeChild(t);
|
|
647
647
|
}
|
|
@@ -651,7 +651,7 @@ function ot(t) {
|
|
|
651
651
|
function ye(t) {
|
|
652
652
|
return t.nodeType === 1;
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function at(t, e, r) {
|
|
655
655
|
let n = t.target;
|
|
656
656
|
for (; n != null && !(n instanceof HTMLAnchorElement); )
|
|
657
657
|
n = n.parentElement;
|
|
@@ -660,8 +660,8 @@ function ut(t, e, r) {
|
|
|
660
660
|
if (t.button !== 0 || t.ctrlKey || t.metaKey || s.target !== "_self" && s.target !== "" || s.getAttribute("download") != null)
|
|
661
661
|
return !0;
|
|
662
662
|
if (r) {
|
|
663
|
-
const { pathname: i, search: o, hash: l } = s,
|
|
664
|
-
if (s.getAttribute("href") !==
|
|
663
|
+
const { pathname: i, search: o, hash: l } = s, a = i + o + l;
|
|
664
|
+
if (s.getAttribute("href") !== a || e && !/\/[^/.]*$/.test(i))
|
|
665
665
|
return !0;
|
|
666
666
|
}
|
|
667
667
|
return !1;
|
|
@@ -671,36 +671,36 @@ const Jt = (t, e = {
|
|
|
671
671
|
checkExternalUrl: !0
|
|
672
672
|
}) => (r) => {
|
|
673
673
|
const { checkExtension: n, checkExternalUrl: s } = e;
|
|
674
|
-
|
|
674
|
+
at(
|
|
675
675
|
r,
|
|
676
676
|
n === !0,
|
|
677
677
|
s === !0
|
|
678
678
|
) || t() && r.preventDefault();
|
|
679
|
-
},
|
|
679
|
+
}, Ee = (t) => (e) => {
|
|
680
680
|
$e(e);
|
|
681
681
|
const r = e.createText(t);
|
|
682
682
|
return e.appendOrInsert(r), (n) => {
|
|
683
|
-
n &&
|
|
683
|
+
n && v(r);
|
|
684
684
|
};
|
|
685
|
-
},
|
|
685
|
+
}, _e = (t) => (e) => {
|
|
686
686
|
$e(e);
|
|
687
687
|
const r = e.createText(t.value);
|
|
688
688
|
e.appendOrInsert(r);
|
|
689
689
|
const n = t.on((s) => r.data = s);
|
|
690
690
|
return (s) => {
|
|
691
|
-
n(), s &&
|
|
691
|
+
n(), s && v(r);
|
|
692
692
|
};
|
|
693
693
|
};
|
|
694
694
|
function Gt(t) {
|
|
695
|
-
return
|
|
695
|
+
return h.is(t) ? _e(t) : Ee(t);
|
|
696
696
|
}
|
|
697
697
|
const g = (...t) => (e) => {
|
|
698
698
|
const r = t.map((n) => f(n)(e));
|
|
699
699
|
return (n) => {
|
|
700
700
|
r.forEach((s) => s(n));
|
|
701
701
|
};
|
|
702
|
-
},
|
|
703
|
-
},
|
|
702
|
+
}, b = () => () => {
|
|
703
|
+
}, ut = (t) => (e) => (Me(e), e.element.classList.add(...t), (r) => {
|
|
704
704
|
r && e.element.classList.remove(...t);
|
|
705
705
|
}), lt = (t) => (e) => {
|
|
706
706
|
Me(e);
|
|
@@ -712,8 +712,8 @@ const g = (...t) => (e) => {
|
|
|
712
712
|
return (i) => {
|
|
713
713
|
s(), i && n.forEach((o) => r.classList.remove(o)), n.length = 0;
|
|
714
714
|
};
|
|
715
|
-
},
|
|
716
|
-
const r =
|
|
715
|
+
}, V = (t, e) => {
|
|
716
|
+
const r = Se(t), n = Ae(t);
|
|
717
717
|
return (s) => {
|
|
718
718
|
Ce(s, t);
|
|
719
719
|
const i = n(s.element);
|
|
@@ -721,8 +721,8 @@ const g = (...t) => (e) => {
|
|
|
721
721
|
o && r(s.element, i);
|
|
722
722
|
};
|
|
723
723
|
};
|
|
724
|
-
},
|
|
725
|
-
const r =
|
|
724
|
+
}, q = (t, e) => {
|
|
725
|
+
const r = Se(t), n = Ae(t);
|
|
726
726
|
return (s) => {
|
|
727
727
|
Ce(s, t);
|
|
728
728
|
const i = n(s.element);
|
|
@@ -733,12 +733,12 @@ const g = (...t) => (e) => {
|
|
|
733
733
|
}, P = new Proxy(
|
|
734
734
|
{},
|
|
735
735
|
{
|
|
736
|
-
get: (t, e) => e === "class" ? (r) =>
|
|
736
|
+
get: (t, e) => e === "class" ? (r) => h.is(r) ? lt(r) : ut(
|
|
737
737
|
(r ?? "").split(" ").filter((n) => n.length > 0)
|
|
738
|
-
) : (r) =>
|
|
738
|
+
) : (r) => h.is(r) ? q(
|
|
739
739
|
e,
|
|
740
740
|
r
|
|
741
|
-
) :
|
|
741
|
+
) : V(
|
|
742
742
|
e,
|
|
743
743
|
r
|
|
744
744
|
)
|
|
@@ -746,10 +746,10 @@ const g = (...t) => (e) => {
|
|
|
746
746
|
), Qt = new Proxy(
|
|
747
747
|
{},
|
|
748
748
|
{
|
|
749
|
-
get: (t, e) => (r) =>
|
|
749
|
+
get: (t, e) => (r) => h.is(r) ? q(
|
|
750
750
|
`aria-${e}`,
|
|
751
751
|
r
|
|
752
|
-
) :
|
|
752
|
+
) : V(
|
|
753
753
|
`aria-${e}`,
|
|
754
754
|
r
|
|
755
755
|
)
|
|
@@ -757,10 +757,10 @@ const g = (...t) => (e) => {
|
|
|
757
757
|
), er = new Proxy(
|
|
758
758
|
{},
|
|
759
759
|
{
|
|
760
|
-
get: (t, e) => (r) =>
|
|
760
|
+
get: (t, e) => (r) => h.is(r) ? q(
|
|
761
761
|
e,
|
|
762
762
|
r
|
|
763
|
-
) :
|
|
763
|
+
) : V(
|
|
764
764
|
e,
|
|
765
765
|
r
|
|
766
766
|
)
|
|
@@ -768,60 +768,62 @@ const g = (...t) => (e) => {
|
|
|
768
768
|
), tr = new Proxy(
|
|
769
769
|
{},
|
|
770
770
|
{
|
|
771
|
-
get: (t, e) => (r) =>
|
|
771
|
+
get: (t, e) => (r) => h.is(r) ? q(
|
|
772
772
|
e,
|
|
773
773
|
r
|
|
774
|
-
) :
|
|
774
|
+
) : V(
|
|
775
775
|
e,
|
|
776
776
|
r
|
|
777
777
|
)
|
|
778
778
|
}
|
|
779
779
|
);
|
|
780
780
|
function f(t) {
|
|
781
|
-
return t == null ?
|
|
781
|
+
return t == null ? b : Array.isArray(t) ? g(...t.map(f)) : typeof t == "string" ? Ee(t) : h.is(t) ? _e(t) : t;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function Te(t, ...e) {
|
|
784
784
|
return (r) => {
|
|
785
785
|
const n = r.createElement(t, void 0);
|
|
786
|
-
r.isFirstLevel &&
|
|
786
|
+
r.isFirstLevel && U.isSSR() && Ne(n), r.appendOrInsert(n), r = r.withElement(n);
|
|
787
787
|
const s = e.map((i) => f(i)(r));
|
|
788
788
|
return (i) => {
|
|
789
|
-
s.forEach((o) => o(!1)), i &&
|
|
789
|
+
s.forEach((o) => o(!1)), i && v(n);
|
|
790
790
|
};
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function Pe(t, e, ...r) {
|
|
794
794
|
return (n) => {
|
|
795
795
|
const s = n.createElement(t, e);
|
|
796
|
-
n.isFirstLevel &&
|
|
796
|
+
n.isFirstLevel && U.isSSR() && Ne(s), n.appendOrInsert(s), n = n.withElement(s);
|
|
797
797
|
const i = r.map((o) => f(o)(n));
|
|
798
798
|
return (o) => {
|
|
799
|
-
i.forEach((l) => l(!1)), o &&
|
|
799
|
+
i.forEach((l) => l(!1)), o && v(s);
|
|
800
800
|
};
|
|
801
801
|
};
|
|
802
802
|
}
|
|
803
803
|
const rr = new Proxy(
|
|
804
804
|
{},
|
|
805
805
|
{
|
|
806
|
-
get: (t, e) => (...r) =>
|
|
806
|
+
get: (t, e) => (...r) => Te(e, r.flatMap(f))
|
|
807
807
|
}
|
|
808
808
|
), nr = new Proxy(
|
|
809
809
|
{},
|
|
810
810
|
{
|
|
811
|
-
get: (t, e) => (...r) =>
|
|
811
|
+
get: (t, e) => (...r) => Te("input", P.type(e), ...r)
|
|
812
812
|
}
|
|
813
813
|
), ct = "http://www.w3.org/2000/svg", sr = new Proxy(
|
|
814
814
|
{},
|
|
815
815
|
{
|
|
816
|
-
get: (t, e) => (...r) =>
|
|
816
|
+
get: (t, e) => (...r) => Pe(e, ct, r.flatMap(f))
|
|
817
817
|
}
|
|
818
818
|
), ft = "http://www.w3.org/1998/Math/MathML", ir = new Proxy(
|
|
819
819
|
{},
|
|
820
820
|
{
|
|
821
|
-
get: (t, e) => (...r) =>
|
|
821
|
+
get: (t, e) => (...r) => Pe(e, ft, r.flatMap(f))
|
|
822
822
|
}
|
|
823
|
-
)
|
|
824
|
-
|
|
823
|
+
);
|
|
824
|
+
let w = !1;
|
|
825
|
+
const M = "data-tempo-attr", x = "data-tempo-class", De = "data-tempo-node", F = "data-tempo-text";
|
|
826
|
+
function dt(t, e) {
|
|
825
827
|
const r = t.getAttribute(e);
|
|
826
828
|
if (r != null) {
|
|
827
829
|
const n = t.getAttribute(M) ?? "{}", s = { ...JSON.parse(n), name: r };
|
|
@@ -829,9 +831,9 @@ function ht(t, e) {
|
|
|
829
831
|
}
|
|
830
832
|
}
|
|
831
833
|
function Ce(t, e) {
|
|
832
|
-
|
|
834
|
+
console.log("maybeAddAttributeTracker", e, w, t.isFirstLevel), w && t.isFirstLevel && dt(t.element, e);
|
|
833
835
|
}
|
|
834
|
-
function
|
|
836
|
+
function ht(t) {
|
|
835
837
|
t.querySelectorAll(`[${M}]`).forEach((e) => {
|
|
836
838
|
const r = JSON.parse(e.getAttribute(M) ?? "{}");
|
|
837
839
|
for (const [n, s] of Object.entries(r))
|
|
@@ -843,7 +845,7 @@ function pt(t) {
|
|
|
843
845
|
t.setAttribute(x, t.className);
|
|
844
846
|
}
|
|
845
847
|
function Me(t) {
|
|
846
|
-
|
|
848
|
+
console.log("maybeAddClassTracker", w, t.isFirstLevel), w && t.isFirstLevel && pt(t.element);
|
|
847
849
|
}
|
|
848
850
|
function mt(t) {
|
|
849
851
|
t.querySelectorAll(`[${x}]`).forEach((e) => {
|
|
@@ -852,44 +854,39 @@ function mt(t) {
|
|
|
852
854
|
});
|
|
853
855
|
}
|
|
854
856
|
function Ne(t) {
|
|
855
|
-
t.setAttribute(
|
|
857
|
+
t.setAttribute(De, "");
|
|
856
858
|
}
|
|
857
859
|
function gt(t) {
|
|
858
|
-
t.querySelectorAll(`[${
|
|
859
|
-
|
|
860
|
+
t.querySelectorAll(`[${De}]`).forEach((e) => {
|
|
861
|
+
v(e);
|
|
860
862
|
});
|
|
861
863
|
}
|
|
862
864
|
function wt(t) {
|
|
863
|
-
t.setAttribute(
|
|
865
|
+
t.setAttribute(F, t.textContent ?? "");
|
|
864
866
|
}
|
|
865
867
|
function $e(t) {
|
|
866
|
-
|
|
868
|
+
console.log("maybeAddTextTracker", w, t.isFirstLevel), w && t.isFirstLevel && wt(t.element);
|
|
867
869
|
}
|
|
868
870
|
function bt(t) {
|
|
869
|
-
t.querySelectorAll(`[${
|
|
870
|
-
e.textContent = e.getAttribute(
|
|
871
|
+
t.querySelectorAll(`[${F}]`).forEach((e) => {
|
|
872
|
+
e.textContent = e.getAttribute(F), e.removeAttribute(F);
|
|
871
873
|
});
|
|
872
874
|
}
|
|
873
|
-
function
|
|
874
|
-
gt(t), mt(t),
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
const
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
});
|
|
889
|
-
}, T = {
|
|
890
|
-
useDone: (t) => (U++, f(t(() => U--))),
|
|
891
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
892
|
-
isSSR: () => window[F] === !0
|
|
875
|
+
function vt(t) {
|
|
876
|
+
gt(t), mt(t), ht(t), bt(t);
|
|
877
|
+
}
|
|
878
|
+
let H = 0;
|
|
879
|
+
const or = (t = 30) => (w = !0, new Promise((e, r) => {
|
|
880
|
+
let n;
|
|
881
|
+
const s = setInterval(() => {
|
|
882
|
+
H <= 0 && (clearInterval(s), clearTimeout(n), w = !1, e());
|
|
883
|
+
}, 500);
|
|
884
|
+
n = setTimeout(() => {
|
|
885
|
+
clearInterval(s), w = !1, r(new Error("SSR Timeout"));
|
|
886
|
+
}, t * 1e3);
|
|
887
|
+
})), U = {
|
|
888
|
+
useDone: (t) => (H++, f(t(() => H--))),
|
|
889
|
+
isSSR: () => w
|
|
893
890
|
}, Le = (t, e) => (r) => {
|
|
894
891
|
const n = Object.values(t).reduce((s, i) => {
|
|
895
892
|
const o = r.getProvider(i);
|
|
@@ -898,17 +895,17 @@ const or = (t = 30) => {
|
|
|
898
895
|
return s[i] = o, s;
|
|
899
896
|
}, {});
|
|
900
897
|
return f(e(n))(r);
|
|
901
|
-
},
|
|
898
|
+
}, ar = (t, e) => (r) => {
|
|
902
899
|
const n = [], s = Object.entries(t).reduce(
|
|
903
900
|
(i, [o, l]) => (n.push(
|
|
904
|
-
l((
|
|
901
|
+
l((a) => (Reflect.set(i, o, a), null))(r)
|
|
905
902
|
), i),
|
|
906
903
|
{}
|
|
907
904
|
);
|
|
908
905
|
return n.push(e(s)(r)), (i) => {
|
|
909
906
|
n.forEach((o) => o(i));
|
|
910
907
|
};
|
|
911
|
-
},
|
|
908
|
+
}, St = (t, e) => Le([t], (r) => f(e(r[t]))), ur = (t, e) => Le(t, (r) => f(e(r))), $ = (t) => (e) => (r) => t(r, e);
|
|
912
909
|
function At(t) {
|
|
913
910
|
return Symbol(t);
|
|
914
911
|
}
|
|
@@ -925,7 +922,7 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
925
922
|
* @returns The child component with the appearance context.
|
|
926
923
|
*/
|
|
927
924
|
provide: (t) => {
|
|
928
|
-
const e = window.matchMedia != null && window.matchMedia("(prefers-color-scheme: dark)").matches, r =
|
|
925
|
+
const e = window.matchMedia != null && window.matchMedia("(prefers-color-scheme: dark)").matches, r = y(e ? "dark" : "light"), n = (i) => {
|
|
929
926
|
r.set(i.matches ? "dark" : "light");
|
|
930
927
|
}, s = window.matchMedia != null ? window.matchMedia("(prefers-color-scheme: dark)") : void 0;
|
|
931
928
|
return s == null || s.addEventListener("change", n), g(
|
|
@@ -940,28 +937,28 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
940
937
|
* @param fn - A function that accepts the `AppearanceType` signal and returns a `Child` element.
|
|
941
938
|
* @returns The `Child` element returned by the provided function.
|
|
942
939
|
*/
|
|
943
|
-
consume: (t) =>
|
|
940
|
+
consume: (t) => St(oe, t)
|
|
944
941
|
}, Oe = (t, e) => {
|
|
945
942
|
if (typeof e == "function")
|
|
946
943
|
return Oe(t, { then: e });
|
|
947
|
-
const r = e.pending != null ? f(e.pending) :
|
|
944
|
+
const r = e.pending != null ? f(e.pending) : b, n = e.then, s = e.error != null ? (i) => f(e.error(i)) : () => b;
|
|
948
945
|
return (i) => {
|
|
949
946
|
let o = !0;
|
|
950
947
|
const l = t();
|
|
951
948
|
i = i.makeRef();
|
|
952
|
-
let
|
|
949
|
+
let a = f(r)(i);
|
|
953
950
|
return l.then(
|
|
954
951
|
(c) => {
|
|
955
|
-
o && (
|
|
952
|
+
o && (a(!0), a = f(n(c))(i));
|
|
956
953
|
},
|
|
957
954
|
(c) => {
|
|
958
|
-
o && (
|
|
955
|
+
o && (a(!0), a = f(s(c))(i));
|
|
959
956
|
}
|
|
960
957
|
), (c) => {
|
|
961
|
-
o = !1,
|
|
958
|
+
o = !1, a(c), c && i.reference && v(i.reference);
|
|
962
959
|
};
|
|
963
960
|
};
|
|
964
|
-
},
|
|
961
|
+
}, dr = (t, e) => Oe(() => t, e), hr = (t = 10) => (e) => {
|
|
965
962
|
const r = setTimeout(() => {
|
|
966
963
|
var n;
|
|
967
964
|
(n = e.element) == null || n.focus();
|
|
@@ -977,19 +974,19 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
977
974
|
};
|
|
978
975
|
}, Re = (t, e) => (r) => (r.element.addEventListener(t, e), (n) => {
|
|
979
976
|
n && r.element.removeEventListener(t, e);
|
|
980
|
-
}),
|
|
977
|
+
}), Et = (t) => Re("click", (e) => {
|
|
981
978
|
e.preventDefault();
|
|
982
979
|
const r = e.target;
|
|
983
980
|
setTimeout(() => {
|
|
984
981
|
const n = r.ownerDocument != null ? r == null ? void 0 : r.checked : void 0;
|
|
985
982
|
n != null && t(!n);
|
|
986
983
|
}, 0);
|
|
987
|
-
}),
|
|
984
|
+
}), Z = new Proxy(
|
|
988
985
|
{},
|
|
989
986
|
{
|
|
990
987
|
get: (t, e) => (r) => Re(e, r)
|
|
991
988
|
}
|
|
992
|
-
),
|
|
989
|
+
), X = {
|
|
993
990
|
value: (t) => (e) => {
|
|
994
991
|
const r = e.target;
|
|
995
992
|
t(r.value);
|
|
@@ -1034,50 +1031,50 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
1034
1031
|
e.stopImmediatePropagation(), t();
|
|
1035
1032
|
}
|
|
1036
1033
|
};
|
|
1037
|
-
function
|
|
1034
|
+
function _t(t, e = "input") {
|
|
1038
1035
|
return g(
|
|
1039
1036
|
P.valueAsDate(t),
|
|
1040
|
-
|
|
1037
|
+
Z[e](X.valueAsDate(t.set))
|
|
1041
1038
|
);
|
|
1042
1039
|
}
|
|
1043
|
-
function
|
|
1040
|
+
function Tt(t, e = "input") {
|
|
1044
1041
|
return g(
|
|
1045
1042
|
P.valueAsDate(t),
|
|
1046
|
-
|
|
1043
|
+
Z[e](X.valueAsDateTime(t.set))
|
|
1047
1044
|
);
|
|
1048
1045
|
}
|
|
1049
|
-
function
|
|
1046
|
+
function Pt(t, e = "input") {
|
|
1050
1047
|
return g(
|
|
1051
1048
|
P.valueAsNumber(t),
|
|
1052
|
-
|
|
1049
|
+
Z[e](X.valueAsNumber(t.set))
|
|
1053
1050
|
);
|
|
1054
1051
|
}
|
|
1055
|
-
function
|
|
1056
|
-
return g(P.value(t),
|
|
1052
|
+
function Dt(t, e = "input") {
|
|
1053
|
+
return g(P.value(t), Z[e](X.value(t.set)));
|
|
1057
1054
|
}
|
|
1058
1055
|
function Ct(t) {
|
|
1059
|
-
return g(P.checked(t),
|
|
1056
|
+
return g(P.checked(t), Et(t.set));
|
|
1060
1057
|
}
|
|
1061
1058
|
const mr = {
|
|
1062
|
-
date:
|
|
1063
|
-
dateTime:
|
|
1064
|
-
number:
|
|
1065
|
-
text:
|
|
1059
|
+
date: _t,
|
|
1060
|
+
dateTime: Tt,
|
|
1061
|
+
number: Pt,
|
|
1062
|
+
text: Dt,
|
|
1066
1063
|
checked: Ct
|
|
1067
1064
|
}, O = (t, e) => (r) => {
|
|
1068
1065
|
r = r.makeRef();
|
|
1069
1066
|
let n, s;
|
|
1070
|
-
const i = t.map((
|
|
1067
|
+
const i = t.map((a) => Object.keys(a)[0]);
|
|
1071
1068
|
let o;
|
|
1072
|
-
const l = i.on((
|
|
1073
|
-
if (
|
|
1074
|
-
s == null || s.dispose(), n == null || n(!0), s = t.map((p) => p[
|
|
1075
|
-
const c = e[
|
|
1076
|
-
n = f(c)(r), o =
|
|
1069
|
+
const l = i.on((a) => {
|
|
1070
|
+
if (a !== o) {
|
|
1071
|
+
s == null || s.dispose(), n == null || n(!0), s = t.map((p) => p[a]);
|
|
1072
|
+
const c = e[a](s);
|
|
1073
|
+
n = f(c)(r), o = a;
|
|
1077
1074
|
}
|
|
1078
1075
|
});
|
|
1079
|
-
return (
|
|
1080
|
-
l(),
|
|
1076
|
+
return (a) => {
|
|
1077
|
+
l(), a && r.reference != null && v(r.reference), n == null || n(!0);
|
|
1081
1078
|
};
|
|
1082
1079
|
}, L = {
|
|
1083
1080
|
bool: (t, e) => O(
|
|
@@ -1100,7 +1097,7 @@ const mr = {
|
|
|
1100
1097
|
e
|
|
1101
1098
|
)
|
|
1102
1099
|
}, gr = (t, e) => (r) => {
|
|
1103
|
-
const n = (e == null ? void 0 : e.firstSeparator) ??
|
|
1100
|
+
const n = (e == null ? void 0 : e.firstSeparator) ?? b, s = (e == null ? void 0 : e.lastSeparator) ?? b;
|
|
1104
1101
|
return L.value(
|
|
1105
1102
|
r.map((i) => i.isFirst ? "first" : i.isLast ? "last" : "other"),
|
|
1106
1103
|
{
|
|
@@ -1110,15 +1107,15 @@ const mr = {
|
|
|
1110
1107
|
}
|
|
1111
1108
|
);
|
|
1112
1109
|
}, wr = (t) => (e) => t(e)(e), br = (t) => (e) => (e.appendOrInsert(t), (r) => {
|
|
1113
|
-
r &&
|
|
1110
|
+
r && v(t);
|
|
1114
1111
|
}), Mt = (t, e, r) => (n) => {
|
|
1115
1112
|
n = n.makeRef();
|
|
1116
1113
|
let s = null, i = !1;
|
|
1117
|
-
const o =
|
|
1118
|
-
|
|
1114
|
+
const o = y(null), l = t.on((a) => {
|
|
1115
|
+
a == null ? (s == null || s(!0), s = f((r == null ? void 0 : r()) ?? b)(n), i = !1) : (o.value = a, i || (s == null || s(!0), s = f(e(o))(n), i = !0));
|
|
1119
1116
|
});
|
|
1120
|
-
return (
|
|
1121
|
-
l(), s == null || s(
|
|
1117
|
+
return (a) => {
|
|
1118
|
+
l(), s == null || s(a), a && n.reference && v(n.reference);
|
|
1122
1119
|
};
|
|
1123
1120
|
}, xe = (t, e, r) => r != null ? xe(t, (n) => {
|
|
1124
1121
|
const s = n.map((i) => i.isLast ? "last" : "other");
|
|
@@ -1126,31 +1123,31 @@ const mr = {
|
|
|
1126
1123
|
$(() => s.dispose()),
|
|
1127
1124
|
f(e(n)),
|
|
1128
1125
|
L.value(s, {
|
|
1129
|
-
last: () =>
|
|
1126
|
+
last: () => b,
|
|
1130
1127
|
other: () => r(n)
|
|
1131
1128
|
})
|
|
1132
1129
|
);
|
|
1133
1130
|
}) : (n) => {
|
|
1134
1131
|
n = n.makeRef();
|
|
1135
1132
|
const s = t.map(
|
|
1136
|
-
(
|
|
1137
|
-
(c) => new
|
|
1133
|
+
(a) => Array.from({ length: a }, (c, p) => p).map(
|
|
1134
|
+
(c) => new ke(c, a)
|
|
1138
1135
|
)
|
|
1139
|
-
), i = [], o = [], l = s.on((
|
|
1136
|
+
), i = [], o = [], l = s.on((a) => {
|
|
1140
1137
|
var p, m;
|
|
1141
|
-
const c =
|
|
1138
|
+
const c = a.length;
|
|
1142
1139
|
for (; c < i.length; )
|
|
1143
1140
|
(p = i.pop()) == null || p(!0), (m = o.pop()) == null || m.dispose();
|
|
1144
|
-
for (let
|
|
1145
|
-
if (o[
|
|
1146
|
-
o[
|
|
1147
|
-
const
|
|
1148
|
-
i[
|
|
1141
|
+
for (let d = 0; d < c; d++)
|
|
1142
|
+
if (o[d] == null) {
|
|
1143
|
+
o[d] = y(a[d]);
|
|
1144
|
+
const T = f(e(o[d]));
|
|
1145
|
+
i[d] = T(n);
|
|
1149
1146
|
} else
|
|
1150
|
-
o[
|
|
1147
|
+
o[d].value = a[d];
|
|
1151
1148
|
});
|
|
1152
|
-
return (
|
|
1153
|
-
l(),
|
|
1149
|
+
return (a) => {
|
|
1150
|
+
l(), a && n.reference && v(n.reference);
|
|
1154
1151
|
};
|
|
1155
1152
|
}, Nt = (t, e, r) => r != null ? Nt(t, (n, s) => {
|
|
1156
1153
|
const i = s.map((o) => o.isLast ? "last" : "other");
|
|
@@ -1158,14 +1155,14 @@ const mr = {
|
|
|
1158
1155
|
$(() => i.dispose()),
|
|
1159
1156
|
f(e(n, s)),
|
|
1160
1157
|
L.value(i, {
|
|
1161
|
-
last: () =>
|
|
1158
|
+
last: () => b,
|
|
1162
1159
|
other: () => r(s)
|
|
1163
1160
|
})
|
|
1164
1161
|
]);
|
|
1165
1162
|
}) : (n) => {
|
|
1166
1163
|
const s = t.map((i) => i.length);
|
|
1167
1164
|
return xe(s, (i) => {
|
|
1168
|
-
const o =
|
|
1165
|
+
const o = K(
|
|
1169
1166
|
() => t.value[i.value.index],
|
|
1170
1167
|
[i, t]
|
|
1171
1168
|
);
|
|
@@ -1174,29 +1171,29 @@ const mr = {
|
|
|
1174
1171
|
f(e(o, i))
|
|
1175
1172
|
);
|
|
1176
1173
|
})(n);
|
|
1177
|
-
},
|
|
1174
|
+
}, vr = (t) => {
|
|
1178
1175
|
const e = t.element, r = e.style.getPropertyValue(":empty");
|
|
1179
1176
|
return e.style.setProperty(":empty", "display:none"), (n) => {
|
|
1180
1177
|
n && e.style.setProperty(":empty", r);
|
|
1181
1178
|
};
|
|
1182
1179
|
};
|
|
1183
|
-
function
|
|
1180
|
+
function Fe(t, e) {
|
|
1184
1181
|
const r = t(e);
|
|
1185
1182
|
return () => r(!0);
|
|
1186
1183
|
}
|
|
1187
|
-
function
|
|
1184
|
+
function Sr(t, e, { doc: r, clear: n } = {}) {
|
|
1188
1185
|
const s = typeof e == "string" ? (r ?? document).querySelector(e) : e;
|
|
1189
1186
|
if (s === null)
|
|
1190
1187
|
throw new Error(`Cannot find element by selector for render: ${e}`);
|
|
1191
|
-
n && (r ?? s.ownerDocument) != null &&
|
|
1192
|
-
const i = ot(s), o = ye(s) ? void 0 : s, l =
|
|
1193
|
-
return
|
|
1188
|
+
n && (r ?? s.ownerDocument) != null && vt(r ?? s.ownerDocument);
|
|
1189
|
+
const i = ot(s), o = ye(s) ? void 0 : s, l = A.of(i, o);
|
|
1190
|
+
return Fe(t, l);
|
|
1194
1191
|
}
|
|
1195
1192
|
const $t = (t, e) => (r) => {
|
|
1196
1193
|
const n = r.document.querySelector(t);
|
|
1197
1194
|
if (n === null)
|
|
1198
1195
|
throw new Error(`Cannot find element by selector for portal: ${t}`);
|
|
1199
|
-
return
|
|
1196
|
+
return Fe(
|
|
1200
1197
|
f(e),
|
|
1201
1198
|
r.withElement(n).withFirstLevel()
|
|
1202
1199
|
);
|
|
@@ -1220,7 +1217,7 @@ const $t = (t, e) => (r) => {
|
|
|
1220
1217
|
rootMargin: "0px",
|
|
1221
1218
|
threshold: 1
|
|
1222
1219
|
}
|
|
1223
|
-
},
|
|
1220
|
+
}, W = {
|
|
1224
1221
|
partial: /* @__PURE__ */ new Map(),
|
|
1225
1222
|
full: /* @__PURE__ */ new Map()
|
|
1226
1223
|
}, N = {
|
|
@@ -1230,26 +1227,26 @@ const $t = (t, e) => (r) => {
|
|
|
1230
1227
|
function Ot(t) {
|
|
1231
1228
|
return N[t] == null && (N[t] = new IntersectionObserver((e) => {
|
|
1232
1229
|
e.forEach((r) => {
|
|
1233
|
-
const n =
|
|
1230
|
+
const n = W[t].get(r.target);
|
|
1234
1231
|
n == null || n.set(r.isIntersecting);
|
|
1235
1232
|
});
|
|
1236
1233
|
}, It[t])), N[t];
|
|
1237
1234
|
}
|
|
1238
1235
|
function Rt(t, e) {
|
|
1239
|
-
const r =
|
|
1236
|
+
const r = y(U.isSSR());
|
|
1240
1237
|
return g(
|
|
1241
1238
|
Lt((n) => {
|
|
1242
1239
|
const s = typeof IntersectionObserver < "u" ? Ot(t) : null;
|
|
1243
|
-
return
|
|
1240
|
+
return W[t].set(n, r), s == null || s.observe(n), () => {
|
|
1244
1241
|
var i;
|
|
1245
|
-
s == null || s.unobserve(n),
|
|
1242
|
+
s == null || s.unobserve(n), W[t].delete(n), W[t].size === 0 && ((i = N[t]) == null || i.disconnect(), N[t] = null);
|
|
1246
1243
|
};
|
|
1247
1244
|
}),
|
|
1248
1245
|
$(r.dispose),
|
|
1249
1246
|
f(e(r))
|
|
1250
1247
|
);
|
|
1251
1248
|
}
|
|
1252
|
-
const
|
|
1249
|
+
const Er = (t, e, r) => Rt(t, (n) => B(n, e, r ?? b)), _r = (t, e) => (r) => {
|
|
1253
1250
|
r = r.makeRef();
|
|
1254
1251
|
const n = t.map((o) => f(e(o)));
|
|
1255
1252
|
let s = () => {
|
|
@@ -1261,7 +1258,7 @@ const _r = (t, e, r) => Rt(t, (n) => B(n, e, r ?? w)), Er = (t, e) => (r) => {
|
|
|
1261
1258
|
i(), s(o);
|
|
1262
1259
|
};
|
|
1263
1260
|
};
|
|
1264
|
-
function
|
|
1261
|
+
function Tr(t, e, r = b) {
|
|
1265
1262
|
return B(
|
|
1266
1263
|
t.map((n) => n.length > 0),
|
|
1267
1264
|
e,
|
|
@@ -1269,15 +1266,15 @@ function Pr(t, e, r = w) {
|
|
|
1269
1266
|
);
|
|
1270
1267
|
}
|
|
1271
1268
|
const xt = (t) => (e) => {
|
|
1272
|
-
const r = e.element, n =
|
|
1269
|
+
const r = e.element, n = y({ width: r.clientWidth, height: r.clientHeight }), s = f(t(n))(e), i = () => {
|
|
1273
1270
|
n.set({ width: r.clientWidth, height: r.clientHeight });
|
|
1274
1271
|
};
|
|
1275
1272
|
let o;
|
|
1276
1273
|
return typeof ResizeObserver == "function" && (o = new ResizeObserver(i), o.observe(r)), (l) => {
|
|
1277
1274
|
o == null || o.disconnect(), s(l);
|
|
1278
1275
|
};
|
|
1279
|
-
},
|
|
1280
|
-
const r =
|
|
1276
|
+
}, Ft = (t) => (e) => {
|
|
1277
|
+
const r = y({
|
|
1281
1278
|
width: (window == null ? void 0 : window.innerWidth) ?? 0,
|
|
1282
1279
|
height: (window == null ? void 0 : window.innerHeight) ?? 0
|
|
1283
1280
|
}), n = f(t(r))(e), s = () => {
|
|
@@ -1289,10 +1286,10 @@ const xt = (t) => (e) => {
|
|
|
1289
1286
|
return window == null || window.addEventListener("resize", s), (i) => {
|
|
1290
1287
|
window == null || window.removeEventListener("resize", s), n(i);
|
|
1291
1288
|
};
|
|
1292
|
-
},
|
|
1289
|
+
}, Pr = {
|
|
1293
1290
|
element: xt,
|
|
1294
|
-
window:
|
|
1295
|
-
},
|
|
1291
|
+
window: Ft
|
|
1292
|
+
}, Wt = (t, e) => (r) => {
|
|
1296
1293
|
const n = r.element, s = n.style.getPropertyValue(t);
|
|
1297
1294
|
return n.style.setProperty(t, e), (i) => {
|
|
1298
1295
|
i && n.style.setProperty(t, s);
|
|
@@ -1302,74 +1299,74 @@ const xt = (t) => (e) => {
|
|
|
1302
1299
|
return e.on((i) => n.style.setProperty(t, i)), (i) => {
|
|
1303
1300
|
i && n.style.setProperty(t, s);
|
|
1304
1301
|
};
|
|
1305
|
-
},
|
|
1302
|
+
}, Dr = new Proxy(
|
|
1306
1303
|
{},
|
|
1307
1304
|
{
|
|
1308
|
-
get: (t, e) => (r) =>
|
|
1305
|
+
get: (t, e) => (r) => h.is(r) ? zt(e, r) : Wt(e, r)
|
|
1309
1306
|
}
|
|
1310
1307
|
);
|
|
1311
1308
|
export {
|
|
1312
|
-
|
|
1313
|
-
|
|
1309
|
+
dr as Async,
|
|
1310
|
+
hr as AutoFocus,
|
|
1314
1311
|
pr as AutoSelect,
|
|
1315
1312
|
D as Computed,
|
|
1316
1313
|
gr as Conjunction,
|
|
1317
1314
|
wr as Ctx,
|
|
1318
|
-
|
|
1315
|
+
A as DOMContext,
|
|
1319
1316
|
br as DOMEl,
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1317
|
+
Te as El,
|
|
1318
|
+
Pe as ElNS,
|
|
1319
|
+
b as Empty,
|
|
1323
1320
|
Mt as Ensure,
|
|
1324
1321
|
Nt as ForEach,
|
|
1325
1322
|
g as Fragment,
|
|
1326
1323
|
Ar as HTMLTitle,
|
|
1327
|
-
|
|
1324
|
+
vr as HiddenWhenEmpty,
|
|
1328
1325
|
Rt as InViewport,
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1326
|
+
_r as MapSignal,
|
|
1327
|
+
de as MemoryStore,
|
|
1328
|
+
Tr as NotEmpty,
|
|
1329
|
+
Et as OnChecked,
|
|
1333
1330
|
$ as OnDispose,
|
|
1334
1331
|
Lt as OnMount,
|
|
1335
1332
|
$t as Portal,
|
|
1336
|
-
|
|
1337
|
-
|
|
1333
|
+
ke as Position,
|
|
1334
|
+
z as Prop,
|
|
1338
1335
|
lr as Provide,
|
|
1339
1336
|
xe as Repeat,
|
|
1340
|
-
|
|
1337
|
+
h as Signal,
|
|
1341
1338
|
Oe as Task,
|
|
1342
1339
|
Gt as Text,
|
|
1343
1340
|
yr as Unless,
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1341
|
+
ar as Use,
|
|
1342
|
+
St as UseProvider,
|
|
1343
|
+
ur as UseProviders,
|
|
1347
1344
|
B as When,
|
|
1348
|
-
|
|
1345
|
+
Er as WhenInViewport,
|
|
1349
1346
|
yt as WithProvider,
|
|
1350
1347
|
cr as WithProviders,
|
|
1351
1348
|
Ne as addNodeTracker,
|
|
1352
|
-
|
|
1349
|
+
Ke as animate,
|
|
1353
1350
|
jt as animateOne,
|
|
1354
1351
|
fr as appearance,
|
|
1355
1352
|
oe as appearanceMarker,
|
|
1356
1353
|
Bt as applyAnimatable,
|
|
1357
1354
|
R as applyAnimatableProp,
|
|
1358
|
-
|
|
1355
|
+
Ut as applyInterpolatedAnimatable,
|
|
1359
1356
|
et as applyInterpolatedAnimatableProp,
|
|
1360
1357
|
Qt as aria,
|
|
1361
1358
|
P as attr,
|
|
1362
1359
|
mr as bind,
|
|
1363
1360
|
f as childToMountable,
|
|
1364
|
-
|
|
1361
|
+
vt as clearSSR,
|
|
1365
1362
|
Be as colorChannelsToString,
|
|
1366
|
-
|
|
1367
|
-
|
|
1363
|
+
K as computed,
|
|
1364
|
+
kt as computedRecord,
|
|
1368
1365
|
Xe as dateInterpolate,
|
|
1369
1366
|
qt as effect,
|
|
1370
|
-
|
|
1367
|
+
X as emit,
|
|
1371
1368
|
Ye as endInterpolate,
|
|
1372
|
-
|
|
1369
|
+
Kt as getComputedAnimatable,
|
|
1373
1370
|
Ge as getComputedAnimatableProp,
|
|
1374
1371
|
ot as getSelfOrParentElement,
|
|
1375
1372
|
je as guessInterpolate,
|
|
@@ -1377,44 +1374,44 @@ export {
|
|
|
1377
1374
|
rr as html,
|
|
1378
1375
|
nr as input,
|
|
1379
1376
|
Je as interpolateColor,
|
|
1380
|
-
|
|
1377
|
+
Ht as interpolateShadow,
|
|
1381
1378
|
ye as isElement,
|
|
1382
1379
|
Ae as makeGetter,
|
|
1383
1380
|
At as makeProviderMark,
|
|
1384
|
-
|
|
1381
|
+
Se as makeSetter,
|
|
1385
1382
|
ir as math,
|
|
1386
1383
|
tr as mathAttr,
|
|
1387
1384
|
Ce as maybeAddAttributeTracker,
|
|
1388
1385
|
Me as maybeAddClassTracker,
|
|
1389
1386
|
$e as maybeAddTextTracker,
|
|
1390
1387
|
qe as numberInterpolate,
|
|
1391
|
-
|
|
1388
|
+
Z as on,
|
|
1392
1389
|
L as oneof,
|
|
1393
1390
|
se as parseColorChannels,
|
|
1394
|
-
|
|
1391
|
+
y as prop,
|
|
1395
1392
|
Xt as propOfLocalStorage,
|
|
1396
1393
|
Yt as propOfSessionStorage,
|
|
1397
|
-
|
|
1398
|
-
|
|
1394
|
+
he as propOfStorage,
|
|
1395
|
+
ht as removeAttributeTrackers,
|
|
1399
1396
|
mt as removeClassTrackers,
|
|
1400
|
-
|
|
1397
|
+
v as removeDOMNode,
|
|
1401
1398
|
gt as removeNodeTrackers,
|
|
1402
1399
|
bt as removeTextTrackers,
|
|
1403
|
-
|
|
1404
|
-
|
|
1400
|
+
Sr as render,
|
|
1401
|
+
Fe as renderWithContext,
|
|
1405
1402
|
it as setAttribute,
|
|
1406
1403
|
tt as setBooleanProperty,
|
|
1407
1404
|
nt as setDateProperty,
|
|
1408
1405
|
rt as setNumberProperty,
|
|
1409
1406
|
st as setStringProperty,
|
|
1410
1407
|
Zt as signal,
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1408
|
+
_e as signalText,
|
|
1409
|
+
Pr as size,
|
|
1410
|
+
U as ssr,
|
|
1414
1411
|
or as startSSR,
|
|
1415
|
-
|
|
1412
|
+
Ee as staticText,
|
|
1416
1413
|
Ze as stringInterpolate,
|
|
1417
|
-
|
|
1414
|
+
Dr as style,
|
|
1418
1415
|
sr as svg,
|
|
1419
1416
|
er as svgAttr
|
|
1420
1417
|
};
|