Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,76 @@
|
||||
/* Metro module 3920; source: unknown; dependencies: [57, 31, 3921] */
|
||||
function _fun32206(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#32206, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4069:6, offset: 0x0100ea96, size: 123 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(57) /* metro dependency 57 */;
|
||||
const value = require(31) /* metro dependency 31 */;
|
||||
const env0_3 = value.useCallback;
|
||||
const env0_4 = value.useEffect;
|
||||
const env0_5 = value.useState;
|
||||
exports.useRiveProperty = useRiveProperty;
|
||||
}
|
||||
|
||||
function useRiveProperty(a0, a1, a2) { // fn#32207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4069:177, offset: 0x0100eb11, size: 274 bytes, params: 4, frame: 23
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const env0_2 = a2;
|
||||
const value2 = (require(3921) /* metro dependency 3921 */).useDisposableMemo(_fun32208, function(a0) {
|
||||
return a0?.dispose();
|
||||
}, [a0, a1]);
|
||||
const value3 = useState(undefined);
|
||||
const binding = env0_2;
|
||||
const value4 = binding(value3, 2);
|
||||
const property = value4[0];
|
||||
const env0_5 = value4[1];
|
||||
const [property2, env0_6] = binding(useState(null), 2);
|
||||
useEffect(_fun32210, [a1, a0]);
|
||||
useEffect(_fun32211, [a0, value2, a1]);
|
||||
useEffect(_fun32212, [value2]);
|
||||
return [property, useCallback(_fun32215, [value2, property]), property2, value2];
|
||||
}
|
||||
|
||||
function _fun32208() { // fn#32208, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4069:242, offset: 0x0100ec23, size: 36 bytes, params: 1, frame: 13
|
||||
if (env0_0) {
|
||||
return importDefault(env0_0, require);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun32211() { // fn#32211, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4069:432, offset: 0x0100ec73, size: 96 bytes, params: 1, frame: 15
|
||||
var Error;
|
||||
var value;
|
||||
let binding = env0_0;
|
||||
if (binding && !env0_3) {
|
||||
binding = env0_6;
|
||||
Error = global.Error;
|
||||
value = 'Property "' + require + '" not found in the ViewModel instance';
|
||||
binding(new Error());
|
||||
}
|
||||
}
|
||||
|
||||
function _fun32212() { // fn#32212, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4069:532, offset: 0x0100ecd3, size: 63 bytes, params: 1, frame: 13
|
||||
var binding;
|
||||
var binding2;
|
||||
if (env0_3) {
|
||||
binding = env0_5;
|
||||
binding2 = env0_3;
|
||||
binding(binding2.value);
|
||||
var env0_0 = binding2.addListener(_fun32213);
|
||||
return _fun32214;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun32215(a0) { // fn#32215, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4069:656, offset: 0x0100ed27, size: 52 bytes, params: 2, frame: 13
|
||||
var r1;
|
||||
let value = a0;
|
||||
if (env0_3) {
|
||||
if (typeof value !== 'function') {
|
||||
r1 = value;
|
||||
} else {
|
||||
value = value(env0_4);
|
||||
r1 = value;
|
||||
}
|
||||
env0_3.value = r1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user