74 lines
3.9 KiB
TypeScript
74 lines
3.9 KiB
TypeScript
/* Metro module 4236; source: records/CompanyRecord.tsx; dependencies: [6, 7, 15, 17, 18, 1886, 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 Module00017 from '../by-id/module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from '../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import Record from '../lib/Record.tsx'; /* Metro dependency 1886 */
|
|
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun35034(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#35034, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4407:6, offset: 0x010695c2, size: 194 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = Record;
|
|
value = _fun35038(value);
|
|
(FileImportTrackerModule).fileFinishedImporting('records/CompanyRecord.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_35035() { // fn#35035, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4407:148, offset: 0x01069684, 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_35035_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun35038(a0) { // fn#35038, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4407:347, offset: 0x010696e2, size: 71 bytes, params: 2, frame: 16
|
|
const CompanyRecord2 = CompanyRecord;
|
|
Inherits(CompanyRecord2, a0);
|
|
return CreateClass(CompanyRecord2, null, [{key: 'createFromServer', value: value_35040}]);
|
|
function CompanyRecord({id, name}) { // fn#35039, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4407:359, offset: 0x01069729, size: 133 bytes, params: 2, frame: 20
|
|
let value = environment.__proto__;
|
|
env1_0(this, CompanyRecord);
|
|
const value3 = env1_3(CompanyRecord);
|
|
value = env1_2(this, _isNativeReflectConstruct_35035() ? global.Reflect.construct(value3, [],
|
|
env1_3(this).constructor) : value3.apply(this, undefined));
|
|
value.id = id;
|
|
value.name = name;
|
|
return value;
|
|
}
|
|
|
|
function value_35040(a0) { // fn#35040, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4407:678, offset: 0x00edd39f, size: 32 bytes, params: 2, frame: 11
|
|
const value = Object.create(CompanyRecord.prototype, {constructor: {value: CompanyRecord}});
|
|
const companyRecord = new CompanyRecord(a0);
|
|
return companyRecord instanceof Object ? companyRecord : value;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun35034, 4236, [6, 7, 15, 17, 18, 1886,
|
|
2]) /* metro module 4236, dependencies: [6, 7, 15, 17, 18, 1886, 2] */;
|