Files
2026-07-28 01:06:53 +03:00

127 lines
6.7 KiB
JavaScript

/* Metro module 366; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 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 _fun5419(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:6, offset: 0x00cdb6c1, size: 196 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = _fun5425(importDefault(357) /* metro dependency 357 */);
function _isNativeReflectConstruct_5420() { // fn#5420, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:160, offset: 0x00cdb785, 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_5420_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _superPropGet_5423(a0, a1, a2, a3) { // fn#5423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:379, offset: 0x00cdb7e3, 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 : _fun5424 : value;
function _fun5424(a0) { // fn#5424, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:478, offset: 0x00c62408, size: 27 bytes, params: 2, frame: 13
return env0_1.apply(importDefault, a0);
}
}
function _fun5425(a0) { // fn#5425, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:519, offset: 0x00cdb846, size: 183 bytes, params: 2, frame: 16
const AnimatedDiffClamp2 = AnimatedDiffClamp;
Inherits(AnimatedDiffClamp2, a0);
return CreateClass(AnimatedDiffClamp2, [{key: '__makeNative', value: value_5427}, {key: 'interpolate',
value: value_5428}, {key: '__getValue', value: function() {
var property = this._a;
var value = property.__getValue();
var value2 = value - this._lastValue;
this._lastValue = value;
property = global.Math;
var Math = global.Math;
value = this._value + value2;
value = Math.max(value, this._min);
this._value = property.min(value, this._max);
return this._value;
}}, {key: '__attach', value: value_5430}, {key: '__detach', value: value_5431}, {key: '__getNativeConfig',
value: function() {
var object = {type: 'diffclamp'};
object.input = this._a.__getNativeTag();
object.min = this._min;
object.max = this._max;
object.debugID = this.__getDebugID();
return object;
}}]);
function AnimatedDiffClamp(a0, a1, a2, a3) { // fn#5426, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:531, offset: 0x00cdb8fd, size: 170 bytes, params: 5, frame: 19
let value = environment.__proto__;
env1_2(this, AnimatedDiffClamp);
const items2 = [a3];
const value3 = env1_5(AnimatedDiffClamp);
value = env1_4(this, _isNativeReflectConstruct_5420() ? global.Reflect.construct(value3, items2,
env1_5(this).constructor) : value3.apply(this, items2));
value._a = a0;
value._min = a1;
value._max = a2;
const value4 = value._a.__getValue();
value._lastValue = value4;
value._value = value4;
return value;
}
function value_5427(a0) { // fn#5427, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:912, offset: 0x00cdb557, size: 70 bytes, params: 2, frame: 18
this._a.__makeNative(a0);
const value = environment.__proto__;
_superPropGet_5423(AnimatedDiffClamp, '__makeNative', this, 3)([a0]);
}
function value_5428(a0) { // fn#5428, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:1048, offset: 0x00cdb5d0, 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_5430() { // fn#5430, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:1322, offset: 0x00cdb605, size: 63 bytes, params: 1, frame: 17
this._a.__addChild(this);
const value = environment.__proto__;
_superPropGet_5423(AnimatedDiffClamp, '__attach', this, 3)([]);
}
function value_5431() { // fn#5431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:1446, offset: 0x00cdb644, size: 63 bytes, params: 1, frame: 17
this._a.__removeChild(this);
const value = environment.__proto__;
_superPropGet_5423(AnimatedDiffClamp, '__detach', this, 3)([]);
}
}
}
global.__d(_fun5419, 366, [6, 7, 15, 17, 102, 18, 354,
357]) /* metro module 366, dependencies: [6, 7, 15, 17, 102, 18, 354, 357] */;