Files
discord-decomp/sources/by-id/module-03310.jsx
T
2026-07-27 16:20:00 +03:00

81 lines
4.2 KiB
React
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Metro module 3310; source: unknown; dependencies: [1960, 1959] */
function _fun25997(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#25997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3437:6, offset: 0x00f35094, size: 1357 bytes, params: 8, frame: 22
var object2;
const closure = function(a0) {
var value = a0;
return value && value.__esModule ? value : {default: value};
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = undefined;
let value = closure(require(1960) /* metro dependency 1960 */);
const value2 = closure(require(1959) /* metro dependency 1959 */);
object2 = {};
let property = value.default;
object2.ordinalNumber = property({matchPattern: RegExp('^第?\\d+(年|四半期|月|週|日|時|分|秒)?', 'i'),
parsePattern: RegExp('\\d+', 'i'), valueCallback: function(a0) {
return (0, global.parseInt)(a0, 10);
}});
property = value2.default;
const object4 = {};
object4.matchPatterns = {narrow: RegExp('^(B\\.?C\\.?|A\\.?D\\.?)', 'i'), abbreviated: RegExp('^(紀元[前後]|西暦)', 'i'),
wide: RegExp('^(紀元[前後]|西暦)', 'i')};
object4.defaultMatchWidth = 'wide';
const object7 = {};
object7.narrow = [RegExp('^B', 'i'), RegExp('^A', 'i')];
object7.any = [RegExp('^(紀元前)', 'i'), RegExp('^(西暦|紀元後)', 'i')];
object4.parsePatterns = object7;
object4.defaultParseWidth = 'any';
object2.era = property(object4);
property = value2.default;
const object10 = {};
object10.matchPatterns = {narrow: RegExp('^[1234]', 'i'), abbreviated: RegExp('^Q[1234]', 'i'),
wide: RegExp('^第[1234一二三四1234]四半期', 'i')};
object10.defaultMatchWidth = 'wide';
const object13 = {};
object13.any = [RegExp('(1|一|1)', 'i'), RegExp('(2|二|2)', 'i'), RegExp('(3|三|3)', 'i'), RegExp('(4|四|4)', 'i')];
object10.parsePatterns = object13;
object10.defaultParseWidth = 'any';
object10.valueCallback = function(a0) {
return a0 + 1;
};
object2.quarter = property(object10);
property = value2.default;
const object16 = {};
object16.matchPatterns = {narrow: RegExp('^([123456789]|1[012])', ''), abbreviated: RegExp('^([123456789]|1[012])月',
'i'), wide: RegExp('^([123456789]|1[012])月', 'i')};
object16.defaultMatchWidth = 'wide';
const object18 = {};
object18.any = [RegExp('^1\\D', ''), RegExp('^2', ''), RegExp('^3', ''), RegExp('^4', ''), RegExp('^5', ''),
RegExp('^6', ''), RegExp('^7', ''), RegExp('^8', ''), RegExp('^9', ''), RegExp('^10', ''), RegExp('^11', ''),
RegExp('^12', '')];
object16.parsePatterns = object18;
object16.defaultParseWidth = 'any';
object2.month = property(object16);
property = value2.default;
const object19 = {};
object19.matchPatterns = {narrow: RegExp('^[日月火水木金土]', ''), short: RegExp('^[日月火水木金土]', ''),
abbreviated: RegExp('^[日月火水木金土]', ''), wide: RegExp('^[日月火水木金土]曜日', '')};
object19.defaultMatchWidth = 'wide';
const object20 = {};
object20.any = [RegExp('^日', ''), RegExp('^月', ''), RegExp('^火', ''), RegExp('^水', ''), RegExp('^木', ''),
RegExp('^金', ''), RegExp('^土', '')];
object19.parsePatterns = object20;
object19.defaultParseWidth = 'any';
object2.day = property(object19);
property = value2.default;
const object21 = {};
object21.matchPatterns = {any: RegExp('^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)', 'i')};
object21.defaultMatchWidth = 'any';
const object22 = {};
object22.any = {am: RegExp('^(A|午前)', 'i'), pm: RegExp('^(P|午後)', 'i'), midnight: RegExp('^深夜|真夜中', 'i'),
noon: RegExp('^正午', 'i'), morning: RegExp('^朝', 'i'), afternoon: RegExp('^午後', 'i'), evening: RegExp('^夜', 'i'),
night: RegExp('^深夜', 'i')};
object21.parsePatterns = object22;
object21.defaultParseWidth = 'any';
object2.dayPeriod = property(object21);
exports.default = object2;
module.exports = exports.default;
}