Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
152 lines
5.8 KiB
JavaScript
152 lines
5.8 KiB
JavaScript
// Module ID: 10631
|
|
// Function ID: 10632
|
|
// Dependencies: [10632, 10634, 10635, 10636, 10637, 10638, 10639, 10640, 10641, 10642, 10643, 10644, 10645, 10646, 10647, 10493, 10648, 10649, 10460, 10500]
|
|
// Exports: createCasualConfiguration, parse, parseDate
|
|
|
|
// Module 10631
|
|
import _mod10460 from "module_10460" /* 10460 */;
|
|
import _mod10493 from "module_10493" /* 10493 */;
|
|
import includeCommonConfiguration from "includeCommonConfiguration" /* 10500 */;
|
|
import _mod10632 from "module_10632" /* 10632 */;
|
|
import _mod10634 from "module_10634" /* 10634 */;
|
|
import _mod10635 from "module_10635" /* 10635 */;
|
|
import _mod10636 from "module_10636" /* 10636 */;
|
|
import _mod10637 from "module_10637" /* 10637 */;
|
|
import _mod10638 from "module_10638" /* 10638 */;
|
|
import _mod10639 from "module_10639" /* 10639 */;
|
|
import _mod10640 from "module_10640" /* 10640 */;
|
|
import _mod10641 from "module_10641" /* 10641 */;
|
|
import _mod10642 from "module_10642" /* 10642 */;
|
|
import _mod10643 from "module_10643" /* 10643 */;
|
|
import _mod10644 from "module_10644" /* 10644 */;
|
|
import _mod10645 from "module_10645" /* 10645 */;
|
|
import _mod10646 from "module_10646" /* 10646 */;
|
|
import _mod10647 from "module_10647" /* 10647 */;
|
|
import _mod10648 from "module_10648" /* 10648 */;
|
|
import _mod10649 from "module_10649" /* 10649 */;
|
|
|
|
function createConfiguration(flag, arg1) {
|
|
if (flag === undefined) {
|
|
flag = true;
|
|
}
|
|
let flag2 = arg1;
|
|
if (arg1 === undefined) {
|
|
flag2 = false;
|
|
}
|
|
const obj = { parsers: null, refiners: null };
|
|
const items = [new regExp.default(flag2), , , , , , , , , ];
|
|
const _default = new regExp.default(flag2);
|
|
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();
|
|
const _default4 = new _isNativeReflectConstruct.default();
|
|
items[5] = new _isNativeReflectConstruct.default();
|
|
const _default5 = new _isNativeReflectConstruct.default();
|
|
items[6] = new _isNativeReflectConstruct.default();
|
|
const _default6 = new _isNativeReflectConstruct.default();
|
|
items[7] = new _isNativeReflectConstruct.default(flag);
|
|
const _default7 = new _isNativeReflectConstruct.default(flag);
|
|
items[8] = new _isNativeReflectConstruct.default(flag);
|
|
const _default8 = new _isNativeReflectConstruct.default(flag);
|
|
items[9] = new _isNativeReflectConstruct.default(flag);
|
|
obj.parsers = items;
|
|
const _default9 = new _isNativeReflectConstruct.default(flag);
|
|
const items1 = [new _isNativeReflectConstruct.default(), , ];
|
|
const _default10 = new _isNativeReflectConstruct.default();
|
|
items1[1] = new _isNativeReflectConstruct.default();
|
|
const _default11 = new _isNativeReflectConstruct.default();
|
|
items1[2] = 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() {
|
|
let flag = arg0;
|
|
if (arg0 === undefined) {
|
|
flag = false;
|
|
}
|
|
const tmp = createConfiguration(false, flag);
|
|
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(_mod10632);
|
|
fn(_mod10634);
|
|
fn(_mod10635);
|
|
fn(_mod10636);
|
|
fn(_mod10637);
|
|
fn(_mod10638);
|
|
fn(_mod10639);
|
|
fn(_mod10640);
|
|
fn(_mod10641);
|
|
fn(_mod10642);
|
|
fn(_mod10643);
|
|
fn(_mod10644);
|
|
fn(_mod10645);
|
|
fn(_mod10646);
|
|
fn(_mod10647);
|
|
const regExp = fn(_mod10493);
|
|
fn(_mod10648);
|
|
const _isNativeReflectConstruct = fn(_mod10649);
|
|
const configuration = createConfiguration(false, false);
|
|
let parsers = configuration.parsers;
|
|
parsers.unshift(new _isNativeReflectConstruct.default());
|
|
let parsers1 = configuration.parsers;
|
|
let _default = new _isNativeReflectConstruct.default();
|
|
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 _mod10460.Chrono(configuration);
|
|
const chrono1 = new _mod10460.Chrono(createConfiguration(true, false));
|
|
const chrono2 = new _mod10460.Chrono(createConfiguration(false, 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 casual = chrono;
|
|
export const strict = chrono1;
|
|
export const GB = chrono2;
|