@cliquify.me/transitions 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +524 -398
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/presentations/circle.d.ts +1 -0
- package/dist/presentations/custom-clock-wipe.d.ts +8 -0
- package/dist/presentations/custom-slide.d.ts +7 -0
- package/dist/presentations/custom-wipe.d.ts +7 -0
- package/dist/presentations/index.d.ts +3 -0
- package/dist/transition-presentations.d.ts +2 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { interpolate as
|
|
2
|
-
import { jsx as o, Fragment as
|
|
3
|
-
import
|
|
4
|
-
import { getBoundingBox as
|
|
5
|
-
import { makeStar as
|
|
6
|
-
const
|
|
1
|
+
import { interpolate as z, spring as mt, measureSpring as ft, AbsoluteFill as u, Internals as tt, Sequence as L, useVideoConfig as dt, useCurrentFrame as ht, Freeze as Y, random as B } from "remotion";
|
|
2
|
+
import { jsx as o, Fragment as et, jsxs as A } from "react/jsx-runtime";
|
|
3
|
+
import M, { useMemo as h, Children as pt, useState as X } from "react";
|
|
4
|
+
import { getBoundingBox as gt, translatePath as _ } from "@remotion/paths";
|
|
5
|
+
import { makeStar as yt, makePie as nt } from "@remotion/shapes";
|
|
6
|
+
const w = (n) => ({
|
|
7
7
|
getDurationInFrames: () => n.durationInFrames,
|
|
8
|
-
getProgress: ({ frame:
|
|
8
|
+
getProgress: ({ frame: e }) => z(e, [0, n.durationInFrames], [0, 1], {
|
|
9
9
|
easing: n.easing,
|
|
10
10
|
extrapolateLeft: "clamp",
|
|
11
11
|
extrapolateRight: "clamp"
|
|
12
12
|
})
|
|
13
|
-
}),
|
|
14
|
-
getDurationInFrames: ({ fps:
|
|
13
|
+
}), ue = (n = {}) => ({
|
|
14
|
+
getDurationInFrames: ({ fps: e }) => n.durationInFrames ? n.durationInFrames : ft({
|
|
15
15
|
config: n.config,
|
|
16
16
|
threshold: n.durationRestThreshold,
|
|
17
|
-
fps:
|
|
17
|
+
fps: e
|
|
18
18
|
}),
|
|
19
|
-
getProgress: ({ fps:
|
|
20
|
-
const r = n.reverse ? 0 : 1,
|
|
21
|
-
return
|
|
22
|
-
fps:
|
|
23
|
-
frame:
|
|
19
|
+
getProgress: ({ fps: e, frame: t }) => {
|
|
20
|
+
const r = n.reverse ? 0 : 1, a = n.reverse ? 1 : 0;
|
|
21
|
+
return mt({
|
|
22
|
+
fps: e,
|
|
23
|
+
frame: t,
|
|
24
24
|
to: r,
|
|
25
|
-
from:
|
|
25
|
+
from: a,
|
|
26
26
|
config: n.config,
|
|
27
27
|
durationInFrames: n.durationInFrames,
|
|
28
28
|
durationRestThreshold: n.durationRestThreshold,
|
|
@@ -31,7 +31,7 @@ const T = (n) => ({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
typeof window < "u" && (window.remotion_renderReady = !1, window.remotion_delayRenderTimeouts || (window.remotion_delayRenderTimeouts = {}), window.remotion_delayRenderHandles = []);
|
|
34
|
-
var $
|
|
34
|
+
var $t = {
|
|
35
35
|
"style.transformOrigin": {
|
|
36
36
|
type: "transform-origin",
|
|
37
37
|
step: 1,
|
|
@@ -67,7 +67,7 @@ var $e = {
|
|
|
67
67
|
description: "Opacity",
|
|
68
68
|
hiddenFromList: !1
|
|
69
69
|
}
|
|
70
|
-
},
|
|
70
|
+
}, bt = {
|
|
71
71
|
"style.borderWidth": {
|
|
72
72
|
type: "number",
|
|
73
73
|
default: void 0,
|
|
@@ -98,7 +98,7 @@ var $e = {
|
|
|
98
98
|
default: void 0,
|
|
99
99
|
description: "Border color"
|
|
100
100
|
}
|
|
101
|
-
},
|
|
101
|
+
}, wt = {
|
|
102
102
|
"style.borderRadius": {
|
|
103
103
|
type: "number",
|
|
104
104
|
default: 0,
|
|
@@ -140,13 +140,13 @@ var $e = {
|
|
|
140
140
|
description: "Bottom left radius",
|
|
141
141
|
hiddenFromList: !1
|
|
142
142
|
}
|
|
143
|
-
},
|
|
143
|
+
}, Tt = {
|
|
144
144
|
"style.backgroundColor": {
|
|
145
145
|
type: "color",
|
|
146
146
|
default: "transparent",
|
|
147
147
|
description: "Color"
|
|
148
148
|
}
|
|
149
|
-
},
|
|
149
|
+
}, St = {
|
|
150
150
|
premountFor: {
|
|
151
151
|
type: "number",
|
|
152
152
|
default: 0,
|
|
@@ -164,9 +164,9 @@ var $e = {
|
|
|
164
164
|
hiddenFromList: !0,
|
|
165
165
|
keyframable: !1
|
|
166
166
|
}
|
|
167
|
-
},
|
|
168
|
-
...
|
|
169
|
-
},
|
|
167
|
+
}, Ft = {
|
|
168
|
+
...St
|
|
169
|
+
}, vt = {
|
|
170
170
|
cropLeft: {
|
|
171
171
|
type: "number",
|
|
172
172
|
default: 0,
|
|
@@ -207,66 +207,66 @@ var $e = {
|
|
|
207
207
|
hiddenFromList: !1,
|
|
208
208
|
keyframable: !0
|
|
209
209
|
}
|
|
210
|
-
},
|
|
211
|
-
...
|
|
212
|
-
...$
|
|
213
|
-
...
|
|
214
|
-
...
|
|
215
|
-
...
|
|
216
|
-
...
|
|
217
|
-
},
|
|
210
|
+
}, xt = vt, It = {
|
|
211
|
+
...xt,
|
|
212
|
+
...$t,
|
|
213
|
+
...Tt,
|
|
214
|
+
...bt,
|
|
215
|
+
...wt,
|
|
216
|
+
...Ft
|
|
217
|
+
}, kt = {
|
|
218
218
|
layout: {
|
|
219
219
|
type: "enum",
|
|
220
220
|
default: "absolute-fill",
|
|
221
221
|
description: "Layout",
|
|
222
222
|
variants: {
|
|
223
|
-
"absolute-fill":
|
|
223
|
+
"absolute-fill": It,
|
|
224
224
|
none: {}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
({
|
|
229
|
-
...
|
|
229
|
+
...kt.layout
|
|
230
230
|
});
|
|
231
|
-
function
|
|
232
|
-
const { allowFloats:
|
|
231
|
+
function Et(n, e) {
|
|
232
|
+
const { allowFloats: t, component: r } = e;
|
|
233
233
|
if (typeof n > "u")
|
|
234
234
|
throw new Error(`The "durationInFrames" prop ${r} is missing.`);
|
|
235
235
|
if (typeof n != "number")
|
|
236
236
|
throw new Error(`The "durationInFrames" prop ${r} must be a number, but you passed a value of type ${typeof n}`);
|
|
237
237
|
if (n <= 0)
|
|
238
238
|
throw new TypeError(`The "durationInFrames" prop ${r} must be positive, but got ${n}.`);
|
|
239
|
-
if (!
|
|
239
|
+
if (!t && n % 1 !== 0)
|
|
240
240
|
throw new TypeError(`The "durationInFrames" prop ${r} must be an integer, but got ${n}.`);
|
|
241
241
|
if (!Number.isFinite(n))
|
|
242
242
|
throw new TypeError(`The "durationInFrames" prop ${r} must be finite, but got ${n}.`);
|
|
243
243
|
}
|
|
244
|
-
var
|
|
245
|
-
validateDurationInFrames:
|
|
244
|
+
var Ct = {
|
|
245
|
+
validateDurationInFrames: Et
|
|
246
246
|
};
|
|
247
|
-
const
|
|
248
|
-
const
|
|
247
|
+
const rt = M.createContext(null), ot = M.createContext(null), Q = ({ presentationProgress: n, children: e }) => {
|
|
248
|
+
const t = h(() => ({
|
|
249
249
|
enteringProgress: n
|
|
250
250
|
}), [n]);
|
|
251
|
-
return /* @__PURE__ */ o(
|
|
252
|
-
},
|
|
253
|
-
const
|
|
251
|
+
return /* @__PURE__ */ o(rt.Provider, { value: t, children: e });
|
|
252
|
+
}, Z = ({ presentationProgress: n, children: e }) => {
|
|
253
|
+
const t = h(() => ({
|
|
254
254
|
exitingProgress: n
|
|
255
255
|
}), [n]);
|
|
256
|
-
return /* @__PURE__ */ o(
|
|
257
|
-
},
|
|
258
|
-
|
|
256
|
+
return /* @__PURE__ */ o(ot.Provider, { value: t, children: e });
|
|
257
|
+
}, it = (n) => M.Children.toArray(n).reduce((t, r) => r.type === M.Fragment ? t.concat(
|
|
258
|
+
it(
|
|
259
259
|
r.props.children
|
|
260
260
|
)
|
|
261
|
-
) : (
|
|
261
|
+
) : (t.push(r), t), []), qt = 0.01, Rt = ({
|
|
262
262
|
children: n,
|
|
263
|
-
presentationProgress:
|
|
264
|
-
presentationDirection:
|
|
265
|
-
passedProps: { direction: r = "from-left", enterStyle:
|
|
263
|
+
presentationProgress: e,
|
|
264
|
+
presentationDirection: t,
|
|
265
|
+
passedProps: { direction: r = "from-left", enterStyle: a, exitStyle: c }
|
|
266
266
|
}) => {
|
|
267
|
-
const
|
|
268
|
-
const i =
|
|
269
|
-
if (
|
|
267
|
+
const l = h(() => {
|
|
268
|
+
const i = e === 1 ? e * 100 : e * 100 - qt;
|
|
269
|
+
if (t === "exiting")
|
|
270
270
|
switch (r) {
|
|
271
271
|
case "from-left":
|
|
272
272
|
return {
|
|
@@ -274,7 +274,7 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
274
274
|
};
|
|
275
275
|
case "from-right":
|
|
276
276
|
return {
|
|
277
|
-
transform: `translateX(${-
|
|
277
|
+
transform: `translateX(${-e * 100}%)`
|
|
278
278
|
};
|
|
279
279
|
case "from-top":
|
|
280
280
|
return {
|
|
@@ -282,7 +282,7 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
282
282
|
};
|
|
283
283
|
case "from-bottom":
|
|
284
284
|
return {
|
|
285
|
-
transform: `translateY(${-
|
|
285
|
+
transform: `translateY(${-e * 100}%)`
|
|
286
286
|
};
|
|
287
287
|
default:
|
|
288
288
|
throw new Error(`Invalid direction: ${r}`);
|
|
@@ -290,7 +290,7 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
290
290
|
switch (r) {
|
|
291
291
|
case "from-left":
|
|
292
292
|
return {
|
|
293
|
-
transform: `translateX(${-100 +
|
|
293
|
+
transform: `translateX(${-100 + e * 100}%)`
|
|
294
294
|
};
|
|
295
295
|
case "from-right":
|
|
296
296
|
return {
|
|
@@ -298,7 +298,7 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
298
298
|
};
|
|
299
299
|
case "from-top":
|
|
300
300
|
return {
|
|
301
|
-
transform: `translateY(${-100 +
|
|
301
|
+
transform: `translateY(${-100 + e * 100}%)`
|
|
302
302
|
};
|
|
303
303
|
case "from-bottom":
|
|
304
304
|
return {
|
|
@@ -307,132 +307,132 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
307
307
|
default:
|
|
308
308
|
throw new Error(`Invalid direction: ${r}`);
|
|
309
309
|
}
|
|
310
|
-
}, [
|
|
310
|
+
}, [t, e, r]), s = h(() => ({
|
|
311
311
|
width: "100%",
|
|
312
312
|
height: "100%",
|
|
313
313
|
justifyContent: "center",
|
|
314
314
|
alignItems: "center",
|
|
315
|
-
...
|
|
316
|
-
...
|
|
317
|
-
}), [
|
|
318
|
-
return /* @__PURE__ */ o(
|
|
315
|
+
...l,
|
|
316
|
+
...t === "entering" ? a : c
|
|
317
|
+
}), [l, a, c, t]);
|
|
318
|
+
return /* @__PURE__ */ o(u, { style: s, children: n });
|
|
319
319
|
}, N = (n) => ({
|
|
320
|
-
component:
|
|
320
|
+
component: Rt,
|
|
321
321
|
props: {}
|
|
322
|
-
}),
|
|
322
|
+
}), Mt = Ct.validateDurationInFrames, W = function(n) {
|
|
323
323
|
return null;
|
|
324
|
-
},
|
|
324
|
+
}, j = ({ children: n }) => /* @__PURE__ */ o(et, { children: n }), Lt = ({
|
|
325
325
|
children: n
|
|
326
326
|
}) => {
|
|
327
|
-
const { fps:
|
|
328
|
-
let
|
|
329
|
-
const
|
|
330
|
-
return
|
|
331
|
-
const
|
|
332
|
-
if (typeof
|
|
333
|
-
if (
|
|
327
|
+
const { fps: e } = dt(), t = ht(), r = h(() => {
|
|
328
|
+
let a = 0, c = 0;
|
|
329
|
+
const l = it(n);
|
|
330
|
+
return pt.map(l, (s, i) => {
|
|
331
|
+
const m = s;
|
|
332
|
+
if (typeof m == "string") {
|
|
333
|
+
if (m.trim() === "")
|
|
334
334
|
return null;
|
|
335
335
|
throw new TypeError(
|
|
336
|
-
`The <TransitionSeries /> component only accepts a list of <TransitionSeries.Sequence /> components as its children, but you passed a string "${
|
|
336
|
+
`The <TransitionSeries /> component only accepts a list of <TransitionSeries.Sequence /> components as its children, but you passed a string "${m}"`
|
|
337
337
|
);
|
|
338
338
|
}
|
|
339
|
-
const d =
|
|
340
|
-
if (
|
|
341
|
-
if (
|
|
339
|
+
const d = l[i - 1], y = l[i + 1], f = typeof d == "string" || typeof d > "u" ? null : d.type === W ? d : null, g = typeof y == "string" || typeof y > "u" ? null : y.type === W ? y : null, V = typeof d == "string" || typeof d > "u" ? !1 : d.type === W;
|
|
340
|
+
if (m.type === W) {
|
|
341
|
+
if (V)
|
|
342
342
|
throw new TypeError(
|
|
343
343
|
`A <TransitionSeries.Transition /> component must not be followed by another <TransitionSeries.Transition /> component (nth children = ${i - 1} and ${i})`
|
|
344
344
|
);
|
|
345
345
|
return null;
|
|
346
346
|
}
|
|
347
|
-
if (
|
|
347
|
+
if (m.type !== j)
|
|
348
348
|
throw new TypeError(
|
|
349
|
-
`The <TransitionSeries /> component only accepts a list of <TransitionSeries.Sequence /> and <TransitionSeries.Transition /> components as its children, but got ${
|
|
349
|
+
`The <TransitionSeries /> component only accepts a list of <TransitionSeries.Sequence /> and <TransitionSeries.Transition /> components as its children, but got ${m} instead`
|
|
350
350
|
);
|
|
351
|
-
const
|
|
352
|
-
if (!(
|
|
351
|
+
const k = m, q = `index = ${i}, duration = ${k.props.durationInFrames}`;
|
|
352
|
+
if (!(k != null && k.props.children))
|
|
353
353
|
throw new TypeError(
|
|
354
|
-
`A <TransitionSeries.Sequence /> component (${
|
|
354
|
+
`A <TransitionSeries.Sequence /> component (${q}) was detected to not have any children. Delete it to fix this error.`
|
|
355
355
|
);
|
|
356
|
-
const
|
|
357
|
-
durationInFrames:
|
|
358
|
-
children:
|
|
356
|
+
const b = k.props.durationInFrames, {
|
|
357
|
+
durationInFrames: T,
|
|
358
|
+
children: oe,
|
|
359
359
|
...F
|
|
360
|
-
} =
|
|
361
|
-
|
|
360
|
+
} = k.props;
|
|
361
|
+
Mt(b, {
|
|
362
362
|
component: "of a <TransitionSeries.Sequence /> component",
|
|
363
363
|
allowFloats: !0
|
|
364
364
|
});
|
|
365
|
-
const
|
|
366
|
-
if (Number.isNaN(
|
|
365
|
+
const E = k.props.offset ?? 0;
|
|
366
|
+
if (Number.isNaN(E))
|
|
367
367
|
throw new TypeError(
|
|
368
|
-
`The "offset" property of a <TransitionSeries.Sequence /> must not be NaN, but got NaN (${
|
|
368
|
+
`The "offset" property of a <TransitionSeries.Sequence /> must not be NaN, but got NaN (${q}).`
|
|
369
369
|
);
|
|
370
|
-
if (!Number.isFinite(
|
|
370
|
+
if (!Number.isFinite(E))
|
|
371
371
|
throw new TypeError(
|
|
372
|
-
`The "offset" property of a <TransitionSeries.Sequence /> must be finite, but got ${
|
|
372
|
+
`The "offset" property of a <TransitionSeries.Sequence /> must be finite, but got ${E} (${q}).`
|
|
373
373
|
);
|
|
374
|
-
if (
|
|
374
|
+
if (E % 1 !== 0)
|
|
375
375
|
throw new TypeError(
|
|
376
|
-
`The "offset" property of a <TransitionSeries.Sequence /> must be finite, but got ${
|
|
376
|
+
`The "offset" property of a <TransitionSeries.Sequence /> must be finite, but got ${E} (${q}).`
|
|
377
377
|
);
|
|
378
|
-
const
|
|
379
|
-
let
|
|
380
|
-
|
|
381
|
-
fps:
|
|
382
|
-
}),
|
|
383
|
-
let
|
|
384
|
-
|
|
385
|
-
const
|
|
386
|
-
frame:
|
|
387
|
-
fps:
|
|
388
|
-
}) : null,
|
|
389
|
-
frame:
|
|
390
|
-
fps:
|
|
391
|
-
}) : null,
|
|
392
|
-
frame:
|
|
393
|
-
fps:
|
|
378
|
+
const at = c + E;
|
|
379
|
+
let O = 0;
|
|
380
|
+
f && (O = f.props.timing.getDurationInFrames({
|
|
381
|
+
fps: e
|
|
382
|
+
}), a -= O / 2);
|
|
383
|
+
let p = at - O / 2;
|
|
384
|
+
c += b + E, p < 0 && (p = 0);
|
|
385
|
+
const P = g ? g.props.timing.getProgress({
|
|
386
|
+
frame: t - p - T + g.props.timing.getDurationInFrames({ fps: e }) / 2 + a,
|
|
387
|
+
fps: e
|
|
388
|
+
}) : null, R = f ? f.props.timing.getProgress({
|
|
389
|
+
frame: t - p,
|
|
390
|
+
fps: e
|
|
391
|
+
}) : null, st = f ? f.props.timing.getProgress({
|
|
392
|
+
frame: t - (p + T),
|
|
393
|
+
fps: e
|
|
394
394
|
}) : null;
|
|
395
|
-
if (g &&
|
|
395
|
+
if (g && b < g.props.timing.getDurationInFrames({ fps: e }) / 2)
|
|
396
396
|
throw new Error(
|
|
397
397
|
`The duration of a <TransitionSeries.Sequence /> must not be shorter than the duration of the next <TransitionSeries.Transition />. The transition is ${g.props.timing.getDurationInFrames(
|
|
398
|
-
{ fps:
|
|
399
|
-
)} frames long, but the sequence is only ${
|
|
398
|
+
{ fps: e }
|
|
399
|
+
)} frames long, but the sequence is only ${b} frames long (${q})`
|
|
400
400
|
);
|
|
401
|
-
if (
|
|
401
|
+
if (f && b < f.props.timing.getDurationInFrames({ fps: e }) / 2)
|
|
402
402
|
throw new Error(
|
|
403
|
-
`The duration of a <TransitionSeries.Sequence /> must not be shorter than the duration of the previous <TransitionSeries.Transition />. The transition is ${
|
|
404
|
-
{ fps:
|
|
405
|
-
)} frames long, but the sequence is only ${
|
|
403
|
+
`The duration of a <TransitionSeries.Sequence /> must not be shorter than the duration of the previous <TransitionSeries.Transition />. The transition is ${f.props.timing.getDurationInFrames(
|
|
404
|
+
{ fps: e }
|
|
405
|
+
)} frames long, but the sequence is only ${b} frames long (${q})`
|
|
406
406
|
);
|
|
407
|
-
if (g &&
|
|
408
|
-
const v = g.props.presentation ?? N(), x =
|
|
409
|
-
fps:
|
|
407
|
+
if (g && f && st !== null && R !== null) {
|
|
408
|
+
const v = g.props.presentation ?? N(), x = f.props.presentation ?? N(), I = f.props.timing.getDurationInFrames({
|
|
409
|
+
fps: e
|
|
410
410
|
}), S = g.props.timing.getDurationInFrames({
|
|
411
|
-
fps:
|
|
412
|
-
}),
|
|
413
|
-
frame:
|
|
414
|
-
fps:
|
|
415
|
-
}),
|
|
411
|
+
fps: e
|
|
412
|
+
}), C = v.component, U = x.component, H = t < +Math.floor(p) + I / 2, J = t > Math.floor(p) + Math.floor(T) + I / 2, lt = J ? Math.floor(p) + Math.floor(T) + Math.floor(S / 2) : Math.floor(p), K = H ? Math.floor(p) : Math.floor(p) + I / 2, G = g.props.timing.getProgress({
|
|
413
|
+
frame: t - (K + T - S / 2),
|
|
414
|
+
fps: e
|
|
415
|
+
}), ct = t > p, ut = t < p + T + S / 2 + I / 2;
|
|
416
416
|
return /* @__PURE__ */ o(
|
|
417
417
|
Y,
|
|
418
418
|
{
|
|
419
|
-
active:
|
|
420
|
-
frame:
|
|
419
|
+
active: ut && ct && (H || J),
|
|
420
|
+
frame: lt,
|
|
421
421
|
children: /* @__PURE__ */ o(
|
|
422
|
-
|
|
422
|
+
L,
|
|
423
423
|
{
|
|
424
|
-
from:
|
|
425
|
-
durationInFrames:
|
|
424
|
+
from: K,
|
|
425
|
+
durationInFrames: b + S / 2,
|
|
426
426
|
...F,
|
|
427
427
|
name: F.name || "<TS.Sequence>",
|
|
428
428
|
children: /* @__PURE__ */ o(
|
|
429
|
-
|
|
429
|
+
C,
|
|
430
430
|
{
|
|
431
431
|
passedProps: v.props ?? {},
|
|
432
432
|
presentationDirection: "exiting",
|
|
433
|
-
presentationProgress:
|
|
433
|
+
presentationProgress: G,
|
|
434
434
|
presentationDurationInFrames: g.props.timing.getDurationInFrames(
|
|
435
|
-
{ fps:
|
|
435
|
+
{ fps: e }
|
|
436
436
|
),
|
|
437
437
|
onElementImage: () => {
|
|
438
438
|
},
|
|
@@ -440,17 +440,17 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
440
440
|
},
|
|
441
441
|
bothEnteringAndExiting: !1,
|
|
442
442
|
children: /* @__PURE__ */ o(
|
|
443
|
-
|
|
443
|
+
Z,
|
|
444
444
|
{
|
|
445
|
-
presentationProgress:
|
|
445
|
+
presentationProgress: G,
|
|
446
446
|
children: /* @__PURE__ */ o(
|
|
447
447
|
U,
|
|
448
448
|
{
|
|
449
449
|
passedProps: x.props ?? {},
|
|
450
450
|
presentationDirection: "entering",
|
|
451
|
-
presentationProgress:
|
|
452
|
-
presentationDurationInFrames:
|
|
453
|
-
{ fps:
|
|
451
|
+
presentationProgress: R,
|
|
452
|
+
presentationDurationInFrames: f.props.timing.getDurationInFrames(
|
|
453
|
+
{ fps: e }
|
|
454
454
|
),
|
|
455
455
|
onElementImage: () => {
|
|
456
456
|
},
|
|
@@ -458,10 +458,10 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
458
458
|
},
|
|
459
459
|
bothEnteringAndExiting: !1,
|
|
460
460
|
children: /* @__PURE__ */ o(
|
|
461
|
-
|
|
461
|
+
Q,
|
|
462
462
|
{
|
|
463
|
-
presentationProgress:
|
|
464
|
-
children:
|
|
463
|
+
presentationProgress: R,
|
|
464
|
+
children: s
|
|
465
465
|
}
|
|
466
466
|
)
|
|
467
467
|
}
|
|
@@ -477,18 +477,18 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
477
477
|
i
|
|
478
478
|
);
|
|
479
479
|
}
|
|
480
|
-
if (
|
|
481
|
-
const v =
|
|
480
|
+
if (R !== null && f) {
|
|
481
|
+
const v = f.props.timing.getDurationInFrames({ fps: e }) / 2, x = f.props.presentation ?? N(), I = x.component, S = t < p + v, C = S ? Math.floor(p) : Math.floor(p) + v, U = t > C;
|
|
482
482
|
return /* @__PURE__ */ o(
|
|
483
483
|
Y,
|
|
484
484
|
{
|
|
485
485
|
active: U && S,
|
|
486
|
-
frame:
|
|
486
|
+
frame: C,
|
|
487
487
|
children: /* @__PURE__ */ o(
|
|
488
|
-
|
|
488
|
+
L,
|
|
489
489
|
{
|
|
490
|
-
from:
|
|
491
|
-
durationInFrames:
|
|
490
|
+
from: C,
|
|
491
|
+
durationInFrames: b,
|
|
492
492
|
...F,
|
|
493
493
|
name: F.name || "<TS.Sequence>",
|
|
494
494
|
children: /* @__PURE__ */ o(
|
|
@@ -496,9 +496,9 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
496
496
|
{
|
|
497
497
|
passedProps: x.props ?? {},
|
|
498
498
|
presentationDirection: "entering",
|
|
499
|
-
presentationProgress:
|
|
500
|
-
presentationDurationInFrames:
|
|
501
|
-
{ fps:
|
|
499
|
+
presentationProgress: R,
|
|
500
|
+
presentationDurationInFrames: f.props.timing.getDurationInFrames(
|
|
501
|
+
{ fps: e }
|
|
502
502
|
),
|
|
503
503
|
onElementImage: () => {
|
|
504
504
|
},
|
|
@@ -506,10 +506,10 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
506
506
|
},
|
|
507
507
|
bothEnteringAndExiting: !1,
|
|
508
508
|
children: /* @__PURE__ */ o(
|
|
509
|
-
|
|
509
|
+
Q,
|
|
510
510
|
{
|
|
511
|
-
presentationProgress:
|
|
512
|
-
children:
|
|
511
|
+
presentationProgress: R,
|
|
512
|
+
children: s
|
|
513
513
|
}
|
|
514
514
|
)
|
|
515
515
|
}
|
|
@@ -521,18 +521,18 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
521
521
|
i
|
|
522
522
|
);
|
|
523
523
|
}
|
|
524
|
-
if (
|
|
525
|
-
const v = g.props.timing.getDurationInFrames({ fps:
|
|
524
|
+
if (P !== null && g) {
|
|
525
|
+
const v = g.props.timing.getDurationInFrames({ fps: e }) / 2, x = g.props.presentation ?? N(), I = x.component, S = t > Math.floor(T) + Math.floor(p), C = t < Math.floor(T) + Math.floor(p) + v;
|
|
526
526
|
return /* @__PURE__ */ o(
|
|
527
527
|
Y,
|
|
528
528
|
{
|
|
529
|
-
active:
|
|
530
|
-
frame: Math.floor(
|
|
529
|
+
active: C && S,
|
|
530
|
+
frame: Math.floor(T),
|
|
531
531
|
children: /* @__PURE__ */ o(
|
|
532
|
-
|
|
532
|
+
L,
|
|
533
533
|
{
|
|
534
|
-
from: Math.floor(
|
|
535
|
-
durationInFrames:
|
|
534
|
+
from: Math.floor(p),
|
|
535
|
+
durationInFrames: b + v,
|
|
536
536
|
...F,
|
|
537
537
|
name: F.name || "<TS.Sequence>",
|
|
538
538
|
children: /* @__PURE__ */ o(
|
|
@@ -540,9 +540,9 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
540
540
|
{
|
|
541
541
|
passedProps: x.props ?? {},
|
|
542
542
|
presentationDirection: "exiting",
|
|
543
|
-
presentationProgress:
|
|
543
|
+
presentationProgress: P,
|
|
544
544
|
presentationDurationInFrames: g.props.timing.getDurationInFrames(
|
|
545
|
-
{ fps:
|
|
545
|
+
{ fps: e }
|
|
546
546
|
),
|
|
547
547
|
onElementImage: () => {
|
|
548
548
|
},
|
|
@@ -550,10 +550,10 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
550
550
|
},
|
|
551
551
|
bothEnteringAndExiting: !1,
|
|
552
552
|
children: /* @__PURE__ */ o(
|
|
553
|
-
|
|
553
|
+
Z,
|
|
554
554
|
{
|
|
555
|
-
presentationProgress:
|
|
556
|
-
children:
|
|
555
|
+
presentationProgress: P,
|
|
556
|
+
children: s
|
|
557
557
|
}
|
|
558
558
|
)
|
|
559
559
|
}
|
|
@@ -566,157 +566,276 @@ const ne = C.createContext(null), re = C.createContext(null), K = ({ presentatio
|
|
|
566
566
|
);
|
|
567
567
|
}
|
|
568
568
|
return /* @__PURE__ */ o(
|
|
569
|
-
|
|
569
|
+
L,
|
|
570
570
|
{
|
|
571
|
-
from: Math.floor(
|
|
572
|
-
durationInFrames:
|
|
571
|
+
from: Math.floor(p),
|
|
572
|
+
durationInFrames: b,
|
|
573
573
|
...F,
|
|
574
574
|
name: F.name || "<TS.Sequence>",
|
|
575
|
-
children:
|
|
575
|
+
children: s
|
|
576
576
|
},
|
|
577
577
|
i
|
|
578
578
|
);
|
|
579
579
|
});
|
|
580
|
-
}, [n,
|
|
581
|
-
return /* @__PURE__ */ o(
|
|
582
|
-
},
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
const
|
|
588
|
-
const n =
|
|
589
|
-
return !n && !
|
|
580
|
+
}, [n, e, t]);
|
|
581
|
+
return /* @__PURE__ */ o(et, { children: r });
|
|
582
|
+
}, $ = ({ children: n, name: e, layout: t, ...r }) => /* @__PURE__ */ o(L, { name: e ?? "<TransitionSeries>", layout: t ?? "absolute-fill", ...r, children: /* @__PURE__ */ o(Lt, { children: n }) });
|
|
583
|
+
$.Sequence = j;
|
|
584
|
+
$.Transition = W;
|
|
585
|
+
tt.addSequenceStackTraces($);
|
|
586
|
+
tt.addSequenceStackTraces(j);
|
|
587
|
+
const me = () => {
|
|
588
|
+
const n = M.useContext(rt), e = M.useContext(ot);
|
|
589
|
+
return !n && !e ? {
|
|
590
590
|
isInTransitionSeries: !1,
|
|
591
591
|
entering: 1,
|
|
592
592
|
exiting: 0
|
|
593
593
|
} : {
|
|
594
594
|
isInTransitionSeries: !0,
|
|
595
595
|
entering: (n == null ? void 0 : n.enteringProgress) ?? 1,
|
|
596
|
-
exiting: (
|
|
596
|
+
exiting: (e == null ? void 0 : e.exitingProgress) ?? 0
|
|
597
597
|
};
|
|
598
|
-
},
|
|
598
|
+
}, Wt = ({
|
|
599
599
|
children: n,
|
|
600
|
-
presentationDirection:
|
|
601
|
-
presentationProgress:
|
|
600
|
+
presentationDirection: e,
|
|
601
|
+
presentationProgress: t,
|
|
602
602
|
passedProps: r
|
|
603
603
|
}) => {
|
|
604
|
-
const
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
), [a] = A(() => String(B(null))), i = h(() => ({
|
|
604
|
+
const { width: a, height: c, direction: l = "center" } = r;
|
|
605
|
+
let s = a / 2, i = c / 2, m = Math.hypot(a / 2, c / 2);
|
|
606
|
+
l === "from-left" ? (s = 0, i = c / 2, m = Math.hypot(a, c / 2)) : l === "from-right" ? (s = a, i = c / 2, m = Math.hypot(a, c / 2)) : l === "from-top" ? (s = a / 2, i = 0, m = Math.hypot(a / 2, c)) : l === "from-bottom" && (s = a / 2, i = c, m = Math.hypot(a / 2, c));
|
|
607
|
+
const d = m * t, y = Bt(s, i, d), [f] = X(() => String(B(null))), g = h(() => ({
|
|
609
608
|
width: "100%",
|
|
610
609
|
height: "100%",
|
|
611
|
-
clipPath:
|
|
612
|
-
}), [
|
|
613
|
-
return /* @__PURE__ */
|
|
614
|
-
/* @__PURE__ */ o(
|
|
615
|
-
|
|
610
|
+
clipPath: e === "exiting" ? void 0 : `url(#${f})`
|
|
611
|
+
}), [f, e]);
|
|
612
|
+
return /* @__PURE__ */ A(u, { children: [
|
|
613
|
+
/* @__PURE__ */ o(u, { style: g, children: n }),
|
|
614
|
+
e === "exiting" ? null : /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o("svg", { width: r.width, height: r.height, children: /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: f, children: /* @__PURE__ */ o("path", { d: y, fill: "black" }) }) }) }) })
|
|
616
615
|
] });
|
|
617
|
-
},
|
|
618
|
-
m -${
|
|
619
|
-
a ${
|
|
620
|
-
a ${
|
|
616
|
+
}, Nt = (n) => ({ component: Wt, props: n }), Bt = (n, e, t) => `M ${n}, ${e}
|
|
617
|
+
m -${t}, 0
|
|
618
|
+
a ${t},${t} 0 1,0 ${t * 2},0
|
|
619
|
+
a ${t},${t} 0 1,0 -${t * 2},0`, At = ({
|
|
621
620
|
children: n,
|
|
622
|
-
presentationDirection:
|
|
623
|
-
presentationProgress:
|
|
621
|
+
presentationDirection: e,
|
|
622
|
+
presentationProgress: t,
|
|
624
623
|
passedProps: r
|
|
625
624
|
}) => {
|
|
626
|
-
const { width:
|
|
625
|
+
const { width: a, height: c } = r, l = a * t, s = c * t, i = a / 2 - l / 2, m = c / 2 - s / 2, [d] = X(() => String(B(null))), y = h(() => ({
|
|
627
626
|
width: "100%",
|
|
628
627
|
height: "100%",
|
|
629
|
-
clipPath:
|
|
630
|
-
}), [d,
|
|
631
|
-
return /* @__PURE__ */
|
|
632
|
-
/* @__PURE__ */ o(
|
|
633
|
-
|
|
628
|
+
clipPath: e === "exiting" ? void 0 : `url(#${d})`
|
|
629
|
+
}), [d, e]);
|
|
630
|
+
return /* @__PURE__ */ A(u, { children: [
|
|
631
|
+
/* @__PURE__ */ o(u, { style: y, children: n }),
|
|
632
|
+
e === "exiting" ? null : /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o("svg", { children: /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: d, children: /* @__PURE__ */ o(
|
|
634
633
|
"rect",
|
|
635
634
|
{
|
|
636
635
|
x: i,
|
|
637
|
-
y:
|
|
638
|
-
width:
|
|
639
|
-
height:
|
|
636
|
+
y: m,
|
|
637
|
+
width: l,
|
|
638
|
+
height: s,
|
|
640
639
|
fill: "black"
|
|
641
640
|
}
|
|
642
641
|
) }) }) }) })
|
|
643
642
|
] });
|
|
644
|
-
},
|
|
643
|
+
}, Xt = (n) => ({ component: At, props: n }), Ot = ({
|
|
645
644
|
children: n,
|
|
646
|
-
presentationDirection:
|
|
647
|
-
presentationProgress:
|
|
645
|
+
presentationDirection: e,
|
|
646
|
+
presentationProgress: t,
|
|
648
647
|
passedProps: r
|
|
649
648
|
}) => {
|
|
650
|
-
const
|
|
651
|
-
innerRadius:
|
|
652
|
-
outerRadius:
|
|
649
|
+
const a = Math.sqrt(r.width ** 2 + r.height ** 2) / 2, c = a * t, l = a * 2 * t, { path: s } = yt({
|
|
650
|
+
innerRadius: c,
|
|
651
|
+
outerRadius: l,
|
|
653
652
|
points: 5
|
|
654
|
-
}), i =
|
|
655
|
-
|
|
653
|
+
}), i = gt(s), m = _(
|
|
654
|
+
s,
|
|
656
655
|
r.width / 2 - i.width / 2,
|
|
657
656
|
r.height / 2 - i.height / 2
|
|
658
|
-
), [d] =
|
|
657
|
+
), [d] = X(() => String(B(null))), y = h(() => ({
|
|
659
658
|
width: "100%",
|
|
660
659
|
height: "100%",
|
|
661
|
-
clipPath:
|
|
662
|
-
}), [d,
|
|
663
|
-
return /* @__PURE__ */
|
|
664
|
-
/* @__PURE__ */ o(
|
|
665
|
-
|
|
660
|
+
clipPath: e === "exiting" ? void 0 : `url(#${d})`
|
|
661
|
+
}), [d, e]);
|
|
662
|
+
return /* @__PURE__ */ A(u, { children: [
|
|
663
|
+
/* @__PURE__ */ o(u, { style: y, children: n }),
|
|
664
|
+
e === "exiting" ? null : /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o("svg", { children: /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: d, children: /* @__PURE__ */ o("path", { d: m, fill: "black" }) }) }) }) })
|
|
666
665
|
] });
|
|
667
|
-
},
|
|
666
|
+
}, Pt = (n) => ({ component: Ot, props: n }), Ut = ({
|
|
668
667
|
children: n,
|
|
669
|
-
presentationDirection:
|
|
670
|
-
presentationProgress:
|
|
668
|
+
presentationDirection: e,
|
|
669
|
+
presentationProgress: t,
|
|
671
670
|
passedProps: r
|
|
672
671
|
}) => {
|
|
673
|
-
const { width:
|
|
672
|
+
const { width: a, height: c } = r, l = a * t, s = a / 2 - l / 2, [i] = X(() => String(B(null))), m = h(() => ({
|
|
674
673
|
width: "100%",
|
|
675
674
|
height: "100%",
|
|
676
|
-
clipPath:
|
|
677
|
-
}), [i,
|
|
678
|
-
return /* @__PURE__ */
|
|
679
|
-
/* @__PURE__ */ o(
|
|
680
|
-
|
|
675
|
+
clipPath: e === "exiting" ? void 0 : `url(#${i})`
|
|
676
|
+
}), [i, e]);
|
|
677
|
+
return /* @__PURE__ */ A(u, { children: [
|
|
678
|
+
/* @__PURE__ */ o(u, { style: m, children: n }),
|
|
679
|
+
e === "exiting" ? null : /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o("svg", { children: /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: i, children: /* @__PURE__ */ o(
|
|
681
680
|
"rect",
|
|
682
681
|
{
|
|
683
|
-
x:
|
|
682
|
+
x: s,
|
|
684
683
|
y: 0,
|
|
685
|
-
width:
|
|
686
|
-
height:
|
|
684
|
+
width: l,
|
|
685
|
+
height: c,
|
|
687
686
|
fill: "black"
|
|
688
687
|
}
|
|
689
688
|
) }) }) }) })
|
|
690
689
|
] });
|
|
691
|
-
},
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
690
|
+
}, Yt = (n) => ({ component: Ut, props: n }), zt = ({
|
|
691
|
+
children: n,
|
|
692
|
+
presentationDirection: e,
|
|
693
|
+
presentationProgress: t,
|
|
694
|
+
passedProps: r
|
|
695
|
+
}) => {
|
|
696
|
+
const { direction: a = "from-left" } = r, c = h(() => {
|
|
697
|
+
let l = 0, s = 0;
|
|
698
|
+
switch (a) {
|
|
699
|
+
case "from-left":
|
|
700
|
+
l = e === "entering" ? -100 + t * 100 : t * 100;
|
|
701
|
+
break;
|
|
702
|
+
case "from-right":
|
|
703
|
+
l = e === "entering" ? 100 - t * 100 : -t * 100;
|
|
704
|
+
break;
|
|
705
|
+
case "from-top":
|
|
706
|
+
s = e === "entering" ? -100 + t * 100 : t * 100;
|
|
707
|
+
break;
|
|
708
|
+
case "from-bottom":
|
|
709
|
+
s = e === "entering" ? 100 - t * 100 : -t * 100;
|
|
710
|
+
break;
|
|
711
|
+
case "top-left":
|
|
712
|
+
l = e === "entering" ? -100 + t * 100 : t * 100, s = e === "entering" ? -100 + t * 100 : t * 100;
|
|
713
|
+
break;
|
|
714
|
+
case "top-right":
|
|
715
|
+
l = e === "entering" ? 100 - t * 100 : -t * 100, s = e === "entering" ? -100 + t * 100 : t * 100;
|
|
716
|
+
break;
|
|
717
|
+
case "bottom-left":
|
|
718
|
+
l = e === "entering" ? -100 + t * 100 : t * 100, s = e === "entering" ? 100 - t * 100 : -t * 100;
|
|
719
|
+
break;
|
|
720
|
+
case "bottom-right":
|
|
721
|
+
l = e === "entering" ? 100 - t * 100 : -t * 100, s = e === "entering" ? 100 - t * 100 : -t * 100;
|
|
722
|
+
break;
|
|
723
|
+
}
|
|
724
|
+
return {
|
|
725
|
+
width: "100%",
|
|
726
|
+
height: "100%",
|
|
727
|
+
transform: `translate3d(${l}%, ${s}%, 0)`
|
|
728
|
+
};
|
|
729
|
+
}, [a, e, t]);
|
|
730
|
+
return /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o(u, { style: c, children: n }) });
|
|
731
|
+
}, _t = (n = {}) => ({
|
|
732
|
+
component: zt,
|
|
733
|
+
props: n
|
|
734
|
+
}), jt = ({
|
|
735
|
+
children: n,
|
|
736
|
+
presentationDirection: e,
|
|
737
|
+
presentationProgress: t,
|
|
738
|
+
passedProps: r
|
|
739
|
+
}) => {
|
|
740
|
+
const { direction: a = "from-left" } = r, c = h(() => {
|
|
741
|
+
if (e === "exiting")
|
|
742
|
+
return { width: "100%", height: "100%" };
|
|
743
|
+
const l = t * 100;
|
|
744
|
+
let s = "inset(0 0 0 0)";
|
|
745
|
+
switch (a) {
|
|
746
|
+
case "from-left":
|
|
747
|
+
s = `inset(0 ${100 - l}% 0 0)`;
|
|
748
|
+
break;
|
|
749
|
+
case "from-right":
|
|
750
|
+
s = `inset(0 0 0 ${100 - l}%)`;
|
|
751
|
+
break;
|
|
752
|
+
case "from-top":
|
|
753
|
+
s = `inset(0 0 ${100 - l}% 0)`;
|
|
754
|
+
break;
|
|
755
|
+
case "from-bottom":
|
|
756
|
+
s = `inset(${100 - l}% 0 0 0)`;
|
|
757
|
+
break;
|
|
758
|
+
case "top-left": {
|
|
759
|
+
const i = t * 200;
|
|
760
|
+
s = `polygon(0 0, ${i}% 0, 0 ${i}%)`;
|
|
761
|
+
break;
|
|
762
|
+
}
|
|
763
|
+
case "top-right": {
|
|
764
|
+
const i = t * 200;
|
|
765
|
+
s = `polygon(100% 0, ${100 - i}% 0, 100% ${i}%)`;
|
|
766
|
+
break;
|
|
767
|
+
}
|
|
768
|
+
case "bottom-left": {
|
|
769
|
+
const i = t * 200;
|
|
770
|
+
s = `polygon(0 100%, ${i}% 100%, 0 ${100 - i}%)`;
|
|
771
|
+
break;
|
|
772
|
+
}
|
|
773
|
+
case "bottom-right": {
|
|
774
|
+
const i = t * 200;
|
|
775
|
+
s = `polygon(100% 100%, ${100 - i}% 100%, 100% ${100 - i}%)`;
|
|
776
|
+
break;
|
|
777
|
+
}
|
|
778
|
+
default:
|
|
779
|
+
s = `inset(0 ${100 - l}% 0 0)`;
|
|
780
|
+
break;
|
|
781
|
+
}
|
|
782
|
+
return {
|
|
783
|
+
width: "100%",
|
|
784
|
+
height: "100%",
|
|
785
|
+
clipPath: s
|
|
786
|
+
};
|
|
787
|
+
}, [a, e, t]);
|
|
788
|
+
return /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o(u, { style: c, children: n }) });
|
|
789
|
+
}, Vt = (n = {}) => ({
|
|
790
|
+
component: jt,
|
|
791
|
+
props: n
|
|
792
|
+
}), Ht = ({ children: n, presentationDirection: e, presentationProgress: t, passedProps: r }) => {
|
|
793
|
+
const a = r.direction === "counter-clockwise" || r.direction === "counterclockwise", c = Math.sqrt(r.width ** 2 + r.height ** 2) / 2, { path: l } = nt({
|
|
794
|
+
radius: c,
|
|
795
|
+
progress: t,
|
|
796
|
+
counterClockwise: a
|
|
797
|
+
}), s = _(
|
|
798
|
+
l,
|
|
799
|
+
-(c * 2 - r.width) / 2,
|
|
800
|
+
-(c * 2 - r.height) / 2
|
|
801
|
+
), i = h(() => ({
|
|
802
|
+
width: "100%",
|
|
803
|
+
height: "100%",
|
|
804
|
+
clipPath: e === "exiting" ? void 0 : `path("${s}")`
|
|
805
|
+
}), [s, e]);
|
|
806
|
+
return /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o(u, { style: i, children: n }) });
|
|
807
|
+
}, Jt = (n) => ({
|
|
808
|
+
component: Ht,
|
|
809
|
+
props: n ?? { width: 1920, height: 1080 }
|
|
810
|
+
});
|
|
811
|
+
var Kt = ({ children: n, presentationDirection: e, presentationProgress: t, passedProps: r }) => {
|
|
812
|
+
const a = e === "entering", c = h(() => ({
|
|
813
|
+
opacity: a ? t : r.shouldFadeOutExitingScene ? 1 - t : 1,
|
|
814
|
+
...e === "entering" ? r.enterStyle : r.exitStyle
|
|
696
815
|
}), [
|
|
697
|
-
|
|
816
|
+
a,
|
|
698
817
|
r.enterStyle,
|
|
699
818
|
r.exitStyle,
|
|
700
819
|
r.shouldFadeOutExitingScene,
|
|
701
|
-
|
|
702
|
-
|
|
820
|
+
e,
|
|
821
|
+
t
|
|
703
822
|
]);
|
|
704
|
-
return /* @__PURE__ */ o(
|
|
705
|
-
style:
|
|
823
|
+
return /* @__PURE__ */ o(u, {
|
|
824
|
+
style: c,
|
|
706
825
|
children: n
|
|
707
826
|
});
|
|
708
|
-
},
|
|
709
|
-
component:
|
|
827
|
+
}, D = (n) => ({
|
|
828
|
+
component: Kt,
|
|
710
829
|
props: n ?? {}
|
|
711
|
-
}),
|
|
830
|
+
}), Gt = 0.01, Qt = ({
|
|
712
831
|
children: n,
|
|
713
|
-
presentationProgress:
|
|
714
|
-
presentationDirection:
|
|
715
|
-
passedProps: { direction: r = "from-left", enterStyle:
|
|
832
|
+
presentationProgress: e,
|
|
833
|
+
presentationDirection: t,
|
|
834
|
+
passedProps: { direction: r = "from-left", enterStyle: a, exitStyle: c }
|
|
716
835
|
}) => {
|
|
717
|
-
const
|
|
718
|
-
const i =
|
|
719
|
-
if (
|
|
836
|
+
const l = h(() => {
|
|
837
|
+
const i = e === 1 ? e * 100 : e * 100 - Gt;
|
|
838
|
+
if (t === "exiting")
|
|
720
839
|
switch (r) {
|
|
721
840
|
case "from-left":
|
|
722
841
|
return {
|
|
@@ -724,7 +843,7 @@ var De = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
724
843
|
};
|
|
725
844
|
case "from-right":
|
|
726
845
|
return {
|
|
727
|
-
transform: `translateX(${-
|
|
846
|
+
transform: `translateX(${-e * 100}%)`
|
|
728
847
|
};
|
|
729
848
|
case "from-top":
|
|
730
849
|
return {
|
|
@@ -732,7 +851,7 @@ var De = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
732
851
|
};
|
|
733
852
|
case "from-bottom":
|
|
734
853
|
return {
|
|
735
|
-
transform: `translateY(${-
|
|
854
|
+
transform: `translateY(${-e * 100}%)`
|
|
736
855
|
};
|
|
737
856
|
default:
|
|
738
857
|
throw new Error(`Invalid direction: ${r}`);
|
|
@@ -740,7 +859,7 @@ var De = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
740
859
|
switch (r) {
|
|
741
860
|
case "from-left":
|
|
742
861
|
return {
|
|
743
|
-
transform: `translateX(${-100 +
|
|
862
|
+
transform: `translateX(${-100 + e * 100}%)`
|
|
744
863
|
};
|
|
745
864
|
case "from-right":
|
|
746
865
|
return {
|
|
@@ -748,7 +867,7 @@ var De = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
748
867
|
};
|
|
749
868
|
case "from-top":
|
|
750
869
|
return {
|
|
751
|
-
transform: `translateY(${-100 +
|
|
870
|
+
transform: `translateY(${-100 + e * 100}%)`
|
|
752
871
|
};
|
|
753
872
|
case "from-bottom":
|
|
754
873
|
return {
|
|
@@ -757,264 +876,271 @@ var De = ({ children: n, presentationDirection: t, presentationProgress: e, pass
|
|
|
757
876
|
default:
|
|
758
877
|
throw new Error(`Invalid direction: ${r}`);
|
|
759
878
|
}
|
|
760
|
-
}, [
|
|
879
|
+
}, [t, e, r]), s = h(() => ({
|
|
761
880
|
width: "100%",
|
|
762
881
|
height: "100%",
|
|
763
882
|
justifyContent: "center",
|
|
764
883
|
alignItems: "center",
|
|
765
|
-
...
|
|
766
|
-
...
|
|
767
|
-
}), [
|
|
768
|
-
return /* @__PURE__ */ o(
|
|
769
|
-
style:
|
|
884
|
+
...l,
|
|
885
|
+
...t === "entering" ? a : c
|
|
886
|
+
}), [l, a, c, t]);
|
|
887
|
+
return /* @__PURE__ */ o(u, {
|
|
888
|
+
style: s,
|
|
770
889
|
children: n
|
|
771
890
|
});
|
|
772
|
-
},
|
|
773
|
-
component:
|
|
891
|
+
}, fe = (n) => ({
|
|
892
|
+
component: Qt,
|
|
774
893
|
props: n ?? {}
|
|
775
|
-
}),
|
|
776
|
-
const
|
|
777
|
-
switch (
|
|
894
|
+
}), Zt = (n, e) => {
|
|
895
|
+
const t = n * 100;
|
|
896
|
+
switch (e) {
|
|
778
897
|
case "from-left":
|
|
779
|
-
return `polygon(0% 0%, ${
|
|
898
|
+
return `polygon(0% 0%, ${t}% 0%, ${t}% 100%, 0% 100%)`;
|
|
780
899
|
case "from-top-left":
|
|
781
|
-
return `polygon(0% 0%, ${
|
|
900
|
+
return `polygon(0% 0%, ${t * 2}% 0%, 0% ${t * 2}%)`;
|
|
782
901
|
case "from-top":
|
|
783
|
-
return `polygon(0% 0%, 100% 0%, 100% ${
|
|
902
|
+
return `polygon(0% 0%, 100% 0%, 100% ${t}%, 0% ${t}%)`;
|
|
784
903
|
case "from-top-right":
|
|
785
|
-
return `polygon(100% 0%, ${100 -
|
|
904
|
+
return `polygon(100% 0%, ${100 - t * 2}% 0%, 100% ${t * 2}%)`;
|
|
786
905
|
case "from-right":
|
|
787
|
-
return `polygon(100% 0%, 100% 100%, ${100 -
|
|
906
|
+
return `polygon(100% 0%, 100% 100%, ${100 - t}% 100%, ${100 - t}% 0%)`;
|
|
788
907
|
case "from-bottom-right":
|
|
789
|
-
return `polygon(100% 100%, ${100 -
|
|
908
|
+
return `polygon(100% 100%, ${100 - t * 2}% 100%, 100% ${100 - t * 2}%)`;
|
|
790
909
|
case "from-bottom":
|
|
791
|
-
return `polygon(0% 100%, 100% 100%, 100% ${100 -
|
|
910
|
+
return `polygon(0% 100%, 100% 100%, 100% ${100 - t}%, 0% ${100 - t}%)`;
|
|
792
911
|
case "from-bottom-left":
|
|
793
|
-
return `polygon(0% 100%, 0% ${100 -
|
|
912
|
+
return `polygon(0% 100%, 0% ${100 - t * 2}%, ${t * 2}% 100%)`;
|
|
794
913
|
default:
|
|
795
|
-
throw new Error(`Unknown direction ${JSON.stringify(
|
|
914
|
+
throw new Error(`Unknown direction ${JSON.stringify(e)}`);
|
|
796
915
|
}
|
|
797
|
-
},
|
|
798
|
-
const
|
|
799
|
-
switch (
|
|
916
|
+
}, Dt = (n, e) => {
|
|
917
|
+
const t = n * 100;
|
|
918
|
+
switch (e) {
|
|
800
919
|
case "from-left":
|
|
801
|
-
return `polygon(100% 100%, ${100 -
|
|
920
|
+
return `polygon(100% 100%, ${100 - t}% 100%, ${100 - t}% 0%, 100% 0%)`;
|
|
802
921
|
case "from-top-left":
|
|
803
|
-
return `polygon(100% 100%, ${100 -
|
|
922
|
+
return `polygon(100% 100%, ${100 - t * 2}% 100%, 100% ${100 - t * 2}%)`;
|
|
804
923
|
case "from-top":
|
|
805
|
-
return `polygon(100% 100%, 0% 100%, 0% ${100 -
|
|
924
|
+
return `polygon(100% 100%, 0% 100%, 0% ${100 - t}%, 100% ${100 - t}%)`;
|
|
806
925
|
case "from-top-right":
|
|
807
|
-
return `polygon(0% 100%, ${
|
|
926
|
+
return `polygon(0% 100%, ${t * 2}% 100%, 0% ${100 - t * 2}%)`;
|
|
808
927
|
case "from-right":
|
|
809
|
-
return `polygon(0% 0%, ${
|
|
928
|
+
return `polygon(0% 0%, ${t}% 0%, ${t}% 100%, 0% 100%)`;
|
|
810
929
|
case "from-bottom-right":
|
|
811
|
-
return `polygon(0% 0%, ${
|
|
930
|
+
return `polygon(0% 0%, ${t * 2}% 0%, 0% ${t * 2}%)`;
|
|
812
931
|
case "from-bottom":
|
|
813
|
-
return `polygon(100% 0%, 0% 0%, 0% ${
|
|
932
|
+
return `polygon(100% 0%, 0% 0%, 0% ${t}%, 100% ${t}%)`;
|
|
814
933
|
case "from-bottom-left":
|
|
815
|
-
return `polygon(100% 0%, ${100 -
|
|
934
|
+
return `polygon(100% 0%, ${100 - t * 2}% 0%, 100% ${t * 2}%)`;
|
|
816
935
|
default:
|
|
817
|
-
throw new Error(`Unknown direction ${JSON.stringify(
|
|
936
|
+
throw new Error(`Unknown direction ${JSON.stringify(e)}`);
|
|
818
937
|
}
|
|
819
|
-
},
|
|
938
|
+
}, te = ({
|
|
820
939
|
children: n,
|
|
821
|
-
presentationProgress:
|
|
822
|
-
presentationDirection:
|
|
940
|
+
presentationProgress: e,
|
|
941
|
+
presentationDirection: t,
|
|
823
942
|
passedProps: {
|
|
824
943
|
direction: r = "from-left",
|
|
825
|
-
innerEnterStyle:
|
|
826
|
-
innerExitStyle:
|
|
827
|
-
outerEnterStyle:
|
|
828
|
-
outerExitStyle:
|
|
944
|
+
innerEnterStyle: a,
|
|
945
|
+
innerExitStyle: c,
|
|
946
|
+
outerEnterStyle: l,
|
|
947
|
+
outerExitStyle: s
|
|
829
948
|
}
|
|
830
949
|
}) => {
|
|
831
|
-
const i =
|
|
950
|
+
const i = t === "entering" ? e : 1 - e, m = t === "entering" ? Zt(i, r) : Dt(i, r), d = h(() => ({
|
|
832
951
|
width: "100%",
|
|
833
952
|
height: "100%",
|
|
834
953
|
justifyContent: "center",
|
|
835
954
|
alignItems: "center",
|
|
836
|
-
clipPath:
|
|
837
|
-
...
|
|
838
|
-
}), [
|
|
839
|
-
return /* @__PURE__ */ o(
|
|
840
|
-
style:
|
|
841
|
-
children: /* @__PURE__ */ o(
|
|
955
|
+
clipPath: m,
|
|
956
|
+
...t === "entering" ? a : c
|
|
957
|
+
}), [m, a, c, t]), y = h(() => t === "entering" ? l : s, [l, s, t]);
|
|
958
|
+
return /* @__PURE__ */ o(u, {
|
|
959
|
+
style: y,
|
|
960
|
+
children: /* @__PURE__ */ o(u, {
|
|
842
961
|
style: d,
|
|
843
962
|
children: n
|
|
844
963
|
})
|
|
845
964
|
});
|
|
846
|
-
},
|
|
847
|
-
component:
|
|
965
|
+
}, de = (n) => ({
|
|
966
|
+
component: te,
|
|
848
967
|
props: n ?? {}
|
|
849
|
-
}),
|
|
968
|
+
}), ee = ({
|
|
850
969
|
children: n,
|
|
851
|
-
presentationDirection:
|
|
852
|
-
presentationProgress:
|
|
970
|
+
presentationDirection: e,
|
|
971
|
+
presentationProgress: t,
|
|
853
972
|
passedProps: {
|
|
854
973
|
direction: r = "from-left",
|
|
855
|
-
perspective:
|
|
856
|
-
innerEnterStyle:
|
|
857
|
-
innerExitStyle:
|
|
858
|
-
outerEnterStyle:
|
|
974
|
+
perspective: a = 1e3,
|
|
975
|
+
innerEnterStyle: c,
|
|
976
|
+
innerExitStyle: l,
|
|
977
|
+
outerEnterStyle: s,
|
|
859
978
|
outerExitStyle: i
|
|
860
979
|
}
|
|
861
980
|
}) => {
|
|
862
|
-
const
|
|
863
|
-
const g =
|
|
981
|
+
const m = h(() => {
|
|
982
|
+
const g = e === "entering" ? z(t, [0, 1], [r === "from-right" || r === "from-top" ? 180 : -180, 0]) : z(t, [0, 1], [0, r === "from-right" || r === "from-top" ? -180 : 180]);
|
|
864
983
|
return {
|
|
865
984
|
width: "100%",
|
|
866
985
|
height: "100%",
|
|
867
986
|
transform: `${r === "from-top" || r === "from-bottom" ? "rotateX" : "rotateY"}(${g}deg)`,
|
|
868
987
|
backfaceVisibility: "hidden",
|
|
869
988
|
WebkitBackfaceVisibility: "hidden",
|
|
870
|
-
...
|
|
989
|
+
...e === "entering" ? c : l
|
|
871
990
|
};
|
|
872
991
|
}, [
|
|
873
992
|
r,
|
|
993
|
+
c,
|
|
874
994
|
l,
|
|
875
|
-
|
|
876
|
-
t
|
|
877
|
-
e
|
|
995
|
+
e,
|
|
996
|
+
t
|
|
878
997
|
]), d = h(() => ({
|
|
879
|
-
perspective:
|
|
998
|
+
perspective: a,
|
|
880
999
|
transformStyle: "preserve-3d",
|
|
881
|
-
...
|
|
882
|
-
}), [
|
|
883
|
-
return /* @__PURE__ */ o(
|
|
1000
|
+
...e === "entering" ? s : i
|
|
1001
|
+
}), [s, i, a, e]);
|
|
1002
|
+
return /* @__PURE__ */ o(u, {
|
|
884
1003
|
style: d,
|
|
885
|
-
children: /* @__PURE__ */ o(
|
|
886
|
-
style:
|
|
1004
|
+
children: /* @__PURE__ */ o(u, {
|
|
1005
|
+
style: m,
|
|
887
1006
|
children: n
|
|
888
1007
|
})
|
|
889
1008
|
});
|
|
890
|
-
},
|
|
891
|
-
const
|
|
892
|
-
radius:
|
|
893
|
-
progress:
|
|
894
|
-
}),
|
|
1009
|
+
}, ne = (n) => ({ component: ee, props: n ?? {} }), re = ({ children: n, presentationDirection: e, presentationProgress: t, passedProps: r }) => {
|
|
1010
|
+
const a = Math.sqrt(r.width ** 2 + r.height ** 2) / 2, { path: c } = nt({
|
|
1011
|
+
radius: a,
|
|
1012
|
+
progress: t
|
|
1013
|
+
}), l = _(c, -(a * 2 - r.width) / 2, -(a * 2 - r.height) / 2), s = h(() => ({
|
|
895
1014
|
width: "100%",
|
|
896
1015
|
height: "100%",
|
|
897
|
-
clipPath:
|
|
898
|
-
...
|
|
1016
|
+
clipPath: e === "exiting" ? void 0 : `path("${l}")`,
|
|
1017
|
+
...e === "entering" ? r.innerEnterStyle : r.innerExitStyle
|
|
899
1018
|
}), [
|
|
900
|
-
|
|
1019
|
+
l,
|
|
901
1020
|
r.innerEnterStyle,
|
|
902
1021
|
r.innerExitStyle,
|
|
903
|
-
|
|
904
|
-
]), i = h(() =>
|
|
1022
|
+
e
|
|
1023
|
+
]), i = h(() => e === "entering" ? r.outerEnterStyle : r.outerExitStyle, [
|
|
905
1024
|
r.outerEnterStyle,
|
|
906
1025
|
r.outerExitStyle,
|
|
907
|
-
|
|
1026
|
+
e
|
|
908
1027
|
]);
|
|
909
|
-
return /* @__PURE__ */ o(
|
|
1028
|
+
return /* @__PURE__ */ o(u, {
|
|
910
1029
|
style: i,
|
|
911
|
-
children: /* @__PURE__ */ o(
|
|
912
|
-
style:
|
|
1030
|
+
children: /* @__PURE__ */ o(u, {
|
|
1031
|
+
style: s,
|
|
913
1032
|
children: n
|
|
914
1033
|
})
|
|
915
1034
|
});
|
|
916
|
-
},
|
|
917
|
-
const
|
|
1035
|
+
}, he = (n) => ({ component: re, props: n ?? {} });
|
|
1036
|
+
const pe = {
|
|
918
1037
|
none: ({ id: n }) => /* @__PURE__ */ o(
|
|
919
|
-
|
|
1038
|
+
$.Transition,
|
|
920
1039
|
{
|
|
921
|
-
presentation:
|
|
922
|
-
timing:
|
|
1040
|
+
presentation: D(),
|
|
1041
|
+
timing: w({ durationInFrames: 1 })
|
|
923
1042
|
},
|
|
924
1043
|
n
|
|
925
1044
|
),
|
|
926
|
-
fade: ({ durationInFrames: n, id:
|
|
927
|
-
|
|
1045
|
+
fade: ({ durationInFrames: n, id: e }) => /* @__PURE__ */ o(
|
|
1046
|
+
$.Transition,
|
|
928
1047
|
{
|
|
929
|
-
presentation:
|
|
930
|
-
timing:
|
|
1048
|
+
presentation: D(),
|
|
1049
|
+
timing: w({ durationInFrames: n })
|
|
931
1050
|
},
|
|
932
|
-
|
|
1051
|
+
e
|
|
933
1052
|
),
|
|
934
|
-
slide: ({ durationInFrames: n, id:
|
|
935
|
-
|
|
1053
|
+
slide: ({ durationInFrames: n, id: e, direction: t }) => /* @__PURE__ */ o(
|
|
1054
|
+
$.Transition,
|
|
936
1055
|
{
|
|
937
|
-
presentation:
|
|
938
|
-
timing:
|
|
1056
|
+
presentation: _t({ direction: t || "from-left" }),
|
|
1057
|
+
timing: w({ durationInFrames: n })
|
|
939
1058
|
},
|
|
940
|
-
|
|
1059
|
+
e
|
|
941
1060
|
),
|
|
942
|
-
wipe: ({ durationInFrames: n, id:
|
|
943
|
-
|
|
1061
|
+
wipe: ({ durationInFrames: n, id: e, direction: t }) => /* @__PURE__ */ o(
|
|
1062
|
+
$.Transition,
|
|
944
1063
|
{
|
|
945
|
-
presentation:
|
|
946
|
-
timing:
|
|
1064
|
+
presentation: Vt({ direction: t || "from-left" }),
|
|
1065
|
+
timing: w({ durationInFrames: n })
|
|
947
1066
|
},
|
|
948
|
-
|
|
1067
|
+
e
|
|
949
1068
|
),
|
|
950
|
-
flip: ({ durationInFrames: n, id: t }) => /* @__PURE__ */ o(
|
|
951
|
-
|
|
1069
|
+
flip: ({ durationInFrames: n, id: e, direction: t }) => /* @__PURE__ */ o(
|
|
1070
|
+
$.Transition,
|
|
952
1071
|
{
|
|
953
|
-
presentation:
|
|
954
|
-
timing:
|
|
1072
|
+
presentation: ne({ direction: t || "from-left" }),
|
|
1073
|
+
timing: w({ durationInFrames: n })
|
|
955
1074
|
},
|
|
956
|
-
|
|
1075
|
+
e
|
|
957
1076
|
),
|
|
958
|
-
clockWipe: ({ width: n, height:
|
|
959
|
-
|
|
1077
|
+
clockWipe: ({ width: n, height: e, durationInFrames: t, id: r, direction: a }) => /* @__PURE__ */ o(
|
|
1078
|
+
$.Transition,
|
|
960
1079
|
{
|
|
961
|
-
presentation:
|
|
962
|
-
timing:
|
|
1080
|
+
presentation: Jt({ width: n, height: e, direction: a }),
|
|
1081
|
+
timing: w({ durationInFrames: t })
|
|
963
1082
|
},
|
|
964
1083
|
r
|
|
965
1084
|
),
|
|
966
|
-
star: ({ width: n, height:
|
|
967
|
-
|
|
1085
|
+
star: ({ width: n, height: e, durationInFrames: t, id: r }) => /* @__PURE__ */ o(
|
|
1086
|
+
$.Transition,
|
|
968
1087
|
{
|
|
969
|
-
presentation:
|
|
970
|
-
timing:
|
|
1088
|
+
presentation: Pt({ width: n, height: e }),
|
|
1089
|
+
timing: w({ durationInFrames: t })
|
|
971
1090
|
},
|
|
972
1091
|
r
|
|
973
1092
|
),
|
|
974
|
-
circle: ({ width: n, height:
|
|
975
|
-
|
|
1093
|
+
circle: ({ width: n, height: e, durationInFrames: t, id: r, direction: a }) => /* @__PURE__ */ o(
|
|
1094
|
+
$.Transition,
|
|
976
1095
|
{
|
|
977
|
-
presentation:
|
|
978
|
-
|
|
1096
|
+
presentation: Nt({
|
|
1097
|
+
width: n,
|
|
1098
|
+
height: e,
|
|
1099
|
+
direction: a
|
|
1100
|
+
}),
|
|
1101
|
+
timing: w({ durationInFrames: t })
|
|
979
1102
|
},
|
|
980
1103
|
r
|
|
981
1104
|
),
|
|
982
|
-
rectangle: ({ width: n, height:
|
|
983
|
-
|
|
1105
|
+
rectangle: ({ width: n, height: e, durationInFrames: t, id: r }) => /* @__PURE__ */ o(
|
|
1106
|
+
$.Transition,
|
|
984
1107
|
{
|
|
985
|
-
presentation:
|
|
986
|
-
timing:
|
|
1108
|
+
presentation: Xt({ width: n, height: e }),
|
|
1109
|
+
timing: w({ durationInFrames: t })
|
|
987
1110
|
},
|
|
988
1111
|
r
|
|
989
1112
|
),
|
|
990
1113
|
slidingDoors: ({
|
|
991
1114
|
width: n,
|
|
992
|
-
height:
|
|
993
|
-
durationInFrames:
|
|
1115
|
+
height: e,
|
|
1116
|
+
durationInFrames: t,
|
|
994
1117
|
id: r
|
|
995
1118
|
}) => /* @__PURE__ */ o(
|
|
996
|
-
|
|
1119
|
+
$.Transition,
|
|
997
1120
|
{
|
|
998
|
-
presentation:
|
|
999
|
-
timing:
|
|
1121
|
+
presentation: Yt({ width: n, height: e }),
|
|
1122
|
+
timing: w({ durationInFrames: t })
|
|
1000
1123
|
},
|
|
1001
1124
|
r
|
|
1002
1125
|
)
|
|
1003
1126
|
};
|
|
1004
1127
|
export {
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1128
|
+
$ as TransitionSeries,
|
|
1129
|
+
pe as Transitions,
|
|
1130
|
+
Nt as circle,
|
|
1131
|
+
he as clockWipe,
|
|
1132
|
+
Jt as customClockWipe,
|
|
1133
|
+
_t as customSlide,
|
|
1134
|
+
Vt as customWipe,
|
|
1135
|
+
D as fade,
|
|
1136
|
+
ne as flip,
|
|
1137
|
+
w as linearTiming,
|
|
1138
|
+
Xt as rectangle,
|
|
1139
|
+
fe as slide,
|
|
1140
|
+
Yt as slidingDoors,
|
|
1141
|
+
ue as springTiming,
|
|
1142
|
+
Pt as star,
|
|
1143
|
+
me as useTransitionProgress,
|
|
1144
|
+
de as wipe
|
|
1019
1145
|
};
|
|
1020
1146
|
//# sourceMappingURL=index.es.js.map
|