45 lines
2.5 KiB
React
45 lines
2.5 KiB
React
/* Metro module 3482; source: unknown; dependencies: [] */
|
|
function _fun26778(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3609:6, offset: 0x00f4d68d, size: 102 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.isProtectedDayOfYearToken = isProtectedDayOfYearToken;
|
|
exports.isProtectedWeekYearToken = isProtectedWeekYearToken;
|
|
exports.throwProtectedError = throwProtectedError;
|
|
const env0_0 = ['D', 'DD'];
|
|
const env0_1 = ['YY', 'YYYY'];
|
|
}
|
|
|
|
function isProtectedWeekYearToken(a0) { // fn#26780, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3609:210, offset: 0x00f4d714, size: 33 bytes, params: 2, frame: 11
|
|
return env0_1.indexOf(a0) !== -1;
|
|
}
|
|
|
|
function throwProtectedError(a0, a1, a2) { // fn#26781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3609:294, offset: 0x00f4d735, size: 337 bytes, params: 4, frame: 15
|
|
var RangeError;
|
|
var value;
|
|
if (a0 === 'YYYY') {
|
|
RangeError = global.RangeError;
|
|
value = 'Use `yyyy` instead of `YYYY` (in `'.concat(a1, '`) for formatting years to the input `');
|
|
value = value.concat(a2, '`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md');
|
|
throw new RangeError();
|
|
}
|
|
if (a0 === 'YY') {
|
|
RangeError = global.RangeError;
|
|
value = 'Use `yy` instead of `YY` (in `'.concat(a1, '`) for formatting years to the input `');
|
|
value = value.concat(a2, '`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md');
|
|
throw new RangeError();
|
|
}
|
|
if (a0 === 'D') {
|
|
RangeError = global.RangeError;
|
|
value = 'Use `d` instead of `D` (in `'.concat(a1, '`) for formatting days of the month to the input `');
|
|
value = value.concat(a2, '`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md');
|
|
throw new RangeError();
|
|
}
|
|
if (a0 === 'DD') {
|
|
RangeError = global.RangeError;
|
|
value = 'Use `dd` instead of `DD` (in `'.concat(a1, '`) for formatting days of the month to the input `');
|
|
value = value.concat(a2, '`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md');
|
|
throw new RangeError();
|
|
}
|
|
}
|
|
|