1225 lines
48 KiB
JavaScript
1225 lines
48 KiB
JavaScript
/* Metro module 32; source: unknown; dependencies: [] */
|
|
function _fun1199(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1199, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:37:6, offset: 0x00c55513, size: 1109 bytes, params: 8, frame: 25
|
|
const Component2 = Component;
|
|
const closure2 = function() {
|
|
};
|
|
const constructor2 = constructor;
|
|
const isValidElement2 = isValidElement;
|
|
const getElementKey = function(a0, a1) {
|
|
var r0;
|
|
var value;
|
|
if (typeof a0 !== 'object') {
|
|
r0 = a1.toString(36);
|
|
} else if (a0 === null) {
|
|
r0 = a1.toString(36);
|
|
} else if (a0.key != null) {
|
|
value = String(a0.key);
|
|
value = _fun1206(value);
|
|
r0 = value;
|
|
} else {
|
|
r0 = a1.toString(36);
|
|
}
|
|
return r0;
|
|
};
|
|
const noop$1 = function() {
|
|
};
|
|
const closure5 = function(a0, a1, a2) {
|
|
var env0_0 = a1;
|
|
var env0_1 = a2;
|
|
if (a0 == null) {
|
|
return a0;
|
|
}
|
|
var items = [];
|
|
var env0_2 = 0;
|
|
mapIntoArray(a0, items, '', '', _fun1215);
|
|
return items;
|
|
};
|
|
const lazyInitializer = function(a0) {
|
|
var value;
|
|
var env0_0 = a0;
|
|
if (a0._status === -1) {
|
|
value = (0, a0._result)();
|
|
value.then(_fun1217, _fun1218);
|
|
if (a0._status === -1) {
|
|
a0._status = 0;
|
|
a0._result = value;
|
|
}
|
|
}
|
|
if (a0._status === 1) {
|
|
return a0._result.default;
|
|
}
|
|
throw a0._result;
|
|
};
|
|
const noop_1219 = function() {
|
|
};
|
|
let Symbol = global.Symbol;
|
|
let env0_0 = Symbol.for('react.transitional.element');
|
|
Symbol = global.Symbol;
|
|
let env0_1 = Symbol.for('react.portal');
|
|
Symbol = global.Symbol;
|
|
let value = Symbol.for('react.fragment');
|
|
Symbol = global.Symbol;
|
|
const value2 = Symbol.for('react.strict_mode');
|
|
Symbol = global.Symbol;
|
|
const value3 = Symbol.for('react.profiler');
|
|
Symbol = global.Symbol;
|
|
let env0_2 = Symbol.for('react.consumer');
|
|
Symbol = global.Symbol;
|
|
const env0_3 = Symbol.for('react.context');
|
|
Symbol = global.Symbol;
|
|
const env0_4 = Symbol.for('react.forward_ref');
|
|
Symbol = global.Symbol;
|
|
const value4 = Symbol.for('react.suspense');
|
|
Symbol = global.Symbol;
|
|
const env0_5 = Symbol.for('react.memo');
|
|
Symbol = global.Symbol;
|
|
const env0_6 = Symbol.for('react.lazy');
|
|
Symbol = global.Symbol;
|
|
const env0_7 = Symbol.iterator;
|
|
const object = {isMounted: function() {
|
|
return false;
|
|
}, enqueueForceUpdate: function() {
|
|
}, enqueueReplaceState: function() {
|
|
}, enqueueSetState: function() {
|
|
}};
|
|
let Object = global.Object;
|
|
const assign = Object.assign;
|
|
const env0_10 = {};
|
|
Component2.prototype.isReactComponent = {};
|
|
Component2.prototype.setState = function(a0, a1) {
|
|
var value = typeof a0;
|
|
if (value !== 'object') {
|
|
if (value === 'function') {
|
|
this.updater.enqueueSetState(this, a0, a1, 'setState');
|
|
return undefined;
|
|
}
|
|
if (a0 != null) {
|
|
throw (0,
|
|
global.Error)('takes an object of state variables to update or a function which returns an object of state variables.');
|
|
}
|
|
}
|
|
this.updater.enqueueSetState(this, a0, a1, 'setState');
|
|
};
|
|
Component2.prototype.forceUpdate = function(a0) {
|
|
this.updater.enqueueForceUpdate(this, a0, 'forceUpdate');
|
|
};
|
|
closure2.prototype = Component2.prototype;
|
|
const closure23 = new closure2();
|
|
constructor2.prototype = closure23;
|
|
closure23.constructor = constructor2;
|
|
assign(closure23, Component2.prototype);
|
|
closure23.isPureReactComponent = true;
|
|
const Array = global.Array;
|
|
const env0_11 = Array.isArray;
|
|
Object = global.Object;
|
|
const env0_13 = Object.prototype.hasOwnProperty;
|
|
const env0_14 = RegExp('\\/+', 'g');
|
|
const env0_15 = typeof global.reportError === 'function' ? global.reportError : _fun1226;
|
|
exports.Children = {map: closure5, forEach: function(a0, a1, a2) {
|
|
var env0_0 = a1;
|
|
map_1214(a0, _fun1228, a2);
|
|
}, count: count, toArray: toArray_1231, only: function(a0) {
|
|
if (isValidElement(a0)) {
|
|
return a0;
|
|
}
|
|
throw (0, global.Error)('React.Children.only expected to receive a single React element child.');
|
|
}};
|
|
exports.Component = Component2;
|
|
exports.Fragment = value;
|
|
exports.Profiler = value3;
|
|
exports.PureComponent = constructor2;
|
|
exports.StrictMode = value2;
|
|
exports.Suspense = value4;
|
|
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = {'H': null, 'A': null, 'T': null,
|
|
'S': null, 'V': null};
|
|
value = Object.create(null);
|
|
value.c = c;
|
|
exports.__COMPILER_RUNTIME = value;
|
|
exports.cache = function(a0) {
|
|
var env0_0 = a0;
|
|
return _fun1236;
|
|
};
|
|
exports.cloneElement = cloneElement;
|
|
exports.createContext = createContext;
|
|
exports.createElement = createElement;
|
|
exports.createRef = function() {
|
|
return {current: null};
|
|
};
|
|
exports.forwardRef = forwardRef;
|
|
exports.isValidElement = isValidElement2;
|
|
exports.lazy = lazy;
|
|
exports.memo = memo;
|
|
exports.startTransition = startTransition;
|
|
exports.unstable_useCacheRefresh = unstable_useCacheRefresh;
|
|
exports.use = use;
|
|
exports.useActionState = useActionState;
|
|
exports.useCallback = useCallback;
|
|
exports.useContext = useContext;
|
|
exports.useDebugValue = function() {
|
|
};
|
|
exports.useDeferredValue = useDeferredValue;
|
|
exports.useEffect = useEffect;
|
|
exports.useId = useId;
|
|
exports.useImperativeHandle = useImperativeHandle;
|
|
exports.useInsertionEffect = useInsertionEffect;
|
|
exports.useLayoutEffect = useLayoutEffect;
|
|
exports.useMemo = useMemo;
|
|
exports.useOptimistic = useOptimistic;
|
|
exports.useReducer = useReducer;
|
|
exports.useRef = useRef;
|
|
exports.useState = useState;
|
|
exports.useSyncExternalStore = useSyncExternalStore;
|
|
exports.useTransition = useTransition;
|
|
exports.version = '19.1.0';
|
|
function Component(a0, a1, a2) { // fn#1200, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:603, offset: 0x00c55968, size: 54 bytes, params: 4, frame: 4
|
|
const value = a2;
|
|
this.props = a0;
|
|
this.context = a1;
|
|
this.refs = env0_10;
|
|
this.updater = value || env0_8;
|
|
}
|
|
|
|
function PureComponent(a0, a1, a2) { // fn#1202, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:714, offset: 0x00c55968, size: 54 bytes, params: 4, frame: 4
|
|
const value = a2;
|
|
this.props = a0;
|
|
this.context = a1;
|
|
this.refs = env0_10;
|
|
this.updater = value || env0_8;
|
|
}
|
|
|
|
function ReactElement(a0, a1, a2, a3, a4, a5) { // fn#1203, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:1472, offset: 0x00c5599e, size: 57 bytes, params: 7, frame: 5
|
|
const ref = a5.ref;
|
|
return {$$typeof: env0_0, type: a0, key: a1, ref: ref === undefined ? null : ref, props: a5};
|
|
}
|
|
|
|
function isValidElement(a0) { // fn#1204, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:1578, offset: 0x00c559d7, size: 45 bytes, params: 2, frame: 3
|
|
return typeof a0 === 'object' && a0 !== null && a0.$$typeof === env0_0;
|
|
}
|
|
|
|
function getElementKey(a0, a1) { // fn#1205, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:1669, offset: 0x00c55a04, size: 71 bytes, params: 3, frame: 12
|
|
var r0;
|
|
var value;
|
|
if (typeof a0 !== 'object') {
|
|
r0 = a1.toString(36);
|
|
} else if (a0 === null) {
|
|
r0 = a1.toString(36);
|
|
} else if (a0.key != null) {
|
|
value = String(a0.key);
|
|
value = ((a0) => {
|
|
var env0_0 = {'=': '=0', ':': '=2'};
|
|
return '$' + a0.replace(RegExp('[=:]', 'g'), _fun1207);
|
|
})(value);
|
|
r0 = value;
|
|
} else {
|
|
r0 = a1.toString(36);
|
|
}
|
|
return r0;
|
|
function getElementKeyEscape(a0) { // fn#1206, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:1745, owner: getElementKey.escape, offset: 0x00c55a4b, size: 59 bytes, params: 2, frame: 13
|
|
const env0_0 = {'=': '=0', ':': '=2'};
|
|
return '$' + a0.replace(RegExp('[=:]', 'g'), _fun1207);
|
|
function _fun1207(a0) { // fn#1207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:1819, offset: 0x00c3fbaf, size: 16 bytes, params: 2, frame: 2
|
|
return env0_0[a0];
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function mapIntoArray(a0, a1, a2, a3, a4) { // fn#1209, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:1891, offset: 0x00c55a86, size: 921 bytes, params: 6, frame: 33
|
|
var environment;
|
|
var r2;
|
|
var r11;
|
|
var r7;
|
|
var r14;
|
|
var r4;
|
|
var r8;
|
|
var r15;
|
|
var r10;
|
|
var value5;
|
|
var value8;
|
|
var $$typeof;
|
|
var value9;
|
|
var mapIntoArrayBinding;
|
|
var value12;
|
|
var iteratorBinding;
|
|
var property;
|
|
var then;
|
|
var String;
|
|
var Error;
|
|
var Object;
|
|
var keys;
|
|
var join;
|
|
var next;
|
|
var value14;
|
|
var done;
|
|
var value15;
|
|
var value16;
|
|
var getElementKeyBinding;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var value20;
|
|
var length;
|
|
var value21;
|
|
var value22;
|
|
var value23;
|
|
var elementKey;
|
|
var value25;
|
|
var key;
|
|
var key2;
|
|
var replace;
|
|
var type;
|
|
var props;
|
|
var push;
|
|
let value = a0;
|
|
const value2 = a3;
|
|
const value3 = typeof value;
|
|
const value4 = value3 !== 'undefined';
|
|
reducibleJoin2: while (true) {
|
|
if (value4) {
|
|
value5 = value3 !== 'boolean';
|
|
r2 = value5;
|
|
break reducibleJoin2;
|
|
}
|
|
r2 = value4;
|
|
break reducibleJoin2;
|
|
}
|
|
reducibleJoin4: while (true) {
|
|
if (r2) {
|
|
r11 = value;
|
|
break reducibleJoin4;
|
|
}
|
|
value = null;
|
|
r11 = value;
|
|
break reducibleJoin4;
|
|
}
|
|
const value6 = r11 === null;
|
|
const value7 = true;
|
|
if (value6) {
|
|
r7 = value7;
|
|
} else {
|
|
reducibleJoin13: while (true) {
|
|
if (value3 === 'bigint') {
|
|
r7 = value7;
|
|
break reducibleJoin13;
|
|
}
|
|
if (value3 === 'string') {
|
|
r7 = value7;
|
|
break reducibleJoin13;
|
|
}
|
|
if (value3 === 'number') {
|
|
r7 = value7;
|
|
break reducibleJoin13;
|
|
}
|
|
value8 = false;
|
|
if (value3 !== 'object') {
|
|
r7 = value8;
|
|
break reducibleJoin13;
|
|
}
|
|
$$typeof = r11.$$typeof;
|
|
value9 = environment;
|
|
if (env0_0 === $$typeof) {
|
|
r7 = value7;
|
|
break reducibleJoin13;
|
|
}
|
|
if (env0_1 === $$typeof) {
|
|
r7 = value7;
|
|
break reducibleJoin13;
|
|
}
|
|
if (env0_6 === $$typeof) {
|
|
return mapIntoArray(r11._init(r11._payload), a1, a2, value2, a4);
|
|
}
|
|
r7 = value8;
|
|
break reducibleJoin13;
|
|
}
|
|
}
|
|
const value10 = '';
|
|
if (r7) {
|
|
value22 = a4(r11);
|
|
reducibleJoin39: while (true) {
|
|
if (value10 !== value2) {
|
|
r10 = value2;
|
|
break reducibleJoin39;
|
|
}
|
|
value23 = environment;
|
|
elementKey = getElementKey(r11, 0);
|
|
value25 = '.' + elementKey;
|
|
r10 = value25;
|
|
break reducibleJoin39;
|
|
}
|
|
if (isArray(value22)) {
|
|
reducibleJoin50: while (true) {
|
|
if (value != r10) {
|
|
replace = r10.replace;
|
|
value = Reflect.apply(replace, r10, [env0_14, '$&/']);
|
|
value += '/';
|
|
r2 = value;
|
|
break reducibleJoin50;
|
|
}
|
|
r2 = value10;
|
|
break reducibleJoin50;
|
|
}
|
|
mapIntoArray(value22, a1, r2, value10, function(a0) {
|
|
return a0;
|
|
});
|
|
} else {
|
|
reducibleJoin51: while (true) {
|
|
if (value == value22) {
|
|
break reducibleJoin51;
|
|
}
|
|
reducibleJoin47: while (true) {
|
|
if (isValidElement(value22)) {
|
|
key = value22.key;
|
|
reducibleJoin46: while (true) {
|
|
if (value == key) {
|
|
r7 = value10;
|
|
break reducibleJoin46;
|
|
}
|
|
if (r11) {
|
|
key = r11.key;
|
|
key2 = value22.key;
|
|
if (key === key2) {
|
|
r7 = value10;
|
|
break reducibleJoin46;
|
|
}
|
|
}
|
|
key = value22.key;
|
|
value = String(key);
|
|
replace = value.replace;
|
|
value = Reflect.apply(replace, value, [env0_14, '$&/']);
|
|
value += '/';
|
|
r7 = value;
|
|
break reducibleJoin46;
|
|
}
|
|
value = a2 + r7 + r10;
|
|
type = value22.type;
|
|
props = value22.props;
|
|
value = ReactElement(type, value, undefined, undefined, undefined, props);
|
|
r8 = value;
|
|
break reducibleJoin47;
|
|
}
|
|
r8 = value22;
|
|
break reducibleJoin47;
|
|
}
|
|
push = a1.push;
|
|
Reflect.apply(push, a1, [r8]);
|
|
break reducibleJoin51;
|
|
}
|
|
}
|
|
return 1;
|
|
}
|
|
reducibleJoin16: while (true) {
|
|
if (value10 === value2) {
|
|
r14 = '.';
|
|
break reducibleJoin16;
|
|
}
|
|
value12 = value2 + ':';
|
|
r14 = value12;
|
|
break reducibleJoin16;
|
|
}
|
|
if (isArray(r11)) {
|
|
length = r11.length;
|
|
value = 0;
|
|
if (value < length) {
|
|
r8 = value;
|
|
r10 = value;
|
|
reducibleLoop35: while (true) {
|
|
mapIntoArrayBinding = mapIntoArray;
|
|
property = r11[r8];
|
|
value = r10 + mapIntoArrayBinding(property, a1, a2, r14 + getElementKey(property, r8), a4);
|
|
value21 = typeof r8 === 'bigint' ? r8 + 1n : +r8 + 1;
|
|
length = r11.length;
|
|
if (value21 < length) {
|
|
r8 = value21;
|
|
r10 = value;
|
|
continue reducibleLoop35;
|
|
}
|
|
r4 = value;
|
|
break reducibleLoop35;
|
|
}
|
|
} else {
|
|
r4 = value;
|
|
}
|
|
} else {
|
|
reducibleJoin25: while (true) {
|
|
if (value6) {
|
|
r8 = value;
|
|
break reducibleJoin25;
|
|
}
|
|
if (typeof r11 !== 'object') {
|
|
r8 = value;
|
|
break reducibleJoin25;
|
|
}
|
|
iteratorBinding = iterator;
|
|
reducibleJoin21: while (true) {
|
|
if (iteratorBinding) {
|
|
property = r11[iterator];
|
|
r7 = property;
|
|
break reducibleJoin21;
|
|
}
|
|
r7 = iteratorBinding;
|
|
break reducibleJoin21;
|
|
}
|
|
reducibleJoin23: while (true) {
|
|
if (r7) {
|
|
break reducibleJoin23;
|
|
}
|
|
property = r11['@@iterator'];
|
|
r7 = property;
|
|
break reducibleJoin23;
|
|
}
|
|
r4 = typeof r7 !== 'function' ? value : r7;
|
|
r8 = r4;
|
|
break reducibleJoin25;
|
|
}
|
|
if (typeof r8 === 'function') {
|
|
value = r8.call(r11);
|
|
next = value.next;
|
|
value14 = Reflect.apply(next, value, []);
|
|
done = value14.done;
|
|
value15 = 0;
|
|
if (done) {
|
|
r4 = value15;
|
|
} else {
|
|
r8 = value15;
|
|
r10 = value15;
|
|
r15 = value14;
|
|
reducibleLoop33: while (true) {
|
|
mapIntoArrayBinding = mapIntoArray;
|
|
value16 = r15.value;
|
|
getElementKeyBinding = getElementKey;
|
|
value17 = typeof r8 === 'bigint' ? r8 : +r8;
|
|
value18 = typeof value17 === 'bigint' ? value17 + 1n : +value17 + 1;
|
|
value19 = r10 + mapIntoArrayBinding(value16, a1, a2, r14 + getElementKeyBinding(value16, value17),
|
|
a4);
|
|
next = value.next;
|
|
value20 = Reflect.apply(next, value, []);
|
|
done = value20.done;
|
|
if (done) {
|
|
r4 = value19;
|
|
break reducibleLoop33;
|
|
}
|
|
r8 = value18;
|
|
r10 = value19;
|
|
r15 = value20;
|
|
continue reducibleLoop33;
|
|
}
|
|
}
|
|
} else {
|
|
value = 0;
|
|
reducibleJoin36: while (true) {
|
|
if (value3 === 'object') {
|
|
then = r11.then;
|
|
if (typeof then === 'function') {
|
|
return mapIntoArray(resolveThenable(r11), a1, a2, value2, a4);
|
|
}
|
|
String = global.String;
|
|
value = String(r11);
|
|
Error = global.Error;
|
|
reducibleJoin30: while (true) {
|
|
if (value !== '[object Object]') {
|
|
r15 = value;
|
|
break reducibleJoin30;
|
|
}
|
|
Object = global.Object;
|
|
keys = Object.keys;
|
|
value = Reflect.apply(keys, Object, [r11]);
|
|
join = value.join;
|
|
value = Reflect.apply(join, value, [', ']);
|
|
value = 'object with keys {' + value + '}';
|
|
r15 = value;
|
|
break reducibleJoin30;
|
|
}
|
|
throw Error('Objects are not valid as a React child (found: ' + r15 + '). If you meant to render a collection of children, use an array instead.');
|
|
}
|
|
r4 = value;
|
|
break reducibleJoin36;
|
|
}
|
|
}
|
|
}
|
|
return r4;
|
|
function resolveThenable(a0) { // fn#1211, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:2979, owner: mapIntoArray.resolveThenable, offset: 0x00c55e1f, size: 146 bytes, params: 2, frame: 15
|
|
var environment;
|
|
var then;
|
|
var value;
|
|
var noop$1Binding;
|
|
const env0_0 = a0;
|
|
let status = a0.status;
|
|
if (status === 'fulfilled') {
|
|
return a0.value;
|
|
}
|
|
if (status === 'rejected') {
|
|
throw a0.reason;
|
|
}
|
|
if (typeof a0.status === 'string') {
|
|
then = a0.then;
|
|
value = environment.__proto__;
|
|
noop$1Binding = noop$1;
|
|
Reflect.apply(then, a0, [noop$1Binding, noop$1Binding]);
|
|
} else {
|
|
a0.status = 'pending';
|
|
a0.then(_fun1212, _fun1213);
|
|
}
|
|
status = a0.status;
|
|
if (status === 'fulfilled') {
|
|
return a0.value;
|
|
}
|
|
if (status === 'rejected') {
|
|
throw a0.reason;
|
|
}
|
|
throw a0;
|
|
function _fun1212(a0) { // fn#1212, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:3176, offset: 0x00c55eb1, size: 49 bytes, params: 2, frame: 3
|
|
var binding;
|
|
if (env0_0.status === 'pending') {
|
|
binding = env0_0;
|
|
binding.status = 'fulfilled';
|
|
binding.value = a0;
|
|
}
|
|
}
|
|
|
|
function _fun1213(a0) { // fn#1213, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:3246, offset: 0x00c55ee2, size: 49 bytes, params: 2, frame: 3
|
|
var binding;
|
|
if (env0_0.status === 'pending') {
|
|
binding = env0_0;
|
|
binding.status = 'rejected';
|
|
binding.reason = a0;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function map_1214(a0, a1, a2) { // fn#1214, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:3647, offset: 0x00c55f13, size: 73 bytes, params: 4, frame: 18
|
|
const env0_0 = a1;
|
|
const env0_1 = a2;
|
|
if (a0 == null) {
|
|
return a0;
|
|
}
|
|
const items2 = [];
|
|
mapIntoArray(a0, items2, '', '', _fun1215);
|
|
return items2;
|
|
function _fun1215(a0) { // fn#1215, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:3739, offset: 0x00c55f5c, size: 42 bytes, params: 2, frame: 16
|
|
const call = require.call;
|
|
const binding = env0_2;
|
|
const value2 = typeof binding === 'bigint' ? binding : +binding;
|
|
env0_2 = typeof value2 === 'bigint' ? value2 + 1n : +value2 + 1;
|
|
return Reflect.apply(call, require, [importDefault, a0, value2]);
|
|
}
|
|
|
|
}
|
|
|
|
function lazyInitializer(a0) { // fn#1216, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:3779, offset: 0x00c55f86, size: 116 bytes, params: 2, frame: 15
|
|
var value;
|
|
const env0_0 = a0;
|
|
if (a0._status === -1) {
|
|
value = a0._result();
|
|
value.then(_fun1217, _fun1218);
|
|
if (a0._status === -1) {
|
|
a0._status = 0;
|
|
a0._result = value;
|
|
}
|
|
}
|
|
if (a0._status === 1) {
|
|
return a0._result.default;
|
|
}
|
|
throw a0._result;
|
|
function _fun1217(a0) { // fn#1217, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:3856, offset: 0x00c55ffa, size: 71 bytes, params: 2, frame: 4
|
|
var binding;
|
|
if (!(env0_0._status !== 0 && env0_0._status !== -1)) {
|
|
binding = env0_0;
|
|
binding._status = 1;
|
|
binding._result = a0;
|
|
}
|
|
}
|
|
|
|
function _fun1218(a0) { // fn#1218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:3928, offset: 0x00c56041, size: 71 bytes, params: 2, frame: 4
|
|
var binding;
|
|
if (!(env0_0._status !== 0 && env0_0._status !== -1)) {
|
|
binding = env0_0;
|
|
binding._status = 2;
|
|
binding._result = a0;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function forEach_1227(a0, a1, a2) { // fn#1227, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:4612, offset: 0x00c56218, size: 38 bytes, params: 4, frame: 15
|
|
const env0_0 = a1;
|
|
map_1214(a0, function() {
|
|
require.apply(this, arguments);
|
|
}, a2);
|
|
function _fun1228() { // fn#1228, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:4651, offset: 0x00c5623e, size: 32 bytes, params: 1, frame: 14
|
|
require.apply(this, arguments);
|
|
}
|
|
|
|
}
|
|
|
|
function count(a0) { // fn#1229, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:4698, offset: 0x00c5625e, size: 37 bytes, params: 2, frame: 14
|
|
const env0_0 = 0;
|
|
map_1214(a0, _fun1230);
|
|
return env0_0;
|
|
function _fun1230() { // fn#1230, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:4746, offset: 0x00c56283, size: 18 bytes, params: 1, frame: 2
|
|
const binding = env0_0;
|
|
env0_0 = typeof binding === 'bigint' ? binding + 1n : +binding + 1;
|
|
}
|
|
|
|
}
|
|
|
|
function toArray_1231(a0) { // fn#1231, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:4775, offset: 0x00c56295, size: 34 bytes, params: 2, frame: 13
|
|
return map_1214(a0, function(a0) {
|
|
return a0;
|
|
}) || [];
|
|
}
|
|
|
|
function c(a0) { // fn#1234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:5199, offset: 0x00c562e2, size: 29 bytes, params: 2, frame: 11
|
|
const H = env0_12.H;
|
|
return H.useMemoCache(a0);
|
|
}
|
|
|
|
function cache(a0) { // fn#1235, offset: 0x00c562ff, size: 16 bytes, params: 2, frame: 2
|
|
const env0_0 = a0;
|
|
return _fun1236;
|
|
function _fun1236() { // fn#1236, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:5269, offset: 0x00c5630f, size: 29 bytes, params: 1, frame: 13
|
|
return env0_0.apply(null, arguments);
|
|
}
|
|
|
|
}
|
|
|
|
function cloneElement(a0, a1, a2) { // fn#1237, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:5328, offset: 0x00c5632c, size: 333 bytes, params: 4, frame: 34
|
|
var r15;
|
|
var r12;
|
|
var r17;
|
|
var r19;
|
|
var r4;
|
|
var r6;
|
|
var key2;
|
|
var value3;
|
|
var properties;
|
|
var properties2;
|
|
var properties3;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var hasOwnPropertyBinding;
|
|
var call;
|
|
var value4;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var value9;
|
|
var ref;
|
|
var value10;
|
|
var Array;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
if (a0 == null) {
|
|
throw global.Error('The argument must be a React element, but you passed ' + a0 + '.');
|
|
}
|
|
const value2 = assign({}, a0.props);
|
|
let key = a0.key;
|
|
reducibleJoin18: while (true) {
|
|
if (a1 == null) {
|
|
r4 = key;
|
|
break reducibleJoin18;
|
|
}
|
|
a1.ref;
|
|
key2 = a1.key;
|
|
reducibleJoin4: while (true) {
|
|
if (key2 === undefined) {
|
|
r15 = key;
|
|
break reducibleJoin4;
|
|
}
|
|
key = a1.key;
|
|
value3 = String(key);
|
|
r15 = value3;
|
|
break reducibleJoin4;
|
|
}
|
|
properties = Object.keys(a1);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === undefined) {
|
|
r4 = r15;
|
|
break reducibleJoin18;
|
|
}
|
|
r12 = properties2;
|
|
reducibleLoop5: while (true) {
|
|
propertyName = properties[r12];
|
|
propertyName2 = r12 + 1;
|
|
if (propertyName === undefined) {
|
|
r4 = r15;
|
|
break reducibleJoin18;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
value4 = Reflect.apply(call, hasOwnPropertyBinding, [a1, propertyName]);
|
|
value5 = !value4;
|
|
reducibleJoin8: while (true) {
|
|
if (value4) {
|
|
value6 = propertyName === 'key';
|
|
r17 = value6;
|
|
break reducibleJoin8;
|
|
}
|
|
r17 = value5;
|
|
break reducibleJoin8;
|
|
}
|
|
reducibleJoin10: while (true) {
|
|
if (r17) {
|
|
break reducibleJoin10;
|
|
}
|
|
value7 = propertyName === '__self';
|
|
r17 = value7;
|
|
break reducibleJoin10;
|
|
}
|
|
reducibleJoin12: while (true) {
|
|
if (r17) {
|
|
break reducibleJoin12;
|
|
}
|
|
value8 = propertyName === '__source';
|
|
r17 = value8;
|
|
break reducibleJoin12;
|
|
}
|
|
reducibleJoin16: while (true) {
|
|
if (r17) {
|
|
break reducibleJoin16;
|
|
}
|
|
value9 = propertyName === 'ref';
|
|
reducibleJoin15: while (true) {
|
|
if (value9) {
|
|
ref = a1.ref;
|
|
value10 = ref === undefined;
|
|
r19 = value10;
|
|
break reducibleJoin15;
|
|
}
|
|
r19 = value9;
|
|
break reducibleJoin15;
|
|
}
|
|
r17 = r19;
|
|
break reducibleJoin16;
|
|
}
|
|
if (r17) {
|
|
r12 = propertyName2;
|
|
continue reducibleLoop5;
|
|
}
|
|
value2[propertyName] = a1[propertyName];
|
|
r12 = propertyName2;
|
|
continue reducibleLoop5;
|
|
}
|
|
}
|
|
const value11 = arguments.length - 2;
|
|
if (value11 === 1) {
|
|
value2.children = a2;
|
|
} else {
|
|
reducibleJoin24: while (true) {
|
|
if (1 < value11) {
|
|
Array = global.Array;
|
|
value12 = Array(value11);
|
|
value13 = 0;
|
|
if (value13 < value11) {
|
|
r6 = value13;
|
|
reducibleLoop21: while (true) {
|
|
value12[r6] = arguments[r6 + 2];
|
|
value14 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
|
if (value14 < value11) {
|
|
r6 = value14;
|
|
continue reducibleLoop21;
|
|
}
|
|
break reducibleLoop21;
|
|
}
|
|
}
|
|
value2.children = value12;
|
|
break reducibleJoin24;
|
|
}
|
|
break reducibleJoin24;
|
|
}
|
|
}
|
|
return ReactElement(a0.type, r4, undefined, undefined, undefined, value2);
|
|
}
|
|
|
|
function createContext(a0) { // fn#1238, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:5810, offset: 0x00c56479, size: 68 bytes, params: 2, frame: 4
|
|
const object = {'$$typeof': null, '_currentValue': null, '_currentValue2': null, '_threadCount': 0,
|
|
'Provider': null, 'Consumer': null};
|
|
object.$$typeof = env0_3;
|
|
object._currentValue = a0;
|
|
object._currentValue2 = a0;
|
|
object.Provider = object;
|
|
object.Consumer = {$$typeof: env0_2, _context: object};
|
|
return object;
|
|
}
|
|
|
|
function createElement(a0, a1, a2) { // fn#1239, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:5986, offset: 0x00c564bd, size: 300 bytes, params: 4, frame: 32
|
|
var r14;
|
|
var r11;
|
|
var r16;
|
|
var r1;
|
|
var r5;
|
|
var r7;
|
|
var key;
|
|
var properties;
|
|
var properties2;
|
|
var properties3;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var hasOwnPropertyBinding;
|
|
var call;
|
|
var value2;
|
|
var value3;
|
|
var value4;
|
|
var value5;
|
|
var Array;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var defaultProps;
|
|
var properties4;
|
|
var properties5;
|
|
var propertyName3;
|
|
const object = {};
|
|
let value = null;
|
|
reducibleJoin13: while (true) {
|
|
if (value == a1) {
|
|
r1 = value;
|
|
break reducibleJoin13;
|
|
}
|
|
key = a1.key;
|
|
reducibleJoin3: while (true) {
|
|
if (key === undefined) {
|
|
r14 = value;
|
|
break reducibleJoin3;
|
|
}
|
|
key = a1.key;
|
|
value = String(key);
|
|
r14 = value;
|
|
break reducibleJoin3;
|
|
}
|
|
value = environment;
|
|
properties = Object.keys(a1);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === undefined) {
|
|
r1 = r14;
|
|
break reducibleJoin13;
|
|
}
|
|
r11 = properties2;
|
|
reducibleLoop4: while (true) {
|
|
propertyName = properties[r11];
|
|
propertyName2 = r11 + 1;
|
|
if (propertyName === undefined) {
|
|
r1 = r14;
|
|
break reducibleJoin13;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
value2 = Reflect.apply(call, hasOwnPropertyBinding, [a1, propertyName]);
|
|
reducibleJoin7: while (true) {
|
|
if (value2) {
|
|
value3 = propertyName !== 'key';
|
|
r16 = value3;
|
|
break reducibleJoin7;
|
|
}
|
|
r16 = value2;
|
|
break reducibleJoin7;
|
|
}
|
|
reducibleJoin9: while (true) {
|
|
if (r16) {
|
|
value4 = propertyName !== '__self';
|
|
r16 = value4;
|
|
break reducibleJoin9;
|
|
}
|
|
break reducibleJoin9;
|
|
}
|
|
reducibleJoin11: while (true) {
|
|
if (r16) {
|
|
value5 = propertyName !== '__source';
|
|
r16 = value5;
|
|
break reducibleJoin11;
|
|
}
|
|
break reducibleJoin11;
|
|
}
|
|
if (r16) {
|
|
object[propertyName] = a1[propertyName];
|
|
r11 = propertyName2;
|
|
continue reducibleLoop4;
|
|
}
|
|
r11 = propertyName2;
|
|
continue reducibleLoop4;
|
|
}
|
|
}
|
|
value = arguments.length - 2;
|
|
if (value === 1) {
|
|
object.children = a2;
|
|
} else {
|
|
reducibleJoin19: while (true) {
|
|
if (1 < value) {
|
|
Array = global.Array;
|
|
value6 = Array(value);
|
|
value7 = 0;
|
|
if (value7 < value) {
|
|
r5 = value7;
|
|
reducibleLoop16: while (true) {
|
|
value6[r5] = arguments[r5 + 2];
|
|
value8 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
if (value8 < value) {
|
|
r5 = value8;
|
|
continue reducibleLoop16;
|
|
}
|
|
break reducibleLoop16;
|
|
}
|
|
}
|
|
object.children = value6;
|
|
break reducibleJoin19;
|
|
}
|
|
break reducibleJoin19;
|
|
}
|
|
}
|
|
reducibleJoin25: while (true) {
|
|
if (!a0) {
|
|
break reducibleJoin25;
|
|
}
|
|
defaultProps = a0.defaultProps;
|
|
if (!defaultProps) {
|
|
break reducibleJoin25;
|
|
}
|
|
defaultProps = a0.defaultProps;
|
|
properties = Object.keys(defaultProps);
|
|
properties4 = 0;
|
|
properties5 = properties.length;
|
|
if (properties === undefined) {
|
|
break reducibleJoin25;
|
|
}
|
|
r7 = properties4;
|
|
reducibleLoop22: while (true) {
|
|
propertyName = properties[r7];
|
|
propertyName3 = r7 + 1;
|
|
if (propertyName === undefined) {
|
|
break reducibleJoin25;
|
|
}
|
|
if (object[propertyName] !== undefined) {
|
|
r7 = propertyName3;
|
|
continue reducibleLoop22;
|
|
}
|
|
object[propertyName] = defaultProps[propertyName];
|
|
r7 = propertyName3;
|
|
continue reducibleLoop22;
|
|
}
|
|
}
|
|
return ReactElement(a0, r1, undefined, undefined, undefined, object);
|
|
}
|
|
|
|
function forwardRef(a0) { // fn#1241, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:6432, offset: 0x00c565f3, size: 24 bytes, params: 2, frame: 2
|
|
return {$$typeof: env0_4, render: a0};
|
|
}
|
|
|
|
function lazy(a0) { // fn#1242, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:6512, offset: 0x00c5660b, size: 51 bytes, params: 2, frame: 4
|
|
return {$$typeof: env0_6, _payload: {_status: -1, _result: a0}, _init: lazyInitializer};
|
|
}
|
|
|
|
function memo(a0, a1) { // fn#1243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:6605, offset: 0x00c5663e, size: 42 bytes, params: 3, frame: 4
|
|
const value = a1;
|
|
return {$$typeof: env0_5, type: a0, compare: value === undefined ? null : value};
|
|
}
|
|
|
|
function startTransition(a0) { // fn#1244, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:6690, offset: 0x00c56668, size: 193 bytes, params: 2, frame: 19
|
|
var r5;
|
|
var r4;
|
|
var value2;
|
|
var S;
|
|
var value3;
|
|
var value4;
|
|
var value5;
|
|
var then;
|
|
var value6;
|
|
var noop_1219Binding;
|
|
var error;
|
|
let binding = env0_12;
|
|
const T = binding.T;
|
|
const object = {};
|
|
binding.T = object;
|
|
try {
|
|
try {
|
|
value2 = a0();
|
|
binding = env0_12;
|
|
S = binding.S;
|
|
value3 = S === null;
|
|
if (!value3) {
|
|
S(object, value2);
|
|
}
|
|
value4 = typeof value2 === 'object';
|
|
if (value4) {
|
|
value5 = value2 !== null;
|
|
r5 = value5;
|
|
} else {
|
|
r5 = value4;
|
|
}
|
|
if (r5) {
|
|
then = value2.then;
|
|
value6 = typeof then === 'function';
|
|
r4 = value6;
|
|
} else {
|
|
r4 = r5;
|
|
}
|
|
if (r4) {
|
|
then = value2.then;
|
|
noop_1219Binding = noop_1219;
|
|
binding = env0_15;
|
|
Reflect.apply(then, value2, [noop_1219Binding, binding]);
|
|
}
|
|
} catch (error) {
|
|
binding = env0_15;
|
|
binding(error);
|
|
}
|
|
} catch (error) {
|
|
env0_12.T = T;
|
|
throw error;
|
|
}
|
|
env0_12.T = T;
|
|
}
|
|
|
|
function unstable_useCacheRefresh() { // fn#1245, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:6889, offset: 0x00c56729, size: 25 bytes, params: 1, frame: 9
|
|
const H = env0_12.H;
|
|
return H.useCacheRefresh();
|
|
}
|
|
|
|
function use(a0) { // fn#1246, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:6936, offset: 0x00c56742, size: 29 bytes, params: 2, frame: 11
|
|
const H = env0_12.H;
|
|
return H.use(a0);
|
|
}
|
|
|
|
function useActionState(a0, a1, a2) { // fn#1247, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:6984, offset: 0x00c5675f, size: 37 bytes, params: 4, frame: 15
|
|
const H = env0_12.H;
|
|
return H.useActionState(a0, a1, a2);
|
|
}
|
|
|
|
function useCallback(a0, a1) { // fn#1248, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7048, offset: 0x00c56784, size: 32 bytes, params: 3, frame: 13
|
|
const H = env0_12.H;
|
|
return H.useCallback(a0, a1);
|
|
}
|
|
|
|
function useContext(a0) { // fn#1249, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7104, offset: 0x00c567a4, size: 29 bytes, params: 2, frame: 11
|
|
const H = env0_12.H;
|
|
return H.useContext(a0);
|
|
}
|
|
|
|
function useDeferredValue(a0, a1) { // fn#1251, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7190, offset: 0x00c567c1, size: 33 bytes, params: 3, frame: 13
|
|
const H = env0_12.H;
|
|
return H.useDeferredValue(a0, a1);
|
|
}
|
|
|
|
function useEffect(a0, a1, a2) { // fn#1252, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7250, offset: 0x00c567e2, size: 69 bytes, params: 4, frame: 13
|
|
const H = env0_12.H;
|
|
if (typeof a2 === 'function') {
|
|
throw global.Error('useEffect CRUD overload is not enabled in this build of React.');
|
|
}
|
|
return H.useEffect(a0, a1);
|
|
}
|
|
|
|
function useId() { // fn#1253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7411, offset: 0x00c56827, size: 25 bytes, params: 1, frame: 9
|
|
const H = env0_12.H;
|
|
return H.useId();
|
|
}
|
|
|
|
function useImperativeHandle(a0, a1, a2) { // fn#1254, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7464, offset: 0x00c56840, size: 37 bytes, params: 4, frame: 15
|
|
const H = env0_12.H;
|
|
return H.useImperativeHandle(a0, a1, a2);
|
|
}
|
|
|
|
function useInsertionEffect(a0, a1) { // fn#1255, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7540, offset: 0x00c56865, size: 33 bytes, params: 3, frame: 13
|
|
const H = env0_12.H;
|
|
return H.useInsertionEffect(a0, a1);
|
|
}
|
|
|
|
function useLayoutEffect(a0, a1) { // fn#1256, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7608, offset: 0x00c56886, size: 33 bytes, params: 3, frame: 13
|
|
const H = env0_12.H;
|
|
return H.useLayoutEffect(a0, a1);
|
|
}
|
|
|
|
function useMemo(a0, a1) { // fn#1257, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7665, offset: 0x00c568a7, size: 32 bytes, params: 3, frame: 13
|
|
const H = env0_12.H;
|
|
return H.useMemo(a0, a1);
|
|
}
|
|
|
|
function useOptimistic(a0, a1) { // fn#1258, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7720, offset: 0x00c568c7, size: 33 bytes, params: 3, frame: 13
|
|
const H = env0_12.H;
|
|
return H.useOptimistic(a0, a1);
|
|
}
|
|
|
|
function useReducer(a0, a1, a2) { // fn#1259, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7778, offset: 0x00c568e8, size: 37 bytes, params: 4, frame: 15
|
|
const H = env0_12.H;
|
|
return H.useReducer(a0, a1, a2);
|
|
}
|
|
|
|
function useRef(a0) { // fn#1260, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7833, offset: 0x00c5690d, size: 28 bytes, params: 2, frame: 11
|
|
const H = env0_12.H;
|
|
return H.useRef(a0);
|
|
}
|
|
|
|
function useState(a0) { // fn#1261, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7878, offset: 0x00c56929, size: 28 bytes, params: 2, frame: 11
|
|
const H = env0_12.H;
|
|
return H.useState(a0);
|
|
}
|
|
|
|
function useSyncExternalStore(a0, a1, a2) { // fn#1262, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:7937, offset: 0x00c56945, size: 37 bytes, params: 4, frame: 15
|
|
const H = env0_12.H;
|
|
return H.useSyncExternalStore(a0, a1, a2);
|
|
}
|
|
|
|
function useTransition() { // fn#1263, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:8009, offset: 0x00c5696a, size: 25 bytes, params: 1, frame: 9
|
|
const H = env0_12.H;
|
|
return H.useTransition();
|
|
}
|
|
|
|
}
|
|
|
|
function _fun1226(a0) { // fn#1226, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:47:4149, offset: 0x00c56103, size: 277 bytes, params: 2, frame: 17
|
|
var process;
|
|
var object;
|
|
var errorEvent;
|
|
let window = global.window;
|
|
if (typeof window !== 'object') {
|
|
process = global.process;
|
|
if (typeof process !== 'object') {
|
|
global.console.error(a0);
|
|
return undefined;
|
|
}
|
|
process = global.process;
|
|
if (typeof process.emit !== 'function') {
|
|
global.console.error(a0);
|
|
return undefined;
|
|
}
|
|
process = global.process;
|
|
process.emit('uncaughtException', a0);
|
|
} else {
|
|
window = global.window;
|
|
var ErrorEvent = window.ErrorEvent;
|
|
if (typeof ErrorEvent === 'function') {
|
|
window = global.window;
|
|
ErrorEvent = window.ErrorEvent;
|
|
object = {'bubbles': true, 'cancelable': true};
|
|
object.message = typeof a0 !== 'object' || a0 === null ? global.String(a0) : typeof a0.message === 'string' ? global.String(a0.message) : global.String(a0);
|
|
object.error = a0;
|
|
errorEvent = new ErrorEvent('error');
|
|
window = global.window;
|
|
if (window.dispatchEvent(errorEvent)) {
|
|
global.console.error(a0);
|
|
return undefined;
|
|
}
|
|
return undefined;
|
|
}
|
|
process = global.process;
|
|
if (typeof process !== 'object') {
|
|
global.console.error(a0);
|
|
return undefined;
|
|
}
|
|
process = global.process;
|
|
if (typeof process.emit !== 'function') {
|
|
global.console.error(a0);
|
|
return undefined;
|
|
}
|
|
process = global.process;
|
|
process.emit('uncaughtException', a0);
|
|
}
|
|
}
|
|
|
|
global.__d(_fun1199, 32, []) /* metro module 32 */;
|