@tempots/dom 10.0.0 → 10.0.2

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.js CHANGED
@@ -1,31 +1,31 @@
1
- var Fe = Object.defineProperty;
2
- var Oe = (t, e, r) => e in t ? Fe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var a = (t, e, r) => Oe(t, typeof e != "symbol" ? e + "" : e, r);
4
- function We(t, e, r) {
1
+ var ze = Object.defineProperty;
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 a = (t, e, r) => Ve(t, typeof e != "symbol" ? e + "" : e, r);
4
+ function qe(t, e, r) {
5
5
  return t + (e - t) * r;
6
6
  }
7
- const k = 97;
8
- function xe(t, e, r) {
7
+ const Q = 97;
8
+ function Ze(t, e, r) {
9
9
  const n = Math.max(t.length, e.length);
10
10
  let s = "";
11
11
  for (let i = 0; i < n; i++) {
12
12
  let o = t.charCodeAt(i);
13
- isNaN(o) && (o = k);
14
- let u = e.charCodeAt(i);
15
- isNaN(u) && (u = k), s += String.fromCharCode(o + (u - o) * r);
13
+ isNaN(o) && (o = Q);
14
+ let l = e.charCodeAt(i);
15
+ isNaN(l) && (l = Q), s += String.fromCharCode(o + (l - o) * r);
16
16
  }
17
17
  return s;
18
18
  }
19
- function ze(t, e, r) {
19
+ function Xe(t, e, r) {
20
20
  return new Date(t.getTime() + (e.getTime() - t.getTime()) * r);
21
21
  }
22
- function Ve(t, e, r) {
22
+ function Ye(t, e, r) {
23
23
  return e;
24
24
  }
25
- function qe(t) {
26
- return typeof t == "number" ? We : typeof t == "string" ? xe : t instanceof Date ? ze : Ve;
25
+ function He(t) {
26
+ return typeof t == "number" ? qe : typeof t == "string" ? Ze : t instanceof Date ? Xe : Ye;
27
27
  }
28
- class Ze {
28
+ class Ke {
29
29
  constructor(e, r) {
30
30
  this.index = e, this.total = r;
31
31
  }
@@ -43,11 +43,11 @@ class Ze {
43
43
  }
44
44
  }
45
45
  const ee = Symbol("isSignal"), te = Symbol("isProp"), re = Symbol("isComputed");
46
- var le;
47
- le = ee;
48
- const P = class P {
46
+ var ue;
47
+ ue = ee;
48
+ const E = class E {
49
49
  constructor(e, r) {
50
- a(this, le, !0);
50
+ a(this, ue, !0);
51
51
  a(this, "_value");
52
52
  a(this, "_derivatives", []);
53
53
  a(this, "_onValueListeners", []);
@@ -70,7 +70,7 @@ const P = class P {
70
70
  this._disposed || (this._disposed = !0, this._onDisposeListeners.forEach((e) => e()), this._onDisposeListeners.length = 0, this._derivatives.length = 0);
71
71
  });
72
72
  a(this, "map", (e, r = (n, s) => n === s) => {
73
- const n = new L(() => {
73
+ const n = new D(() => {
74
74
  try {
75
75
  return e(this.get());
76
76
  } catch (s) {
@@ -80,7 +80,7 @@ const P = class P {
80
80
  return this.setDerivative(n), n;
81
81
  });
82
82
  a(this, "flatMap", (e, r = (n, s) => n === s) => {
83
- const n = new L(() => {
83
+ const n = new D(() => {
84
84
  try {
85
85
  return e(this.get()).get();
86
86
  } catch (s) {
@@ -93,7 +93,7 @@ const P = class P {
93
93
  a(this, "at", (e) => this.map((r) => r[e]));
94
94
  a(this, "filter", (e, r) => {
95
95
  let n = r ?? this.get();
96
- const s = new L(() => {
96
+ const s = new D(() => {
97
97
  try {
98
98
  const i = this.get();
99
99
  return n = e(i) ? i : n;
@@ -105,10 +105,10 @@ const P = class P {
105
105
  });
106
106
  a(this, "filterMap", (e, r, n = (s, i) => s === i) => {
107
107
  let s = r;
108
- const i = new L(() => {
108
+ const i = new D(() => {
109
109
  try {
110
- const o = this.get(), u = e(o);
111
- return s = u ?? s;
110
+ const o = this.get(), l = e(o);
111
+ return s = l ?? s;
112
112
  } catch (o) {
113
113
  throw console.error("Error in Signal.filterMap:", o), o;
114
114
  }
@@ -116,16 +116,16 @@ const P = class P {
116
116
  return this.setDerivative(i), i;
117
117
  });
118
118
  a(this, "mapAsync", (e, r, n, s = (i, o) => i === o) => {
119
- const i = y(r, s);
119
+ const i = A(r, s);
120
120
  let o = 0;
121
121
  return i.onDispose(
122
- this.on((u) => {
123
- const l = ++o;
122
+ this.on((l) => {
123
+ const u = ++o;
124
124
  try {
125
- e(u).then((c) => {
126
- l === o && i.set(c);
125
+ e(l).then((c) => {
126
+ u === o && i.set(c);
127
127
  }).catch((c) => {
128
- l === o && (n != null ? i.set(n(c)) : console.error(
128
+ u === o && (n != null ? i.set(n(c)) : console.error(
129
129
  "Unhandled promise rejection in Signal.mapAsync:",
130
130
  c
131
131
  ));
@@ -141,7 +141,7 @@ const P = class P {
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
- a(this, "deriveProp", (e = !0) => this.feedProp(y(this.get()), e));
144
+ a(this, "deriveProp", (e = !0) => this.feedProp(A(this.get()), e));
145
145
  a(this, "count", () => {
146
146
  let e = 0;
147
147
  return this.map(() => ++e);
@@ -157,7 +157,7 @@ const P = class P {
157
157
  this.equals = r, this._value = e;
158
158
  }
159
159
  static ofPromise(e, r, n, s = (i, o) => i === o) {
160
- const i = new P(r, s);
160
+ const i = new E(r, s);
161
161
  return e.then((o) => i._setAndNotify(o, !1)).catch((o) => {
162
162
  n != null ? i._setAndNotify(n(o), !1) : console.error(
163
163
  "Unhandled promise rejection in Signal.ofPromise:",
@@ -169,25 +169,25 @@ const P = class P {
169
169
  return e != null && e[ee] === !0;
170
170
  }
171
171
  static wrap(e, r = (n, s) => n === s) {
172
- return P.is(e) ? e : new P(e, r);
172
+ return E.is(e) ? e : new E(e, r);
173
173
  }
174
174
  static maybeWrap(e) {
175
- return e == null ? e : P.wrap(e);
175
+ return e == null ? e : E.wrap(e);
176
176
  }
177
177
  static unwrap(e) {
178
- return P.is(e) ? e.get() : e;
178
+ return E.is(e) ? e.get() : e;
179
179
  }
180
180
  static map(e, r) {
181
- return P.is(e) ? e.map(r) : r(e);
181
+ return E.is(e) ? e.map(r) : r(e);
182
182
  }
183
183
  get value() {
184
184
  return this._value;
185
185
  }
186
186
  };
187
- let p = P;
188
- const Xe = typeof queueMicrotask == "function" ? queueMicrotask : (t) => Promise.resolve().then(t);
189
- var ae, ue;
190
- class L extends (ue = p, ae = re, ue) {
187
+ let d = E;
188
+ const je = typeof queueMicrotask == "function" ? queueMicrotask : (t) => Promise.resolve().then(t);
189
+ var ae, le;
190
+ class D extends (le = d, ae = re, le) {
191
191
  constructor(r, n) {
192
192
  super(void 0, n);
193
193
  a(this, ae, !0);
@@ -198,7 +198,7 @@ class L extends (ue = p, ae = re, ue) {
198
198
  a(this, "_scheduleCount", 0);
199
199
  a(this, "scheduleNotify", () => {
200
200
  const r = ++this._scheduleCount;
201
- Xe(() => {
201
+ je(() => {
202
202
  this._scheduleCount !== r || this._disposed !== !1 || this._isDirty && (this._isDirty = !1, this._setAndNotify(this._fn(), !1));
203
203
  });
204
204
  });
@@ -213,7 +213,7 @@ class L extends (ue = p, ae = re, ue) {
213
213
  }
214
214
  }
215
215
  var ce, fe;
216
- class O extends (fe = p, ce = te, fe) {
216
+ class V extends (fe = d, ce = te, fe) {
217
217
  constructor() {
218
218
  super(...arguments);
219
219
  a(this, ce, !0);
@@ -225,7 +225,7 @@ class O extends (fe = p, ce = te, fe) {
225
225
  });
226
226
  a(this, "reducer", (r) => (n) => this.update((s) => r(s, n)));
227
227
  a(this, "iso", (r, n, s = (i, o) => i === o) => {
228
- const i = new O(r(this.get()), s);
228
+ const i = new V(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
  a(this, "atProp", (r) => this.iso(
@@ -244,17 +244,17 @@ class O extends (fe = p, ce = te, fe) {
244
244
  }
245
245
  }
246
246
  function B(t, e, r = (n, s) => n === s) {
247
- const n = new L(t, r);
247
+ const n = new D(t, r);
248
248
  return e.forEach((s) => s.setDerivative(n)), n;
249
249
  }
250
- function Ct(t, e) {
250
+ function qt(t, e) {
251
251
  return B(t, e).dispose;
252
252
  }
253
- function y(t, e = (r, n) => r === n) {
254
- return new O(t, e);
253
+ function A(t, e = (r, n) => r === n) {
254
+ return new V(t, e);
255
255
  }
256
- function Tt(t, e = (r, n) => r === n) {
257
- return new p(t, e);
256
+ function Zt(t, e = (r, n) => r === n) {
257
+ return new d(t, e);
258
258
  }
259
259
  class he {
260
260
  constructor() {
@@ -271,24 +271,24 @@ function de({
271
271
  store: r,
272
272
  serialize: n = JSON.stringify,
273
273
  deserialize: s = JSON.parse,
274
- equals: i = (u, l) => u === l,
275
- onLoad: o = (u) => u
274
+ equals: i = (l, u) => l === u,
275
+ onLoad: o = (l) => l
276
276
  }) {
277
- const u = r.getItem(t), l = new O(
278
- u != null ? o(s(u)) : typeof e == "function" ? e() : e,
277
+ const l = r.getItem(t), u = new V(
278
+ l != null ? o(s(l)) : typeof e == "function" ? e() : e,
279
279
  i
280
280
  );
281
- return l.on((c) => {
281
+ return u.on((c) => {
282
282
  r.setItem(t, n(c));
283
- }), l;
283
+ }), u;
284
284
  }
285
- function Rt(t) {
285
+ function Xt(t) {
286
286
  return de({
287
287
  ...t,
288
288
  store: (window == null ? void 0 : window.localStorage) ?? new he()
289
289
  });
290
290
  }
291
- function Nt(t) {
291
+ function Yt(t) {
292
292
  return de({
293
293
  ...t,
294
294
  store: (window == null ? void 0 : window.sessionStorage) ?? new he()
@@ -297,32 +297,32 @@ function Nt(t) {
297
297
  function ne(t) {
298
298
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame(t) : setTimeout(t, 0);
299
299
  }
300
- function Ye(t, e, r, n) {
301
- const s = (n == null ? void 0 : n.duration) ?? 300, i = (n == null ? void 0 : n.easing) ?? ((v) => v), o = (n == null ? void 0 : n.equals) ?? ((v, R) => v === R);
302
- let u = n == null ? void 0 : n.interpolate, l = t, c = e(), m = performance.now(), g = null, d = !0;
303
- const _ = new L(e, o), E = y(t, o);
304
- E.onDispose(() => {
305
- g !== null && cancelAnimationFrame(g);
306
- }), E.onDispose(_.dispose), r.forEach((v) => {
307
- v.setDerivative(_), v.onDispose(E.dispose);
300
+ function Ue(t, e, r, n) {
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, L) => S === L);
302
+ let l = n == null ? void 0 : n.interpolate, u = t, c = e(), p = performance.now(), m = null, h = !0;
303
+ const _ = new D(e, o), y = A(t, o);
304
+ y.onDispose(() => {
305
+ m !== null && cancelAnimationFrame(m);
306
+ }), y.onDispose(_.dispose), r.forEach((S) => {
307
+ S.setDerivative(_), S.onDispose(y.dispose);
308
308
  });
309
- const Z = (v) => {
310
- c = v, m = performance.now(), l = E.value, d && (d = !1, g = ne(J));
311
- }, J = () => {
312
- const R = (performance.now() - m) / p.unwrap(s), Ie = i(R);
313
- u == null && (u = qe(l));
314
- let Q = u(l, c, Ie);
315
- R >= 1 ? (d = !0, Q = c) : g = ne(J), E.set(Q);
309
+ const H = (S) => {
310
+ c = S, p = performance.now(), u = y.value, h && (h = !1, m = ne(G));
311
+ }, G = () => {
312
+ const L = (performance.now() - p) / d.unwrap(s), Fe = i(L);
313
+ l == null && (l = He(u));
314
+ let J = l(u, c, Fe);
315
+ L >= 1 ? (h = !0, J = c) : m = ne(G), y.set(J);
316
316
  };
317
- return _.on(Z), E;
317
+ return _.on(H), y;
318
318
  }
319
- function It(t, e) {
319
+ function Ht(t, e) {
320
320
  const { initialValue: r, ...n } = e ?? {};
321
- return Ye(r ?? t.get(), t.get, [t], n);
321
+ return Ue(r ?? t.get(), t.get, [t], n);
322
322
  }
323
- function Ft(t, e) {
323
+ function Kt(t, e) {
324
324
  const { signals: r, literals: n } = Object.entries(t).reduce(
325
- ({ signals: i, literals: o }, [u, l]) => (p.is(l) ? i.push([u, l]) : o[u] = l, { signals: i, literals: o }),
325
+ ({ signals: i, literals: o }, [l, u]) => (d.is(u) ? i.push([l, u]) : o[l] = u, { signals: i, literals: o }),
326
326
  { signals: [], literals: {} }
327
327
  ), s = r.map(([, i]) => i);
328
328
  return B(() => (r.forEach(([i, o]) => n[i] = o.value), e(n)), s);
@@ -360,103 +360,103 @@ function ie(t) {
360
360
  spread: 0,
361
361
  color: "rgba(0, 0, 0, 0)"
362
362
  };
363
- const [, n, s, , , i, , o, , u, , l] = r, c = o != null ? parseInt(o, 10) : 0, m = u != null ? parseInt(u, 10) : 0;
363
+ const [, n, s, , , i, , o, , l, , u] = 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
- spread: m,
370
- color: l
369
+ spread: p,
370
+ color: u
371
371
  };
372
372
  }
373
- function He(t) {
373
+ function Be(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
  }
377
- function Ke(t) {
377
+ function ke(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
- function je(t, e) {
381
- const [r, n, s, i, o] = se(t), [u, l, c, m] = se(e);
382
- return (g) => {
383
- const d = r + (u - r) * g, _ = n + (l - n) * g, E = s + (c - s) * g, Z = i + (m - i) * g;
384
- return Ke([d, _, E, Z, o]);
380
+ function Ge(t, e) {
381
+ const [r, n, s, i, o] = se(t), [l, u, c, p] = se(e);
382
+ return (m) => {
383
+ const h = r + (l - r) * m, _ = n + (u - n) * m, y = s + (c - s) * m, H = i + (p - i) * m;
384
+ return ke([h, _, y, H, o]);
385
385
  };
386
386
  }
387
- function Ot(t, e) {
387
+ function jt(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, u = r.blur + (n.blur - r.blur) * s, l = r.spread + (n.spread - r.spread) * s, c = me(r.color, n.color)(s);
391
- return He({ inset: r.inset, x: i, y: o, blur: u, spread: l, color: c });
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, u = r.spread + (n.spread - r.spread) * s, c = me(r.color, n.color)(s);
391
+ return Be({ inset: r.inset, x: i, y: o, blur: l, spread: u, color: c });
392
392
  };
393
393
  }
394
- function Ue(t, e) {
395
- var r, n, s, i, o, u, l, 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" ? (u = t.filter.match(/brightness\((\d+)%\)/)) == null ? void 0 : u[1] : e === "contrast" ? (l = t.filter.match(/contrast\((\d+)%\)/)) == null ? void 0 : l[1] : e === "blur" ? (c = t.filter.match(/blur\((\d+)px\)/)) == null ? void 0 : c[1] : t.getPropertyValue(e));
394
+ function Je(t, e) {
395
+ var r, n, s, i, o, l, u, 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" ? (u = t.filter.match(/contrast\((\d+)%\)/)) == null ? void 0 : u[1] : e === "blur" ? (c = t.filter.match(/blur\((\d+)px\)/)) == null ? void 0 : c[1] : t.getPropertyValue(e));
397
397
  }
398
- function Wt(t, e) {
398
+ function Ut(t, e) {
399
399
  const r = {}, n = getComputedStyle(t);
400
400
  for (const [s, i] of Object.entries(e)) {
401
401
  const o = s;
402
- i != null && (r[o] = Ue(n, o));
402
+ i != null && (r[o] = Je(n, o));
403
403
  }
404
404
  return r;
405
405
  }
406
- function I(t, e, r) {
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 X = /* @__PURE__ */ new Map();
409
+ const K = /* @__PURE__ */ new Map();
410
410
  function pe(t, e, r) {
411
- if (X.has(r + ":" + t + e))
412
- return X.get(t + e);
413
- const n = je(t, e);
414
- return X.set(r + ":" + t + e, n), n;
411
+ if (K.has(r + ":" + t + e))
412
+ return K.get(t + e);
413
+ const n = Ge(t, e);
414
+ return K.set(r + ":" + t + e, n), n;
415
415
  }
416
416
  function me(t, e) {
417
417
  return pe(t, e, "c");
418
418
  }
419
- function Be(t, e) {
419
+ function Qe(t, e) {
420
420
  return pe(t, e, "s");
421
421
  }
422
- function Ge(t, e, r, n, s) {
422
+ function et(t, e, r, n, s) {
423
423
  if (r != null && n != null) {
424
424
  if (typeof r == "number" && typeof n == "number") {
425
425
  const i = r + (n - r) * s;
426
- I(t, e, i);
426
+ R(t, e, i);
427
427
  } else if (e === "boxShadow" || e === "textShadow") {
428
- const i = Be(
428
+ const i = Qe(
429
429
  r,
430
430
  n
431
431
  )(s);
432
- I(t, e, i);
432
+ R(t, e, i);
433
433
  } else if (e === "color" || e === "backgroundColor" || e === "borderColor" || e === "outlineColor") {
434
434
  const i = me(
435
435
  r,
436
436
  n
437
437
  )(s);
438
- I(t, e, i);
438
+ R(t, e, i);
439
439
  }
440
440
  }
441
441
  }
442
- function xt(t, e, r, n) {
442
+ function Bt(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;
446
- Ge(t, o, e[o], i, n);
446
+ et(t, o, e[o], i, n);
447
447
  }
448
448
  }
449
- function zt(t, e) {
449
+ function kt(t, e) {
450
450
  t.style.transform = "", t.style.filter = "";
451
451
  for (const [r, n] of Object.entries(e))
452
- n != null && I(t, r, n);
452
+ n != null && R(t, r, n);
453
453
  }
454
454
  const ge = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]), we = /* @__PURE__ */ new Set([
455
455
  "rowSpan",
456
456
  "colSpan",
457
457
  "tabIndex",
458
458
  "valueAsNumber"
459
- ]), Se = /* @__PURE__ */ new Set(["valueAsDate"]), ve = /* @__PURE__ */ new Set([
459
+ ]), be = /* @__PURE__ */ new Set(["valueAsDate"]), Se = /* @__PURE__ */ new Set([
460
460
  "value",
461
461
  "textContent",
462
462
  "innerText",
@@ -464,47 +464,47 @@ const ge = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]
464
464
  "outerHTML",
465
465
  "className",
466
466
  "classList"
467
- ]), Y = /* @__PURE__ */ new Map();
467
+ ]), j = /* @__PURE__ */ new Map();
468
468
  function $(t, e) {
469
- if (Y.has(t))
470
- return Y.get(t);
469
+ if (j.has(t))
470
+ return j.get(t);
471
471
  {
472
472
  const r = e(t);
473
- return Y.set(t, r), r;
473
+ return j.set(t, r), r;
474
474
  }
475
475
  }
476
- function Je(t) {
476
+ function tt(t) {
477
477
  return (e, r) => {
478
478
  r == null ? e[t] = null : e[t] = !!r;
479
479
  };
480
480
  }
481
- function Qe(t) {
481
+ function rt(t) {
482
482
  return (e, r) => {
483
483
  r == null ? e[t] = null : e[t] = Number(r);
484
484
  };
485
485
  }
486
- function ke(t) {
486
+ function nt(t) {
487
487
  return (e, r) => {
488
488
  r == null ? e[t] = null : e[t] = r;
489
489
  };
490
490
  }
491
- function et(t) {
491
+ function st(t) {
492
492
  return (e, r) => {
493
493
  r == null ? e[t] = null : e[t] = String(r);
494
494
  };
495
495
  }
496
- function tt(t) {
496
+ function it(t) {
497
497
  return (e, r) => {
498
498
  r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
499
499
  };
500
500
  }
501
- function be(t) {
502
- return ge.has(t) ? $(t, Je) : we.has(t) ? $(t, Qe) : Se.has(t) ? $(t, ke) : ve.has(t) ? $(t, et) : $(t, tt);
501
+ function ve(t) {
502
+ return ge.has(t) ? $(t, tt) : we.has(t) ? $(t, rt) : be.has(t) ? $(t, nt) : Se.has(t) ? $(t, st) : $(t, it);
503
503
  }
504
- function ye(t) {
505
- return (e) => ge.has(t) ? !!e[t] : we.has(t) ? Number(e[t]) : Se.has(t) ? e[t] : ve.has(t) ? String(e[t]) : e.getAttribute(t);
504
+ function Ae(t) {
505
+ return (e) => ge.has(t) ? !!e[t] : we.has(t) ? Number(e[t]) : be.has(t) ? e[t] : Se.has(t) ? String(e[t]) : e.getAttribute(t);
506
506
  }
507
- class b {
507
+ class v {
508
508
  /**
509
509
  * Constructs a new `DOMContext` instance.
510
510
  *
@@ -552,24 +552,18 @@ class b {
552
552
  * @param document - The `Document` to use for the `DOMContext`.
553
553
  * @returns A new `DOMContext` instance.
554
554
  */
555
- a(this, "withDocument", (e) => new b(
556
- e,
557
- this.element,
558
- this.reference,
559
- this.providers,
560
- !1
561
- ));
555
+ a(this, "withDocument", (e) => new v(e, this.element, this.reference, this.providers, !0));
562
556
  /**
563
557
  * Creates a new `DOMContext` instance with the provided `element`.
564
558
  * @param element - The DOM element to use in the new `DOMContext` instance.
565
559
  * @returns A new `DOMContext` instance with the provided `element`.
566
560
  */
567
- a(this, "withElement", (e) => new b(this.document, e, void 0, this.providers, !1));
561
+ a(this, "withElement", (e) => new v(this.document, e, void 0, this.providers, !1));
568
562
  /**
569
563
  * Creates a new `DOMContext` instance with the `isFirstLevel` property set to `true`.
570
564
  * @returns A new `DOMContext` instance with the `isFirstLevel` property set to `true`.
571
565
  */
572
- a(this, "withFirstLevel", () => new b(
566
+ a(this, "withFirstLevel", () => new v(
573
567
  this.document,
574
568
  this.element,
575
569
  this.reference,
@@ -582,7 +576,7 @@ class b {
582
576
  * @param reference - The optional `Text` node to use as the reference for the new `DOMContext`.
583
577
  * @returns A new `DOMContext` instance with the specified reference.
584
578
  */
585
- a(this, "withReference", (e) => new b(
579
+ a(this, "withReference", (e) => new v(
586
580
  this.document,
587
581
  this.element,
588
582
  e,
@@ -595,7 +589,7 @@ class b {
595
589
  * @param value - The value to set for the provider.
596
590
  * @returns A new DOMContext with the updated providers.
597
591
  */
598
- a(this, "withProvider", (e, r) => new b(
592
+ a(this, "withProvider", (e, r) => new v(
599
593
  this.document,
600
594
  this.element,
601
595
  this.reference,
@@ -612,7 +606,7 @@ class b {
612
606
  * @param providers - An object containing the providers to be merged into the existing providers.
613
607
  * @returns A new DOMContext instance with the merged providers.
614
608
  */
615
- a(this, "withProviders", (e) => new b(
609
+ a(this, "withProviders", (e) => new v(
616
610
  this.document,
617
611
  this.element,
618
612
  this.reference,
@@ -644,20 +638,20 @@ class b {
644
638
  * @returns A new `DOMContext` instance.
645
639
  */
646
640
  static of(e, r) {
647
- return new b(e.ownerDocument, e, r, {}, !0);
641
+ return new v(e.ownerDocument, e, r, {}, !0);
648
642
  }
649
643
  }
650
- function A(t) {
644
+ function b(t) {
651
645
  const e = t;
652
646
  e && e.onblur && (e.onblur = null), !(!t || t.ownerDocument === void 0) && t.parentElement && t.parentElement.removeChild(t);
653
647
  }
654
- function rt(t) {
655
- return Ae(t) ? t : t.parentElement;
648
+ function ot(t) {
649
+ return ye(t) ? t : t.parentElement;
656
650
  }
657
- function Ae(t) {
651
+ function ye(t) {
658
652
  return t.nodeType === 1;
659
653
  }
660
- function nt(t, e, r) {
654
+ function ut(t, e, r) {
661
655
  let n = t.target;
662
656
  for (; n != null && !(n instanceof HTMLAnchorElement); )
663
657
  n = n.parentElement;
@@ -666,55 +660,99 @@ function nt(t, e, r) {
666
660
  if (t.button !== 0 || t.ctrlKey || t.metaKey || s.target !== "_self" && s.target !== "" || s.getAttribute("download") != null)
667
661
  return !0;
668
662
  if (r) {
669
- const { pathname: i, search: o, hash: u } = s, l = i + o + u;
670
- if (s.getAttribute("href") !== l || e && !/\/[^/.]*$/.test(i))
663
+ const { pathname: i, search: o, hash: l } = s, u = i + o + l;
664
+ if (s.getAttribute("href") !== u || e && !/\/[^/.]*$/.test(i))
671
665
  return !0;
672
666
  }
673
667
  return !1;
674
668
  }
675
- const Vt = (t, e = {
669
+ const Gt = (t, e = {
676
670
  checkExtension: !0,
677
671
  checkExternalUrl: !0
678
672
  }) => (r) => {
679
673
  const { checkExtension: n, checkExternalUrl: s } = e;
680
- nt(
674
+ ut(
681
675
  r,
682
676
  n === !0,
683
677
  s === !0
684
678
  ) || t() && r.preventDefault();
685
- }, Ee = (t) => (e) => {
686
- e.isFirstLevel && h.isSSR && e.element.setAttribute("data-tempo-text", "");
679
+ }, z = "data-tempo-attr", O = "data-tempo-class", Ee = "data-tempo-node", x = "data-tempo-text";
680
+ function at(t, e) {
681
+ const r = t.getAttribute(z);
682
+ r != null && t.setAttribute(`${z}:${e}`, r);
683
+ }
684
+ function _e(t, e) {
685
+ T.isSSR && t.isFirstLevel && at(t.element, e);
686
+ }
687
+ function lt(t) {
688
+ t.querySelectorAll(`[^${z}:]`).forEach((e) => {
689
+ const r = e.getAttributeNames().filter((n) => n.startsWith(`${z}:`));
690
+ for (const n of r) {
691
+ const s = e.getAttribute(n), i = n.split("-").pop();
692
+ e.removeAttribute(n), e.setAttribute(i, s);
693
+ }
694
+ });
695
+ }
696
+ function ct(t) {
697
+ const e = t.className.trim();
698
+ e.length > 0 && t.setAttribute(O, e);
699
+ }
700
+ function Pe(t) {
701
+ T.isSSR && t.isFirstLevel && ct(t.element);
702
+ }
703
+ function ft(t) {
704
+ t.querySelectorAll(`[${O}]`).forEach((e) => {
705
+ const r = e.getAttribute(O);
706
+ r !== null && (e.className = r, e.removeAttribute(O));
707
+ });
708
+ }
709
+ function De(t) {
710
+ t.setAttribute(Ee, "");
711
+ }
712
+ function ht(t) {
713
+ t.querySelectorAll(`[${Ee}]`).forEach((e) => {
714
+ b(e);
715
+ });
716
+ }
717
+ function dt(t) {
718
+ t.setAttribute(x, t.textContent ?? "");
719
+ }
720
+ function Te(t) {
721
+ T.isSSR && t.isFirstLevel && dt(t.element);
722
+ }
723
+ function pt(t) {
724
+ t.querySelectorAll(`[${x}]`).forEach((e) => {
725
+ e.textContent = e.getAttribute(x), e.removeAttribute(x);
726
+ });
727
+ }
728
+ const $e = (t) => (e) => {
729
+ Te(e);
687
730
  const r = e.createText(t);
688
731
  return e.appendOrInsert(r), (n) => {
689
- n && A(r);
732
+ n && b(r);
690
733
  };
691
- }, Pe = (t) => (e) => {
692
- e.isFirstLevel && h.isSSR && e.element.setAttribute("data-tempo-text", "");
734
+ }, Ce = (t) => (e) => {
735
+ Te(e);
693
736
  const r = e.createText(t.value);
694
737
  e.appendOrInsert(r);
695
738
  const n = t.on((s) => r.data = s);
696
739
  return (s) => {
697
- n(), s && A(r);
740
+ n(), s && b(r);
698
741
  };
699
742
  };
700
- function qt(t) {
701
- return p.is(t) ? Pe(t) : Ee(t);
743
+ function Jt(t) {
744
+ return d.is(t) ? Ce(t) : $e(t);
702
745
  }
703
- const w = (...t) => (e) => {
746
+ const g = (...t) => (e) => {
704
747
  const r = t.map((n) => f(n)(e));
705
748
  return (n) => {
706
749
  r.forEach((s) => s(n));
707
750
  };
708
- }, S = () => () => {
709
- }, H = "data-tempo-attrs";
710
- function W(t, e) {
711
- const r = t.getAttribute(H);
712
- r === null ? t.setAttribute(H, e) : t.setAttribute(H, `${r} ${e}`);
713
- }
714
- const st = (t) => (e) => (console.log("className.static", e.isFirstLevel, h.isSSR), e.isFirstLevel && h.isSSR && W(e.element, "class"), e.element.classList.add(...t), (r) => {
751
+ }, w = () => () => {
752
+ }, mt = (t) => (e) => (Pe(e), e.element.classList.add(...t), (r) => {
715
753
  r && e.element.classList.remove(...t);
716
- }), it = (t) => (e) => {
717
- console.log("className.signal", e.isFirstLevel, h.isSSR), e.isFirstLevel && h.isSSR && W(e.element, "class");
754
+ }), gt = (t) => (e) => {
755
+ Pe(e);
718
756
  const r = e.element;
719
757
  let n = [];
720
758
  const s = t.on((i) => {
@@ -723,149 +761,134 @@ const st = (t) => (e) => (console.log("className.static", e.isFirstLevel, h.isSS
723
761
  return (i) => {
724
762
  s(), i && n.forEach((o) => r.classList.remove(o)), n.length = 0;
725
763
  };
726
- }, x = (t, e) => {
727
- const r = be(t), n = ye(t);
764
+ }, q = (t, e) => {
765
+ const r = ve(t), n = Ae(t);
728
766
  return (s) => {
729
- console.log("attribute.static", t, s.isFirstLevel, h.isSSR), s.isFirstLevel && h.isSSR && W(s.element, t);
767
+ _e(s, t);
730
768
  const i = n(s.element);
731
769
  return r(s.element, e), (o) => {
732
770
  o && r(s.element, i);
733
771
  };
734
772
  };
735
- }, z = (t, e) => {
736
- const r = be(t), n = ye(t);
773
+ }, Z = (t, e) => {
774
+ const r = ve(t), n = Ae(t);
737
775
  return (s) => {
738
- console.log("attribute.signal", t, s.isFirstLevel, h.isSSR), s.isFirstLevel && h.isSSR && W(s.element, t);
776
+ _e(s, t);
739
777
  const i = n(s.element);
740
778
  return e.on((o) => r(s.element, o)), (o) => {
741
779
  o && r(s.element, i);
742
780
  };
743
781
  };
744
- }, D = new Proxy(
782
+ }, P = new Proxy(
745
783
  {},
746
784
  {
747
- get: (t, e) => e === "class" ? (r) => p.is(r) ? it(r) : st(
785
+ get: (t, e) => e === "class" ? (r) => d.is(r) ? gt(r) : mt(
748
786
  (r ?? "").split(" ").filter((n) => n.length > 0)
749
- ) : (r) => p.is(r) ? z(
787
+ ) : (r) => d.is(r) ? Z(
750
788
  e,
751
789
  r
752
- ) : x(
790
+ ) : q(
753
791
  e,
754
792
  r
755
793
  )
756
794
  }
757
- ), Zt = new Proxy(
795
+ ), Qt = new Proxy(
758
796
  {},
759
797
  {
760
- get: (t, e) => (r) => p.is(r) ? z(
798
+ get: (t, e) => (r) => d.is(r) ? Z(
761
799
  `aria-${e}`,
762
800
  r
763
- ) : x(
801
+ ) : q(
764
802
  `aria-${e}`,
765
803
  r
766
804
  )
767
805
  }
768
- ), Xt = new Proxy(
806
+ ), er = new Proxy(
769
807
  {},
770
808
  {
771
- get: (t, e) => (r) => p.is(r) ? z(
809
+ get: (t, e) => (r) => d.is(r) ? Z(
772
810
  e,
773
811
  r
774
- ) : x(
812
+ ) : q(
775
813
  e,
776
814
  r
777
815
  )
778
816
  }
779
- ), Yt = new Proxy(
817
+ ), tr = new Proxy(
780
818
  {},
781
819
  {
782
- get: (t, e) => (r) => p.is(r) ? z(
820
+ get: (t, e) => (r) => d.is(r) ? Z(
783
821
  e,
784
822
  r
785
- ) : x(
823
+ ) : q(
786
824
  e,
787
825
  r
788
826
  )
789
827
  }
790
828
  );
791
829
  function f(t) {
792
- return t == null ? S : Array.isArray(t) ? w(...t.map(f)) : typeof t == "string" ? Ee(t) : p.is(t) ? Pe(t) : t;
830
+ return t == null ? w : Array.isArray(t) ? g(...t.map(f)) : typeof t == "string" ? $e(t) : d.is(t) ? Ce(t) : t;
793
831
  }
794
- function _e(t, ...e) {
832
+ function Me(t, ...e) {
795
833
  return (r) => {
796
834
  const n = r.createElement(t, void 0);
797
- r.appendOrInsert(n), console.log("ctx.isFirstLevel", r.isFirstLevel, "ssr.isSSR", h.isSSR), r.isFirstLevel && h.isSSR && n.setAttribute("data-tempo-node", ""), r = r.withElement(n);
835
+ r.isFirstLevel && T.isSSR && De(n), r.appendOrInsert(n), r = r.withElement(n);
798
836
  const s = e.map((i) => f(i)(r));
799
837
  return (i) => {
800
- s.forEach((o) => o(!1)), i && A(n);
838
+ s.forEach((o) => o(!1)), i && b(n);
801
839
  };
802
840
  };
803
841
  }
804
- function De(t, e, ...r) {
842
+ function Ne(t, e, ...r) {
805
843
  return (n) => {
806
844
  const s = n.createElement(t, e);
807
- n.appendOrInsert(s), n.isFirstLevel && h.isSSR && s.setAttribute("data-tempo-node", ""), n = n.withElement(s);
845
+ n.isFirstLevel && T.isSSR && De(s), n.appendOrInsert(s), n = n.withElement(s);
808
846
  const i = r.map((o) => f(o)(n));
809
847
  return (o) => {
810
- i.forEach((u) => u(!1)), o && A(s);
848
+ i.forEach((l) => l(!1)), o && b(s);
811
849
  };
812
850
  };
813
851
  }
814
- const Ht = new Proxy(
852
+ const rr = new Proxy(
815
853
  {},
816
854
  {
817
- get: (t, e) => (...r) => _e(e, r.flatMap(f))
855
+ get: (t, e) => (...r) => Me(e, r.flatMap(f))
818
856
  }
819
- ), Kt = new Proxy(
857
+ ), nr = new Proxy(
820
858
  {},
821
859
  {
822
- get: (t, e) => (...r) => _e("input", D.type(e), ...r)
860
+ get: (t, e) => (...r) => Me("input", P.type(e), ...r)
823
861
  }
824
- ), ot = "http://www.w3.org/2000/svg", jt = new Proxy(
862
+ ), wt = "http://www.w3.org/2000/svg", sr = new Proxy(
825
863
  {},
826
864
  {
827
- get: (t, e) => (...r) => De(e, ot, r.flatMap(f))
865
+ get: (t, e) => (...r) => Ne(e, wt, r.flatMap(f))
828
866
  }
829
- ), lt = "http://www.w3.org/1998/Math/MathML", Ut = new Proxy(
867
+ ), bt = "http://www.w3.org/1998/Math/MathML", ir = new Proxy(
830
868
  {},
831
869
  {
832
- get: (t, e) => (...r) => De(e, lt, r.flatMap(f))
870
+ get: (t, e) => (...r) => Ne(e, bt, r.flatMap(f))
833
871
  }
834
872
  );
835
- let j = !1;
836
- function at(t) {
837
- t.querySelectorAll("[data-tempo-attrs]").forEach((e) => {
838
- const r = e.getAttribute("data-tempo-attrs");
839
- r !== null && (r.split(" ").forEach((n) => {
840
- e.removeAttribute(n);
841
- }), e.removeAttribute("data-tempo-attrs"));
842
- }), t.querySelectorAll("[data-tempo-node]").forEach((e) => {
843
- var r;
844
- (r = e.parentElement) == null || r.removeChild(e), e.removeAttribute("data-tempo-node");
845
- }), t.querySelectorAll("[data-tempo-text]").forEach((e) => {
846
- e.textContent = "", e.removeAttribute("data-tempo-text");
847
- }), t.querySelectorAll("[data-tempo-styles]").forEach((e) => {
848
- const r = e.getAttribute("data-tempo-styles");
849
- r !== null && (r.split(" ").forEach((n) => {
850
- e == null || e.style.removeProperty(n);
851
- }), e.removeAttribute("data-tempo-styles"));
852
- });
873
+ let W = !1;
874
+ function St(t) {
875
+ ht(t), ft(t), lt(t), pt(t);
853
876
  }
854
877
  let U = 0;
855
- const Bt = (t = 30) => (j = !0, new Promise((e, r) => {
878
+ const or = (t = 30) => (W = !0, new Promise((e, r) => {
856
879
  let n;
857
880
  const s = setInterval(() => {
858
- U <= 0 && (clearInterval(s), clearTimeout(n), j = !1, e());
859
- }, 10);
881
+ U <= 0 && (clearInterval(s), clearTimeout(n), W = !1, e());
882
+ }, 300);
860
883
  n = setTimeout(() => {
861
- clearInterval(s), r(new Error("SSR Timeout"));
884
+ clearInterval(s), W = !1, r(new Error("SSR Timeout"));
862
885
  }, t * 1e3);
863
- })), h = {
886
+ })), T = {
864
887
  useDone(t) {
865
888
  return U++, f(t(() => U--));
866
889
  },
867
890
  get isSSR() {
868
- return j;
891
+ return W;
869
892
  }
870
893
  }, Le = (t, e) => (r) => {
871
894
  const n = Object.values(t).reduce((s, i) => {
@@ -875,21 +898,21 @@ const Bt = (t = 30) => (j = !0, new Promise((e, r) => {
875
898
  return s[i] = o, s;
876
899
  }, {});
877
900
  return f(e(n))(r);
878
- }, Gt = (t, e) => (r) => {
901
+ }, ur = (t, e) => (r) => {
879
902
  const n = [], s = Object.entries(t).reduce(
880
- (i, [o, u]) => (n.push(
881
- u((l) => (Reflect.set(i, o, l), null))(r)
903
+ (i, [o, l]) => (n.push(
904
+ l((u) => (Reflect.set(i, o, u), null))(r)
882
905
  ), i),
883
906
  {}
884
907
  );
885
908
  return n.push(e(s)(r)), (i) => {
886
909
  n.forEach((o) => o(i));
887
910
  };
888
- }, ut = (t, e) => Le([t], (r) => f(e(r[t]))), Jt = (t, e) => Le(t, (r) => f(e(r))), C = (t) => (e) => (r) => t(r, e);
889
- function ct(t) {
911
+ }, vt = (t, e) => Le([t], (r) => f(e(r[t]))), ar = (t, e) => Le(t, (r) => f(e(r))), M = (t) => (e) => (r) => t(r, e);
912
+ function At(t) {
890
913
  return Symbol(t);
891
914
  }
892
- const $e = (t, e) => (r) => f(e)(r.withProviders(t)), Qt = (...t) => t.length > 0 ? t.reduceRight((e, r) => (n) => e(r(n))) : f, ft = (t, e, r) => $e({ [t]: e }, f(r)), kt = (t, e) => $e(t, f(e)), oe = ct("Appearance"), er = {
915
+ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length > 0 ? t.reduceRight((e, r) => (n) => e(r(n))) : f, yt = (t, e, r) => Ie({ [t]: e }, f(r)), cr = (t, e) => Ie(t, f(e)), oe = At("Appearance"), fr = {
893
916
  /**
894
917
  * Provides a child component with an appearance context, which can be used to
895
918
  * determine the current appearance (light or dark) based on the user's system
@@ -902,12 +925,12 @@ const $e = (t, e) => (r) => f(e)(r.withProviders(t)), Qt = (...t) => t.length >
902
925
  * @returns The child component with the appearance context.
903
926
  */
904
927
  provide: (t) => {
905
- const e = window.matchMedia != null && window.matchMedia("(prefers-color-scheme: dark)").matches, r = y(e ? "dark" : "light"), n = (i) => {
928
+ const e = window.matchMedia != null && window.matchMedia("(prefers-color-scheme: dark)").matches, r = A(e ? "dark" : "light"), n = (i) => {
906
929
  r.set(i.matches ? "dark" : "light");
907
930
  }, s = window.matchMedia != null ? window.matchMedia("(prefers-color-scheme: dark)") : void 0;
908
- return s == null || s.addEventListener("change", n), w(
909
- ft(oe, r, t),
910
- C(() => s == null ? void 0 : s.removeEventListener("change", n))
931
+ return s == null || s.addEventListener("change", n), g(
932
+ yt(oe, r, t),
933
+ M(() => s == null ? void 0 : s.removeEventListener("change", n))
911
934
  );
912
935
  },
913
936
  /**
@@ -917,34 +940,34 @@ const $e = (t, e) => (r) => f(e)(r.withProviders(t)), Qt = (...t) => t.length >
917
940
  * @param fn - A function that accepts the `AppearanceType` signal and returns a `Child` element.
918
941
  * @returns The `Child` element returned by the provided function.
919
942
  */
920
- consume: (t) => ut(oe, t)
921
- }, Me = (t, e) => {
943
+ consume: (t) => vt(oe, t)
944
+ }, Re = (t, e) => {
922
945
  if (typeof e == "function")
923
- return Me(t, { then: e });
924
- const r = e.pending != null ? f(e.pending) : S, n = e.then, s = e.error != null ? (i) => f(e.error(i)) : () => S;
946
+ return Re(t, { then: e });
947
+ const r = e.pending != null ? f(e.pending) : w, n = e.then, s = e.error != null ? (i) => f(e.error(i)) : () => w;
925
948
  return (i) => {
926
949
  let o = !0;
927
- const u = t();
950
+ const l = t();
928
951
  i = i.makeRef();
929
- let l = f(r)(i);
930
- return u.then(
952
+ let u = f(r)(i);
953
+ return l.then(
931
954
  (c) => {
932
- o && (l(!0), l = f(n(c))(i));
955
+ o && (u(!0), u = f(n(c))(i));
933
956
  },
934
957
  (c) => {
935
- o && (l(!0), l = f(s(c))(i));
958
+ o && (u(!0), u = f(s(c))(i));
936
959
  }
937
960
  ), (c) => {
938
- o = !1, l(c), c && i.reference && A(i.reference);
961
+ o = !1, u(c), c && i.reference && b(i.reference);
939
962
  };
940
963
  };
941
- }, tr = (t, e) => Me(() => t, e), rr = (t = 10) => (e) => {
964
+ }, hr = (t, e) => Re(() => t, e), dr = (t = 10) => (e) => {
942
965
  const r = setTimeout(() => {
943
966
  var n;
944
967
  (n = e.element) == null || n.focus();
945
968
  }, t);
946
969
  return (n) => clearTimeout(r);
947
- }, nr = (t = 10) => (e) => {
970
+ }, pr = (t = 10) => (e) => {
948
971
  const r = setTimeout(() => {
949
972
  var n;
950
973
  (n = e.element) == null || n.select();
@@ -952,21 +975,21 @@ const $e = (t, e) => (r) => f(e)(r.withProviders(t)), Qt = (...t) => t.length >
952
975
  return (n) => {
953
976
  clearTimeout(r);
954
977
  };
955
- }, Ce = (t, e) => (r) => (r.element.addEventListener(t, e), (n) => {
978
+ }, Oe = (t, e) => (r) => (r.element.addEventListener(t, e), (n) => {
956
979
  n && r.element.removeEventListener(t, e);
957
- }), ht = (t) => Ce("click", (e) => {
980
+ }), Et = (t) => Oe("click", (e) => {
958
981
  e.preventDefault();
959
982
  const r = e.target;
960
983
  setTimeout(() => {
961
984
  const n = r.ownerDocument != null ? r == null ? void 0 : r.checked : void 0;
962
985
  n != null && t(!n);
963
986
  }, 0);
964
- }), V = new Proxy(
987
+ }), X = new Proxy(
965
988
  {},
966
989
  {
967
- get: (t, e) => (r) => Ce(e, r)
990
+ get: (t, e) => (r) => Oe(e, r)
968
991
  }
969
- ), q = {
992
+ ), Y = {
970
993
  value: (t) => (e) => {
971
994
  const r = e.target;
972
995
  t(r.value);
@@ -1011,74 +1034,74 @@ const $e = (t, e) => (r) => f(e)(r.withProviders(t)), Qt = (...t) => t.length >
1011
1034
  e.stopImmediatePropagation(), t();
1012
1035
  }
1013
1036
  };
1014
- function dt(t, e = "input") {
1015
- return w(
1016
- D.valueAsDate(t),
1017
- V[e](q.valueAsDate(t.set))
1037
+ function _t(t, e = "input") {
1038
+ return g(
1039
+ P.valueAsDate(t),
1040
+ X[e](Y.valueAsDate(t.set))
1018
1041
  );
1019
1042
  }
1020
- function pt(t, e = "input") {
1021
- return w(
1022
- D.valueAsDate(t),
1023
- V[e](q.valueAsDateTime(t.set))
1043
+ function Pt(t, e = "input") {
1044
+ return g(
1045
+ P.valueAsDate(t),
1046
+ X[e](Y.valueAsDateTime(t.set))
1024
1047
  );
1025
1048
  }
1026
- function mt(t, e = "input") {
1027
- return w(
1028
- D.valueAsNumber(t),
1029
- V[e](q.valueAsNumber(t.set))
1049
+ function Dt(t, e = "input") {
1050
+ return g(
1051
+ P.valueAsNumber(t),
1052
+ X[e](Y.valueAsNumber(t.set))
1030
1053
  );
1031
1054
  }
1032
- function gt(t, e = "input") {
1033
- return w(D.value(t), V[e](q.value(t.set)));
1055
+ function Tt(t, e = "input") {
1056
+ return g(P.value(t), X[e](Y.value(t.set)));
1034
1057
  }
1035
- function wt(t) {
1036
- return w(D.checked(t), ht(t.set));
1058
+ function $t(t) {
1059
+ return g(P.checked(t), Et(t.set));
1037
1060
  }
1038
- const sr = {
1039
- date: dt,
1040
- dateTime: pt,
1041
- number: mt,
1042
- text: gt,
1043
- checked: wt
1044
- }, N = (t, e) => (r) => {
1061
+ const mr = {
1062
+ date: _t,
1063
+ dateTime: Pt,
1064
+ number: Dt,
1065
+ text: Tt,
1066
+ checked: $t
1067
+ }, I = (t, e) => (r) => {
1045
1068
  r = r.makeRef();
1046
1069
  let n, s;
1047
- const i = t.map((l) => Object.keys(l)[0]);
1070
+ const i = t.map((u) => Object.keys(u)[0]);
1048
1071
  let o;
1049
- const u = i.on((l) => {
1050
- if (l !== o) {
1051
- s == null || s.dispose(), n == null || n(!0), s = t.map((m) => m[l]);
1052
- const c = e[l](s);
1053
- n = f(c)(r), o = l;
1072
+ const l = i.on((u) => {
1073
+ if (u !== o) {
1074
+ s == null || s.dispose(), n == null || n(!0), s = t.map((p) => p[u]);
1075
+ const c = e[u](s);
1076
+ n = f(c)(r), o = u;
1054
1077
  }
1055
1078
  });
1056
- return (l) => {
1057
- u(), l && r.reference != null && A(r.reference), n == null || n(!0);
1079
+ return (u) => {
1080
+ l(), u && r.reference != null && b(r.reference), n == null || n(!0);
1058
1081
  };
1059
- }, T = {
1060
- bool: (t, e) => N(
1082
+ }, N = {
1083
+ bool: (t, e) => I(
1061
1084
  t.map((r) => r ? { true: !0 } : { false: !0 }),
1062
1085
  e
1063
1086
  ),
1064
- field: (t, e, r) => N(
1087
+ field: (t, e, r) => I(
1065
1088
  t.map((n) => ({ [n[e]]: n })),
1066
1089
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1067
1090
  r
1068
1091
  ),
1069
- kind: (t, e) => T.field(t, "kind", e),
1092
+ kind: (t, e) => N.field(t, "kind", e),
1070
1093
  tuple: (t, e) => {
1071
1094
  const r = t.map(([n, s]) => ({ [n]: s }));
1072
- return N(r, e);
1095
+ return I(r, e);
1073
1096
  },
1074
- type: (t, e) => T.field(t, "type", e),
1075
- value: (t, e) => N(
1097
+ type: (t, e) => N.field(t, "type", e),
1098
+ value: (t, e) => I(
1076
1099
  t.map((r) => ({ [r]: !0 })),
1077
1100
  e
1078
1101
  )
1079
- }, ir = (t, e) => (r) => {
1080
- const n = (e == null ? void 0 : e.firstSeparator) ?? S, s = (e == null ? void 0 : e.lastSeparator) ?? S;
1081
- return T.value(
1102
+ }, gr = (t, e) => (r) => {
1103
+ const n = (e == null ? void 0 : e.firstSeparator) ?? w, s = (e == null ? void 0 : e.lastSeparator) ?? w;
1104
+ return N.value(
1082
1105
  r.map((i) => i.isFirst ? "first" : i.isLast ? "last" : "other"),
1083
1106
  {
1084
1107
  first: () => n,
@@ -1086,107 +1109,107 @@ const sr = {
1086
1109
  other: () => t
1087
1110
  }
1088
1111
  );
1089
- }, or = (t) => (e) => t(e)(e), lr = (t) => (e) => (e.appendOrInsert(t), (r) => {
1090
- r && A(t);
1091
- }), St = (t, e, r) => (n) => {
1112
+ }, wr = (t) => (e) => t(e)(e), br = (t) => (e) => (e.appendOrInsert(t), (r) => {
1113
+ r && b(t);
1114
+ }), Ct = (t, e, r) => (n) => {
1092
1115
  n = n.makeRef();
1093
1116
  let s = null, i = !1;
1094
- const o = y(null), u = t.on((l) => {
1095
- l == null ? (s == null || s(!0), s = f((r == null ? void 0 : r()) ?? S)(n), i = !1) : (o.value = l, i || (s == null || s(!0), s = f(e(o))(n), i = !0));
1117
+ const o = A(null), l = t.on((u) => {
1118
+ u == null ? (s == null || s(!0), s = f((r == null ? void 0 : r()) ?? w)(n), i = !1) : (o.value = u, i || (s == null || s(!0), s = f(e(o))(n), i = !0));
1096
1119
  });
1097
- return (l) => {
1098
- u(), s == null || s(l), l && n.reference && A(n.reference);
1120
+ return (u) => {
1121
+ l(), s == null || s(u), u && n.reference && b(n.reference);
1099
1122
  };
1100
- }, Te = (t, e, r) => r != null ? Te(t, (n) => {
1123
+ }, xe = (t, e, r) => r != null ? xe(t, (n) => {
1101
1124
  const s = n.map((i) => i.isLast ? "last" : "other");
1102
- return w(
1103
- C(() => s.dispose()),
1125
+ return g(
1126
+ M(() => s.dispose()),
1104
1127
  f(e(n)),
1105
- T.value(s, {
1106
- last: () => S,
1128
+ N.value(s, {
1129
+ last: () => w,
1107
1130
  other: () => r(n)
1108
1131
  })
1109
1132
  );
1110
1133
  }) : (n) => {
1111
1134
  n = n.makeRef();
1112
1135
  const s = t.map(
1113
- (l) => Array.from({ length: l }, (c, m) => m).map(
1114
- (c) => new Ze(c, l)
1136
+ (u) => Array.from({ length: u }, (c, p) => p).map(
1137
+ (c) => new Ke(c, u)
1115
1138
  )
1116
- ), i = [], o = [], u = s.on((l) => {
1117
- var m, g;
1118
- const c = l.length;
1139
+ ), i = [], o = [], l = s.on((u) => {
1140
+ var p, m;
1141
+ const c = u.length;
1119
1142
  for (; c < i.length; )
1120
- (m = i.pop()) == null || m(!0), (g = o.pop()) == null || g.dispose();
1121
- for (let d = 0; d < c; d++)
1122
- if (o[d] == null) {
1123
- o[d] = y(l[d]);
1124
- const _ = f(e(o[d]));
1125
- i[d] = _(n);
1143
+ (p = i.pop()) == null || p(!0), (m = o.pop()) == null || m.dispose();
1144
+ for (let h = 0; h < c; h++)
1145
+ if (o[h] == null) {
1146
+ o[h] = A(u[h]);
1147
+ const _ = f(e(o[h]));
1148
+ i[h] = _(n);
1126
1149
  } else
1127
- o[d].value = l[d];
1150
+ o[h].value = u[h];
1128
1151
  });
1129
- return (l) => {
1130
- u(), l && n.reference && A(n.reference);
1152
+ return (u) => {
1153
+ l(), u && n.reference && b(n.reference);
1131
1154
  };
1132
- }, vt = (t, e, r) => r != null ? vt(t, (n, s) => {
1155
+ }, Mt = (t, e, r) => r != null ? Mt(t, (n, s) => {
1133
1156
  const i = s.map((o) => o.isLast ? "last" : "other");
1134
- return w([
1135
- C(() => i.dispose()),
1157
+ return g([
1158
+ M(() => i.dispose()),
1136
1159
  f(e(n, s)),
1137
- T.value(i, {
1138
- last: () => S,
1160
+ N.value(i, {
1161
+ last: () => w,
1139
1162
  other: () => r(s)
1140
1163
  })
1141
1164
  ]);
1142
1165
  }) : (n) => {
1143
1166
  const s = t.map((i) => i.length);
1144
- return Te(s, (i) => {
1167
+ return xe(s, (i) => {
1145
1168
  const o = B(
1146
1169
  () => t.value[i.value.index],
1147
1170
  [i, t]
1148
1171
  );
1149
- return w(
1150
- C(() => o.dispose()),
1172
+ return g(
1173
+ M(() => o.dispose()),
1151
1174
  f(e(o, i))
1152
1175
  );
1153
1176
  })(n);
1154
- }, ar = (t) => {
1177
+ }, Sr = (t) => {
1155
1178
  const e = t.element, r = e.style.getPropertyValue(":empty");
1156
1179
  return e.style.setProperty(":empty", "display:none"), (n) => {
1157
1180
  n && e.style.setProperty(":empty", r);
1158
1181
  };
1159
1182
  };
1160
- function Re(t, e) {
1183
+ function We(t, e) {
1161
1184
  const r = t(e);
1162
1185
  return () => r(!0);
1163
1186
  }
1164
- function ur(t, e, { doc: r, clear: n } = {}) {
1187
+ function vr(t, e, { doc: r, clear: n } = {}) {
1165
1188
  const s = typeof e == "string" ? (r ?? document).querySelector(e) : e;
1166
1189
  if (s === null)
1167
1190
  throw new Error(`Cannot find element by selector for render: ${e}`);
1168
- n && (r ?? s.ownerDocument) != null && at(r ?? s.ownerDocument);
1169
- const i = rt(s), o = Ae(s) ? void 0 : s, u = b.of(i, o);
1170
- return console.log("DOMContext.isFirstLevel", u.isFirstLevel), Re(t, u);
1191
+ n && (r ?? s.ownerDocument) != null && St(r ?? s.ownerDocument);
1192
+ const i = ot(s), o = ye(s) ? void 0 : s, l = v.of(i, o);
1193
+ return We(t, l);
1171
1194
  }
1172
- const bt = (t, e) => (r) => {
1195
+ const Nt = (t, e) => (r) => {
1173
1196
  const n = r.document.querySelector(t);
1174
1197
  if (n === null)
1175
1198
  throw new Error(`Cannot find element by selector for portal: ${t}`);
1176
- return Re(
1199
+ return We(
1177
1200
  f(e),
1178
1201
  r.withElement(n).withFirstLevel()
1179
1202
  );
1180
- }, cr = (t) => bt("head title", D.innerText(t)), yt = (t) => (e) => t(e.element) ?? (() => {
1181
- }), G = (t, e, r) => St(
1203
+ }, Ar = (t) => Nt("head title", P.innerText(t)), Lt = (t) => (e) => t(e.element) ?? (() => {
1204
+ }), k = (t, e, r) => Ct(
1182
1205
  t.map((n) => n ? !0 : null),
1183
1206
  () => e,
1184
1207
  r != null ? () => r : void 0
1185
- ), fr = (t, e, r) => G(
1208
+ ), yr = (t, e, r) => k(
1186
1209
  t.map((n) => !n),
1187
1210
  e,
1188
1211
  r
1189
- ), At = {
1212
+ ), It = {
1190
1213
  partial: {
1191
1214
  root: null,
1192
1215
  rootMargin: "0px",
@@ -1200,33 +1223,33 @@ const bt = (t, e) => (r) => {
1200
1223
  }, F = {
1201
1224
  partial: /* @__PURE__ */ new Map(),
1202
1225
  full: /* @__PURE__ */ new Map()
1203
- }, M = {
1226
+ }, C = {
1204
1227
  partial: null,
1205
1228
  full: null
1206
1229
  };
1207
- function Et(t) {
1208
- return M[t] == null && (M[t] = new IntersectionObserver((e) => {
1230
+ function Rt(t) {
1231
+ return C[t] == null && (C[t] = new IntersectionObserver((e) => {
1209
1232
  e.forEach((r) => {
1210
1233
  const n = F[t].get(r.target);
1211
1234
  n == null || n.set(r.isIntersecting);
1212
1235
  });
1213
- }, At[t])), M[t];
1236
+ }, It[t])), C[t];
1214
1237
  }
1215
- function Pt(t, e) {
1216
- const r = y(h.isSSR);
1217
- return w(
1218
- yt((n) => {
1219
- const s = typeof IntersectionObserver < "u" ? Et(t) : null;
1238
+ function Ot(t, e) {
1239
+ const r = A(T.isSSR);
1240
+ return g(
1241
+ Lt((n) => {
1242
+ const s = typeof IntersectionObserver < "u" ? Rt(t) : null;
1220
1243
  return F[t].set(n, r), s == null || s.observe(n), () => {
1221
1244
  var i;
1222
- s == null || s.unobserve(n), F[t].delete(n), F[t].size === 0 && ((i = M[t]) == null || i.disconnect(), M[t] = null);
1245
+ s == null || s.unobserve(n), F[t].delete(n), F[t].size === 0 && ((i = C[t]) == null || i.disconnect(), C[t] = null);
1223
1246
  };
1224
1247
  }),
1225
- C(r.dispose),
1248
+ M(r.dispose),
1226
1249
  f(e(r))
1227
1250
  );
1228
1251
  }
1229
- const hr = (t, e, r) => Pt(t, (n) => G(n, e, r ?? S)), dr = (t, e) => (r) => {
1252
+ const Er = (t, e, r) => Ot(t, (n) => k(n, e, r ?? w)), _r = (t, e) => (r) => {
1230
1253
  r = r.makeRef();
1231
1254
  const n = t.map((o) => f(e(o)));
1232
1255
  let s = () => {
@@ -1238,23 +1261,23 @@ const hr = (t, e, r) => Pt(t, (n) => G(n, e, r ?? S)), dr = (t, e) => (r) => {
1238
1261
  i(), s(o);
1239
1262
  };
1240
1263
  };
1241
- function pr(t, e, r = S) {
1242
- return G(
1264
+ function Pr(t, e, r = w) {
1265
+ return k(
1243
1266
  t.map((n) => n.length > 0),
1244
1267
  e,
1245
1268
  r
1246
1269
  );
1247
1270
  }
1248
- const _t = (t) => (e) => {
1249
- const r = e.element, n = y({ width: r.clientWidth, height: r.clientHeight }), s = f(t(n))(e), i = () => {
1271
+ const xt = (t) => (e) => {
1272
+ const r = e.element, n = A({ width: r.clientWidth, height: r.clientHeight }), s = f(t(n))(e), i = () => {
1250
1273
  n.set({ width: r.clientWidth, height: r.clientHeight });
1251
1274
  };
1252
1275
  let o;
1253
- return typeof ResizeObserver == "function" && (o = new ResizeObserver(i), o.observe(r)), (u) => {
1254
- o == null || o.disconnect(), s(u);
1276
+ return typeof ResizeObserver == "function" && (o = new ResizeObserver(i), o.observe(r)), (l) => {
1277
+ o == null || o.disconnect(), s(l);
1255
1278
  };
1256
- }, Dt = (t) => (e) => {
1257
- const r = y({
1279
+ }, Wt = (t) => (e) => {
1280
+ const r = A({
1258
1281
  width: (window == null ? void 0 : window.innerWidth) ?? 0,
1259
1282
  height: (window == null ? void 0 : window.innerHeight) ?? 0
1260
1283
  }), n = f(t(r))(e), s = () => {
@@ -1266,132 +1289,124 @@ const _t = (t) => (e) => {
1266
1289
  return window == null || window.addEventListener("resize", s), (i) => {
1267
1290
  window == null || window.removeEventListener("resize", s), n(i);
1268
1291
  };
1269
- }, mr = {
1270
- element: _t,
1271
- window: Dt
1272
- }, K = "data-tempo-styles";
1273
- function Ne(t, e) {
1274
- const r = t.getAttribute(K);
1275
- r === null ? t.setAttribute(K, e) : t.setAttribute(K, `${r} ${e}`);
1276
- }
1277
- const Lt = (t, e) => (r) => {
1278
- r.isFirstLevel && h.isSSR && Ne(r.element, t);
1292
+ }, Dr = {
1293
+ element: xt,
1294
+ window: Wt
1295
+ }, Ft = (t, e) => (r) => {
1279
1296
  const n = r.element, s = n.style.getPropertyValue(t);
1280
1297
  return n.style.setProperty(t, e), (i) => {
1281
1298
  i && n.style.setProperty(t, s);
1282
1299
  };
1283
- }, $t = (t, e) => (r) => {
1284
- r.isFirstLevel && h.isSSR && Ne(r.element, t);
1300
+ }, zt = (t, e) => (r) => {
1285
1301
  const n = r.element, s = n.style.getPropertyValue(t);
1286
1302
  return e.on((i) => n.style.setProperty(t, i)), (i) => {
1287
1303
  i && n.style.setProperty(t, s);
1288
1304
  };
1289
- }, gr = new Proxy(
1305
+ }, Tr = new Proxy(
1290
1306
  {},
1291
1307
  {
1292
- get: (t, e) => (r) => p.is(r) ? $t(e, r) : Lt(e, r)
1308
+ get: (t, e) => (r) => d.is(r) ? zt(e, r) : Ft(e, r)
1293
1309
  }
1294
1310
  );
1295
1311
  export {
1296
- tr as Async,
1297
- rr as AutoFocus,
1298
- nr as AutoSelect,
1299
- L as Computed,
1300
- ir as Conjunction,
1301
- or as Ctx,
1302
- b as DOMContext,
1303
- lr as DOMEl,
1304
- _e as El,
1305
- De as ElNS,
1306
- S as Empty,
1307
- St as Ensure,
1308
- vt as ForEach,
1309
- w as Fragment,
1310
- cr as HTMLTitle,
1311
- ar as HiddenWhenEmpty,
1312
- Pt as InViewport,
1313
- dr as MapSignal,
1312
+ hr as Async,
1313
+ dr as AutoFocus,
1314
+ pr as AutoSelect,
1315
+ D as Computed,
1316
+ gr as Conjunction,
1317
+ wr as Ctx,
1318
+ v as DOMContext,
1319
+ br as DOMEl,
1320
+ Me as El,
1321
+ Ne as ElNS,
1322
+ w as Empty,
1323
+ Ct as Ensure,
1324
+ Mt as ForEach,
1325
+ g as Fragment,
1326
+ Ar as HTMLTitle,
1327
+ Sr as HiddenWhenEmpty,
1328
+ Ot as InViewport,
1329
+ _r as MapSignal,
1314
1330
  he as MemoryStore,
1315
- pr as NotEmpty,
1316
- ht as OnChecked,
1317
- C as OnDispose,
1318
- yt as OnMount,
1319
- bt as Portal,
1320
- Ze as Position,
1321
- O as Prop,
1322
- Qt as Provide,
1323
- Te as Repeat,
1324
- p as Signal,
1325
- Me as Task,
1326
- qt as Text,
1327
- fr as Unless,
1328
- Gt as Use,
1329
- ut as UseProvider,
1330
- Jt as UseProviders,
1331
- G as When,
1332
- hr as WhenInViewport,
1333
- ft as WithProvider,
1334
- kt as WithProviders,
1335
- Ne as addStyleTracker,
1336
- Ye as animate,
1337
- It as animateOne,
1338
- er as appearance,
1331
+ Pr as NotEmpty,
1332
+ Et as OnChecked,
1333
+ M as OnDispose,
1334
+ Lt as OnMount,
1335
+ Nt as Portal,
1336
+ Ke as Position,
1337
+ V as Prop,
1338
+ lr as Provide,
1339
+ xe as Repeat,
1340
+ d as Signal,
1341
+ Re as Task,
1342
+ Jt as Text,
1343
+ yr as Unless,
1344
+ ur as Use,
1345
+ vt as UseProvider,
1346
+ ar as UseProviders,
1347
+ k as When,
1348
+ Er as WhenInViewport,
1349
+ yt as WithProvider,
1350
+ cr as WithProviders,
1351
+ Ue as animate,
1352
+ Ht as animateOne,
1353
+ fr as appearance,
1339
1354
  oe as appearanceMarker,
1340
- zt as applyAnimatable,
1341
- I as applyAnimatableProp,
1342
- xt as applyInterpolatedAnimatable,
1343
- Ge as applyInterpolatedAnimatableProp,
1344
- Zt as aria,
1345
- D as attr,
1346
- sr as bind,
1355
+ kt as applyAnimatable,
1356
+ R as applyAnimatableProp,
1357
+ Bt as applyInterpolatedAnimatable,
1358
+ et as applyInterpolatedAnimatableProp,
1359
+ Qt as aria,
1360
+ P as attr,
1361
+ mr as bind,
1347
1362
  f as childToMountable,
1348
- at as clearSSR,
1349
- Ke as colorChannelsToString,
1363
+ St as clearSSR,
1364
+ ke as colorChannelsToString,
1350
1365
  B as computed,
1351
- Ft as computedRecord,
1352
- ze as dateInterpolate,
1353
- Ct as effect,
1354
- q as emit,
1355
- Ve as endInterpolate,
1356
- Wt as getComputedAnimatable,
1357
- Ue as getComputedAnimatableProp,
1358
- rt as getSelfOrParentElement,
1359
- qe as guessInterpolate,
1360
- Vt as handleAnchorClick,
1361
- Ht as html,
1362
- Kt as input,
1363
- je as interpolateColor,
1364
- Ot as interpolateShadow,
1365
- Ae as isElement,
1366
- ye as makeGetter,
1367
- ct as makeProviderMark,
1368
- be as makeSetter,
1369
- Ut as math,
1370
- Yt as mathAttr,
1371
- We as numberInterpolate,
1372
- V as on,
1373
- T as oneof,
1366
+ Kt as computedRecord,
1367
+ Xe as dateInterpolate,
1368
+ qt as effect,
1369
+ Y as emit,
1370
+ Ye as endInterpolate,
1371
+ Ut as getComputedAnimatable,
1372
+ Je as getComputedAnimatableProp,
1373
+ ot as getSelfOrParentElement,
1374
+ He as guessInterpolate,
1375
+ Gt as handleAnchorClick,
1376
+ rr as html,
1377
+ nr as input,
1378
+ Ge as interpolateColor,
1379
+ jt as interpolateShadow,
1380
+ ye as isElement,
1381
+ Ae as makeGetter,
1382
+ At as makeProviderMark,
1383
+ ve as makeSetter,
1384
+ ir as math,
1385
+ tr as mathAttr,
1386
+ qe as numberInterpolate,
1387
+ X as on,
1388
+ N as oneof,
1374
1389
  se as parseColorChannels,
1375
- y as prop,
1376
- Rt as propOfLocalStorage,
1377
- Nt as propOfSessionStorage,
1390
+ A as prop,
1391
+ Xt as propOfLocalStorage,
1392
+ Yt as propOfSessionStorage,
1378
1393
  de as propOfStorage,
1379
- A as removeDOMNode,
1380
- ur as render,
1381
- Re as renderWithContext,
1382
- tt as setAttribute,
1383
- Je as setBooleanProperty,
1384
- ke as setDateProperty,
1385
- Qe as setNumberProperty,
1386
- et as setStringProperty,
1387
- Tt as signal,
1388
- Pe as signalText,
1389
- mr as size,
1390
- h as ssr,
1391
- Bt as startSSR,
1392
- Ee as staticText,
1393
- xe as stringInterpolate,
1394
- gr as style,
1395
- jt as svg,
1396
- Xt as svgAttr
1394
+ b as removeDOMNode,
1395
+ vr as render,
1396
+ We as renderWithContext,
1397
+ it as setAttribute,
1398
+ tt as setBooleanProperty,
1399
+ nt as setDateProperty,
1400
+ rt as setNumberProperty,
1401
+ st as setStringProperty,
1402
+ Zt as signal,
1403
+ Ce as signalText,
1404
+ Dr as size,
1405
+ T as ssr,
1406
+ or as startSSR,
1407
+ $e as staticText,
1408
+ Ze as stringInterpolate,
1409
+ Tr as style,
1410
+ sr as svg,
1411
+ er as svgAttr
1397
1412
  };