diff --git a/dist/duDatepicker.css b/dist/duDatepicker.css
index 2e80d97..c48eb61 100644
--- a/dist/duDatepicker.css
+++ b/dist/duDatepicker.css
@@ -33,7 +33,6 @@
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
- -ms-user-select: none;
user-select: none;
outline: none;
border-radius: 4px;
@@ -71,7 +70,6 @@
width: 284px;
-webkit-user-select: none;
-moz-user-select: none;
- -ms-user-select: none;
user-select: none;
overflow: hidden;
flex: 0 1 auto;
diff --git a/dist/duDatepicker.js b/dist/duDatepicker.js
index f1bf471..b6a7dbd 100644
--- a/dist/duDatepicker.js
+++ b/dist/duDatepicker.js
@@ -1,5 +1,5 @@
/*!Don't remove this!
- * duDatepicker v2.0.4 plugin (Vanilla JS)
+ * duDatepicker v2.0.5 plugin
* https://dmuy.github.io/duDatepicker/
*
* Author: Dionlee Uy
@@ -20,23 +20,20 @@
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
}, _typeof(obj);
}
-
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
-
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
- Object.defineProperty(target, descriptor.key, descriptor);
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
}
}
-
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
@@ -45,8 +42,8 @@
});
return Constructor;
}
-
function _defineProperty(obj, key, value) {
+ key = _toPropertyKey(key);
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
@@ -57,22 +54,17 @@
} else {
obj[key] = value;
}
-
return obj;
}
-
function _toConsumableArray(arr) {
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
}
-
function _arrayWithoutHoles(arr) {
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
}
-
function _iterableToArray(iter) {
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
}
-
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
@@ -81,18 +73,28 @@
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}
-
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
-
return arr2;
}
-
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
+ function _toPrimitive(input, hint) {
+ if (typeof input !== "object" || input === null) return input;
+ var prim = input[Symbol.toPrimitive];
+ if (prim !== undefined) {
+ var res = prim.call(input, hint || "default");
+ if (typeof res !== "object") return res;
+ throw new TypeError("@@toPrimitive must return a primitive value.");
+ }
+ return (hint === "string" ? String : Number)(input);
+ }
+ function _toPropertyKey(arg) {
+ var key = _toPrimitive(arg, "string");
+ return typeof key === "symbol" ? key : String(key);
+ }
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -101,8 +103,8 @@
};
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
- var global$I =
- // eslint-disable-next-line es-x/no-global-this -- safe
+ var global$g =
+ // eslint-disable-next-line es/no-global-this -- safe
check(typeof globalThis == 'object' && globalThis) ||
check(typeof window == 'object' && window) ||
// eslint-disable-next-line no-restricted-globals -- safe
@@ -113,7 +115,7 @@
var objectGetOwnPropertyDescriptor = {};
- var fails$n = function (exec) {
+ var fails$o = function (exec) {
try {
return !!exec();
} catch (error) {
@@ -121,18 +123,18 @@
}
};
- var fails$m = fails$n;
+ var fails$n = fails$o;
// Detect IE8's incomplete defineProperty implementation
- var descriptors = !fails$m(function () {
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
+ var descriptors = !fails$n(function () {
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
});
- var fails$l = fails$n;
+ var fails$m = fails$o;
- var functionBindNative = !fails$l(function () {
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
+ var functionBindNative = !fails$m(function () {
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
var test = (function () { /* empty */ }).bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -140,16 +142,16 @@
var NATIVE_BIND$3 = functionBindNative;
- var call$k = Function.prototype.call;
+ var call$p = Function.prototype.call;
- var functionCall = NATIVE_BIND$3 ? call$k.bind(call$k) : function () {
- return call$k.apply(call$k, arguments);
+ var functionCall = NATIVE_BIND$3 ? call$p.bind(call$p) : function () {
+ return call$p.apply(call$p, arguments);
};
var objectPropertyIsEnumerable = {};
var $propertyIsEnumerable = {}.propertyIsEnumerable;
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
// Nashorn ~ JDK8 bug
@@ -174,52 +176,54 @@
var NATIVE_BIND$2 = functionBindNative;
var FunctionPrototype$2 = Function.prototype;
- var bind$4 = FunctionPrototype$2.bind;
- var call$j = FunctionPrototype$2.call;
- var uncurryThis$m = NATIVE_BIND$2 && bind$4.bind(call$j, call$j);
-
- var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
- return fn && uncurryThis$m(fn);
- } : function (fn) {
- return fn && function () {
- return call$j.apply(fn, arguments);
+ var call$o = FunctionPrototype$2.call;
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$o, call$o);
+
+ var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
+ return function () {
+ return call$o.apply(fn, arguments);
};
};
- var uncurryThis$l = functionUncurryThis;
+ var uncurryThis$m = functionUncurryThis;
- var toString$a = uncurryThis$l({}.toString);
- var stringSlice$5 = uncurryThis$l(''.slice);
+ var toString$a = uncurryThis$m({}.toString);
+ var stringSlice$6 = uncurryThis$m(''.slice);
- var classofRaw$1 = function (it) {
- return stringSlice$5(toString$a(it), 8, -1);
+ var classofRaw$2 = function (it) {
+ return stringSlice$6(toString$a(it), 8, -1);
};
- var global$H = global$I;
- var uncurryThis$k = functionUncurryThis;
- var fails$k = fails$n;
- var classof$8 = classofRaw$1;
+ var uncurryThis$l = functionUncurryThis;
+ var fails$l = fails$o;
+ var classof$8 = classofRaw$2;
- var Object$5 = global$H.Object;
- var split = uncurryThis$k(''.split);
+ var $Object$4 = Object;
+ var split = uncurryThis$l(''.split);
// fallback for non-array-like ES3 and non-enumerable old V8 strings
- var indexedObject = fails$k(function () {
+ var indexedObject = fails$l(function () {
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
// eslint-disable-next-line no-prototype-builtins -- safe
- return !Object$5('z').propertyIsEnumerable(0);
+ return !$Object$4('z').propertyIsEnumerable(0);
}) ? function (it) {
- return classof$8(it) == 'String' ? split(it, '') : Object$5(it);
- } : Object$5;
+ return classof$8(it) == 'String' ? split(it, '') : $Object$4(it);
+ } : $Object$4;
- var global$G = global$I;
+ // we can't use just `it == null` since of `document.all` special case
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
+ var isNullOrUndefined$7 = function (it) {
+ return it === null || it === undefined;
+ };
+
+ var isNullOrUndefined$6 = isNullOrUndefined$7;
- var TypeError$h = global$G.TypeError;
+ var $TypeError$f = TypeError;
// `RequireObjectCoercible` abstract operation
// https://tc39.es/ecma262/#sec-requireobjectcoercible
var requireObjectCoercible$6 = function (it) {
- if (it == undefined) throw TypeError$h("Can't call method on " + it);
+ if (isNullOrUndefined$6(it)) throw $TypeError$f("Can't call method on " + it);
return it;
};
@@ -231,42 +235,62 @@
return IndexedObject$2(requireObjectCoercible$5(it));
};
+ var documentAll$2 = typeof document == 'object' && document.all;
+
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
+ var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
+
+ var documentAll_1 = {
+ all: documentAll$2,
+ IS_HTMLDDA: IS_HTMLDDA
+ };
+
+ var $documentAll$1 = documentAll_1;
+
+ var documentAll$1 = $documentAll$1.all;
+
// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
- var isCallable$j = function (argument) {
+ var isCallable$k = $documentAll$1.IS_HTMLDDA ? function (argument) {
+ return typeof argument == 'function' || argument === documentAll$1;
+ } : function (argument) {
return typeof argument == 'function';
};
- var isCallable$i = isCallable$j;
+ var isCallable$j = isCallable$k;
+ var $documentAll = documentAll_1;
- var isObject$9 = function (it) {
- return typeof it == 'object' ? it !== null : isCallable$i(it);
+ var documentAll = $documentAll.all;
+
+ var isObject$e = $documentAll.IS_HTMLDDA ? function (it) {
+ return typeof it == 'object' ? it !== null : isCallable$j(it) || it === documentAll;
+ } : function (it) {
+ return typeof it == 'object' ? it !== null : isCallable$j(it);
};
- var global$F = global$I;
- var isCallable$h = isCallable$j;
+ var global$f = global$g;
+ var isCallable$i = isCallable$k;
var aFunction = function (argument) {
- return isCallable$h(argument) ? argument : undefined;
+ return isCallable$i(argument) ? argument : undefined;
};
var getBuiltIn$8 = function (namespace, method) {
- return arguments.length < 2 ? aFunction(global$F[namespace]) : global$F[namespace] && global$F[namespace][method];
+ return arguments.length < 2 ? aFunction(global$f[namespace]) : global$f[namespace] && global$f[namespace][method];
};
- var uncurryThis$j = functionUncurryThis;
-
- var objectIsPrototypeOf = uncurryThis$j({}.isPrototypeOf);
+ var uncurryThis$k = functionUncurryThis;
- var getBuiltIn$7 = getBuiltIn$8;
+ var objectIsPrototypeOf = uncurryThis$k({}.isPrototypeOf);
- var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
+ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
- var global$E = global$I;
+ var global$e = global$g;
var userAgent$2 = engineUserAgent;
- var process = global$E.process;
- var Deno = global$E.Deno;
+ var process = global$e.process;
+ var Deno = global$e.Deno;
var versions = process && process.versions || Deno && Deno.version;
var v8 = versions && versions.v8;
var match, version;
@@ -290,13 +314,13 @@
var engineV8Version = version;
- /* eslint-disable es-x/no-symbol -- required for testing */
+ /* eslint-disable es/no-symbol -- required for testing */
var V8_VERSION$2 = engineV8Version;
- var fails$j = fails$n;
+ var fails$k = fails$o;
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$j(function () {
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$k(function () {
var symbol = Symbol();
// Chrome 38 Symbol has incorrect toString conversion
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -305,99 +329,95 @@
!Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
});
- /* eslint-disable es-x/no-symbol -- required for testing */
+ /* eslint-disable es/no-symbol -- required for testing */
- var NATIVE_SYMBOL$1 = nativeSymbol;
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
var useSymbolAsUid = NATIVE_SYMBOL$1
&& !Symbol.sham
&& typeof Symbol.iterator == 'symbol';
- var global$D = global$I;
- var getBuiltIn$6 = getBuiltIn$8;
- var isCallable$g = isCallable$j;
+ var getBuiltIn$7 = getBuiltIn$8;
+ var isCallable$h = isCallable$k;
var isPrototypeOf$3 = objectIsPrototypeOf;
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
- var Object$4 = global$D.Object;
+ var $Object$3 = Object;
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
return typeof it == 'symbol';
} : function (it) {
- var $Symbol = getBuiltIn$6('Symbol');
- return isCallable$g($Symbol) && isPrototypeOf$3($Symbol.prototype, Object$4(it));
+ var $Symbol = getBuiltIn$7('Symbol');
+ return isCallable$h($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
};
- var global$C = global$I;
+ var $String$4 = String;
- var String$4 = global$C.String;
-
- var tryToString$4 = function (argument) {
+ var tryToString$5 = function (argument) {
try {
- return String$4(argument);
+ return $String$4(argument);
} catch (error) {
return 'Object';
}
};
- var global$B = global$I;
- var isCallable$f = isCallable$j;
- var tryToString$3 = tryToString$4;
+ var isCallable$g = isCallable$k;
+ var tryToString$4 = tryToString$5;
- var TypeError$g = global$B.TypeError;
+ var $TypeError$e = TypeError;
// `Assert: IsCallable(argument) is true`
- var aCallable$e = function (argument) {
- if (isCallable$f(argument)) return argument;
- throw TypeError$g(tryToString$3(argument) + ' is not a function');
+ var aCallable$f = function (argument) {
+ if (isCallable$g(argument)) return argument;
+ throw $TypeError$e(tryToString$4(argument) + ' is not a function');
};
- var aCallable$d = aCallable$e;
+ var aCallable$e = aCallable$f;
+ var isNullOrUndefined$5 = isNullOrUndefined$7;
// `GetMethod` abstract operation
// https://tc39.es/ecma262/#sec-getmethod
var getMethod$9 = function (V, P) {
var func = V[P];
- return func == null ? undefined : aCallable$d(func);
+ return isNullOrUndefined$5(func) ? undefined : aCallable$e(func);
};
- var global$A = global$I;
- var call$i = functionCall;
- var isCallable$e = isCallable$j;
- var isObject$8 = isObject$9;
+ var call$n = functionCall;
+ var isCallable$f = isCallable$k;
+ var isObject$d = isObject$e;
- var TypeError$f = global$A.TypeError;
+ var $TypeError$d = TypeError;
// `OrdinaryToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
var ordinaryToPrimitive$1 = function (input, pref) {
var fn, val;
- if (pref === 'string' && isCallable$e(fn = input.toString) && !isObject$8(val = call$i(fn, input))) return val;
- if (isCallable$e(fn = input.valueOf) && !isObject$8(val = call$i(fn, input))) return val;
- if (pref !== 'string' && isCallable$e(fn = input.toString) && !isObject$8(val = call$i(fn, input))) return val;
- throw TypeError$f("Can't convert object to primitive value");
+ if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$d(val = call$n(fn, input))) return val;
+ if (isCallable$f(fn = input.valueOf) && !isObject$d(val = call$n(fn, input))) return val;
+ if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$d(val = call$n(fn, input))) return val;
+ throw $TypeError$d("Can't convert object to primitive value");
};
var shared$5 = {exports: {}};
- var global$z = global$I;
+ var global$d = global$g;
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
- var defineProperty$1 = Object.defineProperty;
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ var defineProperty$3 = Object.defineProperty;
- var setGlobal$3 = function (key, value) {
+ var defineGlobalProperty$3 = function (key, value) {
try {
- defineProperty$1(global$z, key, { value: value, configurable: true, writable: true });
+ defineProperty$3(global$d, key, { value: value, configurable: true, writable: true });
} catch (error) {
- global$z[key] = value;
+ global$d[key] = value;
} return value;
};
- var global$y = global$I;
- var setGlobal$2 = setGlobal$3;
+ var global$c = global$g;
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
var SHARED = '__core-js_shared__';
- var store$3 = global$y[SHARED] || setGlobal$2(SHARED, {});
+ var store$3 = global$c[SHARED] || defineGlobalProperty$2(SHARED, {});
var sharedStore = store$3;
@@ -406,93 +426,87 @@
(shared$5.exports = function (key, value) {
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
})('versions', []).push({
- version: '3.22.2',
+ version: '3.30.1',
mode: 'global',
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE',
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
+ license: 'https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
- var global$x = global$I;
+ var sharedExports = shared$5.exports;
+
var requireObjectCoercible$4 = requireObjectCoercible$6;
- var Object$3 = global$x.Object;
+ var $Object$2 = Object;
// `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
var toObject$8 = function (argument) {
- return Object$3(requireObjectCoercible$4(argument));
+ return $Object$2(requireObjectCoercible$4(argument));
};
- var uncurryThis$i = functionUncurryThis;
+ var uncurryThis$j = functionUncurryThis;
var toObject$7 = toObject$8;
- var hasOwnProperty = uncurryThis$i({}.hasOwnProperty);
+ var hasOwnProperty = uncurryThis$j({}.hasOwnProperty);
// `HasOwnProperty` abstract operation
// https://tc39.es/ecma262/#sec-hasownproperty
- // eslint-disable-next-line es-x/no-object-hasown -- safe
+ // eslint-disable-next-line es/no-object-hasown -- safe
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
return hasOwnProperty(toObject$7(it), key);
};
- var uncurryThis$h = functionUncurryThis;
+ var uncurryThis$i = functionUncurryThis;
var id = 0;
var postfix = Math.random();
- var toString$9 = uncurryThis$h(1.0.toString);
+ var toString$9 = uncurryThis$i(1.0.toString);
var uid$2 = function (key) {
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$9(++id + postfix, 36);
};
- var global$w = global$I;
- var shared$4 = shared$5.exports;
+ var global$b = global$g;
+ var shared$4 = sharedExports;
var hasOwn$a = hasOwnProperty_1;
var uid$1 = uid$2;
- var NATIVE_SYMBOL = nativeSymbol;
+ var NATIVE_SYMBOL = symbolConstructorDetection;
var USE_SYMBOL_AS_UID = useSymbolAsUid;
+ var Symbol$1 = global$b.Symbol;
var WellKnownSymbolsStore = shared$4('wks');
- var Symbol$1 = global$w.Symbol;
- var symbolFor = Symbol$1 && Symbol$1['for'];
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
var wellKnownSymbol$m = function (name) {
- if (!hasOwn$a(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
- var description = 'Symbol.' + name;
- if (NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)) {
- WellKnownSymbolsStore[name] = Symbol$1[name];
- } else if (USE_SYMBOL_AS_UID && symbolFor) {
- WellKnownSymbolsStore[name] = symbolFor(description);
- } else {
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
- }
+ if (!hasOwn$a(WellKnownSymbolsStore, name)) {
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
+ ? Symbol$1[name]
+ : createWellKnownSymbol('Symbol.' + name);
} return WellKnownSymbolsStore[name];
};
- var global$v = global$I;
- var call$h = functionCall;
- var isObject$7 = isObject$9;
+ var call$m = functionCall;
+ var isObject$c = isObject$e;
var isSymbol$1 = isSymbol$2;
var getMethod$8 = getMethod$9;
var ordinaryToPrimitive = ordinaryToPrimitive$1;
var wellKnownSymbol$l = wellKnownSymbol$m;
- var TypeError$e = global$v.TypeError;
+ var $TypeError$c = TypeError;
var TO_PRIMITIVE = wellKnownSymbol$l('toPrimitive');
// `ToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-toprimitive
var toPrimitive$1 = function (input, pref) {
- if (!isObject$7(input) || isSymbol$1(input)) return input;
+ if (!isObject$c(input) || isSymbol$1(input)) return input;
var exoticToPrim = getMethod$8(input, TO_PRIMITIVE);
var result;
if (exoticToPrim) {
if (pref === undefined) pref = 'default';
- result = call$h(exoticToPrim, input, pref);
- if (!isObject$7(result) || isSymbol$1(result)) return result;
- throw TypeError$e("Can't convert object to primitive value");
+ result = call$m(exoticToPrim, input, pref);
+ if (!isObject$c(result) || isSymbol$1(result)) return result;
+ throw $TypeError$c("Can't convert object to primitive value");
}
if (pref === undefined) pref = 'number';
return ordinaryToPrimitive(input, pref);
@@ -508,31 +522,31 @@
return isSymbol(key) ? key : key + '';
};
- var global$u = global$I;
- var isObject$6 = isObject$9;
+ var global$a = global$g;
+ var isObject$b = isObject$e;
- var document$1 = global$u.document;
+ var document$1 = global$a.document;
// typeof document.createElement is 'object' in old IE
- var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
+ var EXISTS$1 = isObject$b(document$1) && isObject$b(document$1.createElement);
var documentCreateElement$2 = function (it) {
return EXISTS$1 ? document$1.createElement(it) : {};
};
- var DESCRIPTORS$6 = descriptors;
- var fails$i = fails$n;
+ var DESCRIPTORS$7 = descriptors;
+ var fails$j = fails$o;
var createElement = documentCreateElement$2;
// Thanks to IE8 for its funny defineProperty
- var ie8DomDefine = !DESCRIPTORS$6 && !fails$i(function () {
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
+ var ie8DomDefine = !DESCRIPTORS$7 && !fails$j(function () {
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty(createElement('div'), 'a', {
get: function () { return 7; }
}).a != 7;
});
- var DESCRIPTORS$5 = descriptors;
- var call$g = functionCall;
+ var DESCRIPTORS$6 = descriptors;
+ var call$l = functionCall;
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
var toIndexedObject$5 = toIndexedObject$6;
@@ -540,58 +554,56 @@
var hasOwn$9 = hasOwnProperty_1;
var IE8_DOM_DEFINE$1 = ie8DomDefine;
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject$5(O);
P = toPropertyKey$2(P);
if (IE8_DOM_DEFINE$1) try {
return $getOwnPropertyDescriptor$1(O, P);
} catch (error) { /* empty */ }
- if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$g(propertyIsEnumerableModule.f, O, P), O[P]);
+ if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$l(propertyIsEnumerableModule.f, O, P), O[P]);
};
var objectDefineProperty = {};
- var DESCRIPTORS$4 = descriptors;
- var fails$h = fails$n;
+ var DESCRIPTORS$5 = descriptors;
+ var fails$i = fails$o;
// V8 ~ Chrome 36-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
- var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$h(function () {
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
+ var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$i(function () {
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
value: 42,
writable: false
}).prototype != 42;
});
- var global$t = global$I;
- var isObject$5 = isObject$9;
+ var isObject$a = isObject$e;
- var String$3 = global$t.String;
- var TypeError$d = global$t.TypeError;
+ var $String$3 = String;
+ var $TypeError$b = TypeError;
// `Assert: Type(argument) is Object`
- var anObject$r = function (argument) {
- if (isObject$5(argument)) return argument;
- throw TypeError$d(String$3(argument) + ' is not an object');
+ var anObject$q = function (argument) {
+ if (isObject$a(argument)) return argument;
+ throw $TypeError$b($String$3(argument) + ' is not an object');
};
- var global$s = global$I;
- var DESCRIPTORS$3 = descriptors;
+ var DESCRIPTORS$4 = descriptors;
var IE8_DOM_DEFINE = ie8DomDefine;
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
- var anObject$q = anObject$r;
+ var anObject$p = anObject$q;
var toPropertyKey$1 = toPropertyKey$3;
- var TypeError$c = global$s.TypeError;
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
+ var $TypeError$a = TypeError;
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty = Object.defineProperty;
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var ENUMERABLE = 'enumerable';
var CONFIGURABLE$1 = 'configurable';
@@ -599,10 +611,10 @@
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
- objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
- anObject$q(O);
+ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
+ anObject$p(O);
P = toPropertyKey$1(P);
- anObject$q(Attributes);
+ anObject$p(Attributes);
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
var current = $getOwnPropertyDescriptor(O, P);
if (current && current[WRITABLE]) {
@@ -615,54 +627,71 @@
}
} return $defineProperty(O, P, Attributes);
} : $defineProperty : function defineProperty(O, P, Attributes) {
- anObject$q(O);
+ anObject$p(O);
P = toPropertyKey$1(P);
- anObject$q(Attributes);
+ anObject$p(Attributes);
if (IE8_DOM_DEFINE) try {
return $defineProperty(O, P, Attributes);
} catch (error) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$c('Accessors not supported');
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
- var DESCRIPTORS$2 = descriptors;
+ var DESCRIPTORS$3 = descriptors;
var definePropertyModule$4 = objectDefineProperty;
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
- var createNonEnumerableProperty$9 = DESCRIPTORS$2 ? function (object, key, value) {
+ var createNonEnumerableProperty$8 = DESCRIPTORS$3 ? function (object, key, value) {
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
- var redefine$8 = {exports: {}};
+ var makeBuiltIn$2 = {exports: {}};
- var uncurryThis$g = functionUncurryThis;
- var isCallable$d = isCallable$j;
+ var DESCRIPTORS$2 = descriptors;
+ var hasOwn$8 = hasOwnProperty_1;
+
+ var FunctionPrototype$1 = Function.prototype;
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
+
+ var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
+ // additional protection from minified / mangled / dropped function names
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype$1, 'name').configurable));
+
+ var functionName = {
+ EXISTS: EXISTS,
+ PROPER: PROPER,
+ CONFIGURABLE: CONFIGURABLE
+ };
+
+ var uncurryThis$h = functionUncurryThis;
+ var isCallable$e = isCallable$k;
var store$1 = sharedStore;
- var functionToString = uncurryThis$g(Function.toString);
+ var functionToString = uncurryThis$h(Function.toString);
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
- if (!isCallable$d(store$1.inspectSource)) {
+ if (!isCallable$e(store$1.inspectSource)) {
store$1.inspectSource = function (it) {
return functionToString(it);
};
}
- var inspectSource$3 = store$1.inspectSource;
+ var inspectSource$2 = store$1.inspectSource;
- var global$r = global$I;
- var isCallable$c = isCallable$j;
- var inspectSource$2 = inspectSource$3;
+ var global$9 = global$g;
+ var isCallable$d = isCallable$k;
- var WeakMap$1 = global$r.WeakMap;
+ var WeakMap$1 = global$9.WeakMap;
- var nativeWeakMap = isCallable$c(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
+ var weakMapBasicDetection = isCallable$d(WeakMap$1) && /native code/.test(String(WeakMap$1));
- var shared$3 = shared$5.exports;
+ var shared$3 = sharedExports;
var uid = uid$2;
var keys = shared$3('keys');
@@ -673,19 +702,18 @@
var hiddenKeys$4 = {};
- var NATIVE_WEAK_MAP = nativeWeakMap;
- var global$q = global$I;
- var uncurryThis$f = functionUncurryThis;
- var isObject$4 = isObject$9;
- var createNonEnumerableProperty$8 = createNonEnumerableProperty$9;
- var hasOwn$8 = hasOwnProperty_1;
+ var NATIVE_WEAK_MAP = weakMapBasicDetection;
+ var global$8 = global$g;
+ var isObject$9 = isObject$e;
+ var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
+ var hasOwn$7 = hasOwnProperty_1;
var shared$2 = sharedStore;
var sharedKey$2 = sharedKey$3;
var hiddenKeys$3 = hiddenKeys$4;
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
- var TypeError$b = global$q.TypeError;
- var WeakMap = global$q.WeakMap;
+ var TypeError$1 = global$8.TypeError;
+ var WeakMap = global$8.WeakMap;
var set, get, has;
var enforce = function (it) {
@@ -695,43 +723,45 @@
var getterFor = function (TYPE) {
return function (it) {
var state;
- if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
- throw TypeError$b('Incompatible receiver, ' + TYPE + ' required');
+ if (!isObject$9(it) || (state = get(it)).type !== TYPE) {
+ throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
} return state;
};
};
if (NATIVE_WEAK_MAP || shared$2.state) {
var store = shared$2.state || (shared$2.state = new WeakMap());
- var wmget = uncurryThis$f(store.get);
- var wmhas = uncurryThis$f(store.has);
- var wmset = uncurryThis$f(store.set);
+ /* eslint-disable no-self-assign -- prototype methods protection */
+ store.get = store.get;
+ store.has = store.has;
+ store.set = store.set;
+ /* eslint-enable no-self-assign -- prototype methods protection */
set = function (it, metadata) {
- if (wmhas(store, it)) throw new TypeError$b(OBJECT_ALREADY_INITIALIZED);
+ if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
- wmset(store, it, metadata);
+ store.set(it, metadata);
return metadata;
};
get = function (it) {
- return wmget(store, it) || {};
+ return store.get(it) || {};
};
has = function (it) {
- return wmhas(store, it);
+ return store.has(it);
};
} else {
var STATE = sharedKey$2('state');
hiddenKeys$3[STATE] = true;
set = function (it, metadata) {
- if (hasOwn$8(it, STATE)) throw new TypeError$b(OBJECT_ALREADY_INITIALIZED);
+ if (hasOwn$7(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
- createNonEnumerableProperty$8(it, STATE, metadata);
+ createNonEnumerableProperty$7(it, STATE, metadata);
return metadata;
};
get = function (it) {
- return hasOwn$8(it, STATE) ? it[STATE] : {};
+ return hasOwn$7(it, STATE) ? it[STATE] : {};
};
has = function (it) {
- return hasOwn$8(it, STATE);
+ return hasOwn$7(it, STATE);
};
}
@@ -743,82 +773,112 @@
getterFor: getterFor
};
- var DESCRIPTORS$1 = descriptors;
- var hasOwn$7 = hasOwnProperty_1;
-
- var FunctionPrototype$1 = Function.prototype;
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
- var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
-
- var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
- // additional protection from minified / mangled / dropped function names
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype$1, 'name').configurable));
-
- var functionName = {
- EXISTS: EXISTS,
- PROPER: PROPER,
- CONFIGURABLE: CONFIGURABLE
- };
-
- var global$p = global$I;
- var isCallable$b = isCallable$j;
+ var uncurryThis$g = functionUncurryThis;
+ var fails$h = fails$o;
+ var isCallable$c = isCallable$k;
var hasOwn$6 = hasOwnProperty_1;
- var createNonEnumerableProperty$7 = createNonEnumerableProperty$9;
- var setGlobal$1 = setGlobal$3;
- var inspectSource$1 = inspectSource$3;
- var InternalStateModule$3 = internalState;
+ var DESCRIPTORS$1 = descriptors;
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
+ var inspectSource$1 = inspectSource$2;
+ var InternalStateModule$3 = internalState;
- var getInternalState$4 = InternalStateModule$3.get;
var enforceInternalState = InternalStateModule$3.enforce;
+ var getInternalState$2 = InternalStateModule$3.get;
+ var $String$2 = String;
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
+ var defineProperty$2 = Object.defineProperty;
+ var stringSlice$5 = uncurryThis$g(''.slice);
+ var replace$2 = uncurryThis$g(''.replace);
+ var join = uncurryThis$g([].join);
+
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$h(function () {
+ return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
+ });
+
var TEMPLATE = String(String).split('String');
- (redefine$8.exports = function (O, key, value, options) {
- var unsafe = options ? !!options.unsafe : false;
- var simple = options ? !!options.enumerable : false;
- var noTargetGet = options ? !!options.noTargetGet : false;
- var name = options && options.name !== undefined ? options.name : key;
- var state;
- if (isCallable$b(value)) {
- if (String(name).slice(0, 7) === 'Symbol(') {
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
- }
- if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
- createNonEnumerableProperty$7(value, 'name', name);
- }
- state = enforceInternalState(value);
- if (!state.source) {
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
- }
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
+ if (stringSlice$5($String$2(name), 0, 7) === 'Symbol(') {
+ name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
}
- if (O === global$p) {
- if (simple) O[key] = value;
- else setGlobal$1(key, value);
- return;
- } else if (!unsafe) {
- delete O[key];
- } else if (!noTargetGet && O[key]) {
- simple = true;
+ if (options && options.getter) name = 'get ' + name;
+ if (options && options.setter) name = 'set ' + name;
+ if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
+ if (DESCRIPTORS$1) defineProperty$2(value, 'name', { value: name, configurable: true });
+ else value.name = name;
+ }
+ if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
+ defineProperty$2(value, 'length', { value: options.arity });
}
- if (simple) O[key] = value;
- else createNonEnumerableProperty$7(O, key, value);
+ try {
+ if (options && hasOwn$6(options, 'constructor') && options.constructor) {
+ if (DESCRIPTORS$1) defineProperty$2(value, 'prototype', { writable: false });
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
+ } else if (value.prototype) value.prototype = undefined;
+ } catch (error) { /* empty */ }
+ var state = enforceInternalState(value);
+ if (!hasOwn$6(state, 'source')) {
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
+ } return value;
+ };
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
- })(Function.prototype, 'toString', function toString() {
- return isCallable$b(this) && getInternalState$4(this).source || inspectSource$1(this);
- });
+ // eslint-disable-next-line no-extend-native -- required
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
+ return isCallable$c(this) && getInternalState$2(this).source || inspectSource$1(this);
+ }, 'toString');
+
+ var makeBuiltInExports = makeBuiltIn$2.exports;
+
+ var isCallable$b = isCallable$k;
+ var definePropertyModule$3 = objectDefineProperty;
+ var makeBuiltIn = makeBuiltInExports;
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
+
+ var defineBuiltIn$8 = function (O, key, value, options) {
+ if (!options) options = {};
+ var simple = options.enumerable;
+ var name = options.name !== undefined ? options.name : key;
+ if (isCallable$b(value)) makeBuiltIn(value, name, options);
+ if (options.global) {
+ if (simple) O[key] = value;
+ else defineGlobalProperty$1(key, value);
+ } else {
+ try {
+ if (!options.unsafe) delete O[key];
+ else if (O[key]) simple = true;
+ } catch (error) { /* empty */ }
+ if (simple) O[key] = value;
+ else definePropertyModule$3.f(O, key, {
+ value: value,
+ enumerable: false,
+ configurable: !options.nonConfigurable,
+ writable: !options.nonWritable
+ });
+ } return O;
+ };
var objectGetOwnPropertyNames = {};
var ceil = Math.ceil;
var floor$2 = Math.floor;
+ // `Math.trunc` method
+ // https://tc39.es/ecma262/#sec-math.trunc
+ // eslint-disable-next-line es/no-math-trunc -- safe
+ var mathTrunc = Math.trunc || function trunc(x) {
+ var n = +x;
+ return (n > 0 ? floor$2 : ceil)(n);
+ };
+
+ var trunc = mathTrunc;
+
// `ToIntegerOrInfinity` abstract operation
// https://tc39.es/ecma262/#sec-tointegerorinfinity
var toIntegerOrInfinity$4 = function (argument) {
var number = +argument;
- // eslint-disable-next-line no-self-compare -- safe
- return number !== number || number === 0 ? 0 : (number > 0 ? floor$2 : ceil)(number);
+ // eslint-disable-next-line no-self-compare -- NaN check
+ return number !== number || number === 0 ? 0 : trunc(number);
};
var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
@@ -885,13 +945,13 @@
indexOf: createMethod$3(false)
};
- var uncurryThis$e = functionUncurryThis;
+ var uncurryThis$f = functionUncurryThis;
var hasOwn$5 = hasOwnProperty_1;
var toIndexedObject$3 = toIndexedObject$6;
var indexOf$1 = arrayIncludes.indexOf;
var hiddenKeys$2 = hiddenKeys$4;
- var push$4 = uncurryThis$e([].push);
+ var push$4 = uncurryThis$f([].push);
var objectKeysInternal = function (object, names) {
var O = toIndexedObject$3(object);
@@ -924,27 +984,27 @@
// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys$1(O, hiddenKeys$1);
};
var objectGetOwnPropertySymbols = {};
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
- var getBuiltIn$5 = getBuiltIn$8;
- var uncurryThis$d = functionUncurryThis;
+ var getBuiltIn$6 = getBuiltIn$8;
+ var uncurryThis$e = functionUncurryThis;
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
- var anObject$p = anObject$r;
+ var anObject$o = anObject$q;
- var concat$1 = uncurryThis$d([].concat);
+ var concat$1 = uncurryThis$e([].concat);
// all object keys, includes non-enumerable and symbols
- var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
- var keys = getOwnPropertyNamesModule.f(anObject$p(it));
+ var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
+ var keys = getOwnPropertyNamesModule.f(anObject$o(it));
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
};
@@ -952,11 +1012,11 @@
var hasOwn$4 = hasOwnProperty_1;
var ownKeys = ownKeys$1;
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
- var definePropertyModule$3 = objectDefineProperty;
+ var definePropertyModule$2 = objectDefineProperty;
var copyConstructorProperties$1 = function (target, source, exceptions) {
var keys = ownKeys(source);
- var defineProperty = definePropertyModule$3.f;
+ var defineProperty = definePropertyModule$2.f;
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
@@ -966,8 +1026,8 @@
}
};
- var fails$g = fails$n;
- var isCallable$a = isCallable$j;
+ var fails$g = fails$o;
+ var isCallable$a = isCallable$k;
var replacement = /#|\.prototype\./;
@@ -989,28 +1049,28 @@
var isForced_1 = isForced$1;
- var global$o = global$I;
+ var global$7 = global$g;
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
- var createNonEnumerableProperty$6 = createNonEnumerableProperty$9;
- var redefine$7 = redefine$8.exports;
- var setGlobal = setGlobal$3;
+ var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
+ var defineBuiltIn$7 = defineBuiltIn$8;
+ var defineGlobalProperty = defineGlobalProperty$3;
var copyConstructorProperties = copyConstructorProperties$1;
var isForced = isForced_1;
/*
- options.target - name of the target object
- options.global - target is the global object
- options.stat - export as static methods of target
- options.proto - export as prototype methods of target
- options.real - real prototype method for the `pure` version
- options.forced - export even if the native feature is available
- options.bind - bind methods to the target, required for the `pure` version
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
- options.sham - add a flag to not completely full polyfills
- options.enumerable - export as enumerable property
- options.noTargetGet - prevent calling a getter on target
- options.name - the .name of the function if it does not match the key
+ options.target - name of the target object
+ options.global - target is the global object
+ options.stat - export as static methods of target
+ options.proto - export as prototype methods of target
+ options.real - real prototype method for the `pure` version
+ options.forced - export even if the native feature is available
+ options.bind - bind methods to the target, required for the `pure` version
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
+ options.sham - add a flag to not completely full polyfills
+ options.enumerable - export as enumerable property
+ options.dontCallGetSet - prevent calling a getter on target
+ options.name - the .name of the function if it does not match the key
*/
var _export = function (options, source) {
var TARGET = options.target;
@@ -1018,15 +1078,15 @@
var STATIC = options.stat;
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
if (GLOBAL) {
- target = global$o;
+ target = global$7;
} else if (STATIC) {
- target = global$o[TARGET] || setGlobal(TARGET, {});
+ target = global$7[TARGET] || defineGlobalProperty(TARGET, {});
} else {
- target = (global$o[TARGET] || {}).prototype;
+ target = (global$7[TARGET] || {}).prototype;
}
if (target) for (key in source) {
sourceProperty = source[key];
- if (options.noTargetGet) {
+ if (options.dontCallGetSet) {
descriptor = getOwnPropertyDescriptor(target, key);
targetProperty = descriptor && descriptor.value;
} else targetProperty = target[key];
@@ -1040,8 +1100,7 @@
if (options.sham || (targetProperty && targetProperty.sham)) {
createNonEnumerableProperty$6(sourceProperty, 'sham', true);
}
- // extend global
- redefine$7(target, key, sourceProperty, options);
+ defineBuiltIn$7(target, key, sourceProperty, options);
}
};
@@ -1054,17 +1113,16 @@
var toStringTagSupport = String(test$1) === '[object z]';
- var global$n = global$I;
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
- var isCallable$9 = isCallable$j;
- var classofRaw = classofRaw$1;
+ var isCallable$9 = isCallable$k;
+ var classofRaw$1 = classofRaw$2;
var wellKnownSymbol$j = wellKnownSymbol$m;
var TO_STRING_TAG$4 = wellKnownSymbol$j('toStringTag');
- var Object$2 = global$n.Object;
+ var $Object$1 = Object;
// ES3 wrong here
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
+ var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
// fallback for IE11 Script Access Denied error
var tryGet = function (it, key) {
@@ -1074,33 +1132,32 @@
};
// getting tag from ES6+ `Object.prototype.toString`
- var classof$7 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
+ var classof$7 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {
var O, tag, result;
return it === undefined ? 'Undefined' : it === null ? 'Null'
// @@toStringTag case
- : typeof (tag = tryGet(O = Object$2(it), TO_STRING_TAG$4)) == 'string' ? tag
+ : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$4)) == 'string' ? tag
// builtinTag case
- : CORRECT_ARGUMENTS ? classofRaw(O)
+ : CORRECT_ARGUMENTS ? classofRaw$1(O)
// ES3 arguments fallback
- : (result = classofRaw(O)) == 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
+ : (result = classofRaw$1(O)) == 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
};
- var global$m = global$I;
var classof$6 = classof$7;
- var String$2 = global$m.String;
+ var $String$1 = String;
var toString$8 = function (argument) {
if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
- return String$2(argument);
+ return $String$1(argument);
};
- var anObject$o = anObject$r;
+ var anObject$n = anObject$q;
// `RegExp.prototype.flags` getter implementation
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
var regexpFlags$1 = function () {
- var that = anObject$o(this);
+ var that = anObject$n(this);
var result = '';
if (that.hasIndices) result += 'd';
if (that.global) result += 'g';
@@ -1108,15 +1165,16 @@
if (that.multiline) result += 'm';
if (that.dotAll) result += 's';
if (that.unicode) result += 'u';
+ if (that.unicodeSets) result += 'v';
if (that.sticky) result += 'y';
return result;
};
- var fails$f = fails$n;
- var global$l = global$I;
+ var fails$f = fails$o;
+ var global$6 = global$g;
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
- var $RegExp$2 = global$l.RegExp;
+ var $RegExp$2 = global$6.RegExp;
var UNSUPPORTED_Y$2 = fails$f(function () {
var re = $RegExp$2('a', 'y');
@@ -1150,39 +1208,39 @@
// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
- // eslint-disable-next-line es-x/no-object-keys -- safe
+ // eslint-disable-next-line es/no-object-keys -- safe
var objectKeys$1 = Object.keys || function keys(O) {
return internalObjectKeys(O, enumBugKeys$1);
};
var DESCRIPTORS = descriptors;
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
- var definePropertyModule$2 = objectDefineProperty;
- var anObject$n = anObject$r;
+ var definePropertyModule$1 = objectDefineProperty;
+ var anObject$m = anObject$q;
var toIndexedObject$2 = toIndexedObject$6;
var objectKeys = objectKeys$1;
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject$n(O);
+ anObject$m(O);
var props = toIndexedObject$2(Properties);
var keys = objectKeys(Properties);
var length = keys.length;
var index = 0;
var key;
- while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
+ while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
return O;
};
- var getBuiltIn$4 = getBuiltIn$8;
+ var getBuiltIn$5 = getBuiltIn$8;
- var html$1 = getBuiltIn$4('document', 'documentElement');
+ var html$1 = getBuiltIn$5('document', 'documentElement');
/* global ActiveXObject -- old IE, WSH */
- var anObject$m = anObject$r;
+ var anObject$l = anObject$q;
var definePropertiesModule = objectDefineProperties;
var enumBugKeys = enumBugKeys$3;
var hiddenKeys = hiddenKeys$4;
@@ -1252,11 +1310,11 @@
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
- // eslint-disable-next-line es-x/no-object-create -- safe
+ // eslint-disable-next-line es/no-object-create -- safe
var objectCreate = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
- EmptyConstructor[PROTOTYPE] = anObject$m(O);
+ EmptyConstructor[PROTOTYPE] = anObject$l(O);
result = new EmptyConstructor();
EmptyConstructor[PROTOTYPE] = null;
// add "__proto__" for Object.getPrototypeOf polyfill
@@ -1265,22 +1323,22 @@
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
};
- var fails$e = fails$n;
- var global$k = global$I;
+ var fails$e = fails$o;
+ var global$5 = global$g;
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
- var $RegExp$1 = global$k.RegExp;
+ var $RegExp$1 = global$5.RegExp;
var regexpUnsupportedDotAll = fails$e(function () {
var re = $RegExp$1('.', 's');
return !(re.dotAll && re.exec('\n') && re.flags === 's');
});
- var fails$d = fails$n;
- var global$j = global$I;
+ var fails$d = fails$o;
+ var global$4 = global$g;
// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError
- var $RegExp = global$j.RegExp;
+ var $RegExp = global$4.RegExp;
var regexpUnsupportedNcg = fails$d(function () {
var re = $RegExp('(?b)', 'g');
@@ -1290,30 +1348,30 @@
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
/* eslint-disable regexp/no-useless-quantifier -- testing */
- var call$f = functionCall;
- var uncurryThis$c = functionUncurryThis;
+ var call$k = functionCall;
+ var uncurryThis$d = functionUncurryThis;
var toString$7 = toString$8;
var regexpFlags = regexpFlags$1;
var stickyHelpers$1 = regexpStickyHelpers;
- var shared$1 = shared$5.exports;
+ var shared$1 = sharedExports;
var create$4 = objectCreate;
- var getInternalState$3 = internalState.get;
+ var getInternalState$1 = internalState.get;
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
var nativeReplace = shared$1('native-string-replace', String.prototype.replace);
var nativeExec = RegExp.prototype.exec;
var patchedExec = nativeExec;
- var charAt$4 = uncurryThis$c(''.charAt);
- var indexOf = uncurryThis$c(''.indexOf);
- var replace$1 = uncurryThis$c(''.replace);
- var stringSlice$4 = uncurryThis$c(''.slice);
+ var charAt$4 = uncurryThis$d(''.charAt);
+ var indexOf = uncurryThis$d(''.indexOf);
+ var replace$1 = uncurryThis$d(''.replace);
+ var stringSlice$4 = uncurryThis$d(''.slice);
var UPDATES_LAST_INDEX_WRONG = (function () {
var re1 = /a/;
var re2 = /b*/g;
- call$f(nativeExec, re1, 'a');
- call$f(nativeExec, re2, 'a');
+ call$k(nativeExec, re1, 'a');
+ call$k(nativeExec, re2, 'a');
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
})();
@@ -1327,21 +1385,21 @@
if (PATCH) {
patchedExec = function exec(string) {
var re = this;
- var state = getInternalState$3(re);
+ var state = getInternalState$1(re);
var str = toString$7(string);
var raw = state.raw;
var result, reCopy, lastIndex, match, i, object, group;
if (raw) {
raw.lastIndex = re.lastIndex;
- result = call$f(patchedExec, raw, str);
+ result = call$k(patchedExec, raw, str);
re.lastIndex = raw.lastIndex;
return result;
}
var groups = state.groups;
var sticky = UNSUPPORTED_Y$1 && re.sticky;
- var flags = call$f(regexpFlags, re);
+ var flags = call$k(regexpFlags, re);
var source = re.source;
var charsAdded = 0;
var strCopy = str;
@@ -1369,7 +1427,7 @@
}
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
- match = call$f(nativeExec, sticky ? reCopy : re, strCopy);
+ match = call$k(nativeExec, sticky ? reCopy : re, strCopy);
if (sticky) {
if (match) {
@@ -1383,8 +1441,8 @@
}
if (NPCG_INCLUDED && match && match.length > 1) {
// Fix browsers whose `exec` methods don't consistently return `undefined`
- // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
- call$f(nativeReplace, match[0], reCopy, function () {
+ // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
+ call$k(nativeReplace, match[0], reCopy, function () {
for (i = 1; i < arguments.length - 2; i++) {
if (arguments[i] === undefined) match[i] = undefined;
}
@@ -1417,22 +1475,32 @@
var NATIVE_BIND$1 = functionBindNative;
var FunctionPrototype = Function.prototype;
- var apply$6 = FunctionPrototype.apply;
- var call$e = FunctionPrototype.call;
+ var apply$2 = FunctionPrototype.apply;
+ var call$j = FunctionPrototype.call;
- // eslint-disable-next-line es-x/no-reflect -- safe
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$e.bind(apply$6) : function () {
- return call$e.apply(apply$6, arguments);
+ // eslint-disable-next-line es/no-reflect -- safe
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$j.bind(apply$2) : function () {
+ return call$j.apply(apply$2, arguments);
});
+ var classofRaw = classofRaw$2;
+ var uncurryThis$c = functionUncurryThis;
+
+ var functionUncurryThisClause = function (fn) {
+ // Nashorn bug:
+ // https://github.com/zloirock/core-js/issues/1128
+ // https://github.com/zloirock/core-js/issues/1130
+ if (classofRaw(fn) === 'Function') return uncurryThis$c(fn);
+ };
+
// TODO: Remove from `core-js@4` since it's moved to entry points
- var uncurryThis$b = functionUncurryThis;
- var redefine$6 = redefine$8.exports;
+ var uncurryThis$b = functionUncurryThisClause;
+ var defineBuiltIn$6 = defineBuiltIn$8;
var regexpExec$2 = regexpExec$3;
- var fails$c = fails$n;
+ var fails$c = fails$o;
var wellKnownSymbol$i = wellKnownSymbol$m;
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$9;
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
var SPECIES$4 = wellKnownSymbol$i('species');
var RegExpPrototype$2 = RegExp.prototype;
@@ -1492,15 +1560,15 @@
return { done: false };
});
- redefine$6(String.prototype, KEY, methods[0]);
- redefine$6(RegExpPrototype$2, SYMBOL, methods[1]);
+ defineBuiltIn$6(String.prototype, KEY, methods[0]);
+ defineBuiltIn$6(RegExpPrototype$2, SYMBOL, methods[1]);
}
if (SHAM) createNonEnumerableProperty$5(RegExpPrototype$2[SYMBOL], 'sham', true);
};
- var isObject$3 = isObject$9;
- var classof$5 = classofRaw$1;
+ var isObject$8 = isObject$e;
+ var classof$5 = classofRaw$2;
var wellKnownSymbol$h = wellKnownSymbol$m;
var MATCH = wellKnownSymbol$h('match');
@@ -1509,19 +1577,19 @@
// https://tc39.es/ecma262/#sec-isregexp
var isRegexp = function (it) {
var isRegExp;
- return isObject$3(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
+ return isObject$8(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
};
var uncurryThis$a = functionUncurryThis;
- var fails$b = fails$n;
- var isCallable$8 = isCallable$j;
+ var fails$b = fails$o;
+ var isCallable$8 = isCallable$k;
var classof$4 = classof$7;
- var getBuiltIn$3 = getBuiltIn$8;
- var inspectSource = inspectSource$3;
+ var getBuiltIn$4 = getBuiltIn$8;
+ var inspectSource = inspectSource$2;
var noop = function () { /* empty */ };
var empty = [];
- var construct = getBuiltIn$3('Reflect', 'construct');
+ var construct = getBuiltIn$4('Reflect', 'construct');
var constructorRegExp = /^\s*(?:class|function)\b/;
var exec$1 = uncurryThis$a(constructorRegExp.exec);
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
@@ -1565,20 +1633,20 @@
|| called;
}) ? isConstructorLegacy : isConstructorModern;
- var global$i = global$I;
var isConstructor$3 = isConstructor$4;
- var tryToString$2 = tryToString$4;
+ var tryToString$3 = tryToString$5;
- var TypeError$a = global$i.TypeError;
+ var $TypeError$9 = TypeError;
// `Assert: IsConstructor(argument) is true`
var aConstructor$1 = function (argument) {
if (isConstructor$3(argument)) return argument;
- throw TypeError$a(tryToString$2(argument) + ' is not a constructor');
+ throw $TypeError$9(tryToString$3(argument) + ' is not a constructor');
};
- var anObject$l = anObject$r;
+ var anObject$k = anObject$q;
var aConstructor = aConstructor$1;
+ var isNullOrUndefined$4 = isNullOrUndefined$7;
var wellKnownSymbol$g = wellKnownSymbol$m;
var SPECIES$3 = wellKnownSymbol$g('species');
@@ -1586,9 +1654,9 @@
// `SpeciesConstructor` abstract operation
// https://tc39.es/ecma262/#sec-speciesconstructor
var speciesConstructor$1 = function (O, defaultConstructor) {
- var C = anObject$l(O).constructor;
+ var C = anObject$k(O).constructor;
var S;
- return C === undefined || (S = anObject$l(C)[SPECIES$3]) == undefined ? defaultConstructor : aConstructor(S);
+ return C === undefined || isNullOrUndefined$4(S = anObject$k(C)[SPECIES$3]) ? defaultConstructor : aConstructor(S);
};
var uncurryThis$9 = functionUncurryThis;
@@ -1637,61 +1705,60 @@
};
var toPropertyKey = toPropertyKey$3;
- var definePropertyModule$1 = objectDefineProperty;
+ var definePropertyModule = objectDefineProperty;
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
var createProperty$4 = function (object, key, value) {
var propertyKey = toPropertyKey(key);
- if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor$1(0, value));
+ if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor$1(0, value));
else object[propertyKey] = value;
};
- var global$h = global$I;
var toAbsoluteIndex$1 = toAbsoluteIndex$3;
var lengthOfArrayLike$6 = lengthOfArrayLike$8;
var createProperty$3 = createProperty$4;
- var Array$4 = global$h.Array;
+ var $Array$3 = Array;
var max$2 = Math.max;
var arraySliceSimple = function (O, start, end) {
var length = lengthOfArrayLike$6(O);
var k = toAbsoluteIndex$1(start, length);
var fin = toAbsoluteIndex$1(end === undefined ? length : end, length);
- var result = Array$4(max$2(fin - k, 0));
+ var result = $Array$3(max$2(fin - k, 0));
for (var n = 0; k < fin; k++, n++) createProperty$3(result, n, O[k]);
result.length = n;
return result;
};
- var global$g = global$I;
- var call$d = functionCall;
- var anObject$k = anObject$r;
- var isCallable$7 = isCallable$j;
- var classof$3 = classofRaw$1;
+ var call$i = functionCall;
+ var anObject$j = anObject$q;
+ var isCallable$7 = isCallable$k;
+ var classof$3 = classofRaw$2;
var regexpExec$1 = regexpExec$3;
- var TypeError$9 = global$g.TypeError;
+ var $TypeError$8 = TypeError;
// `RegExpExec` abstract operation
// https://tc39.es/ecma262/#sec-regexpexec
var regexpExecAbstract = function (R, S) {
var exec = R.exec;
if (isCallable$7(exec)) {
- var result = call$d(exec, R, S);
- if (result !== null) anObject$k(result);
+ var result = call$i(exec, R, S);
+ if (result !== null) anObject$j(result);
return result;
}
- if (classof$3(R) === 'RegExp') return call$d(regexpExec$1, R, S);
- throw TypeError$9('RegExp#exec called on incompatible receiver');
+ if (classof$3(R) === 'RegExp') return call$i(regexpExec$1, R, S);
+ throw $TypeError$8('RegExp#exec called on incompatible receiver');
};
- var apply$5 = functionApply;
- var call$c = functionCall;
+ var apply$1 = functionApply;
+ var call$h = functionCall;
var uncurryThis$8 = functionUncurryThis;
var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;
+ var anObject$i = anObject$q;
+ var isNullOrUndefined$3 = isNullOrUndefined$7;
var isRegExp = isRegexp;
- var anObject$j = anObject$r;
var requireObjectCoercible$2 = requireObjectCoercible$6;
var speciesConstructor = speciesConstructor$1;
var advanceStringIndex$2 = advanceStringIndex$3;
@@ -1702,7 +1769,7 @@
var callRegExpExec = regexpExecAbstract;
var regexpExec = regexpExec$3;
var stickyHelpers = regexpStickyHelpers;
- var fails$a = fails$n;
+ var fails$a = fails$o;
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
var MAX_UINT32 = 0xFFFFFFFF;
@@ -1744,7 +1811,7 @@
if (separator === undefined) return [string];
// If `separator` is not a regex, use native split
if (!isRegExp(separator)) {
- return call$c(nativeSplit, string, separator, lim);
+ return call$h(nativeSplit, string, separator, lim);
}
var output = [];
var flags = (separator.ignoreCase ? 'i' : '') +
@@ -1755,11 +1822,11 @@
// Make `global` and avoid `lastIndex` issues by working with a copy
var separatorCopy = new RegExp(separator.source, flags + 'g');
var match, lastIndex, lastLength;
- while (match = call$c(regexpExec, separatorCopy, string)) {
+ while (match = call$h(regexpExec, separatorCopy, string)) {
lastIndex = separatorCopy.lastIndex;
if (lastIndex > lastLastIndex) {
push$3(output, stringSlice$2(string, lastLastIndex, match.index));
- if (match.length > 1 && match.index < string.length) apply$5($push, output, arraySlice$2(match, 1));
+ if (match.length > 1 && match.index < string.length) apply$1($push, output, arraySlice$2(match, 1));
lastLength = match[0].length;
lastLastIndex = lastIndex;
if (output.length >= lim) break;
@@ -1774,7 +1841,7 @@
// Chakra, V8
} else if ('0'.split(undefined, 0).length) {
internalSplit = function (separator, limit) {
- return separator === undefined && limit === 0 ? [] : call$c(nativeSplit, this, separator, limit);
+ return separator === undefined && limit === 0 ? [] : call$h(nativeSplit, this, separator, limit);
};
} else internalSplit = nativeSplit;
@@ -1783,10 +1850,10 @@
// https://tc39.es/ecma262/#sec-string.prototype.split
function split(separator, limit) {
var O = requireObjectCoercible$2(this);
- var splitter = separator == undefined ? undefined : getMethod$7(separator, SPLIT);
+ var splitter = isNullOrUndefined$3(separator) ? undefined : getMethod$7(separator, SPLIT);
return splitter
- ? call$c(splitter, separator, O, limit)
- : call$c(internalSplit, toString$5(O), separator, limit);
+ ? call$h(splitter, separator, O, limit)
+ : call$h(internalSplit, toString$5(O), separator, limit);
},
// `RegExp.prototype[@@split]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
@@ -1794,7 +1861,7 @@
// NOTE: This cannot be properly polyfilled in engines that don't support
// the 'y' flag.
function (string, limit) {
- var rx = anObject$j(this);
+ var rx = anObject$i(this);
var S = toString$5(string);
var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
@@ -1852,95 +1919,126 @@
};
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
- var redefine$5 = redefine$8.exports;
+ var defineBuiltIn$5 = defineBuiltIn$8;
var toString$4 = objectToString;
// `Object.prototype.toString` method
// https://tc39.es/ecma262/#sec-object.prototype.tostring
if (!TO_STRING_TAG_SUPPORT) {
- redefine$5(Object.prototype, 'toString', toString$4, { unsafe: true });
+ defineBuiltIn$5(Object.prototype, 'toString', toString$4, { unsafe: true });
}
+ var $TypeError$7 = TypeError;
+ var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
+
+ var doesNotExceedSafeInteger$2 = function (it) {
+ if (it > MAX_SAFE_INTEGER) throw $TypeError$7('Maximum allowed index exceeded');
+ return it;
+ };
+
+ var aCallable$d = aCallable$f;
+
+ var getIteratorDirect$9 = function (obj) {
+ return {
+ iterator: obj,
+ next: aCallable$d(obj.next)
+ };
+ };
+
+ var call$g = functionCall;
+ var getBuiltIn$3 = getBuiltIn$8;
+ var getMethod$6 = getMethod$9;
+
+ var asyncIteratorClose = function (iterator, method, argument, reject) {
+ try {
+ var returnMethod = getMethod$6(iterator, 'return');
+ if (returnMethod) {
+ return getBuiltIn$3('Promise').resolve(call$g(returnMethod, iterator)).then(function () {
+ method(argument);
+ }, function (error) {
+ reject(error);
+ });
+ }
+ } catch (error2) {
+ return reject(error2);
+ } method(argument);
+ };
+
// https://github.com/tc39/proposal-iterator-helpers
// https://github.com/tc39/proposal-array-from-async
- var global$f = global$I;
- var call$b = functionCall;
- var aCallable$c = aCallable$e;
- var anObject$i = anObject$r;
+ var call$f = functionCall;
+ var aCallable$c = aCallable$f;
+ var anObject$h = anObject$q;
+ var isObject$7 = isObject$e;
+ var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
var getBuiltIn$2 = getBuiltIn$8;
- var getMethod$6 = getMethod$9;
-
- var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF;
- var TypeError$8 = global$f.TypeError;
+ var getIteratorDirect$8 = getIteratorDirect$9;
+ var closeAsyncIteration$3 = asyncIteratorClose;
var createMethod$1 = function (TYPE) {
var IS_TO_ARRAY = TYPE == 0;
var IS_FOR_EACH = TYPE == 1;
var IS_EVERY = TYPE == 2;
var IS_SOME = TYPE == 3;
- return function (iterator, fn, target) {
- anObject$i(iterator);
- var Promise = getBuiltIn$2('Promise');
- var next = aCallable$c(iterator.next);
- var index = 0;
+ return function (object, fn, target) {
+ anObject$h(object);
var MAPPING = fn !== undefined;
if (MAPPING || !IS_TO_ARRAY) aCallable$c(fn);
+ var record = getIteratorDirect$8(object);
+ var Promise = getBuiltIn$2('Promise');
+ var iterator = record.iterator;
+ var next = record.next;
+ var counter = 0;
return new Promise(function (resolve, reject) {
- var closeIteration = function (method, argument) {
- try {
- var returnMethod = getMethod$6(iterator, 'return');
- if (returnMethod) {
- return Promise.resolve(call$b(returnMethod, iterator)).then(function () {
- method(argument);
- }, function (error) {
- reject(error);
- });
- }
- } catch (error2) {
- return reject(error2);
- } method(argument);
- };
-
- var onError = function (error) {
- closeIteration(reject, error);
+ var ifAbruptCloseAsyncIterator = function (error) {
+ closeAsyncIteration$3(iterator, reject, error, reject);
};
var loop = function () {
try {
- if (IS_TO_ARRAY && (index > MAX_SAFE_INTEGER$1) && MAPPING) {
- throw TypeError$8('The allowed number of iterations has been exceeded');
- }
- Promise.resolve(anObject$i(call$b(next, iterator))).then(function (step) {
+ if (MAPPING) try {
+ doesNotExceedSafeInteger$1(counter);
+ } catch (error5) { ifAbruptCloseAsyncIterator(error5); }
+ Promise.resolve(anObject$h(call$f(next, iterator))).then(function (step) {
try {
- if (anObject$i(step).done) {
+ if (anObject$h(step).done) {
if (IS_TO_ARRAY) {
- target.length = index;
+ target.length = counter;
resolve(target);
} else resolve(IS_SOME ? false : IS_EVERY || undefined);
} else {
var value = step.value;
- if (MAPPING) {
- Promise.resolve(IS_TO_ARRAY ? fn(value, index) : fn(value)).then(function (result) {
- if (IS_FOR_EACH) {
- loop();
- } else if (IS_EVERY) {
- result ? loop() : closeIteration(resolve, false);
- } else if (IS_TO_ARRAY) {
- target[index++] = result;
- loop();
- } else {
- result ? closeIteration(resolve, IS_SOME || value) : loop();
- }
- }, onError);
- } else {
- target[index++] = value;
- loop();
- }
+ try {
+ if (MAPPING) {
+ var result = fn(value, counter);
+
+ var handler = function ($result) {
+ if (IS_FOR_EACH) {
+ loop();
+ } else if (IS_EVERY) {
+ $result ? loop() : closeAsyncIteration$3(iterator, resolve, false, reject);
+ } else if (IS_TO_ARRAY) {
+ try {
+ target[counter++] = $result;
+ loop();
+ } catch (error4) { ifAbruptCloseAsyncIterator(error4); }
+ } else {
+ $result ? closeAsyncIteration$3(iterator, resolve, IS_SOME || value, reject) : loop();
+ }
+ };
+
+ if (isObject$7(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
+ else handler(result);
+ } else {
+ target[counter++] = value;
+ loop();
+ }
+ } catch (error3) { ifAbruptCloseAsyncIterator(error3); }
}
- } catch (error) { onError(error); }
- }, onError);
- } catch (error2) { onError(error2); }
+ } catch (error2) { reject(error2); }
+ }, reject);
+ } catch (error) { reject(error); }
};
loop();
@@ -1956,61 +2054,62 @@
find: createMethod$1(4)
};
- // https://github.com/tc39/proposal-iterator-helpers
var $$l = _export;
var $forEach$1 = asyncIteratorIteration.forEach;
- $$l({ target: 'AsyncIterator', proto: true, real: true, forced: true }, {
+ // `AsyncIterator.prototype.forEach` method
+ // https://github.com/tc39/proposal-async-iterator-helpers
+ $$l({ target: 'AsyncIterator', proto: true, real: true }, {
forEach: function forEach(fn) {
return $forEach$1(this, fn);
}
});
- var global$e = global$I;
var isPrototypeOf$2 = objectIsPrototypeOf;
- var TypeError$7 = global$e.TypeError;
+ var $TypeError$6 = TypeError;
var anInstance$1 = function (it, Prototype) {
if (isPrototypeOf$2(Prototype, it)) return it;
- throw TypeError$7('Incorrect invocation');
+ throw $TypeError$6('Incorrect invocation');
};
- var fails$9 = fails$n;
+ var fails$9 = fails$o;
var correctPrototypeGetter = !fails$9(function () {
function F() { /* empty */ }
F.prototype.constructor = null;
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
return Object.getPrototypeOf(new F()) !== F.prototype;
});
- var global$d = global$I;
var hasOwn$3 = hasOwnProperty_1;
- var isCallable$6 = isCallable$j;
+ var isCallable$6 = isCallable$k;
var toObject$6 = toObject$8;
var sharedKey = sharedKey$3;
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
var IE_PROTO = sharedKey('IE_PROTO');
- var Object$1 = global$d.Object;
- var ObjectPrototype = Object$1.prototype;
+ var $Object = Object;
+ var ObjectPrototype = $Object.prototype;
// `Object.getPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.getprototypeof
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) {
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
var object = toObject$6(O);
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
var constructor = object.constructor;
if (isCallable$6(constructor) && object instanceof constructor) {
return constructor.prototype;
- } return object instanceof Object$1 ? ObjectPrototype : null;
+ } return object instanceof $Object ? ObjectPrototype : null;
};
- var fails$8 = fails$n;
- var isCallable$5 = isCallable$j;
+ var fails$8 = fails$o;
+ var isCallable$5 = isCallable$k;
+ var isObject$6 = isObject$e;
var getPrototypeOf$2 = objectGetPrototypeOf;
- var redefine$4 = redefine$8.exports;
+ var defineBuiltIn$4 = defineBuiltIn$8;
var wellKnownSymbol$f = wellKnownSymbol$m;
var ITERATOR$4 = wellKnownSymbol$f('iterator');
@@ -2020,7 +2119,7 @@
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
- /* eslint-disable es-x/no-array-prototype-keys -- safe */
+ /* eslint-disable es/no-array-prototype-keys -- safe */
if ([].keys) {
arrayIterator = [].keys();
// Safari 8 has buggy iterators w/o `next`
@@ -2031,7 +2130,7 @@
}
}
- var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$4 == undefined || fails$8(function () {
+ var NEW_ITERATOR_PROTOTYPE = !isObject$6(IteratorPrototype$4) || fails$8(function () {
var test = {};
// FF44- legacy iterators case
return IteratorPrototype$4[ITERATOR$4].call(test) !== test;
@@ -2042,7 +2141,7 @@
// `%IteratorPrototype%[@@iterator]()` method
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
if (!isCallable$5(IteratorPrototype$4[ITERATOR$4])) {
- redefine$4(IteratorPrototype$4, ITERATOR$4, function () {
+ defineBuiltIn$4(IteratorPrototype$4, ITERATOR$4, function () {
return this;
});
}
@@ -2052,23 +2151,22 @@
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
};
- // https://github.com/tc39/proposal-iterator-helpers
var $$k = _export;
- var global$c = global$I;
+ var global$3 = global$g;
var anInstance = anInstance$1;
- var isCallable$4 = isCallable$j;
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$9;
- var fails$7 = fails$n;
+ var isCallable$4 = isCallable$k;
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
+ var fails$7 = fails$o;
var hasOwn$2 = hasOwnProperty_1;
var wellKnownSymbol$e = wellKnownSymbol$m;
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
var TO_STRING_TAG$3 = wellKnownSymbol$e('toStringTag');
- var NativeIterator = global$c.Iterator;
+ var NativeIterator = global$3.Iterator;
// FF56- have non-standard global helper `Iterator`
- var FORCED$2 = !isCallable$4(NativeIterator)
+ var FORCED$3 = !isCallable$4(NativeIterator)
|| NativeIterator.prototype !== IteratorPrototype$3
// FF44- non-standard `Iterator` passes previous tests
|| !fails$7(function () { NativeIterator({}); });
@@ -2081,18 +2179,20 @@
createNonEnumerableProperty$4(IteratorPrototype$3, TO_STRING_TAG$3, 'Iterator');
}
- if (FORCED$2 || !hasOwn$2(IteratorPrototype$3, 'constructor') || IteratorPrototype$3.constructor === Object) {
+ if (FORCED$3 || !hasOwn$2(IteratorPrototype$3, 'constructor') || IteratorPrototype$3.constructor === Object) {
createNonEnumerableProperty$4(IteratorPrototype$3, 'constructor', IteratorConstructor);
}
IteratorConstructor.prototype = IteratorPrototype$3;
- $$k({ global: true, forced: FORCED$2 }, {
+ // `Iterator` constructor
+ // https://github.com/tc39/proposal-iterator-helpers
+ $$k({ global: true, constructor: true, forced: FORCED$3 }, {
Iterator: IteratorConstructor
});
- var uncurryThis$7 = functionUncurryThis;
- var aCallable$b = aCallable$e;
+ var uncurryThis$7 = functionUncurryThisClause;
+ var aCallable$b = aCallable$f;
var NATIVE_BIND = functionBindNative;
var bind$3 = uncurryThis$7(uncurryThis$7.bind);
@@ -2120,69 +2220,68 @@
var classof$1 = classof$7;
var getMethod$5 = getMethod$9;
+ var isNullOrUndefined$2 = isNullOrUndefined$7;
var Iterators$2 = iterators;
var wellKnownSymbol$c = wellKnownSymbol$m;
var ITERATOR$2 = wellKnownSymbol$c('iterator');
var getIteratorMethod$3 = function (it) {
- if (it != undefined) return getMethod$5(it, ITERATOR$2)
+ if (!isNullOrUndefined$2(it)) return getMethod$5(it, ITERATOR$2)
|| getMethod$5(it, '@@iterator')
|| Iterators$2[classof$1(it)];
};
- var global$b = global$I;
- var call$a = functionCall;
- var aCallable$a = aCallable$e;
- var anObject$h = anObject$r;
- var tryToString$1 = tryToString$4;
+ var call$e = functionCall;
+ var aCallable$a = aCallable$f;
+ var anObject$g = anObject$q;
+ var tryToString$2 = tryToString$5;
var getIteratorMethod$2 = getIteratorMethod$3;
- var TypeError$6 = global$b.TypeError;
+ var $TypeError$5 = TypeError;
var getIterator$2 = function (argument, usingIterator) {
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
- if (aCallable$a(iteratorMethod)) return anObject$h(call$a(iteratorMethod, argument));
- throw TypeError$6(tryToString$1(argument) + ' is not iterable');
+ if (aCallable$a(iteratorMethod)) return anObject$g(call$e(iteratorMethod, argument));
+ throw $TypeError$5(tryToString$2(argument) + ' is not iterable');
};
- var call$9 = functionCall;
- var anObject$g = anObject$r;
+ var call$d = functionCall;
+ var anObject$f = anObject$q;
var getMethod$4 = getMethod$9;
- var iteratorClose$2 = function (iterator, kind, value) {
+ var iteratorClose$4 = function (iterator, kind, value) {
var innerResult, innerError;
- anObject$g(iterator);
+ anObject$f(iterator);
try {
innerResult = getMethod$4(iterator, 'return');
if (!innerResult) {
if (kind === 'throw') throw value;
return value;
}
- innerResult = call$9(innerResult, iterator);
+ innerResult = call$d(innerResult, iterator);
} catch (error) {
innerError = true;
innerResult = error;
}
if (kind === 'throw') throw value;
if (innerError) throw innerResult;
- anObject$g(innerResult);
+ anObject$f(innerResult);
return value;
};
- var global$a = global$I;
var bind$2 = functionBindContext;
- var call$8 = functionCall;
- var anObject$f = anObject$r;
- var tryToString = tryToString$4;
+ var call$c = functionCall;
+ var anObject$e = anObject$q;
+ var tryToString$1 = tryToString$5;
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
var lengthOfArrayLike$5 = lengthOfArrayLike$8;
var isPrototypeOf$1 = objectIsPrototypeOf;
var getIterator$1 = getIterator$2;
var getIteratorMethod$1 = getIteratorMethod$3;
- var iteratorClose$1 = iteratorClose$2;
+ var iteratorClose$3 = iteratorClose$4;
- var TypeError$5 = global$a.TypeError;
+ var $TypeError$4 = TypeError;
var Result = function (stopped, result) {
this.stopped = stopped;
@@ -2194,28 +2293,31 @@
var iterate$3 = function (iterable, unboundFunction, options) {
var that = options && options.that;
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
+ var IS_RECORD = !!(options && options.IS_RECORD);
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
var INTERRUPTED = !!(options && options.INTERRUPTED);
var fn = bind$2(unboundFunction, that);
var iterator, iterFn, index, length, result, next, step;
var stop = function (condition) {
- if (iterator) iteratorClose$1(iterator, 'normal', condition);
+ if (iterator) iteratorClose$3(iterator, 'normal', condition);
return new Result(true, condition);
};
var callFn = function (value) {
if (AS_ENTRIES) {
- anObject$f(value);
+ anObject$e(value);
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
} return INTERRUPTED ? fn(value, stop) : fn(value);
};
- if (IS_ITERATOR) {
+ if (IS_RECORD) {
+ iterator = iterable.iterator;
+ } else if (IS_ITERATOR) {
iterator = iterable;
} else {
iterFn = getIteratorMethod$1(iterable);
- if (!iterFn) throw TypeError$5(tryToString(iterable) + ' is not iterable');
+ if (!iterFn) throw $TypeError$4(tryToString$1(iterable) + ' is not iterable');
// optimisation for array iterators
if (isArrayIteratorMethod$1(iterFn)) {
for (index = 0, length = lengthOfArrayLike$5(iterable); length > index; index++) {
@@ -2226,25 +2328,34 @@
iterator = getIterator$1(iterable, iterFn);
}
- next = iterator.next;
- while (!(step = call$8(next, iterator)).done) {
+ next = IS_RECORD ? iterable.next : iterator.next;
+ while (!(step = call$c(next, iterator)).done) {
try {
result = callFn(step.value);
} catch (error) {
- iteratorClose$1(iterator, 'throw', error);
+ iteratorClose$3(iterator, 'throw', error);
}
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
} return new Result(false);
};
- // https://github.com/tc39/proposal-iterator-helpers
var $$j = _export;
var iterate$2 = iterate$3;
- var anObject$e = anObject$r;
+ var aCallable$9 = aCallable$f;
+ var anObject$d = anObject$q;
+ var getIteratorDirect$7 = getIteratorDirect$9;
- $$j({ target: 'Iterator', proto: true, real: true, forced: true }, {
+ // `Iterator.prototype.forEach` method
+ // https://github.com/tc39/proposal-iterator-helpers
+ $$j({ target: 'Iterator', proto: true, real: true }, {
forEach: function forEach(fn) {
- iterate$2(anObject$e(this), fn, { IS_ITERATOR: true });
+ anObject$d(this);
+ aCallable$9(fn);
+ var record = getIteratorDirect$7(this);
+ var counter = 0;
+ iterate$2(record, function (value) {
+ fn(value, counter++);
+ }, { IS_RECORD: true });
}
});
@@ -2292,23 +2403,22 @@
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
- var classof = classofRaw$1;
+ var classof = classofRaw$2;
// `IsArray` abstract operation
// https://tc39.es/ecma262/#sec-isarray
- // eslint-disable-next-line es-x/no-array-isarray -- safe
+ // eslint-disable-next-line es/no-array-isarray -- safe
var isArray$3 = Array.isArray || function isArray(argument) {
return classof(argument) == 'Array';
};
- var global$9 = global$I;
var isArray$2 = isArray$3;
var isConstructor$2 = isConstructor$4;
- var isObject$2 = isObject$9;
+ var isObject$5 = isObject$e;
var wellKnownSymbol$b = wellKnownSymbol$m;
var SPECIES$2 = wellKnownSymbol$b('species');
- var Array$3 = global$9.Array;
+ var $Array$2 = Array;
// a part of `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -2317,12 +2427,12 @@
if (isArray$2(originalArray)) {
C = originalArray.constructor;
// cross-realm fallback
- if (isConstructor$2(C) && (C === Array$3 || isArray$2(C.prototype))) C = undefined;
- else if (isObject$2(C)) {
+ if (isConstructor$2(C) && (C === $Array$2 || isArray$2(C.prototype))) C = undefined;
+ else if (isObject$5(C)) {
C = C[SPECIES$2];
if (C === null) C = undefined;
}
- } return C === undefined ? Array$3 : C;
+ } return C === undefined ? $Array$2 : C;
};
var arraySpeciesConstructor = arraySpeciesConstructor$1;
@@ -2407,7 +2517,7 @@
filterReject: createMethod(7)
};
- var fails$6 = fails$n;
+ var fails$6 = fails$o;
var arrayMethodIsStrict$3 = function (METHOD_NAME, argument) {
var method = [][METHOD_NAME];
@@ -2420,20 +2530,20 @@
var $forEach = arrayIteration.forEach;
var arrayMethodIsStrict$2 = arrayMethodIsStrict$3;
- var STRICT_METHOD$2 = arrayMethodIsStrict$2('forEach');
+ var STRICT_METHOD$1 = arrayMethodIsStrict$2('forEach');
// `Array.prototype.forEach` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.foreach
- var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg */) {
+ var arrayForEach = !STRICT_METHOD$1 ? function forEach(callbackfn /* , thisArg */) {
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
+ // eslint-disable-next-line es/no-array-prototype-foreach -- safe
} : [].forEach;
- var global$8 = global$I;
+ var global$2 = global$g;
var DOMIterables = domIterables;
var DOMTokenListPrototype = domTokenListPrototype;
var forEach = arrayForEach;
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
var handlePrototype = function (CollectionPrototype) {
// some Chrome versions have non-configurable methods on DOMTokenList
@@ -2446,12 +2556,20 @@
for (var COLLECTION_NAME in DOMIterables) {
if (DOMIterables[COLLECTION_NAME]) {
- handlePrototype(global$8[COLLECTION_NAME] && global$8[COLLECTION_NAME].prototype);
+ handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype);
}
}
handlePrototype(DOMTokenListPrototype);
+ var tryToString = tryToString$5;
+
+ var $TypeError$3 = TypeError;
+
+ var deletePropertyOrThrow$1 = function (O, P) {
+ if (!delete O[P]) throw $TypeError$3('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
+ };
+
var arraySlice$1 = arraySliceSimple;
var floor$1 = Math.floor;
@@ -2515,11 +2633,12 @@
var $$i = _export;
var uncurryThis$5 = functionUncurryThis;
- var aCallable$9 = aCallable$e;
+ var aCallable$8 = aCallable$f;
var toObject$4 = toObject$8;
var lengthOfArrayLike$3 = lengthOfArrayLike$8;
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
var toString$3 = toString$8;
- var fails$5 = fails$n;
+ var fails$5 = fails$o;
var internalSort = arraySort;
var arrayMethodIsStrict$1 = arrayMethodIsStrict$3;
var FF = engineFfVersion;
@@ -2528,7 +2647,7 @@
var WEBKIT = engineWebkitVersion;
var test = [];
- var un$Sort = uncurryThis$5(test.sort);
+ var nativeSort = uncurryThis$5(test.sort);
var push$1 = uncurryThis$5(test.push);
// IE8-
@@ -2540,7 +2659,7 @@
test.sort(null);
});
// Old WebKit
- var STRICT_METHOD$1 = arrayMethodIsStrict$1('sort');
+ var STRICT_METHOD = arrayMethodIsStrict$1('sort');
var STABLE_SORT = !fails$5(function () {
// feature detection can be too slow, so check engines versions
@@ -2577,7 +2696,7 @@
return result !== 'DGBEFHACIJK';
});
- var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1 || !STABLE_SORT;
+ var FORCED$2 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
var getSortCompare = function (comparefn) {
return function (x, y) {
@@ -2590,13 +2709,13 @@
// `Array.prototype.sort` method
// https://tc39.es/ecma262/#sec-array.prototype.sort
- $$i({ target: 'Array', proto: true, forced: FORCED$1 }, {
+ $$i({ target: 'Array', proto: true, forced: FORCED$2 }, {
sort: function sort(comparefn) {
- if (comparefn !== undefined) aCallable$9(comparefn);
+ if (comparefn !== undefined) aCallable$8(comparefn);
var array = toObject$4(this);
- if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);
+ if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
var items = [];
var arrayLength = lengthOfArrayLike$3(array);
@@ -2608,56 +2727,72 @@
internalSort(items, getSortCompare(comparefn));
- itemsLength = items.length;
+ itemsLength = lengthOfArrayLike$3(items);
index = 0;
while (index < itemsLength) array[index] = items[index++];
- while (index < arrayLength) delete array[index++];
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
return array;
}
});
- // https://github.com/tc39/proposal-iterator-helpers
var $$h = _export;
- var global$7 = global$I;
- var call$7 = functionCall;
- var aCallable$8 = aCallable$e;
- var anObject$d = anObject$r;
+ var call$b = functionCall;
+ var aCallable$7 = aCallable$f;
+ var anObject$c = anObject$q;
+ var isObject$4 = isObject$e;
var getBuiltIn$1 = getBuiltIn$8;
+ var getIteratorDirect$6 = getIteratorDirect$9;
+ var closeAsyncIteration$2 = asyncIteratorClose;
var Promise$2 = getBuiltIn$1('Promise');
- var TypeError$4 = global$7.TypeError;
+ var $TypeError$2 = TypeError;
- $$h({ target: 'AsyncIterator', proto: true, real: true, forced: true }, {
+ // `AsyncIterator.prototype.reduce` method
+ // https://github.com/tc39/proposal-async-iterator-helpers
+ $$h({ target: 'AsyncIterator', proto: true, real: true }, {
reduce: function reduce(reducer /* , initialValue */) {
- var iterator = anObject$d(this);
- var next = aCallable$8(iterator.next);
+ anObject$c(this);
+ aCallable$7(reducer);
+ var record = getIteratorDirect$6(this);
+ var iterator = record.iterator;
+ var next = record.next;
var noInitial = arguments.length < 2;
var accumulator = noInitial ? undefined : arguments[1];
- aCallable$8(reducer);
+ var counter = 0;
return new Promise$2(function (resolve, reject) {
+ var ifAbruptCloseAsyncIterator = function (error) {
+ closeAsyncIteration$2(iterator, reject, error, reject);
+ };
+
var loop = function () {
try {
- Promise$2.resolve(anObject$d(call$7(next, iterator))).then(function (step) {
+ Promise$2.resolve(anObject$c(call$b(next, iterator))).then(function (step) {
try {
- if (anObject$d(step).done) {
- noInitial ? reject(TypeError$4('Reduce of empty iterator with no initial value')) : resolve(accumulator);
+ if (anObject$c(step).done) {
+ noInitial ? reject($TypeError$2('Reduce of empty iterator with no initial value')) : resolve(accumulator);
} else {
var value = step.value;
if (noInitial) {
noInitial = false;
accumulator = value;
loop();
- } else {
- Promise$2.resolve(reducer(accumulator, value)).then(function (result) {
- accumulator = result;
+ } else try {
+ var result = reducer(accumulator, value, counter);
+
+ var handler = function ($result) {
+ accumulator = $result;
loop();
- }, reject);
- }
+ };
+
+ if (isObject$4(result)) Promise$2.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
+ else handler(result);
+ } catch (error3) { ifAbruptCloseAsyncIterator(error3); }
}
- } catch (err) { reject(err); }
+ counter++;
+ } catch (error2) { reject(error2); }
}, reject);
} catch (error) { reject(error); }
};
@@ -2667,30 +2802,34 @@
}
});
- // https://github.com/tc39/proposal-iterator-helpers
var $$g = _export;
- var global$6 = global$I;
var iterate$1 = iterate$3;
- var aCallable$7 = aCallable$e;
- var anObject$c = anObject$r;
+ var aCallable$6 = aCallable$f;
+ var anObject$b = anObject$q;
+ var getIteratorDirect$5 = getIteratorDirect$9;
- var TypeError$3 = global$6.TypeError;
+ var $TypeError$1 = TypeError;
- $$g({ target: 'Iterator', proto: true, real: true, forced: true }, {
+ // `Iterator.prototype.reduce` method
+ // https://github.com/tc39/proposal-iterator-helpers
+ $$g({ target: 'Iterator', proto: true, real: true }, {
reduce: function reduce(reducer /* , initialValue */) {
- anObject$c(this);
- aCallable$7(reducer);
+ anObject$b(this);
+ aCallable$6(reducer);
+ var record = getIteratorDirect$5(this);
var noInitial = arguments.length < 2;
var accumulator = noInitial ? undefined : arguments[1];
- iterate$1(this, function (value) {
+ var counter = 0;
+ iterate$1(record, function (value) {
if (noInitial) {
noInitial = false;
accumulator = value;
} else {
- accumulator = reducer(accumulator, value);
+ accumulator = reducer(accumulator, value, counter);
}
- }, { IS_ITERATOR: true });
- if (noInitial) throw TypeError$3('Reduce of empty iterator with no initial value');
+ counter++;
+ }, { IS_RECORD: true });
+ if (noInitial) throw $TypeError$1('Reduce of empty iterator with no initial value');
return accumulator;
}
});
@@ -2701,20 +2840,20 @@
var toIndexedObject$1 = toIndexedObject$6;
var arrayMethodIsStrict = arrayMethodIsStrict$3;
- var un$Join = uncurryThis$4([].join);
+ var nativeJoin = uncurryThis$4([].join);
var ES3_STRINGS = IndexedObject != Object;
- var STRICT_METHOD = arrayMethodIsStrict('join', ',');
+ var FORCED$1 = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
// `Array.prototype.join` method
// https://tc39.es/ecma262/#sec-array.prototype.join
- $$f({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
+ $$f({ target: 'Array', proto: true, forced: FORCED$1 }, {
join: function join(separator) {
- return un$Join(toIndexedObject$1(this), separator === undefined ? ',' : separator);
+ return nativeJoin(toIndexedObject$1(this), separator === undefined ? ',' : separator);
}
});
- var fails$4 = fails$n;
+ var fails$4 = fails$o;
var wellKnownSymbol$a = wellKnownSymbol$m;
var V8_VERSION$1 = engineV8Version;
@@ -2749,23 +2888,31 @@
}
});
- var redefine$3 = redefine$8.exports;
+ var perform$1 = function (exec) {
+ try {
+ return { error: false, value: exec() };
+ } catch (error) {
+ return { error: true, value: error };
+ }
+ };
+
+ var defineBuiltIn$3 = defineBuiltIn$8;
- var redefineAll$2 = function (target, src, options) {
- for (var key in src) redefine$3(target, key, src[key], options);
+ var defineBuiltIns$2 = function (target, src, options) {
+ for (var key in src) defineBuiltIn$3(target, key, src[key], options);
return target;
};
- var global$5 = global$I;
+ var global$1 = global$g;
var shared = sharedStore;
- var isCallable$3 = isCallable$j;
+ var isCallable$3 = isCallable$k;
var getPrototypeOf$1 = objectGetPrototypeOf;
- var redefine$2 = redefine$8.exports;
+ var defineBuiltIn$2 = defineBuiltIn$8;
var wellKnownSymbol$9 = wellKnownSymbol$m;
var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR';
var ASYNC_ITERATOR = wellKnownSymbol$9('asyncIterator');
- var AsyncIterator = global$5.AsyncIterator;
+ var AsyncIterator = global$1.AsyncIterator;
var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype;
var AsyncIteratorPrototype$1, prototype;
@@ -2773,7 +2920,7 @@
AsyncIteratorPrototype$1 = PassedAsyncIteratorPrototype;
} else if (isCallable$3(AsyncIterator)) {
AsyncIteratorPrototype$1 = AsyncIterator.prototype;
- } else if (shared[USE_FUNCTION_CONSTRUCTOR] || global$5[USE_FUNCTION_CONSTRUCTOR]) {
+ } else if (shared[USE_FUNCTION_CONSTRUCTOR] || global$1[USE_FUNCTION_CONSTRUCTOR]) {
try {
// eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax
prototype = getPrototypeOf$1(getPrototypeOf$1(getPrototypeOf$1(Function('return async function*(){}()')())));
@@ -2784,178 +2931,268 @@
if (!AsyncIteratorPrototype$1) AsyncIteratorPrototype$1 = {};
if (!isCallable$3(AsyncIteratorPrototype$1[ASYNC_ITERATOR])) {
- redefine$2(AsyncIteratorPrototype$1, ASYNC_ITERATOR, function () {
+ defineBuiltIn$2(AsyncIteratorPrototype$1, ASYNC_ITERATOR, function () {
return this;
});
}
var asyncIteratorPrototype = AsyncIteratorPrototype$1;
- var call$6 = functionCall;
- var aCallable$6 = aCallable$e;
- var anObject$b = anObject$r;
+ // `CreateIterResultObject` abstract operation
+ // https://tc39.es/ecma262/#sec-createiterresultobject
+ var createIterResultObject$5 = function (value, done) {
+ return { value: value, done: done };
+ };
+
+ var call$a = functionCall;
+ var perform = perform$1;
+ var anObject$a = anObject$q;
var create$3 = objectCreate;
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$9;
- var redefineAll$1 = redefineAll$2;
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
+ var defineBuiltIns$1 = defineBuiltIns$2;
var wellKnownSymbol$8 = wellKnownSymbol$m;
var InternalStateModule$2 = internalState;
var getBuiltIn = getBuiltIn$8;
var getMethod$3 = getMethod$9;
var AsyncIteratorPrototype = asyncIteratorPrototype;
+ var createIterResultObject$4 = createIterResultObject$5;
+ var iteratorClose$2 = iteratorClose$4;
var Promise$1 = getBuiltIn('Promise');
- var ASYNC_ITERATOR_PROXY = 'AsyncIteratorProxy';
+ var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
+ var ASYNC_ITERATOR_HELPER = 'AsyncIteratorHelper';
+ var WRAP_FOR_VALID_ASYNC_ITERATOR = 'WrapForValidAsyncIterator';
var setInternalState$2 = InternalStateModule$2.set;
- var getInternalState$2 = InternalStateModule$2.getterFor(ASYNC_ITERATOR_PROXY);
- var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
+ var createAsyncIteratorProxyPrototype = function (IS_ITERATOR) {
+ var IS_GENERATOR = !IS_ITERATOR;
+ var getInternalState = InternalStateModule$2.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER);
- var asyncIteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
- var AsyncIteratorProxy = function AsyncIterator(state) {
- state.type = ASYNC_ITERATOR_PROXY;
- state.next = aCallable$6(state.iterator.next);
- state.done = false;
- state.ignoreArgument = !IS_ITERATOR;
- setInternalState$2(this, state);
+ var getStateOrEarlyExit = function (that) {
+ var stateCompletion = perform(function () {
+ return getInternalState(that);
+ });
+
+ var stateError = stateCompletion.error;
+ var state = stateCompletion.value;
+
+ if (stateError || (IS_GENERATOR && state.done)) {
+ return { exit: true, value: stateError ? Promise$1.reject(state) : Promise$1.resolve(createIterResultObject$4(undefined, true)) };
+ } return { exit: false, value: state };
};
- AsyncIteratorProxy.prototype = redefineAll$1(create$3(AsyncIteratorPrototype), {
- next: function next(arg) {
- var that = this;
- var hasArgument = !!arguments.length;
- return new Promise$1(function (resolve) {
- var state = getInternalState$2(that);
- var args = hasArgument ? [state.ignoreArgument ? undefined : arg] : IS_ITERATOR ? [] : [undefined];
- state.ignoreArgument = false;
- resolve(state.done ? { done: true, value: undefined } : anObject$b(call$6(nextHandler, state, Promise$1, args)));
+ return defineBuiltIns$1(create$3(AsyncIteratorPrototype), {
+ next: function next() {
+ var stateCompletion = getStateOrEarlyExit(this);
+ var state = stateCompletion.value;
+ if (stateCompletion.exit) return state;
+ var handlerCompletion = perform(function () {
+ return anObject$a(state.nextHandler(Promise$1));
});
+ var handlerError = handlerCompletion.error;
+ var value = handlerCompletion.value;
+ if (handlerError) state.done = true;
+ return handlerError ? Promise$1.reject(value) : Promise$1.resolve(value);
},
- 'return': function (value) {
- var that = this;
- return new Promise$1(function (resolve, reject) {
- var state = getInternalState$2(that);
- var iterator = state.iterator;
- state.done = true;
- var $$return = getMethod$3(iterator, 'return');
- if ($$return === undefined) return resolve({ done: true, value: value });
- Promise$1.resolve(call$6($$return, iterator, value)).then(function (result) {
- anObject$b(result);
- resolve({ done: true, value: value });
- }, reject);
+ 'return': function () {
+ var stateCompletion = getStateOrEarlyExit(this);
+ var state = stateCompletion.value;
+ if (stateCompletion.exit) return state;
+ state.done = true;
+ var iterator = state.iterator;
+ var returnMethod, result;
+ var completion = perform(function () {
+ if (state.inner) try {
+ iteratorClose$2(state.inner.iterator, 'normal');
+ } catch (error) {
+ return iteratorClose$2(iterator, 'throw', error);
+ }
+ return getMethod$3(iterator, 'return');
});
- },
- 'throw': function (value) {
- var that = this;
- return new Promise$1(function (resolve, reject) {
- var state = getInternalState$2(that);
- var iterator = state.iterator;
- state.done = true;
- var $$throw = getMethod$3(iterator, 'throw');
- if ($$throw === undefined) return reject(value);
- resolve(call$6($$throw, iterator, value));
+ returnMethod = result = completion.value;
+ if (completion.error) return Promise$1.reject(result);
+ if (returnMethod === undefined) return Promise$1.resolve(createIterResultObject$4(undefined, true));
+ completion = perform(function () {
+ return call$a(returnMethod, iterator);
+ });
+ result = completion.value;
+ if (completion.error) return Promise$1.reject(result);
+ return IS_ITERATOR ? Promise$1.resolve(result) : Promise$1.resolve(result).then(function (resolved) {
+ anObject$a(resolved);
+ return createIterResultObject$4(undefined, true);
});
}
});
+ };
- if (!IS_ITERATOR) {
- createNonEnumerableProperty$2(AsyncIteratorProxy.prototype, TO_STRING_TAG$2, 'Generator');
- }
+ var WrapForValidAsyncIteratorPrototype = createAsyncIteratorProxyPrototype(true);
+ var AsyncIteratorHelperPrototype = createAsyncIteratorProxyPrototype(false);
+
+ createNonEnumerableProperty$2(AsyncIteratorHelperPrototype, TO_STRING_TAG$2, 'Async Iterator Helper');
+
+ var asyncIteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
+ var AsyncIteratorProxy = function AsyncIterator(record, state) {
+ if (state) {
+ state.iterator = record.iterator;
+ state.next = record.next;
+ } else state = record;
+ state.type = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER;
+ state.nextHandler = nextHandler;
+ state.counter = 0;
+ state.done = false;
+ setInternalState$2(this, state);
+ };
+
+ AsyncIteratorProxy.prototype = IS_ITERATOR ? WrapForValidAsyncIteratorPrototype : AsyncIteratorHelperPrototype;
return AsyncIteratorProxy;
};
- // https://github.com/tc39/proposal-iterator-helpers
- var $$d = _export;
- var apply$4 = functionApply;
- var aCallable$5 = aCallable$e;
- var anObject$a = anObject$r;
+ var call$9 = functionCall;
+ var aCallable$5 = aCallable$f;
+ var anObject$9 = anObject$q;
+ var isObject$3 = isObject$e;
+ var getIteratorDirect$4 = getIteratorDirect$9;
var createAsyncIteratorProxy$1 = asyncIteratorCreateProxy;
+ var createIterResultObject$3 = createIterResultObject$5;
+ var closeAsyncIteration$1 = asyncIteratorClose;
- var AsyncIteratorProxy$1 = createAsyncIteratorProxy$1(function (Promise, args) {
+ var AsyncIteratorProxy$1 = createAsyncIteratorProxy$1(function (Promise) {
var state = this;
+ var iterator = state.iterator;
var mapper = state.mapper;
- return Promise.resolve(anObject$a(apply$4(state.next, state.iterator, args))).then(function (step) {
- if (anObject$a(step).done) {
+ return new Promise(function (resolve, reject) {
+ var doneAndReject = function (error) {
state.done = true;
- return { done: true, value: undefined };
- }
- return Promise.resolve(mapper(step.value)).then(function (value) {
- return { done: false, value: value };
- });
- });
- });
+ reject(error);
+ };
- $$d({ target: 'AsyncIterator', proto: true, real: true, forced: true }, {
- map: function map(mapper) {
- return new AsyncIteratorProxy$1({
- iterator: anObject$a(this),
- mapper: aCallable$5(mapper)
- });
- }
- });
+ var ifAbruptCloseAsyncIterator = function (error) {
+ closeAsyncIteration$1(iterator, doneAndReject, error, doneAndReject);
+ };
- var call$5 = functionCall;
- var aCallable$4 = aCallable$e;
- var anObject$9 = anObject$r;
+ Promise.resolve(anObject$9(call$9(state.next, iterator))).then(function (step) {
+ try {
+ if (anObject$9(step).done) {
+ state.done = true;
+ resolve(createIterResultObject$3(undefined, true));
+ } else {
+ var value = step.value;
+ try {
+ var result = mapper(value, state.counter++);
+
+ var handler = function (mapped) {
+ resolve(createIterResultObject$3(mapped, false));
+ };
+
+ if (isObject$3(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
+ else handler(result);
+ } catch (error2) { ifAbruptCloseAsyncIterator(error2); }
+ }
+ } catch (error) { doneAndReject(error); }
+ }, doneAndReject);
+ });
+ });
+
+ // `AsyncIterator.prototype.map` method
+ // https://github.com/tc39/proposal-iterator-helpers
+ var asyncIteratorMap = function map(mapper) {
+ anObject$9(this);
+ aCallable$5(mapper);
+ return new AsyncIteratorProxy$1(getIteratorDirect$4(this), {
+ mapper: mapper
+ });
+ };
+
+ var $$d = _export;
+ var map$1 = asyncIteratorMap;
+
+ // `AsyncIterator.prototype.map` method
+ // https://github.com/tc39/proposal-async-iterator-helpers
+ $$d({ target: 'AsyncIterator', proto: true, real: true }, {
+ map: map$1
+ });
+
+ var call$8 = functionCall;
var create$2 = objectCreate;
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$9;
- var redefineAll = redefineAll$2;
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
+ var defineBuiltIns = defineBuiltIns$2;
var wellKnownSymbol$7 = wellKnownSymbol$m;
var InternalStateModule$1 = internalState;
var getMethod$2 = getMethod$9;
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
+ var createIterResultObject$2 = createIterResultObject$5;
+ var iteratorClose$1 = iteratorClose$4;
- var ITERATOR_PROXY = 'IteratorProxy';
+ var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag');
+ var ITERATOR_HELPER = 'IteratorHelper';
+ var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
var setInternalState$1 = InternalStateModule$1.set;
- var getInternalState$1 = InternalStateModule$1.getterFor(ITERATOR_PROXY);
- var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag');
+ var createIteratorProxyPrototype = function (IS_ITERATOR) {
+ var getInternalState = InternalStateModule$1.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
- var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
- var IteratorProxy = function Iterator(state) {
- state.type = ITERATOR_PROXY;
- state.next = aCallable$4(state.iterator.next);
- state.done = false;
- state.ignoreArg = !IS_ITERATOR;
- setInternalState$1(this, state);
- };
-
- IteratorProxy.prototype = redefineAll(create$2(IteratorPrototype$2), {
- next: function next(arg) {
- var state = getInternalState$1(this);
- var args = arguments.length ? [state.ignoreArg ? undefined : arg] : IS_ITERATOR ? [] : [undefined];
- state.ignoreArg = false;
- var result = state.done ? undefined : call$5(nextHandler, state, args);
- return { done: state.done, value: result };
- },
- 'return': function (value) {
- var state = getInternalState$1(this);
- var iterator = state.iterator;
- state.done = true;
- var $$return = getMethod$2(iterator, 'return');
- return { done: true, value: $$return ? anObject$9(call$5($$return, iterator, value)).value : value };
+ return defineBuiltIns(create$2(IteratorPrototype$2), {
+ next: function next() {
+ var state = getInternalState(this);
+ // for simplification:
+ // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
+ // for `%IteratorHelperPrototype%.next` - just a value
+ if (IS_ITERATOR) return state.nextHandler();
+ try {
+ var result = state.done ? undefined : state.nextHandler();
+ return createIterResultObject$2(result, state.done);
+ } catch (error) {
+ state.done = true;
+ throw error;
+ }
},
- 'throw': function (value) {
- var state = getInternalState$1(this);
+ 'return': function () {
+ var state = getInternalState(this);
var iterator = state.iterator;
state.done = true;
- var $$throw = getMethod$2(iterator, 'throw');
- if ($$throw) return call$5($$throw, iterator, value);
- throw value;
+ if (IS_ITERATOR) {
+ var returnMethod = getMethod$2(iterator, 'return');
+ return returnMethod ? call$8(returnMethod, iterator) : createIterResultObject$2(undefined, true);
+ }
+ if (state.inner) try {
+ iteratorClose$1(state.inner.iterator, 'normal');
+ } catch (error) {
+ return iteratorClose$1(iterator, 'throw', error);
+ }
+ iteratorClose$1(iterator, 'normal');
+ return createIterResultObject$2(undefined, true);
}
});
+ };
- if (!IS_ITERATOR) {
- createNonEnumerableProperty$1(IteratorProxy.prototype, TO_STRING_TAG$1, 'Generator');
- }
+ var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
+ var IteratorHelperPrototype = createIteratorProxyPrototype(false);
+
+ createNonEnumerableProperty$1(IteratorHelperPrototype, TO_STRING_TAG$1, 'Iterator Helper');
+
+ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
+ var IteratorProxy = function Iterator(record, state) {
+ if (state) {
+ state.iterator = record.iterator;
+ state.next = record.next;
+ } else state = record;
+ state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
+ state.nextHandler = nextHandler;
+ state.counter = 0;
+ state.done = false;
+ setInternalState$1(this, state);
+ };
+
+ IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
return IteratorProxy;
};
- var anObject$8 = anObject$r;
- var iteratorClose = iteratorClose$2;
+ var anObject$8 = anObject$q;
+ var iteratorClose = iteratorClose$4;
// call something on iterator step with safe closing on error
var callWithSafeIterationClosing$3 = function (iterator, fn, value, ENTRIES) {
@@ -2966,28 +3203,37 @@
}
};
- // https://github.com/tc39/proposal-iterator-helpers
- var $$c = _export;
- var apply$3 = functionApply;
- var aCallable$3 = aCallable$e;
- var anObject$7 = anObject$r;
+ var call$7 = functionCall;
+ var aCallable$4 = aCallable$f;
+ var anObject$7 = anObject$q;
+ var getIteratorDirect$3 = getIteratorDirect$9;
var createIteratorProxy$1 = iteratorCreateProxy;
var callWithSafeIterationClosing$2 = callWithSafeIterationClosing$3;
- var IteratorProxy$1 = createIteratorProxy$1(function (args) {
+ var IteratorProxy$1 = createIteratorProxy$1(function () {
var iterator = this.iterator;
- var result = anObject$7(apply$3(this.next, iterator, args));
+ var result = anObject$7(call$7(this.next, iterator));
var done = this.done = !!result.done;
- if (!done) return callWithSafeIterationClosing$2(iterator, this.mapper, result.value);
+ if (!done) return callWithSafeIterationClosing$2(iterator, this.mapper, [result.value, this.counter++], true);
});
- $$c({ target: 'Iterator', proto: true, real: true, forced: true }, {
- map: function map(mapper) {
- return new IteratorProxy$1({
- iterator: anObject$7(this),
- mapper: aCallable$3(mapper)
- });
- }
+ // `Iterator.prototype.map` method
+ // https://github.com/tc39/proposal-iterator-helpers
+ var iteratorMap = function map(mapper) {
+ anObject$7(this);
+ aCallable$4(mapper);
+ return new IteratorProxy$1(getIteratorDirect$3(this), {
+ mapper: mapper
+ });
+ };
+
+ var $$c = _export;
+ var map = iteratorMap;
+
+ // `Iterator.prototype.map` method
+ // https://github.com/tc39/proposal-iterator-helpers
+ $$c({ target: 'Iterator', proto: true, real: true }, {
+ map: map
});
var $$b = _export;
@@ -3005,83 +3251,109 @@
}
});
- // https://github.com/tc39/proposal-iterator-helpers
var $$a = _export;
- var apply$2 = functionApply;
- var aCallable$2 = aCallable$e;
- var anObject$6 = anObject$r;
+ var call$6 = functionCall;
+ var aCallable$3 = aCallable$f;
+ var anObject$6 = anObject$q;
+ var isObject$2 = isObject$e;
+ var getIteratorDirect$2 = getIteratorDirect$9;
var createAsyncIteratorProxy = asyncIteratorCreateProxy;
+ var createIterResultObject$1 = createIterResultObject$5;
+ var closeAsyncIteration = asyncIteratorClose;
- var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise, args) {
+ var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {
var state = this;
- var filterer = state.filterer;
+ var iterator = state.iterator;
+ var predicate = state.predicate;
return new Promise(function (resolve, reject) {
+ var doneAndReject = function (error) {
+ state.done = true;
+ reject(error);
+ };
+
+ var ifAbruptCloseAsyncIterator = function (error) {
+ closeAsyncIteration(iterator, doneAndReject, error, doneAndReject);
+ };
+
var loop = function () {
try {
- Promise.resolve(anObject$6(apply$2(state.next, state.iterator, args))).then(function (step) {
+ Promise.resolve(anObject$6(call$6(state.next, iterator))).then(function (step) {
try {
if (anObject$6(step).done) {
state.done = true;
- resolve({ done: true, value: undefined });
+ resolve(createIterResultObject$1(undefined, true));
} else {
var value = step.value;
- Promise.resolve(filterer(value)).then(function (selected) {
- selected ? resolve({ done: false, value: value }) : loop();
- }, reject);
+ try {
+ var result = predicate(value, state.counter++);
+
+ var handler = function (selected) {
+ selected ? resolve(createIterResultObject$1(value, false)) : loop();
+ };
+
+ if (isObject$2(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator);
+ else handler(result);
+ } catch (error3) { ifAbruptCloseAsyncIterator(error3); }
}
- } catch (err) { reject(err); }
- }, reject);
- } catch (error) { reject(error); }
+ } catch (error2) { doneAndReject(error2); }
+ }, doneAndReject);
+ } catch (error) { doneAndReject(error); }
};
loop();
});
});
- $$a({ target: 'AsyncIterator', proto: true, real: true, forced: true }, {
- filter: function filter(filterer) {
- return new AsyncIteratorProxy({
- iterator: anObject$6(this),
- filterer: aCallable$2(filterer)
+ // `AsyncIterator.prototype.filter` method
+ // https://github.com/tc39/proposal-async-iterator-helpers
+ $$a({ target: 'AsyncIterator', proto: true, real: true }, {
+ filter: function filter(predicate) {
+ anObject$6(this);
+ aCallable$3(predicate);
+ return new AsyncIteratorProxy(getIteratorDirect$2(this), {
+ predicate: predicate
});
}
});
- // https://github.com/tc39/proposal-iterator-helpers
var $$9 = _export;
- var apply$1 = functionApply;
- var aCallable$1 = aCallable$e;
- var anObject$5 = anObject$r;
+ var call$5 = functionCall;
+ var aCallable$2 = aCallable$f;
+ var anObject$5 = anObject$q;
+ var getIteratorDirect$1 = getIteratorDirect$9;
var createIteratorProxy = iteratorCreateProxy;
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$3;
- var IteratorProxy = createIteratorProxy(function (args) {
+ var IteratorProxy = createIteratorProxy(function () {
var iterator = this.iterator;
- var filterer = this.filterer;
+ var predicate = this.predicate;
var next = this.next;
var result, done, value;
while (true) {
- result = anObject$5(apply$1(next, iterator, args));
+ result = anObject$5(call$5(next, iterator));
done = this.done = !!result.done;
if (done) return;
value = result.value;
- if (callWithSafeIterationClosing$1(iterator, filterer, value)) return value;
+ if (callWithSafeIterationClosing$1(iterator, predicate, [value, this.counter++], true)) return value;
}
});
- $$9({ target: 'Iterator', proto: true, real: true, forced: true }, {
- filter: function filter(filterer) {
- return new IteratorProxy({
- iterator: anObject$5(this),
- filterer: aCallable$1(filterer)
+ // `Iterator.prototype.filter` method
+ // https://github.com/tc39/proposal-iterator-helpers
+ $$9({ target: 'Iterator', proto: true, real: true }, {
+ filter: function filter(predicate) {
+ anObject$5(this);
+ aCallable$2(predicate);
+ return new IteratorProxy(getIteratorDirect$1(this), {
+ predicate: predicate
});
}
});
var wellKnownSymbol$6 = wellKnownSymbol$m;
var create$1 = objectCreate;
- var definePropertyModule = objectDefineProperty;
+ var defineProperty$1 = objectDefineProperty.f;
var UNSCOPABLES = wellKnownSymbol$6('unscopables');
var ArrayPrototype = Array.prototype;
@@ -3089,7 +3361,7 @@
// Array.prototype[@@unscopables]
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
if (ArrayPrototype[UNSCOPABLES] == undefined) {
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
+ defineProperty$1(ArrayPrototype, UNSCOPABLES, {
configurable: true,
value: create$1(null)
});
@@ -3108,6 +3380,7 @@
var SKIPS_HOLES$1 = true;
// Shouldn't skip holes
+ // eslint-disable-next-line es/no-array-prototype-find -- testing
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES$1 = false; });
// `Array.prototype.find` method
@@ -3121,33 +3394,37 @@
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables$1(FIND);
- // https://github.com/tc39/proposal-iterator-helpers
var $$7 = _export;
var $find = asyncIteratorIteration.find;
- $$7({ target: 'AsyncIterator', proto: true, real: true, forced: true }, {
- find: function find(fn) {
- return $find(this, fn);
+ // `AsyncIterator.prototype.find` method
+ // https://github.com/tc39/proposal-async-iterator-helpers
+ $$7({ target: 'AsyncIterator', proto: true, real: true }, {
+ find: function find(predicate) {
+ return $find(this, predicate);
}
});
- // https://github.com/tc39/proposal-iterator-helpers
var $$6 = _export;
var iterate = iterate$3;
- var aCallable = aCallable$e;
- var anObject$4 = anObject$r;
+ var aCallable$1 = aCallable$f;
+ var anObject$4 = anObject$q;
+ var getIteratorDirect = getIteratorDirect$9;
- $$6({ target: 'Iterator', proto: true, real: true, forced: true }, {
- find: function find(fn) {
+ // `Iterator.prototype.find` method
+ // https://github.com/tc39/proposal-iterator-helpers
+ $$6({ target: 'Iterator', proto: true, real: true }, {
+ find: function find(predicate) {
anObject$4(this);
- aCallable(fn);
- return iterate(this, function (value, stop) {
- if (fn(value)) return stop(value);
- }, { IS_ITERATOR: true, INTERRUPTED: true }).result;
+ aCallable$1(predicate);
+ var record = getIteratorDirect(this);
+ var counter = 0;
+ return iterate(record, function (value, stop) {
+ if (predicate(value, counter++)) return stop(value);
+ }, { IS_RECORD: true, INTERRUPTED: true }).result;
}
});
- var global$4 = global$I;
var bind = functionBindContext;
var call$4 = functionCall;
var toObject$3 = toObject$8;
@@ -3159,7 +3436,7 @@
var getIterator = getIterator$2;
var getIteratorMethod = getIteratorMethod$3;
- var Array$2 = global$4.Array;
+ var $Array$1 = Array;
// `Array.from` method implementation
// https://tc39.es/ecma262/#sec-array.from
@@ -3174,7 +3451,7 @@
var index = 0;
var length, result, step, iterator, next, value;
// if the target is not iterable or it's an array with the default iterator - use a simple case
- if (iteratorMethod && !(this == Array$2 && isArrayIteratorMethod(iteratorMethod))) {
+ if (iteratorMethod && !(this === $Array$1 && isArrayIteratorMethod(iteratorMethod))) {
iterator = getIterator(O, iteratorMethod);
next = iterator.next;
result = IS_CONSTRUCTOR ? new this() : [];
@@ -3184,7 +3461,7 @@
}
} else {
length = lengthOfArrayLike$2(O);
- result = IS_CONSTRUCTOR ? new this(length) : Array$2(length);
+ result = IS_CONSTRUCTOR ? new this(length) : $Array$1(length);
for (;length > index; index++) {
value = mapping ? mapfn(O[index], index) : O[index];
createProperty$2(result, index, value);
@@ -3212,7 +3489,7 @@
iteratorWithReturn[ITERATOR$1] = function () {
return this;
};
- // eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
+ // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
Array.from(iteratorWithReturn, function () { throw 2; });
} catch (error) { /* empty */ }
@@ -3238,7 +3515,7 @@
var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
- // eslint-disable-next-line es-x/no-array-from -- required for testing
+ // eslint-disable-next-line es/no-array-from -- required for testing
Array.from(iterable);
});
@@ -3269,7 +3546,7 @@
var returnThis$1 = function () { return this; };
- var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
+ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
var TO_STRING_TAG = NAME + ' Iterator';
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
@@ -3277,34 +3554,42 @@
return IteratorConstructor;
};
- var global$3 = global$I;
- var isCallable$2 = isCallable$j;
+ var uncurryThis$3 = functionUncurryThis;
+ var aCallable = aCallable$f;
+
+ var functionUncurryThisAccessor = function (object, key, method) {
+ try {
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ return uncurryThis$3(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
+ } catch (error) { /* empty */ }
+ };
- var String$1 = global$3.String;
- var TypeError$2 = global$3.TypeError;
+ var isCallable$2 = isCallable$k;
+
+ var $String = String;
+ var $TypeError = TypeError;
var aPossiblePrototype$1 = function (argument) {
if (typeof argument == 'object' || isCallable$2(argument)) return argument;
- throw TypeError$2("Can't set " + String$1(argument) + ' as a prototype');
+ throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
};
/* eslint-disable no-proto -- safe */
- var uncurryThis$3 = functionUncurryThis;
- var anObject$3 = anObject$r;
+ var uncurryThisAccessor = functionUncurryThisAccessor;
+ var anObject$3 = anObject$q;
var aPossiblePrototype = aPossiblePrototype$1;
// `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
// Works with __proto__ only. Old v8 can't work with null proto objects.
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
var CORRECT_SETTER = false;
var test = {};
var setter;
try {
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
- setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
setter(test, []);
CORRECT_SETTER = test instanceof Array;
} catch (error) { /* empty */ }
@@ -3320,13 +3605,13 @@
var $$4 = _export;
var call$3 = functionCall;
var FunctionName = functionName;
- var isCallable$1 = isCallable$j;
- var createIteratorConstructor = createIteratorConstructor$1;
+ var isCallable$1 = isCallable$k;
+ var createIteratorConstructor = iteratorCreateConstructor;
var getPrototypeOf = objectGetPrototypeOf;
var setPrototypeOf = objectSetPrototypeOf;
var setToStringTag = setToStringTag$2;
- var createNonEnumerableProperty = createNonEnumerableProperty$9;
- var redefine$1 = redefine$8.exports;
+ var createNonEnumerableProperty = createNonEnumerableProperty$8;
+ var defineBuiltIn$1 = defineBuiltIn$8;
var wellKnownSymbol$3 = wellKnownSymbol$m;
var Iterators = iterators;
var IteratorsCore = iteratorsCore;
@@ -3342,7 +3627,7 @@
var returnThis = function () { return this; };
- var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
+ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
createIteratorConstructor(IteratorConstructor, NAME, next);
var getIterationMethod = function (KIND) {
@@ -3373,7 +3658,7 @@
if (setPrototypeOf) {
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR])) {
- redefine$1(CurrentIteratorPrototype, ITERATOR, returnThis);
+ defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR, returnThis);
}
}
// Set @@toStringTag to native iterators
@@ -3400,14 +3685,14 @@
};
if (FORCED) for (KEY in methods) {
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
- redefine$1(IterablePrototype, KEY, methods[KEY]);
+ defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
}
} else $$4({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
}
// define iterator
if (IterablePrototype[ITERATOR] !== defaultIterator) {
- redefine$1(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
+ defineBuiltIn$1(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
}
Iterators[NAME] = defaultIterator;
@@ -3417,7 +3702,8 @@
var charAt$1 = stringMultibyte.charAt;
var toString$2 = toString$8;
var InternalStateModule = internalState;
- var defineIterator = defineIterator$1;
+ var defineIterator = iteratorDefine;
+ var createIterResultObject = createIterResultObject$5;
var STRING_ITERATOR = 'String Iterator';
var setInternalState = InternalStateModule.set;
@@ -3438,10 +3724,10 @@
var string = state.string;
var index = state.index;
var point;
- if (index >= string.length) return { value: undefined, done: true };
+ if (index >= string.length) return createIterResultObject(undefined, true);
point = charAt$1(string, index);
state.index += point.length;
- return { value: point, done: false };
+ return createIterResultObject(point, false);
});
var uncurryThis$2 = functionUncurryThis;
@@ -3449,22 +3735,21 @@
var arraySlice = uncurryThis$2([].slice);
var $$3 = _export;
- var global$2 = global$I;
var isArray$1 = isArray$3;
var isConstructor = isConstructor$4;
- var isObject$1 = isObject$9;
+ var isObject$1 = isObject$e;
var toAbsoluteIndex = toAbsoluteIndex$3;
var lengthOfArrayLike$1 = lengthOfArrayLike$8;
var toIndexedObject = toIndexedObject$6;
var createProperty$1 = createProperty$4;
var wellKnownSymbol$2 = wellKnownSymbol$m;
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$4;
- var un$Slice = arraySlice;
+ var nativeSlice = arraySlice;
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$1('slice');
var SPECIES = wellKnownSymbol$2('species');
- var Array$1 = global$2.Array;
+ var $Array = Array;
var max$1 = Math.max;
// `Array.prototype.slice` method
@@ -3481,17 +3766,17 @@
if (isArray$1(O)) {
Constructor = O.constructor;
// cross-realm fallback
- if (isConstructor(Constructor) && (Constructor === Array$1 || isArray$1(Constructor.prototype))) {
+ if (isConstructor(Constructor) && (Constructor === $Array || isArray$1(Constructor.prototype))) {
Constructor = undefined;
} else if (isObject$1(Constructor)) {
Constructor = Constructor[SPECIES];
if (Constructor === null) Constructor = undefined;
}
- if (Constructor === Array$1 || Constructor === undefined) {
- return un$Slice(O, k, fin);
+ if (Constructor === $Array || Constructor === undefined) {
+ return nativeSlice(O, k, fin);
}
}
- result = new (Constructor === undefined ? Array$1 : Constructor)(max$1(fin - k, 0));
+ result = new (Constructor === undefined ? $Array : Constructor)(max$1(fin - k, 0));
for (n = 0; k < fin; k++, n++) if (k in O) createProperty$1(result, n, O[k]);
result.length = n;
return result;
@@ -3501,7 +3786,7 @@
var $$2 = _export;
var toObject$2 = toObject$8;
var nativeKeys = objectKeys$1;
- var fails$3 = fails$n;
+ var fails$3 = fails$o;
var FAILS_ON_PRIMITIVES = fails$3(function () { nativeKeys(1); });
@@ -3520,6 +3805,7 @@
var charAt = uncurryThis$1(''.charAt);
var replace = uncurryThis$1(''.replace);
var stringSlice$1 = uncurryThis$1(''.slice);
+ // eslint-disable-next-line redos/no-vulnerable -- safe
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
@@ -3562,9 +3848,10 @@
var call$2 = functionCall;
var uncurryThis = functionUncurryThis;
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
- var fails$2 = fails$n;
- var anObject$2 = anObject$r;
- var isCallable = isCallable$j;
+ var fails$2 = fails$o;
+ var anObject$2 = anObject$q;
+ var isCallable = isCallable$k;
+ var isNullOrUndefined$1 = isNullOrUndefined$7;
var toIntegerOrInfinity = toIntegerOrInfinity$4;
var toLength$1 = toLength$4;
var toString$1 = toString$8;
@@ -3622,7 +3909,7 @@
// https://tc39.es/ecma262/#sec-string.prototype.replace
function replace(searchValue, replaceValue) {
var O = requireObjectCoercible$1(this);
- var replacer = searchValue == undefined ? undefined : getMethod$1(searchValue, REPLACE);
+ var replacer = isNullOrUndefined$1(searchValue) ? undefined : getMethod$1(searchValue, REPLACE);
return replacer
? call$2(replacer, searchValue, O, replaceValue)
: call$2(nativeReplace, toString$1(O), searchValue, replaceValue);
@@ -3708,24 +3995,24 @@
};
var PROPER_FUNCTION_NAME = functionName.PROPER;
- var redefine = redefine$8.exports;
- var anObject$1 = anObject$r;
+ var defineBuiltIn = defineBuiltIn$8;
+ var anObject$1 = anObject$q;
var $toString = toString$8;
- var fails$1 = fails$n;
+ var fails$1 = fails$o;
var getRegExpFlags = regexpGetFlags;
var TO_STRING = 'toString';
var RegExpPrototype = RegExp.prototype;
- var n$ToString = RegExpPrototype[TO_STRING];
+ var nativeToString = RegExpPrototype[TO_STRING];
- var NOT_GENERIC = fails$1(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
+ var NOT_GENERIC = fails$1(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
// FF44- RegExp#toString has a wrong name
- var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING;
// `RegExp.prototype.toString` method
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
if (NOT_GENERIC || INCORRECT_NAME) {
- redefine(RegExp.prototype, TO_STRING, function toString() {
+ defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
var R = anObject$1(this);
var pattern = $toString(R.source);
var flags = $toString(getRegExpFlags(R));
@@ -3735,7 +4022,8 @@
var call = functionCall;
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
- var anObject = anObject$r;
+ var anObject = anObject$q;
+ var isNullOrUndefined = isNullOrUndefined$7;
var toLength = toLength$4;
var toString = toString$8;
var requireObjectCoercible = requireObjectCoercible$6;
@@ -3750,7 +4038,7 @@
// https://tc39.es/ecma262/#sec-string.prototype.match
function match(regexp) {
var O = requireObjectCoercible(this);
- var matcher = regexp == undefined ? undefined : getMethod(regexp, MATCH);
+ var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);
return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));
},
// `RegExp.prototype[@@match]` method
@@ -3788,6 +4076,7 @@
var SKIPS_HOLES = true;
// Shouldn't skip holes
+ // eslint-disable-next-line es/no-array-prototype-findindex -- testing
if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
// `Array.prototype.findIndex` method
@@ -3802,12 +4091,12 @@
addToUnscopables(FIND_INDEX);
var $ = _export;
- var global$1 = global$I;
- var fails = fails$n;
+ var fails = fails$o;
var isArray = isArray$3;
- var isObject = isObject$9;
+ var isObject = isObject$e;
var toObject = toObject$8;
var lengthOfArrayLike = lengthOfArrayLike$8;
+ var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;
var createProperty = createProperty$4;
var arraySpeciesCreate = arraySpeciesCreate$2;
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$4;
@@ -3815,9 +4104,6 @@
var V8_VERSION = engineV8Version;
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
- var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
- var TypeError$1 = global$1.TypeError;
// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
@@ -3828,20 +4114,18 @@
return array.concat()[0] !== array;
});
- var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
-
var isConcatSpreadable = function (O) {
if (!isObject(O)) return false;
var spreadable = O[IS_CONCAT_SPREADABLE];
return spreadable !== undefined ? !!spreadable : isArray(O);
};
- var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
+ var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
// `Array.prototype.concat` method
// https://tc39.es/ecma262/#sec-array.prototype.concat
// with adding support of @@isConcatSpreadable and @@species
- $({ target: 'Array', proto: true, forced: FORCED }, {
+ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
concat: function concat(arg) {
var O = toObject(this);
@@ -3852,10 +4136,10 @@
E = i === -1 ? O : arguments[i];
if (isConcatSpreadable(E)) {
len = lengthOfArrayLike(E);
- if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
+ doesNotExceedSafeInteger(n + len);
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
} else {
- if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
+ doesNotExceedSafeInteger(n + 1);
createProperty(A, n++, E);
}
}
@@ -3882,7 +4166,6 @@
if (idx === 0) to.insertBefore(elem, to.childNodes[idx] || null);else to.appendChild(elem);
}
},
-
/**
* Adds event listener to element(s)
* @param {Element|Element[]} elem Element(s) to add event
@@ -3893,14 +4176,12 @@
function listenEvent(el, evt, fn) {
el.addEventListener(evt, fn, false);
}
-
if (Array.isArray(elem)) {
elem.forEach(function (e) {
return listenEvent(e, event, handler);
});
} else listenEvent(elem, event, handler);
},
-
/**
* Removes event listener to element(s)
* @param {Element|Element[]} elem Element(s) to remove event
@@ -3911,14 +4192,12 @@
function delEvent(el, evt, fn) {
el.removeEventListener(evt, fn, false);
}
-
if (Array.isArray(elem)) {
elem.forEach(function (e) {
return delEvent(e, event, handler);
});
} else delEvent(elem, event, handler);
},
-
/**
* Removes child nodes
* @param {Element} elem Html element to empty
@@ -3928,7 +4207,6 @@
elem.removeChild(elem.firstChild);
}
},
-
/**
* Creates an HTML element; `document.createElement` helper function
* @see {@link http://jsfiddle.net/andr3ww/pvuzgfg6/13/}
@@ -3943,7 +4221,6 @@
if (typeof attributes !== 'undefined') hf.setAttributes(el, attributes);
return el;
},
-
/**
* Sets the attribute(s) of the element
* @param {Element} el Html element
@@ -3954,7 +4231,6 @@
el.setAttribute(attr, attrs[attr]);
}
},
-
/**
* Sets the inline style(s) of the element
* @param {Element} el HTML element
@@ -3965,7 +4241,6 @@
el.style[style] = styles[style];
}
},
-
/**
* Adds class name(s) to the element
* @param {Element} el HTML element
@@ -3978,7 +4253,6 @@
});
} else el.classList.add(className);
},
-
/**
* Removes class name(s) of an element
* @param {Element} el HTML element
@@ -3991,7 +4265,6 @@
});
} else el.classList.remove(className);
},
-
/**
* Gets the number of days based on the month of the given date
* @param {Date} date Date object
@@ -3999,7 +4272,6 @@
getDaysCount: function getDaysCount(date) {
return new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate();
},
-
/**
* Calculates date difference
* @param {Date} from Date from
@@ -4010,7 +4282,6 @@
// Round to nearest whole number to deal with DST.
return Math.round((to - from) / (1000 * 60 * 60 * 24));
},
-
/**
* Returns the document width and height
*/
@@ -4021,23 +4292,22 @@
width: Math.max(doc.offsetWidth, doc.clientWidth)
};
},
-
/**
* Calculates the offset of the given html element
* @param {Element} el HTML element
*/
calcOffset: function calcOffset(el) {
var doc = document.documentElement || document.body,
- rect = el.getBoundingClientRect(),
- offset = {
- top: rect.top + doc.scrollTop,
- left: rect.left + doc.scrollLeft
- },
- dim = {
- height: el.offsetHeight,
- width: el.offsetWidth
- },
- screen = hf.screenDim();
+ rect = el.getBoundingClientRect(),
+ offset = {
+ top: rect.top + doc.scrollTop,
+ left: rect.left + doc.scrollLeft
+ },
+ dim = {
+ height: el.offsetHeight,
+ width: el.offsetWidth
+ },
+ screen = hf.screenDim();
return {
top: offset.top + dim.height,
left: offset.left,
@@ -4045,7 +4315,6 @@
bottom: screen.height - offset.top
};
},
-
/**
* Vanilla JavaScript version of jQuery.extend()
* @see {@link https://gomakethings.com/vanilla-javascript-version-of-jquery-extend/}
@@ -4055,14 +4324,15 @@
var extended = {};
var deep = false;
var i = 0;
- var length = arguments.length; // Check if a deep merge
+ var length = arguments.length;
+ // Check if a deep merge
if (Object.prototype.toString.call(arguments[0]) === '[object Boolean]') {
deep = arguments[0];
i++;
- } // Merge the object into the extended object
-
+ }
+ // Merge the object into the extended object
var merge = function merge(obj) {
for (var prop in obj) {
if (Object.prototype.hasOwnProperty.call(obj, prop)) {
@@ -4074,17 +4344,15 @@
}
}
}
- }; // Loop through each object and conduct a merge
-
+ };
+ // Loop through each object and conduct a merge
for (; i < length; i++) {
var obj = arguments[i];
merge(obj);
}
-
return extended;
},
-
/**
* Returns formatted string representation of specified date
* @param {Date} date Date to format
@@ -4092,46 +4360,36 @@
*/
formatDate: function formatDate(date, format) {
var d = new Date(date),
- day = d.getDate(),
- m = d.getMonth(),
- y = d.getFullYear(),
- i18n = this.config.i18n,
- mVal = m + 1;
+ day = d.getDate(),
+ m = d.getMonth(),
+ y = d.getFullYear(),
+ i18n = this.config.i18n,
+ mVal = m + 1;
return format.replace(/(yyyy|yy|mmmm|mmm|mm|m|DD|D|dd|d)/g, function (e) {
switch (e) {
case 'd':
return day;
-
case 'dd':
return ('00' + day).slice(-2);
-
case 'D':
return i18n.shortDays[d.getDay()];
-
case 'DD':
return i18n.days[d.getDay()];
-
case 'm':
return mVal;
-
case 'mm':
return ('00' + mVal).slice(-2);
-
case 'mmm':
return i18n.shortMonths[m];
-
case 'mmmm':
return i18n.months[m];
-
case 'yy':
return y.toString().substring(2, 4);
-
case 'yyyy':
return y;
}
});
},
-
/**
* Parses date string using default or specified format
* @param {string} date Date string to parse
@@ -4139,31 +4397,31 @@
*/
parseDate: function parseDate(date, format) {
var _ = this,
- _format = typeof format === 'undefined' ? _.config.format : format,
- dayLength = (_format.match(/d/g) || []).length,
- monthLength = (_format.match(/m/g) || []).length,
- yearLength = (_format.match(/y/g) || []).length,
- isFullMonth = monthLength == 4,
- isMonthNoPadding = monthLength == 1,
- isDayNoPadding = dayLength == 1,
- lastIndex = date.length,
- firstM = _format.indexOf('m'),
- firstD = _format.indexOf('d'),
- firstY = _format.indexOf('y'),
- month = '',
- day = '',
- year = '',
- before,
- after,
- monthIdx = -1;
-
+ _format = typeof format === 'undefined' ? _.config.format : format,
+ dayLength = (_format.match(/d/g) || []).length,
+ monthLength = (_format.match(/m/g) || []).length,
+ yearLength = (_format.match(/y/g) || []).length,
+ isFullMonth = monthLength == 4,
+ isMonthNoPadding = monthLength == 1,
+ isDayNoPadding = dayLength == 1,
+ lastIndex = date.length,
+ firstM = _format.indexOf('m'),
+ firstD = _format.indexOf('d'),
+ firstY = _format.indexOf('y'),
+ month = '',
+ day = '',
+ year = '',
+ before,
+ after,
+ monthIdx = -1;
if (date === '') return {
m: null,
d: null,
y: null,
date: new Date('')
- }; // Get month on given date string using the format (default or specified)
+ };
+ // Get month on given date string using the format (default or specified)
if (isFullMonth) {
monthIdx = _.config.i18n.months.findIndex(function (m) {
return date.indexOf(m) >= 0;
@@ -4176,10 +4434,8 @@
month = date.substring(firstM, firstM + monthLength);
} else {
var lastIndexM = _format.lastIndexOf('m');
-
before = _format.substring(firstM - 1, firstM);
after = _format.substring(lastIndexM + 1, lastIndexM + 2);
-
if (lastIndexM === _format.length - 1) {
month = date.substring(date.indexOf(before, firstM - 1) + 1, lastIndex);
} else if (firstM === 0) {
@@ -4187,17 +4443,15 @@
} else {
month = date.substring(date.indexOf(before, firstM - 1) + 1, date.indexOf(after, firstM + 1));
}
- } // Get date on given date string using the format (default or specified)
-
+ }
+ // Get date on given date string using the format (default or specified)
if (!isDayNoPadding && !isMonthNoPadding || !isDayNoPadding && isMonthNoPadding && firstD < firstM) {
day = date.substring(firstD, firstD + dayLength);
} else {
var lastIndexD = _format.lastIndexOf('d');
-
before = _format.substring(firstD - 1, firstD);
after = _format.substring(lastIndexD + 1, lastIndexD + 2);
-
if (lastIndexD === _format.length - 1) {
day = date.substring(date.indexOf(before, firstD - 1) + 1, lastIndex);
} else if (firstD === 0) {
@@ -4205,9 +4459,9 @@
} else {
day = date.substring(date.indexOf(before, firstD - 1) + 1, date.indexOf(after, firstD + 1));
}
- } // Get year on given date string using the format (default or specified)
-
+ }
+ // Get year on given date string using the format (default or specified)
if (!isMonthNoPadding && !isDayNoPadding || isMonthNoPadding && isDayNoPadding && firstY < firstM && firstY < firstD || !isMonthNoPadding && isDayNoPadding && firstY < firstD || isMonthNoPadding && !isDayNoPadding && firstY < firstM) {
year = date.substring(firstY, firstY + yearLength);
} else {
@@ -4215,7 +4469,6 @@
var yearStart = date.indexOf(before, firstY - 1) + 1;
year = date.substring(yearStart, yearStart + yearLength);
}
-
return {
m: month,
d: day,
@@ -4223,7 +4476,6 @@
date: isNaN(parseInt(month)) ? new Date("".concat(year, "-").concat(month, "-").concat(day)) : new Date(year, isNaN(parseInt(month)) ? monthIdx : month - 1, day)
};
},
-
/**
* Triggers the `change`, `onchange`, `datechanged` event on the specified input element
* @param {HTMLInputElement} el HTML input element
@@ -4247,23 +4499,19 @@
el.dispatchEvent(onChange);
el.dispatchEvent(dateChanged);
},
-
/**
* Creates HTML for the days of the week
*/
daysOfWeekDOM: function daysOfWeekDOM() {
var config = this.config,
- locale = config.i18n,
- firstDay = config.firstDay || locale.firstDay;
+ locale = config.i18n,
+ firstDay = config.firstDay || locale.firstDay;
var weekDays = [];
-
for (var i = 0, dow = firstDay; i < locale.shorterDays.length; i++, dow++) {
weekDays.push(locale.shorterDays[dow % 7]);
}
-
return "".concat(weekDays.join(''), "");
},
-
/**
* Converts date JSON to Date object
* @param {Object} o Date breakdown (year, month, date)
@@ -4274,7 +4522,6 @@
jsonToDate: function jsonToDate(o) {
return new Date(o.year, o.month, o.date);
},
-
/**
* Converts Date object to JSON
* @param {Date} date Date object
@@ -4286,7 +4533,6 @@
date: date.getDate()
} : null;
},
-
/**
* Determines if object is an HTML element
* @returns `true` if the object is an instance of an HTML element; `false` otherwise
@@ -4294,7 +4540,6 @@
isElement: function isElement(obj) {
return obj instanceof Element;
},
-
/**
* Swipe event handler
* @param {Element} elem HTML element
@@ -4304,9 +4549,9 @@
*/
swipeEvent: function swipeEvent(elem, callbacks) {
var clientX = 0,
- clientY = 0,
- lastX = 0,
- lastY = 0;
+ clientY = 0,
+ lastX = 0,
+ lastY = 0;
this.addEvent(elem, 'touchstart', function (e) {
clientX = e.touches[0].clientX;
clientY = e.touches[0].clientY;
@@ -4315,34 +4560,29 @@
lastX = e.changedTouches[0].clientX;
lastY = e.changedTouches[0].clientY;
var deltaX = clientX - lastX,
- deltaY = clientY - lastY,
- swipeRight = deltaX > 100 && Math.abs(deltaY) <= 50,
- swipeLeft = deltaX < -100 && Math.abs(deltaY) <= 50;
+ deltaY = clientY - lastY,
+ swipeRight = deltaX > 100 && Math.abs(deltaY) <= 50,
+ swipeLeft = deltaX < -100 && Math.abs(deltaY) <= 50;
if (swipeRight && callbacks !== null && callbacks !== void 0 && callbacks.swipeRight) callbacks.swipeRight();else if (swipeLeft && callbacks !== null && callbacks !== void 0 && callbacks.swipeLeft) callbacks.swipeLeft();
});
},
-
/**
* Click event handler for date elements
* @param {Element} dateElem Date element
*/
dateClickEvent: function dateClickEvent(dateElem) {
var _ = this;
-
hf.addEvent(dateElem, 'click', function () {
var _this = this,
- _year = _this.dataset.year,
- _month = _this.dataset.month,
- _date = _this.dataset.date,
- _selected = new Date(_year, _month, _date),
- isFrom = false;
-
+ _year = _this.dataset.year,
+ _month = _this.dataset.month,
+ _date = _this.dataset.date,
+ _selected = new Date(_year, _month, _date),
+ isFrom = false;
if (_._dateDisabled(_selected)) return;
-
if (_.config.range) {
var rangeFrom = _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
- rangeTo = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
-
+ rangeTo = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
if (!_.rangeFrom || _.rangeFrom && _selected < rangeFrom || _.rangeFrom && _.rangeTo && hf.dateDiff(rangeFrom, _selected) <= hf.dateDiff(_selected, rangeTo) && hf.dateDiff(rangeFrom, _selected) !== 0 || _.rangeFrom && _.rangeTo && rangeTo.getTime() === _selected.getTime()) {
_.rangeFrom = {
year: _year,
@@ -4358,105 +4598,84 @@
};
isFrom = false;
}
-
_.datepicker.calendarHolder.calendarViews.wrapper.querySelectorAll('.dudp__date').forEach(function (delem) {
var _delem$classList;
-
var _deYear = delem.dataset.year,
- _deMonth = delem.dataset.month,
- _deDate = delem.dataset.date,
- _inRange = _._inRange(new Date(_deYear, _deMonth, _deDate));
-
+ _deMonth = delem.dataset.month,
+ _deDate = delem.dataset.date,
+ _inRange = _._inRange(new Date(_deYear, _deMonth, _deDate));
delem.classList[_year === _deYear && _month === _deMonth && _date === _deDate ? 'add' : 'remove'](isFrom ? 'range-from' : 'range-to');
delem.classList[_inRange ? 'add' : 'remove']('in-range');
-
(_delem$classList = delem.classList).remove.apply(_delem$classList, ['range-from-preview', 'range-to-preview', 'in-range-preview']);
});
} else {
if (_.config.multiple) {
var isSelected = _this.classList.contains('selected');
-
_.datepicker.calendarHolder.calendarViews.wrapper.querySelectorAll(".dudp__date[data-date=\"".concat(_date, "\"][data-month=\"").concat(_month, "\"][data-year=\"").concat(_year, "\"]")).forEach(function (delem) {
delem.classList[isSelected ? 'remove' : 'add']('selected');
});
-
if (isSelected) _.selectedDates = _.selectedDates.filter(function (sd) {
return sd.getTime() !== _selected.getTime();
});else _.selectedDates.push(_selected);
-
_._setSelection();
} else {
_.datepicker.calendarHolder.calendarViews.wrapper.querySelectorAll('.dudp__date').forEach(function (delem) {
var _deYear = delem.dataset.year,
- _deMonth = delem.dataset.month,
- _deDate = delem.dataset.date;
+ _deMonth = delem.dataset.month,
+ _deDate = delem.dataset.date;
delem.classList[_year === _deYear && _month === _deMonth && _date === _deDate ? 'add' : 'remove']('selected');
});
-
_.selected = {
year: _year,
month: _month,
date: _date
};
-
_._setSelection();
-
if (_.config.auto) {
_.date = _selected;
-
_.setValue(_.date);
-
_.hide();
}
}
}
-
_.datepicker.calendarHolder.wrapper.querySelectorAll('.dudp__month').forEach(function (melem) {
var _meMonth = melem.dataset.month;
melem.classList[_meMonth === _month ? 'add' : 'remove']('selected');
});
});
},
-
/**
* Hover event handler for date elements
* @param {Element} dateElem Date element
*/
dateHoverEvent: function dateHoverEvent(dateElem) {
var _ = this,
- inRange = function inRange(selected, isFrom, date) {
- var _from = isFrom ? selected : _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
+ inRange = function inRange(selected, isFrom, date) {
+ var _from = isFrom ? selected : _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
_to = !isFrom ? selected : _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
-
- return _from && date > _from && _to && date < _to;
- };
-
+ return _from && date > _from && _to && date < _to;
+ };
hf.addEvent(dateElem, 'mouseover', function () {
var _this = this,
- _year = _this.dataset.year,
- _month = _this.dataset.month,
- _date = _this.dataset.date,
- _selected = new Date(_year, _month, _date),
- isFrom = false;
-
+ _year = _this.dataset.year,
+ _month = _this.dataset.month,
+ _date = _this.dataset.date,
+ _selected = new Date(_year, _month, _date),
+ isFrom = false;
if (_._dateDisabled(_selected) || _this.classList.contains('range-from') || _this.classList.contains('range-to')) return;
-
if (_.rangeFrom) {
var rangeFrom = _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
- rangeTo = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
-
+ rangeTo = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
if (!_.rangeFrom || _.rangeFrom && _selected < rangeFrom || _.rangeFrom && _.rangeTo && hf.dateDiff(rangeFrom, _selected) <= hf.dateDiff(_selected, rangeTo) && hf.dateDiff(rangeFrom, _selected) !== 0 || _.rangeFrom && _.rangeTo && rangeTo.getTime() === _selected.getTime()) {
isFrom = true;
} else if (!_.rangeTo || _.rangeTo && _selected > rangeTo || _.rangeFrom && _.rangeTo && hf.dateDiff(_selected, rangeTo) < hf.dateDiff(rangeFrom, _selected) && hf.dateDiff(_selected, rangeTo) !== 0 || _.rangeFrom && _.rangeTo && rangeFrom.getTime() === _selected.getTime()) {
isFrom = false;
}
-
_.datepicker.calendarHolder.calendarViews.wrapper.querySelectorAll('.dudp__date').forEach(function (delem) {
var _deYear = delem.dataset.year,
- _deMonth = delem.dataset.month,
- _deDate = delem.dataset.date,
- _inRange = inRange(_selected, isFrom, new Date(_deYear, _deMonth, _deDate));
-
+ _deMonth = delem.dataset.month,
+ _deDate = delem.dataset.date,
+ _inRange = inRange(_selected, isFrom, new Date(_deYear, _deMonth, _deDate));
delem.classList[_year === _deYear && _month === _deMonth && _date === _deDate ? 'add' : 'remove'](isFrom ? 'range-from-preview' : 'range-to-preview');
delem.classList[_inRange ? 'add' : 'remove']('in-range-preview');
});
@@ -4464,16 +4683,13 @@
});
hf.addEvent(dateElem, 'mouseout', function () {
var _this = this,
- _year = _this.dataset.year,
- _month = _this.dataset.month,
- _date = _this.dataset.date,
- _selected = new Date(_year, _month, _date);
-
+ _year = _this.dataset.year,
+ _month = _this.dataset.month,
+ _date = _this.dataset.date,
+ _selected = new Date(_year, _month, _date);
if (_._dateDisabled(_selected)) return;
-
_.datepicker.calendarHolder.calendarViews.wrapper.querySelectorAll('.dudp__date.range-from-preview, .dudp__date.range-to-preview, .dudp__date.in-range-preview').forEach(function (delem) {
var _delem$classList2;
-
(_delem$classList2 = delem.classList).remove.apply(_delem$classList2, ['range-from-preview', 'range-to-preview', 'in-range-preview']);
});
});
@@ -4483,13 +4699,11 @@
/**
* Dictionary defaults
*/
-
var DICT_DEFAULTS = {
btnOk: 'OK',
btnCancel: 'CANCEL',
btnClear: 'CLEAR'
};
-
var Locale = /*#__PURE__*/_createClass(
/**
* Creates i18n locale
@@ -4506,7 +4720,6 @@
*/
function Locale(months, shortMonths, days, shortDays, shorterDays, firstDay, dict) {
_classCallCheck(this, Locale);
-
this.months = months;
this.shortMonths = shortMonths || this.months.map(function (x) {
return x.substring(0, 3);
@@ -4524,17 +4737,13 @@
/**
* Internationalization
*/
-
-
var i18n = {
// expose Locale class
Locale: Locale,
-
/**
* English
*/
en: new Locale('January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), null, 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), null, null, 7),
-
/**
* Russian
*/
@@ -4542,7 +4751,6 @@
btnCancel: 'Отменить',
btnClear: 'Очистить'
}),
-
/**
* Spanish
*/
@@ -4550,17 +4758,14 @@
btnCancel: 'Cancelar',
btnClear: 'Vaciar'
}),
-
/**
* Turkish
*/
tr: new Locale('Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), null, 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), 1),
-
/**
* Persian
*/
fa: new Locale('ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split('_'), "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split('_'), 'ی_د_س_چ_پ_ج_ش'.split('_'), 1),
-
/**
* French
*/
@@ -4568,7 +4773,6 @@
btnCancel: 'Abandonner',
btnClear: 'Effacer'
}),
-
/**
* German
*/
@@ -4576,12 +4780,10 @@
btnCancel: 'Stornieren',
btnClear: 'Löschen'
}),
-
/**
* Japanese
*/
ja: new Locale('一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), '日曜_月曜_火曜_水曜_木曜_金曜_土曜'.split('_'), '日_月_火_水_木_金_土'.split('_'), 7),
-
/**
* Portuguese
*/
@@ -4589,12 +4791,10 @@
btnCancel: 'Cancelar',
btnClear: 'Clarear'
}),
-
/**
* Vietnamese
*/
vi: new Locale('tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split('_'), 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'), 'CN_T2_T3_T4_T5_T6_T7'.split('_'), 'CN_T2_T3_T4_T5_T6_T7'.split('_'), 1),
-
/**
* Chinese
*/
@@ -4604,27 +4804,26 @@
/**
* Keydown excluded key codes
*/
-
var EX_KEYS = [9, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123];
+
/**
* Key name for the date picker data
*/
-
var DATA_KEY = '_duDatepicker';
+
/**
* Default date picker query selector class
*/
-
var DEFAULT_CLASS = '.duDatepicker-input';
+
/**
* Header selected date format
*/
-
var SELECTED_FORMAT = 'D, mmm d';
+
/**
* Default date picker configurations
*/
-
var DEFAULTS = {
// Default input value (should be formatted as specified in the 'format' configuration)
value: null,
@@ -4694,7 +4893,6 @@
/**
* Date picker class
*/
-
var _duDatePicker = /*#__PURE__*/function () {
/**
* Default configurations
@@ -4707,30 +4905,26 @@
*/
function _duDatePicker(el, options) {
_classCallCheck(this, _duDatePicker);
-
var _ = this,
- i18n = options.i18n;
-
+ i18n = options.i18n;
if (typeof i18n === 'string') options.i18n = duDatepicker.i18n[i18n];
this.config = hf.extend(_duDatePicker.default_configs || DEFAULTS, options);
if (this.config.multiple && this.config.format.indexOf(',') >= 0) throw new Error('For multiple dates mode, comma (,) should not be used in the format configuration.');
var dp_root = this.config.root;
if (typeof dp_root === 'string') this.config.root = document.querySelector(dp_root);else if (!hf.isElement(dp_root)) delete this.config.root;
+
/**
* Determines if date picker is animating
*/
-
this.animating = false;
/**
* Determines if date picker is displayed/shown
*/
-
this.visible = false;
/**
* Input element
* @type {HTMLInputElement}
*/
-
this.input = el;
this.input.readOnly = true;
this.fromEl = document.querySelector(this.config.fromTarget);
@@ -4738,11 +4932,11 @@
this.input.hidden = this.config.range && (this.fromEl || this.toEl);
this.viewMode = 'calendar';
this.dict = hf.extend(DICT_DEFAULTS, this.config.i18n.dict);
+
/**
* Date picker elements holder
* @type {Object}
*/
-
this.datepicker = {
container: hf.createElem('div', {
class: 'dcalendarpicker'
@@ -4804,50 +4998,45 @@
}, _.dict.btnOk)
}
}
- }; // set default value
+ };
+ // set default value
if (_.config.value && !_.config.range && !_.config.multiple) {
_.input.value = _.config.value;
-
_.input.setAttribute('value', _.config.value);
}
-
this.minDate = _.input.dataset.mindate || _.config.minDate;
- this.maxDate = _.input.dataset.maxdate || _.config.maxDate; // current selected date, default is today if no value given
+ this.maxDate = _.input.dataset.maxdate || _.config.maxDate;
+ // current selected date, default is today if no value given
var _date = new Date();
-
if (_.config.range) {
var value = _.input.value || _.config.value || '',
- _range = value ? value.split(_.config.rangeDelim) : [];
-
+ _range = value ? value.split(_.config.rangeDelim) : [];
if (value !== '' && _range.length < 2) throw new Error('Invalid date range value.');
-
var _from = value === '' ? null : hf.parseDate.call(_, _range[0]).date,
- _to = value === '' ? null : hf.parseDate.call(_, _range[1]).date;
-
+ _to = value === '' ? null : hf.parseDate.call(_, _range[1]).date;
var canSet = _._canSetValue('range', {
from: _from,
to: _to
});
-
if (!canSet.canSet) {
throw new Error(canSet.remarks);
}
-
this.dateFrom = _from;
this.dateTo = _to;
this.rangeFrom = null;
this.rangeTo = null;
this.viewMonth = (_from ? _from : _date).getMonth();
- this.viewYear = (_from ? _from : _date).getFullYear(); // set default value
+ this.viewYear = (_from ? _from : _date).getFullYear();
+ // set default value
if (value) {
var valueDisp = _.config.events && _.config.events.onRangeFormat ? _.formatRange(_from, _to) : value,
- formattedFrom = hf.formatDate.call(_, _from, _.config.format),
- outFrom = hf.formatDate.call(_, _from, _.config.outFormat || _.config.format),
- formattedTo = hf.formatDate.call(_, _to, _.config.format),
- outTo = hf.formatDate.call(_, _to, _.config.outFormat || _.config.format);
+ formattedFrom = hf.formatDate.call(_, _from, _.config.format),
+ outFrom = hf.formatDate.call(_, _from, _.config.outFormat || _.config.format),
+ formattedTo = hf.formatDate.call(_, _to, _.config.format),
+ outTo = hf.formatDate.call(_, _to, _.config.outFormat || _.config.format);
_.input.value = valueDisp;
_.rangeFrom = hf.dateToJson(_from);
_.rangeTo = hf.dateToJson(_to);
@@ -4856,7 +5045,6 @@
'data-range-from': outFrom,
'data-range-to': outTo
});
-
if (_.fromEl) {
_.fromEl.value = formattedFrom;
hf.setAttributes(_.fromEl, {
@@ -4864,7 +5052,6 @@
'data-value': outFrom
});
}
-
if (_.toEl) {
_.toEl.value = formattedTo;
hf.setAttributes(_.toEl, {
@@ -4875,29 +5062,24 @@
}
} else if (_.config.multiple) {
var dates = [];
-
if (_.input.value) {
_.input.value.split(',').forEach(function (v) {
dates.push(hf.parseDate.call(_, v).date);
});
} else if (_.config.value) {
var isArray = Array.isArray(_.config.value),
- values = isArray ? _.config.value : _.config.value.split(',');
+ values = isArray ? _.config.value : _.config.value.split(',');
values.forEach(function (v) {
dates.push(hf.parseDate.call(_, v).date);
});
}
-
dates = dates.sort(function (a, b) {
return a > b ? 1 : a < b ? -1 : 0;
});
-
var _canSet = _._canSetValue('multiple', dates);
-
if (!_canSet.canSet) {
throw new Error(_canSet.remarks);
}
-
var starting = dates.length > 0 ? dates.reduce(function (a, b) {
return a < b ? a : b;
}) : new Date();
@@ -4912,102 +5094,79 @@
});
} else {
var date = _.input.value === '' ? _date : hf.parseDate.call(_, _.input.value).date;
-
var _canSet2 = _._canSetValue('default', date);
-
if (!_canSet2.canSet) {
throw new Error(_canSet2.remarks);
}
-
this.date = date;
this.selected = hf.dateToJson(_.date);
this.viewMonth = _.selected.month;
this.viewYear = _.selected.year;
}
- /* input event handlers */
-
+ /* input event handlers */
function _inputClick() {
_.showInFromEl = _.config.inline && _.fromEl && this === _.fromEl;
_.showInToEl = _.config.inline && _.toEl && this === _.toEl;
-
_.show();
}
-
function _inputKeydown(e) {
if (e.keyCode === 13) {
_.showInFromEl = _.config.inline && _.fromEl && this === _.fromEl;
_.showInToEl = _.config.inline && _.toEl && this === _.toEl;
-
_.show();
}
-
return !(EX_KEYS.indexOf(e.which) < 0);
}
+
/**
* Unbinds input `click` and `keydown` event handlers
*/
-
-
this._unbindInput = function () {
_.input.readOnly = false;
-
_.input.removeEventListener('click', _inputClick);
-
_.input.removeEventListener('keydown', _inputKeydown);
-
if (_.fromEl) {
_.fromEl.readOnly = false;
-
_.fromEl.removeEventListener('click', _inputClick);
-
_.fromEl.removeEventListener('keydown', _inputKeydown);
}
-
if (_.toEl) {
_.toEl.readOnly = false;
-
_.toEl.removeEventListener('click', _inputClick);
-
_.toEl.removeEventListener('keydown', _inputKeydown);
}
};
-
hf.addEvent(_.input, 'click', _inputClick);
hf.addEvent(_.input, 'keydown', _inputKeydown);
-
if (_.fromEl) {
_.fromEl.readOnly = true;
hf.addEvent(_.fromEl, 'click', _inputClick);
hf.addEvent(_.fromEl, 'keydown', _inputKeydown);
}
-
if (_.toEl) {
_.toEl.readOnly = true;
hf.addEvent(_.toEl, 'click', _inputClick);
hf.addEvent(_.toEl, 'keydown', _inputKeydown);
- } // initialize
-
+ }
+ // initialize
this._init();
-
this._setSelection();
}
/**
* Initializes the date picker
*/
-
-
_createClass(_duDatePicker, [{
key: "_init",
value: function _init() {
var _ = this,
- picker = _.datepicker,
- header = picker.header,
- calendarHolder = picker.calendarHolder,
- buttons = calendarHolder.buttons; // Setup header
-
+ picker = _.datepicker,
+ header = picker.header,
+ calendarHolder = picker.calendarHolder,
+ buttons = calendarHolder.buttons;
+ // Setup header
if (!_.config.inline) {
hf.appendTo([header.selectedYear, header.selectedDate], header.wrapper);
hf.appendTo(header.wrapper, picker.wrapper);
@@ -5016,24 +5175,21 @@
});
hf.addEvent(header.selectedDate, 'click', function () {
var now = new Date(),
- _month = _.config.range ? now.getMonth() : _.selected.month,
- _year = _.config.range ? now.getFullYear() : _.selected.year;
-
+ _month = _.config.range ? now.getMonth() : _.selected.month,
+ _year = _.config.range ? now.getFullYear() : _.selected.year;
if (_.viewMonth !== _month || _.viewYear !== _year || _.viewMode !== 'calendar') {
_.viewMonth = _month;
_.viewYear = _year;
-
_._setupCalendar();
-
_._switchView('calendar');
}
});
- } // Setup months view
-
-
- _._setupMonths(); // Setup years view
+ }
+ // Setup months view
+ _._setupMonths();
+ // Setup years view
hf.appendTo(_._getYears(), calendarHolder.yearsView);
if (_.config.clearBtn) hf.appendTo(buttons.btnClear, buttons.wrapper);
if (_.config.cancelBtn) hf.appendTo(buttons.btnCancel, buttons.wrapper);
@@ -5042,39 +5198,44 @@
hf.appendTo(calendarHolder.wrapper, picker.wrapper);
hf.appendTo(picker.wrapper, picker.container);
hf.appendTo(picker.container, _.config.root);
- if (_.config.inline) picker.container.setAttribute('inline', true); // Setup theme
+ if (_.config.inline) picker.container.setAttribute('inline', true);
+ // Setup theme
picker.wrapper.dataset.theme = _.input.dataset.theme || _.config.theme;
hf.addEvent(picker.wrapper, 'keydown', function (e) {
if (e.keyCode === 27) _.hide(); // esc
else if (e.keyCode === 37) _._move('prev'); // arrow left
else if (e.keyCode === 39) _._move('next'); // arrow right
});
+
if (_.config.inline) hf.addEvent(picker.wrapper, 'blur', function () {
_.hide();
- }); // arrows click event
+ });
+ // arrows click event
hf.addEvent(calendarHolder.btnPrev, 'click', function () {
_._move('prev');
});
hf.addEvent(calendarHolder.btnNext, 'click', function () {
_._move('next');
- }); // month & year click events
+ });
+ // month & year click events
hf.addEvent(calendarHolder.calendarViews.wrapper, 'click', function (e) {
if (e.target.classList.contains('cal-year')) {
_._switchView('years');
} else if (e.target.classList.contains('cal-month')) {
_._switchView('months');
}
- }); // clear button event
+ });
+ // clear button event
if (_.config.clearBtn) hf.addEvent(buttons.btnClear, 'click', function () {
_.setValue('');
-
_.hide();
- }); // overlay events
+ });
+ // overlay events
if (_.config.overlayClose) {
hf.addEvent(picker.container, 'click', function () {
_.hide();
@@ -5082,46 +5243,40 @@
hf.addEvent(picker.wrapper, 'click', function (e) {
e.stopPropagation();
});
- } // cancel button event
-
+ }
+ // cancel button event
if (_.config.cancelBtn) {
hf.addEvent(buttons.btnCancel, 'click', function () {
_.hide();
});
- } // ok button event
-
+ }
+ // ok button event
hf.addEvent(buttons.btnOk, 'click', function () {
if (_.config.range) {
if (!_.rangeFrom || !_.rangeTo) return;
-
var _from = hf.jsonToDate(_.rangeFrom),
- _to = hf.jsonToDate(_.rangeTo);
-
+ _to = hf.jsonToDate(_.rangeTo);
if (_._rangeHasDisabled()) return;
_.dateFrom = _from;
_.dateTo = _to;
-
_.setValue([hf.formatDate.call(_, _from, _.config.format), hf.formatDate.call(_, _to, _.config.format)].join(_.config.rangeDelim));
} else if (_.config.multiple) {
_.dates = _toConsumableArray(_.selectedDates);
-
_.setValue(_.dates.map(function (d) {
return hf.formatDate.call(_, d, _.config.format);
}));
} else {
var _date = hf.jsonToDate(_.selected);
-
if (_._dateDisabled(_date)) return;
_.date = _date;
-
_.setValue(_.date);
}
-
_.hide();
- }); // calendar swipe event
+ });
+ // calendar swipe event
hf.swipeEvent(this.datepicker.calendarHolder.wrapper, {
swipeRight: function swipeRight() {
_._move('next');
@@ -5135,7 +5290,6 @@
/**
* Gets the current date
*/
-
}, {
key: "_getToday",
value: function _getToday() {
@@ -5146,35 +5300,30 @@
* Determines if date is in the selected date range
* @param {Date} date Date object
*/
-
}, {
key: "_inRange",
value: function _inRange(date) {
if (!this.config.range) return false;
-
var _ = this,
- _from = _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
- _to = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
-
+ _from = _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
+ _to = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
return _from && date > _from && _to && date < _to;
}
/**
* Determines if date is beyond the minDate, maxDate, minYear or maxYear configurations (if any)
* @param {Date} date Date object
*/
-
}, {
key: "_beyondMinMax",
value: function _beyondMinMax(date) {
var _ = this,
- config = _.config,
- min = null,
- max = null,
- dateYear = date.getFullYear(),
- today = _._getToday(),
- minYearCap = config.minYear && dateYear < config.minYear,
- maxYearCap = config.maxYear && dateYear > config.maxYear;
-
+ config = _.config,
+ min = null,
+ max = null,
+ dateYear = date.getFullYear(),
+ today = _._getToday(),
+ minYearCap = config.minYear && dateYear < config.minYear,
+ maxYearCap = config.maxYear && dateYear > config.maxYear;
if (_.minDate) min = _.minDate === "today" ? today : new Date(_.minDate);
if (_.maxDate) max = _.maxDate === "today" ? today : new Date(_.maxDate);
return min && date < min || max && date > max || minYearCap || maxYearCap;
@@ -5184,45 +5333,37 @@
* @param {Date} date Date object
* @returns {Boolean} `true` if specified date should be disabled, `false` otherwise
*/
-
}, {
key: "_dateDisabled",
value: function _dateDisabled(date) {
var _ = this,
- _dates = _.config.disabledDates,
- _days = _.config.disabledDays,
- _inDates = _dates.filter(function (x) {
- if (x.indexOf('-') >= 0) return date >= hf.parseDate.call(_, x.split('-')[0]).date && date <= hf.parseDate.call(_, x.split('-')[1]).date;else return hf.parseDate.call(_, x).date.getTime() === date.getTime();
- }).length > 0,
- day = date.getDay(),
- dayName = _.config.i18n.days[day],
- dayNameShort = _.config.i18n.shortDays[day],
- dayNameShorter = _.config.i18n.shorterDays[day],
- _inDays = _days.indexOf(dayName) >= 0 || _days.indexOf(dayNameShort) >= 0 || _days.indexOf(dayNameShorter) >= 0;
-
+ _dates = _.config.disabledDates,
+ _days = _.config.disabledDays,
+ _inDates = _dates.filter(function (x) {
+ if (x.indexOf('-') >= 0) return date >= hf.parseDate.call(_, x.split('-')[0]).date && date <= hf.parseDate.call(_, x.split('-')[1]).date;else return hf.parseDate.call(_, x).date.getTime() === date.getTime();
+ }).length > 0,
+ day = date.getDay(),
+ dayName = _.config.i18n.days[day],
+ dayNameShort = _.config.i18n.shortDays[day],
+ dayNameShorter = _.config.i18n.shorterDays[day],
+ _inDays = _days.indexOf(dayName) >= 0 || _days.indexOf(dayNameShort) >= 0 || _days.indexOf(dayNameShorter) >= 0;
return _inDates || _inDays || _._beyondMinMax(date);
}
/**
* Determines if selected date range has a disabled date
*/
-
}, {
key: "_rangeHasDisabled",
value: function _rangeHasDisabled() {
var _ = this,
- _from = _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
- _to = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
-
+ _from = _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
+ _to = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null;
if (_from == null || _to == null) return false;
-
var _start = hf.jsonToDate(_.rangeFrom);
-
while (_start <= _to) {
if (_._dateDisabled(_start)) return true;
-
_start.setDate(_start.getDate() + 1);
}
-
return false;
}
/**
@@ -5230,57 +5371,50 @@
* @param {number} month Month
* @returns {HTMLSpanElement[]} Returns the dates of the specified month and year
*/
-
}, {
key: "_getDates",
value: function _getDates(year, month) {
var _ = this,
- day = 1,
- today = _._getToday(),
- selected = _.config.range || _.config.multiple ? null : hf.jsonToDate(_.selected),
- rangeFrom = _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
- rangeTo = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null,
- date = new Date(year, month, day),
- totalDays = hf.getDaysCount(date),
- nmStartDay = 1,
- weeks = [],
- firstDay = _.config.firstDay || _.config.i18n.firstDay,
- lastDay = (firstDay + 6) % 7,
- addClassToDayEl = function addClassToDayEl(dayEl, date) {
- if (_._dateDisabled(date)) dayEl.classList.add('disabled');
- if (_._inRange(date)) dayEl.classList.add('in-range');
- if (date.getTime() === today.getTime()) dayEl.classList.add('current');
-
- if (!_.config.range && !_.config.multiple && date.getTime() === selected.getTime() || _.config.multiple && _.dates.find(function (x) {
- return x.getTime() === date.getTime();
- })) {
- dayEl.classList.add('selected');
- }
-
- if (_.config.range && rangeFrom && date.getTime() === rangeFrom.getTime()) dayEl.classList.add('range-from');
- if (_.config.range && rangeTo && date.getTime() === rangeTo.getTime()) dayEl.classList.add('range-to');
- };
-
- for (var week = 1; week <= 6; week++) {
+ day = 1,
+ today = _._getToday(),
+ selected = _.config.range || _.config.multiple ? null : hf.jsonToDate(_.selected),
+ rangeFrom = _.rangeFrom ? hf.jsonToDate(_.rangeFrom) : null,
+ rangeTo = _.rangeTo ? hf.jsonToDate(_.rangeTo) : null,
+ date = new Date(year, month, day),
+ totalDays = hf.getDaysCount(date),
+ nmStartDay = 1,
+ weeks = [],
+ firstDay = _.config.firstDay || _.config.i18n.firstDay,
+ lastDay = (firstDay + 6) % 7,
+ addClassToDayEl = function addClassToDayEl(dayEl, date) {
+ if (_._dateDisabled(date)) dayEl.classList.add('disabled');
+ if (_._inRange(date)) dayEl.classList.add('in-range');
+ if (date.getTime() === today.getTime()) dayEl.classList.add('current');
+ if (!_.config.range && !_.config.multiple && date.getTime() === selected.getTime() || _.config.multiple && _.dates.find(function (x) {
+ return x.getTime() === date.getTime();
+ })) {
+ dayEl.classList.add('selected');
+ }
+ if (_.config.range && rangeFrom && date.getTime() === rangeFrom.getTime()) dayEl.classList.add('range-from');
+ if (_.config.range && rangeTo && date.getTime() === rangeTo.getTime()) dayEl.classList.add('range-to');
+ };
+ var _loop = function _loop() {
var daysOfWeek = [];
-
for (var idx = 0, dow = firstDay; idx < 7; idx++, dow++) {
daysOfWeek.push(hf.createElem('span', {
class: 'dudp__date',
'data-dow': dow % 7
}));
}
-
- var _loop = function _loop() {
+ var _loop2 = function _loop2() {
date.setDate(day);
var dayOfWeek = date.getDay(),
- dayEl = daysOfWeek.find(function (d) {
- return parseInt(d.dataset.dow) === dayOfWeek;
- });
+ dayEl = daysOfWeek.find(function (d) {
+ return parseInt(d.dataset.dow) === dayOfWeek;
+ });
dayEl.dataset.date = day;
dayEl.dataset.month = month;
dayEl.dataset.year = year;
-
if (week === 1 && dayOfWeek === firstDay % 7) {
return "break";
} else if (dayOfWeek !== lastDay) {
@@ -5292,77 +5426,69 @@
return "break";
}
};
-
while (day <= totalDays) {
- var _ret = _loop();
-
+ var _ret = _loop2();
if (_ret === "break") break;
}
- /* For days of previous and next month */
-
+ /* For days of previous and next month */
if (week === 1 || week > 4) {
// First week
if (week === 1) {
- (function () {
- var pm = new Date(year, month - 1, 1),
- pmDays = hf.getDaysCount(pm);
-
- for (var a = 1; a <= 7; a++) {
- pm.setDate(pmDays);
- var dayEl = daysOfWeek.find(function (d) {
- return parseInt(d.dataset.dow) === pm.getDay();
- });
- if (dayEl.innerText !== '') continue;
- pmDays--;
- dayEl.dataset.date = pm.getDate();
- dayEl.dataset.month = pm.getMonth();
- dayEl.dataset.year = pm.getFullYear();
- dayEl.innerText = pm.getDate();
- dayEl.classList.add('dudp__pm');
- addClassToDayEl(dayEl, pm);
- }
- })();
- } // Last week
+ var pm = new Date(year, month - 1, 1),
+ pmDays = hf.getDaysCount(pm);
+ for (var a = 1; a <= 7; a++) {
+ pm.setDate(pmDays);
+ var dayEl = daysOfWeek.find(function (d) {
+ return parseInt(d.dataset.dow) === pm.getDay();
+ });
+ if (dayEl.innerText !== '') continue;
+ pmDays--;
+ dayEl.dataset.date = pm.getDate();
+ dayEl.dataset.month = pm.getMonth();
+ dayEl.dataset.year = pm.getFullYear();
+ dayEl.innerText = pm.getDate();
+ dayEl.classList.add('dudp__pm');
+ addClassToDayEl(dayEl, pm);
+ }
+ }
+ // Last week
else if (week > 4) {
- (function () {
- var nm = new Date(year, month + 1, 1);
-
- for (var a = 1; a <= 7; a++) {
- nm.setDate(nmStartDay);
- var dayEl = daysOfWeek.find(function (d) {
- return parseInt(d.dataset.dow) === nm.getDay();
- });
- if (dayEl.innerText !== '') continue;
- nmStartDay++;
- dayEl.dataset.date = nm.getDate();
- dayEl.dataset.month = nm.getMonth();
- dayEl.dataset.year = nm.getFullYear();
- dayEl.innerText = nm.getDate();
- dayEl.classList.add('dudp__nm');
- addClassToDayEl(dayEl, nm);
- }
- })();
+ var nm = new Date(year, month + 1, 1);
+ for (var _a = 1; _a <= 7; _a++) {
+ nm.setDate(nmStartDay);
+ var _dayEl = daysOfWeek.find(function (d) {
+ return parseInt(d.dataset.dow) === nm.getDay();
+ });
+ if (_dayEl.innerText !== '') continue;
+ nmStartDay++;
+ _dayEl.dataset.date = nm.getDate();
+ _dayEl.dataset.month = nm.getMonth();
+ _dayEl.dataset.year = nm.getFullYear();
+ _dayEl.innerText = nm.getDate();
+ _dayEl.classList.add('dudp__nm');
+ addClassToDayEl(_dayEl, nm);
+ }
}
}
-
weeks.push(daysOfWeek);
+ };
+ for (var week = 1; week <= 6; week++) {
+ _loop();
}
-
var datesDOM = [];
weeks.forEach(function (datesEl) {
var weekDOM = hf.createElem('div', {
class: 'dudp__cal-week'
});
-
for (var i = 0; i < datesEl.length; i++) {
- var dateElem = datesEl[i]; // Attach click handler for dates
+ var dateElem = datesEl[i];
+ // Attach click handler for dates
hf.dateClickEvent.call(_, dateElem);
if (_.config.range) hf.dateHoverEvent.call(_, dateElem);
hf.appendTo(dateElem, weekDOM);
}
-
datesDOM.push(weekDOM);
});
return datesDOM;
@@ -5371,29 +5497,24 @@
* Gets the year limits (min and max)
* @param {boolean} yearsView Determines limits will be used for years selection view
*/
-
}, {
key: "_getYearLimits",
value: function _getYearLimits() {
var yearsView = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-
var _ = this,
- minDate = null,
- maxDate = null,
- today = _._getToday();
-
+ minDate = null,
+ maxDate = null,
+ today = _._getToday();
if (_.minDate) minDate = _.minDate === "today" ? today : new Date(_.minDate);
if (_.maxDate) maxDate = _.maxDate === "today" ? today : new Date(_.maxDate);
-
var _minCandidates = [yearsView ? _.viewYear - _.config.priorYears : null, _.config.minYear, minDate ? minDate.getFullYear() : null].filter(function (x) {
- return x != null;
- }),
- _maxCandidates = [yearsView ? _.viewYear + _.config.laterYears : null, _.config.maxYear, maxDate ? maxDate.getFullYear() : null].filter(function (x) {
- return x != null;
- }),
- minYear = _minCandidates.length > 0 ? Math.max.apply(Math, _toConsumableArray(_minCandidates)) : null,
- maxYear = _maxCandidates.length > 0 ? Math.min.apply(Math, _toConsumableArray(_maxCandidates)) : null;
-
+ return x != null;
+ }),
+ _maxCandidates = [yearsView ? _.viewYear + _.config.laterYears : null, _.config.maxYear, maxDate ? maxDate.getFullYear() : null].filter(function (x) {
+ return x != null;
+ }),
+ minYear = _minCandidates.length > 0 ? Math.max.apply(Math, _toConsumableArray(_minCandidates)) : null,
+ maxYear = _maxCandidates.length > 0 ? Math.min.apply(Math, _toConsumableArray(_maxCandidates)) : null;
return {
minYear: minYear,
maxYear: maxYear
@@ -5402,16 +5523,14 @@
/**
* @returns {HTMLSpanElement[]} Returns years range for the years view
*/
-
}, {
key: "_getYears",
value: function _getYears() {
var _ = this,
- limits = _._getYearLimits(true),
- _minYear = limits.minYear,
- _maxYear = limits.maxYear,
- _years = [];
-
+ limits = _._getYearLimits(true),
+ _minYear = limits.minYear,
+ _maxYear = limits.maxYear,
+ _years = [];
for (var y = _minYear; y <= _maxYear; y++) {
var yearElem = hf.createElem('span', {
class: 'dudp__year'
@@ -5421,42 +5540,32 @@
yearElem.dataset.year = y;
hf.addEvent(yearElem, 'click', function () {
var _this = this,
- _data = parseInt(_this.dataset.year);
-
+ _data = parseInt(_this.dataset.year);
_.viewYear = _data;
if (!_.config.range && !_.config.multiple) _.selected.year = _data;
-
_._setSelection();
-
_._setupCalendar();
-
_._switchView('calendar');
});
-
_years.push(yearElem);
}
-
return _years;
}
/**
* Sets up the months DOM
*/
-
}, {
key: "_setupMonths",
value: function _setupMonths() {
var _ = this,
- calendarHolder = _.datepicker.calendarHolder,
- _month = 0,
- _selected = _.selected ? _.selected : new Date();
-
+ calendarHolder = _.datepicker.calendarHolder,
+ _month = 0,
+ _selected = _.selected ? _.selected : new Date();
hf.empty(calendarHolder.monthsView);
-
for (var r = 1; r < 4; r++) {
var monthRow = hf.createElem('div', {
class: 'dudp__month-row'
});
-
for (var i = 0; i < 4; i++) {
var monthElem = hf.createElem('span', {
class: 'dudp__month'
@@ -5467,79 +5576,73 @@
hf.appendTo(monthElem, monthRow);
hf.addEvent(monthElem, 'click', function (e) {
var _this = this,
- _data = parseInt(_this.dataset.month);
-
+ _data = parseInt(_this.dataset.month);
_.viewMonth = _data;
-
_._setupCalendar();
-
_._switchView('calendar');
});
_month++;
}
-
hf.appendTo(monthRow, calendarHolder.monthsView);
}
}
/**
* Sets up the calendar views
*/
-
}, {
key: "_setupCalendar",
value: function _setupCalendar() {
var _ = this,
- viewsHolder = _.datepicker.calendarHolder.calendarViews,
- _year = +_.viewYear,
- _month = +_.viewMonth;
-
+ viewsHolder = _.datepicker.calendarHolder.calendarViews,
+ _year = +_.viewYear,
+ _month = +_.viewMonth;
viewsHolder.calendars.length = 0;
var inView = {
- wrapper: hf.createElem('div', {
- class: 'dudp__calendar'
- }),
- header: hf.createElem('div', {
- class: 'dudp__cal-month-year'
- }),
- weekDays: hf.createElem('div', {
- class: 'dudp__weekdays'
- }, hf.daysOfWeekDOM.call(_), true),
- datesHolder: hf.createElem('div', {
- class: 'dudp__dates-holder'
- })
- },
- prev = {
- wrapper: hf.createElem('div', {
- class: 'dudp__calendar'
- }),
- header: hf.createElem('div', {
- class: 'dudp__cal-month-year'
- }),
- weekDays: hf.createElem('div', {
- class: 'dudp__weekdays'
- }, hf.daysOfWeekDOM.call(_), true),
- datesHolder: hf.createElem('div', {
- class: 'dudp__dates-holder'
- })
- },
- next = {
- wrapper: hf.createElem('div', {
- class: 'dudp__calendar'
- }),
- header: hf.createElem('div', {
- class: 'dudp__cal-month-year'
- }),
- weekDays: hf.createElem('div', {
- class: 'dudp__weekdays'
- }, hf.daysOfWeekDOM.call(_), true),
- datesHolder: hf.createElem('div', {
- class: 'dudp__dates-holder'
- })
- },
- prevMonth = _month == 0 ? 11 : _month - 1,
- nextMonth = _month == 11 ? 0 : _month + 1,
- prevYear = _month == 0 ? _year - 1 : _year,
- nextYear = _month == 11 ? _year + 1 : _year;
+ wrapper: hf.createElem('div', {
+ class: 'dudp__calendar'
+ }),
+ header: hf.createElem('div', {
+ class: 'dudp__cal-month-year'
+ }),
+ weekDays: hf.createElem('div', {
+ class: 'dudp__weekdays'
+ }, hf.daysOfWeekDOM.call(_), true),
+ datesHolder: hf.createElem('div', {
+ class: 'dudp__dates-holder'
+ })
+ },
+ prev = {
+ wrapper: hf.createElem('div', {
+ class: 'dudp__calendar'
+ }),
+ header: hf.createElem('div', {
+ class: 'dudp__cal-month-year'
+ }),
+ weekDays: hf.createElem('div', {
+ class: 'dudp__weekdays'
+ }, hf.daysOfWeekDOM.call(_), true),
+ datesHolder: hf.createElem('div', {
+ class: 'dudp__dates-holder'
+ })
+ },
+ next = {
+ wrapper: hf.createElem('div', {
+ class: 'dudp__calendar'
+ }),
+ header: hf.createElem('div', {
+ class: 'dudp__cal-month-year'
+ }),
+ weekDays: hf.createElem('div', {
+ class: 'dudp__weekdays'
+ }, hf.daysOfWeekDOM.call(_), true),
+ datesHolder: hf.createElem('div', {
+ class: 'dudp__dates-holder'
+ })
+ },
+ prevMonth = _month == 0 ? 11 : _month - 1,
+ nextMonth = _month == 11 ? 0 : _month + 1,
+ prevYear = _month == 0 ? _year - 1 : _year,
+ nextYear = _month == 11 ? _year + 1 : _year;
hf.appendTo([hf.createElem('span', {
class: 'cal-month'
}, _.config.i18n.months[prevMonth]), hf.createElem('span', {
@@ -5571,30 +5674,25 @@
* Switches view of date picker (calendar, months, years)
* @param {string} view View name
*/
-
}, {
key: "_switchView",
value: function _switchView(view) {
if (view !== 'calendar' && view !== 'months' && view !== 'years') return;
-
var _ = this,
- picker = _.datepicker,
- monthsView = picker.calendarHolder.monthsView,
- yearsView = picker.calendarHolder.yearsView,
- calViews = picker.calendarHolder.calendarViews.wrapper,
- buttons = picker.calendarHolder.buttons.wrapper,
- _animDuration = 250,
- _oldView = _.viewMode,
- hc = 'dp__hidden'; // hidden class
-
+ picker = _.datepicker,
+ monthsView = picker.calendarHolder.monthsView,
+ yearsView = picker.calendarHolder.yearsView,
+ calViews = picker.calendarHolder.calendarViews.wrapper,
+ buttons = picker.calendarHolder.buttons.wrapper,
+ _animDuration = 250,
+ _oldView = _.viewMode,
+ hc = 'dp__hidden'; // hidden class
_.viewMode = view;
-
switch (_.viewMode) {
case 'calendar':
var _calendar = calViews.querySelector('.dudp__calendar:nth-child(2)'); // current month in view
-
calViews.classList.add('dp__animate-out');
calViews.classList.remove(hc);
if (_oldView !== 'calendar') _calendar.classList.add('dp__zooming', 'dp__animate-zoom');
@@ -5613,7 +5711,6 @@
monthsView.classList.remove('dp__animate-out');
}, _animDuration);
break;
-
case 'months':
picker.calendarHolder.btnPrev.classList.add(hc);
picker.calendarHolder.btnNext.classList.add(hc);
@@ -5629,13 +5726,10 @@
calViews.classList.remove('dp__animate-out');
}, _animDuration);
break;
-
case 'years':
hf.empty(yearsView);
hf.appendTo(_._getYears(), yearsView);
-
var _selYear = yearsView.querySelector('.dudp__year.selected');
-
yearsView.scrollTop = _selYear.offsetTop - 120;
picker.calendarHolder.btnPrev.classList.add(hc);
picker.calendarHolder.btnNext.classList.add(hc);
@@ -5656,64 +5750,58 @@
* Moves the calendar to specified direction (previous or next)
* @param {string} direction Movement direction
*/
-
}, {
key: "_move",
value: function _move(direction) {
if (direction !== 'next' && direction !== 'prev') return;
-
var _ = this;
-
if (_.animating) return;
-
var picker = _.datepicker,
- viewsHolder = picker.calendarHolder.calendarViews,
- _animDuration = 250,
- _isNext = direction === 'next';
-
+ viewsHolder = picker.calendarHolder.calendarViews,
+ _animDuration = 250,
+ _isNext = direction === 'next';
var viewYear = parseInt(_.viewYear);
var viewMonth = parseInt(_.viewMonth);
if (_isNext ? viewMonth + 1 > 11 : viewMonth - 1 < 0) viewYear += _isNext ? 1 : -1;
- viewMonth = _isNext ? viewMonth + 1 > 11 ? 0 : viewMonth + 1 : viewMonth - 1 < 0 ? 11 : viewMonth - 1; // Check min/max year
+ viewMonth = _isNext ? viewMonth + 1 > 11 ? 0 : viewMonth + 1 : viewMonth - 1 < 0 ? 11 : viewMonth - 1;
+ // Check min/max year
var yearLimits = _._getYearLimits();
-
var minYear = yearLimits.minYear;
var maxYear = yearLimits.maxYear;
if (_isNext && maxYear && viewYear > maxYear) return;else if (!_isNext && minYear && viewYear < minYear) return;
_.viewYear = viewYear;
_.viewMonth = viewMonth;
- _.animating = true; //Start animation
+ _.animating = true;
+ //Start animation
var animateClass = "dp__animate-".concat(_isNext ? 'left' : 'right');
viewsHolder.wrapper.querySelectorAll('.dudp__calendar').forEach(function (cal) {
cal.classList.add(animateClass);
- }); //Setup new (previous or next) month calendar
+ });
+ //Setup new (previous or next) month calendar
var _year = _.viewYear,
- _month = _isNext ? _.viewMonth + 1 : _.viewMonth - 1;
-
+ _month = _isNext ? _.viewMonth + 1 : _.viewMonth - 1;
if (_isNext ? _month > 11 : _month < 0) {
_month = _isNext ? 0 : 11;
_year += _isNext ? 1 : -1;
}
-
var newCalDates = _._getDates(_year, _month),
- newCalEl = {
- wrapper: hf.createElem('div', {
- class: 'dudp__calendar'
- }),
- header: hf.createElem('div', {
- class: 'dudp__cal-month-year'
- }),
- weekDays: hf.createElem('div', {
- class: 'dudp__weekdays'
- }, hf.daysOfWeekDOM.call(_), true),
- datesHolder: hf.createElem('div', {
- class: 'dudp__dates-holder'
- })
- };
-
+ newCalEl = {
+ wrapper: hf.createElem('div', {
+ class: 'dudp__calendar'
+ }),
+ header: hf.createElem('div', {
+ class: 'dudp__cal-month-year'
+ }),
+ weekDays: hf.createElem('div', {
+ class: 'dudp__weekdays'
+ }, hf.daysOfWeekDOM.call(_), true),
+ datesHolder: hf.createElem('div', {
+ class: 'dudp__dates-holder'
+ })
+ };
hf.appendTo([hf.createElem('span', {
class: 'cal-month'
}, _.config.i18n.months[_month]), hf.createElem('span', {
@@ -5735,15 +5823,12 @@
/**
* Resets the selection to the date value of the input
*/
-
}, {
key: "_resetSelection",
value: function _resetSelection() {
var _ = this;
-
if (_.config.range) {
var _date = _.dateFrom ? _.dateFrom : new Date();
-
_.rangeFrom = hf.dateToJson(_.dateFrom);
_.rangeTo = hf.dateToJson(_.dateTo);
_.viewYear = _date.getFullYear();
@@ -5760,29 +5845,25 @@
_.viewYear = _.selected.year;
_.viewMonth = _.selected.month;
}
-
_.datepicker.calendarHolder.monthsView.querySelectorAll('.dudp__month').forEach(function (melem) {
var _meMonth = parseInt(melem.dataset.month),
- _month = _.config.range ? _.dateFrom ? _.dateFrom.getMonth() : null : _.config.multiple ? _.dates.length > 0 ? _.dates.reduce(function (a, b) {
- return a < b ? a : b;
- }) : null : _.selected.month;
-
+ _month = _.config.range ? _.dateFrom ? _.dateFrom.getMonth() : null : _.config.multiple ? _.dates.length > 0 ? _.dates.reduce(function (a, b) {
+ return a < b ? a : b;
+ }) : null : _.selected.month;
melem.classList[_meMonth === _month ? 'add' : 'remove']('selected');
});
}
/**
* Sets the section display (datepicker header)
*/
-
}, {
key: "_setSelection",
value: function _setSelection() {
var _ = this,
- picker = _.datepicker,
- selected = _.config.range ? new Date() : _.config.multiple ? _.selectedDates.length > 0 ? _.selectedDates.reduce(function (a, b) {
- return a < b ? a : b;
- }) : new Date() : hf.jsonToDate(_.selected);
-
+ picker = _.datepicker,
+ selected = _.config.range ? new Date() : _.config.multiple ? _.selectedDates.length > 0 ? _.selectedDates.reduce(function (a, b) {
+ return a < b ? a : b;
+ }) : new Date() : hf.jsonToDate(_.selected);
picker.header.selectedYear.innerText = selected.getFullYear();
picker.header.selectedDate.innerText = hf.formatDate.call(_, selected, SELECTED_FORMAT);
}
@@ -5793,17 +5874,14 @@
* @param {Date} value.from Date from value (for range mode)
* * @param {Date} value.to Date to value (for range mode)
*/
-
}, {
key: "_canSetValue",
value: function _canSetValue(mode, value) {
if (mode != 'range' && mode != 'multiple' && mode != 'default') return false;
-
var _ = this,
- config = _.config,
- canSet = true,
- invalidDate = '';
-
+ config = _.config,
+ canSet = true,
+ invalidDate = '';
if (mode == 'range' && value.from && value.to) {
if (_._beyondMinMax(value.from)) {
canSet = false;
@@ -5815,7 +5893,6 @@
} else if (mode == 'multiple') {
for (var i = 0; i < value.length; i++) {
var date = value[i];
-
if (_._beyondMinMax(date)) {
canSet = false;
invalidDate = hf.formatDate.call(_, date, config.format);
@@ -5826,7 +5903,6 @@
canSet = false;
invalidDate = hf.formatDate.call(_, value, config.format);
}
-
return {
canSet: canSet,
remarks: "\"".concat(invalidDate, "\" is beyond the selectable date(s). Kindly check minDate, maxDate, minYear or maxYear configurations.")
@@ -5837,40 +5913,32 @@
* @param {(string|Date|string[])} value The new input value. If the value specified is a string, it will be parsed using `config.format`.
* @param {Boolean} triggerEvt Determines if change events should be triggered
*/
-
}, {
key: "setValue",
value: function setValue(value) {
var triggerEvt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
if (typeof value === 'undefined') throw new Error('Expecting a value.');
-
var _ = this,
- _empty = typeof value === 'string' && value === '',
- changeData = null;
-
+ _empty = typeof value === 'string' && value === '',
+ changeData = null;
if (_.config.range) {
var _range = _empty ? [] : value.split(_.config.rangeDelim);
-
if (value !== '' && _range.length < 2) throw new Error('Invalid date range value.');
-
var now = new Date(),
- _from = _empty ? null : hf.parseDate.call(_, _range[0]).date,
- _to = _empty ? null : hf.parseDate.call(_, _range[1]).date,
- formattedFrom = _empty ? '' : hf.formatDate.call(_, _from, _.config.format),
- outFrom = _empty ? '' : hf.formatDate.call(_, _from, _.config.outFormat || _.config.format),
- formattedTo = _empty ? '' : hf.formatDate.call(_, _to, _.config.format),
- outTo = _empty ? '' : hf.formatDate.call(_, _to, _.config.outFormat || _.config.format),
- valueDisp = _empty ? '' : _.config.events && _.config.events.onRangeFormat ? _.formatRange(_from, _to) : _range[0] === _range[1] ? _range[0] : value;
-
+ _from = _empty ? null : hf.parseDate.call(_, _range[0]).date,
+ _to = _empty ? null : hf.parseDate.call(_, _range[1]).date,
+ formattedFrom = _empty ? '' : hf.formatDate.call(_, _from, _.config.format),
+ outFrom = _empty ? '' : hf.formatDate.call(_, _from, _.config.outFormat || _.config.format),
+ formattedTo = _empty ? '' : hf.formatDate.call(_, _to, _.config.format),
+ outTo = _empty ? '' : hf.formatDate.call(_, _to, _.config.outFormat || _.config.format),
+ valueDisp = _empty ? '' : _.config.events && _.config.events.onRangeFormat ? _.formatRange(_from, _to) : _range[0] === _range[1] ? _range[0] : value;
var canSet = _._canSetValue('range', {
from: _from,
to: _to
});
-
if (!canSet.canSet) {
throw new Error(canSet.remarks);
}
-
_.dateFrom = _from;
_.dateTo = _to;
_.viewYear = (_from ? _from : now).getFullYear();
@@ -5881,7 +5949,6 @@
'data-range-from': outFrom,
'data-range-to': outTo
});
-
if (_.fromEl) {
_.fromEl.value = formattedFrom;
hf.setAttributes(_.fromEl, {
@@ -5889,7 +5956,6 @@
'data-value': outFrom
});
}
-
if (_.toEl) {
_.toEl.value = formattedTo;
hf.setAttributes(_.toEl, {
@@ -5897,7 +5963,6 @@
'data-value': outTo
});
}
-
changeData = {
_dateFrom: _from,
dateFrom: _empty ? null : formattedFrom,
@@ -5907,8 +5972,8 @@
};
} else if (_.config.multiple) {
var dates = [],
- isArray = Array.isArray(value),
- values = isArray ? value : value.split(',');
+ isArray = Array.isArray(value),
+ values = isArray ? value : value.split(',');
values.forEach(function (v) {
return dates.push(hf.parseDate.call(_, v).date);
});
@@ -5918,13 +5983,10 @@
if (dates.length > 0) dates = dates.sort(function (a, b) {
return a > b ? 1 : a < b ? -1 : 0;
});
-
var _canSet3 = _._canSetValue('multiple', dates);
-
if (!_canSet3.canSet) {
throw new Error(_canSet3.remarks);
}
-
_.dates = _toConsumableArray(dates);
_.viewYear = starting.getFullYear();
_.viewMonth = starting.getMonth();
@@ -5941,27 +6003,21 @@
};
} else {
var date = typeof value === 'string' ? _empty ? new Date() : hf.parseDate.call(_, value, _.config.format).date : value,
- formatted = _empty ? '' : hf.formatDate.call(_, date, _.config.format);
-
+ formatted = _empty ? '' : hf.formatDate.call(_, date, _.config.format);
var _canSet4 = _._canSetValue('default', date);
-
if (!_canSet4.canSet) {
throw new Error(_canSet4.remarks);
}
-
_.date = date;
_.viewYear = date.getFullYear();
_.viewMonth = date.getMonth();
_.input.value = formatted;
-
_.input.setAttribute('value', formatted);
-
changeData = {
_date: _empty ? null : _.date,
date: _empty ? null : hf.formatDate.call(_, _.date, _.config.outFormat || _.config.format)
};
}
-
if (triggerEvt) {
hf.triggerChange(_.input, changeData);
if (_.config.events && _.config.events.dateChanged) _.config.events.dateChanged.call(_, changeData, _);
@@ -5972,7 +6028,6 @@
* @param {Date} date Date object
* @param {string} format Date format
*/
-
}, {
key: "formatDate",
value: function formatDate(date, format) {
@@ -5984,7 +6039,6 @@
* @param {Date} to Date to
* @returns {string} Formatted date range
*/
-
}, {
key: "formatRange",
value: function formatRange(from, to) {
@@ -5994,7 +6048,6 @@
* Sets the minimum date configuration
* @param {string} date Minimum selectable date
*/
-
}, {
key: "setMinDate",
value: function setMinDate(date) {
@@ -6004,7 +6057,6 @@
* Sets the maximum date configuration
* @param {string} date Maximum selectable date
*/
-
}, {
key: "setMaxDate",
value: function setMaxDate(date) {
@@ -6014,7 +6066,6 @@
* Sets the minimum year configuration
* @param {Number} year Minimum year
*/
-
}, {
key: "setMinYear",
value: function setMinYear(year) {
@@ -6024,7 +6075,6 @@
* Sets the maximum year configuration
* @param {Number} year Maximum year
*/
-
}, {
key: "setMaxYear",
value: function setMaxYear(year) {
@@ -6034,7 +6084,6 @@
* Sets the prior years configuration
* @param {Number} years Number of years
*/
-
}, {
key: "setPriorYears",
value: function setPriorYears(years) {
@@ -6044,7 +6093,6 @@
* Sets the later years configuration
* @param {Number} years Number of years
*/
-
}, {
key: "setLaterYears",
value: function setLaterYears(years) {
@@ -6054,7 +6102,6 @@
* Sets the date picker theme configuration
* @param {string} theme Theme name
*/
-
}, {
key: "setTheme",
value: function setTheme(theme) {
@@ -6064,7 +6111,6 @@
* Sets the disabled dates configuration
* @param {string[]} dates List of disabled dates
*/
-
}, {
key: "setDisabled",
value: function setDisabled(dates) {
@@ -6074,7 +6120,6 @@
* Sets the disabled days configuration
* @param {string[]} days List of disabled days
*/
-
}, {
key: "setDisabledDays",
value: function setDisabledDays(days) {
@@ -6084,31 +6129,27 @@
* Sets the internationalization configuration
* @param {(string|Object)} i18n Internationalization name or instance
*/
-
}, {
key: "setI18n",
value: function setI18n(i18n) {
var _ = this;
+ if (typeof i18n === 'string') _.config.i18n = duDatepicker.i18n[i18n];else if (_typeof(i18n) == 'object') _.config.i18n = i18n;
- if (typeof i18n === 'string') _.config.i18n = duDatepicker.i18n[i18n];else if (_typeof(i18n) == 'object') _.config.i18n = i18n; // refresh UI
-
+ // refresh UI
var i18nConfig = _.config.i18n,
- picker = _.datepicker;
-
+ picker = _.datepicker;
if (i18nConfig.dict) {
_.dict = hf.extend(_.dict, i18nConfig.dict);
picker.calendarHolder.buttons.btnClear.innerText = _.dict.btnClear;
picker.calendarHolder.buttons.btnOk.innerText = _.dict.btnOk;
picker.calendarHolder.buttons.btnCancel.innerText = _.dict.btnCancel;
- } // reset selected value
-
+ }
+ // reset selected value
var format = _.config.format;
-
if (_.config.range && _.rangeFrom && _.input.value) {
var rangeFrom = hf.jsonToDate(_.rangeFrom),
- rangeTo = hf.jsonToDate(_.rangeTo);
-
+ rangeTo = hf.jsonToDate(_.rangeTo);
_.setValue([hf.formatDate.call(_, rangeFrom, format), hf.formatDate.call(_, rangeTo, format)].join(_.config.rangeDelim), false);
} else if (_.config.multiple && _.selectedDates.length > 0 && _.input.value) {
_.setValue(_.selectedDates.map(function (sd) {
@@ -6116,90 +6157,68 @@
}), false);
} else if (_.selected && _.input.value) {
var sd = _.selected;
-
_.setValue(new Date(sd.year, sd.month, sd.date), false);
}
-
_._setupMonths();
-
_._setupCalendar();
}
/**
* Shows the date picker
*/
-
}, {
key: "show",
value: function show() {
- var _ = this; // refresh config
-
+ var _ = this;
+ // refresh config
_.minDate = _.input.dataset.mindate || _.config.minDate;
_.maxDate = _.input.dataset.maxdate || _.config.maxDate;
_.datepicker.wrapper.dataset.theme = _.input.dataset.theme || _.config.theme;
setTimeout(function () {
document.body.setAttribute('datepicker-display', 'on');
-
_._resetSelection();
-
_._setSelection();
-
_._setupCalendar();
-
_.datepicker.container.classList.add('dp__open');
-
if (_.config.inline) {
var inputRef = _.showInFromEl ? _.fromEl : _.showInToEl ? _.toEl : _.input,
- offset = hf.calcOffset(inputRef),
- picker_dim = {
- height: _.datepicker.wrapper.offsetHeight,
- width: _.datepicker.wrapper.offsetWidth
- },
- screen_dim = hf.screenDim(),
- below = offset.top + picker_dim.height < screen_dim.height,
- left_side = offset.left + picker_dim.width < screen_dim.width,
- offsetCss = {},
- scroll = {
- y: window.scrollY,
- x: window.scrollX
- };
+ offset = hf.calcOffset(inputRef),
+ picker_dim = {
+ height: _.datepicker.wrapper.offsetHeight,
+ width: _.datepicker.wrapper.offsetWidth
+ },
+ screen_dim = hf.screenDim(),
+ below = offset.top + picker_dim.height < screen_dim.height,
+ left_side = offset.left + picker_dim.width < screen_dim.width,
+ offsetCss = {},
+ scroll = {
+ y: window.scrollY,
+ x: window.scrollX
+ };
offsetCss[below ? 'top' : 'bottom'] = "".concat(below ? offset.top - scroll.y : offset.bottom, "px");
offsetCss[left_side ? 'left' : 'right'] = "".concat(left_side ? offset.left - scroll.x : offset.right, "px");
-
_.datepicker.container.removeAttribute('style');
-
hf.setStyles(_.datepicker.container, offsetCss);
}
-
_.datepicker.wrapper.focus();
-
_.visible = true;
-
_.input.blur();
-
if (_.config.events && _.config.events.shown) _.config.events.shown.call(_, _);
}, 0);
}
/**
* Hides the date picker
*/
-
}, {
key: "hide",
value: function hide() {
var _ = this;
-
_.datepicker.container.classList.add('dp__closing');
-
_.visible = false;
-
_.input.focus();
-
document.body.removeAttribute('datepicker-display');
setTimeout(function () {
_._switchView('calendar'); // Reset view to calendar
-
-
hf.removeClass(_.datepicker.container, ['dp__closing', 'dp__open']);
if (_.config.events && _.config.events.hidden) _.config.events.hidden.call(_, _);
}, 200);
@@ -6207,37 +6226,30 @@
/**
* Destroys the date picker plugin
*/
-
}, {
key: "destroy",
value: function destroy() {
this._unbindInput();
-
this.config.root.removeChild(this.datepicker.container);
delete this.input[DATA_KEY];
}
}]);
-
return _duDatePicker;
}();
/**
* Creates date picker
*/
-
-
_defineProperty(_duDatePicker, "default_configs", null);
-
function duDatepicker() {
var args = arguments,
- arg0 = args[0],
- arg0IsList = arg0 instanceof NodeList || Array.isArray(arg0),
- arg0IsElem = hf.isElement(arg0),
- inputs = typeof arg0 === 'string' ? document.querySelectorAll(arg0) : arg0IsList ? arg0 : arg0IsElem ? [arg0] : document.querySelectorAll(DEFAULT_CLASS),
- options = _typeof(arg0) === 'object' && !arg0IsList && !arg0IsElem ? arg0 : args[1] && _typeof(args[1]) === 'object' ? args[1] : {};
+ arg0 = args[0],
+ arg0IsList = arg0 instanceof NodeList || Array.isArray(arg0),
+ arg0IsElem = hf.isElement(arg0),
+ inputs = typeof arg0 === 'string' ? document.querySelectorAll(arg0) : arg0IsList ? arg0 : arg0IsElem ? [arg0] : document.querySelectorAll(DEFAULT_CLASS),
+ options = _typeof(arg0) === 'object' && !arg0IsList && !arg0IsElem ? arg0 : args[1] && _typeof(args[1]) === 'object' ? args[1] : {};
Array.from(inputs).forEach(function (el) {
var picker = el[DATA_KEY];
if (!picker) el[DATA_KEY] = picker = new _duDatePicker(el, options);
-
if ((typeof arg0 === 'string' || arg0IsList || arg0IsElem) && args[1] && typeof args[1] === 'string' && args[1] != 'set') {
var params = Array.prototype.slice.call(args).slice(2);
picker[args[1]].apply(picker, params);
@@ -6249,11 +6261,9 @@
}
});
}
-
Object.defineProperty(duDatepicker, 'i18n', {
value: i18n
});
-
duDatepicker.defaults = function (configs) {
_duDatePicker.default_configs = hf.extend(DEFAULTS, configs);
};
diff --git a/dist/duDatepicker.min.css b/dist/duDatepicker.min.css
index 51eee1d..b8e21f3 100644
--- a/dist/duDatepicker.min.css
+++ b/dist/duDatepicker.min.css
@@ -1 +1 @@
-@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.dcalendarpicker{position:fixed;top:0;bottom:0;left:0;right:0;visibility:hidden;opacity:0;background-color:transparent;transition:background-color .2s linear,opacity .2s cubic-bezier(.4,0,.2,1);will-change:background-color,opacity;z-index:100001;overflow:hidden}.dcalendarpicker .dudp__wrapper{font-family:Roboto,sans-serif;font-size:12px;line-height:normal;position:absolute;display:flex;flex-direction:column;left:50%;bottom:24px;min-width:272px;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;border-radius:4px;transform:translateX(-50%) scale(1.05) perspective(1px);box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1);will-change:transform,-moz-transform,opacity}.dcalendarpicker .dudp__calendar-header{font-size:18px;padding:20px;color:#dcdcdc;box-sizing:content-box}.dcalendarpicker .dudp__calendar-header .dcp_sel-date,.dcalendarpicker .dudp__calendar-header .dudp__sel-year{display:block;cursor:pointer}.dcalendarpicker .dudp__calendar-header .dcp_sel-date:hover,.dcalendarpicker .dudp__calendar-header .dudp__sel-year:hover{color:#fff}.dcalendarpicker .dudp__calendar-header .dcp_sel-date{font-size:30px}.dcalendarpicker .dudp__cal-container{position:relative;background-color:#fff;width:284px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;flex:0 1 auto}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next,.dcalendarpicker .dudp__cal-container .dudp__btn-cal-prev{position:absolute;top:0;left:12px;display:block;text-align:center;font-size:28px;line-height:44px;width:48px;height:48px;font-weight:500;cursor:pointer;border-radius:50%;opacity:1;transition:opacity .25s cubic-bezier(0,0,.2,1),background-color .25s linear;will-change:opacity,background-color;z-index:2}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next:hover,.dcalendarpicker .dudp__cal-container .dudp__btn-cal-prev:hover{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next:active,.dcalendarpicker .dudp__cal-container .dudp__btn-cal-prev:active{background-color:#bfbfbf}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next.dp__hidden,.dcalendarpicker .dudp__cal-container .dudp__btn-cal-prev.dp__hidden{opacity:0;visibility:hidden}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next{left:auto;right:12px}.dcalendarpicker .dudp__cal-container .dudp__calendar-views{width:860px;overflow:hidden;opacity:1;transition:opacity .25s cubic-bezier(0,0,.2,1);will-change:opacity}.dcalendarpicker .dudp__cal-container .dudp__calendar-views.dp__animate-out{opacity:0}.dcalendarpicker .dudp__cal-container .dudp__calendar-views.dp__hidden{visibility:hidden;opacity:0}.dcalendarpicker .dudp__cal-container .dudp__calendar{display:inline-block;padding:0 16px 10px;opacity:1;transform:translateX(-100%) perspective(1px);transition:none;will-change:transform}.dcalendarpicker .dudp__cal-container .dudp__calendar.dp__zooming{transition:transform .25s,opacity .25s cubic-bezier(0,0,.2,1)}.dcalendarpicker .dudp__cal-container .dudp__calendar.dp__animate-zoom{opacity:0;transform:translateX(-100%) perspective(1px) scale(.85)}.dcalendarpicker .dudp__cal-container .dudp__calendar.dp__animate-left{transform:translateX(-200%);transition:transform .25s cubic-bezier(.4,0,.2,1)!important}.dcalendarpicker .dudp__cal-container .dudp__calendar.dp__animate-right{transform:translateX(0);transition:transform .25s cubic-bezier(.4,0,.2,1)!important}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-month-year{text-align:center;line-height:48px;font-size:14px;font-weight:500}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-month-year span{display:inline-block;cursor:pointer;padding:0 4px}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__weekdays{display:flex;flex-direction:row}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__weekdays span{display:inline-block;flex:0 1 auto;width:36px;text-align:center;color:#323232;font-size:11px;line-height:20px;vertical-align:middle}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week{display:flex;flex-direction:row}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date{position:relative;flex:0 1 auto;display:block;text-decoration:none;text-align:center;color:#323232;width:36px;line-height:36px;height:36px;outline:none;cursor:pointer}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:50%;transition:background-color .24s,color .24s;z-index:-1}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.dudp__nm,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.dudp__pm{color:#969696}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.disabled{cursor:not-allowed;color:#c8c8c8}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):not(.range-from):not(.range-to):hover:before{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):not(.range-from):not(.range-to):active:before{background-color:#bfbfbf}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.current{color:#1976d2;font-weight:500}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.in-range{background-color:rgba(25,118,210,.2);border-radius:0}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.selected{font-weight:400;color:#fff!important}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#1976d2}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from{background-color:rgba(25,118,210,.2);border-radius:50% 0 0 50%}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(25,118,210,.2);border-radius:0 50% 50% 0}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from.range-to{border-radius:50%}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.in-range-preview,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview{background-color:hsla(0,0%,39.2%,.07);border-radius:0}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview{border-radius:50% 0 0 50%}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview{border-radius:0 50% 50% 0}.dcalendarpicker .dudp__cal-container .dudp__months-view{display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;justify-content:center;align-items:center;opacity:1;transform:scale(1) perspective(1px);transition:transform .25s cubic-bezier(0,0,.2,1),opacity .25s cubic-bezier(0,0,.2,1);will-change:transform,opacity}.dcalendarpicker .dudp__cal-container .dudp__months-view.dp__animate-out{opacity:0;transform:scale(1.3)}.dcalendarpicker .dudp__cal-container .dudp__months-view.dp__hidden{display:none;opacity:0}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month-row{display:flex;flex-direction:row}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month{flex:0 1 auto;display:inline-block;line-height:63px;min-width:63px;text-align:center;font-size:14px;cursor:pointer;border-radius:50%;transition:background-color .2s linear}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month:hover{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month:active{background-color:#bfbfbf}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month.selected{font-weight:500;color:#1565c0}.dcalendarpicker .dudp__cal-container .dudp__years-view{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fff;opacity:1;transition:opacity .25s cubic-bezier(0,0,.2,1);overflow-y:scroll;overflow-x:hidden}.dcalendarpicker .dudp__cal-container .dudp__years-view.dp__hidden{opacity:0;visibility:hidden}.dcalendarpicker .dudp__cal-container .dudp__years-view .dudp__year{display:block;padding:10px 0;text-align:center;font-size:16px;cursor:pointer;transition:background-color .2s linear}.dcalendarpicker .dudp__cal-container .dudp__years-view .dudp__year:hover{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__years-view .dudp__year:active{background-color:#bfbfbf}.dcalendarpicker .dudp__cal-container .dudp__years-view .dudp__year.selected{font-weight:500;font-size:24px;color:#1565c0}.dcalendarpicker .dudp__cal-container .dudp__buttons{padding:0 10px 10px;text-align:right}.dcalendarpicker .dudp__cal-container .dudp__buttons.dp__hidden{visibility:hidden}.dcalendarpicker .dudp__cal-container .dudp__buttons:after{content:"";display:block;clear:both}.dcalendarpicker .dudp__cal-container .dudp__buttons .dudp__button{display:inline-block;font-size:14px;padding:0 16px;min-width:40px;text-align:center;text-transform:uppercase;line-height:32px;font-weight:500;cursor:pointer;color:#1565c0;border-radius:4px;transition:background-color .2s linear}.dcalendarpicker .dudp__cal-container .dudp__buttons .dudp__button.clear{float:left;color:#b71c1c!important}.dcalendarpicker .dudp__cal-container .dudp__buttons .dudp__button:hover{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__buttons .dudp__button:active{background-color:#bfbfbf}.dcalendarpicker.dp__open{visibility:visible;opacity:1;background-color:rgba(10,10,10,.65)}.dcalendarpicker.dp__open .dudp__wrapper{transform:translateX(-50%) scale(1)}.dcalendarpicker.dp__closing{opacity:0;background-color:transparent}.dcalendarpicker[inline=true]{top:auto;left:auto;right:auto;bottom:auto;background-color:transparent!important;box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.dcalendarpicker[inline=true] .dudp__wrapper{position:relative;left:auto;bottom:auto;transform:none}.dcalendarpicker[inline=true].dp__open .dudp__wrapper{transform:none}.dcalendarpicker[inline=true] .dudp__cal-container{width:272px}.dcalendarpicker[inline=true] .dudp__cal-container .dudp__calendar{padding:0 10px}@media (max-height:414px){.dcalendarpicker .dudp__wrapper{flex-direction:row;bottom:8px}.dcalendarpicker .dudp__calendar-header{width:110px}}@media (max-height:320px){.dcalendarpicker .dudp__wrapper{bottom:0}}[datepicker-display=on]{overflow:hidden}.dudp__wrapper[data-theme=red] .dudp__calendar-header{background-color:#c62828}.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#d32f2f}.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(211,47,47,.2)}.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#d32f2f}.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#b71c1c}.dudp__wrapper[data-theme=red] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=red] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=red] .dudp__years-view .dudp__year.selected{color:#b71c1c}.dudp__wrapper[data-theme=green] .dudp__calendar-header{background-color:#2e7d32}.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#388e3c}.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(56,142,60,.2)}.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#388e3c}.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#1b5e20}.dudp__wrapper[data-theme=green] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=green] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=green] .dudp__years-view .dudp__year.selected{color:#1b5e20}.dudp__wrapper[data-theme=blue] .dudp__calendar-header{background-color:#1565c0}.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#1976d2}.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(25,118,210,.2)}.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#1976d2}.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#0d47a1}.dudp__wrapper[data-theme=blue] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=blue] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=blue] .dudp__years-view .dudp__year.selected{color:#0d47a1}.dudp__wrapper[data-theme=teal] .dudp__calendar-header{background-color:#00695c}.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#00796b}.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(0,121,107,.2)}.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#00796b}.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#004d40}.dudp__wrapper[data-theme=teal] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=teal] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=teal] .dudp__years-view .dudp__year.selected{color:#004d40}.dudp__wrapper[data-theme=purple] .dudp__calendar-header{background-color:#6a1b9a}.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#7b1fa2}.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(123,31,162,.2)}.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#7b1fa2}.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#4a148c}.dudp__wrapper[data-theme=purple] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=purple] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=purple] .dudp__years-view .dudp__year.selected{color:#4a148c}.dudp__wrapper[data-theme=indigo] .dudp__calendar-header{background-color:#283593}.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#303f9f}.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(48,63,159,.2)}.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#303f9f}.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#1a237e}.dudp__wrapper[data-theme=indigo] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=indigo] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=indigo] .dudp__years-view .dudp__year.selected{color:#1a237e}.dudp__wrapper[data-theme=dark] .dudp__calendar-header{background-color:#121212}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date{color:hsla(0,0%,100%,.87)}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#1976d2}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.in-range-preview,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview{background-color:hsla(0,0%,78.4%,.07)}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(25,118,210,.2)}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#1976d2}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#0d47a1}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.disabled{color:hsla(0,0%,100%,.38)}.dudp__wrapper[data-theme=dark] .dudp__cal-container,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__years-view{background-color:#1d1d1d}.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-next,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-prev,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-month-year,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__nm,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__pm,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__weekdays span,.dudp__wrapper[data-theme=dark] .dudp__months-view .dudp__month:not(.selected),.dudp__wrapper[data-theme=dark] .dudp__years-view .dudp__year:not(.selected){color:hsla(0,0%,100%,.6)}.dudp__wrapper[data-theme=dark] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=dark] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=dark] .dudp__years-view .dudp__year.selected{color:#0d47a1}.dudp__wrapper[data-theme=dark] .dudp__buttons .dudp__button.clear{color:#ef5350!important}.dudp__wrapper[data-theme=dark] .dudp__buttons .dudp__button:hover,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-next:hover,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-prev:hover,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):not(.range-from):not(.range-to):hover:before,.dudp__wrapper[data-theme=dark] .dudp__months-view .dudp__month:hover,.dudp__wrapper[data-theme=dark] .dudp__years-view .dudp__year:hover{background-color:hsla(0,0%,100%,.04)}.dudp__wrapper[data-theme=dark] .dudp__buttons .dudp__button:active,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-next:active,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-prev:active,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):not(.range-from):not(.range-to):active:before,.dudp__wrapper[data-theme=dark] .dudp__months-view .dudp__month:active,.dudp__wrapper[data-theme=dark] .dudp__years-view .dudp__year:active{background-color:hsla(0,0%,100%,.1)}
\ No newline at end of file
+@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.dcalendarpicker{background-color:transparent;bottom:0;left:0;opacity:0;overflow:hidden;position:fixed;right:0;top:0;transition:background-color .2s linear,opacity .2s cubic-bezier(.4,0,.2,1);visibility:hidden;will-change:background-color,opacity;z-index:100001}.dcalendarpicker .dudp__wrapper{border-radius:4px;bottom:24px;box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);display:flex;flex-direction:column;font-family:Roboto,sans-serif;font-size:12px;left:50%;line-height:normal;min-width:272px;outline:none;overflow:hidden;position:absolute;transform:translateX(-50%) scale(1.05) perspective(1px);transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;will-change:transform,-moz-transform,opacity}.dcalendarpicker .dudp__calendar-header{box-sizing:content-box;color:#dcdcdc;font-size:18px;padding:20px}.dcalendarpicker .dudp__calendar-header .dcp_sel-date,.dcalendarpicker .dudp__calendar-header .dudp__sel-year{cursor:pointer;display:block}.dcalendarpicker .dudp__calendar-header .dcp_sel-date:hover,.dcalendarpicker .dudp__calendar-header .dudp__sel-year:hover{color:#fff}.dcalendarpicker .dudp__calendar-header .dcp_sel-date{font-size:30px}.dcalendarpicker .dudp__cal-container{background-color:#fff;flex:0 1 auto;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:284px}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next,.dcalendarpicker .dudp__cal-container .dudp__btn-cal-prev{border-radius:50%;cursor:pointer;display:block;font-size:28px;font-weight:500;height:48px;left:12px;line-height:44px;opacity:1;position:absolute;text-align:center;top:0;transition:opacity .25s cubic-bezier(0,0,.2,1),background-color .25s linear;width:48px;will-change:opacity,background-color;z-index:2}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next:hover,.dcalendarpicker .dudp__cal-container .dudp__btn-cal-prev:hover{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next:active,.dcalendarpicker .dudp__cal-container .dudp__btn-cal-prev:active{background-color:#bfbfbf}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next.dp__hidden,.dcalendarpicker .dudp__cal-container .dudp__btn-cal-prev.dp__hidden{opacity:0;visibility:hidden}.dcalendarpicker .dudp__cal-container .dudp__btn-cal-next{left:auto;right:12px}.dcalendarpicker .dudp__cal-container .dudp__calendar-views{opacity:1;overflow:hidden;transition:opacity .25s cubic-bezier(0,0,.2,1);width:860px;will-change:opacity}.dcalendarpicker .dudp__cal-container .dudp__calendar-views.dp__animate-out{opacity:0}.dcalendarpicker .dudp__cal-container .dudp__calendar-views.dp__hidden{opacity:0;visibility:hidden}.dcalendarpicker .dudp__cal-container .dudp__calendar{display:inline-block;opacity:1;padding:0 16px 10px;transform:translateX(-100%) perspective(1px);transition:none;will-change:transform}.dcalendarpicker .dudp__cal-container .dudp__calendar.dp__zooming{transition:transform .25s,opacity .25s cubic-bezier(0,0,.2,1)}.dcalendarpicker .dudp__cal-container .dudp__calendar.dp__animate-zoom{opacity:0;transform:translateX(-100%) perspective(1px) scale(.85)}.dcalendarpicker .dudp__cal-container .dudp__calendar.dp__animate-left{transform:translateX(-200%);transition:transform .25s cubic-bezier(.4,0,.2,1)!important}.dcalendarpicker .dudp__cal-container .dudp__calendar.dp__animate-right{transform:translateX(0);transition:transform .25s cubic-bezier(.4,0,.2,1)!important}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-month-year{font-size:14px;font-weight:500;line-height:48px;text-align:center}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-month-year span{cursor:pointer;display:inline-block;padding:0 4px}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__weekdays{display:flex;flex-direction:row}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__weekdays span{color:#323232;display:inline-block;flex:0 1 auto;font-size:11px;line-height:20px;text-align:center;vertical-align:middle;width:36px}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week{display:flex;flex-direction:row}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date{color:#323232;cursor:pointer;display:block;flex:0 1 auto;height:36px;line-height:36px;outline:none;position:relative;text-align:center;text-decoration:none;width:36px}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date:before{border-radius:50%;bottom:0;content:"";left:0;position:absolute;right:0;top:0;transition:background-color .24s,color .24s;z-index:-1}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.dudp__nm,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.dudp__pm{color:#969696}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.disabled{color:#c8c8c8;cursor:not-allowed}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):not(.range-from):not(.range-to):hover:before{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):not(.range-from):not(.range-to):active:before{background-color:#bfbfbf}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.current{color:#1976d2;font-weight:500}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.in-range{background-color:rgba(25,118,210,.2);border-radius:0}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.selected{color:#fff!important;font-weight:400}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#1976d2}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from{background-color:rgba(25,118,210,.2);border-radius:50% 0 0 50%}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(25,118,210,.2);border-radius:0 50% 50% 0}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from.range-to{border-radius:50%}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.in-range-preview,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview,.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview{background-color:hsla(0,0%,39%,.07);border-radius:0}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview{border-radius:50% 0 0 50%}.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview{border-radius:0 50% 50% 0}.dcalendarpicker .dudp__cal-container .dudp__months-view{align-items:center;bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;opacity:1;position:absolute;right:0;top:0;transform:scale(1) perspective(1px);transition:transform .25s cubic-bezier(0,0,.2,1),opacity .25s cubic-bezier(0,0,.2,1);will-change:transform,opacity}.dcalendarpicker .dudp__cal-container .dudp__months-view.dp__animate-out{opacity:0;transform:scale(1.3)}.dcalendarpicker .dudp__cal-container .dudp__months-view.dp__hidden{display:none;opacity:0}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month-row{display:flex;flex-direction:row}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month{border-radius:50%;cursor:pointer;display:inline-block;flex:0 1 auto;font-size:14px;line-height:63px;min-width:63px;text-align:center;transition:background-color .2s linear}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month:hover{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month:active{background-color:#bfbfbf}.dcalendarpicker .dudp__cal-container .dudp__months-view .dudp__month.selected{color:#1565c0;font-weight:500}.dcalendarpicker .dudp__cal-container .dudp__years-view{background-color:#fff;bottom:0;left:0;opacity:1;overflow-x:hidden;overflow-y:scroll;position:absolute;right:0;top:0;transition:opacity .25s cubic-bezier(0,0,.2,1)}.dcalendarpicker .dudp__cal-container .dudp__years-view.dp__hidden{opacity:0;visibility:hidden}.dcalendarpicker .dudp__cal-container .dudp__years-view .dudp__year{cursor:pointer;display:block;font-size:16px;padding:10px 0;text-align:center;transition:background-color .2s linear}.dcalendarpicker .dudp__cal-container .dudp__years-view .dudp__year:hover{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__years-view .dudp__year:active{background-color:#bfbfbf}.dcalendarpicker .dudp__cal-container .dudp__years-view .dudp__year.selected{color:#1565c0;font-size:24px;font-weight:500}.dcalendarpicker .dudp__cal-container .dudp__buttons{padding:0 10px 10px;text-align:right}.dcalendarpicker .dudp__cal-container .dudp__buttons.dp__hidden{visibility:hidden}.dcalendarpicker .dudp__cal-container .dudp__buttons:after{clear:both;content:"";display:block}.dcalendarpicker .dudp__cal-container .dudp__buttons .dudp__button{border-radius:4px;color:#1565c0;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:32px;min-width:40px;padding:0 16px;text-align:center;text-transform:uppercase;transition:background-color .2s linear}.dcalendarpicker .dudp__cal-container .dudp__buttons .dudp__button.clear{color:#b71c1c!important;float:left}.dcalendarpicker .dudp__cal-container .dudp__buttons .dudp__button:hover{background-color:#d9d9d9}.dcalendarpicker .dudp__cal-container .dudp__buttons .dudp__button:active{background-color:#bfbfbf}.dcalendarpicker.dp__open{background-color:hsla(0,0%,4%,.65);opacity:1;visibility:visible}.dcalendarpicker.dp__open .dudp__wrapper{transform:translateX(-50%) scale(1)}.dcalendarpicker.dp__closing{background-color:transparent;opacity:0}.dcalendarpicker[inline=true]{background-color:transparent!important;bottom:auto;box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);left:auto;right:auto;top:auto}.dcalendarpicker[inline=true] .dudp__wrapper{bottom:auto;left:auto;position:relative;transform:none}.dcalendarpicker[inline=true].dp__open .dudp__wrapper{transform:none}.dcalendarpicker[inline=true] .dudp__cal-container{width:272px}.dcalendarpicker[inline=true] .dudp__cal-container .dudp__calendar{padding:0 10px}@media (max-height:414px){.dcalendarpicker .dudp__wrapper{bottom:8px;flex-direction:row}.dcalendarpicker .dudp__calendar-header{width:110px}}@media (max-height:320px){.dcalendarpicker .dudp__wrapper{bottom:0}}[datepicker-display=on]{overflow:hidden}.dudp__wrapper[data-theme=red] .dudp__calendar-header{background-color:#c62828}.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#d32f2f}.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(211,47,47,.2)}.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#d32f2f}.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=red] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#b71c1c}.dudp__wrapper[data-theme=red] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=red] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=red] .dudp__years-view .dudp__year.selected{color:#b71c1c}.dudp__wrapper[data-theme=green] .dudp__calendar-header{background-color:#2e7d32}.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#388e3c}.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(56,142,60,.2)}.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#388e3c}.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=green] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#1b5e20}.dudp__wrapper[data-theme=green] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=green] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=green] .dudp__years-view .dudp__year.selected{color:#1b5e20}.dudp__wrapper[data-theme=blue] .dudp__calendar-header{background-color:#1565c0}.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#1976d2}.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(25,118,210,.2)}.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#1976d2}.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=blue] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#0d47a1}.dudp__wrapper[data-theme=blue] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=blue] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=blue] .dudp__years-view .dudp__year.selected{color:#0d47a1}.dudp__wrapper[data-theme=teal] .dudp__calendar-header{background-color:#00695c}.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#00796b}.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(0,121,107,.2)}.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#00796b}.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=teal] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#004d40}.dudp__wrapper[data-theme=teal] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=teal] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=teal] .dudp__years-view .dudp__year.selected{color:#004d40}.dudp__wrapper[data-theme=purple] .dudp__calendar-header{background-color:#6a1b9a}.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#7b1fa2}.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(123,31,162,.2)}.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#7b1fa2}.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=purple] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#4a148c}.dudp__wrapper[data-theme=purple] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=purple] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=purple] .dudp__years-view .dudp__year.selected{color:#4a148c}.dudp__wrapper[data-theme=indigo] .dudp__calendar-header{background-color:#283593}.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#303f9f}.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(48,63,159,.2)}.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#303f9f}.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=indigo] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#1a237e}.dudp__wrapper[data-theme=indigo] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=indigo] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=indigo] .dudp__years-view .dudp__year.selected{color:#1a237e}.dudp__wrapper[data-theme=dark] .dudp__calendar-header{background-color:#121212}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date{color:hsla(0,0%,100%,.87)}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.current{color:#1976d2}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.in-range-preview,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview{background-color:hsla(0,0%,78%,.07)}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.in-range,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-from,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-to{background-color:rgba(25,118,210,.2)}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-from:before,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-to:before,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.selected:before{background-color:#1976d2}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-from:hover:before,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.range-to:hover:before,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover:before{background-color:#0d47a1}.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date.disabled{color:hsla(0,0%,100%,.38)}.dudp__wrapper[data-theme=dark] .dudp__cal-container,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__years-view{background-color:#1d1d1d}.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-next,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-prev,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-month-year,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__nm,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__pm,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__weekdays span,.dudp__wrapper[data-theme=dark] .dudp__months-view .dudp__month:not(.selected),.dudp__wrapper[data-theme=dark] .dudp__years-view .dudp__year:not(.selected){color:hsla(0,0%,100%,.6)}.dudp__wrapper[data-theme=dark] .dudp__buttons .dudp__button,.dudp__wrapper[data-theme=dark] .dudp__months-view .dudp__month.selected,.dudp__wrapper[data-theme=dark] .dudp__years-view .dudp__year.selected{color:#0d47a1}.dudp__wrapper[data-theme=dark] .dudp__buttons .dudp__button.clear{color:#ef5350!important}.dudp__wrapper[data-theme=dark] .dudp__buttons .dudp__button:hover,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-next:hover,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-prev:hover,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):not(.range-from):not(.range-to):hover:before,.dudp__wrapper[data-theme=dark] .dudp__months-view .dudp__month:hover,.dudp__wrapper[data-theme=dark] .dudp__years-view .dudp__year:hover{background-color:hsla(0,0%,100%,.04)}.dudp__wrapper[data-theme=dark] .dudp__buttons .dudp__button:active,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-next:active,.dudp__wrapper[data-theme=dark] .dudp__cal-container .dudp__btn-cal-prev:active,.dudp__wrapper[data-theme=dark] .dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):not(.range-from):not(.range-to):active:before,.dudp__wrapper[data-theme=dark] .dudp__months-view .dudp__month:active,.dudp__wrapper[data-theme=dark] .dudp__years-view .dudp__year:active{background-color:hsla(0,0%,100%,.1)}
\ No newline at end of file
diff --git a/dist/duDatepicker.min.js b/dist/duDatepicker.min.js
index 49bd555..b74aa5a 100644
--- a/dist/duDatepicker.min.js
+++ b/dist/duDatepicker.min.js
@@ -1 +1 @@
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).duDatepicker=t()}(this,function(){"use strict";function Y(e){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);na;)!Dn(r,n=t[a++])||~xn(o,n)||kn(o,n);return o}function Ne(e,t){return(e=zn[Nn(e)])==Bn||e!=qn&&(Vn(t)?Pn(t):!!t)}function E(e,t){var n,r,a,o=e.target,i=e.global,c=e.stat,l=i?Gn:c?Gn[o]||Wn(o,{}):(Gn[o]||{}).prototype;if(l)for(n in t){if(r=t[n],a=e.noTargetGet?(a=Jn(l,n))&&a.value:l[n],!Xn(i?n:o+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof r==typeof a)continue;Kn(r,a)}(e.sham||a&&a.sham)&&$n(r,"sham",!0),Un(l,n,r,e)}}function ze(e){if("Symbol"===rr(e))throw TypeError("Cannot convert a Symbol value to a string");return ar(e)}function qe(){var e=or(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}var Be,Ge,Je,$e,Ue,We,Ke,Xe,Qe=G,Ze=o.Object,et=je,tt=d({}.hasOwnProperty),y=Object.hasOwn||function(e,t){return tt(et(e),t)},D=d,nt=0,rt=Math.random(),at=D(1..toString),D=o,T=h.exports,ot=y,x=Le,it=g,ct=m,lt=T("wks"),st=D.Symbol,ut=st&&st.for,dt=ct?st:st&&st.withoutSetter||x,ft=s,pt=n,gt=_,ht=a,mt=function(e,t){var n,r;if("string"===t&&Te(n=e.toString)&&!xe(r=De(n,e)))return r;if(Te(n=e.valueOf)&&!xe(r=De(n,e)))return r;if("string"!==t&&Te(n=e.toString)&&!xe(r=De(n,e)))return r;throw Se("Can't convert object to primitive value")},g=w,_t=o.TypeError,vt=g("toPrimitive"),yt=function(e,t){if(!pt(e)||gt(e))return e;var n=ht(e,vt);if(n){if(n=ft(n,e,t=void 0===t?"default":t),!pt(n)||gt(n))return n;throw _t("Can't convert object to primitive value")}return mt(e,t=void 0===t?"number":t)},wt=_,m=n,bt=o.document,Et=m(bt)&&m(bt.createElement),Dt=Ie,T=!c&&!e(function(){return 7!=Object.defineProperty(Dt("div"),"a",{get:function(){return 7}}).a}),Tt=s,xt=u,St=q,kt=J,Ot=Me,At=y,jt=T,Lt=Object.getOwnPropertyDescriptor,D=(i.f=c?Lt:function(e,t){if(e=kt(e),t=Ot(t),jt)try{return Lt(e,t)}catch(e){}if(At(e,t))return St(!Tt(xt.f,e,t),e[t])},{}),x=c&&e(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Mt=n,It=o.String,Ft=o.TypeError,Ct=T,Yt=b,Rt=Me,Pt=o.TypeError,Vt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,Nt="enumerable",zt="configurable",qt="writable",g=(D.f=c?x?function(e,t,n){var r;return Yt(e),t=Rt(t),Yt(n),"function"==typeof e&&"prototype"===t&&"value"in n&&qt in n&&!n[qt]&&((r=Ht(e,t))&&r[qt]&&(e[t]=n.value,n={configurable:(zt in n?n:r)[zt],enumerable:(Nt in n?n:r)[Nt],writable:!1})),Vt(e,t,n)}:Vt:function(e,t,n){if(Yt(e),t=Rt(t),Yt(n),Ct)try{return Vt(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Pt("Accessors not supported");return"value"in n&&(e[t]=n.value),e},c),Bt=D,Gt=q,_=g?function(e,t,n){return Bt.f(e,t,Gt(1,n))}:function(e,t,n){return e[t]=n,e},m={exports:{}},u=t,T=v,Jt=d(Function.toString),g=(u(T.inspectSource)||(T.inspectSource=function(e){return Jt(e)}),T.inspectSource),u=t,T=g,S=o.WeakMap,u=u(S)&&/native code/.test(T(S)),T=h.exports,$t=Le,Ut=T("keys"),S={},T=d,Wt=n,Kt=_,Xt=y,k=v,O=Fe,A=S,Qt="Object already initialized",Zt=o.TypeError,en=o.WeakMap,u=(Ke=u||k.state?(Be=k.state||(k.state=new en),Ge=T(Be.get),Je=T(Be.has),$e=T(Be.set),Ue=function(e,t){if(Je(Be,e))throw new Zt(Qt);return t.facade=e,$e(Be,e,t),t},We=function(e){return Ge(Be,e)||{}},function(e){return Je(Be,e)}):(A[Xe=O("state")]=!0,Ue=function(e,t){if(Xt(e,Xe))throw new Zt(Qt);return t.facade=e,Kt(e,Xe,t),t},We=function(e){return Xt(e,Xe)?e[Xe]:{}},function(e){return Xt(e,Xe)}),{set:Ue,get:We,has:Ke,enforce:function(e){return Ke(e)?We(e):Ue(e,{})},getterFor:function(t){return function(e){if(Wt(e)&&(e=We(e)).type===t)return e;throw Zt("Incompatible receiver, "+t+" required")}}}),k=c,en=y,T=Function.prototype,A=k&&Object.getOwnPropertyDescriptor,O=en(T,"name"),en={EXISTS:O,PROPER:O&&"something"===function(){}.name,CONFIGURABLE:O&&(!k||A(T,"name").configurable)},tn=o,nn=t,rn=y,an=_,on=W,cn=g,ln=en.CONFIGURABLE,sn=u.get,un=u.enforce,dn=String(String).split("String"),O=((m.exports=function(e,t,n,r){var a,o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet,r=r&&void 0!==r.name?r.name:t;nn(n)&&("Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!rn(n,"name")||ln&&n.name!==r)&&an(n,"name",r),(a=un(n)).source||(a.source=dn.join("string"==typeof r?r:""))),e===tn?i?e[t]=n:on(t,n):(o?!c&&e[t]&&(i=!0):delete e[t],i?e[t]=n:an(e,t,n))})(Function.prototype,"toString",function(){return nn(this)&&sn(this).source||cn(this)}),{}),fn=Math.ceil,pn=Math.floor,gn=Ce,hn=Math.max,mn=Math.min,_n=Ce,vn=Math.min,yn=Re,wn=J,bn=Ye,En=Pe,k={includes:Ve(!0),indexOf:Ve(!1)},A=d,Dn=y,Tn=J,xn=k.indexOf,Sn=S,kn=A([].push),T=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],On=He,An=T.concat("length","prototype"),k=(O.f=Object.getOwnPropertyNames||function(e){return On(e,An)},{}),A=(k.f=Object.getOwnPropertySymbols,$),jn=O,Ln=k,Mn=b,In=d([].concat),O=A("Reflect","ownKeys")||function(e){var t=jn.f(Mn(e)),n=Ln.f;return n?In(t,n(e)):t},Fn=y,Cn=O,Yn=i,Rn=D,Pn=e,Vn=t,Hn=/#|\.prototype\./,Nn=Ne.normalize=function(e){return String(e).replace(Hn,".").toLowerCase()},zn=Ne.data={},qn=Ne.NATIVE="N",Bn=Ne.POLYFILL="P",Gn=o,Jn=i.f,$n=_,Un=m.exports,Wn=W,Kn=function(e,t,n){for(var r=Cn(t),a=Rn.f,o=Yn.f,i=0;i"+e+""+Lr+">"},Fr=function(){try{Tr=new ActiveXObject("htmlfile")}catch(e){}Fr="undefined"==typeof document||document.domain&&Tr?gr(Tr):(e=Ar("iframe"),t="java"+Lr+":",e.style.display="none",Or.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(Ir("document.F=Object")),t.close(),t.F);for(var e,t,n=kr.length;n--;)delete Fr[jr][kr[n]];return Fr()},j=(x[Mr]=!0,Object.create||function(e,t){var n;return null!==e?(pr[jr]=xr(e),n=new pr,pr[jr]=null,n[Mr]=e):n=Fr(),void 0===t?n:Sr.f(n,t)}),T=e,Cr=o.RegExp,S=T(function(){var e=Cr(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),c=e,Yr=o.RegExp,x=c(function(){var e=Yr("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}),Rr=s,T=d,Pr=ze,Vr=qe,c=O,h=h.exports,Hr=j,Nr=u.get,zr=h("native-string-replace",String.prototype.replace),qr=RegExp.prototype.exec,Br=qr,Gr=T("".charAt),Jr=T("".indexOf),$r=T("".replace),Ur=T("".slice),Wr=(h=/b*/g,Rr(qr,T=/a/,"a"),Rr(qr,h,"a"),0!==T.lastIndex||0!==h.lastIndex),Kr=c.BROKEN_CARET,Xr=void 0!==/()??/.exec("")[1],T=Br=Wr||Xr||Kr||S||x?function(e){var t,n,r,a,o,i,c=this,l=Nr(c),e=Pr(e),s=l.raw;if(s)return s.lastIndex=c.lastIndex,d=Rr(Br,s,e),c.lastIndex=s.lastIndex,d;var u=l.groups,s=Kr&&c.sticky,d=Rr(Vr,c),l=c.source,f=0,p=e;if(s&&(d=$r(d,"y",""),-1===Jr(d,"g")&&(d+="g"),p=Ur(e,c.lastIndex),0>>0;if(0==r)return[];if(void 0===e)return[n];if(!Ua(e))return $a(g,n,e,r);for(var a,o,i,c=[],t=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,s=new RegExp(e.source,t+"g");(a=$a(ao,s,n))&&!(l<(o=s.lastIndex)&&(uo(c,fo(n,l,a.index)),1>>0;if(0==c)return[];if(0===r.length)return null===ro(i,r)?[r]:[];for(var l=0,s=0,u=[];snc(t)?1:-1})),n=a.length,i=0;i=t.length?{value:void 0,done:!0}:(t=As(t,n),e.index+=t.length,{value:t,done:!1})});var L=d([].slice),F=E,k=o,Fs=Lo,Cs=h,Ys=n,Rs=Ye,Ps=Pe,Vs=J,Hs=br,p=w,Ns=L,v=Wi("slice"),zs=p("species"),qs=k.Array,Bs=Math.max;F({target:"Array",proto:!0,forced:!v},{slice:function(e,t){var n,r,a,o=Vs(this),i=Ps(o),c=Rs(e,i),l=Rs(void 0===t?i:t,i);if(Fs(o)&&(n=o.constructor,(n=Cs(n)&&(n===qs||Fs(n.prototype))||Ys(n)&&null===(n=n[zs])?void 0:n)===qs||void 0===n))return Ns(o,c,l);for(r=new(void 0===n?qs:n)(Bs(l-c,0)),a=0;c]*>)/g,Zs=/\$([$&'`]|\d{1,2})/g,eu=S,tu=s,g=d,l=hr,$l=e,nu=b,ru=t,au=Ce,ou=Re,iu=ze,cu=G,lu=wr,su=a,uu=function(o,i,c,l,s,e){var u=c+o.length,d=l.length,t=Zs;return void 0!==s&&(s=$s(s),t=Qs),Ks(e,t,function(e,t){var n;switch(Ws(t,0)){case"$":return"$";case"&":return o;case"`":return Xs(i,0,c);case"'":return Xs(i,u);case"<":n=s[Xs(t,1,-1)];break;default:var r,a=+t;if(0==a)return e;if(d")})||!D||yu),s),bu=y,Eu=Q,Du=qe,Tu=RegExp.prototype,j=en.PROPER,T=m.exports,xu=b,Su=ze,M=e,ku=function(e){var t=e.flags;return void 0!==t||"flags"in Tu||bu(e,"flags")||!Eu(Tu,e)?t:wu(Du,e)},_="toString",Ou=RegExp.prototype[_],A=M(function(){return"/a/b"!=Ou.call({source:"a",flags:"b"})}),Fo=j&&Ou.name!=_,Au=((A||Fo)&&T(RegExp.prototype,_,function(){var e=xu(this);return"/"+Su(e.source)+"/"+Su(ku(e))},{unsafe:!0}),s),ju=b,Lu=Re,Mu=ze,Iu=G,Fu=a,Cu=wr,Yu=Dr,O=(hr("match",function(r,c,l){return[function(e){var t=Iu(this),n=null==e?void 0:Fu(e,r);return n?Au(n,e,t):new RegExp(e)[r](Mu(t))},function(e){var t=ju(this),n=Mu(e),e=l(c,t,n);if(e.done)return e.value;if(!t.global)return Yu(t,n);for(var r=t.unicode,a=[],o=t.lastIndex=0;null!==(i=Yu(t,n));){var i=Mu(i[0]);""===(a[o]=i)&&(t.lastIndex=Cu(n,Lu(t.lastIndex),r)),o++}return 0===o?null:a}]}),E),Ru=c.findIndex,x=Tl,u="findIndex",Pu=!0,pl=(u in[]&&Array(1)[u](function(){Pu=!1}),O({target:"Array",proto:!0,forced:Pu},{findIndex:function(e){return Ru(this,e,1".concat(n.join(""),"")},jsonToDate:function(e){return new Date(e.year,e.month,e.date)},dateToJson:function(e){return e?{year:e.getFullYear(),month:e.getMonth(),date:e.getDate()}:null},isElement:function(e){return e instanceof Element},swipeEvent:function(e,r){var a,o,i=0,c=0;this.addEvent(e,"touchstart",function(e){i=e.touches[0].clientX,c=e.touches[0].clientY}),this.addEvent(e,"touchend",function(e){a=e.changedTouches[0].clientX,o=e.changedTouches[0].clientY;var e=i-a,t=c-o,n=100n.maxYear;return t.minDate&&(r="today"===t.minDate?i:new Date(t.minDate)),t.maxDate&&(a="today"===t.maxDate?i:new Date(t.maxDate)),r&&e=C.parseDate.call(n,e.split("-")[0]).date&&t<=C.parseDate.call(n,e.split("-")[1]).date:C.parseDate.call(n,e).date.getTime()===t.getTime()}).length,a=t.getDay(),o=n.config.i18n.days[a],i=n.config.i18n.shortDays[a],a=n.config.i18n.shorterDays[a],o=0<=r.indexOf(o)||0<=r.indexOf(i)||0<=r.indexOf(a);return e||o||n._beyondMinMax(t)}},{key:"_rangeHasDisabled",value:function(){var e=this,t=e.rangeFrom?C.jsonToDate(e.rangeFrom):null,n=e.rangeTo?C.jsonToDate(e.rangeTo):null;if(null==t||null==n)return!1;for(var r=C.jsonToDate(e.rangeFrom);r<=n;){if(e._dateDisabled(r))return!0;r.setDate(r.getDate()+1)}return!1}},{key:"_getDates",value:function(a,o){for(var i=this,n=1,r=i._getToday(),c=i.config.range||i.config.multiple?null:C.jsonToDate(i.selected),l=i.rangeFrom?C.jsonToDate(i.rangeFrom):null,s=i.rangeTo?C.jsonToDate(i.rangeTo):null,u=new Date(a,o,n),e=C.getDaysCount(u),d=1,t=[],f=i.config.firstDay||i.config.i18n.firstDay,p=(f+6)%7,g=function(e,t){i._dateDisabled(t)&&e.classList.add("disabled"),i._inRange(t)&&e.classList.add("in-range"),t.getTime()===r.getTime()&&e.classList.add("current"),(!i.config.range&&!i.config.multiple&&t.getTime()===c.getTime()||i.config.multiple&&i.dates.find(function(e){return e.getTime()===t.getTime()}))&&e.classList.add("selected"),i.config.range&&l&&t.getTime()===l.getTime()&&e.classList.add("range-from"),i.config.range&&s&&t.getTime()===s.getTime()&&e.classList.add("range-to")},h=1;h<=6;h++){for(var m=[],_=0,v=f;_<7;_++,v++)m.push(C.createElem("span",{class:"dudp__date","data-dow":v%7}));for(;n<=e;)if("break"===function(){u.setDate(n);var t=u.getDay(),e=m.find(function(e){return parseInt(e.dataset.dow)===t});return e.dataset.date=n,e.dataset.month=o,e.dataset.year=a,1===h&&t===f%7?"break":t===p?(g(e,u),e.innerText=n++,"break"):(g(e,u),void(e.innerText=n++))}())break;(1===h||4e.length)&&(t=e.length);for(var n=0,r=new Array(t);na;)!Mn(r,n=t[a++])||~Cn(o,n)||Rn(o,n);return o}function hn(e,t){return(e=Qn[Xn(e)])==er||e!=Zn&&(Un(t)?$n(t):!!t)}function A(e,t){var n,r,a,o=e.target,i=e.global,c=e.stat,l=i?tr:c?tr[o]||or(o,{}):(tr[o]||{}).prototype;if(l)for(n in t){if(r=t[n],a=e.dontCallGetSet?(a=nr(l,n))&&a.value:l[n],!cr(i?n:o+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof r==typeof a)continue;ir(r,a)}(e.sham||a&&a.sham)&&rr(r,"sham",!0),ar(l,n,r,e)}}function gn(e){if("Symbol"===pr(e))throw TypeError("Cannot convert a Symbol value to a string");return hr(e)}function mn(){var e=gr(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}var vn=h,_n=m,yn=u.exports,bn=Q,S={},wn=Math.ceil,Dn=Math.floor,En=Math.trunc||function(e){e=+e;return(0"+e+""+Jr+">"},Kr=function(){try{Hr=new ActiveXObject("htmlfile")}catch(e){}Kr="undefined"==typeof document||document.domain&&Hr?Tr(Hr):(e=Wr("iframe"),t="java"+Jr+":",e.style.display="none",Br.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(Ur("document.F=Object")),t.close(),t.F);for(var e,t,n=qr.length;n--;)delete Kr[Gr][qr[n]];return Kr()},x=(Qe[$r]=!0,Object.create||function(e,t){var n;return null!==e?(Er[Gr]=Nr(e),n=new Er,Er[Gr]=null,n[$r]=e):n=Kr(),void 0===t?n:zr.f(n,t)}),k=e,Xr=o.RegExp,T=k(function(){var e=Xr(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),c=e,Qr=o.RegExp,Qe=c(function(){var e=Qr("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}),Zr=s,k=f,ea=gn,ta=mn,c=i,na=x,ra=D.get,aa=w("native-string-replace",String.prototype.replace),oa=RegExp.prototype.exec,ia=oa,ca=k("".charAt),la=k("".indexOf),sa=k("".replace),ua=k("".slice),da=(w=/b*/g,Zr(oa,k=/a/,"a"),Zr(oa,w,"a"),0!==k.lastIndex||0!==w.lastIndex),fa=c.BROKEN_CARET,pa=void 0!==/()??/.exec("")[1],k=ia=da||pa||fa||T||Qe?function(e){var t,n,r,a,o,i,c=this,l=ra(c),e=ea(e),s=l.raw;if(s)return s.lastIndex=c.lastIndex,d=Zr(ia,s,e),c.lastIndex=s.lastIndex,d;var u=l.groups,s=fa&&c.sticky,d=Zr(ta,c),l=c.source,f=0,p=e;if(s&&(d=sa(d,"y",""),-1===la(d,"g")&&(d+="g"),p=ua(e,c.lastIndex),0>>0;if(0==r)return[];if(void 0===e)return[n];if(!mo(e))return po(h,n,e,r);for(var a,o,i,c=[],t=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,s=new RegExp(e.source,t+"g");(a=po(xo,s,n))&&!(l<(o=s.lastIndex)&&(Lo(c,Io(n,l,a.index)),1>>0;if(0==c)return[];if(0===r.length)return null===To(i,r)?[r]:[];for(var l=0,s=0,u=[];sjc(t)?1:-1})),n=Oc(a),i=0;i=t.length?Lu(void 0,!0):(t=Au(t,n),e.index+=t.length,Lu(t,!1))});var g=f([].slice),l=A,Cu=E,Yu=w,Ru=p,Pu=sn,Hu=dn,Vu=$,Nu=Ir,F=n,zu=g,O=$c("slice"),qu=F("species"),Bu=Array,Wu=Math.max;l({target:"Array",proto:!0,forced:!O},{slice:function(e,t){var n,r,a,o=Vu(this),i=Hu(o),c=Pu(e,i),l=Pu(void 0===t?i:t,i);if(Cu(o)&&(n=o.constructor,(n=Yu(n)&&(n===Bu||Cu(n.prototype))||Ru(n)&&null===(n=n[qu])?void 0:n)===Bu||void 0===n))return zu(o,c,l);for(r=new(void 0===n?Bu:n)(Wu(l-c,0)),a=0;c]*>)/g,ed=/\$([$&'`]|\d{1,2})/g,td=T,nd=s,b=f,L=Sr,c=e,rd=r,ad=h,od=G,id=ln,cd=un,ld=gn,sd=J,ud=Lr,dd=X,fd=function(o,i,c,l,s,e){var u=c+o.length,d=l.length,t=ed;return void 0!==s&&(s=$u(s),t=Zu),Xu(e,t,function(e,t){var n;switch(Ku(t,0)){case"$":return"$";case"&":return o;case"`":return Qu(i,0,c);case"'":return Qu(i,u);case"<":n=s[Qu(t,1,-1)];break;default:var r,a=+t;if(0==a)return e;if(d")})||!M||wd),s),Ed=v,Td=Te,xd=mn,Sd=RegExp.prototype,Ws=y.PROPER,m=cn,kd=r,Od=gn,x=e,Ad=function(e){var t=e.flags;return void 0!==t||"flags"in Sd||Ed(e,"flags")||!Td(Sd,e)?t:Dd(xd,e)},i="toString",jd=RegExp.prototype[i],k=x(function(){return"/a/b"!=jd.call({source:"a",flags:"b"})}),_=Ws&&jd.name!=i,Ld=((k||_)&&m(RegExp.prototype,i,function(){var e=kd(this);return"/"+Od(e.source)+"/"+Od(Ad(e))},{unsafe:!0}),s),Id=r,Md=G,Fd=un,Cd=gn,Yd=J,Rd=X,Pd=Lr,Hd=Fr,u=(Sr("match",function(r,c,l){return[function(e){var t=Yd(this),n=Md(e)?void 0:Rd(e,r);return n?Ld(n,e,t):new RegExp(e)[r](Cd(t))},function(e){var t=Id(this),n=Cd(e),e=l(c,t,n);if(e.done)return e.value;if(!t.global)return Hd(t,n);for(var r=t.unicode,a=[],o=t.lastIndex=0;null!==(i=Hd(t,n));){var i=Cd(i[0]);""===(a[o]=i)&&(t.lastIndex=Pd(n,Fd(t.lastIndex),r)),o++}return 0===o?null:a}]}),A),Vd=j.findIndex,ai=hl,I="findIndex",Nd=!0,Qe=(I in[]&&Array(1)[I](function(){Nd=!1}),u({target:"Array",proto:!0,forced:Nd},{findIndex:function(e){return Vd(this,e,1".concat(n.join(""),"")},jsonToDate:function(e){return new Date(e.year,e.month,e.date)},dateToJson:function(e){return e?{year:e.getFullYear(),month:e.getMonth(),date:e.getDate()}:null},isElement:function(e){return e instanceof Element},swipeEvent:function(e,r){var a,o,i=0,c=0;this.addEvent(e,"touchstart",function(e){i=e.touches[0].clientX,c=e.touches[0].clientY}),this.addEvent(e,"touchend",function(e){a=e.changedTouches[0].clientX,o=e.changedTouches[0].clientY;var e=i-a,t=c-o,n=100n.maxYear;return t.minDate&&(r="today"===t.minDate?i:new Date(t.minDate)),t.maxDate&&(a="today"===t.maxDate?i:new Date(t.maxDate)),r&&e=C.parseDate.call(n,e.split("-")[0]).date&&t<=C.parseDate.call(n,e.split("-")[1]).date:C.parseDate.call(n,e).date.getTime()===t.getTime()}).length,a=t.getDay(),o=n.config.i18n.days[a],i=n.config.i18n.shortDays[a],a=n.config.i18n.shorterDays[a],o=0<=r.indexOf(o)||0<=r.indexOf(i)||0<=r.indexOf(a);return e||o||n._beyondMinMax(t)}},{key:"_rangeHasDisabled",value:function(){var e=this,t=e.rangeFrom?C.jsonToDate(e.rangeFrom):null,n=e.rangeTo?C.jsonToDate(e.rangeTo):null;if(null!=t&&null!=n)for(var r=C.jsonToDate(e.rangeFrom);r<=n;){if(e._dateDisabled(r))return!0;r.setDate(r.getDate()+1)}return!1}},{key:"_getDates",value:function(u,d){for(var a=this,f=1,n=a._getToday(),r=a.config.range||a.config.multiple?null:C.jsonToDate(a.selected),o=a.rangeFrom?C.jsonToDate(a.rangeFrom):null,i=a.rangeTo?C.jsonToDate(a.rangeTo):null,p=new Date(u,d,f),h=C.getDaysCount(p),g=1,m=[],v=a.config.firstDay||a.config.i18n.firstDay,_=(v+6)%7,y=function(e,t){a._dateDisabled(t)&&e.classList.add("disabled"),a._inRange(t)&&e.classList.add("in-range"),t.getTime()===n.getTime()&&e.classList.add("current"),(!a.config.range&&!a.config.multiple&&t.getTime()===r.getTime()||a.config.multiple&&a.dates.find(function(e){return e.getTime()===t.getTime()}))&&e.classList.add("selected"),a.config.range&&o&&t.getTime()===o.getTime()&&e.classList.add("range-from"),a.config.range&&i&&t.getTime()===i.getTime()&&e.classList.add("range-to")},e=function(){for(var n=[],e=0,t=v;e<7;e++,t++)n.push(C.createElem("span",{class:"dudp__date","data-dow":t%7}));for(;f<=h&&"break"!==function(){p.setDate(f);var t=p.getDay(),e=n.find(function(e){return parseInt(e.dataset.dow)===t});return e.dataset.date=f,e.dataset.month=d,e.dataset.year=u,1===b&&t===v%7?"break":t===_?(y(e,p),e.innerText=f++,"break"):(y(e,p),void(e.innerText=f++))}(););if(1===b||4=0.5 0",
- "rimraf": "2"
- }
- },
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
@@ -2409,19 +2678,19 @@
"dev": true
},
"gauge": {
- "version": "2.7.4",
- "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
- "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz",
+ "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==",
"dev": true,
"requires": {
- "aproba": "^1.0.3",
- "console-control-strings": "^1.0.0",
- "has-unicode": "^2.0.0",
- "object-assign": "^4.1.0",
- "signal-exit": "^3.0.0",
- "string-width": "^1.0.1",
- "strip-ansi": "^3.0.1",
- "wide-align": "^1.1.0"
+ "aproba": "^1.0.3 || ^2.0.0",
+ "color-support": "^1.1.3",
+ "console-control-strings": "^1.1.0",
+ "has-unicode": "^2.0.1",
+ "signal-exit": "^3.0.7",
+ "string-width": "^4.2.3",
+ "strip-ansi": "^6.0.1",
+ "wide-align": "^1.1.5"
}
},
"gaze": {
@@ -2445,44 +2714,23 @@
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
"dev": true
},
- "get-intrinsic": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
- "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
- "dev": true,
- "requires": {
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.1"
- }
- },
"get-stdin": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",
- "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",
+ "integrity": "sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==",
"dev": true
},
- "getpass": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
- "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
- "dev": true,
- "requires": {
- "assert-plus": "^1.0.0"
- }
- },
"glob": {
- "version": "7.1.6",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
- "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
+ "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
+ "minimatch": "^5.0.1",
+ "once": "^1.3.0"
}
},
"glob-parent": {
@@ -2501,52 +2749,84 @@
"dev": true
},
"globby": {
- "version": "11.0.1",
- "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.1.tgz",
- "integrity": "sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==",
+ "version": "13.1.4",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-13.1.4.tgz",
+ "integrity": "sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==",
"dev": true,
"requires": {
- "array-union": "^2.1.0",
"dir-glob": "^3.0.1",
- "fast-glob": "^3.1.1",
- "ignore": "^5.1.4",
- "merge2": "^1.3.0",
- "slash": "^3.0.0"
+ "fast-glob": "^3.2.11",
+ "ignore": "^5.2.0",
+ "merge2": "^1.4.1",
+ "slash": "^4.0.0"
+ },
+ "dependencies": {
+ "slash": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz",
+ "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==",
+ "dev": true
+ }
}
},
"globule": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.2.tgz",
- "integrity": "sha512-7IDTQTIu2xzXkT+6mlluidnWo+BypnbSoEVVQCGfzqnl5Ik8d3e1d4wycb8Rj9tWW+Z39uPWsdlquqiqPCd/pA==",
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.4.tgz",
+ "integrity": "sha512-OPTIfhMBh7JbBYDpa5b+Q5ptmMWKwcNcFSR/0c6t8V4f3ZAVBEsKNY37QdVqmLRYSMhOUGYrY0QhSoEpzGr/Eg==",
"dev": true,
"requires": {
"glob": "~7.1.1",
- "lodash": "~4.17.10",
+ "lodash": "^4.17.21",
"minimatch": "~3.0.2"
+ },
+ "dependencies": {
+ "brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "glob": {
+ "version": "7.1.7",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
+ "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "minimatch": {
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.8.tgz",
+ "integrity": "sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ }
}
},
"graceful-fs": {
- "version": "4.2.4",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
- "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
"dev": true
},
- "har-schema": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
- "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=",
+ "hard-rejection": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz",
+ "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==",
"dev": true
},
- "har-validator": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz",
- "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==",
- "dev": true,
- "requires": {
- "ajv": "^6.12.3",
- "har-schema": "^2.0.0"
- }
- },
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
@@ -2556,133 +2836,112 @@
"function-bind": "^1.1.1"
}
},
- "has-ansi": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
- "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
- "dev": true,
- "requires": {
- "ansi-regex": "^2.0.0"
- }
- },
- "has-bigints": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz",
- "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==",
- "dev": true
- },
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
"dev": true
},
- "has-symbols": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz",
- "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==",
- "dev": true
- },
"has-unicode": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
- "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
- "dev": true
- },
- "hex-color-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",
- "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==",
+ "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==",
"dev": true
},
"hosted-git-info": {
- "version": "2.8.9",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
- "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
- "dev": true
- },
- "hsl-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz",
- "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=",
- "dev": true
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz",
+ "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==",
+ "dev": true,
+ "requires": {
+ "lru-cache": "^6.0.0"
+ },
+ "dependencies": {
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dev": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ }
+ }
},
- "hsla-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz",
- "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=",
+ "http-cache-semantics": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
+ "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==",
"dev": true
},
- "http-signature": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
- "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
+ "http-proxy-agent": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
+ "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==",
"dev": true,
"requires": {
- "assert-plus": "^1.0.0",
- "jsprim": "^1.2.2",
- "sshpk": "^1.7.0"
+ "@tootallnate/once": "2",
+ "agent-base": "6",
+ "debug": "4"
}
},
- "ignore": {
- "version": "5.1.8",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",
- "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==",
- "dev": true
- },
- "import-cwd": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz",
- "integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=",
+ "https-proxy-agent": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
+ "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
"dev": true,
"requires": {
- "import-from": "^2.1.0"
+ "agent-base": "6",
+ "debug": "4"
}
},
- "import-fresh": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz",
- "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=",
+ "humanize-ms": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
+ "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",
"dev": true,
"requires": {
- "caller-path": "^2.0.0",
- "resolve-from": "^3.0.0"
+ "ms": "^2.0.0"
}
},
- "import-from": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/import-from/-/import-from-2.1.0.tgz",
- "integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=",
+ "iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
"dev": true,
+ "optional": true,
"requires": {
- "resolve-from": "^3.0.0"
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
}
},
- "in-publish": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz",
- "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==",
+ "ignore": {
+ "version": "5.2.4",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz",
+ "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==",
+ "dev": true
+ },
+ "imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
"dev": true
},
"indent-string": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
- "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=",
- "dev": true,
- "requires": {
- "repeating": "^2.0.0"
- }
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
+ "dev": true
},
- "indexes-of": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz",
- "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=",
+ "infer-owner": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz",
+ "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==",
"dev": true
},
"inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
"dev": true,
"requires": {
"once": "^1.3.0",
@@ -2695,22 +2954,16 @@
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"dev": true
},
- "is-absolute-url": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz",
- "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=",
+ "ip": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz",
+ "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==",
"dev": true
},
"is-arrayish": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
- "dev": true
- },
- "is-bigint": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz",
- "integrity": "sha512-0JV5+SOCQkIdzjBK9buARcV804Ddu7A0Qet6sHi3FimE9ne6m4BGQZfRn+NZiXbBk4F4XmHfDZIipLj9pX8dSA==",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
"dev": true
},
"is-binary-path": {
@@ -2722,87 +2975,55 @@
"binary-extensions": "^2.0.0"
}
},
- "is-boolean-object": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.1.tgz",
- "integrity": "sha512-bXdQWkECBUIAcCkeH1unwJLIpZYaa5VvuygSyS/c2lf719mTKZDU5UdDRlpd01UjADgmW8RfqaP+mRaVPdr/Ng==",
+ "is-builtin-module": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz",
+ "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==",
"dev": true,
"requires": {
- "call-bind": "^1.0.2"
+ "builtin-modules": "^3.3.0"
}
},
- "is-callable": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz",
- "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==",
- "dev": true
- },
- "is-color-stop": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz",
- "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=",
+ "is-core-module": {
+ "version": "2.12.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.0.tgz",
+ "integrity": "sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==",
"dev": true,
"requires": {
- "css-color-names": "^0.0.4",
- "hex-color-regex": "^1.1.0",
- "hsl-regex": "^1.0.0",
- "hsla-regex": "^1.0.0",
- "rgb-regex": "^1.0.1",
- "rgba-regex": "^1.0.0"
+ "has": "^1.0.3"
}
},
- "is-date-object": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.4.tgz",
- "integrity": "sha512-/b4ZVsG7Z5XVtIxs/h9W8nvfLgSAyKYdtGWQLbqy6jA1icmgjf8WCoTKgeS4wy5tYaPePouzFMANbnj94c2Z+A==",
- "dev": true
- },
- "is-directory": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz",
- "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=",
- "dev": true
- },
"is-extglob": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
- "dev": true
- },
- "is-finite": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz",
- "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
"dev": true
},
"is-fullwidth-code-point": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
- "dev": true,
- "requires": {
- "number-is-nan": "^1.0.0"
- }
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true
},
"is-glob": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
- "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dev": true,
"requires": {
"is-extglob": "^2.1.1"
}
},
+ "is-lambda": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz",
+ "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==",
+ "dev": true
+ },
"is-module": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
- "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=",
- "dev": true
- },
- "is-negative-zero": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
- "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==",
+ "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==",
"dev": true
},
"is-number": {
@@ -2811,16 +3032,10 @@
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true
},
- "is-number-object": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.5.tgz",
- "integrity": "sha512-RU0lI/n95pMoUKu9v1BZP5MBcZuNSVJkMkAG2dJqC4z2GlkGUNeH68SuHuBKBD/XFe+LHZ+f9BKkLET60Niedw==",
- "dev": true
- },
- "is-obj": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
- "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==",
+ "is-plain-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
+ "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==",
"dev": true
},
"is-reference": {
@@ -2832,65 +3047,16 @@
"@types/estree": "*"
}
},
- "is-regex": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz",
- "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==",
- "dev": true,
- "requires": {
- "call-bind": "^1.0.2",
- "has-symbols": "^1.0.2"
- }
- },
- "is-resolvable": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",
- "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",
- "dev": true
- },
- "is-string": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.6.tgz",
- "integrity": "sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==",
- "dev": true
- },
- "is-symbol": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
- "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
- "dev": true,
- "requires": {
- "has-symbols": "^1.0.2"
- }
- },
- "is-typedarray": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
- "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
- "dev": true
- },
- "is-utf8": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
- "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",
- "dev": true
- },
"isarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
- "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
+ "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
"dev": true
},
"isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
- "dev": true
- },
- "isstream": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
- "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
"dev": true
},
"js-base64": {
@@ -2905,120 +3071,59 @@
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
"dev": true
},
- "js-yaml": {
- "version": "3.14.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
- "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",
- "dev": true,
- "requires": {
- "argparse": "^1.0.7",
- "esprima": "^4.0.0"
- }
- },
- "jsbn": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
- "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
- "dev": true
- },
"jsesc": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
"dev": true
},
- "json-parse-better-errors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
- "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",
- "dev": true
- },
- "json-schema": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
- "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==",
- "dev": true
- },
- "json-schema-traverse": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
- },
- "json-stringify-safe": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
- "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
+ "json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
"dev": true
},
"json5": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
- "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==",
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"dev": true
},
"jsonfile": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.0.1.tgz",
- "integrity": "sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==",
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.6",
- "universalify": "^1.0.0"
+ "universalify": "^2.0.0"
}
},
- "jsprim": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
- "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
- "dev": true,
- "requires": {
- "assert-plus": "1.0.0",
- "extsprintf": "1.3.0",
- "json-schema": "0.4.0",
- "verror": "1.10.0"
- }
+ "kind-of": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
+ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
+ "dev": true
},
- "load-json-file": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
- "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
- "dev": true,
- "requires": {
- "graceful-fs": "^4.1.2",
- "parse-json": "^2.2.0",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0",
- "strip-bom": "^2.0.0"
- },
- "dependencies": {
- "parse-json": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
- "dev": true,
- "requires": {
- "error-ex": "^1.2.0"
- }
- }
- }
+ "lilconfig": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz",
+ "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==",
+ "dev": true
+ },
+ "lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true
},
"locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
"dev": true,
"requires": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- },
- "dependencies": {
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "dev": true
- }
+ "p-locate": "^4.1.0"
}
},
"lodash": {
@@ -3030,87 +3135,90 @@
"lodash.debounce": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
- "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=",
+ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==",
"dev": true
},
"lodash.memoize": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
- "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=",
+ "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==",
"dev": true
},
"lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
- "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=",
+ "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==",
"dev": true
},
- "log-symbols": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
- "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==",
- "dev": true,
- "requires": {
- "chalk": "^2.0.1"
- }
- },
- "loud-rejection": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",
- "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=",
- "dev": true,
- "requires": {
- "currently-unhandled": "^0.4.1",
- "signal-exit": "^3.0.0"
- }
- },
"lru-cache": {
- "version": "4.1.5",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
- "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
+ "version": "7.18.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
+ "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
+ "dev": true
+ },
+ "magic-string": {
+ "version": "0.27.0",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz",
+ "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",
"dev": true,
"requires": {
- "pseudomap": "^1.0.2",
- "yallist": "^2.1.2"
+ "@jridgewell/sourcemap-codec": "^1.4.13"
}
},
- "magic-string": {
- "version": "0.25.9",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz",
- "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==",
+ "make-fetch-happen": {
+ "version": "10.2.1",
+ "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz",
+ "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==",
"dev": true,
"requires": {
- "sourcemap-codec": "^1.4.8"
+ "agentkeepalive": "^4.2.1",
+ "cacache": "^16.1.0",
+ "http-cache-semantics": "^4.1.0",
+ "http-proxy-agent": "^5.0.0",
+ "https-proxy-agent": "^5.0.0",
+ "is-lambda": "^1.0.1",
+ "lru-cache": "^7.7.1",
+ "minipass": "^3.1.6",
+ "minipass-collect": "^1.0.2",
+ "minipass-fetch": "^2.0.3",
+ "minipass-flush": "^1.0.5",
+ "minipass-pipeline": "^1.2.4",
+ "negotiator": "^0.6.3",
+ "promise-retry": "^2.0.1",
+ "socks-proxy-agent": "^7.0.0",
+ "ssri": "^9.0.0"
}
},
"map-obj": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
- "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz",
+ "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==",
"dev": true
},
"mdn-data": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz",
- "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==",
+ "version": "2.0.30",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
+ "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
"dev": true
},
"meow": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
- "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz",
+ "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==",
"dev": true,
"requires": {
- "camelcase-keys": "^2.0.0",
- "decamelize": "^1.1.2",
- "loud-rejection": "^1.0.0",
- "map-obj": "^1.0.1",
- "minimist": "^1.1.3",
- "normalize-package-data": "^2.3.4",
- "object-assign": "^4.0.1",
- "read-pkg-up": "^1.0.1",
- "redent": "^1.0.0",
- "trim-newlines": "^1.0.0"
+ "@types/minimist": "^1.2.0",
+ "camelcase-keys": "^6.2.2",
+ "decamelize": "^1.2.0",
+ "decamelize-keys": "^1.1.0",
+ "hard-rejection": "^2.1.0",
+ "minimist-options": "4.1.0",
+ "normalize-package-data": "^3.0.0",
+ "read-pkg-up": "^7.0.1",
+ "redent": "^3.0.0",
+ "trim-newlines": "^3.0.0",
+ "type-fest": "^0.18.0",
+ "yargs-parser": "^20.2.3"
}
},
"merge2": {
@@ -3120,518 +3228,392 @@
"dev": true
},
"micromatch": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz",
- "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==",
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
+ "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
"dev": true,
"requires": {
- "braces": "^3.0.1",
- "picomatch": "^2.0.5"
+ "braces": "^3.0.2",
+ "picomatch": "^2.3.1"
}
},
- "mime-db": {
- "version": "1.44.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
- "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==",
+ "min-indent": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
+ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==",
"dev": true
},
- "mime-types": {
- "version": "2.1.27",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
- "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
- "dev": true,
- "requires": {
- "mime-db": "1.44.0"
- }
- },
"minimatch": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
- "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
- "dev": true,
- "requires": {
- "brace-expansion": "^1.1.7"
- }
- },
- "minimist": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
- "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
- "dev": true
- },
- "mkdirp": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
- "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
- "dev": true,
- "requires": {
- "minimist": "^1.2.5"
- }
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "nan": {
- "version": "2.14.1",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
- "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==",
- "dev": true
- },
- "node-gyp": {
- "version": "3.8.0",
- "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz",
- "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==",
- "dev": true,
- "requires": {
- "fstream": "^1.0.0",
- "glob": "^7.0.3",
- "graceful-fs": "^4.1.2",
- "mkdirp": "^0.5.0",
- "nopt": "2 || 3",
- "npmlog": "0 || 1 || 2 || 3 || 4",
- "osenv": "0",
- "request": "^2.87.0",
- "rimraf": "2",
- "semver": "~5.3.0",
- "tar": "^2.0.0",
- "which": "1"
- },
- "dependencies": {
- "semver": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
- "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",
- "dev": true
- }
- }
- },
- "node-releases": {
- "version": "1.1.73",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.73.tgz",
- "integrity": "sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg==",
- "dev": true
- },
- "node-sass": {
- "version": "4.14.1",
- "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.1.tgz",
- "integrity": "sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g==",
- "dev": true,
- "requires": {
- "async-foreach": "^0.1.3",
- "chalk": "^1.1.1",
- "cross-spawn": "^3.0.0",
- "gaze": "^1.0.0",
- "get-stdin": "^4.0.1",
- "glob": "^7.0.3",
- "in-publish": "^2.0.0",
- "lodash": "^4.17.15",
- "meow": "^3.7.0",
- "mkdirp": "^0.5.1",
- "nan": "^2.13.2",
- "node-gyp": "^3.8.0",
- "npmlog": "^4.0.0",
- "request": "^2.88.0",
- "sass-graph": "2.2.5",
- "stdout-stream": "^1.4.0",
- "true-case-path": "^1.0.2"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- }
- },
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "nopt": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
- "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
+ "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
"dev": true,
"requires": {
- "abbrev": "1"
+ "brace-expansion": "^2.0.1"
}
},
- "normalize-package-data": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
- "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
+ "minimist-options": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz",
+ "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==",
"dev": true,
"requires": {
- "hosted-git-info": "^2.1.4",
- "resolve": "^1.10.0",
- "semver": "2 || 3 || 4 || 5",
- "validate-npm-package-license": "^3.0.1"
+ "arrify": "^1.0.1",
+ "is-plain-obj": "^1.1.0",
+ "kind-of": "^6.0.3"
}
},
- "normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "dev": true
- },
- "normalize-range": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
- "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=",
- "dev": true
- },
- "normalize-url": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz",
- "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==",
- "dev": true
- },
- "npmlog": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
- "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
+ "minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"dev": true,
"requires": {
- "are-we-there-yet": "~1.1.2",
- "console-control-strings": "~1.1.0",
- "gauge": "~2.7.3",
- "set-blocking": "~2.0.0"
+ "yallist": "^4.0.0"
}
},
- "nth-check": {
+ "minipass-collect": {
"version": "1.0.2",
- "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
- "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
- "dev": true,
- "requires": {
- "boolbase": "~1.0.0"
- }
- },
- "num2fraction": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz",
- "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=",
- "dev": true
- },
- "number-is-nan": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
- "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
- "dev": true
- },
- "oauth-sign": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
- "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",
- "dev": true
- },
- "object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
- "dev": true
- },
- "object-inspect": {
- "version": "1.10.3",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz",
- "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==",
- "dev": true
- },
- "object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
- "dev": true
- },
- "object.assign": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",
- "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",
+ "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz",
+ "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==",
"dev": true,
"requires": {
- "call-bind": "^1.0.0",
- "define-properties": "^1.1.3",
- "has-symbols": "^1.0.1",
- "object-keys": "^1.1.1"
+ "minipass": "^3.0.0"
}
},
- "object.getownpropertydescriptors": {
+ "minipass-fetch": {
"version": "2.1.2",
- "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz",
- "integrity": "sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ==",
- "dev": true,
- "requires": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3",
- "es-abstract": "^1.18.0-next.2"
- }
- },
- "object.values": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz",
- "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==",
- "dev": true,
- "requires": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3",
- "es-abstract": "^1.18.0-next.2",
- "has": "^1.0.3"
- }
- },
- "once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dev": true,
- "requires": {
- "wrappy": "1"
- }
- },
- "os-homedir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
- "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
- "dev": true
- },
- "os-tmpdir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
- "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
- "dev": true
- },
- "osenv": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
- "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
+ "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz",
+ "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==",
"dev": true,
"requires": {
- "os-homedir": "^1.0.0",
- "os-tmpdir": "^1.0.0"
+ "encoding": "^0.1.13",
+ "minipass": "^3.1.6",
+ "minipass-sized": "^1.0.3",
+ "minizlib": "^2.1.2"
}
},
- "p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
- "requires": {
- "p-try": "^2.0.0"
- }
- },
- "p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "minipass-flush": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz",
+ "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==",
"dev": true,
"requires": {
- "p-limit": "^2.0.0"
+ "minipass": "^3.0.0"
}
},
- "p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "dev": true
- },
- "parse-json": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",
- "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",
+ "minipass-pipeline": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz",
+ "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==",
"dev": true,
"requires": {
- "error-ex": "^1.3.1",
- "json-parse-better-errors": "^1.0.1"
+ "minipass": "^3.0.0"
}
},
- "path-exists": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
- "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
+ "minipass-sized": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz",
+ "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==",
"dev": true,
"requires": {
- "pinkie-promise": "^2.0.0"
+ "minipass": "^3.0.0"
}
},
- "path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
- "dev": true
- },
- "path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "dev": true
- },
- "path-type": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
- "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
+ "minizlib": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
+ "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
"dev": true,
"requires": {
- "graceful-fs": "^4.1.2",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0"
+ "minipass": "^3.0.0",
+ "yallist": "^4.0.0"
}
},
- "performance-now": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
- "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=",
+ "mkdirp": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
"dev": true
},
- "picocolors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"dev": true
},
- "picomatch": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
- "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",
+ "nan": {
+ "version": "2.17.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz",
+ "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==",
"dev": true
},
- "pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "nanoid": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
+ "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"dev": true
},
- "pinkie": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
- "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
+ "negotiator": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
"dev": true
},
- "pinkie-promise": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
- "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
- "dev": true,
- "requires": {
- "pinkie": "^2.0.0"
- }
- },
- "postcss": {
- "version": "7.0.36",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz",
- "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==",
- "dev": true,
- "requires": {
- "chalk": "^2.4.2",
- "source-map": "^0.6.1",
- "supports-color": "^6.1.0"
+ "node-gyp": {
+ "version": "8.4.1",
+ "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz",
+ "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==",
+ "dev": true,
+ "requires": {
+ "env-paths": "^2.2.0",
+ "glob": "^7.1.4",
+ "graceful-fs": "^4.2.6",
+ "make-fetch-happen": "^9.1.0",
+ "nopt": "^5.0.0",
+ "npmlog": "^6.0.0",
+ "rimraf": "^3.0.2",
+ "semver": "^7.3.5",
+ "tar": "^6.1.2",
+ "which": "^2.0.2"
},
"dependencies": {
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "@npmcli/fs": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz",
+ "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==",
+ "dev": true,
+ "requires": {
+ "@gar/promisify": "^1.0.1",
+ "semver": "^7.3.5"
+ }
+ },
+ "@npmcli/move-file": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz",
+ "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==",
+ "dev": true,
+ "requires": {
+ "mkdirp": "^1.0.4",
+ "rimraf": "^3.0.2"
+ }
+ },
+ "@tootallnate/once": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
+ "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
"dev": true
},
- "supports-color": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
+ "brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "cacache": {
+ "version": "15.3.0",
+ "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz",
+ "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==",
+ "dev": true,
+ "requires": {
+ "@npmcli/fs": "^1.0.0",
+ "@npmcli/move-file": "^1.0.1",
+ "chownr": "^2.0.0",
+ "fs-minipass": "^2.0.0",
+ "glob": "^7.1.4",
+ "infer-owner": "^1.0.4",
+ "lru-cache": "^6.0.0",
+ "minipass": "^3.1.1",
+ "minipass-collect": "^1.0.2",
+ "minipass-flush": "^1.0.5",
+ "minipass-pipeline": "^1.2.2",
+ "mkdirp": "^1.0.3",
+ "p-map": "^4.0.0",
+ "promise-inflight": "^1.0.1",
+ "rimraf": "^3.0.2",
+ "ssri": "^8.0.1",
+ "tar": "^6.0.2",
+ "unique-filename": "^1.1.1"
+ }
+ },
+ "glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "http-proxy-agent": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
+ "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
+ "dev": true,
+ "requires": {
+ "@tootallnate/once": "1",
+ "agent-base": "6",
+ "debug": "4"
+ }
+ },
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dev": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "make-fetch-happen": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz",
+ "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==",
+ "dev": true,
+ "requires": {
+ "agentkeepalive": "^4.1.3",
+ "cacache": "^15.2.0",
+ "http-cache-semantics": "^4.1.0",
+ "http-proxy-agent": "^4.0.1",
+ "https-proxy-agent": "^5.0.0",
+ "is-lambda": "^1.0.1",
+ "lru-cache": "^6.0.0",
+ "minipass": "^3.1.3",
+ "minipass-collect": "^1.0.2",
+ "minipass-fetch": "^1.3.2",
+ "minipass-flush": "^1.0.5",
+ "minipass-pipeline": "^1.2.4",
+ "negotiator": "^0.6.2",
+ "promise-retry": "^2.0.1",
+ "socks-proxy-agent": "^6.0.0",
+ "ssri": "^8.0.0"
+ }
+ },
+ "minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ },
+ "minipass-fetch": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz",
+ "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==",
+ "dev": true,
+ "requires": {
+ "encoding": "^0.1.12",
+ "minipass": "^3.1.0",
+ "minipass-sized": "^1.0.3",
+ "minizlib": "^2.0.0"
+ }
+ },
+ "socks-proxy-agent": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz",
+ "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==",
+ "dev": true,
+ "requires": {
+ "agent-base": "^6.0.2",
+ "debug": "^4.3.3",
+ "socks": "^2.6.2"
+ }
+ },
+ "ssri": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
+ "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==",
+ "dev": true,
+ "requires": {
+ "minipass": "^3.1.1"
+ }
+ },
+ "unique-filename": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",
+ "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==",
+ "dev": true,
+ "requires": {
+ "unique-slug": "^2.0.0"
+ }
+ },
+ "unique-slug": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz",
+ "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==",
"dev": true,
"requires": {
- "has-flag": "^3.0.0"
+ "imurmurhash": "^0.1.4"
}
}
}
},
- "postcss-calc": {
- "version": "7.0.5",
- "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.5.tgz",
- "integrity": "sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==",
- "dev": true,
- "requires": {
- "postcss": "^7.0.27",
- "postcss-selector-parser": "^6.0.2",
- "postcss-value-parser": "^4.0.2"
- }
+ "node-releases": {
+ "version": "2.0.10",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz",
+ "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==",
+ "dev": true
},
- "postcss-cli": {
- "version": "7.1.2",
- "resolved": "https://registry.npmjs.org/postcss-cli/-/postcss-cli-7.1.2.tgz",
- "integrity": "sha512-3mlEmN1v2NVuosMWZM2tP8bgZn7rO5PYxRRrXtdSyL5KipcgBDjJ9ct8/LKxImMCJJi3x5nYhCGFJOkGyEqXBQ==",
+ "node-sass": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-8.0.0.tgz",
+ "integrity": "sha512-jPzqCF2/e6JXw6r3VxfIqYc8tKQdkj5Z/BDATYyG6FL6b/LuYBNFGFVhus0mthcWifHm/JzBpKAd+3eXsWeK/A==",
"dev": true,
"requires": {
- "chalk": "^4.0.0",
- "chokidar": "^3.3.0",
- "dependency-graph": "^0.9.0",
- "fs-extra": "^9.0.0",
- "get-stdin": "^8.0.0",
- "globby": "^11.0.0",
- "postcss": "^7.0.0",
- "postcss-load-config": "^2.0.0",
- "postcss-reporter": "^6.0.0",
- "pretty-hrtime": "^1.0.3",
- "read-cache": "^1.0.0",
- "yargs": "^15.0.2"
+ "async-foreach": "^0.1.3",
+ "chalk": "^4.1.2",
+ "cross-spawn": "^7.0.3",
+ "gaze": "^1.0.0",
+ "get-stdin": "^4.0.1",
+ "glob": "^7.0.3",
+ "lodash": "^4.17.15",
+ "make-fetch-happen": "^10.0.4",
+ "meow": "^9.0.0",
+ "nan": "^2.17.0",
+ "node-gyp": "^8.4.1",
+ "sass-graph": "^4.0.1",
+ "stdout-stream": "^1.4.0",
+ "true-case-path": "^2.2.1"
},
"dependencies": {
- "ansi-regex": {
- "version": "5.0.0",
- "resolved": "",
- "dev": true
- },
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "dev": true
- },
- "chalk": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
- "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
+ "brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true,
"requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
}
},
- "cliui": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
- "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
+ "chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"requires": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.0",
- "wrap-ansi": "^6.2.0"
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
}
},
"color-convert": {
@@ -3649,82 +3631,33 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true
- },
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"dev": true,
"requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
}
},
- "get-stdin": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz",
- "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==",
- "dev": true
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
- "is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "dev": true
- },
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
- "requires": {
- "p-limit": "^2.2.0"
- }
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true
- },
- "string-width": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
- "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
- "dev": true,
- "requires": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.0"
- }
- },
- "strip-ansi": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
- "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+ "minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
"dev": true,
"requires": {
- "ansi-regex": "^5.0.0"
+ "brace-expansion": "^1.1.7"
}
},
"supports-color": {
@@ -3735,496 +3668,454 @@
"requires": {
"has-flag": "^4.0.0"
}
- },
- "wrap-ansi": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
- "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
- "dev": true,
- "requires": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- }
- },
- "yargs": {
- "version": "15.4.1",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
- "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
- "dev": true,
- "requires": {
- "cliui": "^6.0.0",
- "decamelize": "^1.2.0",
- "find-up": "^4.1.0",
- "get-caller-file": "^2.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^4.2.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^18.1.2"
- }
- },
- "yargs-parser": {
- "version": "18.1.3",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
- "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
- "dev": true,
- "requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- }
}
}
},
- "postcss-colormin": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz",
- "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==",
+ "nopt": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
+ "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",
+ "dev": true,
+ "requires": {
+ "abbrev": "1"
+ }
+ },
+ "normalize-package-data": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz",
+ "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==",
+ "dev": true,
+ "requires": {
+ "hosted-git-info": "^4.0.1",
+ "is-core-module": "^2.5.0",
+ "semver": "^7.3.4",
+ "validate-npm-package-license": "^3.0.1"
+ }
+ },
+ "normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true
+ },
+ "normalize-range": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
+ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",
+ "dev": true
+ },
+ "npmlog": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz",
+ "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==",
+ "dev": true,
+ "requires": {
+ "are-we-there-yet": "^3.0.0",
+ "console-control-strings": "^1.1.0",
+ "gauge": "^4.0.3",
+ "set-blocking": "^2.0.0"
+ }
+ },
+ "nth-check": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",
+ "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
+ "dev": true,
+ "requires": {
+ "boolbase": "^1.0.0"
+ }
+ },
+ "once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dev": true,
+ "requires": {
+ "wrappy": "1"
+ }
+ },
+ "p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dev": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dev": true,
+ "requires": {
+ "p-limit": "^2.2.0"
+ }
+ },
+ "p-map": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
+ "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
+ "dev": true,
+ "requires": {
+ "aggregate-error": "^3.0.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true
+ },
+ "parse-json": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
"dev": true,
"requires": {
- "browserslist": "^4.0.0",
- "color": "^3.0.0",
- "has": "^1.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
}
},
- "postcss-convert-values": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz",
- "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==",
+ "path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true
+ },
+ "path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
+ "dev": true
+ },
+ "path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true
+ },
+ "path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "dev": true
+ },
+ "path-type": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "dev": true
+ },
+ "picocolors": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
+ "dev": true
+ },
+ "picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "dev": true
+ },
+ "pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
+ "dev": true
+ },
+ "postcss": {
+ "version": "8.4.21",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz",
+ "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==",
"dev": true,
"requires": {
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "nanoid": "^3.3.4",
+ "picocolors": "^1.0.0",
+ "source-map-js": "^1.0.2"
}
},
- "postcss-discard-comments": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz",
- "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==",
+ "postcss-calc": {
+ "version": "8.2.4",
+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-8.2.4.tgz",
+ "integrity": "sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q==",
"dev": true,
"requires": {
- "postcss": "^7.0.0"
+ "postcss-selector-parser": "^6.0.9",
+ "postcss-value-parser": "^4.2.0"
}
},
- "postcss-discard-duplicates": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz",
- "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==",
+ "postcss-cli": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-cli/-/postcss-cli-10.1.0.tgz",
+ "integrity": "sha512-Zu7PLORkE9YwNdvOeOVKPmWghprOtjFQU3srMUGbdz3pHJiFh7yZ4geiZFMkjMfB0mtTFR3h8RemR62rPkbOPA==",
"dev": true,
"requires": {
- "postcss": "^7.0.0"
+ "chokidar": "^3.3.0",
+ "dependency-graph": "^0.11.0",
+ "fs-extra": "^11.0.0",
+ "get-stdin": "^9.0.0",
+ "globby": "^13.0.0",
+ "picocolors": "^1.0.0",
+ "postcss-load-config": "^4.0.0",
+ "postcss-reporter": "^7.0.0",
+ "pretty-hrtime": "^1.0.3",
+ "read-cache": "^1.0.0",
+ "slash": "^5.0.0",
+ "yargs": "^17.0.0"
+ },
+ "dependencies": {
+ "get-stdin": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-9.0.0.tgz",
+ "integrity": "sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==",
+ "dev": true
+ }
}
},
- "postcss-discard-empty": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz",
- "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==",
+ "postcss-colormin": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-6.0.0.tgz",
+ "integrity": "sha512-EuO+bAUmutWoZYgHn2T1dG1pPqHU6L4TjzPlu4t1wZGXQ/fxV16xg2EJmYi0z+6r+MGV1yvpx1BHkUaRrPa2bw==",
"dev": true,
"requires": {
- "postcss": "^7.0.0"
+ "browserslist": "^4.21.4",
+ "caniuse-api": "^3.0.0",
+ "colord": "^2.9.1",
+ "postcss-value-parser": "^4.2.0"
}
},
- "postcss-discard-overridden": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz",
- "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==",
+ "postcss-convert-values": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-6.0.0.tgz",
+ "integrity": "sha512-U5D8QhVwqT++ecmy8rnTb+RL9n/B806UVaS3m60lqle4YDFcpbS3ae5bTQIh3wOGUSDHSEtMYLs/38dNG7EYFw==",
"dev": true,
"requires": {
- "postcss": "^7.0.0"
+ "browserslist": "^4.21.4",
+ "postcss-value-parser": "^4.2.0"
}
},
+ "postcss-discard-comments": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-6.0.0.tgz",
+ "integrity": "sha512-p2skSGqzPMZkEQvJsgnkBhCn8gI7NzRH2683EEjrIkoMiwRELx68yoUJ3q3DGSGuQ8Ug9Gsn+OuDr46yfO+eFw==",
+ "dev": true
+ },
+ "postcss-discard-duplicates": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-6.0.0.tgz",
+ "integrity": "sha512-bU1SXIizMLtDW4oSsi5C/xHKbhLlhek/0/yCnoMQany9k3nPBq+Ctsv/9oMmyqbR96HYHxZcHyK2HR5P/mqoGA==",
+ "dev": true
+ },
+ "postcss-discard-empty": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-6.0.0.tgz",
+ "integrity": "sha512-b+h1S1VT6dNhpcg+LpyiUrdnEZfICF0my7HAKgJixJLW7BnNmpRH34+uw/etf5AhOlIhIAuXApSzzDzMI9K/gQ==",
+ "dev": true
+ },
+ "postcss-discard-overridden": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-6.0.0.tgz",
+ "integrity": "sha512-4VELwssYXDFigPYAZ8vL4yX4mUepF/oCBeeIT4OXsJPYOtvJumyz9WflmJWTfDwCUcpDR+z0zvCWBXgTx35SVw==",
+ "dev": true
+ },
"postcss-load-config": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.0.tgz",
- "integrity": "sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz",
+ "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==",
"dev": true,
"requires": {
- "cosmiconfig": "^5.0.0",
- "import-cwd": "^2.0.0"
+ "lilconfig": "^2.0.5",
+ "yaml": "^2.1.1"
}
},
"postcss-merge-longhand": {
- "version": "4.0.11",
- "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz",
- "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-6.0.0.tgz",
+ "integrity": "sha512-4VSfd1lvGkLTLYcxFuISDtWUfFS4zXe0FpF149AyziftPFQIWxjvFSKhA4MIxMe4XM3yTDgQMbSNgzIVxChbIg==",
"dev": true,
"requires": {
- "css-color-names": "0.0.4",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0",
- "stylehacks": "^4.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0",
+ "stylehacks": "^6.0.0"
}
},
"postcss-merge-rules": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz",
- "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-6.0.0.tgz",
+ "integrity": "sha512-rCXkklftzEkniyv3f4mRCQzxD6oE4Quyh61uyWTUbCJ26Pv2hoz+fivJSsSBWxDBeScR4fKCfF3HHTcD7Ybqnw==",
"dev": true,
"requires": {
- "browserslist": "^4.0.0",
+ "browserslist": "^4.21.4",
"caniuse-api": "^3.0.0",
- "cssnano-util-same-parent": "^4.0.0",
- "postcss": "^7.0.0",
- "postcss-selector-parser": "^3.0.0",
- "vendors": "^1.0.0"
- },
- "dependencies": {
- "postcss-selector-parser": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",
- "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==",
- "dev": true,
- "requires": {
- "dot-prop": "^5.2.0",
- "indexes-of": "^1.0.1",
- "uniq": "^1.0.1"
- }
- }
+ "cssnano-utils": "^4.0.0",
+ "postcss-selector-parser": "^6.0.5"
}
},
"postcss-minify-font-values": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz",
- "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-6.0.0.tgz",
+ "integrity": "sha512-zNRAVtyh5E8ndZEYXA4WS8ZYsAp798HiIQ1V2UF/C/munLp2r1UGHwf1+6JFu7hdEhJFN+W1WJQKBrtjhFgEnA==",
"dev": true,
"requires": {
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-minify-gradients": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz",
- "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-6.0.0.tgz",
+ "integrity": "sha512-wO0F6YfVAR+K1xVxF53ueZJza3L+R3E6cp0VwuXJQejnNUH0DjcAFe3JEBeTY1dLwGa0NlDWueCA1VlEfiKgAA==",
"dev": true,
"requires": {
- "cssnano-util-get-arguments": "^4.0.0",
- "is-color-stop": "^1.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "colord": "^2.9.1",
+ "cssnano-utils": "^4.0.0",
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-minify-params": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz",
- "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-6.0.0.tgz",
+ "integrity": "sha512-Fz/wMQDveiS0n5JPcvsMeyNXOIMrwF88n7196puSuQSWSa+/Ofc1gDOSY2xi8+A4PqB5dlYCKk/WfqKqsI+ReQ==",
"dev": true,
"requires": {
- "alphanum-sort": "^1.0.0",
- "browserslist": "^4.0.0",
- "cssnano-util-get-arguments": "^4.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0",
- "uniqs": "^2.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "browserslist": "^4.21.4",
+ "cssnano-utils": "^4.0.0",
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-minify-selectors": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz",
- "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-6.0.0.tgz",
+ "integrity": "sha512-ec/q9JNCOC2CRDNnypipGfOhbYPuUkewGwLnbv6omue/PSASbHSU7s6uSQ0tcFRVv731oMIx8k0SP4ZX6be/0g==",
"dev": true,
"requires": {
- "alphanum-sort": "^1.0.0",
- "has": "^1.0.0",
- "postcss": "^7.0.0",
- "postcss-selector-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-selector-parser": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",
- "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==",
- "dev": true,
- "requires": {
- "dot-prop": "^5.2.0",
- "indexes-of": "^1.0.1",
- "uniq": "^1.0.1"
- }
- }
+ "postcss-selector-parser": "^6.0.5"
}
},
"postcss-normalize-charset": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz",
- "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==",
- "dev": true,
- "requires": {
- "postcss": "^7.0.0"
- }
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-6.0.0.tgz",
+ "integrity": "sha512-cqundwChbu8yO/gSWkuFDmKrCZ2vJzDAocheT2JTd0sFNA4HMGoKMfbk2B+J0OmO0t5GUkiAkSM5yF2rSLUjgQ==",
+ "dev": true
},
"postcss-normalize-display-values": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz",
- "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-6.0.0.tgz",
+ "integrity": "sha512-Qyt5kMrvy7dJRO3OjF7zkotGfuYALETZE+4lk66sziWSPzlBEt7FrUshV6VLECkI4EN8Z863O6Nci4NXQGNzYw==",
"dev": true,
"requires": {
- "cssnano-util-get-match": "^4.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-normalize-positions": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz",
- "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-6.0.0.tgz",
+ "integrity": "sha512-mPCzhSV8+30FZyWhxi6UoVRYd3ZBJgTRly4hOkaSifo0H+pjDYcii/aVT4YE6QpOil15a5uiv6ftnY3rm0igPg==",
"dev": true,
"requires": {
- "cssnano-util-get-arguments": "^4.0.0",
- "has": "^1.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-normalize-repeat-style": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz",
- "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-6.0.0.tgz",
+ "integrity": "sha512-50W5JWEBiOOAez2AKBh4kRFm2uhrT3O1Uwdxz7k24aKtbD83vqmcVG7zoIwo6xI2FZ/HDlbrCopXhLeTpQib1A==",
"dev": true,
"requires": {
- "cssnano-util-get-arguments": "^4.0.0",
- "cssnano-util-get-match": "^4.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-normalize-string": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz",
- "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-6.0.0.tgz",
+ "integrity": "sha512-KWkIB7TrPOiqb8ZZz6homet2KWKJwIlysF5ICPZrXAylGe2hzX/HSf4NTX2rRPJMAtlRsj/yfkrWGavFuB+c0w==",
"dev": true,
"requires": {
- "has": "^1.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-normalize-timing-functions": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz",
- "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-6.0.0.tgz",
+ "integrity": "sha512-tpIXWciXBp5CiFs8sem90IWlw76FV4oi6QEWfQwyeREVwUy39VSeSqjAT7X0Qw650yAimYW5gkl2Gd871N5SQg==",
"dev": true,
"requires": {
- "cssnano-util-get-match": "^4.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-normalize-unicode": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz",
- "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-6.0.0.tgz",
+ "integrity": "sha512-ui5crYkb5ubEUDugDc786L/Me+DXp2dLg3fVJbqyAl0VPkAeALyAijF2zOsnZyaS1HyfPuMH0DwyY18VMFVNkg==",
"dev": true,
"requires": {
- "browserslist": "^4.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "browserslist": "^4.21.4",
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-normalize-url": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz",
- "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-6.0.0.tgz",
+ "integrity": "sha512-98mvh2QzIPbb02YDIrYvAg4OUzGH7s1ZgHlD3fIdTHLgPLRpv1ZTKJDnSAKr4Rt21ZQFzwhGMXxpXlfrUBKFHw==",
"dev": true,
"requires": {
- "is-absolute-url": "^2.0.0",
- "normalize-url": "^3.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-normalize-whitespace": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz",
- "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-6.0.0.tgz",
+ "integrity": "sha512-7cfE1AyLiK0+ZBG6FmLziJzqQCpTQY+8XjMhMAz8WSBSCsCNNUKujgIgjCAmDT3cJ+3zjTXFkoD15ZPsckArVw==",
"dev": true,
"requires": {
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-ordered-values": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz",
- "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-6.0.0.tgz",
+ "integrity": "sha512-K36XzUDpvfG/nWkjs6d1hRBydeIxGpKS2+n+ywlKPzx1nMYDYpoGbcjhj5AwVYJK1qV2/SDoDEnHzlPD6s3nMg==",
"dev": true,
"requires": {
- "cssnano-util-get-arguments": "^4.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "cssnano-utils": "^4.0.0",
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-reduce-initial": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz",
- "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-6.0.0.tgz",
+ "integrity": "sha512-s2UOnidpVuXu6JiiI5U+fV2jamAw5YNA9Fdi/GRK0zLDLCfXmSGqQtzpUPtfN66RtCbb9fFHoyZdQaxOB3WxVA==",
"dev": true,
"requires": {
- "browserslist": "^4.0.0",
- "caniuse-api": "^3.0.0",
- "has": "^1.0.0",
- "postcss": "^7.0.0"
+ "browserslist": "^4.21.4",
+ "caniuse-api": "^3.0.0"
}
},
"postcss-reduce-transforms": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz",
- "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-6.0.0.tgz",
+ "integrity": "sha512-FQ9f6xM1homnuy1wLe9lP1wujzxnwt1EwiigtWwuyf8FsqqXUDUp2Ulxf9A5yjlUOTdCJO6lonYjg1mgqIIi2w==",
"dev": true,
"requires": {
- "cssnano-util-get-match": "^4.0.0",
- "has": "^1.0.0",
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0"
}
},
"postcss-reporter": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-6.0.1.tgz",
- "integrity": "sha512-LpmQjfRWyabc+fRygxZjpRxfhRf9u/fdlKf4VHG4TSPbV2XNsuISzYW1KL+1aQzx53CAppa1bKG4APIB/DOXXw==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-7.0.5.tgz",
+ "integrity": "sha512-glWg7VZBilooZGOFPhN9msJ3FQs19Hie7l5a/eE6WglzYqVeH3ong3ShFcp9kDWJT1g2Y/wd59cocf9XxBtkWA==",
"dev": true,
"requires": {
- "chalk": "^2.4.1",
- "lodash": "^4.17.11",
- "log-symbols": "^2.2.0",
- "postcss": "^7.0.7"
+ "picocolors": "^1.0.0",
+ "thenby": "^1.3.4"
}
},
"postcss-selector-parser": {
- "version": "6.0.6",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz",
- "integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==",
+ "version": "6.0.11",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz",
+ "integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==",
"dev": true,
"requires": {
"cssesc": "^3.0.0",
@@ -4232,45 +4123,34 @@
}
},
"postcss-svgo": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.3.tgz",
- "integrity": "sha512-NoRbrcMWTtUghzuKSoIm6XV+sJdvZ7GZSc3wdBN0W19FTtp2ko8NqLsgoh/m9CzNhU3KLPvQmjIwtaNFkaFTvw==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-6.0.0.tgz",
+ "integrity": "sha512-r9zvj/wGAoAIodn84dR/kFqwhINp5YsJkLoujybWG59grR/IHx+uQ2Zo+IcOwM0jskfYX3R0mo+1Kip1VSNcvw==",
"dev": true,
"requires": {
- "postcss": "^7.0.0",
- "postcss-value-parser": "^3.0.0",
- "svgo": "^1.0.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- }
+ "postcss-value-parser": "^4.2.0",
+ "svgo": "^3.0.2"
}
},
"postcss-unique-selectors": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz",
- "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-6.0.0.tgz",
+ "integrity": "sha512-EPQzpZNxOxP7777t73RQpZE5e9TrnCrkvp7AH7a0l89JmZiPnS82y216JowHXwpBCQitfyxrof9TK3rYbi7/Yw==",
"dev": true,
"requires": {
- "alphanum-sort": "^1.0.0",
- "postcss": "^7.0.0",
- "uniqs": "^2.0.0"
+ "postcss-selector-parser": "^6.0.5"
}
},
"postcss-value-parser": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",
- "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==",
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
"dev": true
},
"pretty-hrtime": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
- "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=",
+ "integrity": "sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A==",
"dev": true
},
"process-nextick-args": {
@@ -4279,98 +4159,134 @@
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
"dev": true
},
- "pseudomap": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
- "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=",
- "dev": true
- },
- "psl": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
- "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==",
+ "promise-inflight": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
+ "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==",
"dev": true
},
- "punycode": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
- "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
- "dev": true
+ "promise-retry": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz",
+ "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==",
+ "dev": true,
+ "requires": {
+ "err-code": "^2.0.2",
+ "retry": "^0.12.0"
+ }
},
- "q": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
- "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",
+ "queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
"dev": true
},
- "qs": {
- "version": "6.5.2",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
- "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",
+ "quick-lru": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz",
+ "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==",
"dev": true
},
"read-cache": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
- "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=",
+ "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
"dev": true,
"requires": {
"pify": "^2.3.0"
}
},
"read-pkg": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
- "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
+ "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==",
"dev": true,
"requires": {
- "load-json-file": "^1.0.0",
- "normalize-package-data": "^2.3.2",
- "path-type": "^1.0.0"
+ "@types/normalize-package-data": "^2.4.0",
+ "normalize-package-data": "^2.5.0",
+ "parse-json": "^5.0.0",
+ "type-fest": "^0.6.0"
+ },
+ "dependencies": {
+ "hosted-git-info": {
+ "version": "2.8.9",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
+ "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
+ "dev": true
+ },
+ "normalize-package-data": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
+ "dev": true,
+ "requires": {
+ "hosted-git-info": "^2.1.4",
+ "resolve": "^1.10.0",
+ "semver": "2 || 3 || 4 || 5",
+ "validate-npm-package-license": "^3.0.1"
+ }
+ },
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ },
+ "type-fest": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz",
+ "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==",
+ "dev": true
+ }
}
},
"read-pkg-up": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
- "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz",
+ "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==",
"dev": true,
"requires": {
- "find-up": "^1.0.0",
- "read-pkg": "^1.0.0"
+ "find-up": "^4.1.0",
+ "read-pkg": "^5.2.0",
+ "type-fest": "^0.8.1"
+ },
+ "dependencies": {
+ "type-fest": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
+ "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
+ "dev": true
+ }
}
},
"readable-stream": {
- "version": "2.3.7",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
- "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
"dev": true,
"requires": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
}
},
"readdirp": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
- "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
"dev": true,
"requires": {
"picomatch": "^2.2.1"
}
},
"redent": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",
- "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz",
+ "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==",
"dev": true,
"requires": {
- "indent-string": "^2.1.0",
- "strip-indent": "^1.0.1"
+ "indent-string": "^4.0.0",
+ "strip-indent": "^3.0.0"
}
},
"regenerate": {
@@ -4380,53 +4296,47 @@
"dev": true
},
"regenerate-unicode-properties": {
- "version": "10.0.1",
- "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz",
- "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==",
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz",
+ "integrity": "sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ==",
"dev": true,
"requires": {
"regenerate": "^1.4.2"
}
},
"regenerator-runtime": {
- "version": "0.13.9",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
- "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==",
+ "version": "0.13.11",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
+ "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
"dev": true
},
"regenerator-transform": {
- "version": "0.15.0",
- "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz",
- "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==",
+ "version": "0.15.1",
+ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.1.tgz",
+ "integrity": "sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==",
"dev": true,
"requires": {
"@babel/runtime": "^7.8.4"
}
},
"regexpu-core": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz",
- "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==",
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz",
+ "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==",
"dev": true,
"requires": {
+ "@babel/regjsgen": "^0.8.0",
"regenerate": "^1.4.2",
- "regenerate-unicode-properties": "^10.0.1",
- "regjsgen": "^0.6.0",
- "regjsparser": "^0.8.2",
+ "regenerate-unicode-properties": "^10.1.0",
+ "regjsparser": "^0.9.1",
"unicode-match-property-ecmascript": "^2.0.0",
- "unicode-match-property-value-ecmascript": "^2.0.0"
+ "unicode-match-property-value-ecmascript": "^2.1.0"
}
},
- "regjsgen": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz",
- "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==",
- "dev": true
- },
"regjsparser": {
- "version": "0.8.4",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz",
- "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==",
+ "version": "0.9.1",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz",
+ "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==",
"dev": true,
"requires": {
"jsesc": "~0.5.0"
@@ -4435,58 +4345,15 @@
"jsesc": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
- "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
+ "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==",
"dev": true
}
}
},
- "repeating": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
- "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
- "dev": true,
- "requires": {
- "is-finite": "^1.0.0"
- }
- },
- "request": {
- "version": "2.88.2",
- "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
- "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
- "dev": true,
- "requires": {
- "aws-sign2": "~0.7.0",
- "aws4": "^1.8.0",
- "caseless": "~0.12.0",
- "combined-stream": "~1.0.6",
- "extend": "~3.0.2",
- "forever-agent": "~0.6.1",
- "form-data": "~2.3.2",
- "har-validator": "~5.1.3",
- "http-signature": "~1.2.0",
- "is-typedarray": "~1.0.0",
- "isstream": "~0.1.2",
- "json-stringify-safe": "~5.0.1",
- "mime-types": "~2.1.19",
- "oauth-sign": "~0.9.0",
- "performance-now": "^2.1.0",
- "qs": "~6.5.2",
- "safe-buffer": "^5.1.2",
- "tough-cookie": "~2.5.0",
- "tunnel-agent": "^0.6.0",
- "uuid": "^3.3.2"
- }
- },
"require-directory": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
- "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
- "dev": true
- },
- "require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
"dev": true
},
"resolve": {
@@ -4498,10 +4365,10 @@
"path-parse": "^1.0.6"
}
},
- "resolve-from": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",
- "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",
+ "retry": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
+ "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==",
"dev": true
},
"reusify": {
@@ -4510,159 +4377,234 @@
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
"dev": true
},
- "rgb-regex": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz",
- "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=",
- "dev": true
- },
- "rgba-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz",
- "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=",
- "dev": true
- },
"rimraf": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
- "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
"dev": true,
"requires": {
"glob": "^7.1.3"
+ },
+ "dependencies": {
+ "brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ }
}
},
"rollup": {
- "version": "2.70.2",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.70.2.tgz",
- "integrity": "sha512-EitogNZnfku65I1DD5Mxe8JYRUCy0hkK5X84IlDtUs+O6JRMpRciXTzyCUuX11b5L5pvjH+OmFXiQ3XjabcXgg==",
+ "version": "3.20.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.2.tgz",
+ "integrity": "sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==",
"dev": true,
"requires": {
"fsevents": "~2.3.2"
- },
- "dependencies": {
- "fsevents": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
- "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
- "dev": true,
- "optional": true
- }
}
},
"run-parallel": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz",
- "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==",
- "dev": true
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "requires": {
+ "queue-microtask": "^1.2.2"
+ }
},
"safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
"dev": true
},
"safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
- "dev": true
+ "dev": true,
+ "optional": true
},
"sass-graph": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz",
- "integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-4.0.1.tgz",
+ "integrity": "sha512-5YCfmGBmxoIRYHnKK2AKzrAkCoQ8ozO+iumT8K4tXJXRVCPf+7s1/9KxTSW3Rbvf+7Y7b4FR3mWyLnQr3PHocA==",
"dev": true,
"requires": {
"glob": "^7.0.0",
- "lodash": "^4.0.0",
- "scss-tokenizer": "^0.2.3",
- "yargs": "^13.3.2"
+ "lodash": "^4.17.11",
+ "scss-tokenizer": "^0.4.3",
+ "yargs": "^17.2.1"
+ },
+ "dependencies": {
+ "brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ }
}
},
- "sax": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
- "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",
- "dev": true
- },
"scss-tokenizer": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz",
- "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=",
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.4.3.tgz",
+ "integrity": "sha512-raKLgf1LI5QMQnG+RxHz6oK0sL3x3I4FN2UDLqgLOGO8hodECNnNh5BXn7fAyBxrA8zVzdQizQ6XjNJQ+uBwMw==",
"dev": true,
"requires": {
- "js-base64": "^2.1.8",
- "source-map": "^0.4.2"
+ "js-base64": "^2.4.9",
+ "source-map": "^0.7.3"
+ }
+ },
+ "semver": {
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.4.0.tgz",
+ "integrity": "sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==",
+ "dev": true,
+ "requires": {
+ "lru-cache": "^6.0.0"
},
"dependencies": {
- "source-map": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
- "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"dev": true,
"requires": {
- "amdefine": ">=0.0.4"
+ "yallist": "^4.0.0"
}
}
}
},
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
- "dev": true
- },
"set-blocking": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
- "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
+ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",
+ "dev": true
+ },
+ "shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "requires": {
+ "shebang-regex": "^3.0.0"
+ }
+ },
+ "shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
"dev": true
},
"signal-exit": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
- "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==",
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "dev": true
+ },
+ "slash": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-5.0.0.tgz",
+ "integrity": "sha512-n6KkmvKS0623igEVj3FF0OZs1gYYJ0o0Hj939yc1fyxl2xt+xYpLnzJB6xBSqOfV9ZFLEWodBBN/heZJahuIJQ==",
+ "dev": true
+ },
+ "smart-buffer": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
+ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
"dev": true
},
- "simple-swizzle": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
- "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",
+ "socks": {
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz",
+ "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==",
"dev": true,
"requires": {
- "is-arrayish": "^0.3.1"
- },
- "dependencies": {
- "is-arrayish": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
- "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",
- "dev": true
- }
+ "ip": "^2.0.0",
+ "smart-buffer": "^4.2.0"
}
},
- "slash": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
- "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true
+ "socks-proxy-agent": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz",
+ "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==",
+ "dev": true,
+ "requires": {
+ "agent-base": "^6.0.2",
+ "debug": "^4.3.3",
+ "socks": "^2.6.2"
+ }
},
"source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "version": "0.7.4",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz",
+ "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==",
"dev": true
},
- "sourcemap-codec": {
- "version": "1.4.8",
- "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",
- "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==",
+ "source-map-js": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
+ "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
"dev": true
},
"spdx-correct": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz",
- "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz",
+ "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==",
"dev": true,
"requires": {
"spdx-expression-parse": "^3.0.0",
@@ -4686,40 +4628,20 @@
}
},
"spdx-license-ids": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.6.tgz",
- "integrity": "sha512-+orQK83kyMva3WyPf59k1+Y525csj5JejicWut55zeTWANuN17qSiSLUXWtzHeNWORSvT7GLDJ/E/XiIWoXBTw==",
+ "version": "3.0.13",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz",
+ "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==",
"dev": true
},
- "sprintf-js": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
- "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
- "dev": true
- },
- "sshpk": {
- "version": "1.16.1",
- "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
- "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
+ "ssri": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz",
+ "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==",
"dev": true,
"requires": {
- "asn1": "~0.2.3",
- "assert-plus": "^1.0.0",
- "bcrypt-pbkdf": "^1.0.0",
- "dashdash": "^1.12.0",
- "ecc-jsbn": "~0.1.1",
- "getpass": "^0.1.1",
- "jsbn": "~0.1.0",
- "safer-buffer": "^2.0.2",
- "tweetnacl": "~0.14.0"
+ "minipass": "^3.1.1"
}
},
- "stable": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
- "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
- "dev": true
- },
"stdout-stream": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz",
@@ -4727,97 +4649,86 @@
"dev": true,
"requires": {
"readable-stream": "^2.0.1"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
+ "dev": true,
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
+ "dev": true
+ },
+ "string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "dev": true,
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ }
}
},
"string-width": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
- "dev": true,
- "requires": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "strip-ansi": "^3.0.0"
- }
- },
- "string.prototype.trimend": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz",
- "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"requires": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3"
- }
- },
- "string.prototype.trimstart": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz",
- "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==",
- "dev": true,
- "requires": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3"
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
}
},
"string_decoder": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"dev": true,
"requires": {
- "safe-buffer": "~5.1.0"
+ "safe-buffer": "~5.2.0"
}
},
"strip-ansi": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
- "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
- "dev": true,
- "requires": {
- "ansi-regex": "^2.0.0"
- }
- },
- "strip-bom": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
- "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"requires": {
- "is-utf8": "^0.2.0"
+ "ansi-regex": "^5.0.1"
}
},
"strip-indent": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
- "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",
+ "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==",
"dev": true,
"requires": {
- "get-stdin": "^4.0.1"
+ "min-indent": "^1.0.0"
}
},
"stylehacks": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz",
- "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-6.0.0.tgz",
+ "integrity": "sha512-+UT589qhHPwz6mTlCLSt/vMNTJx8dopeJlZAlBMJPWA3ORqu6wmQY7FBXf+qD+FsqoBJODyqNxOUP3jdntFRdw==",
"dev": true,
"requires": {
- "browserslist": "^4.0.0",
- "postcss": "^7.0.0",
- "postcss-selector-parser": "^3.0.0"
- },
- "dependencies": {
- "postcss-selector-parser": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",
- "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==",
- "dev": true,
- "requires": {
- "dot-prop": "^5.2.0",
- "indexes-of": "^1.0.1",
- "uniq": "^1.0.1"
- }
- }
+ "browserslist": "^4.21.4",
+ "postcss-selector-parser": "^6.0.4"
}
},
"supports-color": {
@@ -4829,42 +4740,52 @@
"has-flag": "^3.0.0"
}
},
+ "supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "dev": true
+ },
"svgo": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz",
- "integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.0.2.tgz",
+ "integrity": "sha512-Z706C1U2pb1+JGP48fbazf3KxHrWOsLme6Rv7imFBn5EnuanDW1GPaA/P1/dvObE670JDePC3mnj0k0B7P0jjQ==",
"dev": true,
"requires": {
- "chalk": "^2.4.1",
- "coa": "^2.0.2",
- "css-select": "^2.0.0",
- "css-select-base-adapter": "^0.1.1",
- "css-tree": "1.0.0-alpha.37",
- "csso": "^4.0.2",
- "js-yaml": "^3.13.1",
- "mkdirp": "~0.5.1",
- "object.values": "^1.1.0",
- "sax": "~1.2.4",
- "stable": "^0.1.8",
- "unquote": "~1.1.1",
- "util.promisify": "~1.0.0"
+ "@trysound/sax": "0.2.0",
+ "commander": "^7.2.0",
+ "css-select": "^5.1.0",
+ "css-tree": "^2.2.1",
+ "csso": "^5.0.5",
+ "picocolors": "^1.0.0"
}
},
"tar": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
- "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
+ "version": "6.1.13",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.13.tgz",
+ "integrity": "sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==",
"dev": true,
"requires": {
- "block-stream": "*",
- "fstream": "^1.0.12",
- "inherits": "2"
+ "chownr": "^2.0.0",
+ "fs-minipass": "^2.0.0",
+ "minipass": "^4.0.0",
+ "minizlib": "^2.1.1",
+ "mkdirp": "^1.0.3",
+ "yallist": "^4.0.0"
+ },
+ "dependencies": {
+ "minipass": {
+ "version": "4.2.8",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz",
+ "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==",
+ "dev": true
+ }
}
},
- "timsort": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz",
- "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=",
+ "thenby": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/thenby/-/thenby-1.3.4.tgz",
+ "integrity": "sha512-89Gi5raiWA3QZ4b2ePcEwswC3me9JIg+ToSgtE0JWeCynLnLxNr/f9G+xfo9K+Oj4AFdom8YNJjibIARTJmapQ==",
"dev": true
},
"to-fast-properties": {
@@ -4882,64 +4803,30 @@
"is-number": "^7.0.0"
}
},
- "tough-cookie": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
- "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
- "dev": true,
- "requires": {
- "psl": "^1.1.28",
- "punycode": "^2.1.1"
- }
- },
"trim-newlines": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
- "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=",
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz",
+ "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==",
"dev": true
},
"true-case-path": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz",
- "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==",
- "dev": true,
- "requires": {
- "glob": "^7.1.2"
- }
- },
- "tunnel-agent": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
- "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
- "dev": true,
- "requires": {
- "safe-buffer": "^5.0.1"
- }
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-2.2.1.tgz",
+ "integrity": "sha512-0z3j8R7MCjy10kc/g+qg7Ln3alJTodw9aDuVWZa3uiWqfuBMKeAeP2ocWcxoyM3D73yz3Jt/Pu4qPr4wHSdB/Q==",
+ "dev": true
},
- "tweetnacl": {
- "version": "0.14.5",
- "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
- "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
+ "type-fest": {
+ "version": "0.18.1",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz",
+ "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==",
"dev": true
},
"uglify-js": {
- "version": "3.15.4",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.4.tgz",
- "integrity": "sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==",
+ "version": "3.17.4",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz",
+ "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==",
"dev": true
},
- "unbox-primitive": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz",
- "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==",
- "dev": true,
- "requires": {
- "function-bind": "^1.1.1",
- "has-bigints": "^1.0.1",
- "has-symbols": "^1.0.2",
- "which-boxed-primitive": "^1.0.2"
- }
- },
"unicode-canonical-property-names-ecmascript": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz",
@@ -4957,72 +4844,55 @@
}
},
"unicode-match-property-value-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz",
- "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz",
+ "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==",
"dev": true
},
"unicode-property-aliases-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz",
- "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz",
+ "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==",
"dev": true
},
- "uniq": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz",
- "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=",
- "dev": true
+ "unique-filename": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz",
+ "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==",
+ "dev": true,
+ "requires": {
+ "unique-slug": "^3.0.0"
+ }
},
- "uniqs": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz",
- "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=",
- "dev": true
+ "unique-slug": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz",
+ "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==",
+ "dev": true,
+ "requires": {
+ "imurmurhash": "^0.1.4"
+ }
},
"universalify": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz",
- "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==",
- "dev": true
- },
- "unquote": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz",
- "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"dev": true
},
- "uri-js": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz",
- "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==",
+ "update-browserslist-db": {
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz",
+ "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==",
"dev": true,
"requires": {
- "punycode": "^2.1.0"
+ "escalade": "^3.1.1",
+ "picocolors": "^1.0.0"
}
},
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
- "dev": true
- },
- "util.promisify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz",
- "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==",
- "dev": true,
- "requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.2",
- "has-symbols": "^1.0.1",
- "object.getownpropertydescriptors": "^2.1.0"
- }
- },
- "uuid": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
- "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
"dev": true
},
"validate-npm-package-license": {
@@ -5035,201 +4905,113 @@
"spdx-expression-parse": "^3.0.0"
}
},
- "vendors": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz",
- "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==",
- "dev": true
- },
- "verror": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
- "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==",
- "dev": true,
- "requires": {
- "assert-plus": "^1.0.0",
- "core-util-is": "1.0.2",
- "extsprintf": "^1.2.0"
- }
- },
"which": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"dev": true,
"requires": {
"isexe": "^2.0.0"
}
},
- "which-boxed-primitive": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
- "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
- "dev": true,
- "requires": {
- "is-bigint": "^1.0.1",
- "is-boolean-object": "^1.1.0",
- "is-number-object": "^1.0.4",
- "is-string": "^1.0.5",
- "is-symbol": "^1.0.3"
- }
- },
- "which-module": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
- "dev": true
- },
"wide-align": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
- "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
+ "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
"dev": true,
"requires": {
- "string-width": "^1.0.2 || 2"
+ "string-width": "^1.0.2 || 2 || 3 || 4"
}
},
"wrap-ansi": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
- "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dev": true,
"requires": {
- "ansi-styles": "^3.2.0",
- "string-width": "^3.0.0",
- "strip-ansi": "^5.0.0"
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
},
"dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
- "dev": true
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
- "dev": true
- },
- "string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
+ "color-convert": "^2.0.1"
}
},
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"requires": {
- "ansi-regex": "^4.1.0"
+ "color-name": "~1.1.4"
}
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
}
}
},
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
"dev": true
},
"y18n": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz",
- "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==",
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
"dev": true
},
"yallist": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
- "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
+ "yaml": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.1.tgz",
+ "integrity": "sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==",
"dev": true
},
"yargs": {
- "version": "13.3.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
- "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
+ "version": "17.7.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz",
+ "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==",
"dev": true,
"requires": {
- "cliui": "^5.0.0",
- "find-up": "^3.0.0",
- "get-caller-file": "^2.0.1",
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
"require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^3.0.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^13.1.2"
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
},
"dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
- "dev": true
- },
- "find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "dev": true,
- "requires": {
- "locate-path": "^3.0.0"
- }
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
"dev": true
- },
- "string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
- "dev": true,
- "requires": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
- }
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "dev": true,
- "requires": {
- "ansi-regex": "^4.1.0"
- }
}
}
},
"yargs-parser": {
- "version": "13.1.2",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
- "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
- "dev": true,
- "requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- },
- "dependencies": {
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "dev": true
- }
- }
+ "version": "20.2.9",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz",
+ "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==",
+ "dev": true
}
}
}
diff --git a/package.json b/package.json
index ae4ad57..6be59d7 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@dmuy/datepicker",
- "version": "2.0.4",
+ "version": "2.0.5",
"description": "Date picker plugin for input fields.",
"keywords": [
"date-picker",
@@ -19,12 +19,13 @@
"main": "dist/duDatepicker.js",
"files": [
"dist",
- "vue-datepicker.js"
+ "vue-datepicker.js",
+ "vue3-datepicker.js"
],
"scripts": {
"build": "npm run compile && npm run minify",
"build-theme": "npm run compile-css && npm run minify-theme-css",
- "compile": "rollup --config rollup.config.js && npm run compile-css",
+ "compile": "rollup --config rollup.config.mjs && npm run compile-css",
"compile-css": "node-sass -x --output-style=expanded src/duDatepicker.scss -o=dist && postcss --no-map -u autoprefixer -r dist/duDatepicker.css",
"compile-theme-css": "node-sass -x --output-style=expanded src/themes/_format.scss dist/duDatepicker-theme.css && postcss --no-map -u autoprefixer -r dist/duDatepicker-theme.css",
"minify": "uglifyjs dist/duDatepicker.js -c -m -o dist/duDatepicker.min.js && npm run minify-css",
@@ -32,19 +33,20 @@
"minify-theme-css": "postcss dist/duDatepicker-theme.css --no-map -o dist/duDatepicker-theme.min.css --config postcss.config.js"
},
"devDependencies": {
- "@babel/core": "^7.17.9",
- "@babel/plugin-proposal-class-properties": "^7.16.7",
- "@babel/preset-env": "^7.16.11",
- "@rollup/plugin-babel": "^5.3.1",
- "@rollup/plugin-commonjs": "^19.0.2",
- "@rollup/plugin-node-resolve": "^9.0.0",
- "autoprefixer": "^9.8.8",
- "core-js": "^3.22.2",
- "cssnano": "^4.1.11",
- "node-sass": "^4.14.1",
- "postcss-cli": "^7.1.2",
- "rollup": "^2.70.2",
- "uglify-js": "^3.15.4"
+ "@babel/core": "^7.21.4",
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
+ "@babel/preset-env": "^7.21.4",
+ "@rollup/plugin-babel": "^6.0.3",
+ "@rollup/plugin-commonjs": "^24.1.0",
+ "@rollup/plugin-node-resolve": "^15.0.2",
+ "autoprefixer": "^10.4.14",
+ "core-js": "^3.30.1",
+ "cssnano": "^6.0.0",
+ "node-sass": "^8.0.0",
+ "postcss": "^8.4.21",
+ "postcss-cli": "^10.1.0",
+ "rollup": "^3.20.2",
+ "uglify-js": "^3.17.4"
},
"dependencies": {}
}
diff --git a/rollup.config.js b/rollup.config.mjs
similarity index 56%
rename from rollup.config.js
rename to rollup.config.mjs
index 670a990..ebd59ef 100644
--- a/rollup.config.js
+++ b/rollup.config.mjs
@@ -1,10 +1,11 @@
import resolve from '@rollup/plugin-node-resolve'
import babel from '@rollup/plugin-babel'
import commonjs from '@rollup/plugin-commonjs'
+import { readFileSync } from 'fs'
-const pjson = require('./package.json')
-const libName = 'duDatepicker',
- outputJs = `${libName}.js`
+const pkg = JSON.parse(readFileSync('package.json', { encoding: 'utf8' }))
+const libName = 'duDatepicker'
+const outputJs = `${libName}.js`
let plugins = [
babel({
@@ -21,7 +22,7 @@ export default {
file: `dist/${outputJs}`,
format: 'umd',
name: libName,
- banner: `/*!Don't remove this!\n * duDatepicker v${pjson.version} plugin (Vanilla JS)\n * ${pjson.homepage}\n *\n * Author: ${pjson.author.name}\n * Email: ${pjson.author.email}\n */`
+ banner: `/*!Don't remove this!\n * duDatepicker v${pkg.version} plugin\n * ${pkg.homepage}\n *\n * Author: ${pkg.author.name}\n * Email: ${pkg.author.email}\n */`
},
plugins: plugins
}
\ No newline at end of file
diff --git a/vue-datepicker.js b/vue-datepicker.js
index ac6c9fd..0517558 100644
--- a/vue-datepicker.js
+++ b/vue-datepicker.js
@@ -5,6 +5,7 @@ export default {
install(Vue, options) {
if (! options) options = {}
+ else duDatepicker.defaults(options)
// component
Vue.component('duDatepicker', {
@@ -54,7 +55,7 @@ export default {
Object.keys(evtProps.events).forEach(key => evtProps.events[key] === undefined && delete evtProps.events[key])
// initialize
- duDatepicker(this.$el, { ...options, ...this.options, ...evtProps })
+ duDatepicker(this.$el, { ...this.options, ...evtProps })
},
destroyed() {
this.destroy()
@@ -64,7 +65,7 @@ export default {
// v-du-datepicker directive
Vue.directive('du-datepicker', {
bind(el, binding) {
- duDatepicker(el, { ...options, ...binding.value })
+ duDatepicker(el, binding.value)
},
unbind(el) {
duDatepicker(el, 'destroy')
diff --git a/vue3-datepicker.js b/vue3-datepicker.js
new file mode 100644
index 0000000..a679abb
--- /dev/null
+++ b/vue3-datepicker.js
@@ -0,0 +1,76 @@
+import './dist/duDatepicker.css'
+import duDatepicker from './dist/duDatepicker.js'
+import { h } from 'vue'
+
+export default {
+ install(app, options) {
+
+ if (! options) options = {}
+ else duDatepicker.defaults(options)
+
+ // component
+ app.component('duDatepicker', {
+ render() {
+ return h('input', {
+ domProps: {
+ type: 'text'
+ },
+ on: {
+ datechanged: e => {
+ this.$emit('datechanged', e)
+ }
+ }
+ })
+ },
+ props: {
+ options: { type: Object },
+ ready: { type: Function },
+ dateChanged: { type: Function },
+ onRangeFormat: { type: Function },
+ shown: { type: Function },
+ hidden: { type: Function }
+ },
+ methods: {
+ show() { duDatepicker(this.$el, 'show') },
+ hide() { duDatepicker(this.$el, 'hide') },
+ destroy() { duDatepicker(this.$el, 'destroy') },
+ setValue(value) { duDatepicker(this.$el, 'setValue', value) },
+ setTheme(theme) { duDatepicker(this.$el, 'setTheme', theme) },
+ setMinDate(date) { duDatepicker(this.$el, 'setMinDate', date) },
+ setMaxDate(date) { duDatepicker(this.$el, 'setMaxDate', date) },
+ setMinYear(year) { duDatepicker(this.$el, 'setMinYear', year) },
+ setMaxYear(year) { duDatepicker(this.$el, 'setMaxYear', year) },
+ setPriorYears(years) { duDatepicker(this.$el, 'setPriorYears', years) },
+ setLaterYears(years) { duDatepicker(this.$el, 'setLaterYears', years) },
+ setDisabled(dates) { duDatepicker(this.$el, 'setDisabled', dates) },
+ setDisabledDays(days) { duDatepicker(this.$el, 'setDisabledDays', days) },
+ setI18n(i18n) { duDatepicker(this.$el, 'setI18n', i18n) },
+ set(setters) { duDatepicker(this.$el, 'set', setters) }
+ },
+ mounted() {
+ let evtProps = {
+ events: { ready: this.ready, dateChanged: this.dateChanged, onRangeFormat: this.onRangeFormat, shown: this.shown, hidden: this.hidden }
+ }
+
+ // remove undefined callbacks
+ Object.keys(evtProps.events).forEach(key => evtProps.events[key] === undefined && delete evtProps.events[key])
+
+ // initialize
+ duDatepicker(this.$el, { ...this.options, ...evtProps })
+ },
+ beforeUnmounted() {
+ this.destroy()
+ }
+ })
+
+ // v-du-datepicker directive
+ app.directive('du-datepicker', {
+ bind(el, binding) {
+ duDatepicker(el, binding.value)
+ },
+ unbind(el) {
+ duDatepicker(el, 'destroy')
+ }
+ })
+ }
+}
\ No newline at end of file