174 lines
5.2 KiB
JavaScript
174 lines
5.2 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: d209710bf7c02a33.1dff92b6be.js
|
|
* Module id: 254784
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e) => {
|
|
"use strict";
|
|
e.i(6177);
|
|
var t = e.i(707464);
|
|
let r = (e, t, r, n, a = !1) => {
|
|
let i = a ? "&" : "";
|
|
return {
|
|
[`
|
|
${i}${e}-enter,
|
|
${i}${e}-appear
|
|
`]: Object.assign(
|
|
Object.assign(
|
|
{},
|
|
{ animationDuration: n, animationFillMode: "both" },
|
|
),
|
|
{ animationPlayState: "paused" },
|
|
),
|
|
[`${i}${e}-leave`]: Object.assign(
|
|
Object.assign(
|
|
{},
|
|
{ animationDuration: n, animationFillMode: "both" },
|
|
),
|
|
{ animationPlayState: "paused" },
|
|
),
|
|
[`
|
|
${i}${e}-enter${e}-enter-active,
|
|
${i}${e}-appear${e}-appear-active
|
|
`]: { animationName: t, animationPlayState: "running" },
|
|
[`${i}${e}-leave${e}-leave-active`]: {
|
|
animationName: r,
|
|
animationPlayState: "running",
|
|
pointerEvents: "none",
|
|
},
|
|
};
|
|
};
|
|
e.s(["initMotion", 0, r], 254784);
|
|
let n = new t.Keyframes("antZoomIn", {
|
|
"0%": { transform: "scale(0.2)", opacity: 0 },
|
|
"100%": { transform: "scale(1)", opacity: 1 },
|
|
}),
|
|
a = new t.Keyframes("antZoomOut", {
|
|
"0%": { transform: "scale(1)" },
|
|
"100%": { transform: "scale(0.2)", opacity: 0 },
|
|
}),
|
|
i = new t.Keyframes("antZoomBigIn", {
|
|
"0%": { transform: "scale(0.8)", opacity: 0 },
|
|
"100%": { transform: "scale(1)", opacity: 1 },
|
|
}),
|
|
o = new t.Keyframes("antZoomBigOut", {
|
|
"0%": { transform: "scale(1)" },
|
|
"100%": { transform: "scale(0.8)", opacity: 0 },
|
|
}),
|
|
l = new t.Keyframes("antZoomUpIn", {
|
|
"0%": {
|
|
transform: "scale(0.8)",
|
|
transformOrigin: "50% 0%",
|
|
opacity: 0,
|
|
},
|
|
"100%": { transform: "scale(1)", transformOrigin: "50% 0%" },
|
|
}),
|
|
s = new t.Keyframes("antZoomUpOut", {
|
|
"0%": { transform: "scale(1)", transformOrigin: "50% 0%" },
|
|
"100%": {
|
|
transform: "scale(0.8)",
|
|
transformOrigin: "50% 0%",
|
|
opacity: 0,
|
|
},
|
|
}),
|
|
u = {
|
|
zoom: { inKeyframes: n, outKeyframes: a },
|
|
"zoom-big": { inKeyframes: i, outKeyframes: o },
|
|
"zoom-big-fast": { inKeyframes: i, outKeyframes: o },
|
|
"zoom-left": {
|
|
inKeyframes: new t.Keyframes("antZoomLeftIn", {
|
|
"0%": {
|
|
transform: "scale(0.8)",
|
|
transformOrigin: "0% 50%",
|
|
opacity: 0,
|
|
},
|
|
"100%": { transform: "scale(1)", transformOrigin: "0% 50%" },
|
|
}),
|
|
outKeyframes: new t.Keyframes("antZoomLeftOut", {
|
|
"0%": { transform: "scale(1)", transformOrigin: "0% 50%" },
|
|
"100%": {
|
|
transform: "scale(0.8)",
|
|
transformOrigin: "0% 50%",
|
|
opacity: 0,
|
|
},
|
|
}),
|
|
},
|
|
"zoom-right": {
|
|
inKeyframes: new t.Keyframes("antZoomRightIn", {
|
|
"0%": {
|
|
transform: "scale(0.8)",
|
|
transformOrigin: "100% 50%",
|
|
opacity: 0,
|
|
},
|
|
"100%": { transform: "scale(1)", transformOrigin: "100% 50%" },
|
|
}),
|
|
outKeyframes: new t.Keyframes("antZoomRightOut", {
|
|
"0%": { transform: "scale(1)", transformOrigin: "100% 50%" },
|
|
"100%": {
|
|
transform: "scale(0.8)",
|
|
transformOrigin: "100% 50%",
|
|
opacity: 0,
|
|
},
|
|
}),
|
|
},
|
|
"zoom-up": { inKeyframes: l, outKeyframes: s },
|
|
"zoom-down": {
|
|
inKeyframes: new t.Keyframes("antZoomDownIn", {
|
|
"0%": {
|
|
transform: "scale(0.8)",
|
|
transformOrigin: "50% 100%",
|
|
opacity: 0,
|
|
},
|
|
"100%": { transform: "scale(1)", transformOrigin: "50% 100%" },
|
|
}),
|
|
outKeyframes: new t.Keyframes("antZoomDownOut", {
|
|
"0%": { transform: "scale(1)", transformOrigin: "50% 100%" },
|
|
"100%": {
|
|
transform: "scale(0.8)",
|
|
transformOrigin: "50% 100%",
|
|
opacity: 0,
|
|
},
|
|
}),
|
|
},
|
|
};
|
|
e.s(
|
|
[
|
|
"initZoomMotion",
|
|
0,
|
|
(e, t) => {
|
|
let { antCls: n } = e,
|
|
a = `${n}-${t}`,
|
|
{ inKeyframes: i, outKeyframes: o } = u[t];
|
|
return [
|
|
r(
|
|
a,
|
|
i,
|
|
o,
|
|
"zoom-big-fast" === t
|
|
? e.motionDurationFast
|
|
: e.motionDurationMid,
|
|
),
|
|
{
|
|
[`
|
|
${a}-enter,
|
|
${a}-appear
|
|
`]: {
|
|
transform: "scale(0)",
|
|
opacity: 0,
|
|
animationTimingFunction: e.motionEaseOutCirc,
|
|
"&-prepare": { transform: "none" },
|
|
},
|
|
[`${a}-leave`]: {
|
|
animationTimingFunction: e.motionEaseInOutCirc,
|
|
},
|
|
},
|
|
];
|
|
},
|
|
],
|
|
379347,
|
|
);
|
|
};
|
|
|
|
export default moduleFactory;
|