Files
discord-decomp/sources/by-id/module-00380-unstable_createAnimatedComponentWithAllowlist.jsx
2026-07-28 01:06:53 +03:00

57 lines
3.6 KiB
React

/* Metro module 380; source: unknown; dependencies: [57, 29, 31, 33, 381, 325, 255] */
import ObjectWithoutProperties from './module-00029-ObjectWithoutProperties.js'; /* Metro dependency 29 */
import Module00057 from './module-00057.js'; /* Metro dependency 57 */
import Module00255 from './module-00255.js'; /* Metro dependency 255 */
import Module00325 from './module-00325.js'; /* Metro dependency 325 */
import Module00381 from './module-00381.js'; /* Metro dependency 381 */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
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 unstable_createAnimatedComponentWithAllowlist2 = unstable_createAnimatedComponentWithAllowlist;
const env0_2 = ['ref'];
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
ReactModule;
exports.default = function(a0) {
return unstable_createAnimatedComponentWithAllowlist(a0, null);
};
exports.unstable_createAnimatedComponentWithAllowlist = unstable_createAnimatedComponentWithAllowlist2;
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 = (Module00381)(a1);
const AnimatedComponent2 = AnimatedComponent;
let displayName = a0.displayName;
displayName = !displayName ? 'Anonymous' : displayName;
AnimatedComponent2.displayName = 'Animated(' + displayName + ')';
return AnimatedComponent2;
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 = (Module00325)(value6[1], ref);
const passthroughAnimatedPropExplicitValues = property.passthroughAnimatedPropExplicitValues;
const style2 = property.style;
const style22 = style2;
const value8 = useMemo(_fun5666,
[passthroughAnimatedPropExplicitValues == null ? value2 : passthroughAnimatedPropExplicitValues.style, style2]);
binding = style22;
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 (Module00255)(style, style);
}
}
}
}
global.__d(_fun5663, 380, [57, 29, 31, 33, 381, 325,
255]) /* metro module 380, dependencies: [57, 29, 31, 33, 381, 325, 255] */;