Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,55 @@
|
||||
/* Metro module 6314; source: unknown; dependencies: [31, 1610] */
|
||||
function _fun49752(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6492:6, offset: 0x01207274, size: 95 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const value = require(31) /* metro dependency 31 */;
|
||||
const env0_2 = value.useEffect;
|
||||
const env0_3 = value.useRef;
|
||||
exports.useReactiveSharedValue = useReactiveSharedValue;
|
||||
}
|
||||
|
||||
function useReactiveSharedValue(a0) { // fn#49753, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6492:156, offset: 0x012072d3, size: 239 bytes, params: 2, frame: 21
|
||||
var r5;
|
||||
var makeMutable;
|
||||
var moduleValue2;
|
||||
var Object;
|
||||
const value = a0;
|
||||
const value3 = useRef(null);
|
||||
const value4 = useRef(null);
|
||||
if (!(value && typeof value === 'object' && 'value' in value)) {
|
||||
if (value4.current === null) {
|
||||
value3.current = value;
|
||||
if (typeof value === 'object') {
|
||||
moduleValue2 = require(1610) /* metro dependency 1610 */;
|
||||
makeMutable = moduleValue2.makeMutable;
|
||||
Object = global.Object;
|
||||
r5 = Reflect.apply(makeMutable, moduleValue2, [Object.assign({}, value)]);
|
||||
} else {
|
||||
r5 = (require(1610) /* metro dependency 1610 */).makeMutable(value);
|
||||
}
|
||||
value4.current = r5;
|
||||
} else if (value3.current !== value) {
|
||||
value4.current.value = value;
|
||||
}
|
||||
}
|
||||
useEffect(function() {
|
||||
return _fun49755;
|
||||
}, []);
|
||||
return value4.current ?? value;
|
||||
}
|
||||
|
||||
function _fun49754() { // fn#49754, offset: 0x012073c2, size: 9 bytes, params: 1, frame: 1
|
||||
return _fun49755;
|
||||
}
|
||||
|
||||
function _fun49755() { // fn#49755, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6492:442, offset: 0x012073cb, size: 64 bytes, params: 1, frame: 12
|
||||
var value2;
|
||||
var moduleValue;
|
||||
if (env1_0.current) {
|
||||
value2 = environment.__proto__.__proto__;
|
||||
moduleValue = require(1610) /* metro dependency 1610 */;
|
||||
moduleValue.cancelAnimation(env1_0.current);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user