97 lines
5.0 KiB
TypeScript
97 lines
5.0 KiB
TypeScript
/* Metro module 8043; source: modules/popout-window/PopoutWindowStore.native.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 _fun63745(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8221:6, offset: 0x01b8f25e, size: 264 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_5 = {};
|
|
const PersistedStore = (Flux).PersistedStore;
|
|
let value = _fun63749(PersistedStore);
|
|
value.displayName = 'PopoutWindowStore';
|
|
value.persistKey = 'PopoutWindowStoreIOS';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/popout-window/PopoutWindowStore.native.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_63746() { // fn#63746, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8221:148, offset: 0x01b8f366, 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_63746_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun63749(a0) { // fn#63749, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8221:352, offset: 0x01b8f3c4, size: 339 bytes, params: 2, frame: 16
|
|
const PopoutWindowStore2 = PopoutWindowStore;
|
|
Inherits(PopoutWindowStore2, a0);
|
|
return CreateClass(PopoutWindowStore2, [{key: 'initialize', value: value_63751}, {key: 'getWindow', value: function() {
|
|
return null;
|
|
}}, {key: 'getWindowState', value: function() {
|
|
return null;
|
|
}}, {key: 'getWindowKeys', value: function() {
|
|
return [];
|
|
}}, {key: 'getWindowOpen', value: function() {
|
|
return false;
|
|
}}, {key: 'getIsAlwaysOnTop', value: function() {
|
|
return false;
|
|
}}, {key: 'getWindowFocused', value: function() {
|
|
return false;
|
|
}}, {key: 'getWindowVisible', value: function() {
|
|
return false;
|
|
}}, {key: 'getState', value: value_63759}, {key: 'isWindowFullyInitialized', value: function() {
|
|
return false;
|
|
}}, {key: 'isWindowFullScreen', value: function() {
|
|
return false;
|
|
}}, {key: 'unmountWindow', value: function() {
|
|
}}]);
|
|
function PopoutWindowStore() { // fn#63750, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8221:364, offset: 0x00c7a0d6, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, PopoutWindowStore);
|
|
const value3 = env1_3(PopoutWindowStore);
|
|
return env1_2(this, _isNativeReflectConstruct_63746() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_63751(a0) { // fn#63751, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8221:667, offset: 0x01172f6e, size: 22 bytes, params: 2, frame: 2
|
|
const r1 = a0 ?? ({});
|
|
value = environment.__proto__;
|
|
}
|
|
|
|
function value_63759() { // fn#63759, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
|
|
return env1_5;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun63745, 8043, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 8043, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|