Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
165 lines
5.6 KiB
JavaScript
165 lines
5.6 KiB
JavaScript
// Module ID: 10708
|
|
// Function ID: 10709
|
|
// Dependencies: [10709, 10711, 10713, 10714, 10715, 10716, 10717, 10718, 10719, 10720, 10721, 10577, 10584, 10586, 10610, 10722, 10617]
|
|
// Exports: createCasualConfiguration, parse, parseDate
|
|
|
|
// Module 10708
|
|
import _mod10610 from "module_10610" /* 10610 */;
|
|
import includeCommonConfiguration from "includeCommonConfiguration" /* 10617 */;
|
|
import _mod10709 from "module_10709" /* 10709 */;
|
|
import _mod10711 from "module_10711" /* 10711 */;
|
|
import _mod10713 from "module_10713" /* 10713 */;
|
|
import _mod10714 from "module_10714" /* 10714 */;
|
|
import _mod10715 from "module_10715" /* 10715 */;
|
|
import _mod10716 from "module_10716" /* 10716 */;
|
|
import _mod10717 from "module_10717" /* 10717 */;
|
|
import _mod10718 from "module_10718" /* 10718 */;
|
|
import _mod10719 from "module_10719" /* 10719 */;
|
|
import _mod10720 from "module_10720" /* 10720 */;
|
|
import _mod10721 from "module_10721" /* 10721 */;
|
|
import _mod10722 from "module_10722" /* 10722 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
function createConfiguration(flag) {
|
|
if (flag === undefined) {
|
|
flag = true;
|
|
}
|
|
const obj = { parsers: null, refiners: null };
|
|
const items = [new regExp.default(true), , , , , ];
|
|
const _default = new regExp.default(true);
|
|
items[1] = new _isNativeReflectConstruct.default();
|
|
const _default1 = new _isNativeReflectConstruct.default();
|
|
items[2] = new _isNativeReflectConstruct.default();
|
|
const _default2 = new _isNativeReflectConstruct.default();
|
|
items[3] = new _isNativeReflectConstruct.default();
|
|
const _default3 = new _isNativeReflectConstruct.default();
|
|
items[4] = new _isNativeReflectConstruct.default(flag);
|
|
const _default4 = new _isNativeReflectConstruct.default(flag);
|
|
items[5] = new _isNativeReflectConstruct.default();
|
|
obj.parsers = items;
|
|
const _default5 = new _isNativeReflectConstruct.default();
|
|
const items1 = [new _isNativeReflectConstruct.default(), ];
|
|
const _default6 = new _isNativeReflectConstruct.default();
|
|
items1[1] = new _isNativeReflectConstruct.default();
|
|
obj.refiners = items1;
|
|
return includeCommonConfiguration.includeCommonConfiguration(obj, flag);
|
|
}
|
|
let fn = this;
|
|
if (this) {
|
|
fn = this.__importDefault;
|
|
}
|
|
if (!fn) {
|
|
fn = (__esModule) => {
|
|
if (!__esModule) {
|
|
const obj = { default: __esModule };
|
|
let tmp = obj;
|
|
} else {
|
|
tmp = __esModule;
|
|
}
|
|
return tmp;
|
|
};
|
|
}
|
|
function createCasualConfiguration() {
|
|
const tmp = createConfiguration(false);
|
|
const parsers = tmp.parsers;
|
|
parsers.unshift(new _isNativeReflectConstruct.default());
|
|
const parsers1 = tmp.parsers;
|
|
const _default = new _isNativeReflectConstruct.default();
|
|
parsers1.unshift(new _isNativeReflectConstruct.default());
|
|
const parsers2 = tmp.parsers;
|
|
const _default1 = new _isNativeReflectConstruct.default();
|
|
parsers2.unshift(new _isNativeReflectConstruct.default());
|
|
const parsers3 = tmp.parsers;
|
|
const _default2 = new _isNativeReflectConstruct.default();
|
|
parsers3.unshift(new _isNativeReflectConstruct.default());
|
|
const parsers4 = tmp.parsers;
|
|
const _default3 = new _isNativeReflectConstruct.default();
|
|
parsers4.unshift(new _isNativeReflectConstruct.default());
|
|
return tmp;
|
|
}
|
|
fn(_mod10709);
|
|
fn(_mod10711);
|
|
fn(_mod10713);
|
|
fn(_mod10714);
|
|
fn(_mod10715);
|
|
fn(_mod10716);
|
|
fn(_mod10717);
|
|
fn(_mod10718);
|
|
fn(_mod10719);
|
|
fn(_mod10720);
|
|
fn(_mod10721);
|
|
const regExp = fn(_mod10610);
|
|
const _isNativeReflectConstruct = fn(_mod10722);
|
|
const configuration = createConfiguration(false);
|
|
let parsers = configuration.parsers;
|
|
parsers.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers1 = configuration.parsers;
|
|
let _default = new _isNativeReflectConstruct.default();
|
|
let obj = {
|
|
enumerable: true,
|
|
get() {
|
|
return require("module_10577").Chrono;
|
|
}
|
|
};
|
|
const obj2 = {
|
|
enumerable: true,
|
|
get() {
|
|
return require("ReferenceWithTimezone").ParsingResult;
|
|
}
|
|
};
|
|
const obj3 = {
|
|
enumerable: true,
|
|
get() {
|
|
return require("ReferenceWithTimezone").ParsingComponents;
|
|
}
|
|
};
|
|
const obj4 = {
|
|
enumerable: true,
|
|
get() {
|
|
return require("ReferenceWithTimezone").ReferenceWithTimezone;
|
|
}
|
|
};
|
|
const obj5 = {
|
|
enumerable: true,
|
|
get() {
|
|
return require("Meridiem").Meridiem;
|
|
}
|
|
};
|
|
const obj6 = {
|
|
enumerable: true,
|
|
get() {
|
|
return require("Meridiem").Weekday;
|
|
}
|
|
};
|
|
parsers1.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers2 = configuration.parsers;
|
|
let _default1 = new _isNativeReflectConstruct.default();
|
|
parsers2.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers3 = configuration.parsers;
|
|
let _default2 = new _isNativeReflectConstruct.default();
|
|
parsers3.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers4 = configuration.parsers;
|
|
let _default3 = new _isNativeReflectConstruct.default();
|
|
parsers4.unshift(new _isNativeReflectConstruct.default());
|
|
const chrono = new require("module_10577").Chrono(configuration);
|
|
const chrono1 = new require("module_10577").Chrono(createConfiguration(true));
|
|
|
|
export const parse = function parse(arg0, arg1, arg2) {
|
|
const casual = exports.casual;
|
|
return casual.parse(arg0, arg1, arg2);
|
|
};
|
|
export const parseDate = function parseDate(arg0, arg1, arg2) {
|
|
const casual = exports.casual;
|
|
return casual.parseDate(arg0, arg1, arg2);
|
|
};
|
|
export { createCasualConfiguration };
|
|
export { createConfiguration };
|
|
export const Chrono = require("module_10577").Chrono;
|
|
export const ParsingResult = require("ReferenceWithTimezone").ParsingResult;
|
|
export const ParsingComponents = require("ReferenceWithTimezone").ParsingComponents;
|
|
export const ReferenceWithTimezone = require("ReferenceWithTimezone").ReferenceWithTimezone;
|
|
export const Meridiem = require("Meridiem").Meridiem;
|
|
export const Weekday = require("Meridiem").Weekday;
|
|
export const casual = chrono;
|
|
export const strict = chrono1;
|