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,50 +1,56 @@
/* Metro module 7035; source: modules/billing/experiments/BlockedPaymentsCountryExperiment.tsx; dependencies: [4620, 1854, 7036, 2] */
import UseGeoForUserNative from '../../premium/hooks/useGeoForUser.native.tsx'; /* Metro dependency 7036 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ApexModule from '../../experiments/apex/index.tsx'; /* Metro dependency 1854 */
import * as ExperimentsModule from '../../experiments/index.tsx'; /* Metro dependency 4620 */
function _fun55741(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#55741, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7213:6, offset: 0x013b09c0, size: 283 bytes, params: 8, frame: 24
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = (require(4620) /* metro dependency 4620: experiments */).createExperiment({'kind': 'user',
const env0_2 = (ExperimentsModule).createExperiment({'kind': 'user',
'id': '2022-03_block_russian_purchases', 'label': 'Block purchases based on country',
defaultConfig: {paymentsBlocked: false}, treatments: [{'id': 1, 'label': 'Payments Blocked',
config: {paymentsBlocked: true}}]});
const env0_3 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-03-block-purchases',
const env0_3 = (ApexModule).createApexExperiment({'name': '2026-03-block-purchases',
'kind': 'user', defaultConfig: {enabled: false}, variations: {[1]: {enabled: true}}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/billing/experiments/BlockedPaymentsCountryExperiment.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/billing/experiments/BlockedPaymentsCountryExperiment.tsx');
exports.useBlockedPaymentsConfig = useBlockedPaymentsConfig;
exports.useIsPaymentsBlocked = useIsPaymentsBlocked;
exports.getIsPaymentsBlocked = getIsPaymentsBlocked;
function useBlockedPaymentsConfig() { // fn#55742, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7213:581, offset: 0x013b0adb, size: 123 bytes, params: 1, frame: 16
let binding = env0_2;
const useExperiment = binding.useExperiment;
const paymentsBlocked = Reflect.apply(useExperiment, binding, [{location: 'c519a9_1'},
{autoTrackExposure: false}]).paymentsBlocked;
binding = env0_3;
const useConfig = binding.useConfig;
const enabled = Reflect.apply(useConfig, binding, [{location: 'c519a9_1'}]).enabled;
const defaultBillingCountryCode = (UseGeoForUserNative)().defaultBillingCountryCode;
let r0 = paymentsBlocked || enabled;
r0 = !r0 ? defaultBillingCountryCode === 'RU' : r0;
return r0;
}
function useIsPaymentsBlocked() { // fn#55743, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7213:830, offset: 0x013b0b56, size: 80 bytes, params: 1, frame: 16
let binding = env0_2;
const useExperiment = binding.useExperiment;
const paymentsBlocked = Reflect.apply(useExperiment, binding, [{location: 'dc120b_3'},
{autoTrackExposure: false}]).paymentsBlocked;
binding = env0_3;
const useConfig = binding.useConfig;
return paymentsBlocked || Reflect.apply(useConfig, binding, [{location: 'dc120b_3'}]).enabled;
}
function getIsPaymentsBlocked() { // fn#55744, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7213:1027, offset: 0x013b0ba6, size: 80 bytes, params: 1, frame: 16
let binding = env0_2;
const getCurrentConfig = binding.getCurrentConfig;
const paymentsBlocked = Reflect.apply(getCurrentConfig, binding, [{location: '1ee357_1'},
{autoTrackExposure: false}]).paymentsBlocked;
binding = env0_3;
const getConfig = binding.getConfig;
return paymentsBlocked || Reflect.apply(getConfig, binding, [{location: '1ee357_1'}]).enabled;
}
}
function useBlockedPaymentsConfig() { // fn#55742, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7213:581, offset: 0x013b0adb, size: 123 bytes, params: 1, frame: 16
let binding = env0_2;
const useExperiment = binding.useExperiment;
const paymentsBlocked = Reflect.apply(useExperiment, binding, [{location: 'c519a9_1'},
{autoTrackExposure: false}]).paymentsBlocked;
binding = env0_3;
const useConfig = binding.useConfig;
const enabled = Reflect.apply(useConfig, binding, [{location: 'c519a9_1'}]).enabled;
const defaultBillingCountryCode = (importDefault(7036) /* metro dependency 7036: useGeoForUserNative */)().defaultBillingCountryCode;
let r0 = paymentsBlocked || enabled;
r0 = !r0 ? defaultBillingCountryCode === 'RU' : r0;
return r0;
}
function useIsPaymentsBlocked() { // fn#55743, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7213:830, offset: 0x013b0b56, size: 80 bytes, params: 1, frame: 16
let binding = env0_2;
const useExperiment = binding.useExperiment;
const paymentsBlocked = Reflect.apply(useExperiment, binding, [{location: 'dc120b_3'},
{autoTrackExposure: false}]).paymentsBlocked;
binding = env0_3;
const useConfig = binding.useConfig;
return paymentsBlocked || Reflect.apply(useConfig, binding, [{location: 'dc120b_3'}]).enabled;
}
function getIsPaymentsBlocked() { // fn#55744, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7213:1027, offset: 0x013b0ba6, size: 80 bytes, params: 1, frame: 16
let binding = env0_2;
const getCurrentConfig = binding.getCurrentConfig;
const paymentsBlocked = Reflect.apply(getCurrentConfig, binding, [{location: '1ee357_1'},
{autoTrackExposure: false}]).paymentsBlocked;
binding = env0_3;
const getConfig = binding.getConfig;
return paymentsBlocked || Reflect.apply(getConfig, binding, [{location: '1ee357_1'}]).enabled;
}
global.__d(_fun55741, 7035, [4620, 1854, 7036, 2]) /* metro module 7035, dependencies: [4620, 1854, 7036, 2] */;
@@ -1,18 +1,22 @@
/* Metro module 7012; source: modules/billing/experiments/GiftCardsExperiment.tsx; dependencies: [1854, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ApexModule from '../../experiments/apex/index.tsx'; /* Metro dependency 1854 */
function _fun55537(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#55537, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7190:6, offset: 0x013a996a, size: 162 bytes, params: 8, frame: 21
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(1854) /* metro dependency 1854: apex */;
let value = ApexModule;
value = value.createApexExperiment({'name': '2026-02-gift-cards', 'kind': 'user', defaultConfig: {enabled: false},
variations: {[1]: {enabled: true}}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/billing/experiments/GiftCardsExperiment.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/billing/experiments/GiftCardsExperiment.tsx');
exports.default = value;
exports.useGiftCardsExperimentConfig = useGiftCardsExperimentConfig;
function useGiftCardsExperimentConfig(a0) { // fn#55538, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7190:355, offset: 0x013a9a0c, size: 34 bytes, params: 2, frame: 12
const binding = env0_0;
const useConfig = binding.useConfig;
return {enabled: Reflect.apply(useConfig, binding, [a0]).enabled};
}
}
function useGiftCardsExperimentConfig(a0) { // fn#55538, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7190:355, offset: 0x013a9a0c, size: 34 bytes, params: 2, frame: 12
const binding = env0_0;
const useConfig = binding.useConfig;
return {enabled: Reflect.apply(useConfig, binding, [a0]).enabled};
}
global.__d(_fun55537, 7012, [1854, 2]) /* metro module 7012, dependencies: [1854, 2] */;
@@ -1,13 +1,29 @@
/* Metro module 6852; source: modules/billing/experiments/StoreCountryExperiment.tsx; dependencies: [1854, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ApexModule from '../../experiments/apex/index.tsx'; /* Metro dependency 1854 */
function _fun54063(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#54063, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7030:6, offset: 0x0135bc73, size: 187 bytes, params: 8, frame: 22
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(1854) /* metro dependency 1854: apex */;
let value = ApexModule;
value = value.createApexExperiment({'name': '2026-03-store-country', 'kind': 'user',
defaultConfig: {enabled: false}, variations: {[0]: {enabled: false}, [1]: {enabled: true}}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/billing/experiments/StoreCountryExperiment.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/billing/experiments/StoreCountryExperiment.tsx');
exports.StoreCountryExperiment = value;
exports.useIsStoreCountryExperimentEnabled = useIsStoreCountryExperimentEnabled;
exports.getIsStoreCountryExperimentEnabled = getIsStoreCountryExperimentEnabled;
function useIsStoreCountryExperimentEnabled(a0) { // fn#54064, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7030:393, offset: 0x00e364db, size: 34 bytes, params: 2, frame: 12
const binding = env0_0;
const useConfig = binding.useConfig;
return Reflect.apply(useConfig, binding, [{location: a0}]).enabled;
}
function getIsStoreCountryExperimentEnabled(a0) { // fn#54065, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7030:467, offset: 0x00e3651f, size: 34 bytes, params: 2, frame: 12
const binding = env0_0;
const getConfig = binding.getConfig;
return Reflect.apply(getConfig, binding, [{location: a0}]).enabled;
}
}
global.__d(_fun54063, 6852, [1854, 2]) /* metro module 6852, dependencies: [1854, 2] */;