49 lines
1.7 KiB
React
49 lines
1.7 KiB
React
/* Metro module 95; source: unknown; dependencies: [96] */
|
|
function _fun1543(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1543, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:120:6, offset: 0x00c616b4, size: 88 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.pickScale = pickScale;
|
|
exports.setUrlCacheBreaker = function(a0) {
|
|
env0_2 = a0;
|
|
};
|
|
exports.getUrlCacheBreaker = getUrlCacheBreaker;
|
|
}
|
|
|
|
function pickScale(a0, a1) { // fn#1544, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:120:111, offset: 0x00c6170c, size: 112 bytes, params: 3, frame: 13
|
|
var r4;
|
|
var r3;
|
|
let value = a1;
|
|
if (value != null) {
|
|
r4 = value;
|
|
} else {
|
|
value = importDefault(96) /* metro dependency 96 */;
|
|
value = value.get();
|
|
r4 = value;
|
|
}
|
|
let length = a0.length;
|
|
value = 0;
|
|
if (value < length) {
|
|
r3 = value;
|
|
loopExit3: while (true) {
|
|
if (a0[r3] >= r4) {
|
|
return a0[r3];
|
|
}
|
|
value = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
length = a0.length;
|
|
if (value < length) {
|
|
r3 = value;
|
|
continue;
|
|
}
|
|
break loopExit3;
|
|
}
|
|
}
|
|
length = a0.length;
|
|
value = 1;
|
|
return a0[length - value] || value;
|
|
}
|
|
|
|
function getUrlCacheBreaker() { // fn#1546, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:120:315, offset: 0x00c6178a, size: 26 bytes, params: 1, frame: 3
|
|
return env0_2 ?? '';
|
|
}
|
|
|