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,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] */;