111 lines
4.7 KiB
JavaScript
111 lines
4.7 KiB
JavaScript
/* Metro module 836; source: unknown; dependencies: [] */
|
|
function _fun9056(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9056, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:6, offset: 0x00d5c151, size: 270 bytes, params: 8, frame: 21
|
|
const closure = function(a0) {
|
|
return typeof a0 === 'object' && a0 !== null && '__sentry_template_string__' in a0 && '__sentry_template_values__' in a0;
|
|
};
|
|
const closure2 = function(a0) {
|
|
return isBuiltin(a0, 'Object');
|
|
};
|
|
const closure3 = function(a0, a1) {
|
|
var value;
|
|
var error;
|
|
try {
|
|
value = a0 instanceof a1;
|
|
} catch (error) {
|
|
return false;
|
|
}
|
|
return value;
|
|
};
|
|
let Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
Object = global.Object;
|
|
const env0_0 = Object.prototype.toString;
|
|
exports.isDOMError = function(a0) {
|
|
return isBuiltin(a0, 'DOMError');
|
|
};
|
|
exports.isDOMException = function(a0) {
|
|
return isBuiltin(a0, 'DOMException');
|
|
};
|
|
exports.isElement = isElement_9063;
|
|
exports.isError = function(a0) {
|
|
var value2 = toString.call(a0);
|
|
if (value2 === '[object Error]') {
|
|
return true;
|
|
}
|
|
if (value2 === '[object Exception]') {
|
|
return true;
|
|
}
|
|
if (value2 === '[object DOMException]') {
|
|
return true;
|
|
}
|
|
if (value2 === '[object WebAssembly.Exception]') {
|
|
return true;
|
|
}
|
|
return isInstanceOf(a0, global.Error);
|
|
};
|
|
exports.isErrorEvent = function(a0) {
|
|
return isBuiltin(a0, 'ErrorEvent');
|
|
};
|
|
exports.isEvent = isEvent;
|
|
exports.isInstanceOf = closure3;
|
|
exports.isParameterizedString = closure;
|
|
exports.isPlainObject = closure2;
|
|
exports.isPrimitive = isPrimitive;
|
|
exports.isRegExp = function(a0) {
|
|
return isBuiltin(a0, 'RegExp');
|
|
};
|
|
exports.isRequest = isRequest;
|
|
exports.isString = function(a0) {
|
|
return isBuiltin(a0, 'String');
|
|
};
|
|
exports.isSyntheticEvent = isSyntheticEvent;
|
|
exports.isThenable = function(a0) {
|
|
var Boolean = global.Boolean;
|
|
return Boolean(a0?.then && typeof a0.then === 'function');
|
|
};
|
|
exports.isVueViewModel = function(a0) {
|
|
var r0;
|
|
var r1;
|
|
r0 = typeof a0 !== 'object' || a0 === null;
|
|
if (!r0) {
|
|
r1 = a0.__isVue || a0._isVue;
|
|
r1 = !r1 ? a0.__v_isVNode : r1;
|
|
r0 = !r1;
|
|
}
|
|
return !r0;
|
|
};
|
|
function isBuiltin(a0, a1) { // fn#9057, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:123, offset: 0x00d5c25f, size: 58 bytes, params: 3, frame: 14
|
|
return toString.call(a0) === '[object ' + a1 + ']';
|
|
}
|
|
|
|
function isElement_9063(a0) { // fn#9063, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:606, offset: 0x00d5c322, size: 48 bytes, params: 2, frame: 14
|
|
const Element = global.Element;
|
|
return typeof Element !== 'undefined' && isInstanceOf(a0, global.Element);
|
|
}
|
|
|
|
function isEvent(a0) { // fn#9066, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:979, offset: 0x00d5c3be, size: 48 bytes, params: 2, frame: 14
|
|
const Event = global.Event;
|
|
return typeof Event !== 'undefined' && isInstanceOf(a0, global.Event);
|
|
}
|
|
|
|
function isPrimitive(a0) { // fn#9067, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:1173, offset: 0x00d5c3ee, size: 56 bytes, params: 2, frame: 12
|
|
let r0 = a0 === null || isParameterizedString(a0);
|
|
r0 = !r0 ? typeof a0 !== 'object' && typeof a0 !== 'function' : r0;
|
|
return r0;
|
|
}
|
|
|
|
function isRequest(a0) { // fn#9069, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:1356, offset: 0x00d5c43e, size: 48 bytes, params: 2, frame: 14
|
|
const Request = global.Request;
|
|
return typeof Request !== 'undefined' && isInstanceOf(a0, global.Request);
|
|
}
|
|
|
|
function isSyntheticEvent(a0) { // fn#9071, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:1519, offset: 0x00d5c486, size: 52 bytes, params: 2, frame: 11
|
|
return isPlainObject_9059(a0) && 'nativeEvent' in a0 && 'preventDefault' in a0 && 'stopPropagation' in a0;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun9056, 836, []) /* metro module 836 */;
|