@ssgoi/core 4.4.0 → 5.0.0

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.
Files changed (38) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +383 -393
  3. package/dist/presets/index.cjs +1 -1
  4. package/dist/presets/index.d.ts +6 -0
  5. package/dist/presets/index.d.ts.map +1 -1
  6. package/dist/presets/index.js +31 -16
  7. package/dist/ssgoi-transition/create-context-manager.d.ts +6 -15
  8. package/dist/ssgoi-transition/create-context-manager.d.ts.map +1 -1
  9. package/dist/ssgoi-transition/create-navigation-direction-detector.d.ts +20 -0
  10. package/dist/ssgoi-transition/create-navigation-direction-detector.d.ts.map +1 -0
  11. package/dist/ssgoi-transition/create-ssgoi-transition-context.d.ts +1 -4
  12. package/dist/ssgoi-transition/create-ssgoi-transition-context.d.ts.map +1 -1
  13. package/dist/ssgoi-transition/navigation-detector-strategy.d.ts.map +1 -1
  14. package/dist/types.d.ts +41 -37
  15. package/dist/types.d.ts.map +1 -1
  16. package/dist/utils/index.d.ts +4 -0
  17. package/dist/utils/index.d.ts.map +1 -1
  18. package/dist/utils/is-android.d.ts +5 -0
  19. package/dist/utils/is-android.d.ts.map +1 -0
  20. package/dist/utils/is-desktop.d.ts +5 -0
  21. package/dist/utils/is-desktop.d.ts.map +1 -0
  22. package/dist/utils/is-ios.d.ts +6 -0
  23. package/dist/utils/is-ios.d.ts.map +1 -0
  24. package/dist/utils/match-platform.d.ts +8 -0
  25. package/dist/utils/match-platform.d.ts.map +1 -0
  26. package/dist/view-transitions/depth.d.ts.map +1 -1
  27. package/dist/view-transitions/drill.d.ts.map +1 -1
  28. package/dist/view-transitions/index.cjs +2 -2
  29. package/dist/view-transitions/index.js +17 -17
  30. package/dist/view-transitions/instagram.d.ts.map +1 -1
  31. package/dist/view-transitions/pinterest.d.ts.map +1 -1
  32. package/dist/view-transitions/sheet.d.ts.map +1 -1
  33. package/dist/view-transitions/slide.d.ts.map +1 -1
  34. package/dist/view-transitions/snap.d.ts.map +1 -1
  35. package/dist/view-transitions/swap.d.ts.map +1 -1
  36. package/package.json +10 -2
  37. package/dist/ssgoi-transition/create-swipe-detector.d.ts +0 -11
  38. package/dist/ssgoi-transition/create-swipe-detector.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -1,38 +1,38 @@
1
1
  var it = Object.defineProperty;
