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,49 +1,53 @@
/* Metro module 9765; source: modules/design/PlaygroundAccessExperiment.tsx; dependencies: [1878, 1854, 566, 2] */
import UserStore from '../../stores/UserStore.tsx'; /* Metro dependency 1878 */
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 _fun76646(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76646, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:6, offset: 0x01ddec1e, size: 242 bytes, params: 8, frame: 23
const env0_0 = require;
const closure = usePlaygroundAccessExperiment;
const closure2 = getPlaygroundAccessExperiment;
const usePlaygroundAccessExperiment2 = usePlaygroundAccessExperiment;
const getPlaygroundAccessExperiment2 = getPlaygroundAccessExperiment;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
let value = require(1854) /* metro dependency 1854: apex */;
let value = ApexModule;
value = value.createApexExperiment({'name': '2026-02-mana-playground-access', 'kind': 'user',
defaultConfig: {enabled: false}, variations: {[1]: {enabled: true}}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/design/PlaygroundAccessExperiment.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/design/PlaygroundAccessExperiment.tsx');
exports.default = value;
exports.usePlaygroundAccessExperiment = closure;
exports.getPlaygroundAccessExperiment = closure2;
exports.usePlaygroundAccessExperiment = usePlaygroundAccessExperiment2;
exports.getPlaygroundAccessExperiment = getPlaygroundAccessExperiment2;
exports.useHasPlaygroundAccess = useHasPlaygroundAccess;
exports.getHasPlaygroundAccess = getHasPlaygroundAccess;
function usePlaygroundAccessExperiment(a0) { // fn#76647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:249, offset: 0x01dded10, size: 34 bytes, params: 2, frame: 12
const binding = env0_3;
const useConfig = binding.useConfig;
return Reflect.apply(useConfig, binding, [{location: a0}]).enabled;
}
function getPlaygroundAccessExperiment(a0) { // fn#76648, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:332, offset: 0x01dded32, size: 34 bytes, params: 2, frame: 12
const binding = env0_3;
const getConfig = binding.getConfig;
return Reflect.apply(getConfig, binding, [{location: a0}]).enabled;
}
function useHasPlaygroundAccess(a0) { // fn#76649, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:655, offset: 0x01dded54, size: 130 bytes, params: 2, frame: 16
const value2 = undefined;
const currentUser = (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
return UserStore.getCurrentUser();
});
let r0 = (currentUser == null ? value2 : currentUser.isStaff()) === true || (currentUser == null ? value2 : currentUser.isStaffPersonal()) === true;
r0 = !r0 ? usePlaygroundAccessExperiment(a0) : r0;
return r0;
}
function getHasPlaygroundAccess(a0) { // fn#76651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:905, offset: 0x01ddedd6, size: 88 bytes, params: 2, frame: 15
const currentUser = UserStore.getCurrentUser();
const value3 = undefined;
let r0 = (currentUser == null ? value3 : currentUser.isStaff()) === true || (currentUser == null ? value3 : currentUser.isStaffPersonal()) === true;
r0 = !r0 ? getPlaygroundAccessExperiment(a0) : r0;
return r0;
}
}
function usePlaygroundAccessExperiment(a0) { // fn#76647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:249, offset: 0x01dded10, size: 34 bytes, params: 2, frame: 12
const binding = env0_3;
const useConfig = binding.useConfig;
return Reflect.apply(useConfig, binding, [{location: a0}]).enabled;
}
function getPlaygroundAccessExperiment(a0) { // fn#76648, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:332, offset: 0x01dded32, size: 34 bytes, params: 2, frame: 12
const binding = env0_3;
const getConfig = binding.getConfig;
return Reflect.apply(getConfig, binding, [{location: a0}]).enabled;
}
function useHasPlaygroundAccess(a0) { // fn#76649, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:655, offset: 0x01dded54, size: 130 bytes, params: 2, frame: 16
const value2 = undefined;
const currentUser = (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
return UserStore.getCurrentUser();
});
let r0 = (currentUser == null ? value2 : currentUser.isStaff()) === true || (currentUser == null ? value2 : currentUser.isStaffPersonal()) === true;
r0 = !r0 ? usePlaygroundAccessExperiment(a0) : r0;
return r0;
}
function getHasPlaygroundAccess(a0) { // fn#76651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9951:905, offset: 0x01ddedd6, size: 88 bytes, params: 2, frame: 15
const currentUser = UserStore.getCurrentUser();
const value3 = undefined;
let r0 = (currentUser == null ? value3 : currentUser.isStaff()) === true || (currentUser == null ? value3 : currentUser.isStaffPersonal()) === true;
r0 = !r0 ? getPlaygroundAccessExperiment(a0) : r0;
return r0;
}
global.__d(_fun76646, 9765, [1878, 1854, 566, 2]) /* metro module 9765, dependencies: [1878, 1854, 566, 2] */;