Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,43 @@
/* Metro module 6836; source: modules/virtual_currency/checkout/OrbCheckoutUtils.tsx; dependencies: [661, 663, 1244, 2] */
function _fun53836(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53836, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7014:6, offset: 0x01356d46, size: 168 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const constantsModule = require(661) /* metro dependency 661: Constants */;
const env0_2 = constantsModule.CurrencyCodes;
const env0_3 = constantsModule.MarketingURLs;
const env0_4 = constantsModule.PriceSetAssignmentPurchaseTypes;
const env0_5 = (require(663) /* metro dependency 663: CollectiblesShopConstants */).EXTERNAL_PRODUCT_SKU_IDS;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/virtual_currency/checkout/OrbCheckoutUtils.tsx');
exports.getOrbPriceFromPrices = getOrbPriceFromPrices;
exports.getOrbCheckoutDisclaimerMessage = getOrbCheckoutDisclaimerMessage;
}
function getOrbPriceFromPrices(a0, a1) { // fn#53837, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7014:325, offset: 0x01356dee, size: 162 bytes, params: 3, frame: 15
const r1 = a1 && a0[PriceSetAssignmentPurchaseTypes.PREMIUM_TIER_2] != null ? a0[PriceSetAssignmentPurchaseTypes.PREMIUM_TIER_2] : a0[PriceSetAssignmentPurchaseTypes.DEFAULT];
const value = null;
let r3 = value == r1 || value == r1.countryPrices || value == r1.countryPrices.prices ? undefined : r1.countryPrices.prices.slice(0,
2);
r3 = value == r3 ? [] : r3;
const value4 = r3.find(function({currency}) {
return currency === CurrencyCodes.DISCORD_ORB;
});
return value != value4 ? value4 : value;
}
function getOrbCheckoutDisclaimerMessage(a0) { // fn#53839, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7014:596, offset: 0x01356eac, size: 351 bytes, params: 2, frame: 22
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const format = intl.format;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
const property = t['5qdUrO'];
const intl2 = (require(1244) /* metro dependency 1244: indexNative */).intl;
const PAID_TERMS = MarketingURLs.PAID_TERMS;
const PAID_TERMS_VIRTUAL_GOODS = MarketingURLs.PAID_TERMS_VIRTUAL_GOODS;
const value2 = Reflect.apply(format, intl, [property, {buyButtonLabel: intl2.string(t['zLch/S']),
paidServiceTermURL: PAID_TERMS, virtualGoodsURL: PAID_TERMS_VIRTUAL_GOODS}]);
const value3 = intl.string(t['Sxed/G']);
const ORB_PROFILE_BADGE = EXTERNAL_PRODUCT_SKU_IDS.ORB_PROFILE_BADGE;
return [value2, ' ',
a0 === ORB_PROFILE_BADGE ? intl.string(t.APcKRo) : a0 !== EXTERNAL_PRODUCT_SKU_IDS.FRACTIONAL_PREMIUM ? value3 : intl.string(t.FhJ74j)];
}