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,35 @@
/* Metro module 7253; source: modules/premium/native/hooks/useCheckoutPlanPriceString.tsx; dependencies: [7042, 477, 7027, 2] */
function _fun58275(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#58275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7431:6, offset: 0x016c3793, size: 115 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = (require(7042) /* metro dependency 7042: NativeCheckoutStore */).useNativeCheckoutStore;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/native/hooks/useCheckoutPlanPriceString.tsx');
exports.useCheckoutPlanPriceString = useCheckoutPlanPriceString;
}
function useCheckoutPlanPriceString(a0, a1) { // fn#58276, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7431:251, offset: 0x016c3806, size: 168 bytes, params: 3, frame: 16
var r2;
var getAvailablePlanForItems;
var moduleValue2;
var value5;
const value = null;
const priceString = value == a1 ? undefined : a1.priceString;
const r0 = value != priceString ? priceString : value;
const value4 = useNativeCheckoutStore(function(a0) {
return a0.getCheckoutContextRecord();
});
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
if (platformUtilsModule.isIOS()) {
if (value == value4) {
return r0;
}
getAvailablePlanForItems = value4.getAvailablePlanForItems;
moduleValue2 = require(7027) /* metro dependency 7027: PremiumBundledPlansUtils */;
value5 = Reflect.apply(getAvailablePlanForItems, value4, [moduleValue2.getSubscriptionItemsForProduct(a0)]);
r2 = value != value5 ? value5.getPriceString() : value;
return value == r2 ? r0 : r2;
}
return r0;
}