@ssgoi/core 2.5.6 → 3.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 (48) hide show
  1. package/dist/animator/animation.d.ts +57 -0
  2. package/dist/animator/animation.d.ts.map +1 -0
  3. package/dist/animator/index.d.ts +4 -3
  4. package/dist/animator/index.d.ts.map +1 -1
  5. package/dist/animator/multi-animator.d.ts +98 -0
  6. package/dist/animator/multi-animator.d.ts.map +1 -0
  7. package/dist/index.cjs +2 -2
  8. package/dist/index.js +565 -640
  9. package/dist/transition/create-transition-callback.d.ts.map +1 -1
  10. package/dist/transition/transition-strategy.d.ts +20 -9
  11. package/dist/transition/transition-strategy.d.ts.map +1 -1
  12. package/dist/transitions/blur.d.ts +5 -5
  13. package/dist/transitions/blur.d.ts.map +1 -1
  14. package/dist/transitions/bounce.d.ts +5 -5
  15. package/dist/transitions/bounce.d.ts.map +1 -1
  16. package/dist/transitions/fade.d.ts +5 -5
  17. package/dist/transitions/fade.d.ts.map +1 -1
  18. package/dist/transitions/fly.d.ts +5 -5
  19. package/dist/transitions/fly.d.ts.map +1 -1
  20. package/dist/transitions/index.cjs +1 -1
  21. package/dist/transitions/index.js +206 -207
  22. package/dist/transitions/mask.d.ts +5 -5
  23. package/dist/transitions/mask.d.ts.map +1 -1
  24. package/dist/transitions/none.d.ts +3 -3
  25. package/dist/transitions/none.d.ts.map +1 -1
  26. package/dist/transitions/rotate.d.ts +5 -5
  27. package/dist/transitions/rotate.d.ts.map +1 -1
  28. package/dist/transitions/scale.d.ts +5 -5
  29. package/dist/transitions/scale.d.ts.map +1 -1
  30. package/dist/transitions/slide.d.ts +5 -5
  31. package/dist/transitions/slide.d.ts.map +1 -1
  32. package/dist/types.cjs +1 -1
  33. package/dist/types.d.ts +78 -78
  34. package/dist/types.d.ts.map +1 -1
  35. package/dist/types.js +63 -15
  36. package/dist/view-transitions/blind.d.ts +0 -1
  37. package/dist/view-transitions/blind.d.ts.map +1 -1
  38. package/dist/view-transitions/fade.d.ts.map +1 -1
  39. package/dist/view-transitions/index.cjs +13 -13
  40. package/dist/view-transitions/index.js +472 -479
  41. package/dist/view-transitions/scroll.d.ts.map +1 -1
  42. package/dist/view-transitions/slide.d.ts.map +1 -1
  43. package/dist/view-transitions/strip.d.ts.map +1 -1
  44. package/package.json +1 -1
  45. package/dist/animator/animation-scheduler.d.ts +0 -34
  46. package/dist/animator/animation-scheduler.d.ts.map +0 -1
  47. package/dist/test-utils.d.ts +0 -46
  48. package/dist/test-utils.d.ts.map +0 -1
