Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,26 @@
|
||||
/* Metro module 4697; source: modules/media_uploads/experiments/KestrelExperiment.tsx; dependencies: [1854, 2] */
|
||||
function _fun40608(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#40608, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4875:6, offset: 0x01105c6a, size: 246 bytes, params: 8, frame: 20
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-04-kestrel',
|
||||
'kind': 'user', defaultConfig: {'enabled': false, 'threshold': 0}, variations: {[0]: {'enabled': false,
|
||||
'threshold': 0}, [1]: {'enabled': true, 'threshold': 15}, [2]: {'enabled': true, 'threshold': 20},
|
||||
[3]: {'enabled': true, 'threshold': 25}}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/media_uploads/experiments/KestrelExperiment.tsx');
|
||||
exports.getKestrelConfig = getKestrelConfig;
|
||||
exports.getEffectiveKestrelLimit = function(a0, a1) {
|
||||
var r0;
|
||||
var value = a1;
|
||||
if (a0.enabled) {
|
||||
value = global.Math.max(1048576 * a0.threshold, value);
|
||||
r0 = value;
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
};
|
||||
exports.getKestrelVariantName = function(a0) {
|
||||
return a0.enabled ? a0.threshold === 15 ? 'kestrel_a' : a0.threshold === 20 ? 'kestrel_b' : a0.threshold !== 25 ? 'unknown' : 'kestrel_c' : 'control';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user