Files
discord-decomp/sources/modules/checkout/CheckoutError.tsx
T
2026-07-27 16:20:00 +03:00

63 lines
2.9 KiB
TypeScript

/* Metro module 8458; source: modules/checkout/CheckoutError.tsx; dependencies: [7, 6, 15, 17, 18, 8459, 2] */
function _fun67185(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67185, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8643:6, offset: 0x01c18d99, size: 204 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = importDefault(7) /* metro dependency 7 */;
const env0_1 = importDefault(6) /* metro dependency 6 */;
const env0_2 = importDefault(15) /* metro dependency 15 */;
const env0_3 = importDefault(17) /* metro dependency 17 */;
const env0_4 = importDefault(18) /* metro dependency 18 */;
const RevenueError = (require(8459) /* metro dependency 8459: RevenueError */).RevenueError;
const value = _fun67189(RevenueError);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/checkout/CheckoutError.tsx');
exports.CheckoutError = value;
}
function _isNativeReflectConstruct_67186() { // fn#67186, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8643:148, offset: 0x01c18e65, size: 98 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_67186_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun67189(a0) { // fn#67189, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8643:347, offset: 0x01c18ec7, size: 42 bytes, params: 2, frame: 14
const closure = CheckoutError;
env0_4(closure, a0);
return env0_0(closure);
}
function CheckoutError(a0) { // fn#67190, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8643:359, offset: 0x01c18ef1, size: 127 bytes, params: 2, frame: 19
let value = environment.__proto__;
env1_1(this, CheckoutError);
const items2 = [a0];
const value3 = env1_3(CheckoutError);
value = env1_2(this, _isNativeReflectConstruct_67186() ? global.Reflect.construct(value3, items2,
env1_3(this).constructor) : value3.apply(this, items2));
value.name = 'FatalCheckoutError';
return value;
}