Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,495 @@
|
||||
/* Metro module 354; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 355, 44, 39, 38, 348, 357] */
|
||||
function _fun5224(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5224, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:6, offset: 0x00cd7c2e, size: 232 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_6 = importDefault(102) /* metro dependency 102 */;
|
||||
const env0_7 = importDefault(18) /* metro dependency 18 */;
|
||||
const env0_8 = RegExp('[+-]?(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][+-]?\\d+)?', 'g');
|
||||
exports.default = _fun5233(importDefault(357) /* metro dependency 357 */);
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_5225() { // fn#5225, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:168, offset: 0x00cd7d16, size: 94 bytes, params: 1, frame: 18
|
||||
var Boolean;
|
||||
var prototype;
|
||||
var valueOf;
|
||||
var call;
|
||||
var Reflect;
|
||||
var construct;
|
||||
var closure;
|
||||
var value;
|
||||
var error;
|
||||
try {
|
||||
Boolean = global.Boolean;
|
||||
prototype = Boolean.prototype;
|
||||
valueOf = prototype.valueOf;
|
||||
call = valueOf.call;
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
Boolean = global.Boolean;
|
||||
closure = function() {
|
||||
};
|
||||
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
||||
value = Reflect.apply(call, valueOf, [value]);
|
||||
var result = !value;
|
||||
} catch (error) {
|
||||
}
|
||||
return (_isNativeReflectConstruct_5225_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _superPropGet_5228(a0, a1, a2, a3) { // fn#5228, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:387, offset: 0x00cd7d74, size: 99 bytes, params: 5, frame: 18
|
||||
let value = a0;
|
||||
const env0_0 = a2;
|
||||
const binding = env0_6;
|
||||
value = env0_5(1 & 3 ? value.prototype : value);
|
||||
value = binding(value, a1, a2);
|
||||
return 2 & 3 ? typeof value !== 'function' ? value : _fun5229 : value;
|
||||
}
|
||||
|
||||
function createNumericInterpolation(a0) { // fn#5230, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:521, offset: 0x00cd7dd7, size: 174 bytes, params: 2, frame: 14
|
||||
var linear;
|
||||
var extrapolate;
|
||||
const env0_0 = a0.outputRange;
|
||||
const env0_1 = a0.inputRange;
|
||||
if (!a0.easing) {
|
||||
linear = (importDefault(355) /* metro dependency 355 */).linear;
|
||||
}
|
||||
let extrapolateLeft = a0.extrapolateLeft;
|
||||
if (extrapolateLeft !== undefined) {
|
||||
extrapolateLeft = a0.extrapolateLeft;
|
||||
} else {
|
||||
extrapolate = a0.extrapolate;
|
||||
extrapolate = extrapolate !== undefined ? a0.extrapolate : extrapolate;
|
||||
}
|
||||
let extrapolateRight = a0.extrapolateRight;
|
||||
if (extrapolateRight !== undefined) {
|
||||
extrapolateRight = a0.extrapolateRight;
|
||||
} else {
|
||||
extrapolate = a0.extrapolate;
|
||||
if (extrapolate !== undefined) {
|
||||
extrapolate = a0.extrapolate;
|
||||
}
|
||||
}
|
||||
return _fun5231;
|
||||
}
|
||||
|
||||
function mapStringToNumericComponents(a0) { // fn#5232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:1408, offset: 0x00cd7fef, size: 426 bytes, params: 2, frame: 25
|
||||
var r5;
|
||||
var r10;
|
||||
var r6;
|
||||
var r2;
|
||||
var index;
|
||||
var push;
|
||||
var substring;
|
||||
var parseFloat;
|
||||
var length;
|
||||
var value7;
|
||||
var value8;
|
||||
const value2 = (importDefault(39) /* metro dependency 39 */)(a0);
|
||||
(importDefault(44) /* metro dependency 44 */)(value2 == null || typeof value2 !== 'object',
|
||||
'PlatformColors are not supported');
|
||||
if (typeof value2 === 'number') {
|
||||
r2 = value2 || 0;
|
||||
return {isColor: true, components: [(4278190080 & r2) >>> 24, (16711680 & r2) >>> 16, (65280 & r2) >>> 8,
|
||||
(255 & r2) / 255]};
|
||||
}
|
||||
const items = [];
|
||||
let binding = env0_8;
|
||||
const value5 = binding.exec(a0);
|
||||
const value6 = 0;
|
||||
if (value5 != null) {
|
||||
r5 = value6;
|
||||
r10 = value5;
|
||||
while (true) {
|
||||
index = r10.index;
|
||||
if (index > r5) {
|
||||
push = items.push;
|
||||
substring = a0.substring;
|
||||
Reflect.apply(push, items, [Reflect.apply(substring, a0, [r5, r10.index])]);
|
||||
}
|
||||
push = items.push;
|
||||
parseFloat = global.parseFloat;
|
||||
Reflect.apply(push, items, [parseFloat(r10[value6])]);
|
||||
index = r10.index;
|
||||
length = r10[value6].length;
|
||||
value7 = index + length;
|
||||
binding = env0_8;
|
||||
value8 = binding.exec(a0);
|
||||
if (value8 != null) {
|
||||
r5 = value7;
|
||||
r10 = value8;
|
||||
continue;
|
||||
}
|
||||
r6 = value7;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
r6 = value6;
|
||||
}
|
||||
(importDefault(44) /* metro dependency 44 */)(items.length > value6,
|
||||
'outputRange must contain color or value with numeric component');
|
||||
if (r6 < a0.length) {
|
||||
items.push(a0.substring(r6, a0.length));
|
||||
}
|
||||
return {isColor: false, components: items};
|
||||
}
|
||||
|
||||
function _fun5233(a0) { // fn#5233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:1963, offset: 0x00cd8199, size: 206 bytes, params: 2, frame: 16
|
||||
const closure = AnimatedInterpolation;
|
||||
env0_7(closure, a0);
|
||||
return env0_3(closure, [{key: '_getInterpolation', value: value_5235}, {key: '__makeNative', value: value_5246},
|
||||
{key: '__getValue', value: function() {
|
||||
var value = this._parent.__getValue();
|
||||
importDefault(dependencyMap[7])(typeof value === 'number',
|
||||
'Cannot interpolate an input which is not a number.');
|
||||
return this._getInterpolation()(value);
|
||||
}}, {key: 'interpolate', value: value_5248}, {key: '__attach', value: value_5249}, {key: '__detach',
|
||||
value: value_5250}, {key: '__getNativeConfig', value: value_5251}]);
|
||||
}
|
||||
|
||||
function _fun5231(a0) { // fn#5231, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:836, offset: 0x00cd7e85, size: 362 bytes, params: 2, frame: 21
|
||||
var r6;
|
||||
var r2;
|
||||
var r11;
|
||||
var r9;
|
||||
var r5;
|
||||
var r0;
|
||||
var value5;
|
||||
let value = a0;
|
||||
(importDefault(44) /* metro dependency 44 */)(typeof value === 'number',
|
||||
'Cannot interpolation an input which is not a number');
|
||||
const inputRangeBinding = inputRange;
|
||||
let length = inputRangeBinding.length;
|
||||
const value4 = 1;
|
||||
if (value4 < length - value4) {
|
||||
if (inputRangeBinding[value4] >= value) {
|
||||
r2 = value4;
|
||||
} else {
|
||||
r6 = value4;
|
||||
while (true) {
|
||||
value5 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
||||
length = inputRangeBinding.length;
|
||||
if (!(value5 < length - value4)) {
|
||||
r2 = value5;
|
||||
break;
|
||||
}
|
||||
if (inputRangeBinding[value5] >= value) {
|
||||
r2 = value5;
|
||||
break;
|
||||
}
|
||||
r6 = value5;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
r2 = value4;
|
||||
}
|
||||
const value6 = r2 - value4;
|
||||
const property = inputRangeBinding[value6];
|
||||
const value7 = value6 + value4;
|
||||
const property2 = inputRangeBinding[value7];
|
||||
const outputRangeBinding = outputRange;
|
||||
const property3 = outputRangeBinding[value6];
|
||||
const property4 = outputRangeBinding[value7];
|
||||
const binding = env0_2;
|
||||
const binding2 = env0_3;
|
||||
const binding3 = env0_4;
|
||||
if (value < property) {
|
||||
if (binding2 === 'identity') {
|
||||
r0 = value;
|
||||
} else {
|
||||
r11 = binding2 !== 'clamp' ? value : property;
|
||||
if (r11 > property2) {
|
||||
if (binding3 === 'identity') {
|
||||
r0 = r11;
|
||||
} else {
|
||||
r9 = binding3 !== 'clamp' ? r11 : property2;
|
||||
if (property3 === property4) {
|
||||
r0 = property3;
|
||||
} else if (property === property2) {
|
||||
r0 = value <= property ? property3 : property4;
|
||||
} else {
|
||||
if (property === -Infinity) {
|
||||
r6 = -r9;
|
||||
} else if (property2 === Infinity) {
|
||||
r6 = r9 - property;
|
||||
} else {
|
||||
value = r9 - property;
|
||||
value /= property2 - property;
|
||||
r6 = value;
|
||||
}
|
||||
value = binding(r6);
|
||||
if (property3 === -Infinity) {
|
||||
value = -value;
|
||||
r5 = value;
|
||||
} else if (property4 === Infinity) {
|
||||
value += property3;
|
||||
r5 = value;
|
||||
} else {
|
||||
value = value * (property4 - property3) + property3;
|
||||
r5 = value;
|
||||
}
|
||||
r0 = r5;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
r9 = r11;
|
||||
if (property3 === property4) {
|
||||
r0 = property3;
|
||||
} else if (property === property2) {
|
||||
r0 = value <= property ? property3 : property4;
|
||||
} else {
|
||||
if (property === -Infinity) {
|
||||
r6 = -r9;
|
||||
} else if (property2 === Infinity) {
|
||||
r6 = r9 - property;
|
||||
} else {
|
||||
value = r9 - property;
|
||||
value /= property2 - property;
|
||||
r6 = value;
|
||||
}
|
||||
value = binding(r6);
|
||||
if (property3 === -Infinity) {
|
||||
value = -value;
|
||||
r5 = value;
|
||||
} else if (property4 === Infinity) {
|
||||
value += property3;
|
||||
r5 = value;
|
||||
} else {
|
||||
value = value * (property4 - property3) + property3;
|
||||
r5 = value;
|
||||
}
|
||||
r0 = r5;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
r11 = value;
|
||||
if (r11 > property2) {
|
||||
if (binding3 === 'identity') {
|
||||
r0 = r11;
|
||||
} else {
|
||||
r9 = binding3 !== 'clamp' ? r11 : property2;
|
||||
if (property3 === property4) {
|
||||
r0 = property3;
|
||||
} else if (property === property2) {
|
||||
r0 = value <= property ? property3 : property4;
|
||||
} else {
|
||||
if (property === -Infinity) {
|
||||
r6 = -r9;
|
||||
} else if (property2 === Infinity) {
|
||||
r6 = r9 - property;
|
||||
} else {
|
||||
value = r9 - property;
|
||||
value /= property2 - property;
|
||||
r6 = value;
|
||||
}
|
||||
value = binding(r6);
|
||||
if (property3 === -Infinity) {
|
||||
value = -value;
|
||||
r5 = value;
|
||||
} else if (property4 === Infinity) {
|
||||
value += property3;
|
||||
r5 = value;
|
||||
} else {
|
||||
value = value * (property4 - property3) + property3;
|
||||
r5 = value;
|
||||
}
|
||||
r0 = r5;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
r9 = r11;
|
||||
if (property3 === property4) {
|
||||
r0 = property3;
|
||||
} else if (property === property2) {
|
||||
r0 = value <= property ? property3 : property4;
|
||||
} else {
|
||||
if (property === -Infinity) {
|
||||
r6 = -r9;
|
||||
} else if (property2 === Infinity) {
|
||||
r6 = r9 - property;
|
||||
} else {
|
||||
value = r9 - property;
|
||||
value /= property2 - property;
|
||||
r6 = value;
|
||||
}
|
||||
value = binding(r6);
|
||||
if (property3 === -Infinity) {
|
||||
value = -value;
|
||||
r5 = value;
|
||||
} else if (property4 === Infinity) {
|
||||
value += property3;
|
||||
r5 = value;
|
||||
} else {
|
||||
value = value * (property4 - property3) + property3;
|
||||
r5 = value;
|
||||
}
|
||||
r0 = r5;
|
||||
}
|
||||
}
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function AnimatedInterpolation(a0, a1) { // fn#5234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:1975, offset: 0x00cd8267, size: 130 bytes, params: 3, frame: 20
|
||||
let value = environment.__proto__;
|
||||
env1_2(this, AnimatedInterpolation);
|
||||
const items2 = [a1];
|
||||
const value3 = env1_5(AnimatedInterpolation);
|
||||
value = env1_4(this, _isNativeReflectConstruct_5225() ? global.Reflect.construct(value3, items2,
|
||||
env1_5(this).constructor) : value3.apply(this, items2));
|
||||
value._parent = a0;
|
||||
value._config = a1;
|
||||
return value;
|
||||
}
|
||||
|
||||
function value_5235() { // fn#5235, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:2336, offset: 0x00cd82e9, size: 100 bytes, params: 1, frame: 12
|
||||
var environment;
|
||||
var _config;
|
||||
var value;
|
||||
if (!this._interpolation) {
|
||||
_config = this._config;
|
||||
if (_config.outputRange) {
|
||||
if (typeof _config.outputRange[0] === 'string') {
|
||||
this._interpolation = createStringInterpolation(_config);
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
this._interpolation = createNumericInterpolation(_config);
|
||||
}
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
this._interpolation = createNumericInterpolation(_config);
|
||||
}
|
||||
}
|
||||
return this._interpolation;
|
||||
}
|
||||
|
||||
function value_5246(a0) { // fn#5246, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:3288, offset: 0x00cd85b3, size: 70 bytes, params: 2, frame: 18
|
||||
this._parent.__makeNative(a0);
|
||||
const value = environment.__proto__;
|
||||
_superPropGet_5228(AnimatedInterpolation, '__makeNative', this, 3)([a0]);
|
||||
}
|
||||
|
||||
function value_5248(a0) { // fn#5248, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:3630, offset: 0x00cd864d, size: 35 bytes, params: 2, frame: 13
|
||||
const value = Object.create(AnimatedInterpolation.prototype, {constructor: {value: AnimatedInterpolation}});
|
||||
const animatedInterpolation = new AnimatedInterpolation(this, a0);
|
||||
return animatedInterpolation instanceof Object ? animatedInterpolation : value;
|
||||
}
|
||||
|
||||
function value_5249() { // fn#5249, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:3719, offset: 0x00cd8670, size: 63 bytes, params: 1, frame: 17
|
||||
this._parent.__addChild(this);
|
||||
const value = environment.__proto__;
|
||||
_superPropGet_5228(AnimatedInterpolation, '__attach', this, 3)([]);
|
||||
}
|
||||
|
||||
function value_5250() { // fn#5250, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:3852, offset: 0x00cd86af, size: 63 bytes, params: 1, frame: 17
|
||||
this._parent.__removeChild(this);
|
||||
const value = environment.__proto__;
|
||||
_superPropGet_5228(AnimatedInterpolation, '__detach', this, 3)([]);
|
||||
}
|
||||
|
||||
function value_5251() { // fn#5251, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:3997, offset: 0x00cd86ee, size: 196 bytes, params: 1, frame: 14
|
||||
const outputRange = this._config.outputRange;
|
||||
const env0_0 = null;
|
||||
const r3 = typeof outputRange[0] !== 'string' ? outputRange : outputRange.map(_fun5252);
|
||||
const object2 = {};
|
||||
object2.inputRange = this._config.inputRange;
|
||||
object2.outputRange = r3;
|
||||
object2.outputType = env0_0;
|
||||
let r1 = this._config.extrapolateLeft || this._config.extrapolate;
|
||||
r1 = !r1 ? 'extend' : r1;
|
||||
object2.extrapolateLeft = r1;
|
||||
r1 = this._config.extrapolateRight || this._config.extrapolate;
|
||||
r1 = !r1 ? 'extend' : r1;
|
||||
object2.extrapolateRight = r1;
|
||||
object2.type = 'interpolation';
|
||||
object2.debugID = this.__getDebugID();
|
||||
return object2;
|
||||
}
|
||||
|
||||
function createStringInterpolation(a0) { // fn#5236, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:2478, owner: value_5235.createStringInterpolation, offset: 0x00cd834d, size: 163 bytes, params: 2, frame: 16
|
||||
var environment;
|
||||
const env0_0 = a0;
|
||||
let value = environment.__proto__.__proto__;
|
||||
const defaultImport = importDefault(44) /* metro dependency 44 */;
|
||||
let outputRange = a0.outputRange;
|
||||
defaultImport(outputRange.length >= 2, 'Bad output range');
|
||||
outputRange = a0.outputRange;
|
||||
const isColor = outputRange.map(mapStringToNumericComponents)[0].isColor;
|
||||
value = value.map(_fun5237);
|
||||
const env0_4 = value[0].map(_fun5239);
|
||||
return isColor ? _fun5241 : _fun5243;
|
||||
}
|
||||
|
||||
function _fun5252(a0) { // fn#5252, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:4103, offset: 0x00cd87b2, size: 93 bytes, params: 2, frame: 14
|
||||
var r0;
|
||||
let value = environment.__proto__.__proto__;
|
||||
const value2 = (importDefault(38) /* metro dependency 38 */)(a0);
|
||||
if (typeof value2 === 'number') {
|
||||
r0 = value2;
|
||||
} else {
|
||||
value = importDefault(348) /* metro dependency 348 */;
|
||||
value = value.transformDataType(a0);
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function _fun5237({components}) { // fn#5237, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:2647, offset: 0x00cd83f0, size: 43 bytes, params: 2, frame: 11
|
||||
return isColor ? components : components.filter(function(a0) {
|
||||
return typeof a0 === 'number';
|
||||
});
|
||||
}
|
||||
|
||||
function _fun5239(a0, a1) { // fn#5239, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:2757, offset: 0x00cd842b, size: 80 bytes, params: 3, frame: 18
|
||||
var environment;
|
||||
const env0_0 = a1;
|
||||
const value = environment.__proto__.__proto__.__proto__;
|
||||
const createNumericInterpolationBinding = createNumericInterpolation;
|
||||
const Object = global.Object;
|
||||
const assign = Object.assign;
|
||||
const binding = env0_0;
|
||||
const object2 = {};
|
||||
object2.outputRange = env0_3.map(function(a0) {
|
||||
return a0[require];
|
||||
});
|
||||
return createNumericInterpolationBinding(Reflect.apply(assign, Object, [{}, binding, object2]));
|
||||
}
|
||||
|
||||
function _fun5241(a0) { // fn#5241, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:2886, offset: 0x00cd847b, size: 104 bytes, params: 2, frame: 23
|
||||
const env0_0 = a0;
|
||||
const value = env0_4.map(_fun5242);
|
||||
return 'rgba(' + value[0] + ', ' + value[1] + ', ' + value[2] + ', ' + value[3] + ')';
|
||||
}
|
||||
|
||||
function _fun5243(a0) { // fn#5243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:3036, offset: 0x00cd8534, size: 86 bytes, params: 2, frame: 13
|
||||
const env0_0 = a0;
|
||||
return env0_4.map(_fun5244)[0].components.map(_fun5245).join('');
|
||||
}
|
||||
|
||||
function _fun5242(a0, a1) { // fn#5242, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:2911, offset: 0x00cd84e3, size: 81 bytes, params: 3, frame: 13
|
||||
var r0;
|
||||
var Math;
|
||||
let value = a0(env0_0);
|
||||
if (a1 < 3) {
|
||||
value = global.Math.round(value);
|
||||
r0 = value;
|
||||
} else {
|
||||
Math = global.Math;
|
||||
value = Math.round(1000 * value) / 1000;
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function _fun5245(a0) { // fn#5245, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:395:3120, offset: 0x00cd858a, size: 41 bytes, params: 2, frame: 5
|
||||
const value = a0;
|
||||
return typeof value !== 'number' ? value : env0_1[typeof env0_2 === 'bigint' ? env0_2 : +env0_2];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user