@ssgoi/core 7.3.0-beta.4 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- var ke = Object.defineProperty;
2
- var De = (t, e, n) => e in t ? ke(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var _ = (t, e, n) => De(t, typeof e != "symbol" ? e + "" : e, n);
1
+ var De = Object.defineProperty;
2
+ var Fe = (t, e, n) => e in t ? De(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var O = (t, e, n) => Fe(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import { d as k, w as D } from "./index-B_K3Vnj-.js";
5
- import { W as w, M as I, r as ot } from "./retain-opacity-BVcRlLr1.js";
6
- import { A as ur } from "./retain-opacity-BVcRlLr1.js";
7
- import { P as Fe, I as x, S as vt, b as Me, d as Pt, a as Te, D as Ye } from "./provider-BLf6XeXT.js";
8
- import { F as Le, a as He, p as it, S as ze } from "./page-motion-CoPTk-Gd.js";
9
- class Ne {
5
+ import { W as S, M as I, r as ot } from "./retain-opacity-BVcRlLr1.js";
6
+ import { A as hr } from "./retain-opacity-BVcRlLr1.js";
7
+ import { P as Me, I as E, S as Pt, b as Te, d as vt, a as Ye, D as Le } from "./provider-BLf6XeXT.js";
8
+ import { F as He, a as ze, p as it, S as Ne } from "./page-motion-CoPTk-Gd.js";
9
+ class We {
10
10
  constructor(e) {
11
- _(this, "durationSec");
11
+ O(this, "durationSec");
12
12
  this.durationSec = Math.max(1 / 60, e.durationSec);
13
13
  }
14
14
  step(e, n, o) {
@@ -18,7 +18,7 @@ class Ne {
18
18
  return (r > 0 ? l >= n : l <= n) ? { position: n, velocity: 0 } : { position: l, velocity: r * c };
19
19
  }
20
20
  isSettled(e, n) {
21
- return Math.abs(e.position - n) < Fe;
21
+ return Math.abs(e.position - n) < Me;
22
22
  }
23
23
  }
24
24
  function Ft(t, e) {
@@ -47,7 +47,7 @@ function z(t, e) {
47
47
  o.height / c
48
48
  );
49
49
  }
50
- function V(t, e) {
50
+ function X(t, e) {
51
51
  const { scrollingElement: n, positionedParent: o } = t, i = n !== o && n.contains(o) ? Ft(n, o).top : 0;
52
52
  return {
53
53
  top: t[e].scroll.y,
@@ -56,7 +56,7 @@ function V(t, e) {
56
56
  height: n.clientHeight - i
57
57
  };
58
58
  }
59
- function ue(t, e) {
59
+ function pe(t, e) {
60
60
  const { scrollingElement: n, positionedParent: o } = t, i = n !== o && n.contains(o) ? Ft(n, o).top : 0;
61
61
  return {
62
62
  top: t[e].scroll.y - i,
@@ -70,7 +70,7 @@ const Ht = 8, zt = {
70
70
  doubleSpring: 1.2
71
71
  }
72
72
  };
73
- function We({
73
+ function Xe({
74
74
  direction: t
75
75
  }) {
76
76
  const e = t === "forward" ? Ht : -Ht;
@@ -102,15 +102,15 @@ function Ve() {
102
102
  // Both sides run together — the cross-fade is the whole point of the
103
103
  // snappy feel. (fluid's sibling uses staggered fade-through.)
104
104
  composition: { mode: "parallel", startAt: [0, 0] },
105
- build: We
105
+ build: Xe
106
106
  };
107
107
  }
108
- const Nt = 30, Xe = {
108
+ const Nt = 30, Be = {
109
109
  inertia: { acceleration: 150, resistance: 1.5, restDelta: 0.1 }
110
- }, Be = {
110
+ }, Ue = {
111
111
  spring: { stiffness: 180, damping: 34, restDelta: 0.1, restSpeed: 0.1 }
112
112
  };
113
- function Ue({
113
+ function je({
114
114
  direction: t
115
115
  }) {
116
116
  const e = t === "forward" ? 1 : -1, n = -Nt * e, o = Nt * e;
@@ -136,26 +136,26 @@ function Ue({
136
136
  }
137
137
  };
138
138
  }
139
- function je() {
139
+ function Ze() {
140
140
  return {
141
- outPhysics: Xe,
142
- inPhysics: Be,
141
+ outPhysics: Be,
142
+ inPhysics: Ue,
143
143
  // Phased motion: outgoing falls away first under inertia, then incoming
144
144
  // springs in. The fade-through shape comes from the integrator curves
145
145
  // plus the sequence handoff, not from FADE_SPLIT inside animate(t).
146
146
  composition: { mode: "sequence" },
147
- build: Ue
147
+ build: je
148
148
  };
149
149
  }
150
- const Ze = {
150
+ const Ge = {
151
151
  snappy: Ve(),
152
- fluid: je()
153
- }, Wt = 8, Ge = {
152
+ fluid: Ze()
153
+ }, Wt = 8, qe = {
154
154
  inertia: { acceleration: 150, resistance: 1.5, restDelta: 0.1 }
155
- }, qe = {
155
+ }, Ke = {
156
156
  spring: { stiffness: 180, damping: 34, restDelta: 0.1, restSpeed: 0.1 }
157
157
  };
158
- function Ke({
158
+ function Je({
159
159
  direction: t
160
160
  }) {
161
161
  const e = t === "forward" ? 1 : -1, n = -Wt * e, o = Wt * e;
@@ -181,17 +181,17 @@ function Ke({
181
181
  }
182
182
  };
183
183
  }
184
- function Je() {
184
+ function Qe() {
185
185
  return {
186
- outPhysics: Ge,
187
- inPhysics: qe,
186
+ outPhysics: qe,
187
+ inPhysics: Ke,
188
188
  composition: { mode: "sequence" },
189
- build: Ke
189
+ build: Je
190
190
  };
191
191
  }
192
- const Qe = 40, tn = {
192
+ const tn = 40, en = {
193
193
  inertia: { acceleration: 150, resistance: 1.5, restDelta: 0.1 }
194
- }, en = {
194
+ }, nn = {
195
195
  spring: {
196
196
  stiffness: 400,
197
197
  damping: 30,
@@ -200,8 +200,8 @@ const Qe = 40, tn = {
200
200
  restSpeed: 0.1
201
201
  }
202
202
  };
203
- function nn(t) {
204
- const e = Qe;
203
+ function on(t) {
204
+ const e = tn;
205
205
  return {
206
206
  out: {
207
207
  willChange: "opacity",
@@ -223,31 +223,31 @@ function nn(t) {
223
223
  }
224
224
  };
225
225
  }
226
- function on() {
226
+ function rn() {
227
227
  return {
228
- outPhysics: tn,
229
- inPhysics: en,
228
+ outPhysics: en,
229
+ inPhysics: nn,
230
230
  composition: { mode: "parallel", startAt: [0, 0] },
231
- build: nn
231
+ build: on
232
232
  };
233
233
  }
234
- const Vt = Je(), rn = {
235
- snappy: Vt,
236
- directional: Vt,
237
- "non-directional": on()
238
- }, Xt = {
234
+ const Xt = Qe(), sn = {
235
+ snappy: Xt,
236
+ directional: Xt,
237
+ "non-directional": rn()
238
+ }, Vt = {
239
239
  spring: { stiffness: 280, damping: 30, restDelta: 0.1, restSpeed: 0.1 }
240
- }, pt = 0.1, ft = 1 / 3, Bt = (t) => Math.max(0, Math.min(1, t));
241
- function sn({
240
+ }, ut = 0.1, ft = 1 / 3, Bt = (t) => Math.max(0, Math.min(1, t));
241
+ function an({
242
242
  direction: t
243
243
  }) {
244
- const e = t === "forward" ? 1 : -1, n = 1 - e * pt;
244
+ const e = t === "forward" ? 1 : -1, n = 1 - e * ut;
245
245
  return {
246
246
  out: {
247
247
  willChange: "transform, opacity",
248
248
  startStyle: {},
249
249
  animate: (o) => ({
250
- transform: `scale(${1 + e * o * pt})`,
250
+ transform: `scale(${1 + e * o * ut})`,
251
251
  opacity: `${Bt(1 - o / ft)}`
252
252
  })
253
253
  },
@@ -258,26 +258,26 @@ function sn({
258
258
  opacity: "0"
259
259
  },
260
260
  animate: (o) => ({
261
- transform: `scale(${n + e * o * pt})`,
261
+ transform: `scale(${n + e * o * ut})`,
262
262
  opacity: `${Bt((o - ft) / (1 - ft))}`
263
263
  })
264
264
  }
265
265
  };
266
266
  }
267
- function an() {
267
+ function cn() {
268
268
  return {
269
- outPhysics: Xt,
270
- inPhysics: Xt,
269
+ outPhysics: Vt,
270
+ inPhysics: Vt,
271
271
  // Scale must move together on both sides; fade-through is encoded inside
272
272
  // each tick (piecewise), not via composition staggering — so parallel.
273
273
  composition: { mode: "parallel" },
274
- build: sn
274
+ build: an
275
275
  };
276
276
  }
277
277
  const Ut = {
278
278
  spring: { stiffness: 280, damping: 30, restDelta: 0.1, restSpeed: 0.1 }
279
279
  }, ht = 0.1, yt = 1 / 3, jt = (t) => Math.max(0, Math.min(1, t));
280
- function cn() {
280
+ function ln() {
281
281
  return {
282
282
  out: {
283
283
  willChange: "opacity",
@@ -299,41 +299,41 @@ function cn() {
299
299
  }
300
300
  };
301
301
  }
302
- function ln() {
302
+ function dn() {
303
303
  return {
304
304
  outPhysics: Ut,
305
305
  inPhysics: Ut,
306
306
  composition: { mode: "parallel" },
307
- build: cn
307
+ build: ln
308
308
  };
309
309
  }
310
- const Zt = an(), dn = {
310
+ const Zt = cn(), pn = {
311
311
  snappy: Zt,
312
312
  directional: Zt,
313
- "non-directional": ln()
313
+ "non-directional": dn()
314
314
  }, un = {
315
- x: Ze,
316
- y: rn,
317
- z: dn
315
+ x: Ge,
316
+ y: sn,
317
+ z: pn
318
318
  };
319
- function pn(t, e) {
319
+ function fn(t, e) {
320
320
  const n = un[t];
321
321
  return n[e] ?? n.snappy;
322
322
  }
323
- const fn = "x", hn = "snappy";
323
+ const hn = "x", yn = "snappy";
324
324
  function Gt(t, e) {
325
325
  t.style.willChange = e.willChange, t.style.backfaceVisibility = "hidden", t.style.contain = "layout paint";
326
326
  for (const [n, o] of Object.entries(e.startStyle))
327
327
  t.style[n] = o;
328
328
  }
329
- function pe(t) {
329
+ function ue(t) {
330
330
  t.style.willChange = "auto", t.style.backfaceVisibility = "", t.style.contain = "", t.style.transform = "", t.style.opacity = "", t.style.clipPath = "";
331
331
  }
332
- function yn(t) {
333
- pe(t), t.style.pointerEvents = "";
332
+ function mn(t) {
333
+ ue(t), t.style.pointerEvents = "";
334
334
  }
335
- const mn = (t = {}) => {
336
- const e = t.type ?? fn, n = t.feel ?? hn, o = pn(e, n), i = (r) => {
335
+ const gn = (t = {}) => {
336
+ const e = t.type ?? hn, n = t.feel ?? yn, o = fn(e, n), i = (r) => {
337
337
  const c = o.build({ direction: r });
338
338
  return {
339
339
  prepare: ({ from: s, to: l }) => (s.then((a) => {
@@ -343,26 +343,26 @@ const mn = (t = {}) => {
343
343
  }), {}),
344
344
  animation: ({ from: s, to: l, context: a }) => {
345
345
  if (e === "z") {
346
- const y = V(a, "from"), p = V(a, "to");
347
- s.style.clipPath = `inset(${y.top}px 0 calc(100% - ${y.top + y.height}px) 0)`, l.style.clipPath = `inset(${p.top}px 0 calc(100% - ${p.top + p.height}px) 0)`;
346
+ const y = X(a, "from"), u = X(a, "to");
347
+ s.style.clipPath = `inset(${y.top}px 0 calc(100% - ${y.top + y.height}px) 0)`, l.style.clipPath = `inset(${u.top}px 0 calc(100% - ${u.top + u.height}px) 0)`;
348
348
  }
349
- const d = new w({
349
+ const d = new S({
350
350
  element: s,
351
- integrator: x.from(o.outPhysics),
351
+ integrator: E.from(o.outPhysics),
352
352
  style: (y) => c.out.animate(y),
353
353
  // Restore the reused from node's inline styles on complete. This
354
354
  // covers willChange/backfaceVisibility/contain/transform/opacity (from
355
355
  // applyStartStyle + the WAAPI final frame), pointerEvents (set in
356
356
  // prepare), and clipPath (set above for z; harmless no-op otherwise).
357
- onDispose: () => yn(s)
358
- }), u = new w({
357
+ onDispose: () => mn(s)
358
+ }), p = new S({
359
359
  element: l,
360
- integrator: x.from(o.inPhysics),
360
+ integrator: E.from(o.inPhysics),
361
361
  style: (y) => c.in.animate(y),
362
- onDispose: () => pe(l)
362
+ onDispose: () => ue(l)
363
363
  });
364
364
  return new I(
365
- { out: d, in: u },
365
+ { out: d, in: p },
366
366
  o.composition
367
367
  );
368
368
  }
@@ -373,19 +373,19 @@ const mn = (t = {}) => {
373
373
  backward: i("backward")
374
374
  });
375
375
  };
376
- function gn(t, e, n) {
376
+ function bn(t, e, n) {
377
377
  return t === "y" ? e === "non-directional" ? "non-directional" : "directional" : t !== "x" || e === "snappy" || n === "snappy" ? "snappy" : "fluid";
378
378
  }
379
- function Vi(t = {}, e = {}) {
380
- const n = t.type ?? "x", o = t.variant, i = t.feel, r = gn(n, o, i);
379
+ function Ui(t = {}, e = {}) {
380
+ const n = t.type ?? "x", o = t.variant, i = t.feel, r = bn(n, o, i);
381
381
  return D(
382
- mn({ type: n, feel: r }),
382
+ gn({ type: n, feel: r }),
383
383
  e.override
384
384
  );
385
385
  }
386
- const bn = {
386
+ const wn = {
387
387
  spring: { stiffness: 200, damping: 22 }
388
- }, wn = 10, Sn = "horizontal", xn = "#000000";
388
+ }, xn = 10, Sn = "horizontal", En = "#000000";
389
389
  function qt(t, e, n, o, i, r) {
390
390
  window.getComputedStyle(t).position === "static" && (t.style.position = "relative");
391
391
  const s = document.createElement("div");
@@ -403,25 +403,25 @@ function qt(t, e, n, o, i, r) {
403
403
  for (let a = 0; a < e; a++) {
404
404
  const d = document.createElement("div");
405
405
  if (n === "horizontal") {
406
- const u = 100 / e;
406
+ const p = 100 / e;
407
407
  d.style.cssText = `
408
408
  position: absolute;
409
- top: ${u * a}%;
409
+ top: ${p * a}%;
410
410
  left: 0;
411
411
  width: 100%;
412
- height: calc(${u}% + 1px);
412
+ height: calc(${p}% + 1px);
413
413
  background: ${o};
414
414
  transform: scaleX(${i === "hidden" ? 0 : 1});
415
415
  transform-origin: ${r} center;
416
416
  will-change: transform;
417
417
  `;
418
418
  } else {
419
- const u = 100 / e;
419
+ const p = 100 / e;
420
420
  d.style.cssText = `
421
421
  position: absolute;
422
422
  top: 0;
423
- left: ${u * a}%;
424
- width: calc(${u}% + 1px);
423
+ left: ${p * a}%;
424
+ width: calc(${p}% + 1px);
425
425
  height: 100%;
426
426
  background: ${o};
427
427
  transform: scaleY(${i === "hidden" ? 0 : 1});
@@ -433,10 +433,10 @@ function qt(t, e, n, o, i, r) {
433
433
  }
434
434
  return t.appendChild(s), { container: s, blinds: l };
435
435
  }
436
- const En = (t = {}) => {
437
- const e = t.blindCount ?? wn, n = t.direction ?? Sn, o = t.blindColor ?? xn, i = t.physics ?? bn, r = {
436
+ const $n = (t = {}) => {
437
+ const e = t.blindCount ?? xn, n = t.direction ?? Sn, o = t.blindColor ?? En, i = t.physics ?? wn, r = {
438
438
  prepare: async ({ from: c, to: s, signal: l, onCleanup: a }) => {
439
- const d = await c, u = await s;
439
+ const d = await c, p = await s;
440
440
  if (l != null && l.aborted) throw new Error("Blind preparation superseded");
441
441
  d.style.zIndex = "1000";
442
442
  const y = qt(
@@ -447,9 +447,9 @@ const En = (t = {}) => {
447
447
  "hidden",
448
448
  "left"
449
449
  );
450
- u.style.position = "relative", u.style.zIndex = "0";
451
- const p = qt(
452
- u,
450
+ p.style.position = "relative", p.style.zIndex = "0";
451
+ const u = qt(
452
+ p,
453
453
  e,
454
454
  n,
455
455
  o,
@@ -457,13 +457,13 @@ const En = (t = {}) => {
457
457
  "right"
458
458
  );
459
459
  return a == null || a(() => {
460
- y.container.remove(), p.container.remove();
460
+ y.container.remove(), u.container.remove();
461
461
  }), {
462
462
  fromEl: d,
463
463
  fromBlinds: y.blinds,
464
464
  fromContainer: y.container,
465
- toBlinds: p.blinds,
466
- toContainer: p.container
465
+ toBlinds: u.blinds,
466
+ toContainer: u.container
467
467
  };
468
468
  },
469
469
  animation: ({
@@ -472,10 +472,10 @@ const En = (t = {}) => {
472
472
  fromBlinds: l,
473
473
  fromContainer: a,
474
474
  toBlinds: d,
475
- toContainer: u
475
+ toContainer: p
476
476
  }) => {
477
477
  const y = l.map(
478
- (b, g) => new w({
478
+ (b, g) => new S({
479
479
  element: b,
480
480
  motion: {
481
481
  lifetime: "temporary",
@@ -483,13 +483,13 @@ const En = (t = {}) => {
483
483
  key: `blind:${n}:${e}:${g}`,
484
484
  space: c
485
485
  },
486
- integrator: x.from(i),
487
- style: (E) => ({
488
- transform: n === "horizontal" ? `scaleX(${E})` : `scaleY(${E})`
486
+ integrator: E.from(i),
487
+ style: (w) => ({
488
+ transform: n === "horizontal" ? `scaleX(${w})` : `scaleY(${w})`
489
489
  })
490
490
  })
491
- ), p = d.map(
492
- (b, g) => new w({
491
+ ), u = d.map(
492
+ (b, g) => new S({
493
493
  element: b,
494
494
  motion: {
495
495
  lifetime: "temporary",
@@ -497,25 +497,25 @@ const En = (t = {}) => {
497
497
  key: `blind:${n}:${e}:${g}`,
498
498
  space: s
499
499
  },
500
- integrator: x.from(i),
501
- style: (E, C) => ({
500
+ integrator: E.from(i),
501
+ style: (w, C) => ({
502
502
  transform: n === "horizontal" ? `scaleX(${C})` : `scaleY(${C})`
503
503
  })
504
504
  })
505
- ), f = new I(y, { mode: "parallel" }), h = new I(p, { mode: "parallel" }), m = new I(
505
+ ), f = new I(y, { mode: "parallel" }), h = new I(u, { mode: "parallel" }), m = new I(
506
506
  { out: f, in: h },
507
507
  { mode: "sequence" }
508
508
  );
509
509
  return m.onDispose = (b) => {
510
- u.remove(), a.remove(), b.owns(c) && (c.style.zIndex = "", c.style.position = "");
510
+ p.remove(), a.remove(), b.owns(c) && (c.style.zIndex = "", c.style.position = "");
511
511
  }, m;
512
512
  }
513
513
  };
514
514
  return k({ forward: r, backward: r });
515
515
  };
516
- function Xi(t = {}, e = {}) {
516
+ function ji(t = {}, e = {}) {
517
517
  const { type: n = "horizontal" } = t;
518
- return D(En({ direction: n }), e.override);
518
+ return D($n({ direction: n }), e.override);
519
519
  }
520
520
  function K(t, e = {}) {
521
521
  const n = Object.fromEntries(
@@ -535,14 +535,14 @@ function J(t) {
535
535
  e == null || e(), t.releaseFill();
536
536
  };
537
537
  }
538
- const $n = {
538
+ const Cn = {
539
539
  spring: {
540
540
  stiffness: 250,
541
541
  damping: 23,
542
542
  doubleSpring: 0.7
543
543
  }
544
- }, Z = 0.5;
545
- function Cn(t) {
544
+ }, j = 0.5;
545
+ function An(t) {
546
546
  const e = t === "enter" ? -100 : 100, n = t === "enter" ? 100 : -100;
547
547
  return {
548
548
  out: {
@@ -550,26 +550,26 @@ function Cn(t) {
550
550
  startStyle: {},
551
551
  animate: (o) => ({
552
552
  transform: `translate3d(${e * o}%, 0, 0)`,
553
- opacity: `${Z + (1 - Z) * (1 - o)}`
553
+ opacity: `${j + (1 - j) * (1 - o)}`
554
554
  })
555
555
  },
556
556
  in: {
557
557
  willChange: "transform, opacity",
558
558
  startStyle: {
559
559
  transform: `translate3d(${n}%, 0, 0)`,
560
- opacity: `${Z}`
560
+ opacity: `${j}`
561
561
  },
562
562
  animate: (o) => ({
563
563
  transform: `translate3d(${n * (1 - o)}%, 0, 0)`,
564
- opacity: `${Z + (1 - Z) * o}`
564
+ opacity: `${j + (1 - j) * o}`
565
565
  })
566
566
  }
567
567
  };
568
568
  }
569
- function An() {
569
+ function Pn() {
570
570
  return {
571
- physics: $n,
572
- build: Cn
571
+ physics: Cn,
572
+ build: An
573
573
  };
574
574
  }
575
575
  const vn = {
@@ -582,7 +582,7 @@ const vn = {
582
582
  }
583
583
  }
584
584
  };
585
- function Pn(t) {
585
+ function Rn(t) {
586
586
  const e = t === "enter" ? -20 : 100, n = t === "enter" ? 100 : -20;
587
587
  return {
588
588
  out: {
@@ -603,51 +603,51 @@ function Pn(t) {
603
603
  }
604
604
  };
605
605
  }
606
- function Rn() {
606
+ function In() {
607
607
  return {
608
608
  physics: vn,
609
- build: Pn
609
+ build: Rn
610
610
  };
611
611
  }
612
- const In = {
613
- parallax: Rn(),
614
- crossfade: An()
615
- }, L = "0", fe = "1", M = "2", On = "parallax";
612
+ const On = {
613
+ parallax: In(),
614
+ crossfade: Pn()
615
+ }, L = "0", fe = "1", M = "2", _n = "parallax";
616
616
  function Kt(t, e) {
617
617
  t.style.willChange = e.willChange, t.style.backfaceVisibility = "hidden", t.style.contain = "layout paint";
618
618
  for (const [n, o] of Object.entries(e.startStyle))
619
619
  t.style[n] = o;
620
620
  }
621
- const _n = (t = {}) => {
622
- const e = In[t.type ?? On], n = e.physics, o = (i) => {
621
+ const kn = (t = {}) => {
622
+ const e = On[t.type ?? _n], n = e.physics, o = (i) => {
623
623
  const r = i === "forward" ? "enter" : "exit", c = e.build(r), s = r === "enter" ? L : M, l = r === "enter" ? M : L;
624
624
  return {
625
- prepare: ({ from: a, to: d }) => (a.then((u) => {
626
- Kt(u, c.out), u.style.pointerEvents = "none", u.style.zIndex = s;
627
- }), d.then((u) => {
628
- Kt(u, c.in), u.style.position = "relative", u.style.zIndex = l;
625
+ prepare: ({ from: a, to: d }) => (a.then((p) => {
626
+ Kt(p, c.out), p.style.pointerEvents = "none", p.style.zIndex = s;
627
+ }), d.then((p) => {
628
+ Kt(p, c.in), p.style.position = "relative", p.style.zIndex = l;
629
629
  }), {}),
630
630
  animation: ({ from: a, to: d }) => {
631
- const u = new w({
631
+ const p = new S({
632
632
  element: a,
633
- integrator: x.from(n),
634
- style: (p) => c.out.animate(p),
633
+ integrator: E.from(n),
634
+ style: (u) => c.out.animate(u),
635
635
  // The outgoing node is the real, reused element (re-hidden on navigate),
636
636
  // so clear every inline style we set on it — mirroring the `to` cleanup,
637
637
  // plus the out-only `pointerEvents` / `zIndex`.
638
638
  onDispose: () => {
639
639
  a.style.willChange = "auto", a.style.backfaceVisibility = "", a.style.contain = "", a.style.transform = "", a.style.opacity = "", a.style.pointerEvents = "", a.style.zIndex = "";
640
640
  }
641
- }), y = new w({
641
+ }), y = new S({
642
642
  element: d,
643
- integrator: x.from(n),
644
- style: (p) => c.in.animate(p),
643
+ integrator: E.from(n),
644
+ style: (u) => c.in.animate(u),
645
645
  onDispose: () => {
646
646
  d.style.willChange = "auto", d.style.backfaceVisibility = "", d.style.contain = "", d.style.transform = "", d.style.opacity = "", d.style.position === "relative" && (d.style.position = ""), d.style.zIndex === l && (d.style.zIndex = "");
647
647
  }
648
648
  });
649
- return [u, y].forEach(J), new I(
650
- { out: u, in: y },
649
+ return [p, y].forEach(J), new I(
650
+ { out: p, in: y },
651
651
  { mode: "parallel" }
652
652
  );
653
653
  }
@@ -658,22 +658,22 @@ const _n = (t = {}) => {
658
658
  backward: o("backward")
659
659
  });
660
660
  };
661
- function kn(t) {
661
+ function Dn(t) {
662
662
  return t === "slide" || t === "crossfade" ? "crossfade" : "parallax";
663
663
  }
664
- function Bi(t = {}, e = {}) {
665
- const n = t.type, o = kn(n);
666
- return D(_n({ type: o }), e.override);
664
+ function Zi(t = {}, e = {}) {
665
+ const n = t.type, o = Dn(n);
666
+ return D(kn({ type: o }), e.override);
667
667
  }
668
- const Dn = (t = {}) => {
669
- const e = t.physics ?? Le, n = t.physics ?? He, o = {
668
+ const Fn = (t = {}) => {
669
+ const e = t.physics ?? He, n = t.physics ?? ze, o = {
670
670
  prepare: ({ to: i }) => (i.then((r) => {
671
671
  r.style.opacity = "0", r.style.willChange = "opacity";
672
672
  }), {}),
673
673
  animation: ({ from: i, to: r }) => {
674
- const c = new w({
674
+ const c = new S({
675
675
  element: i,
676
- integrator: x.from(n),
676
+ integrator: E.from(n),
677
677
  // Default bounds (0, 1). `u` runs 1→0 as the animation moves
678
678
  // forward, mapping opacity from fully visible to invisible.
679
679
  style: (l) => ({
@@ -682,9 +682,9 @@ const Dn = (t = {}) => {
682
682
  onDispose: () => {
683
683
  i.style.willChange = "auto", i.style.opacity = "";
684
684
  }
685
- }), s = new w({
685
+ }), s = new S({
686
686
  element: r,
687
- integrator: x.from(e),
687
+ integrator: E.from(e),
688
688
  style: (l) => ({
689
689
  opacity: it("fade", "in", "forward", l).opacity
690
690
  }),
@@ -700,22 +700,22 @@ const Dn = (t = {}) => {
700
700
  };
701
701
  return k({ forward: o, backward: o });
702
702
  };
703
- function Ui(t = {}, e = {}) {
704
- return D(Dn(), e.override);
703
+ function Gi(t = {}, e = {}) {
704
+ return D(Fn(), e.override);
705
705
  }
706
706
  const mt = {
707
707
  scaleDown: { stiffness: 20, damping: 7 },
708
708
  translate: { stiffness: 15, damping: 7 },
709
709
  scaleUp: { stiffness: 20, damping: 7 }
710
- }, X = {
710
+ }, V = {
711
711
  scaleDown: 0,
712
712
  translate: 0.2,
713
713
  scaleUp: 0.8
714
- }, Fn = 0.8, Mn = "white", Jt = 1e3 / 60, Tn = 600;
715
- function Yn(t) {
714
+ }, Mn = 0.8, Tn = "white", Jt = 1e3 / 60, Yn = 600;
715
+ function Ln(t) {
716
716
  const { items: e, from: n, to: o, recordFrame: i } = t, r = Jt / 1e3, c = Math.abs(o - n), s = e.map((a) => ({
717
717
  item: a,
718
- integrator: new vt({
718
+ integrator: new Pt({
719
719
  stiffness: a.spring.stiffness,
720
720
  damping: a.spring.damping
721
721
  }),
@@ -728,19 +728,19 @@ function Yn(t) {
728
728
  (a === 0 || s[a].item.offset === 0) && (s[a].started = !0);
729
729
  i(0);
730
730
  let l = 0;
731
- for (let a = 1; a <= Tn; a++) {
731
+ for (let a = 1; a <= Yn; a++) {
732
732
  const d = a * Jt;
733
733
  l = d;
734
- for (const u of s)
735
- !u.started || u.settled || (u.state = u.integrator.step(u.state, o, r), u.integrator.isSettled(u.state, o) ? (u.settleTime += r, u.settleTime >= Me && (u.state = { position: o, velocity: 0 }, u.settled = !0)) : u.settleTime = 0, u.item.tick(u.state.position));
736
- for (let u = 1; u < s.length; u++) {
737
- const y = s[u];
734
+ for (const p of s)
735
+ !p.started || p.settled || (p.state = p.integrator.step(p.state, o, r), p.integrator.isSettled(p.state, o) ? (p.settleTime += r, p.settleTime >= Te && (p.state = { position: o, velocity: 0 }, p.settled = !0)) : p.settleTime = 0, p.item.tick(p.state.position));
736
+ for (let p = 1; p < s.length; p++) {
737
+ const y = s[p];
738
738
  if (y.started) continue;
739
- const p = s[u - 1];
740
- if (!p.started) continue;
741
- (c === 0 ? 1 : Math.abs(p.state.position - n) / c) >= y.item.offset && (y.started = !0);
739
+ const u = s[p - 1];
740
+ if (!u.started) continue;
741
+ (c === 0 ? 1 : Math.abs(u.state.position - n) / c) >= y.item.offset && (y.started = !0);
742
742
  }
743
- if (i(d), s.every((u) => u.settled)) return d;
743
+ if (i(d), s.every((p) => p.settled)) return d;
744
744
  }
745
745
  return l;
746
746
  }
@@ -751,10 +751,10 @@ function gt(t, e) {
751
751
  } : e;
752
752
  }
753
753
  function Qt(t) {
754
- const { rect: e, scale: n, direction: o, override: i } = t, r = o === "out" ? { scale: 1, translateY: -e.top } : { scale: n, translateY: -e.top + e.height }, c = gt(i, mt.scaleDown), s = gt(i, mt.translate), l = gt(i, mt.scaleUp), a = o === "out" ? 1 : 0, d = o === "out" ? 0 : 1, u = o === "out" ? [
754
+ const { rect: e, scale: n, direction: o, override: i } = t, r = o === "out" ? { scale: 1, translateY: -e.top } : { scale: n, translateY: -e.top + e.height }, c = gt(i, mt.scaleDown), s = gt(i, mt.translate), l = gt(i, mt.scaleUp), a = o === "out" ? 1 : 0, d = o === "out" ? 0 : 1, p = o === "out" ? [
755
755
  {
756
756
  spring: c,
757
- offset: X.scaleDown,
757
+ offset: V.scaleDown,
758
758
  tick: (f) => {
759
759
  const h = 1 - f;
760
760
  r.scale = 1 - (1 - n) * h;
@@ -762,7 +762,7 @@ function Qt(t) {
762
762
  },
763
763
  {
764
764
  spring: s,
765
- offset: X.translate,
765
+ offset: V.translate,
766
766
  tick: (f) => {
767
767
  const h = 1 - f;
768
768
  r.translateY = -e.top - e.height * h;
@@ -770,7 +770,7 @@ function Qt(t) {
770
770
  },
771
771
  {
772
772
  spring: l,
773
- offset: X.scaleUp,
773
+ offset: V.scaleUp,
774
774
  tick: (f) => {
775
775
  const h = 1 - f;
776
776
  r.scale = n + (1 - n) * h;
@@ -779,27 +779,27 @@ function Qt(t) {
779
779
  ] : [
780
780
  {
781
781
  spring: c,
782
- offset: X.scaleDown,
782
+ offset: V.scaleDown,
783
783
  tick: (f) => {
784
784
  r.scale = 1 - (1 - n) * f;
785
785
  }
786
786
  },
787
787
  {
788
788
  spring: s,
789
- offset: X.translate,
789
+ offset: V.translate,
790
790
  tick: (f) => {
791
791
  r.translateY = -e.top + e.height * (1 - f);
792
792
  }
793
793
  },
794
794
  {
795
795
  spring: l,
796
- offset: X.scaleUp,
796
+ offset: V.scaleUp,
797
797
  tick: (f) => {
798
798
  r.scale = n + (1 - n) * f;
799
799
  }
800
800
  }
801
- ], y = [], p = Yn({
802
- items: u,
801
+ ], y = [], u = Ln({
802
+ items: p,
803
803
  from: a,
804
804
  to: d,
805
805
  recordFrame: (f) => y.push({
@@ -808,9 +808,9 @@ function Qt(t) {
808
808
  translateY: r.translateY
809
809
  })
810
810
  });
811
- return { snapshots: y, totalDuration: p };
811
+ return { snapshots: y, totalDuration: u };
812
812
  }
813
- function Ln(t, e) {
813
+ function Hn(t, e) {
814
814
  if (t.length === 0) return { time: 0, scale: 1, translateY: 0 };
815
815
  if (t.length === 1 || e <= 0) return t[0];
816
816
  if (e >= 1) return t[t.length - 1];
@@ -823,13 +823,13 @@ function Ln(t, e) {
823
823
  translateY: r.translateY + (c.translateY - r.translateY) * s
824
824
  };
825
825
  }
826
- const Hn = [
826
+ const zn = [
827
827
  [1, 1],
828
828
  [-1, 1],
829
829
  [1, -1],
830
830
  [-1, -1]
831
831
  ];
832
- function zn(t, e) {
832
+ function Nn(t, e) {
833
833
  const i = (r, c, s) => {
834
834
  const l = document.createElement("div");
835
835
  Object.assign(l.style, {
@@ -908,25 +908,25 @@ function ee(t, e) {
908
908
  }
909
909
  function bt(t, e, n, o, i) {
910
910
  const r = n / 1e3;
911
- return new w({
911
+ return new S({
912
912
  element: t,
913
- integrator: new Ne({ durationSec: r }),
913
+ integrator: new We({ durationSec: r }),
914
914
  lowerBound: 0,
915
915
  upperBound: 1,
916
- style: (c) => o(Ln(e, c)),
916
+ style: (c) => o(Hn(e, c)),
917
917
  onDispose: i
918
918
  });
919
919
  }
920
- const Nn = (t = {}) => {
920
+ const Wn = (t = {}) => {
921
921
  var r;
922
- const e = ((r = t.border) == null ? void 0 : r.color) ?? Mn, n = Fn, o = t.physics, i = {
922
+ const e = ((r = t.border) == null ? void 0 : r.color) ?? Tn, n = Mn, o = t.physics, i = {
923
923
  prepare: ({ from: c, to: s, context: l, onCleanup: a }) => {
924
- const d = V(l, "from"), u = V(l, "to"), y = Ft(document.body, l.positionedParent), p = zn(e, {
924
+ const d = X(l, "from"), p = X(l, "to"), y = Ft(document.body, l.positionedParent), u = Nn(e, {
925
925
  ...d,
926
926
  top: y.top
927
927
  });
928
928
  a == null || a(() => {
929
- for (const f of Object.values(p)) f.remove();
929
+ for (const f of Object.values(u)) f.remove();
930
930
  });
931
931
  for (const f of [
932
932
  "topLeft",
@@ -934,21 +934,21 @@ const Nn = (t = {}) => {
934
934
  "bottomLeft",
935
935
  "bottomRight"
936
936
  ])
937
- l.positionedParent.appendChild(p[f]);
937
+ l.positionedParent.appendChild(u[f]);
938
938
  return c.then((f) => {
939
939
  te(f, d), ee(f, d), f.style.transform = `translateY(${-d.top}px)`;
940
940
  }), s.then((f) => {
941
- te(f, u), ee(f, u), f.style.transform = `translateY(${-u.top + u.height}px) scale(${n})`;
942
- }), { borders: p, fromRect: d, toRect: u };
941
+ te(f, p), ee(f, p), f.style.transform = `translateY(${-p.top + p.height}px) scale(${n})`;
942
+ }), { borders: u, fromRect: d, toRect: p };
943
943
  },
944
- animation: ({ from: c, to: s, context: l, borders: a, fromRect: d, toRect: u }) => {
944
+ animation: ({ from: c, to: s, context: l, borders: a, fromRect: d, toRect: p }) => {
945
945
  const y = Qt({
946
946
  rect: d,
947
947
  scale: n,
948
948
  direction: "out",
949
949
  override: o
950
- }), p = Qt({
951
- rect: u,
950
+ }), u = Qt({
951
+ rect: p,
952
952
  scale: n,
953
953
  direction: "in",
954
954
  override: o
@@ -964,28 +964,28 @@ const Nn = (t = {}) => {
964
964
  }
965
965
  ), h = bt(
966
966
  s,
967
- p.snapshots,
968
- p.totalDuration,
967
+ u.snapshots,
968
+ u.totalDuration,
969
969
  (g) => ({
970
970
  transform: `translateY(${g.translateY}px) scale(${g.scale})`
971
971
  }),
972
972
  () => {
973
973
  s.style.clipPath = "", s.style.transformOrigin = "", s.style.transform = "";
974
974
  }
975
- ), m = Hn.map(([g, E], C) => {
976
- const v = ["topLeft", "topRight", "bottomLeft", "bottomRight"][C];
975
+ ), m = zn.map(([g, w], C) => {
976
+ const A = ["topLeft", "topRight", "bottomLeft", "bottomRight"][C];
977
977
  return bt(
978
- a[v],
978
+ a[A],
979
979
  y.snapshots,
980
980
  y.totalDuration,
981
- (A) => {
982
- const S = (d.width - d.width * A.scale) / 2 * 0.7 * g, $ = (d.height - d.height * A.scale) / 2 * 0.7 * E;
983
- return { transform: `translate(${S}px, ${$}px)` };
981
+ (P) => {
982
+ const x = (d.width - d.width * P.scale) / 2 * 0.7 * g, $ = (d.height - d.height * P.scale) / 2 * 0.7 * w;
983
+ return { transform: `translate(${x}px, ${$}px)` };
984
984
  }
985
985
  );
986
986
  });
987
987
  for (const g of m)
988
- g instanceof w && (g.motion.lifetime = "temporary");
988
+ g instanceof S && (g.motion.lifetime = "temporary");
989
989
  const b = K({
990
990
  out: f,
991
991
  in: h,
@@ -993,13 +993,13 @@ const Nn = (t = {}) => {
993
993
  });
994
994
  return b.onDispose = () => {
995
995
  const g = l.positionedParent;
996
- for (const E of [
996
+ for (const w of [
997
997
  "topLeft",
998
998
  "topRight",
999
999
  "bottomLeft",
1000
1000
  "bottomRight"
1001
1001
  ]) {
1002
- const C = a[E];
1002
+ const C = a[w];
1003
1003
  C.parentElement === g && g.removeChild(C);
1004
1004
  }
1005
1005
  }, b;
@@ -1007,11 +1007,11 @@ const Nn = (t = {}) => {
1007
1007
  };
1008
1008
  return k({ forward: i, backward: i });
1009
1009
  };
1010
- function ji(t = {}, e = {}) {
1010
+ function qi(t = {}, e = {}) {
1011
1011
  const { options: n } = t, o = (n == null ? void 0 : n.borderColor) !== void 0 ? { border: { color: n.borderColor } } : void 0;
1012
- return D(Nn(o), e.override);
1012
+ return D(Wn(o), e.override);
1013
1013
  }
1014
- function Wn(t) {
1014
+ function Xn(t) {
1015
1015
  if (!t) return null;
1016
1016
  if (t.includes("/")) {
1017
1017
  const n = t.split("/");
@@ -1040,7 +1040,7 @@ function he(t) {
1040
1040
  }
1041
1041
  return e.length === 1 ? e[0] ?? null : null;
1042
1042
  }
1043
- function Xn(t) {
1043
+ function Bn(t) {
1044
1044
  var l, a;
1045
1045
  if (!Rt(t)) return null;
1046
1046
  const e = t, n = e.naturalWidth, o = e.naturalHeight;
@@ -1049,7 +1049,7 @@ function Xn(t) {
1049
1049
  const i = ((l = t.getAttribute("width")) == null ? void 0 : l.trim()) ?? "", r = ((a = t.getAttribute("height")) == null ? void 0 : a.trim()) ?? "", c = i === "" ? Number.NaN : Number(i), s = r === "" ? Number.NaN : Number(r);
1050
1050
  return Number.isFinite(c) && Number.isFinite(s) && c > 0 && s > 0 ? c / s : null;
1051
1051
  }
1052
- function Bn(t) {
1052
+ function Un(t) {
1053
1053
  const e = t.trim().toLowerCase().replace(/\s+/g, " ");
1054
1054
  return e === "" || e === "center" || e === "center center" || e === "50% 50%";
1055
1055
  }
@@ -1061,8 +1061,8 @@ function Q(t) {
1061
1061
  }
1062
1062
  return t.style;
1063
1063
  }
1064
- function Un(t) {
1065
- const e = Q(t), n = Bn(e.objectPosition ?? "");
1064
+ function jn(t) {
1065
+ const e = Q(t), n = Un(e.objectPosition ?? "");
1066
1066
  return {
1067
1067
  fit: n ? Vn(e.objectFit ?? null) : null,
1068
1068
  centered: n
@@ -1089,7 +1089,7 @@ function It(t) {
1089
1089
  );
1090
1090
  return { radius: i ? o : 0, supported: i };
1091
1091
  }
1092
- function jn(t, e) {
1092
+ function Zn(t, e) {
1093
1093
  var i;
1094
1094
  if (!e) return null;
1095
1095
  const n = (i = t.getAttribute(e)) == null ? void 0 : i.trim();
@@ -1097,7 +1097,7 @@ function jn(t, e) {
1097
1097
  const o = Number.parseFloat(n);
1098
1098
  return Number.isFinite(o) && o >= 0 ? o : null;
1099
1099
  }
1100
- function Zn(t) {
1100
+ function Gn(t) {
1101
1101
  const e = Q(t);
1102
1102
  return [
1103
1103
  e.paddingTop,
@@ -1110,7 +1110,7 @@ function Zn(t) {
1110
1110
  e.borderLeftWidth
1111
1111
  ].every((o) => o ? Mt(o) === 0 : !0);
1112
1112
  }
1113
- function Gn(t) {
1113
+ function qn(t) {
1114
1114
  const e = Q(t), n = (o) => o === "hidden" || o === "clip";
1115
1115
  return n(e.overflowX) && n(e.overflowY);
1116
1116
  }
@@ -1120,7 +1120,7 @@ function N(t) {
1120
1120
  function W(t) {
1121
1121
  return t.top + t.height / 2;
1122
1122
  }
1123
- function j(t, e) {
1123
+ function U(t, e) {
1124
1124
  return {
1125
1125
  top: Math.max(0, e.top - t.top),
1126
1126
  right: Math.max(0, t.left + t.width - (e.left + e.width)),
@@ -1132,10 +1132,10 @@ function Ot(t, e) {
1132
1132
  const n = Math.max(t.left, e.left), o = Math.max(t.top, e.top), i = Math.min(t.left + t.width, e.left + e.width), r = Math.min(t.top + t.height, e.top + e.height);
1133
1133
  return i > n && r > o ? { left: n, top: o, width: i - n, height: r - o } : null;
1134
1134
  }
1135
- function G(t, e) {
1135
+ function Z(t, e) {
1136
1136
  return Math.abs(t.left - e.left) < 0.01 && Math.abs(t.top - e.top) < 0.01 && Math.abs(t.width - e.width) < 0.01 && Math.abs(t.height - e.height) < 0.01;
1137
1137
  }
1138
- function qn(t, e, n) {
1138
+ function Kn(t, e, n) {
1139
1139
  const o = t.width / t.height;
1140
1140
  let i, r;
1141
1141
  return n === "contain" ? o > e ? (r = t.height, i = r * e) : (i = t.width, r = i / e) : o > e ? (i = t.width, r = i / e) : (r = t.height, i = r * e), {
@@ -1146,12 +1146,12 @@ function qn(t, e, n) {
1146
1146
  };
1147
1147
  }
1148
1148
  function ye(t, e, n) {
1149
- const o = e !== null && n !== null && t.width > 0 && t.height > 0 ? qn(t, e, n) : t, i = n === "contain" ? o : t;
1149
+ const o = e !== null && n !== null && t.width > 0 && t.height > 0 ? Kn(t, e, n) : t, i = n === "contain" ? o : t;
1150
1150
  return {
1151
1151
  bbox: t,
1152
1152
  content: o,
1153
1153
  window: i,
1154
- clipInset: j(o, i),
1154
+ clipInset: U(o, i),
1155
1155
  aspectRatio: e,
1156
1156
  fit: n,
1157
1157
  radius: 0,
@@ -1185,29 +1185,29 @@ function ne(t) {
1185
1185
  function ge(t, e) {
1186
1186
  return me(t, e) ? [t, e] : [ne(t), ne(e)];
1187
1187
  }
1188
- function Kn(t, e, n, o) {
1189
- const i = he(t), r = i ? n(i) : e, c = o.legacyAspectRatioAttribute ? Wn(
1188
+ function Jn(t, e, n, o) {
1189
+ const i = he(t), r = i ? n(i) : e, c = o.legacyAspectRatioAttribute ? Xn(
1190
1190
  t.getAttribute(o.legacyAspectRatioAttribute) ?? (i == null ? void 0 : i.getAttribute(o.legacyAspectRatioAttribute)) ?? null
1191
- ) : null, s = c ?? (i ? Xn(i) : null), l = i ? Un(i) : { fit: null, centered: !0 }, a = l.centered && (i === null || Zn(i)) ? l.fit ?? (c !== null ? o.fallbackFit ?? null : null) : null, d = ye(r, s, a), u = Gn(t), p = i !== null && i !== t && u ? Ot(d.window, e) : d.window, f = jn(t, o.legacyRadiusAttribute), h = i === t || u, m = h ? It(t) : { radius: 0, supported: !0 }, b = f ?? m.radius, g = f !== null ? "legacy" : m.supported ? m.radius > 0 ? "computed" : "none" : "unsupported", E = [];
1192
- p && h && G(p, e) && E.push(m), p && i && G(p, r) && E.push(It(i));
1193
- const C = E.every(($) => $.supported), v = Math.max(
1191
+ ) : null, s = c ?? (i ? Bn(i) : null), l = i ? jn(i) : { fit: null, centered: !0 }, a = l.centered && (i === null || Gn(i)) ? l.fit ?? (c !== null ? o.fallbackFit ?? null : null) : null, d = ye(r, s, a), p = qn(t), u = i !== null && i !== t && p ? Ot(d.window, e) : d.window, f = Zn(t, o.legacyRadiusAttribute), h = i === t || p, m = h ? It(t) : { radius: 0, supported: !0 }, b = f ?? m.radius, g = f !== null ? "legacy" : m.supported ? m.radius > 0 ? "computed" : "none" : "unsupported", w = [];
1192
+ u && h && Z(u, e) && w.push(m), u && i && Z(u, r) && w.push(It(i));
1193
+ const C = w.every(($) => $.supported), A = Math.max(
1194
1194
  0,
1195
- ...E.map(($) => $.radius)
1196
- ), A = f ?? v, S = f !== null ? "legacy" : C ? v > 0 ? "computed" : "none" : "unsupported";
1197
- return !p || S === "unsupported" ? _t(e, b, g) : {
1195
+ ...w.map(($) => $.radius)
1196
+ ), P = f ?? A, x = f !== null ? "legacy" : C ? A > 0 ? "computed" : "none" : "unsupported";
1197
+ return !u || x === "unsupported" ? _t(e, b, g) : {
1198
1198
  ...d,
1199
1199
  bbox: e,
1200
- window: p,
1201
- clipInset: j(d.content, p),
1202
- radius: A,
1203
- radiusSource: S,
1200
+ window: u,
1201
+ clipInset: U(d.content, u),
1202
+ radius: P,
1203
+ radiusSource: x,
1204
1204
  bboxRadius: b,
1205
1205
  bboxRadiusSource: g,
1206
1206
  mediaElement: d.contentAware ? i : null
1207
1207
  };
1208
1208
  }
1209
1209
  function rt(t, e, n, o) {
1210
- const i = Kn(
1210
+ const i = Jn(
1211
1211
  t,
1212
1212
  e,
1213
1213
  n,
@@ -1217,64 +1217,64 @@ function rt(t, e, n, o) {
1217
1217
  return i;
1218
1218
  let r = i.window, c = i.radius, s = [c, c, c, c], l = i.radiusSource, a = t.parentElement;
1219
1219
  for (; a && a !== o.clipRoot; ) {
1220
- const u = Q(a), y = (h) => h === "hidden" || h === "clip" || h === "auto" || h === "scroll", p = y(u.overflowX), f = y(u.overflowY);
1221
- if (p || f) {
1220
+ const p = Q(a), y = (h) => h === "hidden" || h === "clip" || h === "auto" || h === "scroll", u = y(p.overflowX), f = y(p.overflowY);
1221
+ if (u || f) {
1222
1222
  if (![
1223
- u.borderTopWidth,
1224
- u.borderRightWidth,
1225
- u.borderBottomWidth,
1226
- u.borderLeftWidth
1227
- ].every((S) => Mt(S) === 0) || a.offsetWidth && a.clientWidth && a.offsetWidth - a.clientWidth > 1 || a.offsetHeight && a.clientHeight && a.offsetHeight - a.clientHeight > 1)
1223
+ p.borderTopWidth,
1224
+ p.borderRightWidth,
1225
+ p.borderBottomWidth,
1226
+ p.borderLeftWidth
1227
+ ].every((x) => Mt(x) === 0) || a.offsetWidth && a.clientWidth && a.offsetWidth - a.clientWidth > 1 || a.offsetHeight && a.clientHeight && a.offsetHeight - a.clientHeight > 1)
1228
1228
  return i;
1229
1229
  const m = n(a), b = {
1230
- left: p ? m.left : r.left,
1230
+ left: u ? m.left : r.left,
1231
1231
  top: f ? m.top : r.top,
1232
- width: p ? m.width : r.width,
1232
+ width: u ? m.width : r.width,
1233
1233
  height: f ? m.height : r.height
1234
1234
  }, g = Ot(r, b);
1235
1235
  if (!g) return i;
1236
- const E = It(a);
1237
- if (!E.supported) return i;
1238
- if (p && f && G(r, m))
1239
- l !== "legacy" && (c = Math.max(c, E.radius), s = s.map(
1240
- (S) => Math.max(S, E.radius)
1236
+ const w = It(a);
1237
+ if (!w.supported) return i;
1238
+ if (u && f && Z(r, m))
1239
+ l !== "legacy" && (c = Math.max(c, w.radius), s = s.map(
1240
+ (x) => Math.max(x, w.radius)
1241
1241
  ), c > 0 && (l = "computed"));
1242
- else if (E.radius > 0) {
1243
- const S = {
1244
- left: m.left + E.radius,
1245
- top: m.top + E.radius,
1246
- width: m.width - 2 * E.radius,
1247
- height: m.height - 2 * E.radius
1242
+ else if (w.radius > 0) {
1243
+ const x = {
1244
+ left: m.left + w.radius,
1245
+ top: m.top + w.radius,
1246
+ width: m.width - 2 * w.radius,
1247
+ height: m.height - 2 * w.radius
1248
1248
  };
1249
- if (!G(Ot(r, S) ?? m, r))
1249
+ if (!Z(Ot(r, x) ?? m, r))
1250
1250
  return i;
1251
1251
  }
1252
- const C = j(r, g), v = [
1252
+ const C = U(r, g), A = [
1253
1253
  [C.top, C.left],
1254
1254
  [C.top, C.right],
1255
1255
  [C.bottom, C.right],
1256
1256
  [C.bottom, C.left]
1257
1257
  ];
1258
- for (let S = 0; S < 4; S++) {
1259
- const $ = Math.max(...v[S]), R = s[S];
1258
+ for (let x = 0; x < 4; x++) {
1259
+ const $ = Math.max(...A[x]), R = s[x];
1260
1260
  if ($ > 0.01 && $ < R) return i;
1261
- $ > 0.01 && (s[S] = 0);
1261
+ $ > 0.01 && (s[x] = 0);
1262
1262
  }
1263
- const A = Math.max(...s);
1264
- if (g.width < A || g.height < A)
1263
+ const P = Math.max(...s);
1264
+ if (g.width < P || g.height < P)
1265
1265
  return i;
1266
1266
  r = g;
1267
1267
  }
1268
1268
  a = a.parentElement;
1269
1269
  }
1270
- const d = G(i.bbox, r);
1270
+ const d = Z(i.bbox, r);
1271
1271
  return {
1272
1272
  ...i,
1273
1273
  window: r,
1274
- clipInset: j(i.content, r),
1274
+ clipInset: U(i.content, r),
1275
1275
  radius: c,
1276
1276
  radiusSource: l,
1277
- ...s.some((u) => u !== c) ? { cornerRadii: s } : {},
1277
+ ...s.some((p) => p !== c) ? { cornerRadii: s } : {},
1278
1278
  ...d ? { bboxRadius: c, bboxRadiusSource: l } : {}
1279
1279
  };
1280
1280
  }
@@ -1287,15 +1287,19 @@ function be(t, e, n, o, i) {
1287
1287
  height: c
1288
1288
  };
1289
1289
  }
1290
- const Jn = {
1290
+ const Qn = {
1291
1291
  enter: "contain",
1292
1292
  exit: "cover",
1293
1293
  legacy: "contain"
1294
1294
  };
1295
1295
  function B(t) {
1296
- return Jn[t];
1296
+ return Qn[t];
1297
+ }
1298
+ const st = "data-ssgoi-crossfade", G = (t) => Math.min(1, Math.max(0, t));
1299
+ function we(t, e, n) {
1300
+ const o = G(t), i = o + (1 - o) * (1 - n);
1301
+ return i > 0 ? o / i * e : e;
1297
1302
  }
1298
- const st = "data-ssgoi-crossfade", U = (t) => Math.min(1, Math.max(0, t));
1299
1303
  function Tt(t) {
1300
1304
  const e = t.cloneNode(!0), n = (o, i) => {
1301
1305
  const r = getComputedStyle(o), c = i.style;
@@ -1348,15 +1352,15 @@ function kt(t, e) {
1348
1352
  scaleY: e.offsetHeight && Math.abs(n.height - e.offsetHeight) > 0.5 ? n.height / e.offsetHeight : 1
1349
1353
  };
1350
1354
  }
1351
- function Qn(t, e) {
1355
+ function to(t, e) {
1352
1356
  const { box: n, scaleX: o, scaleY: i } = e, r = (t.left + t.width / 2 - n.left - n.width / 2) / o, c = (t.top + t.height / 2 - n.top - n.height / 2) / i;
1353
1357
  return `translate(${r}px, ${c}px) scale(${t.width / n.width}, ${t.height / n.height})`;
1354
1358
  }
1355
1359
  const at = "data-hero-enter-key", ct = "data-hero-exit-key", q = "data-hero-key";
1356
- function to(t, e) {
1360
+ function eo(t, e) {
1357
1361
  return t.fromEl.getAttribute(at) === t.key && t.toEl.getAttribute(ct) === t.key ? !0 : t.fromEl.getAttribute(ct) === t.key && t.toEl.getAttribute(at) === t.key ? !1 : e === "backward" && t.fromEl.getAttribute(q) === t.key && t.toEl.getAttribute(q) === t.key;
1358
1362
  }
1359
- function eo(t, e, n, o, i) {
1363
+ function no(t, e, n, o, i) {
1360
1364
  const r = document.createElement("div");
1361
1365
  r.setAttribute("data-hero-layer", ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("inert", ""), Object.assign(r.style, {
1362
1366
  position: "absolute",
@@ -1369,8 +1373,8 @@ function eo(t, e, n, o, i) {
1369
1373
  zIndex: String(Number(M) + 1)
1370
1374
  });
1371
1375
  const c = (a, d) => {
1372
- const u = Tt(a);
1373
- return Object.assign(u.style, {
1376
+ const p = Tt(a);
1377
+ return Object.assign(p.style, {
1374
1378
  left: `${d.left}px`,
1375
1379
  top: `${d.top}px`,
1376
1380
  width: `${d.width}px`,
@@ -1379,7 +1383,7 @@ function eo(t, e, n, o, i) {
1379
1383
  // Add the two weighted images inside the isolated layer so opaque
1380
1384
  // images stay opaque at the midpoint instead of exposing list chrome.
1381
1385
  mixBlendMode: "plus-lighter"
1382
- }), i && (u.style.borderRadius = "0"), u;
1386
+ }), i && (p.style.borderRadius = "0"), p;
1383
1387
  }, s = c(t, n), l = c(e, o);
1384
1388
  return s.setAttribute("data-hero-layer-source", ""), l.setAttribute("data-hero-layer-destination", ""), r.append(l, s), { layer: r, source: s, destination: l };
1385
1389
  }
@@ -1394,19 +1398,19 @@ function lt(t, e) {
1394
1398
  i ? t.style.setProperty(o, i, r) : t.style.removeProperty(o);
1395
1399
  };
1396
1400
  }
1397
- function no(t) {
1401
+ function oo(t) {
1398
1402
  const e = t.getAttribute("data-hero-transitioning");
1399
1403
  return t.setAttribute("data-hero-transitioning", ""), () => {
1400
1404
  e === null ? t.removeAttribute("data-hero-transitioning") : t.setAttribute("data-hero-transitioning", e);
1401
1405
  };
1402
1406
  }
1403
- function oo(t, e) {
1407
+ function io(t, e) {
1404
1408
  const n = lt(t, ["z-index"]), o = lt(e, ["z-index", "position"]);
1405
1409
  return t.style.zIndex = L, e.style.zIndex = M, getComputedStyle(e).position === "static" && (e.style.position = "relative"), (i = () => !0) => {
1406
1410
  i(t) && n(), i(e) && o();
1407
1411
  };
1408
1412
  }
1409
- function io(t, e, n) {
1413
+ function ro(t, e, n) {
1410
1414
  if (t.tagName !== "IMG") return () => {
1411
1415
  };
1412
1416
  const o = getComputedStyle(t), i = (y) => Number.parseFloat(y) || 0, r = o.boxSizing === "border-box", c = i(o.width) + (r ? 0 : i(o.paddingLeft) + i(o.paddingRight) + i(o.borderLeftWidth) + i(o.borderRightWidth)), s = i(o.height) + (r ? 0 : i(o.paddingTop) + i(o.paddingBottom) + i(o.borderTopWidth) + i(o.borderBottomWidth)), l = e.width * c / n.width, a = e.height * s / n.height;
@@ -1425,7 +1429,7 @@ function io(t, e, n) {
1425
1429
  visibility: "hidden",
1426
1430
  pointerEvents: "none"
1427
1431
  }), t.before(d));
1428
- const u = lt(t, [
1432
+ const p = lt(t, [
1429
1433
  "position",
1430
1434
  "left",
1431
1435
  "top",
@@ -1460,7 +1464,7 @@ function io(t, e, n) {
1460
1464
  margin: "0",
1461
1465
  flex: "none"
1462
1466
  }), () => {
1463
- u(), d == null || d.remove();
1467
+ p(), d == null || d.remove();
1464
1468
  };
1465
1469
  }
1466
1470
  function dt(t, e, n) {
@@ -1472,9 +1476,9 @@ function dt(t, e, n) {
1472
1476
  ].join(" "), r = n.map((s) => o(s.x, t.width)).join(" "), c = n.map((s) => o(s.y, t.height)).join(" ");
1473
1477
  return `inset(${i} round ${r} / ${c})`;
1474
1478
  }
1475
- class ro {
1479
+ class so {
1476
1480
  constructor() {
1477
- _(this, "previousFromOpacity", "");
1481
+ O(this, "previousFromOpacity", "");
1478
1482
  }
1479
1483
  prepare(e) {
1480
1484
  e.from.then((n) => {
@@ -1487,8 +1491,8 @@ class ro {
1487
1491
  }), {};
1488
1492
  }
1489
1493
  }
1490
- const so = () => new ro();
1491
- function ao(t, e) {
1494
+ const ao = () => new so();
1495
+ function co(t, e) {
1492
1496
  const n = new Set(e), o = /* @__PURE__ */ new Set();
1493
1497
  for (const c of n) {
1494
1498
  let s = c.parentElement;
@@ -1508,59 +1512,59 @@ function ao(t, e) {
1508
1512
  };
1509
1513
  return r(t), i;
1510
1514
  }
1511
- class co {
1515
+ class lo {
1512
1516
  contribute(e) {
1513
1517
  const { from: n, to: o, resolved: i, physics: r, onDispose: c } = e, s = i.pairs.map(
1514
- (p) => he(p.toEl) ?? p.toEl
1515
- ), l = (s.length ? ao(o, s) : [o]).map((p) => ({
1516
- element: p,
1517
- opacity: p.style.opacity,
1518
- willChange: p.style.willChange,
1519
- targetOpacity: Number.parseFloat(getComputedStyle(p).opacity) || 0
1518
+ (u) => he(u.toEl) ?? u.toEl
1519
+ ), l = (s.length ? co(o, s) : [o]).map((u) => ({
1520
+ element: u,
1521
+ opacity: u.style.opacity,
1522
+ willChange: u.style.willChange,
1523
+ targetOpacity: Number.parseFloat(getComputedStyle(u).opacity) || 0
1520
1524
  })), a = /* @__PURE__ */ new Set();
1521
- for (const p of s)
1522
- for (let f = p.parentElement; f && (a.add(f), f !== o); f = f.parentElement)
1525
+ for (const u of s)
1526
+ for (let f = u.parentElement; f && (a.add(f), f !== o); f = f.parentElement)
1523
1527
  ;
1524
- const d = Array.from(a).map((p) => ({
1525
- element: p,
1526
- color: getComputedStyle(p).backgroundColor,
1527
- previousColor: p.style.backgroundColor
1528
+ const d = Array.from(a).map((u) => ({
1529
+ element: u,
1530
+ color: getComputedStyle(u).backgroundColor,
1531
+ previousColor: u.style.backgroundColor
1528
1532
  })).filter(
1529
- ({ color: p }) => p && p !== "transparent" && p !== "rgba(0, 0, 0, 0)"
1530
- ), u = n.style.opacity, y = n.style.willChange;
1533
+ ({ color: u }) => u && u !== "transparent" && u !== "rgba(0, 0, 0, 0)"
1534
+ ), p = n.style.opacity, y = n.style.willChange;
1531
1535
  n.style.willChange = "opacity";
1532
- for (const { element: p } of l)
1533
- p.style.opacity = "0", p.style.willChange = "opacity";
1534
- for (const { element: p } of d)
1535
- p.style.backgroundColor = "transparent";
1536
- return c((p) => {
1537
- p.owns(n) && (n.style.opacity = u, n.style.willChange = y);
1536
+ for (const { element: u } of l)
1537
+ u.style.opacity = "0", u.style.willChange = "opacity";
1538
+ for (const { element: u } of d)
1539
+ u.style.backgroundColor = "transparent";
1540
+ return c((u) => {
1541
+ u.owns(n) && (n.style.opacity = p, n.style.willChange = y);
1538
1542
  for (const { element: f, opacity: h, willChange: m } of l)
1539
- p.owns(f) && (f.style.opacity = h, f.style.willChange = m);
1543
+ u.owns(f) && (f.style.opacity = h, f.style.willChange = m);
1540
1544
  for (const { element: f, previousColor: h } of d)
1541
- p.owns(f) && (f.style.backgroundColor = h);
1545
+ u.owns(f) && (f.style.backgroundColor = h);
1542
1546
  }), {
1543
1547
  out: [
1544
- new w({
1548
+ new S({
1545
1549
  element: n,
1546
- integrator: x.from(r),
1547
- style: (p, f) => ({ opacity: f })
1550
+ integrator: E.from(r),
1551
+ style: (u, f) => ({ opacity: f })
1548
1552
  })
1549
1553
  ],
1550
1554
  in: [
1551
1555
  ...l.map(
1552
- ({ element: p, targetOpacity: f }) => new w({
1553
- element: p,
1554
- integrator: x.from(r),
1556
+ ({ element: u, targetOpacity: f }) => new S({
1557
+ element: u,
1558
+ integrator: E.from(r),
1555
1559
  style: (h) => ({
1556
1560
  opacity: Math.min(1, Math.max(0, h)) * f
1557
1561
  })
1558
1562
  })
1559
1563
  ),
1560
1564
  ...d.map(
1561
- ({ element: p, color: f }) => new w({
1562
- element: p,
1563
- integrator: x.from(r),
1565
+ ({ element: u, color: f }) => new S({
1566
+ element: u,
1567
+ integrator: E.from(r),
1564
1568
  style: (h) => ({
1565
1569
  backgroundColor: `color-mix(in srgb, ${f} ${Math.min(1, Math.max(0, h)) * 100}%, transparent)`
1566
1570
  })
@@ -1570,17 +1574,17 @@ class co {
1570
1574
  };
1571
1575
  }
1572
1576
  }
1573
- const lo = () => new co(), uo = {
1574
- static: so,
1575
- fade: lo
1576
- }, po = {
1577
+ const po = () => new lo(), uo = {
1578
+ static: ao,
1579
+ fade: po
1580
+ }, fo = {
1577
1581
  spring: { stiffness: 320, damping: 30 }
1578
- }, fo = () => po, ho = {
1582
+ }, ho = () => fo, yo = {
1579
1583
  spring: { stiffness: 300, damping: 30, doubleSpring: 1 }
1580
- }, yo = () => ho, mo = {
1581
- default: fo,
1582
- smooth: yo
1583
- }, go = 700, bo = "data-hero-aspect-ratio", wo = "data-hero-radius";
1584
+ }, mo = () => yo, go = {
1585
+ default: ho,
1586
+ smooth: mo
1587
+ }, bo = 700, wo = "data-hero-aspect-ratio", xo = "data-hero-radius";
1584
1588
  function oe(t, e, n, o) {
1585
1589
  const i = (c) => {
1586
1590
  const s = z(t, c);
@@ -1594,8 +1598,8 @@ function oe(t, e, n, o) {
1594
1598
  return rt(e, r, i, {
1595
1599
  clipRoot: o,
1596
1600
  fallbackFit: n,
1597
- legacyAspectRatioAttribute: bo,
1598
- legacyRadiusAttribute: wo
1601
+ legacyAspectRatioAttribute: wo,
1602
+ legacyRadiusAttribute: xo
1599
1603
  });
1600
1604
  }
1601
1605
  function et(t, e) {
@@ -1631,7 +1635,7 @@ function So(t, e) {
1631
1635
  }
1632
1636
  return n;
1633
1637
  }
1634
- function xo(t, e) {
1638
+ function Eo(t, e) {
1635
1639
  const n = [], o = Array.from(
1636
1640
  e.querySelectorAll(`[${q}]`)
1637
1641
  );
@@ -1651,64 +1655,64 @@ function xo(t, e) {
1651
1655
  }
1652
1656
  return n;
1653
1657
  }
1654
- function Eo(t, e) {
1658
+ function $o(t, e) {
1655
1659
  const n = So(t, e);
1656
- return n.length > 0 ? n : xo(t, e);
1660
+ return n.length > 0 ? n : Eo(t, e);
1657
1661
  }
1658
- function $o(t, e) {
1662
+ function Co(t, e) {
1659
1663
  return ge(t, e);
1660
1664
  }
1661
- function Co(t, e) {
1665
+ function Ao(t, e) {
1662
1666
  return t.radiusSource === "unsupported" || e.radiusSource === "unsupported" ? !1 : t.mediaElement !== null || e.mediaElement !== null || t.radiusSource === "computed" || t.radiusSource === "legacy" || e.radiusSource === "computed" || e.radiusSource === "legacy";
1663
1667
  }
1664
- function Ao(t, e, n, o, i) {
1665
- const { fromEl: r, toEl: c } = e, [s, l] = $o(
1668
+ function Po(t, e, n, o, i) {
1669
+ const { fromEl: r, toEl: c } = e, [s, l] = Co(
1666
1670
  oe(t, r, e.fromFit, o),
1667
1671
  oe(t, c, e.toFit, i)
1668
- ), a = s.content, d = s.window, u = l.content, y = l.window, p = l.clipInset, f = s.radiusSource === "unsupported" || l.radiusSource === "unsupported", h = f ? 0 : s.radius, m = f ? 0 : l.radius;
1669
- if (a.width === 0 || a.height === 0 || d.width === 0 || d.height === 0 || u.width === 0 || u.height === 0 || y.width === 0 || y.height === 0)
1672
+ ), a = s.content, d = s.window, p = l.content, y = l.window, u = l.clipInset, f = s.radiusSource === "unsupported" || l.radiusSource === "unsupported", h = f ? 0 : s.radius, m = f ? 0 : l.radius;
1673
+ if (a.width === 0 || a.height === 0 || d.width === 0 || d.height === 0 || p.width === 0 || p.height === 0 || y.width === 0 || y.height === 0)
1670
1674
  return null;
1671
- const b = a.width / u.width, g = a.height / u.height, E = N(a), C = W(a), v = N(u), A = W(u), S = E - v, $ = C - A;
1675
+ const b = a.width / p.width, g = a.height / p.height, w = N(a), C = W(a), A = N(p), P = W(p), x = w - A, $ = C - P;
1672
1676
  if (Math.abs($) > n) return null;
1673
- const R = j(
1674
- u,
1675
- be(u, a, d, b, g)
1677
+ const R = U(
1678
+ p,
1679
+ be(p, a, d, b, g)
1676
1680
  );
1677
1681
  return {
1678
1682
  fromContent: a,
1679
- toContent: u,
1683
+ toContent: p,
1680
1684
  fromVisualEl: s.mediaElement ?? r,
1681
1685
  toVisualEl: l.mediaElement ?? c,
1682
- resetRadius: Co(s, l),
1683
- styleFor: (F, O, P) => {
1684
- const T = (O * S + (P ? v - N(P.box) : 0)) / ((P == null ? void 0 : P.scaleX) ?? 1), Y = (O * $ + (P ? A - W(P.box) : 0)) / ((P == null ? void 0 : P.scaleY) ?? 1), H = F + O * b, ut = F + O * g, $e = s.cornerRadii ?? [
1686
+ resetRadius: Ao(s, l),
1687
+ styleFor: (F, _, v) => {
1688
+ const T = (_ * x + (v ? A - N(v.box) : 0)) / ((v == null ? void 0 : v.scaleX) ?? 1), Y = (_ * $ + (v ? P - W(v.box) : 0)) / ((v == null ? void 0 : v.scaleY) ?? 1), H = F + _ * b, pt = F + _ * g, Ce = s.cornerRadii ?? [
1685
1689
  h,
1686
1690
  h,
1687
1691
  h,
1688
1692
  h
1689
- ], Ce = l.cornerRadii ?? [
1693
+ ], Ae = l.cornerRadii ?? [
1690
1694
  m,
1691
1695
  m,
1692
1696
  m,
1693
1697
  m
1694
- ], Ae = $e.map((Oe, _e) => {
1695
- const Lt = Math.max(0, Oe * O + Ce[_e] * F);
1698
+ ], Pe = Ce.map((_e, ke) => {
1699
+ const Lt = Math.max(0, _e * _ + Ae[ke] * F);
1696
1700
  return {
1697
1701
  x: Lt / Math.max(Math.abs(H), 1e-6),
1698
- y: Lt / Math.max(Math.abs(ut), 1e-6)
1702
+ y: Lt / Math.max(Math.abs(pt), 1e-6)
1699
1703
  };
1700
- }), ve = R.top * O + p.top * F, Pe = R.right * O + p.right * F, Re = R.bottom * O + p.bottom * F, Ie = R.left * O + p.left * F;
1704
+ }), ve = R.top * _ + u.top * F, Re = R.right * _ + u.right * F, Ie = R.bottom * _ + u.bottom * F, Oe = R.left * _ + u.left * F;
1701
1705
  return {
1702
- transform: P ? `translate(${T}px, ${Y}px) scale(${H * u.width / P.box.width}, ${ut * u.height / P.box.height})` : `translate(${T}px, ${Y}px) scale(${H}, ${ut})`,
1706
+ transform: v ? `translate(${T}px, ${Y}px) scale(${H * p.width / v.box.width}, ${pt * p.height / v.box.height})` : `translate(${T}px, ${Y}px) scale(${H}, ${pt})`,
1703
1707
  clipPath: dt(
1704
- u,
1708
+ p,
1705
1709
  {
1706
1710
  top: ve,
1707
- right: Pe,
1708
- bottom: Re,
1709
- left: Ie
1711
+ right: Re,
1712
+ bottom: Ie,
1713
+ left: Oe
1710
1714
  },
1711
- Ae
1715
+ Pe
1712
1716
  )
1713
1717
  };
1714
1718
  }
@@ -1732,61 +1736,61 @@ function re(t) {
1732
1736
  function vo(t, e) {
1733
1737
  t.style.transform = e.transform, t.style.clipPath = e.clipPath;
1734
1738
  }
1735
- class Po {
1739
+ class Ro {
1736
1740
  contribute(e) {
1737
- const { resolved: n, physics: o, positionedParent: i, maxDistance: r, onDispose: c } = e, s = oo(e.from, e.to);
1741
+ const { resolved: n, physics: o, positionedParent: i, maxDistance: r, onDispose: c } = e, s = io(e.from, e.to);
1738
1742
  c((d) => s(d.owns));
1739
1743
  const l = n.pairs.flatMap((d) => {
1740
- const u = Ao(
1744
+ const p = Po(
1741
1745
  i,
1742
1746
  d,
1743
1747
  r,
1744
1748
  e.from,
1745
1749
  e.to
1746
1750
  );
1747
- return u ? [{ pair: d, plan: u }] : [];
1751
+ return p ? [{ pair: d, plan: p }] : [];
1748
1752
  });
1749
1753
  e.resolved = { pairs: l.map(({ pair: d }) => d) };
1750
1754
  const a = [];
1751
- for (const { pair: d, plan: u } of l) {
1752
- const { fromVisualEl: y, toVisualEl: p } = u, f = ot(y), h = ot(p);
1753
- if (to(d, e.direction)) {
1754
- const { layer: $, source: R, destination: F } = eo(
1755
+ for (const { pair: d, plan: p } of l) {
1756
+ const { fromVisualEl: y, toVisualEl: u } = p, f = ot(y), h = ot(u);
1757
+ if (eo(d, e.direction)) {
1758
+ const { layer: $, source: R, destination: F } = no(
1755
1759
  y,
1756
- p,
1757
- u.fromContent,
1758
- u.toContent,
1759
- u.resetRadius
1760
- ), O = {
1761
- box: u.fromContent,
1760
+ u,
1761
+ p.fromContent,
1762
+ p.toContent,
1763
+ p.resetRadius
1764
+ ), _ = {
1765
+ box: p.fromContent,
1762
1766
  scaleX: 1,
1763
1767
  scaleY: 1
1764
- }, P = (Y, H) => ({
1765
- ...u.styleFor(Y, H, O),
1766
- opacity: U(H) * f.opacity
1768
+ }, v = (Y, H) => ({
1769
+ ...p.styleFor(Y, H, _),
1770
+ opacity: G(H) * f.opacity
1767
1771
  }), T = (Y, H) => ({
1768
- ...u.styleFor(Y, H),
1769
- opacity: U(Y) * h.opacity
1772
+ ...p.styleFor(Y, H),
1773
+ opacity: G(Y) * h.opacity
1770
1774
  });
1771
- Object.assign(R.style, P(0, 1)), Object.assign(F.style, T(0, 1)), i.appendChild($), f.set(0), h.set(0), c(() => {
1775
+ Object.assign(R.style, v(0, 1)), Object.assign(F.style, T(0, 1)), i.appendChild($), f.set(0), h.set(0), c(() => {
1772
1776
  $.remove(), f.restore(), h.restore();
1773
1777
  }), a.push(
1774
- new w({
1778
+ new S({
1775
1779
  element: R,
1776
1780
  motion: re(i),
1777
- integrator: x.from(o),
1778
- style: P
1781
+ integrator: E.from(o),
1782
+ style: v
1779
1783
  }),
1780
- new w({
1784
+ new S({
1781
1785
  element: F,
1782
1786
  motion: ie(d.key, i, !0),
1783
- integrator: x.from(o),
1787
+ integrator: E.from(o),
1784
1788
  style: T
1785
1789
  })
1786
1790
  );
1787
1791
  continue;
1788
1792
  }
1789
- const m = Tt(y), b = no(p), g = lt(p, [
1793
+ const m = Tt(y), b = oo(u), g = lt(u, [
1790
1794
  "transform",
1791
1795
  "transform-origin",
1792
1796
  "clip-path",
@@ -1794,51 +1798,55 @@ class Po {
1794
1798
  "border-radius",
1795
1799
  "will-change"
1796
1800
  ]);
1797
- p.style.transform = "none", p.style.transformOrigin = "center center", p.style.willChange = "transform, clip-path, opacity", u.resetRadius && (p.style.borderRadius = "0");
1798
- const E = io(
1799
- p,
1800
- u.toContent,
1801
- z(i, p)
1802
- ), C = kt(i, p);
1803
- m.style.width = `${u.fromContent.width / C.scaleX}px`, m.style.height = `${u.fromContent.height / C.scaleY}px`, m.style.zIndex = getComputedStyle(p).zIndex, u.resetRadius && (m.style.borderRadius = "0"), p.after(m);
1804
- const v = kt(i, m), A = ($, R) => ({
1805
- ...u.styleFor($, R, v),
1806
- opacity: U(R) * f.opacity
1807
- }), S = ($, R) => ({
1808
- ...u.styleFor($, R, C),
1809
- opacity: U($) * h.opacity
1801
+ u.style.transform = "none", u.style.transformOrigin = "center center", u.style.willChange = "transform, clip-path, opacity", p.resetRadius && (u.style.borderRadius = "0");
1802
+ const w = ro(
1803
+ u,
1804
+ p.toContent,
1805
+ z(i, u)
1806
+ ), C = kt(i, u);
1807
+ m.style.width = `${p.fromContent.width / C.scaleX}px`, m.style.height = `${p.fromContent.height / C.scaleY}px`, m.style.zIndex = getComputedStyle(u).zIndex, p.resetRadius && (m.style.borderRadius = "0"), u.after(m);
1808
+ const A = kt(i, m), P = ($, R) => ({
1809
+ ...p.styleFor($, R, A),
1810
+ opacity: G(R) * f.opacity
1811
+ }), x = ($, R) => ({
1812
+ ...p.styleFor($, R, C),
1813
+ opacity: we(
1814
+ $,
1815
+ h.opacity,
1816
+ f.opacity
1817
+ )
1810
1818
  });
1811
- vo(p, S(0, 1)), Object.assign(m.style, A(0, 1)), h.set(0), f.set(0), c(() => {
1812
- E(), g(), f.restore(), h.restore(), b(), m.remove();
1819
+ vo(u, x(0, 1)), Object.assign(m.style, P(0, 1)), h.set(x(0, 1).opacity), f.set(0), c(() => {
1820
+ w(), g(), f.restore(), h.restore(), b(), m.remove();
1813
1821
  }), a.push(
1814
- new w({
1822
+ new S({
1815
1823
  element: m,
1816
1824
  motion: re(i),
1817
- integrator: x.from(o),
1818
- style: A
1825
+ integrator: E.from(o),
1826
+ style: P
1819
1827
  }),
1820
- new w({
1821
- element: p,
1828
+ new S({
1829
+ element: u,
1822
1830
  motion: ie(d.key, i, !1),
1823
- integrator: x.from(o),
1824
- style: S
1831
+ integrator: E.from(o),
1832
+ style: x
1825
1833
  })
1826
1834
  );
1827
1835
  }
1828
1836
  return { shared: a };
1829
1837
  }
1830
1838
  }
1831
- function Ro(t) {
1832
- return [new Po(), uo[t.type]()];
1839
+ function Io(t) {
1840
+ return [new Ro(), uo[t.type]()];
1833
1841
  }
1834
- const Io = (t) => {
1835
- const e = mo[t.variant](), n = go, o = {
1842
+ const Oo = (t) => {
1843
+ const e = go[t.variant](), n = bo, o = {
1836
1844
  prepare: (i) => {
1837
1845
  var l;
1838
- const r = Ro(t), c = Promise.all([
1846
+ const r = Io(t), c = Promise.all([
1839
1847
  i.from,
1840
1848
  i.to
1841
- ]).then(([a, d]) => ({ pairs: Eo(a, d) })), s = {
1849
+ ]).then(([a, d]) => ({ pairs: $o(a, d) })), s = {
1842
1850
  from: i.from,
1843
1851
  to: i.to,
1844
1852
  resolved: c
@@ -1853,7 +1861,7 @@ const Io = (t) => {
1853
1861
  return K({ shared: [], out: [], in: [] });
1854
1862
  const a = [], d = (m) => {
1855
1863
  a.push(m);
1856
- }, u = {
1864
+ }, p = {
1857
1865
  direction: c.direction,
1858
1866
  from: i,
1859
1867
  to: r,
@@ -1868,23 +1876,23 @@ const Io = (t) => {
1868
1876
  in: []
1869
1877
  };
1870
1878
  for (const m of l) {
1871
- const b = (h = m.contribute) == null ? void 0 : h.call(m, u);
1879
+ const b = (h = m.contribute) == null ? void 0 : h.call(m, p);
1872
1880
  if (b)
1873
1881
  for (const g of Object.keys(y))
1874
1882
  y[g].push(...b[g] ?? []);
1875
1883
  }
1876
- const p = K(y), f = p.onDispose;
1877
- return p.onDispose = (m) => {
1884
+ const u = K(y), f = u.onDispose;
1885
+ return u.onDispose = (m) => {
1878
1886
  f == null || f(m);
1879
1887
  for (const b of Object.values(y).flat())
1880
- b instanceof w && b.releaseFill();
1888
+ b instanceof S && b.releaseFill();
1881
1889
  for (const b of a)
1882
1890
  try {
1883
1891
  b(m);
1884
1892
  } catch (g) {
1885
1893
  console.error("[hero] cleanup error", g);
1886
1894
  }
1887
- }, p;
1895
+ }, u;
1888
1896
  }
1889
1897
  };
1890
1898
  return k({
@@ -1892,29 +1900,29 @@ const Io = (t) => {
1892
1900
  backward: o
1893
1901
  });
1894
1902
  };
1895
- function Zi(t = {}, e = {}) {
1903
+ function Ki(t = {}, e = {}) {
1896
1904
  const n = t.type ?? "static", o = t.variant ?? "default";
1897
- return D(Io({ type: n, variant: o }), e.override);
1905
+ return D(Oo({ type: n, variant: o }), e.override);
1898
1906
  }
1899
- const Oo = {
1907
+ const _o = {
1900
1908
  spring: { stiffness: 50, damping: 30 }
1901
- }, _o = {
1909
+ }, ko = {
1902
1910
  spring: { stiffness: 80, damping: 25 }
1903
- }, ko = (t = {}) => {
1904
- const e = t.physics ?? Oo, n = t.initialRotation ?? 45, o = t.initialScale ?? 0.01, i = t.rotationTriggerPoint ?? 0.8, r = {
1911
+ }, Do = (t = {}) => {
1912
+ const e = t.physics ?? _o, n = t.initialRotation ?? 45, o = t.initialScale ?? 0.01, i = t.rotationTriggerPoint ?? 0.8, r = {
1905
1913
  prepare: ({ from: c, to: s, context: l }) => (c.then((a) => {
1906
1914
  a.style.opacity = "1";
1907
1915
  }), s.then((a) => {
1908
- const d = V(l, "to"), u = Math.min(d.width, d.height) * 0.4;
1909
- a.style.setProperty("--max-border-radius", `${u}px`), a.style.setProperty("--border-radius-scale", "1"), a.style.willChange = "transform", a.style.backfaceVisibility = "hidden";
1910
- const y = d.left + d.width / 2, p = d.top + d.height / 2;
1911
- a.style.transformOrigin = `${y}px ${p}px`, a.style.position = "fixed", a.style.top = `${d.top}px`, a.style.left = `${d.left}px`, a.style.width = `${d.width}px`, a.style.height = `${d.height}px`, a.style.zIndex = "1000", a.style.overflow = "hidden", a.style.transform = `rotate(${n}deg) scale(${o}) translateZ(0)`, a.style.borderRadius = "calc(var(--max-border-radius) * var(--border-radius-scale))", a.style.opacity = "1";
1916
+ const d = X(l, "to"), p = Math.min(d.width, d.height) * 0.4;
1917
+ a.style.setProperty("--max-border-radius", `${p}px`), a.style.setProperty("--border-radius-scale", "1"), a.style.willChange = "transform", a.style.backfaceVisibility = "hidden";
1918
+ const y = d.left + d.width / 2, u = d.top + d.height / 2;
1919
+ a.style.transformOrigin = `${y}px ${u}px`, a.style.position = "fixed", a.style.top = `${d.top}px`, a.style.left = `${d.left}px`, a.style.width = `${d.width}px`, a.style.height = `${d.height}px`, a.style.zIndex = "1000", a.style.overflow = "hidden", a.style.transform = `rotate(${n}deg) scale(${o}) translateZ(0)`, a.style.borderRadius = "calc(var(--max-border-radius) * var(--border-radius-scale))", a.style.opacity = "1";
1912
1920
  }), {}),
1913
1921
  animation: ({ from: c, to: s }) => {
1914
- const l = new w({
1922
+ const l = new S({
1915
1923
  element: c,
1916
- integrator: x.from(_o),
1917
- style: (d, u) => ({ opacity: u }),
1924
+ integrator: E.from(ko),
1925
+ style: (d, p) => ({ opacity: p }),
1918
1926
  // The outgoing node is reused (re-hidden, shown again on the next
1919
1927
  // navigation), so reset every inline style we wrote to it — mirroring
1920
1928
  // the "to" cleanup below. prepare sets opacity and the out style fades
@@ -1922,27 +1930,27 @@ const Oo = {
1922
1930
  onDispose: () => {
1923
1931
  c.style.opacity = "";
1924
1932
  }
1925
- }), a = new w({
1933
+ }), a = new S({
1926
1934
  element: s,
1927
- integrator: x.from(e),
1935
+ integrator: E.from(e),
1928
1936
  style: (d) => {
1929
- let u;
1937
+ let p;
1930
1938
  if (d <= 0.05)
1931
- u = o;
1939
+ p = o;
1932
1940
  else if (d <= i) {
1933
1941
  const h = (d - 0.05) / (i - 0.05), m = Math.pow(h, 9);
1934
- u = o + (0.8 - o) * m;
1942
+ p = o + (0.8 - o) * m;
1935
1943
  } else {
1936
1944
  const h = (d - i) / (1 - i);
1937
- u = 0.8 + 0.2 * (1 - Math.pow(1 - h, 3));
1945
+ p = 0.8 + 0.2 * (1 - Math.pow(1 - h, 3));
1938
1946
  }
1939
1947
  const y = 0.7;
1940
- let p;
1948
+ let u;
1941
1949
  if (d <= y)
1942
- p = n;
1950
+ u = n;
1943
1951
  else {
1944
1952
  const h = (d - y) / (1 - y), m = 1 - Math.pow(1 - h, 2);
1945
- p = n * (1 - m);
1953
+ u = n * (1 - m);
1946
1954
  }
1947
1955
  let f;
1948
1956
  if (d <= y)
@@ -1952,7 +1960,7 @@ const Oo = {
1952
1960
  f = 1 - Math.pow(h, 0.5);
1953
1961
  }
1954
1962
  return {
1955
- transform: `rotate(${p.toFixed(2)}deg) scale(${u.toFixed(4)}) translateZ(0)`,
1963
+ transform: `rotate(${u.toFixed(2)}deg) scale(${p.toFixed(4)}) translateZ(0)`,
1956
1964
  "--border-radius-scale": f.toFixed(4)
1957
1965
  };
1958
1966
  },
@@ -1968,22 +1976,22 @@ const Oo = {
1968
1976
  };
1969
1977
  return k({ forward: r, backward: r });
1970
1978
  };
1971
- function Gi(t = {}, e = {}) {
1972
- return D(ko(), e.override);
1979
+ function Ji(t = {}, e = {}) {
1980
+ return D(Do(), e.override);
1973
1981
  }
1974
- const Do = {
1982
+ const Fo = {
1975
1983
  spring: { stiffness: 100, damping: 30 }
1976
- }, Fo = (t = {}) => {
1977
- const e = t.physics ?? Do, n = {
1984
+ }, Mo = (t = {}) => {
1985
+ const e = t.physics ?? Fo, n = {
1978
1986
  prepare: ({ from: o, to: i }) => (o.then((r) => {
1979
1987
  r.style.transformOrigin = "center center", r.style.willChange = "transform, opacity";
1980
1988
  }), i.then((r) => {
1981
1989
  r.style.opacity = "0", r.style.transform = "rotate(-180deg)", r.style.transformOrigin = "center center", r.style.willChange = "transform, opacity";
1982
1990
  }), {}),
1983
1991
  animation: ({ from: o, to: i }) => {
1984
- const r = new w({
1992
+ const r = new S({
1985
1993
  element: o,
1986
- integrator: x.from(e),
1994
+ integrator: E.from(e),
1987
1995
  style: (s) => ({
1988
1996
  transform: `rotate(${s * 180}deg)`,
1989
1997
  opacity: s < 0.5 ? 1 : 0
@@ -1994,9 +2002,9 @@ const Do = {
1994
2002
  onDispose: () => {
1995
2003
  o.style.willChange = "auto", o.style.transform = "", o.style.transformOrigin = "", o.style.opacity = "";
1996
2004
  }
1997
- }), c = new w({
2005
+ }), c = new S({
1998
2006
  element: i,
1999
- integrator: x.from(e),
2007
+ integrator: E.from(e),
2000
2008
  // u runs 1→0, so -u*180 unwinds -180→0.
2001
2009
  style: (s, l) => ({
2002
2010
  transform: `rotate(${-l * 180}deg)`,
@@ -2014,10 +2022,10 @@ const Do = {
2014
2022
  };
2015
2023
  return k({ forward: n, backward: n });
2016
2024
  };
2017
- function qi(t = {}, e = {}) {
2018
- return D(Fo(), e.override);
2025
+ function Qi(t = {}, e = {}) {
2026
+ return D(Mo(), e.override);
2019
2027
  }
2020
- const Mo = {
2028
+ const To = {
2021
2029
  spring: {
2022
2030
  stiffness: 20,
2023
2031
  damping: 8,
@@ -2025,8 +2033,8 @@ const Mo = {
2025
2033
  restDelta: 1e-3,
2026
2034
  restSpeed: 1e-3
2027
2035
  }
2028
- }, To = (t = {}) => {
2029
- const e = t.physics ?? Mo, n = t.directional ?? !0, o = (i) => {
2036
+ }, Yo = (t = {}) => {
2037
+ const e = t.physics ?? To, n = t.directional ?? !0, o = (i) => {
2030
2038
  const r = !n || i === "forward", c = r ? L : M, s = r ? M : L;
2031
2039
  return {
2032
2040
  prepare: ({ from: l, to: a }) => (l.then((d) => {
@@ -2035,10 +2043,10 @@ const Mo = {
2035
2043
  d.style.willChange = "transform", d.style.backfaceVisibility = "hidden", d.style.contain = "layout paint", d.style.position = "relative", d.style.zIndex = s;
2036
2044
  }), {}),
2037
2045
  animation: ({ from: l, to: a }) => {
2038
- const d = l.offsetHeight, u = a.offsetHeight, y = window.innerHeight, p = Math.max(Math.min(d, u), y), f = new w({
2046
+ const d = l.offsetHeight, p = a.offsetHeight, y = window.innerHeight, u = Math.max(Math.min(d, p), y), f = new S({
2039
2047
  element: l,
2040
- integrator: x.from(e),
2041
- style: (m) => ({ transform: `translate3d(0, ${r ? -p * m : p * m}px, 0)` }),
2048
+ integrator: E.from(e),
2049
+ style: (m) => ({ transform: `translate3d(0, ${r ? -u * m : u * m}px, 0)` }),
2042
2050
  // The outgoing node is the real, reused element (re-hidden then shown
2043
2051
  // again on the next navigation), so mirror the incoming cleanup and
2044
2052
  // also reset the out-only props applied in prepare (zIndex,
@@ -2047,10 +2055,10 @@ const Mo = {
2047
2055
  onDispose: () => {
2048
2056
  l.style.willChange = "auto", l.style.backfaceVisibility = "", l.style.contain = "", l.style.transform = "", l.style.pointerEvents = "", l.style.zIndex = "";
2049
2057
  }
2050
- }), h = new w({
2058
+ }), h = new S({
2051
2059
  element: a,
2052
- integrator: x.from(e),
2053
- style: (m, b) => ({ transform: `translate3d(0, ${r ? b * p : b * -p}px, 0)` }),
2060
+ integrator: E.from(e),
2061
+ style: (m, b) => ({ transform: `translate3d(0, ${r ? b * u : b * -u}px, 0)` }),
2054
2062
  onDispose: () => {
2055
2063
  a.style.willChange = "auto", a.style.backfaceVisibility = "", a.style.contain = "", a.style.transform = "", a.style.position === "relative" && (a.style.position = ""), a.style.zIndex === s && (a.style.zIndex = "");
2056
2064
  }
@@ -2067,22 +2075,22 @@ const Mo = {
2067
2075
  backward: o("backward")
2068
2076
  });
2069
2077
  };
2070
- function Ki(t = {}, e = {}) {
2078
+ function tr(t = {}, e = {}) {
2071
2079
  const { type: n = "directional" } = t;
2072
2080
  return D(
2073
- To({ directional: n === "directional" }),
2081
+ Yo({ directional: n === "directional" }),
2074
2082
  e.override
2075
2083
  );
2076
2084
  }
2077
- const Yo = {
2085
+ const Lo = {
2078
2086
  spring: { stiffness: 200, damping: 24 }
2079
- }, Lo = {
2087
+ }, Ho = {
2080
2088
  inertia: { acceleration: 25, resistance: 1.2 }
2081
2089
  }, wt = 0.2;
2082
- function Ho() {
2090
+ function zo() {
2083
2091
  return {
2084
- enterPhysics: Yo,
2085
- exitPhysics: Lo,
2092
+ enterPhysics: Lo,
2093
+ exitPhysics: Ho,
2086
2094
  background: {
2087
2095
  willChange: "transform, opacity",
2088
2096
  enterStyle: (t, e) => ({
@@ -2096,28 +2104,28 @@ function Ho() {
2096
2104
  }
2097
2105
  };
2098
2106
  }
2099
- const zo = {
2107
+ const No = {
2100
2108
  spring: { stiffness: 200, damping: 24 }
2101
- }, No = {
2109
+ }, Wo = {
2102
2110
  inertia: { acceleration: 25, resistance: 1.2 }
2103
- }, St = 0.08, Wo = 16, xt = 0.6, Vo = (t) => `blur(${Math.max(0, t).toFixed(2)}px)`;
2104
- function Xo() {
2111
+ }, xt = 0.08, Xo = 16, St = 0.6, Vo = (t) => `blur(${Math.max(0, t).toFixed(2)}px)`;
2112
+ function Bo() {
2105
2113
  return {
2106
- enterPhysics: zo,
2107
- exitPhysics: No,
2114
+ enterPhysics: No,
2115
+ exitPhysics: Wo,
2108
2116
  background: {
2109
2117
  willChange: "transform, opacity",
2110
2118
  // enter: t 0 → 1 as the sheet rises. At rest (t = 0) the page is
2111
2119
  // untouched; at peak it is shrunk and dimmed.
2112
2120
  enterStyle: (t) => ({
2113
- transform: `scale(${1 - St * t})`,
2114
- opacity: 1 - (1 - xt) * t
2121
+ transform: `scale(${1 - xt * t})`,
2122
+ opacity: 1 - (1 - St) * t
2115
2123
  }),
2116
2124
  // exit: t 0 → 1 as the sheet falls away and the page returns to rest —
2117
2125
  // the inverse ramp of enter.
2118
2126
  exitStyle: (t) => ({
2119
- transform: `scale(${1 - St + St * t})`,
2120
- opacity: xt + (1 - xt) * t
2127
+ transform: `scale(${1 - xt + xt * t})`,
2128
+ opacity: St + (1 - St) * t
2121
2129
  })
2122
2130
  },
2123
2131
  overlay: {
@@ -2135,27 +2143,27 @@ function Xo() {
2135
2143
  // enter: 0 → MAX as the sheet rises (progress 0 → 1).
2136
2144
  // exit: MAX → 0 as it falls (progress 0 → 1, so the visual is inverted).
2137
2145
  style: (t, e) => {
2138
- const n = t === "enter" ? e : 1 - e, o = Vo(Wo * n);
2146
+ const n = t === "enter" ? e : 1 - e, o = Vo(Xo * n);
2139
2147
  return { backdropFilter: o, WebkitBackdropFilter: o };
2140
2148
  }
2141
2149
  }
2142
2150
  };
2143
2151
  }
2144
- const Bo = {
2152
+ const Uo = {
2145
2153
  spring: {
2146
2154
  stiffness: 190,
2147
2155
  damping: 25
2148
2156
  }
2149
- }, Uo = {
2157
+ }, jo = {
2150
2158
  spring: {
2151
2159
  stiffness: 190,
2152
2160
  damping: 25
2153
2161
  }
2154
2162
  };
2155
- function jo() {
2163
+ function Zo() {
2156
2164
  return {
2157
- enterPhysics: Bo,
2158
- exitPhysics: Uo,
2165
+ enterPhysics: Uo,
2166
+ exitPhysics: jo,
2159
2167
  background: {
2160
2168
  willChange: "",
2161
2169
  enterStyle: () => ({}),
@@ -2163,59 +2171,59 @@ function jo() {
2163
2171
  }
2164
2172
  };
2165
2173
  }
2166
- const Zo = {
2167
- static: jo(),
2168
- "background-scale": Ho(),
2169
- blur: Xo()
2170
- }, Go = "static", qo = "transform", Ko = (t = {}) => {
2171
- const e = Zo[t.type ?? Go], n = e.background, o = e.overlay, i = n.willChange !== "", r = (c) => {
2174
+ const Go = {
2175
+ static: Zo(),
2176
+ "background-scale": zo(),
2177
+ blur: Bo()
2178
+ }, qo = "static", Ko = "transform", Jo = (t = {}) => {
2179
+ const e = Go[t.type ?? qo], n = e.background, o = e.overlay, i = n.willChange !== "", r = (c) => {
2172
2180
  const s = c === "forward" ? "enter" : "exit", l = s === "enter" ? "to" : "from", a = s === "enter" ? "from" : "to", d = s === "enter" ? e.enterPhysics : e.exitPhysics;
2173
2181
  return {
2174
- prepare: ({ from: u, to: y, context: p, createElement: f }) => {
2175
- const h = { from: u, to: y }[l], m = { from: u, to: y }[a];
2182
+ prepare: ({ from: p, to: y, context: u, createElement: f }) => {
2183
+ const h = { from: p, to: y }[l], m = { from: p, to: y }[a];
2176
2184
  h.then((g) => {
2177
- g.style.willChange = qo, g.style.backfaceVisibility = "hidden", g.style.contain = "layout paint", g.style.zIndex = M, s === "enter" ? g.style.position = "relative" : g.style.pointerEvents = "none";
2185
+ g.style.willChange = Ko, g.style.backfaceVisibility = "hidden", g.style.contain = "layout paint", g.style.zIndex = M, s === "enter" ? g.style.position = "relative" : g.style.pointerEvents = "none";
2178
2186
  }), m.then((g) => {
2179
2187
  i && (g.style.willChange = n.willChange, g.style.backfaceVisibility = "hidden", g.style.contain = "layout paint"), g.style.zIndex = L, s === "enter" ? g.style.pointerEvents = "none" : g.style.position = "relative";
2180
2188
  });
2181
2189
  let b;
2182
- return o && (b = f("sheet-overlay"), Object.assign(b.style, o.initialStyle), b.style.willChange = o.willChange, p.positionedParent.appendChild(b)), { overlay: b };
2190
+ return o && (b = f("sheet-overlay"), Object.assign(b.style, o.initialStyle), b.style.willChange = o.willChange, u.positionedParent.appendChild(b)), { overlay: b };
2183
2191
  },
2184
- animation: ({ from: u, to: y, context: p, overlay: f }) => {
2185
- const h = { from: u, to: y }[l], m = { from: u, to: y }[a], b = V(p, l), g = () => {
2186
- u.style.pointerEvents = "", u.style.zIndex = "";
2187
- }, E = () => {
2188
- const S = s === "enter" ? M : L;
2189
- y.style.position === "relative" && (y.style.position = ""), y.style.zIndex === S && (y.style.zIndex = "");
2192
+ animation: ({ from: p, to: y, context: u, overlay: f }) => {
2193
+ const h = { from: p, to: y }[l], m = { from: p, to: y }[a], b = X(u, l), g = () => {
2194
+ p.style.pointerEvents = "", p.style.zIndex = "";
2195
+ }, w = () => {
2196
+ const x = s === "enter" ? M : L;
2197
+ y.style.position === "relative" && (y.style.position = ""), y.style.zIndex === x && (y.style.zIndex = "");
2190
2198
  };
2191
2199
  h.style.clipPath = `inset(${b.top}px 0 calc(100% - ${b.top + b.height}px) 0)`;
2192
- const C = s === "enter" ? (S, $) => ({
2200
+ const C = s === "enter" ? (x, $) => ({
2193
2201
  transform: `translate3d(0, ${$ * b.height}px, 0)`
2194
- }) : (S) => ({
2195
- transform: `translate3d(0, ${S * b.height}px, 0)`
2196
- }), v = new w({
2202
+ }) : (x) => ({
2203
+ transform: `translate3d(0, ${x * b.height}px, 0)`
2204
+ }), A = new S({
2197
2205
  element: h,
2198
- integrator: x.from(d),
2206
+ integrator: E.from(d),
2199
2207
  style: C,
2200
- onDispose: (S) => {
2201
- h.style.willChange = "auto", h.style.backfaceVisibility = "", h.style.contain = "", h.style.clipPath = "", h.style.transform = "", S.owns(u) && g(), S.owns(y) && E();
2208
+ onDispose: (x) => {
2209
+ h.style.willChange = "auto", h.style.backfaceVisibility = "", h.style.contain = "", h.style.clipPath = "", h.style.transform = "", x.owns(p) && g(), x.owns(y) && w();
2202
2210
  }
2203
2211
  });
2204
- J(v);
2205
- const A = {
2206
- sheet: v,
2212
+ J(A);
2213
+ const P = {
2214
+ sheet: A,
2207
2215
  background: new I([]),
2208
2216
  overlay: new I([])
2209
2217
  };
2210
2218
  if (i) {
2211
- const S = m.scrollHeight;
2212
- S > 0 && (m.style.height = `${S}px`);
2213
- const $ = V(p, a), R = $.left + $.width / 2, F = $.top + $.height / 2;
2219
+ const x = m.scrollHeight;
2220
+ x > 0 && (m.style.height = `${x}px`);
2221
+ const $ = X(u, a), R = $.left + $.width / 2, F = $.top + $.height / 2;
2214
2222
  m.style.clipPath = `inset(${$.top}px 0 calc(100% - ${$.top + $.height}px) 0)`, m.style.transformOrigin = `${R}px ${F}px`;
2215
- const O = s === "enter" ? (T, Y) => n.enterStyle(T, Y) : (T) => n.exitStyle(T), P = new w({
2223
+ const _ = s === "enter" ? (T, Y) => n.enterStyle(T, Y) : (T) => n.exitStyle(T), v = new S({
2216
2224
  element: m,
2217
- integrator: x.from(d),
2218
- style: O,
2225
+ integrator: E.from(d),
2226
+ style: _,
2219
2227
  // The background is the reused outgoing (`from`) node on `enter` and
2220
2228
  // the surviving incoming (`to`) node on `exit` — in both cases its
2221
2229
  // inline styles must be cleared on settle so the reused node is not
@@ -2225,19 +2233,19 @@ const Zo = {
2225
2233
  m.style.willChange = "auto", m.style.backfaceVisibility = "", m.style.contain = "", m.style.clipPath = "", m.style.transformOrigin = "", m.style.transform = "", m.style.opacity = "", m.style.height = "";
2226
2234
  }
2227
2235
  });
2228
- J(P), A.background = P;
2236
+ J(v), P.background = v;
2229
2237
  }
2230
2238
  if (f && o) {
2231
2239
  f.style.zIndex = fe;
2232
- const S = ue(p, "to");
2233
- f.style.top = `${S.top}px`, f.style.height = `${S.height}px`, A.overlay = new w({
2240
+ const x = pe(u, "to");
2241
+ f.style.top = `${x.top}px`, f.style.height = `${x.height}px`, P.overlay = new S({
2234
2242
  element: f,
2235
2243
  motion: { lifetime: "temporary", role: "overlay" },
2236
- integrator: x.from(d),
2244
+ integrator: E.from(d),
2237
2245
  style: ($) => o.style(s, $)
2238
2246
  });
2239
2247
  }
2240
- return new I(A, { mode: "parallel" });
2248
+ return new I(P, { mode: "parallel" });
2241
2249
  }
2242
2250
  };
2243
2251
  };
@@ -2246,15 +2254,15 @@ const Zo = {
2246
2254
  backward: r("backward")
2247
2255
  });
2248
2256
  };
2249
- function Jo(t) {
2257
+ function Qo(t) {
2250
2258
  return t === "scale" || t === "background-scale" ? "background-scale" : t === "blur" ? "blur" : "static";
2251
2259
  }
2252
- function Ji(t = {}, e = {}) {
2253
- const n = t.type, o = Jo(n);
2254
- return D(Ko({ type: o }), e.override);
2260
+ function er(t = {}, e = {}) {
2261
+ const n = t.type, o = Qo(n);
2262
+ return D(Jo({ type: o }), e.override);
2255
2263
  }
2256
- const Qo = (t = {}) => {
2257
- const e = t.physics ?? ze, n = (o) => {
2264
+ const ti = (t = {}) => {
2265
+ const e = t.physics ?? Ne, n = (o) => {
2258
2266
  const i = o === "forward" ? 100 : -100;
2259
2267
  return {
2260
2268
  prepare: ({ from: r, to: c }) => (r.then((s) => {
@@ -2263,9 +2271,9 @@ const Qo = (t = {}) => {
2263
2271
  s.style.transform = `translate3d(${i}%, 0, 0)`, s.style.willChange = "transform", s.style.backfaceVisibility = "hidden", s.style.contain = "layout paint";
2264
2272
  }), {}),
2265
2273
  animation: ({ from: r, to: c }) => {
2266
- const s = new w({
2274
+ const s = new S({
2267
2275
  element: r,
2268
- integrator: x.from(e),
2276
+ integrator: E.from(e),
2269
2277
  style: (a) => ({ transform: `translate3d(${100 * it("slide", "out", o, a).x}%, 0, 0)` }),
2270
2278
  // The outgoing node is the real Activity page and gets reused on the
2271
2279
  // next navigation, so reset every inline style we wrote to it (mirror
@@ -2273,9 +2281,9 @@ const Qo = (t = {}) => {
2273
2281
  onDispose: () => {
2274
2282
  r.style.willChange = "auto", r.style.backfaceVisibility = "", r.style.contain = "", r.style.transform = "", r.style.pointerEvents = "";
2275
2283
  }
2276
- }), l = new w({
2284
+ }), l = new S({
2277
2285
  element: c,
2278
- integrator: x.from(e),
2286
+ integrator: E.from(e),
2279
2287
  style: (a) => ({ transform: `translate3d(${100 * it("slide", "in", o, a).x}%, 0, 0)` }),
2280
2288
  onDispose: () => {
2281
2289
  c.style.willChange = "auto", c.style.backfaceVisibility = "", c.style.contain = "", c.style.transform = "";
@@ -2293,22 +2301,22 @@ const Qo = (t = {}) => {
2293
2301
  backward: n("backward")
2294
2302
  });
2295
2303
  };
2296
- function Qi(t = {}, e = {}) {
2297
- return D(Qo(), e.override);
2304
+ function nr(t = {}, e = {}) {
2305
+ return D(ti(), e.override);
2298
2306
  }
2299
- const ti = {
2307
+ const ei = {
2300
2308
  spring: { stiffness: 17, damping: 6 }
2301
- }, Et = 20, nt = 800, ei = (t = {}) => {
2302
- const e = t.physics ?? ti, n = {
2309
+ }, Et = 20, nt = 800, ni = (t = {}) => {
2310
+ const e = t.physics ?? ei, n = {
2303
2311
  prepare: ({ from: o, to: i }) => (o.then((r) => {
2304
2312
  r.style.willChange = "transform", r.style.backfaceVisibility = "hidden", r.style.contain = "layout paint", r.style.pointerEvents = "none", r.style.transform = `perspective(${nt}px) rotateY(0deg) translate3d(0%, 0, 0)`;
2305
2313
  }), i.then((r) => {
2306
2314
  r.style.willChange = "transform", r.style.backfaceVisibility = "hidden", r.style.contain = "layout paint", r.style.transform = `perspective(${nt}px) rotateY(${Et}deg) translate3d(-100%, 0, 0)`;
2307
2315
  }), {}),
2308
2316
  animation: ({ from: o, to: i }) => {
2309
- const r = new w({
2317
+ const r = new S({
2310
2318
  element: o,
2311
- integrator: x.from(e),
2319
+ integrator: E.from(e),
2312
2320
  style: (s) => {
2313
2321
  const l = -s * Et, a = s * 100;
2314
2322
  return {
@@ -2321,9 +2329,9 @@ const ti = {
2321
2329
  onDispose: () => {
2322
2330
  o.style.transform = "", o.style.willChange = "auto", o.style.backfaceVisibility = "", o.style.contain = "", o.style.pointerEvents = "";
2323
2331
  }
2324
- }), c = new w({
2332
+ }), c = new S({
2325
2333
  element: i,
2326
- integrator: x.from(e),
2334
+ integrator: E.from(e),
2327
2335
  style: (s, l) => {
2328
2336
  const a = l * Et, d = -l * 100;
2329
2337
  return {
@@ -2342,11 +2350,11 @@ const ti = {
2342
2350
  };
2343
2351
  return k({ forward: n, backward: n });
2344
2352
  };
2345
- function tr(t = {}, e = {}) {
2346
- return D(ei(), e.override);
2353
+ function or(t = {}, e = {}) {
2354
+ return D(ni(), e.override);
2347
2355
  }
2348
2356
  const $t = /* @__PURE__ */ new WeakMap();
2349
- function ni(t) {
2357
+ function oi(t) {
2350
2358
  const e = $t.get(t) ?? {
2351
2359
  opacity: t.style.opacity,
2352
2360
  users: 0
@@ -2357,7 +2365,7 @@ function ni(t) {
2357
2365
  n || (n = !0, !(--e.users > 0) && (t.style.opacity === "0" && (t.style.opacity = e.opacity), $t.delete(t)));
2358
2366
  };
2359
2367
  }
2360
- function oi(t, e) {
2368
+ function ii(t, e) {
2361
2369
  return e.left >= t.left - 0.01 && e.top >= t.top - 0.01 && e.left + e.width <= t.left + t.width + 0.01 && e.top + e.height <= t.top + t.height + 0.01;
2362
2370
  }
2363
2371
  function Yt(t) {
@@ -2380,7 +2388,7 @@ function Yt(t) {
2380
2388
  c,
2381
2389
  s
2382
2390
  );
2383
- return oi(n.window, l) ? {
2391
+ return ii(n.window, l) ? {
2384
2392
  contentAware: !0,
2385
2393
  enterContent: i,
2386
2394
  exitContent: r,
@@ -2390,7 +2398,7 @@ function Yt(t) {
2390
2398
  exitCornerRadii: o.cornerRadii
2391
2399
  } : e();
2392
2400
  }
2393
- function we(t, e) {
2401
+ function xe(t, e) {
2394
2402
  return {
2395
2403
  top: t.top,
2396
2404
  right: e.width - (t.left + t.width),
@@ -2398,7 +2406,7 @@ function we(t, e) {
2398
2406
  left: t.left
2399
2407
  };
2400
2408
  }
2401
- function ii(t, e, n) {
2409
+ function ri(t, e, n) {
2402
2410
  return {
2403
2411
  x: t / Math.max(Math.abs(e), 1e-6),
2404
2412
  y: t / Math.max(Math.abs(n), 1e-6)
@@ -2406,15 +2414,15 @@ function ii(t, e, n) {
2406
2414
  }
2407
2415
  function Se(t, e, n, o, i, r) {
2408
2416
  return (n ?? [t]).map(
2409
- (c) => ii(
2417
+ (c) => ri(
2410
2418
  Math.max(0, c * o + e * (1 - o)),
2411
2419
  i,
2412
2420
  r
2413
2421
  )
2414
2422
  );
2415
2423
  }
2416
- function ri(t) {
2417
- const { pageRect: e, scrollOffset: n, enterRadius: o, exitRadius: i } = t, r = Yt(t), { enterContent: c, exitContent: s, startWindow: l, scaleX: a, scaleY: d } = r, u = s.left - c.left + (s.width - c.width) / 2 - n.x, y = s.top - c.top + (s.height - c.height) / 2 - n.y, p = we(l, e);
2424
+ function si(t) {
2425
+ const { pageRect: e, scrollOffset: n, enterRadius: o, exitRadius: i } = t, r = Yt(t), { enterContent: c, exitContent: s, startWindow: l, scaleX: a, scaleY: d } = r, p = s.left - c.left + (s.width - c.width) / 2 - n.x, y = s.top - c.top + (s.height - c.height) / 2 - n.y, u = xe(l, e);
2418
2426
  return {
2419
2427
  transformOrigin: `${N(c)}px ${W(c)}px`,
2420
2428
  animate: (f) => {
@@ -2430,20 +2438,20 @@ function ri(t) {
2430
2438
  clipPath: dt(
2431
2439
  e,
2432
2440
  {
2433
- top: p.top * h,
2434
- right: p.right * h,
2435
- bottom: p.bottom * h,
2436
- left: p.left * h
2441
+ top: u.top * h,
2442
+ right: u.right * h,
2443
+ bottom: u.bottom * h,
2444
+ left: u.left * h
2437
2445
  },
2438
2446
  g
2439
2447
  ),
2440
- transform: `translate(${u * h}px, ${y * h}px) scale(${m}, ${b})`
2448
+ transform: `translate(${p * h}px, ${y * h}px) scale(${m}, ${b})`
2441
2449
  };
2442
2450
  }
2443
2451
  };
2444
2452
  }
2445
- function si(t) {
2446
- const { pageRect: e, scrollOffset: n, enterRadius: o, exitRadius: i } = t, r = Yt(t), { enterContent: c, exitContent: s, startWindow: l, scaleX: a, scaleY: d } = r, u = s.left - c.left + (s.width - c.width) / 2 + n.x, y = s.top - c.top + (s.height - c.height) / 2 + n.y, p = we(l, e);
2453
+ function ai(t) {
2454
+ const { pageRect: e, scrollOffset: n, enterRadius: o, exitRadius: i } = t, r = Yt(t), { enterContent: c, exitContent: s, startWindow: l, scaleX: a, scaleY: d } = r, p = s.left - c.left + (s.width - c.width) / 2 + n.x, y = s.top - c.top + (s.height - c.height) / 2 + n.y, u = xe(l, e);
2447
2455
  return {
2448
2456
  transformOrigin: `${N(c)}px ${W(c)}px`,
2449
2457
  animate: (f) => {
@@ -2459,48 +2467,55 @@ function si(t) {
2459
2467
  clipPath: dt(
2460
2468
  e,
2461
2469
  {
2462
- top: p.top * h,
2463
- right: p.right * h,
2464
- bottom: p.bottom * h,
2465
- left: p.left * h
2470
+ top: u.top * h,
2471
+ right: u.right * h,
2472
+ bottom: u.bottom * h,
2473
+ left: u.left * h
2466
2474
  },
2467
2475
  g
2468
2476
  ),
2469
- transform: `translate(${u * h - n.x}px, ${y * h}px) scale(${m}, ${b})`
2477
+ transform: `translate(${p * h - n.x}px, ${y * h}px) scale(${m}, ${b})`
2470
2478
  };
2471
2479
  }
2472
2480
  };
2473
2481
  }
2474
- const ai = {
2482
+ const ci = {
2475
2483
  spring: {
2476
- stiffness: 380,
2477
- damping: 30,
2484
+ stiffness: 500,
2485
+ damping: 49,
2486
+ // Follower at 2× the leader: same 50 % / 90 % / end as a single 280/33.5
2487
+ // spring, but the first ~50 ms ramp in gently so low-end phones get a
2488
+ // couple of cheap frames before the tile, blur and fade all move at once.
2489
+ doubleSpring: 2,
2490
+ restDelta: 0.05,
2491
+ restSpeed: 0.05
2492
+ }
2493
+ }, li = {
2494
+ spring: {
2495
+ stiffness: 280,
2496
+ damping: 33.5,
2478
2497
  restDelta: 0.1,
2479
- restSpeed: 0.1,
2480
- doubleSpring: {
2481
- stiffness: 260,
2482
- damping: 30
2483
- }
2498
+ restSpeed: 0.1
2484
2499
  }
2485
- }, xe = 0.12, ci = 18;
2486
- function li() {
2500
+ }, Ee = 0.12, di = 18;
2501
+ function pi() {
2487
2502
  return {
2488
2503
  transformOrigin: "50% 50%",
2489
2504
  animate: (t) => {
2490
2505
  const e = 1 - t;
2491
2506
  return {
2492
- transform: `scale(${1 - xe * e})`
2507
+ transform: `scale(${1 - Ee * e})`
2493
2508
  };
2494
2509
  }
2495
2510
  };
2496
2511
  }
2497
- function di() {
2512
+ function ui() {
2498
2513
  return {
2499
2514
  transformOrigin: "50% 50%",
2500
2515
  animate: (t) => {
2501
2516
  const e = 1 - t;
2502
2517
  return {
2503
- transform: `scale(${1 - xe * e})`
2518
+ transform: `scale(${1 - Ee * e})`
2504
2519
  };
2505
2520
  }
2506
2521
  };
@@ -2521,32 +2536,33 @@ const Ct = {
2521
2536
  WebkitBackdropFilter: "blur(0px)"
2522
2537
  },
2523
2538
  style: (t, e) => {
2524
- const n = t === "enter" ? e : 1 - e, o = `blur(${ci * n}px)`;
2539
+ const n = t === "enter" ? e : 1 - e, o = `blur(${di * n}px)`;
2525
2540
  return {
2526
2541
  backdropFilter: o,
2527
2542
  WebkitBackdropFilter: o
2528
2543
  };
2529
2544
  }
2530
2545
  };
2531
- class ui {
2546
+ class fi {
2532
2547
  constructor() {
2533
- _(this, "name", "background");
2534
- _(this, "physics", ai);
2548
+ O(this, "name", "background");
2549
+ O(this, "physics", ci);
2550
+ O(this, "exitPhysics", li);
2535
2551
  }
2536
2552
  contribute(e) {
2537
- const { from: n, to: o, resolved: i, physics: r } = e, c = i.mode === "enter", s = c ? n : o, l = c ? li() : di();
2553
+ const { from: n, to: o, resolved: i, physics: r } = e, c = i.mode === "enter", s = c ? n : o, l = c ? pi() : ui();
2538
2554
  return l && (s.style.transformOrigin = l.transformOrigin), [
2539
- new w({
2555
+ new S({
2540
2556
  element: s,
2541
- integrator: x.from(r),
2557
+ integrator: E.from(r),
2542
2558
  style: c ? (a, d) => l.animate(d) : (a) => l.animate(a)
2543
2559
  })
2544
2560
  ];
2545
2561
  }
2546
2562
  }
2547
- class pi {
2563
+ class hi {
2548
2564
  constructor() {
2549
- _(this, "name", "overlay");
2565
+ O(this, "name", "overlay");
2550
2566
  }
2551
2567
  prepare(e) {
2552
2568
  const n = e.createElement("zoom-overlay");
@@ -2556,18 +2572,18 @@ class pi {
2556
2572
  const n = e.extras.overlay;
2557
2573
  if (!n) return [];
2558
2574
  n.style.zIndex = fe;
2559
- const o = ue(e.context, "to");
2575
+ const o = pe(e.context, "to");
2560
2576
  return n.style.top = `${o.top}px`, n.style.height = `${o.height}px`, [
2561
- new w({
2577
+ new S({
2562
2578
  element: n,
2563
2579
  motion: { lifetime: "temporary", role: "overlay" },
2564
- integrator: x.from(e.physics),
2580
+ integrator: E.from(e.physics),
2565
2581
  style: (i) => Ct.style(e.resolved.mode, i)
2566
2582
  })
2567
2583
  ];
2568
2584
  }
2569
2585
  }
2570
- const fi = {
2586
+ const yi = {
2571
2587
  spring: {
2572
2588
  stiffness: 380,
2573
2589
  damping: 30,
@@ -2577,7 +2593,7 @@ const fi = {
2577
2593
  }
2578
2594
  }
2579
2595
  };
2580
- function hi({
2596
+ function mi({
2581
2597
  enterRect: t,
2582
2598
  exitRect: e,
2583
2599
  scrollOffset: n
@@ -2593,7 +2609,7 @@ function hi({
2593
2609
  }
2594
2610
  };
2595
2611
  }
2596
- function yi({
2612
+ function gi({
2597
2613
  enterRect: t,
2598
2614
  exitRect: e,
2599
2615
  scrollOffset: n
@@ -2609,50 +2625,50 @@ function yi({
2609
2625
  }
2610
2626
  };
2611
2627
  }
2612
- class mi {
2628
+ class bi {
2613
2629
  constructor() {
2614
- _(this, "name", "background");
2615
- _(this, "physics", fi);
2630
+ O(this, "name", "background");
2631
+ O(this, "physics", yi);
2616
2632
  }
2617
2633
  contribute(e) {
2618
- const { from: n, to: o, resolved: i, input: r, physics: c } = e, s = i.mode === "enter", l = s ? n : o, a = s ? hi(r) : yi(r);
2634
+ const { from: n, to: o, resolved: i, input: r, physics: c } = e, s = i.mode === "enter", l = s ? n : o, a = s ? mi(r) : gi(r);
2619
2635
  return a && (l.style.transformOrigin = a.transformOrigin), [
2620
- new w({
2636
+ new S({
2621
2637
  element: l,
2622
- integrator: x.from(c),
2623
- style: s ? (d, u) => a.animate(u) : (d) => a.animate(d)
2638
+ integrator: E.from(c),
2639
+ style: s ? (d, p) => a.animate(p) : (d) => a.animate(d)
2624
2640
  })
2625
2641
  ];
2626
2642
  }
2627
2643
  }
2628
- const gi = {
2644
+ const wi = {
2629
2645
  spring: {
2630
2646
  stiffness: 530,
2631
2647
  damping: 34,
2632
2648
  doubleSpring: 1
2633
2649
  }
2634
2650
  };
2635
- class bi {
2651
+ class xi {
2636
2652
  constructor() {
2637
- _(this, "name", "background");
2638
- _(this, "physics", gi);
2653
+ O(this, "name", "background");
2654
+ O(this, "physics", wi);
2639
2655
  }
2640
2656
  contribute(e) {
2641
2657
  return [];
2642
2658
  }
2643
2659
  }
2644
- const wi = {
2645
- expand: () => new mi(),
2646
- static: () => new bi(),
2647
- blur: () => new ui()
2660
+ const Si = {
2661
+ expand: () => new bi(),
2662
+ static: () => new xi(),
2663
+ blur: () => new fi()
2648
2664
  };
2649
- function Si(t) {
2650
- return wi[t]();
2665
+ function Ei(t) {
2666
+ return Si[t]();
2651
2667
  }
2652
- function xi(t) {
2653
- var E, C;
2654
- const { resolved: e, input: n, from: o, to: i, physics: r, onDispose: c } = t, s = e.mode === "enter", l = s ? i : o, a = Yt(n), d = a.contentAware ? ((E = n.exitMedia) == null ? void 0 : E.mediaElement) ?? e.exitEl : e.exitEl, u = a.contentAware ? ((C = n.enterMedia) == null ? void 0 : C.mediaElement) ?? e.enterEl : e.enterEl, y = ot(d), p = ot(u), f = Tt(d);
2655
- a.contentAware && (f.style.width = `${a.exitContent.width}px`, f.style.height = `${a.exitContent.height}px`, f.style.borderRadius = "0"), f.style.zIndex = getComputedStyle(u).zIndex, u.after(f), f.style.transform = Qn(
2668
+ function $i(t) {
2669
+ var w, C;
2670
+ const { resolved: e, input: n, from: o, to: i, physics: r, onDispose: c } = t, s = e.mode === "enter", l = s ? i : o, a = Yt(n), d = a.contentAware ? ((w = n.exitMedia) == null ? void 0 : w.mediaElement) ?? e.exitEl : e.exitEl, p = a.contentAware ? ((C = n.enterMedia) == null ? void 0 : C.mediaElement) ?? e.enterEl : e.enterEl, y = ot(d), u = ot(p), f = Tt(d);
2671
+ a.contentAware && (f.style.width = `${a.exitContent.width}px`, f.style.height = `${a.exitContent.height}px`, f.style.borderRadius = "0"), f.style.zIndex = getComputedStyle(p).zIndex, p.after(f), f.style.transform = to(
2656
2672
  {
2657
2673
  width: a.enterContent.width,
2658
2674
  height: a.enterContent.height,
@@ -2664,43 +2680,47 @@ function xi(t) {
2664
2680
  const h = n.enterMedia ?? rt(
2665
2681
  e.enterEl,
2666
2682
  n.enterRect,
2667
- (v) => z(l, v),
2683
+ (A) => z(l, A),
2668
2684
  { clipRoot: l, legacyRadiusAttribute: "data-zoom-radius" }
2669
2685
  );
2670
2686
  if ((a.contentAware ? h.radiusSource : h.bboxRadiusSource) !== "unsupported") {
2671
- const v = a.contentAware ? h.window : n.enterRect, A = a.contentAware ? h.cornerRadii ?? [h.radius] : [h.bboxRadius];
2687
+ const A = a.contentAware ? h.window : n.enterRect, P = a.contentAware ? h.cornerRadii ?? [h.radius] : [h.bboxRadius];
2672
2688
  f.style.borderRadius = "0", f.style.clipPath = dt(
2673
2689
  a.enterContent,
2674
- j(a.enterContent, v),
2675
- A.map((S) => ({ x: S, y: S }))
2690
+ U(a.enterContent, A),
2691
+ P.map((x) => ({ x, y: x }))
2676
2692
  );
2677
2693
  }
2678
- const b = (v, A) => ({
2679
- opacity: U(s ? A : v) * y.opacity
2680
- }), g = (v, A) => ({
2681
- opacity: U(s ? v : A) * p.opacity
2694
+ const b = (A, P) => ({
2695
+ opacity: G(s ? P : A) * y.opacity
2696
+ }), g = (A, P) => ({
2697
+ opacity: we(
2698
+ s ? A : P,
2699
+ u.opacity,
2700
+ y.opacity
2701
+ )
2682
2702
  });
2683
- return f.style.opacity = String(b(0, 1).opacity), y.set(0), p.set(g(0, 1).opacity), c(() => {
2684
- f.remove(), y.restore(), p.restore();
2703
+ return f.style.opacity = String(b(0, 1).opacity), y.set(0), u.set(g(0, 1).opacity), c(() => {
2704
+ f.remove(), y.restore(), u.restore();
2685
2705
  }), [
2686
- new w({
2706
+ new S({
2687
2707
  element: f,
2688
2708
  motion: { lifetime: "temporary", role: "shared-media-source" },
2689
- integrator: x.from(r),
2709
+ integrator: E.from(r),
2690
2710
  style: b
2691
2711
  }),
2692
- new w({
2693
- element: u,
2694
- integrator: x.from(r),
2712
+ new S({
2713
+ element: p,
2714
+ integrator: E.from(r),
2695
2715
  style: g
2696
2716
  })
2697
2717
  ];
2698
2718
  }
2699
2719
  const Dt = "data-zoom-enter-key", se = "data-zoom-exit-key", ae = "data-zoom-radius";
2700
- function Ei(t, e) {
2720
+ function Ci(t, e) {
2701
2721
  return Math.abs(t.left - e.left) < 0.01 && Math.abs(t.top - e.top) < 0.01 && Math.abs(t.width - e.width) < 0.01 && Math.abs(t.height - e.height) < 0.01;
2702
2722
  }
2703
- function $i(t, e) {
2723
+ function Ai(t, e) {
2704
2724
  const n = [];
2705
2725
  let o = e;
2706
2726
  for (; o && o !== t; ) {
@@ -2723,7 +2743,7 @@ function le(t, e) {
2723
2743
  return o;
2724
2744
  return null;
2725
2745
  }
2726
- function Ci(t, e, n) {
2746
+ function Pi(t, e, n) {
2727
2747
  if (n === "forward") {
2728
2748
  const c = ce(e);
2729
2749
  if (!c) return null;
@@ -2739,7 +2759,7 @@ function Ci(t, e, n) {
2739
2759
  const r = le(e, i);
2740
2760
  return r ? { mode: "exit", enterEl: o, exitEl: r } : null;
2741
2761
  }
2742
- function Ai(t, e, n, o) {
2762
+ function vi(t, e, n, o) {
2743
2763
  const i = t.mode === "enter" ? n : e, r = t.mode === "enter" ? e : n, c = z(i, t.enterEl), s = z(r, t.exitEl), l = rt(
2744
2764
  t.enterEl,
2745
2765
  c,
@@ -2756,28 +2776,28 @@ function Ai(t, e, n, o) {
2756
2776
  clipRoot: r,
2757
2777
  legacyRadiusAttribute: ae
2758
2778
  }
2759
- ), [d, u] = ge(l, a), y = d.contentAware && u.contentAware, p = t.mode === "enter" ? n.getBoundingClientRect() : e.getBoundingClientRect(), f = {
2779
+ ), [d, p] = ge(l, a), y = d.contentAware && p.contentAware, u = t.mode === "enter" ? n.getBoundingClientRect() : e.getBoundingClientRect(), f = {
2760
2780
  left: 0,
2761
2781
  top: 0,
2762
- width: p.width,
2763
- height: p.height
2764
- }, h = d.radiusSource === "legacy" || Ei(d.window, f) ? d.radius : 0;
2782
+ width: u.width,
2783
+ height: u.height
2784
+ }, h = d.radiusSource === "legacy" || Ci(d.window, f) ? d.radius : 0;
2765
2785
  return {
2766
2786
  enterRect: c,
2767
2787
  exitRect: s,
2768
2788
  ...y ? {
2769
2789
  enterMedia: d,
2770
- exitMedia: u
2790
+ exitMedia: p
2771
2791
  } : {},
2772
- pageRect: p,
2792
+ pageRect: u,
2773
2793
  scrollOffset: o,
2774
2794
  enterRadius: h,
2775
- exitRadius: u.radius
2795
+ exitRadius: p.radius
2776
2796
  };
2777
2797
  }
2778
- class vi {
2798
+ class Ri {
2779
2799
  constructor() {
2780
- _(this, "name", "tile");
2800
+ O(this, "name", "tile");
2781
2801
  }
2782
2802
  prepare(e) {
2783
2803
  e.from.then((n) => {
@@ -2785,162 +2805,169 @@ class vi {
2785
2805
  });
2786
2806
  }
2787
2807
  contribute(e) {
2788
- const { from: n, to: o, resolved: i, input: r, physics: c, onDispose: s } = e, l = i.mode === "enter", a = l ? ri(r) : si(r), d = l ? o : n, u = l ? "t" : "u", y = xi(e);
2789
- s(ni(i.exitEl)), a && (d.style.transformOrigin = a.transformOrigin);
2790
- const p = l ? L : M, f = l ? M : L, h = n.style.zIndex;
2791
- n.style.zIndex = p;
2808
+ const { from: n, to: o, resolved: i, input: r, physics: c, onDispose: s } = e, l = i.mode === "enter", a = l ? si(r) : ai(r), d = l ? o : n, p = l ? "t" : "u", y = $i(e);
2809
+ s(oi(i.exitEl)), a && (d.style.transformOrigin = a.transformOrigin);
2810
+ const u = l ? L : M, f = l ? M : L, h = n.style.zIndex;
2811
+ n.style.zIndex = u;
2792
2812
  const m = o.style.zIndex, b = o.style.position;
2793
2813
  return o.style.zIndex = f, o.style.position = "relative", s((g) => {
2794
2814
  g.owns(d) && (d.style.willChange = "auto", d.style.backfaceVisibility = "", d.style.transformOrigin = "", d.style.contain = ""), g.owns(n) && (n.style.zIndex = h, n.style.willChange = "auto", n.style.backfaceVisibility = "", n.style.transformOrigin = "", n.style.contain = "", n.style.transform = "", n.style.clipPath = ""), g.owns(o) && (o.style.zIndex = m, o.style.position = b, o.style.transformOrigin = "");
2795
2815
  }), [
2796
2816
  ...y,
2797
- new w({
2817
+ new S({
2798
2818
  element: d,
2799
- integrator: x.from(c),
2819
+ integrator: E.from(c),
2800
2820
  // Enter: tile expands as `t` (0 → 1). Exit: tile shrinks as `u` —
2801
2821
  // the legacy convention from v5's outAnim path. Either way, feed
2802
2822
  // the progress that matches the tileConfig's authored direction.
2803
- style: u === "t" ? (g) => a.animate(g) : (g, E) => a.animate(E)
2823
+ style: p === "t" ? (g) => a.animate(g) : (g, w) => a.animate(w)
2804
2824
  })
2805
2825
  ];
2806
2826
  }
2807
2827
  }
2808
- class Pi {
2828
+ class Ii {
2809
2829
  constructor() {
2810
- _(this, "name", "content");
2830
+ O(this, "name", "content");
2811
2831
  }
2812
2832
  contribute(e) {
2813
- const { resolved: n, physics: o, from: i, to: r, onDispose: c } = e, s = n.mode === "enter" ? r : i, l = $i(s, n.enterEl);
2833
+ const { resolved: n, physics: o, from: i, to: r, onDispose: c } = e, s = n.mode === "enter" ? r : i, l = Ai(s, n.enterEl);
2814
2834
  if (l.length === 0) return [];
2815
2835
  const a = l.map((d) => d.style.opacity);
2816
2836
  if (n.mode === "enter")
2817
2837
  for (const d of l) d.style.opacity = "0";
2818
2838
  return c((d) => {
2819
- for (let u = 0; u < l.length; u++) {
2820
- const y = l[u];
2821
- y && d.owns(y) && (y.style.opacity = a[u] ?? "");
2839
+ for (let p = 0; p < l.length; p++) {
2840
+ const y = l[p];
2841
+ y && d.owns(y) && (y.style.opacity = a[p] ?? "");
2822
2842
  }
2823
2843
  }), l.map(
2824
- (d) => new w({
2844
+ (d) => new S({
2825
2845
  element: d,
2826
- integrator: x.from(o),
2827
- style: (u, y) => ({
2828
- opacity: n.mode === "enter" ? u : y
2846
+ integrator: E.from(o),
2847
+ style: (p, y) => ({
2848
+ opacity: n.mode === "enter" ? p : y
2829
2849
  })
2830
2850
  })
2831
2851
  );
2832
2852
  }
2833
2853
  }
2834
- class Ri {
2854
+ class Oi {
2835
2855
  constructor() {
2836
- _(this, "name", "content");
2856
+ O(this, "name", "content");
2837
2857
  }
2838
2858
  contribute() {
2839
2859
  return [];
2840
2860
  }
2841
2861
  }
2842
- const Ii = {
2843
- default: () => new Ri(),
2844
- fade: () => new Pi()
2862
+ const _i = {
2863
+ default: () => new Oi(),
2864
+ fade: () => new Ii()
2845
2865
  };
2846
- function Oi(t) {
2847
- return Ii[t]();
2866
+ function ki(t) {
2867
+ return _i[t]();
2848
2868
  }
2849
2869
  function At(t) {
2850
- const e = Si(t.type);
2851
- return { strategies: [
2852
- new vi(),
2853
- e,
2854
- Oi(t.variant),
2855
- // Overlay is intrinsically tied to backdrop-filter-driven types. Today
2856
- // that's only `blur`; the table-driven factory above owns the mapping
2857
- // so this conditional is the single line that knows the relationship.
2858
- ...t.type === "blur" ? [new pi()] : []
2859
- ], physics: e.physics };
2860
- }
2861
- const _i = (t) => {
2862
- const { physics: e } = At(t), n = (o) => ({
2863
- prepare: (i) => {
2864
- const { strategies: r } = At(t), c = {
2865
- from: i.from,
2866
- to: i.to,
2867
- context: { positionedParent: i.context.positionedParent },
2870
+ const e = Ei(t.type);
2871
+ return {
2872
+ strategies: [
2873
+ new Ri(),
2874
+ e,
2875
+ ki(t.variant),
2876
+ // Overlay is intrinsically tied to backdrop-filter-driven types. Today
2877
+ // that's only `blur`; the table-driven factory above owns the mapping
2878
+ // so this conditional is the single line that knows the relationship.
2879
+ ...t.type === "blur" ? [new hi()] : []
2880
+ ],
2881
+ physics: e.physics,
2882
+ exitPhysics: e.exitPhysics
2883
+ };
2884
+ }
2885
+ function Di(t, e) {
2886
+ return e === "exit" ? t.exitPhysics ?? t.physics : t.physics;
2887
+ }
2888
+ const Fi = (t) => {
2889
+ const { physics: e, exitPhysics: n } = At(t), o = (i) => ({
2890
+ prepare: (r) => {
2891
+ const { strategies: c } = At(t), s = {
2892
+ from: r.from,
2893
+ to: r.to,
2894
+ context: { positionedParent: r.context.positionedParent },
2868
2895
  // `createElement` from the dispatcher is generic over tag; the
2869
2896
  // strategy interface narrows the cast to keep both signatures
2870
2897
  // compatible.
2871
- createElement: i.createElement
2872
- }, s = {};
2873
- for (const l of r) {
2874
- if (!l.prepare) continue;
2875
- const a = l.prepare(c);
2876
- a && Object.assign(s, a);
2898
+ createElement: r.createElement
2899
+ }, l = {};
2900
+ for (const a of c) {
2901
+ if (!a.prepare) continue;
2902
+ const d = a.prepare(s);
2903
+ d && Object.assign(l, d);
2877
2904
  }
2878
- return { ...s, strategies: r };
2905
+ return { ...l, strategies: c };
2879
2906
  },
2880
2907
  animation: ({
2881
- from: i,
2882
- to: r,
2883
- context: c,
2884
- strategies: s = At(t).strategies,
2885
- ...l
2908
+ from: r,
2909
+ to: c,
2910
+ context: s,
2911
+ strategies: l = At(t).strategies,
2912
+ ...a
2886
2913
  }) => {
2887
- var b;
2888
- const a = Ci(i, r, o);
2889
- if (!a)
2914
+ var g;
2915
+ const d = Pi(r, c, i);
2916
+ if (!d)
2890
2917
  return K({
2891
2918
  tile: [],
2892
2919
  background: [],
2893
2920
  content: [],
2894
2921
  overlay: []
2895
2922
  });
2896
- const d = Ai(a, i, r, c.scrollOffset), u = [], p = {
2897
- from: i,
2898
- to: r,
2899
- resolved: a,
2900
- input: d,
2901
- physics: e,
2902
- context: c,
2903
- extras: l,
2904
- onDispose: (g) => {
2905
- u.push(g);
2906
- }
2923
+ const p = vi(d, r, c, s.scrollOffset), y = [], u = (w) => {
2924
+ y.push(w);
2907
2925
  }, f = {
2926
+ from: r,
2927
+ to: c,
2928
+ resolved: d,
2929
+ input: p,
2930
+ physics: Di({ physics: e, exitPhysics: n }, d.mode),
2931
+ context: s,
2932
+ extras: a,
2933
+ onDispose: u
2934
+ }, h = {
2908
2935
  tile: [],
2909
2936
  background: [],
2910
2937
  content: [],
2911
2938
  overlay: []
2912
2939
  };
2913
- for (const g of s)
2914
- f[g.name].push(...((b = g.contribute) == null ? void 0 : b.call(g, p)) ?? []);
2915
- const h = Object.values(f).flat(), m = K(f);
2916
- m.onDispose = (g) => {
2917
- for (const E of u)
2940
+ for (const w of l)
2941
+ h[w.name].push(...((g = w.contribute) == null ? void 0 : g.call(w, f)) ?? []);
2942
+ const m = Object.values(h).flat(), b = K(h);
2943
+ b.onDispose = (w) => {
2944
+ for (const C of y)
2918
2945
  try {
2919
- E(g);
2920
- } catch (C) {
2921
- console.error("[zoom] cleanup error", C);
2946
+ C(w);
2947
+ } catch (A) {
2948
+ console.error("[zoom] cleanup error", A);
2922
2949
  }
2923
2950
  };
2924
- for (const g of h)
2925
- g instanceof w && J(g);
2926
- return m;
2951
+ for (const w of m)
2952
+ w instanceof S && J(w);
2953
+ return b;
2927
2954
  }
2928
2955
  });
2929
2956
  return k({
2930
- forward: n("forward"),
2931
- backward: n("backward")
2957
+ forward: o("forward"),
2958
+ backward: o("backward")
2932
2959
  });
2933
2960
  };
2934
- function ki(t) {
2961
+ function Mi(t) {
2935
2962
  const e = t.type ?? "static", n = t.variant ?? (t.fade ? "fade" : "default");
2936
2963
  return { type: e, variant: n };
2937
2964
  }
2938
- function er(t = {}, e = {}) {
2939
- const n = ki(t);
2940
- return D(_i(n), e.override);
2965
+ function ir(t = {}, e = {}) {
2966
+ const n = Mi(t);
2967
+ return D(Fi(n), e.override);
2941
2968
  }
2942
- const de = 1 / 60, Di = 600;
2943
- function Fi(t, e) {
2969
+ const de = 1 / 60, Ti = 600;
2970
+ function Yi(t, e) {
2944
2971
  const n = Math.sqrt(t), o = e / (2 * n), i = 2 * Math.PI / n, r = o <= 1 ? 1 - o : 1 / o - 1;
2945
2972
  return { duration: i, bounce: r, zeta: o };
2946
2973
  }
@@ -2955,31 +2982,31 @@ function tt(t) {
2955
2982
  ])
2956
2983
  if (n !== void 0 && (!Number.isFinite(n) || n <= 0))
2957
2984
  throw new Error(`spring(): ${e} must be finite and > 0`);
2958
- return x.from({ spring: t });
2985
+ return E.from({ spring: t });
2959
2986
  }
2960
- function Mi(t) {
2987
+ function Li(t) {
2961
2988
  let e = { position: 0, velocity: 0 };
2962
- for (let n = 1; n <= Di; n++)
2989
+ for (let n = 1; n <= Ti; n++)
2963
2990
  if (e = t.step(e, 1, de), e.position >= 1) return n * de * 1e3;
2964
2991
  return 1 / 0;
2965
2992
  }
2966
- function Ti(t) {
2993
+ function Hi(t) {
2967
2994
  const { duration: e, resistance: n = 1.5, restDelta: o } = t;
2968
2995
  if (!Number.isFinite(e) || !(e > 0))
2969
2996
  throw new Error("easeIn(): duration must be finite and > 0");
2970
2997
  const i = e * 1e3;
2971
2998
  let r = 0.01, c = 1e6;
2972
2999
  for (let s = 0; s < 60; s++) {
2973
- const l = Math.sqrt(r * c), a = new Pt({
3000
+ const l = Math.sqrt(r * c), a = new vt({
2974
3001
  acceleration: l,
2975
3002
  resistance: n,
2976
3003
  restDelta: o
2977
3004
  });
2978
- Mi(a) > i ? r = l : c = l;
3005
+ Li(a) > i ? r = l : c = l;
2979
3006
  }
2980
- return new Pt({ acceleration: c, resistance: n, restDelta: o });
3007
+ return new vt({ acceleration: c, resistance: n, restDelta: o });
2981
3008
  }
2982
- class Ee {
3009
+ class $e {
2983
3010
  constructor(e, n) {
2984
3011
  if (this.inner = e, this.factor = n, !Number.isFinite(n) || !(n > 0))
2985
3012
  throw new Error("scale(): factor must be finite and > 0");
@@ -3000,13 +3027,13 @@ class Ee {
3000
3027
  );
3001
3028
  }
3002
3029
  }
3003
- function nr(t, e) {
3004
- return new Ee(t, e);
3030
+ function rr(t, e) {
3031
+ return new $e(t, e);
3005
3032
  }
3006
- function Yi(t) {
3007
- const e = Te(t, 0, 1, 0), n = e.length ? e[e.length - 1].time : 0;
3008
- if (t instanceof Ee) {
3009
- const o = Yi(t.inner);
3033
+ function zi(t) {
3034
+ const e = Ye(t, 0, 1, 0), n = e.length ? e[e.length - 1].time : 0;
3035
+ if (t instanceof $e) {
3036
+ const o = zi(t.inner);
3010
3037
  return {
3011
3038
  ...o,
3012
3039
  kind: "scaled",
@@ -3014,61 +3041,61 @@ function Yi(t) {
3014
3041
  settleMs: n
3015
3042
  };
3016
3043
  }
3017
- return t instanceof vt || t instanceof Ye ? {
3018
- kind: t instanceof vt ? "spring" : "double-spring",
3019
- ...Fi(t.stiffness, t.damping),
3044
+ return t instanceof Pt || t instanceof Le ? {
3045
+ kind: t instanceof Pt ? "spring" : "double-spring",
3046
+ ...Yi(t.stiffness, t.damping),
3020
3047
  settleMs: n
3021
- } : t instanceof Pt ? { kind: "inertia", settleMs: n } : { kind: "custom", settleMs: n };
3048
+ } : t instanceof vt ? { kind: "inertia", settleMs: n } : { kind: "custom", settleMs: n };
3022
3049
  }
3023
- const or = tt({
3050
+ const sr = tt({
3024
3051
  stiffness: 246.74011002723395,
3025
3052
  damping: 31.41592653589793
3026
- }), ir = tt({
3053
+ }), ar = tt({
3027
3054
  stiffness: 438.6490844928604,
3028
3055
  damping: 35.604716740684324
3029
- }), rr = tt({
3056
+ }), cr = tt({
3030
3057
  stiffness: 194.9551486634935,
3031
3058
  damping: 19.54768762233649
3032
- }), sr = tt({
3059
+ }), lr = tt({
3033
3060
  stiffness: 130.5071656342394,
3034
3061
  damping: 22.84794657156213
3035
- }), ar = tt({
3062
+ }), dr = tt({
3036
3063
  stiffness: 986.9604401089358,
3037
3064
  damping: 62.83185307179586
3038
- }), cr = Ti({ duration: 0.2 });
3065
+ }), pr = Hi({ duration: 0.2 });
3039
3066
  export {
3040
- ur as Animation,
3041
- Ye as DoubleSpringIntegrator,
3042
- Pt as InertiaIntegrator,
3043
- x as IntegratorProvider,
3044
- Ne as LinearIntegrator,
3067
+ hr as Animation,
3068
+ Le as DoubleSpringIntegrator,
3069
+ vt as InertiaIntegrator,
3070
+ E as IntegratorProvider,
3071
+ We as LinearIntegrator,
3045
3072
  I as MultiAnimation,
3046
- Ee as ScaledIntegrator,
3047
- vt as SpringIntegrator,
3048
- w as WebAnimation,
3049
- cr as accelerate,
3050
- Vi as axis,
3051
- Xi as blind,
3052
- rr as bouncy,
3073
+ $e as ScaledIntegrator,
3074
+ Pt as SpringIntegrator,
3075
+ S as WebAnimation,
3076
+ pr as accelerate,
3077
+ Ui as axis,
3078
+ ji as blind,
3079
+ cr as bouncy,
3053
3080
  k as defineTransition,
3054
- Yi as describeIntegrator,
3055
- Bi as drill,
3056
- Ti as easeIn,
3057
- Ui as fade,
3058
- ji as film,
3059
- sr as gentle,
3060
- Zi as hero,
3061
- Gi as jaemin,
3062
- qi as rotate,
3063
- nr as scale,
3064
- Ki as scroll,
3065
- Ji as sheet,
3066
- Qi as slide,
3067
- or as smooth,
3068
- ir as snappy,
3081
+ zi as describeIntegrator,
3082
+ Zi as drill,
3083
+ Hi as easeIn,
3084
+ Gi as fade,
3085
+ qi as film,
3086
+ lr as gentle,
3087
+ Ki as hero,
3088
+ Ji as jaemin,
3089
+ Qi as rotate,
3090
+ rr as scale,
3091
+ tr as scroll,
3092
+ er as sheet,
3093
+ nr as slide,
3094
+ sr as smooth,
3095
+ ar as snappy,
3069
3096
  tt as spring,
3070
- tr as strip,
3071
- ar as swift,
3097
+ or as strip,
3098
+ dr as swift,
3072
3099
  D as withOverride,
3073
- er as zoom
3100
+ ir as zoom
3074
3101
  };