51 lines
2.9 KiB
React
51 lines
2.9 KiB
React
/* Metro module 380; source: unknown; dependencies: [57, 29, 31, 33, 381, 325, 255] */
|
|
function _fun5663(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5663, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:421:6, offset: 0x00ce24cf, size: 183 bytes, params: 8, frame: 20
|
|
const closure = unstable_createAnimatedComponentWithAllowlist;
|
|
const env0_2 = ['ref'];
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(57) /* metro dependency 57 */;
|
|
const env0_4 = importDefault(29) /* metro dependency 29 */;
|
|
importAll(31) /* metro dependency 31 */;
|
|
const env0_5 = (require(31) /* metro dependency 31 */).useMemo;
|
|
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
|
|
exports.default = function(a0) {
|
|
return unstable_createAnimatedComponentWithAllowlist(a0, null);
|
|
};
|
|
exports.unstable_createAnimatedComponentWithAllowlist = closure;
|
|
}
|
|
|
|
function unstable_createAnimatedComponentWithAllowlist(a0, a1) { // fn#5664, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:421:172, offset: 0x00ce2586, size: 104 bytes, params: 3, frame: 14
|
|
const env0_0 = a0;
|
|
const env0_1 = (importDefault(381) /* metro dependency 381 */)(a1);
|
|
const closure = AnimatedComponent;
|
|
let displayName = a0.displayName;
|
|
displayName = !displayName ? 'Anonymous' : displayName;
|
|
closure.displayName = 'Animated(' + displayName + ')';
|
|
return closure;
|
|
}
|
|
|
|
function AnimatedComponent(a0) { // fn#5665, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:421:251, owner: unstable_createAnimatedComponentWithAllowlist.AnimatedComponent, offset: 0x00ce25ee, size: 212 bytes, params: 2, frame: 22
|
|
const ref = a0.ref;
|
|
let binding = env1_4;
|
|
const value2 = undefined;
|
|
const value6 = env1_3(env0_1(binding(a0, env1_2)), 2);
|
|
const property = value6[0];
|
|
const value7 = (importDefault(325) /* metro dependency 325 */)(value6[1], ref);
|
|
const passthroughAnimatedPropExplicitValues = property.passthroughAnimatedPropExplicitValues;
|
|
const style2 = property.style;
|
|
const env0_0 = style2;
|
|
const value8 = useMemo(_fun5666,
|
|
[passthroughAnimatedPropExplicitValues == null ? value2 : passthroughAnimatedPropExplicitValues.style, style2]);
|
|
binding = env0_0;
|
|
const Object = global.Object;
|
|
return ((Component) => <Component {...Object.assign({}, property, passthroughAnimatedPropExplicitValues,
|
|
{style: value8, ref: value7})} />)(binding);
|
|
}
|
|
|
|
function _fun5666() { // fn#5666, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:421:429, offset: 0x00ce26c2, size: 44 bytes, params: 1, frame: 13
|
|
const value = environment.__proto__.__proto__;
|
|
return (importDefault(255) /* metro dependency 255 */)(style, style);
|
|
}
|
|
|