decord/source/380_unstable_createAnimatedComponentWithAllowlist.js

43 lines
1.6 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 380
// Function ID: 5666
// Name: unstable_createAnimatedComponentWithAllowlist
2026-07-23 10:11:24 +00:00
// Dependencies: [57, 29, 31, 33, 381, 325, 255]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 380 (unstable_createAnimatedComponentWithAllowlist)
2026-07-23 10:11:24 +00:00
import _slicedToArray from "_slicedToArray";
import _objectWithoutProperties from "_objectWithoutProperties";
import "result";
import { useMemo } from "result";
import { jsx } from "jsxProd";
2026-07-20 16:05:17 +00:00
function unstable_createAnimatedComponentWithAllowlist(displayName, arg1) {
const importDefault = displayName;
2026-07-23 10:11:24 +00:00
const dependencyMap = importDefault(381)(arg1);
2026-07-20 16:05:17 +00:00
class AnimatedComponent {
constructor(arg0) {
2026-07-23 10:11:24 +00:00
tmp = outer1_3(style(outer1_4(displayName, outer1_2)), 2);
2026-07-20 16:05:17 +00:00
first = tmp[0];
({ passthroughAnimatedPropExplicitValues, style } = first);
style = undefined;
2026-07-23 10:11:24 +00:00
tmp3 = closure_0(closure_1[5])(tmp[1], displayName.ref);
2026-07-20 16:05:17 +00:00
if (null != passthroughAnimatedPropExplicitValues) {
style = passthroughAnimatedPropExplicitValues.style;
}
items = [, ];
items[0] = style;
items[1] = style;
2026-07-23 10:11:24 +00:00
obj = { style: outer1_5(() => style(style2[6])(style, style), items), ref: tmp3 };
return outer1_6(style, Object.assign({}, first, passthroughAnimatedPropExplicitValues, obj));
2026-07-20 16:05:17 +00:00
}
}
AnimatedComponent.displayName = "Animated(" + displayName.displayName || "Anonymous" + ")";
return AnimatedComponent;
}
2026-07-23 10:11:24 +00:00
let closure_2 = ["ref"];
2026-07-20 16:05:17 +00:00
export default function createAnimatedComponent(displayName) {
return unstable_createAnimatedComponentWithAllowlist(displayName, null);
};
export { unstable_createAnimatedComponentWithAllowlist };