This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

+69 -48
View File
@@ -1,13 +1,16 @@
/* Metro module 9878; source: stores/native/AlertStore.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 _fun77465(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77465, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:6, offset: 0x01dfda16, size: 301 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = importDefault(6) /* metro dependency 6 */;
const env0_1 = importDefault(7) /* metro dependency 7 */;
const env0_2 = importDefault(15) /* metro dependency 15 */;
const env0_3 = importDefault(17) /* metro dependency 17 */;
const env0_4 = importDefault(18) /* metro dependency 18 */;
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
const Store = (Flux).Store;
let value = _fun77469(Store);
value.displayName = 'AlertStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {ALERT_OPEN: ALERT_OPEN,
@@ -15,52 +18,70 @@ function _fun77465(global, require, importDefault, importAll, module, exports, d
env0_5 = null;
env0_7 = null;
}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/native/AlertStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('stores/native/AlertStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_77466() { // fn#77466, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:148, offset: 0x01dfdb43, 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) {
function _isNativeReflectConstruct_77466() { // fn#77466, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:148, offset: 0x01dfdb43, 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_77466_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_77466_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun77469(a0) { // fn#77469, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:370, offset: 0x01dfdba5, size: 126 bytes, params: 2, frame: 16
const closure = AlertStore;
env0_4(closure, a0);
return env0_1(closure, [{key: 'getAlert', value: value_77471}, {key: 'getAlertKey', value: value_77472},
{key: 'isAlertDismissable', value: value_77473}]);
}
function _fun77469(a0) { // fn#77469, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:370, offset: 0x01dfdba5, size: 126 bytes, params: 2, frame: 16
const AlertStore2 = AlertStore;
Inherits(AlertStore2, a0);
return CreateClass(AlertStore2, [{key: 'getAlert', value: value_77471}, {key: 'getAlertKey', value: value_77472},
{key: 'isAlertDismissable', value: value_77473}]);
function AlertStore() { // fn#77470, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:382, offset: 0x00e4046a, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_0(this, AlertStore);
const value3 = env1_3(AlertStore);
return env1_2(this, _isNativeReflectConstruct_77466() ? global.Reflect.construct(value3, arguments,
env1_3(this).constructor) : value3.apply(this, arguments));
}
function ALERT_OPEN({alert, isDismissable}) { // fn#77474, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:864, offset: 0x01dfdc44, size: 45 bytes, params: 2, frame: 5
env0_6 += 1;
}
function value_77471() { // fn#77471, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
return env1_5;
}
function value_77472() { // fn#77472, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:695, offset: 0x01dfdc23, size: 33 bytes, params: 1, frame: 11
return 'alert-store-' + env1_6;
}
function value_77473() { // fn#77473, offset: 0x00fbd9cb, size: 9 bytes, params: 1, frame: 1
return env1_7;
}
}
function ALERT_OPEN({alert, isDismissable}) { // fn#77474, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:864, offset: 0x01dfdc44, size: 45 bytes, params: 2, frame: 5
env0_6 += 1;
}
function value_77472() { // fn#77472, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10064:695, offset: 0x01dfdc23, size: 33 bytes, params: 1, frame: 11
return 'alert-store-' + env1_6;
}
global.__d(_fun77465, 9878, [6, 7, 15, 17, 18, 566, 694,
2]) /* metro module 9878, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
+59 -41
View File
@@ -28,49 +28,67 @@ function _fun55720(global, require, importDefault, importAll, module, exports, d
}});
require(dependencyMap[11]).fileFinishedImporting('stores/native/AppStateStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_55721() { // fn#55721, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:187, offset: 0x013af96d, 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) {
function _isNativeReflectConstruct_55721() { // fn#55721, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:187, offset: 0x013af96d, 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_55721_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_55721_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun55724(a0) { // fn#55724, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:414, offset: 0x013af9cb, size: 93 bytes, params: 2, frame: 16
const closure = AppStateStore;
env0_4(closure, a0);
return env0_1(closure, [{key: 'getState', value: function() {
return currentState;
}}, {key: 'getLastActiveTime', value: value_55727}]);
}
function _fun55724(a0) { // fn#55724, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:414, offset: 0x013af9cb, size: 93 bytes, params: 2, frame: 16
const AppStateStore2 = AppStateStore;
env0_4(AppStateStore2, a0);
return env0_1(AppStateStore2, [{key: 'getState', value: function() {
return currentState;
}}, {key: 'getLastActiveTime', value: value_55727}]);
function AppStateStore() { // fn#55725, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:426, offset: 0x00e4046a, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_0(this, AppStateStore);
const value3 = env1_3(AppStateStore);
return env1_2(this, _isNativeReflectConstruct_55721() ? global.Reflect.construct(value3, arguments,
env1_3(this).constructor) : value3.apply(this, arguments));
}
function value_55727() { // fn#55727, offset: 0x00fbd9cb, size: 9 bytes, params: 1, frame: 1
return env1_7;
}
}
function _fun55728({addExtraAnalyticsDecorator}) { // fn#55728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:858, offset: 0x013afa28, size: 25 bytes, params: 2, frame: 11
addExtraAnalyticsDecorator(function(a0) {
a0.client_app_state = currentState;
});
function _fun55729(a0) { // fn#55729, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:896, offset: 0x013afa41, size: 20 bytes, params: 2, frame: 2
a0.client_app_state = currentState;
}
}
function _fun55728({addExtraAnalyticsDecorator}) { // fn#55728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:858, offset: 0x013afa28, size: 25 bytes, params: 2, frame: 11
addExtraAnalyticsDecorator(function(a0) {
a0.client_app_state = currentState;
});
}
global.__d(_fun55720, 7030, [6, 7, 15, 17, 18, 27, 661, 566, 683, 1962, 694,
2]) /* metro module 7030, dependencies: [6, 7, 15, 17, 18, 27, 661, 566, 683, 1962, 694, 2] */;
+66 -49
View File
@@ -1,13 +1,16 @@
/* 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 env0_1 = importDefault(6) /* metro dependency 6 */;
const env0_2 = importDefault(7) /* metro dependency 7 */;
const env0_3 = importDefault(15) /* metro dependency 15 */;
const env0_4 = importDefault(17) /* metro dependency 17 */;
const env0_5 = importDefault(18) /* metro dependency 18 */;
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
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,
@@ -19,52 +22,66 @@ function _fun71794(global, require, importDefault, importAll, module, exports, d
env0_0 = null;
env0_7 = null;
}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/native/DisplayedInviteStore.tsx');
(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) {
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;
})();
}
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 closure = DisplayedInviteStore;
env0_5(closure, a0);
return env0_2(closure, [{key: 'getDisplayedInviteCode', value: value_71800}, {key: 'getDisplayedUsername',
value: value_71801}, {key: 'getDeeplinkAttemptId', value: value_71802}]);
}
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;
}
}
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));
}
global.__d(_fun71794, 9156, [6, 7, 15, 17, 18, 566, 694,
2]) /* metro module 9156, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
+199 -155
View File
@@ -1,18 +1,22 @@
/* Metro module 5140; source: stores/native/IAPStore.android.tsx; dependencies: [6, 7, 15, 17, 18, 5141, 482, 5137, 3817, 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 */
import * as ConstantsModule from '../../external/discord_common/js/shared/Constants.tsx'; /* Metro dependency 482 */
import * as ConstantsModule2 from '../../modules/gplay/native/Constants.tsx'; /* Metro dependency 5141 */
function _fun45333(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#45333, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:6, offset: 0x0118c266, size: 587 bytes, params: 8, frame: 21
const env0_0 = require;
const closure = GPLAY_SUBSCRIPTION_SKUS_LOADED;
const GPLAY_SUBSCRIPTION_SKUS_LOADED2 = GPLAY_SUBSCRIPTION_SKUS_LOADED;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = importDefault(15) /* metro dependency 15 */;
const env0_5 = importDefault(17) /* metro dependency 17 */;
const env0_6 = importDefault(18) /* metro dependency 18 */;
const constantsModule = require(5141) /* metro dependency 5141: Constants */;
const constantsModule = ConstantsModule2;
const GPlayConnectionState = constantsModule.GPlayConnectionState;
const env0_8 = constantsModule.GPlaySkusType;
const env0_9 = (require(482) /* metro dependency 482: Constants */).CurrencyCodes;
let env0_10 = GPlayConnectionState.DISCONNECTED;
const Map = global.Map;
const map = new Map();
@@ -20,18 +24,19 @@ function _fun45333(global, require, importDefault, importAll, module, exports, d
let set = new Set();
Set = global.Set;
set = new Set();
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
const Store = (Flux).Store;
_fun45344(Store).displayName = 'IAPStore';
set = new set(importDefault(694) /* metro dependency 694: Dispatcher */,
{GPLAY_UPDATE_CONNECTION_STATE: function(a0) {
env0_10 = a0.connectionState;
}, GPLAY_FETCH_SUBSCRIPTION_SKUS_START: function() {
env0_18 = true;
}, GPLAY_SUBSCRIPTION_SKUS_LOADED: closure, GPLAY_FETCH_SUBSCRIPTION_SKUS_FAILED: function() {
}, GPLAY_SUBSCRIPTION_SKUS_LOADED: GPLAY_SUBSCRIPTION_SKUS_LOADED2,
GPLAY_FETCH_SUBSCRIPTION_SKUS_FAILED: function() {
env0_18 = false;
}, GPLAY_FETCH_IN_APP_SKUS_START: function() {
env0_17 = true;
}, GPLAY_IN_APP_SKUS_LOADED: closure, GPLAY_FETCH_IN_APP_SKUS_FAILED: function() {
}, GPLAY_IN_APP_SKUS_LOADED: GPLAY_SUBSCRIPTION_SKUS_LOADED2, GPLAY_FETCH_IN_APP_SKUS_FAILED: function() {
env0_17 = false;
}, GPLAY_VERIFICATION_START: GPLAY_VERIFICATION_START, GPLAY_VERIFICATION_END: GPLAY_VERIFICATION_END,
GPLAY_UPDATE_PENDING_DOWNGRADE: function(a0) {
@@ -41,166 +46,205 @@ function _fun45333(global, require, importDefault, importAll, module, exports, d
}, GPLAY_SET_USER_COUNTRY: function(a0) {
env0_19 = a0.countryCode;
}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/native/IAPStore.android.tsx');
(FileImportTrackerModule).fileFinishedImporting('stores/native/IAPStore.android.tsx');
exports.default = set;
}
function _isNativeReflectConstruct_45334() { // fn#45334, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:225, offset: 0x0118c4b1, 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) {
function _isNativeReflectConstruct_45334() { // fn#45334, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:225, offset: 0x0118c4b1, 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_45334_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_45334_isNativeReflectConstruct = function() {
return !!result;
})();
}
function updateProduct(a0) { // fn#45337, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:505, offset: 0x0118c50f, size: 197 bytes, params: 2, frame: 18
const value = a0.currencyCode.toLowerCase();
const value2 = a0.price / 100;
const r2 = env0_19 !== 'BG' ? (require(5137) /* metro dependency 5137: PriceUtils */).formatSingleCurrencyPrice(value2,
value,
{convertToMajorUnits: false}) : value === CurrencyCodes.EUR ? (require(5137) /* metro dependency 5137: PriceUtils */).formatDualPriceForBG(value2,
{convertToMajorUnits: false}) : (require(5137) /* metro dependency 5137: PriceUtils */).formatSingleCurrencyPrice(value2,
value, {convertToMajorUnits: false});
const object2 = {};
copyDataProperties(object2, a0, undefined);
object2['price'] = a0.price;
object2['currencyCode'] = value;
object2['priceString'] = r2;
return object2;
}
function updateProduct(a0) { // fn#45337, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:505, offset: 0x0118c50f, size: 197 bytes, params: 2, frame: 18
const value = a0.currencyCode.toLowerCase();
const value2 = a0.price / 100;
const r2 = env0_19 !== 'BG' ? (require(5137) /* metro dependency 5137: PriceUtils */).formatSingleCurrencyPrice(value2,
value,
{convertToMajorUnits: false}) : value === CurrencyCodes.EUR ? (require(5137) /* metro dependency 5137: PriceUtils */).formatDualPriceForBG(value2,
{convertToMajorUnits: false}) : (require(5137) /* metro dependency 5137: PriceUtils */).formatSingleCurrencyPrice(value2,
value, {convertToMajorUnits: false});
const object = {};
copyDataProperties(object, a0, undefined);
object['price'] = a0.price;
object['currencyCode'] = value;
object['priceString'] = r2;
return object;
}
function GPLAY_IN_APP_SKUS_LOADED({skus, skusType}) { // fn#45338, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:779, offset: 0x0118c5d4, size: 269 bytes, params: 2, frame: 19
var r5;
var value5;
var value6;
var error;
var moduleValue;
skus.forEach(_fun45339);
const Array = global.Array;
const from = Array.from;
let binding = env0_12;
const r9 = Reflect.apply(from, Array, [binding.values()])?.filter(function(a0) {
return a0 != null;
});
env0_11 = r9;
if (r9 != null) {
r9.forEach(function(a0) {
var r3;
var value = undefined;
r3 = a0 == null ? value : a0.offerIds;
if (r3 != null) {
r3.forEach(_fun45342);
function GPLAY_IN_APP_SKUS_LOADED({skus, skusType}) { // fn#45338, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:779, offset: 0x0118c5d4, size: 269 bytes, params: 2, frame: 19
var r5;
var value5;
var value6;
var error;
var moduleValue;
skus.forEach(_fun45339);
const Array = global.Array;
const from = Array.from;
let binding = env0_12;
const r9 = Reflect.apply(from, Array, [binding.values()])?.filter(function(a0) {
return a0 != null;
});
env0_11 = r9;
if (r9 != null) {
r9.forEach(function(a0) {
var r3;
var value = undefined;
r3 = a0 == null ? value : a0.offerIds;
if (r3 != null) {
r3.forEach(_fun45342);
}
return value;
});
}
try {
binding = env0_11;
value5 = binding == null;
if (value5) {
r5 = undefined;
} else {
value6 = binding.map(updateProduct);
r5 = value6;
}
env0_11 = r5;
} catch (error) {
moduleValue = require(3817) /* metro dependency 3817: BillingUtils */;
moduleValue.captureBillingException(error);
}
binding = env0_11;
if (binding != null) {
binding.forEach(_fun45343);
}
const IN_APP = GPlaySkusType.IN_APP;
if (IN_APP !== skusType) {
if (GPlaySkusType.SUBSCRIPTION !== skusType) {
}
}
function _fun45339(a0) { // fn#45339, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:841, offset: 0x0118c6e1, size: 31 bytes, params: 2, frame: 13
const binding = env1_12;
binding.set(a0.identifier, a0);
}
function _fun45341(a0) { // fn#45341, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:957, offset: 0x0118c700, size: 45 bytes, params: 2, frame: 13
const value = undefined;
const offerIds = a0 == null ? value : a0.offerIds;
if (offerIds != null) {
offerIds.forEach(_fun45342);
}
return value;
});
}
try {
binding = env0_11;
value5 = binding == null;
if (value5) {
r5 = undefined;
} else {
value6 = binding.map(updateProduct);
r5 = value6;
function _fun45342(a0) { // fn#45342, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1013, offset: 0x0118c72d, size: 22 bytes, params: 2, frame: 11
return env2_13.add(a0);
}
}
env0_11 = r5;
} catch (error) {
moduleValue = require(3817) /* metro dependency 3817: BillingUtils */;
moduleValue.captureBillingException(error);
}
binding = env0_11;
if (binding != null) {
binding.forEach(_fun45343);
}
const IN_APP = GPlaySkusType.IN_APP;
if (IN_APP !== skusType) {
if (GPlaySkusType.SUBSCRIPTION !== skusType) {
function _fun45343(a0) { // fn#45343, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1157, offset: 0x0118c6e1, size: 31 bytes, params: 2, frame: 13
const binding = env1_12;
binding.set(a0.identifier, a0);
}
}
}
function _fun45344(a0) { // fn#45344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1246, offset: 0x0118c743, size: 302 bytes, params: 2, frame: 16
const closure = IAPStore;
env0_6(closure, a0);
return env0_3(closure, [{key: 'getProducts', value: value_45346}, {key: 'getOfferIds', value: value_45347},
{key: 'getProduct', value: value_45348}, {key: 'isBusy', value: value_45349}, {key: 'isPurchasingProduct',
value: value_45350}, {key: 'isReady', value: function() {
return DISCONNECTED === GPlayConnectionState.CONNECTED;
}}, {key: 'hasConnectionError', value: function() {
return DISCONNECTED === GPlayConnectionState.ERROR;
}}, {key: 'getPendingDowngrade', value: value_45353}, {key: 'isFetchingGoogleSkus', value: value_45354},
{key: 'isFetchingProducts', value: value_45355}, {key: 'getUserCountry', value: value_45356}]);
}
function _fun45344(a0) { // fn#45344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1246, offset: 0x0118c743, size: 302 bytes, params: 2, frame: 16
const IAPStore2 = IAPStore;
Inherits(IAPStore2, a0);
return CreateClass(IAPStore2, [{key: 'getProducts', value: value_45346}, {key: 'getOfferIds', value: value_45347},
{key: 'getProduct', value: value_45348}, {key: 'isBusy', value: value_45349}, {key: 'isPurchasingProduct',
value: value_45350}, {key: 'isReady', value: function() {
return DISCONNECTED === GPlayConnectionState.CONNECTED;
}}, {key: 'hasConnectionError', value: function() {
return DISCONNECTED === GPlayConnectionState.ERROR;
}}, {key: 'getPendingDowngrade', value: value_45353}, {key: 'isFetchingGoogleSkus', value: value_45354},
{key: 'isFetchingProducts', value: value_45355}, {key: 'getUserCountry', value: value_45356}]);
function IAPStore() { // fn#45345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1258, offset: 0x00f7eb2a, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_2(this, IAPStore);
const value3 = env1_5(IAPStore);
return env1_4(this, _isNativeReflectConstruct_45334() ? global.Reflect.construct(value3, arguments,
env1_5(this).constructor) : value3.apply(this, arguments));
}
function GPLAY_VERIFICATION_START({productId}) { // fn#45362, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:2697, offset: 0x0118c927, size: 30 bytes, params: 2, frame: 11
env0_14.add(productId);
}
function value_45346() { // fn#45346, offset: 0x00ef8482, size: 9 bytes, params: 1, frame: 1
return env1_11;
}
function value_45347() { // fn#45347, offset: 0x00e2f9d5, size: 9 bytes, params: 1, frame: 1
return env1_13;
}
function value_45348(a0) { // fn#45348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1610, offset: 0x0118c871, size: 34 bytes, params: 2, frame: 11
let value = environment.__proto__;
value = env1_12.get(a0);
const value2 = null;
return value2 != value ? value : value2;
}
function value_45349() { // fn#45349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1683, offset: 0x0118c893, size: 27 bytes, params: 1, frame: 3
return env1_14.size > 0 || env1_16;
}
function value_45350(a0) { // fn#45350, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1748, offset: 0x011578f1, size: 22 bytes, params: 2, frame: 11
return env1_14.has(a0);
}
function value_45353() { // fn#45353, offset: 0x00df0e8b, size: 9 bytes, params: 1, frame: 1
return env1_15;
}
function value_45354() { // fn#45354, offset: 0x0118c8dc, size: 16 bytes, params: 1, frame: 3
return env1_18 || env1_17;
}
function value_45355() { // fn#45355, offset: 0x0118c8dc, size: 16 bytes, params: 1, frame: 3
return env1_18 || env1_17;
}
function value_45356() { // fn#45356, offset: 0x00d406a2, size: 9 bytes, params: 1, frame: 1
return env1_19;
}
function GPLAY_VERIFICATION_END({productId}) { // fn#45363, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:2778, offset: 0x0118c945, size: 99 bytes, params: 2, frame: 13
const binding = env0_14;
if (binding.has(productId)) {
env0_14.delete(productId);
return undefined;
}
const Error = global.Error;
const value = 'Tried verifying product without initialization: ' + productId;
const value2 = Object.create(Error.prototype, {constructor: {value: Error}});
const error = new Error(value);
throw error instanceof Object ? error : value2;
}
function _fun45339(a0) { // fn#45339, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:841, offset: 0x0118c6e1, size: 31 bytes, params: 2, frame: 13
const binding = env1_12;
binding.set(a0.identifier, a0);
}
function _fun45341(a0) { // fn#45341, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:957, offset: 0x0118c700, size: 45 bytes, params: 2, frame: 13
const value = undefined;
const offerIds = a0 == null ? value : a0.offerIds;
if (offerIds != null) {
offerIds.forEach(_fun45342);
function GPLAY_VERIFICATION_START({productId}) { // fn#45362, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:2697, offset: 0x0118c927, size: 30 bytes, params: 2, frame: 11
env0_14.add(productId);
}
return value;
}
function value_45348(a0) { // fn#45348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1610, offset: 0x0118c871, size: 34 bytes, params: 2, frame: 11
let value = environment.__proto__;
value = env1_12.get(a0);
const value2 = null;
return value2 != value ? value : value2;
}
function GPLAY_VERIFICATION_END({productId}) { // fn#45363, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:2778, offset: 0x0118c945, size: 99 bytes, params: 2, frame: 13
const binding = env0_14;
if (binding.has(productId)) {
env0_14.delete(productId);
return undefined;
}
const Error = global.Error;
const value = 'Tried verifying product without initialization: ' + productId;
const value2 = Object.create(Error.prototype, {constructor: {value: Error}});
const error = new Error(value);
throw error instanceof Object ? error : value2;
}
function value_45349() { // fn#45349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1683, offset: 0x0118c893, size: 27 bytes, params: 1, frame: 3
return env1_14.size > 0 || env1_16;
}
function value_45354() { // fn#45354, offset: 0x0118c8dc, size: 16 bytes, params: 1, frame: 3
return env1_18 || env1_17;
}
function _fun45342(a0) { // fn#45342, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5318:1013, offset: 0x0118c72d, size: 22 bytes, params: 2, frame: 11
return env2_13.add(a0);
}
global.__d(_fun45333, 5140, [6, 7, 15, 17, 18, 5141, 482, 5137, 3817, 566, 694,
2]) /* metro module 5140, dependencies: [6, 7, 15, 17, 18, 5141, 482, 5137, 3817, 566, 694, 2] */;
File diff suppressed because it is too large. Load diff
+87 -61
View File
@@ -1,14 +1,18 @@
/* Metro module 9590; source: stores/native/MessagePreviewStore.tsx; dependencies: [6, 7, 15, 17, 18, 4625, 22, 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 Module00022 from '../../by-id/module-00022.js'; /* Metro dependency 22 */
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 _fun75137(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#75137, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:6, offset: 0x01da3cf9, size: 301 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(6) /* metro dependency 6 */;
const env0_4 = importDefault(7) /* metro dependency 7 */;
const env0_5 = importDefault(15) /* metro dependency 15 */;
const env0_6 = importDefault(17) /* metro dependency 17 */;
const env0_7 = importDefault(18) /* metro dependency 18 */;
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
const Store = (Flux).Store;
let value = _fun75141(Store);
value.displayName = 'MessagePreviewStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
@@ -20,67 +24,89 @@ function _fun75137(global, require, importDefault, importAll, module, exports, d
env0_8 = null;
env0_9 = null;
}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/native/MessagePreviewStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('stores/native/MessagePreviewStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_75138() { // fn#75138, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:148, offset: 0x01da3e26, 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) {
function _isNativeReflectConstruct_75138() { // fn#75138, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:148, offset: 0x01da3e26, 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_75138_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_75138_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun75141(a0) { // fn#75141, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:365, offset: 0x01da3e88, size: 122 bytes, params: 2, frame: 16
const closure = MessagePreviewStore;
env0_7(closure, a0);
return env0_4(closure, [{key: 'messages', get: get_75143}, {key: 'jumpTargetId', get: get_75144},
{key: 'getMessage', value: value_75145}]);
}
function _fun75141(a0) { // fn#75141, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:365, offset: 0x01da3e88, size: 122 bytes, params: 2, frame: 16
const MessagePreviewStore2 = MessagePreviewStore;
Inherits(MessagePreviewStore2, a0);
return CreateClass(MessagePreviewStore2, [{key: 'messages', get: get_75143}, {key: 'jumpTargetId', get: get_75144},
{key: 'getMessage', value: value_75145}]);
function MessagePreviewStore() { // fn#75142, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:377, offset: 0x00e079f0, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_3(this, MessagePreviewStore);
const value3 = env1_6(MessagePreviewStore);
return env1_5(this, _isNativeReflectConstruct_75138() ? global.Reflect.construct(value3, arguments,
env1_6(this).constructor) : value3.apply(this, arguments));
}
function LOAD_MESSAGES_AROUND_SUCCESS_75147({around, messages}) { // fn#75147, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:952, offset: 0x01da3f63, size: 53 bytes, params: 2, frame: 13
env0_8 = [];
messages.forEach(_fun75148);
}
function get_75143() { // fn#75143, offset: 0x00fbd9d4, size: 9 bytes, params: 1, frame: 1
return env1_8;
}
function value_75145(a0) { // fn#75145, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:778, offset: 0x01da3f02, size: 59 bytes, params: 2, frame: 14
const env0_0 = a0;
const defaultImport = importDefault(22) /* metro dependency 22 */;
return defaultImport.find(env1_8, _fun75146);
}
function get_75144() { // fn#75144, offset: 0x00e07a77, size: 9 bytes, params: 1, frame: 1
return env1_9;
}
function value_75145(a0) { // fn#75145, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:778, offset: 0x01da3f02, size: 59 bytes, params: 2, frame: 14
const env0_0 = a0;
const defaultImport = Module00022;
return defaultImport.find(env1_8, _fun75146);
function _fun75146({id, nonce}) { // fn#75146, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:813, offset: 0x01da3f3d, size: 38 bytes, params: 2, frame: 4
return id === env0_0 || nonce === env0_0;
}
}
function _fun75148(a0) { // fn#75148, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:1032, offset: 0x01da3f98, size: 68 bytes, params: 2, frame: 13
var binding;
var unshift;
let value = environment.__proto__;
if (env1_8 != null) {
binding = env1_8;
unshift = binding.unshift;
value = require(4625) /* metro dependency 4625: MessageRecordUtils */;
Reflect.apply(unshift, binding, [value.createMessageRecord(a0)]);
}
function LOAD_MESSAGES_AROUND_SUCCESS_75147({around, messages}) { // fn#75147, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:952, offset: 0x01da3f63, size: 53 bytes, params: 2, frame: 13
env0_8 = [];
messages.forEach(_fun75148);
function _fun75148(a0) { // fn#75148, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9776:1032, offset: 0x01da3f98, size: 68 bytes, params: 2, frame: 13
var binding;
var unshift;
let value = environment.__proto__;
if (env1_8 != null) {
binding = env1_8;
unshift = binding.unshift;
value = require(4625) /* metro dependency 4625: MessageRecordUtils */;
Reflect.apply(unshift, binding, [value.createMessageRecord(a0)]);
}
}
}
}
global.__d(_fun75137, 9590, [6, 7, 15, 17, 18, 4625, 22, 566, 694,
2]) /* metro module 9590, dependencies: [6, 7, 15, 17, 18, 4625, 22, 566, 694, 2] */;
@@ -1,16 +1,20 @@
/* Metro module 10815; source: stores/native/MobileVoiceOverlayStore.tsx; dependencies: [6, 7, 15, 17, 18, 661, 683, 477, 1581, 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 */
import * as PlatformUtilsModule from '../../utils/PlatformUtils.tsx'; /* Metro dependency 477 */
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
function _fun82988(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82988, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:6, offset: 0x01f091c6, size: 330 bytes, params: 8, frame: 20
const env0_0 = require;
const closure = isMobileOverlaySupported;
const isMobileOverlaySupported2 = isMobileOverlaySupported;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(6) /* metro dependency 6 */;
const env0_4 = importDefault(7) /* metro dependency 7 */;
const env0_5 = importDefault(15) /* metro dependency 15 */;
const env0_6 = importDefault(17) /* metro dependency 17 */;
const env0_7 = importDefault(18) /* metro dependency 18 */;
const env0_8 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
const DeviceSettingsStore = (importDefault(566) /* metro dependency 566: flux */).DeviceSettingsStore;
const DeviceSettingsStore = (Flux).DeviceSettingsStore;
let value = _fun82993(DeviceSettingsStore);
value.displayName = 'MobileVoiceOverlayStore';
value.persistKey = 'MobileVoiceOverlayStore';
@@ -21,72 +25,83 @@ function _fun82988(global, require, importDefault, importAll, module, exports, d
defaultImport.track(MOBILE_OVERLAY_TOGGLED, {enabled: a0.enabled});
env0_9 = a0.enabled;
}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/native/MobileVoiceOverlayStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('stores/native/MobileVoiceOverlayStore.tsx');
exports.default = value;
exports.isMobileOverlaySupported = closure;
}
function _isNativeReflectConstruct_82989() { // fn#82989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:173, offset: 0x01f09310, 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) {
exports.isMobileOverlaySupported = isMobileOverlaySupported2;
function _isNativeReflectConstruct_82989() { // fn#82989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:173, offset: 0x01f09310, 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_82989_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_82989_isNativeReflectConstruct = function() {
return !!result;
})();
}
function isMobileOverlaySupported() { // fn#82992, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:375, offset: 0x01f09372, size: 73 bytes, params: 1, frame: 13
var r0;
var value;
const isAndroid2 = (require(477) /* metro dependency 477: PlatformUtils */).isAndroid();
if (isAndroid2) {
value = require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */;
value = !value.isMetaQuest();
r0 = value;
} else {
r0 = isAndroid2;
function isMobileOverlaySupported() { // fn#82992, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:375, offset: 0x01f09372, size: 73 bytes, params: 1, frame: 13
var r0;
var value;
const isAndroid2 = (PlatformUtilsModule).isAndroid();
if (isAndroid2) {
value = require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */;
value = !value.isMetaQuest();
r0 = value;
} else {
r0 = isAndroid2;
}
return r0;
}
return r0;
}
function _fun82993(a0) { // fn#82993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:468, offset: 0x01f093bb, size: 122 bytes, params: 2, frame: 16
const closure = MobileVoiceOverlayStore;
env0_7(closure, a0);
return env0_4(closure, [{key: 'getUserAgnosticState', value: value_82995}, {key: 'initialize', value: function(a0) {
var r1;
var value = undefined;
r1 = a0 == null ? value : a0.enabled;
env1_9 = r1 != null && r1;
return value;
}}, {key: 'getEnabled', value: value_82997}]);
}
function _fun82993(a0) { // fn#82993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:468, offset: 0x01f093bb, size: 122 bytes, params: 2, frame: 16
const MobileVoiceOverlayStore2 = MobileVoiceOverlayStore;
Inherits(MobileVoiceOverlayStore2, a0);
return CreateClass(MobileVoiceOverlayStore2, [{key: 'getUserAgnosticState', value: value_82995}, {key: 'initialize',
value: function(a0) {
var r1;
var value = undefined;
r1 = a0 == null ? value : a0.enabled;
env1_9 = r1 != null && r1;
return value;
}}, {key: 'getEnabled', value: value_82997}]);
function MobileVoiceOverlayStore() { // fn#82994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:480, offset: 0x00e079f0, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_3(this, MobileVoiceOverlayStore);
const value3 = env1_6(MobileVoiceOverlayStore);
return env1_5(this, _isNativeReflectConstruct_82989() ? global.Reflect.construct(value3, arguments,
env1_6(this).constructor) : value3.apply(this, arguments));
}
function value_82995() { // fn#82995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:823, offset: 0x01f09435, size: 15 bytes, params: 1, frame: 2
return {enabled: env1_9};
}
function value_82995() { // fn#82995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:823, offset: 0x01f09435, size: 15 bytes, params: 1, frame: 2
return {enabled: env1_9};
}
function value_82997() { // fn#82997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:962, offset: 0x01f0946c, size: 22 bytes, params: 1, frame: 10
return isMobileOverlaySupported() && env1_9;
}
}
function value_82997() { // fn#82997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11001:962, offset: 0x01f0946c, size: 22 bytes, params: 1, frame: 10
return isMobileOverlaySupported() && env1_9;
}
global.__d(_fun82988, 10815, [6, 7, 15, 17, 18, 661, 683, 477, 1581, 566, 694,
2]) /* metro module 10815, dependencies: [6, 7, 15, 17, 18, 661, 683, 477, 1581, 566, 694, 2] */;
+79 -57
View File
@@ -1,4 +1,14 @@
/* Metro module 5218; source: stores/native/NUFStore.tsx; dependencies: [6, 7, 15, 17, 18, 1867, 3793, 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 GuildStore from '../GuildStore.tsx'; /* Metro dependency 1867 */
import RelationshipStore from '../RelationshipStore.tsx'; /* Metro dependency 3793 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun46136(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46136, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5396:6, offset: 0x011a0d3a, size: 335 bytes, params: 8, frame: 19
const closure = function() {
env0_7 = false;
@@ -6,72 +16,84 @@ function _fun46136(global, require, importDefault, importAll, module, exports, d
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = importDefault(6) /* metro dependency 6 */;
const env0_1 = importDefault(7) /* metro dependency 7 */;
const env0_2 = importDefault(15) /* metro dependency 15 */;
const env0_3 = importDefault(17) /* metro dependency 17 */;
const env0_4 = importDefault(18) /* metro dependency 18 */;
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
const relationshipStore = importDefault(3793) /* metro dependency 3793: RelationshipStore */;
const PersistedStore = (importDefault(566) /* metro dependency 566: flux */).PersistedStore;
const PersistedStore = (Flux).PersistedStore;
let value = _fun46142(PersistedStore);
value.displayName = 'NUFStore';
value.persistKey = 'NUFStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {CACHE_LOADED: function() {
env0_7 = true;
}, CACHE_LOADED_LAZY: closure, CONNECTION_OPEN: closure});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/native/NUFStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('stores/native/NUFStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_46137() { // fn#46137, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5396:168, offset: 0x011a0e89, 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) {
function _isNativeReflectConstruct_46137() { // fn#46137, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5396:168, offset: 0x011a0e89, 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_46137_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_46137_isNativeReflectConstruct = function() {
return !!result;
})();
}
function handleUpdate() { // fn#46141, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5396:444, offset: 0x011a0efc, size: 66 bytes, params: 1, frame: 11
if (env0_7) {
return false;
function handleUpdate() { // fn#46141, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5396:444, offset: 0x011a0efc, size: 66 bytes, params: 1, frame: 11
if (env0_7) {
return false;
}
const value3 = GuildStore.getGuildCount() > 0;
let r0 = !(value3 === env0_8) && true;
r0 = value3 !== env0_9 || r0;
return r0;
}
const value3 = GuildStore.getGuildCount() > 0;
let r0 = !(value3 === env0_8) && true;
r0 = value3 !== env0_9 || r0;
return r0;
}
function _fun46142(a0) { // fn#46142, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5396:564, offset: 0x011a0f3e, size: 141 bytes, params: 2, frame: 16
const closure = NUFStore;
env0_4(closure, a0);
return env0_1(closure, [{key: 'initialize', value: function() {
this.waitFor(RelationshipStore, GuildStore);
this.syncWith([RelationshipStore, GuildStore], handleUpdate);
}}, {key: 'getState', value: function() {
return {};
}}, {key: 'showMentionsInNotificationTab', get: get_46146}, {key: 'showQuickSwitcher', get: get_46147}]);
function _fun46142(a0) { // fn#46142, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5396:564, offset: 0x011a0f3e, size: 141 bytes, params: 2, frame: 16
const NUFStore2 = NUFStore;
Inherits(NUFStore2, a0);
return CreateClass(NUFStore2, [{key: 'initialize', value: function() {
var relationshipStoreBinding = RelationshipStore;
this.waitFor(relationshipStoreBinding, GuildStore);
this.syncWith([relationshipStoreBinding, GuildStore], handleUpdate);
}}, {key: 'getState', value: function() {
return {};
}}, {key: 'showMentionsInNotificationTab', get: get_46146}, {key: 'showQuickSwitcher', get: get_46147}]);
function NUFStore() { // fn#46143, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5396:576, offset: 0x0113ed59, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_0(this, NUFStore);
const value3 = env1_3(NUFStore);
return env1_2(this, _isNativeReflectConstruct_46137() ? global.Reflect.construct(value3, arguments,
env1_3(this).constructor) : value3.apply(this, arguments));
}
function get_46146() { // fn#46146, offset: 0x00e07a77, size: 9 bytes, params: 1, frame: 1
return env1_9;
}
function get_46147() { // fn#46147, offset: 0x00fbd9d4, size: 9 bytes, params: 1, frame: 1
return env1_8;
}
}
}
global.__d(_fun46136, 5218, [6, 7, 15, 17, 18, 1867, 3793, 566, 694,
2]) /* metro module 5218, dependencies: [6, 7, 15, 17, 18, 1867, 3793, 566, 694, 2] */;
@@ -1,55 +1,58 @@
/* Metro module 11872; source: stores/native/PushNotificationPermissionStore.tsx; dependencies: [6, 7, 15, 17, 18, 10741, 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 PushNotification from '../../lib/pushnotification/PushNotification.tsx'; /* Metro dependency 10741 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun91035(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#91035, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:6, offset: 0x020513e0, size: 702 bytes, params: 8, frame: 25
var object4;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = importDefault(15) /* metro dependency 15 */;
const env0_5 = importDefault(17) /* metro dependency 17 */;
const env0_6 = importDefault(18) /* metro dependency 18 */;
object4 = {INIT: 0};
object4[0] = 'INIT';
object4.REQUESTED = 1;
object4[1] = 'REQUESTED';
object4.PROMPT_SEEN = 2;
object4[2] = 'PROMPT_SEEN';
object4.PROMPT_SKIPPED = 3;
object4[3] = 'PROMPT_SKIPPED';
const object5 = {MESSAGE_SENT: 0};
object5[0] = 'MESSAGE_SENT';
object5.INVITE_ACCEPTED = 1;
object5[1] = 'INVITE_ACCEPTED';
object5.FRIEND_REQUEST_SENT = 2;
object5[2] = 'FRIEND_REQUEST_SENT';
object5.DM_SPACE = 3;
object5[3] = 'DM_SPACE';
object5.CHANNEL_BANNER = 5;
object5[5] = 'CHANNEL_BANNER';
object5.POST_REACTION_BANNER = 6;
object5[6] = 'POST_REACTION_BANNER';
object5.GUILD_OPEN_BOTTOM_SHEET = 7;
object5[7] = 'GUILD_OPEN_BOTTOM_SHEET';
object5.CALL_DISCONNECT_BOTTOM_SHEET = 8;
object5[8] = 'CALL_DISCONNECT_BOTTOM_SHEET';
const object6 = {};
const INIT = object4.INIT;
object6.permissionState = INIT;
const MESSAGE_SENT = object5.MESSAGE_SENT;
const INVITE_ACCEPTED = object5.INVITE_ACCEPTED;
const FRIEND_REQUEST_SENT = object5.FRIEND_REQUEST_SENT;
const DM_SPACE = object5.DM_SPACE;
const CHANNEL_BANNER = object5.CHANNEL_BANNER;
const POST_REACTION_BANNER = object5.POST_REACTION_BANNER;
const GUILD_OPEN_BOTTOM_SHEET = object5.GUILD_OPEN_BOTTOM_SHEET;
const CALL_DISCONNECT_BOTTOM_SHEET = object5.CALL_DISCONNECT_BOTTOM_SHEET;
object6.promptLastSeen = {[MESSAGE_SENT]: null, [INVITE_ACCEPTED]: null, [FRIEND_REQUEST_SENT]: null,
object = {INIT: 0};
object[0] = 'INIT';
object.REQUESTED = 1;
object[1] = 'REQUESTED';
object.PROMPT_SEEN = 2;
object[2] = 'PROMPT_SEEN';
object.PROMPT_SKIPPED = 3;
object[3] = 'PROMPT_SKIPPED';
const object2 = {MESSAGE_SENT: 0};
object2[0] = 'MESSAGE_SENT';
object2.INVITE_ACCEPTED = 1;
object2[1] = 'INVITE_ACCEPTED';
object2.FRIEND_REQUEST_SENT = 2;
object2[2] = 'FRIEND_REQUEST_SENT';
object2.DM_SPACE = 3;
object2[3] = 'DM_SPACE';
object2.CHANNEL_BANNER = 5;
object2[5] = 'CHANNEL_BANNER';
object2.POST_REACTION_BANNER = 6;
object2[6] = 'POST_REACTION_BANNER';
object2.GUILD_OPEN_BOTTOM_SHEET = 7;
object2[7] = 'GUILD_OPEN_BOTTOM_SHEET';
object2.CALL_DISCONNECT_BOTTOM_SHEET = 8;
object2[8] = 'CALL_DISCONNECT_BOTTOM_SHEET';
const object3 = {};
const INIT = object.INIT;
object3.permissionState = INIT;
const MESSAGE_SENT = object2.MESSAGE_SENT;
const INVITE_ACCEPTED = object2.INVITE_ACCEPTED;
const FRIEND_REQUEST_SENT = object2.FRIEND_REQUEST_SENT;
const DM_SPACE = object2.DM_SPACE;
const CHANNEL_BANNER = object2.CHANNEL_BANNER;
const POST_REACTION_BANNER = object2.POST_REACTION_BANNER;
const GUILD_OPEN_BOTTOM_SHEET = object2.GUILD_OPEN_BOTTOM_SHEET;
const CALL_DISCONNECT_BOTTOM_SHEET = object2.CALL_DISCONNECT_BOTTOM_SHEET;
object3.promptLastSeen = {[MESSAGE_SENT]: null, [INVITE_ACCEPTED]: null, [FRIEND_REQUEST_SENT]: null,
[DM_SPACE]: null, [CHANNEL_BANNER]: null, [POST_REACTION_BANNER]: null, [GUILD_OPEN_BOTTOM_SHEET]: null,
[CALL_DISCONNECT_BOTTOM_SHEET]: null};
const Set = global.Set;
let set = new Set([]);
object6.eligiblePromptTypes = set;
const DeviceSettingsStore = (importDefault(566) /* metro dependency 566: flux */).DeviceSettingsStore;
object3.eligiblePromptTypes = set;
const DeviceSettingsStore = (Flux).DeviceSettingsStore;
set = _fun91039(DeviceSettingsStore);
set.displayName = 'PushNotificationPermissionStore';
set.persistKey = 'PushNotificationPermissionStoreKey_1';
@@ -61,132 +64,150 @@ function _fun91035(global, require, importDefault, importAll, module, exports, d
PUSH_NOTIFICATION_AUTHORIZATION_STATUS_UPDATE: function(a0) {
env0_11 = a0.authorizationStatus;
}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/native/PushNotificationPermissionStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('stores/native/PushNotificationPermissionStore.tsx');
exports.default = set;
exports.PermissionStateType = object4;
exports.PermissionPromptType = object5;
}
function _isNativeReflectConstruct_91036() { // fn#91036, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:148, offset: 0x0205169e, 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) {
exports.PermissionStateType = object;
exports.PermissionPromptType = object2;
function _isNativeReflectConstruct_91036() { // fn#91036, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:148, offset: 0x0205169e, 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_91036_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_91036_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun91039(a0) { // fn#91039, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1199, offset: 0x02051700, size: 174 bytes, params: 2, frame: 16
const closure = PushNotificationPermissionStore;
env0_6(closure, a0);
return env0_3(closure, [{key: 'initialize', value: value_91041}, {key: 'getUserAgnosticState', value: value_91044},
{key: 'permissionState', get: get_91045}, {key: 'promptSeen', get: get_91046}, {key: 'authorizationStatus',
get: get_91047}]);
}
function _fun91039(a0) { // fn#91039, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1199, offset: 0x02051700, size: 174 bytes, params: 2, frame: 16
const PushNotificationPermissionStore2 = PushNotificationPermissionStore;
Inherits(PushNotificationPermissionStore2, a0);
return CreateClass(PushNotificationPermissionStore2, [{key: 'initialize', value: value_91041},
{key: 'getUserAgnosticState', value: value_91044}, {key: 'permissionState', get: get_91045}, {key: 'promptSeen',
get: get_91046}, {key: 'authorizationStatus', get: get_91047}]);
function PushNotificationPermissionStore() { // fn#91040, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1211, offset: 0x00de700a, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_2(this, PushNotificationPermissionStore);
const value3 = env1_5(PushNotificationPermissionStore);
return env1_4(this, _isNativeReflectConstruct_91036() ? global.Reflect.construct(value3, arguments,
env1_5(this).constructor) : value3.apply(this, arguments));
}
function _fun91048(a0) { // fn#91048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2378, offset: 0x02051948, size: 244 bytes, params: 2, frame: 15
const object3 = {};
const binding = env0_9;
copyDataProperties(object3, binding, undefined);
copyDataProperties(object3, a0, undefined);
const object4 = {};
copyDataProperties(object4, binding.promptLastSeen, undefined);
copyDataProperties(object4, a0.promptLastSeen, undefined);
object3['promptLastSeen'] = object4;
object3['eligiblePromptTypes'] = a0.eligiblePromptTypes == null ? new global.Set([]) : global.Array.isArray(a0.eligiblePromptTypes) ? new global.Set(a0.eligiblePromptTypes) : a0.eligiblePromptTypes instanceof global.Set ? a0.eligiblePromptTypes : new global.Set([]);
return object3;
}
function value_91041(a0) { // fn#91041, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1584, offset: 0x020517ae, size: 257 bytes, params: 2, frame: 21
let value = a0;
const object = {};
copyDataProperties(object, env1_9, undefined);
const value3 = null;
copyDataProperties(object, value3 != value ? value : value3, undefined);
const object2 = {};
copyDataProperties(object2, env1_9.promptLastSeen, undefined);
const value4 = undefined;
copyDataProperties(object2, value3 == value ? value4 : value.promptLastSeen, undefined);
object['promptLastSeen'] = object2;
const Set = global.Set;
let eligiblePromptTypes = env1_9.eligiblePromptTypes;
const items2 = [];
const value5 = arraySpread(items2, eligiblePromptTypes, 0, undefined);
const value6 = value3 == value;
eligiblePromptTypes = value6 ? value4 : value.eligiblePromptTypes;
arraySpread(items2, value3 != eligiblePromptTypes ? eligiblePromptTypes : [], value5, value6);
value = items2.filter(_fun91042);
const value7 = Object.create(Set.prototype, {constructor: {value: Set}});
const set = new Set(value);
object['eligiblePromptTypes'] = set instanceof Object ? set : value7;
(PushNotification).checkPermissions(_fun91043);
return value4;
function _fun91042(a0) { // fn#91042, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1818, offset: 0x020518af, size: 22 bytes, params: 2, frame: 2
const POST_REACTION_BANNER = env2_8.POST_REACTION_BANNER;
return a0 !== POST_REACTION_BANNER;
}
function PUSH_NOTIFICATION_PERMISSION_SET_STATE({permissionState}) { // fn#91049, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2712, offset: 0x02051a3c, size: 26 bytes, params: 2, frame: 2
env0_10.permissionState = permissionState;
}
function _fun91043({alert, sound, badge}) { // fn#91043, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1878, offset: 0x020518c5, size: 63 bytes, params: 2, frame: 4
var value;
let r0 = alert || sound;
r0 = !r0 ? badge : r0;
if (r0) {
value = environment.__proto__.__proto__;
env2_10.permissionState = env2_7.REQUESTED;
}
}
function PUSH_NOTIFICATION_PERMISSION_REACTIVATION_SEEN({promptType}) { // fn#91050, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2845, offset: 0x02051a56, size: 58 bytes, params: 2, frame: 11
const promptLastSeen = env0_10.promptLastSeen;
const Date = global.Date;
promptLastSeen[promptType] = new Date();
return true;
}
}
function PUSH_NOTIFICATION_PERMISSION_SET_ELIGIBLE({promptType}) { // fn#91051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2986, offset: 0x02051a90, size: 74 bytes, params: 2, frame: 13
const binding = env0_10;
const Set = global.Set;
binding.eligiblePromptTypes = new Set(env0_10.eligiblePromptTypes).add(promptType);
return true;
}
function value_91044() { // fn#91044, offset: 0x00fbd9ec, size: 9 bytes, params: 1, frame: 1
return env1_10;
}
function value_91041(a0) { // fn#91041, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1584, offset: 0x020517ae, size: 257 bytes, params: 2, frame: 21
let value = a0;
const object3 = {};
copyDataProperties(object3, env1_9, undefined);
const value3 = null;
copyDataProperties(object3, value3 != value ? value : value3, undefined);
const object4 = {};
copyDataProperties(object4, env1_9.promptLastSeen, undefined);
const value4 = undefined;
copyDataProperties(object4, value3 == value ? value4 : value.promptLastSeen, undefined);
object3['promptLastSeen'] = object4;
const Set = global.Set;
let eligiblePromptTypes = env1_9.eligiblePromptTypes;
const items2 = [];
const value5 = arraySpread(items2, eligiblePromptTypes, 0, undefined);
const value6 = value3 == value;
eligiblePromptTypes = value6 ? value4 : value.eligiblePromptTypes;
arraySpread(items2, value3 != eligiblePromptTypes ? eligiblePromptTypes : [], value5, value6);
value = items2.filter(_fun91042);
const value7 = Object.create(Set.prototype, {constructor: {value: Set}});
const set = new Set(value);
object3['eligiblePromptTypes'] = set instanceof Object ? set : value7;
(importDefault(10741) /* metro dependency 10741: PushNotification */).checkPermissions(_fun91043);
return value4;
}
function get_91045() { // fn#91045, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2039, offset: 0x02051904, size: 15 bytes, params: 1, frame: 1
return env1_10.permissionState;
}
function get_91045() { // fn#91045, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2039, offset: 0x02051904, size: 15 bytes, params: 1, frame: 1
return env1_10.permissionState;
}
function get_91046() { // fn#91046, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2099, offset: 0x02051913, size: 53 bytes, params: 1, frame: 12
const binding = env1_7;
const PROMPT_SEEN = binding.PROMPT_SEEN;
const items2 = [PROMPT_SEEN];
const PROMPT_SKIPPED = binding.PROMPT_SKIPPED;
items2[1] = PROMPT_SKIPPED;
return items2.includes(env1_10.permissionState);
}
function get_91046() { // fn#91046, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2099, offset: 0x02051913, size: 53 bytes, params: 1, frame: 12
const binding = env1_7;
const PROMPT_SEEN = binding.PROMPT_SEEN;
const items2 = [PROMPT_SEEN];
const PROMPT_SKIPPED = binding.PROMPT_SKIPPED;
items2[1] = PROMPT_SKIPPED;
return items2.includes(env1_10.permissionState);
}
function get_91047() { // fn#91047, offset: 0x00ef8482, size: 9 bytes, params: 1, frame: 1
return env1_11;
}
function _fun91042(a0) { // fn#91042, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1818, offset: 0x020518af, size: 22 bytes, params: 2, frame: 2
const POST_REACTION_BANNER = env2_8.POST_REACTION_BANNER;
return a0 !== POST_REACTION_BANNER;
}
function _fun91043({alert, sound, badge}) { // fn#91043, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:1878, offset: 0x020518c5, size: 63 bytes, params: 2, frame: 4
var value;
let r0 = alert || sound;
r0 = !r0 ? badge : r0;
if (r0) {
value = environment.__proto__.__proto__;
env2_10.permissionState = env2_7.REQUESTED;
}
function _fun91048(a0) { // fn#91048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2378, offset: 0x02051948, size: 244 bytes, params: 2, frame: 15
const object = {};
const binding = env0_9;
copyDataProperties(object, binding, undefined);
copyDataProperties(object, a0, undefined);
const object2 = {};
copyDataProperties(object2, binding.promptLastSeen, undefined);
copyDataProperties(object2, a0.promptLastSeen, undefined);
object['promptLastSeen'] = object2;
object['eligiblePromptTypes'] = a0.eligiblePromptTypes == null ? new global.Set([]) : global.Array.isArray(a0.eligiblePromptTypes) ? new global.Set(a0.eligiblePromptTypes) : a0.eligiblePromptTypes instanceof global.Set ? a0.eligiblePromptTypes : new global.Set([]);
return object;
}
function PUSH_NOTIFICATION_PERMISSION_SET_STATE({permissionState}) { // fn#91049, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2712, offset: 0x02051a3c, size: 26 bytes, params: 2, frame: 2
env0_10.permissionState = permissionState;
}
function PUSH_NOTIFICATION_PERMISSION_REACTIVATION_SEEN({promptType}) { // fn#91050, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2845, offset: 0x02051a56, size: 58 bytes, params: 2, frame: 11
const promptLastSeen = env0_10.promptLastSeen;
const Date = global.Date;
promptLastSeen[promptType] = new Date();
return true;
}
function PUSH_NOTIFICATION_PERMISSION_SET_ELIGIBLE({promptType}) { // fn#91051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12058:2986, offset: 0x02051a90, size: 74 bytes, params: 2, frame: 13
const binding = env0_10;
const Set = global.Set;
binding.eligiblePromptTypes = new Set(env0_10.eligiblePromptTypes).add(promptType);
return true;
}
}
global.__d(_fun91035, 11872, [6, 7, 15, 17, 18, 10741, 566, 694,
2]) /* metro module 11872, dependencies: [6, 7, 15, 17, 18, 10741, 566, 694, 2] */;
+120 -108
View File
@@ -1,4 +1,20 @@
/* Metro module 12950; source: stores/native/ShareStore.tsx; dependencies: [6, 7, 15, 17, 18, 27, 1226, 1379, 1867, 1934, 3969, 1878, 661, 1360, 480, 683, 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 AuthenticationStore from '../AuthenticationStore.tsx'; /* Metro dependency 1226 */
import ChannelStore from '../ChannelStore.tsx'; /* Metro dependency 1379 */
import GuildStore from '../GuildStore.tsx'; /* Metro dependency 1867 */
import UserStore from '../UserStore.tsx'; /* Metro dependency 1878 */
import SelectedChannelStore from '../SelectedChannelStore.tsx'; /* Metro dependency 1934 */
import SelectedGuildStore from '../SelectedGuildStore.tsx'; /* Metro dependency 3969 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
function _fun98646(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#98646, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:6, offset: 0x021b15d7, size: 475 bytes, params: 8, frame: 20
const env0_0 = require;
const closure = function(a0) {
@@ -7,20 +23,7 @@ function _fun98646(global, require, importDefault, importAll, module, exports, d
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_6 = importDefault(6) /* metro dependency 6 */;
const env0_7 = importDefault(7) /* metro dependency 7 */;
const env0_8 = importDefault(15) /* metro dependency 15 */;
const env0_9 = importDefault(17) /* metro dependency 17 */;
const env0_10 = importDefault(18) /* metro dependency 18 */;
const env0_11 = (require(27) /* metro dependency 27 */).NativeModules;
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
const selectedChannelStore = importDefault(1934) /* metro dependency 1934: SelectedChannelStore */;
const selectedGuildStore = importDefault(3969) /* metro dependency 3969: SelectedGuildStore */;
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const env0_18 = (require(661) /* metro dependency 661: Constants */).AppStates;
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
const Store = (Flux).Store;
let value = _fun98651(Store);
value.displayName = 'ShareStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {CHANNEL_SELECT: function(a0) {
@@ -38,108 +41,117 @@ function _fun98646(global, require, importDefault, importAll, module, exports, d
env0_5 = AuthenticationStore.getToken();
return false;
}, APP_STATE_UPDATE: APP_STATE_UPDATE_98657});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/native/ShareStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('stores/native/ShareStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_98647() { // fn#98647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:261, offset: 0x021b17b2, 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) {
function _isNativeReflectConstruct_98647() { // fn#98647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:261, offset: 0x021b17b2, 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_98647_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_98647_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun98651(a0) { // fn#98651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:511, offset: 0x021b1828, size: 72 bytes, params: 2, frame: 15
const closure = ShareStore;
env0_10(closure, a0);
return env0_7(closure, [{key: 'initialize', value: function() {
this.waitFor(AuthenticationStore, ChannelStore, GuildStore, SelectedChannelStore, SelectedGuildStore,
UserStore);
}}]);
}
function _fun98651(a0) { // fn#98651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:511, offset: 0x021b1828, size: 72 bytes, params: 2, frame: 15
const ShareStore2 = ShareStore;
Inherits(ShareStore2, a0);
return CreateClass(ShareStore2, [{key: 'initialize', value: function() {
this.waitFor(AuthenticationStore, ChannelStore, GuildStore, SelectedChannelStore, SelectedGuildStore,
UserStore);
}}]);
function ShareStore() { // fn#98652, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:523, offset: 0x021b1870, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_6(this, ShareStore);
const value3 = env1_9(ShareStore);
return env1_8(this, _isNativeReflectConstruct_98647() ? global.Reflect.construct(value3, arguments,
env1_9(this).constructor) : value3.apply(this, arguments));
}
function APP_STATE_UPDATE_98657({state}) { // fn#98657, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:1344, offset: 0x021b199a, size: 398 bytes, params: 2, frame: 22
var r6;
var r10;
var r5;
var value2;
var guild;
var JSON;
var stringify;
var value5;
var object2;
var recipients;
var value6;
var ShareManager;
var moduleValue;
var setAuthenticationToken;
var binding;
var defaultImport;
const INACTIVE = AppStates.INACTIVE;
if (state === INACTIVE) {
value2 = null;
if (value2 != env0_4) {
guild = GuildStore.getGuild(env0_3);
r6 = value2 != guild ? global.JSON.stringify(guild) : value2;
value5 = ChannelStore.getChannel(SelectedChannelStore.getChannelId());
if (value2 != value5) {
JSON = global.JSON;
stringify = JSON.stringify;
object2 = {};
copyDataProperties(object2, value5.toJS(), undefined);
recipients = value5.recipients;
r10 = value2 != recipients ? recipients : [];
value6 = r10.map(UserStore.getUser);
object2['recipients'] = value6.filter((require(1360) /* metro dependency 1360: GlobalUtils */).isNotNullish);
r5 = Reflect.apply(stringify, JSON, [object2]);
} else {
r5 = value2;
}
function APP_STATE_UPDATE_98657({state}) { // fn#98657, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:1344, offset: 0x021b199a, size: 398 bytes, params: 2, frame: 22
var r6;
var r10;
var r5;
var value2;
var guild;
var JSON;
var stringify;
var channelStoreBinding;
var getChannel;
var selectedChannelStoreBinding;
var value5;
var object;
var recipients;
var value6;
var ShareManager;
var moduleValue;
var setAuthenticationToken;
var binding;
var defaultImport;
const INACTIVE = AppStates.INACTIVE;
if (state === INACTIVE) {
value2 = null;
if (value2 != env0_4) {
guild = GuildStore.getGuild(env0_3);
r6 = value2 != guild ? global.JSON.stringify(guild) : value2;
channelStoreBinding = ChannelStore;
getChannel = channelStoreBinding.getChannel;
selectedChannelStoreBinding = SelectedChannelStore;
value5 = Reflect.apply(getChannel, channelStoreBinding, [selectedChannelStoreBinding.getChannelId()]);
if (value2 != value5) {
JSON = global.JSON;
stringify = JSON.stringify;
object = {};
copyDataProperties(object, value5.toJS(), undefined);
recipients = value5.recipients;
r10 = value2 != recipients ? recipients : [];
value6 = r10.map(UserStore.getUser);
object['recipients'] = value6.filter((require(1360) /* metro dependency 1360: GlobalUtils */).isNotNullish);
r5 = Reflect.apply(stringify, JSON, [object]);
} else {
r5 = value2;
}
NativeModules.ShareManager.setSelectedChannel(r5, r6);
}
NativeModules.ShareManager.setSelectedChannel(r5, r6);
}
}
if (env0_5 != null) {
moduleValue = require(480) /* metro dependency 480: AnalyticsUtils */;
moduleValue.extendSuperProperties({client_app_state: state});
ShareManager = NativeModules.ShareManager;
setAuthenticationToken = ShareManager.setAuthenticationToken;
binding = env0_5;
defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
Reflect.apply(setAuthenticationToken, ShareManager, [binding, defaultImport.getSuperPropertiesBase64()]);
if (state !== AppStates.INACTIVE) {
if (env0_5 != null) {
moduleValue = require(480) /* metro dependency 480: AnalyticsUtils */;
moduleValue.extendSuperProperties({client_app_state: state});
ShareManager = NativeModules.ShareManager;
setAuthenticationToken = ShareManager.setAuthenticationToken;
binding = env0_5;
defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
Reflect.apply(setAuthenticationToken, ShareManager, [binding, defaultImport.getSuperPropertiesBase64()]);
if (state !== AppStates.INACTIVE) {
}
}
return false;
}
return false;
}
function ShareStore() { // fn#98652, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13140:523, offset: 0x021b1870, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_6(this, ShareStore);
const value3 = env1_9(ShareStore);
return env1_8(this, _isNativeReflectConstruct_98647() ? global.Reflect.construct(value3, arguments,
env1_9(this).constructor) : value3.apply(this, arguments));
}
global.__d(_fun98646, 12950, [6, 7, 15, 17, 18, 27, 1226, 1379, 1867, 1934, 3969, 1878, 661, 1360, 480, 683, 566,
694,
2]) /* metro module 12950, dependencies: [6, 7, 15, 17, 18, 27, 1226, 1379, 1867, 1934, 3969, 1878, 661, 1360, 480, 683, 566, 694, 2] */;