Files
discord-decomp/sources/by-id/module-03310.js
T
2026-07-28 01:06:53 +03:00

84 lines
4.4 KiB
JavaScript
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] */
import * as Module01959Module from './module-01959.js'; /* Metro dependency 1959 */
import * as Module01960Module from './module-01960.js'; /* Metro dependency 1960 */
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
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(Module01960Module);
const value2 = closure(Module01959Module);
object = {};
let property = value.default;
object.ordinalNumber = property({matchPattern: RegExp('^第?\\d+(年|四半期|月|週|日|時|分|秒)?', 'i'),
parsePattern: RegExp('\\d+', 'i'), valueCallback: function(a0) {
return (0, global.parseInt)(a0, 10);
}});
property = value2.default;
const object3 = {};
object3.matchPatterns = {narrow: RegExp('^(B\\.?C\\.?|A\\.?D\\.?)', 'i'), abbreviated: RegExp('^(紀元[前後]|西暦)', 'i'),
wide: RegExp('^(紀元[前後]|西暦)', 'i')};
object3.defaultMatchWidth = 'wide';
const object5 = {};
object5.narrow = [RegExp('^B', 'i'), RegExp('^A', 'i')];
object5.any = [RegExp('^(紀元前)', 'i'), RegExp('^(西暦|紀元後)', 'i')];
object3.parsePatterns = object5;
object3.defaultParseWidth = 'any';
object.era = property(object3);
property = value2.default;
const object6 = {};
object6.matchPatterns = {narrow: RegExp('^[1234]', 'i'), abbreviated: RegExp('^Q[1234]', 'i'),
wide: RegExp('^第[1234一二三四1234]四半期', 'i')};
object6.defaultMatchWidth = 'wide';
const object8 = {};
object8.any = [RegExp('(1|一|1)', 'i'), RegExp('(2|二|2)', 'i'), RegExp('(3|三|3)', 'i'), RegExp('(4|四|4)', 'i')];
object6.parsePatterns = object8;
object6.defaultParseWidth = 'any';
object6.valueCallback = function(a0) {
return a0 + 1;
};
object.quarter = property(object6);
property = value2.default;
const object9 = {};
object9.matchPatterns = {narrow: RegExp('^([123456789]|1[012])', ''), abbreviated: RegExp('^([123456789]|1[012])月',
'i'), wide: RegExp('^([123456789]|1[012])月', 'i')};
object9.defaultMatchWidth = 'wide';
const object11 = {};
object11.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', '')];
object9.parsePatterns = object11;
object9.defaultParseWidth = 'any';
object.month = property(object9);
property = value2.default;
const object12 = {};
object12.matchPatterns = {narrow: RegExp('^[日月火水木金土]', ''), short: RegExp('^[日月火水木金土]', ''),
abbreviated: RegExp('^[日月火水木金土]', ''), wide: RegExp('^[日月火水木金土]曜日', '')};
object12.defaultMatchWidth = 'wide';
const object14 = {};
object14.any = [RegExp('^日', ''), RegExp('^月', ''), RegExp('^火', ''), RegExp('^水', ''), RegExp('^木', ''),
RegExp('^金', ''), RegExp('^土', '')];
object12.parsePatterns = object14;
object12.defaultParseWidth = 'any';
object.day = property(object12);
property = value2.default;
const object15 = {};
object15.matchPatterns = {any: RegExp('^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)', 'i')};
object15.defaultMatchWidth = 'any';
const object17 = {};
object17.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')};
object15.parsePatterns = object17;
object15.defaultParseWidth = 'any';
object.dayPeriod = property(object15);
exports.default = object;
module.exports = exports.default;
}
global.__d(_fun25997, 3310, [1960, 1959]) /* metro module 3310, dependencies: [1960, 1959] */;