2
2
  var nt = (e, n, t) => n in e ? it(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var d = (e, n, t) => nt(e, typeof n != "symbol" ? n + "" : n, t);
3
+ var f = (e, n, t) => nt(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import { normalizeToMultiAnimation as M, normalizeSchedule as j } from "./types.js";
5
- import { isCssAnimation as Xt, isMultiAnimation as Yt, isSingleAnimation as Ht, isTickAnimation as jt } from "./types.js";
6
- import { S as B, I as rt, a as ot } from "./provider-Cu4NSF1Q.js";
5
+ import { isCssAnimation as Yt, isMultiAnimation as Kt, isSingleAnimation as $t, isTickAnimation as Jt } from "./types.js";
6
+ import { S as Y, I as rt, a as ot } from "./provider-Cu4NSF1Q.js";
7
7
  class st {
8
8
  constructor() {
9
- d(this, "listeners", /* @__PURE__ */ new Set());
10
- d(this, "rafId", null);
11
- d(this, "isRunning", !1);
9
+ f(this, "listeners", /* @__PURE__ */ new Set());
10
+ f(this, "rafId", null);
11
+ f(this, "isRunning", !1);
12
12
  // Timing
13
- d(this, "startTime", Date.now());
14
- d(this, "lastUpdate", this.startTime);
15
- d(this, "elapsed", 0);
13
+ f(this, "startTime", Date.now());
14
+ f(this, "lastUpdate", this.startTime);
15
+ f(this, "elapsed", 0);
16
16
  // Lag smoothing (mobile optimization)
17
- d(this, "lagThreshold", 500);
17
+ f(this, "lagThreshold", 500);
18
18
  // ms - detect tab switches, backgrounding
19
- d(this, "adjustedLag", 33);
19
+ f(this, "adjustedLag", 33);
20
20
  // ms - max time jump to prevent animation skip
21
- d(this, "maxDeltaTime", 33);
21
+ f(this, "maxDeltaTime", 33);
22
22
  // ms - clamp for physics stability (30fps minimum)
23
23
  // FPS throttling
24
- d(this, "gap", 1e3 / 240);
24
+ f(this, "gap", 1e3 / 240);
25
25
  // max 240fps
26
- d(this, "nextTime", this.gap);
27
- d(this, "tick", () => {
26
+ f(this, "nextTime", this.gap);
27
+ f(this, "tick", () => {
28
28
  const n = Date.now();
29
29
  let i = n - this.lastUpdate;
30
30
  i > this.lagThreshold || i < 0 ? (this.startTime += i - this.adjustedLag, i = this.adjustedLag) : i > this.maxDeltaTime && (i = this.maxDeltaTime), this.lastUpdate = n;
31
31
  const r = n - this.startTime, o = r - this.nextTime;
32
32
  if (o > 0) {
33
- const s = i / 1e3;
34
- this.elapsed = r / 1e3, this.nextTime += o + (o >= this.gap ? 4 : this.gap - o), this.listeners.forEach((c) => {
35
- c(s, this.elapsed);
33
+ const l = i / 1e3;
34
+ this.elapsed = r / 1e3, this.nextTime += o + (o >= this.gap ? 4 : this.gap - o), this.listeners.forEach((u) => {
35
+ u(l, this.elapsed);
36
36
  });
37
37
  }
38
38
  this.listeners.size > 0 ? this.rafId = requestAnimationFrame(this.tick) : (this.isRunning = !1, this.rafId = null);
@@ -68,7 +68,7 @@ class st {
68
68
  return this.elapsed;
69
69
  }
70
70
  }
71
- const N = new st();
71
+ const q = new st();
72
72
  function at(e) {
73
73
  const {
74
74
  integrator: n,
@@ -76,56 +76,56 @@ function at(e) {
76
76
  to: i,
77
77
  velocity: r = 0,
78
78
  onUpdate: o,
79
- onComplete: s,
80
- onStart: c
79
+ onComplete: l,
80
+ onStart: u
81
81
  } = e;
82
- let a = { position: t, velocity: r }, f = !0, y = 0, C = !1;
83
- const A = (E) => {
84
- if (f) {
85
- if (C || (C = !0, c == null || c()), a = n.step(a, i, E), n.isSettled(a, i)) {
86
- if (y += Math.min(E, 0.033), y >= B) {
87
- a = { position: i, velocity: 0 }, f = !1, o(a.position), N.unsubscribe(A), s();
82
+ let s = { position: t, velocity: r }, c = !0, d = 0, w = !1;
83
+ const b = (E) => {
84
+ if (c) {
85
+ if (w || (w = !0, u == null || u()), s = n.step(s, i, E), n.isSettled(s, i)) {
86
+ if (d += Math.min(E, 0.033), d >= Y) {
87
+ s = { position: i, velocity: 0 }, c = !1, o(s.position), q.unsubscribe(b), l();
88
88
  return;
89
89
  }
90
90
  } else
91
- y = 0;
92
- o(a.position);
91
+ d = 0;
92
+ o(s.position);
93
93
  }
94
94
  };
95
- return N.subscribe(A), {
95
+ return q.subscribe(b), {
96
96
  stop: () => {
97
- f && (f = !1, N.unsubscribe(A));
97
+ c && (c = !1, q.unsubscribe(b));
98
98
  },
99
- getPosition: () => a.position,
100
- getVelocity: () => a.velocity,
101
- isRunning: () => f
99
+ getPosition: () => s.position,
100
+ getVelocity: () => s.velocity,
101
+ isRunning: () => c
102
102
  };
103
103
  }
104
104
  const O = 1e3 / 60;
105
105
  function ct(e, n, t, i = 0) {
106
- let o = { position: n, velocity: i }, s = 0;
107
- const c = [];
108
- for (let a = 0; a < 600; a++) {
109
- const f = a * O;
110
- if (c.push({
111
- time: f,
106
+ let o = { position: n, velocity: i }, l = 0;
107
+ const u = [];
108
+ for (let s = 0; s < 600; s++) {
109
+ const c = s * O;
110
+ if (u.push({
111
+ time: c,
112
112
  position: o.position,
113
113
  velocity: o.velocity
114
114
  }), o = e.step(o, t, O / 1e3), e.isSettled(o, t)) {
115
- if (s += O / 1e3, s >= B) {
116
- c.push({
117
- time: (a + 1) * O,
115
+ if (l += O / 1e3, l >= Y) {
116
+ u.push({
117
+ time: (s + 1) * O,
118
118
  position: t,
119
119
  velocity: 0
120
120
  });
121
121
  break;
122
122
  }
123
123
  } else
124
- s = 0;
124
+ l = 0;
125
125
  }
126
- return c;
126
+ return u;
127
127
  }
128
- function W(e, n) {
128
+ function H(e, n) {
129
129
  if (e.length === 0)
130
130
  return { position: 0, velocity: 0 };
131
131
  const t = e[0], i = e[e.length - 1];
@@ -135,13 +135,13 @@ function W(e, n) {
135
135
  return { position: i.position, velocity: i.velocity };
136
136
  let r = 0, o = e.length - 1;
137
137
  for (; r < o - 1; ) {
138
- const f = Math.floor((r + o) / 2);
139
- e[f].time <= n ? r = f : o = f;
138
+ const c = Math.floor((r + o) / 2);
139
+ e[c].time <= n ? r = c : o = c;
140
140
  }
141
- const s = e[r], c = e[o], a = (n - s.time) / (c.time - s.time);
141
+ const l = e[r], u = e[o], s = (n - l.time) / (u.time - l.time);
142
142
  return {
143
- position: s.position + (c.position - s.position) * a,
144
- velocity: s.velocity + (c.velocity - s.velocity) * a
143
+ position: l.position + (u.position - l.position) * s,
144
+ velocity: l.velocity + (u.velocity - l.velocity) * s
145
145
  };
146
146
  }
147
147
  function lt(e, n) {
@@ -154,49 +154,49 @@ function ut(e) {
154
154
  from: i,
155
155
  to: r,
156
156
  velocity: o = 0,
157
- style: s,
158
- onComplete: c,
159
- onStart: a
160
- } = e, f = ct(n, i, r, o);
161
- if (f.length === 0)
162
- return a == null || a(), c(), {
157
+ style: l,
158
+ onComplete: u,
159
+ onStart: s
160
+ } = e, c = ct(n, i, r, o);
161
+ if (c.length === 0)
162
+ return s == null || s(), u(), {
163
163
  stop: () => {
164
164
  },
165
165
  getPosition: () => r,
166
166
  getVelocity: () => 0,
167
167
  isRunning: () => !1
168
168
  };
169
- const y = lt(f, s), C = f[f.length - 1], A = C.time, E = y[0];
169
+ const d = lt(c, l), w = c[c.length - 1], b = w.time, E = d[0];
170
170
  if (E)
171
- for (const l of Object.keys(E))
172
- t.style[l] = "";
173
- const g = t.animate(y, {
174
- duration: A,
171
+ for (const A of Object.keys(E))
172
+ t.style[A] = "";
173
+ const y = t.animate(d, {
174
+ duration: b,
175
175
  fill: "forwards",
176
176
  easing: "linear",
177
177
  composite: "replace"
178
178
  });
179
- let m = !0;
180
- const h = performance.now();
181
- return a == null || a(), g.onfinish = () => {
182
- m && (m = !1, c());
179
+ let p = !0;
180
+ const T = performance.now();
181
+ return s == null || s(), y.onfinish = () => {
182
+ p && (p = !1, u());
183
183
  }, {
184
184
  stop: () => {
185
- m && (m = !1, g.cancel());
185
+ p && (p = !1, y.cancel());
186
186
  },
187
187
  getPosition: () => {
188
- if (!m)
189
- return C.position;
190
- const l = performance.now() - h;
191
- return W(f, l).position;
188
+ if (!p)
189
+ return w.position;
190
+ const A = performance.now() - T;
191
+ return H(c, A).position;
192
192
  },
193
193
  getVelocity: () => {
194
- if (!m)
194
+ if (!p)
195
195
  return 0;
196
- const l = performance.now() - h;
197
- return W(f, l).velocity;
196
+ const A = performance.now() - T;
197
+ return H(c, A).velocity;
198
198
  },
199
- isRunning: () => m
199
+ isRunning: () => p
200
200
  };
201
201
  }
202
202
  function ft(e) {
@@ -209,7 +209,7 @@ function ft(e) {
209
209
  isRunning: () => !1
210
210
  };
211
211
  }
212
- class mt {
212
+ class dt {
213
213
  /**
214
214
  * Get bound runner based on animation mode
215
215
  *
@@ -231,19 +231,19 @@ class mt {
231
231
  }) : ft;
232
232
  }
233
233
  }
234
- class J {
234
+ class K {
235
235
  }
236
- const dt = { stiffness: 300, damping: 30 };
237
- class G extends J {
236
+ const mt = { stiffness: 300, damping: 30 };
237
+ class G extends K {
238
238
  constructor(t) {
239
239
  super();
240
- d(this, "options");
241
- d(this, "runner");
242
- d(this, "controls", null);
243
- d(this, "isAnimating", !1);
244
- d(this, "currentValue");
245
- d(this, "currentVelocity", 0);
246
- d(this, "updateFn");
240
+ f(this, "options");
241
+ f(this, "runner");
242
+ f(this, "controls", null);
243
+ f(this, "isAnimating", !1);
244
+ f(this, "currentValue");
245
+ f(this, "currentVelocity", 0);
246
+ f(this, "updateFn");
247
247
  if (this.options = {
248
248
  from: t.from ?? 0,
249
249
  to: t.to ?? 1,
@@ -259,14 +259,14 @@ class G extends J {
259
259
  else if (t.css) {
260
260
  const { element: i, style: r } = t.css;
261
261
  this.updateFn = (o) => {
262
- const s = r(o);
263
- for (const [c, a] of Object.entries(s))
264
- i.style[c] = typeof a == "number" ? String(a) : a;
262
+ const l = r(o);
263
+ for (const [u, s] of Object.entries(l))
264
+ i.style[u] = typeof s == "number" ? String(s) : s;
265
265
  };
266
266
  } else
267
267
  this.updateFn = () => {
268
268
  };
269
- this.runner = mt.from({
269
+ this.runner = dt.from({
270
270
  tick: t.tick,
271
271
  css: t.css
272
272
  });
@@ -288,7 +288,7 @@ class G extends J {
288
288
  return t != null && t.integrator ? t.integrator() : t != null && t.spring || t != null && t.inertia ? rt.from({
289
289
  spring: t.spring,
290
290
  inertia: t.inertia
291
- }) : new ot(dt);
291
+ }) : new ot(mt);
292
292
  }
293
293
  runAnimation(t) {
294
294
  this.isAnimating = !0, this.controls = this.runner({
@@ -344,20 +344,20 @@ class G extends J {
344
344
  this.options = { ...this.options, ...t };
345
345
  }
346
346
  }
347
- class D extends J {
347
+ class L extends K {
348
348
  constructor(t) {
349
349
  super();
350
- d(this, "config");
351
- d(this, "animators", /* @__PURE__ */ new Map());
352
- d(this, "itemOrder", []);
353
- d(this, "completedCount", 0);
354
- d(this, "completedAnimators", /* @__PURE__ */ new Set());
355
- d(this, "direction", "forward");
356
- d(this, "idCounter", 0);
357
- d(this, "rafId", null);
358
- d(this, "from");
359
- d(this, "to");
360
- d(this, "initialState");
350
+ f(this, "config");
351
+ f(this, "animators", /* @__PURE__ */ new Map());
352
+ f(this, "itemOrder", []);
353
+ f(this, "completedCount", 0);
354
+ f(this, "completedAnimators", /* @__PURE__ */ new Set());
355
+ f(this, "direction", "forward");
356
+ f(this, "idCounter", 0);
357
+ f(this, "rafId", null);
358
+ f(this, "from");
359
+ f(this, "to");
360
+ f(this, "initialState");
361
361
  this.config = t.config, this.from = t.from, this.to = t.to, this.initialState = t.state ?? {
362
362
  position: t.from,
363
363
  velocity: 0
@@ -402,9 +402,9 @@ class D extends J {
402
402
  return this.direction === "forward" ? this.itemOrder : [...this.itemOrder].reverse();
403
403
  }
404
404
  onAnimatorComplete(t) {
405
- var r, o, s, c, a, f;
405
+ var r, o, l, u, s, c;
406
406
  const i = this.animators.get(t);
407
- !i || this.completedAnimators.has(t) || (this.completedAnimators.add(t), this.completedCount++, (o = (r = i.item).onComplete) == null || o.call(r), (c = (s = this.config).onProgress) == null || c.call(s, this.completedCount, this.config.items.length), this.completedCount === this.config.items.length && (this.stopScheduler(), (f = (a = this.config).onEnd) == null || f.call(a)));
407
+ !i || this.completedAnimators.has(t) || (this.completedAnimators.add(t), this.completedCount++, (o = (r = i.item).onComplete) == null || o.call(r), (u = (l = this.config).onProgress) == null || u.call(l, this.completedCount, this.config.items.length), this.completedCount === this.config.items.length && (this.stopScheduler(), (c = (s = this.config).onEnd) == null || c.call(s)));
408
408
  }
409
409
  /**
410
410
  * Check and start springs based on previous spring's progress
@@ -419,10 +419,10 @@ class D extends J {
419
419
  this.startAnimator(r);
420
420
  continue;
421
421
  }
422
- const s = t[i - 1], c = this.animators.get(s);
423
- if (!c || !c.started) continue;
424
- const a = this.getAnimatorProgress(c), f = o.item.normalizedOffset;
425
- a >= f && this.startAnimator(r);
422
+ const l = t[i - 1], u = this.animators.get(l);
423
+ if (!u || !u.started) continue;
424
+ const s = this.getAnimatorProgress(u), c = o.item.normalizedOffset;
425
+ s >= c && this.startAnimator(r);
426
426
  }
427
427
  }
428
428
  startAnimator(t) {
@@ -537,10 +537,10 @@ class D extends J {
537
537
  * Uses first animator's state for initialization
538
538
  */
539
539
  static fromState(t, i) {
540
- return new D({ ...i, state: t });
540
+ return new L({ ...i, state: t });
541
541
  }
542
542
  }
543
- const Q = Symbol.for("TRANSITION_STRATEGY"), ht = (e) => ({
543
+ const $ = Symbol.for("TRANSITION_STRATEGY"), ht = (e) => ({
544
544
  runIn: async (n) => {
545
545
  const { currentAnimation: t } = e;
546
546
  if (t && t.direction === "out") {
@@ -644,25 +644,25 @@ const Q = Symbol.for("TRANSITION_STRATEGY"), ht = (e) => ({
644
644
  to: 0,
645
645
  direction: "forward"
646
646
  }
647
- }), Z = "data-ssgoi-scope", tt = "data-ssgoi-scope-ready";
648
- function Mt() {
647
+ }), J = "data-ssgoi-scope", Q = "data-ssgoi-scope-ready";
648
+ function qt() {
649
649
  return (e) => {
650
650
  if (e)
651
- return e.setAttribute(Z, ""), queueMicrotask(() => {
651
+ return e.setAttribute(J, ""), queueMicrotask(() => {
652
652
  queueMicrotask(() => {
653
- e.setAttribute(tt, "true");
653
+ e.setAttribute(Q, "true");
654
654
  });
655
655
  }), () => {
656
656
  };
657
657
  };
658
658
  }
659
- function pt(e) {
660
- return e.hasAttribute(tt);
659
+ function yt(e) {
660
+ return e.hasAttribute(Q);
661
661
  }
662
- function wt(e) {
663
- return e.closest(`[${Z}]`);
662
+ function pt(e) {
663
+ return e.closest(`[${J}]`);
664
664
  }
665
- const yt = (e) => {
665
+ const wt = (e) => {
666
666
  let n = e.parentElement;
667
667
  for (; n && n !== document.body; ) {
668
668
  const t = window.getComputedStyle(n), i = t.overflow + t.overflowY + t.overflowX;
@@ -681,7 +681,7 @@ const yt = (e) => {
681
681
  }
682
682
  return document.body;
683
683
  };
684
- function $(e) {
684
+ function X(e) {
685
685
  return new Promise((n) => {
686
686
  requestAnimationFrame(() => {
687
687
  requestAnimationFrame(() => {
@@ -690,107 +690,120 @@ function $(e) {
690
690
  });
691
691
  });
692
692
  }
693
- function St(e, n) {
693
+ function Z() {
694
+ return typeof window > "u" || typeof navigator > "u" ? !1 : /iPad|iPhone|iPod/.test(navigator.userAgent) || // iPad on iOS 13+ reports as MacIntel but has touch
695
+ navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
696
+ }
697
+ function tt() {
698
+ return typeof window > "u" || typeof navigator > "u" ? !1 : /Android/i.test(navigator.userAgent);
699
+ }
700
+ function St() {
701
+ return typeof window > "u" || typeof navigator > "u" ? !1 : !Z() && !tt();
702
+ }
703
+ function At(e) {
704
+ return e.length === 0 ? !1 : !!(e.includes("all") || e.includes("ios") && Z() || e.includes("android") && tt() || e.includes("desktop") && St());
705
+ }
706
+ function Ct(e, n) {
694
707
  var E;
695
708
  let t = null, i = null, r = null, o = null;
696
- const s = {
709
+ const l = {
697
710
  get currentAnimation() {
698
711
  return t;
699
712
  }
700
- }, c = ((E = n == null ? void 0 : n.strategy) == null ? void 0 : E.call(n, s)) || ht(s), a = async (g) => {
701
- var S, b;
713
+ }, u = ((E = n == null ? void 0 : n.strategy) == null ? void 0 : E.call(n, l)) || ht(l), s = async (y) => {
714
+ var m, g;
702
715
  i && (i.remove(), i = null);
703
- const m = e(), h = m.in && m.in(g), l = !(n != null && n.strategy) && m.out ? m.out(g) : void 0;
704
- if (!h)
716
+ const p = e(), T = p.in && p.in(y), A = !(n != null && n.strategy) && p.out ? p.out(y) : void 0;
717
+ if (!T)
705
718
  return;
706
- const T = {
707
- in: M(h),
708
- out: l ? M(l) : void 0
709
- }, p = await c.runIn(T);
710
- if (!p.config) {
719
+ const P = {
720
+ in: M(T),
721
+ out: A ? M(A) : void 0
722
+ }, v = await u.runIn(P);
723
+ if (!v.config) {
711
724
  t && (t.direction = "in");
712
725
  return;
713
726
  }
714
- const u = p.config;
715
- (S = u.prepare) == null || S.call(u);
716
- const v = j(
727
+ const h = v.config;
728
+ (m = h.prepare) == null || m.call(h);
729
+ const C = j(
717
730
  {
718
- ...u,
731
+ ...h,
719
732
  onEnd: () => {
720
- var k;
721
- t = null, (k = u.onEnd) == null || k.call(u);
733
+ var S;
734
+ t = null, (S = h.onEnd) == null || S.call(h);
722
735
  }
723
736
  },
724
- g
737
+ y
725
738
  );
726
- u.wait && await u.wait();
727
- const w = D.fromState(p.state, {
728
- config: v,
729
- from: p.from,
730
- to: p.to
739
+ h.wait && await h.wait();
740
+ const a = L.fromState(v.state, {
741
+ config: C,
742
+ from: v.from,
743
+ to: v.to
731
744
  });
732
- t = { controller: w, direction: "in" }, (b = u.onReady) == null || b.call(u), await $(), p.direction === "forward" ? w.forward() : w.backward();
733
- }, f = async (g) => {
734
- var b, k;
735
- i = g;
736
- const m = e(), h = !(n != null && n.strategy) && m.in ? m.in(g) : void 0, l = m.out && m.out(g);
737
- if (!l)
745
+ t = { controller: a, direction: "in" }, (g = h.onReady) == null || g.call(h), await X(), v.direction === "forward" ? a.forward() : a.backward();
746
+ }, c = async (y) => {
747
+ var g, S;
748
+ i = y;
749
+ const p = e(), T = !(n != null && n.strategy) && p.in ? p.in(y) : void 0, A = p.out && p.out(y);
750
+ if (!A)
738
751
  return;
739
- const T = {
740
- in: h ? M(h) : void 0,
741
- out: M(l)
742
- }, p = await c.runOut(T);
743
- if (!p.config) {
752
+ const P = {
753
+ in: T ? M(T) : void 0,
754
+ out: M(A)
755
+ }, v = await u.runOut(P);
756
+ if (!v.config) {
744
757
  t && (t.direction = "out"), i && (i.remove(), i = null);
745
758
  return;
746
759
  }
747
- const u = p.config;
748
- S(), (b = u.prepare) == null || b.call(u);
749
- const v = j(
760
+ const h = v.config;
761
+ m(), (g = h.prepare) == null || g.call(h);
762
+ const C = j(
750
763
  {
751
- ...u,
764
+ ...h,
752
765
  onEnd: () => {
753
- var z, V;
754
- (z = u.onEnd) == null || z.call(u), i && (i.remove(), i = null), t = null, (V = n == null ? void 0 : n.onCleanupEnd) == null || V.call(n);
766
+ var R, V;
767
+ (R = h.onEnd) == null || R.call(h), i && (i.remove(), i = null), t = null, (V = n == null ? void 0 : n.onCleanupEnd) == null || V.call(n);
755
768
  }
756
769
  },
757
- g
770
+ y
758
771
  );
759
- u.wait && await u.wait();
760
- const w = D.fromState(p.state, {
761
- config: v,
762
- from: p.from,
763
- to: p.to
772
+ h.wait && await h.wait();
773
+ const a = L.fromState(v.state, {
774
+ config: C,
775
+ from: v.from,
776
+ to: v.to
764
777
  });
765
- t = { controller: w, direction: "out" }, (k = u.onReady) == null || k.call(u), await $(), p.direction === "forward" ? w.forward() : w.backward();
766
- function S() {
778
+ t = { controller: a, direction: "out" }, (S = h.onReady) == null || S.call(h), await X(), v.direction === "forward" ? a.forward() : a.backward();
779
+ function m() {
767
780
  !r || !i || (o && r.contains(o) ? r.insertBefore(i, o) : r.appendChild(i));
768
781
  }
769
782
  };
770
- let y = null, C = !1;
771
- const A = (g) => () => {
772
- if (C) return;
773
- C = !0;
774
- const m = g.cloneNode(!0);
775
- y ? queueMicrotask(() => {
776
- document.contains(y) && f(m);
777
- }) : f(m);
783
+ let d = null, w = !1;
784
+ const b = (y) => () => {
785
+ if (w) return;
786
+ w = !0;
787
+ const p = y.cloneNode(!0);
788
+ d ? queueMicrotask(() => {
789
+ document.contains(d) && c(p);
790
+ }) : c(p);
778
791
  };
779
- return (g) => {
780
- if (g)
792
+ return (y) => {
793
+ if (y)
781
794
  return requestAnimationFrame(() => {
782
- r = g.parentElement, o = g.nextElementSibling;
783
- }), C = !1, (n == null ? void 0 : n.scope) === "local" ? queueMicrotask(() => {
784
- y = wt(g), !(y && !pt(y)) && a(g);
785
- }) : a(g), A(g);
795
+ r = y.parentElement, o = y.nextElementSibling;
796
+ }), w = !1, (n == null ? void 0 : n.scope) === "local" ? queueMicrotask(() => {
797
+ d = pt(y), !(d && !yt(d)) && s(y);
798
+ }) : s(y), b(y);
786
799
  };
787
800
  }
788
- const P = /* @__PURE__ */ new Map();
789
- let R = null, U = !1;
801
+ const I = /* @__PURE__ */ new Map();
802
+ let k = null, N = !1;
790
803
  function et(e) {
791
- if (e instanceof HTMLElement && P.has(e)) {
792
- const t = P.get(e);
793
- P.delete(e), queueMicrotask(() => {
804
+ if (e instanceof HTMLElement && I.has(e)) {
805
+ const t = I.get(e);
806
+ I.delete(e), queueMicrotask(() => {
794
807
  t();
795
808
  });
796
809
  }
@@ -800,8 +813,8 @@ function et(e) {
800
813
  i && et(i);
801
814
  }
802
815
  }
803
- function Ct() {
804
- U || typeof document > "u" || (U = !0, R = new MutationObserver((e) => {
816
+ function bt() {
817
+ N || typeof document > "u" || (N = !0, k = new MutationObserver((e) => {
805
818
  for (const n of e) {
806
819
  const t = n.removedNodes;
807
820
  for (let i = 0; i < t.length; i++) {
@@ -809,13 +822,13 @@ function Ct() {
809
822
  r && et(r);
810
823
  }
811
824
  }
812
- }), document.body ? R.observe(document.body, {
825
+ }), document.body ? k.observe(document.body, {
813
826
  childList: !0,
814
827
  subtree: !0
815
828
  }) : document.addEventListener(
816
829
  "DOMContentLoaded",
817
830
  () => {
818
- R == null || R.observe(document.body, {
831
+ k == null || k.observe(document.body, {
819
832
  childList: !0,
820
833
  subtree: !0
821
834
  });
@@ -823,47 +836,47 @@ function Ct() {
823
836
  { once: !0 }
824
837
  ));
825
838
  }
826
- function At(e, n) {
827
- Ct(), P.set(e, n);
839
+ function Et(e, n) {
840
+ bt(), I.set(e, n);
828
841
  }
829
- function Ot(e) {
830
- return P.has(e);
842
+ function Nt(e) {
843
+ return I.has(e);
831
844
  }
832
- function Lt() {
833
- return P.size;
845
+ function Bt() {
846
+ return I.size;
834
847
  }
835
- function Dt(e) {
836
- const n = P.get(e);
837
- return n ? (P.delete(e), n(), !0) : !1;
848
+ function Ut(e) {
849
+ const n = I.get(e);
850
+ return n ? (I.delete(e), n(), !0) : !1;
838
851
  }
839
- function zt() {
840
- P.clear(), R == null || R.disconnect(), R = null, U = !1;
852
+ function Wt() {
853
+ I.clear(), k == null || k.disconnect(), k = null, N = !1;
841
854
  }
842
- const L = /* @__PURE__ */ new Map(), X = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Map();
855
+ const z = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
843
856
  function Tt(e, n, t) {
844
- L.set(e, n);
845
- let i = X.get(e);
857
+ z.set(e, n);
858
+ let i = B.get(e);
846
859
  if (i)
847
860
  return i;
848
861
  const r = n;
849
- return i = St(
862
+ return i = Ct(
850
863
  () => {
851
- const o = L.get(e);
864
+ const o = z.get(e);
852
865
  return o || (console.warn(`Transition "${String(e)}" not found`), {});
853
866
  },
854
867
  {
855
868
  strategy: t == null ? void 0 : t.strategy,
856
869
  scope: t == null ? void 0 : t.scope,
857
870
  onCleanupEnd: () => {
858
- L.get(e) === r && Et(e);
871
+ z.get(e) === r && kt(e);
859
872
  }
860
873
  }
861
- ), X.set(e, i), i;
874
+ ), B.set(e, i), i;
862
875
  }
863
- function Et(e) {
864
- L.delete(e), X.delete(e), Y.delete(e);
876
+ function kt(e) {
877
+ z.delete(e), B.delete(e), U.delete(e);
865
878
  }
866
- function qt(e, n = "manual") {
879
+ function jt(e, n = "manual") {
867
880
  const t = Tt(
868
881
  e.key,
869
882
  {
@@ -871,21 +884,21 @@ function qt(e, n = "manual") {
871
884
  out: e.out
872
885
  },
873
886
  {
874
- strategy: e[Q],
887
+ strategy: e[$],
875
888
  scope: e.scope
876
889
  }
877
890
  );
878
891
  if (n === "manual")
879
892
  return t;
880
- let i = Y.get(e.key);
893
+ let i = U.get(e.key);
881
894
  return i || (i = (r) => {
882
895
  if (r) {
883
896
  const o = t(r);
884
- o && At(r, o);
897
+ o && Et(r, o);
885
898
  }
886
- }, Y.set(e.key, i), i);
899
+ }, U.set(e.key, i), i);
887
900
  }
888
- function bt(e) {
901
+ function It(e) {
889
902
  const n = e.filter((t) => t.symmetric).map((t) => ({
890
903
  from: t.to,
891
904
  to: t.from,
@@ -893,38 +906,31 @@ function bt(e) {
893
906
  }));
894
907
  return [...e, ...n];
895
908
  }
896
- function Rt(e) {
897
- let n = !1, t = 0, i = 0, r = !1;
898
- const o = 50, s = (g) => {
899
- if (!e) return;
900
- const m = g.touches[0];
901
- m && (r = m.clientX < o, r && (t = m.clientX, i = m.clientY));
902
- }, c = (g) => {
903
- if (!e || !r) return;
904
- const m = g.touches[0];
905
- if (!m) return;
906
- const h = m.clientX - t, l = m.clientY - i;
907
- h > window.outerWidth / 2 - 5 && Math.abs(h) > Math.abs(l) ? n = !0 : n = !1;
908
- }, a = () => {
909
- e && (r = !1, t = 0, i = 0);
910
- }, f = () => n, y = () => {
911
- typeof window > "u" || e && (window.addEventListener("touchstart", s, { passive: !0 }), window.addEventListener("touchmove", c, { passive: !0 }), window.addEventListener("touchend", a, { passive: !0 }));
912
- }, C = () => {
913
- typeof window > "u" || (window.removeEventListener("touchstart", s), window.removeEventListener("touchmove", c), window.removeEventListener("touchend", a));
909
+ function Pt() {
910
+ var s;
911
+ let e = typeof history < "u" ? ((s = history.state) == null ? void 0 : s.ssgoiIndex) ?? 0 : 0, n = "push", t = !1, i = !1;
912
+ const r = (c) => {
913
+ var w;
914
+ t = !0;
915
+ const d = ((w = c.state) == null ? void 0 : w.ssgoiIndex) ?? 0;
916
+ d < e ? (n = "back", i = !0) : d > e && (n = "forward"), e = d;
914
917
  };
915
- let A = 0;
916
918
  return {
917
- initialize: y,
918
- cleanup: C,
919
- isSwipePending: f,
920
- resetSwipeDetection: () => {
921
- requestAnimationFrame(() => {
922
- A++, A > 1 && (A = 0, n = !1);
923
- });
924
- }
919
+ initialize: () => {
920
+ var c;
921
+ typeof window > "u" || (window.addEventListener("popstate", r), ((c = history.state) == null ? void 0 : c.ssgoiIndex) == null ? history.replaceState({ ...history.state, ssgoiIndex: e }, "") : e = history.state.ssgoiIndex);
922
+ },
923
+ onPageEnter: () => {
924
+ t || (e++, history.replaceState({ ...history.state, ssgoiIndex: e }, ""));
925
+ const c = n;
926
+ return n = "push", t = !1, setTimeout(() => {
927
+ i = !1;
928
+ }, 0), c;
929
+ },
930
+ isBack: () => i || n === "back"
925
931
  };
926
932
  }
927
- function I(e, n) {
933
+ function x(e, n) {
928
934
  if (n === "*")
929
935
  return !0;
930
936
  if (n.endsWith("/*")) {
@@ -933,76 +939,79 @@ function I(e, n) {
933
939
  }
934
940
  return e === n;
935
941
  }
936
- function K(e, n, t) {
942
+ function Rt(e, n, t) {
937
943
  for (const i of t)
938
- if (I(e, i.from) && I(n, i.to))
944
+ if (x(e, i.from) && x(n, i.to))
939
945
  return i.transition;
940
946
  for (const i of t)
941
- if ((i.from === "*" || I(e, i.from)) && (i.to === "*" || I(n, i.to)))
947
+ if ((i.from === "*" || x(e, i.from)) && (i.to === "*" || x(n, i.to)))
942
948
  return i.transition;
943
949
  return null;
944
950
  }
945
- function Pt(e = {}) {
946
- const { preserveScroll: n = !1, resetPatterns: t = [] } = e, i = (h) => t.some((l) => I(h, l));
947
- let r = null, o = null;
948
- const s = /* @__PURE__ */ new Map();
949
- let c = null, a = !1;
950
- const f = () => {
951
- r && c && !a && s.set(c, {
952
- x: r.scrollLeft,
953
- y: r.scrollTop
951
+ const xt = 768, Vt = 10, Ft = 10;
952
+ function Mt(e = {}) {
953
+ const { preserveScroll: n = (a) => a } = e, t = typeof n == "function" ? n : () => n;
954
+ let i = null, r = !1, o = !1;
955
+ const l = () => {
956
+ const a = (i == null ? void 0 : i.clientWidth) ?? 0, m = a > 0 ? a : typeof window < "u" ? window.innerWidth : 0;
957
+ return m > 0 && m < xt;
958
+ }, u = () => (o || (r = l(), o = !0), r), s = (a) => {
959
+ const m = t(u());
960
+ return m === !1 ? !1 : m === !0 ? !0 : !m.exclude.some((g) => x(a, g));
961
+ };
962
+ let c = null;
963
+ const d = /* @__PURE__ */ new Map();
964
+ let w = null, b = !1, E = 0;
965
+ const y = () => {
966
+ i && w && !b && d.set(w, {
967
+ x: i.scrollLeft,
968
+ y: i.scrollTop
954
969
  });
955
- }, y = (h) => {
956
- if (!r || !n) return;
957
- if (i(h)) {
958
- r.scrollTo({ top: 0, left: 0 });
959
- return;
960
- }
961
- const l = s.get(h);
962
- if (!l) {
963
- r.scrollTo({ top: 0, left: 0 });
964
- return;
965
- }
966
- const T = 10;
967
- let p = 0;
968
- const u = () => {
969
- if (!r) return;
970
- r.scrollTo({
971
- top: l.y,
972
- left: l.x
973
- });
974
- const v = r.scrollTop, w = r.scrollLeft;
975
- !(Math.abs(v - l.y) < 1 && Math.abs(w - l.x) < 1) && p < T && (p++, requestAnimationFrame(u));
970
+ }, p = (a) => {
971
+ if (!i) return;
972
+ const m = s(a) && d.has(a) ? d.get(a) : { x: 0, y: 0 };
973
+ let g = 0;
974
+ const S = () => {
975
+ if (!i) return;
976
+ i.scrollTo({
977
+ top: m.y,
978
+ left: m.x
979
+ }), !(Math.abs(i.scrollTop - m.y) < 1 && Math.abs(i.scrollLeft - m.x) < 1) && g < Vt && (g++, requestAnimationFrame(S));
976
980
  };
977
- requestAnimationFrame(u);
981
+ requestAnimationFrame(S);
978
982
  };
979
983
  return {
980
- initializeContext: (h, l) => {
981
- a = !0, o = h, r || (r = yt(h), (r === document.documentElement ? window : r).addEventListener("scroll", f, {
984
+ initializeContext: (a, m) => {
985
+ b = !0;
986
+ const g = ++E;
987
+ c = a, i || (i = wt(a), r = l(), o = !0, typeof ResizeObserver < "u" && new ResizeObserver(() => {
988
+ r = l();
989
+ }).observe(i), (i === document.documentElement ? window : i).addEventListener("scroll", y, {
982
990
  passive: !0
983
- })), c = l, y(l);
984
- const T = 10;
985
- let p = 0;
986
- const u = () => {
987
- p++, p >= T ? a = !1 : requestAnimationFrame(u);
991
+ })), w = m, p(m);
992
+ let S = 0;
993
+ const R = () => {
994
+ g === E && (S++, S >= Ft ? b = !1 : requestAnimationFrame(R));
988
995
  };
989
- requestAnimationFrame(u);
996
+ requestAnimationFrame(R);
990
997
  },
991
- calculateScrollOffset: (h, l) => {
992
- const T = h && s.has(h) ? s.get(h) : { x: 0, y: 0 }, p = l && i(l);
993
- p && s.set(l, { x: 0, y: 0 });
994
- const u = p ? { x: 0, y: 0 } : l && s.has(l) ? s.get(l) : { x: 0, y: 0 };
998
+ calculateScrollOffset: (a, m) => {
999
+ const g = a && d.has(a) ? d.get(a) : { x: 0, y: 0 }, S = m && s(m) && d.has(m) ? d.get(m) : { x: 0, y: 0 };
995
1000
  return {
996
- x: -u.x + T.x,
997
- y: -u.y + T.y
1001
+ x: -S.x + g.x,
1002
+ y: -S.y + g.y
998
1003
  };
999
1004
  },
1000
- getScrollContainer: () => r,
1001
- getPositionedParentElement: () => o ? vt(o) : document.body,
1002
- getScrollPosition: (h) => h && s.has(h) ? s.get(h) : { x: 0, y: 0 }
1005
+ evictScrollPosition: (a) => {
1006
+ d.delete(a);
1007
+ },
1008
+ shouldPreserve: s,
1009
+ getScrollContainer: () => i,
1010
+ getPositionedParentElement: () => c ? vt(c) : document.body,
1011
+ getScrollPosition: (a) => a && d.has(a) ? d.get(a) : { x: 0, y: 0 }
1003
1012
  };
1004
1013
  }
1005
- function kt() {
1014
+ function Ot() {
1006
1015
  let e = null;
1007
1016
  function n() {
1008
1017
  if (e != null && e.from && (e != null && e.to) && (e != null && e.outResolve) && (e != null && e.inResolve)) {
@@ -1021,7 +1030,7 @@ function kt() {
1021
1030
  }
1022
1031
  };
1023
1032
  }
1024
- function Vt() {
1033
+ function zt() {
1025
1034
  let e = null;
1026
1035
  function n() {
1027
1036
  var i, r;
@@ -1029,6 +1038,10 @@ function Vt() {
1029
1038
  }
1030
1039
  function t() {
1031
1040
  if (e != null && e.from && (e != null && e.to) && (e != null && e.outResolve) && (e != null && e.inResolve)) {
1041
+ if (e.from === e.to) {
1042
+ n();
1043
+ return;
1044
+ }
1032
1045
  const i = { from: e.from, to: e.to };
1033
1046
  e.outResolve(i), e.inResolve(i), e = null;
1034
1047
  }
@@ -1044,124 +1057,101 @@ function Vt() {
1044
1057
  }
1045
1058
  };
1046
1059
  }
1047
- function _t(e, n) {
1060
+ function Ht(e, n) {
1048
1061
  const {
1049
1062
  transitions: t = [],
1050
1063
  defaultTransition: i,
1051
- middleware: r = (v, w) => ({ from: v, to: w }),
1064
+ middleware: r = (C, a) => ({ from: C, to: a }),
1052
1065
  // Identity function as default
1053
- skipOnIosSwipe: o = !0,
1054
- // Default to true - skip animations on iOS swipe
1055
- experimentalPreserveScroll: s = !1,
1056
- // Default to false - manual scroll management
1057
- scrollResetPatterns: c = []
1058
- // Default to empty array - no routes reset scroll
1059
- } = e, { outFirst: a = !0, createNavigationDetector: f } = n || {}, y = (f == null ? void 0 : f()) ?? (a ? kt() : Vt()), C = bt(t), {
1060
- initializeContext: A,
1061
- calculateScrollOffset: E,
1062
- getScrollContainer: g,
1063
- getPositionedParentElement: m,
1064
- getScrollPosition: h
1065
- } = Pt({
1066
- preserveScroll: s,
1067
- resetPatterns: c
1068
- }), l = Rt(o);
1069
- l.initialize();
1070
- const T = async (v, w) => {
1071
- if (l.isSwipePending())
1072
- return l.resetSwipeDetection(), w === "in" ? async (F) => ({
1073
- onReady: () => {
1074
- F.style.visibility = "visible";
1075
- }
1076
- }) : () => ({});
1077
- y.trigger(v, w);
1078
- const S = await y.get(w);
1079
- if (!S) return () => ({});
1080
- const { from: b, to: k } = r(
1081
- S.from,
1082
- S.to
1083
- ), V = K(
1084
- b,
1085
- k,
1086
- C
1066
+ skipAnimationOnBack: o = ["ios"],
1067
+ preserveScroll: l = (C) => C
1068
+ } = e, u = At(o), { outFirst: s = !0 } = n || {}, c = s ? Ot() : zt(), d = It(t), {
1069
+ initializeContext: w,
1070
+ calculateScrollOffset: b,
1071
+ evictScrollPosition: E,
1072
+ shouldPreserve: y,
1073
+ getScrollContainer: p,
1074
+ getPositionedParentElement: T,
1075
+ getScrollPosition: A
1076
+ } = Mt({
1077
+ preserveScroll: l
1078
+ }), P = Pt();
1079
+ u && P.initialize();
1080
+ const v = async (C, a) => {
1081
+ const m = u && P.isBack();
1082
+ c.trigger(C, a);
1083
+ const g = await c.get(a);
1084
+ if (!g) return () => ({});
1085
+ if (a === "in" && u && P.onPageEnter(), m)
1086
+ return () => ({});
1087
+ const { from: S, to: R } = r(
1088
+ g.from,
1089
+ g.to
1090
+ ), F = Rt(
1091
+ S,
1092
+ R,
1093
+ d
1087
1094
  ) || i;
1088
- if (!V) return () => ({});
1089
- const H = E(S.from, S.to);
1090
- if (w === "out") {
1091
- const F = {
1092
- scrollOffset: H,
1093
- scroll: h(S.from),
1095
+ if (!F) return () => ({});
1096
+ const W = b(g.from, g.to);
1097
+ if (a === "out") {
1098
+ const D = {
1099
+ scrollOffset: W,
1100
+ scroll: A(g.from),
1094
1101
  get scrollingElement() {
1095
- return g() || document.documentElement;
1102
+ return p() || document.documentElement;
1096
1103
  },
1097
1104
  get positionedParent() {
1098
- return m();
1105
+ return T();
1099
1106
  }
1100
1107
  };
1101
- return (x) => V.out(x, F);
1108
+ return g.from && !y(g.from) && E(g.from), (_) => F.out(_, D);
1102
1109
  } else {
1103
- const F = {
1104
- scrollOffset: H,
1110
+ const D = {
1111
+ scrollOffset: W,
1105
1112
  get scroll() {
1106
- return h(S.to);
1113
+ return A(g.to);
1107
1114
  },
1108
1115
  get scrollingElement() {
1109
- return g() || document.documentElement;
1116
+ return p() || document.documentElement;
1110
1117
  },
1111
1118
  get positionedParent() {
1112
- return m();
1119
+ return T();
1113
1120
  }
1114
1121
  };
1115
- return async (x) => {
1116
- const q = await Promise.resolve(V.in(x, F)), _ = q.onReady;
1117
- return q.onReady = () => {
1118
- x.style.visibility = "visible", _ == null || _();
1119
- }, q;
1120
- };
1122
+ return (_) => F.in(_, D);
1121
1123
  }
1122
- }, p = (v) => ({
1123
- key: v,
1124
- in: async (w) => (A(w, v), (await T(v, "in"))(w)),
1125
- out: async (w) => (await T(v, "out"))(w),
1126
- // Add page transition strategy for page-level transitions
1127
- [Q]: gt
1128
- }), u = (v, w) => {
1129
- if (l.isSwipePending())
1130
- return !1;
1131
- const { from: S, to: b } = r(v, w);
1132
- return !!(K(
1133
- S,
1134
- b,
1135
- C
1136
- ) || i);
1137
1124
  };
1138
- return f ? {
1139
- getTransition: p,
1140
- hasMatchingTransition: u
1141
- } : p;
1125
+ return (C) => ({
1126
+ key: C,
1127
+ in: async (a) => (w(a, C), (await v(C, "in"))(a)),
1128
+ out: async (a) => (await v(C, "out"))(a),
1129
+ // Add page transition strategy for page-level transitions
1130
+ [$]: gt
1131
+ });
1142
1132
  }
1143
1133
  export {
1144
- Z as SCOPE_ATTR,
1145
- tt as SCOPE_READY_ATTR,
1146
- Q as TRANSITION_STRATEGY,
1147
- Vt as createAnyOrderDetector,
1134
+ J as SCOPE_ATTR,
1135
+ Q as SCOPE_READY_ATTR,
1136
+ $ as TRANSITION_STRATEGY,
1137
+ zt as createAnyOrderDetector,
1148
1138
  ht as createDefaultStrategy,
1149
- kt as createOutFirstDetector,
1139
+ Ot as createOutFirstDetector,
1150
1140
  gt as createPageTransitionStrategy,
1151
- _t as createSggoiTransitionContext,
1152
- Mt as createTransitionScope,
1153
- wt as findScope,
1154
- Lt as getWatchedCount,
1155
- Xt as isCssAnimation,
1156
- Yt as isMultiAnimation,
1157
- pt as isScopeReady,
1158
- Ht as isSingleAnimation,
1159
- jt as isTickAnimation,
1160
- Ot as isWatched,
1141
+ Ht as createSggoiTransitionContext,
1142
+ qt as createTransitionScope,
1143
+ pt as findScope,
1144
+ Bt as getWatchedCount,
1145
+ Yt as isCssAnimation,
1146
+ Kt as isMultiAnimation,
1147
+ yt as isScopeReady,
1148
+ $t as isSingleAnimation,
1149
+ Jt as isTickAnimation,
1150
+ Nt as isWatched,
1161
1151
  j as normalizeSchedule,
1162
1152
  M as normalizeToMultiAnimation,
1163
- zt as resetObserver,
1164
- qt as transition,
1165
- Dt as triggerUnmount,
1166
- At as watchUnmount
1153
+ Wt as resetObserver,
1154
+ jt as transition,
1155
+ Ut as triggerUnmount,
1156
+ Et as watchUnmount
1167
1157
  };