131 lines
6.9 KiB
JavaScript
131 lines
6.9 KiB
JavaScript
/* Metro module 346; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 347, 354, 357] */
|
|
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import Module00102 from './module-00102.js'; /* Metro dependency 102 */
|
|
|
|
function _fun5122(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5122, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:6, offset: 0x00cd5a2f, size: 196 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = _fun5128(importDefault(357) /* metro dependency 357 */);
|
|
function _isNativeReflectConstruct_5123() { // fn#5123, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:160, offset: 0x00cd5af3, 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_5123_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _superPropGet_5126(a0, a1, a2, a3) { // fn#5126, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:379, offset: 0x00cd5b51, size: 99 bytes, params: 5, frame: 18
|
|
let value = a0;
|
|
const env0_0 = a2;
|
|
value = Module00017(1 & 3 ? value.prototype : value);
|
|
value = Module00102(value, a1, a2);
|
|
return 2 & 3 ? typeof value !== 'function' ? value : _fun5127 : value;
|
|
function _fun5127(a0) { // fn#5127, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:478, offset: 0x00c62408, size: 27 bytes, params: 2, frame: 13
|
|
return env0_1.apply(importDefault, a0);
|
|
}
|
|
|
|
}
|
|
|
|
function _fun5128(a0) { // fn#5128, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:519, offset: 0x00cd5bb4, size: 183 bytes, params: 2, frame: 16
|
|
const AnimatedAddition2 = AnimatedAddition;
|
|
Inherits(AnimatedAddition2, a0);
|
|
return CreateClass(AnimatedAddition2, [{key: '__makeNative', value: value_5130}, {key: '__getValue', value: function() {
|
|
return this._a.__getValue() + this._b.__getValue();
|
|
}}, {key: 'interpolate', value: value_5132}, {key: '__attach', value: value_5133}, {key: '__detach',
|
|
value: value_5134}, {key: '__getNativeConfig', value: function() {
|
|
var object = {type: 'addition'};
|
|
var items = [this._a.__getNativeTag()];
|
|
items[1] = this._b.__getNativeTag();
|
|
object.input = items;
|
|
object.debugID = this.__getDebugID();
|
|
return object;
|
|
}}]);
|
|
function AnimatedAddition(a0, a1, a2) { // fn#5129, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:531, offset: 0x00cd5c6b, size: 243 bytes, params: 4, frame: 22
|
|
var r1;
|
|
let value = a0;
|
|
const value2 = a1;
|
|
env1_2(this, AnimatedAddition);
|
|
const items2 = [a2];
|
|
const value5 = env1_5(AnimatedAddition);
|
|
const value8 = env1_4(this, _isNativeReflectConstruct_5123() ? global.Reflect.construct(value5, items2,
|
|
env1_5(this).constructor) : value5.apply(this, items2));
|
|
if (typeof value !== 'number') {
|
|
r1 = value;
|
|
} else {
|
|
value = new (importDefault(347) /* metro dependency 347 */)(value);
|
|
r1 = value;
|
|
}
|
|
value8._a = r1;
|
|
if (typeof value2 !== 'number') {
|
|
r1 = value2;
|
|
} else {
|
|
value = importDefault(347) /* metro dependency 347 */;
|
|
value = new value(value2);
|
|
r1 = value;
|
|
}
|
|
value8._b = r1;
|
|
return value8;
|
|
}
|
|
|
|
function value_5130(a0) { // fn#5130, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:924, offset: 0x00cd5d5e, size: 87 bytes, params: 2, frame: 18
|
|
this._a.__makeNative(a0);
|
|
this._b.__makeNative(a0);
|
|
const value = environment.__proto__;
|
|
_superPropGet_5126(AnimatedAddition, '__makeNative', this, 3)([a0]);
|
|
}
|
|
|
|
function value_5132(a0) { // fn#5132, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:1180, offset: 0x00cd5dde, size: 53 bytes, params: 2, frame: 13
|
|
let value = environment.__proto__;
|
|
value = importDefault(354) /* metro dependency 354 */;
|
|
const value2 = Object.create(value.prototype, {constructor: {value: value}});
|
|
value = new value(this, a0);
|
|
return value instanceof Object ? value : value2;
|
|
}
|
|
|
|
function value_5133() { // fn#5133, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:1256, offset: 0x00cd5e13, size: 80 bytes, params: 1, frame: 17
|
|
this._a.__addChild(this);
|
|
this._b.__addChild(this);
|
|
const value = environment.__proto__;
|
|
_superPropGet_5126(AnimatedAddition, '__attach', this, 3)([]);
|
|
}
|
|
|
|
function value_5134() { // fn#5134, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:387:1404, offset: 0x00cd5e63, size: 80 bytes, params: 1, frame: 17
|
|
this._a.__removeChild(this);
|
|
this._b.__removeChild(this);
|
|
const value = environment.__proto__;
|
|
_superPropGet_5126(AnimatedAddition, '__detach', this, 3)([]);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun5122, 346, [6, 7, 15, 17, 102, 18, 347, 354,
|
|
357]) /* metro module 346, dependencies: [6, 7, 15, 17, 102, 18, 347, 354, 357] */;
|