Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
165 lines
5.6 KiB
JavaScript
165 lines
5.6 KiB
JavaScript
// Module ID: 10802
|
|
// Function ID: 10803
|
|
// Dependencies: [10803, 10805, 10807, 10808, 10809, 10810, 10811, 10812, 10813, 10814, 10815, 10671, 10678, 10680, 10704, 10816, 10711]
|
|
// Exports: createCasualConfiguration, parse, parseDate
|
|
|
|
// Module 10802
|
|
import _mod10704 from "module_10704" /* 10704 */;
|
|
import includeCommonConfiguration from "includeCommonConfiguration" /* 10711 */;
|
|
import _mod10803 from "module_10803" /* 10803 */;
|
|
import _mod10805 from "module_10805" /* 10805 */;
|
|
import _mod10807 from "module_10807" /* 10807 */;
|
|
import _mod10808 from "module_10808" /* 10808 */;
|
|
import _mod10809 from "module_10809" /* 10809 */;
|
|
import _mod10810 from "module_10810" /* 10810 */;
|
|
import _mod10811 from "module_10811" /* 10811 */;
|
|
import _mod10812 from "module_10812" /* 10812 */;
|
|
import _mod10813 from "module_10813" /* 10813 */;
|
|
import _mod10814 from "module_10814" /* 10814 */;
|
|
import _mod10815 from "module_10815" /* 10815 */;
|
|
import _mod10816 from "module_10816" /* 10816 */;
|
|
|
|
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(_mod10803);
|
|
fn(_mod10805);
|
|
fn(_mod10807);
|
|
fn(_mod10808);
|
|
fn(_mod10809);
|
|
fn(_mod10810);
|
|
fn(_mod10811);
|
|
fn(_mod10812);
|
|
fn(_mod10813);
|
|
fn(_mod10814);
|
|
fn(_mod10815);
|
|
const regExp = fn(_mod10704);
|
|
const _isNativeReflectConstruct = fn(_mod10816);
|
|
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_10671").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_10671").Chrono(configuration);
|
|
const chrono1 = new require("module_10671").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_10671").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;
|