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

@@ -1,289 +1,296 @@
/* Metro module 2806; source: modules/premium/premium_group/PremiumGroup.messages.js; dependencies: [1247, 2807, 2808, 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821, 2822, 2823, 2824, 2825, 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834, 2835, 2836, 2837, 1282, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as AssetJsonUtilsModule from '../../asset_json/native/AssetJsonUtils.tsx'; /* Metro dependency 1247 */
import * as Module01282Module from '../../../by-id/module-01282.js'; /* Metro dependency 1282 */
function _fun24398(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#24398, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:6, offset: 0x00f19646, size: 453 bytes, params: 8, frame: 19
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object2 = {bg: bg_24399, cs: cs_24401, da: da_24403, de: de_24405, el: el_24407};
object2['en-GB'] = _fun24409;
object2['es-419'] = _fun24411;
object2['es-ES'] = _fun24413;
object2.fi = fi_24415;
object2.fr = fr_24417;
object2.hi = hi_24419;
object2.hr = hr_24421;
object2.hu = hu_24423;
object2.it = it_24425;
object2.ja = ja_24427;
object2.ko = ko_24429;
object2.lt = lt_24431;
object2.nl = nl_24433;
object2.no = no_24435;
object2.pl = pl_24437;
object2['pt-BR'] = _fun24439;
object2.ro = ro_24441;
object2.ru = ru_24443;
object2['sv-SE'] = _fun24445;
object2.th = th_24447;
object2.tr = tr_24449;
object2.uk = uk_24451;
object2.vi = vi_24453;
object2['zh-CN'] = _fun24455;
object2['zh-TW'] = _fun24457;
object2['en-US'] = _fun24459;
let value = require(1282) /* metro dependency 1282 */;
value = value.createLoader(object2, 'en-US');
const messagesProxy = (require(1282) /* metro dependency 1282 */).makeMessagesProxy(value);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/PremiumGroup.messages.js');
object = {bg: bg_24399, cs: cs_24401, da: da_24403, de: de_24405, el: el_24407};
object['en-GB'] = _fun24409;
object['es-419'] = _fun24411;
object['es-ES'] = _fun24413;
object.fi = fi_24415;
object.fr = fr_24417;
object.hi = hi_24419;
object.hr = hr_24421;
object.hu = hu_24423;
object.it = it_24425;
object.ja = ja_24427;
object.ko = ko_24429;
object.lt = lt_24431;
object.nl = nl_24433;
object.no = no_24435;
object.pl = pl_24437;
object['pt-BR'] = _fun24439;
object.ro = ro_24441;
object.ru = ru_24443;
object['sv-SE'] = _fun24445;
object.th = th_24447;
object.tr = tr_24449;
object.uk = uk_24451;
object.vi = vi_24453;
object['zh-CN'] = _fun24455;
object['zh-TW'] = _fun24457;
object['en-US'] = _fun24459;
let value = Module01282Module;
value = value.createLoader(object, 'en-US');
const messagesProxy = (Module01282Module).makeMessagesProxy(value);
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/PremiumGroup.messages.js');
exports.default = messagesProxy;
exports.messagesLoader = value;
function bg_24399() { // fn#24399, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:102, offset: 0x00f1980b, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2807) /* metro dependency 2807 */);
return value.then(function(a0) {
return {default: a0};
});
}
function cs_24401() { // fn#24401, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:165, offset: 0x00f1984c, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2808) /* metro dependency 2808 */);
return value.then(function(a0) {
return {default: a0};
});
}
function da_24403() { // fn#24403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:228, offset: 0x00f1988d, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2809) /* metro dependency 2809 */);
return value.then(function(a0) {
return {default: a0};
});
}
function de_24405() { // fn#24405, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:291, offset: 0x00f198ce, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2810) /* metro dependency 2810 */);
return value.then(function(a0) {
return {default: a0};
});
}
function el_24407() { // fn#24407, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:354, offset: 0x00f1990f, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2811) /* metro dependency 2811 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24409() { // fn#24409, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:422, offset: 0x00f19950, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2812) /* metro dependency 2812 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24411() { // fn#24411, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:491, offset: 0x00f19991, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2813) /* metro dependency 2813 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24413() { // fn#24413, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:559, offset: 0x00f199d2, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2814) /* metro dependency 2814 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fi_24415() { // fn#24415, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:622, offset: 0x00f19a13, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2815) /* metro dependency 2815 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fr_24417() { // fn#24417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:685, offset: 0x00f19a54, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2816) /* metro dependency 2816 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hi_24419() { // fn#24419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:749, offset: 0x00f19a95, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2817) /* metro dependency 2817 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hr_24421() { // fn#24421, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:813, offset: 0x00f19ad6, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2818) /* metro dependency 2818 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hu_24423() { // fn#24423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:877, offset: 0x00f19b17, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2819) /* metro dependency 2819 */);
return value.then(function(a0) {
return {default: a0};
});
}
function it_24425() { // fn#24425, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:941, offset: 0x00f19b58, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2820) /* metro dependency 2820 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ja_24427() { // fn#24427, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1005, offset: 0x00f19b99, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2821) /* metro dependency 2821 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ko_24429() { // fn#24429, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1069, offset: 0x00f19bda, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2822) /* metro dependency 2822 */);
return value.then(function(a0) {
return {default: a0};
});
}
function lt_24431() { // fn#24431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1133, offset: 0x00f19c1b, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2823) /* metro dependency 2823 */);
return value.then(function(a0) {
return {default: a0};
});
}
function nl_24433() { // fn#24433, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1197, offset: 0x00f19c5c, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2824) /* metro dependency 2824 */);
return value.then(function(a0) {
return {default: a0};
});
}
function no_24435() { // fn#24435, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1261, offset: 0x00f19c9d, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2825) /* metro dependency 2825 */);
return value.then(function(a0) {
return {default: a0};
});
}
function pl_24437() { // fn#24437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1325, offset: 0x00f19cde, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2826) /* metro dependency 2826 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24439() { // fn#24439, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1394, offset: 0x00f19d1f, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2827) /* metro dependency 2827 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ro_24441() { // fn#24441, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1458, offset: 0x00f19d60, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2828) /* metro dependency 2828 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ru_24443() { // fn#24443, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1522, offset: 0x00f19da1, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2829) /* metro dependency 2829 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24445() { // fn#24445, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1591, offset: 0x00f19de2, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2830) /* metro dependency 2830 */);
return value.then(function(a0) {
return {default: a0};
});
}
function th_24447() { // fn#24447, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1655, offset: 0x00f19e23, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2831) /* metro dependency 2831 */);
return value.then(function(a0) {
return {default: a0};
});
}
function tr_24449() { // fn#24449, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1719, offset: 0x00f19e64, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2832) /* metro dependency 2832 */);
return value.then(function(a0) {
return {default: a0};
});
}
function uk_24451() { // fn#24451, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1783, offset: 0x00f19ea5, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2833) /* metro dependency 2833 */);
return value.then(function(a0) {
return {default: a0};
});
}
function vi_24453() { // fn#24453, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1847, offset: 0x00f19ee6, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2834) /* metro dependency 2834 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24455() { // fn#24455, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1916, offset: 0x00f19f27, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2835) /* metro dependency 2835 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24457() { // fn#24457, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1985, offset: 0x00f19f68, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2836) /* metro dependency 2836 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24459() { // fn#24459, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:2054, offset: 0x00f19fa9, size: 65 bytes, params: 1, frame: 14
let value = AssetJsonUtilsModule;
value = value.loadJsonAsset(require(2837) /* metro dependency 2837 */);
return value.then(function(a0) {
return {default: a0};
});
}
}
function bg_24399() { // fn#24399, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:102, offset: 0x00f1980b, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2807) /* metro dependency 2807 */);
return value.then(function(a0) {
return {default: a0};
});
}
function cs_24401() { // fn#24401, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:165, offset: 0x00f1984c, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2808) /* metro dependency 2808 */);
return value.then(function(a0) {
return {default: a0};
});
}
function da_24403() { // fn#24403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:228, offset: 0x00f1988d, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2809) /* metro dependency 2809 */);
return value.then(function(a0) {
return {default: a0};
});
}
function de_24405() { // fn#24405, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:291, offset: 0x00f198ce, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2810) /* metro dependency 2810 */);
return value.then(function(a0) {
return {default: a0};
});
}
function el_24407() { // fn#24407, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:354, offset: 0x00f1990f, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2811) /* metro dependency 2811 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24409() { // fn#24409, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:422, offset: 0x00f19950, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2812) /* metro dependency 2812 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24411() { // fn#24411, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:491, offset: 0x00f19991, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2813) /* metro dependency 2813 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24413() { // fn#24413, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:559, offset: 0x00f199d2, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2814) /* metro dependency 2814 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fi_24415() { // fn#24415, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:622, offset: 0x00f19a13, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2815) /* metro dependency 2815 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fr_24417() { // fn#24417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:685, offset: 0x00f19a54, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2816) /* metro dependency 2816 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hi_24419() { // fn#24419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:749, offset: 0x00f19a95, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2817) /* metro dependency 2817 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hr_24421() { // fn#24421, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:813, offset: 0x00f19ad6, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2818) /* metro dependency 2818 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hu_24423() { // fn#24423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:877, offset: 0x00f19b17, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2819) /* metro dependency 2819 */);
return value.then(function(a0) {
return {default: a0};
});
}
function it_24425() { // fn#24425, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:941, offset: 0x00f19b58, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2820) /* metro dependency 2820 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ja_24427() { // fn#24427, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1005, offset: 0x00f19b99, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2821) /* metro dependency 2821 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ko_24429() { // fn#24429, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1069, offset: 0x00f19bda, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2822) /* metro dependency 2822 */);
return value.then(function(a0) {
return {default: a0};
});
}
function lt_24431() { // fn#24431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1133, offset: 0x00f19c1b, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2823) /* metro dependency 2823 */);
return value.then(function(a0) {
return {default: a0};
});
}
function nl_24433() { // fn#24433, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1197, offset: 0x00f19c5c, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2824) /* metro dependency 2824 */);
return value.then(function(a0) {
return {default: a0};
});
}
function no_24435() { // fn#24435, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1261, offset: 0x00f19c9d, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2825) /* metro dependency 2825 */);
return value.then(function(a0) {
return {default: a0};
});
}
function pl_24437() { // fn#24437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1325, offset: 0x00f19cde, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2826) /* metro dependency 2826 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24439() { // fn#24439, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1394, offset: 0x00f19d1f, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2827) /* metro dependency 2827 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ro_24441() { // fn#24441, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1458, offset: 0x00f19d60, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2828) /* metro dependency 2828 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ru_24443() { // fn#24443, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1522, offset: 0x00f19da1, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2829) /* metro dependency 2829 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24445() { // fn#24445, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1591, offset: 0x00f19de2, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2830) /* metro dependency 2830 */);
return value.then(function(a0) {
return {default: a0};
});
}
function th_24447() { // fn#24447, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1655, offset: 0x00f19e23, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2831) /* metro dependency 2831 */);
return value.then(function(a0) {
return {default: a0};
});
}
function tr_24449() { // fn#24449, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1719, offset: 0x00f19e64, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2832) /* metro dependency 2832 */);
return value.then(function(a0) {
return {default: a0};
});
}
function uk_24451() { // fn#24451, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1783, offset: 0x00f19ea5, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2833) /* metro dependency 2833 */);
return value.then(function(a0) {
return {default: a0};
});
}
function vi_24453() { // fn#24453, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1847, offset: 0x00f19ee6, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2834) /* metro dependency 2834 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24455() { // fn#24455, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1916, offset: 0x00f19f27, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2835) /* metro dependency 2835 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24457() { // fn#24457, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:1985, offset: 0x00f19f68, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2836) /* metro dependency 2836 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24459() { // fn#24459, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2933:2054, offset: 0x00f19fa9, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2837) /* metro dependency 2837 */);
return value.then(function(a0) {
return {default: a0};
});
}
global.__d(_fun24398, 2806, [1247, 2807, 2808, 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819,
2820, 2821, 2822, 2823, 2824, 2825, 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834, 2835, 2836, 2837,
1282,
2]) /* metro module 2806, dependencies: [1247, 2807, 2808, 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821, 2822, 2823, 2824, 2825, 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834, 2835, 2836, 2837, 1282, 2] */;
File diff suppressed because it is too large. Load diff
@@ -1,64 +1,69 @@
/* Metro module 3816; source: modules/premium/premium_group/PremiumGroupConstants.tsx; dependencies: [661, 672, 1948, 1244, 2806, 2] */
import Durations from '../../../utils/Durations.tsx'; /* Metro dependency 672 */
import HelpdeskUtils from '../../../utils/HelpdeskUtils.tsx'; /* Metro dependency 1948 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
function _fun29516(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#29516, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3943:6, offset: 0x00fc3ed8, size: 741 bytes, params: 8, frame: 22
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(661) /* metro dependency 661: Constants */;
let value = ConstantsModule;
const HelpdeskArticles = value.HelpdeskArticles;
const SubscriptionStatusTypes = value.SubscriptionStatusTypes;
const Millis = (importDefault(672) /* metro dependency 672: Durations */).Millis;
const Millis = (Durations).Millis;
const DAY = Millis.DAY;
const getArticleURL = (importDefault(1948) /* metro dependency 1948: HelpdeskUtils */).getArticleURL;
const getArticleURL = (HelpdeskUtils).getArticleURL;
const PREMIUM_GROUP_ABOUT = HelpdeskArticles.PREMIUM_GROUP_ABOUT;
value = Reflect.apply(getArticleURL, value, [PREMIUM_GROUP_ABOUT]);
const CANCELED = SubscriptionStatusTypes.CANCELED;
items = [CANCELED];
items2 = [CANCELED];
const PAUSED = SubscriptionStatusTypes.PAUSED;
items[1] = PAUSED;
items2[1] = PAUSED;
const PAST_DUE = SubscriptionStatusTypes.PAST_DUE;
items[2] = PAST_DUE;
items2[2] = PAST_DUE;
const ACCOUNT_HOLD = SubscriptionStatusTypes.ACCOUNT_HOLD;
items[3] = ACCOUNT_HOLD;
items2[3] = ACCOUNT_HOLD;
const BILLING_RETRY = SubscriptionStatusTypes.BILLING_RETRY;
items[4] = BILLING_RETRY;
const object2 = {UNKNOWN_USER: 10013};
object2[10013] = 'UNKNOWN_USER';
object2.BILLING_SUBSCRIPTION_GROUP_MAX_MEMBERS = 100123;
object2[100123] = 'BILLING_SUBSCRIPTION_GROUP_MAX_MEMBERS';
object2.BILLING_SUBSCRIPTION_GROUP_USER_INELIGIBLE = 100124;
object2[100124] = 'BILLING_SUBSCRIPTION_GROUP_USER_INELIGIBLE';
object2.BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED = 100125;
object2[100125] = 'BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED';
object2.BILLING_SUBSCRIPTION_GROUP_USER_IS_BOT = 100126;
object2[100126] = 'BILLING_SUBSCRIPTION_GROUP_USER_IS_BOT';
object2.BILLING_SUBSCRIPTION_GROUP_USER_ALREADY_IN_GROUP = 100127;
object2[100127] = 'BILLING_SUBSCRIPTION_GROUP_USER_ALREADY_IN_GROUP';
object2.BILLING_SUBSCRIPTION_GROUP_USER_HAS_FRACTIONAL_NITRO = 100128;
object2[100128] = 'BILLING_SUBSCRIPTION_GROUP_USER_HAS_FRACTIONAL_NITRO';
object2.BILLING_SUBSCRIPTION_GROUP_USER_BOOST_ONLY = 100129;
object2[100129] = 'BILLING_SUBSCRIPTION_GROUP_USER_BOOST_ONLY';
object2.BILLING_SUBSCRIPTION_GROUP_USER_ACCOUNT_TOO_YOUNG = 100130;
object2[100130] = 'BILLING_SUBSCRIPTION_GROUP_USER_ACCOUNT_TOO_YOUNG';
object2.BILLING_SUBSCRIPTION_GROUP_USER_HAS_INELIGIBLE_PLAN = 100131;
object2[100131] = 'BILLING_SUBSCRIPTION_GROUP_USER_HAS_INELIGIBLE_PLAN';
object2.BILLING_SUBSCRIPTION_GROUP_USER_ON_COOLDOWN = 100132;
object2[100132] = 'BILLING_SUBSCRIPTION_GROUP_USER_ON_COOLDOWN';
object2.BILLING_SUBSCRIPTION_GROUP_USER_ACTIVE_BOOSTS = 100133;
object2[100133] = 'BILLING_SUBSCRIPTION_GROUP_USER_ACTIVE_BOOSTS';
object2.BILLING_SUBSCRIPTION_GROUP_USER_ON_GIFT_SUBSCRIPTION = 100135;
object2[100135] = 'BILLING_SUBSCRIPTION_GROUP_USER_ON_GIFT_SUBSCRIPTION';
object2.BILLING_SUBSCRIPTION_GROUP_USER_HAS_MOBILE_SUBSCRIPTION = 100136;
object2[100136] = 'BILLING_SUBSCRIPTION_GROUP_USER_HAS_MOBILE_SUBSCRIPTION';
object2.BILLING_SUBSCRIPTION_GROUP_USER_INVALID_SUBSCRIPTION = 100137;
object2[100137] = 'BILLING_SUBSCRIPTION_GROUP_USER_INVALID_SUBSCRIPTION';
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/PremiumGroupConstants.tsx');
items2[4] = BILLING_RETRY;
const object = {UNKNOWN_USER: 10013};
object[10013] = 'UNKNOWN_USER';
object.BILLING_SUBSCRIPTION_GROUP_MAX_MEMBERS = 100123;
object[100123] = 'BILLING_SUBSCRIPTION_GROUP_MAX_MEMBERS';
object.BILLING_SUBSCRIPTION_GROUP_USER_INELIGIBLE = 100124;
object[100124] = 'BILLING_SUBSCRIPTION_GROUP_USER_INELIGIBLE';
object.BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED = 100125;
object[100125] = 'BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED';
object.BILLING_SUBSCRIPTION_GROUP_USER_IS_BOT = 100126;
object[100126] = 'BILLING_SUBSCRIPTION_GROUP_USER_IS_BOT';
object.BILLING_SUBSCRIPTION_GROUP_USER_ALREADY_IN_GROUP = 100127;
object[100127] = 'BILLING_SUBSCRIPTION_GROUP_USER_ALREADY_IN_GROUP';
object.BILLING_SUBSCRIPTION_GROUP_USER_HAS_FRACTIONAL_NITRO = 100128;
object[100128] = 'BILLING_SUBSCRIPTION_GROUP_USER_HAS_FRACTIONAL_NITRO';
object.BILLING_SUBSCRIPTION_GROUP_USER_BOOST_ONLY = 100129;
object[100129] = 'BILLING_SUBSCRIPTION_GROUP_USER_BOOST_ONLY';
object.BILLING_SUBSCRIPTION_GROUP_USER_ACCOUNT_TOO_YOUNG = 100130;
object[100130] = 'BILLING_SUBSCRIPTION_GROUP_USER_ACCOUNT_TOO_YOUNG';
object.BILLING_SUBSCRIPTION_GROUP_USER_HAS_INELIGIBLE_PLAN = 100131;
object[100131] = 'BILLING_SUBSCRIPTION_GROUP_USER_HAS_INELIGIBLE_PLAN';
object.BILLING_SUBSCRIPTION_GROUP_USER_ON_COOLDOWN = 100132;
object[100132] = 'BILLING_SUBSCRIPTION_GROUP_USER_ON_COOLDOWN';
object.BILLING_SUBSCRIPTION_GROUP_USER_ACTIVE_BOOSTS = 100133;
object[100133] = 'BILLING_SUBSCRIPTION_GROUP_USER_ACTIVE_BOOSTS';
object.BILLING_SUBSCRIPTION_GROUP_USER_ON_GIFT_SUBSCRIPTION = 100135;
object[100135] = 'BILLING_SUBSCRIPTION_GROUP_USER_ON_GIFT_SUBSCRIPTION';
object.BILLING_SUBSCRIPTION_GROUP_USER_HAS_MOBILE_SUBSCRIPTION = 100136;
object[100136] = 'BILLING_SUBSCRIPTION_GROUP_USER_HAS_MOBILE_SUBSCRIPTION';
object.BILLING_SUBSCRIPTION_GROUP_USER_INVALID_SUBSCRIPTION = 100137;
object[100137] = 'BILLING_SUBSCRIPTION_GROUP_USER_INVALID_SUBSCRIPTION';
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/PremiumGroupConstants.tsx');
exports.TOTAL_PREMIUM_GROUP_MEMBER_SEATS = 5;
exports.TOTAL_PREMIUM_GROUP_USERS = 6;
exports.MIN_AVAILABLE_SEATS_FOR_REMINDER = 3;
exports.MIN_SUBSCRIPTION_AGE_FOR_PRIMARY_REMINDER_IN_MS = DAY;
exports.PREMIUM_GROUP_COOLDOWN_MONTHS = 12;
exports.HELP_CENTER_LINK = value;
exports.CANNOT_INVITE_STATUSES = items;
exports.CANNOT_INVITE_STATUSES = items2;
exports.getPremiumGroupProductName = function() {
return require(dependencyMap[3]).intl.string(importDefault(dependencyMap[4]).aFBQ3d);
};
@@ -67,6 +72,8 @@ function _fun29516(global, require, importDefault, importAll, module, exports, d
};
exports.PremiumGroupInviteState = {UNKNOWN: 'UNKNOWN', FETCHING: 'FETCHING', PENDING: 'PENDING',
ACCEPTED: 'ACCEPTED', REMOVED: 'REMOVED', NOT_FOUND: 'NOT_FOUND', ERROR: 'ERROR'};
exports.PremiumGroupAPIErrorCodes = object2;
exports.PremiumGroupAPIErrorCodes = object;
}
global.__d(_fun29516, 3816, [661, 672, 1948, 1244, 2806,
2]) /* metro module 3816, dependencies: [661, 672, 1948, 1244, 2806, 2] */;
@@ -1,24 +1,28 @@
/* Metro module 12218; source: modules/premium/premium_group/PremiumGroupStore.tsx; dependencies: [6, 7, 15, 17, 18, 3808, 3816, 661, 694, 12219, 566, 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 SubscriptionStore from '../../../stores/billing/SubscriptionStore.tsx'; /* Metro dependency 3808 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as PremiumGroupConstantsModule from './PremiumGroupConstants.tsx'; /* Metro dependency 3816 */
function _fun93484(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93484, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:6, offset: 0x020b730f, size: 612 bytes, params: 8, frame: 22
const env0_0 = require;
const closure = PREMIUM_GROUP_INVITE_USERS_START;
const closure2 = PREMIUM_GROUP_INVITE_USERS_SUCCESS;
const closure3 = PREMIUM_GROUP_INVITE_USERS_FAILURE;
const PREMIUM_GROUP_INVITE_USERS_START2 = PREMIUM_GROUP_INVITE_USERS_START;
const PREMIUM_GROUP_INVITE_USERS_SUCCESS2 = PREMIUM_GROUP_INVITE_USERS_SUCCESS;
const PREMIUM_GROUP_INVITE_USERS_FAILURE2 = PREMIUM_GROUP_INVITE_USERS_FAILURE;
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 subscriptionStore = importDefault(3808) /* metro dependency 3808: SubscriptionStore */;
let value = require(3816) /* metro dependency 3816: PremiumGroupConstants */;
let value = PremiumGroupConstantsModule;
const env0_9 = value.PremiumGroupAPIErrorCodes;
const env0_10 = value.TOTAL_PREMIUM_GROUP_MEMBER_SEATS;
const env0_11 = (require(661) /* metro dependency 661: Constants */).NOOP_NULL;
object = {membersData: {'data': null, 'isFetching': false, 'isUpdating': false}, membershipData: {'data': null,
'isFetching': false, 'hasFetched': false}};
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
const Store = (Flux).Store;
_fun93492(Store).displayName = 'PremiumGroupStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
{PREMIUM_GROUP_MEMBERS_REQUEST: PREMIUM_GROUP_MEMBERS_REQUEST,
@@ -30,189 +34,208 @@ function _fun93484(global, require, importDefault, importAll, module, exports, d
PREMIUM_GROUP_MEMBERSHIP_FETCH_SUCCESS: PREMIUM_GROUP_MEMBERSHIP_FETCH_SUCCESS,
PREMIUM_GROUP_MEMBERSHIP_NOT_FOUND: PREMIUM_GROUP_MEMBERSHIP_NOT_FOUND,
PREMIUM_GROUP_MEMBERSHIP_FETCH_FAILURE: PREMIUM_GROUP_MEMBERSHIP_FETCH_FAILURE,
PREMIUM_GROUP_INVITE_USERS_START: closure, PREMIUM_GROUP_INVITE_USERS_SUCCESS: closure2,
PREMIUM_GROUP_INVITE_USERS_FAILURE: closure3, PREMIUM_GROUP_REMOVE_MEMBER_START: closure,
PREMIUM_GROUP_REMOVE_MEMBER_SUCCESS: closure2, PREMIUM_GROUP_REMOVE_MEMBER_FAILURE: closure3,
PREMIUM_GROUP_REMOVE_INVITE_START: closure, PREMIUM_GROUP_REMOVE_INVITE_SUCCESS: closure2,
PREMIUM_GROUP_INVITE_USERS_START: PREMIUM_GROUP_INVITE_USERS_START2,
PREMIUM_GROUP_INVITE_USERS_SUCCESS: PREMIUM_GROUP_INVITE_USERS_SUCCESS2,
PREMIUM_GROUP_INVITE_USERS_FAILURE: PREMIUM_GROUP_INVITE_USERS_FAILURE2,
PREMIUM_GROUP_REMOVE_MEMBER_START: PREMIUM_GROUP_INVITE_USERS_START2,
PREMIUM_GROUP_REMOVE_MEMBER_SUCCESS: PREMIUM_GROUP_INVITE_USERS_SUCCESS2,
PREMIUM_GROUP_REMOVE_MEMBER_FAILURE: PREMIUM_GROUP_INVITE_USERS_FAILURE2,
PREMIUM_GROUP_REMOVE_INVITE_START: PREMIUM_GROUP_INVITE_USERS_START2,
PREMIUM_GROUP_REMOVE_INVITE_SUCCESS: PREMIUM_GROUP_INVITE_USERS_SUCCESS2,
PREMIUM_GROUP_REMOVE_INVITE_FAILURE: PREMIUM_GROUP_REMOVE_INVITE_FAILURE, LOGOUT: function() {
env0_12 = {membersData: {'data': null, 'isFetching': false, 'isUpdating': false}, membershipData: {'data': null,
'isFetching': false, 'hasFetched': false}};
}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/PremiumGroupStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/PremiumGroupStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_93485() { // fn#93485, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:255, offset: 0x020b7573, 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_93485() { // fn#93485, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:255, offset: 0x020b7573, 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_93485_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_93485_isNativeReflectConstruct = function() {
return !!result;
})();
}
function PREMIUM_GROUP_INVITE_USERS_START() { // fn#93488, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:563, offset: 0x020b75d5, size: 25 bytes, params: 1, frame: 2
env0_12.membersData.isUpdating = true;
}
function PREMIUM_GROUP_INVITE_USERS_SUCCESS({subscriptionId}) { // fn#93489, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:622, offset: 0x020b75ee, size: 78 bytes, params: 2, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).wait(function() {
return require(dependencyMap[9]).fetchSubscriptionGroupMembers(subscriptionId).catch(NOOP_NULL);
});
env0_12.membersData.isUpdating = false;
}
function PREMIUM_GROUP_INVITE_USERS_FAILURE() { // fn#93491, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:771, offset: 0x020b7678, size: 25 bytes, params: 1, frame: 2
env0_12.membersData.isUpdating = false;
}
function _fun93492(a0) { // fn#93492, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:838, offset: 0x020b7691, size: 334 bytes, params: 2, frame: 16
const closure = PremiumGroupStore;
env0_7(closure, a0);
return env0_4(closure, [{key: 'initialize', value: function() {
this.waitFor(SubscriptionStore);
}}, {key: 'getMembers', value: value_93495}, {key: 'isFetchingMembers', value: value_93496},
{key: 'isUpdatingMembers', value: value_93497}, {key: 'hasFetchedMembers', value: value_93498},
{key: 'getMembership', value: value_93499}, {key: 'isFetchingMembership', value: value_93500},
{key: 'hasFetchedMembership', value: value_93501}, {key: 'getNumUsedSeats', value: value_93502},
{key: 'getNumAvailableInvites', value: value_93503}, {key: 'getNumTotalSeats', value: function() {
return TOTAL_PREMIUM_GROUP_MEMBER_SEATS;
}}]);
}
function PREMIUM_GROUP_MEMBERS_REQUEST({subscriptionId}) { // fn#93505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2162, offset: 0x020b7928, size: 84 bytes, params: 2, frame: 13
var r0;
var value;
const isFetching = env0_12.membersData.isFetching;
if (isFetching) {
r0 = !isFetching;
} else {
value = importDefault(694) /* metro dependency 694: Dispatcher */;
value.wait(function() {
return require(dependencyMap[9]).fetchSubscriptionGroupMembers(subscriptionId).catch(NOOP_NULL);
});
value = true;
r0 = value;
function PREMIUM_GROUP_INVITE_USERS_START() { // fn#93488, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:563, offset: 0x020b75d5, size: 25 bytes, params: 1, frame: 2
env0_12.membersData.isUpdating = true;
}
return r0;
}
function PREMIUM_GROUP_MEMBERS_FETCH_START() { // fn#93507, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2355, offset: 0x020b797c, size: 25 bytes, params: 1, frame: 2
env0_12.membersData.isFetching = true;
}
function PREMIUM_GROUP_MEMBERS_FETCH_SUCCESS({members}) { // fn#93508, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2455, offset: 0x020b7995, size: 50 bytes, params: 2, frame: 3
env0_12.membersData.data = members;
env0_12.membersData.isFetching = false;
}
function PREMIUM_GROUP_MEMBERS_FETCH_FAILURE() { // fn#93509, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2589, offset: 0x020b79c7, size: 25 bytes, params: 1, frame: 2
env0_12.membersData.isFetching = false;
}
function PREMIUM_GROUP_MEMBERSHIP_REQUEST() { // fn#93510, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2688, offset: 0x020b79e0, size: 71 bytes, params: 1, frame: 12
var r0;
var value;
const isFetching = env0_12.membershipData.isFetching;
if (isFetching) {
r0 = !isFetching;
} else {
value = importDefault(694) /* metro dependency 694: Dispatcher */;
value.wait(function() {
return require(dependencyMap[9]).fetchPremiumGroupMembership().catch(NOOP_NULL);
});
value = true;
r0 = value;
}
return r0;
}
function PREMIUM_GROUP_MEMBERSHIP_FETCH_START() { // fn#93512, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2869, offset: 0x020b7a5b, size: 25 bytes, params: 1, frame: 2
env0_12.membershipData.isFetching = true;
}
function PREMIUM_GROUP_MEMBERSHIP_FETCH_SUCCESS({membership}) { // fn#93513, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2978, offset: 0x020b7a74, size: 68 bytes, params: 2, frame: 3
env0_12.membershipData.data = membership;
env0_12.membershipData.isFetching = false;
env0_12.membershipData.hasFetched = true;
}
function PREMIUM_GROUP_MEMBERSHIP_NOT_FOUND() { // fn#93514, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:3154, offset: 0x020b7ab8, size: 43 bytes, params: 1, frame: 3
env0_12.membershipData.isFetching = false;
env0_12.membershipData.hasFetched = true;
}
function PREMIUM_GROUP_REMOVE_INVITE_FAILURE({errorCode, subscriptionId}) { // fn#93516, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:3880, offset: 0x020b7ae3, size: 112 bytes, params: 2, frame: 13
const BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED = PremiumGroupAPIErrorCodes.BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED;
if (errorCode === BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED) {
function PREMIUM_GROUP_INVITE_USERS_SUCCESS({subscriptionId}) { // fn#93489, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:622, offset: 0x020b75ee, size: 78 bytes, params: 2, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).wait(function() {
return require(dependencyMap[9]).fetchSubscriptionGroupMembers(subscriptionId).catch(NOOP_NULL);
});
env0_12.membersData.isUpdating = false;
return true;
}
PREMIUM_GROUP_INVITE_USERS_FAILURE();
}
function value_93495() { // fn#93495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1206, offset: 0x020b77df, size: 20 bytes, params: 1, frame: 1
return env1_12.membersData.data;
}
function value_93496() { // fn#93496, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1276, offset: 0x020b77f3, size: 21 bytes, params: 1, frame: 1
return env1_12.membersData.isFetching;
}
function value_93497() { // fn#93497, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1352, offset: 0x020b7808, size: 21 bytes, params: 1, frame: 1
return env1_12.membersData.isUpdating;
}
function value_93498() { // fn#93498, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1428, offset: 0x020b781d, size: 26 bytes, params: 1, frame: 2
return env1_12.membersData.data !== null;
}
function value_93499() { // fn#93499, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1501, offset: 0x020b7837, size: 20 bytes, params: 1, frame: 1
return env1_12.membershipData.data;
}
function value_93500() { // fn#93500, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1577, offset: 0x020b784b, size: 21 bytes, params: 1, frame: 1
return env1_12.membershipData.isFetching;
}
function value_93501() { // fn#93501, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1659, offset: 0x020b7860, size: 26 bytes, params: 1, frame: 2
return env1_12.membershipData.data !== null;
}
function value_93502() { // fn#93502, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1737, offset: 0x020b787a, size: 57 bytes, params: 1, frame: 3
return env1_12.membersData.data == null ? 0 : env1_12.membersData.data.members.length;
}
function value_93503() { // fn#93503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1854, offset: 0x020b78b3, size: 117 bytes, params: 1, frame: 14
if (env1_12.membersData.data == null) {
return TOTAL_PREMIUM_GROUP_MEMBER_SEATS;
function PREMIUM_GROUP_INVITE_USERS_FAILURE() { // fn#93491, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:771, offset: 0x020b7678, size: 25 bytes, params: 1, frame: 2
env0_12.membersData.isUpdating = false;
}
const value2 = env1_12.membersData.data.members.length + env1_12.membersData.data.invitedUsers.length;
const Math = global.Math;
return Math.max(0, TOTAL_PREMIUM_GROUP_MEMBER_SEATS - value2);
function _fun93492(a0) { // fn#93492, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:838, offset: 0x020b7691, size: 334 bytes, params: 2, frame: 16
const PremiumGroupStore2 = PremiumGroupStore;
Inherits(PremiumGroupStore2, a0);
return CreateClass(PremiumGroupStore2, [{key: 'initialize', value: function() {
this.waitFor(SubscriptionStore);
}}, {key: 'getMembers', value: value_93495}, {key: 'isFetchingMembers', value: value_93496},
{key: 'isUpdatingMembers', value: value_93497}, {key: 'hasFetchedMembers', value: value_93498},
{key: 'getMembership', value: value_93499}, {key: 'isFetchingMembership', value: value_93500},
{key: 'hasFetchedMembership', value: value_93501}, {key: 'getNumUsedSeats', value: value_93502},
{key: 'getNumAvailableInvites', value: value_93503}, {key: 'getNumTotalSeats', value: function() {
return TOTAL_PREMIUM_GROUP_MEMBER_SEATS;
}}]);
function PremiumGroupStore() { // fn#93493, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:850, offset: 0x00ef83e3, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_3(this, PremiumGroupStore);
const value3 = env1_6(PremiumGroupStore);
return env1_5(this, _isNativeReflectConstruct_93485() ? global.Reflect.construct(value3, arguments,
env1_6(this).constructor) : value3.apply(this, arguments));
}
function value_93495() { // fn#93495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1206, offset: 0x020b77df, size: 20 bytes, params: 1, frame: 1
return env1_12.membersData.data;
}
function value_93496() { // fn#93496, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1276, offset: 0x020b77f3, size: 21 bytes, params: 1, frame: 1
return env1_12.membersData.isFetching;
}
function value_93497() { // fn#93497, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1352, offset: 0x020b7808, size: 21 bytes, params: 1, frame: 1
return env1_12.membersData.isUpdating;
}
function value_93498() { // fn#93498, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1428, offset: 0x020b781d, size: 26 bytes, params: 1, frame: 2
return env1_12.membersData.data !== null;
}
function value_93499() { // fn#93499, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1501, offset: 0x020b7837, size: 20 bytes, params: 1, frame: 1
return env1_12.membershipData.data;
}
function value_93500() { // fn#93500, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1577, offset: 0x020b784b, size: 21 bytes, params: 1, frame: 1
return env1_12.membershipData.isFetching;
}
function value_93501() { // fn#93501, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1659, offset: 0x020b7860, size: 26 bytes, params: 1, frame: 2
return env1_12.membershipData.data !== null;
}
function value_93502() { // fn#93502, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1737, offset: 0x020b787a, size: 57 bytes, params: 1, frame: 3
return env1_12.membersData.data == null ? 0 : env1_12.membersData.data.members.length;
}
function value_93503() { // fn#93503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:1854, offset: 0x020b78b3, size: 117 bytes, params: 1, frame: 14
if (env1_12.membersData.data == null) {
return TOTAL_PREMIUM_GROUP_MEMBER_SEATS;
}
const value2 = env1_12.membersData.data.members.length + env1_12.membersData.data.invitedUsers.length;
const Math = global.Math;
return Math.max(0, TOTAL_PREMIUM_GROUP_MEMBER_SEATS - value2);
}
}
function PREMIUM_GROUP_MEMBERS_REQUEST({subscriptionId}) { // fn#93505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2162, offset: 0x020b7928, size: 84 bytes, params: 2, frame: 13
var r0;
var value;
const isFetching = env0_12.membersData.isFetching;
if (isFetching) {
r0 = !isFetching;
} else {
value = importDefault(694) /* metro dependency 694: Dispatcher */;
value.wait(function() {
return require(dependencyMap[9]).fetchSubscriptionGroupMembers(subscriptionId).catch(NOOP_NULL);
});
value = true;
r0 = value;
}
return r0;
}
function PREMIUM_GROUP_MEMBERS_FETCH_START() { // fn#93507, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2355, offset: 0x020b797c, size: 25 bytes, params: 1, frame: 2
env0_12.membersData.isFetching = true;
}
function PREMIUM_GROUP_MEMBERS_FETCH_SUCCESS({members}) { // fn#93508, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2455, offset: 0x020b7995, size: 50 bytes, params: 2, frame: 3
env0_12.membersData.data = members;
env0_12.membersData.isFetching = false;
}
function PREMIUM_GROUP_MEMBERS_FETCH_FAILURE() { // fn#93509, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2589, offset: 0x020b79c7, size: 25 bytes, params: 1, frame: 2
env0_12.membersData.isFetching = false;
}
function PREMIUM_GROUP_MEMBERSHIP_REQUEST() { // fn#93510, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2688, offset: 0x020b79e0, size: 71 bytes, params: 1, frame: 12
var r0;
var value;
const isFetching = env0_12.membershipData.isFetching;
if (isFetching) {
r0 = !isFetching;
} else {
value = importDefault(694) /* metro dependency 694: Dispatcher */;
value.wait(function() {
return require(dependencyMap[9]).fetchPremiumGroupMembership().catch(NOOP_NULL);
});
value = true;
r0 = value;
}
return r0;
}
function PREMIUM_GROUP_MEMBERSHIP_FETCH_START() { // fn#93512, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2869, offset: 0x020b7a5b, size: 25 bytes, params: 1, frame: 2
env0_12.membershipData.isFetching = true;
}
function PREMIUM_GROUP_MEMBERSHIP_FETCH_SUCCESS({membership}) { // fn#93513, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:2978, offset: 0x020b7a74, size: 68 bytes, params: 2, frame: 3
env0_12.membershipData.data = membership;
env0_12.membershipData.isFetching = false;
env0_12.membershipData.hasFetched = true;
}
function PREMIUM_GROUP_MEMBERSHIP_NOT_FOUND() { // fn#93514, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:3154, offset: 0x020b7ab8, size: 43 bytes, params: 1, frame: 3
env0_12.membershipData.isFetching = false;
env0_12.membershipData.hasFetched = true;
}
function PREMIUM_GROUP_MEMBERSHIP_FETCH_FAILURE() { // fn#93515, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:3292, offset: 0x020b7ab8, size: 43 bytes, params: 1, frame: 3
env0_12.membershipData.isFetching = false;
env0_12.membershipData.hasFetched = true;
}
function PREMIUM_GROUP_REMOVE_INVITE_FAILURE({errorCode, subscriptionId}) { // fn#93516, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12404:3880, offset: 0x020b7ae3, size: 112 bytes, params: 2, frame: 13
const BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED = PremiumGroupAPIErrorCodes.BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED;
if (errorCode === BILLING_SUBSCRIPTION_GROUP_INVITE_ALREADY_ACCEPTED) {
(importDefault(694) /* metro dependency 694: Dispatcher */).wait(function() {
return require(dependencyMap[9]).fetchSubscriptionGroupMembers(subscriptionId).catch(NOOP_NULL);
});
env0_12.membersData.isUpdating = false;
return true;
}
PREMIUM_GROUP_INVITE_USERS_FAILURE();
}
}
global.__d(_fun93484, 12218, [6, 7, 15, 17, 18, 3808, 3816, 661, 694, 12219, 566,
2]) /* metro module 12218, dependencies: [6, 7, 15, 17, 18, 3808, 3816, 661, 694, 12219, 566, 2] */;
@@ -1,14 +1,16 @@
/* Metro module 7945; source: modules/premium/premium_group/PremiumGroupUtils.native.tsx; dependencies: [1878, 3816, 3995, 1244, 2806, 2, 7946] */
import UserStore from '../../../stores/UserStore.tsx'; /* Metro dependency 1878 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as PremiumGroupConstantsModule from './PremiumGroupConstants.tsx'; /* Metro dependency 3816 */
import * as UserUtilsModule from '../../../utils/UserUtils.tsx'; /* Metro dependency 3995 */
function _fun63399(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63399, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8123:6, offset: 0x01b7e234, size: 264 bytes, params: 8, frame: 23
var propertyName;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const premiumGroupConstantsModule = require(3816) /* metro dependency 3816: PremiumGroupConstants */;
const env0_4 = premiumGroupConstantsModule.getPremiumGroupProductName;
const env0_5 = premiumGroupConstantsModule.HELP_CENTER_LINK;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/PremiumGroupUtils.native.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/PremiumGroupUtils.native.tsx');
for (propertyName in require(7946) /* metro dependency 7946: PremiumGroupUtilsShared */) {
exports[propertyName] = (require(7946) /* metro dependency 7946: PremiumGroupUtilsShared */)[propertyName];
}
@@ -29,85 +31,86 @@ function _fun63399(global, require, importDefault, importAll, module, exports, d
exports.useIsEligibleForPremiumGroupNitroTabMarketingMaterials = function() {
return false;
};
}
function getPremiumGroupInviteEmbedText({sender, channel, isSender}) { // fn#63400, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8123:330, offset: 0x01b7e33c, size: 468 bytes, params: 2, frame: 26
var r0;
var object2;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var property;
var formatToPlainString;
var value4;
var value5;
const premiumGroupProductName = getPremiumGroupProductName();
if (isSender) {
value4 = ((a0, a1) => {
function getPremiumGroupInviteEmbedText({sender, channel, isSender}) { // fn#63400, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8123:330, offset: 0x01b7e33c, size: 468 bytes, params: 2, frame: 26
var r0;
var object;
const intl = (IndexNativeModule).intl;
var property;
var formatToPlainString;
var value4;
var value5;
const premiumGroupProductName = getPremiumGroupProductName();
if (isSender) {
value4 = ((a0, a1) => {
var r1;
var env0_0 = a0;
var value = null;
if (value == a1) {
return value;
}
var recipients = a1.recipients;
var value5 = UserStore.getUser(value == recipients ? undefined : recipients.find(_fun63402));
if (value == value5) {
r1 = value;
} else {
value = UserUtilsModule;
value = value.nameFromUser(value5);
r1 = value;
}
return r1;
})(sender, channel);
value5 = null;
if (value5 == value4) {
r0 = value5;
} else {
object = {};
object.message = intl.format((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).MkcFjx,
{receiverName: value4, premiumGroupProductName: premiumGroupProductName});
formatToPlainString = intl.formatToPlainString;
property = (importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */)['5uwv8J'];
object.header = Reflect.apply(formatToPlainString, intl, [property,
{premiumGroupProductName: premiumGroupProductName}]);
formatToPlainString = intl.formatToPlainString;
property = (importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */)['AmE0B/'];
object.body = Reflect.apply(formatToPlainString, intl, [property, {receiverName: value4}]);
r0 = object;
}
return r0;
}
const value3 = (UserUtilsModule).nameFromUser(sender);
object = {};
object.message = intl.format((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */)['51Kv/4'],
{senderName: value3, premiumGroupProductName: premiumGroupProductName, helpCenterLink: HELP_CENTER_LINK});
object.header = intl.string((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).ssge1y);
object.body = intl.formatToPlainString((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).tej76V,
{senderName: value3, premiumGroupProductName: premiumGroupProductName});
return object;
function _fun63401(a0, a1) { // fn#63401, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8123:389, offset: 0x01b7e510, size: 113 bytes, params: 3, frame: 15
var r1;
var env0_0 = a0;
var value = null;
const env0_0 = a0;
let value = null;
if (value == a1) {
return value;
}
var recipients = a1.recipients;
var value5 = UserStore.getUser(value == recipients ? undefined : recipients.find(_fun63402));
if (value == value5) {
const recipients = a1.recipients;
const user = UserStore.getUser(value == recipients ? undefined : recipients.find(_fun63402));
if (value == user) {
r1 = value;
} else {
value = require(3995) /* metro dependency 3995: UserUtils */;
value = value.nameFromUser(value5);
value = value.nameFromUser(user);
r1 = value;
}
return r1;
})(sender, channel);
value5 = null;
if (value5 == value4) {
r0 = value5;
} else {
object2 = {};
object2.message = intl.format((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).MkcFjx,
{receiverName: value4, premiumGroupProductName: premiumGroupProductName});
formatToPlainString = intl.formatToPlainString;
property = (importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */)['5uwv8J'];
object2.header = Reflect.apply(formatToPlainString, intl, [property,
{premiumGroupProductName: premiumGroupProductName}]);
formatToPlainString = intl.formatToPlainString;
property = (importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */)['AmE0B/'];
object2.body = Reflect.apply(formatToPlainString, intl, [property, {receiverName: value4}]);
r0 = object2;
function _fun63402(a0) { // fn#63402, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8123:470, offset: 0x01b7e581, size: 21 bytes, params: 2, frame: 2
return a0 !== env0_0.id;
}
}
return r0;
}
const value3 = (require(3995) /* metro dependency 3995: UserUtils */).nameFromUser(sender);
object2 = {};
object2.message = intl.format((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */)['51Kv/4'],
{senderName: value3, premiumGroupProductName: premiumGroupProductName, helpCenterLink: HELP_CENTER_LINK});
object2.header = intl.string((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).ssge1y);
object2.body = intl.formatToPlainString((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).tej76V,
{senderName: value3, premiumGroupProductName: premiumGroupProductName});
return object2;
}
function _fun63401(a0, a1) { // fn#63401, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8123:389, offset: 0x01b7e510, size: 113 bytes, params: 3, frame: 15
var r1;
const env0_0 = a0;
let value = null;
if (value == a1) {
return value;
}
const recipients = a1.recipients;
const user = UserStore.getUser(value == recipients ? undefined : recipients.find(_fun63402));
if (value == user) {
r1 = value;
} else {
value = require(3995) /* metro dependency 3995: UserUtils */;
value = value.nameFromUser(user);
r1 = value;
}
return r1;
}
function _fun63402(a0) { // fn#63402, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8123:470, offset: 0x01b7e581, size: 21 bytes, params: 2, frame: 2
return a0 !== env0_0.id;
}
global.__d(_fun63399, 7945, [1878, 3816, 3995, 1244, 2806, 2,
7946]) /* metro module 7945, dependencies: [1878, 3816, 3995, 1244, 2806, 2, 7946] */;
@@ -1,39 +1,42 @@
/* Metro module 7946; source: modules/premium/premium_group/PremiumGroupUtils.shared.tsx; dependencies: [3807, 3802, 5137, 2] */
import SubscriptionPlanStore from '../../../stores/billing/SubscriptionPlanStore.tsx'; /* Metro dependency 3807 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun63408(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63408, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8124:6, offset: 0x01b7e5a3, size: 112 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const subscriptionPlanStore = importDefault(3807) /* metro dependency 3807: SubscriptionPlanStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/PremiumGroupUtils.shared.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/PremiumGroupUtils.shared.tsx');
exports.getPriceString = getPriceString;
}
function getPriceString(a0, a1) { // fn#63409, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8124:215, offset: 0x01b7e613, size: 197 bytes, params: 3, frame: 20
var planIdFromItems;
var value2;
var price;
var moduleValue2;
var value4;
if (a0 != null) {
if (a0.hasAnyPremiumGroup) {
planIdFromItems = a0.planIdFromItems;
if (planIdFromItems == null) {
return null;
function getPriceString(a0, a1) { // fn#63409, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8124:215, offset: 0x01b7e613, size: 197 bytes, params: 3, frame: 20
var planIdFromItems;
var value2;
var price;
var moduleValue2;
var value4;
if (a0 != null) {
if (a0.hasAnyPremiumGroup) {
planIdFromItems = a0.planIdFromItems;
if (planIdFromItems == null) {
return null;
}
value2 = SubscriptionPlanStore.get(planIdFromItems);
if (value2 == null) {
return null;
}
price = (require(3802) /* metro dependency 3802: PremiumUtils */).getPrice(planIdFromItems);
moduleValue2 = require(5137) /* metro dependency 5137: PriceUtils */;
value4 = moduleValue2.formatPrice(price.amount, price.currency);
if ((a1 ?? ({})).withIntervals) {
return (require(5137) /* metro dependency 5137: PriceUtils */).formatRate(value4, value2.interval,
value2.intervalCount);
}
return value4;
}
value2 = SubscriptionPlanStore.get(planIdFromItems);
if (value2 == null) {
return null;
}
price = (require(3802) /* metro dependency 3802: PremiumUtils */).getPrice(planIdFromItems);
moduleValue2 = require(5137) /* metro dependency 5137: PriceUtils */;
value4 = moduleValue2.formatPrice(price.amount, price.currency);
if ((a1 ?? ({})).withIntervals) {
return (require(5137) /* metro dependency 5137: PriceUtils */).formatRate(value4, value2.interval,
value2.intervalCount);
}
return value4;
}
return null;
}
return null;
}
global.__d(_fun63408, 7946, [3807, 3802, 5137, 2]) /* metro module 7946, dependencies: [3807, 3802, 5137, 2] */;
@@ -1,81 +1,86 @@
/* Metro module 12215; source: modules/premium/premium_group/hooks/usePremiumGroupFeaturesTableCardText.tsx; dependencies: [3808, 3816, 1244, 2806, 1895, 7945, 12216, 566, 2] */
import SubscriptionStore from '../../../../stores/billing/SubscriptionStore.tsx'; /* Metro dependency 3808 */
import UsePremiumGroupPrimaryName from './usePremiumGroupPrimaryName.tsx'; /* Metro dependency 12216 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as UserModule from '../../../../external/discord_common/js/packages/protos/discord_protos/users/v1/user.tsx'; /* Metro dependency 1895 */
import * as PremiumGroupConstantsModule from '../PremiumGroupConstants.tsx'; /* Metro dependency 3816 */
function _fun93474(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93474, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12401:6, offset: 0x020b6d1d, size: 161 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const subscriptionStore = importDefault(3808) /* metro dependency 3808: SubscriptionStore */;
const premiumGroupConstantsModule = require(3816) /* metro dependency 3816: PremiumGroupConstants */;
const env0_4 = premiumGroupConstantsModule.getPremiumGroupProductName;
const env0_5 = premiumGroupConstantsModule.HELP_CENTER_LINK;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/hooks/usePremiumGroupFeaturesTableCardText.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/hooks/usePremiumGroupFeaturesTableCardText.tsx');
exports.default = _default_93476;
}
function getPremiumGroupFeaturesTableCardSubheaderString(a0, a1, a2) { // fn#93475, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12401:216, offset: 0x020b6dbe, size: 204 bytes, params: 4, frame: 18
var r1;
var value2;
var intl;
var format;
var Nu9LNm;
var object2;
var value;
const PremiumSubscriptionGroupRole = (require(1895) /* metro dependency 1895: user */).PremiumSubscriptionGroupRole;
const PRIMARY = PremiumSubscriptionGroupRole.PRIMARY;
if (a0 === PRIMARY) {
value = require(7945) /* metro dependency 7945: PremiumGroupUtilsNative */;
value = value.getPriceString(a2, {withIntervals: true});
r1 = value;
} else {
value2 = null;
if (value2 == a1) {
r1 = value2;
function getPremiumGroupFeaturesTableCardSubheaderString(a0, a1, a2) { // fn#93475, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12401:216, offset: 0x020b6dbe, size: 204 bytes, params: 4, frame: 18
var r1;
var value2;
var intl;
var format;
var Nu9LNm;
var object;
var value;
const PremiumSubscriptionGroupRole = (UserModule).PremiumSubscriptionGroupRole;
const PRIMARY = PremiumSubscriptionGroupRole.PRIMARY;
if (a0 === PRIMARY) {
value = require(7945) /* metro dependency 7945: PremiumGroupUtilsNative */;
value = value.getPriceString(a2, {withIntervals: true});
r1 = value;
} else {
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
format = intl.format;
Nu9LNm = (importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).Nu9LNm;
object2 = {primaryName: a1};
object2.premiumGroupProductName = getPremiumGroupProductName();
r1 = Reflect.apply(format, intl, [Nu9LNm, object2]);
value2 = null;
if (value2 == a1) {
r1 = value2;
} else {
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
format = intl.format;
Nu9LNm = (importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).Nu9LNm;
object = {primaryName: a1};
object.premiumGroupProductName = getPremiumGroupProductName();
r1 = Reflect.apply(format, intl, [Nu9LNm, object]);
}
}
return r1 ?? '...';
}
return r1 ?? '...';
}
function _default_93476(a0, a1) { // fn#93476, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12401:460, offset: 0x020b6e8a, size: 390 bytes, params: 3, frame: 21
var r1;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var format;
var defaultImport2;
var property;
const PremiumSubscriptionGroupRole = (require(1895) /* metro dependency 1895: user */).PremiumSubscriptionGroupRole;
const MEMBER = PremiumSubscriptionGroupRole.MEMBER;
const defaultImport = importDefault(12216) /* metro dependency 12216: usePremiumGroupPrimaryName */;
let object2 = {useCachedData: true, fetch: a0 === MEMBER};
const value2 = defaultImport(object2);
const premiumGroupSubscription = (require(566) /* metro dependency 566: flux */).useStateFromStores([SubscriptionStore],
function() {
return SubscriptionStore.getPremiumGroupSubscription();
});
const UNSPECIFIED = PremiumSubscriptionGroupRole.UNSPECIFIED;
if (a0 === UNSPECIFIED) {
return null;
function _default_93476(a0, a1) { // fn#93476, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12401:460, offset: 0x020b6e8a, size: 390 bytes, params: 3, frame: 21
var r1;
const intl = (IndexNativeModule).intl;
var format;
var defaultImport2;
var property;
const PremiumSubscriptionGroupRole = (UserModule).PremiumSubscriptionGroupRole;
const MEMBER = PremiumSubscriptionGroupRole.MEMBER;
const defaultImport = UsePremiumGroupPrimaryName;
let object = {useCachedData: true, fetch: a0 === MEMBER};
const value2 = defaultImport(object);
const premiumGroupSubscription = (require(566) /* metro dependency 566: flux */).useStateFromStores([SubscriptionStore],
function() {
return SubscriptionStore.getPremiumGroupSubscription();
});
const UNSPECIFIED = PremiumSubscriptionGroupRole.UNSPECIFIED;
if (a0 === UNSPECIFIED) {
return null;
}
const premiumGroupFeaturesTableCardSubheaderString = getPremiumGroupFeaturesTableCardSubheaderString(a0, value2,
premiumGroupSubscription);
const PRIMARY = PremiumSubscriptionGroupRole.PRIMARY;
if (a0 === PRIMARY) {
format = intl.format;
property = (importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */)['+R/K74'];
object = {};
object.helpCenterLink = HELP_CENTER_LINK;
object.premiumGroupProductName = getPremiumGroupProductName();
r1 = Reflect.apply(format, intl, [property, object]);
} else {
format = intl.format;
defaultImport2 = importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */;
r1 = a1 ? defaultImport2['xF+upx'] : defaultImport2.qqfnOm;
r1 = Reflect.apply(format, intl, [r1, {helpCenterLink: HELP_CENTER_LINK}]);
}
return {subheaderString: premiumGroupFeaturesTableCardSubheaderString, bodyString: r1};
}
const premiumGroupFeaturesTableCardSubheaderString = getPremiumGroupFeaturesTableCardSubheaderString(a0, value2,
premiumGroupSubscription);
const PRIMARY = PremiumSubscriptionGroupRole.PRIMARY;
if (a0 === PRIMARY) {
format = intl.format;
property = (importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */)['+R/K74'];
object2 = {};
object2.helpCenterLink = HELP_CENTER_LINK;
object2.premiumGroupProductName = getPremiumGroupProductName();
r1 = Reflect.apply(format, intl, [property, object2]);
} else {
format = intl.format;
defaultImport2 = importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */;
r1 = a1 ? defaultImport2['xF+upx'] : defaultImport2.qqfnOm;
r1 = Reflect.apply(format, intl, [r1, {helpCenterLink: HELP_CENTER_LINK}]);
}
return {subheaderString: premiumGroupFeaturesTableCardSubheaderString, bodyString: r1};
}
global.__d(_fun93474, 12215, [3808, 3816, 1244, 2806, 1895, 7945, 12216, 566,
2]) /* metro module 12215, dependencies: [3808, 3816, 1244, 2806, 1895, 7945, 12216, 566, 2] */;
@@ -1,46 +1,51 @@
/* Metro module 12221; source: modules/premium/premium_group/hooks/usePremiumGroupMembers.tsx; dependencies: [31, 12218, 566, 694, 2] */
import PremiumGroupStore from '../PremiumGroupStore.tsx'; /* Metro dependency 12218 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
function _fun93573(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93573, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12407:6, offset: 0x020b8d2b, size: 139 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = (require(31) /* metro dependency 31 */).useEffect;
const premiumGroupStore = importDefault(12218) /* metro dependency 12218: PremiumGroupStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/hooks/usePremiumGroupMembers.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/hooks/usePremiumGroupMembers.tsx');
exports.default = usePremiumGroupMembers;
}
function usePremiumGroupMembers(a0) { // fn#93574, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12407:232, offset: 0x020b8db6, size: 177 bytes, params: 2, frame: 19
const value = a1;
const env0_0 = a0;
const r1 = value !== undefined ? value : {};
let useCachedData = r1.useCachedData;
useCachedData = !(useCachedData === undefined) && useCachedData;
let fetch = r1.fetch;
fetch = fetch === undefined || fetch;
const {premiumGroupMembers, isFetchingMembers,
isUpdatingMembers} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([PremiumGroupStore],
function() {
var object = {};
object.premiumGroupMembers = PremiumGroupStore.getMembers();
object.isFetchingMembers = PremiumGroupStore.isFetchingMembers();
object.isUpdatingMembers = PremiumGroupStore.isUpdatingMembers();
return object;
});
useEffect(_fun93576, [fetch, a0, useCachedData]);
return {premiumGroupMembers: premiumGroupMembers, isLoading: isFetchingMembers || isUpdatingMembers};
}
function _fun93576() { // fn#93576, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12407:549, offset: 0x020b8e9f, size: 109 bytes, params: 1, frame: 13
var value3;
var defaultImport;
if (fetch) {
if (!(useCachedData && PremiumGroupStore.hasFetchedMembers())) {
if (env0_0 != null) {
value3 = environment.__proto__;
defaultImport = importDefault(694) /* metro dependency 694: Dispatcher */;
defaultImport.dispatch({type: 'PREMIUM_GROUP_MEMBERS_REQUEST', subscriptionId: env0_0});
function usePremiumGroupMembers(a0) { // fn#93574, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12407:232, offset: 0x020b8db6, size: 177 bytes, params: 2, frame: 19
const value = a1;
const env0_0 = a0;
const r1 = value !== undefined ? value : {};
let useCachedData = r1.useCachedData;
useCachedData = !(useCachedData === undefined) && useCachedData;
let fetch = r1.fetch;
fetch = fetch === undefined || fetch;
const {premiumGroupMembers, isFetchingMembers,
isUpdatingMembers} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([PremiumGroupStore],
function() {
var object = {};
var premiumGroupStoreBinding = PremiumGroupStore;
object.premiumGroupMembers = premiumGroupStoreBinding.getMembers();
object.isFetchingMembers = premiumGroupStoreBinding.isFetchingMembers();
object.isUpdatingMembers = premiumGroupStoreBinding.isUpdatingMembers();
return object;
});
useEffect(_fun93576, [fetch, a0, useCachedData]);
return {premiumGroupMembers: premiumGroupMembers, isLoading: isFetchingMembers || isUpdatingMembers};
function _fun93576() { // fn#93576, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12407:549, offset: 0x020b8e9f, size: 109 bytes, params: 1, frame: 13
var value3;
var defaultImport;
if (fetch) {
if (!(useCachedData && PremiumGroupStore.hasFetchedMembers())) {
if (env0_0 != null) {
value3 = environment.__proto__;
defaultImport = importDefault(694) /* metro dependency 694: Dispatcher */;
defaultImport.dispatch({type: 'PREMIUM_GROUP_MEMBERS_REQUEST', subscriptionId: env0_0});
}
}
}
}
}
}
global.__d(_fun93573, 12221, [31, 12218, 566, 694,
2]) /* metro module 12221, dependencies: [31, 12218, 566, 694, 2] */;
@@ -1,49 +1,54 @@
/* Metro module 12217; source: modules/premium/premium_group/hooks/usePremiumGroupMembership.tsx; dependencies: [31, 12218, 566, 694, 2] */
import PremiumGroupStore from '../PremiumGroupStore.tsx'; /* Metro dependency 12218 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
function _fun93480(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93480, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12403:6, offset: 0x020b7165, size: 139 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = (require(31) /* metro dependency 31 */).useEffect;
const premiumGroupStore = importDefault(12218) /* metro dependency 12218: PremiumGroupStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/hooks/usePremiumGroupMembership.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/hooks/usePremiumGroupMembership.tsx');
exports.default = usePremiumGroupMembership;
}
function usePremiumGroupMembership() { // fn#93481, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12403:235, offset: 0x020b71f0, size: 154 bytes, params: 1, frame: 18
const value = a0;
const r1 = value !== undefined ? value : {};
let useCachedData = r1.useCachedData;
useCachedData = !(useCachedData === undefined) && useCachedData;
let fetch = r1.fetch;
fetch = fetch === undefined || fetch;
const {premiumGroupMembership,
isFetchingMembership} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([PremiumGroupStore],
function() {
var object = {};
object.premiumGroupMembership = PremiumGroupStore.getMembership();
object.isFetchingMembership = PremiumGroupStore.isFetchingMembership();
return object;
});
useEffect(_fun93483, [fetch, useCachedData]);
return {premiumGroupMembership: premiumGroupMembership, isLoading: isFetchingMembership};
}
function _fun93483() { // fn#93483, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12403:509, offset: 0x020b72b5, size: 90 bytes, params: 1, frame: 12
var r0;
var value;
if (fetch) {
if (useCachedData) {
value = environment.__proto__;
value = PremiumGroupStore.hasFetchedMembership();
r0 = value;
} else {
r0 = useCachedData;
}
if (!r0) {
value = environment.__proto__;
value = importDefault(694) /* metro dependency 694: Dispatcher */;
value.dispatch({type: 'PREMIUM_GROUP_MEMBERSHIP_REQUEST'});
function usePremiumGroupMembership() { // fn#93481, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12403:235, offset: 0x020b71f0, size: 154 bytes, params: 1, frame: 18
const value = a0;
const r1 = value !== undefined ? value : {};
let useCachedData = r1.useCachedData;
useCachedData = !(useCachedData === undefined) && useCachedData;
let fetch = r1.fetch;
fetch = fetch === undefined || fetch;
const {premiumGroupMembership,
isFetchingMembership} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([PremiumGroupStore],
function() {
var object = {};
var premiumGroupStoreBinding = PremiumGroupStore;
object.premiumGroupMembership = premiumGroupStoreBinding.getMembership();
object.isFetchingMembership = premiumGroupStoreBinding.isFetchingMembership();
return object;
});
useEffect(_fun93483, [fetch, useCachedData]);
return {premiumGroupMembership: premiumGroupMembership, isLoading: isFetchingMembership};
function _fun93483() { // fn#93483, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12403:509, offset: 0x020b72b5, size: 90 bytes, params: 1, frame: 12
var r0;
var value;
if (fetch) {
if (useCachedData) {
value = environment.__proto__;
value = PremiumGroupStore.hasFetchedMembership();
r0 = value;
} else {
r0 = useCachedData;
}
if (!r0) {
value = environment.__proto__;
value = importDefault(694) /* metro dependency 694: Dispatcher */;
value.dispatch({type: 'PREMIUM_GROUP_MEMBERSHIP_REQUEST'});
}
}
}
}
}
global.__d(_fun93480, 12217, [31, 12218, 566, 694,
2]) /* metro module 12217, dependencies: [31, 12218, 566, 694, 2] */;
@@ -1,34 +1,40 @@
/* Metro module 12216; source: modules/premium/premium_group/hooks/usePremiumGroupPrimaryName.tsx; dependencies: [12217, 12221, 3995, 2] */
import UsePremiumGroupMembership from './usePremiumGroupMembership.tsx'; /* Metro dependency 12217 */
import UsePremiumGroupMembers from './usePremiumGroupMembers.tsx'; /* Metro dependency 12221 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun93478(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93478, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12402:6, offset: 0x020b7025, size: 103 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/hooks/usePremiumGroupPrimaryName.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/hooks/usePremiumGroupPrimaryName.tsx');
exports.default = usePremiumGroupPrimaryName;
}
function usePremiumGroupPrimaryName() { // fn#93479, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12402:202, offset: 0x020b708c, size: 217 bytes, params: 1, frame: 18
let value = a0;
const value2 = undefined;
let r0 = value !== value2 ? value : {};
let useCachedData = r0.useCachedData;
useCachedData = useCachedData === value2 || useCachedData;
let fetch = r0.fetch;
fetch = fetch === value2 || fetch;
const premiumGroupMembership = (importDefault(12217) /* metro dependency 12217: usePremiumGroupMembership */)({useCachedData: useCachedData,
fetch: fetch}).premiumGroupMembership;
const defaultImport2 = importDefault(12221) /* metro dependency 12221: usePremiumGroupMembers */;
const value3 = null;
const subscriptionId = value3 == premiumGroupMembership ? value2 : premiumGroupMembership.subscriptionId;
const premiumGroupMembers = defaultImport2(value3 != subscriptionId ? subscriptionId : value3,
{useCachedData: useCachedData, fetch: fetch}).premiumGroupMembers;
if (value3 != (value3 == premiumGroupMembers ? value2 : premiumGroupMembers.primary)) {
value = require(3995) /* metro dependency 3995: UserUtils */;
value = value.nameFromUser(value3 == premiumGroupMembers ? value2 : premiumGroupMembers.primary);
r0 = value;
} else {
r0 = value3;
function usePremiumGroupPrimaryName() { // fn#93479, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12402:202, offset: 0x020b708c, size: 217 bytes, params: 1, frame: 18
let value = a0;
const value2 = undefined;
let r0 = value !== value2 ? value : {};
let useCachedData = r0.useCachedData;
useCachedData = useCachedData === value2 || useCachedData;
let fetch = r0.fetch;
fetch = fetch === value2 || fetch;
const premiumGroupMembership = (UsePremiumGroupMembership)({useCachedData: useCachedData,
fetch: fetch}).premiumGroupMembership;
const defaultImport2 = UsePremiumGroupMembers;
const value3 = null;
const subscriptionId = value3 == premiumGroupMembership ? value2 : premiumGroupMembership.subscriptionId;
const premiumGroupMembers = defaultImport2(value3 != subscriptionId ? subscriptionId : value3,
{useCachedData: useCachedData, fetch: fetch}).premiumGroupMembers;
if (value3 != (value3 == premiumGroupMembers ? value2 : premiumGroupMembers.primary)) {
value = require(3995) /* metro dependency 3995: UserUtils */;
value = value.nameFromUser(value3 == premiumGroupMembers ? value2 : premiumGroupMembers.primary);
r0 = value;
} else {
r0 = value3;
}
return r0;
}
return r0;
}
global.__d(_fun93478, 12216, [12217, 12221, 3995,
2]) /* metro module 12216, dependencies: [12217, 12221, 3995, 2] */;
@@ -1,63 +1,70 @@
/* Metro module 12242; source: modules/premium/premium_group/native/BoostingUnavailablePill.tsx; dependencies: [27, 3816, 33, 4501, 697, 4080, 12243, 1962, 1244, 2806, 4573, 2] */
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 JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as PremiumGroupConstantsModule from '../PremiumGroupConstants.tsx'; /* Metro dependency 3816 */
import * as TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
function _fun93677(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93677, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12428:6, offset: 0x020be75b, size: 349 bytes, params: 8, frame: 23
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(27) /* metro dependency 27 */;
let value = ReactNativeModule;
const env0_3 = value.TouchableOpacity;
const env0_4 = value.View;
const env0_5 = (require(3816) /* metro dependency 3816: PremiumGroupConstants */).getPremiumGroupProductName;
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
const object = {'backgroundColor': null, 'flexDirection': 'row', 'gap': 12, 'padding': 12,
const object2 = {'backgroundColor': null, 'flexDirection': 'row', 'gap': 12, 'padding': 12,
'justifyContent': 'center', 'borderColor': null, 'borderWidth': 1, 'borderRadius': null, 'marginBottom': 12};
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object.backgroundColor = BACKGROUND_SURFACE_HIGH;
object2.backgroundColor = BACKGROUND_SURFACE_HIGH;
const STATUS_WARNING = (importDefault(697) /* metro dependency 697: native */).colors.STATUS_WARNING;
object.borderColor = STATUS_WARNING;
object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
const env0_7 = Reflect.apply(createStyles, value, [{premiumGroupBanner: object, pgUnavailable: {'flex': 1,
object2.borderColor = STATUS_WARNING;
object2.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
const env0_7 = Reflect.apply(createStyles, value, [{premiumGroupBanner: object2, pgUnavailable: {'flex': 1,
'justifyContent': 'center'}, pgUnavailableText: {textAlign: 'center'}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/native/BoostingUnavailablePill.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/native/BoostingUnavailablePill.tsx');
exports.default = BoostingUnavailablePill;
}
function handlePress_93678() { // fn#93678, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12428:539, offset: 0x020be8b8, size: 148 bytes, params: 1, frame: 21
const defaultImport = importDefault(dependencyMap[5]);
const openLazy = defaultImport.openLazy;
const moduleValue = require(dependencyMap[7]);
let property = dependencyMap[6];
const value2 = moduleValue(property, dependencyMap.paths);
const intl = require(dependencyMap[8]).intl;
const formatToPlainString = intl.formatToPlainString;
property = importDefault(dependencyMap[9])['5xN/C1'];
const object2 = {};
object2.premiumGroupProductName = getPremiumGroupProductName();
Reflect.apply(openLazy, defaultImport, [value2, 'PremiumGroupEducationActionSheet',
{aboutText: Reflect.apply(formatToPlainString, intl, [property, object2])}]);
}
function handlePress_93678() { // fn#93678, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12428:539, offset: 0x020be8b8, size: 148 bytes, params: 1, frame: 21
const defaultImport = importDefault(dependencyMap[5]);
const openLazy = defaultImport.openLazy;
const moduleValue = require(dependencyMap[7]);
let property = dependencyMap[6];
const value2 = moduleValue(property, dependencyMap.paths);
const intl = require(dependencyMap[8]).intl;
const formatToPlainString = intl.formatToPlainString;
property = importDefault(dependencyMap[9])['5xN/C1'];
const object = {};
object.premiumGroupProductName = getPremiumGroupProductName();
Reflect.apply(openLazy, defaultImport, [value2, 'PremiumGroupEducationActionSheet',
{aboutText: Reflect.apply(formatToPlainString, intl, [property, object])}]);
}
function BoostingUnavailablePill({style}) { // fn#93679, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12428:840, offset: 0x020be94c, size: 232 bytes, params: 2, frame: 23
const styles = useStyles();
const handlePress_93678Binding = handlePress_93678;
const items2 = [styles.premiumGroupBanner, style];
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
return (
<TouchableOpacity activeOpacity={0.7} onPress={handlePress_93678Binding}>
<View style={items2}>
<View style={styles.pgUnavailable}>
<Text
variant="text-md/normal"
color="interactive-text-active"
style={styles.pgUnavailableText}
>
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['5nrJDO'])}
</Text>
function BoostingUnavailablePill({style}) { // fn#93679, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12428:840, offset: 0x020be94c, size: 232 bytes, params: 2, frame: 23
const styles = useStyles();
const handlePress_93678Binding = handlePress_93678;
const items2 = [styles.premiumGroupBanner, style];
const Text = (TextModule).Text;
const intl = (IndexNativeModule).intl;
return (
<TouchableOpacity activeOpacity={0.7} onPress={handlePress_93678Binding}>
<View style={items2}>
<View style={styles.pgUnavailable}>
<Text
variant="text-md/normal"
color="interactive-text-active"
style={styles.pgUnavailableText}
>
{intl.string((IndexNativeModule).t['5nrJDO'])}
</Text>
</View>
</View>
</View>
</TouchableOpacity>
);
</TouchableOpacity>
);
}
}
global.__d(_fun93677, 12242, [27, 3816, 33, 4501, 697, 4080, 12243, 1962, 1244, 2806, 4573,
2]) /* metro module 12242, dependencies: [27, 3816, 33, 4501, 697, 4080, 12243, 1962, 1244, 2806, 4573, 2] */;
@@ -1,50 +1,70 @@
/* Metro module 12243; source: modules/premium/premium_group/native/PremiumGroupEducationActionSheet.tsx; dependencies: [27, 3816, 33, 4501, 697, 6275, 7684, 4573, 6766, 1244, 2806, 2] */
import PremiumGroupMessages from '../PremiumGroup.messages.js'; /* Metro dependency 2806 */
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 JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as PremiumGroupConstantsModule from '../PremiumGroupConstants.tsx'; /* Metro dependency 3816 */
import * as TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as BottomSheetNativeModule from '../../../../design/components/Sheet/native/BottomSheet.native.tsx'; /* Metro dependency 6275 */
import * as TextWithIOSLinkWorkaroundModule from '../../../a11y/native/TextWithIOSLinkWorkaround.tsx'; /* Metro dependency 6766 */
import * as CircleErrorIconModule from '../../../../design/components/Icon/native/redesign/generated/CircleErrorIcon.tsx'; /* Metro dependency 7684 */
function _fun93680(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93680, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12429:6, offset: 0x020bea34, size: 348 bytes, params: 8, frame: 22
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = (require(27) /* metro dependency 27 */).View;
const env0_4 = (require(3816) /* metro dependency 3816: PremiumGroupConstants */).HELP_CENTER_LINK;
let value = require(33) /* metro dependency 33 */;
let value = JsxRuntimeModule;
const env0_5 = value.jsx;
const env0_6 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
const object = {'flexDirection': 'row', 'backgroundColor': null, 'justifyContent': 'center', 'borderRadius': null,
const object2 = {'flexDirection': 'row', 'backgroundColor': null, 'justifyContent': 'center', 'borderRadius': null,
'marginBottom': 12};
const BACKGROUND_MOD_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_SUBTLE;
object.backgroundColor = BACKGROUND_MOD_SUBTLE;
object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object2.backgroundColor = BACKGROUND_MOD_SUBTLE;
object2.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
const env0_7 = Reflect.apply(createStyles, value, [{container: {'marginTop': 32, 'marginHorizontal': 30},
aboutContainer: object, warningIcon: {margin: 16}, aboutTextContainer: {'justifyContent': 'center', 'flex': 1,
aboutContainer: object2, warningIcon: {margin: 16}, aboutTextContainer: {'justifyContent': 'center', 'flex': 1,
'marginRight': 30}, helpdeskText: {'textAlign': 'center', 'marginBottom': 24}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/native/PremiumGroupEducationActionSheet.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/native/PremiumGroupEducationActionSheet.tsx');
exports.default = PremiumGroupEducationActionSheet;
}
function PremiumGroupEducationActionSheet({aboutText}) { // fn#93681, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12429:655, offset: 0x020beb90, size: 363 bytes, params: 2, frame: 26
const styles = useStyles();
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
const CircleErrorIcon = (require(7684) /* metro dependency 7684: CircleErrorIcon */).CircleErrorIcon;
const circleErrorIcon = <CircleErrorIcon size="lg" style={styles.warningIcon} />;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const view = <View style={styles.aboutContainer}>{circleErrorIcon}<View style={styles.aboutTextContainer}><Text variant="text-sm/medium" color="always-white">{aboutText}</Text></View></View>;
const TextWithIOSLinkWorkaround = (require(6766) /* metro dependency 6766: TextWithIOSLinkWorkaround */).TextWithIOSLinkWorkaround;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
return (
<BottomSheet>
<View style={styles.container}>
{view}
<TextWithIOSLinkWorkaround
variant="text-sm/medium"
color="always-white"
style={styles.helpdeskText}
>
{intl.format((importDefault(2806) /* metro dependency 2806: PremiumGroupMessages */).ah1Ecm,
{helpCenterLink: HELP_CENTER_LINK})}
</TextWithIOSLinkWorkaround>
function PremiumGroupEducationActionSheet({aboutText}) { // fn#93681, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12429:655, offset: 0x020beb90, size: 363 bytes, params: 2, frame: 26
const styles = useStyles();
const BottomSheet = (BottomSheetNativeModule).BottomSheet;
const CircleErrorIcon = (CircleErrorIconModule).CircleErrorIcon;
const circleErrorIcon = <CircleErrorIcon size="lg" style={styles.warningIcon} />;
const Text = (TextModule).Text;
const view = (
<View style={styles.aboutContainer}>
{circleErrorIcon}
<View style={styles.aboutTextContainer}>
<Text variant="text-sm/medium" color="always-white">
{aboutText}
</Text>
</View>
</View>
</BottomSheet>
);
);
const TextWithIOSLinkWorkaround = (TextWithIOSLinkWorkaroundModule).TextWithIOSLinkWorkaround;
const intl = (IndexNativeModule).intl;
return (
<BottomSheet>
<View style={styles.container}>
{view}
<TextWithIOSLinkWorkaround
variant="text-sm/medium"
color="always-white"
style={styles.helpdeskText}
>
{intl.format((PremiumGroupMessages).ah1Ecm,
{helpCenterLink: HELP_CENTER_LINK})}
</TextWithIOSLinkWorkaround>
</View>
</BottomSheet>
);
}
}
global.__d(_fun93680, 12243, [27, 3816, 33, 4501, 697, 6275, 7684, 4573, 6766, 1244, 2806,
2]) /* metro module 12243, dependencies: [27, 3816, 33, 4501, 697, 6275, 7684, 4573, 6766, 1244, 2806, 2] */;
@@ -1,94 +1,115 @@
/* Metro module 12214; source: modules/premium/premium_group/native/PremiumGroupFeaturesTableCard.tsx; dependencies: [27, 7047, 33, 4501, 697, 4573, 1244, 12215, 1305, 4589, 4000, 7963, 2] */
import Native from '../../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
import defaultImport2 from '../../../../by-id/module-04589-LinearGradient.js'; /* Metro dependency 4589 */
import PremiumGroupWordmark from './PremiumGroupWordmark.tsx'; /* Metro dependency 7963 */
import UsePremiumGroupFeaturesTableCardText from '../hooks/usePremiumGroupFeaturesTableCardText.tsx'; /* Metro dependency 12215 */
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 JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as NativeModule from '../../../../design/void/native.tsx'; /* Metro dependency 1305 */
import * as ColorUtilsModule from '../../../../utils/ColorUtils.tsx'; /* Metro dependency 4000 */
import * as TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as ColorConstantsModule from '../../../colors/native/ColorConstants.tsx'; /* Metro dependency 7047 */
function _fun93471(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93471, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12400:6, offset: 0x020b6830, size: 501 bytes, params: 8, frame: 25
var object4;
const env0_0 = require;
const closure = BetaPill;
const BetaPill2 = BetaPill;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = (require(27) /* metro dependency 27 */).View;
const env0_4 = (require(7047) /* metro dependency 7047: ColorConstants */).Gradients;
let value = require(33) /* metro dependency 33 */;
let value = JsxRuntimeModule;
const env0_5 = value.jsx;
const env0_6 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object4 = {};
const object5 = {'padding': 16, 'borderRadius': null, 'backgroundColor': null, 'display': 'flex',
object = {};
const object2 = {'padding': 16, 'borderRadius': null, 'backgroundColor': null, 'display': 'flex',
'alignItems': 'flex-start'};
object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm - 2;
object2.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm - 2;
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object5.backgroundColor = BACKGROUND_SURFACE_HIGH;
object4.premiumGroupCard = object5;
object4.headerContainer = {'display': 'flex', 'flexDirection': 'row', 'alignItems': 'center', 'gap': 8,
object2.backgroundColor = BACKGROUND_SURFACE_HIGH;
object.premiumGroupCard = object2;
object.headerContainer = {'display': 'flex', 'flexDirection': 'row', 'alignItems': 'center', 'gap': 8,
'marginBottom': 4};
const object6 = {'backgroundColor': null, 'borderRadius': null, 'alignItems': 'center', 'justifyContent': 'center',
const object3 = {'backgroundColor': null, 'borderRadius': null, 'alignItems': 'center', 'justifyContent': 'center',
'paddingHorizontal': 8, 'paddingBottom': 2};
const WHITE = (importDefault(697) /* metro dependency 697: native */).colors.WHITE;
object6.backgroundColor = WHITE;
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object4.betaPill = object6;
object3.backgroundColor = WHITE;
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object.betaPill = object3;
const BLACK = (importDefault(697) /* metro dependency 697: native */).colors.BLACK;
object4.betaText = {'color': null, 'textAlign': 'center', 'textTransform': 'uppercase', color: BLACK};
object.betaText = {'color': null, 'textAlign': 'center', 'textTransform': 'uppercase', color: BLACK};
let TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT;
object4.title = {color: TEXT_DEFAULT, marginBottom: 16};
object.title = {color: TEXT_DEFAULT, marginBottom: 16};
TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT;
object4.description = {color: TEXT_DEFAULT};
const env0_7 = Reflect.apply(createStyles, value, [object4]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/native/PremiumGroupFeaturesTableCard.tsx');
object.description = {color: TEXT_DEFAULT};
const env0_7 = Reflect.apply(createStyles, value, [object]);
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/native/PremiumGroupFeaturesTableCard.tsx');
exports.default = PremiumGroupFeaturesTableCard;
exports.BetaPill = closure;
}
function BetaPill() { // fn#93472, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12400:784, offset: 0x020b6a25, size: 153 bytes, params: 1, frame: 21
const styles = useStyles();
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
return (
<View style={styles.betaPill}>
<Text variant="text-xs/bold" style={styles.betaText}>
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.oW0eUd)}
</Text>
</View>
);
}
function PremiumGroupFeaturesTableCard({style, premiumGroupRole}) { // fn#93473, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12400:1074, offset: 0x020b6abe, size: 607 bytes, params: 2, frame: 30
const styles = useStyles();
const value2 = (importDefault(12215) /* metro dependency 12215: usePremiumGroupFeaturesTableCardText */)(premiumGroupRole,
false);
if (value2 == null) {
return null;
exports.BetaPill = BetaPill2;
function BetaPill() { // fn#93472, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12400:784, offset: 0x020b6a25, size: 153 bytes, params: 1, frame: 21
const styles = useStyles();
const Text = (TextModule).Text;
const intl = (IndexNativeModule).intl;
return (
<View style={styles.betaPill}>
<Text variant="text-xs/bold" style={styles.betaText}>
{intl.string((IndexNativeModule).t.oW0eUd)}
</Text>
</View>
);
}
const subheaderString = value2.subheaderString;
const bodyString = value2.bodyString;
const GradientBorder = (require(1305) /* metro dependency 1305: native */).GradientBorder;
const GradientBorder2 = (require(1305) /* metro dependency 1305: native */).GradientBorder;
const Direction = GradientBorder2.Direction;
const HORIZONTAL = Direction.HORIZONTAL;
const PREMIUM_TIER_2 = Gradients.PREMIUM_TIER_2;
const sm = (importDefault(697) /* metro dependency 697: native */).radii.sm;
const defaultImport2 = importDefault(4589) /* metro dependency 4589 */;
const colorUtilsModule = require(4000) /* metro dependency 4000: ColorUtils */;
const items2 = [colorUtilsModule.hexWithOpacity('#8547C6', 0.15)];
const moduleValue2 = colorUtilsModule;
items2[1] = moduleValue2.hexWithOpacity('#B845C1', 0.15);
const moduleValue3 = colorUtilsModule;
items2[2] = moduleValue3.hexWithOpacity('#AB5D8A', 0.15);
const items3 = [<View style={styles.headerContainer}>{((Component) => <Component width={181} height={16} />)(importDefault(7963) /* metro dependency 7963: PremiumGroupWordmark */)}<BetaPill /></View>];
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
items3[1] = <Text variant="text-sm/normal" style={styles.title}>{subheaderString}</Text>;
items3[2] = <Text variant="text-sm/normal" style={styles.description}>{bodyString}</Text>;
return (
<GradientBorder
borderWidth={2}
direction={HORIZONTAL}
colors={PREMIUM_TIER_2}
borderRadius={sm}
style={style}
>
{((Component) => <Component start={{'x': 0, 'y': 0}} end={{'x': 1, 'y': 0}} colors={items2} locations={[0,
0.4996, 0.9593]} style={styles.premiumGroupCard}>{items3}</Component>)(defaultImport2)}
</GradientBorder>
);
function PremiumGroupFeaturesTableCard({style, premiumGroupRole}) { // fn#93473, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12400:1074, offset: 0x020b6abe, size: 607 bytes, params: 2, frame: 30
const styles = useStyles();
const value2 = (UsePremiumGroupFeaturesTableCardText)(premiumGroupRole,
false);
if (value2 == null) {
return null;
}
const subheaderString = value2.subheaderString;
const bodyString = value2.bodyString;
const GradientBorder = (NativeModule).GradientBorder;
const GradientBorder2 = (NativeModule).GradientBorder;
const Direction = GradientBorder2.Direction;
const HORIZONTAL = Direction.HORIZONTAL;
const PREMIUM_TIER_2 = Gradients.PREMIUM_TIER_2;
const sm = (Native).radii.sm;
const items2 = [ColorUtilsModule.hexWithOpacity('#8547C6', 0.15)];
items2[1] = ColorUtilsModule.hexWithOpacity('#B845C1', 0.15);
items2[2] = ColorUtilsModule.hexWithOpacity('#AB5D8A', 0.15);
const items3 = [
<View style={styles.headerContainer}>
{((Component) => <Component width={181} height={16} />)(PremiumGroupWordmark)}
<BetaPill />
</View>,
];
const Text = (TextModule).Text;
items3[1] = (
<Text variant="text-sm/normal" style={styles.title}>
{subheaderString}
</Text>
);
items3[2] = (
<Text variant="text-sm/normal" style={styles.description}>
{bodyString}
</Text>
);
return (
<GradientBorder
borderWidth={2}
direction={HORIZONTAL}
colors={PREMIUM_TIER_2}
borderRadius={sm}
style={style}
>
{((Component) => <Component start={{'x': 0, 'y': 0}} end={{'x': 1, 'y': 0}} colors={items2} locations={[0,
0.4996, 0.9593]} style={styles.premiumGroupCard}>{items3}</Component>)(defaultImport2)}
</GradientBorder>
);
}
}
global.__d(_fun93471, 12214, [27, 7047, 33, 4501, 697, 4573, 1244, 12215, 1305, 4589, 4000, 7963,
2]) /* metro module 12214, dependencies: [27, 7047, 33, 4501, 697, 4573, 1244, 12215, 1305, 4589, 4000, 7963, 2] */;
@@ -1,28 +1,36 @@
/* Metro module 7963; source: modules/premium/premium_group/native/PremiumGroupWordmark.tsx; dependencies: [31, 33, 3860, 697, 7744, 2] */
import Native from '../../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
import Module07744 from '../../../../by-id/module-07744.js'; /* Metro dependency 7744 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as UseTokenModule from '../../../../design/tokens/native/useToken.tsx'; /* Metro dependency 3860 */
import * as Module07744Module from '../../../../by-id/module-07744.js'; /* Metro dependency 7744 */
function _fun63440(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63440, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8141:6, offset: 0x01b7f86f, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/native/PremiumGroupWordmark.tsx');
ReactModule;
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/native/PremiumGroupWordmark.tsx');
exports.default = PremiumGroupWordmark;
function PremiumGroupWordmark(a0) { // fn#63441, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8141:223, offset: 0x01b7f8f7, size: 235 bytes, params: 2, frame: 21
const width = a0.width;
const height = a0.height;
const alwaysWhite = a0.alwaysWhite;
const object = {'width': 0, 'height': 0, 'alwaysWhite': 0};
silentSetPrototypeOf(object, null, undefined);
const value = copyDataProperties({}, a0, object, width);
const useToken = UseTokenModule.useToken;
const TEXT_STRONG = (Native).colors.TEXT_STRONG;
const r6 = alwaysWhite ? 'white' : Reflect.apply(useToken, UseTokenModule, [TEXT_STRONG]);
const defaultImport = Module07744;
const defaultImportProps = {width: width, height: height, fill: 'none', ...value};
const Path = (Module07744Module).Path;
return ((Component) => <Component {...defaultImportProps}><Path d={'M2.97995 0.40039H10.72L13.02 8.26039L14.68 0.40039H20.06L17.08 14.4004H9.49995L7.09995 6.46039L5.39995 14.4004H-4.88423e-05L2.97995 0.40039ZM22.1792 0.40039H28.5192L25.5392 14.4004H19.1992L22.1792 0.40039ZM33.5962\n5.02039H28.8562L29.8362 0.40039H45.6562L44.6762 5.02039H39.9362L37.9362 14.4004H31.6162L33.5962 5.02039ZM47.0034 0.40039H57.5834C58.6634 0.40039 59.5967 0.593723 60.3834 0.980391C61.1834 1.36706 61.7901 1.90039 62.2034 2.58039C62.6167\n3.24706 62.8234 4.00706 62.8234 4.86039C62.8234 6.19372 62.4167 7.28706 61.6034 8.14039C60.8034 8.99372 59.7301 9.48039 58.3834 9.60039L61.1434 14.4004H54.1034L51.5234 8.92039L50.3634 14.4004H44.0234L47.0034 0.40039ZM54.0434\n7.36039C55.6034 7.36039 56.3834 6.81372 56.3834 5.72039C56.3834 5.33372 56.2367 5.02039 55.9434 4.78039C55.6634 4.54039 55.2634 4.42039 54.7434 4.42039H52.4834L51.8634 7.36039H54.0434ZM72.8804 14.8004C71.0138 14.8004 69.3671 14.5071\n67.9404 13.9204C66.5138 13.3204 65.4071 12.4871 64.6204 11.4204C63.8338 10.3537 63.4404 9.13372 63.4404 7.76039C63.4404 6.25372 63.8471 4.91372 64.6604 3.74039C65.4738 2.55372 66.6138 1.63372 68.0804 0.980391C69.5471 0.327057 71.2338\n0.000390053 73.1404 0.000390053C75.0604 0.000390053 76.7471 0.287057 78.2004 0.86039C79.6538 1.42039 80.7738 2.21372 81.5604 3.24039C82.3604 4.26706 82.7604 5.45372 82.7604 6.80039C82.7604 8.33372 82.3404 9.70706 81.5004 10.9204C80.6604\n12.1337 79.4938 13.0871 78.0004 13.7804C76.5071 14.4604 74.8004 14.8004 72.8804 14.8004ZM72.9004 10.1404C73.4738 10.1404 73.9938 10.0071 74.4604 9.74039C74.9271 9.46039 75.2938 9.08706 75.5604 8.62039C75.8271 8.15372 75.9604 7.64039\n75.9604 7.08039C75.9604 6.34706 75.7004 5.76039 75.1804 5.32039C74.6738 4.88039 74.0204 4.66039 73.2204 4.66039C72.6471 4.66039 72.1271 4.79372 71.6604 5.06039C71.2071 5.31372 70.8471 5.66706 70.5804 6.12039C70.3271 6.57372 70.2004 7.08039 70.2004 7.64039C70.2004 8.40039 70.4471 9.00706 70.9404 9.46039C71.4338 9.91372 72.0871 10.1404 72.9004 10.1404ZM95.7692 14.8004C94.2225 14.8004 92.7892 14.6071 91.4692 14.2204C90.1492 13.8337 89.0158 13.3204 88.0692 12.6804L88.8892\n8.80039C89.5825 9.36039 90.5425 9.82706 91.7692 10.2004C92.9958 10.5737 94.1958 10.7604 95.3692 10.7604C96.0092 10.7604 96.4558 10.7071 96.7092 10.6004C96.9758 10.4804 97.1092 10.2804 97.1092 10.0004C97.1092 9.80039 97.0158 9.64706 96.8292 9.54039C96.6558 9.42039 96.3425 9.32039 95.8892 9.24039L94.2892 8.98039C92.7292 8.74039 91.5625 8.29372 90.7892 7.64039C90.0158 6.97372 89.6292 6.14039 89.6292 5.14039C89.6292 3.35372 90.3892 2.05372 91.9092 1.24039C93.4292 0.413723\n95.4225 0.000390053 97.8892 0.000390053C99.3292 0.000390053 100.609 0.14039 101.729 0.420389C102.849 0.70039 103.916 1.08706 104.929 1.58039L104.109 5.36039C103.589 5.04039 102.783 4.74706 101.689 4.48039C100.609 4.21372 99.5358 4.08039\n98.4692 4.08039C97.7758 4.08039 97.2558 4.13372 96.9092 4.24039C96.5758 4.33372 96.4092 4.50706 96.4092 4.76039C96.4092 4.93372 96.4958 5.07372 96.6692 5.18039C96.8558 5.28706 97.2025 5.36706 97.7092 5.42039L99.5092 5.64039C101.016 5.82706 102.149 6.22706 102.909 6.84039C103.669 7.45372 104.049 8.32039 104.049 9.44039C104.049 10.6004 103.676 11.5871 102.929 12.4004C102.183 13.2004 101.183 13.8004 99.9292 14.2004C98.6758 14.6004 97.2892 14.8004 95.7692 14.8004ZM117.574\n14.5404C116.641 14.7137 115.721 14.8004 114.814 14.8004C112.947 14.8004 111.301 14.5071 109.874 13.9204C108.447 13.3204 107.341 12.4871 106.554 11.4204C105.767 10.3537 105.374 9.13372 105.374 7.76039C105.374 6.25372 105.781 4.91372 106.594 3.74039C107.407 2.55372 108.547 1.63372 110.014 0.980391C111.481 0.327057 113.167 0.000390053 115.074 0.000390053C116.994 0.000390053 118.681 0.287057 120.134 0.86039C121.587 1.42039 122.707 2.21372 123.494 3.24039C124.294 4.26706 124.694 5.45372 124.694 6.80039C124.694 8.16039 124.361 9.40039 123.694 10.5204C123.027 11.6404 122.094 12.5604 120.894 13.2804L122.334 15.4404H118.154L117.574 14.5404ZM112.134 7.64039C112.134 8.38706 112.374 8.98706 112.854 9.44039C113.334\n9.88039 113.961 10.1137 114.734 10.1404L113.194 7.74039H117.194L117.614 8.38039C117.801 7.96706 117.894 7.53372 117.894 7.08039C117.894 6.34706 117.634 5.76039 117.114 5.32039C116.607 4.88039 115.954 4.66039 115.154 4.66039C114.581 4.66039 114.061 4.79372 113.594 5.06039C113.141 5.31372 112.781 5.66706 112.514 6.12039C112.261 6.57372 112.134 7.08039 112.134 7.64039ZM133.406 14.8004C131.899 14.8004 130.566 14.5671 129.406 14.1004C128.259 13.6204 127.366 12.9271 126.726\n12.0204C126.086 11.1137 125.766 10.0404 125.766 8.80039C125.766 8.28039 125.826 7.73372 125.946 7.16039L127.406 0.40039H133.746L132.186 7.68039C132.133 7.97372 132.106 8.18039 132.106 8.30039C132.106 8.83372 132.273 9.25372 132.606\n9.56039C132.939 9.85372 133.379 10.0004 133.926 10.0004C135.193 10.0004 135.966 9.31372 136.246 7.94039L137.846 0.40039H144.186L142.526 8.22039C142.073 10.3404 141.066 11.9671 139.506 13.1004C137.959 14.2337 135.926 14.8004 1Line truncated
}
}
function PremiumGroupWordmark(a0) { // fn#63441, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8141:223, offset: 0x01b7f8f7, size: 235 bytes, params: 2, frame: 21
const width = a0.width;
const height = a0.height;
const alwaysWhite = a0.alwaysWhite;
const object2 = {'width': 0, 'height': 0, 'alwaysWhite': 0};
silentSetPrototypeOf(object2, null, undefined);
const value = copyDataProperties({}, a0, object2, width);
const useTokenModule = require(3860) /* metro dependency 3860: useToken */;
const useToken = useTokenModule.useToken;
const TEXT_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_STRONG;
const r6 = alwaysWhite ? 'white' : Reflect.apply(useToken, useTokenModule, [TEXT_STRONG]);
const defaultImport = importDefault(7744) /* metro dependency 7744 */;
const defaultImportProps = {width: width, height: height, fill: 'none', ...value};
const Path = (require(7744) /* metro dependency 7744 */).Path;
return ((Component) => <Component {...defaultImportProps}><Path d={'M2.97995 0.40039H10.72L13.02 8.26039L14.68 0.40039H20.06L17.08 14.4004H9.49995L7.09995 6.46039L5.39995 14.4004H-4.88423e-05L2.97995 0.40039ZM22.1792 0.40039H28.5192L25.5392 14.4004H19.1992L22.1792 0.40039ZM33.5962\n5.02039H28.8562L29.8362 0.40039H45.6562L44.6762 5.02039H39.9362L37.9362 14.4004H31.6162L33.5962 5.02039ZM47.0034 0.40039H57.5834C58.6634 0.40039 59.5967 0.593723 60.3834 0.980391C61.1834 1.36706 61.7901 1.90039 62.2034 2.58039C62.6167\n3.24706 62.8234 4.00706 62.8234 4.86039C62.8234 6.19372 62.4167 7.28706 61.6034 8.14039C60.8034 8.99372 59.7301 9.48039 58.3834 9.60039L61.1434 14.4004H54.1034L51.5234 8.92039L50.3634 14.4004H44.0234L47.0034 0.40039ZM54.0434\n7.36039C55.6034 7.36039 56.3834 6.81372 56.3834 5.72039C56.3834 5.33372 56.2367 5.02039 55.9434 4.78039C55.6634 4.54039 55.2634 4.42039 54.7434 4.42039H52.4834L51.8634 7.36039H54.0434ZM72.8804 14.8004C71.0138 14.8004 69.3671 14.5071\n67.9404 13.9204C66.5138 13.3204 65.4071 12.4871 64.6204 11.4204C63.8338 10.3537 63.4404 9.13372 63.4404 7.76039C63.4404 6.25372 63.8471 4.91372 64.6604 3.74039C65.4738 2.55372 66.6138 1.63372 68.0804 0.980391C69.5471 0.327057 71.2338\n0.000390053 73.1404 0.000390053C75.0604 0.000390053 76.7471 0.287057 78.2004 0.86039C79.6538 1.42039 80.7738 2.21372 81.5604 3.24039C82.3604 4.26706 82.7604 5.45372 82.7604 6.80039C82.7604 8.33372 82.3404 9.70706 81.5004 10.9204C80.6604\n12.1337 79.4938 13.0871 78.0004 13.7804C76.5071 14.4604 74.8004 14.8004 72.8804 14.8004ZM72.9004 10.1404C73.4738 10.1404 73.9938 10.0071 74.4604 9.74039C74.9271 9.46039 75.2938 9.08706 75.5604 8.62039C75.8271 8.15372 75.9604 7.64039\n75.9604 7.08039C75.9604 6.34706 75.7004 5.76039 75.1804 5.32039C74.6738 4.88039 74.0204 4.66039 73.2204 4.66039C72.6471 4.66039 72.1271 4.79372 71.6604 5.06039C71.2071 5.31372 70.8471 5.66706 70.5804 6.12039C70.3271 6.57372 70.2004 7.08039 70.2004 7.64039C70.2004 8.40039 70.4471 9.00706 70.9404 9.46039C71.4338 9.91372 72.0871 10.1404 72.9004 10.1404ZM95.7692 14.8004C94.2225 14.8004 92.7892 14.6071 91.4692 14.2204C90.1492 13.8337 89.0158 13.3204 88.0692 12.6804L88.8892\n8.80039C89.5825 9.36039 90.5425 9.82706 91.7692 10.2004C92.9958 10.5737 94.1958 10.7604 95.3692 10.7604C96.0092 10.7604 96.4558 10.7071 96.7092 10.6004C96.9758 10.4804 97.1092 10.2804 97.1092 10.0004C97.1092 9.80039 97.0158 9.64706 96.8292 9.54039C96.6558 9.42039 96.3425 9.32039 95.8892 9.24039L94.2892 8.98039C92.7292 8.74039 91.5625 8.29372 90.7892 7.64039C90.0158 6.97372 89.6292 6.14039 89.6292 5.14039C89.6292 3.35372 90.3892 2.05372 91.9092 1.24039C93.4292 0.413723\n95.4225 0.000390053 97.8892 0.000390053C99.3292 0.000390053 100.609 0.14039 101.729 0.420389C102.849 0.70039 103.916 1.08706 104.929 1.58039L104.109 5.36039C103.589 5.04039 102.783 4.74706 101.689 4.48039C100.609 4.21372 99.5358 4.08039\n98.4692 4.08039C97.7758 4.08039 97.2558 4.13372 96.9092 4.24039C96.5758 4.33372 96.4092 4.50706 96.4092 4.76039C96.4092 4.93372 96.4958 5.07372 96.6692 5.18039C96.8558 5.28706 97.2025 5.36706 97.7092 5.42039L99.5092 5.64039C101.016 5.82706 102.149 6.22706 102.909 6.84039C103.669 7.45372 104.049 8.32039 104.049 9.44039C104.049 10.6004 103.676 11.5871 102.929 12.4004C102.183 13.2004 101.183 13.8004 99.9292 14.2004C98.6758 14.6004 97.2892 14.8004 95.7692 14.8004ZM117.574\n14.5404C116.641 14.7137 115.721 14.8004 114.814 14.8004C112.947 14.8004 111.301 14.5071 109.874 13.9204C108.447 13.3204 107.341 12.4871 106.554 11.4204C105.767 10.3537 105.374 9.13372 105.374 7.76039C105.374 6.25372 105.781 4.91372 106.594 3.74039C107.407 2.55372 108.547 1.63372 110.014 0.980391C111.481 0.327057 113.167 0.000390053 115.074 0.000390053C116.994 0.000390053 118.681 0.287057 120.134 0.86039C121.587 1.42039 122.707 2.21372 123.494 3.24039C124.294 4.26706 124.694 5.45372 124.694 6.80039C124.694 8.16039 124.361 9.40039 123.694 10.5204C123.027 11.6404 122.094 12.5604 120.894 13.2804L122.334 15.4404H118.154L117.574 14.5404ZM112.134 7.64039C112.134 8.38706 112.374 8.98706 112.854 9.44039C113.334\n9.88039 113.961 10.1137 114.734 10.1404L113.194 7.74039H117.194L117.614 8.38039C117.801 7.96706 117.894 7.53372 117.894 7.08039C117.894 6.34706 117.634 5.76039 117.114 5.32039C116.607 4.88039 115.954 4.66039 115.154 4.66039C114.581 4.66039 114.061 4.79372 113.594 5.06039C113.141 5.31372 112.781 5.66706 112.514 6.12039C112.261 6.57372 112.134 7.08039 112.134 7.64039ZM133.406 14.8004C131.899 14.8004 130.566 14.5671 129.406 14.1004C128.259 13.6204 127.366 12.9271 126.726\n12.0204C126.086 11.1137 125.766 10.0404 125.766 8.80039C125.766 8.28039 125.826 7.73372 125.946 7.16039L127.406 0.40039H133.746L132.186 7.68039C132.133 7.97372 132.106 8.18039 132.106 8.30039C132.106 8.83372 132.273 9.25372 132.606\n9.56039C132.939 9.85372 133.379 10.0004 133.926 10.0004C135.193 10.0004 135.966 9.31372 136.246 7.94039L137.846 0.40039H144.186L142.526 8.22039C142.073 10.3404 141.066 11.9671 139.506 13.1004C137.959 14.2337 135.926 14.8004 133.4Line truncated
}
global.__d(_fun63440, 7963, [31, 33, 3860, 697, 7744,
2]) /* metro module 7963, dependencies: [31, 33, 3860, 697, 7744, 2] */;
@@ -1,92 +1,103 @@
/* Metro module 12220; source: modules/premium/premium_group/records/SubscriptionGroupMemberRecord.tsx; dependencies: [6, 7, 15, 17, 18, 1886, 1885, 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 UserRecord from '../../../../records/UserRecord.tsx'; /* Metro dependency 1885 */
import Record from '../../../../lib/Record.tsx'; /* Metro dependency 1886 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun93563(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93563, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:6, offset: 0x020b8a13, size: 256 bytes, params: 8, frame: 19
var object2;
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 */;
let value = importDefault(1886) /* metro dependency 1886: Record */;
const userRecord = importDefault(1885) /* metro dependency 1885: UserRecord */;
object2 = {PRIMARY: 1};
object2[1] = 'PRIMARY';
object2.MEMBER = 2;
object2[2] = 'MEMBER';
let value = Record;
object = {PRIMARY: 1};
object[1] = 'PRIMARY';
object.MEMBER = 2;
object[2] = 'MEMBER';
value = _fun93567(value);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/premium_group/records/SubscriptionGroupMemberRecord.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/premium_group/records/SubscriptionGroupMemberRecord.tsx');
exports.default = value;
exports.SubscriptionMemberTypes = object2;
}
function _isNativeReflectConstruct_93564() { // fn#93564, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:168, offset: 0x020b8b13, 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.SubscriptionMemberTypes = object;
function _isNativeReflectConstruct_93564() { // fn#93564, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:168, offset: 0x020b8b13, 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_93564_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_93564_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun93567(a0) { // fn#93567, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:443, offset: 0x020b8b75, size: 154 bytes, params: 2, frame: 17
const closure = SubscriptionGroupMemberRecord;
env0_4(closure, a0);
return env0_1(closure, [{key: 'isPrimary', value: value_93569}, {key: 'isMember', value: value_93570},
{key: 'isInvited', value: value_93571}], [{key: 'createFromServer', value: value_93572}]);
}
function _fun93567(a0) { // fn#93567, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:443, offset: 0x020b8b75, size: 154 bytes, params: 2, frame: 17
const SubscriptionGroupMemberRecord2 = SubscriptionGroupMemberRecord;
Inherits(SubscriptionGroupMemberRecord2, a0);
return CreateClass(SubscriptionGroupMemberRecord2, [{key: 'isPrimary', value: value_93569}, {key: 'isMember',
value: value_93570}, {key: 'isInvited', value: value_93571}], [{key: 'createFromServer', value: value_93572}]);
function SubscriptionGroupMemberRecord({user, member_type, accepted_at}) { // fn#93568, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:455, offset: 0x020b8c0f, size: 170 bytes, params: 2, frame: 21
const value = environment.__proto__;
env1_0(this, SubscriptionGroupMemberRecord);
const value3 = env1_3(SubscriptionGroupMemberRecord);
const value6 = env1_2(this, _isNativeReflectConstruct_93564() ? global.Reflect.construct(value3, [],
env1_3(this).constructor) : value3.apply(this, undefined));
const userRecord2 = new UserRecord(user);
value6.user = userRecord2;
value6.member_type = member_type;
value6.accepted_at = accepted_at;
return value6;
}
function SubscriptionGroupMemberRecord({user, member_type, accepted_at}) { // fn#93568, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:455, offset: 0x020b8c0f, size: 170 bytes, params: 2, frame: 21
const value = environment.__proto__;
env1_0(this, SubscriptionGroupMemberRecord);
const value3 = env1_3(SubscriptionGroupMemberRecord);
const value6 = env1_2(this, _isNativeReflectConstruct_93564() ? global.Reflect.construct(value3, [],
env1_3(this).constructor) : value3.apply(this, undefined));
const userRecord = new UserRecord(user);
value6.user = userRecord;
value6.member_type = member_type;
value6.accepted_at = accepted_at;
return value6;
}
function value_93569() { // fn#93569, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:895, offset: 0x020b8cb9, size: 28 bytes, params: 1, frame: 2
const member_type = this.member_type;
const PRIMARY = env1_6.PRIMARY;
return member_type === PRIMARY;
}
function value_93569() { // fn#93569, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:895, offset: 0x020b8cb9, size: 28 bytes, params: 1, frame: 2
const member_type = this.member_type;
const PRIMARY = env1_6.PRIMARY;
return member_type === PRIMARY;
}
function value_93570() { // fn#93570, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:966, offset: 0x020b8cd5, size: 43 bytes, params: 1, frame: 3
const member_type = this.member_type;
const value = environment.__proto__;
const MEMBER = env1_6.MEMBER;
return member_type === MEMBER && this.accepted_at != null;
}
function value_93570() { // fn#93570, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:966, offset: 0x020b8cd5, size: 43 bytes, params: 1, frame: 3
const member_type = this.member_type;
const value = environment.__proto__;
const MEMBER = env1_6.MEMBER;
return member_type === MEMBER && this.accepted_at != null;
}
function value_93571() { // fn#93571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:1061, offset: 0x020b8d00, size: 43 bytes, params: 1, frame: 3
const member_type = this.member_type;
const value = environment.__proto__;
const MEMBER = env1_6.MEMBER;
return member_type === MEMBER && this.accepted_at == null;
}
function value_93572(a0) { // fn#93572, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:1165, offset: 0x00edd39f, size: 32 bytes, params: 2, frame: 11
const value = Object.create(SubscriptionGroupMemberRecord.prototype,
{constructor: {value: SubscriptionGroupMemberRecord}});
const subscriptionGroupMemberRecord = new SubscriptionGroupMemberRecord(a0);
return subscriptionGroupMemberRecord instanceof Object ? subscriptionGroupMemberRecord : value;
}
}
function value_93571() { // fn#93571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12406:1061, offset: 0x020b8d00, size: 43 bytes, params: 1, frame: 3
const member_type = this.member_type;
const value = environment.__proto__;
const MEMBER = env1_6.MEMBER;
return member_type === MEMBER && this.accepted_at == null;
}
global.__d(_fun93563, 12220, [6, 7, 15, 17, 18, 1886, 1885,
2]) /* metro module 12220, dependencies: [6, 7, 15, 17, 18, 1886, 1885, 2] */;