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

367 lines
17 KiB
JavaScript

/* Metro module 3538; source: unknown; dependencies: [] */
function _fun26964(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26964, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:6, offset: 0x00f535f7, size: 196 bytes, params: 8, frame: 16
const _typeof_26965 = function(a0) {
var r2;
r2 = typeof global.Symbol !== 'function' ? _fun26967 : typeof global.Symbol.iterator === 'symbol' ? _fun26966 : _fun26967;
env0_0 = r2;
return r2(a0);
};
const _setPrototypeOf = function(a0, a1) {
var r3;
r3 = global.Object.setPrototypeOf || _fun26970;
env0_2 = r3;
return r3(a0, a1);
};
const _createSuper = function(a0) {
var env0_0 = a0;
var env0_1 = _fun26972();
return _fun26974;
};
const _assertThisInitialized = function(a0) {
if (a0 === undefined) {
throw new global.ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return a0;
};
const _getPrototypeOf = function(a0) {
var r2;
r2 = global.Object.setPrototypeOf ? global.Object.getPrototypeOf : _fun26977;
env0_5 = r2;
return r2(a0);
};
const _classCallCheck = function(a0, a1) {
if (a0 instanceof a1) {
return undefined;
}
var TypeError = global.TypeError;
throw new TypeError('Cannot call a class as a function');
};
const _defineProperties_26979 = function(a0, a1) {
var r5;
var r0;
var property;
var enumerable;
var Object;
var value = 0;
if (value < a1.length) {
r5 = value;
while (true) {
property = a1[r5];
enumerable = property.enumerable;
r0 = enumerable || false;
property.enumerable = r0;
property.configurable = true;
if (!('value' in property)) {
continue;
}
property.writable = true;
Object = global.Object;
Object.defineProperty(a0, property.key, property);
value = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
if (value < a1.length) {
r5 = value;
continue;
}
break;
}
}
};
const _defineProperty = function(a0, a1, a2) {
if (a1 in a0) {
global.Object.defineProperty(a0, a1, {'value': null, 'enumerable': true, 'configurable': true,
'writable': true,
value: a2});
} else {
a0[a1] = a2;
}
return a0;
};
let Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.DateToSystemTimezoneSetter = undefined;
exports.Setter = undefined;
exports.ValueSetter = undefined;
let value = (() => {
var closure = _fun26983;
var env0_0 = closure;
_createClass(closure, [{key: 'validate', value: _fun26984}]) /* class methods: validate */;
return closure;
})();
exports.Setter = value;
exports.ValueSetter = ((a0) => {
var closure = _fun26986;
var env0_1 = closure;
_inherits(closure, a0) /* class inheritance: closure extends a0 */;
var env0_0 = _createSuper(closure);
_createClass(closure, [{key: 'validate', value: _fun26987}, {key: 'set',
value: _fun26988}]) /* class methods: validate, set */;
return closure;
})(value);
exports.DateToSystemTimezoneSetter = ((a0) => {
var closure = _fun26990;
var env0_1 = closure;
_inherits(closure, a0) /* class inheritance: closure extends a0 */;
var env0_0 = _createSuper(closure);
_createClass(closure, [{key: 'set', value: _fun26991}]) /* class methods: set */;
return closure;
})(value);
function _typeof_26965(a0) { // fn#26965, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:45, offset: 0x00f536bb, size: 74 bytes, params: 2, frame: 12
const Symbol = global.Symbol;
return (typeof Symbol !== 'function' ? function(a0) {
return a0 ? typeof global.Symbol !== 'function' || a0.constructor !== global.Symbol ? typeof a0 : a0 !== global.Symbol.prototype ? 'symbol' : typeof a0 : typeof a0;
} : typeof global.Symbol.iterator === 'symbol' ? _typeof_26965_typeof : _typeof_26965_typeof_26967)(a0);
}
function _inherits(a0, a1) { // fn#26968, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:309, offset: 0x00f53705, size: 139 bytes, params: 3, frame: 17
var Object;
const value = a1;
if (typeof value === 'function') {
Object = global.Object;
a0.prototype = Object.create(value && value.prototype, {constructor: {'value': null, 'writable': true,
'configurable': true, value: a0}});
if (value) {
_setPrototypeOf(a0, value);
}
} else {
if (value !== null) {
throw new global.TypeError('Super expression must either be null or a function');
}
Object = global.Object;
a0.prototype = Object.create(value && value.prototype, {constructor: {'value': null, 'writable': true,
'configurable': true, value: a0}});
if (value) {
_setPrototypeOf(a0, value);
}
}
}
function _setPrototypeOf(a0, a1) { // fn#26969, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:559, offset: 0x00f53790, size: 47 bytes, params: 3, frame: 13
const Object = global.Object;
return (Object.setPrototypeOf || (function(a0, a1) {
a0.__proto__ = a1;
return a0;
}))(a0, a1);
}
function _createSuper(a0) { // fn#26971, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:710, offset: 0x00f537bf, size: 31 bytes, params: 2, frame: 10
const env0_0 = a0;
const env0_1 = _createSuper_isNativeReflectConstruct();
return _createSuper_createSuperInternal;
function _createSuper_isNativeReflectConstruct() { // fn#26972, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:741, owner: _createSuper._isNativeReflectConstruct, offset: 0x00f537de, size: 155 bytes, params: 1, frame: 17
var Boolean;
var prototype;
var valueOf;
var call;
var closure;
var value;
var error;
let Reflect = global.Reflect;
if (typeof Reflect !== 'undefined') {
Reflect = global.Reflect;
var construct = Reflect.construct;
if (construct) {
Reflect = global.Reflect;
construct = Reflect.construct;
if (construct.sham) {
return false;
}
if (typeof global.Proxy === 'function') {
return true;
}
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]);
Reflect.apply(call, valueOf, [value]);
} catch (error) {
return false;
}
return true;
}
}
return false;
}
function _createSuper_createSuperInternal() { // fn#26974, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:1030, owner: _createSuper._createSuperInternal, offset: 0x00f53879, size: 138 bytes, params: 1, frame: 20
var r0;
const value = this;
const value4 = _getPrototypeOf(env0_0);
const r6 = env0_1 ? global.Reflect.construct(value4, arguments,
_getPrototypeOf(value).constructor) : value4.apply(value, arguments);
if (r6) {
if (_typeof_26965(r6) === 'object') {
r0 = r6;
} else if (typeof r6 === 'function') {
r0 = r6;
} else {
_assertThisInitialized(value);
r0 = value;
}
} else {
_assertThisInitialized(value);
r0 = value;
}
return r0;
}
}
function _getPrototypeOf(a0) { // fn#26976, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:1497, offset: 0x00f53903, size: 57 bytes, params: 2, frame: 11
const Object = global.Object;
return (Object.setPrototypeOf ? global.Object.getPrototypeOf : function(a0) {
return a0.__proto__ || global.Object.getPrototypeOf(a0);
})(a0);
}
function _createClass(a0, a1, a2) { // fn#26980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:1975, offset: 0x00f539a6, size: 31 bytes, params: 4, frame: 14
if (a1) {
_defineProperties_26979(a0.prototype, a1);
}
return a0;
}
function _fun26982() { // fn#26982, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:2327, offset: 0x00f53a01, size: 55 bytes, params: 1, frame: 14
return class {
constructor(...args) {
return Reflect.construct(function() {
_classCallCheck(this, Setter) /* class constructor guard */;
_defineProperty(this, 'subPriority', 0);
}, args, new.target);
}
'validate'(a0, a1) {
return true;
}
};
function Setter() { // fn#26983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:2338, offset: 0x00f53a38, size: 44 bytes, params: 1, frame: 15
_classCallCheck(this, Setter) /* class constructor guard */;
_defineProperty(this, 'subPriority', 0);
}
}
function _fun26985(a0) { // fn#26985, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:2537, offset: 0x00f53a64, size: 104 bytes, params: 2, frame: 16
const ValueSetter2 = ValueSetter;
_inherits(ValueSetter2, a0) /* class inheritance: closure extends a0 */;
const env0_0 = _createSuper(ValueSetter2);
_createClass(ValueSetter2, [{key: 'validate', value: function(a0, a1) {
return this.validateValue(a0, this.value, a1);
}}, {key: 'set', value: function(a0, a1, a2) {
return this.setValue(a0, a1, this.value, a2);
}}]) /* class methods: validate, set */;
return ValueSetter2;
function ValueSetter(a0, a1, a2, a3, a4) { // fn#26986, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:2606, offset: 0x00f53acc, size: 89 bytes, params: 6, frame: 15
let value = environment.__proto__;
_classCallCheck(this, ValueSetter) /* class constructor guard */;
value = env0_0.call(this);
value.value = a0;
value.validateValue = a1;
value.setValue = a2;
value.priority = a3;
if (a4) {
value.subPriority = a4;
}
return value;
}
}
function _fun26989(a0) { // fn#26989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:3018, offset: 0x00f53b62, size: 81 bytes, params: 2, frame: 15
const DateToSystemTimezoneSetter2 = DateToSystemTimezoneSetter;
_inherits(DateToSystemTimezoneSetter2, a0) /* class inheritance: closure extends a0 */;
const env0_0 = _createSuper(DateToSystemTimezoneSetter2);
_createClass(DateToSystemTimezoneSetter2, [{key: 'set', value: value_26991}]) /* class methods: set */;
return DateToSystemTimezoneSetter2;
function DateToSystemTimezoneSetter() { // fn#26990, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:3117, offset: 0x00f53bb3, size: 178 bytes, params: 1, frame: 19
var r3;
var value7;
let value = environment.__proto__;
_classCallCheck(this, DateToSystemTimezoneSetter) /* class constructor guard */;
const length = arguments.length;
const Array = global.Array;
const array = new Array(length);
const value6 = 0;
if (value6 < length) {
for (r3 = value6; true; r3 = value7) {
array[r3] = arguments[r3];
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
if (!(value7 < length)) {
break;
}
}
}
const _definePropertyBinding = _defineProperty;
const _assertThisInitializedBinding = _assertThisInitialized;
const call = env0_0.call;
const apply = call.apply;
const binding = env0_0;
const items2 = [this];
value = Reflect.apply(apply, call, [binding, items2.concat(array)]);
_assertThisInitializedBinding(value);
_definePropertyBinding(value, 'priority', 10);
_assertThisInitializedBinding(value);
_definePropertyBinding(value, 'subPriority', -1);
return value;
}
}
}
function _typeof_26965_typeof(a0) { // fn#26966, owner: _typeof_26965._typeof, offset: 0x00c39aa5, size: 8 bytes, params: 2, frame: 1
return typeof a0;
}
function _typeof_26965_typeof_26967(a0) { // fn#26967, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:177, owner: _typeof_26965._typeof, offset: 0x00c39aad, size: 63 bytes, params: 2, frame: 4
return a0 ? typeof global.Symbol !== 'function' || a0.constructor !== global.Symbol ? typeof a0 : a0 !== global.Symbol.prototype ? 'symbol' : typeof a0 : typeof a0;
}
function _setPrototypeOf_body(a0, a1) { // fn#26970, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:635, owner: _setPrototypeOf.body, offset: 0x00c3ddf8, size: 14 bytes, params: 3, frame: 2
a0.__proto__ = a1;
return a0;
}
function _getPrototypeOf_body(a0) { // fn#26977, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:1592, owner: _getPrototypeOf.body, offset: 0x00c3dc2e, size: 33 bytes, params: 2, frame: 12
return a0.__proto__ || global.Object.getPrototypeOf(a0);
}
function value_26984(a0, a1) { // fn#26984, offset: 0x00c4c231, size: 4 bytes, params: 3, frame: 1
return true;
}
function value_26987(a0, a1) { // fn#26987, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:2832, offset: 0x00f53b25, size: 29 bytes, params: 3, frame: 15
return this.validateValue(a0, this.value, a1);
}
function value_26988(a0, a1, a2) { // fn#26988, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:2916, offset: 0x00f53b42, size: 32 bytes, params: 4, frame: 17
return this.setValue(a0, a1, this.value, a2);
}
function value_26991(a0, a1) { // fn#26991, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3665:3506, offset: 0x00f53c65, size: 148 bytes, params: 3, frame: 18
if (a1.timestampIsSet) {
return a0;
}
const Date = global.Date;
const date = new Date(0);
const setFullYear = date.setFullYear;
const uTCFullYear = a0.getUTCFullYear();
const uTCMonth = a0.getUTCMonth();
const getUTCDate = a0.getUTCDate;
Reflect.apply(setFullYear, date, [uTCFullYear, uTCMonth, Reflect.apply(getUTCDate, a0, [])]);
const setHours = date.setHours;
const uTCHours = a0.getUTCHours();
const uTCMinutes = a0.getUTCMinutes();
const uTCSeconds = a0.getUTCSeconds();
const getUTCMilliseconds = a0.getUTCMilliseconds;
Reflect.apply(setHours, date, [uTCHours, uTCMinutes, uTCSeconds, Reflect.apply(getUTCMilliseconds, a0, [])]);
return date;
}
global.__d(_fun26964, 3538, []) /* metro module 3538 */;