Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,141 @@
|
||||
/* Metro module 1504; source: unknown; dependencies: [65, 31] */
|
||||
function _fun17149(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17149, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:6, offset: 0x00e654d6, size: 92 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = importDefault(65) /* metro dependency 65 */;
|
||||
const env0_1 = importAll(31) /* metro dependency 31 */;
|
||||
exports.default = useEventEmitter;
|
||||
}
|
||||
|
||||
function useEventEmitter(a0) { // fn#17150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:128, offset: 0x00e65532, size: 157 bytes, params: 2, frame: 15
|
||||
let env0_0 = a0;
|
||||
const binding = env0_1;
|
||||
let useRef = binding.useRef;
|
||||
var env0_1 = Reflect.apply(useRef, binding, [a0]);
|
||||
binding.useEffect(_fun17151);
|
||||
useRef = binding.useRef;
|
||||
const Object = global.Object;
|
||||
const env0_2 = Reflect.apply(useRef, binding, [Object.create(null)]);
|
||||
return binding.useMemo(_fun17165, [binding.useCallback(function(a0) {
|
||||
var env0_0 = a0;
|
||||
var closure = _fun17153;
|
||||
var env0_1 = closure;
|
||||
return {addListener: _fun17154, removeListener: closure};
|
||||
}, []), binding.useCallback(_fun17156, [])]);
|
||||
}
|
||||
|
||||
function _fun17152(a0) { // fn#17152, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:266, offset: 0x00e655e4, size: 37 bytes, params: 2, frame: 3
|
||||
const env0_0 = a0;
|
||||
return {addListener: addListener_17154, removeListener: removeListener_17153};
|
||||
}
|
||||
|
||||
function _fun17156({type, data, target, canPreventDefault}) { // fn#17156, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:624, offset: 0x00e65718, size: 415 bytes, params: 2, frame: 25
|
||||
var environment;
|
||||
var r3;
|
||||
var object;
|
||||
var concat;
|
||||
var apply;
|
||||
var value4;
|
||||
var binding;
|
||||
var value5;
|
||||
const env0_1 = data;
|
||||
let r0 = target.current[type] || ({});
|
||||
const value3 = target !== undefined;
|
||||
if (value3) {
|
||||
r0 = r0[target]?.slice();
|
||||
r3 = r0;
|
||||
} else {
|
||||
object = [];
|
||||
concat = object.concat;
|
||||
apply = concat.apply;
|
||||
value4 = environment.__proto__;
|
||||
binding = env1_0;
|
||||
value5 = global.Object.keys(r0);
|
||||
r3 = Reflect.apply(apply, concat, [object, binding(value5.map(_fun17157))]).filter(function(a0, a1, a2) {
|
||||
return a2.lastIndexOf(a0) === a1;
|
||||
});
|
||||
}
|
||||
object = {};
|
||||
Object.defineProperty(object, 'type', {get: function() {
|
||||
return type;
|
||||
}, set: undefined, enumerable: true, configurable: true});
|
||||
if (value3) {
|
||||
global.Object.defineProperty(object, 'target', {enumerable: true, get: function() {
|
||||
return target;
|
||||
}});
|
||||
}
|
||||
if (data !== undefined) {
|
||||
global.Object.defineProperty(object, 'data', {enumerable: true, get: function() {
|
||||
return data;
|
||||
}});
|
||||
}
|
||||
if (canPreventDefault) {
|
||||
global.Object.defineProperties(object, {defaultPrevented: {enumerable: true, get: get_17162},
|
||||
preventDefault: {enumerable: true, value: function() {
|
||||
env0_5 = true;
|
||||
}}});
|
||||
}
|
||||
if (env0_1.current != null) {
|
||||
env0_1.current(object);
|
||||
}
|
||||
if (r3 != null) {
|
||||
r3.forEach(_fun17164);
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
function _fun17165() { // fn#17165, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:1368, offset: 0x00e65901, size: 24 bytes, params: 1, frame: 3
|
||||
return {create: env0_3, emit: env0_4};
|
||||
}
|
||||
|
||||
function removeListener_17153(a0, a1) { // fn#17153, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:284, offset: 0x00e65609, size: 94 bytes, params: 3, frame: 14
|
||||
var r4;
|
||||
var property;
|
||||
let value = environment.__proto__;
|
||||
const current = env1_2.current;
|
||||
const value2 = undefined;
|
||||
if (current[a0]) {
|
||||
property = env1_2.current[a0];
|
||||
property = property[env0_0];
|
||||
r4 = property;
|
||||
} else {
|
||||
r4 = value2;
|
||||
}
|
||||
if (r4) {
|
||||
value = r4.indexOf(a1);
|
||||
if (value > -1) {
|
||||
r4.splice(value, 1);
|
||||
}
|
||||
}
|
||||
return value2;
|
||||
}
|
||||
|
||||
function addListener_17154(a0, a1) { // fn#17154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:421, offset: 0x00e65667, size: 134 bytes, params: 3, frame: 17
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
let binding = env1_2;
|
||||
const current = binding.current;
|
||||
let property = binding.current[a0];
|
||||
current[a0] = property || ({});
|
||||
binding = env1_2;
|
||||
property = binding.current[a0];
|
||||
const binding2 = env0_0;
|
||||
property[binding2] = binding.current[a0][binding2] || [];
|
||||
property = env1_2.current[a0];
|
||||
property = property[env0_0];
|
||||
property.push(a1);
|
||||
return _fun17155;
|
||||
}
|
||||
|
||||
function _fun17164(a0) { // fn#17164, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:1315, offset: 0x00e658ee, size: 19 bytes, params: 2, frame: 11
|
||||
return a0(env0_4);
|
||||
}
|
||||
|
||||
function _fun17155() { // fn#17155, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1631:553, offset: 0x00e656ed, size: 43 bytes, params: 1, frame: 13
|
||||
var value2;
|
||||
if (!env0_2) {
|
||||
value2 = environment.__proto__;
|
||||
removeListener_17153(env0_0, require);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user