Files
discord-decomp/sources/errors/StripeError.tsx
T
2026-07-27 16:20:00 +03:00

76 lines
3.3 KiB
TypeScript

/* Metro module 4133; source: errors/StripeError.tsx; dependencies: [7, 6, 16, 15, 17, 18, 3824, 2] */
function _fun34325(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34325, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4304:6, offset: 0x01052762, size: 219 bytes, params: 8, frame: 18
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(16) /* metro dependency 16 */;
const env0_3 = importDefault(15) /* metro dependency 15 */;
const env0_4 = importDefault(17) /* metro dependency 17 */;
const env0_5 = importDefault(18) /* metro dependency 18 */;
let value = importDefault(3824) /* metro dependency 3824: BillingError */;
value = _fun34330(value);
(require(2) /* metro dependency 2 */).fileFinishedImporting('errors/StripeError.tsx');
exports.default = value;
}
function _callSuper_34326(a0, a1, a2) { // fn#34326, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4304:158, offset: 0x0105283d, size: 100 bytes, params: 4, frame: 20
var r0;
var Reflect;
let value = a2;
const value3 = env0_4(a1);
const binding = env0_3;
if (_isNativeReflectConstruct_34327()) {
Reflect = global.Reflect;
value = Reflect.construct(value3, value || [], env0_4(a0).constructor);
r0 = value;
} else {
value = value3.apply(a0, value);
r0 = value;
}
return binding(a0, r0);
}
function _isNativeReflectConstruct_34327() { // fn#34327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4304:289, offset: 0x010528a1, size: 94 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_34327_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun34330(a0) { // fn#34330, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4304:488, offset: 0x010528ff, size: 40 bytes, params: 2, frame: 14
const closure = StripeError;
env0_5(closure, a0);
return env0_0(closure);
}
function StripeError({error}) { // fn#34331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4304:500, offset: 0x01052927, size: 141 bytes, params: 2, frame: 21
env1_1(this, StripeError);
return env1_2(error.param != null ? _callSuper_34326(this, StripeError,
[{body: {[error.param]: [error.message]}}]) : _callSuper_34326(this, StripeError, [error.message]));
}