88 lines
4.5 KiB
TypeScript
88 lines
4.5 KiB
TypeScript
/* Metro module 9156; source: stores/native/DisplayedInviteStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 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 Flux from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun71794(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#71794, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9341:6, offset: 0x01d2d61c, size: 287 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Store = (Flux).Store;
|
|
let value = _fun71798(Store);
|
|
value.displayName = 'DisplayedInviteStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {DISPLAYED_INVITE_SHOW: function({code,
|
|
username, deeplinkAttemptId}) {
|
|
env0_0 = code;
|
|
env0_6 = username;
|
|
env0_7 = deeplinkAttemptId;
|
|
}, DISPLAYED_INVITE_CLEAR: function() {
|
|
env0_0 = null;
|
|
env0_7 = null;
|
|
}});
|
|
(FileImportTrackerModule).fileFinishedImporting('stores/native/DisplayedInviteStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_71795() { // fn#71795, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9341:150, offset: 0x01d2d73b, 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_71795_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun71798(a0) { // fn#71798, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9341:367, offset: 0x01d2d79d, size: 126 bytes, params: 2, frame: 16
|
|
const DisplayedInviteStore2 = DisplayedInviteStore;
|
|
Inherits(DisplayedInviteStore2, a0);
|
|
return CreateClass(DisplayedInviteStore2, [{key: 'getDisplayedInviteCode', value: value_71800},
|
|
{key: 'getDisplayedUsername', value: value_71801}, {key: 'getDeeplinkAttemptId', value: value_71802}]);
|
|
function DisplayedInviteStore() { // fn#71799, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9341:379, offset: 0x01d2d81b, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_1(this, DisplayedInviteStore);
|
|
const value3 = env1_4(DisplayedInviteStore);
|
|
return env1_3(this, _isNativeReflectConstruct_71795() ? global.Reflect.construct(value3, arguments,
|
|
env1_4(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_71800() { // fn#71800, offset: 0x00e6cfe6, size: 9 bytes, params: 1, frame: 1
|
|
return env1_0;
|
|
}
|
|
|
|
function value_71801() { // fn#71801, offset: 0x00c82288, size: 9 bytes, params: 1, frame: 1
|
|
return env1_6;
|
|
}
|
|
|
|
function value_71802() { // fn#71802, offset: 0x00fbd9cb, size: 9 bytes, params: 1, frame: 1
|
|
return env1_7;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun71794, 9156, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 9156, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|