@nil-/xit 0.4.19 → 0.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,2 @@
1
- const d = "5";
2
1
  var e;
3
- typeof window < "u" && ((e = window.__svelte ?? (window.__svelte = {})).v ?? (e.v = /* @__PURE__ */ new Set())).add(d);
2
+ typeof window < "u" && ((e = window.__svelte ?? (window.__svelte = {})).v ?? (e.v = /* @__PURE__ */ new Set())).add("5");
@@ -1,104 +1,75 @@
1
- var v = (e) => {
1
+ var x = (e) => {
2
2
  throw TypeError(e);
3
3
  };
4
- var W = (e, t, s) => t.has(e) || v("Cannot " + s);
5
- var r = (e, t, s) => (W(e, t, "read from private field"), s ? s.call(e) : t.get(e)), c = (e, t, s) => t.has(e) ? v("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), d = (e, t, s, i) => (W(e, t, "write to private field"), i ? i.call(e, s) : t.set(e, s), s), tt = (e, t, s) => (W(e, t, "access private method"), s);
6
- import "./internal/client.js";
7
- import { MediaQuery as ct } from "./reactivity.js";
8
- import { w as et } from "./store.js";
9
- import { b as z, c as st, a as g, l as ht, n as dt, g as D } from "./index.js";
4
+ var X = (e, t, s) => t.has(e) || x("Cannot " + s);
5
+ var r = (e, t, s) => (X(e, t, "read from private field"), s ? s.call(e) : t.get(e)), c = (e, t, s) => t.has(e) ? x("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), a = (e, t, s, i) => (X(e, t, "write to private field"), i ? i.call(e, s) : t.set(e, s), s), _ = (e, t, s) => (X(e, t, "access private method"), s);
6
+ import { r as H, l as V } from "./internal/client.js";
7
+ import { MediaQuery as ht } from "./reactivity.js";
8
+ import { c9 as D, ah as et, a1 as u, cE as at, a$ as ct, a4 as O, cF as st } from "./store.js";
10
9
  import { linear as rt } from "./easing.js";
11
- const ut = () => performance.now(), m = {
12
- // don't access requestAnimationFrame eagerly outside method
13
- // this allows basic testing of user code without JSDOM
14
- // bunder will eval and remove ternary when the user's app is built
15
- tick: (
16
- /** @param {any} _ */
17
- (e) => requestAnimationFrame(e)
18
- ),
19
- now: () => ut(),
20
- tasks: /* @__PURE__ */ new Set()
21
- };
22
- function it() {
23
- const e = m.now();
24
- m.tasks.forEach((t) => {
25
- t.c(e) || (m.tasks.delete(t), t.f());
26
- }), m.tasks.size !== 0 && m.tick(it);
27
- }
28
- function U(e) {
29
- let t;
30
- return m.tasks.size === 0 && m.tick(it), {
31
- promise: new Promise((s) => {
32
- m.tasks.add(t = { c: e, f: s });
33
- }),
34
- abort() {
35
- m.tasks.delete(t);
36
- }
37
- };
38
- }
39
- function J(e) {
10
+ function L(e) {
40
11
  return Object.prototype.toString.call(e) === "[object Date]";
41
12
  }
42
- function K(e, t, s, i) {
43
- if (typeof s == "number" || J(s)) {
44
- const o = i - s, n = (s - t) / (e.dt || 1 / 60), f = e.opts.stiffness * o, a = e.opts.damping * n, h = (f - a) * e.inv_mass, l = (n + h) * e.dt;
45
- return Math.abs(l) < e.opts.precision && Math.abs(o) < e.opts.precision ? i : (e.settled = !1, J(s) ? new Date(s.getTime() + l) : s + l);
13
+ function N(e, t, s, i) {
14
+ if (typeof s == "number" || L(s)) {
15
+ const o = i - s, n = (s - t) / (e.dt || 1 / 60), f = e.opts.stiffness * o, h = e.opts.damping * n, m = (f - h) * e.inv_mass, p = (n + m) * e.dt;
16
+ return Math.abs(p) < e.opts.precision && Math.abs(o) < e.opts.precision ? i : (e.settled = !1, L(s) ? new Date(s.getTime() + p) : s + p);
46
17
  } else {
47
18
  if (Array.isArray(s))
48
19
  return s.map(
49
20
  (o, n) => (
50
21
  // @ts-ignore
51
- K(e, t[n], s[n], i[n])
22
+ N(e, t[n], s[n], i[n])
52
23
  )
53
24
  );
54
25
  if (typeof s == "object") {
55
26
  const o = {};
56
27
  for (const n in s)
57
- o[n] = K(e, t[n], s[n], i[n]);
28
+ o[n] = N(e, t[n], s[n], i[n]);
58
29
  return o;
59
30
  } else
60
31
  throw new Error(`Cannot spring ${typeof s} values`);
61
32
  }
62
33
  }
63
- function mt(e, t = {}) {
64
- const s = et(e), { stiffness: i = 0.15, damping: o = 0.8, precision: n = 0.01 } = t;
65
- let f, a, h, l = (
34
+ function gt(e, t = {}) {
35
+ const s = st(e), { stiffness: i = 0.15, damping: o = 0.8, precision: n = 0.01 } = t;
36
+ let f, h, m, p = (
66
37
  /** @type {T} */
67
38
  e
68
- ), y = (
39
+ ), g = (
69
40
  /** @type {T | undefined} */
70
41
  e
71
- ), u = 1, P = 0, b = !1;
72
- function A(O, w = {}) {
73
- y = O;
74
- const ot = h = {};
75
- return e == null || w.hard || E.stiffness >= 1 && E.damping >= 1 ? (b = !0, f = m.now(), l = O, s.set(e = y), Promise.resolve()) : (w.soft && (P = 1 / ((w.soft === !0 ? 0.5 : +w.soft) * 60), u = 0), a || (f = m.now(), b = !1, a = U((B) => {
76
- if (b)
77
- return b = !1, a = null, !1;
78
- u = Math.min(u + P, 1);
79
- const ft = Math.min(B - f, 1e3 / 30), V = {
80
- inv_mass: u,
42
+ ), d = 1, j = 0, y = !1;
43
+ function A(P, b = {}) {
44
+ g = P;
45
+ const nt = m = {};
46
+ return e == null || b.hard || E.stiffness >= 1 && E.damping >= 1 ? (y = !0, f = H.now(), p = P, s.set(e = g), Promise.resolve()) : (b.soft && (j = 1 / ((b.soft === !0 ? 0.5 : +b.soft) * 60), d = 0), h || (f = H.now(), y = !1, h = V((G) => {
47
+ if (y)
48
+ return y = !1, h = null, !1;
49
+ d = Math.min(d + j, 1);
50
+ const ot = Math.min(G - f, 1e3 / 30), W = {
51
+ inv_mass: d,
81
52
  opts: E,
82
53
  settled: !0,
83
- dt: ft * 60 / 1e3
84
- }, at = K(V, l, e, y);
85
- return f = B, l = /** @type {T} */
54
+ dt: ot * 60 / 1e3
55
+ }, ft = N(W, p, e, g);
56
+ return f = G, p = /** @type {T} */
86
57
  e, s.set(e = /** @type {T} */
87
- at), V.settled && (a = null), !V.settled;
88
- })), new Promise((B) => {
89
- a.promise.then(() => {
90
- ot === h && B();
58
+ ft), W.settled && (h = null), !W.settled;
59
+ })), new Promise((G) => {
60
+ h.promise.then(() => {
61
+ nt === m && G();
91
62
  });
92
63
  }));
93
64
  }
94
65
  const E = {
95
66
  set: A,
96
- update: (O, w) => A(O(
67
+ update: (P, b) => A(P(
97
68
  /** @type {T} */
98
- y,
69
+ g,
99
70
  /** @type {T} */
100
71
  e
101
- ), w),
72
+ ), b),
102
73
  subscribe: s.subscribe,
103
74
  stiffness: i,
104
75
  damping: o,
@@ -106,34 +77,28 @@ function mt(e, t = {}) {
106
77
  };
107
78
  return E;
108
79
  }
109
- var S, T, C, p, j, _, Q, q, G, k, R, N, nt;
110
- const Z = class Z {
80
+ var C, T, $, l, k, F, q, Q, I, M, z, U, it;
81
+ const Y = class Y {
111
82
  /**
112
83
  * @param {T} value
113
- * @param {SpringOpts} [options]
84
+ * @param {SpringOptions} [options]
114
85
  */
115
86
  constructor(t, s = {}) {
116
- c(this, N);
117
- c(this, S, z(0.15));
118
- c(this, T, z(0.8));
119
- c(this, C, z(0.01));
120
- c(this, p, z(
121
- /** @type {T} */
122
- void 0
123
- ));
124
- c(this, j, z(
125
- /** @type {T} */
126
- void 0
127
- ));
128
- c(this, _);
129
- c(this, Q, 0);
130
- c(this, q, 1);
131
- c(this, G, 0);
87
+ c(this, U);
88
+ c(this, C, D(0.15));
89
+ c(this, T, D(0.8));
90
+ c(this, $, D(0.01));
91
+ c(this, l);
92
+ c(this, k);
93
+ c(this, F);
94
+ c(this, q, 0);
95
+ c(this, Q, 1);
96
+ c(this, I, 0);
132
97
  /** @type {import('../internal/client/types').Task | null} */
133
- c(this, k, null);
98
+ c(this, M, null);
134
99
  /** @type {ReturnType<typeof deferred> | null} */
135
- c(this, R, null);
136
- r(this, p).v = r(this, j).v = t, typeof s.stiffness == "number" && (r(this, S).v = I(s.stiffness, 0, 1)), typeof s.damping == "number" && (r(this, T).v = I(s.damping, 0, 1)), typeof s.precision == "number" && (r(this, C).v = s.precision);
100
+ c(this, z, null);
101
+ a(this, l, D(t)), a(this, k, D(t)), typeof s.stiffness == "number" && (r(this, C).v = K(s.stiffness, 0, 1)), typeof s.damping == "number" && (r(this, T).v = K(s.damping, 0, 1)), typeof s.precision == "number" && (r(this, $).v = s.precision);
137
102
  }
138
103
  /**
139
104
  * Create a spring whose value is bound to the return value of `fn`. This must be called
@@ -150,11 +115,11 @@ const Z = class Z {
150
115
  * ```
151
116
  * @template U
152
117
  * @param {() => U} fn
153
- * @param {SpringOpts} [options]
118
+ * @param {SpringOptions} [options]
154
119
  */
155
120
  static of(t, s) {
156
- const i = new Z(t(), s);
157
- return st(() => {
121
+ const i = new Y(t(), s);
122
+ return et(() => {
158
123
  i.set(t());
159
124
  }), i;
160
125
  }
@@ -167,75 +132,75 @@ const Z = class Z {
167
132
  * the specified number of milliseconds. This is useful for things like 'fling' gestures.
168
133
  *
169
134
  * @param {T} value
170
- * @param {SpringUpdateOpts} [options]
135
+ * @param {SpringUpdateOptions} [options]
171
136
  */
172
137
  set(t, s) {
173
138
  var o, n;
174
- if ((o = r(this, R)) == null || o.reject(new Error("Aborted")), s != null && s.instant || r(this, p).v === void 0)
175
- return (n = r(this, k)) == null || n.abort(), d(this, k, null), g(r(this, p), g(r(this, j), t)), d(this, _, t), Promise.resolve();
176
- s != null && s.preserveMomentum && (d(this, q, 0), d(this, G, s.preserveMomentum));
177
- var i = d(this, R, ht());
178
- return i.promise.catch(dt), tt(this, N, nt).call(this, t).then(() => {
179
- i === r(this, R) && i.resolve(void 0);
139
+ if ((o = r(this, z)) == null || o.reject(new Error("Aborted")), s != null && s.instant || r(this, l).v === void 0)
140
+ return (n = r(this, M)) == null || n.abort(), a(this, M, null), u(r(this, l), u(r(this, k), t)), a(this, F, t), Promise.resolve();
141
+ s != null && s.preserveMomentum && (a(this, Q, 0), a(this, I, s.preserveMomentum));
142
+ var i = a(this, z, at());
143
+ return i.promise.catch(ct), _(this, U, it).call(this, t).then(() => {
144
+ i === r(this, z) && i.resolve(void 0);
180
145
  }), i.promise;
181
146
  }
182
147
  get current() {
183
- return D(r(this, p));
148
+ return O(r(this, l));
184
149
  }
185
150
  get damping() {
186
- return D(r(this, T));
151
+ return O(r(this, T));
187
152
  }
188
153
  set damping(t) {
189
- g(r(this, T), I(t, 0, 1));
154
+ u(r(this, T), K(t, 0, 1));
190
155
  }
191
156
  get precision() {
192
- return D(r(this, C));
157
+ return O(r(this, $));
193
158
  }
194
159
  set precision(t) {
195
- g(r(this, C), t);
160
+ u(r(this, $), t);
196
161
  }
197
162
  get stiffness() {
198
- return D(r(this, S));
163
+ return O(r(this, C));
199
164
  }
200
165
  set stiffness(t) {
201
- g(r(this, S), I(t, 0, 1));
166
+ u(r(this, C), K(t, 0, 1));
202
167
  }
203
168
  get target() {
204
- return D(r(this, j));
169
+ return O(r(this, k));
205
170
  }
206
171
  set target(t) {
207
172
  this.set(t);
208
173
  }
209
174
  };
210
- S = new WeakMap(), T = new WeakMap(), C = new WeakMap(), p = new WeakMap(), j = new WeakMap(), _ = new WeakMap(), Q = new WeakMap(), q = new WeakMap(), G = new WeakMap(), k = new WeakMap(), R = new WeakMap(), N = new WeakSet(), /** @param {T} value */
211
- nt = function(t) {
175
+ C = new WeakMap(), T = new WeakMap(), $ = new WeakMap(), l = new WeakMap(), k = new WeakMap(), F = new WeakMap(), q = new WeakMap(), Q = new WeakMap(), I = new WeakMap(), M = new WeakMap(), z = new WeakMap(), U = new WeakSet(), /** @param {T} value */
176
+ it = function(t) {
212
177
  var i;
213
- if (g(r(this, j), t), (i = r(this, p)).v ?? (i.v = t), r(this, _) ?? d(this, _, r(this, p).v), !r(this, k)) {
214
- d(this, Q, m.now());
215
- var s = 1e3 / (r(this, G) * 60);
216
- r(this, k) ?? d(this, k, U((o) => {
217
- d(this, q, Math.min(r(this, q) + s, 1));
218
- const n = Math.min(o - r(this, Q), 1e3 / 30), f = {
219
- inv_mass: r(this, q),
178
+ if (u(r(this, k), t), (i = r(this, l)).v ?? (i.v = t), r(this, F) ?? a(this, F, r(this, l).v), !r(this, M)) {
179
+ a(this, q, H.now());
180
+ var s = 1e3 / (r(this, I) * 60);
181
+ r(this, M) ?? a(this, M, V((o) => {
182
+ a(this, Q, Math.min(r(this, Q) + s, 1));
183
+ const n = Math.min(o - r(this, q), 1e3 / 30), f = {
184
+ inv_mass: r(this, Q),
220
185
  opts: {
221
- stiffness: r(this, S).v,
186
+ stiffness: r(this, C).v,
222
187
  damping: r(this, T).v,
223
- precision: r(this, C).v
188
+ precision: r(this, $).v
224
189
  },
225
190
  settled: !0,
226
191
  dt: n * 60 / 1e3
227
192
  };
228
- var a = K(f, r(this, _), r(this, p).v, r(this, j).v);
229
- return d(this, _, r(this, p).v), d(this, Q, o), g(r(this, p), a), f.settled && d(this, k, null), !f.settled;
193
+ var h = N(f, r(this, F), r(this, l).v, r(this, k).v);
194
+ return a(this, F, r(this, l).v), a(this, q, o), u(r(this, l), h), f.settled && a(this, M, null), !f.settled;
230
195
  }));
231
196
  }
232
- return r(this, k).promise;
197
+ return r(this, M).promise;
233
198
  };
234
- let X = Z;
235
- function I(e, t, s) {
199
+ let v = Y;
200
+ function K(e, t, s) {
236
201
  return Math.max(t, Math.min(s, e));
237
202
  }
238
- function L(e, t) {
203
+ function S(e, t) {
239
204
  if (e === t || e !== e) return () => e;
240
205
  const s = typeof e;
241
206
  if (s !== typeof t || Array.isArray(e) !== Array.isArray(t))
@@ -243,7 +208,7 @@ function L(e, t) {
243
208
  if (Array.isArray(e)) {
244
209
  const i = (
245
210
  /** @type {Array<any>} */
246
- t.map((o, n) => L(
211
+ t.map((o, n) => S(
247
212
  /** @type {Array<any>} */
248
213
  e[n],
249
214
  o
@@ -254,17 +219,17 @@ function L(e, t) {
254
219
  if (s === "object") {
255
220
  if (!e || !t)
256
221
  throw new Error("Object cannot be null");
257
- if (J(e) && J(t)) {
258
- const n = e.getTime(), a = t.getTime() - n;
259
- return (h) => new Date(n + h * a);
222
+ if (L(e) && L(t)) {
223
+ const n = e.getTime(), h = t.getTime() - n;
224
+ return (m) => new Date(n + m * h);
260
225
  }
261
226
  const i = Object.keys(t), o = {};
262
227
  return i.forEach((n) => {
263
- o[n] = L(e[n], t[n]);
228
+ o[n] = S(e[n], t[n]);
264
229
  }), (n) => {
265
230
  const f = {};
266
- return i.forEach((a) => {
267
- f[a] = o[a](n);
231
+ return i.forEach((h) => {
232
+ f[h] = o[h](n);
268
233
  }), f;
269
234
  };
270
235
  }
@@ -278,69 +243,63 @@ function L(e, t) {
278
243
  }
279
244
  return () => t;
280
245
  }
281
- function lt(e, t = {}) {
282
- const s = et(e);
246
+ function yt(e, t = {}) {
247
+ const s = st(e);
283
248
  let i, o = e;
284
- function n(f, a) {
249
+ function n(f, h) {
285
250
  if (o = f, e == null)
286
251
  return s.set(e = f), Promise.resolve();
287
- let h = i, l = !1, {
288
- delay: y = 0,
289
- duration: u = 400,
290
- easing: P = rt,
291
- interpolate: b = L
292
- } = { ...t, ...a };
293
- if (u === 0)
294
- return h && (h.abort(), h = null), s.set(e = o), Promise.resolve();
295
- const A = m.now() + y;
252
+ let m = i, p = !1, {
253
+ delay: g = 0,
254
+ duration: d = 400,
255
+ easing: j = rt,
256
+ interpolate: y = S
257
+ } = { ...t, ...h };
258
+ if (d === 0)
259
+ return m && (m.abort(), m = null), s.set(e = o), Promise.resolve();
260
+ const A = H.now() + g;
296
261
  let E;
297
- return i = U((O) => {
298
- if (O < A) return !0;
299
- l || (E = b(
262
+ return i = V((P) => {
263
+ if (P < A) return !0;
264
+ p || (E = y(
300
265
  /** @type {any} */
301
266
  e,
302
267
  f
303
- ), typeof u == "function" && (u = u(
268
+ ), typeof d == "function" && (d = d(
304
269
  /** @type {any} */
305
270
  e,
306
271
  f
307
- )), l = !0), h && (h.abort(), h = null);
308
- const w = O - A;
309
- return w > /** @type {number} */
310
- u ? (s.set(e = f), !1) : (s.set(e = E(P(w / u))), !0);
272
+ )), p = !0), m && (m.abort(), m = null);
273
+ const b = P - A;
274
+ return b > /** @type {number} */
275
+ d ? (s.set(e = f), !1) : (s.set(e = E(j(b / d))), !0);
311
276
  }), i.promise;
312
277
  }
313
278
  return {
314
279
  set: n,
315
- update: (f, a) => n(f(
280
+ update: (f, h) => n(f(
316
281
  /** @type {any} */
317
282
  o,
318
283
  /** @type {any} */
319
284
  e
320
- ), a),
285
+ ), h),
321
286
  subscribe: s.subscribe
322
287
  };
323
288
  }
324
- var M, $, H, F;
325
- const x = class x {
289
+ var w, B, J, R;
290
+ const Z = class Z {
326
291
  /**
327
292
  * @param {T} value
328
- * @param {TweenedOptions<T>} options
293
+ * @param {TweenOptions<T>} options
329
294
  */
330
295
  constructor(t, s = {}) {
331
- c(this, M, z(
332
- /** @type {T} */
333
- void 0
334
- ));
335
- c(this, $, z(
336
- /** @type {T} */
337
- void 0
338
- ));
339
- /** @type {TweenedOptions<T>} */
340
- c(this, H);
296
+ c(this, w);
297
+ c(this, B);
298
+ /** @type {TweenOptions<T>} */
299
+ c(this, J);
341
300
  /** @type {import('../internal/client/types').Task | null} */
342
- c(this, F, null);
343
- r(this, M).v = r(this, $).v = t, d(this, H, s);
301
+ c(this, R, null);
302
+ a(this, w, D(t)), a(this, B, D(t)), a(this, J, s);
344
303
  }
345
304
  /**
346
305
  * Create a tween whose value is bound to the return value of `fn`. This must be called
@@ -357,11 +316,11 @@ const x = class x {
357
316
  * ```
358
317
  * @template U
359
318
  * @param {() => U} fn
360
- * @param {TweenedOptions<U>} [options]
319
+ * @param {TweenOptions<U>} [options]
361
320
  */
362
321
  static of(t, s) {
363
- const i = new x(t(), s);
364
- return st(() => {
322
+ const i = new Z(t(), s);
323
+ return et(() => {
365
324
  i.set(t());
366
325
  }), i;
367
326
  }
@@ -370,60 +329,55 @@ const x = class x {
370
329
  *
371
330
  * If `options` are provided, they will override the tween's defaults.
372
331
  * @param {T} value
373
- * @param {TweenedOptions<T>} [options]
332
+ * @param {TweenOptions<T>} [options]
374
333
  * @returns
375
334
  */
376
335
  set(t, s) {
377
- var u;
378
- g(r(this, $), t);
336
+ var d;
337
+ u(r(this, B), t);
379
338
  let {
380
339
  delay: i = 0,
381
340
  duration: o = 400,
382
341
  easing: n = rt,
383
- interpolate: f = L
384
- } = { ...r(this, H), ...s };
342
+ interpolate: f = S
343
+ } = { ...r(this, J), ...s };
385
344
  if (o === 0)
386
- return (u = r(this, F)) == null || u.abort(), g(r(this, M), t), Promise.resolve();
387
- const a = m.now() + i;
388
- let h, l = !1, y = r(this, F);
389
- return d(this, F, U((P) => {
390
- if (P < a)
345
+ return (d = r(this, R)) == null || d.abort(), u(r(this, w), t), Promise.resolve();
346
+ const h = H.now() + i;
347
+ let m, p = !1, g = r(this, R);
348
+ return a(this, R, V((j) => {
349
+ if (j < h)
391
350
  return !0;
392
- if (!l) {
393
- l = !0;
394
- const A = r(this, M).v;
395
- h = f(A, t), typeof o == "function" && (o = o(A, t)), y == null || y.abort();
351
+ if (!p) {
352
+ p = !0;
353
+ const A = r(this, w).v;
354
+ m = f(A, t), typeof o == "function" && (o = o(A, t)), g == null || g.abort();
396
355
  }
397
- const b = P - a;
398
- return b > /** @type {number} */
399
- o ? (g(r(this, M), t), !1) : (g(r(this, M), h(n(b / /** @type {number} */
356
+ const y = j - h;
357
+ return y > /** @type {number} */
358
+ o ? (u(r(this, w), t), !1) : (u(r(this, w), m(n(y / /** @type {number} */
400
359
  o))), !0);
401
- })), r(this, F).promise;
360
+ })), r(this, R).promise;
402
361
  }
403
362
  get current() {
404
- return D(r(this, M));
363
+ return O(r(this, w));
405
364
  }
406
365
  get target() {
407
- return D(r(this, $));
366
+ return O(r(this, B));
408
367
  }
409
368
  set target(t) {
410
369
  this.set(t);
411
370
  }
412
371
  };
413
- M = new WeakMap(), $ = new WeakMap(), H = new WeakMap(), F = new WeakMap();
414
- let Y = x;
415
- const pt = /* @__PURE__ */ new ct(
372
+ w = new WeakMap(), B = new WeakMap(), J = new WeakMap(), R = new WeakMap();
373
+ let tt = Z;
374
+ const bt = /* @__PURE__ */ new ht(
416
375
  "(prefers-reduced-motion: reduce)"
417
- ), At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
418
- __proto__: null,
419
- Spring: X,
420
- Tween: Y,
421
- prefersReducedMotion: pt,
422
- spring: mt,
423
- tweened: lt
424
- }, Symbol.toStringTag, { value: "Module" }));
376
+ );
425
377
  export {
426
- At as i,
427
- U as l,
428
- m as r
378
+ v as Spring,
379
+ tt as Tween,
380
+ bt as prefersReducedMotion,
381
+ gt as spring,
382
+ yt as tweened
429
383
  };