73 lines
2.6 KiB
JavaScript
73 lines
2.6 KiB
JavaScript
// Module ID: 387
|
|
// Function ID: 388
|
|
// Name: createAnimatedComponent
|
|
// Dependencies: [32, 19, 21, 388, 334, 256]
|
|
// Exports: default, unstable_createAnimatedComponentWithAllowlist
|
|
|
|
// Module 387 (createAnimatedComponent)
|
|
import _slicedToArray from "_slicedToArray";
|
|
import "noop";
|
|
import { useMemo } from "noop";
|
|
import { jsx } from "jsxProd";
|
|
|
|
|
|
export default function createAnimatedComponent(displayName) {
|
|
const importDefault = displayName;
|
|
const dependencyMap = importDefault(388)(null);
|
|
class AnimatedComponent {
|
|
constructor(arg0) {
|
|
style = undefined;
|
|
style = undefined;
|
|
tmp = outer1_2(style(Object.assign(displayName, Object.create(null))), 2);
|
|
first = tmp[0];
|
|
({ passthroughAnimatedPropExplicitValues, style } = first);
|
|
style = undefined;
|
|
tmp3 = closure_0(outer1_1[4])(tmp[1], displayName.ref);
|
|
if (passthroughAnimatedPropExplicitValues != null) {
|
|
style = passthroughAnimatedPropExplicitValues.style;
|
|
}
|
|
items = [, ];
|
|
items[0] = style;
|
|
items[1] = style;
|
|
obj = {};
|
|
tmp5 = outer1_3(() => style(style[5])(style, style), items);
|
|
merged = Object.assign(first);
|
|
merged1 = Object.assign(passthroughAnimatedPropExplicitValues);
|
|
obj.style = tmp5;
|
|
obj.ref = tmp3;
|
|
return outer1_4(style, obj);
|
|
}
|
|
}
|
|
AnimatedComponent.displayName = "Animated(" + displayName.displayName || "Anonymous" + ")";
|
|
return AnimatedComponent;
|
|
};
|
|
export const unstable_createAnimatedComponentWithAllowlist = function unstable_createAnimatedComponentWithAllowlist(displayName) {
|
|
const importDefault = displayName;
|
|
const dependencyMap = importDefault(388)(arg1);
|
|
class AnimatedComponent {
|
|
constructor(arg0) {
|
|
style = undefined;
|
|
style = undefined;
|
|
tmp = outer1_2(style(Object.assign(displayName, Object.create(null))), 2);
|
|
first = tmp[0];
|
|
({ passthroughAnimatedPropExplicitValues, style } = first);
|
|
style = undefined;
|
|
tmp3 = closure_0(outer1_1[4])(tmp[1], displayName.ref);
|
|
if (passthroughAnimatedPropExplicitValues != null) {
|
|
style = passthroughAnimatedPropExplicitValues.style;
|
|
}
|
|
items = [, ];
|
|
items[0] = style;
|
|
items[1] = style;
|
|
obj = {};
|
|
tmp5 = outer1_3(() => style(style[5])(style, style), items);
|
|
merged = Object.assign(first);
|
|
merged1 = Object.assign(passthroughAnimatedPropExplicitValues);
|
|
obj.style = tmp5;
|
|
obj.ref = tmp3;
|
|
return outer1_4(style, obj);
|
|
}
|
|
}
|
|
AnimatedComponent.displayName = "Animated(" + displayName.displayName || "Anonymous" + ")";
|
|
return AnimatedComponent;
|
|
};
|