@@ -1,25 +1,19 @@
1
- import { p as m, g as L } from "../jaemin-BWkrXq0V.js";
2
- import { a as Vt } from "../jaemin-BWkrXq0V.js";
3
- const U = (t) => new Promise((n) => setTimeout(n, t));
4
- function q(t, n = 0) {
5
- const i = Math.pow(10, n);
6
- return Math.round(t * i) / i;
7
- }
8
- const G = { stiffness: 80, damping: 25 }, j = { stiffness: 75, damping: 25 }, K = 300, Z = 10, J = "horizontal", Q = "#000000", Dt = (t = {}) => {
1
+ import { p as b, g as L } from "../jaemin-BWkrXq0V.js";
2
+ import { a as Mt } from "../jaemin-BWkrXq0V.js";
3
+ const O = (t) => new Promise((n) => setTimeout(n, t)), q = { stiffness: 80, damping: 25 }, G = { stiffness: 75, damping: 25 }, j = 300, K = 10, Z = "horizontal", J = "#000000", It = (t = {}) => {
9
4
  const {
10
- inSpring: n = j,
11
- outSpring: i = G,
12
- transitionDelay: d = K,
13
- blindCount: r = Z,
14
- direction: l = J,
15
- staggerDelay: c = 100,
16
- blindColor: e = Q
5
+ inSpring: n = G,
6
+ outSpring: r = q,
7
+ transitionDelay: d = j,
8
+ blindCount: s = K,
9
+ direction: l = Z,
10
+ blindColor: c = J
17
11
  } = t;
18
- let o, s = null;
19
- const a = (p, g, u = "left") => {
20
- window.getComputedStyle(p).position === "static" && (p.style.position = "relative");
21
- const h = document.createElement("div");
22
- h.className = "blind-container", h.style.cssText = `
12
+ let i, o = null;
13
+ const a = (e, g, y = "left") => {
14
+ window.getComputedStyle(e).position === "static" && (e.style.position = "relative");
15
+ const p = document.createElement("div");
16
+ p.className = "blind-container", p.style.cssText = `
23
17
  position: absolute;
24
18
  top: 0;
25
19
  left: 0;
@@ -29,211 +23,210 @@ const G = { stiffness: 80, damping: 25 }, j = { stiffness: 75, damping: 25 }, K
29
23
  z-index: 9999;
30
24
  overflow: hidden;
31
25
  `;
32
- const f = [];
33
- for (let $ = 0; $ < r; $++) {
34
- const x = document.createElement("div");
26
+ const h = [];
27
+ for (let f = 0; f < s; f++) {
28
+ const $ = document.createElement("div");
35
29
  if (l === "horizontal") {
36
- const w = 100 / r, T = `calc(${w}% + 1px)`;
37
- x.style.cssText = `
30
+ const w = 100 / s, x = `calc(${w}% + 1px)`;
31
+ $.style.cssText = `
38
32
  position: absolute;
39
- top: ${w * $}%;
33
+ top: ${w * f}%;
40
34
  left: 0;
41
35
  width: 100%;
42
- height: ${T};
43
- background: ${e};
36
+ height: ${x};
37
+ background: ${c};
44
38
  transform: scaleX(${g === "hidden" ? 0 : 1});
45
- transform-origin: ${u} center;
39
+ transform-origin: ${y} center;
46
40
  will-change: transform;
47
41
  `;
48
42
  } else {
49
- const w = 100 / r, T = `calc(${w}% + 1px)`;
50
- x.style.cssText = `
43
+ const w = 100 / s, x = `calc(${w}% + 1px)`;
44
+ $.style.cssText = `
51
45
  position: absolute;
52
46
  top: 0;
53
- left: ${w * $}%;
54
- width: ${T};
47
+ left: ${w * f}%;
48
+ width: ${x};
55
49
  height: 100%;
56
- background: ${e};
50
+ background: ${c};
57
51
  transform: scaleY(${g === "hidden" ? 0 : 1});
58
- transform-origin: ${u === "left" ? "top" : "bottom"} center;
52
+ transform-origin: ${y === "left" ? "top" : "bottom"} center;
59
53
  will-change: transform;
60
54
  `;
61
55
  }
62
- f.push(x), h.appendChild(x);
56
+ h.push($), p.appendChild($);
63
57
  }
64
- return p.appendChild(h), { container: h, blinds: f };
58
+ return e.appendChild(p), { container: p, blinds: h };
65
59
  };
66
60
  return {
67
61
  out: () => {
68
- let p = null;
69
- return o = new Promise((u) => {
70
- s = u;
62
+ let e = null;
63
+ return i = new Promise((y) => {
64
+ o = y;
71
65
  }), {
72
- springs: Array.from({ length: r }, (u, y) => ({
73
- from: 0,
74
- to: 1,
75
- spring: i,
76
- offset: y * c,
77
- tick: (h) => {
78
- if (!p) return;
79
- const f = p.blinds[y];
80
- f && (l === "horizontal" ? f.style.transform = `scaleX(${h})` : f.style.transform = `scaleY(${h})`);
66
+ springs: Array.from({ length: s }, (y, u) => ({
67
+ spring: r,
68
+ offset: 0.2,
69
+ tick: (p) => {
70
+ if (!e) return;
71
+ const h = e.blinds[u];
72
+ if (!h) return;
73
+ const f = 1 - p;
74
+ l === "horizontal" ? h.style.transform = `scaleX(${f})` : h.style.transform = `scaleY(${f})`;
81
75
  }
82
76
  })),
83
- schedule: "chain",
84
- prepare: (u) => {
85
- m(u), u.style.zIndex = "1000", p = a(u, "hidden", "left");
77
+ schedule: "stagger",
78
+ prepare: (y) => {
79
+ b(y), y.style.zIndex = "1000", e = a(y, "hidden", "left");
86
80
  },
87
81
  onStart: () => {
88
82
  },
89
83
  onEnd: () => {
90
- s && s();
84
+ o && o();
91
85
  }
92
86
  };
93
87
  },
94
88
  in: () => {
95
- let p = null;
89
+ let e = null;
96
90
  return {
97
- springs: Array.from({ length: r }, (u, y) => ({
98
- from: 1,
99
- to: 0,
91
+ springs: Array.from({ length: s }, (y, u) => ({
100
92
  spring: n,
101
- offset: y * c,
102
- tick: (h) => {
103
- if (!p) return;
104
- const f = p.blinds[y];
105
- f && (l === "horizontal" ? f.style.transform = `scaleX(${h})` : f.style.transform = `scaleY(${h})`);
93
+ offset: 0.2,
94
+ tick: (p) => {
95
+ if (!e) return;
96
+ const h = e.blinds[u];
97
+ if (!h) return;
98
+ const f = 1 - p;
99
+ l === "horizontal" ? h.style.transform = `scaleX(${f})` : h.style.transform = `scaleY(${f})`;
106
100
  }
107
101
  })),
108
- schedule: "chain",
109
- prepare: (u) => {
110
- u.style.position = "relative", u.style.zIndex = "0", p = a(u, "closed", "right");
102
+ schedule: "stagger",
103
+ prepare: (y) => {
104
+ y.style.position = "relative", y.style.zIndex = "0", e = a(y, "closed", "right");
111
105
  },
112
106
  onStart: () => {
113
107
  },
114
108
  wait: async () => {
115
- o && await o, await U(d);
109
+ i && await i, await O(d);
116
110
  },
117
111
  onEnd: () => {
118
- p && p.container && p.container.remove();
112
+ e && e.container && e.container.remove();
119
113
  }
120
114
  };
121
115
  }
122
116
  };
123
- }, R = {
117
+ }, Q = {
124
118
  stiffness: 150,
125
119
  damping: 20
126
- }, tt = {
120
+ }, R = {
127
121
  stiffness: 100,
128
122
  damping: 20
129
- }, vt = (t = {}) => {
123
+ }, Dt = (t = {}) => {
130
124
  var l, c;
131
- const { opacity: n = !1, direction: i = "enter" } = t, d = i === "enter" ? R : tt, r = {
125
+ const { opacity: n = !1, direction: r = "enter" } = t, d = r === "enter" ? Q : R, s = {
132
126
  stiffness: ((l = t.spring) == null ? void 0 : l.stiffness) ?? d.stiffness,
133
127
  damping: ((c = t.spring) == null ? void 0 : c.damping) ?? d.damping
134
128
  };
135
- return i === "enter" ? {
136
- in: (e) => ({
137
- spring: r,
129
+ return r === "enter" ? {
130
+ in: (i) => ({
131
+ spring: s,
138
132
  prepare: () => {
139
- e.style.willChange = n ? "transform, opacity" : "transform", e.style.backfaceVisibility = "hidden", e.style.contain = "layout paint";
133
+ i.style.willChange = n ? "transform, opacity" : "transform", i.style.backfaceVisibility = "hidden", i.style.contain = "layout paint";
140
134
  },
141
135
  css: (o) => {
142
- const s = {
136
+ const a = {
143
137
  transform: `translate3d(${(1 - o) * 100}%, 0, 0)`
144
138
  };
145
- return n && (s.opacity = o), s;
139
+ return n && (a.opacity = o), a;
146
140
  },
147
141
  onEnd: () => {
148
- e.style.willChange = "auto", e.style.backfaceVisibility = "", e.style.contain = "";
142
+ i.style.willChange = "auto", i.style.backfaceVisibility = "", i.style.contain = "";
149
143
  }
150
144
  }),
151
- out: (e, o) => ({
152
- spring: r,
153
- prepare: (s) => {
154
- m(s, o), s.style.zIndex = "-1", s.style.willChange = n ? "transform, opacity" : "transform", s.style.backfaceVisibility = "hidden", s.style.contain = "layout paint", s.style.pointerEvents = "none";
155
- },
156
- css: (s) => {
157
- const a = {
158
- transform: `translate3d(${-(1 - s) * 20}%, 0, 0)`
145
+ out: (i, o) => ({
146
+ spring: s,
147
+ prepare: (a) => {
148
+ b(a, o), a.style.zIndex = "-1", a.style.willChange = n ? "transform, opacity" : "transform", a.style.backfaceVisibility = "hidden", a.style.contain = "layout paint", a.style.pointerEvents = "none";
149
+ },
150
+ css: (a) => {
151
+ const e = {
152
+ transform: `translate3d(${-(1 - a) * 20}%, 0, 0)`
159
153
  };
160
- return n && (a.opacity = s), a;
154
+ return n && (e.opacity = a), e;
161
155
  }
162
156
  })
163
157
  } : {
164
- in: (e) => ({
165
- spring: r,
158
+ in: (i) => ({
159
+ spring: s,
166
160
  prepare: () => {
167
- e.style.willChange = n ? "transform, opacity" : "transform", e.style.backfaceVisibility = "hidden", e.style.contain = "layout paint";
161
+ i.style.willChange = n ? "transform, opacity" : "transform", i.style.backfaceVisibility = "hidden", i.style.contain = "layout paint";
168
162
  },
169
163
  css: (o) => {
170
- const s = {
164
+ const a = {
171
165
  transform: `translate3d(${-(1 - o) * 20}%, 0, 0)`
172
166
  };
173
- return n && (s.opacity = o), s;
167
+ return n && (a.opacity = o), a;
174
168
  },
175
169
  onEnd: () => {
176
- e.style.willChange = "auto", e.style.backfaceVisibility = "", e.style.contain = "";
170
+ i.style.willChange = "auto", i.style.backfaceVisibility = "", i.style.contain = "";
177
171
  }
178
172
  }),
179
- out: (e, o) => ({
180
- spring: r,
181
- prepare: (s) => {
182
- m(s, o), s.style.zIndex = "100", s.style.willChange = n ? "transform, opacity" : "transform", s.style.backfaceVisibility = "hidden", s.style.contain = "layout paint", s.style.pointerEvents = "none";
183
- },
184
- css: (s) => {
185
- const a = {
186
- transform: `translate3d(${(1 - s) * 100}%, 0, 0)`
173
+ out: (i, o) => ({
174
+ spring: s,
175
+ prepare: (a) => {
176
+ b(a, o), a.style.zIndex = "100", a.style.willChange = n ? "transform, opacity" : "transform", a.style.backfaceVisibility = "hidden", a.style.contain = "layout paint", a.style.pointerEvents = "none";
177
+ },
178
+ css: (a) => {
179
+ const e = {
180
+ transform: `translate3d(${(1 - a) * 100}%, 0, 0)`
187
181
  };
188
- return n && (a.opacity = s), a;
182
+ return n && (e.opacity = a), e;
189
183
  }
190
184
  })
191
185
  };
192
- }, nt = { stiffness: 65, damping: 16 }, et = { stiffness: 65, damping: 14 }, it = 0, Ft = (t = {}) => {
186
+ }, tt = { stiffness: 65, damping: 16 }, nt = { stiffness: 65, damping: 14 }, et = 0, vt = (t = {}) => {
193
187
  const {
194
- inSpring: n = et,
195
- outSpring: i = nt,
196
- transitionDelay: d = it
188
+ inSpring: n = nt,
189
+ outSpring: r = tt,
190
+ transitionDelay: d = et
197
191
  } = t;
198
- let r, l = null;
192
+ let s, l = null;
199
193
  return {
200
194
  in: (c) => ({
201
195
  spring: n,
202
- prepare: (e) => {
203
- e.style.opacity = "0", e.style.willChange = "opacity";
196
+ prepare: () => {
197
+ c.style.willChange = "opacity";
204
198
  },
205
199
  wait: async () => {
206
- r && (await r, await U(d));
207
- },
208
- tick: (e) => {
209
- const o = q(e, 2);
210
- c.style.opacity = o.toString();
200
+ s && (await s, await O(d));
211
201
  },
202
+ css: (i) => ({
203
+ opacity: i
204
+ }),
212
205
  onEnd: () => {
213
206
  c.style.willChange = "auto";
214
207
  }
215
208
  }),
216
- out: (c, e) => (r = new Promise((o) => {
209
+ out: (c, i) => (s = new Promise((o) => {
217
210
  l = o;
218
211
  }), {
219
- spring: i,
220
- tick: (o) => {
221
- c.style.opacity = o.toString();
222
- },
212
+ spring: r,
213
+ css: (o) => ({
214
+ opacity: o
215
+ }),
223
216
  prepare: () => {
224
- m(c, e), c.style.willChange = "opacity";
217
+ b(c, i), c.style.willChange = "opacity";
225
218
  },
226
219
  onEnd: () => {
227
220
  l && l(), c.style.willChange = "auto";
228
221
  }
229
222
  })
230
223
  };
231
- }, st = {
224
+ }, it = {
232
225
  stiffness: 5,
233
226
  // Lower stiffness for smoother motion
234
227
  damping: 3.5
235
228
  // Lower damping for more fluid movement
236
- }, lt = 0.8, rt = "white", b = {
229
+ }, st = 0.8, rt = "white", m = {
237
230
  start: 0,
238
231
  end: 0.45
239
232
  }, E = {
@@ -242,38 +235,38 @@ const G = { stiffness: 80, damping: 25 }, j = { stiffness: 75, damping: 25 }, K
242
235
  }, A = {
243
236
  start: 0.2,
244
237
  end: 0.9
245
- }, Yt = (t) => {
246
- var r;
247
- const n = (t == null ? void 0 : t.spring) ?? st, i = (t == null ? void 0 : t.scale) ?? lt, d = ((r = t == null ? void 0 : t.border) == null ? void 0 : r.color) ?? rt;
238
+ }, Ft = (t) => {
239
+ var s;
240
+ const n = (t == null ? void 0 : t.spring) ?? it, r = (t == null ? void 0 : t.scale) ?? st, d = ((s = t == null ? void 0 : t.border) == null ? void 0 : s.color) ?? rt;
248
241
  return {
249
242
  out: async (l, c) => {
250
- const e = I(c), o = L(document.body, c.positionedParent), s = ot(d, {
251
- ...e,
243
+ const i = _(c), o = L(document.body, c.positionedParent), a = at(d, {
244
+ ...i,
252
245
  top: o.top
253
246
  });
254
- let a = 1, p = -e.top;
247
+ let e = 1, g = -i.top;
255
248
  return {
256
249
  spring: n,
257
250
  prepare: () => {
258
- m(l), P(l, e), D(l, e), ct(l, e);
259
- for (const g of s)
260
- c.positionedParent.appendChild(g);
251
+ b(l), P(l, i), I(l, i), ot(l, i);
252
+ for (const y of a)
253
+ c.positionedParent.appendChild(y);
261
254
  },
262
255
  onEnd: () => {
263
256
  l.style.clipPath = "", l.style.transformOrigin = "", setTimeout(() => {
264
- for (const g of s)
265
- c.positionedParent.removeChild(g);
257
+ for (const y of a)
258
+ c.positionedParent.removeChild(y);
266
259
  }, 1e3);
267
260
  },
268
- tick: (g) => {
269
- const u = 1 - g;
270
- if (b.start <= u && u <= b.end) {
261
+ tick: (y) => {
262
+ const u = 1 - y;
263
+ if (m.start <= u && u <= m.end) {
271
264
  const f = C(
272
265
  u,
273
- b.start,
274
- b.end
266
+ m.start,
267
+ m.end
275
268
  );
276
- a = 1 - (1 - i) * f;
269
+ e = 1 - (1 - r) * f;
277
270
  }
278
271
  if (E.start <= u && u <= E.end) {
279
272
  const f = C(
@@ -281,7 +274,7 @@ const G = { stiffness: 80, damping: 25 }, j = { stiffness: 75, damping: 25 }, K
281
274
  E.start,
282
275
  E.end
283
276
  );
284
- a = i + (1 - i) * f;
277
+ e = r + (1 - r) * f;
285
278
  }
286
279
  if (A.start <= u && u <= A.end) {
287
280
  const f = C(
@@ -289,95 +282,95 @@ const G = { stiffness: 80, damping: 25 }, j = { stiffness: 75, damping: 25 }, K
289
282
  A.start,
290
283
  A.end
291
284
  );
292
- p = -e.top - e.height * f;
285
+ g = -i.top - i.height * f;
293
286
  }
294
- l.style.transform = `translateY(${p}px) scale(${a})`;
295
- const y = (e.width - e.width * a) / 2, h = (e.height - e.height * a) / 2;
296
- at(s, y, h);
287
+ l.style.transform = `translateY(${g}px) scale(${e})`;
288
+ const p = (i.width - i.width * e) / 2, h = (i.height - i.height * e) / 2;
289
+ lt(a, p, h);
297
290
  }
298
291
  };
299
292
  },
300
293
  in: async (l, c) => {
301
- const e = I(c);
302
- let o = i, s = -e.top + e.height;
294
+ const i = _(c);
295
+ let o = r, a = -i.top + i.height;
303
296
  return {
304
297
  spring: n,
305
298
  prepare: () => {
306
- P(l, e), D(l, e), l.style.transform = `translateY(${-e.top + e.height}px) scale(${i})`;
299
+ P(l, i), I(l, i), l.style.transform = `translateY(${-i.top + i.height}px) scale(${r})`;
307
300
  },
308
301
  onEnd: () => {
309
302
  l.style.clipPath = "", l.style.transformOrigin = "", l.style.transform = "";
310
303
  },
311
- tick: (a) => {
312
- if (b.start <= a && a <= b.end) {
313
- const p = C(
314
- a,
315
- b.start,
316
- b.end
304
+ tick: (e) => {
305
+ if (m.start <= e && e <= m.end) {
306
+ const g = C(
307
+ e,
308
+ m.start,
309
+ m.end
317
310
  );
318
- o = 1 - (1 - i) * p;
311
+ o = 1 - (1 - r) * g;
319
312
  }
320
- if (E.start <= a && a <= E.end) {
321
- const p = C(
322
- a,
313
+ if (E.start <= e && e <= E.end) {
314
+ const g = C(
315
+ e,
323
316
  E.start,
324
317
  E.end
325
318
  );
326
- o = i + (1 - i) * p;
319
+ o = r + (1 - r) * g;
327
320
  }
328
- if (A.start <= a && a <= A.end) {
329
- const p = C(
330
- a,
321
+ if (A.start <= e && e <= A.end) {
322
+ const g = C(
323
+ e,
331
324
  A.start,
332
325
  A.end
333
326
  );
334
- s = -e.top + e.height * (1 - p);
327
+ a = -i.top + i.height * (1 - g);
335
328
  }
336
- l.style.transform = `translateY(${s}px) scale(${o})`;
329
+ l.style.transform = `translateY(${a}px) scale(${o})`;
337
330
  }
338
331
  };
339
332
  }
340
333
  };
341
334
  };
342
- function at(t, n, i) {
343
- const d = n * 0.7, r = i * 0.7;
344
- t.topLeft.style.transform = `translate(${d}px, ${r}px)`, t.topRight.style.transform = `translate(${-d}px, ${r}px)`, t.bottomLeft.style.transform = `translate(${d}px, ${-r}px)`, t.bottomRight.style.transform = `translate(${-d}px, ${-r}px)`;
335
+ function lt(t, n, r) {
336
+ const d = n * 0.7, s = r * 0.7;
337
+ t.topLeft.style.transform = `translate(${d}px, ${s}px)`, t.topRight.style.transform = `translate(${-d}px, ${s}px)`, t.bottomLeft.style.transform = `translate(${d}px, ${-s}px)`, t.bottomRight.style.transform = `translate(${-d}px, ${-s}px)`;
345
338
  }
346
- function ot(t = "white", n) {
347
- const r = document.createElement("div");
348
- r.style.position = "fixed", r.style.pointerEvents = "none", r.style.zIndex = "9999", r.style.top = `${n.top - 1}px`, r.style.left = `${n.left - 1}px`, r.style.width = "15px", r.style.height = "15px";
339
+ function at(t = "white", n) {
340
+ const s = document.createElement("div");
341
+ s.style.position = "fixed", s.style.pointerEvents = "none", s.style.zIndex = "9999", s.style.top = `${n.top - 1}px`, s.style.left = `${n.left - 1}px`, s.style.width = "15px", s.style.height = "15px";
349
342
  const l = document.createElement("div");
350
343
  l.style.position = "absolute", l.style.width = "15px", l.style.height = "1px", l.style.backgroundColor = t, l.style.top = "0", l.style.left = "0";
351
344
  const c = document.createElement("div");
352
- c.style.position = "absolute", c.style.width = "1px", c.style.height = "15px", c.style.backgroundColor = t, c.style.top = "0", c.style.left = "0", r.appendChild(l), r.appendChild(c);
353
- const e = document.createElement("div");
354
- e.style.position = "fixed", e.style.pointerEvents = "none", e.style.zIndex = "9999", e.style.top = `${n.top - 1}px`, e.style.left = `${n.left + n.width - 15 + 1}px`, e.style.width = "15px", e.style.height = "15px";
345
+ c.style.position = "absolute", c.style.width = "1px", c.style.height = "15px", c.style.backgroundColor = t, c.style.top = "0", c.style.left = "0", s.appendChild(l), s.appendChild(c);
346
+ const i = document.createElement("div");
347
+ i.style.position = "fixed", i.style.pointerEvents = "none", i.style.zIndex = "9999", i.style.top = `${n.top - 1}px`, i.style.left = `${n.left + n.width - 15 + 1}px`, i.style.width = "15px", i.style.height = "15px";
355
348
  const o = document.createElement("div");
356
349
  o.style.position = "absolute", o.style.width = "15px", o.style.height = "1px", o.style.backgroundColor = t, o.style.top = "0", o.style.right = "0";
357
- const s = document.createElement("div");
358
- s.style.position = "absolute", s.style.width = "1px", s.style.height = "15px", s.style.backgroundColor = t, s.style.top = "0", s.style.right = "0", e.appendChild(o), e.appendChild(s);
359
350
  const a = document.createElement("div");
360
- a.style.position = "fixed", a.style.pointerEvents = "none", a.style.zIndex = "9999", a.style.top = `${n.top + n.height - 15 + 1}px`, a.style.left = `${n.left - 1}px`, a.style.width = "15px", a.style.height = "15px";
361
- const p = document.createElement("div");
362
- p.style.position = "absolute", p.style.width = "15px", p.style.height = "1px", p.style.backgroundColor = t, p.style.bottom = "0", p.style.left = "0";
351
+ a.style.position = "absolute", a.style.width = "1px", a.style.height = "15px", a.style.backgroundColor = t, a.style.top = "0", a.style.right = "0", i.appendChild(o), i.appendChild(a);
352
+ const e = document.createElement("div");
353
+ e.style.position = "fixed", e.style.pointerEvents = "none", e.style.zIndex = "9999", e.style.top = `${n.top + n.height - 15 + 1}px`, e.style.left = `${n.left - 1}px`, e.style.width = "15px", e.style.height = "15px";
363
354
  const g = document.createElement("div");
364
- g.style.position = "absolute", g.style.width = "1px", g.style.height = "15px", g.style.backgroundColor = t, g.style.bottom = "0", g.style.left = "0", a.appendChild(p), a.appendChild(g);
355
+ g.style.position = "absolute", g.style.width = "15px", g.style.height = "1px", g.style.backgroundColor = t, g.style.bottom = "0", g.style.left = "0";
356
+ const y = document.createElement("div");
357
+ y.style.position = "absolute", y.style.width = "1px", y.style.height = "15px", y.style.backgroundColor = t, y.style.bottom = "0", y.style.left = "0", e.appendChild(g), e.appendChild(y);
365
358
  const u = document.createElement("div");
366
359
  u.style.position = "fixed", u.style.pointerEvents = "none", u.style.zIndex = "9999", u.style.top = `${n.top + n.height - 15 + 1}px`, u.style.left = `${n.left + n.width - 15 + 1}px`, u.style.width = "15px", u.style.height = "15px";
367
- const y = document.createElement("div");
368
- y.style.position = "absolute", y.style.width = "15px", y.style.height = "1px", y.style.backgroundColor = t, y.style.bottom = "0", y.style.right = "0";
360
+ const p = document.createElement("div");
361
+ p.style.position = "absolute", p.style.width = "15px", p.style.height = "1px", p.style.backgroundColor = t, p.style.bottom = "0", p.style.right = "0";
369
362
  const h = document.createElement("div");
370
- return h.style.position = "absolute", h.style.width = "1px", h.style.height = "15px", h.style.backgroundColor = t, h.style.bottom = "0", h.style.right = "0", u.appendChild(y), u.appendChild(h), {
371
- topLeft: r,
372
- topRight: e,
373
- bottomLeft: a,
363
+ return h.style.position = "absolute", h.style.width = "1px", h.style.height = "15px", h.style.backgroundColor = t, h.style.bottom = "0", h.style.right = "0", u.appendChild(p), u.appendChild(h), {
364
+ topLeft: s,
365
+ topRight: i,
366
+ bottomLeft: e,
374
367
  bottomRight: u,
375
368
  *[Symbol.iterator]() {
376
- yield r, yield e, yield a, yield u;
369
+ yield s, yield i, yield e, yield u;
377
370
  }
378
371
  };
379
372
  }
380
- function I(t) {
373
+ function _(t) {
381
374
  const n = L(document.body, t.positionedParent);
382
375
  return {
383
376
  top: t.scroll.y,
@@ -387,10 +380,10 @@ function I(t) {
387
380
  };
388
381
  }
389
382
  function P(t, n) {
390
- const i = n.left + n.width / 2, d = n.top + n.height / 2;
391
- t.style.transformOrigin = `${i}px ${d}px`;
383
+ const r = n.left + n.width / 2, d = n.top + n.height / 2;
384
+ t.style.transformOrigin = `${r}px ${d}px`;
392
385
  }
393
- function D(t, n) {
386
+ function I(t, n) {
394
387
  t.style.clipPath = `polygon(
395
388
  ${n.left}px ${n.top}px,
396
389
  ${n.left + n.width}px ${n.top}px,
@@ -398,65 +391,65 @@ function D(t, n) {
398
391
  ${n.left}px ${n.top + n.height}px
399
392
  )`;
400
393
  }
401
- function ct(t, n) {
394
+ function ot(t, n) {
402
395
  t.style.transform = `translateY(${-n.top}px)`;
403
396
  }
404
- function C(t, n, i) {
405
- return t <= n ? 0 : t >= i ? 1 : (t - n) / (i - n);
397
+ function C(t, n, r) {
398
+ return t <= n ? 0 : t >= r ? 1 : (t - n) / (r - n);
406
399
  }
407
- function dt(t, n) {
400
+ function ct(t, n) {
408
401
  return t.querySelector(`[data-hero-key="${n}"]`);
409
402
  }
410
- const Ot = (t = {}) => {
411
- var c, e;
403
+ const Yt = (t = {}) => {
404
+ var c, i;
412
405
  const n = {
413
406
  stiffness: ((c = t.spring) == null ? void 0 : c.stiffness) ?? 300,
414
- damping: ((e = t.spring) == null ? void 0 : e.damping) ?? 30
415
- }, i = t.timeout ?? 300, d = t.maxDistance ?? 700;
416
- let r = null, l = null;
407
+ damping: ((i = t.spring) == null ? void 0 : i.damping) ?? 30
408
+ }, r = t.timeout ?? 300, d = t.maxDistance ?? 700;
409
+ let s = null, l = null;
417
410
  return {
418
- in: async (o, s) => {
419
- const a = o, p = Array.from(a.querySelectorAll("[data-hero-key]"));
420
- if (p.length === 0)
411
+ in: async (o, a) => {
412
+ const e = o, g = Array.from(e.querySelectorAll("[data-hero-key]"));
413
+ if (g.length === 0)
421
414
  return {
422
415
  spring: n,
423
416
  tick: () => {
424
417
  }
425
418
  // No hero elements, skip animation
426
419
  };
427
- if (!await new Promise((y) => {
428
- r ? y(!0) : (l = y, setTimeout(() => {
429
- l = null, y(!1);
430
- }, i));
431
- }) || !r)
432
- return r = null, {
420
+ if (!await new Promise((p) => {
421
+ s ? p(!0) : (l = p, setTimeout(() => {
422
+ l = null, p(!1);
423
+ }, r));
424
+ }) || !s)
425
+ return s = null, {
433
426
  spring: n,
434
427
  tick: () => {
435
428
  }
436
429
  // No fromNode, skip animation
437
430
  };
438
- const u = p.map((y) => {
439
- const h = y.getAttribute("data-hero-key");
431
+ const u = g.map((p) => {
432
+ const h = p.getAttribute("data-hero-key");
440
433
  if (!h) return null;
441
- const f = dt(r, h);
434
+ const f = ct(s, h);
442
435
  if (!f) return null;
443
- const $ = y, x = L(r, f), w = L(a, $), T = x.left - w.left - s.scrollOffset.x, W = x.top - w.top - s.scrollOffset.y, X = x.width / w.width, z = x.height / w.height, B = $.style.transform, H = $.style.position, M = $.style.transformOrigin, N = $.style.zIndex, V = $.style.willChange;
436
+ const $ = p, w = L(s, f), x = L(e, $), U = w.left - x.left - a.scrollOffset.x, V = w.top - x.top - a.scrollOffset.y, W = w.width / x.width, H = w.height / x.height, B = $.style.transform, z = $.style.position, X = $.style.transformOrigin, M = $.style.zIndex, N = $.style.willChange;
444
437
  return {
445
438
  toEl: $,
446
- dx: T,
447
- dy: W,
448
- dw: X,
449
- dh: z,
439
+ dx: U,
440
+ dy: V,
441
+ dw: W,
442
+ dh: H,
450
443
  originalTransform: B,
451
- originalPosition: H,
452
- originalTransformOrigin: M,
453
- originalZIndex: N,
454
- originalWillChange: V
444
+ originalPosition: z,
445
+ originalTransformOrigin: X,
446
+ originalZIndex: M,
447
+ originalWillChange: N
455
448
  };
456
449
  }).filter(
457
- (y) => y !== null && Math.abs(y.dy) <= d
450
+ (p) => p !== null && Math.abs(p.dy) <= d
458
451
  );
459
- return r = null, u.length === 0 ? {
452
+ return s = null, u.length === 0 ? {
460
453
  spring: n,
461
454
  tick: () => {
462
455
  }
@@ -464,26 +457,26 @@ const Ot = (t = {}) => {
464
457
  } : {
465
458
  spring: n,
466
459
  prepare: () => {
467
- u.forEach(({ toEl: y }) => {
468
- y.style.position = "relative", y.style.transformOrigin = "top left", y.style.zIndex = "1000", y.style.willChange = "transform";
460
+ u.forEach(({ toEl: p }) => {
461
+ p.style.position = "relative", p.style.transformOrigin = "top left", p.style.zIndex = "1000", p.style.willChange = "transform";
469
462
  });
470
463
  },
471
- tick: (y) => {
472
- u.forEach(({ toEl: h, dx: f, dy: $, dw: x, dh: w }) => {
473
- h.style.transform = `translate(${(1 - y) * f}px,${(1 - y) * $}px) scale(${y + (1 - y) * x}, ${y + (1 - y) * w})`;
464
+ tick: (p) => {
465
+ u.forEach(({ toEl: h, dx: f, dy: $, dw: w, dh: x }) => {
466
+ h.style.transform = `translate(${(1 - p) * f}px,${(1 - p) * $}px) scale(${p + (1 - p) * w}, ${p + (1 - p) * x})`;
474
467
  });
475
468
  },
476
469
  onEnd: () => {
477
470
  u.forEach(
478
471
  ({
479
- toEl: y,
472
+ toEl: p,
480
473
  originalTransform: h,
481
474
  originalPosition: f,
482
475
  originalTransformOrigin: $,
483
- originalZIndex: x,
484
- originalWillChange: w
476
+ originalZIndex: w,
477
+ originalWillChange: x
485
478
  }) => {
486
- y.style.transform = h, y.style.position = f, y.style.transformOrigin = $, y.style.zIndex = x, y.style.willChange = w;
479
+ p.style.transform = h, p.style.position = f, p.style.transformOrigin = $, p.style.zIndex = w, p.style.willChange = x;
487
480
  }
488
481
  );
489
482
  }
@@ -491,115 +484,115 @@ const Ot = (t = {}) => {
491
484
  },
492
485
  out: async (o) => ({
493
486
  onStart: () => {
494
- r = o, l && (l(!0), l = null);
487
+ s = o, l && (l(!0), l = null);
495
488
  },
496
489
  tick: () => {
497
490
  },
498
- prepare: (s) => {
499
- m(s), s.style.opacity = "0";
491
+ prepare: (a) => {
492
+ b(a), a.style.opacity = "0";
500
493
  }
501
494
  })
502
495
  };
503
496
  };
504
- function ht({
497
+ function dt({
505
498
  detailRect: t,
506
499
  galleryRect: n,
507
- pageRect: i,
500
+ pageRect: r,
508
501
  scrollOffset: d
509
- }, r) {
510
- const l = n.left - t.left + (n.width - t.width) / 2 - d.x, c = n.top - t.top + (n.height - t.height) / 2 - d.y, e = n.width / t.width, o = n.height / t.height, s = Math.max(e, o), a = t.top / i.height * 100, p = (i.width - (t.left + t.width)) / i.width * 100, g = (i.height - (t.top + t.height)) / i.height * 100, u = t.left / i.width * 100;
511
- return r.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, (y) => {
512
- const h = 1 - y, f = a * h, $ = p * h, x = g * h, w = u * h;
513
- r.style.clipPath = `inset(${f}% ${$}% ${x}% ${w}%)`, r.style.transform = `translate(${l * h}px, ${c * h}px) scale(${1 + (s - 1) * h})`;
502
+ }, s) {
503
+ const l = n.left - t.left + (n.width - t.width) / 2 - d.x, c = n.top - t.top + (n.height - t.height) / 2 - d.y, i = n.width / t.width, o = n.height / t.height, a = Math.max(i, o), e = t.top / r.height * 100, g = (r.width - (t.left + t.width)) / r.width * 100, y = (r.height - (t.top + t.height)) / r.height * 100, u = t.left / r.width * 100;
504
+ return s.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, (p) => {
505
+ const h = 1 - p, f = e * h, $ = g * h, w = y * h, x = u * h;
506
+ s.style.clipPath = `inset(${f}% ${$}% ${w}% ${x}%)`, s.style.transform = `translate(${l * h}px, ${c * h}px) scale(${1 + (a - 1) * h})`;
514
507
  };
515
508
  }
516
- function pt({
509
+ function ht({
517
510
  detailRect: t,
518
511
  galleryRect: n,
519
- pageRect: i,
512
+ pageRect: r,
520
513
  scrollOffset: d
521
- }, r) {
522
- const l = n.left - t.left + (n.width - t.width) / 2 + d.x, c = n.top - t.top + (n.height - t.height) / 2 + d.y, e = n.width / t.width, o = n.height / t.height, s = Math.min(e, o), a = t.top / i.height * 100, p = (i.width - (t.left + t.width)) / i.width * 100, g = (i.height - (t.top + t.height)) / i.height * 100, u = t.left / i.width * 100;
523
- return r.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, (y) => {
524
- const h = 1 - y, f = a * h, $ = p * h, x = g * h, w = u * h;
525
- r.style.clipPath = `inset(${f}% ${$}% ${x}% ${w}%)`, r.style.transform = `translate(${l * h - d.x}px, ${c * h - d.y}px) scale(${1 + (s - 1) * h})`;
514
+ }, s) {
515
+ const l = n.left - t.left + (n.width - t.width) / 2 + d.x, c = n.top - t.top + (n.height - t.height) / 2 + d.y, i = n.width / t.width, o = n.height / t.height, a = Math.min(i, o), e = t.top / r.height * 100, g = (r.width - (t.left + t.width)) / r.width * 100, y = (r.height - (t.top + t.height)) / r.height * 100, u = t.left / r.width * 100;
516
+ return s.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, (p) => {
517
+ const h = 1 - p, f = e * h, $ = g * h, w = y * h, x = u * h;
518
+ s.style.clipPath = `inset(${f}% ${$}% ${w}% ${x}%)`, s.style.transform = `translate(${l * h - d.x}px, ${c * h - d.y}px) scale(${1 + (a - 1) * h})`;
526
519
  };
527
520
  }
528
- function yt(t, n, i) {
521
+ function yt(t, n, r) {
529
522
  const d = t.querySelector(
530
523
  "[data-instagram-detail-key]"
531
- ), r = n.querySelector(
524
+ ), s = n.querySelector(
532
525
  "[data-instagram-detail-key]"
533
526
  );
534
527
  if (t.querySelectorAll("[data-instagram-detail-key]").length > 1 || n.querySelectorAll("[data-instagram-detail-key]").length > 1)
535
528
  return null;
536
- let l = null, c = null, e = !1;
537
- if (!d && r) {
538
- c = r;
539
- const a = c.getAttribute("data-instagram-detail-key");
540
- if (!a) return null;
529
+ let l = null, c = null, i = !1;
530
+ if (!d && s) {
531
+ c = s;
532
+ const e = c.getAttribute("data-instagram-detail-key");
533
+ if (!e) return null;
541
534
  l = t.querySelector(
542
- `[data-instagram-gallery-key="${a}"]`
543
- ), l && (e = !0);
544
- } else if (d && !r) {
535
+ `[data-instagram-gallery-key="${e}"]`
536
+ ), l && (i = !0);
537
+ } else if (d && !s) {
545
538
  c = d;
546
- const a = c.getAttribute("data-instagram-detail-key");
547
- if (!a) return null;
539
+ const e = c.getAttribute("data-instagram-detail-key");
540
+ if (!e) return null;
548
541
  l = n.querySelector(
549
- `[data-instagram-gallery-key="${a}"]`
550
- ), l && (e = !1);
542
+ `[data-instagram-gallery-key="${e}"]`
543
+ ), l && (i = !1);
551
544
  }
552
545
  if (!l || !c)
553
546
  return null;
554
- const o = L(e ? t : n, l), s = L(e ? n : t, c);
555
- return e ? {
547
+ const o = L(i ? t : n, l), a = L(i ? n : t, c);
548
+ return i ? {
556
549
  isEnterMode: !0,
557
- inAnimation: ht(
550
+ inAnimation: dt(
558
551
  {
559
- detailRect: s,
552
+ detailRect: a,
560
553
  galleryRect: o,
561
554
  pageRect: n.getBoundingClientRect(),
562
- scrollOffset: i
555
+ scrollOffset: r
563
556
  },
564
557
  n
565
558
  )
566
559
  // No outAnimation - gallery stays visible
567
560
  } : {
568
561
  isEnterMode: !1,
569
- outAnimation: pt(
562
+ outAnimation: ht(
570
563
  {
571
- detailRect: s,
564
+ detailRect: a,
572
565
  galleryRect: o,
573
566
  pageRect: t.getBoundingClientRect(),
574
- scrollOffset: i
567
+ scrollOffset: r
575
568
  },
576
569
  t
577
570
  )
578
571
  // No inAnimation - gallery stays visible
579
572
  };
580
573
  }
581
- const Ut = (t = {}) => {
582
- var c, e;
574
+ const Ot = (t = {}) => {
575
+ var c, i;
583
576
  const n = {
584
577
  stiffness: ((c = t.spring) == null ? void 0 : c.stiffness) ?? 150,
585
- damping: ((e = t.spring) == null ? void 0 : e.damping) ?? 20
586
- }, i = t.timeout ?? 300;
587
- let d = null, r = null, l = null;
578
+ damping: ((i = t.spring) == null ? void 0 : i.damping) ?? 20
579
+ }, r = t.timeout ?? 300;
580
+ let d = null, s = null, l = null;
588
581
  return {
589
- in: async (o, { scrollOffset: s }) => {
590
- const a = o;
591
- return !await new Promise((g) => {
592
- d ? g(!0) : (r = g, setTimeout(() => {
593
- r = null, g(!1);
594
- }, i));
582
+ in: async (o, { scrollOffset: a }) => {
583
+ const e = o;
584
+ return !await new Promise((y) => {
585
+ d ? y(!0) : (s = y, setTimeout(() => {
586
+ s = null, y(!1);
587
+ }, r));
595
588
  }) || !d ? (d = null, {
596
589
  spring: n,
597
590
  tick: () => {
598
591
  }
599
- }) : (l = yt(d, a, s), l ? (d = null, {
592
+ }) : (l = yt(d, e, a), l ? (d = null, {
600
593
  spring: n,
601
- tick: (g) => {
602
- l != null && l.inAnimation && l.inAnimation(g);
594
+ tick: (y) => {
595
+ l != null && l.inAnimation && l.inAnimation(y);
603
596
  }
604
597
  }) : {
605
598
  spring: n,
@@ -610,143 +603,143 @@ const Ut = (t = {}) => {
610
603
  out: async (o) => ({
611
604
  spring: n,
612
605
  onStart: () => {
613
- d = o, r && (r(!0), r = null);
606
+ d = o, s && (s(!0), s = null);
614
607
  },
615
- prepare: (s) => {
616
- m(s), l != null && l.isEnterMode || (s.style.zIndex = "-1");
608
+ prepare: (a) => {
609
+ b(a), l != null && l.isEnterMode || (a.style.zIndex = "-1");
617
610
  },
618
- tick: (s) => {
619
- l != null && l.outAnimation && l.outAnimation(s);
611
+ tick: (a) => {
612
+ l != null && l.outAnimation && l.outAnimation(a);
620
613
  }
621
614
  })
622
615
  };
623
616
  };
624
- function ut({
617
+ function pt({
625
618
  detailRect: t,
626
619
  galleryRect: n,
627
- pageRect: i,
620
+ pageRect: r,
628
621
  scrollOffset: d
629
- }, r) {
630
- const l = n.left - t.left + (n.width - t.width) / 2 - d.x, c = n.top - t.top + (n.height - t.height) / 2 - d.y, e = n.width / t.width, o = n.height / t.height, s = Math.max(e, o), a = t.top / i.height * 100, p = (i.width - (t.left + t.width)) / i.width * 100, g = (i.height - (t.top + t.height)) / i.height * 100, u = t.left / i.width * 100;
631
- return r.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, (y) => {
632
- const h = 1 - y, f = a * h, $ = p * h, x = g * h, w = u * h;
633
- r.style.clipPath = `inset(${f}% ${$}% ${x}% ${w}%)`, r.style.transform = `translate(${l * h}px, ${c * h}px) scale(${1 + (s - 1) * h})`;
622
+ }, s) {
623
+ const l = n.left - t.left + (n.width - t.width) / 2 - d.x, c = n.top - t.top + (n.height - t.height) / 2 - d.y, i = n.width / t.width, o = n.height / t.height, a = Math.max(i, o), e = t.top / r.height * 100, g = (r.width - (t.left + t.width)) / r.width * 100, y = (r.height - (t.top + t.height)) / r.height * 100, u = t.left / r.width * 100;
624
+ return s.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, (p) => {
625
+ const h = 1 - p, f = e * h, $ = g * h, w = y * h, x = u * h;
626
+ s.style.clipPath = `inset(${f}% ${$}% ${w}% ${x}%)`, s.style.transform = `translate(${l * h}px, ${c * h}px) scale(${1 + (a - 1) * h})`;
634
627
  };
635
628
  }
636
- function gt({
629
+ function ut({
637
630
  galleryRect: t,
638
631
  detailRect: n,
639
- scrollOffset: i
632
+ scrollOffset: r
640
633
  }, d) {
641
- const r = n.left - t.left + (n.width - t.width) / 2 + i.x, l = n.top - t.top + (n.height - t.height) / 2 + i.y, c = n.width / t.width, e = n.height / t.height, o = Math.max(c, e);
642
- return (s) => {
634
+ const s = n.left - t.left + (n.width - t.width) / 2 + r.x, l = n.top - t.top + (n.height - t.height) / 2 + r.y, c = n.width / t.width, i = n.height / t.height, o = Math.max(c, i);
635
+ return (a) => {
643
636
  d.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`;
644
- const a = 1 - s;
645
- d.style.transform = `translate(${r * a - i.x}px, ${l * a - i.y}px) scale(${1 + (o - 1) * a})`, d.style.opacity = `${1 - a}`;
637
+ const e = 1 - a;
638
+ d.style.transform = `translate(${s * e - r.x}px, ${l * e - r.y}px) scale(${1 + (o - 1) * e})`, d.style.opacity = `${1 - e}`;
646
639
  };
647
640
  }
648
- function ft({
641
+ function gt({
649
642
  galleryRect: t,
650
643
  detailRect: n,
651
- scrollOffset: i
644
+ scrollOffset: r
652
645
  }, d) {
653
- const r = n.left - t.left + (n.width - t.width) / 2 - i.x, l = n.top - t.top + (n.height - t.height) / 2 - i.y, c = n.width / t.width, e = n.height / t.height, o = Math.max(c, e);
654
- return (s) => {
655
- const a = 1 - s, p = s;
656
- d.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, d.style.transform = `translate(${r * a}px, ${l * a}px) scale(${1 + (o - 1) * a})`, d.style.opacity = `${p}`;
646
+ const s = n.left - t.left + (n.width - t.width) / 2 - r.x, l = n.top - t.top + (n.height - t.height) / 2 - r.y, c = n.width / t.width, i = n.height / t.height, o = Math.max(c, i);
647
+ return (a) => {
648
+ const e = 1 - a, g = a;
649
+ d.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, d.style.transform = `translate(${s * e}px, ${l * e}px) scale(${1 + (o - 1) * e})`, d.style.opacity = `${g}`;
657
650
  };
658
651
  }
659
- function $t({
652
+ function ft({
660
653
  detailRect: t,
661
654
  galleryRect: n,
662
- pageRect: i,
655
+ pageRect: r,
663
656
  scrollOffset: d
664
- }, r) {
665
- const l = n.left - t.left + (n.width - t.width) / 2 + d.x, c = n.top - t.top + (n.height - t.height) / 2 + d.y, e = n.width / t.width, o = n.height / t.height, s = Math.min(e, o), a = t.top / i.height * 100, p = (i.width - (t.left + t.width)) / i.width * 100, g = (i.height - (t.top + t.height)) / i.height * 100, u = t.left / i.width * 100;
666
- return r.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, (y) => {
667
- const h = 1 - y, f = a * h, $ = p * h, x = g * h, w = u * h;
668
- r.style.clipPath = `inset(${f}% ${$}% ${x}% ${w}%)`, r.style.transform = `translate(${l * h - d.x}px, ${c * h - d.y}px) scale(${1 + (s - 1) * h})`;
657
+ }, s) {
658
+ const l = n.left - t.left + (n.width - t.width) / 2 + d.x, c = n.top - t.top + (n.height - t.height) / 2 + d.y, i = n.width / t.width, o = n.height / t.height, a = Math.min(i, o), e = t.top / r.height * 100, g = (r.width - (t.left + t.width)) / r.width * 100, y = (r.height - (t.top + t.height)) / r.height * 100, u = t.left / r.width * 100;
659
+ return s.style.transformOrigin = `${t.left + t.width / 2}px ${t.top + t.height / 2}px`, (p) => {
660
+ const h = 1 - p, f = e * h, $ = g * h, w = y * h, x = u * h;
661
+ s.style.clipPath = `inset(${f}% ${$}% ${w}% ${x}%)`, s.style.transform = `translate(${l * h - d.x}px, ${c * h - d.y}px) scale(${1 + (a - 1) * h})`;
669
662
  };
670
663
  }
671
- function wt(t, n, i) {
664
+ function $t(t, n, r) {
672
665
  const d = t.querySelector(
673
666
  "[data-pinterest-detail-key]"
674
- ), r = n.querySelector(
667
+ ), s = n.querySelector(
675
668
  "[data-pinterest-detail-key]"
676
669
  );
677
670
  if (t.querySelectorAll("[data-pinterest-detail-key]").length > 1 || n.querySelectorAll("[data-pinterest-detail-key]").length > 1)
678
671
  return null;
679
- let l = null, c = null, e = !1;
680
- if (!d && r) {
681
- c = r;
682
- const a = c.getAttribute("data-pinterest-detail-key");
683
- if (!a) return null;
672
+ let l = null, c = null, i = !1;
673
+ if (!d && s) {
674
+ c = s;
675
+ const e = c.getAttribute("data-pinterest-detail-key");
676
+ if (!e) return null;
684
677
  l = t.querySelector(
685
- `[data-pinterest-gallery-key="${a}"]`
686
- ), l && (e = !0);
687
- } else if (d && !r) {
678
+ `[data-pinterest-gallery-key="${e}"]`
679
+ ), l && (i = !0);
680
+ } else if (d && !s) {
688
681
  c = d;
689
- const a = c.getAttribute("data-pinterest-detail-key");
690
- if (!a) return null;
682
+ const e = c.getAttribute("data-pinterest-detail-key");
683
+ if (!e) return null;
691
684
  l = n.querySelector(
692
- `[data-pinterest-gallery-key="${a}"]`
693
- ), l && (e = !1);
685
+ `[data-pinterest-gallery-key="${e}"]`
686
+ ), l && (i = !1);
694
687
  }
695
688
  if (!l || !c)
696
689
  return null;
697
- const o = L(e ? t : n, l), s = L(e ? n : t, c);
698
- return e ? {
699
- inAnimation: ut(
690
+ const o = L(i ? t : n, l), a = L(i ? n : t, c);
691
+ return i ? {
692
+ inAnimation: pt(
700
693
  {
701
- detailRect: s,
694
+ detailRect: a,
702
695
  galleryRect: o,
703
696
  pageRect: n.getBoundingClientRect(),
704
- scrollOffset: i
697
+ scrollOffset: r
705
698
  },
706
699
  n
707
700
  ),
708
- outAnimation: gt(
709
- { galleryRect: o, detailRect: s, scrollOffset: i },
701
+ outAnimation: ut(
702
+ { galleryRect: o, detailRect: a, scrollOffset: r },
710
703
  t
711
704
  )
712
705
  } : {
713
- inAnimation: ft(
714
- { galleryRect: o, detailRect: s, scrollOffset: i },
706
+ inAnimation: gt(
707
+ { galleryRect: o, detailRect: a, scrollOffset: r },
715
708
  n
716
709
  ),
717
- outAnimation: $t(
710
+ outAnimation: ft(
718
711
  {
719
- detailRect: s,
712
+ detailRect: a,
720
713
  galleryRect: o,
721
714
  pageRect: t.getBoundingClientRect(),
722
- scrollOffset: i
715
+ scrollOffset: r
723
716
  },
724
717
  t
725
718
  )
726
719
  };
727
720
  }
728
- const Wt = (t = {}) => {
729
- var c, e;
721
+ const Ut = (t = {}) => {
722
+ var c, i;
730
723
  const n = {
731
724
  stiffness: ((c = t.spring) == null ? void 0 : c.stiffness) ?? 30,
732
- damping: ((e = t.spring) == null ? void 0 : e.damping) ?? 10
733
- }, i = t.timeout ?? 300;
734
- let d = null, r = null, l = null;
725
+ damping: ((i = t.spring) == null ? void 0 : i.damping) ?? 10
726
+ }, r = t.timeout ?? 300;
727
+ let d = null, s = null, l = null;
735
728
  return {
736
- in: async (o, { scrollOffset: s }) => {
737
- const a = o;
738
- return !await new Promise((g) => {
739
- d ? g(!0) : (r = g, setTimeout(() => {
740
- r = null, g(!1);
741
- }, i));
729
+ in: async (o, { scrollOffset: a }) => {
730
+ const e = o;
731
+ return !await new Promise((y) => {
732
+ d ? y(!0) : (s = y, setTimeout(() => {
733
+ s = null, y(!1);
734
+ }, r));
742
735
  }) || !d ? (d = null, {
743
736
  spring: n,
744
737
  tick: () => {
745
738
  }
746
- }) : (l = wt(d, a, s), l ? (d = null, {
739
+ }) : (l = $t(d, e, a), l ? (d = null, {
747
740
  spring: n,
748
- tick: (g) => {
749
- l && l.inAnimation(g);
741
+ tick: (y) => {
742
+ l && l.inAnimation(y);
750
743
  }
751
744
  }) : {
752
745
  spring: n,
@@ -757,134 +750,134 @@ const Wt = (t = {}) => {
757
750
  out: async (o) => ({
758
751
  spring: n,
759
752
  onStart: () => {
760
- d = o, r && (r(!0), r = null);
753
+ d = o, s && (s(!0), s = null);
761
754
  },
762
- prepare: (s) => {
763
- m(s), s.style.zIndex = "-1";
755
+ prepare: (a) => {
756
+ b(a), a.style.zIndex = "-1";
764
757
  },
765
- tick: (s) => {
766
- l && l.outAnimation(s);
758
+ tick: (a) => {
759
+ l && l.outAnimation(a);
767
760
  }
768
761
  })
769
762
  };
770
- }, v = {
763
+ }, D = {
771
764
  stiffness: 5,
772
765
  damping: 4
773
- }, Xt = (t = {}) => {
774
- var o, s;
775
- const n = t.direction ?? "up", i = {
776
- stiffness: ((o = t.spring) == null ? void 0 : o.stiffness) ?? v.stiffness,
777
- damping: ((s = t.spring) == null ? void 0 : s.damping) ?? v.damping
766
+ }, Vt = (t = {}) => {
767
+ var o, a;
768
+ const n = t.direction ?? "up", r = {
769
+ stiffness: ((o = t.spring) == null ? void 0 : o.stiffness) ?? D.stiffness,
770
+ damping: ((a = t.spring) == null ? void 0 : a.damping) ?? D.damping
778
771
  }, d = n === "up";
779
- let r = null, l = null, c = null;
780
- const e = () => {
781
- if (r === null || l === null)
772
+ let s = null, l = null, c = null;
773
+ const i = () => {
774
+ if (s === null || l === null)
782
775
  return null;
783
- const a = Math.min(r, l), p = window.innerHeight;
784
- return Math.max(a, p);
776
+ const e = Math.min(s, l), g = window.innerHeight;
777
+ return Math.max(e, g);
785
778
  };
786
779
  return {
787
- in: (a) => (l = a.offsetHeight, r !== null && (c = e()), {
788
- spring: i,
780
+ in: (e) => (l = e.offsetHeight, s !== null && (c = i()), {
781
+ spring: r,
789
782
  prepare: () => {
790
- a.style.willChange = "transform";
783
+ e.style.willChange = "transform", e.style.backfaceVisibility = "hidden", e.style.contain = "layout paint";
791
784
  },
792
- tick: (p) => {
793
- if (c === null && (c = e(), c === null))
794
- return;
795
- const g = d ? (1 - p) * c : (1 - p) * -c;
796
- a.style.transform = `translateY(${g}px)`;
785
+ tick: (g) => {
786
+ c === null && (c = i());
787
+ const y = c ?? window.innerHeight, u = d ? (1 - g) * y : (1 - g) * -y;
788
+ e.style.transform = `translate3d(0, ${u}px, 0)`;
797
789
  },
798
790
  onEnd: () => {
799
- a.style.willChange = "auto";
791
+ e.style.willChange = "auto", e.style.backfaceVisibility = "", e.style.contain = "";
800
792
  }
801
793
  }),
802
- out: (a) => ({
803
- spring: i,
794
+ out: (e, g) => ({
795
+ spring: r,
804
796
  onStart: () => {
805
- r = a.offsetHeight, l !== null && (c = e());
797
+ s = e.offsetHeight, l !== null && (c = i());
806
798
  },
807
- tick: (p) => {
808
- if (c === null && (c = e(), c === null))
809
- return;
810
- const g = d ? (1 - p) * -c : (1 - p) * c;
811
- a.style.transform = `translateY(${g}px)`;
799
+ tick: (y) => {
800
+ c === null && (c = i());
801
+ const u = c ?? window.innerHeight, p = d ? (1 - y) * -u : (1 - y) * u;
802
+ e.style.transform = `translate3d(0, ${p}px, 0)`;
812
803
  },
813
- prepare: (p) => {
814
- m(p), p.style.zIndex = d ? "-1" : "1", p.style.willChange = "transform";
804
+ prepare: (y) => {
805
+ b(y, g), y.style.zIndex = d ? "-1" : "1", y.style.willChange = "transform", y.style.backfaceVisibility = "hidden", y.style.contain = "layout paint", y.style.pointerEvents = "none";
815
806
  }
816
807
  })
817
808
  };
818
- }, F = {
809
+ }, v = {
819
810
  stiffness: 15,
820
811
  damping: 7
821
- }, zt = (t = {}) => {
822
- var r, l;
823
- const n = t.direction ?? "left", i = {
824
- stiffness: ((r = t.spring) == null ? void 0 : r.stiffness) ?? F.stiffness,
825
- damping: ((l = t.spring) == null ? void 0 : l.damping) ?? F.damping
812
+ }, Wt = (t = {}) => {
813
+ var s, l;
814
+ const n = t.direction ?? "left", r = {
815
+ stiffness: ((s = t.spring) == null ? void 0 : s.stiffness) ?? v.stiffness,
816
+ damping: ((l = t.spring) == null ? void 0 : l.damping) ?? v.damping
826
817
  }, d = n === "left";
827
818
  return {
828
819
  in: (c) => ({
829
- spring: i,
820
+ spring: r,
830
821
  prepare: () => {
831
- c.style.willChange = "transform";
832
- },
833
- tick: (e) => {
834
- const o = d ? (1 - e) * 100 : (1 - e) * -100;
835
- c.style.transform = `translateX(${o}%)`;
822
+ c.style.willChange = "transform", c.style.backfaceVisibility = "hidden", c.style.contain = "layout paint";
836
823
  },
824
+ css: (i) => ({
825
+ transform: `translate3d(${d ? (1 - i) * 100 : (1 - i) * -100}%, 0, 0)`
826
+ }),
837
827
  onEnd: () => {
838
- c.style.willChange = "auto";
828
+ c.style.willChange = "auto", c.style.backfaceVisibility = "", c.style.contain = "";
839
829
  }
840
830
  }),
841
- out: (c, e) => ({
842
- spring: i,
843
- tick: (o) => {
844
- const s = d ? (1 - o) * -100 : (1 - o) * 100;
845
- c.style.transform = `translateX(${s}%)`;
846
- },
831
+ out: (c, i) => ({
832
+ spring: r,
833
+ css: (o) => ({
834
+ transform: `translate3d(${d ? (1 - o) * -100 : (1 - o) * 100}%, 0, 0)`
835
+ }),
847
836
  prepare: (o) => {
848
- m(o, e), o.style.zIndex = d ? "-1" : "1", o.style.willChange = "transform";
837
+ b(o, i), o.style.willChange = "transform", o.style.backfaceVisibility = "hidden", o.style.contain = "layout paint", o.style.pointerEvents = "none";
849
838
  }
850
839
  })
851
840
  };
852
- }, Y = { stiffness: 17, damping: 6 }, S = 20, _ = 800, Bt = () => {
841
+ }, F = { stiffness: 17, damping: 6 }, S = 20, T = 800, Ht = () => {
853
842
  let t, n = null;
854
843
  return {
855
- in: (i) => ({
856
- spring: Y,
857
- prepare: (d) => {
858
- d.style.willChange = "transform", d.style.transform = `perspective(${_}px) rotateY(${S}deg) translateX(-100%)`;
844
+ in: (r) => ({
845
+ spring: F,
846
+ prepare: () => {
847
+ r.style.willChange = "transform", r.style.backfaceVisibility = "hidden", r.style.contain = "layout paint", r.style.transform = `perspective(${T}px) rotateY(${S}deg) translate3d(-100%, 0, 0)`;
859
848
  },
860
849
  wait: async () => {
861
850
  t && await t;
862
851
  },
863
- tick: (d) => {
864
- const r = (1 - d) * S, l = -(1 - d) * 100;
865
- i.style.transform = `perspective(${_}px) rotateY(${r}deg) translateX(${l}%)`;
852
+ css: (d) => {
853
+ const s = (1 - d) * S, l = -(1 - d) * 100;
854
+ return {
855
+ transform: `perspective(${T}px) rotateY(${s}deg) translate3d(${l}%, 0, 0)`
856
+ };
866
857
  },
867
858
  onEnd: () => {
868
- i.style.transform = "", i.style.willChange = "auto";
859
+ r.style.transform = "", r.style.willChange = "auto", r.style.backfaceVisibility = "", r.style.contain = "";
869
860
  }
870
861
  }),
871
- out: (i, d) => (t = new Promise((r) => {
872
- n = r;
862
+ out: (r, d) => (t = new Promise((s) => {
863
+ n = s;
873
864
  }), {
874
- spring: Y,
875
- prepare: (r) => {
876
- m(r, d), r.style.willChange = "transform";
865
+ spring: F,
866
+ prepare: (s) => {
867
+ b(s, d), s.style.willChange = "transform", s.style.backfaceVisibility = "hidden", s.style.contain = "layout paint", s.style.pointerEvents = "none", s.style.transform = `perspective(${T}px) rotateY(0deg) translate3d(0%, 0, 0)`;
877
868
  },
878
- tick: (r) => {
879
- const l = 1 - r, c = l * S, e = l * 100;
880
- i.style.transform = `perspective(${_}px) rotateY(${-c}deg) translateX(${e}%)`;
869
+ css: (s) => {
870
+ const l = 1 - s, c = l * S, i = l * 100;
871
+ return {
872
+ transform: `perspective(${T}px) rotateY(${-c}deg) translate3d(${i}%, 0, 0)`
873
+ };
881
874
  },
882
875
  onEnd: () => {
883
- n && n(), i.style.transform = "";
876
+ n && n(), r.style.transform = "";
884
877
  }
885
878
  })
886
879
  };
887
- }, xt = { stiffness: 1, damping: 1 }, mt = { stiffness: 20, damping: 25 }, bt = "#000000", Et = "circle", O = "CURTAIN_REVEAL_OVERLAY_ID", At = {
880
+ }, wt = { stiffness: 1, damping: 1 }, xt = { stiffness: 20, damping: 25 }, bt = "#000000", mt = "circle", Y = "CURTAIN_REVEAL_OVERLAY_ID", Et = {
888
881
  position: "fixed",
889
882
  inset: "0",
890
883
  width: "100vw",
@@ -894,17 +887,17 @@ const Wt = (t = {}) => {
894
887
  alignItems: "center",
895
888
  justifyContent: "center",
896
889
  overflow: "hidden"
897
- }, Lt = {
890
+ }, At = {
898
891
  position: "relative",
899
892
  display: "inline-block",
900
893
  height: "5.5rem",
901
894
  overflow: "hidden"
902
- }, Ct = {
895
+ }, Lt = {
903
896
  display: "flex",
904
897
  height: "100%",
905
898
  willChange: "transform",
906
899
  transition: "transform 0.3s ease"
907
- }, Tt = {
900
+ }, Ct = {
908
901
  display: "inline-flex",
909
902
  alignItems: "center",
910
903
  justifyContent: "center",
@@ -913,104 +906,104 @@ const Wt = (t = {}) => {
913
906
  fontWeight: "900",
914
907
  letterSpacing: "0.02em",
915
908
  color: "#FFFFFF"
916
- }, kt = 0.4, k = 0.5, St = 0.2;
917
- function _t(t, n) {
909
+ }, Tt = 0.4, k = 0.5, kt = 0.2;
910
+ function St(t, n) {
918
911
  switch (t) {
919
912
  case "circle":
920
913
  return `circle(${n * 100}% at 50% 50%)`;
921
914
  case "square":
922
915
  return `inset(${(1 - n) * 50}% round ${10 * n}%)`;
923
916
  case "triangle": {
924
- const i = n * 100;
925
- return `polygon(50% ${50 - i}%, ${50 - i}% ${50 + i}%, ${50 + i}% ${50 + i}%)`;
917
+ const r = n * 100;
918
+ return `polygon(50% ${50 - r}%, ${50 - r}% ${50 + r}%, ${50 + r}% ${50 + r}%)`;
926
919
  }
927
920
  }
928
921
  }
929
- const It = (t) => t.reduce((n, i) => n + i, 0), Ht = (t = {}) => {
922
+ const _t = (t) => t.reduce((n, r) => n + r, 0), Bt = (t = {}) => {
930
923
  const {
931
924
  background: n = bt,
932
- texts: i = [],
933
- shape: d = Et,
934
- inSpring: r = mt,
935
- outSpring: l = xt,
925
+ texts: r = [],
926
+ shape: d = mt,
927
+ inSpring: s = xt,
928
+ outSpring: l = wt,
936
929
  textStyle: c = {}
937
930
  } = t;
938
931
  return {
939
- out: (e, o) => {
940
- const s = e.style.opacity;
932
+ out: (i, o) => {
933
+ const a = i.style.opacity;
941
934
  return {
942
935
  spring: l,
943
936
  from: 1,
944
937
  to: 0,
945
- prepare: (a) => {
946
- m(a, o), a.style.opacity = "1";
938
+ prepare: (e) => {
939
+ b(e, o), e.style.opacity = "1";
947
940
  },
948
- tick: (a) => {
949
- const p = Math.max(0, a - kt);
950
- e.style.opacity = String(p);
941
+ tick: (e) => {
942
+ const g = Math.max(0, e - Tt);
943
+ i.style.opacity = String(g);
951
944
  },
952
945
  onEnd: () => {
953
- e.style.opacity = s;
946
+ i.style.opacity = a;
954
947
  }
955
948
  };
956
949
  },
957
- in: (e) => {
958
- let o = null, s = null, a = null;
959
- const p = document.body.style.overflow, g = document.getElementById(
960
- O
950
+ in: (i) => {
951
+ let o = null, a = null, e = null;
952
+ const g = document.body.style.overflow, y = document.getElementById(
953
+ Y
961
954
  );
962
955
  let u = [];
963
- const y = () => {
964
- o = document.createElement("div"), o.id = O, Object.assign(o.style, At, { background: n }), document.body.appendChild(o), s = document.createElement("div"), Object.assign(s.style, Lt), o.appendChild(s), a = document.createElement("div"), Object.assign(a.style, Ct), s.appendChild(a), i.forEach((h) => {
956
+ const p = () => {
957
+ o = document.createElement("div"), o.id = Y, Object.assign(o.style, Et, { background: n }), document.body.appendChild(o), a = document.createElement("div"), Object.assign(a.style, At), o.appendChild(a), e = document.createElement("div"), Object.assign(e.style, Lt), a.appendChild(e), r.forEach((h) => {
965
958
  const f = document.createElement("div");
966
- f.textContent = h, Object.assign(f.style, Tt, c), a.appendChild(f);
967
- }), u = Array.from(a.children).map(
959
+ f.textContent = h, Object.assign(f.style, Ct, c), e.appendChild(f);
960
+ }), u = Array.from(e.children).map(
968
961
  (h) => h.getBoundingClientRect().width
969
962
  );
970
963
  };
971
964
  return {
972
- spring: r,
965
+ spring: s,
973
966
  from: 0,
974
967
  to: 1,
975
968
  prepare: () => {
976
- document.body.style.overflow = "hidden", e.style.opacity = "1", g == null || g.remove(), y(), o && s && (o.style.clipPath = "none", s.style.transform = "scale(1)");
969
+ document.body.style.overflow = "hidden", i.style.opacity = "1", y == null || y.remove(), p(), o && a && (o.style.clipPath = "none", a.style.transform = "scale(1)");
977
970
  },
978
971
  tick: (h) => {
979
- if (!(!o || !s || !a)) {
980
- if (h <= k && i.length > 0) {
972
+ if (!(!o || !a || !e)) {
973
+ if (h <= k && r.length > 0) {
981
974
  const f = h / k, $ = Math.min(
982
- Math.floor(f * i.length),
983
- i.length - 1
984
- ), x = u[$] ?? 0, w = It(u.slice(0, $));
985
- s.style.width = `${x}px`, a.style.transform = `translateX(-${w}px)`;
975
+ Math.floor(f * r.length),
976
+ r.length - 1
977
+ ), w = u[$] ?? 0, x = _t(u.slice(0, $));
978
+ a.style.width = `${w}px`, e.style.transform = `translateX(-${x}px)`;
986
979
  }
987
980
  if (h > k) {
988
981
  const $ = 1 - Math.max(
989
982
  0,
990
- Math.min(1, (h - k) / St)
983
+ Math.min(1, (h - k) / kt)
991
984
  );
992
- o.style.clipPath = _t(d, $), s.style.transform = `scale(${$})`;
985
+ o.style.clipPath = St(d, $), a.style.transform = `scale(${$})`;
993
986
  }
994
987
  }
995
988
  },
996
989
  onEnd: () => {
997
- o == null || o.remove(), o = s = a = null, document.body.style.overflow = p;
990
+ o == null || o.remove(), o = a = e = null, document.body.style.overflow = g;
998
991
  }
999
992
  };
1000
993
  }
1001
994
  };
1002
995
  };
1003
996
  export {
1004
- Dt as blind,
1005
- Ht as curtainReveal,
1006
- vt as drill,
1007
- Ft as fade,
1008
- Yt as film,
1009
- Ot as hero,
1010
- Ut as instagram,
1011
- Vt as jaemin,
1012
- Wt as pinterest,
1013
- Xt as scroll,
1014
- zt as slide,
1015
- Bt as strip
997
+ It as blind,
998
+ Bt as curtainReveal,
999
+ Dt as drill,
1000
+ vt as fade,
1001
+ Ft as film,
1002
+ Yt as hero,
1003
+ Ot as instagram,
1004
+ Mt as jaemin,
1005
+ Ut as pinterest,
1006
+ Vt as scroll,
1007
+ Wt as slide,
1008
+ Ht as strip
1016
1009
  };