Files
discord-decomp/sources/errors/StripeError.tsx
T
2026-07-28 01:06:53 +03:00

80 lines
4.0 KiB
TypeScript

/* Metro module 4133; source: errors/StripeError.tsx; dependencies: [7, 6, 16, 15, 17, 18, 3824, 2] */
import ClassCallCheck from '../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from '../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from '../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00016 from '../by-id/module-00016.js'; /* Metro dependency 16 */
import Module00017 from '../by-id/module-00017.js'; /* Metro dependency 17 */
import Inherits from '../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
import BillingError from './BillingError.tsx'; /* Metro dependency 3824 */
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 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});
let value = BillingError;
value = _fun34330(value);
(FileImportTrackerModule).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 = Module00017(a1);
if (_isNativeReflectConstruct_34327()) {
Reflect = global.Reflect;
value = Reflect.construct(value3, value || [], Module00017(a0).constructor);
r0 = value;
} else {
value = value3.apply(a0, value);
r0 = value;
}
return PossibleConstructorReturn(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 StripeError2 = StripeError;
Inherits(StripeError2, a0);
return CreateClass(StripeError2);
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]));
}
}
}
global.__d(_fun34325, 4133, [7, 6, 16, 15, 17, 18, 3824,
2]) /* metro module 4133, dependencies: [7, 6, 16, 15, 17, 18, 3824, 2] */;